@agg-market/ui 4.0.0 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -26
- package/dist/auth.d.mts +1 -0
- package/dist/auth.d.ts +1 -0
- package/dist/{connect-button.js → auth.js} +6 -4
- package/dist/auth.mjs +8 -0
- package/dist/chunk-2ICOSP7N.mjs +1211 -0
- package/dist/chunk-5ZKPBMRK.mjs +2411 -0
- package/dist/{chunk-5K7VXAYM.mjs → chunk-ADGL6RFX.mjs} +2 -4
- package/dist/chunk-BXW3VIKV.mjs +90 -0
- package/dist/{chart.js → chunk-CN7GI2RJ.mjs} +250 -103
- package/dist/chunk-G6YKGVQR.mjs +769 -0
- package/dist/{chunk-PZTHM6WG.mjs → chunk-HI4EEDN5.mjs} +897 -357
- package/dist/{chunk-5ADMXO3Y.mjs → chunk-INRG3D4M.mjs} +5 -11
- package/dist/{chunk-DCORNTCY.mjs → chunk-JE3Z52FD.mjs} +85 -64
- package/dist/chunk-KZOQW6NT.mjs +0 -0
- package/dist/chunk-LMOJKJOY.mjs +2616 -0
- package/dist/{chunk-YJA5VQW6.mjs → chunk-MHCHR65A.mjs} +2 -4
- package/dist/{chunk-IGPNIM2B.mjs → chunk-PASXFYKQ.mjs} +2 -4
- package/dist/chunk-UBBOLLOS.mjs +999 -0
- package/dist/events.d.mts +1 -0
- package/dist/events.d.ts +1 -0
- package/dist/{event-market-page.js → events.js} +5128 -5274
- package/dist/events.mjs +17 -0
- package/dist/index.d.mts +1 -78
- package/dist/index.d.ts +1 -78
- package/dist/index.js +8738 -8534
- package/dist/index.mjs +68 -167
- package/dist/modals.d.mts +1 -0
- package/dist/modals.d.ts +1 -0
- package/dist/{deposit-modal.js → modals.js} +1771 -6
- package/dist/modals.mjs +25 -0
- package/dist/pages.d.mts +1 -0
- package/dist/pages.d.ts +1 -0
- package/dist/pages.js +7928 -0
- package/dist/pages.mjs +16 -0
- package/dist/primitives.d.mts +1 -0
- package/dist/primitives.d.ts +1 -0
- package/dist/{market-details.js → primitives.js} +2980 -3153
- package/dist/{icon.mjs → primitives.mjs} +56 -9
- package/dist/styles.css +1 -1
- package/dist/tailwind.css +1 -1
- package/dist/trading.d.mts +1 -0
- package/dist/trading.d.ts +1 -0
- package/dist/{place-order.js → trading.js} +1907 -1394
- package/dist/trading.mjs +65 -0
- package/dist/types/auth/connect-button/connect-button.constants.d.mts +10 -0
- package/dist/types/auth/connect-button/connect-button.constants.d.ts +10 -0
- package/dist/{connect-button.d.mts → types/auth/connect-button/connect-button.types.d.mts} +5 -12
- package/dist/{connect-button.d.ts → types/auth/connect-button/connect-button.types.d.ts} +5 -12
- package/dist/types/auth/connect-button/index.d.mts +7 -0
- package/dist/types/auth/connect-button/index.d.ts +7 -0
- package/dist/types/auth/index.d.mts +1 -0
- package/dist/types/auth/index.d.ts +1 -0
- package/dist/types/constants.d.mts +1 -0
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/deposit/deposit-modal.constants.d.mts +9 -0
- package/dist/types/deposit/deposit-modal.constants.d.ts +9 -0
- package/dist/{deposit-modal.d.mts → types/deposit/deposit-modal.types.d.mts} +3 -10
- package/dist/{deposit-modal.d.ts → types/deposit/deposit-modal.types.d.ts} +3 -10
- package/dist/types/deposit/index.d.mts +6 -0
- package/dist/types/deposit/index.d.ts +6 -0
- package/dist/types/deposit/steps/card-deposit.d.mts +7 -0
- package/dist/types/deposit/steps/card-deposit.d.ts +7 -0
- package/dist/types/deposit/steps/crypto-transfer.d.mts +7 -0
- package/dist/types/deposit/steps/crypto-transfer.d.ts +7 -0
- package/dist/types/deposit/steps/deposit-method.d.mts +7 -0
- package/dist/types/deposit/steps/deposit-method.d.ts +7 -0
- package/dist/types/deposit/steps/kalshi-deposit.d.mts +5 -0
- package/dist/types/deposit/steps/kalshi-deposit.d.ts +5 -0
- package/dist/types/deposit/steps/venue-selection.d.mts +7 -0
- package/dist/types/deposit/steps/venue-selection.d.ts +7 -0
- package/dist/types/events/index.d.mts +4 -0
- package/dist/types/events/index.d.ts +4 -0
- package/dist/types/events/item/event-list-item.constants.d.mts +1 -0
- package/dist/types/events/item/event-list-item.constants.d.ts +1 -0
- package/dist/types/events/item/event-list-item.types.d.mts +46 -0
- package/dist/types/events/item/event-list-item.types.d.ts +46 -0
- package/dist/types/events/item/event-list-item.utils.d.mts +23 -0
- package/dist/types/events/item/event-list-item.utils.d.ts +23 -0
- package/dist/types/events/item/index.d.mts +6 -0
- package/dist/types/events/item/index.d.ts +6 -0
- package/dist/types/events/item-details/event-list-item-details.constants.d.mts +10 -0
- package/dist/types/events/item-details/event-list-item-details.constants.d.ts +10 -0
- package/dist/types/events/item-details/event-list-item-details.types.d.mts +53 -0
- package/dist/types/events/item-details/event-list-item-details.types.d.ts +53 -0
- package/dist/types/events/item-details/event-list-item-details.utils.d.mts +26 -0
- package/dist/types/events/item-details/event-list-item-details.utils.d.ts +26 -0
- package/dist/types/events/item-details/index.d.mts +6 -0
- package/dist/types/events/item-details/index.d.ts +6 -0
- package/dist/types/events/list/event-list.constants.d.mts +3 -0
- package/dist/types/events/list/event-list.constants.d.ts +3 -0
- package/dist/types/events/list/event-list.types.d.mts +21 -0
- package/dist/types/events/list/event-list.types.d.ts +21 -0
- package/dist/types/events/list/event-list.utils.d.mts +6 -0
- package/dist/types/events/list/event-list.utils.d.ts +6 -0
- package/dist/types/events/list/index.d.mts +6 -0
- package/dist/types/events/list/index.d.ts +6 -0
- package/dist/types/events/market-details/index.d.mts +6 -0
- package/dist/types/events/market-details/index.d.ts +6 -0
- package/dist/types/events/market-details/market-details.constants.d.mts +9 -0
- package/dist/types/events/market-details/market-details.constants.d.ts +9 -0
- package/dist/types/events/market-details/market-details.types.d.mts +63 -0
- package/dist/types/events/market-details/market-details.types.d.ts +63 -0
- package/dist/types/events/market-details/market-details.utils.d.mts +46 -0
- package/dist/types/events/market-details/market-details.utils.d.ts +46 -0
- package/dist/types/index.d.mts +9 -0
- package/dist/types/index.d.ts +9 -0
- package/dist/types/modals/index.d.mts +4 -0
- package/dist/types/modals/index.d.ts +4 -0
- package/dist/types/onboarding/index.d.mts +11 -0
- package/dist/types/onboarding/index.d.ts +11 -0
- package/dist/types/onboarding/onboarding-modal.constants.d.mts +10 -0
- package/dist/types/onboarding/onboarding-modal.constants.d.ts +10 -0
- package/dist/types/onboarding/onboarding-modal.types.d.mts +55 -0
- package/dist/types/onboarding/onboarding-modal.types.d.ts +55 -0
- package/dist/types/onboarding/steps/connect-accounts.d.mts +5 -0
- package/dist/types/onboarding/steps/connect-accounts.d.ts +5 -0
- package/dist/types/onboarding/steps/connect-kalshi-modal.d.mts +5 -0
- package/dist/types/onboarding/steps/connect-kalshi-modal.d.ts +5 -0
- package/dist/types/onboarding/steps/connect-onchain-modal.d.mts +5 -0
- package/dist/types/onboarding/steps/connect-onchain-modal.d.ts +5 -0
- package/dist/types/onboarding/steps/how-it-works.d.mts +5 -0
- package/dist/types/onboarding/steps/how-it-works.d.ts +5 -0
- package/dist/types/onboarding/steps/profile-setup.d.mts +5 -0
- package/dist/types/onboarding/steps/profile-setup.d.ts +5 -0
- package/dist/types/pages/event-market/event-market.types.d.mts +42 -0
- package/dist/types/pages/event-market/event-market.types.d.ts +42 -0
- package/dist/types/pages/event-market/index.d.mts +6 -0
- package/dist/types/pages/event-market/index.d.ts +6 -0
- package/dist/types/pages/home/home.constants.d.mts +8 -0
- package/dist/types/pages/home/home.constants.d.ts +8 -0
- package/dist/{home-page.d.ts → types/pages/home/home.types.d.mts} +8 -18
- package/dist/{home-page.d.mts → types/pages/home/home.types.d.ts} +8 -18
- package/dist/types/pages/home/home.utils.d.mts +3 -0
- package/dist/types/pages/home/home.utils.d.ts +3 -0
- package/dist/types/pages/home/index.d.mts +6 -0
- package/dist/types/pages/home/index.d.ts +6 -0
- package/dist/types/pages/index.d.mts +3 -0
- package/dist/types/pages/index.d.ts +3 -0
- package/dist/types/pages/user-profile/components/activity-row.d.mts +10 -0
- package/dist/types/pages/user-profile/components/activity-row.d.ts +10 -0
- package/dist/types/pages/user-profile/components/balance-display.d.mts +12 -0
- package/dist/types/pages/user-profile/components/balance-display.d.ts +12 -0
- package/dist/types/pages/user-profile/components/balances-card.d.mts +12 -0
- package/dist/types/pages/user-profile/components/balances-card.d.ts +12 -0
- package/dist/types/pages/user-profile/components/default-avatar.d.mts +8 -0
- package/dist/types/pages/user-profile/components/default-avatar.d.ts +8 -0
- package/dist/types/pages/user-profile/components/empty-state.d.mts +10 -0
- package/dist/types/pages/user-profile/components/empty-state.d.ts +10 -0
- package/dist/types/pages/user-profile/components/position-row.d.mts +10 -0
- package/dist/types/pages/user-profile/components/position-row.d.ts +10 -0
- package/dist/types/pages/user-profile/components/positions-activity.d.mts +14 -0
- package/dist/types/pages/user-profile/components/positions-activity.d.ts +14 -0
- package/dist/types/pages/user-profile/components/user-info-card.d.mts +11 -0
- package/dist/types/pages/user-profile/components/user-info-card.d.ts +11 -0
- package/dist/types/pages/user-profile/index.d.mts +6 -0
- package/dist/types/pages/user-profile/index.d.ts +6 -0
- package/dist/types/pages/user-profile/user-profile.constants.d.mts +9 -0
- package/dist/types/pages/user-profile/user-profile.constants.d.ts +9 -0
- package/dist/{user-profile-page.d.ts → types/pages/user-profile/user-profile.types.d.mts} +12 -22
- package/dist/{user-profile-page.d.mts → types/pages/user-profile/user-profile.types.d.ts} +12 -22
- package/dist/types/primitives/badge/badge.constants.d.mts +4 -0
- package/dist/types/primitives/badge/badge.constants.d.ts +4 -0
- package/dist/types/primitives/badge/badge.types.d.mts +18 -0
- package/dist/types/primitives/badge/badge.types.d.ts +18 -0
- package/dist/types/primitives/badge/index.d.mts +7 -0
- package/dist/types/primitives/badge/index.d.ts +7 -0
- package/dist/types/primitives/button/button.constants.d.mts +6 -0
- package/dist/types/primitives/button/button.constants.d.ts +6 -0
- package/dist/types/primitives/button/button.types.d.mts +12 -0
- package/dist/types/primitives/button/button.types.d.ts +12 -0
- package/dist/types/primitives/button/index.d.mts +6 -0
- package/dist/types/primitives/button/index.d.ts +6 -0
- package/dist/types/primitives/card/card.types.d.mts +3 -0
- package/dist/types/primitives/card/card.types.d.ts +3 -0
- package/dist/types/primitives/card/index.d.mts +6 -0
- package/dist/types/primitives/card/index.d.ts +6 -0
- package/dist/{chart.d.mts → types/primitives/chart/index.d.mts} +7 -10
- package/dist/{chart.d.ts → types/primitives/chart/index.d.ts} +7 -10
- package/dist/types/primitives/hello-world.d.mts +4 -0
- package/dist/types/primitives/hello-world.d.ts +4 -0
- package/dist/types/primitives/icon/icon.constants.d.mts +2 -0
- package/dist/types/primitives/icon/icon.constants.d.ts +2 -0
- package/dist/types/primitives/icon/icon.types.d.mts +9 -0
- package/dist/types/primitives/icon/icon.types.d.ts +9 -0
- package/dist/types/primitives/icon/icon.utils.d.mts +2 -0
- package/dist/types/primitives/icon/icon.utils.d.ts +2 -0
- package/dist/types/primitives/icon/index.d.mts +46 -0
- package/dist/types/primitives/icon/index.d.ts +46 -0
- package/dist/types/primitives/icon/registry.d.mts +166 -0
- package/dist/types/primitives/icon/registry.d.ts +166 -0
- package/dist/types/primitives/icon/svg/arrow-trend-up.d.mts +5 -0
- package/dist/types/primitives/icon/svg/arrow-trend-up.d.ts +5 -0
- package/dist/types/primitives/icon/svg/arrows-to-dot.d.mts +5 -0
- package/dist/types/primitives/icon/svg/arrows-to-dot.d.ts +5 -0
- package/dist/types/primitives/icon/svg/bank.d.mts +5 -0
- package/dist/types/primitives/icon/svg/bank.d.ts +5 -0
- package/dist/types/primitives/icon/svg/best-prices.d.mts +5 -0
- package/dist/types/primitives/icon/svg/best-prices.d.ts +5 -0
- package/dist/types/primitives/icon/svg/bolt.d.mts +5 -0
- package/dist/types/primitives/icon/svg/bolt.d.ts +5 -0
- package/dist/types/primitives/icon/svg/check-badge.d.mts +5 -0
- package/dist/types/primitives/icon/svg/check-badge.d.ts +5 -0
- package/dist/types/primitives/icon/svg/check-circle.d.mts +5 -0
- package/dist/types/primitives/icon/svg/check-circle.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-down.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-down.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-left.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-left.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-right.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-right.d.ts +5 -0
- package/dist/types/primitives/icon/svg/chevron-up.d.mts +5 -0
- package/dist/types/primitives/icon/svg/chevron-up.d.ts +5 -0
- package/dist/types/primitives/icon/svg/close.d.mts +5 -0
- package/dist/types/primitives/icon/svg/close.d.ts +5 -0
- package/dist/types/primitives/icon/svg/copy.d.mts +5 -0
- package/dist/types/primitives/icon/svg/copy.d.ts +5 -0
- package/dist/types/primitives/icon/svg/create-account.d.mts +5 -0
- package/dist/types/primitives/icon/svg/create-account.d.ts +5 -0
- package/dist/types/primitives/icon/svg/credit-card.d.mts +5 -0
- package/dist/types/primitives/icon/svg/credit-card.d.ts +5 -0
- package/dist/types/primitives/icon/svg/disconnect.d.mts +5 -0
- package/dist/types/primitives/icon/svg/disconnect.d.ts +5 -0
- package/dist/types/primitives/icon/svg/discord.d.mts +5 -0
- package/dist/types/primitives/icon/svg/discord.d.ts +5 -0
- package/dist/types/primitives/icon/svg/document.d.mts +5 -0
- package/dist/types/primitives/icon/svg/document.d.ts +5 -0
- package/dist/types/primitives/icon/svg/dots-horizontal.d.mts +5 -0
- package/dist/types/primitives/icon/svg/dots-horizontal.d.ts +5 -0
- package/dist/types/primitives/icon/svg/download.d.mts +5 -0
- package/dist/types/primitives/icon/svg/download.d.ts +5 -0
- package/dist/types/primitives/icon/svg/email.d.mts +5 -0
- package/dist/types/primitives/icon/svg/email.d.ts +5 -0
- package/dist/types/primitives/icon/svg/external-link.d.mts +5 -0
- package/dist/types/primitives/icon/svg/external-link.d.ts +5 -0
- package/dist/types/primitives/icon/svg/info.d.mts +5 -0
- package/dist/types/primitives/icon/svg/info.d.ts +5 -0
- package/dist/types/primitives/icon/svg/link-accounts.d.mts +5 -0
- package/dist/types/primitives/icon/svg/link-accounts.d.ts +5 -0
- package/dist/types/primitives/icon/svg/pencil.d.mts +5 -0
- package/dist/types/primitives/icon/svg/pencil.d.ts +5 -0
- package/dist/types/primitives/icon/svg/play-square.d.mts +5 -0
- package/dist/types/primitives/icon/svg/play-square.d.ts +5 -0
- package/dist/types/primitives/icon/svg/profile.d.mts +5 -0
- package/dist/types/primitives/icon/svg/profile.d.ts +5 -0
- package/dist/types/primitives/icon/svg/revenue-alt.d.mts +5 -0
- package/dist/types/primitives/icon/svg/revenue-alt.d.ts +5 -0
- package/dist/types/primitives/icon/svg/search.d.mts +5 -0
- package/dist/types/primitives/icon/svg/search.d.ts +5 -0
- package/dist/types/primitives/icon/svg/shield-trust.d.mts +5 -0
- package/dist/types/primitives/icon/svg/shield-trust.d.ts +5 -0
- package/dist/types/primitives/icon/svg/stay-in-control.d.mts +5 -0
- package/dist/types/primitives/icon/svg/stay-in-control.d.ts +5 -0
- package/dist/types/primitives/icon/svg/telegram.d.mts +5 -0
- package/dist/types/primitives/icon/svg/telegram.d.ts +5 -0
- package/dist/types/primitives/icon/svg/triangle-down.d.mts +5 -0
- package/dist/types/primitives/icon/svg/triangle-down.d.ts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up-filled.d.mts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up-filled.d.ts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up.d.mts +5 -0
- package/dist/types/primitives/icon/svg/triangle-up.d.ts +5 -0
- package/dist/types/primitives/icon/svg/twitter.d.mts +5 -0
- package/dist/types/primitives/icon/svg/twitter.d.ts +5 -0
- package/dist/types/primitives/icon/svg/upload.d.mts +5 -0
- package/dist/types/primitives/icon/svg/upload.d.ts +5 -0
- package/dist/types/primitives/icon/svg/wallet-avatar.d.mts +5 -0
- package/dist/types/primitives/icon/svg/wallet-avatar.d.ts +5 -0
- package/dist/types/primitives/icon/svg/wallet.d.mts +5 -0
- package/dist/types/primitives/icon/svg/wallet.d.ts +5 -0
- package/dist/types/primitives/icon/svg/warning-filled.d.mts +5 -0
- package/dist/types/primitives/icon/svg/warning-filled.d.ts +5 -0
- package/dist/types/primitives/icon/svg/warning.d.mts +5 -0
- package/dist/types/primitives/icon/svg/warning.d.ts +5 -0
- package/dist/types/primitives/icon/types.d.mts +5 -0
- package/dist/types/primitives/icon/types.d.ts +5 -0
- package/dist/types/primitives/index.d.mts +17 -0
- package/dist/types/primitives/index.d.ts +17 -0
- package/dist/types/primitives/loading-icon/index.d.mts +11 -0
- package/dist/types/primitives/loading-icon/index.d.ts +11 -0
- package/dist/types/primitives/modal/index.d.mts +10 -0
- package/dist/types/primitives/modal/index.d.ts +10 -0
- package/dist/types/primitives/modal/modal.types.d.mts +54 -0
- package/dist/types/primitives/modal/modal.types.d.ts +54 -0
- package/dist/{number-value.d.mts → types/primitives/number-value.d.mts} +3 -5
- package/dist/{number-value.d.ts → types/primitives/number-value.d.ts} +3 -5
- package/dist/types/primitives/search/index.d.mts +6 -0
- package/dist/types/primitives/search/index.d.ts +6 -0
- package/dist/types/primitives/search/search-empty-icon.d.mts +5 -0
- package/dist/types/primitives/search/search-empty-icon.d.ts +5 -0
- package/dist/types/primitives/search/search.types.d.mts +96 -0
- package/dist/types/primitives/search/search.types.d.ts +96 -0
- package/dist/{select.d.mts → types/primitives/select/index.d.mts} +3 -5
- package/dist/{select.d.ts → types/primitives/select/index.d.ts} +3 -5
- package/dist/types/primitives/skeleton/index.d.mts +7 -0
- package/dist/types/primitives/skeleton/index.d.ts +7 -0
- package/dist/types/primitives/skeleton/skeleton-block.d.mts +8 -0
- package/dist/types/primitives/skeleton/skeleton-block.d.ts +8 -0
- package/dist/{skeleton.d.mts → types/primitives/skeleton/skeleton.types.d.mts} +6 -9
- package/dist/{skeleton.d.ts → types/primitives/skeleton/skeleton.types.d.ts} +6 -9
- package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/event-list-item-details-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.mts +9 -0
- package/dist/types/primitives/skeleton/views/event-list-item-skeleton-view.d.ts +9 -0
- package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/event-list-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.mts +12 -0
- package/dist/types/primitives/skeleton/views/market-details-skeleton-view.d.ts +12 -0
- package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/place-order-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.mts +5 -0
- package/dist/types/primitives/skeleton/views/settlement-skeleton-view.d.ts +5 -0
- package/dist/types/primitives/state-message/index.d.mts +15 -0
- package/dist/types/primitives/state-message/index.d.ts +15 -0
- package/dist/{switch-button.d.mts → types/primitives/switch-button/index.d.mts} +4 -7
- package/dist/{switch-button.d.ts → types/primitives/switch-button/index.d.ts} +4 -7
- package/dist/types/primitives/tabs/index.d.mts +6 -0
- package/dist/types/primitives/tabs/index.d.ts +6 -0
- package/dist/types/primitives/tabs/tabs.types.d.mts +24 -0
- package/dist/types/primitives/tabs/tabs.types.d.ts +24 -0
- package/dist/types/primitives/tabs/tabs.utils.d.mts +14 -0
- package/dist/types/primitives/tabs/tabs.utils.d.ts +14 -0
- package/dist/types/primitives/typography/index.d.mts +7 -0
- package/dist/types/primitives/typography/index.d.ts +7 -0
- package/dist/types/primitives/typography/typography.constants.d.mts +3 -0
- package/dist/types/primitives/typography/typography.constants.d.ts +3 -0
- package/dist/types/primitives/typography/typography.types.d.mts +8 -0
- package/dist/types/primitives/typography/typography.types.d.ts +8 -0
- package/dist/types/primitives/venue-logo/index.d.mts +8 -0
- package/dist/types/primitives/venue-logo/index.d.ts +8 -0
- package/dist/types/primitives/venue-logo/logo-props.d.mts +10 -0
- package/dist/types/primitives/venue-logo/logo-props.d.ts +10 -0
- package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-kalshi.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-opinion.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-opinion.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-polymarket.d.ts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-probable.d.mts +5 -0
- package/dist/types/primitives/venue-logo/svg/logo-probable.d.ts +5 -0
- package/dist/types/primitives/venue-logo/venue-logo.constants.d.mts +9 -0
- package/dist/types/primitives/venue-logo/venue-logo.constants.d.ts +9 -0
- package/dist/types/primitives/venue-logo/venue-logo.types.d.mts +17 -0
- package/dist/types/primitives/venue-logo/venue-logo.types.d.ts +17 -0
- package/dist/types/profile/index.d.mts +6 -0
- package/dist/types/profile/index.d.ts +6 -0
- package/dist/types/profile/profile-modal.constants.d.mts +17 -0
- package/dist/types/profile/profile-modal.constants.d.ts +17 -0
- package/dist/{profile-modal.d.mts → types/profile/profile-modal.types.d.mts} +4 -11
- package/dist/{profile-modal.d.ts → types/profile/profile-modal.types.d.ts} +4 -11
- package/dist/types/profile/tabs/about-tab.d.mts +16 -0
- package/dist/types/profile/tabs/about-tab.d.ts +16 -0
- package/dist/types/profile/tabs/accounts-wallets-tab.d.mts +18 -0
- package/dist/types/profile/tabs/accounts-wallets-tab.d.ts +18 -0
- package/dist/types/shared/constants.d.mts +23 -0
- package/dist/types/shared/constants.d.ts +23 -0
- package/dist/types/shared/query-error.d.mts +2 -0
- package/dist/types/shared/query-error.d.ts +2 -0
- package/dist/types/shared/types.d.mts +1 -0
- package/dist/types/shared/types.d.ts +1 -0
- package/dist/types/shared/utils.d.mts +15 -0
- package/dist/types/shared/utils.d.ts +15 -0
- package/dist/types/trading/index.d.mts +4 -0
- package/dist/types/trading/index.d.ts +4 -0
- package/dist/{place-order.d.ts → types/trading/place-order/index.d.mts} +3 -7
- package/dist/{place-order.d.mts → types/trading/place-order/index.d.ts} +3 -7
- package/dist/{settlement.d.ts → types/trading/settlement/index.d.mts} +3 -7
- package/dist/{settlement.d.mts → types/trading/settlement/index.d.ts} +3 -7
- package/dist/{types-DkGlbmXq.d.ts → types/trading/types.d.mts} +35 -38
- package/dist/{types-DkGlbmXq.d.mts → types/trading/types.d.ts} +35 -38
- package/dist/types/trading/utils.d.mts +16 -0
- package/dist/types/trading/utils.d.ts +16 -0
- package/dist/types/withdraw/index.d.mts +6 -0
- package/dist/types/withdraw/index.d.ts +6 -0
- package/dist/types/withdraw/steps/kalshi-withdraw.d.mts +5 -0
- package/dist/types/withdraw/steps/kalshi-withdraw.d.ts +5 -0
- package/dist/types/withdraw/steps/venue-selection.d.mts +6 -0
- package/dist/types/withdraw/steps/venue-selection.d.ts +6 -0
- package/dist/types/withdraw/steps/withdraw-amount.d.mts +8 -0
- package/dist/types/withdraw/steps/withdraw-amount.d.ts +8 -0
- package/dist/types/withdraw/steps/withdraw-method.d.mts +7 -0
- package/dist/types/withdraw/steps/withdraw-method.d.ts +7 -0
- package/dist/types/withdraw/withdraw-modal.constants.d.mts +9 -0
- package/dist/types/withdraw/withdraw-modal.constants.d.ts +9 -0
- package/dist/{withdraw-modal.d.mts → types/withdraw/withdraw-modal.types.d.mts} +3 -10
- package/dist/{withdraw-modal.d.ts → types/withdraw/withdraw-modal.types.d.ts} +3 -10
- package/package.json +35 -273
- package/dist/badge.d.mts +0 -28
- package/dist/badge.d.ts +0 -28
- package/dist/badge.js +0 -110
- package/dist/badge.mjs +0 -9
- package/dist/button.d.mts +0 -20
- package/dist/button.d.ts +0 -20
- package/dist/button.js +0 -183
- package/dist/button.mjs +0 -8
- package/dist/card.d.mts +0 -10
- package/dist/card.d.ts +0 -10
- package/dist/card.js +0 -88
- package/dist/card.mjs +0 -7
- package/dist/chart.mjs +0 -8
- package/dist/chunk-3QLOUBDJ.mjs +0 -483
- package/dist/chunk-3W7NBJLU.mjs +0 -371
- package/dist/chunk-4S3I6X7F.mjs +0 -855
- package/dist/chunk-4VUDTWH7.mjs +0 -42
- package/dist/chunk-6JG6I5AY.mjs +0 -654
- package/dist/chunk-BNDFQPHF.mjs +0 -9
- package/dist/chunk-ERGNR6UQ.mjs +0 -67
- package/dist/chunk-FO263M3V.mjs +0 -10
- package/dist/chunk-FO2QCB4Z.mjs +0 -35
- package/dist/chunk-GJ4U5NCE.mjs +0 -134
- package/dist/chunk-GNSPZ53C.mjs +0 -991
- package/dist/chunk-HOXTJ742.mjs +0 -146
- package/dist/chunk-JNH64AKR.mjs +0 -720
- package/dist/chunk-K6IJ4WBM.mjs +0 -67
- package/dist/chunk-KAGYJ4XT.mjs +0 -126
- package/dist/chunk-LA3FBBSJ.mjs +0 -311
- package/dist/chunk-LCZKSITC.mjs +0 -162
- package/dist/chunk-M4RJHRFT.mjs +0 -445
- package/dist/chunk-MBHTXNHX.mjs +0 -289
- package/dist/chunk-MJHKBCXQ.mjs +0 -379
- package/dist/chunk-NDG43KGL.mjs +0 -44
- package/dist/chunk-NH2G3POM.mjs +0 -470
- package/dist/chunk-OBCHURW5.mjs +0 -64
- package/dist/chunk-OH56VUYK.mjs +0 -321
- package/dist/chunk-OJVTGNIF.mjs +0 -230
- package/dist/chunk-P2PJBO5C.mjs +0 -280
- package/dist/chunk-PORVP72S.mjs +0 -277
- package/dist/chunk-QLMVKLNJ.mjs +0 -669
- package/dist/chunk-QM7CGMFG.mjs +0 -156
- package/dist/chunk-S3H63TQ5.mjs +0 -537
- package/dist/chunk-ZFMCCBP6.mjs +0 -25
- package/dist/connect-button.mjs +0 -14
- package/dist/deposit-modal.mjs +0 -15
- package/dist/event-list-item-details.d.mts +0 -11
- package/dist/event-list-item-details.d.ts +0 -11
- package/dist/event-list-item-details.js +0 -2254
- package/dist/event-list-item-details.mjs +0 -19
- package/dist/event-list-item-details.types-CMbXOrT-.d.ts +0 -53
- package/dist/event-list-item-details.types-DekJKeMD.d.mts +0 -53
- package/dist/event-list-item.d.mts +0 -10
- package/dist/event-list-item.d.ts +0 -10
- package/dist/event-list-item.js +0 -2600
- package/dist/event-list-item.mjs +0 -17
- package/dist/event-list-item.types-Y6IeJ4e4.d.mts +0 -46
- package/dist/event-list-item.types-Y6IeJ4e4.d.ts +0 -46
- package/dist/event-list.d.mts +0 -9
- package/dist/event-list.d.ts +0 -9
- package/dist/event-list.js +0 -3578
- package/dist/event-list.mjs +0 -20
- package/dist/event-list.types-CkAAUqwW.d.mts +0 -13
- package/dist/event-list.types-CkAAUqwW.d.ts +0 -13
- package/dist/event-market-page.d.mts +0 -52
- package/dist/event-market-page.d.ts +0 -52
- package/dist/event-market-page.mjs +0 -28
- package/dist/hello-world.d.mts +0 -8
- package/dist/hello-world.d.ts +0 -8
- package/dist/hello-world.js +0 -92
- package/dist/hello-world.mjs +0 -8
- package/dist/home-page.js +0 -3842
- package/dist/home-page.mjs +0 -21
- package/dist/icon.d.mts +0 -193
- package/dist/icon.d.ts +0 -193
- package/dist/icon.js +0 -1465
- package/dist/loading-icon.d.mts +0 -14
- package/dist/loading-icon.d.ts +0 -14
- package/dist/loading-icon.js +0 -112
- package/dist/loading-icon.mjs +0 -8
- package/dist/market-details.d.mts +0 -73
- package/dist/market-details.d.ts +0 -73
- package/dist/market-details.mjs +0 -21
- package/dist/modal.d.mts +0 -66
- package/dist/modal.d.ts +0 -66
- package/dist/modal.js +0 -321
- package/dist/modal.mjs +0 -9
- package/dist/number-value.js +0 -67
- package/dist/number-value.mjs +0 -7
- package/dist/onboarding-modal.d.mts +0 -88
- package/dist/onboarding-modal.d.ts +0 -88
- package/dist/onboarding-modal.js +0 -2836
- package/dist/onboarding-modal.mjs +0 -24
- package/dist/place-order.mjs +0 -18
- package/dist/profile-modal.js +0 -2447
- package/dist/profile-modal.mjs +0 -14
- package/dist/registry-DfSCFAdC.d.mts +0 -178
- package/dist/registry-DfSCFAdC.d.ts +0 -178
- package/dist/search.d.mts +0 -51
- package/dist/search.d.ts +0 -51
- package/dist/search.js +0 -1954
- package/dist/search.mjs +0 -12
- package/dist/select.js +0 -1552
- package/dist/select.mjs +0 -11
- package/dist/settlement.js +0 -2445
- package/dist/settlement.mjs +0 -15
- package/dist/skeleton.js +0 -490
- package/dist/skeleton.mjs +0 -10
- package/dist/switch-button.js +0 -191
- package/dist/switch-button.mjs +0 -7
- package/dist/tabs.d.mts +0 -31
- package/dist/tabs.d.ts +0 -31
- package/dist/tabs.js +0 -2078
- package/dist/tabs.mjs +0 -12
- package/dist/types-BVj9ky9P.d.mts +0 -3
- package/dist/types-BVj9ky9P.d.ts +0 -3
- package/dist/typography.d.mts +0 -18
- package/dist/typography.d.ts +0 -18
- package/dist/typography.js +0 -93
- package/dist/typography.mjs +0 -9
- package/dist/user-profile-page.js +0 -3081
- package/dist/user-profile-page.mjs +0 -15
- package/dist/venue-logo.d.mts +0 -13
- package/dist/venue-logo.d.ts +0 -13
- package/dist/venue-logo.js +0 -323
- package/dist/venue-logo.mjs +0 -10
- package/dist/venue-logo.types-CGUc22ly.d.mts +0 -19
- package/dist/venue-logo.types-Dqr39S1-.d.ts +0 -19
- package/dist/withdraw-modal.js +0 -2449
- package/dist/withdraw-modal.mjs +0 -14
|
@@ -1,3081 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __defProps = Object.defineProperties;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
6
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
8
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
10
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
11
|
-
var __spreadValues = (a, b) => {
|
|
12
|
-
for (var prop in b || (b = {}))
|
|
13
|
-
if (__hasOwnProp.call(b, prop))
|
|
14
|
-
__defNormalProp(a, prop, b[prop]);
|
|
15
|
-
if (__getOwnPropSymbols)
|
|
16
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
17
|
-
if (__propIsEnum.call(b, prop))
|
|
18
|
-
__defNormalProp(a, prop, b[prop]);
|
|
19
|
-
}
|
|
20
|
-
return a;
|
|
21
|
-
};
|
|
22
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
23
|
-
var __objRest = (source, exclude) => {
|
|
24
|
-
var target = {};
|
|
25
|
-
for (var prop in source)
|
|
26
|
-
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
27
|
-
target[prop] = source[prop];
|
|
28
|
-
if (source != null && __getOwnPropSymbols)
|
|
29
|
-
for (var prop of __getOwnPropSymbols(source)) {
|
|
30
|
-
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
31
|
-
target[prop] = source[prop];
|
|
32
|
-
}
|
|
33
|
-
return target;
|
|
34
|
-
};
|
|
35
|
-
var __export = (target, all) => {
|
|
36
|
-
for (var name in all)
|
|
37
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
38
|
-
};
|
|
39
|
-
var __copyProps = (to, from, except, desc) => {
|
|
40
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
41
|
-
for (let key of __getOwnPropNames(from))
|
|
42
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
43
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
44
|
-
}
|
|
45
|
-
return to;
|
|
46
|
-
};
|
|
47
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
48
|
-
|
|
49
|
-
// src/pages/user-profile/index.tsx
|
|
50
|
-
var user_profile_exports = {};
|
|
51
|
-
__export(user_profile_exports, {
|
|
52
|
-
UserProfilePage: () => UserProfilePage
|
|
53
|
-
});
|
|
54
|
-
module.exports = __toCommonJS(user_profile_exports);
|
|
55
|
-
|
|
56
|
-
// src/shared/utils.ts
|
|
57
|
-
var cn = (...values) => values.filter(Boolean).join(" ");
|
|
58
|
-
var getMotionClassName = (enabled, ...values) => {
|
|
59
|
-
if (!enabled)
|
|
60
|
-
return void 0;
|
|
61
|
-
return cn(...values);
|
|
62
|
-
};
|
|
63
|
-
var getScrollBehavior = (enabled) => {
|
|
64
|
-
return enabled ? "smooth" : "auto";
|
|
65
|
-
};
|
|
66
|
-
|
|
67
|
-
// src/pages/user-profile/components/balance-display.tsx
|
|
68
|
-
var import_react = require("react");
|
|
69
|
-
|
|
70
|
-
// src/primitives/icon/types.ts
|
|
71
|
-
var getIconA11yProps = (title) => ({
|
|
72
|
-
role: title ? "img" : "presentation",
|
|
73
|
-
"aria-hidden": title ? void 0 : true
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
// src/primitives/icon/svg/arrow-trend-up.tsx
|
|
77
|
-
var import_jsx_runtime = require("react/jsx-runtime");
|
|
78
|
-
var ArrowTrendUpIcon = (_a) => {
|
|
79
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
80
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
81
|
-
"svg",
|
|
82
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
83
|
-
viewBox: "0 0 16 16",
|
|
84
|
-
className,
|
|
85
|
-
fill: "none"
|
|
86
|
-
}, getIconA11yProps(title)), props), {
|
|
87
|
-
children: [
|
|
88
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("title", { children: title }) : null,
|
|
89
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
90
|
-
"path",
|
|
91
|
-
{
|
|
92
|
-
d: "M2 11.5L6.5 7L9.5 10L14 5.5",
|
|
93
|
-
stroke: "currentColor",
|
|
94
|
-
strokeWidth: "1.5",
|
|
95
|
-
strokeLinecap: "round",
|
|
96
|
-
strokeLinejoin: "round"
|
|
97
|
-
}
|
|
98
|
-
),
|
|
99
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
100
|
-
"path",
|
|
101
|
-
{
|
|
102
|
-
d: "M10.5 5.5H14V9",
|
|
103
|
-
stroke: "currentColor",
|
|
104
|
-
strokeWidth: "1.5",
|
|
105
|
-
strokeLinecap: "round",
|
|
106
|
-
strokeLinejoin: "round"
|
|
107
|
-
}
|
|
108
|
-
)
|
|
109
|
-
]
|
|
110
|
-
})
|
|
111
|
-
);
|
|
112
|
-
};
|
|
113
|
-
ArrowTrendUpIcon.displayName = "ArrowTrendUpIcon";
|
|
114
|
-
|
|
115
|
-
// src/primitives/icon/svg/arrows-to-dot.tsx
|
|
116
|
-
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
117
|
-
var ArrowsToDotIcon = (_a) => {
|
|
118
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
119
|
-
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
|
|
120
|
-
"svg",
|
|
121
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
122
|
-
viewBox: "0 0 16 16",
|
|
123
|
-
className,
|
|
124
|
-
fill: "none"
|
|
125
|
-
}, getIconA11yProps(title)), props), {
|
|
126
|
-
children: [
|
|
127
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("title", { children: title }) : null,
|
|
128
|
-
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
|
|
129
|
-
"path",
|
|
130
|
-
{
|
|
131
|
-
d: "M8 6.66667C8.73667 6.66667 9.33333 7.26333 9.33333 8C9.33333 8.73667 8.73667 9.33333 8 9.33333C7.26333 9.33333 6.66667 8.73667 6.66667 8C6.66667 7.26333 7.26333 6.66667 8 6.66667ZM5.27867 7.05733L3.39267 5.17133C3.132 4.91067 2.71067 4.91067 2.45 5.17133C2.18933 5.432 2.18933 5.854 2.45 6.114L3.67467 7.33333H0.666667C0.298 7.33333 0 7.632 0 8C0 8.368 0.298 8.66667 0.666667 8.66667H3.662L2.44867 9.88667C2.18867 10.148 2.19 10.5693 2.45133 10.8293C2.71267 11.0893 3.13467 11.088 3.394 10.8267L5.27933 8.93133C5.79467 8.41467 5.79467 7.574 5.27933 7.05667L5.27867 7.05733ZM7.068 5.278C7.56133 5.79267 8.45 5.79267 8.94267 5.278L10.828 3.392C11.0887 3.13133 11.0887 2.70933 10.828 2.44933C10.5673 2.18867 10.146 2.18867 9.88533 2.44933L8.66667 3.674V0.666667C8.66667 0.298667 8.36867 0 8 0C7.63133 0 7.33333 0.298667 7.33333 0.666667V3.662L6.11333 2.44867C5.852 2.18867 5.43067 2.19 5.17067 2.45133C4.91067 2.71267 4.912 3.13467 5.17333 3.394L7.068 5.278ZM8.94267 10.7213C8.42667 10.2053 7.58533 10.2053 7.06867 10.72L5.17267 12.606C4.91133 12.866 4.91 13.2873 5.17 13.5487C5.42933 13.8093 5.85067 13.8113 6.11267 13.5513L7.33267 12.3307V15.3333C7.33267 15.702 7.63067 16 7.99933 16C8.368 16 8.666 15.702 8.666 15.3333V12.3307L9.88467 13.55C10.1453 13.8107 10.5667 13.8107 10.8273 13.55C11.088 13.2893 11.088 12.868 10.8273 12.6073L8.94267 10.7213ZM15.3333 7.33333H12.3307L13.55 6.114C13.8107 5.854 13.8107 5.432 13.55 5.17133C13.2893 4.91067 12.868 4.91067 12.6073 5.17133L10.7213 7.05733C10.2053 7.574 10.2047 8.41467 10.72 8.93133L12.606 10.8273C12.866 11.088 13.2873 11.09 13.5487 10.83C13.81 10.57 13.8113 10.1487 13.5513 9.88733L12.3307 8.66733H15.3333C15.702 8.66733 16 8.36867 16 8.00067C16 7.63267 15.702 7.334 15.3333 7.334V7.33333Z",
|
|
132
|
-
fill: "currentColor"
|
|
133
|
-
}
|
|
134
|
-
)
|
|
135
|
-
]
|
|
136
|
-
})
|
|
137
|
-
);
|
|
138
|
-
};
|
|
139
|
-
ArrowsToDotIcon.displayName = "ArrowsToDotIcon";
|
|
140
|
-
|
|
141
|
-
// src/primitives/icon/svg/bank.tsx
|
|
142
|
-
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
143
|
-
var BankIcon = (_a) => {
|
|
144
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
145
|
-
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
|
|
146
|
-
"svg",
|
|
147
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
148
|
-
viewBox: "0 0 24 24",
|
|
149
|
-
className,
|
|
150
|
-
fill: "none"
|
|
151
|
-
}, getIconA11yProps(title)), props), {
|
|
152
|
-
children: [
|
|
153
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("title", { children: title }) : null,
|
|
154
|
-
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
|
|
155
|
-
"path",
|
|
156
|
-
{
|
|
157
|
-
d: "M23 22H1C0.448 22 0 22.448 0 23C0 23.552 0.448 24 1 24H23C23.552 24 24 23.552 24 23C24 22.448 23.552 22 23 22ZM2 21H4V11H2V21ZM6 21H8V11H6V21ZM10 21H14V11H10V21ZM16 21H18V11H16V21ZM20 21H22V11H20V21ZM12 0.334C11.826 0.123 11.569 0 11.297 0H12.703C12.431 0 12.174 0.123 12 0.334ZM0.392 8.613C0.144 9.02 0 9.495 0 10C0 10 0 10 1 10H23C24 10 24 10 24 10C24 9.495 23.856 9.02 23.608 8.613L13.406 0.668C13.016 0.244 12.528 0 12 0C11.472 0 10.984 0.244 10.594 0.668L0.392 8.613ZM12 2.156L21.445 9H2.555L12 2.156ZM12 5C10.895 5 10 5.895 10 7C10 8.105 10.895 9 12 9C13.105 9 14 8.105 14 7C14 5.895 13.105 5 12 5ZM12 8C11.448 8 11 7.552 11 7C11 6.448 11.448 6 12 6C12.552 6 13 6.448 13 7C13 7.552 12.552 8 12 8Z",
|
|
158
|
-
fill: "currentColor"
|
|
159
|
-
}
|
|
160
|
-
)
|
|
161
|
-
]
|
|
162
|
-
})
|
|
163
|
-
);
|
|
164
|
-
};
|
|
165
|
-
BankIcon.displayName = "BankIcon";
|
|
166
|
-
|
|
167
|
-
// src/primitives/icon/svg/best-prices.tsx
|
|
168
|
-
var import_jsx_runtime4 = require("react/jsx-runtime");
|
|
169
|
-
var BestPricesIcon = (_a) => {
|
|
170
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
171
|
-
return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
|
|
172
|
-
"svg",
|
|
173
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
174
|
-
width: "28",
|
|
175
|
-
height: "28",
|
|
176
|
-
viewBox: "0 0 28 28",
|
|
177
|
-
fill: "none",
|
|
178
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
179
|
-
className
|
|
180
|
-
}, getIconA11yProps(title)), props), {
|
|
181
|
-
children: [
|
|
182
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("title", { children: title }) : null,
|
|
183
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("g", { clipPath: "url(#clip0_best_prices)", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
|
|
184
|
-
"path",
|
|
185
|
-
{
|
|
186
|
-
d: "M12.8333 27.4167C12.8333 27.7387 12.572 28 12.25 28H5.25C2.3555 28 0 25.6445 0 22.75V5.25117C0 2.35667 2.35433 0 5.25 0H18.0833C20.9778 0 23.3333 2.35433 23.3333 5.24883V8.74883C23.3333 9.07083 23.0732 9.33217 22.75 9.33217C22.4268 9.33217 22.1667 9.07083 22.1667 8.74883V5.24883C22.1667 2.99717 20.3338 1.1655 18.0833 1.1655H5.25C2.99833 1.1655 1.16667 2.99833 1.16667 5.25V22.7488C1.16667 25.0005 2.9995 26.8322 5.25 26.8322H12.25C12.572 26.8322 12.8333 27.0947 12.8333 27.4167ZM27.8297 27.8297C27.7153 27.944 27.566 28 27.4167 28C27.2673 28 27.118 27.9428 27.0037 27.8297L23.0102 23.8362C21.6837 24.9748 19.964 25.6667 18.0822 25.6667C13.9008 25.6667 10.4988 22.2647 10.4988 18.0833C10.4988 13.902 13.9008 10.5 18.0822 10.5C22.2635 10.5 25.6655 13.902 25.6655 18.0833C25.6655 19.964 24.9725 21.6837 23.835 23.0113L27.8285 27.0048C28.056 27.2323 28.0572 27.6022 27.8297 27.8297ZM24.5 18.0833C24.5 14.546 21.6218 11.6667 18.0833 11.6667C14.5448 11.6667 11.6667 14.546 11.6667 18.0833C11.6667 21.6207 14.5448 24.5 18.0833 24.5C21.6218 24.5 24.5 21.6207 24.5 18.0833ZM7.58333 5.83333H5.25C4.928 5.83333 4.66667 6.09467 4.66667 6.41667C4.66667 6.73867 4.928 7 5.25 7H7.58333C7.90533 7 8.16667 6.73867 8.16667 6.41667C8.16667 6.09467 7.90533 5.83333 7.58333 5.83333ZM7.58333 17.5H5.25C4.928 17.5 4.66667 17.7613 4.66667 18.0833C4.66667 18.4053 4.928 18.6667 5.25 18.6667H7.58333C7.90533 18.6667 8.16667 18.4053 8.16667 18.0833C8.16667 17.7613 7.90533 17.5 7.58333 17.5ZM11.0833 5.83333C10.7613 5.83333 10.5 6.09467 10.5 6.41667C10.5 6.73867 10.7613 7 11.0833 7H18.0833C18.4053 7 18.6667 6.73867 18.6667 6.41667C18.6667 6.09467 18.4053 5.83333 18.0833 5.83333H11.0833ZM7.58333 11.6667H5.25C4.928 11.6667 4.66667 11.928 4.66667 12.25C4.66667 12.572 4.928 12.8333 5.25 12.8333H7.58333C7.90533 12.8333 8.16667 12.572 8.16667 12.25C8.16667 11.928 7.90533 11.6667 7.58333 11.6667ZM21.1668 16.4862L18.0098 19.5405C17.6167 19.9255 16.9762 19.9302 16.583 19.5452L14.9928 17.976C14.7642 17.7497 14.3943 17.752 14.168 17.9807C13.9417 18.2105 13.944 18.5803 14.1738 18.8055L15.7652 20.377C16.1875 20.79 16.7417 20.9965 17.2958 20.9965C17.85 20.9965 18.4053 20.7888 18.8253 20.3747L21.9788 17.325C22.2098 17.101 22.2168 16.7312 21.9928 16.5002C21.77 16.2692 21.399 16.2645 21.1668 16.4862Z",
|
|
187
|
-
fill: "currentColor"
|
|
188
|
-
}
|
|
189
|
-
) }),
|
|
190
|
-
/* @__PURE__ */ (0, import_jsx_runtime4.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("clipPath", { id: "clip0_best_prices", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
191
|
-
]
|
|
192
|
-
})
|
|
193
|
-
);
|
|
194
|
-
};
|
|
195
|
-
BestPricesIcon.displayName = "BestPricesIcon";
|
|
196
|
-
|
|
197
|
-
// src/primitives/icon/svg/bolt.tsx
|
|
198
|
-
var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
199
|
-
var BoltIcon = (_a) => {
|
|
200
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
201
|
-
return /* @__PURE__ */ (0, import_jsx_runtime5.jsxs)(
|
|
202
|
-
"svg",
|
|
203
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
204
|
-
viewBox: "0 0 24 24",
|
|
205
|
-
className,
|
|
206
|
-
fill: "none"
|
|
207
|
-
}, getIconA11yProps(title)), props), {
|
|
208
|
-
children: [
|
|
209
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("title", { children: title }) : null,
|
|
210
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("g", { clipPath: "url(#bolt-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(
|
|
211
|
-
"path",
|
|
212
|
-
{
|
|
213
|
-
d: "M11.7372 24C11.4922 24 11.2432 23.946 11.0022 23.835C10.2162 23.472 9.83423 22.637 10.0722 21.805L11.8272 16H6.50123C5.70223 16 4.97023 15.632 4.49423 14.99C4.01823 14.348 3.87723 13.541 4.10823 12.776L7.13023 1.788C7.45523 0.714 8.41723 0 9.52623 0H13.8992C14.5872 0 15.2322 0.338 15.6242 0.903C16.0162 1.468 16.1062 2.191 15.8652 2.835L13.7052 9H17.5002C18.4422 9 19.2682 9.497 19.7092 10.33C20.1502 11.163 20.0982 12.124 19.5692 12.904L13.1592 23.216C12.8202 23.725 12.2912 24 11.7372 24ZM9.52723 1C8.86123 1 8.28423 1.428 8.09123 2.066L5.06923 13.054C4.92723 13.525 5.01123 14.009 5.29723 14.394C5.58323 14.779 6.02223 15 6.50223 15H12.5012C12.6592 15 12.8082 15.075 12.9022 15.202C12.9962 15.329 13.0252 15.493 12.9792 15.644L11.0322 22.086C10.9102 22.514 11.1532 22.802 11.4232 22.926C11.6922 23.05 12.0692 23.05 12.3192 22.673L18.7312 12.358C19.0592 11.874 19.0912 11.297 18.8262 10.797C18.5612 10.297 18.0662 9.999 17.5002 9.999H13.0002C12.8382 9.999 12.6862 9.92 12.5922 9.788C12.4982 9.656 12.4742 9.487 12.5282 9.333L14.9252 2.493C15.0572 2.14 15.0112 1.772 14.8022 1.472C14.5942 1.171 14.2642 0.999 13.8992 0.999H9.52623L9.52723 1Z",
|
|
214
|
-
fill: "currentColor"
|
|
215
|
-
}
|
|
216
|
-
) }),
|
|
217
|
-
/* @__PURE__ */ (0, import_jsx_runtime5.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("clipPath", { id: "bolt-clip", children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
218
|
-
]
|
|
219
|
-
})
|
|
220
|
-
);
|
|
221
|
-
};
|
|
222
|
-
BoltIcon.displayName = "BoltIcon";
|
|
223
|
-
|
|
224
|
-
// src/primitives/icon/svg/check-circle.tsx
|
|
225
|
-
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
226
|
-
var CheckCircleIcon = (_a) => {
|
|
227
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
228
|
-
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
229
|
-
"svg",
|
|
230
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
231
|
-
width: "24",
|
|
232
|
-
height: "24",
|
|
233
|
-
viewBox: "0 0 24 24",
|
|
234
|
-
fill: "none",
|
|
235
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
236
|
-
className
|
|
237
|
-
}, getIconA11yProps(title)), props), {
|
|
238
|
-
children: [
|
|
239
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("title", { children: title }) : null,
|
|
240
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("g", { clipPath: "url(#clip0_check_circle)", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
|
|
241
|
-
"path",
|
|
242
|
-
{
|
|
243
|
-
d: "M12 0C5.383 0 0 5.383 0 12C0 18.617 5.383 24 12 24C18.617 24 24 18.617 24 12C24 5.383 18.617 0 12 0ZM18.2 10.512L13.774 14.857C12.991 15.625 11.983 16.008 10.974 16.008C9.976 16.008 8.978 15.632 8.198 14.879L6.299 13.012C5.905 12.625 5.9 11.992 6.287 11.598C6.673 11.203 7.308 11.198 7.701 11.586L9.594 13.447C10.37 14.197 11.595 14.193 12.375 13.429L16.8 9.085C17.193 8.697 17.824 8.704 18.214 9.098C18.601 9.492 18.595 10.125 18.2 10.512Z",
|
|
244
|
-
fill: "currentColor"
|
|
245
|
-
}
|
|
246
|
-
) }),
|
|
247
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("clipPath", { id: "clip0_check_circle", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("rect", { width: "24", height: "24", fill: "white" }) }) })
|
|
248
|
-
]
|
|
249
|
-
})
|
|
250
|
-
);
|
|
251
|
-
};
|
|
252
|
-
CheckCircleIcon.displayName = "CheckCircleIcon";
|
|
253
|
-
|
|
254
|
-
// src/primitives/icon/svg/chevron-down.tsx
|
|
255
|
-
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
256
|
-
var ChevronDownIcon = (_a) => {
|
|
257
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
258
|
-
return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
|
|
259
|
-
"svg",
|
|
260
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
261
|
-
viewBox: "0 0 14 14",
|
|
262
|
-
className,
|
|
263
|
-
fill: "none"
|
|
264
|
-
}, getIconA11yProps(title)), props), {
|
|
265
|
-
children: [
|
|
266
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("title", { children: title }) : null,
|
|
267
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
268
|
-
"path",
|
|
269
|
-
{
|
|
270
|
-
d: "M3.25 5.25L7 9L10.75 5.25",
|
|
271
|
-
stroke: "currentColor",
|
|
272
|
-
strokeWidth: "1.5",
|
|
273
|
-
strokeLinecap: "round",
|
|
274
|
-
strokeLinejoin: "round"
|
|
275
|
-
}
|
|
276
|
-
)
|
|
277
|
-
]
|
|
278
|
-
})
|
|
279
|
-
);
|
|
280
|
-
};
|
|
281
|
-
ChevronDownIcon.displayName = "ChevronDownIcon";
|
|
282
|
-
|
|
283
|
-
// src/primitives/icon/svg/chevron-left.tsx
|
|
284
|
-
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
285
|
-
var ChevronLeftIcon = (_a) => {
|
|
286
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
287
|
-
return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
|
|
288
|
-
"svg",
|
|
289
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
290
|
-
viewBox: "0 0 24 24",
|
|
291
|
-
className,
|
|
292
|
-
fill: "none"
|
|
293
|
-
}, getIconA11yProps(title)), props), {
|
|
294
|
-
children: [
|
|
295
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("title", { children: title }) : null,
|
|
296
|
-
/* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
297
|
-
"path",
|
|
298
|
-
{
|
|
299
|
-
d: "M10.5999 12.6786C10.5061 12.5856 10.4317 12.475 10.381 12.3531C10.3302 12.2313 10.3041 12.1006 10.3041 11.9686C10.3041 11.8366 10.3302 11.7058 10.381 11.584C10.4317 11.4621 10.5061 11.3515 10.5999 11.2586L15.1899 6.67857C15.2836 6.5856 15.358 6.475 15.4088 6.35314C15.4595 6.23128 15.4857 6.10058 15.4857 5.96857C15.4857 5.83655 15.4595 5.70585 15.4088 5.58399C15.358 5.46213 15.2836 5.35153 15.1899 5.25857C15.0025 5.07231 14.749 4.96777 14.4849 4.96777C14.2207 4.96777 13.9672 5.07231 13.7799 5.25857L9.18986 9.84857C8.62806 10.4111 8.3125 11.1736 8.3125 11.9686C8.3125 12.7636 8.62806 13.5261 9.18986 14.0886L13.7799 18.6786C13.9661 18.8633 14.2175 18.9675 14.4799 18.9686C14.6115 18.9693 14.7419 18.9441 14.8638 18.8943C14.9856 18.8446 15.0964 18.7712 15.1899 18.6786C15.2836 18.5856 15.358 18.475 15.4088 18.3531C15.4595 18.2313 15.4857 18.1006 15.4857 17.9686C15.4857 17.8366 15.4595 17.7058 15.4088 17.584C15.358 17.4621 15.2836 17.3515 15.1899 17.2586L10.5999 12.6786Z",
|
|
300
|
-
fill: "currentColor"
|
|
301
|
-
}
|
|
302
|
-
)
|
|
303
|
-
]
|
|
304
|
-
})
|
|
305
|
-
);
|
|
306
|
-
};
|
|
307
|
-
ChevronLeftIcon.displayName = "ChevronLeftIcon";
|
|
308
|
-
|
|
309
|
-
// src/primitives/icon/svg/chevron-right.tsx
|
|
310
|
-
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
311
|
-
var ChevronRightIcon = (_a) => {
|
|
312
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
313
|
-
return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
|
|
314
|
-
"svg",
|
|
315
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
316
|
-
viewBox: "0 0 16 16",
|
|
317
|
-
className,
|
|
318
|
-
fill: "none"
|
|
319
|
-
}, getIconA11yProps(title)), props), {
|
|
320
|
-
children: [
|
|
321
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("title", { children: title }) : null,
|
|
322
|
-
/* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
323
|
-
"path",
|
|
324
|
-
{
|
|
325
|
-
d: "M10.2665 6.56563L7.20654 3.50563C7.08163 3.38146 6.91266 3.31177 6.73653 3.31177C6.56041 3.31177 6.39144 3.38146 6.26653 3.50563C6.20405 3.5676 6.15445 3.64134 6.12061 3.72258C6.08676 3.80382 6.06934 3.89095 6.06934 3.97896C6.06934 4.06697 6.08676 4.15411 6.12061 4.23535C6.15445 4.31659 6.20405 4.39032 6.26653 4.4523L9.3332 7.50563C9.39569 7.5676 9.44528 7.64134 9.47913 7.72258C9.51298 7.80382 9.5304 7.89095 9.5304 7.97896C9.5304 8.06697 9.51298 8.15411 9.47913 8.23535C9.44528 8.31659 9.39569 8.39032 9.3332 8.4523L6.26653 11.5056C6.141 11.6303 6.07012 11.7997 6.0695 11.9766C6.06887 12.1535 6.13855 12.3234 6.2632 12.449C6.38785 12.5745 6.55727 12.6454 6.73418 12.646C6.91109 12.6466 7.081 12.5769 7.20654 12.4523L10.2665 9.3923C10.6411 9.0173 10.8514 8.50896 10.8514 7.97896C10.8514 7.44896 10.6411 6.94063 10.2665 6.56563Z",
|
|
326
|
-
fill: "currentColor"
|
|
327
|
-
}
|
|
328
|
-
)
|
|
329
|
-
]
|
|
330
|
-
})
|
|
331
|
-
);
|
|
332
|
-
};
|
|
333
|
-
ChevronRightIcon.displayName = "ChevronRightIcon";
|
|
334
|
-
|
|
335
|
-
// src/primitives/icon/svg/chevron-up.tsx
|
|
336
|
-
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
337
|
-
var ChevronUpIcon = (_a) => {
|
|
338
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
339
|
-
return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(
|
|
340
|
-
"svg",
|
|
341
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
342
|
-
viewBox: "0 0 14 14",
|
|
343
|
-
className,
|
|
344
|
-
fill: "none"
|
|
345
|
-
}, getIconA11yProps(title)), props), {
|
|
346
|
-
children: [
|
|
347
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("title", { children: title }) : null,
|
|
348
|
-
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
|
|
349
|
-
"path",
|
|
350
|
-
{
|
|
351
|
-
d: "M3.25 8.75L7 5L10.75 8.75",
|
|
352
|
-
stroke: "currentColor",
|
|
353
|
-
strokeWidth: "1.5",
|
|
354
|
-
strokeLinecap: "round",
|
|
355
|
-
strokeLinejoin: "round"
|
|
356
|
-
}
|
|
357
|
-
)
|
|
358
|
-
]
|
|
359
|
-
})
|
|
360
|
-
);
|
|
361
|
-
};
|
|
362
|
-
ChevronUpIcon.displayName = "ChevronUpIcon";
|
|
363
|
-
|
|
364
|
-
// src/primitives/icon/svg/close.tsx
|
|
365
|
-
var import_jsx_runtime11 = require("react/jsx-runtime");
|
|
366
|
-
var CloseIcon = (_a) => {
|
|
367
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
368
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
|
|
369
|
-
"svg",
|
|
370
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
371
|
-
width: "16",
|
|
372
|
-
height: "16",
|
|
373
|
-
viewBox: "0 0 16 16",
|
|
374
|
-
fill: "none",
|
|
375
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
376
|
-
className
|
|
377
|
-
}, getIconA11yProps(title)), props), {
|
|
378
|
-
children: [
|
|
379
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("title", { children: title }) : null,
|
|
380
|
-
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
381
|
-
"path",
|
|
382
|
-
{
|
|
383
|
-
d: "M12 4L4 12M4 4l8 8",
|
|
384
|
-
stroke: "currentColor",
|
|
385
|
-
strokeWidth: "2",
|
|
386
|
-
strokeLinecap: "round",
|
|
387
|
-
strokeLinejoin: "round"
|
|
388
|
-
}
|
|
389
|
-
)
|
|
390
|
-
]
|
|
391
|
-
})
|
|
392
|
-
);
|
|
393
|
-
};
|
|
394
|
-
CloseIcon.displayName = "CloseIcon";
|
|
395
|
-
|
|
396
|
-
// src/primitives/icon/svg/copy.tsx
|
|
397
|
-
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
398
|
-
var CopyIcon = (_a) => {
|
|
399
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
400
|
-
return /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(
|
|
401
|
-
"svg",
|
|
402
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
403
|
-
viewBox: "0 0 16 16",
|
|
404
|
-
className,
|
|
405
|
-
fill: "none"
|
|
406
|
-
}, getIconA11yProps(title)), props), {
|
|
407
|
-
children: [
|
|
408
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("title", { children: title }) : null,
|
|
409
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("g", { clipPath: "url(#clip0_copy)", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
|
|
410
|
-
"path",
|
|
411
|
-
{
|
|
412
|
-
d: "M10 13.3333H3.33333C2.4496 13.3323 1.60237 12.9807 0.97748 12.3559C0.352588 11.731 0.00105857 10.8837 0 10L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L10 0C10.8837 0.00105857 11.731 0.352588 12.3559 0.97748C12.9807 1.60237 13.3323 2.4496 13.3333 3.33333V10C13.3323 10.8837 12.9807 11.731 12.3559 12.3559C11.731 12.9807 10.8837 13.3323 10 13.3333ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V10C1.33333 10.5304 1.54405 11.0391 1.91912 11.4142C2.29419 11.7893 2.8029 12 3.33333 12H10C10.5304 12 11.0391 11.7893 11.4142 11.4142C11.7893 11.0391 12 10.5304 12 10V3.33333C12 2.8029 11.7893 2.29419 11.4142 1.91912C11.0391 1.54405 10.5304 1.33333 10 1.33333H3.33333ZM16 12.6667V4C16 3.82319 15.9298 3.65362 15.8047 3.5286C15.6797 3.40357 15.5101 3.33333 15.3333 3.33333C15.1565 3.33333 14.987 3.40357 14.8619 3.5286C14.7369 3.65362 14.6667 3.82319 14.6667 4V12.6667C14.6667 13.1971 14.456 13.7058 14.0809 14.0809C13.7058 14.456 13.1971 14.6667 12.6667 14.6667H4C3.82319 14.6667 3.65362 14.7369 3.5286 14.8619C3.40357 14.987 3.33333 15.1565 3.33333 15.3333C3.33333 15.5101 3.40357 15.6797 3.5286 15.8047C3.65362 15.9298 3.82319 16 4 16H12.6667C13.5504 15.9989 14.3976 15.6474 15.0225 15.0225C15.6474 14.3976 15.9989 13.5504 16 12.6667Z",
|
|
413
|
-
fill: "currentColor"
|
|
414
|
-
}
|
|
415
|
-
) }),
|
|
416
|
-
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("clipPath", { id: "clip0_copy", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
417
|
-
]
|
|
418
|
-
})
|
|
419
|
-
);
|
|
420
|
-
};
|
|
421
|
-
CopyIcon.displayName = "CopyIcon";
|
|
422
|
-
|
|
423
|
-
// src/primitives/icon/svg/create-account.tsx
|
|
424
|
-
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
425
|
-
var CreateAccountIcon = (_a) => {
|
|
426
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
427
|
-
return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
|
|
428
|
-
"svg",
|
|
429
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
430
|
-
width: "28",
|
|
431
|
-
height: "28",
|
|
432
|
-
viewBox: "0 0 28 28",
|
|
433
|
-
fill: "none",
|
|
434
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
435
|
-
className
|
|
436
|
-
}, getIconA11yProps(title)), props), {
|
|
437
|
-
children: [
|
|
438
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("title", { children: title }) : null,
|
|
439
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("g", { clipPath: "url(#clip0_create_account)", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
440
|
-
"path",
|
|
441
|
-
{
|
|
442
|
-
d: "M22.1667 4.66667V0.583333C22.1667 0.261333 22.428 0 22.75 0C23.072 0 23.3333 0.261333 23.3333 0.583333V4.66667H27.4167C27.7387 4.66667 28 4.928 28 5.25C28 5.572 27.7387 5.83333 27.4167 5.83333H23.3333V9.91667C23.3333 10.2387 23.072 10.5 22.75 10.5C22.428 10.5 22.1667 10.2387 22.1667 9.91667V5.83333H18.0833C17.7613 5.83333 17.5 5.572 17.5 5.25C17.5 4.928 17.7613 4.66667 18.0833 4.66667H22.1667ZM18.6667 11.6667C18.6667 14.2403 16.5737 16.3333 14 16.3333C11.4263 16.3333 9.33333 14.2403 9.33333 11.6667C9.33333 9.093 11.4263 7 14 7C16.5737 7 18.6667 9.093 18.6667 11.6667ZM17.5 11.6667C17.5 9.737 15.9297 8.16667 14 8.16667C12.0703 8.16667 10.5 9.737 10.5 11.6667C10.5 13.5963 12.0703 15.1667 14 15.1667C15.9297 15.1667 17.5 13.5963 17.5 11.6667ZM27.3922 9.90617C27.7958 11.2292 28 12.6058 28 14C28 21.7198 21.7198 28 14 28C6.28017 28 0 21.7198 0 14C0 6.28017 6.28017 0 14 0C15.4548 0 16.8898 0.221667 18.2607 0.660333C18.5675 0.758333 18.7367 1.08617 18.6387 1.393C18.5395 1.69983 18.2105 1.87017 17.9048 1.771C16.6483 1.36967 15.3335 1.1655 13.9988 1.1655C6.92417 1.16667 1.16667 6.92417 1.16667 14C1.16667 18.5197 3.521 22.4933 7.063 24.78C7.5005 21.3383 10.4417 18.6667 14 18.6667C17.5583 18.6667 20.4995 21.3383 20.937 24.78C24.4778 22.4933 26.8333 18.5197 26.8333 14C26.8333 12.7213 26.6467 11.459 26.2757 10.2468C26.1823 9.93883 26.355 9.61217 26.6642 9.51883C26.9722 9.422 27.2977 9.59933 27.3922 9.90617ZM14 26.8333C16.0918 26.8333 18.0623 26.32 19.8088 25.4287C19.6805 22.3253 17.1348 19.8333 14 19.8333C10.8652 19.8333 8.31833 22.3242 8.19117 25.4287C9.93767 26.32 11.9082 26.8333 14 26.8333Z",
|
|
443
|
-
fill: "currentColor"
|
|
444
|
-
}
|
|
445
|
-
) }),
|
|
446
|
-
/* @__PURE__ */ (0, import_jsx_runtime13.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("clipPath", { id: "clip0_create_account", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
447
|
-
]
|
|
448
|
-
})
|
|
449
|
-
);
|
|
450
|
-
};
|
|
451
|
-
CreateAccountIcon.displayName = "CreateAccountIcon";
|
|
452
|
-
|
|
453
|
-
// src/primitives/icon/svg/credit-card.tsx
|
|
454
|
-
var import_jsx_runtime14 = require("react/jsx-runtime");
|
|
455
|
-
var CreditCardIcon = (_a) => {
|
|
456
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
457
|
-
return /* @__PURE__ */ (0, import_jsx_runtime14.jsxs)(
|
|
458
|
-
"svg",
|
|
459
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
460
|
-
viewBox: "0 0 24 24",
|
|
461
|
-
className,
|
|
462
|
-
fill: "none"
|
|
463
|
-
}, getIconA11yProps(title)), props), {
|
|
464
|
-
children: [
|
|
465
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("title", { children: title }) : null,
|
|
466
|
-
/* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
|
|
467
|
-
"path",
|
|
468
|
-
{
|
|
469
|
-
d: "M19.5 3H4.5C2.019 3 0 5.019 0 7.5V16.5C0 18.981 2.019 21 4.5 21H19.5C21.981 21 24 18.981 24 16.5V7.5C24 5.019 21.981 3 19.5 3ZM1 8H23V10H1V8ZM4.5 4H19.5C21.258 4 22.704 5.308 22.949 7H1.051C1.296 5.308 2.742 4 4.5 4ZM19.5 20H4.5C2.57 20 1 18.43 1 16.5V11H23V16.5C23 18.43 21.43 20 19.5 20ZM5 14C3.897 14 3 14.897 3 16C3 17.103 3.897 18 5 18C6.103 18 7 17.103 7 16C7 14.897 6.103 14 5 14ZM5 17C4.449 17 4 16.552 4 16C4 15.448 4.449 15 5 15C5.551 15 6 15.448 6 16C6 16.552 5.551 17 5 17Z",
|
|
470
|
-
fill: "currentColor"
|
|
471
|
-
}
|
|
472
|
-
)
|
|
473
|
-
]
|
|
474
|
-
})
|
|
475
|
-
);
|
|
476
|
-
};
|
|
477
|
-
CreditCardIcon.displayName = "CreditCardIcon";
|
|
478
|
-
|
|
479
|
-
// src/primitives/icon/svg/disconnect.tsx
|
|
480
|
-
var import_jsx_runtime15 = require("react/jsx-runtime");
|
|
481
|
-
var DisconnectIcon = (_a) => {
|
|
482
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
483
|
-
return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
|
|
484
|
-
"svg",
|
|
485
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
486
|
-
viewBox: "0 0 16 16",
|
|
487
|
-
className,
|
|
488
|
-
fill: "none"
|
|
489
|
-
}, getIconA11yProps(title)), props), {
|
|
490
|
-
children: [
|
|
491
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("title", { children: title }) : null,
|
|
492
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
493
|
-
"path",
|
|
494
|
-
{
|
|
495
|
-
d: "M6.5 3H4a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h2.5",
|
|
496
|
-
stroke: "currentColor",
|
|
497
|
-
strokeWidth: "1.5",
|
|
498
|
-
strokeLinecap: "round"
|
|
499
|
-
}
|
|
500
|
-
),
|
|
501
|
-
/* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
|
|
502
|
-
"path",
|
|
503
|
-
{
|
|
504
|
-
d: "M9.5 5.5 12 8m0 0-2.5 2.5M12 8H6",
|
|
505
|
-
stroke: "currentColor",
|
|
506
|
-
strokeWidth: "1.5",
|
|
507
|
-
strokeLinecap: "round",
|
|
508
|
-
strokeLinejoin: "round"
|
|
509
|
-
}
|
|
510
|
-
)
|
|
511
|
-
]
|
|
512
|
-
})
|
|
513
|
-
);
|
|
514
|
-
};
|
|
515
|
-
DisconnectIcon.displayName = "DisconnectIcon";
|
|
516
|
-
|
|
517
|
-
// src/primitives/icon/svg/dots-horizontal.tsx
|
|
518
|
-
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
519
|
-
var DotsHorizontalIcon = (_a) => {
|
|
520
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
521
|
-
return /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)(
|
|
522
|
-
"svg",
|
|
523
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
524
|
-
viewBox: "0 0 16 16",
|
|
525
|
-
className,
|
|
526
|
-
fill: "none"
|
|
527
|
-
}, getIconA11yProps(title)), props), {
|
|
528
|
-
children: [
|
|
529
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("title", { children: title }) : null,
|
|
530
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "3.5", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
531
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "8", cy: "8", r: "1.25", fill: "currentColor" }),
|
|
532
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)("circle", { cx: "12.5", cy: "8", r: "1.25", fill: "currentColor" })
|
|
533
|
-
]
|
|
534
|
-
})
|
|
535
|
-
);
|
|
536
|
-
};
|
|
537
|
-
DotsHorizontalIcon.displayName = "DotsHorizontalIcon";
|
|
538
|
-
|
|
539
|
-
// src/primitives/icon/svg/document.tsx
|
|
540
|
-
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
541
|
-
var DocumentIcon = (_a) => {
|
|
542
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
543
|
-
return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
|
|
544
|
-
"svg",
|
|
545
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
546
|
-
viewBox: "0 0 16 16",
|
|
547
|
-
className,
|
|
548
|
-
fill: "none"
|
|
549
|
-
}, getIconA11yProps(title)), props), {
|
|
550
|
-
children: [
|
|
551
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("title", { children: title }) : null,
|
|
552
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("g", { clipPath: "url(#document-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
553
|
-
"path",
|
|
554
|
-
{
|
|
555
|
-
d: "M11.3335 9.33335C11.3335 9.51016 11.2633 9.67973 11.1382 9.80475C11.0132 9.92978 10.8436 10 10.6668 10H5.3335C5.15669 10 4.98712 9.92978 4.86209 9.80475C4.73707 9.67973 4.66683 9.51016 4.66683 9.33335C4.66683 9.15654 4.73707 8.98697 4.86209 8.86194C4.98712 8.73692 5.15669 8.66668 5.3335 8.66668H10.6668C10.8436 8.66668 11.0132 8.73692 11.1382 8.86194C11.2633 8.98697 11.3335 9.15654 11.3335 9.33335ZM8.66683 11.3333H5.3335C5.15669 11.3333 4.98712 11.4036 4.86209 11.5286C4.73707 11.6536 4.66683 11.8232 4.66683 12C4.66683 12.1768 4.73707 12.3464 4.86209 12.4714C4.98712 12.5964 5.15669 12.6667 5.3335 12.6667H8.66683C8.84364 12.6667 9.01321 12.5964 9.13823 12.4714C9.26326 12.3464 9.3335 12.1768 9.3335 12C9.3335 11.8232 9.26326 11.6536 9.13823 11.5286C9.01321 11.4036 8.84364 11.3333 8.66683 11.3333ZM14.6668 6.99002V12.6667C14.6658 13.5504 14.3142 14.3976 13.6894 15.0225C13.0645 15.6474 12.2172 15.999 11.3335 16H4.66683C3.7831 15.999 2.93587 15.6474 2.31098 15.0225C1.68608 14.3976 1.33455 13.5504 1.3335 12.6667V3.33335C1.33455 2.44962 1.68608 1.60239 2.31098 0.977495C2.93587 0.352603 3.7831 0.00107394 4.66683 1.53658e-05H7.67683C8.28991 -0.00156258 8.89722 0.118407 9.46365 0.352988C10.0301 0.587569 10.5444 0.932107 10.9768 1.36668L13.2995 3.69068C13.7343 4.12284 14.0791 4.63699 14.3138 5.20333C14.5485 5.76968 14.6685 6.37696 14.6668 6.99002ZM10.0342 2.30935C9.82435 2.10612 9.58879 1.9313 9.3335 1.78935V4.66668C9.3335 4.84349 9.40373 5.01306 9.52876 5.13809C9.65378 5.26311 9.82335 5.33335 10.0002 5.33335H12.8775C12.7355 5.07814 12.5604 4.84278 12.3568 4.63335L10.0342 2.30935ZM13.3335 6.99002C13.3335 6.88002 13.3122 6.77468 13.3022 6.66668H10.0002C9.46973 6.66668 8.96102 6.45597 8.58595 6.0809C8.21088 5.70582 8.00016 5.19711 8.00016 4.66668V1.36468C7.89216 1.35468 7.78616 1.33335 7.67683 1.33335H4.66683C4.1364 1.33335 3.62769 1.54406 3.25262 1.91914C2.87754 2.29421 2.66683 2.80292 2.66683 3.33335V12.6667C2.66683 13.1971 2.87754 13.7058 3.25262 14.0809C3.62769 14.456 4.1364 14.6667 4.66683 14.6667H11.3335C11.8639 14.6667 12.3726 14.456 12.7477 14.0809C13.1228 13.7058 13.3335 13.1971 13.3335 12.6667V6.99002Z",
|
|
556
|
-
fill: "currentColor"
|
|
557
|
-
}
|
|
558
|
-
) }),
|
|
559
|
-
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("clipPath", { id: "document-clip", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
560
|
-
]
|
|
561
|
-
})
|
|
562
|
-
);
|
|
563
|
-
};
|
|
564
|
-
DocumentIcon.displayName = "DocumentIcon";
|
|
565
|
-
|
|
566
|
-
// src/primitives/icon/svg/download.tsx
|
|
567
|
-
var import_jsx_runtime18 = require("react/jsx-runtime");
|
|
568
|
-
var DownloadIcon = (_a) => {
|
|
569
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
570
|
-
return /* @__PURE__ */ (0, import_jsx_runtime18.jsxs)(
|
|
571
|
-
"svg",
|
|
572
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
573
|
-
viewBox: "0 0 16 16",
|
|
574
|
-
className,
|
|
575
|
-
fill: "none"
|
|
576
|
-
}, getIconA11yProps(title)), props), {
|
|
577
|
-
children: [
|
|
578
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime18.jsx)("title", { children: title }) : null,
|
|
579
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
|
|
580
|
-
"path",
|
|
581
|
-
{
|
|
582
|
-
d: "M8 2.5v7m0 0 2.5-2.5M8 9.5 5.5 7",
|
|
583
|
-
stroke: "currentColor",
|
|
584
|
-
strokeWidth: "1.5",
|
|
585
|
-
strokeLinecap: "round",
|
|
586
|
-
strokeLinejoin: "round"
|
|
587
|
-
}
|
|
588
|
-
),
|
|
589
|
-
/* @__PURE__ */ (0, import_jsx_runtime18.jsx)("path", { d: "M2.5 12.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
590
|
-
]
|
|
591
|
-
})
|
|
592
|
-
);
|
|
593
|
-
};
|
|
594
|
-
DownloadIcon.displayName = "DownloadIcon";
|
|
595
|
-
|
|
596
|
-
// src/primitives/icon/svg/external-link.tsx
|
|
597
|
-
var import_jsx_runtime19 = require("react/jsx-runtime");
|
|
598
|
-
var ExternalLinkIcon = (_a) => {
|
|
599
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
600
|
-
return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
|
|
601
|
-
"svg",
|
|
602
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
603
|
-
viewBox: "0 0 14 14",
|
|
604
|
-
className,
|
|
605
|
-
fill: "none"
|
|
606
|
-
}, getIconA11yProps(title)), props), {
|
|
607
|
-
children: [
|
|
608
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("title", { children: title }) : null,
|
|
609
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("g", { clipPath: "url(#clip0_422_235)", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(
|
|
610
|
-
"path",
|
|
611
|
-
{
|
|
612
|
-
d: "M11.6667 6.41667V11.0833C11.6667 12.6916 10.3582 14 8.75 14H2.91667C1.30842 14 0 12.6916 0 11.0833V5.25C0 3.64175 1.30842 2.33333 2.91667 2.33333H7.58333C7.90533 2.33333 8.16667 2.59467 8.16667 2.91667C8.16667 3.23867 7.90533 3.5 7.58333 3.5H2.91667C1.95183 3.5 1.16667 4.28517 1.16667 5.25V11.0833C1.16667 12.0482 1.95183 12.8333 2.91667 12.8333H8.75C9.71483 12.8333 10.5 12.0482 10.5 11.0833V6.41667C10.5 6.09467 10.7613 5.83333 11.0833 5.83333C11.4053 5.83333 11.6667 6.09467 11.6667 6.41667ZM12.25 0H8.16667C7.84467 0 7.58333 0.261333 7.58333 0.583333C7.58333 0.905333 7.84467 1.16667 8.16667 1.16667H12.0085L4.83758 8.33758C4.6095 8.56567 4.6095 8.93433 4.83758 9.16242C4.95133 9.27617 5.10067 9.33333 5.25 9.33333C5.39933 9.33333 5.54867 9.27617 5.66242 9.16242L12.8333 1.9915V5.83333C12.8333 6.15533 13.0947 6.41667 13.4167 6.41667C13.7387 6.41667 14 6.15533 14 5.83333V1.75C14 0.785167 13.2148 0 12.25 0Z",
|
|
613
|
-
fill: "currentColor"
|
|
614
|
-
}
|
|
615
|
-
) }),
|
|
616
|
-
/* @__PURE__ */ (0, import_jsx_runtime19.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("clipPath", { id: "clip0_422_235", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
617
|
-
]
|
|
618
|
-
})
|
|
619
|
-
);
|
|
620
|
-
};
|
|
621
|
-
ExternalLinkIcon.displayName = "ExternalLinkIcon";
|
|
622
|
-
|
|
623
|
-
// src/primitives/icon/svg/info.tsx
|
|
624
|
-
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
625
|
-
var InfoIcon = (_a) => {
|
|
626
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
627
|
-
return /* @__PURE__ */ (0, import_jsx_runtime20.jsxs)(
|
|
628
|
-
"svg",
|
|
629
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
630
|
-
viewBox: "0 0 12 12",
|
|
631
|
-
className,
|
|
632
|
-
fill: "none"
|
|
633
|
-
}, getIconA11yProps(title)), props), {
|
|
634
|
-
children: [
|
|
635
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("title", { children: title }) : null,
|
|
636
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsxs)("g", { clipPath: "url(#info_clip)", children: [
|
|
637
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
638
|
-
"path",
|
|
639
|
-
{
|
|
640
|
-
d: "M6 0C4.81331 0 3.65328 0.351894 2.66658 1.01118C1.67989 1.67047 0.910851 2.60754 0.456726 3.7039C0.00259972 4.80026 -0.11622 6.00666 0.115291 7.17054C0.346802 8.33443 0.918247 9.40353 1.75736 10.2426C2.59648 11.0818 3.66558 11.6532 4.82946 11.8847C5.99335 12.1162 7.19975 11.9974 8.2961 11.5433C9.39246 11.0892 10.3295 10.3201 10.9888 9.33342C11.6481 8.34673 12 7.18669 12 6C11.9983 4.40923 11.3656 2.88411 10.2407 1.75926C9.1159 0.634414 7.59077 0.00172054 6 0ZM6 11C5.0111 11 4.0444 10.7068 3.22215 10.1573C2.39991 9.60794 1.75904 8.82705 1.38061 7.91342C1.00217 6.99979 0.90315 5.99445 1.09608 5.02455C1.289 4.05464 1.76521 3.16373 2.46447 2.46447C3.16373 1.7652 4.05465 1.289 5.02455 1.09607C5.99446 0.903148 6.99979 1.00216 7.91342 1.3806C8.82705 1.75904 9.60794 2.3999 10.1574 3.22215C10.7068 4.04439 11 5.01109 11 6C10.9985 7.32564 10.4713 8.59656 9.53393 9.53393C8.59656 10.4713 7.32564 10.9985 6 11Z",
|
|
641
|
-
fill: "currentColor"
|
|
642
|
-
}
|
|
643
|
-
),
|
|
644
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
645
|
-
"path",
|
|
646
|
-
{
|
|
647
|
-
d: "M6 5H5.5C5.36739 5 5.24021 5.05268 5.14645 5.14645C5.05268 5.24021 5 5.36739 5 5.5C5 5.63261 5.05268 5.75979 5.14645 5.85355C5.24021 5.94732 5.36739 6 5.5 6H6V9C6 9.13261 6.05268 9.25979 6.14645 9.35355C6.24021 9.44732 6.36739 9.5 6.5 9.5C6.63261 9.5 6.75979 9.44732 6.85355 9.35355C6.94732 9.25979 7 9.13261 7 9V6C7 5.73478 6.89464 5.48043 6.70711 5.29289C6.51957 5.10536 6.26522 5 6 5Z",
|
|
648
|
-
fill: "currentColor"
|
|
649
|
-
}
|
|
650
|
-
),
|
|
651
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
652
|
-
"path",
|
|
653
|
-
{
|
|
654
|
-
d: "M6 4C6.41421 4 6.75 3.66421 6.75 3.25C6.75 2.83579 6.41421 2.5 6 2.5C5.58579 2.5 5.25 2.83579 5.25 3.25C5.25 3.66421 5.58579 4 6 4Z",
|
|
655
|
-
fill: "currentColor"
|
|
656
|
-
}
|
|
657
|
-
)
|
|
658
|
-
] }),
|
|
659
|
-
/* @__PURE__ */ (0, import_jsx_runtime20.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("clipPath", { id: "info_clip", children: /* @__PURE__ */ (0, import_jsx_runtime20.jsx)("rect", { width: "12", height: "12", fill: "white" }) }) })
|
|
660
|
-
]
|
|
661
|
-
})
|
|
662
|
-
);
|
|
663
|
-
};
|
|
664
|
-
InfoIcon.displayName = "InfoIcon";
|
|
665
|
-
|
|
666
|
-
// src/primitives/icon/icon.constants.ts
|
|
667
|
-
var iconSizeClasses = {
|
|
668
|
-
small: "h-4 w-4",
|
|
669
|
-
medium: "h-6 w-6",
|
|
670
|
-
large: "h-8 w-8"
|
|
671
|
-
};
|
|
672
|
-
|
|
673
|
-
// src/primitives/icon/svg/check-badge.tsx
|
|
674
|
-
var import_jsx_runtime21 = require("react/jsx-runtime");
|
|
675
|
-
var CheckBadgeIcon = (_a) => {
|
|
676
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
677
|
-
return /* @__PURE__ */ (0, import_jsx_runtime21.jsxs)(
|
|
678
|
-
"svg",
|
|
679
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
680
|
-
viewBox: "0 0 16 16",
|
|
681
|
-
className,
|
|
682
|
-
fill: "none"
|
|
683
|
-
}, getIconA11yProps(title)), props), {
|
|
684
|
-
children: [
|
|
685
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("title", { children: title }) : null,
|
|
686
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("g", { clipPath: "url(#check-badge-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
687
|
-
"path",
|
|
688
|
-
{
|
|
689
|
-
d: "M15.4173 6.57883L13.9833 5.14283V3.9975C13.9833 2.89683 13.0886 2.00083 11.9893 2.00083H10.8453L9.4113 0.5655C8.6573 -0.1885 7.34397 -0.1885 6.59063 0.5655L5.15663 2.00083H4.01263C2.91263 2.00083 2.01863 2.89617 2.01863 3.9975V5.14283L0.583965 6.57883C-0.192702 7.3575 -0.192702 8.6235 0.583965 9.40217L2.01796 10.8382V11.9835C2.01796 13.0842 2.91263 13.9802 4.01196 13.9802H5.15596L6.58997 15.4155C6.96663 15.7922 7.46797 16.0002 8.00063 16.0002C8.5333 16.0002 9.03397 15.7922 9.41063 15.4155L10.8446 13.9802H11.9886C13.0886 13.9802 13.9826 13.0848 13.9826 11.9835V10.8382L15.4173 9.40217C16.194 8.6235 16.194 7.3575 15.4173 6.57883ZM12.136 6.8075L8.76663 10.1375C8.3573 10.5442 7.81797 10.7482 7.2793 10.7482C6.74063 10.7482 6.20396 10.5448 5.7933 10.1395L4.06063 8.4735C3.7993 8.21417 3.79663 7.79283 4.05596 7.53083C4.31596 7.27017 4.73663 7.26683 4.9993 7.52617L6.7313 9.1915C7.0333 9.49083 7.52463 9.4915 7.8273 9.1915L11.1973 5.86083C11.46 5.60083 11.8813 5.6035 12.1406 5.8655C12.4 6.1275 12.3973 6.54817 12.136 6.8075Z",
|
|
690
|
-
fill: "currentColor"
|
|
691
|
-
}
|
|
692
|
-
) }),
|
|
693
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("clipPath", { id: "check-badge-clip", children: /* @__PURE__ */ (0, import_jsx_runtime21.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
694
|
-
]
|
|
695
|
-
})
|
|
696
|
-
);
|
|
697
|
-
};
|
|
698
|
-
CheckBadgeIcon.displayName = "CheckBadgeIcon";
|
|
699
|
-
|
|
700
|
-
// src/primitives/icon/svg/discord.tsx
|
|
701
|
-
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
702
|
-
var DiscordIcon = (_a) => {
|
|
703
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
704
|
-
return /* @__PURE__ */ (0, import_jsx_runtime22.jsxs)(
|
|
705
|
-
"svg",
|
|
706
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
707
|
-
viewBox: "0 0 20 20",
|
|
708
|
-
className,
|
|
709
|
-
fill: "none"
|
|
710
|
-
}, getIconA11yProps(title)), props), {
|
|
711
|
-
children: [
|
|
712
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime22.jsx)("title", { children: title }) : null,
|
|
713
|
-
/* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
714
|
-
"path",
|
|
715
|
-
{
|
|
716
|
-
d: "M16.3546 4.49236C15.1858 3.95607 13.9329 3.56111 12.6227 3.33499C12.599 3.3304 12.5754 3.34186 12.5624 3.36325C12.4012 3.64973 12.2224 4.02406 12.0979 4.31742C10.6884 4.10657 9.28659 4.10657 7.90615 4.31742C7.78162 4.01719 7.59598 3.64973 7.43479 3.36325C7.42181 3.34186 7.39812 3.33117 7.37444 3.33499C6.06504 3.56035 4.81218 3.95531 3.64258 4.49236C3.63265 4.49618 3.62348 4.50382 3.61813 4.51298C1.24151 8.06379 0.589865 11.5275 0.909193 14.9484C0.910721 14.9653 0.919888 14.9813 0.932875 14.9912C2.50125 16.1433 4.01997 16.8423 5.51119 17.3052C5.53487 17.3128 5.56008 17.3037 5.57536 17.2838C5.9283 16.8025 6.24228 16.2945 6.51195 15.7605C6.52799 15.7292 6.51271 15.6918 6.47986 15.6795C5.98101 15.4901 5.5066 15.2594 5.04976 14.9981C5.01386 14.9767 5.0108 14.9255 5.04365 14.9003C5.13991 14.8285 5.23617 14.7536 5.32784 14.678C5.34465 14.6643 5.36756 14.6612 5.38743 14.6704C8.38819 16.0401 11.6365 16.0401 14.6013 14.6704C14.6212 14.6612 14.6441 14.6635 14.6617 14.678C14.7534 14.7536 14.8496 14.8293 14.9466 14.9011C14.9803 14.9255 14.978 14.9775 14.9413 14.9989C14.4845 15.2655 14.01 15.4916 13.5104 15.6795C13.4776 15.6918 13.4638 15.73 13.4791 15.7613C13.7541 16.2945 14.0689 16.8025 14.4149 17.2838C14.4295 17.3044 14.4554 17.3128 14.4791 17.306C15.9772 16.8423 17.4967 16.1433 19.0643 14.992C19.078 14.9821 19.0865 14.9668 19.088 14.95C19.4699 10.995 18.4478 7.55959 16.3775 4.51451C16.3737 4.50382 16.3645 4.49618 16.3546 4.49236ZM6.96038 12.8659C6.05664 12.8659 5.31256 12.0363 5.31256 11.018C5.31256 9.99962 6.04213 9.16998 6.96038 9.16998C7.88552 9.16998 8.62272 10.0065 8.60821 11.018C8.60821 12.0371 7.87788 12.8659 6.96038 12.8659ZM13.0528 12.8659C12.1498 12.8659 11.405 12.0363 11.405 11.018C11.405 9.99962 12.1346 9.16998 13.0528 9.16998C13.978 9.16998 14.7152 10.0065 14.7007 11.018C14.7007 12.0371 13.978 12.8659 13.0528 12.8659Z",
|
|
717
|
-
fill: "currentColor"
|
|
718
|
-
}
|
|
719
|
-
)
|
|
720
|
-
]
|
|
721
|
-
})
|
|
722
|
-
);
|
|
723
|
-
};
|
|
724
|
-
DiscordIcon.displayName = "DiscordIcon";
|
|
725
|
-
|
|
726
|
-
// src/primitives/icon/svg/email.tsx
|
|
727
|
-
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
728
|
-
var EmailIcon = (_a) => {
|
|
729
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
730
|
-
return /* @__PURE__ */ (0, import_jsx_runtime23.jsxs)(
|
|
731
|
-
"svg",
|
|
732
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
733
|
-
viewBox: "0 0 20 20",
|
|
734
|
-
className,
|
|
735
|
-
fill: "none"
|
|
736
|
-
}, getIconA11yProps(title)), props), {
|
|
737
|
-
children: [
|
|
738
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("title", { children: title }) : null,
|
|
739
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
740
|
-
"path",
|
|
741
|
-
{
|
|
742
|
-
d: "M3.33333 3.33398H16.6667C17.5833 3.33398 18.3333 4.08398 18.3333 5.00065V15.0007C18.3333 15.9173 17.5833 16.6673 16.6667 16.6673H3.33333C2.41667 16.6673 1.66667 15.9173 1.66667 15.0007V5.00065C1.66667 4.08398 2.41667 3.33398 3.33333 3.33398Z",
|
|
743
|
-
stroke: "currentColor",
|
|
744
|
-
strokeWidth: "1.5",
|
|
745
|
-
strokeLinecap: "round",
|
|
746
|
-
strokeLinejoin: "round"
|
|
747
|
-
}
|
|
748
|
-
),
|
|
749
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
750
|
-
"path",
|
|
751
|
-
{
|
|
752
|
-
d: "M18.3333 5L10 10.8333L1.66667 5",
|
|
753
|
-
stroke: "currentColor",
|
|
754
|
-
strokeWidth: "1.5",
|
|
755
|
-
strokeLinecap: "round",
|
|
756
|
-
strokeLinejoin: "round"
|
|
757
|
-
}
|
|
758
|
-
)
|
|
759
|
-
]
|
|
760
|
-
})
|
|
761
|
-
);
|
|
762
|
-
};
|
|
763
|
-
EmailIcon.displayName = "EmailIcon";
|
|
764
|
-
|
|
765
|
-
// src/primitives/icon/svg/link-accounts.tsx
|
|
766
|
-
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
767
|
-
var LinkAccountsIcon = (_a) => {
|
|
768
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
769
|
-
return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
|
|
770
|
-
"svg",
|
|
771
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
772
|
-
width: "28",
|
|
773
|
-
height: "28",
|
|
774
|
-
viewBox: "0 0 28 28",
|
|
775
|
-
fill: "none",
|
|
776
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
777
|
-
className
|
|
778
|
-
}, getIconA11yProps(title)), props), {
|
|
779
|
-
children: [
|
|
780
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("title", { children: title }) : null,
|
|
781
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("g", { clipPath: "url(#clip0_link_accounts)", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
782
|
-
"path",
|
|
783
|
-
{
|
|
784
|
-
d: "M28 18.0835C28 22.2648 24.598 25.6668 20.4167 25.6668H14.5833C10.402 25.6668 7 22.2648 7 18.0835C7 13.9022 10.402 10.5002 14.5833 10.5002H16.9167C17.2387 10.5002 17.5 10.7615 17.5 11.0835C17.5 11.4055 17.2387 11.6668 16.9167 11.6668H14.5833C11.0448 11.6668 8.16667 14.5462 8.16667 18.0835C8.16667 21.6208 11.0448 24.5002 14.5833 24.5002H20.4167C23.9552 24.5002 26.8333 21.6208 26.8333 18.0835C26.8333 15.7992 25.6037 13.67 23.625 12.5243C23.3462 12.3633 23.2505 12.0063 23.4127 11.7275C23.5725 11.4487 23.9283 11.3507 24.2095 11.514C26.5475 12.8662 28.0012 15.3827 28.0012 18.0823L28 18.0835ZM4.375 15.476C2.39517 14.3315 1.16667 12.2012 1.16667 9.91683C1.16667 6.3795 4.04483 3.50016 7.58333 3.50016H13.4167C16.9552 3.50016 19.8333 6.3795 19.8333 9.91683C19.8333 13.4542 16.9552 16.3335 13.4167 16.3335H11.0833C10.7613 16.3335 10.5 16.5948 10.5 16.9168C10.5 17.2388 10.7613 17.5002 11.0833 17.5002H13.4167C17.598 17.5002 21 14.0982 21 9.91683C21 5.7355 17.598 2.3335 13.4167 2.3335H7.58333C3.402 2.3335 0 5.7355 0 9.91683C0 12.6153 1.4525 15.133 3.79167 16.4852C4.0705 16.6462 4.4275 16.5517 4.5885 16.2717C4.75067 15.994 4.655 15.6358 4.37617 15.4748L4.375 15.476Z",
|
|
785
|
-
fill: "currentColor"
|
|
786
|
-
}
|
|
787
|
-
) }),
|
|
788
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("clipPath", { id: "clip0_link_accounts", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
789
|
-
]
|
|
790
|
-
})
|
|
791
|
-
);
|
|
792
|
-
};
|
|
793
|
-
LinkAccountsIcon.displayName = "LinkAccountsIcon";
|
|
794
|
-
|
|
795
|
-
// src/primitives/icon/svg/pencil.tsx
|
|
796
|
-
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
797
|
-
var PencilIcon = (_a) => {
|
|
798
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
799
|
-
return /* @__PURE__ */ (0, import_jsx_runtime25.jsxs)(
|
|
800
|
-
"svg",
|
|
801
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
802
|
-
viewBox: "0 0 16 16",
|
|
803
|
-
className,
|
|
804
|
-
fill: "none"
|
|
805
|
-
}, getIconA11yProps(title)), props), {
|
|
806
|
-
children: [
|
|
807
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("title", { children: title }) : null,
|
|
808
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("g", { clipPath: "url(#pencil_clip)", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
809
|
-
"path",
|
|
810
|
-
{
|
|
811
|
-
d: "M15.2353 0.706709C14.7821 0.254173 14.1678 0 13.5273 0C12.8869 0 12.2726 0.254173 11.8193 0.706709L0.976677 11.5494C0.666178 11.8581 0.419985 12.2254 0.252342 12.6299C0.0846994 13.0344 -0.00106532 13.4682 9.98748e-06 13.906V15.2747C9.98748e-06 15.4515 0.0702479 15.6211 0.195272 15.7461C0.320296 15.8711 0.489866 15.9414 0.666677 15.9414H2.03534C2.47318 15.9426 2.90692 15.857 3.31145 15.6895C3.71597 15.5219 4.08325 15.2758 4.39201 14.9654L15.2353 4.12204C15.6877 3.66884 15.9417 3.05469 15.9417 2.41438C15.9417 1.77406 15.6877 1.15991 15.2353 0.706709ZM3.44934 14.0227C3.07335 14.3962 2.56532 14.6065 2.03534 14.608H1.33334V13.906C1.33267 13.6433 1.38411 13.3831 1.4847 13.1403C1.58529 12.8976 1.73302 12.6773 1.91934 12.492L10.148 4.26338L11.6813 5.79671L3.44934 14.0227ZM14.292 3.17938L12.6213 4.85071L11.088 3.32071L12.7593 1.64938C12.86 1.54891 12.9795 1.46927 13.111 1.41498C13.2424 1.3607 13.3833 1.33284 13.5255 1.33299C13.6678 1.33314 13.8086 1.36131 13.9399 1.41588C14.0712 1.47045 14.1905 1.55036 14.291 1.65104C14.3915 1.75172 14.4711 1.8712 14.5254 2.00266C14.5797 2.13413 14.6076 2.27499 14.6074 2.41722C14.6072 2.55945 14.5791 2.70025 14.5245 2.8316C14.4699 2.96294 14.39 3.08225 14.2893 3.18271L14.292 3.17938Z",
|
|
812
|
-
fill: "currentColor"
|
|
813
|
-
}
|
|
814
|
-
) }),
|
|
815
|
-
/* @__PURE__ */ (0, import_jsx_runtime25.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("clipPath", { id: "pencil_clip", children: /* @__PURE__ */ (0, import_jsx_runtime25.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
816
|
-
]
|
|
817
|
-
})
|
|
818
|
-
);
|
|
819
|
-
};
|
|
820
|
-
PencilIcon.displayName = "PencilIcon";
|
|
821
|
-
|
|
822
|
-
// src/primitives/icon/svg/play-square.tsx
|
|
823
|
-
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
824
|
-
var PlaySquareIcon = (_a) => {
|
|
825
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
826
|
-
return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
|
|
827
|
-
"svg",
|
|
828
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
829
|
-
viewBox: "0 0 16 16",
|
|
830
|
-
className,
|
|
831
|
-
fill: "none"
|
|
832
|
-
}, getIconA11yProps(title)), props), {
|
|
833
|
-
children: [
|
|
834
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("title", { children: title }) : null,
|
|
835
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("g", { clipPath: "url(#play-square-clip)", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
836
|
-
"path",
|
|
837
|
-
{
|
|
838
|
-
d: "M12.6667 16H3.33333C2.4496 15.9989 1.60237 15.6474 0.97748 15.0225C0.352588 14.3976 0.00105857 13.5504 0 12.6667L0 3.33333C0.00105857 2.4496 0.352588 1.60237 0.97748 0.97748C1.60237 0.352588 2.4496 0.00105857 3.33333 0L12.6667 0C13.5504 0.00105857 14.3976 0.352588 15.0225 0.97748C15.6474 1.60237 15.9989 2.4496 16 3.33333V12.6667C15.9989 13.5504 15.6474 14.3976 15.0225 15.0225C14.3976 15.6474 13.5504 15.9989 12.6667 16ZM3.33333 1.33333C2.8029 1.33333 2.29419 1.54405 1.91912 1.91912C1.54405 2.29419 1.33333 2.8029 1.33333 3.33333V12.6667C1.33333 13.1971 1.54405 13.7058 1.91912 14.0809C2.29419 14.456 2.8029 14.6667 3.33333 14.6667H12.6667C13.1971 14.6667 13.7058 14.456 14.0809 14.0809C14.456 13.7058 14.6667 13.1971 14.6667 12.6667V3.33333C14.6667 2.8029 14.456 2.29419 14.0809 1.91912C13.7058 1.54405 13.1971 1.33333 12.6667 1.33333H3.33333ZM6.228 11.3367C5.95008 11.3357 5.67734 11.2615 5.43733 11.1213C5.20023 10.9856 5.00344 10.7894 4.86709 10.5526C4.73074 10.3159 4.65973 10.0472 4.66133 9.774V6.226C4.66111 5.95276 4.73274 5.68427 4.86905 5.44746C5.00537 5.21066 5.20156 5.01386 5.43794 4.87683C5.67433 4.73979 5.9426 4.66733 6.21584 4.66672C6.48907 4.6661 6.75767 4.73736 6.99467 4.87333L10.5133 6.63C10.7577 6.76194 10.9624 6.95685 11.1062 7.19452C11.2499 7.4322 11.3274 7.70399 11.3308 7.98172C11.3341 8.25946 11.2631 8.53303 11.1251 8.77408C10.9871 9.01514 10.7872 9.2149 10.546 9.35267L6.962 11.144C6.73847 11.2715 6.48533 11.3379 6.228 11.3367ZM6.21133 6.00333C6.17459 6.00332 6.13849 6.01298 6.10667 6.03133C6.07209 6.05056 6.0434 6.07884 6.02367 6.11313C6.00394 6.14743 5.99391 6.18644 5.99467 6.226V9.774C5.99489 9.81297 6.00525 9.85121 6.02473 9.88497C6.0442 9.91872 6.07212 9.94683 6.10574 9.96653C6.13936 9.98624 6.17753 9.99686 6.2165 9.99735C6.25547 9.99784 6.29389 9.98818 6.328 9.96933L9.912 8.17733C9.93869 8.15646 9.95992 8.12941 9.97385 8.09852C9.98779 8.06764 9.99401 8.03383 9.992 8C9.99284 7.96035 9.98277 7.92123 9.96291 7.8869C9.94304 7.85258 9.91413 7.82436 9.87933 7.80533L6.36333 6.04867C6.31749 6.02054 6.26509 6.00492 6.21133 6.00333Z",
|
|
839
|
-
fill: "currentColor"
|
|
840
|
-
}
|
|
841
|
-
) }),
|
|
842
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("clipPath", { id: "play-square-clip", children: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("rect", { width: "16", height: "16", fill: "white" }) }) })
|
|
843
|
-
]
|
|
844
|
-
})
|
|
845
|
-
);
|
|
846
|
-
};
|
|
847
|
-
PlaySquareIcon.displayName = "PlaySquareIcon";
|
|
848
|
-
|
|
849
|
-
// src/primitives/icon/svg/profile.tsx
|
|
850
|
-
var import_jsx_runtime27 = require("react/jsx-runtime");
|
|
851
|
-
var ProfileIcon = (_a) => {
|
|
852
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
853
|
-
return /* @__PURE__ */ (0, import_jsx_runtime27.jsxs)(
|
|
854
|
-
"svg",
|
|
855
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
856
|
-
viewBox: "0 0 21 28",
|
|
857
|
-
className,
|
|
858
|
-
fill: "none"
|
|
859
|
-
}, getIconA11yProps(title)), props), {
|
|
860
|
-
children: [
|
|
861
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("title", { children: title }) : null,
|
|
862
|
-
/* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
|
|
863
|
-
"path",
|
|
864
|
-
{
|
|
865
|
-
d: "M10.5 14C14.3605 14 17.5 10.8605 17.5 7C17.5 3.1395 14.3605 0 10.5 0C6.6395 0 3.5 3.1395 3.5 7C3.5 10.8605 6.6395 14 10.5 14ZM10.5 1.16667C13.7165 1.16667 16.3333 3.7835 16.3333 7C16.3333 10.2165 13.7165 12.8333 10.5 12.8333C7.2835 12.8333 4.66667 10.2165 4.66667 7C4.66667 3.7835 7.2835 1.16667 10.5 1.16667ZM21 26.8333V27.4167C21 27.7387 20.7387 28 20.4167 28C20.0947 28 19.8333 27.7387 19.8333 27.4167V26.8333C19.8333 21.6872 15.6462 17.5 10.5 17.5C5.35383 17.5 1.16667 21.6872 1.16667 26.8333V27.4167C1.16667 27.7387 0.905333 28 0.583333 28C0.261333 28 0 27.7387 0 27.4167V26.8333C0 21.0443 4.711 16.3333 10.5 16.3333C16.289 16.3333 21 21.0443 21 26.8333Z",
|
|
866
|
-
fill: "currentColor"
|
|
867
|
-
}
|
|
868
|
-
)
|
|
869
|
-
]
|
|
870
|
-
})
|
|
871
|
-
);
|
|
872
|
-
};
|
|
873
|
-
ProfileIcon.displayName = "ProfileIcon";
|
|
874
|
-
|
|
875
|
-
// src/primitives/icon/svg/revenue-alt.tsx
|
|
876
|
-
var import_jsx_runtime28 = require("react/jsx-runtime");
|
|
877
|
-
var RevenueAltIcon = (_a) => {
|
|
878
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
879
|
-
return /* @__PURE__ */ (0, import_jsx_runtime28.jsxs)(
|
|
880
|
-
"svg",
|
|
881
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
882
|
-
viewBox: "0 0 20 20",
|
|
883
|
-
className,
|
|
884
|
-
fill: "none"
|
|
885
|
-
}, getIconA11yProps(title)), props), {
|
|
886
|
-
children: [
|
|
887
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("title", { children: title }) : null,
|
|
888
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
889
|
-
"path",
|
|
890
|
-
{
|
|
891
|
-
d: "M3 14V6M3 6L1.5 7.5M3 6L4.5 7.5M17 6V14M17 14L15.5 12.5M17 14L18.5 12.5",
|
|
892
|
-
stroke: "currentColor",
|
|
893
|
-
strokeWidth: "1.5",
|
|
894
|
-
strokeLinecap: "round",
|
|
895
|
-
strokeLinejoin: "round"
|
|
896
|
-
}
|
|
897
|
-
),
|
|
898
|
-
/* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
|
|
899
|
-
"path",
|
|
900
|
-
{
|
|
901
|
-
d: "M10 5.5V14.5M12.5 7.4C12.5 6.55 11.38 5.86 10 5.86C8.62 5.86 7.5 6.55 7.5 7.4C7.5 8.25 8.62 8.94 10 8.94C11.38 8.94 12.5 9.63 12.5 10.48C12.5 11.33 11.38 12.02 10 12.02C8.62 12.02 7.5 11.33 7.5 10.48",
|
|
902
|
-
stroke: "currentColor",
|
|
903
|
-
strokeWidth: "1.5",
|
|
904
|
-
strokeLinecap: "round",
|
|
905
|
-
strokeLinejoin: "round"
|
|
906
|
-
}
|
|
907
|
-
)
|
|
908
|
-
]
|
|
909
|
-
})
|
|
910
|
-
);
|
|
911
|
-
};
|
|
912
|
-
RevenueAltIcon.displayName = "RevenueAltIcon";
|
|
913
|
-
|
|
914
|
-
// src/primitives/icon/svg/search.tsx
|
|
915
|
-
var import_jsx_runtime29 = require("react/jsx-runtime");
|
|
916
|
-
var SearchIcon = (_a) => {
|
|
917
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
918
|
-
return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
|
|
919
|
-
"svg",
|
|
920
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
921
|
-
viewBox: "0 0 16 16",
|
|
922
|
-
fill: "none",
|
|
923
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
924
|
-
className
|
|
925
|
-
}, getIconA11yProps(title)), props), {
|
|
926
|
-
children: [
|
|
927
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("title", { children: title }) : null,
|
|
928
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
929
|
-
"path",
|
|
930
|
-
{
|
|
931
|
-
d: "M7.3335 12.3333C10.0949 12.3333 12.3335 10.0947 12.3335 7.33329C12.3335 4.57187 10.0949 2.33329 7.3335 2.33329C4.57208 2.33329 2.3335 4.57187 2.3335 7.33329C2.3335 10.0947 4.57208 12.3333 7.3335 12.3333Z",
|
|
932
|
-
stroke: "currentColor",
|
|
933
|
-
strokeWidth: "1.3",
|
|
934
|
-
strokeLinecap: "round",
|
|
935
|
-
strokeLinejoin: "round"
|
|
936
|
-
}
|
|
937
|
-
),
|
|
938
|
-
/* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
|
|
939
|
-
"path",
|
|
940
|
-
{
|
|
941
|
-
d: "M13.6668 13.6666L11.1667 11.1666",
|
|
942
|
-
stroke: "currentColor",
|
|
943
|
-
strokeWidth: "1.3",
|
|
944
|
-
strokeLinecap: "round",
|
|
945
|
-
strokeLinejoin: "round"
|
|
946
|
-
}
|
|
947
|
-
)
|
|
948
|
-
]
|
|
949
|
-
})
|
|
950
|
-
);
|
|
951
|
-
};
|
|
952
|
-
SearchIcon.displayName = "SearchIcon";
|
|
953
|
-
|
|
954
|
-
// src/primitives/icon/svg/shield-trust.tsx
|
|
955
|
-
var import_jsx_runtime30 = require("react/jsx-runtime");
|
|
956
|
-
var ShieldTrustIcon = (_a) => {
|
|
957
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
958
|
-
return /* @__PURE__ */ (0, import_jsx_runtime30.jsxs)(
|
|
959
|
-
"svg",
|
|
960
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
961
|
-
viewBox: "0 0 16 16",
|
|
962
|
-
className,
|
|
963
|
-
fill: "none"
|
|
964
|
-
}, getIconA11yProps(title)), props), {
|
|
965
|
-
children: [
|
|
966
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime30.jsx)("title", { children: title }) : null,
|
|
967
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
968
|
-
"path",
|
|
969
|
-
{
|
|
970
|
-
d: "M8 1.25L13.5 3.25V7.08C13.5 10.09 11.62 12.74 8 14.75C4.38 12.74 2.5 10.09 2.5 7.08V3.25L8 1.25Z",
|
|
971
|
-
fill: "currentColor"
|
|
972
|
-
}
|
|
973
|
-
),
|
|
974
|
-
/* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
|
|
975
|
-
"path",
|
|
976
|
-
{
|
|
977
|
-
d: "M5.5 8.2L7.2 9.9L10.8 6.3",
|
|
978
|
-
stroke: "white",
|
|
979
|
-
strokeWidth: "1.4",
|
|
980
|
-
strokeLinecap: "round",
|
|
981
|
-
strokeLinejoin: "round"
|
|
982
|
-
}
|
|
983
|
-
)
|
|
984
|
-
]
|
|
985
|
-
})
|
|
986
|
-
);
|
|
987
|
-
};
|
|
988
|
-
ShieldTrustIcon.displayName = "ShieldTrustIcon";
|
|
989
|
-
|
|
990
|
-
// src/primitives/icon/svg/stay-in-control.tsx
|
|
991
|
-
var import_jsx_runtime31 = require("react/jsx-runtime");
|
|
992
|
-
var StayInControlIcon = (_a) => {
|
|
993
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
994
|
-
return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
|
|
995
|
-
"svg",
|
|
996
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
997
|
-
width: "28",
|
|
998
|
-
height: "28",
|
|
999
|
-
viewBox: "0 0 28 28",
|
|
1000
|
-
fill: "none",
|
|
1001
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1002
|
-
className
|
|
1003
|
-
}, getIconA11yProps(title)), props), {
|
|
1004
|
-
children: [
|
|
1005
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("title", { children: title }) : null,
|
|
1006
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsxs)("g", { clipPath: "url(#clip0_stay_in_control)", children: [
|
|
1007
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1008
|
-
"path",
|
|
1009
|
-
{
|
|
1010
|
-
d: "M14 27.9406C13.9102 27.9406 13.8215 27.9196 13.7387 27.8788L13.2428 27.6314C10.6832 26.3504 2.32983 21.5753 2.32983 13.8648L2.33217 7.62776C2.33217 5.36093 3.77767 3.35776 5.93017 2.64493L13.8168 0.0292617C13.9358 -0.010405 14.0653 -0.010405 14.1832 0.0292617L22.0687 2.64376C24.2212 3.35776 25.6667 5.36093 25.6667 7.6266L25.6632 13.8636C25.6632 22.6113 17.2958 26.6584 14.7315 27.6909L14.217 27.8974C14.147 27.9254 14.0723 27.9394 13.9988 27.9394L14 27.9406ZM14 1.19826L6.29767 3.7521C4.6235 4.30743 3.5 5.86493 3.5 7.62776L3.49767 13.8648C3.49767 20.9056 11.3563 25.3844 13.7655 26.5884L14.0268 26.7191L14.2975 26.6106C16.6903 25.6481 24.4977 21.8833 24.4977 13.8659L24.5012 7.62893C24.5012 5.8661 23.3765 4.3086 21.7035 3.75326L14 1.19826Z",
|
|
1011
|
-
fill: "currentColor"
|
|
1012
|
-
}
|
|
1013
|
-
),
|
|
1014
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
|
|
1015
|
-
"path",
|
|
1016
|
-
{
|
|
1017
|
-
d: "M12.8112 17.5001C12.0633 17.5001 11.3155 17.2154 10.7462 16.6461L7.18083 13.2569C6.94749 13.0352 6.93816 12.6654 7.15983 12.4321C7.38149 12.1999 7.75016 12.1894 7.98466 12.4111L11.5605 15.8107C12.2535 16.5026 13.363 16.5037 14.0455 15.8212L20.5928 9.49791C20.8262 9.27508 21.196 9.28208 21.4177 9.51308C21.6417 9.74408 21.6358 10.1139 21.4037 10.3379L14.8622 16.6542C14.2987 17.2177 13.5543 17.5012 12.81 17.5012L12.8112 17.5001Z",
|
|
1018
|
-
fill: "currentColor"
|
|
1019
|
-
}
|
|
1020
|
-
)
|
|
1021
|
-
] }),
|
|
1022
|
-
/* @__PURE__ */ (0, import_jsx_runtime31.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("clipPath", { id: "clip0_stay_in_control", children: /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("rect", { width: "28", height: "28", fill: "white" }) }) })
|
|
1023
|
-
]
|
|
1024
|
-
})
|
|
1025
|
-
);
|
|
1026
|
-
};
|
|
1027
|
-
StayInControlIcon.displayName = "StayInControlIcon";
|
|
1028
|
-
|
|
1029
|
-
// src/primitives/icon/svg/telegram.tsx
|
|
1030
|
-
var import_jsx_runtime32 = require("react/jsx-runtime");
|
|
1031
|
-
var TelegramIcon = (_a) => {
|
|
1032
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1033
|
-
return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(
|
|
1034
|
-
"svg",
|
|
1035
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1036
|
-
viewBox: "0 0 20 20",
|
|
1037
|
-
className,
|
|
1038
|
-
fill: "none"
|
|
1039
|
-
}, getIconA11yProps(title)), props), {
|
|
1040
|
-
children: [
|
|
1041
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("title", { children: title }) : null,
|
|
1042
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("g", { clipPath: "url(#clip0_telegram)", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
1043
|
-
"path",
|
|
1044
|
-
{
|
|
1045
|
-
fillRule: "evenodd",
|
|
1046
|
-
clipRule: "evenodd",
|
|
1047
|
-
d: "M9.99992 0.833984C4.93763 0.833984 0.833252 4.93836 0.833252 10.0007C0.833252 15.0629 4.93763 19.1673 9.99992 19.1673C15.0622 19.1673 19.1666 15.0629 19.1666 10.0007C19.1666 4.93836 15.0622 0.833984 9.99992 0.833984ZM14.2487 7.06808C14.1112 8.51718 13.5112 12.1296 13.2062 13.7896C13.0762 14.4846 12.8212 14.7146 12.5737 14.7396C12.0362 14.7846 11.6312 14.3846 11.1162 14.0446C10.3162 13.5146 9.86117 13.1896 9.08367 12.6746C8.18367 12.0746 8.77367 11.7446 9.29117 11.2096C9.42867 11.0671 11.7662 8.93464 11.8112 8.73964C11.8168 8.71424 11.8218 8.62214 11.7668 8.57464C11.7118 8.52714 11.6318 8.54464 11.5718 8.55964C11.4868 8.57964 10.1018 9.49464 7.41617 11.3046C7.04867 11.5546 6.71617 11.6771 6.41867 11.6721C6.08867 11.6671 5.45617 11.4846 4.98117 11.3296C4.40117 11.1396 3.94117 11.0396 3.98117 10.7196C4.00117 10.5521 4.23117 10.3821 4.67117 10.2071C7.55617 8.95214 9.44367 8.14214 10.3337 7.77714C13.0812 6.63964 13.6462 6.44464 14.0162 6.43964C14.0962 6.43964 14.2787 6.45964 14.3962 6.55714C14.4937 6.63714 14.5212 6.74464 14.5337 6.81964C14.5212 6.87464 14.5387 7.04964 14.5262 7.06808H14.2487Z",
|
|
1048
|
-
fill: "currentColor"
|
|
1049
|
-
}
|
|
1050
|
-
) }),
|
|
1051
|
-
/* @__PURE__ */ (0, import_jsx_runtime32.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("clipPath", { id: "clip0_telegram", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("rect", { width: "20", height: "20", fill: "white" }) }) })
|
|
1052
|
-
]
|
|
1053
|
-
})
|
|
1054
|
-
);
|
|
1055
|
-
};
|
|
1056
|
-
TelegramIcon.displayName = "TelegramIcon";
|
|
1057
|
-
|
|
1058
|
-
// src/primitives/icon/svg/triangle-down.tsx
|
|
1059
|
-
var import_jsx_runtime33 = require("react/jsx-runtime");
|
|
1060
|
-
var TriangleDownIcon = (_a) => {
|
|
1061
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1062
|
-
return /* @__PURE__ */ (0, import_jsx_runtime33.jsxs)(
|
|
1063
|
-
"svg",
|
|
1064
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1065
|
-
viewBox: "0 0 8 8",
|
|
1066
|
-
className,
|
|
1067
|
-
fill: "none"
|
|
1068
|
-
}, getIconA11yProps(title)), props), {
|
|
1069
|
-
children: [
|
|
1070
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("title", { children: title }) : null,
|
|
1071
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsxs)("g", { transform: "scale(1,-1) translate(0,-8)", clipPath: "url(#triangle_up)", children: [
|
|
1072
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1073
|
-
"path",
|
|
1074
|
-
{
|
|
1075
|
-
d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
|
|
1076
|
-
fill: "currentColor"
|
|
1077
|
-
}
|
|
1078
|
-
),
|
|
1079
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)(
|
|
1080
|
-
"path",
|
|
1081
|
-
{
|
|
1082
|
-
d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
|
|
1083
|
-
fill: "currentColor"
|
|
1084
|
-
}
|
|
1085
|
-
)
|
|
1086
|
-
] }),
|
|
1087
|
-
/* @__PURE__ */ (0, import_jsx_runtime33.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1088
|
-
]
|
|
1089
|
-
})
|
|
1090
|
-
);
|
|
1091
|
-
};
|
|
1092
|
-
TriangleDownIcon.displayName = "TriangleDownIcon";
|
|
1093
|
-
|
|
1094
|
-
// src/primitives/icon/svg/triangle-up-filled.tsx
|
|
1095
|
-
var import_jsx_runtime34 = require("react/jsx-runtime");
|
|
1096
|
-
var TriangleUpFilledIcon = (_a) => {
|
|
1097
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1098
|
-
return /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(
|
|
1099
|
-
"svg",
|
|
1100
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1101
|
-
viewBox: "0 0 8 8",
|
|
1102
|
-
className,
|
|
1103
|
-
fill: "none"
|
|
1104
|
-
}, getIconA11yProps(title)), props), {
|
|
1105
|
-
children: [
|
|
1106
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("title", { children: title }) : null,
|
|
1107
|
-
/* @__PURE__ */ (0, import_jsx_runtime34.jsx)(
|
|
1108
|
-
"path",
|
|
1109
|
-
{
|
|
1110
|
-
d: "M6.67873 8.00001H1.3214C1.09613 8.00053 0.874481 7.94332 0.677605 7.83384C0.480728 7.72435 0.315192 7.56625 0.196788 7.3746C0.0783848 7.18296 0.0110649 6.96417 0.00125164 6.73911C-0.0085616 6.51405 0.0394592 6.29023 0.140732 6.08901L2.81973 0.729677C2.92186 0.523193 3.0766 0.347273 3.26837 0.219641C3.46014 0.0920097 3.68216 0.0171748 3.91207 0.00267686C4.17147 -0.013831 4.43 0.0462826 4.6555 0.175542C4.88101 0.3048 5.06354 0.497501 5.1804 0.729677L7.8594 6.08901C7.96008 6.2903 8.00764 6.51398 7.99756 6.73881C7.98748 6.96365 7.92009 7.18218 7.8018 7.37365C7.68351 7.56512 7.51823 7.72317 7.32167 7.83279C7.12511 7.94242 6.90379 7.99998 6.67873 8.00001Z",
|
|
1111
|
-
fill: "currentColor"
|
|
1112
|
-
}
|
|
1113
|
-
)
|
|
1114
|
-
]
|
|
1115
|
-
})
|
|
1116
|
-
);
|
|
1117
|
-
};
|
|
1118
|
-
TriangleUpFilledIcon.displayName = "TriangleUpFilledIcon";
|
|
1119
|
-
|
|
1120
|
-
// src/primitives/icon/svg/triangle-up.tsx
|
|
1121
|
-
var import_jsx_runtime35 = require("react/jsx-runtime");
|
|
1122
|
-
var TriangleUpIcon = (_a) => {
|
|
1123
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1124
|
-
return /* @__PURE__ */ (0, import_jsx_runtime35.jsxs)(
|
|
1125
|
-
"svg",
|
|
1126
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1127
|
-
viewBox: "0 0 8 8",
|
|
1128
|
-
className,
|
|
1129
|
-
fill: "none"
|
|
1130
|
-
}, getIconA11yProps(title)), props), {
|
|
1131
|
-
children: [
|
|
1132
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("title", { children: title }) : null,
|
|
1133
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsxs)("g", { clipPath: "url(#triangle_up)", children: [
|
|
1134
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1135
|
-
"path",
|
|
1136
|
-
{
|
|
1137
|
-
d: "M3.99989 1.6805L6.23917 6.72896H1.76061L3.99989 1.6805ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768C3.55361 0.53319 3.47295 0.628129 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.52825 0.62789 4.44735 0.532789 4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097Z",
|
|
1138
|
-
fill: "currentColor"
|
|
1139
|
-
}
|
|
1140
|
-
),
|
|
1141
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
|
|
1142
|
-
"path",
|
|
1143
|
-
{
|
|
1144
|
-
d: "M4.00167 0.00284122C4.19344 0.00214978 4.38147 0.0566837 4.54252 0.160923C4.70445 0.265758 4.83154 0.416026 4.90931 0.592539L7.9697 7.4913L8.19705 8.00195H-0.197266L3.09048 0.593427C3.16804 0.41669 3.29625 0.26688 3.45815 0.161811C3.61872 0.0576301 3.80589 0.00261591 3.99723 0.00284122H3.99989L4.00256 0.00195312L4.00167 0.00284122ZM3.99989 0.366097C3.87788 0.36535 3.75832 0.400347 3.65596 0.466768L3.58337 0.521491C3.51516 0.581467 3.46071 0.656022 3.42393 0.739866L0.362237 7.63838H7.63755L4.57737 0.739866C4.54053 0.655873 4.48567 0.581521 4.4173 0.521491L4.3447 0.46635C4.24205 0.39991 4.12216 0.365052 3.99989 0.366097ZM6.23917 6.72896H1.76061L3.99989 1.6805L6.23917 6.72896ZM2.31961 6.36519H5.68018L3.99989 2.57655L2.31961 6.36519Z",
|
|
1145
|
-
fill: "currentColor"
|
|
1146
|
-
}
|
|
1147
|
-
)
|
|
1148
|
-
] }),
|
|
1149
|
-
/* @__PURE__ */ (0, import_jsx_runtime35.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("clipPath", { id: "triangle_up", children: /* @__PURE__ */ (0, import_jsx_runtime35.jsx)("rect", { width: "8", height: "8", fill: "white" }) }) })
|
|
1150
|
-
]
|
|
1151
|
-
})
|
|
1152
|
-
);
|
|
1153
|
-
};
|
|
1154
|
-
TriangleUpIcon.displayName = "TriangleUpIcon";
|
|
1155
|
-
|
|
1156
|
-
// src/primitives/icon/svg/twitter.tsx
|
|
1157
|
-
var import_jsx_runtime36 = require("react/jsx-runtime");
|
|
1158
|
-
var TwitterIcon = (_a) => {
|
|
1159
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1160
|
-
return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)(
|
|
1161
|
-
"svg",
|
|
1162
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1163
|
-
viewBox: "0 0 20 20",
|
|
1164
|
-
className,
|
|
1165
|
-
fill: "none"
|
|
1166
|
-
}, getIconA11yProps(title)), props), {
|
|
1167
|
-
children: [
|
|
1168
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("title", { children: title }) : null,
|
|
1169
|
-
/* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
|
|
1170
|
-
"path",
|
|
1171
|
-
{
|
|
1172
|
-
d: "M15.2708 1.66602H18.0834L11.9402 8.68539L19.1666 18.2386H13.51L9.07638 12.446L4.00874 18.2386H1.19152L7.76096 10.7288L0.833252 1.66602H6.63346L10.637 6.96053L15.2708 1.66602ZM14.283 16.5573H15.8406L5.78478 3.25949H4.11186L14.283 16.5573Z",
|
|
1173
|
-
fill: "currentColor"
|
|
1174
|
-
}
|
|
1175
|
-
)
|
|
1176
|
-
]
|
|
1177
|
-
})
|
|
1178
|
-
);
|
|
1179
|
-
};
|
|
1180
|
-
TwitterIcon.displayName = "TwitterIcon";
|
|
1181
|
-
|
|
1182
|
-
// src/primitives/icon/svg/upload.tsx
|
|
1183
|
-
var import_jsx_runtime37 = require("react/jsx-runtime");
|
|
1184
|
-
var UploadIcon = (_a) => {
|
|
1185
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1186
|
-
return /* @__PURE__ */ (0, import_jsx_runtime37.jsxs)(
|
|
1187
|
-
"svg",
|
|
1188
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1189
|
-
viewBox: "0 0 16 16",
|
|
1190
|
-
className,
|
|
1191
|
-
fill: "none"
|
|
1192
|
-
}, getIconA11yProps(title)), props), {
|
|
1193
|
-
children: [
|
|
1194
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime37.jsx)("title", { children: title }) : null,
|
|
1195
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)(
|
|
1196
|
-
"path",
|
|
1197
|
-
{
|
|
1198
|
-
d: "M8 13.5v-7m0 0 2.5 2.5M8 6.5 5.5 9",
|
|
1199
|
-
stroke: "currentColor",
|
|
1200
|
-
strokeWidth: "1.5",
|
|
1201
|
-
strokeLinecap: "round",
|
|
1202
|
-
strokeLinejoin: "round"
|
|
1203
|
-
}
|
|
1204
|
-
),
|
|
1205
|
-
/* @__PURE__ */ (0, import_jsx_runtime37.jsx)("path", { d: "M2.5 3.5h11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
|
|
1206
|
-
]
|
|
1207
|
-
})
|
|
1208
|
-
);
|
|
1209
|
-
};
|
|
1210
|
-
UploadIcon.displayName = "UploadIcon";
|
|
1211
|
-
|
|
1212
|
-
// src/primitives/icon/svg/wallet-avatar.tsx
|
|
1213
|
-
var import_jsx_runtime38 = require("react/jsx-runtime");
|
|
1214
|
-
function WalletAvatarIcon(_a) {
|
|
1215
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1216
|
-
return /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)(
|
|
1217
|
-
"svg",
|
|
1218
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1219
|
-
fill: "none",
|
|
1220
|
-
className,
|
|
1221
|
-
viewBox: "0 0 16 16"
|
|
1222
|
-
}, getIconA11yProps(title)), props), {
|
|
1223
|
-
children: [
|
|
1224
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("title", { children: title }) : null,
|
|
1225
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("circle", { cx: "8", cy: "5.25", r: "2.25", fill: "currentColor" }),
|
|
1226
|
-
/* @__PURE__ */ (0, import_jsx_runtime38.jsx)("path", { d: "M3.75 12.75a4.25 4.25 0 0 1 8.5 0v.25h-8.5v-.25Z", fill: "currentColor" })
|
|
1227
|
-
]
|
|
1228
|
-
})
|
|
1229
|
-
);
|
|
1230
|
-
}
|
|
1231
|
-
WalletAvatarIcon.displayName = "WalletAvatarIcon";
|
|
1232
|
-
|
|
1233
|
-
// src/primitives/icon/svg/wallet.tsx
|
|
1234
|
-
var import_jsx_runtime39 = require("react/jsx-runtime");
|
|
1235
|
-
var WalletIcon = (_a) => {
|
|
1236
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1237
|
-
return /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(
|
|
1238
|
-
"svg",
|
|
1239
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1240
|
-
viewBox: "0 0 24 24",
|
|
1241
|
-
className,
|
|
1242
|
-
fill: "none"
|
|
1243
|
-
}, getIconA11yProps(title)), props), {
|
|
1244
|
-
children: [
|
|
1245
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime39.jsx)("title", { children: title }) : null,
|
|
1246
|
-
/* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
|
|
1247
|
-
"path",
|
|
1248
|
-
{
|
|
1249
|
-
d: "M19.5 6H5.25C4.836 6 4.5 5.664 4.5 5.25C4.5 4.836 4.836 4.5 5.25 4.5H19.5C19.914 4.5 20.25 4.164 20.25 3.75C20.25 2.508 19.242 1.5 18 1.5H4.5C2.843 1.5 1.5 2.843 1.5 4.5V19.5C1.5 21.157 2.843 22.5 4.5 22.5H19.5C21.157 22.5 22.5 21.157 22.5 19.5V9C22.5 7.343 21.157 6 19.5 6ZM2.5 4.5C2.5 3.395 3.395 2.5 4.5 2.5H18C18.552 2.5 19.026 2.834 19.199 3.318C19.176 3.312 19.153 3.5 18 3.5H5.25C4.284 3.5 3.5 4.284 3.5 5.25C3.5 5.388 3.519 5.522 3.555 5.649C2.936 5.369 2.5 4.972 2.5 4.5ZM21.5 19.5C21.5 20.605 20.605 21.5 19.5 21.5H4.5C3.395 21.5 2.5 20.605 2.5 19.5V7.04C3.09 7.336 3.771 7 5.25 7H19.5C20.605 7 21.5 7.895 21.5 9V12H18C16.343 12 15 13.343 15 15C15 16.657 16.343 18 18 18H21.5V19.5ZM21.5 17H18C16.895 17 16 16.105 16 15C16 13.895 16.895 13 18 13H21.5V17ZM18 15.75C18.414 15.75 18.75 15.414 18.75 15C18.75 14.586 18.414 14.25 18 14.25C17.586 14.25 17.25 14.586 17.25 15C17.25 15.414 17.586 15.75 18 15.75Z",
|
|
1250
|
-
fill: "currentColor"
|
|
1251
|
-
}
|
|
1252
|
-
)
|
|
1253
|
-
]
|
|
1254
|
-
})
|
|
1255
|
-
);
|
|
1256
|
-
};
|
|
1257
|
-
WalletIcon.displayName = "WalletIcon";
|
|
1258
|
-
|
|
1259
|
-
// src/primitives/icon/svg/warning-filled.tsx
|
|
1260
|
-
var import_jsx_runtime40 = require("react/jsx-runtime");
|
|
1261
|
-
var WarningFilledIcon = (_a) => {
|
|
1262
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1263
|
-
return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
|
|
1264
|
-
"svg",
|
|
1265
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1266
|
-
viewBox: "0 0 16 16",
|
|
1267
|
-
className,
|
|
1268
|
-
fill: "none"
|
|
1269
|
-
}, getIconA11yProps(title)), props), {
|
|
1270
|
-
children: [
|
|
1271
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime40.jsx)("title", { children: title }) : null,
|
|
1272
|
-
/* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
|
|
1273
|
-
"path",
|
|
1274
|
-
{
|
|
1275
|
-
d: "M15.3869 10.22L10.0002 1.71332C9.5469 1.05999 8.79356 0.666656 8.00023 0.666656C7.20689 0.666656 6.45356 1.05332 5.98023 1.73332L0.620227 10.2067C-0.0597729 11.18 -0.18644 12.3467 0.286894 13.2467C0.75356 14.1467 1.73356 14.66 2.96023 14.66H13.0402C14.2736 14.66 15.2469 14.1467 15.7136 13.2467C16.1802 12.3467 16.0536 11.1867 15.3869 10.22ZM7.33356 4.66666C7.33356 4.29999 7.63356 3.99999 8.00023 3.99999C8.36689 3.99999 8.66689 4.29999 8.66689 4.66666V8.66666C8.66689 9.03332 8.36689 9.33332 8.00023 9.33332C7.63356 9.33332 7.33356 9.03332 7.33356 8.66666V4.66666ZM8.00023 12.6667C7.44689 12.6667 7.00023 12.22 7.00023 11.6667C7.00023 11.1133 7.44689 10.6667 8.00023 10.6667C8.55356 10.6667 9.00023 11.1133 9.00023 11.6667C9.00023 12.22 8.55356 12.6667 8.00023 12.6667Z",
|
|
1276
|
-
fill: "currentColor"
|
|
1277
|
-
}
|
|
1278
|
-
)
|
|
1279
|
-
]
|
|
1280
|
-
})
|
|
1281
|
-
);
|
|
1282
|
-
};
|
|
1283
|
-
WarningFilledIcon.displayName = "WarningFilledIcon";
|
|
1284
|
-
|
|
1285
|
-
// src/primitives/icon/svg/warning.tsx
|
|
1286
|
-
var import_jsx_runtime41 = require("react/jsx-runtime");
|
|
1287
|
-
var WarningIcon = (_a) => {
|
|
1288
|
-
var _b = _a, { title, className } = _b, props = __objRest(_b, ["title", "className"]);
|
|
1289
|
-
return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
|
|
1290
|
-
"svg",
|
|
1291
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1292
|
-
width: "14",
|
|
1293
|
-
height: "14",
|
|
1294
|
-
viewBox: "0 0 14 14",
|
|
1295
|
-
fill: "none",
|
|
1296
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
1297
|
-
className
|
|
1298
|
-
}, getIconA11yProps(title)), props), {
|
|
1299
|
-
children: [
|
|
1300
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("title", { children: title }) : null,
|
|
1301
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("g", { clipPath: "url(#clip0_warning)", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
|
|
1302
|
-
"path",
|
|
1303
|
-
{
|
|
1304
|
-
d: "M6.41665 8.16675V4.66675C6.41665 4.34591 6.67915 4.08341 6.99998 4.08341C7.32082 4.08341 7.58332 4.34591 7.58332 4.66675V8.16675C7.58332 8.48758 7.32082 8.75008 6.99998 8.75008C6.67915 8.75008 6.41665 8.48758 6.41665 8.16675ZM6.99998 9.33341C6.51582 9.33341 6.12498 9.72425 6.12498 10.2084C6.12498 10.6926 6.51582 11.0834 6.99998 11.0834C7.48415 11.0834 7.87498 10.6926 7.87498 10.2084C7.87498 9.72425 7.48415 9.33341 6.99998 9.33341ZM13.755 12.1801C13.3467 12.9676 12.4892 13.4167 11.4158 13.4167H2.58998C1.51082 13.4167 0.659151 12.9676 0.250818 12.1801C-0.163348 11.3867 -0.0466818 10.3717 0.542485 9.52008L5.23248 2.10008C5.64665 1.50508 6.29998 1.16675 6.99998 1.16675C7.69999 1.16675 8.35332 1.50508 8.74998 2.08258L13.4633 9.53175C14.0525 10.3834 14.1633 11.3926 13.7492 12.1801H13.755ZM12.5008 10.1851C12.5008 10.1851 12.4892 10.1734 12.4892 10.1617L7.78165 2.72425C7.61248 2.48508 7.32082 2.33341 6.99998 2.33341C6.67915 2.33341 6.38749 2.48508 6.20665 2.74758L1.51082 10.1617C1.14915 10.6751 1.06748 11.2351 1.27748 11.6376C1.48165 12.0342 1.94832 12.2501 2.58415 12.2501H11.4042C12.04 12.2501 12.5067 12.0342 12.7108 11.6376C12.9208 11.2351 12.8392 10.6751 12.495 10.1851H12.5008Z",
|
|
1305
|
-
fill: "currentColor"
|
|
1306
|
-
}
|
|
1307
|
-
) }),
|
|
1308
|
-
/* @__PURE__ */ (0, import_jsx_runtime41.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("clipPath", { id: "clip0_warning", children: /* @__PURE__ */ (0, import_jsx_runtime41.jsx)("rect", { width: "14", height: "14", fill: "white" }) }) })
|
|
1309
|
-
]
|
|
1310
|
-
})
|
|
1311
|
-
);
|
|
1312
|
-
};
|
|
1313
|
-
WarningIcon.displayName = "WarningIcon";
|
|
1314
|
-
|
|
1315
|
-
// src/primitives/icon/registry.ts
|
|
1316
|
-
var iconRegistry = {
|
|
1317
|
-
"arrow-trend-up": ArrowTrendUpIcon,
|
|
1318
|
-
"arrows-to-dot": ArrowsToDotIcon,
|
|
1319
|
-
bank: BankIcon,
|
|
1320
|
-
"best-prices": BestPricesIcon,
|
|
1321
|
-
bolt: BoltIcon,
|
|
1322
|
-
"check-badge": CheckBadgeIcon,
|
|
1323
|
-
"check-circle": CheckCircleIcon,
|
|
1324
|
-
"chevron-down": ChevronDownIcon,
|
|
1325
|
-
"chevron-left": ChevronLeftIcon,
|
|
1326
|
-
"chevron-right": ChevronRightIcon,
|
|
1327
|
-
"chevron-up": ChevronUpIcon,
|
|
1328
|
-
close: CloseIcon,
|
|
1329
|
-
copy: CopyIcon,
|
|
1330
|
-
"create-account": CreateAccountIcon,
|
|
1331
|
-
"credit-card": CreditCardIcon,
|
|
1332
|
-
discord: DiscordIcon,
|
|
1333
|
-
disconnect: DisconnectIcon,
|
|
1334
|
-
document: DocumentIcon,
|
|
1335
|
-
download: DownloadIcon,
|
|
1336
|
-
"dots-horizontal": DotsHorizontalIcon,
|
|
1337
|
-
email: EmailIcon,
|
|
1338
|
-
"external-link": ExternalLinkIcon,
|
|
1339
|
-
info: InfoIcon,
|
|
1340
|
-
"link-accounts": LinkAccountsIcon,
|
|
1341
|
-
pencil: PencilIcon,
|
|
1342
|
-
"play-square": PlaySquareIcon,
|
|
1343
|
-
profile: ProfileIcon,
|
|
1344
|
-
"revenue-alt": RevenueAltIcon,
|
|
1345
|
-
search: SearchIcon,
|
|
1346
|
-
"shield-trust": ShieldTrustIcon,
|
|
1347
|
-
"stay-in-control": StayInControlIcon,
|
|
1348
|
-
telegram: TelegramIcon,
|
|
1349
|
-
"triangle-down": TriangleDownIcon,
|
|
1350
|
-
"triangle-up": TriangleUpIcon,
|
|
1351
|
-
"triangle-up-filled": TriangleUpFilledIcon,
|
|
1352
|
-
twitter: TwitterIcon,
|
|
1353
|
-
upload: UploadIcon,
|
|
1354
|
-
wallet: WalletIcon,
|
|
1355
|
-
"wallet-avatar": WalletAvatarIcon,
|
|
1356
|
-
"warning-filled": WarningFilledIcon,
|
|
1357
|
-
warning: WarningIcon
|
|
1358
|
-
};
|
|
1359
|
-
var iconNames = Object.keys(iconRegistry);
|
|
1360
|
-
|
|
1361
|
-
// src/primitives/icon/icon.utils.ts
|
|
1362
|
-
var resolveIconStyle = (color, style) => {
|
|
1363
|
-
if (!color)
|
|
1364
|
-
return style;
|
|
1365
|
-
return __spreadProps(__spreadValues({}, style), {
|
|
1366
|
-
color
|
|
1367
|
-
});
|
|
1368
|
-
};
|
|
1369
|
-
|
|
1370
|
-
// src/primitives/icon/index.tsx
|
|
1371
|
-
var import_jsx_runtime42 = require("react/jsx-runtime");
|
|
1372
|
-
var Icon = (_a) => {
|
|
1373
|
-
var _b = _a, {
|
|
1374
|
-
name,
|
|
1375
|
-
color,
|
|
1376
|
-
size = "medium",
|
|
1377
|
-
className = "text-agg-primary",
|
|
1378
|
-
style
|
|
1379
|
-
} = _b, props = __objRest(_b, [
|
|
1380
|
-
"name",
|
|
1381
|
-
"color",
|
|
1382
|
-
"size",
|
|
1383
|
-
"className",
|
|
1384
|
-
"style"
|
|
1385
|
-
]);
|
|
1386
|
-
const Component = iconRegistry[name];
|
|
1387
|
-
const resolvedStyle = resolveIconStyle(color, style);
|
|
1388
|
-
const resolvedClassName = cn(iconSizeClasses[size], className);
|
|
1389
|
-
return /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
|
|
1390
|
-
Component,
|
|
1391
|
-
__spreadValues({
|
|
1392
|
-
color,
|
|
1393
|
-
className: cn("group/agg-icon", resolvedClassName),
|
|
1394
|
-
style: resolvedStyle
|
|
1395
|
-
}, props)
|
|
1396
|
-
);
|
|
1397
|
-
};
|
|
1398
|
-
Icon.displayName = "Icon";
|
|
1399
|
-
|
|
1400
|
-
// src/pages/user-profile/user-profile.constants.ts
|
|
1401
|
-
var USER_PROFILE_TAB_POSITIONS = "positions";
|
|
1402
|
-
var USER_PROFILE_TAB_ACTIVITY = "activity";
|
|
1403
|
-
var USER_PROFILE_TIME_RANGES = ["1D", "1W", "1M", "All"];
|
|
1404
|
-
var USER_PROFILE_POSITION_FILTERS = [
|
|
1405
|
-
{ value: "active", label: "Active" },
|
|
1406
|
-
{ value: "closed", label: "Closed" }
|
|
1407
|
-
];
|
|
1408
|
-
|
|
1409
|
-
// src/pages/user-profile/components/balance-display.tsx
|
|
1410
|
-
var import_jsx_runtime43 = require("react/jsx-runtime");
|
|
1411
|
-
var BalanceDisplay = ({
|
|
1412
|
-
balance,
|
|
1413
|
-
defaultTimeRange = "All",
|
|
1414
|
-
onTimeRangeChange,
|
|
1415
|
-
className
|
|
1416
|
-
}) => {
|
|
1417
|
-
var _a, _b;
|
|
1418
|
-
const [activeRange, setActiveRange] = (0, import_react.useState)(defaultTimeRange);
|
|
1419
|
-
const currentBalance = balance == null ? void 0 : balance[activeRange];
|
|
1420
|
-
const handleRangeChange = (range) => {
|
|
1421
|
-
setActiveRange(range);
|
|
1422
|
-
onTimeRangeChange == null ? void 0 : onTimeRangeChange(range);
|
|
1423
|
-
};
|
|
1424
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
|
|
1425
|
-
"div",
|
|
1426
|
-
{
|
|
1427
|
-
className: cn(
|
|
1428
|
-
"flex items-end justify-between overflow-clip rounded-agg-md border border-agg-separator bg-agg-secondary p-5",
|
|
1429
|
-
className
|
|
1430
|
-
),
|
|
1431
|
-
children: [
|
|
1432
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex items-end gap-3", children: [
|
|
1433
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "agg-type-display text-agg-foreground", children: (_a = currentBalance == null ? void 0 : currentBalance.totalLabel) != null ? _a : "$0.00" }),
|
|
1434
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("span", { className: "font-agg-sans text-agg-base leading-6 font-agg-normal text-agg-muted-foreground", children: "Profit/Loss" }),
|
|
1435
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
1436
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1437
|
-
"span",
|
|
1438
|
-
{
|
|
1439
|
-
className: cn(
|
|
1440
|
-
"font-agg-sans text-agg-base leading-6 font-agg-bold",
|
|
1441
|
-
(currentBalance == null ? void 0 : currentBalance.isPositive) ? "text-agg-success" : "text-agg-error"
|
|
1442
|
-
),
|
|
1443
|
-
children: (_b = currentBalance == null ? void 0 : currentBalance.changePercentLabel) != null ? _b : "0%"
|
|
1444
|
-
}
|
|
1445
|
-
),
|
|
1446
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1447
|
-
Icon,
|
|
1448
|
-
{
|
|
1449
|
-
name: "triangle-up-filled",
|
|
1450
|
-
size: "small",
|
|
1451
|
-
className: cn(
|
|
1452
|
-
(currentBalance == null ? void 0 : currentBalance.isPositive) ? "text-agg-success" : "rotate-180 text-agg-error"
|
|
1453
|
-
)
|
|
1454
|
-
}
|
|
1455
|
-
)
|
|
1456
|
-
] })
|
|
1457
|
-
] }),
|
|
1458
|
-
/* @__PURE__ */ (0, import_jsx_runtime43.jsx)("div", { className: "flex w-[100px] items-center justify-between", children: USER_PROFILE_TIME_RANGES.map((range) => {
|
|
1459
|
-
const isActive = range === activeRange;
|
|
1460
|
-
return /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
|
|
1461
|
-
"button",
|
|
1462
|
-
{
|
|
1463
|
-
type: "button",
|
|
1464
|
-
onClick: () => handleRangeChange(range),
|
|
1465
|
-
className: cn(
|
|
1466
|
-
"cursor-pointer bg-transparent font-agg-sans text-agg-sm leading-agg-5",
|
|
1467
|
-
isActive ? "font-agg-bold text-agg-foreground" : "font-agg-normal text-agg-muted-foreground hover:text-agg-foreground"
|
|
1468
|
-
),
|
|
1469
|
-
children: range
|
|
1470
|
-
},
|
|
1471
|
-
range
|
|
1472
|
-
);
|
|
1473
|
-
}) })
|
|
1474
|
-
]
|
|
1475
|
-
}
|
|
1476
|
-
);
|
|
1477
|
-
};
|
|
1478
|
-
BalanceDisplay.displayName = "BalanceDisplay";
|
|
1479
|
-
|
|
1480
|
-
// src/primitives/button/index.tsx
|
|
1481
|
-
var import_hooks = require("@agg-market/hooks");
|
|
1482
|
-
|
|
1483
|
-
// src/primitives/button/button.constants.ts
|
|
1484
|
-
var sizeClasses = {
|
|
1485
|
-
small: cn("h-8 px-4 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
1486
|
-
medium: cn("h-9 px-5 gap-1.5", "text-agg-sm leading-agg-5"),
|
|
1487
|
-
large: cn("h-10 px-6 gap-2", "text-agg-base leading-agg-6")
|
|
1488
|
-
};
|
|
1489
|
-
var iconSizeClasses2 = {
|
|
1490
|
-
small: iconSizeClasses.small,
|
|
1491
|
-
medium: iconSizeClasses.small,
|
|
1492
|
-
large: iconSizeClasses.small
|
|
1493
|
-
};
|
|
1494
|
-
var iconSlotClasses = {
|
|
1495
|
-
small: "[&_svg]:h-4 [&_svg]:w-4",
|
|
1496
|
-
medium: "[&_svg]:h-4 [&_svg]:w-4",
|
|
1497
|
-
large: "[&_svg]:h-4 [&_svg]:w-4"
|
|
1498
|
-
};
|
|
1499
|
-
var variantClasses = {
|
|
1500
|
-
primary: cn(
|
|
1501
|
-
"bg-agg-primary text-agg-on-primary",
|
|
1502
|
-
"hover:bg-agg-primary-hover",
|
|
1503
|
-
"disabled:bg-agg-separator disabled:text-agg-on-primary",
|
|
1504
|
-
"focus-visible:ring-agg-primary-hover"
|
|
1505
|
-
),
|
|
1506
|
-
secondary: cn(
|
|
1507
|
-
"border border-agg-separator bg-agg-secondary text-agg-foreground",
|
|
1508
|
-
"hover:bg-agg-secondary-hover",
|
|
1509
|
-
"disabled:bg-agg-secondary disabled:text-agg-muted-foreground disabled:border-agg-separator",
|
|
1510
|
-
"focus-visible:ring-agg-separator"
|
|
1511
|
-
),
|
|
1512
|
-
tertiary: cn(
|
|
1513
|
-
"bg-transparent text-agg-primary",
|
|
1514
|
-
"hover:text-agg-primary-hover",
|
|
1515
|
-
"disabled:bg-transparent disabled:text-agg-muted-foreground",
|
|
1516
|
-
"focus-visible:ring-agg-separator",
|
|
1517
|
-
"px-0! py-0! h-fit!"
|
|
1518
|
-
)
|
|
1519
|
-
};
|
|
1520
|
-
var baseButtonClasses = cn(
|
|
1521
|
-
"cursor-pointer disabled:cursor-not-allowed",
|
|
1522
|
-
"inline-flex items-center justify-center rounded-agg-full font-agg-sans font-agg-bold text-center",
|
|
1523
|
-
"whitespace-nowrap",
|
|
1524
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-agg-secondary"
|
|
1525
|
-
);
|
|
1526
|
-
|
|
1527
|
-
// src/primitives/button/index.tsx
|
|
1528
|
-
var import_jsx_runtime44 = require("react/jsx-runtime");
|
|
1529
|
-
var Button = (_a) => {
|
|
1530
|
-
var _b = _a, {
|
|
1531
|
-
children,
|
|
1532
|
-
variant = "primary",
|
|
1533
|
-
size = "medium",
|
|
1534
|
-
isLoading = false,
|
|
1535
|
-
disabled,
|
|
1536
|
-
prefix,
|
|
1537
|
-
suffix,
|
|
1538
|
-
type = "button",
|
|
1539
|
-
className,
|
|
1540
|
-
"aria-label": ariaLabel
|
|
1541
|
-
} = _b, other = __objRest(_b, [
|
|
1542
|
-
"children",
|
|
1543
|
-
"variant",
|
|
1544
|
-
"size",
|
|
1545
|
-
"isLoading",
|
|
1546
|
-
"disabled",
|
|
1547
|
-
"prefix",
|
|
1548
|
-
"suffix",
|
|
1549
|
-
"type",
|
|
1550
|
-
"className",
|
|
1551
|
-
"aria-label"
|
|
1552
|
-
]);
|
|
1553
|
-
const { enableAnimations } = (0, import_hooks.useSdkUiConfig)();
|
|
1554
|
-
const isDisabled = disabled || isLoading;
|
|
1555
|
-
return /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1556
|
-
"button",
|
|
1557
|
-
__spreadProps(__spreadValues({
|
|
1558
|
-
type,
|
|
1559
|
-
className: cn(
|
|
1560
|
-
"group/agg-button",
|
|
1561
|
-
baseButtonClasses,
|
|
1562
|
-
getMotionClassName(enableAnimations, "transition-colors duration-200 ease-in-out"),
|
|
1563
|
-
sizeClasses[size],
|
|
1564
|
-
iconSlotClasses[size],
|
|
1565
|
-
variantClasses[variant],
|
|
1566
|
-
className
|
|
1567
|
-
),
|
|
1568
|
-
disabled: isDisabled,
|
|
1569
|
-
"aria-busy": isLoading,
|
|
1570
|
-
"aria-label": ariaLabel
|
|
1571
|
-
}, other), {
|
|
1572
|
-
children: isLoading ? /* @__PURE__ */ (0, import_jsx_runtime44.jsx)(
|
|
1573
|
-
"span",
|
|
1574
|
-
{
|
|
1575
|
-
className: cn(
|
|
1576
|
-
"inline-block rounded-agg-full border-2 border-current border-r-transparent",
|
|
1577
|
-
getMotionClassName(enableAnimations, "animate-spin"),
|
|
1578
|
-
iconSizeClasses2[size]
|
|
1579
|
-
),
|
|
1580
|
-
"aria-hidden": "true"
|
|
1581
|
-
}
|
|
1582
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime44.jsxs)(import_jsx_runtime44.Fragment, { children: [
|
|
1583
|
-
prefix != null ? prefix : null,
|
|
1584
|
-
/* @__PURE__ */ (0, import_jsx_runtime44.jsx)("span", { children }),
|
|
1585
|
-
suffix != null ? suffix : null
|
|
1586
|
-
] })
|
|
1587
|
-
})
|
|
1588
|
-
);
|
|
1589
|
-
};
|
|
1590
|
-
Button.displayName = "Button";
|
|
1591
|
-
|
|
1592
|
-
// src/primitives/venue-logo/index.tsx
|
|
1593
|
-
var import_hooks2 = require("@agg-market/hooks");
|
|
1594
|
-
|
|
1595
|
-
// src/primitives/venue-logo/logo-props.ts
|
|
1596
|
-
var DEFAULT_MONOCHROME_COLOR = "currentColor";
|
|
1597
|
-
var resolveLogoPrimaryColor = ({
|
|
1598
|
-
brandColor,
|
|
1599
|
-
isColor = true,
|
|
1600
|
-
color
|
|
1601
|
-
}) => {
|
|
1602
|
-
if (typeof color === "string" && color.trim())
|
|
1603
|
-
return color;
|
|
1604
|
-
if (!isColor)
|
|
1605
|
-
return DEFAULT_MONOCHROME_COLOR;
|
|
1606
|
-
return brandColor;
|
|
1607
|
-
};
|
|
1608
|
-
|
|
1609
|
-
// src/primitives/venue-logo/svg/logo-kalshi.tsx
|
|
1610
|
-
var import_jsx_runtime45 = require("react/jsx-runtime");
|
|
1611
|
-
var KALSHI_GREEN = "#18C590";
|
|
1612
|
-
var LogoKalshiIcon = (_a) => {
|
|
1613
|
-
var _b = _a, {
|
|
1614
|
-
title,
|
|
1615
|
-
className,
|
|
1616
|
-
isColor = true,
|
|
1617
|
-
color
|
|
1618
|
-
} = _b, props = __objRest(_b, [
|
|
1619
|
-
"title",
|
|
1620
|
-
"className",
|
|
1621
|
-
"isColor",
|
|
1622
|
-
"color"
|
|
1623
|
-
]);
|
|
1624
|
-
const primaryColor = resolveLogoPrimaryColor({
|
|
1625
|
-
brandColor: KALSHI_GREEN,
|
|
1626
|
-
isColor,
|
|
1627
|
-
color
|
|
1628
|
-
});
|
|
1629
|
-
return /* @__PURE__ */ (0, import_jsx_runtime45.jsxs)(
|
|
1630
|
-
"svg",
|
|
1631
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1632
|
-
viewBox: "0 0 100 100",
|
|
1633
|
-
className,
|
|
1634
|
-
fill: "none"
|
|
1635
|
-
}, getIconA11yProps(title)), props), {
|
|
1636
|
-
children: [
|
|
1637
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("title", { children: title }) : null,
|
|
1638
|
-
/* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
|
|
1639
|
-
"path",
|
|
1640
|
-
{
|
|
1641
|
-
d: "M54.9798 47.579L79.4249 85.9995H58.2273L38.2531 52.9344V85.9995H20.4189V13.9995H38.2531V45.4356L59.6547 13.9995H78.7119L54.9798 47.579Z",
|
|
1642
|
-
fill: primaryColor
|
|
1643
|
-
}
|
|
1644
|
-
)
|
|
1645
|
-
]
|
|
1646
|
-
})
|
|
1647
|
-
);
|
|
1648
|
-
};
|
|
1649
|
-
LogoKalshiIcon.displayName = "LogoKalshiIcon";
|
|
1650
|
-
|
|
1651
|
-
// src/primitives/venue-logo/svg/logo-opinion.tsx
|
|
1652
|
-
var import_jsx_runtime46 = require("react/jsx-runtime");
|
|
1653
|
-
var OPINION_BLACK = "#000000";
|
|
1654
|
-
var LogoOpinionIcon = (_a) => {
|
|
1655
|
-
var _b = _a, {
|
|
1656
|
-
title,
|
|
1657
|
-
className,
|
|
1658
|
-
isColor = true,
|
|
1659
|
-
color
|
|
1660
|
-
} = _b, props = __objRest(_b, [
|
|
1661
|
-
"title",
|
|
1662
|
-
"className",
|
|
1663
|
-
"isColor",
|
|
1664
|
-
"color"
|
|
1665
|
-
]);
|
|
1666
|
-
const primaryColor = resolveLogoPrimaryColor({
|
|
1667
|
-
brandColor: OPINION_BLACK,
|
|
1668
|
-
isColor,
|
|
1669
|
-
color
|
|
1670
|
-
});
|
|
1671
|
-
return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
|
|
1672
|
-
"svg",
|
|
1673
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1674
|
-
viewBox: "0 0 100 100",
|
|
1675
|
-
className,
|
|
1676
|
-
fill: "none"
|
|
1677
|
-
}, getIconA11yProps(title)), props), {
|
|
1678
|
-
children: [
|
|
1679
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("title", { children: title }) : null,
|
|
1680
|
-
/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
|
|
1681
|
-
"path",
|
|
1682
|
-
{
|
|
1683
|
-
d: "M51.8239 68.4603L56.9659 68.0094L58.8049 89.0576C61.1459 88.5314 63.4349 87.7952 65.6437 86.8578V68.1879H71.9955V83.4385C74.6496 81.6828 77.0863 79.619 79.2548 77.2898L80.0716 67.958L85.516 68.433C88.6185 62.4381 90.156 55.7558 89.9858 49.0072C89.8154 42.2584 87.9429 35.6623 84.542 29.8316L84.3394 32.1494L77.9876 31.5927L78.8042 22.2668C76.7468 20.1288 74.4594 18.225 71.9835 16.5902V31.9164H65.6317V13.1739C62.9224 12.0205 60.0929 11.173 57.1957 10.6473L59.0317 31.6441L53.8897 32.0949L51.9599 10.0482C51.3128 10.0179 50.6593 9.99976 50.006 9.99976C47.4581 9.99976 44.9161 10.2419 42.414 10.723L46.0438 31.3899L42.1297 32.0798L38.5304 11.6701C35.1755 12.6725 31.9677 14.1143 28.9905 15.9578L33.0435 31.0873L29.9705 31.9134L26.2018 17.8369C23.2938 19.9923 20.6902 22.5308 18.4615 25.3835L20.4246 30.7787L18.1833 31.5956L16.7707 27.7134C14.5111 31.0771 12.7772 34.7657 11.6287 38.652L12.2639 38.4221L20.4306 60.8471L18.1893 61.6641L10.8877 41.5963C9.21542 49.4012 9.91256 57.528 12.8896 64.9338C15.8667 72.3395 20.9879 78.6865 27.5961 83.1601L23.8031 68.9989L26.8762 68.1728L31.5162 85.4991C34.6952 87.1593 38.0844 88.3808 41.5914 89.1303L38.0132 68.7296L41.9301 68.0397L45.7684 89.8262C47.1811 89.9757 48.6007 90.0505 50.0212 90.0502C51.2583 90.0502 52.4863 89.9926 53.6963 89.8807L51.8239 68.4603ZM80.1017 37.8985L86.4385 38.4524L84.3605 62.2299L78.0087 61.6761L80.1017 37.8985ZM65.6528 38.1315H72.0046V61.9969H65.6528V38.1315ZM56.975 37.9501L59.053 61.7277L53.911 62.1785L51.8299 38.4009L56.975 37.9501ZM29.9976 62.003L23.8243 38.9486L26.8974 38.1255L33.0707 61.1649L29.9976 62.003ZM42.157 62.1603L38.0132 38.658L41.9301 37.9683L46.0709 61.4674L42.157 62.1603Z",
|
|
1684
|
-
fill: primaryColor
|
|
1685
|
-
}
|
|
1686
|
-
)
|
|
1687
|
-
]
|
|
1688
|
-
})
|
|
1689
|
-
);
|
|
1690
|
-
};
|
|
1691
|
-
LogoOpinionIcon.displayName = "LogoOpinionIcon";
|
|
1692
|
-
|
|
1693
|
-
// src/primitives/venue-logo/svg/logo-polymarket.tsx
|
|
1694
|
-
var import_jsx_runtime47 = require("react/jsx-runtime");
|
|
1695
|
-
var POLYMARKET_BLUE = "#2E5CFF";
|
|
1696
|
-
var LogoPolymarketIcon = (_a) => {
|
|
1697
|
-
var _b = _a, {
|
|
1698
|
-
title,
|
|
1699
|
-
className,
|
|
1700
|
-
isColor = true,
|
|
1701
|
-
color
|
|
1702
|
-
} = _b, props = __objRest(_b, [
|
|
1703
|
-
"title",
|
|
1704
|
-
"className",
|
|
1705
|
-
"isColor",
|
|
1706
|
-
"color"
|
|
1707
|
-
]);
|
|
1708
|
-
const primaryColor = resolveLogoPrimaryColor({
|
|
1709
|
-
brandColor: POLYMARKET_BLUE,
|
|
1710
|
-
isColor,
|
|
1711
|
-
color
|
|
1712
|
-
});
|
|
1713
|
-
return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
|
|
1714
|
-
"svg",
|
|
1715
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1716
|
-
viewBox: "0 0 100 100",
|
|
1717
|
-
className,
|
|
1718
|
-
fill: "none"
|
|
1719
|
-
}, getIconA11yProps(title)), props), {
|
|
1720
|
-
children: [
|
|
1721
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("title", { children: title }) : null,
|
|
1722
|
-
/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
|
|
1723
|
-
"path",
|
|
1724
|
-
{
|
|
1725
|
-
d: "M81.0904 84.2882C81.0904 87.9246 81.0904 89.7428 79.901 90.644C78.7119 91.5456 76.9613 91.0542 73.4603 90.0717L17.1975 74.2838C15.0881 73.6919 14.0332 73.3959 13.4233 72.5913C12.8135 71.7866 12.8135 70.6911 12.8135 68.5002V31.4998C12.8135 29.309 12.8135 28.2134 13.4233 27.4088C14.0332 26.6042 15.0881 26.3081 17.1975 25.7163L73.4603 9.92806C76.9613 8.94572 78.7119 8.45448 79.901 9.35587C81.0904 10.2573 81.0904 12.0755 81.0904 15.7119V84.2882ZM26.8451 69.1363L73.4308 82.2104V56.0637L26.8451 69.1363ZM20.4723 63.0711L67.0487 50L20.4723 36.929V63.0711ZM26.8446 30.8638L73.4308 43.9366V17.7896L26.8446 30.8638Z",
|
|
1726
|
-
fill: primaryColor
|
|
1727
|
-
}
|
|
1728
|
-
)
|
|
1729
|
-
]
|
|
1730
|
-
})
|
|
1731
|
-
);
|
|
1732
|
-
};
|
|
1733
|
-
LogoPolymarketIcon.displayName = "LogoPolymarketIcon";
|
|
1734
|
-
|
|
1735
|
-
// src/primitives/venue-logo/svg/logo-probable.tsx
|
|
1736
|
-
var import_jsx_runtime48 = require("react/jsx-runtime");
|
|
1737
|
-
var PROBABLE_ORANGE = "#F05923";
|
|
1738
|
-
var LogoProbableIcon = (_a) => {
|
|
1739
|
-
var _b = _a, {
|
|
1740
|
-
title,
|
|
1741
|
-
className,
|
|
1742
|
-
isColor = true,
|
|
1743
|
-
color
|
|
1744
|
-
} = _b, props = __objRest(_b, [
|
|
1745
|
-
"title",
|
|
1746
|
-
"className",
|
|
1747
|
-
"isColor",
|
|
1748
|
-
"color"
|
|
1749
|
-
]);
|
|
1750
|
-
const primaryColor = resolveLogoPrimaryColor({
|
|
1751
|
-
brandColor: PROBABLE_ORANGE,
|
|
1752
|
-
isColor,
|
|
1753
|
-
color
|
|
1754
|
-
});
|
|
1755
|
-
return /* @__PURE__ */ (0, import_jsx_runtime48.jsxs)(
|
|
1756
|
-
"svg",
|
|
1757
|
-
__spreadProps(__spreadValues(__spreadValues({
|
|
1758
|
-
viewBox: "0 0 100 100",
|
|
1759
|
-
className,
|
|
1760
|
-
fill: "none"
|
|
1761
|
-
}, getIconA11yProps(title)), props), {
|
|
1762
|
-
children: [
|
|
1763
|
-
title ? /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("title", { children: title }) : null,
|
|
1764
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1765
|
-
"path",
|
|
1766
|
-
{
|
|
1767
|
-
d: "M75.625 59.3489C75.6247 53.7323 71.0719 49.1792 65.4551 49.179H33.9209C28.3039 49.179 23.7503 53.7321 23.75 59.3489C23.75 64.9659 28.3038 69.5198 33.9209 69.5198H65.4551C71.0719 69.5195 75.625 64.9658 75.625 59.3489ZM90.625 59.3489C90.625 73.2501 79.3562 84.5195 65.4551 84.5198H33.9209C20.0196 84.5198 8.75 73.2502 8.75 59.3489C8.75026 45.4477 20.0198 34.179 33.9209 34.179H65.4551C79.3559 34.1792 90.6247 45.4478 90.625 59.3489Z",
|
|
1768
|
-
fill: primaryColor
|
|
1769
|
-
}
|
|
1770
|
-
),
|
|
1771
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)("path", { d: "M90.9329 15.4546V30.4546H8.90234V15.4546H90.9329Z", fill: primaryColor }),
|
|
1772
|
-
/* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
|
|
1773
|
-
"path",
|
|
1774
|
-
{
|
|
1775
|
-
d: "M64.5742 51.3496C68.9894 51.3496 72.5742 54.9344 72.5742 59.3496C72.5742 63.7648 68.9894 67.3496 64.5742 67.3496C60.159 67.3496 56.5742 63.7648 56.5742 59.3496C56.5742 54.9344 60.159 51.3496 64.5742 51.3496Z",
|
|
1776
|
-
fill: primaryColor
|
|
1777
|
-
}
|
|
1778
|
-
)
|
|
1779
|
-
]
|
|
1780
|
-
})
|
|
1781
|
-
);
|
|
1782
|
-
};
|
|
1783
|
-
LogoProbableIcon.displayName = "LogoProbableIcon";
|
|
1784
|
-
|
|
1785
|
-
// src/primitives/venue-logo/venue-logo.constants.ts
|
|
1786
|
-
var venueLogoRegistry = {
|
|
1787
|
-
kalshi: LogoKalshiIcon,
|
|
1788
|
-
polymarket: LogoPolymarketIcon,
|
|
1789
|
-
opinion: LogoOpinionIcon,
|
|
1790
|
-
probable: LogoProbableIcon
|
|
1791
|
-
};
|
|
1792
|
-
var VENUE_LOGO_BASE_URL = "https://assets.snagsolutions.io/public/prediction-markets/logos";
|
|
1793
|
-
var venueLogoUrlRegistry = {
|
|
1794
|
-
kalshi: `${VENUE_LOGO_BASE_URL}/kalshi.png`,
|
|
1795
|
-
polymarket: `${VENUE_LOGO_BASE_URL}/polymarket.png`,
|
|
1796
|
-
opinion: `${VENUE_LOGO_BASE_URL}/opinion.png`,
|
|
1797
|
-
probable: `${VENUE_LOGO_BASE_URL}/probable.png`
|
|
1798
|
-
};
|
|
1799
|
-
var venueLogoNames = Object.keys(venueLogoRegistry);
|
|
1800
|
-
var sizeClasses2 = {
|
|
1801
|
-
small: "h-4 w-4",
|
|
1802
|
-
medium: "h-6 w-6",
|
|
1803
|
-
large: "h-8 w-8"
|
|
1804
|
-
};
|
|
1805
|
-
|
|
1806
|
-
// src/primitives/venue-logo/index.tsx
|
|
1807
|
-
var import_jsx_runtime49 = require("react/jsx-runtime");
|
|
1808
|
-
var VenueLogo = ({
|
|
1809
|
-
venue,
|
|
1810
|
-
variant = "icon",
|
|
1811
|
-
isColor = true,
|
|
1812
|
-
isMonochromatic = false,
|
|
1813
|
-
color,
|
|
1814
|
-
size = "medium",
|
|
1815
|
-
className,
|
|
1816
|
-
ariaLabel,
|
|
1817
|
-
title
|
|
1818
|
-
}) => {
|
|
1819
|
-
const labels = (0, import_hooks2.useLabels)();
|
|
1820
|
-
const sizeClass = sizeClasses2[size];
|
|
1821
|
-
const resolvedLabel = ariaLabel != null ? ariaLabel : labels.venues[venue];
|
|
1822
|
-
if (variant === "logo") {
|
|
1823
|
-
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1824
|
-
"img",
|
|
1825
|
-
{
|
|
1826
|
-
src: venueLogoUrlRegistry[venue],
|
|
1827
|
-
alt: resolvedLabel,
|
|
1828
|
-
title,
|
|
1829
|
-
className: cn("shrink-0 rounded-agg-lg object-cover", sizeClass, className)
|
|
1830
|
-
}
|
|
1831
|
-
);
|
|
1832
|
-
}
|
|
1833
|
-
const Component = venueLogoRegistry[venue];
|
|
1834
|
-
const resolvedIsColor = isMonochromatic ? false : isColor;
|
|
1835
|
-
return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
|
|
1836
|
-
Component,
|
|
1837
|
-
{
|
|
1838
|
-
className: cn("group/agg-venue-logo", "shrink-0", sizeClass, className),
|
|
1839
|
-
isColor: resolvedIsColor,
|
|
1840
|
-
color,
|
|
1841
|
-
"aria-label": resolvedLabel,
|
|
1842
|
-
title
|
|
1843
|
-
}
|
|
1844
|
-
);
|
|
1845
|
-
};
|
|
1846
|
-
VenueLogo.displayName = "VenueLogo";
|
|
1847
|
-
|
|
1848
|
-
// src/pages/user-profile/components/balances-card.tsx
|
|
1849
|
-
var import_jsx_runtime50 = require("react/jsx-runtime");
|
|
1850
|
-
var BalancesCard = ({
|
|
1851
|
-
venueBalances = [],
|
|
1852
|
-
onDeposit,
|
|
1853
|
-
onWithdraw,
|
|
1854
|
-
className
|
|
1855
|
-
}) => {
|
|
1856
|
-
return /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)(
|
|
1857
|
-
"div",
|
|
1858
|
-
{
|
|
1859
|
-
className: cn(
|
|
1860
|
-
"flex flex-col gap-4 rounded-agg-md border border-agg-separator bg-agg-secondary p-5",
|
|
1861
|
-
className
|
|
1862
|
-
),
|
|
1863
|
-
children: [
|
|
1864
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("h3", { className: "agg-type-body-large-strong text-agg-foreground", children: "Balances" }),
|
|
1865
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "relative min-h-0 flex-1 overflow-clip", children: [
|
|
1866
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("div", { className: "flex max-h-full flex-col gap-3 overflow-y-auto pr-1", children: venueBalances.map((balance, idx) => /* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center justify-between", children: [
|
|
1867
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-1.5", children: [
|
|
1868
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(VenueLogo, { venue: balance.venue, size: "small" }),
|
|
1869
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "font-agg-sans text-agg-base leading-6 font-agg-normal text-agg-foreground capitalize", children: balance.venue })
|
|
1870
|
-
] }),
|
|
1871
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)("span", { className: "font-agg-sans text-agg-base leading-6 font-agg-bold text-agg-foreground", children: balance.balanceLabel })
|
|
1872
|
-
] }, `${balance.venue}-${idx}`)) }),
|
|
1873
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
|
|
1874
|
-
"div",
|
|
1875
|
-
{
|
|
1876
|
-
"aria-hidden": true,
|
|
1877
|
-
className: "pointer-events-none absolute bottom-0 left-0 h-10 w-full bg-gradient-to-b from-transparent to-white"
|
|
1878
|
-
}
|
|
1879
|
-
)
|
|
1880
|
-
] }),
|
|
1881
|
-
/* @__PURE__ */ (0, import_jsx_runtime50.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
1882
|
-
onDeposit ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { variant: "primary", size: "small", onClick: onDeposit, className: "flex-1", children: "Deposit" }) : null,
|
|
1883
|
-
onWithdraw ? /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(Button, { variant: "secondary", size: "small", onClick: onWithdraw, className: "flex-1", children: "Withdraw" }) : null
|
|
1884
|
-
] })
|
|
1885
|
-
]
|
|
1886
|
-
}
|
|
1887
|
-
);
|
|
1888
|
-
};
|
|
1889
|
-
BalancesCard.displayName = "BalancesCard";
|
|
1890
|
-
|
|
1891
|
-
// src/pages/user-profile/components/positions-activity.tsx
|
|
1892
|
-
var import_react4 = require("react");
|
|
1893
|
-
|
|
1894
|
-
// src/primitives/tabs/index.tsx
|
|
1895
|
-
var import_react3 = require("react");
|
|
1896
|
-
var import_hooks4 = require("@agg-market/hooks");
|
|
1897
|
-
|
|
1898
|
-
// src/primitives/select/index.tsx
|
|
1899
|
-
var import_react2 = require("react");
|
|
1900
|
-
var import_hooks3 = require("@agg-market/hooks");
|
|
1901
|
-
var import_jsx_runtime51 = require("react/jsx-runtime");
|
|
1902
|
-
var Select = ({
|
|
1903
|
-
items,
|
|
1904
|
-
value,
|
|
1905
|
-
onChange,
|
|
1906
|
-
ariaLabel,
|
|
1907
|
-
className,
|
|
1908
|
-
disabled = false
|
|
1909
|
-
}) => {
|
|
1910
|
-
var _a;
|
|
1911
|
-
const labels = (0, import_hooks3.useLabels)();
|
|
1912
|
-
const { enableAnimations } = (0, import_hooks3.useSdkUiConfig)();
|
|
1913
|
-
const hasEnabledItems = items.some((item) => !item.disabled);
|
|
1914
|
-
const hasAnyIcon = items.some((item) => item.iconUrl);
|
|
1915
|
-
const [isOpen, setIsOpen] = (0, import_react2.useState)(false);
|
|
1916
|
-
const containerRef = (0, import_react2.useRef)(null);
|
|
1917
|
-
const close = (0, import_react2.useCallback)(() => setIsOpen(false), []);
|
|
1918
|
-
(0, import_react2.useEffect)(() => {
|
|
1919
|
-
if (!isOpen)
|
|
1920
|
-
return;
|
|
1921
|
-
const handlePointerDown = (e) => {
|
|
1922
|
-
if (containerRef.current && !containerRef.current.contains(e == null ? void 0 : e.target)) {
|
|
1923
|
-
close();
|
|
1924
|
-
}
|
|
1925
|
-
};
|
|
1926
|
-
document.addEventListener("mousedown", handlePointerDown);
|
|
1927
|
-
return () => document.removeEventListener("mousedown", handlePointerDown);
|
|
1928
|
-
}, [isOpen, close]);
|
|
1929
|
-
(0, import_react2.useEffect)(() => {
|
|
1930
|
-
if (!isOpen)
|
|
1931
|
-
return;
|
|
1932
|
-
const handleKey = (e) => {
|
|
1933
|
-
if ((e == null ? void 0 : e.key) === "Escape")
|
|
1934
|
-
close();
|
|
1935
|
-
};
|
|
1936
|
-
document.addEventListener("keydown", handleKey);
|
|
1937
|
-
return () => document.removeEventListener("keydown", handleKey);
|
|
1938
|
-
}, [isOpen, close]);
|
|
1939
|
-
const isDisabled = disabled || !hasEnabledItems;
|
|
1940
|
-
const selectedItem = items.find((item) => item.value === value);
|
|
1941
|
-
if (!hasAnyIcon) {
|
|
1942
|
-
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)("label", { className: cn("group/agg-select", "relative inline-flex w-full", className), children: [
|
|
1943
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1944
|
-
"select",
|
|
1945
|
-
{
|
|
1946
|
-
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1947
|
-
className: cn(
|
|
1948
|
-
"w-full appearance-none rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
|
|
1949
|
-
getMotionClassName(
|
|
1950
|
-
enableAnimations,
|
|
1951
|
-
"transition-[border-color,box-shadow] duration-200 ease-in-out"
|
|
1952
|
-
),
|
|
1953
|
-
"focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
|
|
1954
|
-
"disabled:cursor-not-allowed disabled:opacity-60"
|
|
1955
|
-
),
|
|
1956
|
-
disabled: isDisabled,
|
|
1957
|
-
value,
|
|
1958
|
-
onChange: (event) => onChange(event.target.value),
|
|
1959
|
-
children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime51.jsx)("option", { value: item.value, disabled: item.disabled, children: item.label }, item.value))
|
|
1960
|
-
}
|
|
1961
|
-
),
|
|
1962
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) })
|
|
1963
|
-
] });
|
|
1964
|
-
}
|
|
1965
|
-
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
1966
|
-
"div",
|
|
1967
|
-
{
|
|
1968
|
-
ref: containerRef,
|
|
1969
|
-
className: cn("group/agg-select", "relative inline-flex w-full", className),
|
|
1970
|
-
children: [
|
|
1971
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
1972
|
-
"button",
|
|
1973
|
-
{
|
|
1974
|
-
type: "button",
|
|
1975
|
-
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
1976
|
-
"aria-expanded": isOpen,
|
|
1977
|
-
"aria-haspopup": "listbox",
|
|
1978
|
-
disabled: isDisabled,
|
|
1979
|
-
className: cn(
|
|
1980
|
-
"w-full rounded-agg-md border border-agg-separator bg-agg-secondary px-4 py-2 pr-10 font-agg-sans text-agg-sm leading-agg-5 text-agg-foreground outline-none",
|
|
1981
|
-
"flex items-center gap-2 text-left",
|
|
1982
|
-
getMotionClassName(
|
|
1983
|
-
enableAnimations,
|
|
1984
|
-
"transition-[border-color,box-shadow] duration-200 ease-in-out"
|
|
1985
|
-
),
|
|
1986
|
-
"focus:border-agg-primary focus:ring-2 focus:ring-agg-primary/15",
|
|
1987
|
-
"disabled:cursor-not-allowed disabled:opacity-60"
|
|
1988
|
-
),
|
|
1989
|
-
onClick: () => setIsOpen((prev) => !prev),
|
|
1990
|
-
children: [
|
|
1991
|
-
(selectedItem == null ? void 0 : selectedItem.iconUrl) ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
1992
|
-
"img",
|
|
1993
|
-
{
|
|
1994
|
-
src: selectedItem.iconUrl,
|
|
1995
|
-
alt: "",
|
|
1996
|
-
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
1997
|
-
}
|
|
1998
|
-
) : null,
|
|
1999
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "flex-1 truncate", children: (_a = selectedItem == null ? void 0 : selectedItem.label) != null ? _a : "" })
|
|
2000
|
-
]
|
|
2001
|
-
}
|
|
2002
|
-
),
|
|
2003
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "pointer-events-none absolute inset-y-0 right-3 inline-flex items-center justify-center text-agg-muted-foreground", children: /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(Icon, { name: "chevron-down", size: "small", color: "currentColor" }) }),
|
|
2004
|
-
isOpen ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2005
|
-
"div",
|
|
2006
|
-
{
|
|
2007
|
-
role: "listbox",
|
|
2008
|
-
"aria-label": ariaLabel != null ? ariaLabel : labels.common.selectAria,
|
|
2009
|
-
className: "absolute top-full left-0 z-50 mt-1 w-full overflow-hidden rounded-agg-md border border-agg-separator bg-agg-secondary shadow-lg",
|
|
2010
|
-
children: items.map((item) => {
|
|
2011
|
-
const isSelected = item.value === value;
|
|
2012
|
-
return /* @__PURE__ */ (0, import_jsx_runtime51.jsxs)(
|
|
2013
|
-
"button",
|
|
2014
|
-
{
|
|
2015
|
-
type: "button",
|
|
2016
|
-
role: "option",
|
|
2017
|
-
"aria-selected": isSelected,
|
|
2018
|
-
disabled: item.disabled,
|
|
2019
|
-
className: cn(
|
|
2020
|
-
"flex w-full items-center gap-2 px-4 py-2 text-left text-agg-sm leading-agg-5 outline-none",
|
|
2021
|
-
"hover:bg-agg-secondary-hover focus-visible:bg-agg-secondary-hover",
|
|
2022
|
-
isSelected ? "font-agg-bold text-agg-primary" : "font-agg-normal text-agg-foreground",
|
|
2023
|
-
item.disabled && "cursor-not-allowed opacity-60"
|
|
2024
|
-
),
|
|
2025
|
-
onClick: () => {
|
|
2026
|
-
if (!item.disabled) {
|
|
2027
|
-
onChange(item.value);
|
|
2028
|
-
close();
|
|
2029
|
-
}
|
|
2030
|
-
},
|
|
2031
|
-
children: [
|
|
2032
|
-
item.iconUrl ? /* @__PURE__ */ (0, import_jsx_runtime51.jsx)(
|
|
2033
|
-
"img",
|
|
2034
|
-
{
|
|
2035
|
-
src: item.iconUrl,
|
|
2036
|
-
alt: "",
|
|
2037
|
-
className: "h-4 w-4 shrink-0 rounded-sm object-contain"
|
|
2038
|
-
}
|
|
2039
|
-
) : null,
|
|
2040
|
-
/* @__PURE__ */ (0, import_jsx_runtime51.jsx)("span", { className: "truncate", children: item.label })
|
|
2041
|
-
]
|
|
2042
|
-
},
|
|
2043
|
-
item.value
|
|
2044
|
-
);
|
|
2045
|
-
})
|
|
2046
|
-
}
|
|
2047
|
-
) : null
|
|
2048
|
-
]
|
|
2049
|
-
}
|
|
2050
|
-
);
|
|
2051
|
-
};
|
|
2052
|
-
Select.displayName = "Select";
|
|
2053
|
-
|
|
2054
|
-
// src/primitives/tabs/tabs.utils.ts
|
|
2055
|
-
var findNextEnabledIndex = (items, startIndex, direction) => {
|
|
2056
|
-
var _a;
|
|
2057
|
-
if (items.length === 0)
|
|
2058
|
-
return -1;
|
|
2059
|
-
for (let step = 1; step <= items.length; step += 1) {
|
|
2060
|
-
const nextIndex = (startIndex + direction * step + items.length) % items.length;
|
|
2061
|
-
if (!((_a = items[nextIndex]) == null ? void 0 : _a.disabled))
|
|
2062
|
-
return nextIndex;
|
|
2063
|
-
}
|
|
2064
|
-
return -1;
|
|
2065
|
-
};
|
|
2066
|
-
var findEdgeEnabledIndex = (items, direction) => {
|
|
2067
|
-
var _a;
|
|
2068
|
-
if (direction === 1) {
|
|
2069
|
-
return items.findIndex((item) => !item.disabled);
|
|
2070
|
-
}
|
|
2071
|
-
for (let index = items.length - 1; index >= 0; index -= 1) {
|
|
2072
|
-
if (!((_a = items[index]) == null ? void 0 : _a.disabled))
|
|
2073
|
-
return index;
|
|
2074
|
-
}
|
|
2075
|
-
return -1;
|
|
2076
|
-
};
|
|
2077
|
-
|
|
2078
|
-
// src/primitives/tabs/index.tsx
|
|
2079
|
-
var import_jsx_runtime52 = require("react/jsx-runtime");
|
|
2080
|
-
var mobileTabsMediaQuery = "(max-width: 512px)";
|
|
2081
|
-
var getTabButtonClassName = ({
|
|
2082
|
-
enableAnimations,
|
|
2083
|
-
isBarVariant,
|
|
2084
|
-
isActive,
|
|
2085
|
-
isDisabled,
|
|
2086
|
-
size
|
|
2087
|
-
}) => {
|
|
2088
|
-
const isSmall = size === "s";
|
|
2089
|
-
return cn(
|
|
2090
|
-
"cursor-pointer disabled:cursor-not-allowed",
|
|
2091
|
-
"relative inline-flex h-full shrink-0 items-center justify-center gap-2 font-agg-sans",
|
|
2092
|
-
isBarVariant ? "hover:text-agg-foreground hover:bg-agg-secondary-hover" : "hover:text-agg-foreground hover:font-bold",
|
|
2093
|
-
getMotionClassName(
|
|
2094
|
-
enableAnimations,
|
|
2095
|
-
"transition-[colors] duration-300 ease-in-out motion-reduce:transition-none"
|
|
2096
|
-
),
|
|
2097
|
-
isBarVariant ? cn(
|
|
2098
|
-
"min-w-20 overflow-hidden border-r border-agg-separator last:border-r-0",
|
|
2099
|
-
isSmall ? "px-3 text-agg-sm leading-agg-5" : "px-4 text-agg-base leading-agg-6"
|
|
2100
|
-
) : cn(isSmall ? "px-4 text-agg-sm leading-agg-5" : "px-5 text-agg-base leading-agg-6"),
|
|
2101
|
-
isBarVariant && isActive && "font-agg-bold text-agg-primary",
|
|
2102
|
-
isBarVariant && !isActive && "font-agg-normal text-agg-foreground",
|
|
2103
|
-
!isBarVariant && isActive && "font-agg-bold text-agg-primary",
|
|
2104
|
-
!isBarVariant && !isActive && "font-agg-normal text-agg-foreground",
|
|
2105
|
-
isDisabled && "cursor-not-allowed opacity-60"
|
|
2106
|
-
);
|
|
2107
|
-
};
|
|
2108
|
-
var Tabs = ({
|
|
2109
|
-
items,
|
|
2110
|
-
value,
|
|
2111
|
-
onChange,
|
|
2112
|
-
variant = "bar",
|
|
2113
|
-
size = "m",
|
|
2114
|
-
overflowBehavior,
|
|
2115
|
-
ariaLabel,
|
|
2116
|
-
className,
|
|
2117
|
-
classNames
|
|
2118
|
-
}) => {
|
|
2119
|
-
const labels = (0, import_hooks4.useLabels)();
|
|
2120
|
-
const { enableAnimations } = (0, import_hooks4.useSdkUiConfig)();
|
|
2121
|
-
const buttonRefs = (0, import_react3.useRef)([]);
|
|
2122
|
-
const dragStateRef = (0, import_react3.useRef)({
|
|
2123
|
-
isPointerDown: false,
|
|
2124
|
-
isDragging: false,
|
|
2125
|
-
pointerId: null,
|
|
2126
|
-
startClientX: 0,
|
|
2127
|
-
startClientY: 0,
|
|
2128
|
-
startScrollLeft: 0
|
|
2129
|
-
});
|
|
2130
|
-
const suppressClickRef = (0, import_react3.useRef)(false);
|
|
2131
|
-
const resolvedAriaLabel = ariaLabel != null ? ariaLabel : labels.common.tabsAria;
|
|
2132
|
-
const [isMobileViewport, setIsMobileViewport] = (0, import_react3.useState)(false);
|
|
2133
|
-
const [isDraggingTabs, setIsDraggingTabs] = (0, import_react3.useState)(false);
|
|
2134
|
-
const [activeUnderlineStyle, setActiveUnderlineStyle] = (0, import_react3.useState)({
|
|
2135
|
-
transform: "translateX(0px)",
|
|
2136
|
-
width: 0,
|
|
2137
|
-
opacity: 0
|
|
2138
|
-
});
|
|
2139
|
-
const [scrollAffordanceState, setScrollAffordanceState] = (0, import_react3.useState)({
|
|
2140
|
-
showStart: false,
|
|
2141
|
-
showEnd: false
|
|
2142
|
-
});
|
|
2143
|
-
const tabListRef = (0, import_react3.useRef)(null);
|
|
2144
|
-
const isBarVariant = variant === "bar";
|
|
2145
|
-
const resolvedOverflowBehavior = (0, import_react3.useMemo)(() => {
|
|
2146
|
-
if (overflowBehavior)
|
|
2147
|
-
return overflowBehavior;
|
|
2148
|
-
if (!isBarVariant)
|
|
2149
|
-
return "scroll";
|
|
2150
|
-
return isMobileViewport ? "select" : "scroll";
|
|
2151
|
-
}, [isBarVariant, isMobileViewport, overflowBehavior]);
|
|
2152
|
-
const shouldUseOverflowScroll = resolvedOverflowBehavior === "scroll";
|
|
2153
|
-
const shouldUseOverflowSelect = resolvedOverflowBehavior === "select";
|
|
2154
|
-
(0, import_react3.useEffect)(() => {
|
|
2155
|
-
if (typeof window === "undefined")
|
|
2156
|
-
return;
|
|
2157
|
-
const mediaQueryList = window.matchMedia(mobileTabsMediaQuery);
|
|
2158
|
-
const handleMediaQueryChange = (event) => {
|
|
2159
|
-
setIsMobileViewport(event.matches);
|
|
2160
|
-
};
|
|
2161
|
-
handleMediaQueryChange(mediaQueryList);
|
|
2162
|
-
if (typeof mediaQueryList.addEventListener === "function") {
|
|
2163
|
-
mediaQueryList.addEventListener("change", handleMediaQueryChange);
|
|
2164
|
-
return () => {
|
|
2165
|
-
mediaQueryList.removeEventListener("change", handleMediaQueryChange);
|
|
2166
|
-
};
|
|
2167
|
-
}
|
|
2168
|
-
mediaQueryList.addListener(handleMediaQueryChange);
|
|
2169
|
-
return () => {
|
|
2170
|
-
mediaQueryList.removeListener(handleMediaQueryChange);
|
|
2171
|
-
};
|
|
2172
|
-
}, []);
|
|
2173
|
-
const updateScrollAffordances = (0, import_react3.useCallback)(() => {
|
|
2174
|
-
if (!shouldUseOverflowScroll) {
|
|
2175
|
-
setScrollAffordanceState({
|
|
2176
|
-
showStart: false,
|
|
2177
|
-
showEnd: false
|
|
2178
|
-
});
|
|
2179
|
-
return;
|
|
2180
|
-
}
|
|
2181
|
-
const tabListElement = tabListRef.current;
|
|
2182
|
-
if (!tabListElement)
|
|
2183
|
-
return;
|
|
2184
|
-
const maxScrollLeft = tabListElement.scrollWidth - tabListElement.clientWidth;
|
|
2185
|
-
setScrollAffordanceState({
|
|
2186
|
-
showStart: tabListElement.scrollLeft > 4,
|
|
2187
|
-
showEnd: maxScrollLeft - tabListElement.scrollLeft > 4
|
|
2188
|
-
});
|
|
2189
|
-
}, [shouldUseOverflowScroll]);
|
|
2190
|
-
const renderedItems = items;
|
|
2191
|
-
const selectItems = (0, import_react3.useMemo)(() => {
|
|
2192
|
-
return items.map((item) => ({
|
|
2193
|
-
value: item.value,
|
|
2194
|
-
label: item.label,
|
|
2195
|
-
disabled: item.disabled
|
|
2196
|
-
}));
|
|
2197
|
-
}, [items]);
|
|
2198
|
-
const isSelectDisabled = !items.some((item) => !item.disabled);
|
|
2199
|
-
const handleSelect = (nextValue) => {
|
|
2200
|
-
if (nextValue === value)
|
|
2201
|
-
return;
|
|
2202
|
-
onChange(nextValue);
|
|
2203
|
-
};
|
|
2204
|
-
const handleMoveFocus = (index) => {
|
|
2205
|
-
var _a;
|
|
2206
|
-
if (index < 0)
|
|
2207
|
-
return;
|
|
2208
|
-
const nextItem = renderedItems[index];
|
|
2209
|
-
if (!nextItem)
|
|
2210
|
-
return;
|
|
2211
|
-
handleSelect(nextItem.value);
|
|
2212
|
-
(_a = buttonRefs.current[index]) == null ? void 0 : _a.focus();
|
|
2213
|
-
};
|
|
2214
|
-
const handleKeyDown = (event, index) => {
|
|
2215
|
-
switch (event == null ? void 0 : event.key) {
|
|
2216
|
-
case "ArrowRight": {
|
|
2217
|
-
event == null ? void 0 : event.preventDefault();
|
|
2218
|
-
handleMoveFocus(findNextEnabledIndex(renderedItems, index, 1));
|
|
2219
|
-
return;
|
|
2220
|
-
}
|
|
2221
|
-
case "ArrowLeft": {
|
|
2222
|
-
event == null ? void 0 : event.preventDefault();
|
|
2223
|
-
handleMoveFocus(findNextEnabledIndex(renderedItems, index, -1));
|
|
2224
|
-
return;
|
|
2225
|
-
}
|
|
2226
|
-
case "Home": {
|
|
2227
|
-
event == null ? void 0 : event.preventDefault();
|
|
2228
|
-
handleMoveFocus(findEdgeEnabledIndex(renderedItems, 1));
|
|
2229
|
-
return;
|
|
2230
|
-
}
|
|
2231
|
-
case "End": {
|
|
2232
|
-
event == null ? void 0 : event.preventDefault();
|
|
2233
|
-
handleMoveFocus(findEdgeEnabledIndex(renderedItems, -1));
|
|
2234
|
-
return;
|
|
2235
|
-
}
|
|
2236
|
-
default:
|
|
2237
|
-
return;
|
|
2238
|
-
}
|
|
2239
|
-
};
|
|
2240
|
-
const tabListClassName = cn(
|
|
2241
|
-
"inline-flex items-stretch bg-agg-secondary",
|
|
2242
|
-
shouldUseOverflowScroll ? cn(
|
|
2243
|
-
"overflow-x-auto [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
2244
|
-
getMotionClassName(enableAnimations, "scroll-smooth")
|
|
2245
|
-
) : "overflow-x-auto",
|
|
2246
|
-
isBarVariant ? "h-8 rounded-agg-sm border border-agg-separator" : "h-12 border-b border-agg-separator -mb-[1px]",
|
|
2247
|
-
shouldUseOverflowScroll && "select-none",
|
|
2248
|
-
shouldUseOverflowScroll && !isBarVariant && "snap-x snap-mandatory",
|
|
2249
|
-
shouldUseOverflowScroll && (isDraggingTabs ? "cursor-grabbing" : "cursor-grab")
|
|
2250
|
-
);
|
|
2251
|
-
const handleTabListWheel = (event) => {
|
|
2252
|
-
if (!shouldUseOverflowScroll)
|
|
2253
|
-
return;
|
|
2254
|
-
const tabListElement = event.currentTarget;
|
|
2255
|
-
if (tabListElement.scrollWidth <= tabListElement.clientWidth)
|
|
2256
|
-
return;
|
|
2257
|
-
if (Math.abs(event.deltaX) > Math.abs(event.deltaY))
|
|
2258
|
-
return;
|
|
2259
|
-
event.preventDefault();
|
|
2260
|
-
tabListElement.scrollLeft += event.deltaY;
|
|
2261
|
-
};
|
|
2262
|
-
const handleTabListPointerDown = (event) => {
|
|
2263
|
-
if (!shouldUseOverflowScroll)
|
|
2264
|
-
return;
|
|
2265
|
-
if (event.pointerType !== "mouse")
|
|
2266
|
-
return;
|
|
2267
|
-
if (event.button !== 0)
|
|
2268
|
-
return;
|
|
2269
|
-
const tabListElement = tabListRef.current;
|
|
2270
|
-
if (!tabListElement)
|
|
2271
|
-
return;
|
|
2272
|
-
if (tabListElement.scrollWidth <= tabListElement.clientWidth)
|
|
2273
|
-
return;
|
|
2274
|
-
dragStateRef.current = {
|
|
2275
|
-
isPointerDown: true,
|
|
2276
|
-
isDragging: false,
|
|
2277
|
-
pointerId: event.pointerId,
|
|
2278
|
-
startClientX: event.clientX,
|
|
2279
|
-
startClientY: event.clientY,
|
|
2280
|
-
startScrollLeft: tabListElement.scrollLeft
|
|
2281
|
-
};
|
|
2282
|
-
};
|
|
2283
|
-
const handleTabListPointerMove = (event) => {
|
|
2284
|
-
if (!shouldUseOverflowScroll)
|
|
2285
|
-
return;
|
|
2286
|
-
const dragState = dragStateRef.current;
|
|
2287
|
-
const tabListElement = tabListRef.current;
|
|
2288
|
-
if (!dragState.isPointerDown)
|
|
2289
|
-
return;
|
|
2290
|
-
if (dragState.pointerId !== event.pointerId)
|
|
2291
|
-
return;
|
|
2292
|
-
if (!tabListElement)
|
|
2293
|
-
return;
|
|
2294
|
-
const deltaX = event.clientX - dragState.startClientX;
|
|
2295
|
-
const deltaY = event.clientY - dragState.startClientY;
|
|
2296
|
-
const horizontalDistance = Math.abs(deltaX);
|
|
2297
|
-
const verticalDistance = Math.abs(deltaY);
|
|
2298
|
-
const hasExceededDragThreshold = horizontalDistance > 10 && horizontalDistance > verticalDistance;
|
|
2299
|
-
if (hasExceededDragThreshold && !dragState.isDragging) {
|
|
2300
|
-
dragState.isDragging = true;
|
|
2301
|
-
setIsDraggingTabs(true);
|
|
2302
|
-
tabListElement.setPointerCapture(event.pointerId);
|
|
2303
|
-
}
|
|
2304
|
-
if (!dragState.isDragging)
|
|
2305
|
-
return;
|
|
2306
|
-
event.preventDefault();
|
|
2307
|
-
tabListElement.scrollLeft = dragState.startScrollLeft - deltaX;
|
|
2308
|
-
};
|
|
2309
|
-
const handleEndTabListDrag = (event) => {
|
|
2310
|
-
const dragState = dragStateRef.current;
|
|
2311
|
-
const tabListElement = tabListRef.current;
|
|
2312
|
-
if (!dragState.isPointerDown)
|
|
2313
|
-
return;
|
|
2314
|
-
if (dragState.pointerId !== event.pointerId)
|
|
2315
|
-
return;
|
|
2316
|
-
if (tabListElement == null ? void 0 : tabListElement.hasPointerCapture(event.pointerId)) {
|
|
2317
|
-
tabListElement.releasePointerCapture(event.pointerId);
|
|
2318
|
-
}
|
|
2319
|
-
if (dragState.isDragging) {
|
|
2320
|
-
suppressClickRef.current = true;
|
|
2321
|
-
window.setTimeout(() => {
|
|
2322
|
-
suppressClickRef.current = false;
|
|
2323
|
-
}, 0);
|
|
2324
|
-
}
|
|
2325
|
-
dragStateRef.current = {
|
|
2326
|
-
isPointerDown: false,
|
|
2327
|
-
isDragging: false,
|
|
2328
|
-
pointerId: null,
|
|
2329
|
-
startClientX: 0,
|
|
2330
|
-
startClientY: 0,
|
|
2331
|
-
startScrollLeft: 0
|
|
2332
|
-
};
|
|
2333
|
-
setIsDraggingTabs(false);
|
|
2334
|
-
};
|
|
2335
|
-
const handleTabListClickCapture = (event) => {
|
|
2336
|
-
if (!suppressClickRef.current)
|
|
2337
|
-
return;
|
|
2338
|
-
event == null ? void 0 : event.preventDefault();
|
|
2339
|
-
event == null ? void 0 : event.stopPropagation();
|
|
2340
|
-
suppressClickRef.current = false;
|
|
2341
|
-
};
|
|
2342
|
-
const updateActiveUnderline = (0, import_react3.useCallback)(() => {
|
|
2343
|
-
if (isBarVariant) {
|
|
2344
|
-
setActiveUnderlineStyle({
|
|
2345
|
-
transform: "translateX(0px)",
|
|
2346
|
-
width: 0,
|
|
2347
|
-
opacity: 0
|
|
2348
|
-
});
|
|
2349
|
-
return;
|
|
2350
|
-
}
|
|
2351
|
-
const activeIndex = renderedItems.findIndex((item) => item.value === value);
|
|
2352
|
-
const activeButton = activeIndex >= 0 ? buttonRefs.current[activeIndex] : null;
|
|
2353
|
-
if (!activeButton || !tabListRef.current) {
|
|
2354
|
-
setActiveUnderlineStyle((currentStyle) => __spreadProps(__spreadValues({}, currentStyle), {
|
|
2355
|
-
opacity: 0
|
|
2356
|
-
}));
|
|
2357
|
-
return;
|
|
2358
|
-
}
|
|
2359
|
-
setActiveUnderlineStyle({
|
|
2360
|
-
transform: `translateX(${activeButton.offsetLeft}px)`,
|
|
2361
|
-
width: activeButton.offsetWidth,
|
|
2362
|
-
opacity: 1
|
|
2363
|
-
});
|
|
2364
|
-
}, [isBarVariant, renderedItems, value]);
|
|
2365
|
-
(0, import_react3.useLayoutEffect)(() => {
|
|
2366
|
-
updateActiveUnderline();
|
|
2367
|
-
}, [updateActiveUnderline]);
|
|
2368
|
-
(0, import_react3.useEffect)(() => {
|
|
2369
|
-
if (isBarVariant || !shouldUseOverflowScroll)
|
|
2370
|
-
return;
|
|
2371
|
-
const tabListElement = tabListRef.current;
|
|
2372
|
-
if (!tabListElement)
|
|
2373
|
-
return;
|
|
2374
|
-
const handleScroll = () => {
|
|
2375
|
-
updateActiveUnderline();
|
|
2376
|
-
updateScrollAffordances();
|
|
2377
|
-
};
|
|
2378
|
-
tabListElement.addEventListener("scroll", handleScroll, { passive: true });
|
|
2379
|
-
updateScrollAffordances();
|
|
2380
|
-
return () => {
|
|
2381
|
-
tabListElement.removeEventListener("scroll", handleScroll);
|
|
2382
|
-
};
|
|
2383
|
-
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
2384
|
-
(0, import_react3.useEffect)(() => {
|
|
2385
|
-
if (!shouldUseOverflowScroll)
|
|
2386
|
-
return;
|
|
2387
|
-
updateScrollAffordances();
|
|
2388
|
-
}, [renderedItems, shouldUseOverflowScroll, updateScrollAffordances, value]);
|
|
2389
|
-
(0, import_react3.useEffect)(() => {
|
|
2390
|
-
if (isBarVariant && !shouldUseOverflowScroll)
|
|
2391
|
-
return;
|
|
2392
|
-
if (typeof ResizeObserver === "undefined")
|
|
2393
|
-
return;
|
|
2394
|
-
const tabListElement = tabListRef.current;
|
|
2395
|
-
if (!tabListElement)
|
|
2396
|
-
return;
|
|
2397
|
-
const resizeObserver = new ResizeObserver(() => {
|
|
2398
|
-
updateActiveUnderline();
|
|
2399
|
-
updateScrollAffordances();
|
|
2400
|
-
});
|
|
2401
|
-
resizeObserver.observe(tabListElement);
|
|
2402
|
-
return () => {
|
|
2403
|
-
resizeObserver.disconnect();
|
|
2404
|
-
};
|
|
2405
|
-
}, [isBarVariant, shouldUseOverflowScroll, updateActiveUnderline, updateScrollAffordances]);
|
|
2406
|
-
(0, import_react3.useEffect)(() => {
|
|
2407
|
-
if (!shouldUseOverflowScroll)
|
|
2408
|
-
return;
|
|
2409
|
-
const tabListElement = tabListRef.current;
|
|
2410
|
-
if (!tabListElement)
|
|
2411
|
-
return;
|
|
2412
|
-
const activeIndex = renderedItems.findIndex((item) => item.value === value);
|
|
2413
|
-
const activeButton = activeIndex >= 0 ? buttonRefs.current[activeIndex] : null;
|
|
2414
|
-
if (!activeButton)
|
|
2415
|
-
return;
|
|
2416
|
-
if (tabListElement.scrollWidth - tabListElement.clientWidth <= 1)
|
|
2417
|
-
return;
|
|
2418
|
-
const currentScrollLeft = tabListElement.scrollLeft;
|
|
2419
|
-
const currentScrollRight = currentScrollLeft + tabListElement.clientWidth;
|
|
2420
|
-
const activeButtonLeft = activeButton.offsetLeft;
|
|
2421
|
-
const activeButtonRight = activeButtonLeft + activeButton.offsetWidth;
|
|
2422
|
-
let nextScrollLeft = currentScrollLeft;
|
|
2423
|
-
if (activeButtonLeft < currentScrollLeft) {
|
|
2424
|
-
nextScrollLeft = activeButtonLeft;
|
|
2425
|
-
} else if (activeButtonRight > currentScrollRight) {
|
|
2426
|
-
nextScrollLeft = activeButtonRight - tabListElement.clientWidth;
|
|
2427
|
-
}
|
|
2428
|
-
if (Math.abs(nextScrollLeft - currentScrollLeft) < 1)
|
|
2429
|
-
return;
|
|
2430
|
-
tabListElement.scrollTo({
|
|
2431
|
-
left: Math.max(0, nextScrollLeft),
|
|
2432
|
-
behavior: getScrollBehavior(enableAnimations)
|
|
2433
|
-
});
|
|
2434
|
-
}, [enableAnimations, renderedItems, shouldUseOverflowScroll, value]);
|
|
2435
|
-
if (shouldUseOverflowSelect) {
|
|
2436
|
-
return /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("div", { className: cn("w-full", className, classNames == null ? void 0 : classNames.root), children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2437
|
-
Select,
|
|
2438
|
-
{
|
|
2439
|
-
ariaLabel,
|
|
2440
|
-
className: "w-full",
|
|
2441
|
-
disabled: isSelectDisabled,
|
|
2442
|
-
items: selectItems,
|
|
2443
|
-
onChange: handleSelect,
|
|
2444
|
-
value
|
|
2445
|
-
}
|
|
2446
|
-
) });
|
|
2447
|
-
}
|
|
2448
|
-
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2449
|
-
"div",
|
|
2450
|
-
{
|
|
2451
|
-
className: cn(
|
|
2452
|
-
"group/agg-tabs",
|
|
2453
|
-
"relative max-w-full items-stretch font-agg-sans bg-agg-secondary",
|
|
2454
|
-
"inline-flex",
|
|
2455
|
-
className,
|
|
2456
|
-
classNames == null ? void 0 : classNames.root
|
|
2457
|
-
),
|
|
2458
|
-
children: [
|
|
2459
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2460
|
-
"div",
|
|
2461
|
-
{
|
|
2462
|
-
ref: tabListRef,
|
|
2463
|
-
role: "tablist",
|
|
2464
|
-
"aria-label": resolvedAriaLabel,
|
|
2465
|
-
className: cn("relative", tabListClassName, classNames == null ? void 0 : classNames.tabList),
|
|
2466
|
-
onClickCapture: handleTabListClickCapture,
|
|
2467
|
-
onPointerCancel: handleEndTabListDrag,
|
|
2468
|
-
onPointerDown: handleTabListPointerDown,
|
|
2469
|
-
onPointerMove: handleTabListPointerMove,
|
|
2470
|
-
onPointerUp: handleEndTabListDrag,
|
|
2471
|
-
onWheel: handleTabListWheel,
|
|
2472
|
-
children: [
|
|
2473
|
-
renderedItems.map((item, index) => {
|
|
2474
|
-
const isActive = item.value === value;
|
|
2475
|
-
return /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(
|
|
2476
|
-
"button",
|
|
2477
|
-
{
|
|
2478
|
-
ref: (buttonElement) => {
|
|
2479
|
-
buttonRefs.current[index] = buttonElement;
|
|
2480
|
-
},
|
|
2481
|
-
type: "button",
|
|
2482
|
-
role: "tab",
|
|
2483
|
-
tabIndex: isActive ? 0 : -1,
|
|
2484
|
-
"aria-selected": isActive,
|
|
2485
|
-
"aria-label": item.label,
|
|
2486
|
-
disabled: item.disabled,
|
|
2487
|
-
onClick: (e) => {
|
|
2488
|
-
e.preventDefault();
|
|
2489
|
-
e.stopPropagation();
|
|
2490
|
-
handleSelect(item.value);
|
|
2491
|
-
},
|
|
2492
|
-
onKeyDown: (event) => handleKeyDown(event, index),
|
|
2493
|
-
className: cn(
|
|
2494
|
-
getTabButtonClassName({
|
|
2495
|
-
enableAnimations,
|
|
2496
|
-
isBarVariant,
|
|
2497
|
-
isActive,
|
|
2498
|
-
isDisabled: !!item.disabled,
|
|
2499
|
-
size
|
|
2500
|
-
}),
|
|
2501
|
-
shouldUseOverflowScroll && !isBarVariant && "snap-start"
|
|
2502
|
-
),
|
|
2503
|
-
children: [
|
|
2504
|
-
isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(import_jsx_runtime52.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2505
|
-
"span",
|
|
2506
|
-
{
|
|
2507
|
-
"aria-hidden": true,
|
|
2508
|
-
className: cn(
|
|
2509
|
-
"pointer-events-none absolute inset-px origin-bottom rounded-[2px] bg-agg-secondary-hover",
|
|
2510
|
-
getMotionClassName(
|
|
2511
|
-
enableAnimations,
|
|
2512
|
-
"transition-[transform,opacity] duration-300 ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none"
|
|
2513
|
-
),
|
|
2514
|
-
isActive ? "scale-y-100 opacity-100" : "scale-y-0 opacity-0"
|
|
2515
|
-
)
|
|
2516
|
-
}
|
|
2517
|
-
) }) : null,
|
|
2518
|
-
item.icon ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "relative z-10 inline-flex shrink-0 items-center justify-center", children: item.icon }) : null,
|
|
2519
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)("span", { className: "relative z-10 truncate whitespace-nowrap [&::first-letter]:uppercase", children: item.label })
|
|
2520
|
-
]
|
|
2521
|
-
},
|
|
2522
|
-
item.value
|
|
2523
|
-
);
|
|
2524
|
-
}),
|
|
2525
|
-
!isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2526
|
-
"span",
|
|
2527
|
-
{
|
|
2528
|
-
"aria-hidden": true,
|
|
2529
|
-
className: cn(
|
|
2530
|
-
"pointer-events-none absolute bottom-0 left-0 rounded-t-agg-sm bg-agg-primary",
|
|
2531
|
-
getMotionClassName(
|
|
2532
|
-
enableAnimations,
|
|
2533
|
-
"transition-[transform,width,opacity] duration-300 ease-in-out"
|
|
2534
|
-
),
|
|
2535
|
-
"h-[3px]"
|
|
2536
|
-
),
|
|
2537
|
-
style: activeUnderlineStyle
|
|
2538
|
-
}
|
|
2539
|
-
) : null
|
|
2540
|
-
]
|
|
2541
|
-
}
|
|
2542
|
-
),
|
|
2543
|
-
shouldUseOverflowScroll && !isBarVariant ? /* @__PURE__ */ (0, import_jsx_runtime52.jsxs)(import_jsx_runtime52.Fragment, { children: [
|
|
2544
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2545
|
-
"span",
|
|
2546
|
-
{
|
|
2547
|
-
"aria-hidden": true,
|
|
2548
|
-
className: cn(
|
|
2549
|
-
"pointer-events-none absolute top-0 bottom-0 left-8 z-10 w-12 md:w-18 bg-linear-to-r from-agg-secondary via-agg-secondary to-transparent",
|
|
2550
|
-
getMotionClassName(enableAnimations, "transition-opacity duration-200"),
|
|
2551
|
-
scrollAffordanceState.showStart ? "opacity-100" : "opacity-0"
|
|
2552
|
-
)
|
|
2553
|
-
}
|
|
2554
|
-
),
|
|
2555
|
-
/* @__PURE__ */ (0, import_jsx_runtime52.jsx)(
|
|
2556
|
-
"span",
|
|
2557
|
-
{
|
|
2558
|
-
"aria-hidden": true,
|
|
2559
|
-
className: cn(
|
|
2560
|
-
"pointer-events-none absolute top-0 right-8 bottom-0 z-10 w-12 md:w-18 bg-linear-to-l from-agg-secondary via-agg-secondary to-transparent",
|
|
2561
|
-
getMotionClassName(enableAnimations, "transition-opacity duration-200"),
|
|
2562
|
-
scrollAffordanceState.showEnd ? "opacity-100" : "opacity-0"
|
|
2563
|
-
)
|
|
2564
|
-
}
|
|
2565
|
-
)
|
|
2566
|
-
] }) : null
|
|
2567
|
-
]
|
|
2568
|
-
}
|
|
2569
|
-
);
|
|
2570
|
-
};
|
|
2571
|
-
Tabs.displayName = "Tabs";
|
|
2572
|
-
|
|
2573
|
-
// src/pages/user-profile/components/activity-row.tsx
|
|
2574
|
-
var import_jsx_runtime53 = require("react/jsx-runtime");
|
|
2575
|
-
var ActivityRow = ({ activity, onClick }) => {
|
|
2576
|
-
const handleClick = () => {
|
|
2577
|
-
onClick == null ? void 0 : onClick(activity);
|
|
2578
|
-
};
|
|
2579
|
-
return /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(
|
|
2580
|
-
"button",
|
|
2581
|
-
{
|
|
2582
|
-
type: "button",
|
|
2583
|
-
className: cn(
|
|
2584
|
-
"flex w-full items-center gap-6 rounded-agg-sm p-0 text-left",
|
|
2585
|
-
"hover:bg-agg-secondary-hover focus-visible:outline-none focus-visible:bg-agg-secondary-hover",
|
|
2586
|
-
"cursor-pointer"
|
|
2587
|
-
),
|
|
2588
|
-
onClick: handleClick,
|
|
2589
|
-
children: [
|
|
2590
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "w-[60px] shrink-0 font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground", children: activity.type }),
|
|
2591
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|
|
2592
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(VenueLogo, { venue: activity.venue, size: "small", className: "shrink-0" }),
|
|
2593
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|
|
2594
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
|
|
2595
|
-
"img",
|
|
2596
|
-
{
|
|
2597
|
-
src: activity.thumbnailSrc,
|
|
2598
|
-
alt: "",
|
|
2599
|
-
className: "h-[60px] w-[60px] shrink-0 rounded-agg-sm object-cover"
|
|
2600
|
-
}
|
|
2601
|
-
),
|
|
2602
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2 justify-center", children: [
|
|
2603
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "min-w-full overflow-hidden text-ellipsis whitespace-nowrap font-agg-sans text-agg-base leading-agg-6 font-agg-bold text-agg-foreground", children: activity.title }),
|
|
2604
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
2605
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "inline-flex items-center justify-center gap-1.5 rounded-full bg-agg-secondary-hover px-4 py-1.5", children: /* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground whitespace-nowrap", children: activity.outcomeLabel }) }),
|
|
2606
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-black whitespace-nowrap", children: activity.sharesLabel })
|
|
2607
|
-
] })
|
|
2608
|
-
] })
|
|
2609
|
-
] })
|
|
2610
|
-
] }),
|
|
2611
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsxs)("div", { className: "flex w-[120px] shrink-0 flex-col items-end justify-center gap-1 text-agg-base leading-agg-6 whitespace-nowrap", children: [
|
|
2612
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "font-agg-sans font-agg-bold text-black", children: activity.amountLabel }),
|
|
2613
|
-
/* @__PURE__ */ (0, import_jsx_runtime53.jsx)("p", { className: "font-agg-sans font-agg-normal text-agg-muted-foreground", children: activity.timeLabel })
|
|
2614
|
-
] })
|
|
2615
|
-
]
|
|
2616
|
-
}
|
|
2617
|
-
);
|
|
2618
|
-
};
|
|
2619
|
-
ActivityRow.displayName = "ActivityRow";
|
|
2620
|
-
|
|
2621
|
-
// src/pages/user-profile/components/empty-state.tsx
|
|
2622
|
-
var import_jsx_runtime54 = require("react/jsx-runtime");
|
|
2623
|
-
var EmptyIcon = () => /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
|
|
2624
|
-
"svg",
|
|
2625
|
-
{
|
|
2626
|
-
width: "40",
|
|
2627
|
-
height: "40",
|
|
2628
|
-
viewBox: "0 0 40 40",
|
|
2629
|
-
fill: "none",
|
|
2630
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2631
|
-
className: "text-agg-muted-foreground",
|
|
2632
|
-
"aria-hidden": true,
|
|
2633
|
-
children: [
|
|
2634
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2635
|
-
"path",
|
|
2636
|
-
{
|
|
2637
|
-
d: "M33.3333 5H6.66667C5.74619 5 5 5.74619 5 6.66667V33.3333C5 34.2538 5.74619 35 6.66667 35H33.3333C34.2538 35 35 34.2538 35 33.3333V6.66667C35 5.74619 34.2538 5 33.3333 5Z",
|
|
2638
|
-
stroke: "currentColor",
|
|
2639
|
-
strokeWidth: "1.5",
|
|
2640
|
-
strokeLinecap: "round",
|
|
2641
|
-
strokeLinejoin: "round"
|
|
2642
|
-
}
|
|
2643
|
-
),
|
|
2644
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2645
|
-
"path",
|
|
2646
|
-
{
|
|
2647
|
-
d: "M14.1667 16.6667C15.5474 16.6667 16.6667 15.5474 16.6667 14.1667C16.6667 12.786 15.5474 11.6667 14.1667 11.6667C12.786 11.6667 11.6667 12.786 11.6667 14.1667C11.6667 15.5474 12.786 16.6667 14.1667 16.6667Z",
|
|
2648
|
-
stroke: "currentColor",
|
|
2649
|
-
strokeWidth: "1.5",
|
|
2650
|
-
strokeLinecap: "round",
|
|
2651
|
-
strokeLinejoin: "round"
|
|
2652
|
-
}
|
|
2653
|
-
),
|
|
2654
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2655
|
-
"path",
|
|
2656
|
-
{
|
|
2657
|
-
d: "M35 25L26.6667 16.6667L6.66667 36.6667",
|
|
2658
|
-
stroke: "currentColor",
|
|
2659
|
-
strokeWidth: "1.5",
|
|
2660
|
-
strokeLinecap: "round",
|
|
2661
|
-
strokeLinejoin: "round"
|
|
2662
|
-
}
|
|
2663
|
-
)
|
|
2664
|
-
]
|
|
2665
|
-
}
|
|
2666
|
-
);
|
|
2667
|
-
var EmptyState = ({ title, description, className }) => {
|
|
2668
|
-
return /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
|
|
2669
|
-
"div",
|
|
2670
|
-
{
|
|
2671
|
-
className: cn("flex flex-col items-center justify-center gap-8 p-10", className),
|
|
2672
|
-
role: "status",
|
|
2673
|
-
"aria-live": "polite",
|
|
2674
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-col items-center gap-5", children: [
|
|
2675
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)(EmptyIcon, {}),
|
|
2676
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsxs)("div", { className: "flex flex-col items-center gap-1 text-center text-agg-foreground", children: [
|
|
2677
|
-
/* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "font-agg-sans text-agg-base leading-agg-6 font-agg-bold", children: title }),
|
|
2678
|
-
description ? /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("p", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal", children: description }) : null
|
|
2679
|
-
] })
|
|
2680
|
-
] })
|
|
2681
|
-
}
|
|
2682
|
-
);
|
|
2683
|
-
};
|
|
2684
|
-
EmptyState.displayName = "EmptyState";
|
|
2685
|
-
|
|
2686
|
-
// src/pages/user-profile/components/position-row.tsx
|
|
2687
|
-
var import_jsx_runtime55 = require("react/jsx-runtime");
|
|
2688
|
-
var PositionRow = ({ position, onClick }) => {
|
|
2689
|
-
const handleClick = () => {
|
|
2690
|
-
onClick == null ? void 0 : onClick(position);
|
|
2691
|
-
};
|
|
2692
|
-
return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
|
|
2693
|
-
"button",
|
|
2694
|
-
{
|
|
2695
|
-
type: "button",
|
|
2696
|
-
className: cn(
|
|
2697
|
-
"flex w-full items-center gap-6 rounded-agg-sm p-0 text-left",
|
|
2698
|
-
"hover:bg-agg-secondary-hover focus-visible:outline-none focus-visible:bg-agg-secondary-hover",
|
|
2699
|
-
"cursor-pointer"
|
|
2700
|
-
),
|
|
2701
|
-
onClick: handleClick,
|
|
2702
|
-
children: [
|
|
2703
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|
|
2704
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(VenueLogo, { venue: position.venue, size: "small", className: "shrink-0" }),
|
|
2705
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex min-w-0 flex-1 items-center gap-4", children: [
|
|
2706
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2707
|
-
"img",
|
|
2708
|
-
{
|
|
2709
|
-
src: position.thumbnailSrc,
|
|
2710
|
-
alt: "",
|
|
2711
|
-
className: "h-[60px] w-[60px] shrink-0 rounded-agg-sm object-cover"
|
|
2712
|
-
}
|
|
2713
|
-
),
|
|
2714
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-2 justify-center", children: [
|
|
2715
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "min-w-full overflow-hidden text-ellipsis whitespace-nowrap font-agg-sans text-agg-base leading-agg-6 font-agg-bold text-agg-foreground", children: position.title }),
|
|
2716
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
2717
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "inline-flex items-center justify-center gap-1.5 rounded-full bg-agg-secondary-hover px-4 py-1.5", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-foreground whitespace-nowrap", children: position.outcomeLabel }) }),
|
|
2718
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("span", { className: "font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-black whitespace-nowrap", children: position.sharesLabel })
|
|
2719
|
-
] })
|
|
2720
|
-
] })
|
|
2721
|
-
] })
|
|
2722
|
-
] }),
|
|
2723
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "w-[120px] shrink-0 agg-type-title text-agg-foreground", children: position.averageLabel }),
|
|
2724
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "w-[120px] shrink-0 agg-type-title text-agg-foreground", children: position.currentLabel }),
|
|
2725
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex items-center gap-6 shrink-0", children: [
|
|
2726
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: "flex w-[140px] flex-col items-end justify-center gap-1 text-agg-base leading-agg-6 whitespace-nowrap", children: [
|
|
2727
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)("p", { className: "font-agg-sans font-agg-bold text-black", children: position.valueLabel }),
|
|
2728
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
|
|
2729
|
-
"p",
|
|
2730
|
-
{
|
|
2731
|
-
className: cn(
|
|
2732
|
-
"font-agg-sans font-agg-normal",
|
|
2733
|
-
position.isPnlPositive ? "text-[#00c853]" : "text-[#e5455f]"
|
|
2734
|
-
),
|
|
2735
|
-
children: position.pnlLabel
|
|
2736
|
-
}
|
|
2737
|
-
)
|
|
2738
|
-
] }),
|
|
2739
|
-
/* @__PURE__ */ (0, import_jsx_runtime55.jsx)(Icon, { name: "chevron-right", size: "small", className: "shrink-0 text-agg-muted-foreground" })
|
|
2740
|
-
] })
|
|
2741
|
-
]
|
|
2742
|
-
}
|
|
2743
|
-
);
|
|
2744
|
-
};
|
|
2745
|
-
PositionRow.displayName = "PositionRow";
|
|
2746
|
-
|
|
2747
|
-
// src/pages/user-profile/components/positions-activity.tsx
|
|
2748
|
-
var import_jsx_runtime56 = require("react/jsx-runtime");
|
|
2749
|
-
var tabItems = [
|
|
2750
|
-
{ value: USER_PROFILE_TAB_POSITIONS, label: "Positions" },
|
|
2751
|
-
{ value: USER_PROFILE_TAB_ACTIVITY, label: "Activity" }
|
|
2752
|
-
];
|
|
2753
|
-
var PositionsActivity = ({
|
|
2754
|
-
activePositions = [],
|
|
2755
|
-
closedPositions = [],
|
|
2756
|
-
activities = [],
|
|
2757
|
-
onPositionClick,
|
|
2758
|
-
onActivityClick,
|
|
2759
|
-
className
|
|
2760
|
-
}) => {
|
|
2761
|
-
const [activeTab, setActiveTab] = (0, import_react4.useState)(USER_PROFILE_TAB_POSITIONS);
|
|
2762
|
-
const [positionFilter, setPositionFilter] = (0, import_react4.useState)("active");
|
|
2763
|
-
const [searchValue, setSearchValue] = (0, import_react4.useState)("");
|
|
2764
|
-
const isPositionsTab = activeTab === USER_PROFILE_TAB_POSITIONS;
|
|
2765
|
-
const filteredPositions = (0, import_react4.useMemo)(() => {
|
|
2766
|
-
const positions = positionFilter === "active" ? activePositions : closedPositions;
|
|
2767
|
-
if (!searchValue.trim())
|
|
2768
|
-
return positions;
|
|
2769
|
-
const query = searchValue.toLowerCase();
|
|
2770
|
-
return positions.filter((p) => p.title.toLowerCase().includes(query));
|
|
2771
|
-
}, [activePositions, closedPositions, positionFilter, searchValue]);
|
|
2772
|
-
const filteredActivities = (0, import_react4.useMemo)(() => {
|
|
2773
|
-
if (!searchValue.trim())
|
|
2774
|
-
return activities;
|
|
2775
|
-
const query = searchValue.toLowerCase();
|
|
2776
|
-
return activities.filter((a) => a.title.toLowerCase().includes(query));
|
|
2777
|
-
}, [activities, searchValue]);
|
|
2778
|
-
const handleSearchChange = (event) => {
|
|
2779
|
-
setSearchValue(event.target.value);
|
|
2780
|
-
};
|
|
2781
|
-
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)(
|
|
2782
|
-
"div",
|
|
2783
|
-
{
|
|
2784
|
-
className: cn(
|
|
2785
|
-
"flex flex-col items-start overflow-clip rounded-agg-md border border-agg-separator bg-agg-secondary",
|
|
2786
|
-
className
|
|
2787
|
-
),
|
|
2788
|
-
children: [
|
|
2789
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2790
|
-
Tabs,
|
|
2791
|
-
{
|
|
2792
|
-
items: tabItems,
|
|
2793
|
-
value: activeTab,
|
|
2794
|
-
onChange: setActiveTab,
|
|
2795
|
-
variant: "underline",
|
|
2796
|
-
className: "w-full [&>div]:w-full"
|
|
2797
|
-
}
|
|
2798
|
-
),
|
|
2799
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex w-full flex-col gap-6 p-6", children: [
|
|
2800
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-start gap-5", children: [
|
|
2801
|
-
isPositionsTab ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex h-10 w-[270px] shrink-0 items-stretch overflow-clip rounded-agg-sm border border-agg-separator", children: USER_PROFILE_POSITION_FILTERS.map((filter, idx) => {
|
|
2802
|
-
const isActive = filter.value === positionFilter;
|
|
2803
|
-
return /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex flex-1 items-stretch", children: [
|
|
2804
|
-
idx > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "w-px bg-agg-separator", "aria-hidden": true }) : null,
|
|
2805
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2806
|
-
"button",
|
|
2807
|
-
{
|
|
2808
|
-
type: "button",
|
|
2809
|
-
onClick: () => setPositionFilter(filter.value),
|
|
2810
|
-
className: cn(
|
|
2811
|
-
"flex flex-1 items-center justify-center px-4 py-3 font-agg-sans text-agg-base leading-agg-6 cursor-pointer",
|
|
2812
|
-
isActive ? "bg-agg-secondary-hover font-agg-bold text-agg-primary" : "bg-agg-secondary font-agg-normal text-agg-foreground hover:bg-agg-secondary-hover"
|
|
2813
|
-
),
|
|
2814
|
-
children: filter.label
|
|
2815
|
-
}
|
|
2816
|
-
)
|
|
2817
|
-
] }, filter.value);
|
|
2818
|
-
}) }) : null,
|
|
2819
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("label", { className: "flex min-w-0 flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex h-10 w-full items-center gap-3 rounded-agg-sm border border-agg-separator bg-agg-secondary px-3 py-2.5 focus-within:border-2 focus-within:border-agg-primary", children: [
|
|
2820
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(Icon, { name: "search", size: "small", className: "shrink-0 text-agg-muted-foreground" }),
|
|
2821
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2822
|
-
"input",
|
|
2823
|
-
{
|
|
2824
|
-
value: searchValue,
|
|
2825
|
-
onChange: handleSearchChange,
|
|
2826
|
-
placeholder: "Search...",
|
|
2827
|
-
className: cn(
|
|
2828
|
-
"h-6 w-full min-w-0 border-0 bg-transparent p-0",
|
|
2829
|
-
"font-agg-sans text-agg-base leading-agg-6 font-agg-normal text-agg-foreground",
|
|
2830
|
-
"placeholder:text-agg-muted-foreground",
|
|
2831
|
-
"outline-none focus:outline-none"
|
|
2832
|
-
)
|
|
2833
|
-
}
|
|
2834
|
-
)
|
|
2835
|
-
] }) })
|
|
2836
|
-
] }),
|
|
2837
|
-
isPositionsTab && filteredPositions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-6 px-0", children: [
|
|
2838
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "min-w-0 flex-1 font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground", children: "Market" }),
|
|
2839
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "w-[120px] shrink-0 font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground", children: "Average" }),
|
|
2840
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "w-[120px] shrink-0 font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground", children: "Current" }),
|
|
2841
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "w-[184px] shrink-0 font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground text-right", children: "Value" })
|
|
2842
|
-
] }) : null,
|
|
2843
|
-
!isPositionsTab && filteredActivities.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("div", { className: "flex items-center gap-6 px-0", children: [
|
|
2844
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "w-[60px] shrink-0 font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground", children: "Type" }),
|
|
2845
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "min-w-0 flex-1 font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground", children: "Market" }),
|
|
2846
|
-
/* @__PURE__ */ (0, import_jsx_runtime56.jsx)("p", { className: "w-[120px] shrink-0 font-agg-sans text-agg-sm leading-agg-5 font-agg-normal text-agg-muted-foreground text-right", children: "Amount" })
|
|
2847
|
-
] }) : null,
|
|
2848
|
-
isPositionsTab ? filteredPositions.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex flex-col gap-4", children: filteredPositions.map((position) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(PositionRow, { position, onClick: onPositionClick }, position.id)) }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2849
|
-
EmptyState,
|
|
2850
|
-
{
|
|
2851
|
-
title: "No positions yet",
|
|
2852
|
-
description: "Your open trades will appear here once you place an order."
|
|
2853
|
-
}
|
|
2854
|
-
) : filteredActivities.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "flex flex-col gap-4", children: filteredActivities.map((activity) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(ActivityRow, { activity, onClick: onActivityClick }, activity.id)) }) : /* @__PURE__ */ (0, import_jsx_runtime56.jsx)(
|
|
2855
|
-
EmptyState,
|
|
2856
|
-
{
|
|
2857
|
-
title: "No activity yet",
|
|
2858
|
-
description: "Your trading activity will appear here."
|
|
2859
|
-
}
|
|
2860
|
-
)
|
|
2861
|
-
] })
|
|
2862
|
-
]
|
|
2863
|
-
}
|
|
2864
|
-
);
|
|
2865
|
-
};
|
|
2866
|
-
PositionsActivity.displayName = "PositionsActivity";
|
|
2867
|
-
|
|
2868
|
-
// src/pages/user-profile/components/default-avatar.tsx
|
|
2869
|
-
var import_jsx_runtime57 = require("react/jsx-runtime");
|
|
2870
|
-
var DefaultAvatar = ({ className }) => {
|
|
2871
|
-
return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
|
|
2872
|
-
"svg",
|
|
2873
|
-
{
|
|
2874
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
2875
|
-
width: "120",
|
|
2876
|
-
height: "120",
|
|
2877
|
-
viewBox: "0 0 120 120",
|
|
2878
|
-
fill: "none",
|
|
2879
|
-
className: cn("shrink-0", className),
|
|
2880
|
-
"aria-hidden": true,
|
|
2881
|
-
children: [
|
|
2882
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsxs)("g", { clipPath: "url(#clip0_default_avatar)", children: [
|
|
2883
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2884
|
-
"path",
|
|
2885
|
-
{
|
|
2886
|
-
d: "M60 120C93.1371 120 120 93.1371 120 60C120 26.8629 93.1371 0 60 0C26.8629 0 0 26.8629 0 60C0 93.1371 26.8629 120 60 120Z",
|
|
2887
|
-
fill: "white"
|
|
2888
|
-
}
|
|
2889
|
-
),
|
|
2890
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2891
|
-
"path",
|
|
2892
|
-
{
|
|
2893
|
-
d: "M60 120C93.1371 120 120 93.1371 120 60C120 26.8629 93.1371 0 60 0C26.8629 0 0 26.8629 0 60C0 93.1371 26.8629 120 60 120Z",
|
|
2894
|
-
fill: "black",
|
|
2895
|
-
fillOpacity: "0.1"
|
|
2896
|
-
}
|
|
2897
|
-
),
|
|
2898
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
|
|
2899
|
-
"path",
|
|
2900
|
-
{
|
|
2901
|
-
d: "M73.7338 64.1259C80.4187 59.6756 84.8276 52.0804 84.8276 43.4487C84.8276 29.7376 73.7111 18.6211 60 18.6211C46.2890 18.6211 35.1724 29.7376 35.1724 43.4487C35.1724 52.0804 39.5814 59.6756 46.2662 64.1259C46.2662 64.1259 46.2683 64.1280 46.2704 64.1280C46.2683 64.1280 46.2683 64.1259 46.2683 64.1259C30.2669 68.9487 17.8076 81.9356 13.7959 98.2742L13.7980 98.2763C14.4518 99.0645 15.1304 99.8342 15.8235 100.589C15.9911 100.774 16.1669 100.949 16.3387 101.129C16.8724 101.696 17.4124 102.255 17.9669 102.801C18.1966 103.027 18.4304 103.244 18.6642 103.465C19.1773 103.954 19.6966 104.436 20.2262 104.905C20.4890 105.137 20.7559 105.367 21.0207 105.594C21.5400 106.039 22.0656 106.476 22.6014 106.902C22.8828 107.127 23.1662 107.349 23.4497 107.570C23.9918 107.988 24.5421 108.394 25.0987 108.791C25.3862 108.996 25.6697 109.205 25.9614 109.405C26.5490 109.811 27.1469 110.200 27.7490 110.585C28.0200 110.756 28.2849 110.934 28.5580 111.104C29.2531 111.532 29.9607 111.942 30.6745 112.343C30.8628 112.449 31.0469 112.562 31.2373 112.666C32.1600 113.171 33.0973 113.655 34.0490 114.112C34.0718 114.122 34.0966 114.133 34.1193 114.143C35.0276 114.578 35.9504 114.989 36.8835 115.378C37.1731 115.500 37.4690 115.608 37.7607 115.724C38.4352 115.993 39.1097 116.258 39.7966 116.502C40.1607 116.632 40.5290 116.750 40.8952 116.874C41.5200 117.085 42.1490 117.290 42.7821 117.478C43.1835 117.598 43.5869 117.710 43.9924 117.822C44.6049 117.991 45.2214 118.153 45.8442 118.304C46.2642 118.405 46.6862 118.502 47.1104 118.596C47.7331 118.732 48.3580 118.856 48.9869 118.972C49.4131 119.051 49.8373 119.131 50.2676 119.200C50.9173 119.305 51.5711 119.394 52.2269 119.479C52.6407 119.533 53.0524 119.593 53.4683 119.636C54.1924 119.715 54.9228 119.771 55.6531 119.822C56.0069 119.847 56.3566 119.885 56.7104 119.903C57.8007 119.965 58.8952 120 60 120C61.1049 120 62.1993 119.965 63.2897 119.907C63.6435 119.889 63.9952 119.851 64.3469 119.827C65.0793 119.775 65.8097 119.719 66.5318 119.640C66.9476 119.595 67.3593 119.537 67.7731 119.483C68.4290 119.398 69.0828 119.309 69.7324 119.204C70.1607 119.134 70.5869 119.055 71.0131 118.976C71.6421 118.860 72.2690 118.736 72.8897 118.600C73.3138 118.507 73.7359 118.409 74.1559 118.308C74.7766 118.157 75.3931 117.996 76.0076 117.826C76.4111 117.714 76.8166 117.602 77.2180 117.482C77.8531 117.292 78.4800 117.087 79.1049 116.878C79.4711 116.754 79.8414 116.636 80.2035 116.506C80.8883 116.260 81.5649 115.997 82.2393 115.728C82.5311 115.612 82.8269 115.502 83.1166 115.382C84.0456 114.994 84.9642 114.586 85.8683 114.151C85.8952 114.139 85.9242 114.127 85.9511 114.114C86.9028 113.657 87.8400 113.173 88.7628 112.668C88.9531 112.565 89.1373 112.451 89.3256 112.345C90.0393 111.944 90.7469 111.534 91.4421 111.106C91.7152 110.938 91.9821 110.760 92.2511 110.587C92.8531 110.202 93.4511 109.811 94.0387 109.407C94.3283 109.207 94.6138 109.000 94.9014 108.793C95.4580 108.394 96.0083 107.988 96.5504 107.572C96.8359 107.353 97.1173 107.129 97.3987 106.904C97.9324 106.478 98.4600 106.041 98.9793 105.596C99.2462 105.369 99.5131 105.139 99.7738 104.907C100.303 104.438 100.823 103.956 101.336 103.467C101.568 103.246 101.803 103.027 102.033 102.803C102.588 102.257 103.130 101.698 103.661 101.131C103.831 100.949 104.007 100.774 104.177 100.591C104.870 99.8363 105.548 99.0666 106.202 98.2783L106.204 98.2763C102.195 81.9356 89.7352 68.9487 73.7338 64.1259Z",
|
|
2902
|
-
fill: "black",
|
|
2903
|
-
fillOpacity: "0.1"
|
|
2904
|
-
}
|
|
2905
|
-
)
|
|
2906
|
-
] }),
|
|
2907
|
-
/* @__PURE__ */ (0, import_jsx_runtime57.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("clipPath", { id: "clip0_default_avatar", children: /* @__PURE__ */ (0, import_jsx_runtime57.jsx)("rect", { width: "120", height: "120", fill: "white" }) }) })
|
|
2908
|
-
]
|
|
2909
|
-
}
|
|
2910
|
-
);
|
|
2911
|
-
};
|
|
2912
|
-
DefaultAvatar.displayName = "DefaultAvatar";
|
|
2913
|
-
|
|
2914
|
-
// src/pages/user-profile/components/user-info-card.tsx
|
|
2915
|
-
var import_jsx_runtime58 = require("react/jsx-runtime");
|
|
2916
|
-
var UserInfoCard = ({
|
|
2917
|
-
user,
|
|
2918
|
-
onEditProfile,
|
|
2919
|
-
className
|
|
2920
|
-
}) => {
|
|
2921
|
-
var _a, _b, _c;
|
|
2922
|
-
const evmExchanges = ((_a = user.connectedExchanges) != null ? _a : []).filter((ex) => ex.venue !== "kalshi");
|
|
2923
|
-
const totalExchangeCount = (_c = (_b = user.connectedExchanges) == null ? void 0 : _b.length) != null ? _c : 0;
|
|
2924
|
-
const hasEvmExchanges = evmExchanges.length > 0;
|
|
2925
|
-
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2926
|
-
"div",
|
|
2927
|
-
{
|
|
2928
|
-
className: cn(
|
|
2929
|
-
"flex flex-col items-start rounded-agg-md border border-agg-separator bg-agg-secondary p-5",
|
|
2930
|
-
className
|
|
2931
|
-
),
|
|
2932
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex w-full items-start gap-5", children: [
|
|
2933
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "shrink-0", children: user.avatarUrl ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2934
|
-
"img",
|
|
2935
|
-
{
|
|
2936
|
-
src: user.avatarUrl,
|
|
2937
|
-
alt: user.username,
|
|
2938
|
-
className: "h-[120px] w-[120px] rounded-full object-cover"
|
|
2939
|
-
}
|
|
2940
|
-
) : /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(DefaultAvatar, { className: "h-[120px] w-[120px]" }) }),
|
|
2941
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex min-w-0 flex-1 flex-col gap-4", children: [
|
|
2942
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center justify-between gap-4", children: [
|
|
2943
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-2", children: [
|
|
2944
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("h2", { className: "agg-type-heading text-agg-foreground", children: user.username }),
|
|
2945
|
-
user.socialLinks && user.socialLinks.length > 0 ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex items-center gap-2", children: user.socialLinks.map((social) => {
|
|
2946
|
-
const iconName = social.platform === "twitter" ? "twitter" : social.platform === "discord" ? "discord" : "telegram";
|
|
2947
|
-
return /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2948
|
-
"span",
|
|
2949
|
-
{
|
|
2950
|
-
className: "flex size-8 shrink-0 items-center justify-center rounded-full border border-agg-separator bg-agg-secondary",
|
|
2951
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: iconName, size: "small", className: "text-agg-foreground" })
|
|
2952
|
-
},
|
|
2953
|
-
social.platform
|
|
2954
|
-
);
|
|
2955
|
-
}) }) : null
|
|
2956
|
-
] }),
|
|
2957
|
-
onEditProfile ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)(
|
|
2958
|
-
"button",
|
|
2959
|
-
{
|
|
2960
|
-
type: "button",
|
|
2961
|
-
onClick: onEditProfile,
|
|
2962
|
-
className: "flex shrink-0 cursor-pointer items-center gap-1.5 bg-transparent text-agg-primary hover:opacity-80",
|
|
2963
|
-
children: [
|
|
2964
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "pencil", size: "small", className: "text-agg-primary" }),
|
|
2965
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-agg-base font-agg-bold leading-6", children: "Edit" })
|
|
2966
|
-
]
|
|
2967
|
-
}
|
|
2968
|
-
) : null
|
|
2969
|
-
] }),
|
|
2970
|
-
totalExchangeCount > 0 || user.socialHandle ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex flex-col gap-3", children: [
|
|
2971
|
-
hasEvmExchanges ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
2972
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex items-center", children: evmExchanges.map((exchange, idx) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(
|
|
2973
|
-
"div",
|
|
2974
|
-
{
|
|
2975
|
-
className: cn(
|
|
2976
|
-
"relative flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded-[4px]",
|
|
2977
|
-
idx > 0 && "-ml-2"
|
|
2978
|
-
),
|
|
2979
|
-
style: { zIndex: evmExchanges.length - idx },
|
|
2980
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(VenueLogo, { venue: exchange.venue, size: "small", className: "h-5 w-5" })
|
|
2981
|
-
},
|
|
2982
|
-
`${exchange.venue}-${idx}`
|
|
2983
|
-
)) }),
|
|
2984
|
-
user.displayAddress ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground", children: user.displayAddress }) : null,
|
|
2985
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-1", children: [
|
|
2986
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("span", { className: "text-agg-sm font-agg-normal leading-5 text-agg-muted-foreground", children: [
|
|
2987
|
-
totalExchangeCount,
|
|
2988
|
-
" exchange",
|
|
2989
|
-
totalExchangeCount !== 1 ? "s" : ""
|
|
2990
|
-
] }),
|
|
2991
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)(Icon, { name: "info", size: "small", className: "text-agg-muted-foreground" })
|
|
2992
|
-
] })
|
|
2993
|
-
] }) : null,
|
|
2994
|
-
user.socialHandle ? /* @__PURE__ */ (0, import_jsx_runtime58.jsxs)("div", { className: "flex items-center gap-3", children: [
|
|
2995
|
-
user.socialHandleVenue ? /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("div", { className: "flex h-5 w-5 shrink-0 items-center justify-center overflow-hidden rounded-[4px]", children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)(VenueLogo, { venue: user.socialHandleVenue, size: "small", className: "h-5 w-5" }) }) : null,
|
|
2996
|
-
/* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "text-agg-base font-agg-normal leading-6 text-agg-foreground", children: user.socialHandle })
|
|
2997
|
-
] }) : null
|
|
2998
|
-
] }) : null
|
|
2999
|
-
] })
|
|
3000
|
-
] })
|
|
3001
|
-
}
|
|
3002
|
-
);
|
|
3003
|
-
};
|
|
3004
|
-
UserInfoCard.displayName = "UserInfoCard";
|
|
3005
|
-
|
|
3006
|
-
// src/pages/user-profile/index.tsx
|
|
3007
|
-
var import_jsx_runtime59 = require("react/jsx-runtime");
|
|
3008
|
-
var UserProfilePage = ({
|
|
3009
|
-
user,
|
|
3010
|
-
venueBalances,
|
|
3011
|
-
balance,
|
|
3012
|
-
defaultTimeRange,
|
|
3013
|
-
onTimeRangeChange,
|
|
3014
|
-
activePositions,
|
|
3015
|
-
closedPositions,
|
|
3016
|
-
activities,
|
|
3017
|
-
onEditProfile,
|
|
3018
|
-
onDeposit,
|
|
3019
|
-
onWithdraw,
|
|
3020
|
-
onPositionClick,
|
|
3021
|
-
onActivityClick,
|
|
3022
|
-
classNames
|
|
3023
|
-
}) => {
|
|
3024
|
-
return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "box-border w-full overflow-x-hidden p-10", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsxs)(
|
|
3025
|
-
"section",
|
|
3026
|
-
{
|
|
3027
|
-
className: cn(
|
|
3028
|
-
"flex w-full flex-col gap-10 rounded-agg-xl border border-agg-separator bg-agg-secondary p-10 overflow-clip",
|
|
3029
|
-
classNames == null ? void 0 : classNames.root
|
|
3030
|
-
),
|
|
3031
|
-
children: [
|
|
3032
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("flex items-stretch gap-6", classNames == null ? void 0 : classNames.topRow), children: [
|
|
3033
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsxs)("div", { className: cn("flex min-w-0 flex-1 flex-col gap-6", classNames == null ? void 0 : classNames.leftColumn), children: [
|
|
3034
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
3035
|
-
UserInfoCard,
|
|
3036
|
-
{
|
|
3037
|
-
user,
|
|
3038
|
-
onEditProfile,
|
|
3039
|
-
className: classNames == null ? void 0 : classNames.userInfoCard
|
|
3040
|
-
}
|
|
3041
|
-
),
|
|
3042
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
3043
|
-
BalanceDisplay,
|
|
3044
|
-
{
|
|
3045
|
-
balance,
|
|
3046
|
-
defaultTimeRange,
|
|
3047
|
-
onTimeRangeChange,
|
|
3048
|
-
className: classNames == null ? void 0 : classNames.balanceDisplay
|
|
3049
|
-
}
|
|
3050
|
-
)
|
|
3051
|
-
] }),
|
|
3052
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)("div", { className: "relative w-[465px] shrink-0", children: /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
3053
|
-
BalancesCard,
|
|
3054
|
-
{
|
|
3055
|
-
venueBalances,
|
|
3056
|
-
onDeposit,
|
|
3057
|
-
onWithdraw,
|
|
3058
|
-
className: cn("absolute inset-0", classNames == null ? void 0 : classNames.balancesCard)
|
|
3059
|
-
}
|
|
3060
|
-
) })
|
|
3061
|
-
] }),
|
|
3062
|
-
/* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
|
|
3063
|
-
PositionsActivity,
|
|
3064
|
-
{
|
|
3065
|
-
activePositions,
|
|
3066
|
-
closedPositions,
|
|
3067
|
-
activities,
|
|
3068
|
-
onPositionClick,
|
|
3069
|
-
onActivityClick,
|
|
3070
|
-
className: classNames == null ? void 0 : classNames.positionsActivity
|
|
3071
|
-
}
|
|
3072
|
-
)
|
|
3073
|
-
]
|
|
3074
|
-
}
|
|
3075
|
-
) });
|
|
3076
|
-
};
|
|
3077
|
-
UserProfilePage.displayName = "UserProfilePage";
|
|
3078
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
3079
|
-
0 && (module.exports = {
|
|
3080
|
-
UserProfilePage
|
|
3081
|
-
});
|