zframes 0.8.1 → 0.8.2
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 +1 -3
- package/package.json +7 -7
- package/runtime/assets/{bitcoin-dominance-BqoH90r5.js → bitcoin-dominance-DQ6fUOfp.js} +1 -1
- package/runtime/assets/{breakeven-1Kr-v9pE.js → breakeven-BiMfl0NU.js} +1 -1
- package/runtime/assets/{breathing-NOTeAM6N.js → breathing-BQamMTOy.js} +1 -1
- package/runtime/assets/{btc-block-size-bars-BgwX4eu_.js → btc-block-size-bars-DbwVb3YX.js} +1 -1
- package/runtime/assets/{btc-blocks-D6TscPNp.js → btc-blocks-UZJqCEtB.js} +1 -1
- package/runtime/assets/{btc-difficulty-BhSve3vk.js → btc-difficulty-BtNgUCRS.js} +1 -1
- package/runtime/assets/{btc-difficulty-chart-Yqxof0b6.js → btc-difficulty-chart-BNT2fdwu.js} +1 -1
- package/runtime/assets/{btc-fees-C-Za_OxK.js → btc-fees-CJhybpGO.js} +1 -1
- package/runtime/assets/{btc-hashrate-5xnTYpft.js → btc-hashrate-CtKkSA37.js} +1 -1
- package/runtime/assets/{btc-mempool-0WFrtuQR.js → btc-mempool-Dvlm6Uqk.js} +1 -1
- package/runtime/assets/{calculator-CcLe2vqJ.js → calculator-vMXfcXI8.js} +1 -1
- package/runtime/assets/{capital-structure-bars-SEyFIReK.js → capital-structure-bars-B8-6gPY8.js} +1 -1
- package/runtime/assets/{chain-activity-CCO3t0hA.js → chain-activity-Dj-2gNmT.js} +1 -1
- package/runtime/assets/{chain-activity-bars-DHYCDKWT.js → chain-activity-bars-BKvgXG2Z.js} +1 -1
- package/runtime/assets/{chain-activity-scatter-DeusbLku.js → chain-activity-scatter-BQHleuZR.js} +1 -1
- package/runtime/assets/{chain-price-movers-SeTwhqsM.js → chain-price-movers-Brvxvf8U.js} +1 -1
- package/runtime/assets/{checklist-orMUS_qt.js → checklist-CNXEkmSt.js} +1 -1
- package/runtime/assets/{clock-9PqJvMgi.js → clock-Cygi_7Rq.js} +1 -1
- package/runtime/assets/{coin-momentum-heatmap-DvfWWzSD.js → coin-momentum-heatmap-1twNsb0f.js} +1 -1
- package/runtime/assets/{coin-momentum-scatter-Cf4Y29lp.js → coin-momentum-scatter-DPsgGLFi.js} +1 -1
- package/runtime/assets/{coin-movers-D3cmI-tT.js → coin-movers-CVT1PPyM.js} +1 -1
- package/runtime/assets/{countdown-tMz3FsXT.js → countdown-DSGwZS9O.js} +1 -1
- package/runtime/assets/{custom-data-DPPNQ2QQ.js → custom-data-eTpLXe-p.js} +1 -1
- package/runtime/assets/{cycle-signals-DJYUIjas.js → cycle-signals-DjvuKoAs.js} +1 -1
- package/runtime/assets/{cycle-valuation-composite-DO_Pda0n.js → cycle-valuation-composite-D2lAreTy.js} +1 -1
- package/runtime/assets/{daily-analysis-BVEvATPa.js → daily-analysis-00KQOxaw.js} +1 -1
- package/runtime/assets/{day-meter-DmbSq9YK.js → day-meter-VL3CbmZ4.js} +1 -1
- package/runtime/assets/{defi-revenue-DPazGCl4.js → defi-revenue-DWs3X1sr.js} +1 -1
- package/runtime/assets/{dex-hot-pools-BeuuV2Cj.js → dex-hot-pools-Btjw9uOK.js} +1 -1
- package/runtime/assets/{dex-pool-bubbles-BLUbqZ4v.js → dex-pool-bubbles-DOWGPgDC.js} +1 -1
- package/runtime/assets/{dex-pool-liquidity-scatter-Civ63yej.js → dex-pool-liquidity-scatter-DBqKeUjl.js} +1 -1
- package/runtime/assets/{dex-pool-treemap-ecoWHB8O.js → dex-pool-treemap-Dev3WsvG.js} +1 -1
- package/runtime/assets/{dex-volume-bubbles-CX9SfXmZ.js → dex-volume-bubbles-C9INGAs-.js} +1 -1
- package/runtime/assets/{dex-volume-chart-Bgdepem0.js → dex-volume-chart-CdhI9ySp.js} +1 -1
- package/runtime/assets/{dex-volume-share-area-uDfe8wQZ.js → dex-volume-share-area-DblxtqOC.js} +1 -1
- package/runtime/assets/{dex-volume-treemap-BlrxYmk-.js → dex-volume-treemap-LweUYNfn.js} +1 -1
- package/runtime/assets/{dice-BOUHMLs6.js → dice-CRJFRdlS.js} +1 -1
- package/runtime/assets/{dino-game-BBIAIplk.js → dino-game-DIj8Xqmq.js} +1 -1
- package/runtime/assets/{divider-B-nMbdhH.js → divider-C0PhyAZz.js} +1 -1
- package/runtime/assets/{dominance-bars-BjKMZR8V.js → dominance-bars-CNztOXI9.js} +1 -1
- package/runtime/assets/{dominance-gauge-DVITO-Eg.js → dominance-gauge-BSlVu-kG.js} +1 -1
- package/runtime/assets/{drawdy-gpdcuxey.js → drawdy-UVwx54Tz.js} +1 -1
- package/runtime/assets/{dxy-DfHaYZsj.js → dxy-DDnItBY-.js} +1 -1
- package/runtime/assets/{dxy-chart-CidtFThk.js → dxy-chart-CbyyyRdn.js} +1 -1
- package/runtime/assets/{editor-yifYG0tI.js → editor-CpgNu0wu.js} +1 -1
- package/runtime/assets/{etf-flow-bars-NYq3d_-U.js → etf-flow-bars-Dknb70p4.js} +1 -1
- package/runtime/assets/{etf-flow-calendar-BI18BrWM.js → etf-flow-calendar-DXTg-p2v.js} +1 -1
- package/runtime/assets/{etf-flows-cufmZrd_.js → etf-flows-D7WwvrYS.js} +1 -1
- package/runtime/assets/{etf-flows-chart-BzKKqHh4.js → etf-flows-chart-D_Ts_7Bc.js} +1 -1
- package/runtime/assets/{etf-issuer-bars-Dl9H_CZC.js → etf-issuer-bars-B5q3WXIk.js} +1 -1
- package/runtime/assets/{etf-issuer-treemap-IhYjIP-y.js → etf-issuer-treemap-hdTKUL3C.js} +1 -1
- package/runtime/assets/{eth-issuance-impact-BLHuDvGQ.js → eth-issuance-impact-CSucvUy4.js} +1 -1
- package/runtime/assets/{eth-staking-CzidwFMK.js → eth-staking-Yp_RzOHD.js} +1 -1
- package/runtime/assets/{eth-supply-C7KDK-97.js → eth-supply-jf4tRC80.js} +1 -1
- package/runtime/assets/{fear-greed-DTLHRhif.js → fear-greed-BrDutlol.js} +1 -1
- package/runtime/assets/{fear-greed-chart-N1vM_QJ7.js → fear-greed-chart-BPAfnROs.js} +1 -1
- package/runtime/assets/{filings-feed-Dpz6nWMU.js → filings-feed-BrtWoUaf.js} +1 -1
- package/runtime/assets/{filings-mix-7ykY8NsE.js → filings-mix-D8Z-fvzY.js} +1 -1
- package/runtime/assets/{financial-stress-BcnDhPO4.js → financial-stress-DaxcQDnz.js} +1 -1
- package/runtime/assets/{flappy-bird-Vp7j7ceN.js → flappy-bird-M38jNjAd.js} +1 -1
- package/runtime/assets/{fundamentals-BIesVoJt.js → fundamentals-TlBRBKFV.js} +1 -1
- package/runtime/assets/{funding-bars-BNVCUVqC.js → funding-bars-BPDrsC0K.js} +1 -1
- package/runtime/assets/{funding-carry-area-BqCrQOi5.js → funding-carry-area-BZRpyy3L.js} +1 -1
- package/runtime/assets/{funding-comparison-BynnnDDf.js → funding-comparison-C1OOzJw-.js} +1 -1
- package/runtime/assets/{funding-crowding-scatter-BTzQUtFn.js → funding-crowding-scatter-DDjzoq8v.js} +1 -1
- package/runtime/assets/{funding-heatmap-DUOcDAeX.js → funding-heatmap-DqnJJPw0.js} +1 -1
- package/runtime/assets/{funding-leaderboard-bars-CpYvO_Cs.js → funding-leaderboard-bars-CrQMBbY7.js} +1 -1
- package/runtime/assets/{funding-rate-chart-CANXPS3a.js → funding-rate-chart-dYIjvTBt.js} +1 -1
- package/runtime/assets/{funding-spread-bars-BgA-vSh-.js → funding-spread-bars-CRoG-zHf.js} +1 -1
- package/runtime/assets/{funding-venue-heatmap-jKiQGgLb.js → funding-venue-heatmap-DA0JsXzA.js} +1 -1
- package/runtime/assets/{fx-board-CTnlbWGJ.js → fx-board-C_h1IJJy.js} +1 -1
- package/runtime/assets/{fx-cross-heatmap-CDORG9Cx.js → fx-cross-heatmap-CLHkKvsB.js} +1 -1
- package/runtime/assets/{fx-movers-bars-WKvSm3Ry.js → fx-movers-bars-_U6XrETl.js} +1 -1
- package/runtime/assets/{fx-trend-chart-uITTwyv8.js → fx-trend-chart-Cdi-lmjx.js} +1 -1
- package/runtime/assets/{heading-Cidi7R-_.js → heading-BS9IhuAM.js} +1 -1
- package/runtime/assets/{hero-number-p8eaQmkA.js → hero-number-R-27T2n_.js} +1 -1
- package/runtime/assets/{holiday-calendar-ErapPWhY.js → holiday-calendar-BxcU0Y64.js} +1 -1
- package/runtime/assets/{image-BQQ0gSaW.js → image-HcDu9YKF.js} +1 -1
- package/runtime/assets/{image-gallery-CNa-8BAA.js → image-gallery-BCXhCjqj.js} +1 -1
- package/runtime/assets/{index-BHlJHScr.js → index-BJ1Zyy42.js} +36 -36
- package/runtime/assets/{inflation-pulse-B54HwpAO.js → inflation-pulse-BDmh42Nq.js} +1 -1
- package/runtime/assets/{journal-log-0CruSC_H.js → journal-log-BKsmm4ZL.js} +1 -1
- package/runtime/assets/{journal-open-DIwxMMCH.js → journal-open-CQtXIVzV.js} +1 -1
- package/runtime/assets/{journal-results-BM_i_JJ3.js → journal-results-BBhWJDi4.js} +1 -1
- package/runtime/assets/{journal-score-He6DdYtU.js → journal-score-DRmD6tOH.js} +1 -1
- package/runtime/assets/{journal-ui-CP9YblNJ.js → journal-ui-YZ5om8r6.js} +1 -1
- package/runtime/assets/{labor-force-flow-8HLQsbKV.js → labor-force-flow-B-8gZXZw.js} +1 -1
- package/runtime/assets/{labor-market-If23zBQK.js → labor-market-C6nbrubk.js} +1 -1
- package/runtime/assets/{lightning-stats-DhrfBtX6.js → lightning-stats-cbygNRrq.js} +1 -1
- package/runtime/assets/{link-grid-CsnxpE4z.js → link-grid-C0BQkbQ9.js} +1 -1
- package/runtime/assets/{liquidity-basis-bars-CaU5YtBA.js → liquidity-basis-bars-Dd5FSjDX.js} +1 -1
- package/runtime/assets/{ma-multiplier-BBN7qsdV.js → ma-multiplier-CrY1aFKX.js} +1 -1
- package/runtime/assets/{macro-calendar-cKBRneX9.js → macro-calendar-D9MJ74wW.js} +1 -1
- package/runtime/assets/{market-bubbles-BKNkvOTg.js → market-bubbles-BKLV2VSd.js} +1 -1
- package/runtime/assets/{market-cap-treemap-BSBU8mjq.js → market-cap-treemap-B9af5p9K.js} +1 -1
- package/runtime/assets/{market-hours-B10lWec_.js → market-hours-jJUnunAF.js} +1 -1
- package/runtime/assets/{market-scatter-CVUa4ZQ_.js → market-scatter-_f6FvF2I.js} +1 -1
- package/runtime/assets/{marquee-BS_quB4S.js → marquee-CJGebjBa.js} +1 -1
- package/runtime/assets/{mayer-multiple-iiKonfXX.js → mayer-multiple-DcxCnx6X.js} +1 -1
- package/runtime/assets/{mempool-fee-curve-CQ4nzab8.js → mempool-fee-curve-yI10fMrE.js} +1 -1
- package/runtime/assets/{mining-pools-DROnvkZS.js → mining-pools-SIhc1qJ_.js} +1 -1
- package/runtime/assets/{mining-pools-share-BhHh0hUJ.js → mining-pools-share-DQSjhlWH.js} +1 -1
- package/runtime/assets/{misery-index-DpG7yLgX.js → misery-index-p5iEl6PS.js} +1 -1
- package/runtime/assets/{mover-row-Bz-YpFL3.js → mover-row-_czAON2U.js} +1 -1
- package/runtime/assets/{movers-bars-CEFjsHnv.js → movers-bars-clMvsESM.js} +1 -1
- package/runtime/assets/{movers-bubbles-C-SriZvR.js → movers-bubbles-CnHOfNZx.js} +1 -1
- package/runtime/assets/{mvrv-Cg0t6U5X.js → mvrv-x4gyjhWx.js} +1 -1
- package/runtime/assets/{mvrv-zscore-chart-qyOkheJb.js → mvrv-zscore-chart-BT3IGmGY.js} +1 -1
- package/runtime/assets/{national-debt-BRX09_U_.js → national-debt-DNtVgcl5.js} +1 -1
- package/runtime/assets/{news-feed-DQHSPzk5.js → news-feed-BVfKqSh7.js} +1 -1
- package/runtime/assets/{nft-activity-bars-BmNs4RMC.js → nft-activity-bars-lFRednN3.js} +1 -1
- package/runtime/assets/{nft-bubbles-0f9wAld0.js → nft-bubbles-ClNH9-_X.js} +1 -1
- package/runtime/assets/{nft-collections-Czp0t7ZU.js → nft-collections-B9RW4PJG.js} +1 -1
- package/runtime/assets/{nft-scatter-BHULn6_-.js → nft-scatter--MbPsUx4.js} +1 -1
- package/runtime/assets/{nft-treemap-D2Kj3AuL.js → nft-treemap-DBkTmq6-.js} +1 -1
- package/runtime/assets/{note-BdVtsqXo.js → note-BhUZxKk8.js} +1 -1
- package/runtime/assets/{nupl-BrK2rcgi.js → nupl-D3l-QZE3.js} +1 -1
- package/runtime/assets/{nupl-cycle-chart-BlXOLj4A.js → nupl-cycle-chart-BskEKMiX.js} +1 -1
- package/runtime/assets/{nyfed-fed-funds-band-gauge-DnzVhh9I.js → nyfed-fed-funds-band-gauge-CyShM9Rb.js} +1 -1
- package/runtime/assets/{nyfed-reference-rate-bars-CxLwUFUY.js → nyfed-reference-rate-bars-WKmIeI9B.js} +1 -1
- package/runtime/assets/{nyfed-sofr-term-averages-bars-DxzLVO9o.js → nyfed-sofr-term-averages-bars-BXymij4O.js} +1 -1
- package/runtime/assets/{ofr-stress-category-area-TXpXiMP-.js → ofr-stress-category-area-Cq2zYtm9.js} +1 -1
- package/runtime/assets/{ohlcv-volume-bars-BQZiJJ3u.js → ohlcv-volume-bars-BqgMyH4V.js} +1 -1
- package/runtime/assets/{oi-treemap-BEusAMZU.js → oi-treemap-Bu6FQGPf.js} +1 -1
- package/runtime/assets/{onchain-oscillator-overlay-BPa_jULR.js → onchain-oscillator-overlay-BETEO4VQ.js} +1 -1
- package/runtime/assets/{open-interest-BqO1-ZYo.js → open-interest-DPwK2Vft.js} +1 -1
- package/runtime/assets/{options-flow-skew-Cy0SUhs0.js → options-flow-skew-CLWqzUM0.js} +1 -1
- package/runtime/assets/{options-iv-RsCKjmmC.js → options-iv-tjSjFT91.js} +1 -1
- package/runtime/assets/{options-max-pain-multi-BLfX8Qe6.js → options-max-pain-multi-bMgyJ7e8.js} +1 -1
- package/runtime/assets/{options-max-pain-B2pA7KJP.js → options-max-pain-v6hCUt4V.js} +1 -1
- package/runtime/assets/{options-oi-ladder-heatmap-Do8eYI3h.js → options-oi-ladder-heatmap-M34leT_q.js} +1 -1
- package/runtime/assets/{options-oi-skew-D869gcp7.js → options-oi-skew-DxGLV4Co.js} +1 -1
- package/runtime/assets/{options-oi-strike-CKWXk22Q.js → options-oi-strike-CoVTVWcx.js} +1 -1
- package/runtime/assets/{options-put-call-DcSwyIIX.js → options-put-call-fRylJJIM.js} +1 -1
- package/runtime/assets/{options-vol-smile-CqP0-CSw.js → options-vol-smile-DsHa2Bug.js} +1 -1
- package/runtime/assets/{options-vol-spread-DMXdphxM.js → options-vol-spread-BB1X9lml.js} +1 -1
- package/runtime/assets/{payrolls-bars-15U_DxmS.js → payrolls-bars-CQOZQEvE.js} +1 -1
- package/runtime/assets/{pi-cycle-tqHUEYSe.js → pi-cycle-BTdRfEfm.js} +1 -1
- package/runtime/assets/{pomodoro-DSswMPuv.js → pomodoro-lYAXlnH5.js} +1 -1
- package/runtime/assets/{portfolio-allocation-DHN6r6fl.js → portfolio-allocation-CJCJ-fv5.js} +1 -1
- package/runtime/assets/{portfolio-common-e3o9U7qd.js → portfolio-common-BMRwgiXd.js} +1 -1
- package/runtime/assets/{portfolio-holdings-Bf6vOm0e.js → portfolio-holdings-BwUpyolL.js} +1 -1
- package/runtime/assets/{portfolio-movers-DmaGwFtS.js → portfolio-movers-CGcHyyU9.js} +1 -1
- package/runtime/assets/{portfolio-value-DLQHtwCl.js → portfolio-value--mB-D1zn.js} +1 -1
- package/runtime/assets/{portfolio-value-bars-B8XP7r22.js → portfolio-value-bars-C1sg3z_9.js} +1 -1
- package/runtime/assets/{prediction-market-bars-Du1RxZc_.js → prediction-market-bars-CV7qn0TK.js} +1 -1
- package/runtime/assets/{prediction-market-scatter-bdlr6r_V.js → prediction-market-scatter-vvAyUSMc.js} +1 -1
- package/runtime/assets/{prediction-markets-DNDg43g9.js → prediction-markets-Dj5pUGQ9.js} +1 -1
- package/runtime/assets/{prediction-markets-bubble-ccP01yj3.js → prediction-markets-bubble-Dy58nx5D.js} +1 -1
- package/runtime/assets/{price-chart-Cw8OXmKH.js → price-chart-BWVJKy6l.js} +1 -1
- package/runtime/assets/{price-compare-txGWDCHD.js → price-compare-X_somRkJ.js} +1 -1
- package/runtime/assets/{price-liveline-F7uJKuTS.js → price-liveline-BcfvYH4i.js} +1 -1
- package/runtime/assets/{price-ticker-DQFyiHmW.js → price-ticker-Dp5X5iEE.js} +1 -1
- package/runtime/assets/{protocol-fees-bubbles-oV66t8AJ.js → protocol-fees-bubbles-cOlmopfM.js} +1 -1
- package/runtime/assets/{protocol-fees-treemap-CsZhFjxB.js → protocol-fees-treemap-k3DCqpib.js} +1 -1
- package/runtime/assets/{protocol-fees-vs-tvl-scatter-CtLKoDeh.js → protocol-fees-vs-tvl-scatter-DE0XqWUP.js} +1 -1
- package/runtime/assets/{protocol-tvl-bubbles-CuULi2KY.js → protocol-tvl-bubbles-C_y8RNpr.js} +1 -1
- package/runtime/assets/{protocol-tvl-by-category-BV2yIdZ_.js → protocol-tvl-by-category-CU3EhtYv.js} +1 -1
- package/runtime/assets/{protocol-tvl-chart-BRPlR_kj.js → protocol-tvl-chart-BSjYp87K.js} +1 -1
- package/runtime/assets/{protocol-tvl-share-area-BeWSgocA.js → protocol-tvl-share-area-A9uUDjqD.js} +1 -1
- package/runtime/assets/{protocol-tvl-treemap-BYECslhG.js → protocol-tvl-treemap-DK99PI9E.js} +1 -1
- package/runtime/assets/{puell-multiple-akyTNZyp.js → puell-multiple-DUwx8WAi.js} +1 -1
- package/runtime/assets/{put-call-gauge-CwrHYfdq.js → put-call-gauge-wPFbaG0I.js} +1 -1
- package/runtime/assets/{quote-6JmbHxfg.js → quote-BEXrdAL4.js} +1 -1
- package/runtime/assets/{rates-board-CiY6mWMz.js → rates-board-Bo-1vZL3.js} +1 -1
- package/runtime/assets/{real-wages-BTBOxvjP.js → real-wages-DFbQjlXf.js} +1 -1
- package/runtime/assets/{realized-price-CbjZ3Sqj.js → realized-price-C7sCYZ-5.js} +1 -1
- package/runtime/assets/{reserve-risk-UlEv8oS1.js → reserve-risk-CYWr6Bnu.js} +1 -1
- package/runtime/assets/{returns-projector-qPZeZ-n9.js → returns-projector-Bitu8mA2.js} +1 -1
- package/runtime/assets/{risk-reward-DWcu9j4_.js → risk-reward-5CA4dPWK.js} +1 -1
- package/runtime/assets/{rsi-momentum-BuasFcVH.js → rsi-momentum-BdScXy4t.js} +1 -1
- package/runtime/assets/{rules-card-DkjHPbht.js → rules-card-BxdIuORn.js} +1 -1
- package/runtime/assets/{sector-bars-JKmedArM.js → sector-bars-B4Nabix2.js} +1 -1
- package/runtime/assets/{sector-bubbles-DLXckuua.js → sector-bubbles-D_s1FnKb.js} +1 -1
- package/runtime/assets/{sector-performance-C_2-xbIq.js → sector-performance-C8K8FBsp.js} +1 -1
- package/runtime/assets/{sector-treemap-DquBCyc3.js → sector-treemap-DOn3li5j.js} +1 -1
- package/runtime/assets/{sentiment-gauge-CuNvuk1q.js → sentiment-gauge-D-TyqTrT.js} +1 -1
- package/runtime/assets/{session-progress-BDhJHQEn.js → session-progress-2uZKU_tb.js} +1 -1
- package/runtime/assets/{short-volume-Deb7fra_.js → short-volume-DrAqZxL_.js} +1 -1
- package/runtime/assets/{short-volume-bars-DRjpg7RS.js → short-volume-bars-D0tDnbRp.js} +1 -1
- package/runtime/assets/{snake-B9EEDroM.js → snake-CPrCYXRC.js} +1 -1
- package/runtime/assets/{sopr-DM_gpDem.js → sopr-CL-DcV9H.js} +1 -1
- package/runtime/assets/{spotify-embed-Dxt1RnUX.js → spotify-embed-Cuyo3WcD.js} +1 -1
- package/runtime/assets/{stablecoin-chains-LzYMilQE.js → stablecoin-chains-BNyBP4r7.js} +1 -1
- package/runtime/assets/{stablecoin-supply-69kqOBoU.js → stablecoin-supply-CDoJSW65.js} +1 -1
- package/runtime/assets/{stopwatch-ClPrrveo.js → stopwatch-C5UbM7BR.js} +1 -1
- package/runtime/assets/{top-movers-BRiiYOPQ.js → top-movers-n7gjNCAB.js} +1 -1
- package/runtime/assets/{treasury-auction-demand-scatter-yYNPz1VC.js → treasury-auction-demand-scatter-B2GgfweB.js} +1 -1
- package/runtime/assets/{treasury-auction-size-bars-CGD6MeAz.js → treasury-auction-size-bars-RSKrqPZN.js} +1 -1
- package/runtime/assets/{treasury-auctions-Z_4MtXmL.js → treasury-auctions-DmhLNhux.js} +1 -1
- package/runtime/assets/{treasury-avg-rate-bars-FXGz1a7e.js → treasury-avg-rate-bars-CHo7_TZ6.js} +1 -1
- package/runtime/assets/{treasury-debt-composition-area-5yRh0K6a.js → treasury-debt-composition-area-D9TIg2Fu.js} +1 -1
- package/runtime/assets/{trending-bars-z_cjmEXN.js → trending-bars-CFUOf_2T.js} +1 -1
- package/runtime/assets/{trending-bubbles-nwoxKQEW.js → trending-bubbles-CWixlrYZ.js} +1 -1
- package/runtime/assets/{trending-coins-9vrbEbBm.js → trending-coins-XmlyMu9W.js} +1 -1
- package/runtime/assets/{tvl-bars-BkJcttcu.js → tvl-bars-CMr0p3wy.js} +1 -1
- package/runtime/assets/{tvl-bubbles-D4tahOC6.js → tvl-bubbles-CBwy6njm.js} +1 -1
- package/runtime/assets/{tvl-treemap-B7kWI7o0.js → tvl-treemap-Df9Sw5pQ.js} +1 -1
- package/runtime/assets/{video-Dsc13Zja.js → video-Cb7G8kra.js} +1 -1
- package/runtime/assets/{volume-movers-scatter-BA8Wmoil.js → volume-movers-scatter-MwF5sr-K.js} +1 -1
- package/runtime/assets/{volume-profile-DcSNvDqP.js → volume-profile-DM349em1.js} +1 -1
- package/runtime/assets/{volume-share-donut-3MenMO-V.js → volume-share-donut-FMessqoh.js} +1 -1
- package/runtime/assets/{yield-composition-scatter-rfxC16n2.js → yield-composition-scatter-51jp_MgP.js} +1 -1
- package/runtime/assets/{yield-curve-DXsfXy4P.js → yield-curve-WOaDSVNR.js} +1 -1
- package/runtime/assets/{yield-momentum-bars-B9nKuItO.js → yield-momentum-bars-0hhg35dJ.js} +1 -1
- package/runtime/assets/{yield-risk-pie-DUxkXYIQ.js → yield-risk-pie-mBxQGJN1.js} +1 -1
- package/runtime/assets/{yield-scanner-sCBXpQTV.js → yield-scanner-DTDsWH9C.js} +1 -1
- package/runtime/assets/{yield-scatter-BZHOhFcm.js → yield-scatter-BkeRhOK4.js} +1 -1
- package/runtime/index.html +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{b as m}from"./format-DxkEZcwQ.js";import{f as l,ct as r,k as d}from"./index-
|
|
1
|
+
import{j as e}from"./react-qoZPGuNy.js";import{b as m}from"./format-DxkEZcwQ.js";import{f as l,ct as r,k as d}from"./index-BJ1Zyy42.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{R as f}from"./radial-gauge-0BzRQ6fO.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";r.schema;const s="hsl(var(--zf-accent-hue, 242) 82% 70%)";function p({config:a}){const{market:t,isLoading:i}=d();if(i)return e.jsx(n,{loading:!0,children:"loading dominance…"});if(!t)return e.jsx(n,{children:"no market data yet"});const o=t.dominance[a.coin]??0,c=a.coin.toUpperCase();return e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-1",children:[e.jsxs(f,{value:o,min:0,max:100,color:s,size:170,children:[e.jsx("div",{className:"metric-xl leading-none",style:{color:s,textShadow:"0 0 28px hsl(var(--zf-accent-hue, 242) 82% 70% / 0.33)"},children:m(o,1)}),e.jsxs("div",{className:"caption text-soft mt-1 uppercase tracking-wide",children:[c," dominance"]})]}),e.jsx("div",{className:"caption text-soft",children:"share of total market cap"})]})}const G=l({...r,component:p});export{G as dominanceGaugeFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as t,j as a}from"./react-qoZPGuNy.js";import{f as d,aN as s}from"./index-
|
|
1
|
+
import{r as t,j as a}from"./react-qoZPGuNy.js";import{f as d,aN as s}from"./index-BJ1Zyy42.js";import{F as o}from"./ui-Bq3RQsdJ.js";function i(){const[r,e]=t.useState("loading");return r==="error"?a.jsx(o,{children:"canvas unavailable"}):a.jsxs("div",{className:"relative h-full w-full overflow-hidden rounded-md",children:[r==="loading"&&a.jsx("div",{className:"absolute inset-0 z-10",children:a.jsx(o,{loading:!0,children:"loading canvas…"})}),a.jsx("iframe",{src:"https://drawdy.io",title:"Drawdy Canvas",className:`h-full w-full border-0 transition-opacity duration-300 ${r==="loaded"?"opacity-100":"opacity-0"}`,allow:"clipboard-read; clipboard-write",onLoad:()=>e("loaded"),onError:()=>e("error")})]})}const m=d({...s,component:i});export{m as drawdyFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as r}from"./react-qoZPGuNy.js";import{M as n,Z as i}from"./cycle-shared-XoGVsOjC.js";import{c as s,a as m}from"./format-DxkEZcwQ.js";import{f as c,bt as l,bu as d}from"./index-
|
|
1
|
+
import{j as r}from"./react-qoZPGuNy.js";import{M as n,Z as i}from"./cycle-shared-XoGVsOjC.js";import{c as s,a as m}from"./format-DxkEZcwQ.js";import{f as c,bt as l,bu as d}from"./index-BJ1Zyy42.js";import{F as a}from"./ui-Bq3RQsdJ.js";import"./indicators-Cw7CVPn4.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";function p(){const{dxy:o,isLoading:t}=d();if(t)return r.jsx(a,{loading:!0,children:"loading DXY…"});if(!o)return r.jsx(a,{children:"no FX data yet"});const e=s(o.changePct);return r.jsx(n,{caption:"US Dollar Index",headline:o.value.toFixed(2),headlineColor:i,zone:{label:o.changePct>=0?"Stronger USD":"Weaker USD",color:e},sub:m(o.changePct),sparkline:o.history,sparkColor:e})}const C=c({...l,component:p});export{C as dxyFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as e}from"./react-qoZPGuNy.js";import{l as n,g as s}from"./format-DxkEZcwQ.js";import{f as d,du as u,bu as f}from"./index-
|
|
1
|
+
import{r as m,j as e}from"./react-qoZPGuNy.js";import{l as n,g as s}from"./format-DxkEZcwQ.js";import{f as d,du as u,bu as f}from"./index-BJ1Zyy42.js";import{F as o}from"./ui-Bq3RQsdJ.js";import{M as l}from"./index-BpPIfN5S.js";import{a as x}from"./chart-utils-DGogNvJT.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const h=t=>t.toFixed(2);function c(){const{dxy:t,isLoading:i}=f(),r=m.useMemo(()=>t?[{id:"dxy",name:"DXY",color:t.changePct>=0?n:s,data:t.history.map(a=>({date:new Date(a.time).toISOString(),value:a.value}))}]:[],[t]);return i?e.jsx(o,{loading:!0,children:"loading DXY…"}):r.length===0||r[0].data.length===0?e.jsx(o,{children:"no FX data yet"}):e.jsx(l,{series:r,timeframe:x["1M"],height:220,formatValue:h})}const M=d({...u,component:c});export{M as dxyChartFrame};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r,j as e,c as aa,a as Ns}from"./react-qoZPGuNy.js";import{G as vs}from"./gridstack-BxxvPIFU.js";import{t as St,u as ra,B as Fe,T as ks,F as ws,a as na,b as ia,c as la,d as ca,N as Ss,e as Cs,s as oa}from"./index-
|
|
1
|
+
import{r,j as e,c as aa,a as Ns}from"./react-qoZPGuNy.js";import{G as vs}from"./gridstack-BxxvPIFU.js";import{t as St,u as ra,B as Fe,T as ks,F as ws,a as na,b as ia,c as la,d as ca,N as Ss,e as Cs,s as oa}from"./index-BJ1Zyy42.js";function ua(t){const a=t.trim().toLowerCase();return a?a.split(/\s+/):[]}function ma(t,a,n){if(n.length===0)return!0;const m=`${t.label} ${t.description??""} ${t.name} ${a}`.toLowerCase();return n.every(j=>m.includes(j))}/**
|
|
2
2
|
* @license lucide-react v1.21.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as o}from"./react-qoZPGuNy.js";import{f as n,D as f,U as u}from"./format-DxkEZcwQ.js";import{f as p,cc as m,bK as d}from"./index-
|
|
1
|
+
import{r as l,j as o}from"./react-qoZPGuNy.js";import{f as n,D as f,U as u}from"./format-DxkEZcwQ.js";import{f as p,cc as m,bK as d}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{B as x}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const h={"1M":30*864e5,"3M":90*864e5,"6M":180*864e5};m.schema;function F(e){const a=new Date(e);return`${a.getMonth()+1}/${a.getDate()}`}function j({config:e}){const a=l.useMemo(()=>Date.now()-h[e.lookback],[e.lookback]),{flows:t,isLoading:c}=d(e.asset),r=l.useMemo(()=>((t==null?void 0:t.history)??[]).filter(s=>s.time>=a).map(s=>({label:F(s.time),value:s.value})),[t,a]);return c?o.jsx(i,{loading:!0,children:"loading ETF flows…"}):r.length===0?o.jsx(i,{children:"ETF flows unavailable"}):o.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[o.jsx(x,{data:r,color:u,negativeColor:f,height:200,formatValue:n,showValues:!1,maxTickLabels:6}),o.jsxs("div",{className:"caption text-soft text-center",children:[e.asset.toUpperCase()," spot-ETF daily net flow · latest"," ",n((t==null?void 0:t.dailyTotalNetInflow)??0)]})]})}const v=p({...m,component:j});export{v as etfFlowBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as n}from"./react-qoZPGuNy.js";import{f as u}from"./format-DxkEZcwQ.js";import{f,dA as c,bK as d}from"./index-
|
|
1
|
+
import{r as l,j as n}from"./react-qoZPGuNy.js";import{f as u}from"./format-DxkEZcwQ.js";import{f,dA as c,bK as d}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{H as h}from"./index-Bw1aFtyx.js";import"./utils-DxneYyA_.js";const p={"1M":30*864e5,"3M":90*864e5,"6M":180*864e5};c.schema;function m(t){const e=new Date(t);e.setHours(0,0,0,0);const o=(e.getDay()+6)%7;return e.setDate(e.getDate()-o),e.getTime()}function w({data:t,width:e,height:o}){return e<40||o<18?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:u(t.value)})})}function x({config:t}){const{flows:e,isLoading:o}=d(t.asset),r=l.useMemo(()=>m(Date.now()-p[t.lookback]),[t.lookback]),s=l.useMemo(()=>((e==null?void 0:e.history)??[]).filter(a=>a.time>=r).map(a=>({id:String(a.time),row:new Date(m(a.time)).toLocaleDateString("en-US",{month:"short",day:"numeric"}),column:new Date(a.time).toLocaleDateString("en-US",{weekday:"short"}),value:a.value})),[e,r]);return o?n.jsx(i,{loading:!0,children:"loading ETF flows…"}):s.length===0?n.jsx(i,{children:"ETF flows unavailable"}):n.jsx(h,{data:s,CellComponent:w,gap:3,showLabels:!0,rowLabelWidth:56,columnLabelHeight:20})}const j=f({...c,component:x});export{j as etfFlowCalendarFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{c as a,f as o}from"./format-DxkEZcwQ.js";import{M as d}from"./metric-row-BVVhjsjK.js";import{f as m,bJ as n,bK as x}from"./index-
|
|
1
|
+
import{j as s}from"./react-qoZPGuNy.js";import{c as a,f as o}from"./format-DxkEZcwQ.js";import{M as d}from"./metric-row-BVVhjsjK.js";import{f as m,bJ as n,bK as x}from"./index-BJ1Zyy42.js";import{F as r,s as p}from"./ui-Bq3RQsdJ.js";n.schema;const i=e=>e>=0?`+${o(e)}`:o(e);function u({config:e}){const{flows:l,isLoading:c}=x(e.asset);if(c)return s.jsx(r,{loading:!0,children:"loading ETF flows…"});if(!l)return s.jsx(r,{children:"ETF flows unavailable"});const f=l.issuers.slice(0,e.limit);return s.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[s.jsxs("div",{children:[s.jsxs("div",{className:"caption text-soft",children:[e.asset.toUpperCase()," spot ETF · net flow",l.date?` · ${l.date}`:""]}),s.jsx("div",{className:"metric-lg leading-none",style:{color:a(l.dailyTotalNetInflow)},children:i(l.dailyTotalNetInflow)})]}),s.jsx("div",{className:`${p} flex flex-col`,children:f.map(t=>s.jsx(d,{label:t.ticker,meta:t.institute,value:s.jsx("span",{style:{color:a(t.dailyNetInflow)},children:i(t.dailyNetInflow)})},t.ticker))})]})}const g=m({...n,component:u});export{g as etfFlowsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f,j as s}from"./react-qoZPGuNy.js";import{f as c}from"./format-DxkEZcwQ.js";import{f as h,bS as l,bK as d}from"./index-
|
|
1
|
+
import{r as f,j as s}from"./react-qoZPGuNy.js";import{f as c}from"./format-DxkEZcwQ.js";import{f as h,bS as l,bK as d}from"./index-BJ1Zyy42.js";import{F as n}from"./ui-Bq3RQsdJ.js";import{a as r,C}from"./chart-utils-DGogNvJT.js";import{M}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const F={"1M":{ms:30*864e5,timeframe:r["1M"]},"3M":{ms:90*864e5,timeframe:r["3M"]},"6M":{ms:180*864e5,timeframe:r.YTD}};l.schema;function S({config:t}){const{ms:o,timeframe:u}=F[t.lookback],m=f.useMemo(()=>Date.now()-o,[o]),{flows:e,isLoading:p}=d(t.asset),i=f.useMemo(()=>[{id:t.asset,name:`${t.asset.toUpperCase()} net flow`,color:C[0],data:((e==null?void 0:e.history)??[]).filter(a=>a.time>=m).map(a=>({date:new Date(a.time).toISOString(),value:a.value}))}],[e,t.asset,m]);return p?s.jsx(n,{loading:!0,children:"loading ETF flows…"}):i[0].data.length===0?s.jsx(n,{children:"ETF flows unavailable"}):s.jsx(M,{series:i,timeframe:u,height:220,formatValue:c})}const R=h({...l,component:S});export{R as etfFlowsChartFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as s}from"./react-qoZPGuNy.js";import{f,D as d,U as u}from"./format-DxkEZcwQ.js";import{f as c,dx as i,bK as p}from"./index-
|
|
1
|
+
import{r as m,j as s}from"./react-qoZPGuNy.js";import{f,D as d,U as u}from"./format-DxkEZcwQ.js";import{f as c,dx as i,bK as p}from"./index-BJ1Zyy42.js";import{F as l}from"./ui-Bq3RQsdJ.js";import{B as x}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function h({config:a}){const{flows:e,isLoading:n}=p(a.asset),r=m.useMemo(()=>[...(e==null?void 0:e.issuers)??[]].sort((t,o)=>Math.abs(o.dailyNetInflow)-Math.abs(t.dailyNetInflow)).slice(0,a.limit).sort((t,o)=>o.dailyNetInflow-t.dailyNetInflow).map(t=>({label:t.ticker,value:t.dailyNetInflow})),[e,a.limit]);return n?s.jsx(l,{loading:!0,children:"loading ETF flows…"}):r.length===0?s.jsx(l,{children:"ETF flows unavailable"}):s.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[s.jsx(x,{data:r,orientation:"horizontal",color:u,negativeColor:d,height:Math.max(r.length*24,96),formatValue:f}),s.jsxs("div",{className:"caption text-soft text-center",children:[a.asset.toUpperCase()," spot-ETF issuers · today's net flow"]})]})}const C=c({...i,component:h});export{C as etfIssuerBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as a}from"./react-qoZPGuNy.js";import{f as n}from"./format-DxkEZcwQ.js";import{f,dq as m,bK as u}from"./index-
|
|
1
|
+
import{r as l,j as a}from"./react-qoZPGuNy.js";import{f as n}from"./format-DxkEZcwQ.js";import{f,dq as m,bK as u}from"./index-BJ1Zyy42.js";import{T as p,a as d}from"./treemap-leaf-QG-L-SIG.js";import{F as i}from"./ui-Bq3RQsdJ.js";import"./utils-DxneYyA_.js";import"./d3-ibrLIlQc.js";m.schema;function c({width:r,height:s,data:t}){const o=n(t.netAssets),e=n(t.dailyNetInflow);return a.jsx(d,{width:r,height:s,label:t.id,secondary:o,title:`${t.id} · ${o} AUM · ${t.dailyNetInflow>=0?"+":""}${e} today`})}function w({config:r}){const{flows:s,isLoading:t}=u(r.asset),o=l.useMemo(()=>((s==null?void 0:s.issuers)??[]).filter(e=>e.netAssets>0).slice(0,r.limit).map(e=>({id:e.ticker,value:e.netAssets,netAssets:e.netAssets,dailyNetInflow:e.dailyNetInflow})),[s,r.limit]);return t?a.jsx(i,{loading:!0,children:"loading ETF flows…"}):o.length===0?a.jsx(i,{children:"ETF flows unavailable"}):a.jsx(p,{data:o,LeafComponent:c,getColorValue:e=>e.dailyNetInflow})}const E=f({...m,component:w});export{E as etfIssuerTreemapFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as a}from"./react-qoZPGuNy.js";import{a as r,U as n,D as i}from"./format-DxkEZcwQ.js";import{f as c,d8 as p,bF as m}from"./index-
|
|
1
|
+
import{r as l,j as a}from"./react-qoZPGuNy.js";import{a as r,U as n,D as i}from"./format-DxkEZcwQ.js";import{f as c,d8 as p,bF as m}from"./index-BJ1Zyy42.js";import{F as o}from"./ui-Bq3RQsdJ.js";import{B as u}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";function f(){const{supply:t,isLoading:s}=m(),e=l.useMemo(()=>t?[{label:"PoS (actual)",value:t.supplyGrowthYearlyPct},{label:"PoW (counterfactual)",value:t.supplyGrowthYearlyPowPct}]:[],[t]);return s?a.jsx(o,{loading:!0,children:"loading ETH issuance…"}):t?a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(u,{data:e,orientation:"horizontal",color:i,negativeColor:n,height:Math.max(e.length*28,84),formatValue:r}),a.jsxs("div",{className:"caption text-soft text-center",children:["Net"," ",t.supplyGrowthYearlyPct<=0?"deflationary":"inflationary"," ·"," ",r(t.supplyGrowthYearlyPct),"/yr"]})]}):a.jsx(o,{children:"no ETH data yet"})}const E=c({...p,component:f});export{E as ethIssuanceImpactFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as t}from"./react-qoZPGuNy.js";import{M as e,Z as a}from"./cycle-shared-XoGVsOjC.js";import{U as n,b as s}from"./format-DxkEZcwQ.js";import{f as p,bG as m,bF as l}from"./index-
|
|
1
|
+
import{j as t}from"./react-qoZPGuNy.js";import{M as e,Z as a}from"./cycle-shared-XoGVsOjC.js";import{U as n,b as s}from"./format-DxkEZcwQ.js";import{f as p,bG as m,bF as l}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import"./indicators-Cw7CVPn4.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";function u(){const{supply:r,isLoading:o}=l();return o?t.jsx(i,{loading:!0,children:"loading staking APR…"}):r?t.jsx(e,{caption:"ETH Staking APR",headline:s(r.stakingAprPct),headlineColor:n,zone:{label:"validator yield",color:a},sub:"issuance + MEV + tips",sparkline:[],sparkColor:a}):t.jsx(i,{children:"no ETH data yet"})}const b=p({...m,component:u});export{b as ethStakingFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{M as s}from"./cycle-shared-XoGVsOjC.js";import{U as p,D as l}from"./format-DxkEZcwQ.js";import{f as u,bE as m,bF as y}from"./index-
|
|
1
|
+
import{j as e}from"./react-qoZPGuNy.js";import{M as s}from"./cycle-shared-XoGVsOjC.js";import{U as p,D as l}from"./format-DxkEZcwQ.js";import{f as u,bE as m,bF as y}from"./index-BJ1Zyy42.js";import{F as a}from"./ui-Bq3RQsdJ.js";import"./indicators-Cw7CVPn4.js";import"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const n=r=>`${Math.round(r).toLocaleString("en-US")} ETH/yr`;function c(){const{supply:r,isLoading:i}=y();if(i)return e.jsx(a,{loading:!0,children:"loading ETH supply…"});if(!r)return e.jsx(a,{children:"no ETH data yet"});const t=r.supplyGrowthYearlyPct,o=t<=0?p:l;return e.jsx(s,{caption:"ETH Net Supply Growth · yr",headline:`${t>=0?"+":""}${t.toFixed(2)}%`,headlineColor:o,zone:{label:t<=0?"Deflationary":"Inflationary",color:o},sub:`burn ${n(r.burnRateYearlyEth)} · issue ${n(r.issuanceRateYearlyEth)}`,sparkline:r.history,sparkColor:o})}const j=u({...m,component:c});export{j as ethSupplyFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,j as e}from"./react-qoZPGuNy.js";import{f as u,H as l,I as m}from"./index-
|
|
1
|
+
import{r as c,j as e}from"./react-qoZPGuNy.js";import{f as u,H as l,I as m}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{M as p}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function x(r){return r<=25?"#F21553":r<=45?"#F97316":r<=55?"#F59E0B":r<=75?"#84CC16":"#25A78D"}function f({config:r}){const{points:s,isLoading:o}=m(r.sparklineDays),t=s[0],d=c.useMemo(()=>[...s].reverse().map(n=>({date:new Date(n.time).toISOString(),value:n.value})),[s]);if(o)return e.jsx(i,{loading:!0,children:"loading index…"});if(!t)return e.jsx(i,{children:"no sentiment data yet"});const a=x(t.value);return e.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2.5",children:[e.jsx("div",{className:"metric-xl leading-none",style:{color:a,textShadow:`0 0 28px ${a}55`},children:t.value}),e.jsx("div",{className:"body-sm rounded-full px-2.5 py-0.5 font-semibold uppercase tracking-wide",style:{color:a,background:`${a}1f`,border:`1px solid ${a}33`},children:t.classification}),e.jsxs("div",{className:"relative w-full max-w-[180px] overflow-hidden rounded-xl",children:[e.jsx("div",{className:"h-[11px] w-full opacity-40",style:{background:"linear-gradient(90deg, #FF1F5F 4.89%, #464646 34.15%, #464646 69.98%, #81FE90 100%)"}}),e.jsx("div",{className:"absolute left-0 top-0 h-full w-full",style:{background:"repeating-linear-gradient(to right, var(--color-background-terminal), var(--color-background-terminal) 2px, transparent 2px, transparent 3px)"}}),e.jsx("div",{className:"absolute top-1/2 h-3 w-[3px] -translate-x-1/2 -translate-y-1/2 rounded-xs",style:{left:`${t.value}%`,background:a}})]}),e.jsx(p,{data:d,width:150,height:30,color:a}),e.jsxs("div",{className:"caption text-soft",children:["crypto fear & greed · ",r.sparklineDays,"d"]})]})}const b=u({...l,component:f});export{b as fearGreedFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as r}from"./react-qoZPGuNy.js";import{f as c,ds as f,I as p}from"./index-
|
|
1
|
+
import{r as u,j as r}from"./react-qoZPGuNy.js";import{f as c,ds as f,I as p}from"./index-BJ1Zyy42.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{M as F}from"./index-BpPIfN5S.js";import{a as t}from"./chart-utils-DGogNvJT.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";f.schema;function h(e){return e<=25?"#F21553":e<=45?"#F97316":e<=55?"#F59E0B":e<=75?"#84CC16":"#25A78D"}function l(e){return e<=35?t["1M"]:e<=100?t["3M"]:t.YTD}const x=e=>e.toFixed(0);function C({config:e}){const{points:a,isLoading:d}=p(e.days),n=u.useMemo(()=>{const i=[...a].reverse(),o=i.at(-1);return[{id:"fear-greed",name:"Fear & Greed",color:o?h(o.value):"#8b8bff",data:i.map(s=>({date:new Date(s.time).toISOString(),value:s.value}))}]},[a]);return d?r.jsx(m,{loading:!0,children:"loading index…"}):n[0].data.length===0?r.jsx(m,{children:"no sentiment data yet"}):r.jsx(F,{series:n,timeframe:l(e.days),height:220,formatValue:x})}const I=c({...f,component:C});export{I as fearGreedChartFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as x,j as t}from"./react-qoZPGuNy.js";import{f,J as p,K as h,h as u,A as F}from"./index-
|
|
1
|
+
import{r as x,j as t}from"./react-qoZPGuNy.js";import{f,J as p,K as h,h as u,A as F}from"./index-BJ1Zyy42.js";import{F as j}from"./feed-row-mVg1d5Zj.js";import{t as b}from"./format-DxkEZcwQ.js";import{F as a,s as y}from"./ui-Bq3RQsdJ.js";p.schema;const n={"10-K":"Annual report","10-Q":"Quarterly report","8-K":"Material event","20-F":"Annual report (foreign)","40-F":"Annual report (foreign)","6-K":"Foreign interim report","S-1":"Registration","S-3":"Registration","S-4":"Registration (M&A)","DEF 14A":"Proxy statement",DEFA14A:"Proxy materials","SC 13D":"Activist stake","SC 13G":"Passive stake",SD:"Specialized disclosure",3:"Initial insider ownership",4:"Insider transaction",5:"Annual insider ownership",144:"Proposed insider sale","11-K":"Employee benefit plan"},A=/^(10-K|10-Q|8-K|20-F|40-F|6-K|S-|F-|424|DEF |DEFA|DEFM|11-K|SC 13|25)/i,S=/^(3|4|5|144)(\/A)?$/;function l(e){return e.replace(/^SCHEDULE /i,"SC ").trim()}function E(e,s){return s==="all"?!0:s==="insider"?S.test(e):A.test(e)}function D(e){const s=l(e.form);if(n[s])return n[s];const r=s.replace(/\/A$/,"");return r!==s&&n[r]?`${n[r]} (amended)`:e.description&&e.description.toUpperCase()!==e.form.toUpperCase()?e.description:s}function N({filing:e}){return t.jsx(j,{href:e.url,titleAttr:e.form,leading:t.jsx("span",{className:"caption text-strong inline-flex w-16 shrink-0 justify-center truncate rounded bg-white/[0.06] px-1.5 py-1 font-bold",children:l(e.form)}),title:D(e),subtitle:e.reportDate?`period ${e.reportDate}`:e.items?`items ${e.items}`:e.accessionNumber,meta:e.filingDate?b(new Date(e.filingDate).getTime()):void 0})}function v({config:e}){const{data:s,isLoading:r}=h(e.symbol),m=x.useMemo(()=>((s==null?void 0:s.filings)??[]).filter(i=>E(l(i.form),e.forms)).slice(0,e.count),[s==null?void 0:s.filings,e.forms,e.count]);if(r)return t.jsx(a,{loading:!0,children:"loading SEC filings…"});if(!s)return t.jsxs(a,{children:["no SEC data for “",u(e.symbol),"”"]});const o=s.tickers[0],c=e.symbol.includes(":")?e.symbol:o?`xyz:${o}`:null,d=[s.exchanges[0],s.category].filter(Boolean).join(" · ");return t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-3",children:[t.jsxs("div",{className:"flex items-start justify-between gap-3",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[c&&t.jsx(F,{symbol:c,size:22}),t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"body-sm text-strong truncate font-semibold",children:s.name||o||u(e.symbol)}),d&&t.jsx("div",{className:"caption text-soft truncate",children:d})]})]}),t.jsx("div",{className:"caption text-soft shrink-0 text-right",children:"filings"})]}),t.jsx("div",{className:y,children:m.length>0?m.map(i=>t.jsx(N,{filing:i},i.accessionNumber)):t.jsxs(a,{children:["no ",e.forms==="all"?"":`${e.forms} `,"filings yet"]})})]})}const k=f({...p,component:v});export{k as filingsFeedFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as s}from"./react-qoZPGuNy.js";import{f as x,dn as c,K as p,h as o}from"./index-
|
|
1
|
+
import{r as u,j as s}from"./react-qoZPGuNy.js";import{f as x,dn as c,K as p,h as o}from"./index-BJ1Zyy42.js";import{b as h}from"./format-DxkEZcwQ.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{C as n}from"./chart-utils-DGogNvJT.js";import{P as g}from"./pie-chart-BIxKuHm-.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;const j=/^(10-K|10-Q|8-K|20-F|40-F|6-K|S-|F-|424|DEF |DEFA|DEFM|11-K|SC 13|25)/i,E=/^(3|4|5|144)(\/A)?$/;function b(i){return i.replace(/^SCHEDULE /i,"SC ").trim()}function F(i){const r=b(i);return E.test(r)?"insider":j.test(r)?"important":"other"}const v=[{id:"important",label:"Periodic & material",color:n[0]},{id:"insider",label:"Insider (3/4/5/144)",color:n[2]},{id:"other",label:"Other",color:n[5]}];function N({config:i}){const{data:r,isLoading:f}=p(i.symbol),a=u.useMemo(()=>{const e={important:0,insider:0,other:0};for(const t of(r==null?void 0:r.filings)??[])e[F(t.form)]++;return v.map(t=>({...t,value:e[t.id]})).filter(t=>t.value>0).sort((t,d)=>d.value-t.value)},[r]),l=a.reduce((e,t)=>e+t.value,0);return f?s.jsx(m,{loading:!0,children:"loading SEC filings…"}):a.length===0?s.jsxs(m,{children:["no SEC filings for “",o(i.symbol),"”"]}):s.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-4",children:[s.jsx(g,{data:a.map(e=>({name:e.label,value:e.value})),width:200,height:200,innerRadius:58,outerRadius:92,colors:a.map(e=>e.color),children:s.jsxs("div",{className:"flex flex-col items-center gap-0.5",children:[s.jsx("span",{className:"caption text-soft",children:(r==null?void 0:r.name)||o(i.symbol)}),s.jsx("span",{className:"metric-lg text-strong",children:l}),s.jsx("span",{className:"caption text-soft",children:"filings"})]})}),s.jsx("div",{className:"flex w-full max-w-xs flex-wrap justify-center gap-x-5 gap-y-1.5",children:a.map(e=>s.jsxs("div",{className:"flex items-center gap-1.5",children:[s.jsx("span",{className:"h-2 w-2 flex-shrink-0 rounded-full",style:{background:e.color}}),s.jsx("span",{className:"body-sm text-soft",children:e.label}),s.jsx("span",{className:"body-sm text-normal font-bold tabular-nums",children:h(e.value/l*100,0)})]},e.id))})]})}const O=x({...c,component:N});export{O as filingsMixFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,j as e}from"./react-qoZPGuNy.js";import{D as m,U as x}from"./format-DxkEZcwQ.js";import{f as h,P as l,Q as u}from"./index-
|
|
1
|
+
import{r as c,j as e}from"./react-qoZPGuNy.js";import{D as m,U as x}from"./format-DxkEZcwQ.js";import{f as h,P as l,Q as u}from"./index-BJ1Zyy42.js";import{F as r}from"./ui-Bq3RQsdJ.js";import{M as f}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";l.schema;function n(t){return t>0?m:x}function p(t){return t>=2.5?"high stress":t>=1?"elevated":t>-1?"near average":"below average"}function j({config:t}){const{stress:s,isLoading:d}=u(),o=c.useMemo(()=>((s==null?void 0:s.trend)??[]).slice(-t.trendDays).map(a=>({date:new Date(a.time).toISOString(),value:a.value})),[t.trendDays,s==null?void 0:s.trend]);if(d)return e.jsx(r,{loading:!0,children:"loading stress index…"});if(!s)return e.jsx(r,{children:"no stress-index data yet"});const i=n(s.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-start justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("div",{className:"caption text-soft uppercase",children:"OFR FSI"}),e.jsx("div",{className:"body-sm text-normal",children:s.date})]}),e.jsx("div",{className:"caption text-soft text-right",children:"daily"})]}),e.jsxs("div",{className:"flex items-end justify-between gap-3",children:[e.jsxs("div",{children:[e.jsxs("div",{className:"metric-xl leading-none",style:{color:i,textShadow:`0 0 24px ${i}44`},children:[s.value>0?"+":"",s.value.toFixed(2)]}),e.jsx("div",{className:"caption text-soft mt-1",children:p(s.value)})]}),e.jsxs("div",{className:"caption text-soft max-w-[46%] text-right leading-snug",children:["0 = long-run average",e.jsx("br",{}),"higher = more stress"]})]}),e.jsx(f,{data:o,width:210,height:42,color:i}),t.showCategories&&s.categories.length>0&&e.jsx("div",{className:"grid grid-cols-2 gap-1.5 border-t border-white/[0.08] pt-2",children:s.categories.map(a=>e.jsxs("div",{className:"flex items-center justify-between gap-2",children:[e.jsx("span",{className:"caption text-soft truncate",children:a.label}),e.jsxs("span",{className:"body-sm font-bold tabular-nums",style:{color:n(a.value)},children:[a.value>0?"+":"",a.value.toFixed(2)]})]},a.label))})]})}const y=h({...l,component:j});export{y as financialStressFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as i,j as x}from"./react-qoZPGuNy.js";import{a as F,d as _,G as I}from"./game-ui-BiMS2KJf.js";import{f as L,aL as O}from"./index-
|
|
1
|
+
import{r as i,j as x}from"./react-qoZPGuNy.js";import{a as F,d as _,G as I}from"./game-ui-BiMS2KJf.js";import{f as L,aL as O}from"./index-BJ1Zyy42.js";import"./format-DxkEZcwQ.js";const v=.225,j=-3.6,b=52,A=132,z=210,U=1.3,C=64,p=12,M=28,N=28,R={bird:"rgba(255, 255, 255, 0.95)",eye:"rgba(0, 0, 0, 0.8)",pipe:"hsla(160, 64%, 40%, 0.9)",ground:"rgba(255, 255, 255, 0.1)"};function H(t,r,f,d){t.save(),t.translate(C,r),t.rotate(Math.max(-.5,Math.min(.9,f*.06))),t.fillStyle=R.bird,t.beginPath(),t.arc(0,0,p,0,Math.PI*2),t.fill(),t.fillStyle=d,t.fillRect(-p+2,0,10,5),t.fillStyle=R.eye,t.beginPath(),t.arc(5,-4,2,0,Math.PI*2),t.fill(),t.restore()}function V(t,r,f,d,y,h){r.clearRect(0,0,t.width,t.height);const c=t.height-M;r.fillStyle=R.ground,r.fillRect(0,c,t.width,2),H(r,t.height/2,0,h),r.textAlign="center",f==="idle"?(r.fillStyle=I.text,r.font='bold 14px "DM Sans", sans-serif',r.fillText("Press SPACE or tap to fly",t.width/2,t.height/2-40)):(r.fillStyle=I.gameOver,r.font='bold 20px "DM Sans", sans-serif',r.fillText("GAME OVER",t.width/2,t.height/2-50),r.fillStyle=I.text,r.font='bold 14px "DM Sans", sans-serif',r.fillText(`Score: ${d}`,t.width/2,t.height/2-22),r.fillStyle=I.textSoft,r.fillText("Press SPACE or tap to retry",t.width/2,t.height/2+6)),r.textAlign="left",_(t,r,d,y,h)}function X(){const t=i.useRef(null),r=i.useRef(null),[f,d]=i.useState("idle"),[y,h]=i.useState(0),[c,k]=i.useState(()=>{if(typeof window<"u"){const e=localStorage.getItem("zframes-flappy-bird-high-score");return e?parseInt(e,10):0}return 0}),[,B]=i.useState(!1),u=i.useRef(0),g=i.useRef(c),E=i.useRef(f),m=i.useRef(F(null));i.useEffect(()=>{g.current=c,c>0&&localStorage.setItem("zframes-flappy-bird-high-score",String(c))},[c]),i.useEffect(()=>{E.current=f},[f]);const w=i.useRef({birdY:0,birdVel:0,pipes:[],frameCount:0}),G=i.useCallback(e=>{const n=e.height-M,a=N,l=n-N-A;return a+Math.random()*Math.max(0,l-a)},[]),T=i.useCallback(()=>{const e=t.current;e&&(w.current={birdY:e.height/2,birdVel:0,pipes:[{x:e.width+60,gapY:G(e),passed:!1}],frameCount:0},u.current=0,h(0))},[G]),P=i.useCallback(()=>{var e;if((e=r.current)==null||e.focus(),E.current!=="playing"){T(),d("playing");return}w.current.birdVel=j},[T]);return i.useEffect(()=>{const e=a=>{const l=a.target;l.tagName==="INPUT"||l.tagName==="TEXTAREA"||l.isContentEditable||(a.code==="Space"||a.code==="ArrowUp")&&(a.preventDefault(),P())},n=r.current;if(n)return n.addEventListener("keydown",e),()=>n.removeEventListener("keydown",e)},[P]),i.useLayoutEffect(()=>{const e=t.current;if(!e)return;const n=()=>{const l=e.parentElement;if(l&&l.clientWidth>0&&l.clientHeight>0){e.width=l.clientWidth,e.height=l.clientHeight,m.current=F(e);const S=e.getContext("2d");E.current!=="playing"&&(w.current.birdY=e.height/2,S&&V(e,S,E.current,u.current,g.current,m.current)),B(Y=>!Y)}};n();const a=new ResizeObserver(n);return a.observe(e.parentElement),()=>a.disconnect()},[]),i.useEffect(()=>{if(f!=="playing")return;const e=t.current,n=e==null?void 0:e.getContext("2d");if(!e||!n)return;let a;const l=e.height-M,S=()=>{u.current>g.current&&(g.current=u.current,k(u.current)),d("gameover")},Y=()=>{const o=w.current;n.clearRect(0,0,e.width,e.height),o.birdVel+=v,o.birdY+=o.birdVel,o.pipes=o.pipes.filter(s=>s.x>-b),o.pipes.forEach(s=>s.x-=U);const D=o.pipes[o.pipes.length-1];if((!D||D.x<e.width-z)&&o.pipes.push({x:e.width,gapY:G(e),passed:!1}),o.birdY-p<=0||o.birdY+p>=l){S();return}for(const s of o.pipes){if(C+p>s.x&&C-p<s.x+b&&(o.birdY-p<s.gapY||o.birdY+p>s.gapY+A)){S();return}!s.passed&&s.x+b<C&&(s.passed=!0,u.current+=1,h(u.current))}n.fillStyle=R.pipe;for(const s of o.pipes)n.fillRect(s.x,0,b,s.gapY),n.fillRect(s.x,s.gapY+A,b,l-(s.gapY+A));n.fillStyle=R.ground,n.fillRect(0,l,e.width,2),H(n,o.birdY,o.birdVel,m.current),_(e,n,u.current,g.current,m.current),o.frameCount++,a=requestAnimationFrame(Y)};return a=requestAnimationFrame(Y),()=>cancelAnimationFrame(a)},[f]),i.useEffect(()=>{if(f==="playing")return;const e=t.current,n=e==null?void 0:e.getContext("2d");!e||!n||V(e,n,f,y,c,m.current)},[f,y,c]),x.jsx("div",{ref:r,tabIndex:0,className:"relative h-full w-full cursor-pointer select-none overflow-hidden outline-none",onClick:P,onTouchStart:P,role:"application","aria-label":"Flappy bird game. Press space or tap to flap.",children:x.jsx("canvas",{ref:t,className:"h-full w-full"})})}const Q=L({...O,component:X});export{Q as flappyBirdFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as s}from"./react-qoZPGuNy.js";import{f as c,L as r,O as o,h as i}from"./index-
|
|
1
|
+
import{j as s}from"./react-qoZPGuNy.js";import{f as c,L as r,O as o,h as i}from"./index-BJ1Zyy42.js";import{e as m,d,f}from"./format-DxkEZcwQ.js";import{F as n,s as u}from"./ui-Bq3RQsdJ.js";r.schema;function x(a){return a.unit==="USD/shares"?m(a.value):a.unit==="shares"?d(a.value):f(a.value)}function h({config:a}){const{data:t,isLoading:l}=o(a.symbol);return l?s.jsx(n,{loading:!0,children:"loading SEC financials…"}):!t||t.metrics.length===0?s.jsxs(n,{children:["no SEC financials for “",i(a.symbol),"”"]}):s.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-3",children:[s.jsxs("div",{className:"flex items-start justify-between gap-3",children:[s.jsxs("div",{className:"min-w-0",children:[s.jsx("div",{className:"body-sm text-strong truncate font-semibold",children:t.entityName||i(a.symbol)}),s.jsx("div",{className:"caption text-soft truncate",children:"SEC EDGAR · XBRL company facts"})]}),s.jsx("div",{className:"caption text-soft shrink-0 text-right",children:"on filing"})]}),s.jsx("div",{className:`grid grid-cols-2 content-start gap-2 ${u}`,children:t.metrics.map(e=>s.jsxs("div",{className:"rounded bg-white/[0.04] px-3 py-2",children:[s.jsx("div",{className:"caption text-soft truncate",children:e.label}),s.jsx("div",{className:"metric-sm text-strong",children:x(e)}),s.jsx("div",{className:"caption text-soft truncate",children:e.fiscalPeriod})]},e.label))})]})}const N=c({...r,component:h});export{N as fundamentalsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as s,j as e}from"./react-qoZPGuNy.js";import{D as d,U as f,h as i}from"./format-DxkEZcwQ.js";import{f as p,cb as c,bD as g}from"./index-
|
|
1
|
+
import{r as s,j as e}from"./react-qoZPGuNy.js";import{D as d,U as f,h as i}from"./format-DxkEZcwQ.js";import{f as p,cb as c,bD as g}from"./index-BJ1Zyy42.js";import{F as m}from"./ui-Bq3RQsdJ.js";import{B as x}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";c.schema;function h({config:u}){const{comparison:r,isLoading:l}=g(),o=u.coin.trim().toUpperCase(),n=s.useMemo(()=>r.find(a=>a.coin.toUpperCase()===o),[r,o]),t=s.useMemo(()=>((n==null?void 0:n.venues)??[]).map(a=>({label:a.venue,value:a.annualizedPct})),[n]);return l?e.jsx(m,{loading:!0,children:"loading funding…"}):t.length===0?e.jsxs(m,{children:["no cross-venue funding for ",o]}):e.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[e.jsx(x,{data:t,orientation:"horizontal",color:f,negativeColor:d,height:Math.max(t.length*28,84),formatValue:a=>i(a)}),e.jsxs("div",{className:"caption text-soft text-center",children:[o," funding, annualized · spread"," ",i((n==null?void 0:n.spreadPct)??0)]})]})}const P=p({...c,component:h});export{P as fundingBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as m,j as a}from"./react-qoZPGuNy.js";import{f as x,cz as f,Z as A,h as C}from"./index-
|
|
1
|
+
import{r as m,j as a}from"./react-qoZPGuNy.js";import{f as x,cz as f,Z as A,h as C}from"./index-BJ1Zyy42.js";import{h as u}from"./format-DxkEZcwQ.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{C as d}from"./chart-utils-DGogNvJT.js";import{S}from"./index-DuNO-RcB.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const F={"24h":1440*60*1e3,"7D":10080*60*1e3,"1M":720*60*60*1e3};f.schema;function M(r){return r.toLocaleDateString("en-US",{month:"short",day:"numeric"})}function j({config:r}){const o=F[r.lookback],h=m.useMemo(()=>Date.now()-o,[o]),{history:n,isLoading:l}=A(r.symbols,h),s=m.useMemo(()=>r.symbols.map((t,p)=>{let i=0;const g=[...n[t]??[]].sort((e,y)=>e.time-y.time).map(e=>(i+=e.fundingRate*100,{date:new Date(e.time),value:i}));return{id:t,name:C(t),color:d[p%d.length],data:g}}),[r.symbols,n]);return l?a.jsx(c,{loading:!0,children:"loading funding carry…"}):s.every(t=>t.data.length===0)?a.jsx(c,{children:"no funding data yet"}):a.jsx(S,{series:s,height:250,formatXAxis:M,formatYAxis:u,formatValue:u})}const _=x({...f,component:j});export{_ as fundingCarryAreaFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as o}from"./react-qoZPGuNy.js";import{b as a}from"./format-DxkEZcwQ.js";import{M as l}from"./metric-row-BVVhjsjK.js";import{f as d,bC as r,bD as u}from"./index-
|
|
1
|
+
import{j as o}from"./react-qoZPGuNy.js";import{b as a}from"./format-DxkEZcwQ.js";import{M as l}from"./metric-row-BVVhjsjK.js";import{f as d,bC as r,bD as u}from"./index-BJ1Zyy42.js";import{F as e,s as f}from"./ui-Bq3RQsdJ.js";r.schema;function p({config:t}){const{comparison:m,isLoading:c}=u(),i=m.slice(0,t.limit);return c?o.jsx(e,{loading:!0,children:"loading funding…"}):i.length===0?o.jsx(e,{children:"no funding data yet"}):o.jsx("div",{className:`${f} flex flex-col`,children:i.map(n=>o.jsx(l,{label:n.coin,meta:n.venues.map(s=>`${s.venue.slice(0,3)} ${a(s.annualizedPct,1)}`).join(" · "),value:`${a(n.spreadPct,1)} sprd`},n.coin))})}const h=d({...r,component:p});export{h as fundingComparisonFrame};
|
package/runtime/assets/{funding-crowding-scatter-BTzQUtFn.js → funding-crowding-scatter-DDjzoq8v.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,j as n}from"./react-qoZPGuNy.js";import{f as u,cD as m,aj as h,aJ as p,h as x}from"./index-
|
|
1
|
+
import{r as c,j as n}from"./react-qoZPGuNy.js";import{f as u,cD as m,aj as h,aJ as p,h as x}from"./index-BJ1Zyy42.js";import{c as j,h as S,a as w}from"./format-DxkEZcwQ.js";import{F as g}from"./ui-Bq3RQsdJ.js";import{S as L}from"./scatter-chart-B78EA7lD.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";m.schema;function b({config:i}){const{stats:r,isLoading:d}=h(),{entries:o,isLoading:f}=p(),l=d||f,s=c.useMemo(()=>{const t=new Map;for(const e of o)t.set(e.symbol,e.openInterestUsd);return t},[o]),a=c.useMemo(()=>Object.entries(r).filter(([,t])=>t.funding!==void 0).map(([t,e])=>({id:t,label:x(t),x:e.changePct,y:e.funding*100,weight:s.get(t)??0,color:j(e.changePct)})).filter(t=>t.weight>0).sort((t,e)=>e.weight-t.weight).slice(0,i.limit),[r,s,i.limit]);return l?n.jsx(g,{loading:!0,children:"loading funding…"}):a.length===0?n.jsx(g,{children:"no funding data yet"}):n.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[n.jsx(L,{data:a,zeroXLine:!0,height:210,formatX:w,formatY:S,maxLabels:10}),n.jsxs("div",{className:"caption text-soft text-center",children:["24h change (x) vs funding rate (y) · bubble = open interest · top"," ",a.length]})]})}const O=u({...m,component:b});export{O as fundingCrowdingScatterFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as f,j as o}from"./react-qoZPGuNy.js";import{f as y,Y as h,Z as M,h as j}from"./index-
|
|
1
|
+
import{r as f,j as o}from"./react-qoZPGuNy.js";import{f as y,Y as h,Z as M,h as j}from"./index-BJ1Zyy42.js";import{h as w}from"./format-DxkEZcwQ.js";import{F as d}from"./ui-Bq3RQsdJ.js";import{H as F}from"./index-Bw1aFtyx.js";import"./utils-DxneYyA_.js";h.schema;const p=1440*60*1e3,H=10080*60*1e3;function C({data:t,width:a}){return a<44?null:o.jsx("div",{className:"flex h-full w-full items-center justify-center",children:o.jsx("span",{className:"caption text-normal tabular-nums",children:w(t.rate*100)})})}function L({config:t}){const a=f.useMemo(()=>Date.now()-H,[]),{history:i,isLoading:g}=M(t.symbols,a),u=f.useMemo(()=>{const c=[];for(const r of t.symbols){const b=i[r]??[],m=new Map;for(const n of b){const s=Math.floor(n.time/p)*p,e=m.get(s)??{sum:0,n:0};e.sum+=n.fundingRate,e.n+=1,m.set(s,e)}for(const[n,{sum:s,n:e}]of m){const l=s/e,x=new Date(n).toLocaleDateString("en-US",{month:"numeric",day:"numeric"});c.push({id:`${r}-${n}`,row:j(r),column:x,value:l*1e4,rate:l})}}return c},[i,t.symbols]);return g?o.jsx(d,{loading:!0,children:"loading funding…"}):u.length===0?o.jsx(d,{children:"no funding data"}):o.jsx(F,{data:u,CellComponent:C,gap:3,showLabels:!0,rowLabelWidth:48,columnLabelHeight:20})}const O=y({...h,component:L});export{O as fundingHeatmapFrame};
|
package/runtime/assets/{funding-leaderboard-bars-CpYvO_Cs.js → funding-leaderboard-bars-CrQMBbY7.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as e}from"./react-qoZPGuNy.js";import{f,cC as d,aj as n,h as c}from"./index-
|
|
1
|
+
import{r as u,j as e}from"./react-qoZPGuNy.js";import{f,cC as d,aj as n,h as c}from"./index-BJ1Zyy42.js";import{h as g,D as h,U as p}from"./format-DxkEZcwQ.js";import{F as l}from"./ui-Bq3RQsdJ.js";import{B as x}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";d.schema;const j=["xyz:*"];function v({config:i}){const r=n(void 0,6e4),s=n(j,6e4),m=r.isLoading||s.isLoading,o=u.useMemo(()=>Object.entries({...r.stats,...s.stats}).filter(([,t])=>t.funding!==void 0).map(([t,a])=>({label:c(t),value:a.funding*100})).sort((t,a)=>Math.abs(a.value)-Math.abs(t.value)).slice(0,i.limit).sort((t,a)=>a.value-t.value),[r.stats,s.stats,i.limit]);return m?e.jsx(l,{loading:!0,children:"loading funding…"}):o.length===0?e.jsx(l,{children:"no funding data yet"}):e.jsx("div",{className:"flex h-full flex-col justify-center text-normal",children:e.jsx(x,{data:o,orientation:"horizontal",color:p,negativeColor:h,height:Math.max(o.length*24,96),formatValue:g})})}const B=f({...d,component:v});export{B as fundingLeaderboardBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as o,j as a}from"./react-qoZPGuNy.js";import{f as l,_ as d,Z as C,h as M}from"./index-
|
|
1
|
+
import{r as o,j as a}from"./react-qoZPGuNy.js";import{f as l,_ as d,Z as C,h as M}from"./index-BJ1Zyy42.js";import{h as R}from"./format-DxkEZcwQ.js";import{F as f}from"./ui-Bq3RQsdJ.js";import{a as r,C as u}from"./chart-utils-DGogNvJT.js";import{M as S}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";const x={"24h":{ms:1440*60*1e3,timeframe:r["24h"]},"7D":{ms:10080*60*1e3,timeframe:r["7D"]},"1M":{ms:720*60*60*1e3,timeframe:r["1M"]}};d.schema;function F({config:e}){const{ms:s,timeframe:h}=x[e.lookback],c=o.useMemo(()=>Date.now()-s,[s]),{history:m,isLoading:p}=C(e.symbols,c),i=o.useMemo(()=>e.symbols.map((t,g)=>({id:t,name:M(t),color:u[g%u.length],data:(m[t]??[]).map(n=>({date:new Date(n.time).toISOString(),value:n.fundingRate*100}))})),[e.symbols,m]);return p?a.jsx(f,{loading:!0,children:"loading funding rates…"}):i.every(t=>t.data.length===0)?a.jsx(f,{children:"no funding data yet"}):a.jsx(S,{series:i,timeframe:h,height:250,formatValue:R})}const k=l({...d,component:F});export{k as fundingRateChartFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as d,j as a}from"./react-qoZPGuNy.js";import{b as l}from"./format-DxkEZcwQ.js";import{f as c,cx as i,bD as p}from"./index-
|
|
1
|
+
import{r as d,j as a}from"./react-qoZPGuNy.js";import{b as l}from"./format-DxkEZcwQ.js";import{f as c,cx as i,bD as p}from"./index-BJ1Zyy42.js";import{F as s}from"./ui-Bq3RQsdJ.js";import{B as u}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";i.schema;function f({config:e}){const{comparison:n,isLoading:o}=p(),r=d.useMemo(()=>[...n].sort((t,m)=>m.spreadPct-t.spreadPct).slice(0,e.limit).map(t=>({label:t.coin,value:t.spreadPct})),[n,e.limit]);return o?a.jsx(s,{loading:!0,children:"loading funding…"}):r.length===0?a.jsx(s,{children:"no funding data yet"}):a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(u,{data:r,orientation:"horizontal",height:Math.max(r.length*26,96),formatValue:t=>l(t,1)}),a.jsxs("div",{className:"caption text-soft text-center",children:["cross-venue funding spread, annualized · top ",r.length]})]})}const P=c({...i,component:f});export{P as fundingSpreadBarsFrame};
|
package/runtime/assets/{funding-venue-heatmap-jKiQGgLb.js → funding-venue-heatmap-DA0JsXzA.js}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as c,j as t}from"./react-qoZPGuNy.js";import{b as d}from"./format-DxkEZcwQ.js";import{f,cy as u,bD as p}from"./index-
|
|
1
|
+
import{r as c,j as t}from"./react-qoZPGuNy.js";import{b as d}from"./format-DxkEZcwQ.js";import{f,cy as u,bD as p}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{H as h}from"./index-Bw1aFtyx.js";import"./utils-DxneYyA_.js";u.schema;function g({data:a,width:o}){return o<44?null:t.jsx("div",{className:"flex h-full w-full items-center justify-center",children:t.jsx("span",{className:"caption text-normal tabular-nums",children:d(a.annualizedPct,1)})})}function x({config:a}){const{comparison:o,isLoading:l}=p(),r=c.useMemo(()=>{const m=[...o].sort((n,e)=>Math.abs(e.spreadPct)-Math.abs(n.spreadPct)).slice(0,a.limit),s=[];for(const n of m)for(const e of n.venues)s.push({id:`${n.coin}-${e.venue}`,row:n.coin,column:e.venue,value:e.annualizedPct,annualizedPct:e.annualizedPct});return s},[o,a.limit]);return l?t.jsx(i,{loading:!0,children:"loading funding…"}):r.length===0?t.jsx(i,{children:"no funding data"}):t.jsx(h,{data:r,CellComponent:g,gap:3,showLabels:!0,rowLabelWidth:48,columnLabelHeight:20})}const C=f({...u,component:x});export{C as fundingVenueHeatmapFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{c as x,i as p,a as f}from"./format-DxkEZcwQ.js";import{f as b,an as d,ao as j}from"./index-
|
|
1
|
+
import{j as e}from"./react-qoZPGuNy.js";import{c as x,i as p,a as f}from"./format-DxkEZcwQ.js";import{f as b,an as d,ao as j}from"./index-BJ1Zyy42.js";import{F as c}from"./ui-Bq3RQsdJ.js";import{M as u}from"./mini-line-chart-DyG55cVW.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";d.schema;function g({config:a}){var n,o;const{rates:t,isLoading:h}=j(a.base,a.symbols);if(h)return e.jsx(c,{loading:!0,children:"loading FX rates…"});if(!t.length)return e.jsx(c,{children:"no FX data yet"});const r=(o=(n=t[0])==null?void 0:n.history.at(-1))==null?void 0:o.time;return e.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-3",children:[e.jsxs("div",{className:"flex items-baseline justify-between gap-3",children:[e.jsxs("div",{children:[e.jsx("div",{className:"caption text-soft uppercase",children:"FX rates"}),e.jsxs("div",{className:"body-sm text-normal",children:["1 ",a.base.toUpperCase()," buys"]})]}),e.jsx("div",{className:"caption text-soft text-right",children:r?new Date(r).toLocaleDateString("en-US",{month:"short",day:"numeric"}):"ECB daily"})]}),e.jsx("div",{className:"min-h-0 flex-1 overflow-hidden",children:t.map(s=>{const i=x(s.changePct),l=s.history.map(m=>({date:new Date(m.time).toISOString(),value:m.value}));return e.jsxs("div",{className:"flex items-center gap-3 border-b border-white/[0.06] py-1.5 last:border-b-0",children:[e.jsx("span",{className:"body-sm w-9 font-bold text-strong",children:s.symbol}),e.jsx("div",{className:"flex-1"}),a.showSparkline&&l.length>1&&e.jsx(u,{data:l,width:72,height:20,color:i}),e.jsxs("span",{className:"whitespace-nowrap text-right tabular-nums",children:[e.jsx("span",{className:"body-sm text-strong",children:p(s.rate)}),e.jsx("span",{className:"caption ml-2 font-bold",style:{color:i},children:f(s.changePct)})]})]},s.symbol)})})]})}const B=b({...d,component:g});export{B as fxBoardFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as s}from"./react-qoZPGuNy.js";import{a as f,i as y}from"./format-DxkEZcwQ.js";import{f as d,dp as h,ao as C}from"./index-
|
|
1
|
+
import{r as u,j as s}from"./react-qoZPGuNy.js";import{a as f,i as y}from"./format-DxkEZcwQ.js";import{f as d,dp as h,ao as C}from"./index-BJ1Zyy42.js";import{F as p}from"./ui-Bq3RQsdJ.js";import{H as g}from"./index-Bw1aFtyx.js";import"./utils-DxneYyA_.js";h.schema;function j({data:t,width:a}){return a<40?null:s.jsx("div",{className:"flex h-full w-full items-center justify-center",title:`${t.row} → ${t.column} · ${y(t.rate)} · ${f(t.value)}`,children:s.jsx("span",{className:"caption text-normal tabular-nums",children:f(t.value)})})}function w({config:t}){const a=u.useMemo(()=>t.symbols.filter(o=>o!=="USD"),[t.symbols]),{rates:c,isLoading:x}=C("USD",a),m=u.useMemo(()=>{const o=new Map([["USD",{rate:1,changePct:0}]]);for(const e of c)o.set(e.symbol,e);const i=[];for(const e of t.symbols){const n=o.get(e);if(n)for(const r of t.symbols){if(e===r)continue;const l=o.get(r);if(!l)continue;const b=((1+l.changePct/100)/(1+n.changePct/100)-1)*100;i.push({id:`${e}-${r}`,row:e,column:r,value:b,rate:l.rate/n.rate})}}return i},[c,t.symbols]);return x?s.jsx(p,{loading:!0,children:"loading FX crosses…"}):m.length===0?s.jsx(p,{children:"no FX data yet"}):s.jsx(g,{data:m,CellComponent:j,gap:3,showLabels:!0,rowLabelWidth:40,columnLabelHeight:20})}const S=d({...h,component:w});export{S as fxCrossHeatmapFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as a}from"./react-qoZPGuNy.js";import{a as c,D as h,U as x}from"./format-DxkEZcwQ.js";import{f,dv as n,ao as p}from"./index-
|
|
1
|
+
import{r as l,j as a}from"./react-qoZPGuNy.js";import{a as c,D as h,U as x}from"./format-DxkEZcwQ.js";import{f,dv as n,ao as p}from"./index-BJ1Zyy42.js";import{F as o}from"./ui-Bq3RQsdJ.js";import{B as d}from"./bar-chart-DCMbxUJx.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";n.schema;function u({config:t}){const{rates:s,isLoading:m}=p(t.base,t.symbols),r=l.useMemo(()=>[...s].sort((e,i)=>i.changePct-e.changePct).map(e=>({label:e.symbol,value:e.changePct})),[s]);return m?a.jsx(o,{loading:!0,children:"loading FX rates…"}):r.length===0?a.jsx(o,{children:"no FX data yet"}):a.jsxs("div",{className:"flex h-full flex-col justify-center gap-1 text-normal",children:[a.jsx(d,{data:r,orientation:"horizontal",color:x,negativeColor:h,height:Math.max(r.length*24,96),formatValue:c}),a.jsxs("div",{className:"caption text-soft text-center",children:[t.base.toUpperCase()," FX movers · day change"]})]})}const y=f({...n,component:u});export{y as fxMoversBarsFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as u,j as e}from"./react-qoZPGuNy.js";import{a as f}from"./format-DxkEZcwQ.js";import{f as p,dr as h,ao as c}from"./index-
|
|
1
|
+
import{r as u,j as e}from"./react-qoZPGuNy.js";import{a as f}from"./format-DxkEZcwQ.js";import{f as p,dr as h,ao as c}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";import{C as n,a as C}from"./chart-utils-DGogNvJT.js";import{M as g}from"./index-BpPIfN5S.js";import"./d3-ibrLIlQc.js";import"./utils-DxneYyA_.js";h.schema;function x({config:a}){const{rates:o,isLoading:l}=c(a.base,a.symbols),s=u.useMemo(()=>o.filter(t=>t.history.length>0).map((t,d)=>{const r=t.history[0].value;return{id:t.symbol,name:t.symbol,color:n[d%n.length],data:t.history.map(m=>({date:new Date(m.time).toISOString(),value:r>0?(m.value-r)/r*100:0}))}}),[o]);return l?e.jsx(i,{loading:!0,children:"loading FX trends…"}):s.length===0?e.jsx(i,{children:"no FX data yet"}):e.jsx(g,{series:s,timeframe:C["1M"],height:220,formatValue:f})}const E=p({...h,component:x});export{E as fxTrendChartFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as e}from"./react-qoZPGuNy.js";import{f as m,$ as c}from"./index-
|
|
1
|
+
import{j as e}from"./react-qoZPGuNy.js";import{f as m,$ as c}from"./index-BJ1Zyy42.js";c.schema;function p({config:t}){const n=t.accent!==void 0,s=t.align==="center",i=n?{"--zf-accent-hue":String(t.accent)}:void 0,a=n?"hsl(var(--zf-accent-hue) 80% 70% / 0.5)":"hsl(0 0% var(--zf-ink-l, 100%) / 0.16)",l=n?"hsl(var(--zf-accent-hue) 80% 70% / 0.06)":"hsl(0 0% var(--zf-ink-l, 100%) / 0.02)",o=`linear-gradient(90deg, ${a}, ${l} 65%, transparent)`,d=`linear-gradient(90deg, transparent, ${l} 35%, ${a})`,r=x=>e.jsx("span",{className:"mb-[5px] h-px flex-1",style:{background:x}}),h=e.jsxs("div",{className:`flex min-w-0 flex-col gap-1 ${s?"items-center":""}`,children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("span",{className:"h-[5px] w-[5px] shrink-0 rounded-full",style:{background:"var(--color-highlight)",boxShadow:"0 0 8px var(--color-highlight)"}}),e.jsx("h2",{className:`body-md font-extrabold uppercase leading-none tracking-[0.14em] ${n?"text-highlight":"text-strong"}`,children:t.title})]}),t.subtitle&&e.jsx("p",{className:`caption text-soft leading-none ${s?"":"pl-[13px]"}`,children:t.subtitle})]});return e.jsxs("div",{className:"flex h-full w-full items-end gap-3 pb-2",style:i,children:[s&&r(d),h,r(o)]})}const f=m({...c,component:p});export{f as headingFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as a}from"./react-qoZPGuNy.js";import{U as t,D as r}from"./format-DxkEZcwQ.js";import{f as o,a0 as l}from"./index-
|
|
1
|
+
import{j as a}from"./react-qoZPGuNy.js";import{U as t,D as r}from"./format-DxkEZcwQ.js";import{f as o,a0 as l}from"./index-BJ1Zyy42.js";l.schema;function m({config:e}){const s=e.deltaDir==="up"?t:e.deltaDir==="down"?r:"var(--color-soft)";return a.jsxs("div",{className:"flex h-full w-full flex-col items-center justify-center gap-1 text-center",children:[e.label&&a.jsx("div",{className:"caption text-soft uppercase tracking-[0.12em]",children:e.label}),a.jsx("div",{className:"metric-lg text-strong break-words leading-none",children:e.value}),e.delta&&a.jsx("div",{className:"body-sm font-semibold tabular-nums",style:{color:s},children:e.delta}),e.sublabel&&a.jsx("div",{className:"caption text-disabled",children:e.sublabel})]})}const c=o({...l,component:m});export{c as heroNumberFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{j as n}from"./react-qoZPGuNy.js";import{E as d,a as u,n as h}from"./market-data-CvmpLFSo.js";import{M as f}from"./metric-row-BVVhjsjK.js";import{f as x,bV as m}from"./index-
|
|
1
|
+
import{j as n}from"./react-qoZPGuNy.js";import{E as d,a as u,n as h}from"./market-data-CvmpLFSo.js";import{M as f}from"./metric-row-BVVhjsjK.js";import{f as x,bV as m}from"./index-BJ1Zyy42.js";import{F as i,s as p}from"./ui-Bq3RQsdJ.js";m.schema;function y(e,o){const[t,a,s]=e.split("-").map(Number),[l,r,c]=o.split("-").map(Number);return Math.round((Date.UTC(l,r-1,c)-Date.UTC(t,a-1,s))/864e5)}function b(e){const[o,t,a]=e.split("-").map(Number);return new Date(Date.UTC(o,t-1,a)).toLocaleDateString("en-US",{weekday:"short",month:"short",day:"numeric",timeZone:"UTC"})}function C(e){return e<=0?"today":e===1?"tomorrow":`in ${e}d`}function j({config:e}){var l;if(!d[e.exchange])return n.jsx(i,{children:"unknown exchange"});const t=(l=u(e.exchange))==null?void 0:l.ymd,a=h(e.exchange,e.count),s=e.label.trim();return!t||a.length===0?n.jsx(i,{children:"no upcoming holidays on file"}):n.jsxs("div",{className:"flex h-full w-full flex-col",children:[s&&n.jsx("div",{className:"caption text-soft mb-1 shrink-0 uppercase tracking-[0.12em]",children:s}),n.jsx("div",{className:`min-h-0 flex-1 ${p}`,children:a.map(r=>n.jsx(f,{label:b(r),value:C(y(t,r))},r))})]})}const k=x({...m,component:j});export{k as holidayCalendarFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as l,j as e}from"./react-qoZPGuNy.js";import{f as d,a1 as n}from"./index-
|
|
1
|
+
import{r as l,j as e}from"./react-qoZPGuNy.js";import{f as d,a1 as n}from"./index-BJ1Zyy42.js";import{F as i}from"./ui-Bq3RQsdJ.js";n.schema;function m({config:a}){const[o,t]=l.useState("loading"),s=l.useRef(null);return l.useEffect(()=>{t("loading");const r=s.current;r!=null&&r.complete&&t(r.naturalWidth>0?"loaded":"error")},[a.url]),o==="error"?e.jsx(i,{children:"image unavailable"}):e.jsxs("div",{className:"relative flex h-full w-full items-center justify-center overflow-hidden rounded-md",children:[o==="loading"&&e.jsx("div",{className:"absolute inset-0 z-10",children:e.jsx(i,{loading:!0,children:"loading image…"})}),e.jsx("img",{ref:s,src:a.url,alt:a.alt,className:`h-full w-full transition-opacity duration-300 ${o==="loaded"?"opacity-100":"opacity-0"}`,style:{objectFit:a.fit},onLoad:()=>t("loaded"),onError:()=>t("error")})]})}const p=d({...n,component:m});export{p as imageFrame};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{r as n,j as s}from"./react-qoZPGuNy.js";import{f as y,a2 as h}from"./index-
|
|
1
|
+
import{r as n,j as s}from"./react-qoZPGuNy.js";import{f as y,a2 as h}from"./index-BJ1Zyy42.js";import{F as f}from"./ui-Bq3RQsdJ.js";h.schema;function S({config:p}){const{images:a,intervalSec:l,fit:g}=p,[x,c]=n.useState(0),[o,d]=n.useState(()=>a.map(()=>"loading")),u=n.useRef([]),j=a.map(t=>t.url).join("|");n.useEffect(()=>{c(0),d(a.map((t,e)=>{const r=u.current[e];return r!=null&&r.complete?r.naturalWidth>0?"loaded":"error":"loading"}))},[j]),n.useEffect(()=>{if(l<=0||a.length<=1)return;const t=window.setInterval(()=>c(e=>(e+1)%a.length),l*1e3);return()=>window.clearInterval(t)},[l,a.length]);const i=Math.min(x,a.length-1),m=(t,e)=>d(r=>r.map((v,w)=>w===t?e:v));return s.jsxs("div",{className:"relative h-full w-full overflow-hidden rounded-md",children:[o[i]==="loading"&&s.jsx("div",{className:"absolute inset-0 z-10",children:s.jsx(f,{loading:!0,children:"loading image…"})}),o[i]==="error"&&s.jsx("div",{className:"absolute inset-0 z-10",children:s.jsx(f,{children:"image unavailable"})}),a.map((t,e)=>s.jsx("img",{ref:r=>{u.current[e]=r},src:t.url,alt:t.alt,className:"absolute inset-0 h-full w-full transition-opacity duration-700",style:{objectFit:g,opacity:e===i&&o[e]==="loaded"?1:0},onLoad:()=>m(e,"loaded"),onError:()=>m(e,"error")},`${e}:${t.url}`))]})}const I=y({...h,component:S});export{I as imageGalleryFrame};
|