zframes 0.7.0 → 0.8.1
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 +1787 -217
- package/package.json +6 -6
- package/runtime/assets/bar-chart-DCMbxUJx.js +1 -0
- package/runtime/assets/{bitcoin-dominance-rskkp4h2.js → bitcoin-dominance-BqoH90r5.js} +1 -1
- package/runtime/assets/{breakeven-DyCA3ya5.js → breakeven-1Kr-v9pE.js} +1 -1
- package/runtime/assets/{breathing-C8Y-Izs8.js → breathing-NOTeAM6N.js} +1 -1
- package/runtime/assets/btc-block-size-bars-BgwX4eu_.js +1 -0
- package/runtime/assets/{btc-blocks-BxS4aEAB.js → btc-blocks-D6TscPNp.js} +1 -1
- package/runtime/assets/{btc-difficulty-CNFxEiPh.js → btc-difficulty-BhSve3vk.js} +1 -1
- package/runtime/assets/btc-difficulty-chart-Yqxof0b6.js +1 -0
- package/runtime/assets/{btc-fees-Db-5JKh9.js → btc-fees-C-Za_OxK.js} +1 -1
- package/runtime/assets/btc-hashrate-5xnTYpft.js +1 -0
- package/runtime/assets/{btc-mempool-DFgUVk8y.js → btc-mempool-0WFrtuQR.js} +1 -1
- package/runtime/assets/{btc-shared-DeqDaCze.js → btc-shared-yOWoU9Im.js} +1 -1
- package/runtime/assets/bubbles-shared-DlmjtiIA.js +1 -0
- package/runtime/assets/{calculator-v01_FkZv.js → calculator-CcLe2vqJ.js} +1 -1
- package/runtime/assets/capital-structure-bars-SEyFIReK.js +1 -0
- package/runtime/assets/{chain-activity-CuA1eiPY.js → chain-activity-CCO3t0hA.js} +1 -1
- package/runtime/assets/chain-activity-bars-DHYCDKWT.js +1 -0
- package/runtime/assets/chain-activity-scatter-DeusbLku.js +1 -0
- package/runtime/assets/chain-price-movers-SeTwhqsM.js +1 -0
- package/runtime/assets/chart-utils-DGogNvJT.js +1 -0
- package/runtime/assets/checklist-orMUS_qt.js +1 -0
- package/runtime/assets/{clock-BWFux5om.js → clock-9PqJvMgi.js} +1 -1
- package/runtime/assets/coin-momentum-heatmap-DvfWWzSD.js +1 -0
- package/runtime/assets/coin-momentum-scatter-Cf4Y29lp.js +1 -0
- package/runtime/assets/{coin-movers-BcXfoFc6.js → coin-movers-D3cmI-tT.js} +1 -1
- package/runtime/assets/{countdown-CXSOeUWD.js → countdown-tMz3FsXT.js} +1 -1
- package/runtime/assets/custom-data-DPPNQ2QQ.js +1 -0
- package/runtime/assets/{cycle-shared-pyXzkgt1.js → cycle-shared-XoGVsOjC.js} +1 -1
- package/runtime/assets/{cycle-signals-BrKJX2c6.js → cycle-signals-DJYUIjas.js} +1 -1
- package/runtime/assets/cycle-valuation-composite-DO_Pda0n.js +1 -0
- package/runtime/assets/d3-ibrLIlQc.js +1 -0
- package/runtime/assets/{daily-analysis-CWluVygw.js → daily-analysis-BVEvATPa.js} +1 -1
- package/runtime/assets/{day-meter-Bi5OZCC4.js → day-meter-DmbSq9YK.js} +1 -1
- package/runtime/assets/{defi-revenue-CFNSNfG7.js → defi-revenue-DPazGCl4.js} +1 -1
- package/runtime/assets/dex-hot-pools-BeuuV2Cj.js +1 -0
- package/runtime/assets/dex-pool-bubbles-BLUbqZ4v.js +1 -0
- package/runtime/assets/dex-pool-liquidity-scatter-Civ63yej.js +1 -0
- package/runtime/assets/{dex-pool-treemap-DqvlN1Jo.js → dex-pool-treemap-ecoWHB8O.js} +1 -1
- package/runtime/assets/dex-volume-bubbles-CX9SfXmZ.js +1 -0
- package/runtime/assets/dex-volume-chart-Bgdepem0.js +1 -0
- package/runtime/assets/dex-volume-share-area-uDfe8wQZ.js +1 -0
- package/runtime/assets/{dex-volume-treemap-qyEBx4ll.js → dex-volume-treemap-BlrxYmk-.js} +1 -1
- package/runtime/assets/{dice-CuzcQipj.js → dice-BOUHMLs6.js} +1 -1
- package/runtime/assets/dino-game-BBIAIplk.js +1 -0
- package/runtime/assets/divider-B-nMbdhH.js +1 -0
- package/runtime/assets/dominance-bars-BjKMZR8V.js +1 -0
- package/runtime/assets/dominance-gauge-DVITO-Eg.js +1 -0
- package/runtime/assets/{drawdy-Bxr7eJ-7.js → drawdy-gpdcuxey.js} +1 -1
- package/runtime/assets/{dxy-CVbZmRsT.js → dxy-DfHaYZsj.js} +1 -1
- package/runtime/assets/dxy-chart-CidtFThk.js +1 -0
- package/runtime/assets/editor-C9dj6xX0.css +1 -0
- package/runtime/assets/editor-yifYG0tI.js +68 -0
- package/runtime/assets/etf-flow-bars-NYq3d_-U.js +1 -0
- package/runtime/assets/etf-flow-calendar-BI18BrWM.js +1 -0
- package/runtime/assets/{etf-flows-chart-B4Im9TVy.js → etf-flows-chart-BzKKqHh4.js} +1 -1
- package/runtime/assets/{etf-flows-Cl1WliDl.js → etf-flows-cufmZrd_.js} +1 -1
- package/runtime/assets/etf-issuer-bars-Dl9H_CZC.js +1 -0
- package/runtime/assets/etf-issuer-treemap-IhYjIP-y.js +1 -0
- package/runtime/assets/eth-issuance-impact-BLHuDvGQ.js +1 -0
- package/runtime/assets/{eth-staking-_q2b8DEx.js → eth-staking-CzidwFMK.js} +1 -1
- package/runtime/assets/{eth-supply-55OpYYBL.js → eth-supply-C7KDK-97.js} +1 -1
- package/runtime/assets/{fear-greed-CywOCckQ.js → fear-greed-DTLHRhif.js} +1 -1
- package/runtime/assets/fear-greed-chart-N1vM_QJ7.js +1 -0
- package/runtime/assets/{filings-feed-CosEi4NL.js → filings-feed-Dpz6nWMU.js} +1 -1
- package/runtime/assets/filings-mix-7ykY8NsE.js +1 -0
- package/runtime/assets/{financial-stress-DBCae4TA.js → financial-stress-BcnDhPO4.js} +1 -1
- package/runtime/assets/{flappy-bird-CBVgwfgX.js → flappy-bird-Vp7j7ceN.js} +1 -1
- package/runtime/assets/format-DxkEZcwQ.js +1 -0
- package/runtime/assets/fundamentals-BIesVoJt.js +1 -0
- package/runtime/assets/funding-bars-BNVCUVqC.js +1 -0
- package/runtime/assets/funding-carry-area-BqCrQOi5.js +1 -0
- package/runtime/assets/funding-comparison-BynnnDDf.js +1 -0
- package/runtime/assets/funding-crowding-scatter-BTzQUtFn.js +1 -0
- package/runtime/assets/funding-heatmap-DUOcDAeX.js +1 -0
- package/runtime/assets/funding-leaderboard-bars-CpYvO_Cs.js +1 -0
- package/runtime/assets/{funding-rate-chart-Da9WMKyJ.js → funding-rate-chart-CANXPS3a.js} +1 -1
- package/runtime/assets/funding-spread-bars-BgA-vSh-.js +1 -0
- package/runtime/assets/funding-venue-heatmap-jKiQGgLb.js +1 -0
- package/runtime/assets/{fx-board-CxhwDBHO.js → fx-board-CTnlbWGJ.js} +1 -1
- package/runtime/assets/fx-cross-heatmap-CDORG9Cx.js +1 -0
- package/runtime/assets/fx-movers-bars-WKvSm3Ry.js +1 -0
- package/runtime/assets/fx-trend-chart-uITTwyv8.js +1 -0
- package/runtime/assets/{game-ui-Dy_QYsPr.js → game-ui-BiMS2KJf.js} +1 -1
- package/runtime/assets/heading-Cidi7R-_.js +1 -0
- package/runtime/assets/hero-number-p8eaQmkA.js +1 -0
- package/runtime/assets/{holiday-calendar-C77t3m6c.js → holiday-calendar-ErapPWhY.js} +1 -1
- package/runtime/assets/image-BQQ0gSaW.js +1 -0
- package/runtime/assets/image-gallery-CNa-8BAA.js +1 -0
- package/runtime/assets/index-BHlJHScr.js +1108 -0
- package/runtime/assets/{index-DKixdHYB.js → index-BpPIfN5S.js} +1 -1
- package/runtime/assets/index-Bw1aFtyx.js +1 -0
- package/runtime/assets/index-DuNO-RcB.js +1 -0
- package/runtime/assets/index-yv-SCb9g.css +1 -0
- package/runtime/assets/indicators-Cw7CVPn4.js +1 -0
- package/runtime/assets/inflation-pulse-B54HwpAO.js +1 -0
- package/runtime/assets/{journal-log-BDu39CBE.js → journal-log-0CruSC_H.js} +1 -1
- package/runtime/assets/{journal-open-FejLOzlA.js → journal-open-DIwxMMCH.js} +1 -1
- package/runtime/assets/{journal-results-CtKy6MZM.js → journal-results-BM_i_JJ3.js} +1 -1
- package/runtime/assets/{journal-score-Bd7IDYl4.js → journal-score-He6DdYtU.js} +1 -1
- package/runtime/assets/{journal-store-KCRoPnI_.js → journal-store-DVDSxNMj.js} +1 -1
- package/runtime/assets/{journal-ui-C_htu3aM.js → journal-ui-CP9YblNJ.js} +1 -1
- package/runtime/assets/labor-force-flow-8HLQsbKV.js +1 -0
- package/runtime/assets/labor-market-If23zBQK.js +1 -0
- package/runtime/assets/{lightning-stats-botYMCIX.js → lightning-stats-DhrfBtX6.js} +1 -1
- package/runtime/assets/{link-grid-DFuD6XVK.js → link-grid-CsnxpE4z.js} +1 -1
- package/runtime/assets/liquidity-basis-bars-CaU5YtBA.js +1 -0
- package/runtime/assets/{ma-multiplier-s6ix-kL8.js → ma-multiplier-BBN7qsdV.js} +1 -1
- package/runtime/assets/{macro-calendar-Dhnx2n5Q.js → macro-calendar-cKBRneX9.js} +1 -1
- package/runtime/assets/market-bubbles-BKNkvOTg.js +1 -0
- package/runtime/assets/{market-cap-treemap-BWtivvac.js → market-cap-treemap-BSBU8mjq.js} +1 -1
- package/runtime/assets/market-hours-B10lWec_.js +1 -0
- package/runtime/assets/market-scatter-CVUa4ZQ_.js +1 -0
- package/runtime/assets/{marquee-NHBiLJUk.js → marquee-BS_quB4S.js} +1 -1
- package/runtime/assets/mayer-multiple-iiKonfXX.js +1 -0
- package/runtime/assets/mempool-fee-curve-CQ4nzab8.js +1 -0
- package/runtime/assets/{mini-line-chart-QWeuTPfP.js → mini-line-chart-DyG55cVW.js} +1 -1
- package/runtime/assets/{mining-pools-BxipfJmv.js → mining-pools-DROnvkZS.js} +1 -1
- package/runtime/assets/mining-pools-share-BhHh0hUJ.js +1 -0
- package/runtime/assets/misery-index-DpG7yLgX.js +1 -0
- package/runtime/assets/mover-row-Bz-YpFL3.js +1 -0
- package/runtime/assets/movers-bars-CEFjsHnv.js +1 -0
- package/runtime/assets/movers-bubbles-C-SriZvR.js +1 -0
- package/runtime/assets/{mvrv-BIwCiyRN.js → mvrv-Cg0t6U5X.js} +1 -1
- package/runtime/assets/mvrv-zscore-chart-qyOkheJb.js +1 -0
- package/runtime/assets/national-debt-BRX09_U_.js +1 -0
- package/runtime/assets/news-feed-DQHSPzk5.js +1 -0
- package/runtime/assets/nft-activity-bars-BmNs4RMC.js +1 -0
- package/runtime/assets/nft-bubbles-0f9wAld0.js +1 -0
- package/runtime/assets/{nft-collections-sD-yDfKU.js → nft-collections-Czp0t7ZU.js} +1 -1
- package/runtime/assets/nft-scatter-BHULn6_-.js +1 -0
- package/runtime/assets/{nft-treemap-Bqhk41Of.js → nft-treemap-D2Kj3AuL.js} +1 -1
- package/runtime/assets/note-BdVtsqXo.js +3 -0
- package/runtime/assets/{nupl-U-WHVDJ0.js → nupl-BrK2rcgi.js} +1 -1
- package/runtime/assets/nupl-cycle-chart-BlXOLj4A.js +1 -0
- package/runtime/assets/nyfed-fed-funds-band-gauge-DnzVhh9I.js +1 -0
- package/runtime/assets/nyfed-reference-rate-bars-CxLwUFUY.js +1 -0
- package/runtime/assets/nyfed-sofr-term-averages-bars-DxzLVO9o.js +1 -0
- package/runtime/assets/ofr-stress-category-area-TXpXiMP-.js +1 -0
- package/runtime/assets/ohlcv-volume-bars-BQZiJJ3u.js +1 -0
- package/runtime/assets/oi-treemap-BEusAMZU.js +1 -0
- package/runtime/assets/onchain-oscillator-overlay-BPa_jULR.js +1 -0
- package/runtime/assets/{open-interest-C0_M6MkH.js → open-interest-BqO1-ZYo.js} +1 -1
- package/runtime/assets/options-flow-skew-Cy0SUhs0.js +1 -0
- package/runtime/assets/{options-iv-CIHzBULM.js → options-iv-RsCKjmmC.js} +1 -1
- package/runtime/assets/options-max-pain-B2pA7KJP.js +1 -0
- package/runtime/assets/options-max-pain-multi-BLfX8Qe6.js +1 -0
- package/runtime/assets/options-oi-ladder-heatmap-Do8eYI3h.js +1 -0
- package/runtime/assets/options-oi-skew-D869gcp7.js +1 -0
- package/runtime/assets/{options-oi-strike-Db8lP27S.js → options-oi-strike-CKWXk22Q.js} +1 -1
- package/runtime/assets/{options-put-call-5ex7Ablt.js → options-put-call-DcSwyIIX.js} +1 -1
- package/runtime/assets/options-vol-smile-CqP0-CSw.js +1 -0
- package/runtime/assets/options-vol-spread-DMXdphxM.js +1 -0
- package/runtime/assets/payrolls-bars-15U_DxmS.js +1 -0
- package/runtime/assets/{pi-cycle-eACZGQhd.js → pi-cycle-tqHUEYSe.js} +1 -1
- package/runtime/assets/pie-chart-BIxKuHm-.js +1 -0
- package/runtime/assets/{pomodoro-CaS6y-eQ.js → pomodoro-DSswMPuv.js} +1 -1
- package/runtime/assets/portfolio-allocation-DHN6r6fl.js +1 -0
- package/runtime/assets/portfolio-common-e3o9U7qd.js +1 -0
- package/runtime/assets/{portfolio-holdings-D-SG9B5X.js → portfolio-holdings-Bf6vOm0e.js} +1 -1
- package/runtime/assets/portfolio-movers-DmaGwFtS.js +1 -0
- package/runtime/assets/{portfolio-value-DPKyirHc.js → portfolio-value-DLQHtwCl.js} +1 -1
- package/runtime/assets/portfolio-value-bars-B8XP7r22.js +1 -0
- package/runtime/assets/prediction-market-bars-Du1RxZc_.js +1 -0
- package/runtime/assets/prediction-market-scatter-bdlr6r_V.js +1 -0
- package/runtime/assets/{prediction-markets-Cnf0KZba.js → prediction-markets-DNDg43g9.js} +1 -1
- package/runtime/assets/prediction-markets-bubble-ccP01yj3.js +1 -0
- package/runtime/assets/{price-chart-BEnpZLyb.js → price-chart-Cw8OXmKH.js} +1 -1
- package/runtime/assets/{price-compare-8LvkF-xq.js → price-compare-txGWDCHD.js} +1 -1
- package/runtime/assets/{price-liveline-DkTeXuC2.js → price-liveline-F7uJKuTS.js} +1 -1
- package/runtime/assets/price-ticker-DQFyiHmW.js +1 -0
- package/runtime/assets/protocol-fees-bubbles-oV66t8AJ.js +1 -0
- package/runtime/assets/{protocol-fees-treemap-fvVOfUFt.js → protocol-fees-treemap-CsZhFjxB.js} +1 -1
- package/runtime/assets/protocol-fees-vs-tvl-scatter-CtLKoDeh.js +1 -0
- package/runtime/assets/protocol-tvl-bubbles-CuULi2KY.js +1 -0
- package/runtime/assets/protocol-tvl-by-category-BV2yIdZ_.js +1 -0
- package/runtime/assets/{protocol-tvl-chart-BfrszRqq.js → protocol-tvl-chart-BRPlR_kj.js} +1 -1
- package/runtime/assets/protocol-tvl-share-area-BeWSgocA.js +1 -0
- package/runtime/assets/{protocol-tvl-treemap-v5kaQdP4.js → protocol-tvl-treemap-BYECslhG.js} +1 -1
- package/runtime/assets/{puell-multiple-BdOLF9Wh.js → puell-multiple-akyTNZyp.js} +1 -1
- package/runtime/assets/put-call-gauge-CwrHYfdq.js +1 -0
- package/runtime/assets/{quote-slpulzHo.js → quote-6JmbHxfg.js} +1 -1
- package/runtime/assets/radial-gauge-0BzRQ6fO.js +1 -0
- package/runtime/assets/{rates-board-B6hHyiDM.js → rates-board-CiY6mWMz.js} +1 -1
- package/runtime/assets/real-wages-BTBOxvjP.js +1 -0
- package/runtime/assets/realized-price-CbjZ3Sqj.js +1 -0
- package/runtime/assets/{reserve-risk-_07r_h5w.js → reserve-risk-UlEv8oS1.js} +1 -1
- package/runtime/assets/returns-projector-qPZeZ-n9.js +1 -0
- package/runtime/assets/{risk-reward-Baq_TRho.js → risk-reward-DWcu9j4_.js} +1 -1
- package/runtime/assets/{rsi-momentum-B6oTu5W6.js → rsi-momentum-BuasFcVH.js} +1 -1
- package/runtime/assets/{rules-card-D98hKEwY.js → rules-card-DkjHPbht.js} +1 -1
- package/runtime/assets/scatter-chart-B78EA7lD.js +1 -0
- package/runtime/assets/sector-bars-JKmedArM.js +1 -0
- package/runtime/assets/sector-bubbles-DLXckuua.js +1 -0
- package/runtime/assets/{sector-performance-DlnYIM-L.js → sector-performance-C_2-xbIq.js} +1 -1
- package/runtime/assets/{sector-treemap-C3sX3Q9o.js → sector-treemap-DquBCyc3.js} +1 -1
- package/runtime/assets/sentiment-gauge-CuNvuk1q.js +1 -0
- package/runtime/assets/{session-progress-BYwNuuP-.js → session-progress-BDhJHQEn.js} +1 -1
- package/runtime/assets/{short-volume-CxBDSjP6.js → short-volume-Deb7fra_.js} +1 -1
- package/runtime/assets/short-volume-bars-DRjpg7RS.js +1 -0
- package/runtime/assets/{snake-CGV0Kg4z.js → snake-B9EEDroM.js} +1 -1
- package/runtime/assets/{sopr-DAn99w9D.js → sopr-DM_gpDem.js} +1 -1
- package/runtime/assets/{spotify-embed-BBfim9vk.js → spotify-embed-Dxt1RnUX.js} +1 -1
- package/runtime/assets/{stablecoin-chains-D4EKi_YR.js → stablecoin-chains-LzYMilQE.js} +1 -1
- package/runtime/assets/{stablecoin-supply-1m6FGR7-.js → stablecoin-supply-69kqOBoU.js} +1 -1
- package/runtime/assets/stopwatch-ClPrrveo.js +1 -0
- package/runtime/assets/{top-movers-CAqBZOUL.js → top-movers-BRiiYOPQ.js} +1 -1
- package/runtime/assets/treasury-auction-demand-scatter-yYNPz1VC.js +1 -0
- package/runtime/assets/treasury-auction-size-bars-CGD6MeAz.js +1 -0
- package/runtime/assets/{treasury-auctions-Bl19yaM_.js → treasury-auctions-Z_4MtXmL.js} +1 -1
- package/runtime/assets/treasury-avg-rate-bars-FXGz1a7e.js +1 -0
- package/runtime/assets/treasury-debt-composition-area-5yRh0K6a.js +1 -0
- package/runtime/assets/{treemap-leaf-A45Ge4-e.js → treemap-leaf-QG-L-SIG.js} +1 -1
- package/runtime/assets/trending-bars-z_cjmEXN.js +1 -0
- package/runtime/assets/trending-bubbles-nwoxKQEW.js +1 -0
- package/runtime/assets/{trending-coins-Dm9R9zGQ.js → trending-coins-9vrbEbBm.js} +1 -1
- package/runtime/assets/tvl-bars-BkJcttcu.js +1 -0
- package/runtime/assets/tvl-bubbles-D4tahOC6.js +1 -0
- package/runtime/assets/tvl-treemap-B7kWI7o0.js +1 -0
- package/runtime/assets/{video-CkvIGlHg.js → video-Dsc13Zja.js} +1 -1
- package/runtime/assets/volume-movers-scatter-BA8Wmoil.js +1 -0
- package/runtime/assets/volume-profile-DcSNvDqP.js +1 -0
- package/runtime/assets/volume-share-donut-3MenMO-V.js +1 -0
- package/runtime/assets/yield-composition-scatter-rfxC16n2.js +1 -0
- package/runtime/assets/{yield-curve-DlXQg4sl.js → yield-curve-DXsfXy4P.js} +1 -1
- package/runtime/assets/yield-momentum-bars-B9nKuItO.js +1 -0
- package/runtime/assets/yield-risk-pie-DUxkXYIQ.js +1 -0
- package/runtime/assets/yield-scanner-sCBXpQTV.js +1 -0
- package/runtime/assets/yield-scatter-BZHOhFcm.js +1 -0
- package/runtime/index.html +2 -2
- package/runtime/widget-icons/custom-data.png +0 -0
- package/runtime/assets/btc-hashrate-Dy2c30Gb.js +0 -1
- package/runtime/assets/chart-utils-Ct7WziT9.js +0 -1
- package/runtime/assets/checklist-Be_y1aTE.js +0 -1
- package/runtime/assets/d3-Dr3MHXm3.js +0 -1
- package/runtime/assets/dex-hot-pools-C4TrRB17.js +0 -1
- package/runtime/assets/dex-volume-chart-BLR-L_B0.js +0 -1
- package/runtime/assets/dino-game-CiGWzsag.js +0 -1
- package/runtime/assets/divider-DvK5oM9v.js +0 -1
- package/runtime/assets/editor-CQM8mtD8.css +0 -1
- package/runtime/assets/editor-EOEtB4_n.js +0 -68
- package/runtime/assets/format-CfAcS4D8.js +0 -1
- package/runtime/assets/fundamentals-zRwGUcmb.js +0 -1
- package/runtime/assets/funding-comparison-wCNoCb1H.js +0 -1
- package/runtime/assets/funding-heatmap-a4zdnKi9.js +0 -1
- package/runtime/assets/heading-b5H33lig.js +0 -1
- package/runtime/assets/image-C8ZSUHEx.js +0 -1
- package/runtime/assets/index-C-VdMqKb.css +0 -1
- package/runtime/assets/index-kB-TyxKi.js +0 -1073
- package/runtime/assets/indicators-CogwjDn9.js +0 -1
- package/runtime/assets/inflation-pulse-CoXcuabd.js +0 -1
- package/runtime/assets/labor-market-DR0j05Gy.js +0 -1
- package/runtime/assets/market-hours-wSrW5Elv.js +0 -1
- package/runtime/assets/mayer-multiple-CZC5q6ra.js +0 -1
- package/runtime/assets/mover-row-CUd1i2yt.js +0 -1
- package/runtime/assets/national-debt-DwC5azy3.js +0 -1
- package/runtime/assets/news-feed-BhAsJ6gt.js +0 -1
- package/runtime/assets/note-C1-RPOvR.js +0 -1
- package/runtime/assets/portfolio-allocation-NR-4wbGL.js +0 -1
- package/runtime/assets/portfolio-common-Cfpnudvk.js +0 -1
- package/runtime/assets/price-ticker-DgDJ3k4b.js +0 -1
- package/runtime/assets/realized-price-dn6bApj-.js +0 -1
- package/runtime/assets/returns-projector-NBs7iGAV.js +0 -1
- package/runtime/assets/stopwatch-CCqsSaII.js +0 -1
- package/runtime/assets/tvl-treemap-CSM9ioUr.js +0 -1
- package/runtime/assets/volume-profile-UJPTgNwV.js +0 -1
- package/runtime/assets/yield-scanner-Qm88hZuv.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function s(t,n){const e=new Array(t.length).fill(null);if(n<=0)return e;let f=0;for(let r=0;r<t.length;r++)f+=t[r],r>=n&&(f-=t[r-n]),r>=n-1&&(e[r]=f/n);return e}function o(t,n){const e=[];if(t.length===0)return e;const f=2/(n+1);let r=t[0];for(let c=0;c<t.length;c++)r=c===0?t[0]:t[c]*f+r*(1-f),e.push(r);return e}function h(t,n=14){const e=new Array(t.length).fill(null);if(t.length<=n)return e;let f=0,r=0;for(let l=1;l<=n;l++){const a=t[l]-t[l-1];a>=0?f+=a:r-=a}let c=f/n,i=r/n;e[n]=i===0?100:100-100/(1+c/i);for(let l=n+1;l<t.length;l++){const a=t[l]-t[l-1],u=a>0?a:0,g=a<0?-a:0;c=(c*(n-1)+u)/n,i=(i*(n-1)+g)/n,e[l]=i===0?100:100-100/(1+c/i)}return e}function w(t){switch(t){case"90D":return 90;case"180D":return 180;case"1Y":return 365;case"2Y":return 730;case"4Y":return 1460;default:return 1/0}}function m(t,n){return!Number.isFinite(n)||n>=t.length?t:t.slice(t.length-n)}function y(t){return t.map(n=>({date:new Date(n.time).toISOString(),value:n.value}))}export{y as a,o as e,h as r,s,m as t,w};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as f,j as t}from"./react-qoZPGuNy.js";import{a as p,c as j}from"./format-CfAcS4D8.js";import{f as w,Y as y,M}from"./index-kB-TyxKi.js";import{F as v}from"./ui-Bq3RQsdJ.js";import{M as P}from"./mini-line-chart-QWeuTPfP.js";import"./d3-Dr3MHXm3.js";import"./utils-DxneYyA_.js";y.schema;const S="CUUR0000SA0";function g(a,o){return!o||o<=0?null:(a/o-1)*100}function F({config:a}){const x=new Date().getUTCFullYear(),C=x-2,{series:e,isLoading:N}=M(S,C,x),n=f.useMemo(()=>((e==null?void 0:e.points)??[]).slice(-a.months),[a.months,e==null?void 0:e.points]),s=n.at(-1),r=n.at(-2),c=s?n.find(i=>{const h=new Date(i.time),u=new Date(s.time);return h.getUTCFullYear()===u.getUTCFullYear()-1&&h.getUTCMonth()===u.getUTCMonth()}):void 0,b=f.useMemo(()=>n.map(i=>({date:new Date(i.time).toISOString(),value:i.value})),[n]);if(N)return t.jsx(v,{loading:!0,children:"loading CPI…"});if(!e||!s)return t.jsx(v,{children:"no CPI data yet"});const l=g(s.value,r==null?void 0:r.value),d=g(s.value,c==null?void 0:c.value),m=j(d??l??0);return t.jsxs("div",{className:"flex h-full 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:"BLS CPI-U"}),t.jsx("div",{className:"body-sm text-normal",children:s.date})]}),t.jsx("div",{className:"caption text-soft text-right",children:"monthly"})]}),t.jsxs("div",{className:"flex items-end justify-between gap-3",children:[t.jsxs("div",{children:[t.jsx("div",{className:"metric-xl leading-none",style:{color:m,textShadow:`0 0 24px ${m}44`},children:d!==null?p(d):"--"}),t.jsx("div",{className:"caption text-soft mt-1",children:"year over year"})]}),t.jsxs("div",{className:"text-right",children:[t.jsx("div",{className:"caption text-soft",children:"index"}),t.jsx("div",{className:"body-md text-strong font-bold tabular-nums",children:s.value.toFixed(3)}),t.jsx("div",{className:"caption text-soft mt-2",children:"month over month"}),t.jsx("div",{className:"body-md font-bold tabular-nums",style:{color:j(l??0)},children:l!==null?p(l):"--"})]})]}),t.jsx(P,{data:b,width:210,height:46,color:m}),t.jsxs("div",{className:"caption text-soft",children:[e.label," · ",n.length," monthly observations"]})]})}const _=w({...y,component:F});export{_ as inflationPulseFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as x,j as t}from"./react-qoZPGuNy.js";import{b,e as h,c as N,g as L}from"./format-CfAcS4D8.js";import{f as M,L as f,M as p}from"./index-kB-TyxKi.js";import{F as u}from"./ui-Bq3RQsdJ.js";import{M as S}from"./mini-line-chart-QWeuTPfP.js";import"./d3-Dr3MHXm3.js";import"./utils-DxneYyA_.js";f.schema;const y="LNS14000000",E="CES0000000001";function w({config:l}){const i=new Date().getUTCFullYear(),c=i-2,{series:s,isLoading:j}=p(y,c,i),{series:e,isLoading:v}=p(E,c,i),a=x.useMemo(()=>((s==null?void 0:s.points)??[]).slice(-l.months),[l.months,s==null?void 0:s.points]),g=x.useMemo(()=>a.map(d=>({date:new Date(d.time).toISOString(),value:d.value})),[a]);if(j&&v)return t.jsx(u,{loading:!0,children:"loading labor data…"});const r=a.at(-1);if(!s||!r)return t.jsx(u,{children:"no labor data yet"});const o=e==null?void 0:e.points.at(-1),m=e==null?void 0:e.points.at(-2),n=o&&m?o.value-m.value: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:"unemployment rate"}),t.jsx("div",{className:"body-sm text-normal",children:r.date})]}),t.jsx("div",{className:"caption text-soft text-right",children:"monthly"})]}),t.jsxs("div",{className:"flex items-end justify-between gap-3",children:[t.jsxs("div",{children:[t.jsx("div",{className:"metric-xl text-strong leading-none",children:b(r.value,1)}),t.jsxs("div",{className:"caption text-soft mt-1",children:[s.source," · U-3"]})]}),n!==null&&o&&t.jsxs("div",{className:"text-right",children:[t.jsx("div",{className:"caption text-soft",children:"nonfarm payrolls"}),t.jsxs("div",{className:"body-md font-bold tabular-nums",style:{color:N(n)},children:[n>=0?"+":"",h(n*1e3)]}),t.jsxs("div",{className:"caption text-soft mt-1 tabular-nums",children:[h(o.value*1e3)," jobs"]})]})]}),t.jsx(S,{data:g,width:210,height:44,color:L}),t.jsxs("div",{className:"caption text-soft",children:[s.label," · ",a.length," monthly observations"]})]})}const Y=M({...f,component:w});export{Y as laborMarketFrame};
|
|
@@ -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-CfAcS4D8.js";import{f as w,Z as h}from"./index-kB-TyxKi.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 h,j as l}from"./react-qoZPGuNy.js";import{z as M,Z as m,M as y}from"./cycle-shared-pyXzkgt1.js";import{D as g,U as x}from"./format-CfAcS4D8.js";import{s as O,t as b,w as z}from"./indicators-CogwjDn9.js";import{f as j,bd as c,be as w}from"./index-kB-TyxKi.js";import{F as u}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-QWeuTPfP.js";import"./d3-Dr3MHXm3.js";import"./utils-DxneYyA_.js";c.schema;function C({config:p}){const{history:o,isLoading:f}=w("btc"),t=h.useMemo(()=>{const i=o.map(e=>e.value),d=O(i,200),n=[];for(let e=0;e<o.length;e++){const a=d[e];a!==null&&a>0&&n.push({time:o[e].time,value:i[e]/a})}return n},[o]);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=M(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{j as t}from"./react-qoZPGuNy.js";import{A as m}from"./index-kB-TyxKi.js";import{d as r,a as n,c as l}from"./format-CfAcS4D8.js";function c({symbol:i,label:a,price:s,changePct:o,logoSize:e=16,gap:d="gap-2"}){return t.jsxs("div",{className:`grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-center ${d}`,title:s!==void 0?`${a} · ${r(s)}`:a,children:[t.jsx(m,{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?n(o):"…"})]})}export{c as M};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as t}from"./react-qoZPGuNy.js";import{f as a}from"./format-CfAcS4D8.js";import{f as x,O as o,P as h}from"./index-kB-TyxKi.js";import{F as l}from"./ui-Bq3RQsdJ.js";import{M as p}from"./mini-line-chart-QWeuTPfP.js";import"./d3-Dr3MHXm3.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 items-end justify-between gap-3",children:[t.jsx("div",{className:"metric-xl text-strong leading-none",children:a(e.total)}),i!==null&&s&&t.jsxs("div",{className:"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",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-CfAcS4D8.js";import{f as x,_ as i,$ as b}from"./index-kB-TyxKi.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 a,j as c}from"./react-qoZPGuNy.js";import{f,a0 as m,m as d}from"./index-kB-TyxKi.js";import{s as p}from"./ui-Bq3RQsdJ.js";m.schema;function h({config:e}){const t=d(),[n,o]=a.useState(!1),[r,l]=a.useState(e.text),i=a.useRef(null);a.useEffect(()=>{l(e.text)},[e.text]),a.useEffect(()=>{var s;n&&((s=i.current)==null||s.focus())},[n]);const u=a.useCallback(()=>{r!==e.text&&(t==null||t({text:r})),o(!1)},[t,r,e.text]),x=e.align==="center"?"flex items-center justify-center text-center":"";return n?c.jsx("textarea",{ref:i,className:`body-sm text-normal h-full w-full resize-none bg-transparent outline-none placeholder:text-disabled ${x}`,value:r,onChange:s=>l(s.target.value),onBlur:u,onKeyDown:s=>{s.key==="Escape"&&(l(e.text),o(!1))},placeholder:"Write a note…"}):c.jsx("div",{className:`body-sm text-normal whitespace-pre-wrap ${p} ${x} ${t?"cursor-text":""}`,onClick:()=>t&&o(!0),title:t?"Click to edit":void 0,children:e.text||c.jsx("span",{className:"text-soft italic",children:t?"Click to add a note…":"New note"})})}const b=f({...m,component:h});export{b as noteFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as t}from"./react-qoZPGuNy.js";import{f as A,g as b,h as M}from"./index-kB-TyxKi.js";import{f as v,b as S}from"./format-CfAcS4D8.js";import{P as F,u as P,a as G}from"./portfolio-common-Cfpnudvk.js";import{F as E}from"./ui-Bq3RQsdJ.js";import{C as y}from"./chart-utils-Ct7WziT9.js";import{s as p,p as _,a as h,o as B}from"./d3-Dr3MHXm3.js";import{p as j}from"./utils-DxneYyA_.js";const L=["#FF1F5F","#81FE90"],O=({data:a,width:r=270,height:o=270,innerRadius:s=90,outerRadius:n=100,colors:e=L,children:l})=>{const d=m.useRef(null);return m.useEffect(()=>{if(!d.current||!a.length)return;p(d.current).selectAll("*").remove();const g=p(d.current),N=r/2,k=o/2,u=g.append("defs");u.append("filter").attr("id","glow").append("feGaussianBlur").attr("stdDeviation","3").attr("result","coloredBlur"),u.select("#glow").append("feMerge").selectAll("feMergeNode").data(["coloredBlur","SourceGraphic"]).enter().append("feMergeNode").attr("in",i=>i),u.append("filter").attr("id","glow-layer").append("feGaussianBlur").attr("stdDeviation","6").attr("result","glowBlur"),u.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 w=_().value(i=>i.value).padAngle(.02),C=h().innerRadius(s).outerRadius(n).cornerRadius(100),R=h().innerRadius(s).outerRadius(n).cornerRadius(100),x=B().domain(a.map((i,c)=>c.toString())).range(e),f=g.append("g").attr("transform",`translate(${N}, ${k})`).selectAll("g").data(w(a)).enter().append("g");f.append("path").attr("class","glow-layer").attr("d",R).attr("fill",(i,c)=>x(c.toString())).attr("filter","url(#glow-layer)").style("opacity",0).style("pointer-events","none"),f.append("path").attr("class","main-slice").attr("d",C).attr("fill",(i,c)=>x(c.toString())).attr("stroke","none"),f.on("mouseenter",function(){p(this).select(".glow-layer").transition().duration(j()?0:300).style("opacity",1)}).on("mouseleave",function(){p(this).select(".glow-layer").transition().duration(j()?0:300).style("opacity",0)})},[a,r,o,s,n,e]),t.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:[t.jsx("svg",{ref:d,width:r,height:o,className:"relative z-10"}),t.jsx("div",{className:"absolute inset-0 flex items-center justify-center",children:l}),t.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"}}),t.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"}})]})},$=m.memo(O);b.schema;function I({portfolio:a,config:r}){const{priced:o}=P(a.holdings),s=m.useMemo(()=>o.map((e,l)=>({name:M(e.symbol),value:e.value??0,color:y[l%y.length]})).filter(e=>e.value>0).sort((e,l)=>l.value-e.value),[o]),n=s.reduce((e,l)=>e+l.value,0);return s.length===0?t.jsx(E,{children:"no live prices yet"}):t.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[t.jsx($,{data:s,width:200,height:200,innerRadius:58,outerRadius:92,colors:s.map(e=>e.color),children:t.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[t.jsx(G,{portfolio:a,config:r,className:"caption text-soft"}),t.jsx("span",{className:"metric-lg text-strong",children:v(n)})]})}),t.jsx("div",{className:"flex w-full max-w-xs flex-wrap justify-center gap-x-5 gap-y-1.5",children:s.map(e=>t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx("span",{className:"h-2 w-2 flex-shrink-0 rounded-full",style:{background:e.color}}),t.jsx("span",{className:"body-sm text-soft",children:e.name}),t.jsx("span",{className:"body-sm text-normal font-bold tabular-nums",children:S(e.value/n*100,1)}),t.jsx("span",{className:"caption text-soft tabular-nums",children:v(e.value)})]},e.name))})]})}function D({config:a}){return t.jsx(F,{config:a,loadingLabel:"loading allocation…",children:r=>t.jsx(I,{portfolio:r,config:a})})}const K=A({...b,component:D});export{K as portfolioAllocationFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as s,r as d}from"./react-qoZPGuNy.js";import{j as b,k as j,l as g,A as y,m as w}from"./index-kB-TyxKi.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=j(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}=b(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",k="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:k,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=w(),[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:k,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 i}from"./react-qoZPGuNy.js";import{f as d,a7 as c,a8 as l,a9 as x,h as g}from"./index-kB-TyxKi.js";import{M as f}from"./mover-row-CUd1i2yt.js";import{F as u,s as h}from"./ui-Bq3RQsdJ.js";import"./format-CfAcS4D8.js";c.schema;function k({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(u,{loading:!0,children:"loading prices…"}):i.jsx("div",{className:`flex flex-col gap-1.5 ${h}`,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:k});export{L as priceTickerFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as l,j as t}from"./react-qoZPGuNy.js";import{f}from"./format-CfAcS4D8.js";import{w as p,t as o}from"./indicators-CogwjDn9.js";import{f as u,bJ as c,b8 as h}from"./index-kB-TyxKi.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{C as s,a as w}from"./chart-utils-Ct7WziT9.js";import{M as x}from"./index-DKixdHYB.js";import"./d3-Dr3MHXm3.js";import"./utils-DxneYyA_.js";c.schema;const m=r=>r.map(e=>({date:new Date(e.time).toISOString(),value:e.value}));function z({config:r}){const{valuation:e,isLoading:d}=h(),i=l.useMemo(()=>{if(!e)return[];const a=p(r.window);return[{id:"price",name:"Market Price",color:s[0],data:m(o(e.history.price,a))},{id:"realized",name:"Realized Price",color:s[1],data:m(o(e.history.realizedPrice,a))}]},[e,r.window]);return d?t.jsx(n,{loading:!0,children:"loading realized price…"}):!e||i.every(a=>a.data.length===0)?t.jsx(n,{children:"no on-chain data yet"}):t.jsx(x,{series:i,timeframe:w.YTD,height:220,formatValue:f})}const D=u({...c,component:z});export{D as realizedPriceFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{i as y}from"./content-shared-BZ1XzrJx.js";import{f as g,a as k,c as w}from"./format-CfAcS4D8.js";import{f as F,bN as b}from"./index-kB-TyxKi.js";import{M as R}from"./mini-line-chart-QWeuTPfP.js";import"./d3-Dr3MHXm3.js";import"./utils-DxneYyA_.js";b.schema;function o({label:s,value:t,onChange:l}){return e.jsxs("label",{className:`flex flex-col gap-0.5 px-2 py-1 ${y}`,children:[e.jsx("span",{className:"caption text-soft truncate",children:s}),e.jsx("input",{type:"number",value:Number.isFinite(t)?t:0,onChange:a=>l(Number(a.target.value)),className:"body-sm text-strong w-full bg-transparent outline-none"})]})}function E({config:s}){const[t,l]=n.useState(s.principal),[a,j]=n.useState(s.ratePct),[c,v]=n.useState(s.periods),[i,N]=n.useState(s.contribution),{series:C,ending:P,contributed:p,gain:d}=n.useMemo(()=>{const M=a/100,S=Math.max(0,Math.min(600,Math.floor(c))),f=[{date:"0",value:t}];let r=t,m=t;for(let u=1;u<=S;u++)r=r*(1+M)+i,m+=i,f.push({date:String(u),value:r});return{series:f,ending:r,contributed:m,gain:r-m}},[t,a,c,i]),x=p>0?d/p*100:0,h=s.label.trim();return e.jsxs("div",{className:"flex h-full w-full flex-col gap-2",children:[h&&e.jsx("div",{className:"caption text-soft shrink-0 uppercase tracking-[0.12em]",children:h}),e.jsxs("div",{className:"shrink-0",children:[e.jsx("div",{className:"caption text-soft",children:"projected value"}),e.jsx("div",{className:"metric-lg text-strong",children:g(P)}),e.jsxs("div",{className:"body-sm",style:{color:w(x)},children:[k(x)," · ",g(d)," gain"]})]}),e.jsx("div",{className:"min-h-0 flex-1",children:e.jsx(R,{data:C,width:260,height:48,variant:"green",className:"w-full"})}),e.jsxs("div",{className:"grid shrink-0 grid-cols-2 gap-1.5",children:[e.jsx(o,{label:"principal",value:t,onChange:l}),e.jsx(o,{label:"rate %/period",value:a,onChange:j}),e.jsx(o,{label:"periods",value:c,onChange:v}),e.jsx(o,{label:"contribution",value:i,onChange:N})]})]})}const D=F({...b,component:E});export{D as returnsProjectorFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as l,j as s}from"./react-qoZPGuNy.js";import{i as h}from"./content-shared-BZ1XzrJx.js";import{f as y,aM as f,m as S}from"./index-kB-TyxKi.js";f.schema;const p="var(--color-highlight)",x="0 0 18px hsl(var(--zf-accent-hue, 242) 92% 70% / 0.45)",i=t=>String(t).padStart(2,"0");function g(t){const e=Math.floor(Math.max(0,t)/1e3),c=Math.floor(e/3600),n=Math.floor(e%3600/60),o=e%60;return c>0?`${c}:${i(n)}:${i(o)}`:`${i(n)}:${i(o)}`}function k({config:t}){const e=S(),[c,n]=l.useState({startedAt:t.startedAt,accumulatedMs:t.accumulatedMs}),o=e?t.startedAt:c.startedAt,w=e?t.accumulatedMs:c.accumulatedMs,a=o!==0,d=l.useCallback(r=>{e?e(r):n(m=>({...m,...r}))},[e]),[,M]=l.useState(0);l.useEffect(()=>{if(!a)return;const r=window.setInterval(()=>M(m=>m+1),250);return()=>window.clearInterval(r)},[a]);const u=w+(a?Date.now()-o:0),b=()=>d({startedAt:Date.now()}),v=()=>d({startedAt:0,accumulatedMs:u}),j=()=>d({startedAt:0,accumulatedMs:0});return s.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-2 text-center",children:[t.label&&s.jsxs("div",{className:"caption text-soft inline-flex items-center gap-1.5 uppercase tracking-[0.18em]",children:[s.jsx("span",{"aria-hidden":!0,className:"inline-block h-1 w-1 rounded-full",style:{background:p,boxShadow:a?x:void 0}}),t.label]}),s.jsx("div",{className:"metric-lg text-strong leading-none",style:a?{color:p,textShadow:x}:void 0,children:g(u)}),s.jsxs("div",{className:"flex items-center justify-center gap-2",children:[s.jsx("button",{type:"button",onClick:a?v:b,className:`caption text-normal px-3 py-1 uppercase tracking-[0.12em] ${h}`,style:a?void 0:{color:p},children:a?"Pause":"Start"}),s.jsx("button",{type:"button",onClick:j,disabled:!a&&u===0,className:`caption text-soft px-3 py-1 uppercase tracking-[0.12em] transition-opacity disabled:opacity-40 ${h}`,children:"Reset"})]})]})}const E=y({...f,component:k});export{E as stopwatchFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as n,j as m}from"./react-qoZPGuNy.js";import{f as l}from"./format-CfAcS4D8.js";import{f as p,ai as i,aj as f}from"./index-kB-TyxKi.js";import{T as u,a as c}from"./treemap-leaf-A45Ge4-e.js";import{F as s}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-Dr3MHXm3.js";i.schema;function d({width:r,height:o,data:e}){const t=l(e.tvl);return m.jsx(c,{width:r,height:o,label:e.id,secondary:t,title:`${e.id} · ${t}`})}function v({config:r}){const{entries:o,isLoading:e}=f(),t=n.useMemo(()=>o.slice(0,r.topN).map(a=>({id:a.name,value:a.tvl,tvl:a.tvl})),[o,r.topN]);return e?m.jsx(s,{loading:!0,children:"loading TVL…"}):t.length===0?m.jsx(s,{children:"no TVL data"}):m.jsx(u,{data:t,LeafComponent:d,getColorValue:a=>a.tvl})}const F=p({...i,component:v});export{F as tvlTreemapFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as g,j as o}from"./react-qoZPGuNy.js";import{d as f,U as L}from"./format-CfAcS4D8.js";import{f as E,bi as I,a2 as R,h as S}from"./index-kB-TyxKi.js";import{F as w}from"./ui-Bq3RQsdJ.js";I.schema;function x({label:t,value:v}){return o.jsxs("div",{className:"rounded-md bg-white/[0.04] px-2 py-1 text-center",children:[o.jsx("div",{className:"metric-sm text-strong leading-none",children:v}),o.jsx("div",{className:"caption text-soft mt-0.5",children:t})]})}function U({config:t}){const v=g.useMemo(()=>Date.now()-t.lookbackDays*864e5,[t.lookbackDays]),{candles:c,isLoading:y}=R(t.symbol,t.interval,v),b=g.useMemo(()=>{if(c.length===0)return null;let s=1/0,i=-1/0;for(const e of c)s=Math.min(s,e.low),i=Math.max(i,e.high);if(!(i>s))return null;const a=t.bins,d=(i-s)/a,l=Array.from({length:a},(e,n)=>({low:s+n*d,high:s+(n+1)*d,mid:s+(n+.5)*d,volume:0}));for(const e of c){const n=(e.high+e.low+e.close)/3,D=e.volume??0;let h=Math.floor((n-s)/d);h<0&&(h=0),h>=a&&(h=a-1),l[h].volume+=D}const j=l.reduce((e,n)=>e+n.volume,0);if(j<=0)return null;let r=0;for(let e=1;e<a;e++)l[e].volume>l[r].volume&&(r=e);let m=r,u=r,p=l[r].volume;for(;p<j*.7&&(m>0||u<a-1);){const e=m>0?l[m-1].volume:-1;(u<a-1?l[u+1].volume:-1)>=e?p+=l[++u].volume:p+=l[--m].volume}return{bins:l,pocIdx:r,loI:m,hiI:u,maxVol:l[r].volume||1,poc:l[r].mid,vah:l[u].high,val:l[m].low,price:c[c.length-1].close}},[c,t.bins]);if(y)return o.jsx(w,{loading:!0,children:"loading volume profile…"});if(!b)return o.jsxs(w,{children:["no candles for ",S(t.symbol)]});const{bins:P,pocIdx:M,loI:N,hiI:k,maxVol:V,poc:A,vah:F,val:O,price:C}=b;return o.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[o.jsxs("div",{className:"grid grid-cols-4 gap-1.5",children:[o.jsx(x,{label:"Price",value:f(C)}),o.jsx(x,{label:"POC",value:f(A)}),o.jsx(x,{label:"VAH",value:f(F)}),o.jsx(x,{label:"VAL",value:f(O)})]}),o.jsx("div",{className:"flex min-h-0 flex-1 flex-col-reverse gap-px overflow-hidden",children:P.map((s,i)=>{const a=i>=N&&i<=k,l=i===M?L:a?"rgba(148,163,184,0.55)":"rgba(148,163,184,0.22)";return o.jsx("div",{className:"flex min-h-[3px] flex-1 items-center",title:f(s.mid),children:o.jsx("div",{className:"h-full rounded-sm",style:{width:`${Math.max(2,s.volume/V*100)}%`,background:l}})},i)})})]})}const q=E({...I,component:U});export{q as volumeProfileFrame};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as m,j as a}from"./react-qoZPGuNy.js";import{U as c,b as d,p,f}from"./format-CfAcS4D8.js";import{M as u}from"./metric-row-BVVhjsjK.js";import{f as x,bo as r,bp as y}from"./index-kB-TyxKi.js";import{F as o,s as b}from"./ui-Bq3RQsdJ.js";r.schema;function h({config:e}){const{pools:l,isLoading:i}=y(),t=m.useMemo(()=>l.filter(s=>(!e.stablecoinOnly||s.stablecoin)&&s.tvlUsd>=e.minTvlUsd).sort((s,n)=>n.apy-s.apy).slice(0,e.limit),[l,e.stablecoinOnly,e.minTvlUsd,e.limit]);return i?a.jsx(o,{loading:!0,children:"loading yields…"}):t.length===0?a.jsx(o,{children:"no pools match"}):a.jsx("div",{className:`${b} flex flex-col`,children:t.map(s=>a.jsx(u,{label:s.symbol,meta:`${p(s.project)} · ${s.chain} · ${f(s.tvlUsd)}${s.stablecoin?" · stable":""}`,value:a.jsx("span",{style:{color:c},children:d(s.apy)})},s.pool))})}const F=x({...r,component:h});export{F as yieldScannerFrame};
|