zframes 0.6.0 → 0.8.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 +1901 -215
- package/package.json +4 -4
- package/runtime/assets/bar-chart-DmyKFv_O.js +1 -0
- package/runtime/assets/{bitcoin-dominance-CweHlZx7.js → bitcoin-dominance-Y-pfXAWg.js} +1 -1
- package/runtime/assets/{breakeven-CG9rKwgE.js → breakeven-D5o1aZeG.js} +1 -1
- package/runtime/assets/{breathing-cDundHq6.js → breathing-C3xWrMh-.js} +1 -1
- package/runtime/assets/btc-block-size-bars-Dm4d1uP6.js +1 -0
- package/runtime/assets/{btc-blocks-Do_nySHd.js → btc-blocks-Dh75DtBl.js} +1 -1
- package/runtime/assets/{btc-difficulty-vNbz5uRo.js → btc-difficulty-DT6GcCi7.js} +1 -1
- package/runtime/assets/btc-difficulty-chart-D6G_nIaV.js +1 -0
- package/runtime/assets/{btc-fees-BmADLsmK.js → btc-fees-CAwJQaIo.js} +1 -1
- package/runtime/assets/btc-hashrate-CWvKwoGY.js +1 -0
- package/runtime/assets/{btc-mempool-CTwbkMUR.js → btc-mempool-C_PwdChj.js} +1 -1
- package/runtime/assets/{btc-shared-DeqDaCze.js → btc-shared-yOWoU9Im.js} +1 -1
- package/runtime/assets/bubbles-shared-DY914nhm.js +1 -0
- package/runtime/assets/{calculator-mvv6XpQC.js → calculator-DmCi3Diy.js} +1 -1
- package/runtime/assets/capital-structure-bars-CCL6FBZT.js +1 -0
- package/runtime/assets/chain-activity-DmVXPTCW.js +1 -0
- package/runtime/assets/chain-activity-bars-C2_6k9uI.js +1 -0
- package/runtime/assets/chain-activity-scatter-KDstJ2gQ.js +1 -0
- package/runtime/assets/chain-price-movers-C7cM87Np.js +1 -0
- package/runtime/assets/chart-utils-DGogNvJT.js +1 -0
- package/runtime/assets/checklist-aIHO99Oy.js +1 -0
- package/runtime/assets/{clock-Cjnwi03W.js → clock-RTIdbX_o.js} +1 -1
- package/runtime/assets/coin-momentum-heatmap-BqpZC5MD.js +1 -0
- package/runtime/assets/coin-momentum-scatter-BLQuQ5y9.js +1 -0
- package/runtime/assets/{coin-movers-Bcx1XR0F.js → coin-movers-BcLGwl1y.js} +1 -1
- package/runtime/assets/{countdown-Cdi5gSSu.js → countdown-DiZVeLK1.js} +1 -1
- package/runtime/assets/custom-data-BgQF-y2R.js +1 -0
- package/runtime/assets/{cycle-shared-BOGcJDzT.js → cycle-shared-XoGVsOjC.js} +1 -1
- package/runtime/assets/{cycle-signals-CS629ZDc.js → cycle-signals-1fCJGzfH.js} +1 -1
- package/runtime/assets/cycle-valuation-composite-BBA7wxL2.js +1 -0
- package/runtime/assets/d3-ibrLIlQc.js +1 -0
- package/runtime/assets/{daily-analysis-DX8bVq85.js → daily-analysis-w96yBGxi.js} +1 -1
- package/runtime/assets/{day-meter-DDfTuhms.js → day-meter-D7SyWAWO.js} +1 -1
- package/runtime/assets/{defi-revenue-CpeAGwhb.js → defi-revenue-DC7iVw-b.js} +1 -1
- package/runtime/assets/dex-hot-pools-CbBeDh7R.js +1 -0
- package/runtime/assets/dex-pool-bubbles-DsS26KRy.js +1 -0
- package/runtime/assets/dex-pool-liquidity-scatter-Cam1cxZL.js +1 -0
- package/runtime/assets/dex-pool-treemap-CuU6G6rY.js +1 -0
- package/runtime/assets/dex-volume-bubbles-DZvYb1Gu.js +1 -0
- package/runtime/assets/dex-volume-chart-BmJMKgts.js +1 -0
- package/runtime/assets/dex-volume-share-area-B16TypiP.js +1 -0
- package/runtime/assets/{dex-volume-treemap-rSTrzz7O.js → dex-volume-treemap-Kl3BycC8.js} +1 -1
- package/runtime/assets/{dice-BrFORdjN.js → dice-BBWeIZ4c.js} +1 -1
- package/runtime/assets/dino-game-CacSVnNs.js +1 -0
- package/runtime/assets/divider-BDbJkoKt.js +1 -0
- package/runtime/assets/dominance-bars-D7mHdU5j.js +1 -0
- package/runtime/assets/dominance-gauge-D4Dizu40.js +1 -0
- package/runtime/assets/{drawdy-BIb36JN9.js → drawdy-C4Xes6ll.js} +1 -1
- package/runtime/assets/{dxy-CRifEdp_.js → dxy-CQqmlBOH.js} +1 -1
- package/runtime/assets/dxy-chart-COvjjHiK.js +1 -0
- package/runtime/assets/editor-C9dj6xX0.css +1 -0
- package/runtime/assets/editor-CFgkD4LH.js +68 -0
- package/runtime/assets/etf-flow-bars-DQmhSdlG.js +1 -0
- package/runtime/assets/etf-flow-calendar-BtU4tAJx.js +1 -0
- package/runtime/assets/{etf-flows-BV10E2R-.js → etf-flows-B5HTl_O2.js} +1 -1
- package/runtime/assets/{etf-flows-chart-DHu8mkXm.js → etf-flows-chart-CrJq5l_U.js} +1 -1
- package/runtime/assets/etf-issuer-bars-C8CS42V9.js +1 -0
- package/runtime/assets/etf-issuer-treemap-B8V6wOUz.js +1 -0
- package/runtime/assets/eth-issuance-impact-DBfYkAhQ.js +1 -0
- package/runtime/assets/{eth-staking-BqWeJq6F.js → eth-staking-CS-soUKT.js} +1 -1
- package/runtime/assets/{eth-supply-CF-MgHjn.js → eth-supply-5f4GEmei.js} +1 -1
- package/runtime/assets/{fear-greed-DuDR56h2.js → fear-greed-D20BQ0ai.js} +1 -1
- package/runtime/assets/fear-greed-chart-CzqxRAt0.js +1 -0
- package/runtime/assets/{filings-feed-BpfO2yF6.js → filings-feed-C-uvwTLC.js} +1 -1
- package/runtime/assets/filings-mix-OIhf0PEq.js +1 -0
- package/runtime/assets/{financial-stress-BfYJdlry.js → financial-stress-B29D-qDA.js} +1 -1
- package/runtime/assets/{flappy-bird-Dbb2UQBv.js → flappy-bird-DGYf5Ewk.js} +1 -1
- package/runtime/assets/format-DxkEZcwQ.js +1 -0
- package/runtime/assets/fundamentals-CcvmrNcz.js +1 -0
- package/runtime/assets/funding-bars-D7M6sJZL.js +1 -0
- package/runtime/assets/funding-carry-area-Dq7ytVeR.js +1 -0
- package/runtime/assets/funding-comparison-Ci4xJZk2.js +1 -0
- package/runtime/assets/funding-crowding-scatter-nUiUaNV4.js +1 -0
- package/runtime/assets/funding-heatmap-B5zG3T9U.js +1 -0
- package/runtime/assets/funding-leaderboard-bars-cf5-s8-T.js +1 -0
- package/runtime/assets/{funding-rate-chart-C-tpwid_.js → funding-rate-chart-Dp06ipCG.js} +1 -1
- package/runtime/assets/funding-spread-bars-CZdgC9ni.js +1 -0
- package/runtime/assets/funding-venue-heatmap-C-Kh1qHo.js +1 -0
- package/runtime/assets/{fx-board-YAy44m5d.js → fx-board-C4yCDDGZ.js} +1 -1
- package/runtime/assets/fx-cross-heatmap-DHP7jzo6.js +1 -0
- package/runtime/assets/fx-movers-bars-8q6fFcdY.js +1 -0
- package/runtime/assets/fx-trend-chart-DEtRTau8.js +1 -0
- package/runtime/assets/{game-ui-Dy_QYsPr.js → game-ui-BiMS2KJf.js} +1 -1
- package/runtime/assets/heading-B6HiIuvX.js +1 -0
- package/runtime/assets/hero-number-DUjENGj6.js +1 -0
- package/runtime/assets/{holiday-calendar-DCj83hi2.js → holiday-calendar-qi7M9l4n.js} +1 -1
- package/runtime/assets/image-D5ZO4DFB.js +1 -0
- package/runtime/assets/image-gallery-Dpr218ld.js +1 -0
- package/runtime/assets/index-5ezz63At.css +1 -0
- package/runtime/assets/{index-XGtH5pVY.css → index-BXLwJuoo.css} +1 -1
- package/runtime/assets/index-BpPIfN5S.js +1 -0
- package/runtime/assets/index-CiYWppnQ.js +1108 -0
- package/runtime/assets/index-D051JGM1.js +1 -0
- package/runtime/assets/index-DuNO-RcB.js +1 -0
- package/runtime/assets/indicators-Cw7CVPn4.js +1 -0
- package/runtime/assets/inflation-pulse-cleNvOgk.js +1 -0
- package/runtime/assets/{journal-log-Bgjia8cQ.js → journal-log-BYS6KBP0.js} +1 -1
- package/runtime/assets/{journal-open-Bm5gwWXz.js → journal-open-Dd-2HpWe.js} +1 -1
- package/runtime/assets/{journal-results-cEWe2pbe.js → journal-results-Bo95cRBC.js} +1 -1
- package/runtime/assets/{journal-score-vmfF-9bK.js → journal-score-CQ5jNovg.js} +1 -1
- package/runtime/assets/{journal-store-KCRoPnI_.js → journal-store-DVDSxNMj.js} +1 -1
- package/runtime/assets/{journal-ui-ApBNIq5_.js → journal-ui-P_aNAgF1.js} +1 -1
- package/runtime/assets/labor-force-flow-0vecYFin.js +1 -0
- package/runtime/assets/labor-market-BSxSRnKx.js +1 -0
- package/runtime/assets/{lightning-stats-nkyh2dOX.js → lightning-stats-CBj576A7.js} +1 -1
- package/runtime/assets/{link-grid-BEo4b54T.js → link-grid-MCfSDZZw.js} +1 -1
- package/runtime/assets/liquidity-basis-bars-CPGTcxkm.js +1 -0
- package/runtime/assets/{ma-multiplier-BllDQMF5.js → ma-multiplier-g4p5Pi3k.js} +1 -1
- package/runtime/assets/{macro-calendar-Ck0dJk4p.js → macro-calendar-d2JHausW.js} +1 -1
- package/runtime/assets/market-bubbles-CDCGDkEQ.js +1 -0
- package/runtime/assets/{market-cap-treemap-AxE2EYPO.js → market-cap-treemap-BSElYaQa.js} +1 -1
- package/runtime/assets/market-hours-BH2Focsr.js +1 -0
- package/runtime/assets/market-scatter-CdXDxlvI.js +1 -0
- package/runtime/assets/{marquee-1Zr5qDJP.js → marquee-DAz20C7s.js} +1 -1
- package/runtime/assets/mayer-multiple-mJbiBIAH.js +1 -0
- package/runtime/assets/mempool-fee-curve-DC21aRj_.js +1 -0
- package/runtime/assets/{mini-line-chart-CHM5UBjJ.js → mini-line-chart-DyG55cVW.js} +1 -1
- package/runtime/assets/{mining-pools-B-jxdTot.js → mining-pools-DDrcI0JC.js} +1 -1
- package/runtime/assets/mining-pools-share-BTghpuPh.js +1 -0
- package/runtime/assets/misery-index-BFKKI3-y.js +1 -0
- package/runtime/assets/mover-row-9TS6-Vx5.js +1 -0
- package/runtime/assets/movers-bars-BGRZiztL.js +1 -0
- package/runtime/assets/movers-bubbles-DKwj1mvp.js +1 -0
- package/runtime/assets/{mvrv-Dx_S0TwE.js → mvrv-bAGE8y8s.js} +1 -1
- package/runtime/assets/mvrv-zscore-chart-BBQG73VU.js +1 -0
- package/runtime/assets/{national-debt-BKVBHaqm.js → national-debt-DKFxcreA.js} +1 -1
- package/runtime/assets/news-feed-BdERDNLF.js +1 -0
- package/runtime/assets/nft-activity-bars-DDM29Mlf.js +1 -0
- package/runtime/assets/nft-bubbles-piuKr-F-.js +1 -0
- package/runtime/assets/nft-collections-BRT3lGEI.js +1 -0
- package/runtime/assets/nft-scatter-v2AlapcL.js +1 -0
- package/runtime/assets/nft-treemap-DOoBuiAe.js +1 -0
- package/runtime/assets/note-Cge-Twe7.js +3 -0
- package/runtime/assets/{nupl-aIjkc57m.js → nupl-DyKmiugr.js} +1 -1
- package/runtime/assets/nupl-cycle-chart-CjPXwU_H.js +1 -0
- package/runtime/assets/nyfed-fed-funds-band-gauge-CgtBzt19.js +1 -0
- package/runtime/assets/nyfed-reference-rate-bars-XM22e3m1.js +1 -0
- package/runtime/assets/nyfed-sofr-term-averages-bars-BX8DdQdy.js +1 -0
- package/runtime/assets/ofr-stress-category-area-DJ9A1Jek.js +1 -0
- package/runtime/assets/ohlcv-volume-bars-DjbIATbf.js +1 -0
- package/runtime/assets/oi-treemap-DN3lHhIw.js +1 -0
- package/runtime/assets/onchain-oscillator-overlay-BhHhVrFw.js +1 -0
- package/runtime/assets/{open-interest-C0ulogv6.js → open-interest-CQz_hue7.js} +1 -1
- package/runtime/assets/options-flow-skew-BnNt577O.js +1 -0
- package/runtime/assets/{options-iv-CdUder3x.js → options-iv-DRlcGyOA.js} +1 -1
- package/runtime/assets/options-max-pain-DttmKvGL.js +1 -0
- package/runtime/assets/options-max-pain-multi-BWvVp8w0.js +1 -0
- package/runtime/assets/options-oi-ladder-heatmap-D-GtQnYR.js +1 -0
- package/runtime/assets/options-oi-skew-C7zh_o7-.js +1 -0
- package/runtime/assets/{options-oi-strike-CvCZnMCR.js → options-oi-strike-CRd6fuzZ.js} +1 -1
- package/runtime/assets/{options-put-call-FuaDHJ-S.js → options-put-call-DaSJMaWB.js} +1 -1
- package/runtime/assets/options-vol-smile-DLg5yS2Q.js +1 -0
- package/runtime/assets/options-vol-spread-DzhDF8S2.js +1 -0
- package/runtime/assets/payrolls-bars-DUfM2bRV.js +1 -0
- package/runtime/assets/{pi-cycle-BuCnLnIJ.js → pi-cycle-Dnep9J9d.js} +1 -1
- package/runtime/assets/pie-chart-BIxKuHm-.js +1 -0
- package/runtime/assets/{pomodoro-DDBVVcSR.js → pomodoro-462F-K_R.js} +1 -1
- package/runtime/assets/portfolio-allocation-BmnvEhEW.js +1 -0
- package/runtime/assets/portfolio-common-DPg-LM-S.js +1 -0
- package/runtime/assets/{portfolio-holdings-MyAinCzt.js → portfolio-holdings-pJ3PcDtA.js} +1 -1
- package/runtime/assets/portfolio-movers-88ySthIZ.js +1 -0
- package/runtime/assets/{portfolio-value-BPURwKf8.js → portfolio-value-BIrDQqeD.js} +1 -1
- package/runtime/assets/portfolio-value-bars-B5PlVsS-.js +1 -0
- package/runtime/assets/prediction-market-bars-CjhLqjKZ.js +1 -0
- package/runtime/assets/prediction-market-scatter-PFzl9aUV.js +1 -0
- package/runtime/assets/{prediction-markets-Bzy51qnV.js → prediction-markets-COBBk6vK.js} +1 -1
- package/runtime/assets/prediction-markets-bubble-OHW4Fyta.js +1 -0
- package/runtime/assets/{price-chart-BOCD8ka3.js → price-chart-CttRCaIA.js} +1 -1
- package/runtime/assets/{price-compare-DZlF-qhZ.js → price-compare-DNhtDisn.js} +1 -1
- package/runtime/assets/{price-liveline-Bl7qCd5-.js → price-liveline-DR_topxQ.js} +1 -1
- package/runtime/assets/price-ticker-DgbqT8Ft.js +1 -0
- package/runtime/assets/protocol-fees-bubbles-DJKiIQLP.js +1 -0
- package/runtime/assets/{protocol-fees-treemap-DiIt4bfo.js → protocol-fees-treemap-YkaWU0jI.js} +1 -1
- package/runtime/assets/protocol-fees-vs-tvl-scatter-BdbfLYV5.js +1 -0
- package/runtime/assets/protocol-tvl-bubbles-BC38d6kb.js +1 -0
- package/runtime/assets/protocol-tvl-by-category-D6xbGiRH.js +1 -0
- package/runtime/assets/{protocol-tvl-chart-CmzANiR7.js → protocol-tvl-chart-MRYKJKC8.js} +1 -1
- package/runtime/assets/protocol-tvl-share-area-BaLjcOpi.js +1 -0
- package/runtime/assets/{protocol-tvl-treemap-BjNPrrtL.js → protocol-tvl-treemap-DdIxlR7K.js} +1 -1
- package/runtime/assets/{puell-multiple-BGrJX43r.js → puell-multiple-C-5BP2qr.js} +1 -1
- package/runtime/assets/put-call-gauge-CIL56SWp.js +1 -0
- package/runtime/assets/{quote-CRM3bfI7.js → quote-BCahDrH2.js} +1 -1
- package/runtime/assets/radial-gauge-0BzRQ6fO.js +1 -0
- package/runtime/assets/{rates-board-Cb9rV0_-.js → rates-board-JeVYxfxX.js} +1 -1
- package/runtime/assets/real-wages-CxYcPexL.js +1 -0
- package/runtime/assets/realized-price-DfKM0AQB.js +1 -0
- package/runtime/assets/{reserve-risk-Be98XUsD.js → reserve-risk-CZ8W5vox.js} +1 -1
- package/runtime/assets/{returns-projector-D67a_yvC.js → returns-projector-D8UX1710.js} +1 -1
- package/runtime/assets/{risk-reward-C7WMz2od.js → risk-reward-DgkqN_mw.js} +1 -1
- package/runtime/assets/{rsi-momentum-IglnulkJ.js → rsi-momentum-DLc5Fw80.js} +1 -1
- package/runtime/assets/{rules-card-DJs3fDVN.js → rules-card-B5gZWhLc.js} +1 -1
- package/runtime/assets/scatter-chart-B28DJ7P-.js +1 -0
- package/runtime/assets/sector-bars-CahrlX_u.js +1 -0
- package/runtime/assets/sector-bubbles-DdfZ6e5Q.js +1 -0
- package/runtime/assets/{sector-performance-DVMaleLY.js → sector-performance-BdYXFE7z.js} +1 -1
- package/runtime/assets/{sector-treemap-B681nSi6.js → sector-treemap-DBA5ilb3.js} +1 -1
- package/runtime/assets/sentiment-gauge-BD6U6U9e.js +1 -0
- package/runtime/assets/{session-progress-CZO3LqUi.js → session-progress-1UWc9VqZ.js} +1 -1
- package/runtime/assets/{short-volume-l8_9Yoh3.js → short-volume-BR5Bd4dE.js} +1 -1
- package/runtime/assets/short-volume-bars-qHwd3DwT.js +1 -0
- package/runtime/assets/{snake-CifbTGlZ.js → snake-VPnsi0wu.js} +1 -1
- package/runtime/assets/{sopr-Dw_oz-mC.js → sopr-pPCw72oY.js} +1 -1
- package/runtime/assets/{spotify-embed-BA0m1IRb.js → spotify-embed-BAYLjQ13.js} +1 -1
- package/runtime/assets/{stablecoin-chains-Dd2LqqqY.js → stablecoin-chains-gXvliWf0.js} +1 -1
- package/runtime/assets/{stablecoin-supply-DM4ogL4V.js → stablecoin-supply-cKbLU-qq.js} +1 -1
- package/runtime/assets/stopwatch-USjNEK2T.js +1 -0
- package/runtime/assets/{top-movers-CLmC2TNu.js → top-movers-m16-LIpD.js} +1 -1
- package/runtime/assets/treasury-auction-demand-scatter-qtbp6UWp.js +1 -0
- package/runtime/assets/treasury-auction-size-bars-BN1UAVmo.js +1 -0
- package/runtime/assets/{treasury-auctions-Dl9fiRgf.js → treasury-auctions-BiOh-3vx.js} +1 -1
- package/runtime/assets/treasury-avg-rate-bars-CJ1IViWy.js +1 -0
- package/runtime/assets/treasury-debt-composition-area-BPy8-h89.js +1 -0
- package/runtime/assets/{treemap-leaf-Dn31k9S9.js → treemap-leaf-QG-L-SIG.js} +1 -1
- package/runtime/assets/trending-bars-D_8IduL8.js +1 -0
- package/runtime/assets/trending-bubbles-DYxWvz2k.js +1 -0
- package/runtime/assets/{trending-coins-Cpx9T6cG.js → trending-coins-DqSuuuF9.js} +1 -1
- package/runtime/assets/tvl-bars-inXG_MRY.js +1 -0
- package/runtime/assets/tvl-bubbles-C5-rCI8e.js +1 -0
- package/runtime/assets/tvl-treemap-KR6k_75O.js +1 -0
- package/runtime/assets/{utils-DaT-yT0k.js → utils-DxneYyA_.js} +1 -1
- package/runtime/assets/{video-CeKjM-cE.js → video-DcFqrZ43.js} +1 -1
- package/runtime/assets/volume-movers-scatter-C4nPVYp-.js +1 -0
- package/runtime/assets/{volume-profile-CiMFsIBu.js → volume-profile-BYg0s84c.js} +1 -1
- package/runtime/assets/volume-share-donut-DCtz5g5J.js +1 -0
- package/runtime/assets/yield-composition-scatter-Djup_wzz.js +1 -0
- package/runtime/assets/{yield-curve-DkB0u2_Q.js → yield-curve-BM9IJJt6.js} +1 -1
- package/runtime/assets/yield-momentum-bars-gE1357zR.js +1 -0
- package/runtime/assets/yield-risk-pie-qhN37WPr.js +1 -0
- package/runtime/assets/yield-scanner-CbcLN2kK.js +1 -0
- package/runtime/assets/yield-scatter-B6ic-t9n.js +1 -0
- package/runtime/index.html +2 -2
- package/runtime/widget-icons/custom-data.png +0 -0
- package/runtime/assets/btc-hashrate-Wx2RAG-5.js +0 -1
- package/runtime/assets/chart-utils-BYIZMM9J.js +0 -1
- package/runtime/assets/checklist-CuEw3GpE.js +0 -1
- package/runtime/assets/d3-xK4fOkBU.js +0 -1
- package/runtime/assets/dex-volume-chart-sHIuJACJ.js +0 -1
- package/runtime/assets/dino-game-BOV8mV1d.js +0 -1
- package/runtime/assets/divider-C33tH1RU.js +0 -1
- package/runtime/assets/editor-CZoWRTJC.css +0 -1
- package/runtime/assets/editor-Dnp1eXvY.js +0 -68
- package/runtime/assets/format-CfAcS4D8.js +0 -1
- package/runtime/assets/fundamentals-CUnqjF--.js +0 -1
- package/runtime/assets/funding-comparison-CMKxW1n-.js +0 -1
- package/runtime/assets/funding-heatmap-CZWnYF8Y.js +0 -1
- package/runtime/assets/heading-uIVBEE7K.js +0 -1
- package/runtime/assets/image-CITPAmp0.js +0 -1
- package/runtime/assets/index-Bx7RmzY8.js +0 -1
- package/runtime/assets/index-CrmTiZaB.css +0 -1
- package/runtime/assets/index-DyvZokhk.js +0 -1097
- package/runtime/assets/indicators-CogwjDn9.js +0 -1
- package/runtime/assets/inflation-pulse-Bqa3-cuC.js +0 -1
- package/runtime/assets/labor-market-azDXD-dR.js +0 -1
- package/runtime/assets/market-hours-BSwXtU8c.js +0 -1
- package/runtime/assets/mayer-multiple-DpBJNd4d.js +0 -1
- package/runtime/assets/mover-row-Dg96EIqq.js +0 -1
- package/runtime/assets/news-feed-C9itZmyp.js +0 -1
- package/runtime/assets/note-BtCnmuMo.js +0 -1
- package/runtime/assets/portfolio-allocation-DAnQk_h_.js +0 -1
- package/runtime/assets/portfolio-common-Bi16i0aA.js +0 -1
- package/runtime/assets/price-ticker-D2W4T02y.js +0 -1
- package/runtime/assets/realized-price-CYlrFa0m.js +0 -1
- package/runtime/assets/stopwatch-Co72v-7u.js +0 -1
- package/runtime/assets/tvl-treemap-e610jE8k.js +0 -1
- package/runtime/assets/yield-scanner-BP90untT.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "zframes",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "zframes CLI — serve a dashboard.json as a live, editable market terminal (serve), print the frame catalogue for generating agents (catalogue), and validate a dashboard.json (lint).",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Zentry",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"typescript": "^5.8.0",
|
|
43
43
|
"@zframes/account": "0.0.0",
|
|
44
44
|
"@zframes/frames": "0.0.0",
|
|
45
|
-
"@zframes/provider-defillama": "0.0.0",
|
|
46
|
-
"@zframes/provider-coingecko": "0.0.0",
|
|
47
45
|
"@zframes/provider-alternativeme": "0.0.0",
|
|
48
|
-
"@zframes/provider-
|
|
46
|
+
"@zframes/provider-coingecko": "0.0.0",
|
|
47
|
+
"@zframes/provider-defillama": "0.0.0",
|
|
49
48
|
"@zframes/serve": "0.0.0",
|
|
50
49
|
"@zframes/spec": "0.0.0",
|
|
51
50
|
"@zframes/store": "0.0.0",
|
|
51
|
+
"@zframes/provider-hyperliquid": "0.0.0",
|
|
52
52
|
"@zframes/zai": "0.0.0"
|
|
53
53
|
},
|
|
54
54
|
"scripts": {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as d,j as L}from"./react-qoZPGuNy.js";import{s as T,l as z,h as K}from"./d3-ibrLIlQc.js";import{p as Q}from"./utils-DxneYyA_.js";const A="11px 'DM Sans', sans-serif",Z="var(--color-highlight, #8b8bff)",V=({data:e,orientation:C="vertical",color:j=Z,negativeColor:v,height:i=200,formatValue:p=y=>String(Math.round(y)),showValues:x=!0,maxTickLabels:k=8})=>{const y=d.useRef(null),B=d.useRef(null),[n,U]=d.useState(null);return d.useEffect(()=>{const o=y.current;if(!o)return;const c=()=>{const u=o.getBoundingClientRect().width;U(m=>m!==null&&Math.abs(m-u)<.5?m:u)};c();const l=typeof ResizeObserver<"u"?new ResizeObserver(c):null;return l==null||l.observe(o),()=>l==null?void 0:l.disconnect()},[]),d.useEffect(()=>{const o=B.current;if(!o||!n||n<=0||!e.length)return;T(o).selectAll("*").remove();const c=T(o),l=t=>t.color??(v&&t.value<0?v:j),u=!Q();if(C==="horizontal"){const t=Math.min(Math.max(...e.map(a=>a.label.length))*6.4+8,n*.35),r=x?52:8,w=Math.max(n-t-r,10),g=i/e.length,$=Math.min(Math.max(g*.55,3),18),S=v!==void 0&&e.some(a=>a.value<0),_=Math.max(...e.map(a=>Math.abs(a.value)),1e-9),R=S?z().domain([-_,_]).range([0,w]):z().domain([Math.min(0,...e.map(a=>a.value)),_]).range([0,w]),h=R(0),D=c.append("g").attr("transform",`translate(${t},0)`);S&&D.append("line").attr("x1",h).attr("x2",h).attr("y1",0).attr("y2",i).attr("stroke","currentColor").attr("stroke-opacity",.18);const O=D.selectAll("g.bar-row").data(e).enter().append("g").attr("transform",(a,E)=>`translate(0,${E*g+g/2})`),X=O.append("rect").attr("y",-$/2).attr("height",$).attr("rx",Math.min(3,$/2)).attr("fill",l).attr("x",h).attr("width",0),Y=a=>Math.min(h,R(a.value)),I=a=>Math.abs(R(a.value)-h);u?X.transition().duration(400).attr("x",Y).attr("width",I):X.attr("x",Y).attr("width",I),c.selectAll("text.bar-label").data(e).enter().append("text").attr("x",t-8).attr("y",(a,E)=>E*g+g/2).attr("text-anchor","end").attr("dominant-baseline","central").attr("fill","currentColor").attr("fill-opacity",.65).style("font",A).text(a=>a.label),x&&O.append("text").attr("x",a=>a.value>=0?R(a.value)+6:h+6).attr("text-anchor","start").attr("dominant-baseline","central").attr("fill",l).style("font",A).style("font-weight","600").text(a=>p(a.value)),O.append("title").text(a=>`${a.label}: ${p(a.value)}`);return}const m=18,H=x?16:6,W=Math.max(i-m-H,10),q=Math.min(0,...e.map(t=>t.value)),G=Math.max(0,...e.map(t=>t.value),1e-9),f=z().domain([q,G]).range([W,0]).nice(),s=K().domain(e.map((t,r)=>r)).range([0,n]).paddingInner(.25).paddingOuter(.05),b=f(0),M=c.append("g").attr("transform",`translate(0,${H})`);M.append("line").attr("x1",0).attr("x2",n).attr("y1",b).attr("y2",b).attr("stroke","currentColor").attr("stroke-opacity",.18);const F=M.selectAll("rect.bar").data(e).enter().append("rect").attr("x",(t,r)=>s(r)??0).attr("width",s.bandwidth()).attr("rx",Math.min(2,s.bandwidth()/2)).attr("fill",l).attr("y",b).attr("height",0),N=t=>Math.min(b,f(t.value)),P=t=>Math.abs(f(t.value)-b);u?F.transition().duration(400).attr("y",N).attr("height",P):F.attr("y",N).attr("height",P),M.selectAll("rect.bar-hit").data(e).enter().append("rect").attr("x",(t,r)=>s(r)??0).attr("width",s.bandwidth()).attr("y",0).attr("height",W).attr("fill","transparent").append("title").text(t=>`${t.label}: ${p(t.value)}`),x&&s.bandwidth()>=26&&M.selectAll("text.bar-value").data(e).enter().append("text").attr("x",(t,r)=>(s(r)??0)+s.bandwidth()/2).attr("y",t=>t.value>=0?f(t.value)-4:f(t.value)+12).attr("text-anchor","middle").attr("fill",l).style("font",A).style("font-weight","600").text(t=>p(t.value));const J=Math.max(1,Math.ceil(e.length/k));c.selectAll("text.tick-label").data(e.filter((t,r)=>r%J===0)).enter().append("text").attr("x",t=>{const r=e.indexOf(t),w=(s(r)??0)+s.bandwidth()/2;return Math.min(Math.max(w,16),n-16)}).attr("y",i-4).attr("text-anchor","middle").attr("fill","currentColor").attr("fill-opacity",.55).style("font",A).text(t=>t.label)},[e,n,i,C,j,v,p,x,k]),L.jsx("div",{ref:y,className:"w-full",style:{height:i},children:n!==null&&n>0&&L.jsx("svg",{ref:B,width:n,height:i})})},rt=d.memo(V);export{rt as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f,j as e}from"./react-qoZPGuNy.js";import{b as r,f as p,a as x,c as g}from"./format-
|
|
1
|
+
import{r as f,j as e}from"./react-qoZPGuNy.js";import{b as r,f as p,a as x,c as g}from"./format-DxkEZcwQ.js";import{f as j,j as i,k as v}from"./index-CiYWppnQ.js";import{F as c}from"./ui-Bq3RQsdJ.js";i.schema;const o={BTC:"linear-gradient(90deg, #FF810F 0%, #FF9E37 100%)",ETH:"hsl(var(--zf-accent-hue, 242) 85% 72%)",Others:"hsl(var(--zf-accent-hue, 242) 38% 52%)"};function y({config:d}){const{market:s,isLoading:m}=v(),n=f.useMemo(()=>{if(!s)return[];const a=s.dominance.btc??0,t=s.dominance.eth??0;return[{type:"BTC",value:a},{type:"ETH",value:t},{type:"Others",value:Math.max(0,100-a-t)}].sort((h,u)=>u.value-h.value)},[s]);if(m)return e.jsx(c,{loading:!0,children:"loading dominance…"});if(!s)return e.jsx(c,{children:"no market data"});const l=n[0];return e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-3",children:[e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsx("span",{className:"metric-xl text-strong",children:r(l.value,1)}),e.jsx("span",{className:"body-md text-soft",children:l.type})]}),e.jsx("div",{className:"flex h-3 w-full max-w-sm gap-1 overflow-hidden rounded-full",children:n.map((a,t)=>e.jsx("div",{className:`h-full ${t===0?"rounded-l-full":""} ${t===n.length-1?"rounded-r-full":""}`,style:{width:`${a.value}%`,background:o[a.type]}},a.type))}),e.jsx("div",{className:"grid w-full max-w-sm grid-cols-3",children:n.map(a=>e.jsxs("div",{className:"flex items-center justify-center gap-1.5",children:[e.jsx("div",{className:"h-2 w-2 flex-shrink-0 rounded-full",style:{background:o[a.type]}}),e.jsx("span",{className:"body-sm text-soft",children:a.type}),e.jsx("span",{className:"body-sm text-normal font-bold tabular-nums",children:r(a.value,1)})]},a.type))}),d.showTotalMarketCap&&e.jsxs("div",{className:"caption text-soft",children:["total mcap ",p(s.totalMarketCapUsd)," ·"," ",e.jsxs("span",{style:{color:g(s.marketCapChangePct24h)},children:[x(s.marketCapChangePct24h)," 24h"]})]})]})}const F=j({...i,component:y});export{F as bitcoinDominanceFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as e}from"./react-qoZPGuNy.js";import{i as c}from"./content-shared-BZ1XzrJx.js";import{
|
|
1
|
+
import{r as u,j as e}from"./react-qoZPGuNy.js";import{i as c}from"./content-shared-BZ1XzrJx.js";import{e as N,a as j,c as y}from"./format-DxkEZcwQ.js";import{f as k,bY as b}from"./index-CiYWppnQ.js";import{s as z}from"./ui-Bq3RQsdJ.js";b.schema;function C({config:l}){const[o,m]=u.useState(l.fills.length?l.fills:[{price:0,size:0}]),[n,g]=u.useState(l.currentPrice),{avg:r,totalSize:p}=u.useMemo(()=>{let s=0,a=0;for(const t of o)s+=t.price*t.size,a+=t.size;return{avg:a>0?s/a:0,totalSize:a}},[o]),x=r>0&&n>0?(n-r)/r*100:null,d=l.label.trim(),h=(s,a,t)=>m(f=>f.map((i,v)=>v===s?{...i,[a]:t}:i));return e.jsxs("div",{className:"flex h-full w-full flex-col gap-2",children:[d&&e.jsx("div",{className:"caption text-soft shrink-0 uppercase tracking-[0.12em]",children:d}),e.jsxs("div",{className:"shrink-0",children:[e.jsx("div",{className:"caption text-soft",children:"break-even (avg cost)"}),e.jsx("div",{className:"metric-lg text-strong",children:p>0?N(r):"—"}),e.jsxs("div",{className:"caption text-soft",children:[p>0?`${p} units`:"add fills below",x!==null&&e.jsxs(e.Fragment,{children:[" · ",e.jsxs("span",{style:{color:y(x)},children:[j(x)," unrealized"]})]})]})]}),e.jsxs("div",{className:`min-h-0 flex-1 ${z}`,children:[o.map((s,a)=>e.jsxs("div",{className:"mb-1 flex items-center gap-1",children:[e.jsxs("label",{className:`flex flex-1 items-center gap-1 px-2 py-1 ${c}`,children:[e.jsx("span",{className:"caption text-soft",children:"px"}),e.jsx("input",{type:"number",value:Number.isFinite(s.price)?s.price:0,onChange:t=>h(a,"price",Number(t.target.value)),className:"body-sm text-strong w-full bg-transparent outline-none"})]}),e.jsxs("label",{className:`flex flex-1 items-center gap-1 px-2 py-1 ${c}`,children:[e.jsx("span",{className:"caption text-soft",children:"sz"}),e.jsx("input",{type:"number",value:Number.isFinite(s.size)?s.size:0,onChange:t=>h(a,"size",Number(t.target.value)),className:"body-sm text-strong w-full bg-transparent outline-none"})]}),e.jsx("button",{type:"button",onClick:()=>m(t=>t.length>1?t.filter((f,i)=>i!==a):t),className:"caption text-soft hover:text-strong shrink-0 px-1","aria-label":"remove fill",children:"×"})]},a)),e.jsx("button",{type:"button",onClick:()=>m(s=>[...s,{price:0,size:0}]),className:`caption text-soft hover:text-strong w-full px-2 py-1 ${c}`,children:"+ add fill"})]}),e.jsxs("label",{className:`flex shrink-0 items-center gap-1 px-2 py-1 ${c}`,children:[e.jsx("span",{className:"caption text-soft shrink-0",children:"current price"}),e.jsx("input",{type:"number",value:Number.isFinite(n)?n:0,onChange:s=>g(Number(s.target.value)),className:"body-sm text-strong w-full bg-transparent text-right outline-none"})]})]})}const E=k({...b,component:C});export{E as breakevenFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,j as r}from"./react-qoZPGuNy.js";import{f as
|
|
1
|
+
import{r as s,j as r}from"./react-qoZPGuNy.js";import{f as i,c0 as n}from"./index-CiYWppnQ.js";n.schema;function m(e){return[{name:"Breathe in",dur:e.inhale,scale:1},{name:"Hold",dur:e.hold,scale:1},{name:"Breathe out",dur:e.exhale,scale:.45},{name:"Hold",dur:e.holdAfter,scale:.45}]}function x({config:e}){const t=m(e),[a,l]=s.useState(0);s.useEffect(()=>{l(0)},[e.inhale,e.hold,e.exhale,e.holdAfter]),s.useEffect(()=>{const d=Math.max(0,t[a].dur),u=setTimeout(()=>l(c=>(c+1)%t.length),Math.max(300,d*1e3));return()=>clearTimeout(u)},[a,e.inhale,e.hold,e.exhale,e.holdAfter]);const o=t[a].scale,h=Math.max(.3,t[a].dur);return r.jsxs("div",{className:"relative flex h-full w-full items-center justify-center overflow-hidden",children:[r.jsx("div",{className:"aspect-square w-[55%] rounded-full",style:{background:"var(--color-highlight)",opacity:.25,transform:`scale(${o})`,transition:`transform ${h}s ease-in-out`}}),r.jsx("div",{className:"caption text-soft absolute uppercase tracking-[0.2em]",children:t[a].name})]})}const j=i({...n,component:x});export{j as breathingFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as m,j as e}from"./react-qoZPGuNy.js";import{d as r}from"./format-DxkEZcwQ.js";import{f,cU as i,b1 as p}from"./index-CiYWppnQ.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{B as u}from"./bar-chart-DmyKFv_O.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function x({config:l}){var a;const{blocks:t,isLoading:n}=p(l.count),s=m.useMemo(()=>[...t].reverse().map(o=>({label:o.height.toLocaleString("en-US"),value:o.size})),[t]);return n?e.jsx(c,{loading:!0,children:"loading blocks…"}):s.length===0?e.jsx(c,{children:"no block data yet"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(u,{data:s,height:200,formatValue:r,showValues:!1,maxTickLabels:6}),e.jsxs("div",{className:"caption text-soft text-center",children:["block size (bytes) · latest ",r(((a=t[0])==null?void 0:a.size)??0)]})]})}const z=f({...i,component:x});export{z as btcBlockSizeBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{t as c,j as i}from"./format-
|
|
1
|
+
import{j as s}from"./react-qoZPGuNy.js";import{t as c,j as i}from"./format-DxkEZcwQ.js";import{f as r,b0 as o,b1 as m}from"./index-CiYWppnQ.js";import{F as a,s as d}from"./ui-Bq3RQsdJ.js";o.schema;function x({config:l}){const{blocks:e,isLoading:n}=m(l.count);return n?s.jsx(a,{loading:!0,children:"loading blocks…"}):e.length===0?s.jsx(a,{children:"no block data yet"}):s.jsx("div",{className:"flex h-full min-h-0 flex-col",children:s.jsx("div",{className:d,children:s.jsx("div",{className:"flex flex-col gap-1.5",children:e.map(t=>s.jsxs("div",{className:"grid grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-2 rounded-md bg-white/[0.03] px-2 py-1.5",title:`Block ${t.height} · ${t.poolName} · ${t.txCount.toLocaleString("en-US")} txs`,children:[s.jsxs("div",{className:"flex flex-col",children:[s.jsx("span",{className:"body-sm text-strong font-bold tabular-nums",children:t.height.toLocaleString("en-US")}),s.jsx("span",{className:"caption text-soft",children:c(t.time)})]}),s.jsxs("div",{className:"min-w-0",children:[s.jsx("span",{className:"body-sm text-normal block truncate",children:t.poolName}),s.jsxs("span",{className:"caption text-soft",children:[t.txCount.toLocaleString("en-US")," txs"]})]}),s.jsxs("div",{className:"text-right",children:[s.jsx("span",{className:"body-sm text-normal block font-bold tabular-nums",children:i(t.totalFees)}),s.jsxs("span",{className:"caption text-soft",children:["~",Math.round(t.medianFee)," sat/vB"]})]})]},t.id))})})})}const j=r({...o,component:x});export{j as btcBlocksFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./react-qoZPGuNy.js";import{a as r,b as m,c as o}from"./format-
|
|
1
|
+
import{j as t}from"./react-qoZPGuNy.js";import{a as r,b as m,c as o}from"./format-DxkEZcwQ.js";import{f as u,b4 as c,b5 as h}from"./index-CiYWppnQ.js";import{F as l}from"./ui-Bq3RQsdJ.js";c.schema;function x(n){const e=Math.max(0,Math.round((n-Date.now())/1e3)),i=Math.floor(e/86400),s=Math.floor(e%86400/3600),a=Math.floor(e%3600/60);return i>0?`in ${i}d ${s}h`:s>0?`in ${s}h ${a}m`:`in ${a}m`}function j({config:n}){const{adjustment:e,isLoading:i}=h();if(i)return t.jsx(l,{loading:!0,children:"loading difficulty…"});if(!e)return t.jsx(l,{children:"no difficulty data yet"});const{progressPercent:s,difficultyChange:a,remainingBlocks:d}=e,f=o(a);return t.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[t.jsxs("div",{className:"flex items-end justify-between gap-3",children:[t.jsxs("div",{children:[t.jsx("div",{className:"caption text-soft uppercase",children:"next adjustment"}),t.jsx("div",{className:"metric-lg leading-none",style:{color:f},children:r(a)}),t.jsx("div",{className:"body-sm text-soft",children:a>=0?"harder":"easier"})]}),t.jsxs("div",{className:"text-right",children:[t.jsx("div",{className:"body-md text-normal font-bold tabular-nums",children:x(e.estimatedRetargetDate)}),t.jsxs("div",{className:"caption text-soft",children:[d.toLocaleString("en-US")," blocks left"]})]})]}),t.jsxs("div",{children:[t.jsx("div",{className:"relative h-2.5 w-full overflow-hidden rounded-full bg-white/[0.08]",children:t.jsx("div",{className:"absolute left-0 top-0 h-full rounded-full",style:{width:`${Math.min(100,Math.max(0,s))}%`,background:"hsl(var(--zf-accent-hue, 242) 85% 72%)"}})}),t.jsxs("div",{className:"caption text-soft mt-1 tabular-nums",children:[m(s,1)," through this epoch"]})]}),n.showPrevious&&t.jsxs("div",{className:"caption text-soft border-t border-white/[0.08] pt-2",children:["previous retarget"," ",t.jsx("span",{className:"font-bold tabular-nums",style:{color:o(e.previousRetarget)},children:r(e.previousRetarget)})]})]})}const N=u({...c,component:j});export{N as btcDifficultyFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as o,j as t}from"./react-qoZPGuNy.js";import{d as l,k as f}from"./format-DxkEZcwQ.js";import{f as d,cT as r,b3 as m}from"./index-CiYWppnQ.js";import{F as a}from"./ui-Bq3RQsdJ.js";import{M as h}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";r.schema;function u({config:i}){const{data:e,isLoading:c}=m(i.window),n=o.useMemo(()=>((e==null?void 0:e.difficulty)??[]).map(s=>({date:new Date(s.time).toISOString(),value:s.difficulty})),[e==null?void 0:e.difficulty]);return c?t.jsx(a,{loading:!0,children:"loading difficulty…"}):e?t.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[t.jsxs("div",{className:"flex items-end justify-between gap-3",children:[t.jsxs("div",{children:[t.jsx("div",{className:"caption text-soft uppercase",children:"network difficulty"}),t.jsx("div",{className:"metric-lg text-strong leading-none",children:l(e.currentDifficulty)})]}),t.jsxs("div",{className:"text-right",children:[t.jsx("div",{className:"body-md text-normal font-bold tabular-nums",children:f(e.currentHashrate)}),t.jsx("div",{className:"caption text-soft",children:"hashrate"})]})]}),t.jsx(h,{data:n,width:320,height:54,color:"hsl(var(--zf-accent-hue, 242) 85% 72%)"}),t.jsxs("div",{className:"caption text-soft",children:["past ",i.window]})]}):t.jsx(a,{children:"no difficulty data yet"})}const N=d({...r,component:u});export{N as btcDifficultyChartFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./react-qoZPGuNy.js";import{F as i,a as e}from"./btc-shared-
|
|
1
|
+
import{j as t}from"./react-qoZPGuNy.js";import{F as i,a as e}from"./btc-shared-yOWoU9Im.js";import{f as c,aY as n,aZ as f}from"./index-CiYWppnQ.js";import{F as a}from"./ui-Bq3RQsdJ.js";import"./format-DxkEZcwQ.js";n.schema;const l={fastest:"Next block",halfHour:"~30 min",hour:"~1 hour",economy:"Economy",minimum:"Minimum"},u={fastest:e[0],halfHour:e[1],hour:e[2],economy:e[3],minimum:e[4]};function p({config:m}){const{fees:o,isLoading:r}=f();return r?t.jsx(a,{loading:!0,children:"loading fees…"}):o?t.jsx("div",{className:"flex h-full flex-wrap content-center items-stretch justify-center gap-2",children:m.tiers.map(s=>t.jsx(i,{className:"min-w-[64px] flex-1",color:u[s],value:o[s],caption:l[s]},s))}):t.jsx(a,{children:"no fee data yet"})}const E=c({...n,component:p});export{E as btcFeesFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as c,j as t}from"./react-qoZPGuNy.js";import{k as h,d as l}from"./format-DxkEZcwQ.js";import{f as m,b2 as i,b3 as d}from"./index-CiYWppnQ.js";import{F as r}from"./ui-Bq3RQsdJ.js";import{M as f}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function x({config:a}){const{data:e,isLoading:n}=d(a.window),o=c.useMemo(()=>((e==null?void 0:e.hashrates)??[]).map(s=>({date:new Date(s.time).toISOString(),value:s.hashrate})),[e==null?void 0:e.hashrates]);return n?t.jsx(r,{loading:!0,children:"loading hashrate…"}):e?t.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[t.jsxs("div",{className:"flex items-end justify-between gap-3",children:[t.jsxs("div",{children:[t.jsx("div",{className:"caption text-soft uppercase",children:"network hashrate"}),t.jsx("div",{className:"metric-lg text-strong leading-none",children:h(e.currentHashrate)})]}),t.jsxs("div",{className:"text-right",children:[t.jsx("div",{className:"body-md text-normal font-bold tabular-nums",children:l(e.currentDifficulty)}),t.jsx("div",{className:"caption text-soft",children:"difficulty"})]})]}),t.jsx(f,{data:o,width:320,height:54,color:"hsl(var(--zf-accent-hue, 242) 85% 72%)"}),t.jsxs("div",{className:"caption text-soft",children:["past ",a.window]})]}):t.jsx(r,{children:"no hashrate data yet"})}const b=m({...i,component:x});export{b as btcHashrateFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{F as m,f as d}from"./btc-shared-
|
|
1
|
+
import{j as e}from"./react-qoZPGuNy.js";import{F as m,f as d}from"./btc-shared-yOWoU9Im.js";import{d as x}from"./format-DxkEZcwQ.js";import{f as p,a_ as o,a$ as f}from"./index-CiYWppnQ.js";import{F as a,a as j}from"./ui-Bq3RQsdJ.js";o.schema;function u({config:i}){const{state:s,isLoading:n}=f();if(n)return e.jsx(a,{loading:!0,children:"loading mempool…"});if(!s)return e.jsx(a,{children:"no mempool data yet"});const l=s.projected.slice(0,i.projectedBlocks),r=(s.vsize/1e6).toFixed(1);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.jsx("div",{className:"caption text-soft uppercase",children:"unconfirmed"}),e.jsx("div",{className:"metric-lg text-strong leading-none",children:s.count.toLocaleString("en-US")}),e.jsx("div",{className:"body-sm text-soft",children:"transactions"})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"body-md text-normal font-bold tabular-nums",children:[r," MvB"]}),e.jsx("div",{className:"caption text-soft",children:"pending vsize"})]})]}),e.jsx("div",{className:`flex gap-1.5 ${j}`,children:l.map((t,c)=>e.jsx(m,{className:"min-w-[76px]",color:d(t.medianFee),value:`~${Math.round(t.medianFee)}`,caption:`${x(t.nTx)} tx`},c))})]})}const M=p({...o,component:u});export{M as btcMempoolFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{D as i,U as f}from"./format-
|
|
1
|
+
import{j as s}from"./react-qoZPGuNy.js";import{D as i,U as f}from"./format-DxkEZcwQ.js";const t=[i,"#ffa057","#ffd166","#9bd45f",f];function o(e){return e>=100?t[0]:e>=50?t[1]:e>=20?t[2]:e>=5?t[3]:t[4]}function d({color:e,value:n,caption:r,className:a=""}){return s.jsxs("div",{className:`flex flex-col items-center justify-center rounded-lg px-2 py-2 ${a}`,style:{background:`${e}14`,border:`1px solid ${e}33`},children:[s.jsx("span",{className:"metric-md leading-none",style:{color:e},children:n}),s.jsx("span",{className:"caption text-soft mt-0.5",children:"sat/vB"}),s.jsx("span",{className:"caption text-soft mt-1 text-center",children:r})]})}export{d as F,t as a,o as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as p,j as l}from"./react-qoZPGuNy.js";import{F as k}from"./ui-Bq3RQsdJ.js";import{s as j,B as F,C as N,D as O,E as D,F as U,G as z}from"./d3-ibrLIlQc.js";import{p as I}from"./utils-DxneYyA_.js";const P="'DM Sans', sans-serif",S="var(--color-highlight, #8b8bff)";function T(e){return e<=4?.85:e<=10?.72:e<=20?.6:e<=50?.5:.42}function q(e,u,f){const m=Math.max(...e.map(s=>s.value),1e-9),o=e.map(s=>Math.sqrt(Math.max(s.value,0)/m)),x=o.reduce((s,n)=>s+Math.PI*n*n,0),y=u*f*T(e.length),r=Math.sqrt(y/Math.max(x,1e-9)),w=Math.min(u,f)*.32;return o.map(s=>Math.max(6,Math.min(s*r,w)))}const L=({nodes:e,height:u,showLabels:f=!0,color:m=S,formatTitle:o})=>{const x=p.useRef(null),y=p.useRef(null),[r,w]=p.useState(null),s=p.useId().replace(/[^a-zA-Z0-9]/g,"");return p.useEffect(()=>{const n=x.current;if(!n)return;const i=()=>{const h=n.getBoundingClientRect();w(d=>d&&Math.abs(d.w-h.width)<.5&&Math.abs(d.h-h.height)<.5?d:{w:h.width,h:h.height})};i();const a=typeof ResizeObserver<"u"?new ResizeObserver(i):null;return a==null||a.observe(n),()=>a==null?void 0:a.disconnect()},[]),p.useEffect(()=>{const n=y.current;if(!n||!r||r.w<=0||r.h<=0||!e.length)return;const{w:i,h:a}=r;j(n).selectAll("*").remove();const h=j(n),d=h.append("defs"),B=h.append("g"),E=q(e,i,a),R=e.map((t,c)=>({node:t,r:E[c],x:i/2+Math.cos(c*2.4)*(8+c*6),y:a/2+Math.sin(c*2.4)*(8+c*6)})),M=4,A=t=>{t.x=Math.max(t.r+M,Math.min(i-t.r-M,t.x??0)),t.y=Math.max(t.r+M,Math.min(a-t.r-M,t.y??0))},g=F(R).force("x",N(i/2).strength(.05)).force("y",O(a/2).strength(.05*i/a)).force("collide",D().radius(t=>t.r+1.5).strength(.9).iterations(3)).force("charge",U().strength(2)).velocityDecay(.35),C=B.selectAll("g.bubble").data(R).enter().append("g").attr("class","bubble").attr("cursor","grab");C.each(function(t,c){const b=j(this),v=t.node.color??m;b.append("circle").attr("r",t.r).attr("fill",v).attr("fill-opacity",t.node.imageUrl?.12:.55),t.node.imageUrl&&(d.append("clipPath").attr("id",`${s}-${c}`).append("circle").attr("r",t.r),b.append("image").attr("href",t.node.imageUrl).attr("x",-t.r).attr("y",-t.r).attr("width",t.r*2).attr("height",t.r*2).attr("clip-path",`url(#${s}-${c})`).attr("preserveAspectRatio","xMidYMid slice").style("opacity",0).on("load",function(){j(this).transition().duration(300).style("opacity",.9)})),b.append("circle").attr("r",Math.max(t.r-1,1)).attr("fill","none").attr("stroke",t.node.borderColor??"currentColor").attr("stroke-width",1.5).attr("stroke-opacity",t.node.borderColor?.75:.15),f&&t.r>=14&&b.append("text").attr("text-anchor","middle").attr("dy","0.35em").attr("fill","currentColor").attr("fill-opacity",.9).attr("paint-order","stroke").attr("stroke","rgba(0,0,0,0.55)").attr("stroke-width",2.5).style("font",`600 ${Math.max(9,Math.min(t.r*.42,15))}px ${P}`).style("pointer-events","none").text(t.node.label),b.append("title").text(o?o(t.node):t.node.label)});const $=()=>{R.forEach(A),C.attr("transform",t=>`translate(${t.x},${t.y})`)};if(I()){g.stop();for(let t=0;t<200;t++)g.tick();$()}else g.on("tick",$),C.call(z().on("start",t=>{t.active||g.alphaTarget(.25).restart(),t.subject.fx=t.subject.x,t.subject.fy=t.subject.y}).on("drag",t=>{t.subject.fx=t.x,t.subject.fy=t.y}).on("end",t=>{t.active||g.alphaTarget(0),t.subject.fx=null,t.subject.fy=null}));return()=>{g.stop()}},[e,r,f,m,o,s]),l.jsx("div",{ref:x,className:"h-full w-full",style:u?{height:u}:void 0,children:r&&r.w>0&&r.h>0&&l.jsx("svg",{ref:y,width:r.w,height:r.h})})},Y=p.memo(L);function H({nodes:e,isLoading:u,loadingText:f,emptyText:m,caption:o,formatTitle:x}){return u?l.jsx(k,{loading:!0,children:f}):e.length===0?l.jsx(k,{children:m}):l.jsxs("div",{className:"flex h-full flex-col gap-1 text-normal",children:[l.jsx("div",{className:"min-h-0 flex-1",children:l.jsx(Y,{nodes:e,formatTitle:x})}),o&&l.jsx("div",{className:"caption text-soft text-center",children:o})]})}export{H as B};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{i as C}from"./content-shared-BZ1XzrJx.js";import{f as F,
|
|
1
|
+
import{r as n,j as e}from"./react-qoZPGuNy.js";import{i as C}from"./content-shared-BZ1XzrJx.js";import{f as F,aQ as N}from"./index-CiYWppnQ.js";import{s as A}from"./ui-Bq3RQsdJ.js";N.schema;const R="var(--color-highlight)";function x(t){const s=Number(t);return Number.isFinite(s)?s:0}function d({label:t,value:s,onChange:i,prefix:r,suffix:l}){return e.jsxs("label",{className:"flex flex-col gap-1",children:[e.jsx("span",{className:"caption text-soft uppercase tracking-[0.12em]",children:t}),e.jsxs("span",{className:`flex items-center gap-1 px-2 py-1.5 ${C}`,children:[r&&e.jsx("span",{className:"body-sm text-soft",children:r}),e.jsx("input",{type:"number",inputMode:"decimal",value:s,onChange:c=>i(c.target.value),className:"body-sm text-normal min-w-0 flex-1 bg-transparent text-right tabular-nums outline-none [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none"}),l&&e.jsx("span",{className:"body-sm text-soft",children:l})]})]})}function M({config:t}){const[s,i]=n.useState(String(t.account)),[r,l]=n.useState(String(t.riskPct)),[c,g]=n.useState(String(t.entry)),[h,v]=n.useState(String(t.stop));n.useEffect(()=>i(String(t.account)),[t.account]),n.useEffect(()=>l(String(t.riskPct)),[t.riskPct]),n.useEffect(()=>g(String(t.entry)),[t.entry]),n.useEffect(()=>v(String(t.stop)),[t.stop]);const a=n.useMemo(()=>{const o=x(s),w=x(r),m=x(c),j=x(h),S=o*w/100,p=Math.abs(m-j),y=p>0?S/p:0,E=y*m,P=m===j?"—":j<m?"long":"short";return{riskAmount:S,perUnit:p,size:y,value:E,side:P,hasStop:p>0}},[s,r,c,h]),u=t.currency,f=o=>`${u}${o.toLocaleString(void 0,{maximumFractionDigits:2})}`,k=o=>o.toLocaleString(void 0,{maximumFractionDigits:o>=1?2:4});return e.jsxs("div",{className:`${A} flex flex-col gap-3`,children:[e.jsxs("div",{className:"grid grid-cols-2 gap-2",children:[e.jsx(d,{label:"Account",value:s,onChange:i,prefix:u}),e.jsx(d,{label:"Risk",value:r,onChange:l,suffix:"%"}),e.jsx(d,{label:"Entry",value:c,onChange:g,prefix:u}),e.jsx(d,{label:"Stop",value:h,onChange:v,prefix:u})]}),e.jsxs("div",{className:"flex flex-col gap-1.5 rounded-lg border border-white/[0.07] bg-white/[0.03] p-2.5",children:[e.jsxs("div",{className:"flex items-baseline justify-between",children:[e.jsx("span",{className:"caption text-soft uppercase tracking-[0.12em]",children:"Position size"}),e.jsx("span",{className:"body-lg font-extrabold tabular-nums",style:{color:a.hasStop?R:void 0},children:a.hasStop?k(a.size):"—"})]}),e.jsx(b,{label:"Risk amount",value:f(a.riskAmount)}),e.jsx(b,{label:"Per-unit risk",value:a.hasStop?f(a.perUnit):"set a stop"}),e.jsx(b,{label:"Position value",value:a.hasStop?f(a.value):"—"}),e.jsx(b,{label:"Direction",value:a.side})]})]})}function b({label:t,value:s}){return e.jsxs("div",{className:"flex items-baseline justify-between",children:[e.jsx("span",{className:"body-sm text-soft",children:t}),e.jsx("span",{className:"body-sm text-normal tabular-nums",children:s})]})}const U=F({...N,component:M});export{U as calculatorFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as f,j as t}from"./react-qoZPGuNy.js";import{f as d,dm as c,O as p,h as n}from"./index-CiYWppnQ.js";import{f as h}from"./format-DxkEZcwQ.js";import{F as u}from"./ui-Bq3RQsdJ.js";import{B as x}from"./bar-chart-DmyKFv_O.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function b({config:r}){const{data:e,isLoading:m}=p(r.symbol),a=f.useMemo(()=>{const o=(e==null?void 0:e.metrics)??[],s=o.find(l=>l.label==="Total assets"),i=o.find(l=>l.label==="Shareholders' equity");return!s||!i?null:{fiscalPeriod:s.fiscalPeriod,bars:[{label:"Total assets",value:s.value},{label:"Liabilities",value:s.value-i.value},{label:"Shareholders' equity",value:i.value}]}},[e]);return m?t.jsx(u,{loading:!0,children:"loading capital structure…"}):a?t.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[t.jsx(x,{data:a.bars,orientation:"horizontal",height:Math.max(a.bars.length*24,96),formatValue:h}),t.jsxs("div",{className:"caption text-soft text-center",children:[(e==null?void 0:e.entityName)||n(r.symbol)," · ",a.fiscalPeriod," · liabilities derived (assets − equity)"]})]}):t.jsxs(u,{children:["no SEC balance-sheet data for “",n(r.symbol),"”"]})}const g=d({...c,component:b});export{g as capitalStructureBarsFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as i}from"./react-qoZPGuNy.js";import{d as t}from"./format-DxkEZcwQ.js";import{M as r}from"./metric-row-BVVhjsjK.js";import{f as e,c6 as m,c7 as c}from"./index-CiYWppnQ.js";import{F as s,s as l}from"./ui-Bq3RQsdJ.js";function h(){const{chains:o,isLoading:n}=c();return n?i.jsx(s,{loading:!0,children:"loading chain activity…"}):o.length===0?i.jsx(s,{children:"no chain data"}):i.jsx("div",{className:l,children:o.map(a=>i.jsx(r,{label:a.label,meta:`${t(a.mempoolTxns)} mempool · ${t(a.blocks24h)} blocks`,value:`${t(a.transactions24h)} tx`},a.chain))})}const v=e({...m,component:h});export{v as chainActivityFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as m,j as t}from"./react-qoZPGuNy.js";import{d as l}from"./format-DxkEZcwQ.js";import{f as h,cd as n,c7 as f}from"./index-CiYWppnQ.js";import{F as e}from"./ui-Bq3RQsdJ.js";import{B as p}from"./bar-chart-DmyKFv_O.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";n.schema;function x({config:r}){const{chains:s,isLoading:o}=f(),i=m.useMemo(()=>[...s].sort((a,c)=>c.transactions24h-a.transactions24h).slice(0,r.limit).map(a=>({label:a.label,value:a.transactions24h})),[s,r.limit]);return o?t.jsx(e,{loading:!0,children:"loading chain activity…"}):i.length===0?t.jsx(e,{children:"no chain data yet"}):t.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[t.jsx(p,{data:i,orientation:"horizontal",height:Math.max(i.length*26,96),formatValue:l}),t.jsx("div",{className:"caption text-soft text-center",children:"transactions · last 24h"})]})}const A=h({...n,component:x});export{A as chainActivityBarsFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as c,j as a}from"./react-qoZPGuNy.js";import{c as s,d as m,a as h}from"./format-DxkEZcwQ.js";import{f as l,cW as o,c7 as p}from"./index-CiYWppnQ.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{S as f}from"./scatter-chart-B28DJ7P-.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;function x(g){const{chains:e,isLoading:n}=p(),r=c.useMemo(()=>e.filter(t=>t.transactions24h>0).map(t=>({id:t.chain,label:t.label,x:t.priceChangePct24h,y:t.transactions24h,weight:t.mempoolTxns,color:s(t.priceChangePct24h)})),[e]);return n?a.jsx(i,{loading:!0,children:"loading chain activity…"}):r.length===0?a.jsx(i,{children:"no chain data yet"}):a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(f,{data:r,yScale:"log",height:210,zeroXLine:!0,formatX:h,formatY:m,maxLabels:10}),a.jsx("div",{className:"caption text-soft text-center",children:"24h price change (x) vs 24h transactions (y, log) · bubble = mempool backlog"})]})}const S=l({...o,component:x});export{S as chainActivityScatterFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as h,j as e}from"./react-qoZPGuNy.js";import{a as m,D as l,U as p}from"./format-DxkEZcwQ.js";import{f,cV as s,c7 as u}from"./index-CiYWppnQ.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{B as g}from"./bar-chart-DmyKFv_O.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function x({config:i}){const{chains:o,isLoading:c}=u(),t=h.useMemo(()=>[...o].sort((a,r)=>Math.abs(r.priceChangePct24h)-Math.abs(a.priceChangePct24h)).slice(0,i.limit).sort((a,r)=>r.priceChangePct24h-a.priceChangePct24h).map(a=>({label:a.label,value:a.priceChangePct24h})),[o,i.limit]);return c?e.jsx(n,{loading:!0,children:"loading chain movers…"}):t.length===0?e.jsx(n,{children:"no chain data yet"}):e.jsx("div",{className:"flex h-full flex-col justify-center text-normal",children:e.jsx(g,{data:t,orientation:"horizontal",color:p,negativeColor:l,height:Math.max(t.length*24,96),formatValue:m})})}const b=f({...s,component:x});export{b as chainPriceMoversFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as M,a as r,t as u}from"./d3-ibrLIlQc.js";var l=(n=>(n["30m"]="30m",n["24h"]="24h",n["3D"]="3D",n["7D"]="7D",n["1M"]="1M",n["3M"]="3M",n.YTD="YTD",n))(l||{});const e=(n,a)=>{const t=new Date(n);return a===l["24h"]?u("%H:%M")(t):u("%b %d")(t)},x=(n,a=.1)=>{const t=n.map(F=>F.value),o=M(t)||0,c=r(t)||0,D=c-o,m=c+D*a;let s=o-D*a;return o>=0&&s<0&&(s=0),[s,m]},E=["#3B82F6","#10B981","#F59E0B","#EF4444","#8B5CF6","#06B6D4","#84CC16","#F97316"];export{E as C,l as a,x as c,e as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as x,j as t}from"./react-qoZPGuNy.js";import{f as p,bZ as o,a8 as u}from"./index-CiYWppnQ.js";import{s as b}from"./ui-Bq3RQsdJ.js";o.schema;function f({config:s}){const r=u(),[i,m]=x.useState(s.checked),l=r?s.checked:i,h=a=>{const e=s.items.map((k,c)=>c===a?!l[c]:!!l[c]);r?r({checked:e}):m(e)},d=s.items.filter((a,e)=>l[e]).length,n=s.title.trim();return t.jsxs("div",{className:"flex h-full w-full flex-col",children:[t.jsxs("div",{className:"mb-1 flex shrink-0 items-baseline justify-between gap-2",children:[n&&t.jsx("div",{className:"body-sm text-strong truncate font-semibold",children:n}),t.jsxs("div",{className:"caption text-soft shrink-0 tabular-nums",children:[d,"/",s.items.length]})]}),t.jsx("div",{className:`min-h-0 flex-1 ${b}`,children:s.items.map((a,e)=>t.jsxs("button",{type:"button",onClick:()=>h(e),className:"flex w-full items-center gap-2 py-1 text-left",children:[t.jsx("span",{className:"caption flex h-4 w-4 shrink-0 items-center justify-center rounded border leading-none",style:{borderColor:l[e]?"var(--color-highlight)":"rgba(255,255,255,0.2)",background:l[e]?"var(--color-highlight)":"transparent",color:l[e]?"#0b0e14":"transparent"},children:"✓"}),t.jsx("span",{className:`body-sm ${l[e]?"text-disabled line-through":"text-normal"}`,children:a})]},e))})]})}const v=p({...o,component:f});export{v as checklistFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,j as o}from"./react-qoZPGuNy.js";import{f as R,
|
|
1
|
+
import{r as s,j as o}from"./react-qoZPGuNy.js";import{f as R,l as y}from"./index-CiYWppnQ.js";import{F as b}from"./ui-Bq3RQsdJ.js";import{u as m}from"./use-countdown-BmcF-qdL.js";y.schema;function u(e){const r={hour:"",minute:"",second:"",fractional:"",period:""};for(const n of e.formatToParts(new Date))n.type==="hour"?r.hour=n.value:n.type==="minute"?r.minute=n.value:n.type==="second"?r.second=n.value:n.type==="fractionalSecond"?r.fractional=n.value:n.type==="dayPeriod"&&(r.period=n.value);return r}function j({config:e}){const r=s.useRef(null),n=s.useRef(null),f=s.useRef(null),p=s.useRef(null),h=s.useRef(null),a=e.timezone.trim()||void 0,c=e.showSeconds||e.showMillis,t=s.useMemo(()=>{var l;try{const z=new Intl.DateTimeFormat(void 0,{timeZone:a,hour:"2-digit",minute:"2-digit",second:c?"2-digit":void 0,fractionalSecondDigits:e.showMillis?3:void 0,hour12:e.hour12}),v=e.showDate?new Intl.DateTimeFormat(void 0,{timeZone:a,weekday:"short",month:"short",day:"numeric"}):null;let x="";return e.showTimezone&&(x=((l=new Intl.DateTimeFormat(void 0,{timeZone:a,hour:"2-digit",timeZoneName:"short"}).formatToParts(new Date).find(D=>D.type==="timeZoneName"))==null?void 0:l.value)??""),{time:z,date:v,zone:x,error:null}}catch{return{time:null,date:null,zone:"",error:a??"invalid timezone"}}},[a,c,e.showMillis,e.hour12,e.showDate,e.showTimezone]);if(m({ref:r,getRemainingMs:()=>Date.now(),format:()=>{if(!t.time)return"";const l=u(t.time);return`${l.hour}:${l.minute}`}}),m({ref:n,getRemainingMs:()=>Date.now(),format:()=>t.time?`:${u(t.time).second}`:""}),m({ref:f,getRemainingMs:()=>Date.now(),format:()=>t.time?`.${u(t.time).fractional}`:""}),m({ref:p,getRemainingMs:()=>Date.now(),format:()=>t.time?u(t.time).period:""}),m({ref:h,getRemainingMs:()=>Date.now(),format:()=>t.date?t.date.format(new Date):""}),t.error)return o.jsxs(b,{children:["unknown timezone: ",t.error]});const i=u(t.time),d="var(--color-highlight)",w="0 0 18px hsl(var(--zf-accent-hue, 242) 92% 70% / 0.45)";return o.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2 text-center [container-type:size]",children:[o.jsxs("div",{className:"text-strong inline-flex max-w-full items-baseline justify-center whitespace-nowrap font-dmsans font-extrabold leading-none tracking-[-0.01em] tabular-nums",style:{fontSize:"clamp(1.6rem, 37cqmin, 5.5rem)"},children:[o.jsx("span",{ref:r,suppressHydrationWarning:!0,children:`${i.hour}:${i.minute}`}),c&&o.jsx("span",{ref:n,suppressHydrationWarning:!0,className:"font-bold",style:{fontSize:"0.46em",color:d,textShadow:w},children:`:${i.second}`}),e.showMillis&&o.jsx("span",{ref:f,suppressHydrationWarning:!0,className:"font-semibold",style:{fontSize:"0.3em",color:d,opacity:.65},children:`.${i.fractional}`}),e.hour12&&o.jsx("span",{ref:p,suppressHydrationWarning:!0,className:"text-soft ml-[0.3em] self-center font-semibold uppercase",style:{fontSize:"0.3em",letterSpacing:"0.08em"},children:i.period})]}),e.showDate&&t.date&&o.jsx("div",{ref:h,suppressHydrationWarning:!0,className:"caption text-soft tabular-nums",children:t.date.format(new Date)}),(e.label||t.zone)&&o.jsxs("div",{className:"caption text-soft inline-flex items-center gap-1.5 uppercase tracking-[0.18em]",children:[o.jsx("span",{"aria-hidden":!0,className:"inline-block h-1 w-1 rounded-full",style:{background:d,boxShadow:w}}),e.label&&t.zone?`${e.label} · ${t.zone}`:e.label||t.zone]})]})}const k=R({...y,component:j});export{k as clockFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as f,j as o}from"./react-qoZPGuNy.js";import{a as p}from"./format-DxkEZcwQ.js";import{f as d,cF as l,bg as h}from"./index-CiYWppnQ.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{H as x}from"./index-D051JGM1.js";import"./utils-DxneYyA_.js";l.schema;const b=["1h","24h","7d","30d"];function g({data:n,width:r}){return r<44?null:o.jsx("div",{className:"flex h-full w-full items-center justify-center",children:o.jsx("span",{className:"caption text-normal tabular-nums",children:p(n.value)})})}function j({config:n}){const{entries:r,isLoading:c}=h(),a=f.useMemo(()=>{const u=[...r].sort((t,e)=>t.rank-e.rank).slice(0,n.limit),m=[];for(const t of u)for(const e of b){const s=t.changePct[e];Number.isFinite(s)&&m.push({id:`${t.symbol}-${e}`,row:t.symbol,column:e,value:s})}return m},[r,n.limit]);return c?o.jsx(i,{loading:!0,children:"loading momentum…"}):a.length===0?o.jsx(i,{children:"no momentum data yet"}):o.jsx(x,{data:a,CellComponent:g,gap:3,showLabels:!0,rowLabelWidth:48,columnLabelHeight:20})}const y=d({...l,component:j});export{y as coinMomentumHeatmapFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as l,j as e}from"./react-qoZPGuNy.js";import{c as h,a as n}from"./format-DxkEZcwQ.js";import{f as u,cG as s,bg as d}from"./index-CiYWppnQ.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{S as f}from"./scatter-chart-B28DJ7P-.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function g({config:r}){const{entries:o,isLoading:i}=d(),a=l.useMemo(()=>o.filter(t=>Number.isFinite(t.changePct["24h"])&&Number.isFinite(t.changePct["7d"])&&t.marketCapUsd>0).sort((t,c)=>t.rank-c.rank).slice(0,r.limit).map(t=>({id:t.symbol,label:t.symbol,x:t.changePct["24h"],y:t.changePct["7d"],weight:t.marketCapUsd,color:h(t.changePct["24h"])})),[o,r.limit]);return i?e.jsx(m,{loading:!0,children:"loading momentum…"}):a.length===0?e.jsx(m,{children:"no momentum data yet"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(f,{data:a,height:210,zeroXLine:!0,formatX:n,formatY:n,maxLabels:10}),e.jsxs("div",{className:"caption text-soft text-center",children:["24h change (x) vs 7d change (y) · top ",a.length]})]})}const M=u({...s,component:g});export{M as coinMomentumScatterFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p,j as r}from"./react-qoZPGuNy.js";import{M as l}from"./mover-row-
|
|
1
|
+
import{r as p,j as r}from"./react-qoZPGuNy.js";import{M as l}from"./mover-row-9TS6-Vx5.js";import{f as h,bf as t,bg as x}from"./index-CiYWppnQ.js";import{F as n}from"./ui-Bq3RQsdJ.js";import"./format-DxkEZcwQ.js";t.schema;function u({config:e}){const{entries:o,isLoading:c}=x(),{gainers:i,losers:m}=p.useMemo(()=>{const s=o.filter(a=>a.rank<=e.minRank&&a.volume24hUsd>0).map(a=>({symbol:a.symbol,price:a.priceUsd,chg:a.changePct[e.window]??0})).sort((a,d)=>d.chg-a.chg);return{gainers:s.slice(0,e.count),losers:s.slice(-e.count).reverse()}},[o,e.window,e.count,e.minRank]);return c?r.jsx(n,{loading:!0,children:"loading movers…"}):i.length===0?r.jsx(n,{children:"no mover data yet"}):r.jsxs("div",{className:"grid h-full grid-cols-2 gap-x-4 overflow-hidden",children:[r.jsxs("div",{className:"flex flex-col gap-1.5",children:[r.jsxs("div",{className:"caption text-soft uppercase tracking-wide",children:["gainers · ",e.window]}),i.map(s=>r.jsx(l,{symbol:s.symbol,label:s.symbol,price:s.price,changePct:s.chg},s.symbol))]}),r.jsxs("div",{className:"flex flex-col gap-1.5",children:[r.jsxs("div",{className:"caption text-soft uppercase tracking-wide",children:["losers · ",e.window]}),m.map(s=>r.jsx(l,{symbol:s.symbol,label:s.symbol,price:s.price,changePct:s.chg},s.symbol))]})]})}const y=h({...t,component:u});export{y as coinMoversFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,j as t}from"./react-qoZPGuNy.js";import{f as z,
|
|
1
|
+
import{r,j as t}from"./react-qoZPGuNy.js";import{f as z,aO as F}from"./index-CiYWppnQ.js";import{F as S}from"./ui-Bq3RQsdJ.js";import{u as g}from"./use-countdown-BmcF-qdL.js";F.schema;const v=864e5,b=36e5,D=6e4;function f(n){let s=Math.max(0,n);const l=Math.floor(s/v);s-=l*v;const m=Math.floor(s/b);s-=m*b;const u=Math.floor(s/D);s-=u*D;const o=Math.floor(s/1e3);return{days:l,hours:m,minutes:u,seconds:o}}const y="var(--color-highlight)",N="0 0 18px hsl(var(--zf-accent-hue, 242) 92% 70% / 0.45)",c=n=>String(n).padStart(2,"0");function T({config:n}){const s=r.useRef(null),l=r.useRef(null),m=r.useRef(null),u=r.useRef(null),o=n.target.trim(),a=r.useMemo(()=>{if(!o)return null;const e=new Date(o).getTime();return Number.isFinite(e)?e:NaN},[o]),i=a!=null&&!Number.isNaN(a),[p,x]=r.useState(i&&a<=Date.now());r.useEffect(()=>{if(!i)return;const e=a-Date.now();if(e<=0){x(!0);return}x(!1);const w=window.setTimeout(()=>x(!0),e);return()=>window.clearTimeout(w)},[i,a]);const d=()=>i?a-Date.now():0;g({ref:s,getRemainingMs:d,format:e=>String(f(e).days)}),g({ref:l,getRemainingMs:d,format:e=>c(f(e).hours)}),g({ref:m,getRemainingMs:d,format:e=>c(f(e).minutes)}),g({ref:u,getRemainingMs:d,format:e=>c(f(e).seconds)});const R=r.useMemo(()=>i?new Intl.DateTimeFormat(void 0,{dateStyle:"medium",timeStyle:"short"}).format(new Date(a)):"",[i,a]);if(!o)return t.jsx(S,{children:"set a target date & time"});if(!i)return t.jsxs(S,{children:["invalid target date: ",o]});const h=f(d()),k=[[s,String(h.days),"days"],[l,c(h.hours),"hrs"],[m,c(h.minutes),"min"],[u,c(h.seconds),"sec"]];return t.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-2 text-center [container-type:size]",children:[n.label&&t.jsxs("div",{className:"caption text-soft inline-flex items-center gap-1.5 uppercase tracking-[0.18em]",children:[t.jsx("span",{"aria-hidden":!0,className:"inline-block h-1 w-1 rounded-full",style:{background:y,boxShadow:N}}),n.label]}),t.jsx("div",{className:"flex items-start justify-center gap-[0.5em] leading-none tabular-nums",style:{fontSize:"clamp(0.9rem, 20cqmin, 2.8rem)"},children:k.map(([e,w,j],M)=>t.jsxs("div",{className:"flex flex-col items-center gap-[0.25em]",children:[t.jsx("span",{ref:e,suppressHydrationWarning:!0,className:"text-strong font-dmsans font-extrabold tracking-[-0.01em]",style:{fontSize:"1em",color:M===3&&!p?y:void 0,textShadow:M===3&&!p?N:void 0},children:w}),t.jsx("span",{className:"text-soft uppercase tracking-[0.12em]",style:{fontSize:"0.26em"},children:j})]},j))}),p?t.jsx("div",{className:"caption font-semibold uppercase tracking-[0.2em]",style:{color:y,textShadow:N},children:"reached"}):n.showTarget&&R&&t.jsx("div",{className:"caption text-soft tabular-nums",children:R})]})}const O=z({...F,component:T});export{O as countdownFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{j as t,r as m}from"./react-qoZPGuNy.js";import{f as C,m as y,n as S,o as E,q as j,r as w,v as R,M as O}from"./index-CiYWppnQ.js";import{d as z}from"./format-DxkEZcwQ.js";import{M as B}from"./metric-row-BVVhjsjK.js";import{F as f,s as D}from"./ui-Bq3RQsdJ.js";import{M as b}from"./mini-line-chart-DyG55cVW.js";import{B as L}from"./bar-chart-DmyKFv_O.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";y.schema;async function F(e){const r=R(e);if(r)throw new Error(r);const a=await fetch(e,{credentials:"omit",referrerPolicy:"no-referrer",cache:"no-store",signal:AbortSignal.timeout(1e4)});if(!a.ok)throw new Error(`HTTP ${a.status}`);const c=await a.text();if(c.length>O)throw new Error("response too large");return JSON.parse(c)}function I(e){const[r,a]=m.useState(void 0),[c,u]=m.useState(null),[l,o]=m.useState(!1);return m.useEffect(()=>{let s=!1;o(!1),u(null);const i=()=>{F(e.url).then(h=>{s||(a(h),u(null),o(!0))}).catch(h=>{s||(u(h instanceof Error?h.message:"fetch failed"),o(!0))})};i();const n=window.setInterval(i,e.refreshMinutes*6e4);return()=>{s=!0,window.clearInterval(n)}},[e.url,e.refreshMinutes]),{extracted:m.useMemo(()=>{if(r===void 0)return null;try{const s=j(r,e.values),i=s===void 0?[]:w(s);let n=[];return e.labels&&(n=w(j(r,e.labels)).map(h=>S(String(h)))),{cells:i,labels:n}}catch(s){return{pathError:s instanceof Error?s.message:"bad path"}}},[r,e.values,e.labels]),error:c,loaded:l}}function x(e,r){if(typeof e!="number")return String(e);const a=Math.abs(e)>=1e4?z(e):Number.isInteger(e)?String(e):e.toFixed(2);return r?`${a}${r}`:a}function g(e){return e.map((r,a)=>({date:new Date(a*6e4).toISOString(),value:r}))}function v(e){try{return new URL(e).hostname}catch{return""}}function A(){const[e,r]=m.useState(null),[a,c]=m.useState(null);return m.useEffect(()=>{if(!e)return;const u=()=>{const o=e.getBoundingClientRect();c(d=>{const s={w:Math.round(o.width),h:Math.round(o.height)};return d&&d.w===s.w&&d.h===s.h?d:s})};u();const l=typeof ResizeObserver<"u"?new ResizeObserver(u):null;return l==null||l.observe(e),()=>l==null?void 0:l.disconnect()},[e]),{ref:r,size:a}}const M="var(--color-highlight, #8b8bff)";function N({numbers:e,unit:r}){if(e.length<2)return null;const a=Math.max(...e),c=Math.min(...e);return t.jsxs("span",{className:"caption text-soft shrink-0 tabular-nums",children:["H ",x(a,r)," · L ",x(c,r)]})}function p({config:e}){const r=v(e.url);return t.jsxs("div",{className:"caption text-soft flex items-baseline justify-between gap-2",children:[t.jsx("span",{className:"truncate",children:e.label||r}),e.label&&r&&t.jsx("span",{className:"truncate opacity-70",children:r})]})}function $({config:e}){const{extracted:r,error:a,loaded:c}=I(e),{ref:u,size:l}=A();if(!c&&r===null)return t.jsxs(f,{loading:!0,children:["fetching ",v(e.url),"…"]});if(a)return t.jsxs(f,{children:["fetch failed — ",S(a)]});if(r===null||"pathError"in r)return t.jsxs(f,{children:["path error —"," ",r&&"pathError"in r?r.pathError:"no data"]});const{cells:o,labels:d}=r;if(o.length===0)return t.jsx(f,{children:"path matched nothing in the response"});const s=E(o);if(e.display==="stat"){const i=o[o.length-1],n=g(s);return t.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-2",children:[t.jsx(p,{config:e}),t.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[t.jsx("div",{className:"metric-xl text-strong leading-none",children:x(i,e.unit)}),t.jsx(N,{numbers:s,unit:e.unit})]}),n.length>1&&t.jsx("div",{ref:u,className:"min-h-[36px] w-full",children:l&&t.jsx(b,{data:n,width:l.w,height:44,color:M})})]})}if(e.display==="line"){if(s.length<2)return t.jsx(f,{children:"need a numeric series for a line chart"});const i=g(s),n=s[s.length-1];return 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:"metric-lg text-strong leading-none",children:x(n,e.unit)}),t.jsx(N,{numbers:s,unit:e.unit})]}),t.jsx("div",{ref:u,className:"min-h-0 w-full flex-1",children:l&&t.jsx(b,{data:i,width:l.w,height:Math.max(l.h,48),color:M})}),t.jsx(p,{config:e})]})}if(e.display==="bars"){if(s.length===0)return t.jsx(f,{children:"need numeric values for a bar chart"});const i=s.map((n,h)=>({label:d[h]??String(h+1),value:n}));return t.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-1",children:[t.jsx(L,{data:i.slice(0,40),orientation:i.length>12?"vertical":"horizontal",height:Math.max(Math.min(i.length,12)*24,96),formatValue:n=>x(n,e.unit)}),t.jsx(p,{config:e})]})}return t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-1",children:[t.jsx(p,{config:e}),t.jsx("div",{className:D,children:o.map((i,n)=>t.jsx(B,{label:d[n]??`#${n+1}`,value:x(i,e.unit)},n))})]})}const X=C({...y,component:$});export{X as customDataFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{a as i}from"./indicators-
|
|
1
|
+
import{j as s}from"./react-qoZPGuNy.js";import{a as i}from"./indicators-Cw7CVPn4.js";import{M as f}from"./mini-line-chart-DyG55cVW.js";const x="#cbd5e1",u="#f5a524";function h({caption:e,headline:n,headlineColor:a,zone:o,sub:t,sparkline:r,sparkColor:l}){const c=i(r);return s.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-2",children:[s.jsx("div",{className:"caption text-soft",children:e}),s.jsx("div",{className:"metric-xl leading-none",style:{color:a,textShadow:`0 0 24px ${a}44`},children:n}),s.jsxs("div",{className:"flex items-center gap-2",children:[s.jsx("span",{className:"caption rounded-full px-2 py-0.5 font-semibold",style:{color:o.color,background:`${o.color}1f`},children:o.label}),t!=null&&s.jsx("span",{className:"caption text-soft truncate",children:t})]}),c.length>1&&s.jsx(f,{data:c,width:280,height:44,color:l,className:"w-full"})]})}function N(e,n,a){for(const o of n){const t=o.upTo===void 0||e<o.upTo,r=o.from===void 0||e>=o.from;if(t&&r)return o.zone}return a}export{h as M,x as Z,u as a,N as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as T,j as e}from"./react-qoZPGuNy.js";import{D as _,U as $}from"./format-
|
|
1
|
+
import{r as T,j as e}from"./react-qoZPGuNy.js";import{D as _,U as $}from"./format-DxkEZcwQ.js";import{Z as A}from"./cycle-shared-XoGVsOjC.js";import{s as g,r as B,e as H}from"./indicators-Cw7CVPn4.js";import{f as W,bv as E,bi as q,bl as z,bo as G}from"./index-CiYWppnQ.js";import{M as J}from"./metric-row-BVVhjsjK.js";import{F,s as K}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";E.schema;function p(f){for(let i=f.length-1;i>=0;i--)if(f[i]!==null)return f[i];return null}function Q({config:f}){const{valuation:i,isLoading:U}=q(),{extras:d}=z(),{history:N,isLoading:Z}=G("btc"),h=f.mode==="peak",y=T.useMemo(()=>{if(!i)return[];const l=N.map(t=>t.value),b=l.at(-1)??null,L=p(g(l,200)),o=b!==null&&L?b/L:null,a=p(B(l,14)),S=p(g(l,111)),V=p(g(l,350)),M=S!==null&&V?S/(2*V):null,I=H(l,150).at(-1)??null,O=p(g(l,471)),j=I!==null&&O?I/O:null,r=(d==null?void 0:d.puell)??null,{mvrv:c,mvrvZScore:m,nupl:u}=i,n=(t,x,D,k,w)=>({name:t,value:x,display:D,threshold:k,fired:x!==null&&w}),P=t=>t!==null?`${(t*100).toFixed(0)}%`:"—",s=(t,x=2)=>t!==null?t.toFixed(x):"—";return h?[n("MVRV",c,s(c),"≥ 3",(c??0)>=3),n("MVRV Z-Score",m,s(m),"≥ 7",(m??0)>=7),n("NUPL",u,P(u),"≥ 75%",(u??0)>=.75),n("Mayer Multiple",o,s(o),"≥ 2.4",(o??0)>=2.4),n("Puell Multiple",r,s(r),"≥ 4",(r??0)>=4),n("RSI (14)",a,s(a,0),"≥ 80",(a??0)>=80),n("Pi Cycle Top",M,s(M),"≥ 1",(M??0)>=1)]:[n("MVRV",c,s(c),"≤ 1",(c??1/0)<=1),n("MVRV Z-Score",m,s(m),"≤ 0",(m??1/0)<=0),n("NUPL",u,P(u),"≤ 0%",(u??1/0)<=0),n("Mayer Multiple",o,s(o),"≤ 0.8",(o??1/0)<=.8),n("Puell Multiple",r,s(r),"≤ 0.5",(r??1/0)<=.5),n("RSI (14)",a,s(a,0),"≤ 30",(a??1/0)<=30),n("Pi Cycle Bottom",j,s(j),"≥ 0.745",(j??0)>=.745)]},[i,d,N,h]);if((U||Z)&&y.length===0)return e.jsx(F,{loading:!0,children:"loading cycle signals…"});if(y.length===0)return e.jsx(F,{children:"no on-chain data yet"});const v=y.filter(l=>l.value!==null),R=v.filter(l=>l.fired).length,C=h?_:$;return e.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[e.jsxs("div",{className:"flex items-baseline justify-between",children:[e.jsx("span",{className:"caption text-soft",children:h?"Cycle-top signals":"Cycle-bottom signals"}),e.jsxs("span",{className:"metric-md",style:{color:R>0?C:A},children:[R,e.jsxs("span",{className:"text-soft",children:["/",v.length]})]})]}),e.jsx("div",{className:`${K} flex flex-col`,children:y.map(l=>e.jsx(J,{label:l.name,meta:`fires ${l.threshold}`,value:e.jsxs("span",{style:{color:l.fired?C:void 0},children:[l.fired?"● ":"",l.display]})},l.name))})]})}const rl=W({...E,component:Q});export{rl as cycleSignalsFrame};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as y,j as s}from"./react-qoZPGuNy.js";import{b as v}from"./format-DxkEZcwQ.js";import{w as C,r as S,a as g,n as L,t as V}from"./indicators-Cw7CVPn4.js";import{f as w,d6 as p,bi as x,bo as M}from"./index-CiYWppnQ.js";import{F as u}from"./ui-Bq3RQsdJ.js";import{C as n,a as R}from"./chart-utils-DGogNvJT.js";import{M as j}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";p.schema;function b({config:m}){const{valuation:t,isLoading:d}=x(),{history:r,isLoading:f}=M("btc"),e=y.useMemo(()=>{if(!t)return[];const a=C(m.window),i=o=>g(L(V(o,a))),h=S(r.map(o=>o.value),14),l=[];for(let o=0;o<r.length;o++){const c=h[o];c!==null&&l.push({time:r[o].time,value:c})}return[{id:"mvrv-zscore",name:"MVRV Z-Score",color:n[0],data:i(t.history.mvrvZScore)},{id:"nupl",name:"NUPL",color:n[1],data:i(t.history.nupl)},{id:"rsi14",name:"RSI (14)",color:n[2],data:i(l)}]},[t,r,m.window]);return(d||f)&&e.length===0?s.jsx(u,{loading:!0,children:"loading cycle composite…"}):e.every(a=>a.data.length===0)?s.jsx(u,{children:"no on-chain data yet"}):s.jsx(j,{series:e,timeframe:R.YTD,height:260,formatValue:a=>v(a*100,0)})}const P=w({...p,component:b});export{P as cycleValuationCompositeFrame};
|