zframes 0.8.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 +14 -3
- package/package.json +5 -5
- package/runtime/assets/bar-chart-DCMbxUJx.js +1 -0
- package/runtime/assets/{bitcoin-dominance-Y-pfXAWg.js → bitcoin-dominance-BqoH90r5.js} +1 -1
- package/runtime/assets/{breakeven-D5o1aZeG.js → breakeven-1Kr-v9pE.js} +1 -1
- package/runtime/assets/{breathing-C3xWrMh-.js → breathing-NOTeAM6N.js} +1 -1
- package/runtime/assets/{btc-block-size-bars-Dm4d1uP6.js → btc-block-size-bars-BgwX4eu_.js} +1 -1
- package/runtime/assets/{btc-blocks-Dh75DtBl.js → btc-blocks-D6TscPNp.js} +1 -1
- package/runtime/assets/{btc-difficulty-DT6GcCi7.js → btc-difficulty-BhSve3vk.js} +1 -1
- package/runtime/assets/{btc-difficulty-chart-D6G_nIaV.js → btc-difficulty-chart-Yqxof0b6.js} +1 -1
- package/runtime/assets/{btc-fees-CAwJQaIo.js → btc-fees-C-Za_OxK.js} +1 -1
- package/runtime/assets/{btc-hashrate-CWvKwoGY.js → btc-hashrate-5xnTYpft.js} +1 -1
- package/runtime/assets/{btc-mempool-C_PwdChj.js → btc-mempool-0WFrtuQR.js} +1 -1
- package/runtime/assets/bubbles-shared-DlmjtiIA.js +1 -0
- package/runtime/assets/{calculator-DmCi3Diy.js → calculator-CcLe2vqJ.js} +1 -1
- package/runtime/assets/{capital-structure-bars-CCL6FBZT.js → capital-structure-bars-SEyFIReK.js} +1 -1
- package/runtime/assets/{chain-activity-DmVXPTCW.js → chain-activity-CCO3t0hA.js} +1 -1
- package/runtime/assets/{chain-activity-bars-C2_6k9uI.js → chain-activity-bars-DHYCDKWT.js} +1 -1
- package/runtime/assets/{chain-activity-scatter-KDstJ2gQ.js → chain-activity-scatter-DeusbLku.js} +1 -1
- package/runtime/assets/{chain-price-movers-C7cM87Np.js → chain-price-movers-SeTwhqsM.js} +1 -1
- package/runtime/assets/{checklist-aIHO99Oy.js → checklist-orMUS_qt.js} +1 -1
- package/runtime/assets/{clock-RTIdbX_o.js → clock-9PqJvMgi.js} +1 -1
- package/runtime/assets/{coin-momentum-heatmap-BqpZC5MD.js → coin-momentum-heatmap-DvfWWzSD.js} +1 -1
- package/runtime/assets/{coin-momentum-scatter-BLQuQ5y9.js → coin-momentum-scatter-Cf4Y29lp.js} +1 -1
- package/runtime/assets/{coin-movers-BcLGwl1y.js → coin-movers-D3cmI-tT.js} +1 -1
- package/runtime/assets/{countdown-DiZVeLK1.js → countdown-tMz3FsXT.js} +1 -1
- package/runtime/assets/{custom-data-BgQF-y2R.js → custom-data-DPPNQ2QQ.js} +1 -1
- package/runtime/assets/{cycle-signals-1fCJGzfH.js → cycle-signals-DJYUIjas.js} +1 -1
- package/runtime/assets/{cycle-valuation-composite-BBA7wxL2.js → cycle-valuation-composite-DO_Pda0n.js} +1 -1
- package/runtime/assets/{daily-analysis-w96yBGxi.js → daily-analysis-BVEvATPa.js} +1 -1
- package/runtime/assets/{day-meter-D7SyWAWO.js → day-meter-DmbSq9YK.js} +1 -1
- package/runtime/assets/{defi-revenue-DC7iVw-b.js → defi-revenue-DPazGCl4.js} +1 -1
- package/runtime/assets/{dex-hot-pools-CbBeDh7R.js → dex-hot-pools-BeuuV2Cj.js} +1 -1
- package/runtime/assets/{dex-pool-bubbles-DsS26KRy.js → dex-pool-bubbles-BLUbqZ4v.js} +1 -1
- package/runtime/assets/{dex-pool-liquidity-scatter-Cam1cxZL.js → dex-pool-liquidity-scatter-Civ63yej.js} +1 -1
- package/runtime/assets/{dex-pool-treemap-CuU6G6rY.js → dex-pool-treemap-ecoWHB8O.js} +1 -1
- package/runtime/assets/{dex-volume-bubbles-DZvYb1Gu.js → dex-volume-bubbles-CX9SfXmZ.js} +1 -1
- package/runtime/assets/{dex-volume-chart-BmJMKgts.js → dex-volume-chart-Bgdepem0.js} +1 -1
- package/runtime/assets/{dex-volume-share-area-B16TypiP.js → dex-volume-share-area-uDfe8wQZ.js} +1 -1
- package/runtime/assets/{dex-volume-treemap-Kl3BycC8.js → dex-volume-treemap-BlrxYmk-.js} +1 -1
- package/runtime/assets/{dice-BBWeIZ4c.js → dice-BOUHMLs6.js} +1 -1
- package/runtime/assets/{dino-game-CacSVnNs.js → dino-game-BBIAIplk.js} +1 -1
- package/runtime/assets/{divider-BDbJkoKt.js → divider-B-nMbdhH.js} +1 -1
- package/runtime/assets/{dominance-bars-D7mHdU5j.js → dominance-bars-BjKMZR8V.js} +1 -1
- package/runtime/assets/{dominance-gauge-D4Dizu40.js → dominance-gauge-DVITO-Eg.js} +1 -1
- package/runtime/assets/{drawdy-C4Xes6ll.js → drawdy-gpdcuxey.js} +1 -1
- package/runtime/assets/{dxy-CQqmlBOH.js → dxy-DfHaYZsj.js} +1 -1
- package/runtime/assets/{dxy-chart-COvjjHiK.js → dxy-chart-CidtFThk.js} +1 -1
- package/runtime/assets/{editor-CFgkD4LH.js → editor-yifYG0tI.js} +1 -1
- package/runtime/assets/{etf-flow-bars-DQmhSdlG.js → etf-flow-bars-NYq3d_-U.js} +1 -1
- package/runtime/assets/{etf-flow-calendar-BtU4tAJx.js → etf-flow-calendar-BI18BrWM.js} +1 -1
- package/runtime/assets/{etf-flows-chart-CrJq5l_U.js → etf-flows-chart-BzKKqHh4.js} +1 -1
- package/runtime/assets/{etf-flows-B5HTl_O2.js → etf-flows-cufmZrd_.js} +1 -1
- package/runtime/assets/{etf-issuer-bars-C8CS42V9.js → etf-issuer-bars-Dl9H_CZC.js} +1 -1
- package/runtime/assets/{etf-issuer-treemap-B8V6wOUz.js → etf-issuer-treemap-IhYjIP-y.js} +1 -1
- package/runtime/assets/{eth-issuance-impact-DBfYkAhQ.js → eth-issuance-impact-BLHuDvGQ.js} +1 -1
- package/runtime/assets/{eth-staking-CS-soUKT.js → eth-staking-CzidwFMK.js} +1 -1
- package/runtime/assets/{eth-supply-5f4GEmei.js → eth-supply-C7KDK-97.js} +1 -1
- package/runtime/assets/{fear-greed-D20BQ0ai.js → fear-greed-DTLHRhif.js} +1 -1
- package/runtime/assets/{fear-greed-chart-CzqxRAt0.js → fear-greed-chart-N1vM_QJ7.js} +1 -1
- package/runtime/assets/{filings-feed-C-uvwTLC.js → filings-feed-Dpz6nWMU.js} +1 -1
- package/runtime/assets/{filings-mix-OIhf0PEq.js → filings-mix-7ykY8NsE.js} +1 -1
- package/runtime/assets/{financial-stress-B29D-qDA.js → financial-stress-BcnDhPO4.js} +1 -1
- package/runtime/assets/{flappy-bird-DGYf5Ewk.js → flappy-bird-Vp7j7ceN.js} +1 -1
- package/runtime/assets/{fundamentals-CcvmrNcz.js → fundamentals-BIesVoJt.js} +1 -1
- package/runtime/assets/{funding-bars-D7M6sJZL.js → funding-bars-BNVCUVqC.js} +1 -1
- package/runtime/assets/{funding-carry-area-Dq7ytVeR.js → funding-carry-area-BqCrQOi5.js} +1 -1
- package/runtime/assets/{funding-comparison-Ci4xJZk2.js → funding-comparison-BynnnDDf.js} +1 -1
- package/runtime/assets/{funding-crowding-scatter-nUiUaNV4.js → funding-crowding-scatter-BTzQUtFn.js} +1 -1
- package/runtime/assets/{funding-heatmap-B5zG3T9U.js → funding-heatmap-DUOcDAeX.js} +1 -1
- package/runtime/assets/{funding-leaderboard-bars-cf5-s8-T.js → funding-leaderboard-bars-CpYvO_Cs.js} +1 -1
- package/runtime/assets/{funding-rate-chart-Dp06ipCG.js → funding-rate-chart-CANXPS3a.js} +1 -1
- package/runtime/assets/{funding-spread-bars-CZdgC9ni.js → funding-spread-bars-BgA-vSh-.js} +1 -1
- package/runtime/assets/{funding-venue-heatmap-C-Kh1qHo.js → funding-venue-heatmap-jKiQGgLb.js} +1 -1
- package/runtime/assets/{fx-board-C4yCDDGZ.js → fx-board-CTnlbWGJ.js} +1 -1
- package/runtime/assets/{fx-cross-heatmap-DHP7jzo6.js → fx-cross-heatmap-CDORG9Cx.js} +1 -1
- package/runtime/assets/{fx-movers-bars-8q6fFcdY.js → fx-movers-bars-WKvSm3Ry.js} +1 -1
- package/runtime/assets/{fx-trend-chart-DEtRTau8.js → fx-trend-chart-uITTwyv8.js} +1 -1
- package/runtime/assets/{heading-B6HiIuvX.js → heading-Cidi7R-_.js} +1 -1
- package/runtime/assets/{hero-number-DUjENGj6.js → hero-number-p8eaQmkA.js} +1 -1
- package/runtime/assets/{holiday-calendar-qi7M9l4n.js → holiday-calendar-ErapPWhY.js} +1 -1
- package/runtime/assets/{image-D5ZO4DFB.js → image-BQQ0gSaW.js} +1 -1
- package/runtime/assets/{image-gallery-Dpr218ld.js → image-gallery-CNa-8BAA.js} +1 -1
- package/runtime/assets/{index-CiYWppnQ.js → index-BHlJHScr.js} +3 -3
- package/runtime/assets/index-Bw1aFtyx.js +1 -0
- package/runtime/assets/index-yv-SCb9g.css +1 -0
- package/runtime/assets/{inflation-pulse-cleNvOgk.js → inflation-pulse-B54HwpAO.js} +1 -1
- package/runtime/assets/{journal-log-BYS6KBP0.js → journal-log-0CruSC_H.js} +1 -1
- package/runtime/assets/{journal-open-Dd-2HpWe.js → journal-open-DIwxMMCH.js} +1 -1
- package/runtime/assets/{journal-results-Bo95cRBC.js → journal-results-BM_i_JJ3.js} +1 -1
- package/runtime/assets/{journal-score-CQ5jNovg.js → journal-score-He6DdYtU.js} +1 -1
- package/runtime/assets/{journal-ui-P_aNAgF1.js → journal-ui-CP9YblNJ.js} +1 -1
- package/runtime/assets/{labor-force-flow-0vecYFin.js → labor-force-flow-8HLQsbKV.js} +1 -1
- package/runtime/assets/{labor-market-BSxSRnKx.js → labor-market-If23zBQK.js} +1 -1
- package/runtime/assets/{lightning-stats-CBj576A7.js → lightning-stats-DhrfBtX6.js} +1 -1
- package/runtime/assets/{link-grid-MCfSDZZw.js → link-grid-CsnxpE4z.js} +1 -1
- package/runtime/assets/{liquidity-basis-bars-CPGTcxkm.js → liquidity-basis-bars-CaU5YtBA.js} +1 -1
- package/runtime/assets/{ma-multiplier-g4p5Pi3k.js → ma-multiplier-BBN7qsdV.js} +1 -1
- package/runtime/assets/{macro-calendar-d2JHausW.js → macro-calendar-cKBRneX9.js} +1 -1
- package/runtime/assets/{market-bubbles-CDCGDkEQ.js → market-bubbles-BKNkvOTg.js} +1 -1
- package/runtime/assets/{market-cap-treemap-BSElYaQa.js → market-cap-treemap-BSBU8mjq.js} +1 -1
- package/runtime/assets/{market-hours-BH2Focsr.js → market-hours-B10lWec_.js} +1 -1
- package/runtime/assets/{market-scatter-CdXDxlvI.js → market-scatter-CVUa4ZQ_.js} +1 -1
- package/runtime/assets/{marquee-DAz20C7s.js → marquee-BS_quB4S.js} +1 -1
- package/runtime/assets/{mayer-multiple-mJbiBIAH.js → mayer-multiple-iiKonfXX.js} +1 -1
- package/runtime/assets/{mempool-fee-curve-DC21aRj_.js → mempool-fee-curve-CQ4nzab8.js} +1 -1
- package/runtime/assets/{mining-pools-DDrcI0JC.js → mining-pools-DROnvkZS.js} +1 -1
- package/runtime/assets/{mining-pools-share-BTghpuPh.js → mining-pools-share-BhHh0hUJ.js} +1 -1
- package/runtime/assets/{misery-index-BFKKI3-y.js → misery-index-DpG7yLgX.js} +1 -1
- package/runtime/assets/{mover-row-9TS6-Vx5.js → mover-row-Bz-YpFL3.js} +1 -1
- package/runtime/assets/{movers-bars-BGRZiztL.js → movers-bars-CEFjsHnv.js} +1 -1
- package/runtime/assets/{movers-bubbles-DKwj1mvp.js → movers-bubbles-C-SriZvR.js} +1 -1
- package/runtime/assets/{mvrv-bAGE8y8s.js → mvrv-Cg0t6U5X.js} +1 -1
- package/runtime/assets/{mvrv-zscore-chart-BBQG73VU.js → mvrv-zscore-chart-qyOkheJb.js} +1 -1
- package/runtime/assets/national-debt-BRX09_U_.js +1 -0
- package/runtime/assets/{news-feed-BdERDNLF.js → news-feed-DQHSPzk5.js} +1 -1
- package/runtime/assets/{nft-activity-bars-DDM29Mlf.js → nft-activity-bars-BmNs4RMC.js} +1 -1
- package/runtime/assets/{nft-bubbles-piuKr-F-.js → nft-bubbles-0f9wAld0.js} +1 -1
- package/runtime/assets/{nft-collections-BRT3lGEI.js → nft-collections-Czp0t7ZU.js} +1 -1
- package/runtime/assets/{nft-scatter-v2AlapcL.js → nft-scatter-BHULn6_-.js} +1 -1
- package/runtime/assets/{nft-treemap-DOoBuiAe.js → nft-treemap-D2Kj3AuL.js} +1 -1
- package/runtime/assets/{note-Cge-Twe7.js → note-BdVtsqXo.js} +1 -1
- package/runtime/assets/{nupl-DyKmiugr.js → nupl-BrK2rcgi.js} +1 -1
- package/runtime/assets/{nupl-cycle-chart-CjPXwU_H.js → nupl-cycle-chart-BlXOLj4A.js} +1 -1
- package/runtime/assets/{nyfed-fed-funds-band-gauge-CgtBzt19.js → nyfed-fed-funds-band-gauge-DnzVhh9I.js} +1 -1
- package/runtime/assets/{nyfed-reference-rate-bars-XM22e3m1.js → nyfed-reference-rate-bars-CxLwUFUY.js} +1 -1
- package/runtime/assets/{nyfed-sofr-term-averages-bars-BX8DdQdy.js → nyfed-sofr-term-averages-bars-DxzLVO9o.js} +1 -1
- package/runtime/assets/{ofr-stress-category-area-DJ9A1Jek.js → ofr-stress-category-area-TXpXiMP-.js} +1 -1
- package/runtime/assets/{ohlcv-volume-bars-DjbIATbf.js → ohlcv-volume-bars-BQZiJJ3u.js} +1 -1
- package/runtime/assets/{oi-treemap-DN3lHhIw.js → oi-treemap-BEusAMZU.js} +1 -1
- package/runtime/assets/{onchain-oscillator-overlay-BhHhVrFw.js → onchain-oscillator-overlay-BPa_jULR.js} +1 -1
- package/runtime/assets/{open-interest-CQz_hue7.js → open-interest-BqO1-ZYo.js} +1 -1
- package/runtime/assets/{options-flow-skew-BnNt577O.js → options-flow-skew-Cy0SUhs0.js} +1 -1
- package/runtime/assets/{options-iv-DRlcGyOA.js → options-iv-RsCKjmmC.js} +1 -1
- package/runtime/assets/{options-max-pain-DttmKvGL.js → options-max-pain-B2pA7KJP.js} +1 -1
- package/runtime/assets/{options-max-pain-multi-BWvVp8w0.js → options-max-pain-multi-BLfX8Qe6.js} +1 -1
- package/runtime/assets/{options-oi-ladder-heatmap-D-GtQnYR.js → options-oi-ladder-heatmap-Do8eYI3h.js} +1 -1
- package/runtime/assets/{options-oi-skew-C7zh_o7-.js → options-oi-skew-D869gcp7.js} +1 -1
- package/runtime/assets/{options-oi-strike-CRd6fuzZ.js → options-oi-strike-CKWXk22Q.js} +1 -1
- package/runtime/assets/{options-put-call-DaSJMaWB.js → options-put-call-DcSwyIIX.js} +1 -1
- package/runtime/assets/{options-vol-smile-DLg5yS2Q.js → options-vol-smile-CqP0-CSw.js} +1 -1
- package/runtime/assets/{options-vol-spread-DzhDF8S2.js → options-vol-spread-DMXdphxM.js} +1 -1
- package/runtime/assets/{payrolls-bars-DUfM2bRV.js → payrolls-bars-15U_DxmS.js} +1 -1
- package/runtime/assets/{pi-cycle-Dnep9J9d.js → pi-cycle-tqHUEYSe.js} +1 -1
- package/runtime/assets/{pomodoro-462F-K_R.js → pomodoro-DSswMPuv.js} +1 -1
- package/runtime/assets/{portfolio-allocation-BmnvEhEW.js → portfolio-allocation-DHN6r6fl.js} +1 -1
- package/runtime/assets/{portfolio-common-DPg-LM-S.js → portfolio-common-e3o9U7qd.js} +1 -1
- package/runtime/assets/{portfolio-holdings-pJ3PcDtA.js → portfolio-holdings-Bf6vOm0e.js} +1 -1
- package/runtime/assets/{portfolio-movers-88ySthIZ.js → portfolio-movers-DmaGwFtS.js} +1 -1
- package/runtime/assets/{portfolio-value-BIrDQqeD.js → portfolio-value-DLQHtwCl.js} +1 -1
- package/runtime/assets/{portfolio-value-bars-B5PlVsS-.js → portfolio-value-bars-B8XP7r22.js} +1 -1
- package/runtime/assets/{prediction-market-bars-CjhLqjKZ.js → prediction-market-bars-Du1RxZc_.js} +1 -1
- package/runtime/assets/{prediction-market-scatter-PFzl9aUV.js → prediction-market-scatter-bdlr6r_V.js} +1 -1
- package/runtime/assets/{prediction-markets-COBBk6vK.js → prediction-markets-DNDg43g9.js} +1 -1
- package/runtime/assets/{prediction-markets-bubble-OHW4Fyta.js → prediction-markets-bubble-ccP01yj3.js} +1 -1
- package/runtime/assets/{price-chart-CttRCaIA.js → price-chart-Cw8OXmKH.js} +1 -1
- package/runtime/assets/{price-compare-DNhtDisn.js → price-compare-txGWDCHD.js} +1 -1
- package/runtime/assets/{price-liveline-DR_topxQ.js → price-liveline-F7uJKuTS.js} +1 -1
- package/runtime/assets/{price-ticker-DgbqT8Ft.js → price-ticker-DQFyiHmW.js} +1 -1
- package/runtime/assets/{protocol-fees-bubbles-DJKiIQLP.js → protocol-fees-bubbles-oV66t8AJ.js} +1 -1
- package/runtime/assets/{protocol-fees-treemap-YkaWU0jI.js → protocol-fees-treemap-CsZhFjxB.js} +1 -1
- package/runtime/assets/{protocol-fees-vs-tvl-scatter-BdbfLYV5.js → protocol-fees-vs-tvl-scatter-CtLKoDeh.js} +1 -1
- package/runtime/assets/{protocol-tvl-bubbles-BC38d6kb.js → protocol-tvl-bubbles-CuULi2KY.js} +1 -1
- package/runtime/assets/{protocol-tvl-by-category-D6xbGiRH.js → protocol-tvl-by-category-BV2yIdZ_.js} +1 -1
- package/runtime/assets/{protocol-tvl-chart-MRYKJKC8.js → protocol-tvl-chart-BRPlR_kj.js} +1 -1
- package/runtime/assets/{protocol-tvl-share-area-BaLjcOpi.js → protocol-tvl-share-area-BeWSgocA.js} +1 -1
- package/runtime/assets/{protocol-tvl-treemap-DdIxlR7K.js → protocol-tvl-treemap-BYECslhG.js} +1 -1
- package/runtime/assets/{puell-multiple-C-5BP2qr.js → puell-multiple-akyTNZyp.js} +1 -1
- package/runtime/assets/{put-call-gauge-CIL56SWp.js → put-call-gauge-CwrHYfdq.js} +1 -1
- package/runtime/assets/{quote-BCahDrH2.js → quote-6JmbHxfg.js} +1 -1
- package/runtime/assets/{rates-board-JeVYxfxX.js → rates-board-CiY6mWMz.js} +1 -1
- package/runtime/assets/{real-wages-CxYcPexL.js → real-wages-BTBOxvjP.js} +1 -1
- package/runtime/assets/{realized-price-DfKM0AQB.js → realized-price-CbjZ3Sqj.js} +1 -1
- package/runtime/assets/{reserve-risk-CZ8W5vox.js → reserve-risk-UlEv8oS1.js} +1 -1
- package/runtime/assets/returns-projector-qPZeZ-n9.js +1 -0
- package/runtime/assets/{risk-reward-DgkqN_mw.js → risk-reward-DWcu9j4_.js} +1 -1
- package/runtime/assets/{rsi-momentum-DLc5Fw80.js → rsi-momentum-BuasFcVH.js} +1 -1
- package/runtime/assets/{rules-card-B5gZWhLc.js → rules-card-DkjHPbht.js} +1 -1
- package/runtime/assets/scatter-chart-B78EA7lD.js +1 -0
- package/runtime/assets/{sector-bars-CahrlX_u.js → sector-bars-JKmedArM.js} +1 -1
- package/runtime/assets/{sector-bubbles-DdfZ6e5Q.js → sector-bubbles-DLXckuua.js} +1 -1
- package/runtime/assets/{sector-performance-BdYXFE7z.js → sector-performance-C_2-xbIq.js} +1 -1
- package/runtime/assets/{sector-treemap-DBA5ilb3.js → sector-treemap-DquBCyc3.js} +1 -1
- package/runtime/assets/{sentiment-gauge-BD6U6U9e.js → sentiment-gauge-CuNvuk1q.js} +1 -1
- package/runtime/assets/{session-progress-1UWc9VqZ.js → session-progress-BDhJHQEn.js} +1 -1
- package/runtime/assets/{short-volume-BR5Bd4dE.js → short-volume-Deb7fra_.js} +1 -1
- package/runtime/assets/{short-volume-bars-qHwd3DwT.js → short-volume-bars-DRjpg7RS.js} +1 -1
- package/runtime/assets/{snake-VPnsi0wu.js → snake-B9EEDroM.js} +1 -1
- package/runtime/assets/{sopr-pPCw72oY.js → sopr-DM_gpDem.js} +1 -1
- package/runtime/assets/{spotify-embed-BAYLjQ13.js → spotify-embed-Dxt1RnUX.js} +1 -1
- package/runtime/assets/{stablecoin-chains-gXvliWf0.js → stablecoin-chains-LzYMilQE.js} +1 -1
- package/runtime/assets/{stablecoin-supply-cKbLU-qq.js → stablecoin-supply-69kqOBoU.js} +1 -1
- package/runtime/assets/{stopwatch-USjNEK2T.js → stopwatch-ClPrrveo.js} +1 -1
- package/runtime/assets/{top-movers-m16-LIpD.js → top-movers-BRiiYOPQ.js} +1 -1
- package/runtime/assets/{treasury-auction-demand-scatter-qtbp6UWp.js → treasury-auction-demand-scatter-yYNPz1VC.js} +1 -1
- package/runtime/assets/{treasury-auction-size-bars-BN1UAVmo.js → treasury-auction-size-bars-CGD6MeAz.js} +1 -1
- package/runtime/assets/{treasury-auctions-BiOh-3vx.js → treasury-auctions-Z_4MtXmL.js} +1 -1
- package/runtime/assets/{treasury-avg-rate-bars-CJ1IViWy.js → treasury-avg-rate-bars-FXGz1a7e.js} +1 -1
- package/runtime/assets/{treasury-debt-composition-area-BPy8-h89.js → treasury-debt-composition-area-5yRh0K6a.js} +1 -1
- package/runtime/assets/{trending-bars-D_8IduL8.js → trending-bars-z_cjmEXN.js} +1 -1
- package/runtime/assets/{trending-bubbles-DYxWvz2k.js → trending-bubbles-nwoxKQEW.js} +1 -1
- package/runtime/assets/{trending-coins-DqSuuuF9.js → trending-coins-9vrbEbBm.js} +1 -1
- package/runtime/assets/{tvl-bars-inXG_MRY.js → tvl-bars-BkJcttcu.js} +1 -1
- package/runtime/assets/{tvl-bubbles-C5-rCI8e.js → tvl-bubbles-D4tahOC6.js} +1 -1
- package/runtime/assets/{tvl-treemap-KR6k_75O.js → tvl-treemap-B7kWI7o0.js} +1 -1
- package/runtime/assets/{video-DcFqrZ43.js → video-Dsc13Zja.js} +1 -1
- package/runtime/assets/{volume-movers-scatter-C4nPVYp-.js → volume-movers-scatter-BA8Wmoil.js} +1 -1
- package/runtime/assets/volume-profile-DcSNvDqP.js +1 -0
- package/runtime/assets/{volume-share-donut-DCtz5g5J.js → volume-share-donut-3MenMO-V.js} +1 -1
- package/runtime/assets/{yield-composition-scatter-Djup_wzz.js → yield-composition-scatter-rfxC16n2.js} +1 -1
- package/runtime/assets/{yield-curve-BM9IJJt6.js → yield-curve-DXsfXy4P.js} +1 -1
- package/runtime/assets/{yield-momentum-bars-gE1357zR.js → yield-momentum-bars-B9nKuItO.js} +1 -1
- package/runtime/assets/yield-risk-pie-DUxkXYIQ.js +1 -0
- package/runtime/assets/{yield-scanner-CbcLN2kK.js → yield-scanner-sCBXpQTV.js} +1 -1
- package/runtime/assets/{yield-scatter-B6ic-t9n.js → yield-scatter-BZHOhFcm.js} +1 -1
- package/runtime/index.html +2 -2
- package/runtime/assets/bar-chart-DmyKFv_O.js +0 -1
- package/runtime/assets/bubbles-shared-DY914nhm.js +0 -1
- package/runtime/assets/index-5ezz63At.css +0 -1
- package/runtime/assets/index-D051JGM1.js +0 -1
- package/runtime/assets/national-debt-DKFxcreA.js +0 -1
- package/runtime/assets/returns-projector-D8UX1710.js +0 -1
- package/runtime/assets/scatter-chart-B28DJ7P-.js +0 -1
- package/runtime/assets/volume-profile-BYg0s84c.js +0 -1
- package/runtime/assets/yield-risk-pie-qhN37WPr.js +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import{j as c,r as d}from"./react-qoZPGuNy.js";import{f as y,a7 as k,a8 as N}from"./index-
|
|
1
|
+
import{j as c,r as d}from"./react-qoZPGuNy.js";import{f as y,a7 as k,a8 as N}from"./index-BHlJHScr.js";import{s as w}from"./ui-Bq3RQsdJ.js";const u={code:"rounded px-1 py-px font-mono text-[0.85em] text-strong",link:"text-highlight underline underline-offset-2 hover:opacity-80",strong:"text-strong font-bold",em:"italic",h1:"body-lg text-strong font-bold",h2:"body-md text-strong font-bold",h3:"body-sm text-strong font-semibold uppercase tracking-wide",list:"space-y-0.5 pl-5"};function E(s){return/^https?:\/\//i.test(s.trim())}function f(s){const e=[];let r="",o=0;const n=()=>{r&&(e.push(r),r="")};let t=0;for(;t<s.length;){const a=s[t],h=s.slice(t);if(a==="`"){const l=s.indexOf("`",t+1);if(l>t){n(),e.push(c.jsx("code",{className:u.code,style:{background:"hsl(0 0% var(--zf-ink-l, 100%) / 0.1)"},children:s.slice(t+1,l)},o++)),t=l+1;continue}}if(a==="["){const l=/^\[([^\]]+)\]\(([^)\s]+)\)/.exec(h);if(l){const[i,m,x]=l;n(),E(x)?e.push(c.jsx("a",{href:x,target:"_blank",rel:"noopener noreferrer",className:u.link,onClick:p=>p.stopPropagation(),children:f(m)},o++)):e.push(c.jsx(d.Fragment,{children:f(m)},o++)),t+=i.length;continue}}if(a==="*"&&s[t+1]==="*"){const l=s.indexOf("**",t+2);if(l>t+1){n(),e.push(c.jsx("strong",{className:u.strong,children:f(s.slice(t+2,l))},o++)),t=l+2;continue}}if(a==="*"){const l=s.indexOf("*",t+1);if(l>t+1){n(),e.push(c.jsx("em",{className:u.em,children:f(s.slice(t+1,l))},o++)),t=l+1;continue}}r+=a,t++}return n(),e}function $(s,e){return c.jsx("p",{className:"leading-snug",children:s.map((r,o)=>c.jsxs(d.Fragment,{children:[o>0&&c.jsx("br",{}),f(r)]},o))},e)}const j=/^(#{1,3})\s+(.*)$/,g=/^\s*[-*]\s+(.*)$/,b=/^\s*\d+\.\s+(.*)$/;function v(s){const e=s.replace(/\r\n?/g,`
|
|
2
2
|
`).split(`
|
|
3
3
|
`),r=[];let o=0,n=0;for(;n<e.length;){const t=e[n];if(t.trim()===""){n++;continue}const a=j.exec(t);if(a){const l=a[1].length,i=l===1?u.h1:l===2?u.h2:u.h3;r.push(c.jsx("div",{className:i,children:f(a[2].trim())},o++)),n++;continue}if(g.test(t)||b.test(t)){const l=!g.test(t),i=l?b:g,m=[];for(;n<e.length&&i.test(e[n]);){const p=i.exec(e[n]);m.push(c.jsx("li",{children:f(p?p[1]:"")},m.length)),n++}const x=l?"ol":"ul";r.push(c.jsx(x,{className:`${u.list} ${l?"list-decimal":"list-disc"}`,children:m},o++));continue}const h=[];for(;n<e.length&&e[n].trim()!==""&&!j.test(e[n])&&!g.test(e[n])&&!b.test(e[n]);)h.push(e[n]),n++;r.push($(h,o++))}return r}k.schema;function C({config:s}){const e=N(),[r,o]=d.useState(!1),[n,t]=d.useState(s.text),a=d.useRef(null);d.useEffect(()=>{t(s.text)},[s.text]),d.useEffect(()=>{var i;r&&((i=a.current)==null||i.focus())},[r]);const h=d.useCallback(()=>{n!==s.text&&(e==null||e({text:n})),o(!1)},[e,n,s.text]),l=s.align==="center";return r?c.jsx("textarea",{ref:a,className:`body-sm text-normal h-full w-full resize-none bg-transparent outline-none placeholder:text-disabled ${l?"text-center":""}`,value:n,onChange:i=>t(i.target.value),onBlur:h,onKeyDown:i=>{i.key==="Escape"&&(t(s.text),o(!1))},placeholder:"Write a note… (Markdown supported)"}):c.jsx("div",{className:`body-sm text-normal ${w} ${l?"flex items-center justify-center text-center":""} ${e?"cursor-text":""}`,onClick:()=>e&&o(!0),title:e?"Click to edit":void 0,children:s.text?c.jsx("div",{className:`flex flex-col gap-2 break-words ${l?"items-center text-center":""}`,children:v(s.text)}):c.jsx("span",{className:"text-soft italic",children:e?"Click to add a note…":"New note"})})}const _=y({...k,component:C});export{_ as noteFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{z as s,Z as r,a as p,M as m}from"./cycle-shared-XoGVsOjC.js";import{D as u,U as c}from"./format-DxkEZcwQ.js";import{t as d,w as f}from"./indicators-Cw7CVPn4.js";import{f as O,bj as i,bi as h}from"./index-
|
|
1
|
+
import{j as e}from"./react-qoZPGuNy.js";import{z as s,Z as r,a as p,M as m}from"./cycle-shared-XoGVsOjC.js";import{D as u,U as c}from"./format-DxkEZcwQ.js";import{t as d,w as f}from"./indicators-Cw7CVPn4.js";import{f as O,bj as i,bi as h}from"./index-BHlJHScr.js";import{F as n}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function z({config:l}){const{valuation:o,isLoading:t}=h();if(t)return e.jsx(n,{loading:!0,children:"loading NUPL…"});if(!o)return e.jsx(n,{children:"no on-chain data yet"});const a=s(o.nupl,[{upTo:0,zone:{label:"Capitulation",color:c}},{upTo:.25,zone:{label:"Hope / Fear",color:r}},{upTo:.5,zone:{label:"Optimism",color:r}},{upTo:.75,zone:{label:"Belief",color:p}}],{label:"Euphoria / Greed",color:u});return e.jsx(m,{caption:"Net Unrealized P/L",headline:`${(o.nupl*100).toFixed(1)}%`,headlineColor:a.color,zone:a,sparkline:d(o.history.nupl,f(l.window)),sparkColor:a.color})}const R=O({...i,component:z});export{R as nuplFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as r}from"./react-qoZPGuNy.js";import{b as l}from"./format-DxkEZcwQ.js";import{w as p,t as c}from"./indicators-Cw7CVPn4.js";import{f,d5 as m,bi as d}from"./index-
|
|
1
|
+
import{r as u,j as r}from"./react-qoZPGuNy.js";import{b as l}from"./format-DxkEZcwQ.js";import{w as p,t as c}from"./indicators-Cw7CVPn4.js";import{f,d5 as m,bi as d}from"./index-BHlJHScr.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{C as h,a as C}from"./chart-utils-DGogNvJT.js";import{M as w}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;function x({config:e}){const{valuation:a,isLoading:s}=d(),o=u.useMemo(()=>{if(!a)return[];const t=p(e.window);return[{id:"nupl",name:"NUPL",color:h[0],data:c(a.history.nupl,t).map(i=>({date:new Date(i.time).toISOString(),value:i.value*100}))}]},[a,e.window]);return s?r.jsx(n,{loading:!0,children:"loading NUPL…"}):!a||o.every(t=>t.data.length===0)?r.jsx(n,{children:"no on-chain data yet"}):r.jsx(w,{series:o,timeframe:C.YTD,height:220,formatValue:t=>l(t,1)})}const O=f({...m,component:x});export{O as nuplCycleChartFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./react-qoZPGuNy.js";import{b as a}from"./format-DxkEZcwQ.js";import{f,de as o,al as m}from"./index-
|
|
1
|
+
import{j as t}from"./react-qoZPGuNy.js";import{b as a}from"./format-DxkEZcwQ.js";import{f,de as o,al as m}from"./index-BHlJHScr.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{R as l}from"./radial-gauge-0BzRQ6fO.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;const r=(s=1)=>`hsl(var(--zf-accent-hue, 242) 85% 72% / ${s})`;function u(s){const{rates:d,isLoading:i}=m(),e=d.find(c=>c.code==="EFFR");return i?t.jsx(n,{loading:!0,children:"loading fed funds rate…"}):!e||e.targetRateFrom===void 0||e.targetRateTo===void 0?t.jsx(n,{children:"no fed-funds target data yet"}):t.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-1",children:[t.jsxs(l,{value:e.rate,min:e.targetRateFrom,max:e.targetRateTo,color:r(),size:170,children:[t.jsx("div",{className:"metric-xl leading-none",style:{color:r(),textShadow:`0 0 28px ${r(.35)}`},children:a(e.rate)}),t.jsx("div",{className:"caption text-soft mt-1 uppercase tracking-wide",children:"effective fed funds"})]}),t.jsxs("div",{className:"caption text-soft",children:["target ",a(e.targetRateFrom),"–",a(e.targetRateTo)]})]})}const v=f({...o,component:u});export{v as nyfedFedFundsBandGaugeFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,j as r}from"./react-qoZPGuNy.js";import{f,b as c}from"./format-DxkEZcwQ.js";import{f as u,dc as n,al as d}from"./index-
|
|
1
|
+
import{r as i,j as r}from"./react-qoZPGuNy.js";import{f,b as c}from"./format-DxkEZcwQ.js";import{f as u,dc as n,al as d}from"./index-BHlJHScr.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{B as p}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";n.schema;function h({config:t}){const{rates:o,isLoading:m}=d(),a=i.useMemo(()=>{const l=o.slice(0,t.limit);return t.metric==="volume"?l.filter(e=>e.volumeInBillions!==void 0).map(e=>({label:e.label,value:e.volumeInBillions*1e9})):l.map(e=>({label:e.label,value:e.rate}))},[o,t.limit,t.metric]);return m?r.jsx(s,{loading:!0,children:"loading reference rates…"}):a.length===0?r.jsx(s,{children:"no reference-rate data yet"}):r.jsx("div",{className:"flex h-full flex-col justify-center text-normal",children:r.jsx(p,{data:a,orientation:"horizontal",height:Math.max(a.length*26,96),formatValue:t.metric==="volume"?f:c})})}const F=u({...n,component:h});export{F as nyfedReferenceRateBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as a}from"./react-qoZPGuNy.js";import{b as f}from"./format-DxkEZcwQ.js";import{f as l,dd as o,al as c}from"./index-
|
|
1
|
+
import{r as m,j as a}from"./react-qoZPGuNy.js";import{b as f}from"./format-DxkEZcwQ.js";import{f as l,dd as o,al as c}from"./index-BHlJHScr.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{B as d}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";o.schema;function u(p){const{rates:n,isLoading:i}=c(),e=n.find(r=>r.code==="SOFRAI"),t=m.useMemo(()=>e?[{label:"30D",value:e.average30Day},{label:"90D",value:e.average90Day},{label:"180D",value:e.average180Day}].filter(r=>r.value!==void 0):[],[e]);return i?a.jsx(s,{loading:!0,children:"loading SOFR averages…"}):t.length===0?a.jsx(s,{children:"no SOFR term-average data yet"}):a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(d,{data:t,height:160,formatValue:f}),a.jsx("div",{className:"caption text-soft text-center",children:"SOFR compounded averages"})]})}const S=l({...o,component:u});export{S as nyfedSofrTermAveragesBarsFrame};
|
package/runtime/assets/{ofr-stress-category-area-DJ9A1Jek.js → ofr-stress-category-area-TXpXiMP-.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as x,j as t}from"./react-qoZPGuNy.js";import{f as g,dg as c,Q as p}from"./index-
|
|
1
|
+
import{r as x,j as t}from"./react-qoZPGuNy.js";import{f as g,dg as c,Q as p}from"./index-BHlJHScr.js";import{F as o}from"./ui-Bq3RQsdJ.js";import{C as l}from"./chart-utils-DGogNvJT.js";import{S as h}from"./index-DuNO-RcB.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;const y=[["credit","Credit"],["equityValuation","Equity valuation"],["safeAssets","Safe assets"],["funding","Funding"],["volatility","Volatility"]];function j(e){return`${e.getMonth()+1}/${e.getDate()}`}function d(e){return e>0?`+${e.toFixed(1)}`:e.toFixed(1)}function S({series:e}){return t.jsx("div",{className:"flex flex-wrap items-center justify-center gap-x-3 gap-y-1",children:e.map(s=>t.jsxs("span",{className:"caption text-soft flex items-center gap-1",children:[t.jsx("span",{className:"h-1.5 w-1.5 shrink-0 rounded-full",style:{background:s.color}}),s.name]},s.id))})}function v({config:e}){const{stress:s,isLoading:m}=p(),r=x.useMemo(()=>{const i=((s==null?void 0:s.trend)??[]).slice(-e.trendDays).filter(a=>a.credit!==void 0&&a.equityValuation!==void 0&&a.safeAssets!==void 0&&a.funding!==void 0&&a.volatility!==void 0);return i.length<2?[]:y.map(([a,f],u)=>({id:a,name:f,color:l[u%l.length],data:i.map(n=>({date:new Date(n.time),value:n[a]}))}))},[s,e.trendDays]);return m?t.jsx(o,{loading:!0,children:"loading stress categories…"}):r.length===0?t.jsx(o,{children:"no stress-category data yet"}):t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[t.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[t.jsx("div",{className:"caption text-soft uppercase",children:"OFR FSI by category"}),t.jsx("div",{className:"caption text-soft text-right",children:s?s.date:""})]}),t.jsx(h,{series:r,height:210,formatXAxis:j,formatYAxis:d,formatValue:d}),t.jsx(S,{series:r})]})}const b=g({...c,component:v});export{b as ofrStressCategoryAreaFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as r}from"./react-qoZPGuNy.js";import{f as h,cw as c,ac as d,h as f}from"./index-
|
|
1
|
+
import{r as m,j as r}from"./react-qoZPGuNy.js";import{f as h,cw as c,ac as d,h as f}from"./index-BHlJHScr.js";import{U as p,D as x,d as v}from"./format-DxkEZcwQ.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{B as g}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const n={"1m":6e4,"5m":5*6e4,"15m":15*6e4,"1h":60*6e4,"4h":240*6e4,"1d":1440*6e4},L=48;c.schema;function j(t,e){const a=new Date(t);return e>=n["1d"]?a.toLocaleDateString("en-US",{month:"short",day:"numeric"}):e>=n["1h"]?`${a.getMonth()+1}/${a.getDate()} ${String(a.getHours()).padStart(2,"0")}h`:a.toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"})}function O({config:t}){const e=n[t.interval],a=m.useMemo(()=>Date.now()-e*L,[e]),{candles:s,isLoading:u}=d(t.symbol,t.interval,a,Math.min(e,6e4)),l=m.useMemo(()=>s.map(o=>({label:j(o.time,e),value:o.volume??0,color:o.close>=o.open?p:x})),[s,e]);return u&&s.length===0?r.jsx(i,{loading:!0,children:"loading volume…"}):l.length===0?r.jsx(i,{children:"no candle data yet"}):r.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[r.jsx(g,{data:l,height:200,formatValue:v,showValues:!1,maxTickLabels:6}),r.jsxs("div",{className:"caption text-soft text-center",children:[f(t.symbol)," volume · ",t.interval," candles"]})]})}const V=h({...c,component:O});export{V as ohlcvVolumeBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as i}from"./react-qoZPGuNy.js";import{f as u,cv as c,aJ as f,h as U}from"./index-
|
|
1
|
+
import{r as l,j as i}from"./react-qoZPGuNy.js";import{f as u,cv as c,aJ as f,h as U}from"./index-BHlJHScr.js";import{f as h}from"./format-DxkEZcwQ.js";import{T as x,a as I}from"./treemap-leaf-QG-L-SIG.js";import{F as d}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";c.schema;function j({width:t,height:o,data:s}){const r=h(s.oiUsd);return i.jsx(I,{width:t,height:o,label:s.id,secondary:r,title:`${s.id} · ${r} open interest`})}function T({config:t}){const{entries:o,isLoading:s}=f(),r=l.useMemo(()=>{const n=[...o].filter(e=>e.openInterestUsd>0).sort((e,m)=>m.openInterestUsd-e.openInterestUsd),p=n.slice(0,t.limit).map(e=>({id:U(e.symbol),value:e.openInterestUsd,oiUsd:e.openInterestUsd})),a=n.slice(t.limit).reduce((e,m)=>e+m.openInterestUsd,0);return a>0&&p.push({id:"Other",value:a,oiUsd:a}),p},[o,t.limit]);return s?i.jsx(d,{loading:!0,children:"loading open interest…"}):r.length===0?i.jsx(d,{children:"no open-interest data"}):i.jsx(x,{data:r,LeafComponent:j,getColorValue:n=>n.oiUsd})}const E=u({...c,component:T});export{E as oiTreemapFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p,j as o}from"./react-qoZPGuNy.js";import{b as d}from"./format-DxkEZcwQ.js";import{w as h,a as u,n as f,t as O}from"./indicators-Cw7CVPn4.js";import{f as x,d7 as l,bl as y}from"./index-
|
|
1
|
+
import{r as p,j as o}from"./react-qoZPGuNy.js";import{b as d}from"./format-DxkEZcwQ.js";import{w as h,a as u,n as f,t as O}from"./indicators-Cw7CVPn4.js";import{f as x,d7 as l,bl as y}from"./index-BHlJHScr.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{C as i,a as R}from"./chart-utils-DGogNvJT.js";import{M as v}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function w({config:s}){const{extras:r,isLoading:m}=y(),e=p.useMemo(()=>{if(!r)return[];const a=h(s.window),t=c=>u(f(O(c,a)));return[{id:"sopr",name:"SOPR",color:i[0],data:t(r.history.sopr)},{id:"puell",name:"Puell Multiple",color:i[1],data:t(r.history.puell)},{id:"reserve-risk",name:"Reserve Risk",color:i[2],data:t(r.history.reserveRisk)}]},[r,s.window]);return m&&e.length===0?o.jsx(n,{loading:!0,children:"loading on-chain oscillators…"}):e.every(a=>a.data.length===0)?o.jsx(n,{children:"no on-chain data yet"}):o.jsx(v,{series:e,timeframe:R.YTD,height:260,formatValue:a=>d(a*100,0)})}const T=x({...l,component:w});export{T as onchainOscillatorOverlayFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{f as p,aI as l,aJ as f,A as u,h as x}from"./index-
|
|
1
|
+
import{r as n,j as e}from"./react-qoZPGuNy.js";import{f as p,aI as l,aJ as f,A as u,h as x}from"./index-BHlJHScr.js";import{f as r}from"./format-DxkEZcwQ.js";import{F as i,s as h}from"./ui-Bq3RQsdJ.js";l.schema;const b=25;function g({config:m}){const{entries:a,isLoading:c}=f(m.symbols),t=n.useMemo(()=>a.slice(0,b),[a]),o=n.useMemo(()=>t.reduce((s,d)=>Math.max(s,d.openInterestUsd),0),[t]);return c?e.jsx(i,{loading:!0,children:"loading open interest…"}):t.length===0?e.jsx(i,{children:"no open-interest data"}):e.jsx("div",{className:`flex flex-col gap-1.5 ${h}`,children:t.map(s=>e.jsxs("div",{className:"grid grid-cols-[auto_minmax(0,1fr)_auto] items-center gap-2",title:`${s.symbol} · ${r(s.openInterestUsd)} open interest`,children:[e.jsx(u,{symbol:s.symbol,size:16}),e.jsxs("div",{className:"relative h-4 w-full overflow-hidden rounded-sm bg-white/[0.06]",children:[e.jsx("div",{className:"absolute inset-y-0 left-0 rounded-sm",style:{width:`${o>0?s.openInterestUsd/o*100:0}%`,background:"hsl(var(--zf-accent-hue, 242) 85% 72% / 0.5)"}}),e.jsx("span",{className:"absolute inset-y-0 left-1.5 flex items-center",children:e.jsx("span",{className:"body-sm truncate font-bold text-strong",children:x(s.symbol)})})]}),e.jsx("span",{className:"caption text-soft text-right tabular-nums",children:r(s.openInterestUsd)})]},s.symbol))})}const w=p({...l,component:g});export{w as openInterestFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as e}from"./react-qoZPGuNy.js";import{a as u,D as a,U as n}from"./format-DxkEZcwQ.js";import{f as p,d0 as c,bb as f}from"./index-
|
|
1
|
+
import{r as m,j as e}from"./react-qoZPGuNy.js";import{a as u,D as a,U as n}from"./format-DxkEZcwQ.js";import{f as p,d0 as c,bb as f}from"./index-BHlJHScr.js";import{F as l}from"./ui-Bq3RQsdJ.js";import{B as d}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function i(o,t){const r=o+t;return r>0?(o-t)/r*100:0}function x({config:o}){const{summary:t,isLoading:r}=f(o.currency),s=m.useMemo(()=>t?[{label:"OI",value:i(t.callOi,t.putOi)},{label:"Volume",value:i(t.callVolume,t.putVolume)}]:[],[t]);return r?e.jsx(l,{loading:!0,children:"loading options…"}):t?e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(d,{data:s,orientation:"horizontal",color:n,negativeColor:a,height:Math.max(s.length*28,84),formatValue:u}),e.jsxs("div",{className:"caption text-soft flex justify-between",children:[e.jsx("span",{style:{color:n},children:"call-skewed"}),e.jsxs("span",{children:[o.currency," positioning vs flow"]}),e.jsx("span",{style:{color:a},children:"put-skewed"})]})]}):e.jsx(l,{children:"no options data yet"})}const k=p({...c,component:x});export{k as optionsFlowSkewFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as e}from"./react-qoZPGuNy.js";import{c as x}from"./format-DxkEZcwQ.js";import{f as p,bc as m,bd as v}from"./index-
|
|
1
|
+
import{r as l,j as e}from"./react-qoZPGuNy.js";import{c as x}from"./format-DxkEZcwQ.js";import{f as p,bc as m,bd as v}from"./index-BHlJHScr.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{M as f}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;const j={"7D":{ms:7*864e5,res:3600},"1M":{ms:30*864e5,res:43200},"3M":{ms:90*864e5,res:86400}};function g({config:a}){const{ms:i,res:o}=j[a.lookback],d=l.useMemo(()=>{const t=o*1e3;return Math.floor((Date.now()-i)/t)*t},[i,o]),{points:s,isLoading:h}=v(a.currency,d,o),u=l.useMemo(()=>s.map(t=>({date:new Date(t.time).toISOString(),value:t.value})),[s]);if(h)return e.jsx(c,{loading:!0,children:"loading volatility…"});if(s.length===0)return e.jsx(c,{children:"no volatility data yet"});const n=s[s.length-1].value,r=n-s[0].value;return e.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[e.jsxs("div",{className:"flex items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"caption text-soft uppercase",children:[a.currency," DVOL · implied vol"]}),e.jsx("div",{className:"metric-lg text-strong leading-none",children:n.toFixed(1)})]}),e.jsxs("div",{className:"text-right",children:[e.jsxs("div",{className:"body-md font-bold tabular-nums",style:{color:x(r)},children:[r>=0?"+":"",r.toFixed(1)]}),e.jsxs("div",{className:"caption text-soft",children:["past ",a.lookback]})]})]}),e.jsx(f,{data:u,width:320,height:54,color:"hsl(var(--zf-accent-hue, 242) 85% 72%)"})]})}const O=p({...m,component:g});export{O as optionsIvFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,j as t}from"./react-qoZPGuNy.js";import{d as h,e as m,f as j}from"./format-DxkEZcwQ.js";import{f as k,cZ as c,bb as y}from"./index-
|
|
1
|
+
import{r as d,j as t}from"./react-qoZPGuNy.js";import{d as h,e as m,f as j}from"./format-DxkEZcwQ.js";import{f as k,cZ as c,bb as y}from"./index-BHlJHScr.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{B as g}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function b({config:f}){const{summary:i,isLoading:x}=y(f.currency),a=d.useMemo(()=>{if(!i)return null;const n=i.nearestExpiry.strikes;if(n.length===0)return null;let o=n[0].strike,l=1/0;const u=n.map(r=>{let s=0;for(const e of n)r.strike>e.strike?s+=e.callOi*(r.strike-e.strike):r.strike<e.strike&&(s+=e.putOi*(e.strike-r.strike));return s<l&&(l=s,o=r.strike),s});return{bars:n.map((r,s)=>({label:h(r.strike),value:u[s],color:r.strike===o?"var(--color-highlight)":void 0})),maxPainStrike:o,spot:i.underlyingPrice,expiry:i.nearestExpiry.expiry}},[i]);return x?t.jsx(p,{loading:!0,children:"loading options…"}):a?t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-1 text-normal",children:[t.jsxs("div",{className:"caption text-soft flex justify-between",children:[t.jsxs("span",{children:["max pain · ",a.expiry]}),t.jsxs("span",{children:[t.jsx("span",{className:"text-strong font-bold",children:m(a.maxPainStrike)})," ",t.jsxs("span",{className:"text-soft",children:["vs spot ",m(a.spot)]})]})]}),t.jsx(g,{data:a.bars,color:"var(--color-disabled)",height:200,formatValue:j})]}):t.jsx(p,{children:"no options data yet"})}const C=k({...c,component:b});export{C as optionsMaxPainFrame};
|
package/runtime/assets/{options-max-pain-multi-BWvVp8w0.js → options-max-pain-multi-BLfX8Qe6.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as o}from"./react-qoZPGuNy.js";import{a as f,D as x,U as m}from"./format-DxkEZcwQ.js";import{f as d,d3 as c,bb as h}from"./index-
|
|
1
|
+
import{r as u,j as o}from"./react-qoZPGuNy.js";import{a as f,D as x,U as m}from"./format-DxkEZcwQ.js";import{f as d,d3 as c,bb as h}from"./index-BHlJHScr.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{B as k}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function M(e){if(e.length===0)return null;let t=e[0].strike,a=1/0;for(const r of e){let s=0;for(const i of e)r.strike>i.strike?s+=i.callOi*(r.strike-i.strike):r.strike<i.strike&&(s+=i.putOi*(i.strike-r.strike));s<a&&(a=s,t=r.strike)}return t}function O({config:e}){const{summary:t,isLoading:a}=h(e.currency),r=u.useMemo(()=>{const s=t==null?void 0:t.allExpiries,i=t==null?void 0:t.underlyingPrice;return!s||s.length===0||!i?[]:[...s].sort((n,l)=>n.expiryMs-l.expiryMs).slice(0,e.expiries).map(n=>{const l=M(n.strikes);return l===null?null:{label:n.expiry,value:(l/i-1)*100}}).filter(n=>n!==null)},[t,e.expiries]);return a?o.jsx(p,{loading:!0,children:"loading options…"}):r.length===0?o.jsx(p,{children:"no options data yet"}):o.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[o.jsx(k,{data:r,color:m,negativeColor:x,height:200,formatValue:f}),o.jsxs("div",{className:"caption text-soft text-center",children:["max pain vs spot, by expiry · ",e.currency]})]})}const F=d({...c,component:O});export{F as optionsMaxPainMultiFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as j,j as n}from"./react-qoZPGuNy.js";import{d as x}from"./format-DxkEZcwQ.js";import{f as y,d2 as h,bb as L}from"./index-
|
|
1
|
+
import{r as j,j as n}from"./react-qoZPGuNy.js";import{d as x}from"./format-DxkEZcwQ.js";import{f as y,d2 as h,bb as L}from"./index-BHlJHScr.js";import{F as d}from"./ui-Bq3RQsdJ.js";import{H}from"./index-Bw1aFtyx.js";import"./utils-DxneYyA_.js";h.schema;function w({data:r,width:a}){return a<44?null:n.jsx("div",{className:"flex h-full w-full items-center justify-center",children:n.jsx("span",{className:"caption text-normal tabular-nums",children:x(r.oi)})})}function C({config:r}){const{summary:a,isLoading:b}=L(r.currency),c=j.useMemo(()=>{const i=a==null?void 0:a.allExpiries;if(!i||i.length===0)return[];const p=[...i].sort((t,s)=>t.expiryMs-s.expiryMs).slice(0,r.expiries),l=p.flatMap(t=>t.strikes.map(s=>s.strike));if(l.length===0)return[];const m=Math.min(...l),M=Math.max(...l),u=Math.max(M-m,1e-6),o=r.buckets,k=t=>Math.min(o-1,Math.floor((t-m)/u*o)),O=t=>x(m+(t+.5)/o*u),f=[];for(const t of p){const s=new Array(o).fill(0);for(const e of t.strikes)s[k(e.strike)]+=e.callOi+e.putOi;for(let e=0;e<o;e++)f.push({id:`${t.expiry}-${e}`,row:t.expiry,column:O(e),value:s[e],oi:s[e]})}return f},[a,r.expiries,r.buckets]);return b?n.jsx(d,{loading:!0,children:"loading OI ladder…"}):c.length===0?n.jsx(d,{children:"no options data yet"}):n.jsx(H,{data:c,CellComponent:w,gap:3,showLabels:!0,rowLabelWidth:64,columnLabelHeight:20})}const $=y({...h,component:C});export{$ as optionsOiLadderHeatmapFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,j as t}from"./react-qoZPGuNy.js";import{d as l,D as p,U as c}from"./format-DxkEZcwQ.js";import{f,c_ as u,bb as h}from"./index-
|
|
1
|
+
import{r as d,j as t}from"./react-qoZPGuNy.js";import{d as l,D as p,U as c}from"./format-DxkEZcwQ.js";import{f,c_ as u,bb as h}from"./index-BHlJHScr.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{B as y}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";u.schema;function O({config:s}){const{summary:r,isLoading:x}=h(s.currency),a=d.useMemo(()=>{if(!r)return null;const o=r.underlyingPrice,n=r.nearestExpiry.strikes;return n.length===0?null:{data:[...n].sort((e,i)=>Math.abs(e.strike-o)-Math.abs(i.strike-o)).slice(0,s.strikes).sort((e,i)=>e.strike-i.strike).map(e=>({label:l(e.strike),value:e.callOi-e.putOi})),expiry:r.nearestExpiry.expiry}},[r,s.strikes]);return x?t.jsx(m,{loading:!0,children:"loading options…"}):a?t.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[t.jsx(y,{data:a.data,color:c,negativeColor:p,height:200,formatValue:l}),t.jsxs("div",{className:"caption text-soft flex justify-between",children:[t.jsx("span",{style:{color:c},children:"call-heavy"}),t.jsxs("span",{children:["net OI by strike · ",a.expiry]}),t.jsx("span",{style:{color:p},children:"put-heavy"})]})]}):t.jsx(m,{children:"no options data yet"})}const E=f({...u,component:O});export{E as optionsOiSkewFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as L,j as t}from"./react-qoZPGuNy.js";import{U as S,D as E,d as v,e as F}from"./format-DxkEZcwQ.js";import{f as P,be as N,bb as R}from"./index-
|
|
1
|
+
import{r as L,j as t}from"./react-qoZPGuNy.js";import{U as S,D as E,d as v,e as F}from"./format-DxkEZcwQ.js";import{f as P,be as N,bb as R}from"./index-BHlJHScr.js";import{F as g}from"./ui-Bq3RQsdJ.js";N.schema;const w=S,M=E;function B({config:h}){const{summary:p,isLoading:W}=R(h.currency),j=L.useMemo(()=>{if(!p)return null;const s=p.underlyingPrice,x=p.nearestExpiry.strikes;if(x.length===0)return null;const n=[...x].sort((r,y)=>Math.abs(r.strike-s)-Math.abs(y.strike-s)).slice(0,h.strikes).sort((r,y)=>r.strike-y.strike),d=Math.max(1,...n.map(r=>Math.max(r.callOi,r.putOi)));return{near:n,maxOi:d,spot:s,expiry:p.nearestExpiry.expiry}},[p,h.strikes]);if(W)return t.jsx(g,{loading:!0,children:"loading strikes…"});if(!j)return t.jsx(g,{children:"no options data yet"});const{near:e,maxOi:C,spot:a,expiry:H}=j,f=600,O=200,i=6,o=O-i-4,m=e.length,u=f/m,k=Math.max(2,u*.34),l=s=>s*u+u/2,b=s=>s/C*o;let c=null;if(a<=e[0].strike)c=l(0);else if(a>=e[m-1].strike)c=l(m-1);else for(let s=0;s<m-1;s++)if(a>=e[s].strike&&a<=e[s+1].strike){const x=e[s+1].strike-e[s].strike||1,n=(a-e[s].strike)/x;c=l(s)+n*(l(s+1)-l(s));break}return t.jsxs("div",{className:"flex h-full min-h-0 flex-col",children:[t.jsxs("div",{className:"caption text-soft mb-1 flex justify-between",children:[t.jsxs("span",{children:["OI by strike · ",H]}),t.jsxs("span",{children:[t.jsx("span",{style:{color:w},children:"calls"})," ·"," ",t.jsx("span",{style:{color:M},children:"puts"})]})]}),t.jsxs("svg",{viewBox:`0 0 ${f} ${O}`,preserveAspectRatio:"none",className:"min-h-0 w-full flex-1",children:[t.jsx("line",{x1:0,y1:i+o,x2:f,y2:i+o,style:{stroke:"var(--color-disabled)"},strokeWidth:1}),e.map((s,x)=>{const n=l(x),d=b(s.callOi),r=b(s.putOi);return t.jsxs("g",{children:[t.jsx("rect",{x:n-k-1,y:i+o-d,width:k,height:d,fill:w}),t.jsx("rect",{x:n+1,y:i+o-r,width:k,height:r,fill:M})]},s.strike)}),c!==null&&t.jsx("line",{x1:c,y1:i,x2:c,y2:i+o,style:{stroke:"var(--color-soft)"},strokeWidth:1,strokeDasharray:"4 3"})]}),t.jsxs("div",{className:"caption text-soft mt-1 flex justify-between tabular-nums",children:[t.jsx("span",{children:v(e[0].strike)}),t.jsxs("span",{className:"text-normal",children:["spot ",F(a)]}),t.jsx("span",{children:v(e[m-1].strike)})]})]})}const $=P({...N,component:B});export{$ as optionsOiStrikeFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{U as h,D as f,b as e}from"./format-DxkEZcwQ.js";import{f as j,ba as u,bb as v}from"./index-
|
|
1
|
+
import{j as s}from"./react-qoZPGuNy.js";import{U as h,D as f,b as e}from"./format-DxkEZcwQ.js";import{f as j,ba as u,bb as v}from"./index-BHlJHScr.js";import{F as d}from"./ui-Bq3RQsdJ.js";u.schema;const i=h,o=f;function b(t){return t>1?o:i}function y({config:t}){const{summary:l,isLoading:m}=v(t.currency);if(m)return s.jsx(d,{loading:!0,children:"loading options…"});if(!l)return s.jsx(d,{children:"no options data yet"});const n=t.basis==="oi"?l.putCallRatioOi:l.putCallRatioVolume,x=t.basis==="oi"?l.putCallRatioVolume:l.putCallRatioOi,r=l.callOi+l.putOi,a=r>0?l.callOi/r*100:50,c=100-a,p=b(n);return s.jsxs("div",{className:"flex h-full min-h-0 flex-col justify-center gap-3",children:[s.jsxs("div",{className:"flex items-end justify-between gap-3",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"caption text-soft uppercase",children:[t.currency," put/call · ",t.basis==="oi"?"OI":"vol"]}),s.jsx("div",{className:"metric-xl leading-none",style:{color:p},children:n.toFixed(2)})]}),s.jsxs("div",{className:"text-right",children:[s.jsx("div",{className:"body-md text-normal font-bold tabular-nums",children:x.toFixed(2)}),s.jsxs("div",{className:"caption text-soft",children:["by ",t.basis==="oi"?"volume":"OI"]})]})]}),s.jsxs("div",{children:[s.jsxs("div",{className:"flex h-3 w-full gap-1 overflow-hidden rounded-full",children:[s.jsx("div",{className:"h-full rounded-l-full",style:{width:`${a}%`,background:i}}),s.jsx("div",{className:"h-full rounded-r-full",style:{width:`${c}%`,background:o}})]}),s.jsxs("div",{className:"caption text-soft mt-1 flex justify-between tabular-nums",children:[s.jsxs("span",{children:[s.jsx("span",{style:{color:i},children:"calls"})," ",e(a,0)]}),s.jsxs("span",{children:[e(c,0)," ",s.jsx("span",{style:{color:o},children:"puts"})]})]})]}),s.jsxs("div",{className:"caption text-soft",children:["avg implied vol ",e(l.avgIv,1)]})]})}const g=j({...u,component:y});export{g as optionsPutCallFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as L,j as s}from"./react-qoZPGuNy.js";import{b as v,U as R,D as W,d as h,e as A}from"./format-DxkEZcwQ.js";import{f as C,d1 as I,bb as E}from"./index-
|
|
1
|
+
import{r as L,j as s}from"./react-qoZPGuNy.js";import{b as v,U as R,D as W,d as h,e as A}from"./format-DxkEZcwQ.js";import{f as C,d1 as I,bb as E}from"./index-BHlJHScr.js";import{F as j}from"./ui-Bq3RQsdJ.js";I.schema;const y=R,k=W;function F({config:g}){const{summary:i,isLoading:b}=E(g.currency),m=L.useMemo(()=>{if(!i)return null;const t=[...i.nearestExpiry.strikes].filter(e=>e.callIv!==void 0||e.putIv!==void 0).sort((e,w)=>e.strike-w.strike);if(t.length<2)return null;const n=t.flatMap(e=>[e.callIv,e.putIv]).filter(e=>e!==void 0);return n.length===0?null:{strikes:t,minIv:Math.min(...n),maxIv:Math.max(...n),spot:i.underlyingPrice,expiry:i.nearestExpiry.expiry}},[i]);if(b)return s.jsx(j,{loading:!0,children:"loading vol smile…"});if(!m)return s.jsx(j,{children:"no options data yet"});const{strikes:o,minIv:a,maxIv:x,spot:O,expiry:M}=m,c=600,d=200,r=6,l=d-r-4,p=o[0].strike,f=o[o.length-1].strike,N=f-p||1,P=t=>(t-p)/N*c,S=Math.max(x-a,1e-6),V=t=>r+l-(t-a)/S*l,u=t=>o.filter(n=>n[t]!==void 0).map(n=>`${P(n.strike)},${V(n[t])}`).join(" "),$=`${v(a,0)}–${v(x,0)}`;return s.jsxs("div",{className:"flex h-full min-h-0 flex-col",children:[s.jsxs("div",{className:"caption text-soft mb-1 flex justify-between",children:[s.jsxs("span",{children:["vol smile · ",M]}),s.jsxs("span",{children:[s.jsx("span",{style:{color:y},children:"call IV"})," ·"," ",s.jsx("span",{style:{color:k},children:"put IV"})]})]}),s.jsxs("svg",{viewBox:`0 0 ${c} ${d}`,preserveAspectRatio:"none",className:"min-h-0 w-full flex-1",children:[s.jsx("line",{x1:0,y1:r+l,x2:c,y2:r+l,style:{stroke:"var(--color-disabled)"},strokeWidth:1}),s.jsx("polyline",{points:u("callIv"),fill:"none",stroke:y,strokeWidth:1.5}),s.jsx("polyline",{points:u("putIv"),fill:"none",stroke:k,strokeWidth:1.5})]}),s.jsxs("div",{className:"caption text-soft mt-1 flex justify-between tabular-nums",children:[s.jsx("span",{children:h(p)}),s.jsxs("span",{className:"text-normal",children:["spot ",A(O)," · ",$," IV"]}),s.jsx("span",{children:h(f)})]})]})}const _=C({...I,component:F});export{_ as optionsVolSmileFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,j as i}from"./react-qoZPGuNy.js";import{f as g,c$ as u,bd as l}from"./index-
|
|
1
|
+
import{r as d,j as i}from"./react-qoZPGuNy.js";import{f as g,c$ as u,bd as l}from"./index-BHlJHScr.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{a as s,C as f}from"./chart-utils-DGogNvJT.js";import{M as L}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";u.schema;const x={"7D":{ms:7*864e5,res:3600,timeframe:s["7D"]},"1M":{ms:30*864e5,res:43200,timeframe:s["1M"]},"3M":{ms:90*864e5,res:86400,timeframe:s["3M"]}};function C({config:M}){const{ms:r,res:e,timeframe:h}=x[M.lookback],n=d.useMemo(()=>{const t=e*1e3;return Math.floor((Date.now()-r)/t)*t},[r,e]),o=l("BTC",n,e),a=l("ETH",n,e),m=d.useMemo(()=>[{id:"BTC",name:"BTC DVOL",points:o.points},{id:"ETH",name:"ETH DVOL",points:a.points}].map((t,S)=>({id:t.id,name:t.name,color:f[S%f.length],data:t.points.map(p=>({date:new Date(p.time).toISOString(),value:p.value}))})),[o.points,a.points]);return o.isLoading||a.isLoading?i.jsx(c,{loading:!0,children:"loading volatility…"}):m.every(t=>t.data.length===0)?i.jsx(c,{children:"no volatility data yet"}):i.jsx(L,{series:m,timeframe:h,height:250,formatValue:t=>t.toFixed(1)})}const F=g({...u,component:C});export{F as optionsVolSpreadFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,j as a}from"./react-qoZPGuNy.js";import{D as h,U as x,d as m}from"./format-DxkEZcwQ.js";import{f as y,dk as i,S as g}from"./index-
|
|
1
|
+
import{r as d,j as a}from"./react-qoZPGuNy.js";import{D as h,U as x,d as m}from"./format-DxkEZcwQ.js";import{f as y,dk as i,S as g}from"./index-BHlJHScr.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{B as j}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;const v="CES0000000001";function C({config:o}){const r=new Date().getUTCFullYear(),p=r-3,{series:t,isLoading:u}=g(v,p,r),s=d.useMemo(()=>{const e=(t==null?void 0:t.points)??[];return e.slice(1).map((n,f)=>({label:n.date,value:n.value-e[f].value})).slice(-o.months)},[t,o.months]);if(u)return a.jsx(c,{loading:!0,children:"loading payrolls…"});if(s.length===0)return a.jsx(c,{children:"no payrolls data yet"});const l=s.at(-1);return a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(j,{data:s,color:x,negativeColor:h,height:200,formatValue:e=>m(e*1e3),showValues:!1,maxTickLabels:6}),a.jsxs("div",{className:"caption text-soft text-center",children:["nonfarm payrolls · monthly net change · latest"," ",l.value>=0?"+":"",m(l.value*1e3)]})]})}const D=y({...i,component:C});export{D as payrollsBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as g,j as a}from"./react-qoZPGuNy.js";import{z as C,Z as b,a as x,M as N}from"./cycle-shared-XoGVsOjC.js";import{D as O}from"./format-DxkEZcwQ.js";import{s as m,t as A,w as D}from"./indicators-Cw7CVPn4.js";import{f as M,bp as u,bo as j}from"./index-
|
|
1
|
+
import{r as g,j as a}from"./react-qoZPGuNy.js";import{z as C,Z as b,a as x,M as N}from"./cycle-shared-XoGVsOjC.js";import{D as O}from"./format-DxkEZcwQ.js";import{s as m,t as A,w as D}from"./indicators-Cw7CVPn4.js";import{f as M,bp as u,bo as j}from"./index-BHlJHScr.js";import{F as p}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";u.schema;function w({config:f}){const{history:e,isLoading:h}=j("btc"),t=g.useMemo(()=>{const n=e.map(o=>o.value),y=m(n,111),d=m(n,350),l=[];for(let o=0;o<e.length;o++){const c=y[o],r=d[o];c!==null&&r!==null&&r>0&&l.push({time:e[o].time,value:c/(2*r)})}return l},[e]);if(h)return a.jsx(p,{loading:!0,children:"loading Pi Cycle…"});if(t.length===0)return a.jsx(p,{children:"not enough price history yet"});const i=t[t.length-1].value,s=C(i,[{upTo:.85,zone:{label:"Normal",color:b}},{upTo:1,zone:{label:"Approaching top",color:x}}],{label:"TOP SIGNAL",color:O});return a.jsx(N,{caption:"Pi Cycle · 111DMA ÷ 2×350DMA",headline:i.toFixed(2),headlineColor:s.color,zone:s,sub:"crosses 1 at cycle tops",sparkline:A(t,D(f.window)),sparkColor:s.color})}const _=M({...u,component:w});export{_ as piCycleFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r,j as s}from"./react-qoZPGuNy.js";import{i as k}from"./content-shared-BZ1XzrJx.js";import{f as w,b_ as y}from"./index-
|
|
1
|
+
import{r,j as s}from"./react-qoZPGuNy.js";import{i as k}from"./content-shared-BZ1XzrJx.js";import{f as w,b_ as y}from"./index-BHlJHScr.js";y.schema;function M(e){const t=Math.floor(e/60),n=e%60;return`${t}:${String(n).padStart(2,"0")}`}function R({config:e}){const t=Math.max(1,Math.round(e.workMin*60)),n=Math.max(1,Math.round(e.breakMin*60)),[a,c]=r.useState("work"),[b,o]=r.useState(t),[l,i]=r.useState(!1),[u,m]=r.useState(1);r.useEffect(()=>{c("work"),o(t),i(!1),m(1)},[t,n]);const p=r.useRef(a);p.current=a;const x=r.useRef(u);x.current=u,r.useEffect(()=>{if(!l)return;const f=setInterval(()=>{o(h=>h>1?h-1:p.current==="work"?(c("break"),n):(c("work"),m(S=>x.current>=e.cycles?1:S+1),t))},1e3);return()=>clearInterval(f)},[l,t,n,e.cycles]);const j=()=>{i(!1),c("work"),o(t),m(1)},d=e.label.trim(),v=a==="work"?"var(--color-highlight)":void 0;return s.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-1",children:[d&&s.jsx("div",{className:"caption text-soft uppercase tracking-[0.12em]",children:d}),s.jsxs("div",{className:"caption text-soft uppercase tracking-[0.18em]",children:[a," · ",u,"/",e.cycles]}),s.jsx("div",{className:"metric-xl text-strong",style:{color:v},children:M(b)}),s.jsxs("div",{className:"mt-1 flex gap-1",children:[s.jsx("button",{type:"button",onClick:()=>i(f=>!f),className:`caption text-normal px-3 py-1 ${k}`,children:l?"Pause":"Start"}),s.jsx("button",{type:"button",onClick:j,className:`caption text-soft px-3 py-1 ${k}`,children:"Reset"})]})]})}const $=w({...y,component:R});export{$ as pomodoroFrame};
|
package/runtime/assets/{portfolio-allocation-BmnvEhEW.js → portfolio-allocation-DHN6r6fl.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,r as f}from"./react-qoZPGuNy.js";import{f as u,g as m,h as x}from"./index-
|
|
1
|
+
import{j as e,r as f}from"./react-qoZPGuNy.js";import{f as u,g as m,h as x}from"./index-BHlJHScr.js";import{f as i,b as d}from"./format-DxkEZcwQ.js";import{P as p,u as h,a as j}from"./portfolio-common-e3o9U7qd.js";import{F as g}from"./ui-Bq3RQsdJ.js";import{C as c}from"./chart-utils-DGogNvJT.js";import{P as v}from"./pie-chart-BIxKuHm-.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;function b({portfolio:s,config:l}){const{priced:r}=h(s.holdings),t=f.useMemo(()=>r.map((a,o)=>({name:x(a.symbol),value:a.value??0,color:c[o%c.length]})).filter(a=>a.value>0).sort((a,o)=>o.value-a.value),[r]),n=t.reduce((a,o)=>a+o.value,0);return t.length===0?e.jsx(g,{children:"no live prices yet"}):e.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[e.jsx(v,{data:t,width:200,height:200,innerRadius:58,outerRadius:92,colors:t.map(a=>a.color),children:e.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[e.jsx(j,{portfolio:s,config:l,className:"caption text-soft"}),e.jsx("span",{className:"metric-lg text-strong",children:i(n)})]})}),e.jsx("div",{className:"flex w-full max-w-xs flex-wrap justify-center gap-x-5 gap-y-1.5",children:t.map(a=>e.jsxs("div",{className:"flex items-center gap-1.5",children:[e.jsx("span",{className:"h-2 w-2 flex-shrink-0 rounded-full",style:{background:a.color}}),e.jsx("span",{className:"body-sm text-soft",children:a.name}),e.jsx("span",{className:"body-sm text-normal font-bold tabular-nums",children:d(a.value/n*100,1)}),e.jsx("span",{className:"caption text-soft tabular-nums",children:i(a.value)})]},a.name))})]})}function N({config:s}){return e.jsx(p,{config:s,loadingLabel:"loading allocation…",children:l=>e.jsx(b,{portfolio:l,config:s})})}const S=u({...m,component:N});export{S as portfolioAllocationFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s,r as d}from"./react-qoZPGuNy.js";import{a9 as k,z as w,aa as g,A as y,a8 as j}from"./index-
|
|
1
|
+
import{j as s,r as d}from"./react-qoZPGuNy.js";import{a9 as k,z as w,aa as g,A as y,a8 as j}from"./index-BHlJHScr.js";import{F as h}from"./ui-Bq3RQsdJ.js";function P(n){if(n.source==="wallet"){const o=(n.address??"").trim();return o?{kind:"wallet",address:o}:null}return{kind:"binance"}}const C={WETH:"ETH",WBTC:"BTC"};function x(n){return C[n.toUpperCase()]??n}function D(n){const o=n??[],r=o.map(e=>x(e.symbol)),l=w(r);return d.useMemo(()=>{const e=o.map(a=>{const u=l[x(a.symbol)],c=u!==void 0?a.amount*u:a.valueUsd;return{...a,value:c}}),i=e.reduce((a,u)=>a+(u.value??0),0);return{priced:e,total:i}},[n,l])}function _({portfolio:n,config:o,className:r=""}){var i;const l=n.label??(o.source==="wallet"?"wallet":"portfolio"),e=(i=o.address)==null?void 0:i.trim();return o.source==="wallet"&&e?s.jsx("a",{href:`https://etherscan.io/address/${encodeURIComponent(e)}`,target:"_blank",rel:"noopener noreferrer",title:"View on Etherscan",className:`hover:text-white hover:underline ${r}`,onClick:a=>a.stopPropagation(),onPointerDown:a=>a.stopPropagation(),children:l}):s.jsx("span",{className:r,children:l})}function v(n,o){const r=(n==null?void 0:n.kind)==="binance",[l,e]=d.useState({loading:r,connected:!1,keyMasked:null});return d.useEffect(()=>{if(!r||!n){e({loading:!1,connected:!1,keyMasked:null});return}let i=!1;return e(a=>({...a,loading:!0})),fetch(`${g}?source=${n.kind}`,{headers:{accept:"application/json"}}).then(a=>a.ok?a.json():{connected:!1,keyMasked:null}).then(a=>{i||e({loading:!1,connected:!!a.connected,keyMasked:a.keyMasked??null})}).catch(()=>{i||e({loading:!1,connected:!1,keyMasked:null})}),()=>{i=!0}},[r,n==null?void 0:n.kind,o]),l}function N(n){const[o,r]=d.useState(0),l=d.useCallback(()=>r(p=>p+1),[]),e=P(n),i=v(e,o),a=(e==null?void 0:e.kind)==="binance",u=!!e&&(!a||i.connected),{portfolio:c,isLoading:f}=k(u?e:null);let t;return e?a&&i.loading?t={state:"checking"}:a&&!i.connected?t={state:"needs-connect",source:e}:f&&!c?t={state:"loading"}:c?c.holdings.length===0?t={state:"empty",portfolio:c}:t={state:"live",portfolio:c}:t={state:"error"}:t={state:"needs-address"},{view:t,refresh:l}}const m="w-full rounded-md border border-white/10 bg-white/[0.04] px-2 py-1.5 text-xs text-white/90 outline-none focus:border-white/25 placeholder:text-white/30",b="rounded-md bg-[hsl(var(--zf-accent-hue,242)_90%_60%)] px-3 py-1.5 text-xs font-semibold text-white disabled:opacity-50";function S({onConnected:n}){const[o,r]=d.useState(""),[l,e]=d.useState(""),[i,a]=d.useState(!1),[u,c]=d.useState(null),f=async()=>{a(!0),c(null);try{const t=await fetch(g,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({source:"binance",key:o.trim(),secret:l.trim()})}),p=await t.json().catch(()=>({}));if(!t.ok||!p.ok)throw new Error(p.error??`HTTP ${t.status}`);r(""),e(""),n()}catch(t){c(t instanceof Error?t.message:String(t))}finally{a(!1)}};return s.jsxs("div",{className:"flex h-full w-full flex-col justify-center gap-2 px-1",children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx(y,{symbol:"BNB",size:18}),s.jsx("span",{className:"text-strong text-sm font-bold",children:"Connect Binance"})]}),s.jsxs("p",{className:"caption text-soft",children:["Use a ",s.jsx("strong",{children:"read-only"})," key + secret — create them in Binance"," ",s.jsx("a",{href:"https://www.binance.com/en/my/settings/api-management",target:"_blank",rel:"noopener noreferrer",className:"text-[hsl(var(--zf-accent-hue,242)_90%_72%)] underline underline-offset-2 hover:text-white",onClick:t=>t.stopPropagation(),onPointerDown:t=>t.stopPropagation(),children:"API Management"})," ","(enable Reading only). Both stay on your machine, never shared."]}),s.jsx("input",{className:m,placeholder:"API key",value:o,autoComplete:"off",onChange:t=>r(t.target.value),onPointerDown:t=>t.stopPropagation()}),s.jsx("input",{className:m,placeholder:"API secret",type:"password",value:l,autoComplete:"off",onChange:t=>e(t.target.value),onPointerDown:t=>t.stopPropagation()}),u?s.jsx("p",{className:"caption text-[#ff6b81]",children:u}):null,s.jsx("button",{type:"button",className:b,disabled:i||!o.trim()||!l.trim(),onClick:t=>{t.stopPropagation(),f()},onPointerDown:t=>t.stopPropagation(),children:i?"Verifying…":"Connect"})]})}function E({current:n}){const o=j(),[r,l]=d.useState(n??"");return s.jsxs("div",{className:"flex h-full w-full flex-col justify-center gap-2 px-1",children:[s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx(y,{symbol:"ETH",size:18}),s.jsx("span",{className:"text-strong text-sm font-bold",children:"Track a wallet"})]}),s.jsx("p",{className:"caption text-soft",children:"Enter a public Ethereum address or ENS name. No keys — it’s public on-chain data. Sharing this dashboard reveals the holdings."}),s.jsx("input",{className:m,placeholder:"0x… or name.eth",value:r,autoComplete:"off",onChange:e=>l(e.target.value),onPointerDown:e=>e.stopPropagation()}),o?s.jsx("button",{type:"button",className:b,disabled:!r.trim(),onClick:e=>{e.stopPropagation(),o({address:r.trim()})},onPointerDown:e=>e.stopPropagation(),children:"Track"}):s.jsx("p",{className:"caption text-soft",children:"Set the address in the frame’s config to start tracking."})]})}function I({config:n,loadingLabel:o="loading portfolio…",children:r}){const{view:l,refresh:e}=N(n);switch(l.state){case"needs-address":case"needs-connect":return s.jsx(T,{view:l,config:n,onConnected:e});case"checking":case"loading":return s.jsx(h,{loading:!0,children:o});case"error":return s.jsx(h,{children:"couldn’t load — check the address or try again"});case"empty":return s.jsx(h,{children:"no holdings to show"});case"live":return s.jsx(s.Fragment,{children:r(l.portfolio)})}}function T({view:n,config:o,onConnected:r}){return n.state==="needs-connect"&&n.source.kind==="binance"?s.jsx(S,{onConnected:r}):s.jsx(E,{current:o.address})}export{I as P,_ as a,D as u};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s,r as m}from"./react-qoZPGuNy.js";import{f as d,i as n,A as x,h as f}from"./index-
|
|
1
|
+
import{j as s,r as m}from"./react-qoZPGuNy.js";import{f as d,i as n,A as x,h as f}from"./index-BHlJHScr.js";import{f as i,b as h,a as p,c as u}from"./format-DxkEZcwQ.js";import{P as b,u as g,a as j}from"./portfolio-common-e3o9U7qd.js";import{s as N}from"./ui-Bq3RQsdJ.js";n.schema;function y(t){return t>=1e3?t.toLocaleString("en-US",{maximumFractionDigits:2}):t>=1?t.toFixed(4).replace(/\.?0+$/,""):t.toPrecision(4)}function v({portfolio:t,config:a}){const{priced:l,total:r}=g(t.holdings),c=m.useMemo(()=>[...l].sort((e,o)=>(o.value??0)-(e.value??0)),[l]);return s.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[s.jsxs("div",{className:"flex items-baseline justify-between border-b border-white/[0.06] pb-1.5",children:[s.jsx(j,{portfolio:t,config:a,className:"caption text-soft"}),s.jsx("span",{className:"metric-sm text-strong",children:i(r)})]}),s.jsx("div",{className:N,children:s.jsx("table",{className:"w-full text-xs",children:s.jsx("tbody",{children:c.map(e=>{const o=r>0?(e.value??0)/r*100:0;return s.jsxs("tr",{className:"border-b border-white/[0.04]",children:[s.jsx("td",{className:"py-1.5",children:s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx(x,{symbol:e.symbol,size:16}),s.jsx("span",{className:"text-normal font-semibold",children:f(e.symbol)})]})}),s.jsx("td",{className:"text-soft py-1.5 text-right tabular-nums",children:y(e.amount)}),s.jsx("td",{className:"text-normal py-1.5 text-right font-semibold tabular-nums",children:e.value!==void 0?i(e.value):"—"}),s.jsx("td",{className:"text-soft py-1.5 text-right tabular-nums",children:h(o,1)}),s.jsx("td",{className:"py-1.5 text-right tabular-nums",children:e.changePct24h!==void 0?s.jsx("span",{style:{color:u(e.changePct24h)},children:p(e.changePct24h)}):s.jsx("span",{className:"text-soft",children:"·"})})]},e.symbol)})})})})]})}function P({config:t}){return s.jsx(b,{config:t,loadingLabel:"loading holdings…",children:a=>s.jsx(v,{portfolio:a,config:t})})}const L=d({...n,component:P});export{L as portfolioHoldingsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,r as n}from"./react-qoZPGuNy.js";import{f as l,dy as i,h}from"./index-
|
|
1
|
+
import{j as e,r as n}from"./react-qoZPGuNy.js";import{f as l,dy as i,h}from"./index-BHlJHScr.js";import{a as m,D as c,U as f}from"./format-DxkEZcwQ.js";import{P as g,a as p}from"./portfolio-common-e3o9U7qd.js";import{F as x}from"./ui-Bq3RQsdJ.js";import{B as d}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function u({portfolio:a,config:o}){const r=n.useMemo(()=>[...a.holdings].filter(t=>Number.isFinite(t.changePct24h)).sort((t,s)=>Math.abs(s.changePct24h)-Math.abs(t.changePct24h)).slice(0,o.limit).sort((t,s)=>s.changePct24h-t.changePct24h).map(t=>({label:h(t.symbol),value:t.changePct24h})),[a.holdings,o.limit]);return r.length===0?e.jsx(x,{children:"no 24h change reported for these holdings"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(p,{portfolio:a,config:o,className:"caption text-soft"}),e.jsx(d,{data:r,orientation:"horizontal",color:f,negativeColor:c,height:Math.max(r.length*22,96),formatValue:m})]})}function P({config:a}){return e.jsx(g,{config:a,loadingLabel:"loading holdings…",children:o=>e.jsx(u,{portfolio:o,config:a})})}const N=l({...i,component:P});export{N as portfolioMoversFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,r as o}from"./react-qoZPGuNy.js";import{L as V}from"./liveline-bcaEuskN.js";import{f as N,a as L,c as D}from"./format-DxkEZcwQ.js";import{u as I,o as F}from"./live-tick-9Q3ubPF9.js";import{P as H,u as W,a as _}from"./portfolio-common-
|
|
1
|
+
import{j as e,r as o}from"./react-qoZPGuNy.js";import{L as V}from"./liveline-bcaEuskN.js";import{f as N,a as L,c as D}from"./format-DxkEZcwQ.js";import{u as I,o as F}from"./live-tick-9Q3ubPF9.js";import{P as H,u as W,a as _}from"./portfolio-common-e3o9U7qd.js";import{f as k,p as y}from"./index-BHlJHScr.js";import"./ui-Bq3RQsdJ.js";const w=720,d=3,q={top:12,right:66,bottom:28,left:8};y.schema;function A(){return typeof document>"u"?"hsl(242 90% 66%)":`hsl(${getComputedStyle(document.documentElement).getPropertyValue("--zf-accent-hue").trim()||"242"} 90% 66%)`}function G({portfolio:a,config:c,windowSec:h}){var v;const{total:t}=W(a.holdings),p=o.useMemo(()=>A(),[]),{ref:P,visibleRef:x}=I(),u=o.useRef(!1),[s,M]=o.useState([]),b=o.useRef(t);o.useEffect(()=>{b.current=t},[t]);const i=o.useCallback(()=>{if(!x.current){u.current=!0;return}const n=b.current;if(!Number.isFinite(n)||n<=0)return;const l=Date.now()/1e3,S=u.current;u.current=!1,M(C=>{const r=S?[]:C,f=r[r.length-1];if(f&&Math.abs(l-f.time)<.5&&f.value===n)return r;const m=r.length===0?[{time:l-d,value:n},{time:l,value:n}]:[...r,{time:l,value:n}];return m.length>w?m.slice(-w):m})},[x]);o.useEffect(()=>{i()},[i,t]),o.useEffect(()=>F(i),[i]);const g=(v=s[0])==null?void 0:v.value,j=g&&t?(t/g-1)*100:0,E=o.useMemo(()=>s.length===0?[]:[{id:"equity",label:"Portfolio",color:p,data:s,value:t}],[s,t,p]),R=o.useMemo(()=>{if(s.length===0)return d;const n=s[s.length-1].time-s[0].time;return Math.min(h,Math.max(d,Math.ceil(n)))},[s,h]);return e.jsxs("div",{ref:P,className:"flex h-full min-h-0 flex-col",children:[e.jsxs("div",{className:"flex flex-none items-baseline justify-between border-b border-white/[0.06] pb-2",children:[e.jsxs("div",{className:"flex flex-col",children:[e.jsx(_,{portfolio:a,config:c,className:"caption text-soft"}),e.jsx("span",{className:"metric-md text-strong",children:N(t)})]}),e.jsxs("span",{className:"body-sm font-semibold tabular-nums",style:{color:D(j)},children:[L(j)," ",e.jsx("span",{className:"caption text-soft",children:"session"})]})]}),e.jsx("div",{className:"min-h-0 flex-1 [&>div[style*='align-items']]:!hidden",children:e.jsx(V,{data:[],value:t,series:E,theme:"dark",window:R,grid:!0,loading:s.length<=1,scrub:!1,badge:!1,formatValue:N,padding:q,style:{width:"100%",height:"100%"}})})]})}function O({config:a}){return e.jsx(H,{config:a,loadingLabel:"loading portfolio…",children:c=>e.jsx(G,{portfolio:c,config:a,windowSec:a.windowSec})})}const K=k({...y,component:O});export{K as portfolioValueFrame};
|
package/runtime/assets/{portfolio-value-bars-B5PlVsS-.js → portfolio-value-bars-B8XP7r22.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e,r as c}from"./react-qoZPGuNy.js";import{f,dz as i,h as u}from"./index-
|
|
1
|
+
import{j as e,r as c}from"./react-qoZPGuNy.js";import{f,dz as i,h as u}from"./index-BHlJHScr.js";import{f as l}from"./format-DxkEZcwQ.js";import{P as p,u as x,a as d}from"./portfolio-common-e3o9U7qd.js";import{F as h}from"./ui-Bq3RQsdJ.js";import{B as j}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function v({portfolio:t,config:s}){const{priced:o,total:m}=x(t.holdings),r=c.useMemo(()=>o.filter(a=>(a.value??0)>0).sort((a,n)=>(n.value??0)-(a.value??0)).slice(0,s.limit).map(a=>({label:u(a.symbol),value:a.value??0})),[o,s.limit]);return r.length===0?e.jsx(h,{children:"no live prices yet"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsxs("div",{className:"flex items-baseline justify-between px-0.5",children:[e.jsx(d,{portfolio:t,config:s,className:"caption text-soft"}),e.jsx("span",{className:"metric-sm text-strong",children:l(m)})]}),e.jsx(j,{data:r,orientation:"horizontal",height:Math.max(r.length*24,96),formatValue:l})]})}function g({config:t}){return e.jsx(p,{config:t,loadingLabel:"loading holdings…",children:s=>e.jsx(v,{portfolio:s,config:t})})}const z=f({...i,component:g});export{z as portfolioValueBarsFrame};
|
package/runtime/assets/{prediction-market-bars-CjhLqjKZ.js → prediction-market-bars-Du1RxZc_.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as r}from"./react-qoZPGuNy.js";import{f as l}from"./format-DxkEZcwQ.js";import{f as c,dt as s,bI as f}from"./index-
|
|
1
|
+
import{r as m,j as r}from"./react-qoZPGuNy.js";import{f as l}from"./format-DxkEZcwQ.js";import{f as c,dt as s,bI as f}from"./index-BHlJHScr.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{B as u}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function d(t,e=28){return t.length>e?`${t.slice(0,e-1)}…`:t}function p({config:t}){const{markets:e,isLoading:n}=f(t.limit),a=m.useMemo(()=>e.map(o=>({label:d(o.question),value:o.volume24h})),[e]);return n?r.jsx(i,{loading:!0,children:"loading markets…"}):a.length===0?r.jsx(i,{children:"no markets yet"}):r.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[r.jsx(u,{data:a,orientation:"horizontal",height:Math.max(a.length*26,96),formatValue:l}),r.jsx("div",{className:"caption text-soft text-center",children:"prediction markets · 24h volume"})]})}const B=c({...s,component:p});export{B as predictionMarketBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p,j as o}from"./react-qoZPGuNy.js";import{f as u,b as f}from"./format-DxkEZcwQ.js";import{f as d,dw as i,bI as h}from"./index-
|
|
1
|
+
import{r as p,j as o}from"./react-qoZPGuNy.js";import{f as u,b as f}from"./format-DxkEZcwQ.js";import{f as d,dw as i,bI as h}from"./index-BHlJHScr.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{S as x}from"./scatter-chart-B78EA7lD.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function g(e,r=20){return e.length>r?`${e.slice(0,r-1)}…`:e}const b=e=>f(e,0);function j({config:e}){const{markets:r,isLoading:n}=h(e.limit),a=p.useMemo(()=>r.filter(t=>t.outcomes.length>0&&t.volume24h>0).map(t=>{const c=[...t.outcomes].sort((m,l)=>l.prob-m.prob)[0];return{id:t.question,label:g(t.question),x:c.prob*100,y:t.volume24h,weight:t.volume24h}}),[r]);return n?o.jsx(s,{loading:!0,children:"loading markets…"}):a.length===0?o.jsx(s,{children:"no markets yet"}):o.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[o.jsx(x,{data:a,yScale:"log",height:210,formatX:b,formatY:u,maxLabels:10}),o.jsxs("div",{className:"caption text-soft text-center",children:["top-outcome probability (x) vs 24h volume (y, log) · top ",a.length]})]})}const L=d({...i,component:j});export{L as predictionMarketScatterFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as r}from"./react-qoZPGuNy.js";import{U as p,b as f,f as d}from"./format-DxkEZcwQ.js";import{M as u}from"./metric-row-BVVhjsjK.js";import{f as x,bH as a,bI as b}from"./index-
|
|
1
|
+
import{j as r}from"./react-qoZPGuNy.js";import{U as p,b as f,f as d}from"./format-DxkEZcwQ.js";import{M as u}from"./metric-row-BVVhjsjK.js";import{f as x,bH as a,bI as b}from"./index-BHlJHScr.js";import{F as s,s as h}from"./ui-Bq3RQsdJ.js";a.schema;function j({config:i}){const{markets:t,isLoading:n}=b(i.limit);return n?r.jsx(s,{loading:!0,children:"loading markets…"}):t.length===0?r.jsx(s,{children:"no markets yet"}):r.jsx("div",{className:`${h} flex flex-col`,children:t.map((e,m)=>{const o=[...e.outcomes].sort((l,c)=>c.prob-l.prob)[0];return r.jsx(u,{label:e.question,meta:`${o.label} · vol ${d(e.volume24h)}`,value:r.jsx("span",{style:{color:p},children:f(o.prob*100,0)})},m)})})}const P=x({...a,component:j});export{P as predictionMarketsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as p}from"./react-qoZPGuNy.js";import{B as b}from"./bubbles-shared-
|
|
1
|
+
import{r as m,j as p}from"./react-qoZPGuNy.js";import{B as b}from"./bubbles-shared-DlmjtiIA.js";import{b as d,f}from"./format-DxkEZcwQ.js";import{f as h,dB as l,bI as M}from"./index-BHlJHScr.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function $(s,o=18){const e=s.trim();if(e.length<=o)return e;const r=e.slice(0,o),t=r.lastIndexOf(" ");return`${t>o*.5?r.slice(0,t):r}…`}function v(s){const o=Math.max(0,Math.min(1,(s-.5)/.5)),e=Math.round(64-o*22);return`hsl(152 ${Math.round(30+o*50)}% ${e}%)`}function g({config:s}){const{markets:o,isLoading:e}=M(s.limit),r=m.useMemo(()=>o.filter(t=>t.volume24h>0).map((t,n)=>{const a=[...t.outcomes].sort((c,u)=>u.prob-c.prob)[0],i=v(a.prob);return{id:`${n}-${t.question}`,label:$(t.question),value:t.volume24h,color:i,borderColor:i,question:t.question,topLabel:a.label,topProb:a.prob,volume24h:t.volume24h}}),[o]);return p.jsx(b,{nodes:r,isLoading:e,loadingText:"loading markets…",emptyText:"no markets yet",caption:`area by 24h volume · tint by leading-outcome confidence · top ${r.length}`,formatTitle:t=>{const n=t;return`${n.question} — ${n.topLabel} ${d(n.topProb*100,0)} · vol ${f(n.volume24h)}`}})}const L=h({...l,component:g});export{L as predictionMarketsBubbleFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as i,r as o}from"./react-qoZPGuNy.js";import{L as T}from"./liveline-bcaEuskN.js";import{f as j,ab as v,A as E,z as y,h as P,ac as A}from"./index-
|
|
1
|
+
import{j as i,r as o}from"./react-qoZPGuNy.js";import{L as T}from"./liveline-bcaEuskN.js";import{f as j,ab as v,A as E,z as y,h as P,ac as A}from"./index-BHlJHScr.js";import{e as x}from"./format-DxkEZcwQ.js";import{u as N}from"./live-tick-9Q3ubPF9.js";import{F as k}from"./ui-Bq3RQsdJ.js";const f={"1m":6e4,"5m":5*6e4,"15m":15*6e4,"1h":60*6e4,"4h":240*6e4,"1d":1440*6e4},w=60,F={top:12,right:56,bottom:28,left:12};v.schema;function I({config:t}){const s=f[t.interval],c=o.useMemo(()=>Date.now()-s*w,[s]),{candles:n,isLoading:p}=A(t.symbol,t.interval,c,Math.min(s,6e4)),a=y([t.symbol])[t.symbol],{ref:M,visibleRef:b}=N(),h=o.useRef(!1),[u,g]=o.useState([]);o.useEffect(()=>{if(a===void 0)return;if(!b.current){h.current=!0;return}const e=h.current;h.current=!1,g(m=>{const d=[...e?[]:m,{time:Date.now()/1e3,value:a}];return d.length>900?d.slice(-600):d})},[a,b]),o.useEffect(()=>g([]),[t.symbol]);const S=o.useMemo(()=>n.slice(0,-1).map(e=>({time:e.time/1e3,open:e.open,high:e.high,low:e.low,close:e.close})),[n]),r=n[n.length-1],C=o.useMemo(()=>{if(!r)return;const e=a??r.close;return{time:r.time/1e3,open:r.open,high:Math.max(r.high,e),low:Math.min(r.low,e),close:e}},[r,a]),D=a??(r==null?void 0:r.close)??0,L=o.useMemo(()=>s>=f["1d"]?e=>new Date(e*1e3).toLocaleDateString("en-US",{month:"short",day:"numeric"}):s>=f["1h"]?e=>{const m=new Date(e*1e3);return`${m.toLocaleDateString("en-US",{month:"short",day:"numeric"})} ${String(m.getHours()).padStart(2,"0")}h`}:e=>new Date(e*1e3).toLocaleTimeString("en-US",{hour12:!1,hour:"2-digit",minute:"2-digit"}),[s]),R=o.useMemo(()=>{const e=n.map(l=>({time:l.time/1e3,value:l.close}));if(u.length===0)return e;const m=u[0].time;return[...e.filter(l=>l.time<m),...u]},[n,u]);return p&&n.length===0?i.jsx(k,{loading:!0,children:"loading chart…"}):i.jsx("div",{ref:M,className:"h-full min-h-0",children:i.jsx(T,{mode:t.mode,data:R,value:D,candles:S,candleWidth:s/1e3,liveCandle:C,window:s/1e3*w,color:t.color,theme:"dark",loading:p,formatValue:x,formatTime:L,padding:F,showValue:!0,fill:!0,pulse:!0})})}function V({config:t}){const s=t.mode==="candle",c=y(s?[t.symbol]:[])[t.symbol];return i.jsxs(i.Fragment,{children:[P(t.symbol),s&&c!==void 0&&i.jsx("span",{style:{marginInlineStart:"0.5em",color:"rgba(255, 255, 255, 0.82)",fontVariantNumeric:"tabular-nums"},children:x(c)})]})}const W=j({...v,component:I,titleIcon:({config:t})=>i.jsx(E,{symbol:t.symbol,size:14}),titleContent:V});export{W as priceChartFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t,r as p}from"./react-qoZPGuNy.js";import{f as v,ad as h,h as d,ae as L,af as O}from"./index-
|
|
1
|
+
import{j as t,r as p}from"./react-qoZPGuNy.js";import{f as v,ad as h,h as d,ae as L,af as O}from"./index-BHlJHScr.js";import{a as g,e as F}from"./format-DxkEZcwQ.js";import{F as u}from"./ui-Bq3RQsdJ.js";import{a as s,C as f}from"./chart-utils-DGogNvJT.js";import{M as T}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const D={"24h":{ms:1440*60*1e3,interval:"15m",timeframe:s["24h"]},"7D":{ms:10080*60*1e3,interval:"1h",timeframe:s["7D"]},"1M":{ms:720*60*60*1e3,interval:"4h",timeframe:s["1M"]}};h.schema;function E({config:e}){const{ms:m,interval:C,timeframe:M}=D[e.lookback],x=p.useMemo(()=>Date.now()-m,[m]),{candles:o,isLoading:S}=L(e.symbols,C,x),i=p.useMemo(()=>e.symbols.map((r,j)=>{var c;const n=o[r]??[],l=(c=n[0])==null?void 0:c.close;return{id:r,name:d(r),iconImageUrl:O(r),color:f[j%f.length],data:n.map(a=>({date:new Date(a.time).toISOString(),value:e.normalize&&l?(a.close/l-1)*100:a.close}))}}),[e.symbols,e.normalize,o]);return S?t.jsx(u,{loading:!0,children:"loading prices…"}):i.every(r=>r.data.length===0)?t.jsx(u,{children:"no price data yet"}):t.jsx(T,{series:i,timeframe:M,height:250,formatValue:e.normalize?g:F})}function I({config:e}){return t.jsx(t.Fragment,{children:e.symbols.map(d).join(" vs ")})}const w=v({...h,component:E,titleContent:I});export{w as priceCompareFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,j as u}from"./react-qoZPGuNy.js";import{L as T}from"./liveline-bcaEuskN.js";import{f as V,ag as L,z as W,y as $,h as N,A as B}from"./index-
|
|
1
|
+
import{r as o,j as u}from"./react-qoZPGuNy.js";import{L as T}from"./liveline-bcaEuskN.js";import{f as V,ag as L,z as W,y as $,h as N,A as B}from"./index-BHlJHScr.js";import{e as z,a as E,c as G}from"./format-DxkEZcwQ.js";import{u as K,o as U}from"./live-tick-9Q3ubPF9.js";import{C as j}from"./chart-utils-DGogNvJT.js";import"./d3-ibrLIlQc.js";const _=720,D=3,X={top:12,right:58,bottom:28,left:8};L.schema;function O(i){return i!==void 0&&Number.isFinite(i)}function q(i,s,S,m){let x=!1;const b={...i};for(const p of s){const d=S[p];if(!O(d))continue;const l=b[p]??[],g=l[l.length-1];if(g&&Math.abs(m-g.time)<.5&&g.value===d)continue;const h=l.length===0?[{time:m-D,value:d},{time:m,value:d}]:[...l,{time:m,value:d}];b[p]=h.length>_?h.slice(-_):h,x=!0}return x?b:i}function k(i,s){return s===0?0:(i/s-1)*100}function J({config:i}){const s=i.symbols,S=s.join("|"),m=W(s),x=$(s),{ref:b,visibleRef:p}=K(),d=o.useRef(!1),[l,g]=o.useState({}),[h,C]=o.useState(()=>new Set),v=o.useMemo(()=>{var n;const e={};for(const t of s){const a=m[t]??((n=x[t])==null?void 0:n.markPx);O(a)&&(e[t]=a)}return e},[m,x,s]),P=o.useRef(v);o.useEffect(()=>{P.current=v},[v]),o.useEffect(()=>{const e=new Set(s);g(n=>{let t=!1;const a={};for(const[r,f]of Object.entries(n)){if(!e.has(r)){t=!0;continue}a[r]=f}return t?a:n}),C(n=>{const t=new Set([...n].filter(a=>e.has(a)));return t.size===n.size?n:t})},[S,s]);const F=o.useCallback(e=>{C(n=>{const t=new Set(n);return t.has(e)?(t.delete(e),t):s.length-t.size<=1?n:(t.add(e),t)})},[s]),y=o.useCallback(()=>{if(!p.current){d.current=!0;return}const e=P.current;if(Object.keys(e).length===0)return;const n=Date.now()/1e3,t=d.current;d.current=!1,g(a=>q(t?{}:a,s,e,n))},[S,s,p]);o.useEffect(()=>{y()},[y,v]),o.useEffect(()=>U(y),[y]);const R=o.useMemo(()=>s.flatMap((e,n)=>{var f,c;if(h.has(e))return[];const t=l[e]??[],a=(f=t[0])==null?void 0:f.value;if(!a||t.length===0)return[];const r=i.normalize?t.map(w=>({time:w.time,value:k(w.value,a)})):t;return[{id:e,label:N(e),color:j[n%j.length],data:r,value:((c=r[r.length-1])==null?void 0:c.value)??0}]}),[l,h,s,i.normalize]),H=o.useMemo(()=>{var a,r;let e=1/0,n=-1/0;for(const f of s){const c=l[f]??[];c.length!==0&&(e=Math.min(e,((a=c[0])==null?void 0:a.time)??1/0),n=Math.max(n,((r=c[c.length-1])==null?void 0:r.time)??-1/0))}const t=Number.isFinite(e)&&Number.isFinite(n)?n-e:0;return Math.min(i.windowSec,Math.max(D,Math.ceil(t)))},[l,s,i.windowSec]),A=R.some(e=>e.data.length>1);return u.jsxs("div",{ref:b,className:"flex h-full min-h-0 flex-col",children:[u.jsx("div",{className:"grid flex-none grid-cols-1 gap-x-3 gap-y-1.5 border-b border-white/[0.06] pb-2 sm:grid-cols-2",children:s.map((e,n)=>{var w,I;const t=v[e],a=(I=(w=l[e])==null?void 0:w[0])==null?void 0:I.value,r=t!==void 0&&a?k(t,a):void 0,f=j[n%j.length],c=h.has(e);return u.jsxs("button",{type:"button","aria-pressed":!c,title:`${c?"Show":"Hide"} ${N(e)}`,className:`caption grid min-w-0 grid-cols-[auto_auto_minmax(0,1fr)_auto] items-center gap-1.5 rounded-md px-1.5 py-0.5 text-left transition ${c?"opacity-40 hover:opacity-70":"bg-white/[0.035] opacity-100 hover:bg-white/[0.06]"}`,onClick:M=>{M.stopPropagation(),F(e)},onPointerDown:M=>M.stopPropagation(),children:[u.jsx("span",{className:"h-1.5 w-1.5 rounded-full",style:{backgroundColor:f}}),u.jsx(B,{symbol:e,size:14}),u.jsx("span",{className:"truncate font-bold text-strong",children:N(e)}),u.jsxs("span",{className:"text-normal tabular-nums",children:[t!==void 0?z(t):"…",r!==void 0?u.jsx("span",{className:"ml-1 tabular-nums",style:{color:G(r)},children:E(r)}):null]})]},e)})}),u.jsx("div",{className:"min-h-0 flex-1 [&>div[style*='align-items']]:!hidden",children:u.jsx(T,{data:[],value:0,series:R,theme:"dark",window:H,grid:!0,loading:!A,scrub:!1,badge:!1,formatValue:i.normalize?E:z,padding:X,seriesToggleCompact:s.length>4,style:{width:"100%",height:"100%"}})})]})}const ae=V({...L,component:J});export{ae as priceLivelineFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as i}from"./react-qoZPGuNy.js";import{f as d,ah as c,ai as l,aj as x,h as g}from"./index-
|
|
1
|
+
import{j as i}from"./react-qoZPGuNy.js";import{f as d,ah as c,ai as l,aj as x,h as g}from"./index-BHlJHScr.js";import{M as f}from"./mover-row-Bz-YpFL3.js";import{F as h,s as u}from"./ui-Bq3RQsdJ.js";import"./format-DxkEZcwQ.js";c.schema;function j({config:e}){const{mids:t,isLoading:m}=l(e.symbols),{stats:r,isLoading:n}=x(e.symbols),p=e.symbols.some(a=>{var s;return t[a]!==void 0||((s=r[a])==null?void 0:s.markPx)!==void 0});return(m||n)&&!p?i.jsx(h,{loading:!0,children:"loading prices…"}):i.jsx("div",{className:`flex flex-col gap-1.5 ${u}`,children:e.symbols.map(a=>{var s,o;return i.jsx(f,{symbol:a,label:g(a),price:t[a]??((s=r[a])==null?void 0:s.markPx),changePct:(o=r[a])==null?void 0:o.changePct,logoSize:18,gap:"gap-3"},a)})})}const L=d({...c,component:j});export{L as priceTickerFrame};
|
package/runtime/assets/{protocol-fees-bubbles-DJKiIQLP.js → protocol-fees-bubbles-oV66t8AJ.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as n}from"./react-qoZPGuNy.js";import{B as m}from"./bubbles-shared-
|
|
1
|
+
import{r as l,j as n}from"./react-qoZPGuNy.js";import{B as m}from"./bubbles-shared-DlmjtiIA.js";import{c as r,f as p,a as i}from"./format-DxkEZcwQ.js";import{f,cj as s,aF as b}from"./index-BHlJHScr.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";s.schema;function h({config:o}){const{entries:t,isLoading:c}=b(),a=l.useMemo(()=>t.filter(e=>e.fees24h>0).slice(0,o.topN).map(e=>({id:e.name,label:e.name,value:e.fees24h,color:r(e.changePct??0),borderColor:r(e.changePct??0),changePct:e.changePct??0})),[t,o.topN]);return n.jsx(m,{nodes:a,isLoading:c,loadingText:"loading protocol fees…",emptyText:"no protocol fee data",caption:`area by 24h fees · ring by 1d change · top ${a.length}`,formatTitle:e=>`${e.label} · ${p(e.value)} fees · ${i(e.changePct)}`})}const C=f({...s,component:h});export{C as protocolFeesBubblesFrame};
|
package/runtime/assets/{protocol-fees-treemap-YkaWU0jI.js → protocol-fees-treemap-CsZhFjxB.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,j as s}from"./react-qoZPGuNy.js";import{f as i}from"./format-DxkEZcwQ.js";import{f as p,aE as n,aF as f}from"./index-
|
|
1
|
+
import{r as c,j as s}from"./react-qoZPGuNy.js";import{f as i}from"./format-DxkEZcwQ.js";import{f as p,aE as n,aF as f}from"./index-BHlJHScr.js";import{T as l,a as u}from"./treemap-leaf-QG-L-SIG.js";import{F as m}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";n.schema;function h({width:t,height:a,data:o}){const r=i(o.fees24h);return s.jsx(u,{width:t,height:a,label:o.id,secondary:r,title:`${o.id} · ${r} 24h fees`})}function d({config:t}){const{entries:a,isLoading:o}=f(),r=c.useMemo(()=>a.slice(0,t.topN).map(e=>({id:e.name,value:e.fees24h,fees24h:e.fees24h,changePct:e.changePct??0})),[a,t.topN]);return o?s.jsx(m,{loading:!0,children:"loading protocol fees…"}):r.length===0?s.jsx(m,{children:"no protocol fee data"}):s.jsx(l,{data:r,LeafComponent:h,getColorValue:e=>e.changePct})}const L=p({...n,component:d});export{L as protocolFeesTreemapFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as p,j as o}from"./react-qoZPGuNy.js";import{f as i}from"./format-DxkEZcwQ.js";import{f as g,cN as c,aB as x,aF as d}from"./index-
|
|
1
|
+
import{r as p,j as o}from"./react-qoZPGuNy.js";import{f as i}from"./format-DxkEZcwQ.js";import{f as g,cN as c,aB as x,aF as d}from"./index-BHlJHScr.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{S as u}from"./scatter-chart-B78EA7lD.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function v({config:r}){const{entries:n,isLoading:f}=x(),{entries:l,isLoading:h}=d(),a=p.useMemo(()=>{const s=new Map;for(const e of n)s.set(e.name,e.tvl);return l.flatMap(e=>{const t=s.get(e.name);return t&&t>0&&e.fees24h>0?[{name:e.name,tvl:t,fees24h:e.fees24h}]:[]}).sort((e,t)=>t.fees24h-e.fees24h).slice(0,r.limit).map(e=>({id:e.name,label:e.name,x:Math.log10(e.tvl),y:e.fees24h,weight:e.fees24h}))},[n,l,r.limit]);return f||h?o.jsx(m,{loading:!0,children:"loading protocols…"}):a.length===0?o.jsx(m,{children:"no matching protocol data yet"}):o.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[o.jsx(u,{data:a,yScale:"log",height:210,formatX:s=>i(10**s),formatY:i,maxLabels:10}),o.jsxs("div",{className:"caption text-soft text-center",children:["TVL (x, log) vs 24h fees (y, log) · top ",a.length," by fees"]})]})}const N=g({...c,component:v});export{N as protocolFeesVsTvlScatterFrame};
|
package/runtime/assets/{protocol-tvl-bubbles-BC38d6kb.js → protocol-tvl-bubbles-CuULi2KY.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,j as n}from"./react-qoZPGuNy.js";import{B as m}from"./bubbles-shared-
|
|
1
|
+
import{r as s,j as n}from"./react-qoZPGuNy.js";import{B as m}from"./bubbles-shared-DlmjtiIA.js";import{c as r,f as p,a as i}from"./format-DxkEZcwQ.js";import{f as b,ch as l,aB as g}from"./index-BHlJHScr.js";import"./ui-Bq3RQsdJ.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function u({config:t}){const{entries:a,isLoading:c}=g(),e=s.useMemo(()=>a.filter(o=>o.tvl>0).slice(0,t.topN).map(o=>({id:o.name,label:o.name,value:o.tvl,color:r(o.changePct??0),borderColor:r(o.changePct??0),changePct:o.changePct??0})),[a,t.topN]);return n.jsx(m,{nodes:e,isLoading:c,loadingText:"loading protocol TVL…",emptyText:"no protocol TVL data",caption:`area by TVL · ring by 1d change · top ${e.length}`,formatTitle:o=>`${o.label} · ${p(o.value)} TVL · ${i(o.changePct)}`})}const B=b({...l,component:u});export{B as protocolTvlBubblesFrame};
|
package/runtime/assets/{protocol-tvl-by-category-D6xbGiRH.js → protocol-tvl-by-category-BV2yIdZ_.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as e}from"./react-qoZPGuNy.js";import{f as p}from"./format-DxkEZcwQ.js";import{f,cP as l,aB as u}from"./index-
|
|
1
|
+
import{r as m,j as e}from"./react-qoZPGuNy.js";import{f as p}from"./format-DxkEZcwQ.js";import{f,cP as l,aB as u}from"./index-BHlJHScr.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{B as x}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function h({config:s}){const{entries:i,isLoading:c}=u(),r=m.useMemo(()=>{const a=new Map;for(const t of i){const o=t.category??"Other";a.set(o,(a.get(o)??0)+t.tvl)}return[...a.entries()].map(([t,o])=>({label:t,value:o})).sort((t,o)=>o.value-t.value).slice(0,s.limit)},[i,s.limit]);return c?e.jsx(n,{loading:!0,children:"loading protocol TVL…"}):r.length===0?e.jsx(n,{children:"no protocol TVL data yet"}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(x,{data:r,orientation:"horizontal",height:Math.max(r.length*26,96),formatValue:p}),e.jsx("div",{className:"caption text-soft text-center",children:"DeFi TVL · by category"})]})}const C=f({...l,component:h});export{C as protocolTvlByCategoryFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{p as C,f as M}from"./format-DxkEZcwQ.js";import{f as S,aC as f,aD as T}from"./index-
|
|
1
|
+
import{r as n,j as e}from"./react-qoZPGuNy.js";import{p as C,f as M}from"./format-DxkEZcwQ.js";import{f as S,aC as f,aD as T}from"./index-BHlJHScr.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{a,C as c}from"./chart-utils-DGogNvJT.js";import{M as v}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const x={"7D":{ms:10080*60*1e3,timeframe:a["7D"]},"1M":{ms:720*60*60*1e3,timeframe:a["1M"]},"3M":{ms:2160*60*60*1e3,timeframe:a["3M"]}};f.schema;function L({config:o}){const{ms:m,timeframe:u}=x[o.lookback],s=n.useMemo(()=>Date.now()-m,[m]),{history:i,isLoading:h}=T(o.protocols),l=n.useMemo(()=>o.protocols.map((t,d)=>({id:t,name:C(t),color:c[d%c.length],data:(i[t]??[]).filter(r=>r.time>=s).map(r=>({date:new Date(r.time).toISOString(),value:r.value}))})),[o.protocols,i,s]);return h?e.jsx(p,{loading:!0,children:"loading protocol TVL…"}):l.every(t=>t.data.length===0)?e.jsx(p,{children:"no protocol TVL data yet"}):e.jsx(v,{series:l,timeframe:u,height:250,formatValue:M})}const I=S({...f,component:L});export{I as protocolTvlChartFrame};
|
package/runtime/assets/{protocol-tvl-share-area-BaLjcOpi.js → protocol-tvl-share-area-BeWSgocA.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as e}from"./react-qoZPGuNy.js";import{p as h,f as i}from"./format-DxkEZcwQ.js";import{f as d,cQ as p,aD as S}from"./index-
|
|
1
|
+
import{r as n,j as e}from"./react-qoZPGuNy.js";import{p as h,f as i}from"./format-DxkEZcwQ.js";import{f as d,cQ as p,aD as S}from"./index-BHlJHScr.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{C as l}from"./chart-utils-DGogNvJT.js";import{S as x}from"./index-DuNO-RcB.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const A={"7D":10080*60*1e3,"1M":720*60*60*1e3,"3M":2160*60*60*1e3};p.schema;function M(o){return o.toLocaleDateString("en-US",{month:"short",day:"numeric"})}function T({config:o}){const a=n.useMemo(()=>Date.now()-A[o.lookback],[o.lookback]),{history:m,isLoading:f}=S(o.protocols),s=n.useMemo(()=>o.protocols.map((t,u)=>({id:t,name:h(t),color:l[u%l.length],data:(m[t]??[]).filter(r=>r.time>=a).map(r=>({date:new Date(r.time),value:r.value}))})),[o.protocols,m,a]);return f?e.jsx(c,{loading:!0,children:"loading protocol TVL…"}):s.every(t=>t.data.length===0)?e.jsx(c,{children:"no protocol TVL data yet"}):e.jsx(x,{series:s,height:240,formatXAxis:M,formatYAxis:i,formatValue:i})}const F=d({...p,component:T});export{F as protocolTvlShareAreaFrame};
|
package/runtime/assets/{protocol-tvl-treemap-DdIxlR7K.js → protocol-tvl-treemap-BYECslhG.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as m}from"./react-qoZPGuNy.js";import{f as c}from"./format-DxkEZcwQ.js";import{f as i,aA as l,aB as p}from"./index-
|
|
1
|
+
import{r as n,j as m}from"./react-qoZPGuNy.js";import{f as c}from"./format-DxkEZcwQ.js";import{f as i,aA as l,aB as p}from"./index-BHlJHScr.js";import{T as f,a as u}from"./treemap-leaf-QG-L-SIG.js";import{F as s}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";l.schema;function T({width:r,height:a,data:e}){const t=c(e.tvl);return m.jsx(u,{width:r,height:a,label:e.id,secondary:t,title:`${e.id} · ${t} TVL`})}function d({config:r}){const{entries:a,isLoading:e}=p(),t=n.useMemo(()=>a.slice(0,r.topN).map(o=>({id:o.name,value:o.tvl,tvl:o.tvl,changePct:o.changePct??0})),[a,r.topN]);return e?m.jsx(s,{loading:!0,children:"loading protocol TVL…"}):t.length===0?m.jsx(s,{children:"no protocol TVL data"}):m.jsx(f,{data:t,LeafComponent:T,getColorValue:o=>o.changePct})}const C=i({...l,component:d});export{C as protocolTvlTreemapFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{z as n,Z as p,a as s,M as u}from"./cycle-shared-XoGVsOjC.js";import{D as m,U as c}from"./format-DxkEZcwQ.js";import{t as d,w as f}from"./indicators-Cw7CVPn4.js";import{f as x,bm as r,bl as M}from"./index-
|
|
1
|
+
import{j as e}from"./react-qoZPGuNy.js";import{z as n,Z as p,a as s,M as u}from"./cycle-shared-XoGVsOjC.js";import{D as m,U as c}from"./format-DxkEZcwQ.js";import{t as d,w as f}from"./indicators-Cw7CVPn4.js";import{f as x,bm as r,bl as M}from"./index-BHlJHScr.js";import{F as a}from"./ui-Bq3RQsdJ.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";r.schema;function O({config:t}){const{extras:l,isLoading:i}=M();if(i)return e.jsx(a,{loading:!0,children:"loading Puell…"});if(!l||l.puell===null)return e.jsx(a,{children:"Puell Multiple unavailable"});const o=n(l.puell,[{upTo:.5,zone:{label:"Miner capitulation",color:c}},{upTo:2,zone:{label:"Normal",color:p}},{upTo:4,zone:{label:"Elevated",color:s}}],{label:"Cycle-top zone",color:m});return e.jsx(u,{caption:"Puell Multiple",headline:l.puell.toFixed(2),headlineColor:o.color,zone:o,sparkline:d(l.history.puell,f(t.window)),sparkColor:o.color})}const P=x({...r,component:O});export{P as puellMultipleFrame};
|