@snowmonster_defi/widget 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +85 -0
- package/dist/Arc-VDBY7LNS-DBrTWC6L.mjs +4 -0
- package/dist/Arc-VDBY7LNS-m3oU4SFX.js +1 -0
- package/dist/Brave-BRAKJXDS-B9q28yrX.js +1 -0
- package/dist/Brave-BRAKJXDS-CfOthErl.mjs +4 -0
- package/dist/Browser-76IHF3Y2-BR3yRO0Q.js +1 -0
- package/dist/Browser-76IHF3Y2-D5mI5yDv.mjs +4 -0
- package/dist/Chrome-65Q5P54Y-9eqcWmOm.js +1 -0
- package/dist/Chrome-65Q5P54Y-DrF9hxVd.mjs +4 -0
- package/dist/Edge-XSPUTORV-B8kHPG9e.js +1 -0
- package/dist/Edge-XSPUTORV-BPc8HSNM.mjs +4 -0
- package/dist/Firefox-AAHGJQIP--XXnd95e.mjs +4 -0
- package/dist/Firefox-AAHGJQIP-BtlH2zVc.js +1 -0
- package/dist/Linux-OO4TNCLJ-BzSRqE5q.js +1 -0
- package/dist/Linux-OO4TNCLJ-DjZl5oHj.mjs +4 -0
- package/dist/Macos-MW4AE7LN-34pmNxSL.js +1 -0
- package/dist/Macos-MW4AE7LN-DDrYwsGC.mjs +4 -0
- package/dist/Opera-KQZLSACL-BY-yTZwm.js +1 -0
- package/dist/Opera-KQZLSACL-DhwRnyeO.mjs +4 -0
- package/dist/Safari-ZPL37GXR-BAHe1sxY.js +1 -0
- package/dist/Safari-ZPL37GXR-BJMyZNGk.mjs +4 -0
- package/dist/Windows-PPTHQER6-8DxONxME.mjs +4 -0
- package/dist/Windows-PPTHQER6-BtXwY24K.js +1 -0
- package/dist/add-BMx827fr.js +15 -0
- package/dist/add-C1-3Nxd0.mjs +19 -0
- package/dist/all-wallets-Bw2RRXQf.js +6 -0
- package/dist/all-wallets-CeboYmll.mjs +10 -0
- package/dist/apechain-SX5YFU6N-B6iVN2eI.mjs +4 -0
- package/dist/apechain-SX5YFU6N-BP98RVDs.js +1 -0
- package/dist/app-store-C-SLhk-c.mjs +21 -0
- package/dist/app-store-DWCVxk5n.js +17 -0
- package/dist/apple-C0-QMsmX.mjs +22 -0
- package/dist/apple-C6JNxC7s.js +18 -0
- package/dist/ar_AR-44JUQ6EW-DSQ9qcs_.js +1487 -0
- package/dist/ar_AR-44JUQ6EW-DZr8TU0E.mjs +1490 -0
- package/dist/arbitrum-WURIBY6W-BS2MH6mu.js +1 -0
- package/dist/arbitrum-WURIBY6W-C9umEuPP.mjs +4 -0
- package/dist/arrow-bottom-BQlfsLH7.js +8 -0
- package/dist/arrow-bottom-DBsoY1j4.mjs +12 -0
- package/dist/arrow-bottom-circle-0d4DMC8k.mjs +15 -0
- package/dist/arrow-bottom-circle-BWbOWcMy.js +11 -0
- package/dist/arrow-left-Buye_G_C.mjs +12 -0
- package/dist/arrow-left-CYea8lr5.js +8 -0
- package/dist/arrow-right-Bz07l-7m.js +8 -0
- package/dist/arrow-right-NcpIvTiP.mjs +12 -0
- package/dist/arrow-top-BHtmjrGh.mjs +12 -0
- package/dist/arrow-top-CE8kNyrN.js +8 -0
- package/dist/assets-Q6ZU7ZJ5-DrI2eCWt.mjs +4 -0
- package/dist/assets-Q6ZU7ZJ5-Dy7quYMC.js +1 -0
- package/dist/avalanche-KOMJD3XY-BzTQlT3D.mjs +4 -0
- package/dist/avalanche-KOMJD3XY-Df8RTmnR.js +1 -0
- package/dist/bank-54nZmUNU.js +14 -0
- package/dist/bank-foInih1V.mjs +18 -0
- package/dist/base-OAXLRA4F-iT9zH1Kj.js +1 -0
- package/dist/base-OAXLRA4F-zGysVgz6.mjs +4 -0
- package/dist/basic-BoWB3br8.mjs +5718 -0
- package/dist/basic-DgjjeOAX.js +2128 -0
- package/dist/berachain-NJECWIVC-BMZnNAq4.js +1 -0
- package/dist/berachain-NJECWIVC-CRQ0XjnA.mjs +4 -0
- package/dist/blast-V555OVXZ-Bbwv3H8h.js +1 -0
- package/dist/blast-V555OVXZ-DfAGOAm0.mjs +4 -0
- package/dist/browser-BC7vNobG.mjs +18 -0
- package/dist/browser-b-nGXlqN.js +14 -0
- package/dist/bsc-N647EYR2-B1LUNwWi.js +1 -0
- package/dist/bsc-N647EYR2-BZ1b_4BN.mjs +4 -0
- package/dist/card--XvDDn3y.mjs +18 -0
- package/dist/card-BkMuyW1R.js +14 -0
- package/dist/ccip-B3WUowc8.js +1 -0
- package/dist/ccip-DKFQjR9A.mjs +149 -0
- package/dist/celo-GEP4TUHG-DGNZBO1F.js +1 -0
- package/dist/celo-GEP4TUHG-DjaxM9On.mjs +4 -0
- package/dist/checkmark-BbGho5Io.mjs +15 -0
- package/dist/checkmark-DXb72YHc.js +11 -0
- package/dist/checkmark-bold-B1F7R5EK.mjs +12 -0
- package/dist/checkmark-bold-DdBV1Lmi.js +8 -0
- package/dist/chevron-bottom-CQZ-Wq5W.js +8 -0
- package/dist/chevron-bottom-XyYYwAR8.mjs +12 -0
- package/dist/chevron-left-8n-It-m1.js +8 -0
- package/dist/chevron-left-DuAvtNd0.mjs +12 -0
- package/dist/chevron-right-D59N_heq.js +8 -0
- package/dist/chevron-right-W5vVm_KB.mjs +12 -0
- package/dist/chevron-top-CEOzd8Ij.js +8 -0
- package/dist/chevron-top-DFkm04W3.mjs +12 -0
- package/dist/chrome-store-BrkLwaGp.js +61 -0
- package/dist/chrome-store-CP2NiEXz.mjs +65 -0
- package/dist/clock-B5JaCeFx.mjs +12 -0
- package/dist/clock-LQXXXzZd.js +8 -0
- package/dist/close-CvPH2PaL.js +8 -0
- package/dist/close-w5A4PucI.mjs +12 -0
- package/dist/coinPlaceholder-DFh7VbZT.js +8 -0
- package/dist/coinPlaceholder-haEbTDpA.mjs +12 -0
- package/dist/compass-CvRkiQHa.mjs +12 -0
- package/dist/compass-Df_6O9--.js +8 -0
- package/dist/components/DexRouterWidget.d.ts +7 -0
- package/dist/components/Web3Provider.d.ts +6 -0
- package/dist/connect-UA7M4XW6-BCDqQn-T.js +1 -0
- package/dist/connect-UA7M4XW6-of1DMMin.mjs +4 -0
- package/dist/copy-CyrCMq2Q.mjs +19 -0
- package/dist/copy-D0w04l-Q.js +15 -0
- package/dist/core-BdUBRviB.js +907 -0
- package/dist/core-auWK_7Ox.mjs +16251 -0
- package/dist/create-FASO7PVG-BFLB5t7x.mjs +4 -0
- package/dist/create-FASO7PVG-DaZC1z5H.js +1 -0
- package/dist/cronos-HJPAQTAE-CWSImNSf.mjs +4 -0
- package/dist/cronos-HJPAQTAE-CYNBJWpC.js +1 -0
- package/dist/cursor-D5uRbW9D.mjs +7 -0
- package/dist/cursor-DFMotZ-L.js +3 -0
- package/dist/cursor-transparent-BanA5rDD.mjs +16 -0
- package/dist/cursor-transparent-Cs4NrQu6.js +12 -0
- package/dist/de_DE-PYAO5YD6-DRiWndek.mjs +1490 -0
- package/dist/de_DE-PYAO5YD6-Dd1WvOtn.js +1487 -0
- package/dist/degen-FQQ4XGHB-B0iCWKkK.js +1 -0
- package/dist/degen-FQQ4XGHB-DXAeLlGy.mjs +4 -0
- package/dist/desktop-6Q-_rh47.mjs +13 -0
- package/dist/desktop-CheS5Az_.js +9 -0
- package/dist/disconnect-CRF11ye0.mjs +12 -0
- package/dist/disconnect-DltoX_gP.js +8 -0
- package/dist/discord-B6nj8oD_.mjs +21 -0
- package/dist/discord-CqY7Pilo.js +17 -0
- package/dist/en_US-Y4ZOVFV4-Dn3zitY_.js +1 -0
- package/dist/en_US-Y4ZOVFV4-hyEPVcDM.mjs +4 -0
- package/dist/es_419-HRGOJ6VT-B7E9BfQ6.js +1487 -0
- package/dist/es_419-HRGOJ6VT-Bb7kiWEN.mjs +1490 -0
- package/dist/ethereum-RGGVA4PY-D0PFo6qh.js +1 -0
- package/dist/ethereum-RGGVA4PY-DxPcn0KS.mjs +4 -0
- package/dist/etherscan-CLcbtjKR.mjs +10 -0
- package/dist/etherscan-DxjvKQo9.js +6 -0
- package/dist/exclamation-triangle-CxJuBpFB.mjs +8 -0
- package/dist/exclamation-triangle-D9vGQKFQ.js +4 -0
- package/dist/extension-CSqCxcZG.js +8 -0
- package/dist/extension-t0E2b7ef.mjs +12 -0
- package/dist/external-link-B-Lcyi6R.mjs +12 -0
- package/dist/external-link-BoArXGTq.js +8 -0
- package/dist/facebook-Cnfem7th.mjs +30 -0
- package/dist/facebook-DOkj8R5F.js +26 -0
- package/dist/farcaster-BlN1w-oR.mjs +16 -0
- package/dist/farcaster-DKhgfKln.js +12 -0
- package/dist/filters-DY5tpPJB.mjs +12 -0
- package/dist/filters-w4oLgYuJ.js +8 -0
- package/dist/flow-5FQJFCTK-CVfZv3to.mjs +4 -0
- package/dist/flow-5FQJFCTK-zNre9dGJ.js +1 -0
- package/dist/fr_FR-IGGVC6RM-DaW0iy2_.js +1487 -0
- package/dist/fr_FR-IGGVC6RM-Kc8NKbgI.mjs +1490 -0
- package/dist/github-BnOjmw_1.mjs +22 -0
- package/dist/github-Bq8YXj-l.js +18 -0
- package/dist/gnosis-37ZC4RBL-DpsuNYS1.js +1 -0
- package/dist/gnosis-37ZC4RBL-xYLDpnHh.mjs +4 -0
- package/dist/google-BjbAYNIf.js +18 -0
- package/dist/google-ySq_VIsy.mjs +22 -0
- package/dist/gravity-J5YQHTYH-B97TrN9J.mjs +4 -0
- package/dist/gravity-J5YQHTYH-CnR8N36w.js +1 -0
- package/dist/hardhat-TX56IT5N-2KZA3GeI.mjs +4 -0
- package/dist/hardhat-TX56IT5N-Mh0k0VUo.js +1 -0
- package/dist/help-circle-D_pee-dG.mjs +16 -0
- package/dist/help-circle-MVmAyaVF.js +12 -0
- package/dist/hi_IN-XSKAA3MF-C9xFkabi.js +1487 -0
- package/dist/hi_IN-XSKAA3MF-DvyeO32P.mjs +1490 -0
- package/dist/hyperevm-VKPAA4SA-BrvLj9LS.js +1 -0
- package/dist/hyperevm-VKPAA4SA-C95vekJe.mjs +4 -0
- package/dist/id-ByfWOnEX.js +12 -0
- package/dist/id-CuusF9Qd.mjs +16 -0
- package/dist/id_ID-KUOB4UAL-B3IV2Afs.js +1487 -0
- package/dist/id_ID-KUOB4UAL-CvWLNQ5n.mjs +1490 -0
- package/dist/image-BlN-YE3X.js +4 -0
- package/dist/image-Cs26jwi7.mjs +8 -0
- package/dist/index-BKj9Y5tv.js +1750 -0
- package/dist/index-BUG5Ve0i.mjs +1037 -0
- package/dist/index-C8nreL9m.mjs +29619 -0
- package/dist/index-STIsWesT.js +394 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.es-APae9KBk.js +25 -0
- package/dist/index.es-e80IGd_J.mjs +11883 -0
- package/dist/index.es.js +9 -0
- package/dist/info-Cb2Tnwp9.mjs +7 -0
- package/dist/info-D7vY5t3I.js +3 -0
- package/dist/info-circle-CIVy5nVm.js +12 -0
- package/dist/info-circle-sI2i5HOv.mjs +16 -0
- package/dist/injectedWallet-AWJSZPMG-BDdjxTfh.js +1 -0
- package/dist/injectedWallet-AWJSZPMG-BZ4xMT5c.mjs +4 -0
- package/dist/ink-FZMYZWHG-BuNtRfvY.js +1 -0
- package/dist/ink-FZMYZWHG-DlcClk5L.mjs +4 -0
- package/dist/ja_JP-4WRQ63RX-BSsyVYkC.mjs +1490 -0
- package/dist/ja_JP-4WRQ63RX-DPg57Jtp.js +1487 -0
- package/dist/kaia-65D2U3PU-C3iOW87N.js +1 -0
- package/dist/kaia-65D2U3PU-DJdIsERb.mjs +4 -0
- package/dist/ko_KR-I2K7AIEP-BMvlvp6c.mjs +1490 -0
- package/dist/ko_KR-I2K7AIEP-DTiN0Tki.js +1487 -0
- package/dist/lightbulb-5NUvCVy3.js +3 -0
- package/dist/lightbulb-BYmcwWUA.mjs +7 -0
- package/dist/linea-QRMVQ5DY-C2d1pHrg.js +1 -0
- package/dist/linea-QRMVQ5DY-CrycDmSa.mjs +4 -0
- package/dist/login-UP3DZBGS-BT9d537y.mjs +4 -0
- package/dist/login-UP3DZBGS-C-c6uz2H.js +1 -0
- package/dist/mail-CT9BLct_.mjs +12 -0
- package/dist/mail-DAYPcxbx.js +8 -0
- package/dist/manta-SI27YFEJ-CBE6iXtC.js +1 -0
- package/dist/manta-SI27YFEJ-CFctqJ5B.mjs +4 -0
- package/dist/mantle-CKIUT334-CPiUOpgj.js +1 -0
- package/dist/mantle-CKIUT334-DZTIMdrF.mjs +4 -0
- package/dist/metaMaskWallet-SITXT2FV-CaDFha8m.mjs +4 -0
- package/dist/metaMaskWallet-SITXT2FV-CubKW4M9.js +1 -0
- package/dist/metamask-sdk-5m3nvPtB.js +542 -0
- package/dist/metamask-sdk-CPh1Wi1b.mjs +14970 -0
- package/dist/mobile-DNsm674z.js +9 -0
- package/dist/mobile-DRfo1ZAq.mjs +13 -0
- package/dist/monad-4KWC6TSS-Bme_0Zcf.mjs +4 -0
- package/dist/monad-4KWC6TSS-BnWBHM2V.js +1 -0
- package/dist/more-DFKbhNg4.js +11 -0
- package/dist/more-DvtnI5Dv.mjs +15 -0
- package/dist/ms_MY-6VZW6Q3Z-C_wmMLsb.mjs +1490 -0
- package/dist/ms_MY-6VZW6Q3Z-GeT8A_9b.js +1487 -0
- package/dist/network-placeholder-BPGY0Pea.js +14 -0
- package/dist/network-placeholder-DOmySIjI.mjs +18 -0
- package/dist/nftPlaceholder-CRB7uOjv.mjs +12 -0
- package/dist/nftPlaceholder-Dp6Tl1yi.js +8 -0
- package/dist/off-BVEy2I2N.js +8 -0
- package/dist/off-LjovEQOy.mjs +12 -0
- package/dist/optimism-HAF2GUT7-BT_Mx-dr.js +1 -0
- package/dist/optimism-HAF2GUT7-CDkFpVXG.mjs +4 -0
- package/dist/play-store-BwddU0Wq.mjs +36 -0
- package/dist/play-store-DlHvVfW-.js +32 -0
- package/dist/plus-C-X64_gj.mjs +17 -0
- package/dist/plus-ZMKluBd6.js +13 -0
- package/dist/polygon-WW6ZI7PM-DGanIpKH.js +1 -0
- package/dist/polygon-WW6ZI7PM-DMiAjxYW.mjs +4 -0
- package/dist/pt_BR-N3XOZ4SV-BeWb5NJg.mjs +1490 -0
- package/dist/pt_BR-N3XOZ4SV-E_1oHsgd.js +1487 -0
- package/dist/qr-code-Dhu5TPha.js +6 -0
- package/dist/qr-code-bLEKEk0B.mjs +10 -0
- package/dist/rainbowWallet-O26YNBMX-CB4dd0t7.mjs +4 -0
- package/dist/rainbowWallet-O26YNBMX-CqPvjISh.js +1 -0
- package/dist/recycle-horizontal-9JHHDd4h.js +9 -0
- package/dist/recycle-horizontal-CS_0PZGV.mjs +13 -0
- package/dist/refresh-C_qXNL0S.mjs +12 -0
- package/dist/refresh-DkMlARk7.js +8 -0
- package/dist/refresh-S4T5V5GX-BZCZ2pAn.js +1 -0
- package/dist/refresh-S4T5V5GX-CoT4SMY4.mjs +4 -0
- package/dist/reown-logo-CBPzCyQW.mjs +16 -0
- package/dist/reown-logo-UwMrTrcX.js +12 -0
- package/dist/ronin-EMCPYXZT-BVeW22BA.js +1 -0
- package/dist/ronin-EMCPYXZT-CMqZm7Bj.mjs +4 -0
- package/dist/ru_RU-IITAPRET-DRURjjb_.mjs +1490 -0
- package/dist/ru_RU-IITAPRET-DWVtNBKa.js +1487 -0
- package/dist/sanko-RHQYXGM5-BdRCo3KT.mjs +4 -0
- package/dist/sanko-RHQYXGM5-t_EneLtZ.js +1 -0
- package/dist/scan-4UYSQ56Q-Bt1XXdi3.mjs +4 -0
- package/dist/scan-4UYSQ56Q-DqVlbE3J.js +1 -0
- package/dist/scroll-5OBGQVOV-C_cEm-kG.mjs +4 -0
- package/dist/scroll-5OBGQVOV-DYo31pKm.js +1 -0
- package/dist/search-B4itLiVW.js +8 -0
- package/dist/search-CQuKFVAx.mjs +12 -0
- package/dist/secp256k1-BB5DYugF.mjs +1479 -0
- package/dist/secp256k1-BiRGPPqo.js +1 -0
- package/dist/secp256k1-CI29X52U.js +1 -0
- package/dist/secp256k1-Cf9t2cTM.mjs +1479 -0
- package/dist/send-porC6mPB.js +15 -0
- package/dist/send-qTi-ybzM.mjs +19 -0
- package/dist/sign-A7IJEUT5-BI5zSXW6.js +1 -0
- package/dist/sign-A7IJEUT5-BQQmgNRT.mjs +4 -0
- package/dist/style.css +1 -0
- package/dist/superposition-HG6MMR2Y-CUrWVrH0.js +1 -0
- package/dist/superposition-HG6MMR2Y-DHda4Hsd.mjs +4 -0
- package/dist/swapHorizontal-C3MNcVMo.mjs +12 -0
- package/dist/swapHorizontal-HantsmRd.js +8 -0
- package/dist/swapHorizontalBold-C_GQta-j.mjs +12 -0
- package/dist/swapHorizontalBold-XlXD6Scp.js +8 -0
- package/dist/swapHorizontalMedium-Bo6Sszm7.mjs +20 -0
- package/dist/swapHorizontalMedium-ChYk0TiL.js +16 -0
- package/dist/swapHorizontalRoundedBold-B5EvZSwz.mjs +12 -0
- package/dist/swapHorizontalRoundedBold-Dx_Co5wk.js +8 -0
- package/dist/swapVertical-cHQwpGr0.mjs +12 -0
- package/dist/swapVertical-fmzZLSPI.js +8 -0
- package/dist/telegram-BdrptLN3.mjs +20 -0
- package/dist/telegram-Dv7wEgKb.js +16 -0
- package/dist/th_TH-3ZQCKCQE-Da2m2LPy.js +1487 -0
- package/dist/th_TH-3ZQCKCQE-nFsMfjJa.mjs +1490 -0
- package/dist/three-dots-CPXRPIKy.js +5 -0
- package/dist/three-dots-DEs9ZhDC.mjs +9 -0
- package/dist/tr_TR-QUPUGMUF-DF0OeGUb.mjs +1490 -0
- package/dist/tr_TR-QUPUGMUF-s63Tz8WP.js +1487 -0
- package/dist/twitch-Ck5pSyDI.js +18 -0
- package/dist/twitch-IQhZ8m1X.mjs +22 -0
- package/dist/twitterIcon-DO8XDAwC.js +6 -0
- package/dist/twitterIcon-DsS9CDA5.mjs +10 -0
- package/dist/types/index.d.ts +51 -0
- package/dist/uk_UA-SSN6SV5E-Bb4huhf1.mjs +1490 -0
- package/dist/uk_UA-SSN6SV5E-IfMgDbzS.js +1487 -0
- package/dist/unichain-C5BWO2ZY-CgjeJfD4.mjs +4 -0
- package/dist/unichain-C5BWO2ZY-DrmDCV2p.js +1 -0
- package/dist/utils/constants.d.ts +6 -0
- package/dist/verify-CgTgRejE.js +8 -0
- package/dist/verify-DOD4hBvs.mjs +12 -0
- package/dist/verify-filled-BhxgjhKC.js +8 -0
- package/dist/verify-filled-QPe9Hi2W.mjs +12 -0
- package/dist/vi_VN-7BUVRNYY-Ba1mpr-F.js +1487 -0
- package/dist/vi_VN-7BUVRNYY-PCI3QRx7.mjs +1490 -0
- package/dist/w3m-modal-C3JE1VNb.mjs +1471 -0
- package/dist/w3m-modal-DLEWxfrc.js +642 -0
- package/dist/wallet-ByF6bf_R.mjs +12 -0
- package/dist/wallet-DU_BeJ1K.js +8 -0
- package/dist/wallet-placeholder-C3VkDDkp.js +14 -0
- package/dist/wallet-placeholder-DBpXjyqE.mjs +18 -0
- package/dist/walletConnectWallet-YHWKVTDY-DU_S15em.mjs +4 -0
- package/dist/walletConnectWallet-YHWKVTDY-k9TO_fWs.js +1 -0
- package/dist/walletconnect-B2bmSYc7.mjs +36 -0
- package/dist/walletconnect-DC4CEinm.js +30 -0
- package/dist/warning-circle-BBKO7OkV.js +12 -0
- package/dist/warning-circle-CYTT9cYz.mjs +16 -0
- package/dist/x-DG2aE2ub.mjs +16 -0
- package/dist/x-PLo7_AhG.js +12 -0
- package/dist/xdc-KJ3TDBYO-DjnCHm47.js +1 -0
- package/dist/xdc-KJ3TDBYO-Ie58M8Vn.mjs +4 -0
- package/dist/zetachain-TLDS5IPW-BRdUItmm.js +1 -0
- package/dist/zetachain-TLDS5IPW-CCJ72zNa.mjs +4 -0
- package/dist/zh_CN-HJBN674C-Bo2gNwt5.mjs +1490 -0
- package/dist/zh_CN-HJBN674C-Vu7Wn9i6.js +1487 -0
- package/dist/zh_HK-JW3WLRKE-BY2ft2ew.mjs +1490 -0
- package/dist/zh_HK-JW3WLRKE-COIwuLIC.js +1487 -0
- package/dist/zh_TW-VNNRNXY7-CyIPkoVZ.mjs +1490 -0
- package/dist/zh_TW-VNNRNXY7-DKIN8H5Y.js +1487 -0
- package/dist/zksync-DH7HK5U4-08fCIujK.mjs +4 -0
- package/dist/zksync-DH7HK5U4-DVKzLGnB.js +1 -0
- package/dist/zora-FYL5H3IO-BSEkA2hF.js +1 -0
- package/dist/zora-FYL5H3IO-BoL7oY8W.mjs +4 -0
- package/package.json +66 -0
|
@@ -0,0 +1,1037 @@
|
|
|
1
|
+
import { J as N, K as V, k as b, l as $, m as S, n as m, L as q, N as B, q as W, o as Y } from "./core-auWK_7Ox.mjs";
|
|
2
|
+
const w = {
|
|
3
|
+
getSpacingStyles(e, t) {
|
|
4
|
+
if (Array.isArray(e))
|
|
5
|
+
return e[t] ? `var(--wui-spacing-${e[t]})` : void 0;
|
|
6
|
+
if (typeof e == "string")
|
|
7
|
+
return `var(--wui-spacing-${e})`;
|
|
8
|
+
},
|
|
9
|
+
getFormattedDate(e) {
|
|
10
|
+
return new Intl.DateTimeFormat("en-US", { month: "short", day: "numeric" }).format(e);
|
|
11
|
+
},
|
|
12
|
+
getHostName(e) {
|
|
13
|
+
try {
|
|
14
|
+
return new URL(e).hostname;
|
|
15
|
+
} catch {
|
|
16
|
+
return "";
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
getTruncateString({ string: e, charsStart: t, charsEnd: i, truncate: r }) {
|
|
20
|
+
return e.length <= t + i ? e : r === "end" ? `${e.substring(0, t)}...` : r === "start" ? `...${e.substring(e.length - i)}` : `${e.substring(0, Math.floor(t))}...${e.substring(e.length - Math.floor(i))}`;
|
|
21
|
+
},
|
|
22
|
+
generateAvatarColors(e) {
|
|
23
|
+
const i = e.toLowerCase().replace(/^0x/iu, "").replace(/[^a-f0-9]/gu, "").substring(0, 6).padEnd(6, "0"), r = this.hexToRgb(i), a = getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"), n = 100 - 3 * Number(a == null ? void 0 : a.replace("px", "")), s = `${n}% ${n}% at 65% 40%`, l = [];
|
|
24
|
+
for (let d = 0; d < 5; d += 1) {
|
|
25
|
+
const g = this.tintColor(r, 0.15 * d);
|
|
26
|
+
l.push(`rgb(${g[0]}, ${g[1]}, ${g[2]})`);
|
|
27
|
+
}
|
|
28
|
+
return `
|
|
29
|
+
--local-color-1: ${l[0]};
|
|
30
|
+
--local-color-2: ${l[1]};
|
|
31
|
+
--local-color-3: ${l[2]};
|
|
32
|
+
--local-color-4: ${l[3]};
|
|
33
|
+
--local-color-5: ${l[4]};
|
|
34
|
+
--local-radial-circle: ${s}
|
|
35
|
+
`;
|
|
36
|
+
},
|
|
37
|
+
hexToRgb(e) {
|
|
38
|
+
const t = parseInt(e, 16), i = t >> 16 & 255, r = t >> 8 & 255, a = t & 255;
|
|
39
|
+
return [i, r, a];
|
|
40
|
+
},
|
|
41
|
+
tintColor(e, t) {
|
|
42
|
+
const [i, r, a] = e, o = Math.round(i + (255 - i) * t), n = Math.round(r + (255 - r) * t), s = Math.round(a + (255 - a) * t);
|
|
43
|
+
return [o, n, s];
|
|
44
|
+
},
|
|
45
|
+
isNumber(e) {
|
|
46
|
+
return {
|
|
47
|
+
number: /^[0-9]+$/u
|
|
48
|
+
}.number.test(e);
|
|
49
|
+
},
|
|
50
|
+
getColorTheme(e) {
|
|
51
|
+
var t;
|
|
52
|
+
return e || (typeof window < "u" && window.matchMedia ? (t = window.matchMedia("(prefers-color-scheme: dark)")) != null && t.matches ? "dark" : "light" : "dark");
|
|
53
|
+
},
|
|
54
|
+
splitBalance(e) {
|
|
55
|
+
const t = e.split(".");
|
|
56
|
+
return t.length === 2 ? [t[0], t[1]] : ["0", "00"];
|
|
57
|
+
},
|
|
58
|
+
roundNumber(e, t, i) {
|
|
59
|
+
return e.toString().length >= t ? Number(e).toFixed(i) : e;
|
|
60
|
+
},
|
|
61
|
+
formatNumberToLocalString(e, t = 2) {
|
|
62
|
+
return e === void 0 ? "0.00" : typeof e == "number" ? e.toLocaleString("en-US", {
|
|
63
|
+
maximumFractionDigits: t,
|
|
64
|
+
minimumFractionDigits: t
|
|
65
|
+
}) : parseFloat(e).toLocaleString("en-US", {
|
|
66
|
+
maximumFractionDigits: t,
|
|
67
|
+
minimumFractionDigits: t
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
function K(e, t) {
|
|
72
|
+
const { kind: i, elements: r } = t;
|
|
73
|
+
return {
|
|
74
|
+
kind: i,
|
|
75
|
+
elements: r,
|
|
76
|
+
finisher(a) {
|
|
77
|
+
customElements.get(e) || customElements.define(e, a);
|
|
78
|
+
}
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
function X(e, t) {
|
|
82
|
+
return customElements.get(e) || customElements.define(e, t), t;
|
|
83
|
+
}
|
|
84
|
+
function x(e) {
|
|
85
|
+
return function(i) {
|
|
86
|
+
return typeof i == "function" ? X(e, i) : K(e, i);
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* @license
|
|
91
|
+
* Copyright 2017 Google LLC
|
|
92
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
93
|
+
*/
|
|
94
|
+
const Z = { attribute: !0, type: String, converter: V, reflect: !1, hasChanged: N }, J = (e = Z, t, i) => {
|
|
95
|
+
const { kind: r, metadata: a } = i;
|
|
96
|
+
let o = globalThis.litPropertyMetadata.get(a);
|
|
97
|
+
if (o === void 0 && globalThis.litPropertyMetadata.set(a, o = /* @__PURE__ */ new Map()), r === "setter" && ((e = Object.create(e)).wrapped = !0), o.set(i.name, e), r === "accessor") {
|
|
98
|
+
const { name: n } = i;
|
|
99
|
+
return { set(s) {
|
|
100
|
+
const l = t.get.call(this);
|
|
101
|
+
t.set.call(this, s), this.requestUpdate(n, l, e, !0, s);
|
|
102
|
+
}, init(s) {
|
|
103
|
+
return s !== void 0 && this.C(n, void 0, e, s), s;
|
|
104
|
+
} };
|
|
105
|
+
}
|
|
106
|
+
if (r === "setter") {
|
|
107
|
+
const { name: n } = i;
|
|
108
|
+
return function(s) {
|
|
109
|
+
const l = this[n];
|
|
110
|
+
t.call(this, s), this.requestUpdate(n, l, e, !0, s);
|
|
111
|
+
};
|
|
112
|
+
}
|
|
113
|
+
throw Error("Unsupported decorator location: " + r);
|
|
114
|
+
};
|
|
115
|
+
function c(e) {
|
|
116
|
+
return (t, i) => typeof i == "object" ? J(e, t, i) : ((r, a, o) => {
|
|
117
|
+
const n = a.hasOwnProperty(o);
|
|
118
|
+
return a.constructor.createProperty(o, r), n ? Object.getOwnPropertyDescriptor(a, o) : void 0;
|
|
119
|
+
})(e, t, i);
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* @license
|
|
123
|
+
* Copyright 2017 Google LLC
|
|
124
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
125
|
+
*/
|
|
126
|
+
function bt(e) {
|
|
127
|
+
return c({ ...e, state: !0, attribute: !1 });
|
|
128
|
+
}
|
|
129
|
+
const Q = b`
|
|
130
|
+
:host {
|
|
131
|
+
display: flex;
|
|
132
|
+
width: inherit;
|
|
133
|
+
height: inherit;
|
|
134
|
+
}
|
|
135
|
+
`;
|
|
136
|
+
var h = function(e, t, i, r) {
|
|
137
|
+
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
138
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
139
|
+
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
140
|
+
return a > 3 && o && Object.defineProperty(t, i, o), o;
|
|
141
|
+
};
|
|
142
|
+
let u = class extends S {
|
|
143
|
+
render() {
|
|
144
|
+
return this.style.cssText = `
|
|
145
|
+
flex-direction: ${this.flexDirection};
|
|
146
|
+
flex-wrap: ${this.flexWrap};
|
|
147
|
+
flex-basis: ${this.flexBasis};
|
|
148
|
+
flex-grow: ${this.flexGrow};
|
|
149
|
+
flex-shrink: ${this.flexShrink};
|
|
150
|
+
align-items: ${this.alignItems};
|
|
151
|
+
justify-content: ${this.justifyContent};
|
|
152
|
+
column-gap: ${this.columnGap && `var(--wui-spacing-${this.columnGap})`};
|
|
153
|
+
row-gap: ${this.rowGap && `var(--wui-spacing-${this.rowGap})`};
|
|
154
|
+
gap: ${this.gap && `var(--wui-spacing-${this.gap})`};
|
|
155
|
+
padding-top: ${this.padding && w.getSpacingStyles(this.padding, 0)};
|
|
156
|
+
padding-right: ${this.padding && w.getSpacingStyles(this.padding, 1)};
|
|
157
|
+
padding-bottom: ${this.padding && w.getSpacingStyles(this.padding, 2)};
|
|
158
|
+
padding-left: ${this.padding && w.getSpacingStyles(this.padding, 3)};
|
|
159
|
+
margin-top: ${this.margin && w.getSpacingStyles(this.margin, 0)};
|
|
160
|
+
margin-right: ${this.margin && w.getSpacingStyles(this.margin, 1)};
|
|
161
|
+
margin-bottom: ${this.margin && w.getSpacingStyles(this.margin, 2)};
|
|
162
|
+
margin-left: ${this.margin && w.getSpacingStyles(this.margin, 3)};
|
|
163
|
+
`, m`<slot></slot>`;
|
|
164
|
+
}
|
|
165
|
+
};
|
|
166
|
+
u.styles = [$, Q];
|
|
167
|
+
h([
|
|
168
|
+
c()
|
|
169
|
+
], u.prototype, "flexDirection", void 0);
|
|
170
|
+
h([
|
|
171
|
+
c()
|
|
172
|
+
], u.prototype, "flexWrap", void 0);
|
|
173
|
+
h([
|
|
174
|
+
c()
|
|
175
|
+
], u.prototype, "flexBasis", void 0);
|
|
176
|
+
h([
|
|
177
|
+
c()
|
|
178
|
+
], u.prototype, "flexGrow", void 0);
|
|
179
|
+
h([
|
|
180
|
+
c()
|
|
181
|
+
], u.prototype, "flexShrink", void 0);
|
|
182
|
+
h([
|
|
183
|
+
c()
|
|
184
|
+
], u.prototype, "alignItems", void 0);
|
|
185
|
+
h([
|
|
186
|
+
c()
|
|
187
|
+
], u.prototype, "justifyContent", void 0);
|
|
188
|
+
h([
|
|
189
|
+
c()
|
|
190
|
+
], u.prototype, "columnGap", void 0);
|
|
191
|
+
h([
|
|
192
|
+
c()
|
|
193
|
+
], u.prototype, "rowGap", void 0);
|
|
194
|
+
h([
|
|
195
|
+
c()
|
|
196
|
+
], u.prototype, "gap", void 0);
|
|
197
|
+
h([
|
|
198
|
+
c()
|
|
199
|
+
], u.prototype, "padding", void 0);
|
|
200
|
+
h([
|
|
201
|
+
c()
|
|
202
|
+
], u.prototype, "margin", void 0);
|
|
203
|
+
u = h([
|
|
204
|
+
x("wui-flex")
|
|
205
|
+
], u);
|
|
206
|
+
/**
|
|
207
|
+
* @license
|
|
208
|
+
* Copyright 2018 Google LLC
|
|
209
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
210
|
+
*/
|
|
211
|
+
const St = (e) => e ?? q;
|
|
212
|
+
/**
|
|
213
|
+
* @license
|
|
214
|
+
* Copyright 2020 Google LLC
|
|
215
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
216
|
+
*/
|
|
217
|
+
const tt = (e) => e === null || typeof e != "object" && typeof e != "function", et = (e) => e.strings === void 0;
|
|
218
|
+
/**
|
|
219
|
+
* @license
|
|
220
|
+
* Copyright 2017 Google LLC
|
|
221
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
222
|
+
*/
|
|
223
|
+
const E = { ATTRIBUTE: 1, CHILD: 2 }, H = (e) => (...t) => ({ _$litDirective$: e, values: t });
|
|
224
|
+
let F = class {
|
|
225
|
+
constructor(t) {
|
|
226
|
+
}
|
|
227
|
+
get _$AU() {
|
|
228
|
+
return this._$AM._$AU;
|
|
229
|
+
}
|
|
230
|
+
_$AT(t, i, r) {
|
|
231
|
+
this._$Ct = t, this._$AM = i, this._$Ci = r;
|
|
232
|
+
}
|
|
233
|
+
_$AS(t, i) {
|
|
234
|
+
return this.update(t, i);
|
|
235
|
+
}
|
|
236
|
+
update(t, i) {
|
|
237
|
+
return this.render(...i);
|
|
238
|
+
}
|
|
239
|
+
};
|
|
240
|
+
/**
|
|
241
|
+
* @license
|
|
242
|
+
* Copyright 2017 Google LLC
|
|
243
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
244
|
+
*/
|
|
245
|
+
const _ = (e, t) => {
|
|
246
|
+
var r;
|
|
247
|
+
const i = e._$AN;
|
|
248
|
+
if (i === void 0) return !1;
|
|
249
|
+
for (const a of i) (r = a._$AO) == null || r.call(a, t, !1), _(a, t);
|
|
250
|
+
return !0;
|
|
251
|
+
}, R = (e) => {
|
|
252
|
+
let t, i;
|
|
253
|
+
do {
|
|
254
|
+
if ((t = e._$AM) === void 0) break;
|
|
255
|
+
i = t._$AN, i.delete(e), e = t;
|
|
256
|
+
} while ((i == null ? void 0 : i.size) === 0);
|
|
257
|
+
}, G = (e) => {
|
|
258
|
+
for (let t; t = e._$AM; e = t) {
|
|
259
|
+
let i = t._$AN;
|
|
260
|
+
if (i === void 0) t._$AN = i = /* @__PURE__ */ new Set();
|
|
261
|
+
else if (i.has(e)) break;
|
|
262
|
+
i.add(e), rt(t);
|
|
263
|
+
}
|
|
264
|
+
};
|
|
265
|
+
function it(e) {
|
|
266
|
+
this._$AN !== void 0 ? (R(this), this._$AM = e, G(this)) : this._$AM = e;
|
|
267
|
+
}
|
|
268
|
+
function ot(e, t = !1, i = 0) {
|
|
269
|
+
const r = this._$AH, a = this._$AN;
|
|
270
|
+
if (a !== void 0 && a.size !== 0) if (t) if (Array.isArray(r)) for (let o = i; o < r.length; o++) _(r[o], !1), R(r[o]);
|
|
271
|
+
else r != null && (_(r, !1), R(r));
|
|
272
|
+
else _(this, e);
|
|
273
|
+
}
|
|
274
|
+
const rt = (e) => {
|
|
275
|
+
e.type == E.CHILD && (e._$AP ?? (e._$AP = ot), e._$AQ ?? (e._$AQ = it));
|
|
276
|
+
};
|
|
277
|
+
class at extends F {
|
|
278
|
+
constructor() {
|
|
279
|
+
super(...arguments), this._$AN = void 0;
|
|
280
|
+
}
|
|
281
|
+
_$AT(t, i, r) {
|
|
282
|
+
super._$AT(t, i, r), G(this), this.isConnected = t._$AU;
|
|
283
|
+
}
|
|
284
|
+
_$AO(t, i = !0) {
|
|
285
|
+
var r, a;
|
|
286
|
+
t !== this.isConnected && (this.isConnected = t, t ? (r = this.reconnected) == null || r.call(this) : (a = this.disconnected) == null || a.call(this)), i && (_(this, t), R(this));
|
|
287
|
+
}
|
|
288
|
+
setValue(t) {
|
|
289
|
+
if (et(this._$Ct)) this._$Ct._$AI(t, this);
|
|
290
|
+
else {
|
|
291
|
+
const i = [...this._$Ct._$AH];
|
|
292
|
+
i[this._$Ci] = t, this._$Ct._$AI(i, this, 0);
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
disconnected() {
|
|
296
|
+
}
|
|
297
|
+
reconnected() {
|
|
298
|
+
}
|
|
299
|
+
}
|
|
300
|
+
/**
|
|
301
|
+
* @license
|
|
302
|
+
* Copyright 2021 Google LLC
|
|
303
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
304
|
+
*/
|
|
305
|
+
class nt {
|
|
306
|
+
constructor(t) {
|
|
307
|
+
this.G = t;
|
|
308
|
+
}
|
|
309
|
+
disconnect() {
|
|
310
|
+
this.G = void 0;
|
|
311
|
+
}
|
|
312
|
+
reconnect(t) {
|
|
313
|
+
this.G = t;
|
|
314
|
+
}
|
|
315
|
+
deref() {
|
|
316
|
+
return this.G;
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
class st {
|
|
320
|
+
constructor() {
|
|
321
|
+
this.Y = void 0, this.Z = void 0;
|
|
322
|
+
}
|
|
323
|
+
get() {
|
|
324
|
+
return this.Y;
|
|
325
|
+
}
|
|
326
|
+
pause() {
|
|
327
|
+
this.Y ?? (this.Y = new Promise((t) => this.Z = t));
|
|
328
|
+
}
|
|
329
|
+
resume() {
|
|
330
|
+
var t;
|
|
331
|
+
(t = this.Z) == null || t.call(this), this.Y = this.Z = void 0;
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
/**
|
|
335
|
+
* @license
|
|
336
|
+
* Copyright 2017 Google LLC
|
|
337
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
338
|
+
*/
|
|
339
|
+
const M = (e) => !tt(e) && typeof e.then == "function", D = 1073741823;
|
|
340
|
+
class ct extends at {
|
|
341
|
+
constructor() {
|
|
342
|
+
super(...arguments), this._$Cwt = D, this._$Cbt = [], this._$CK = new nt(this), this._$CX = new st();
|
|
343
|
+
}
|
|
344
|
+
render(...t) {
|
|
345
|
+
return t.find((i) => !M(i)) ?? B;
|
|
346
|
+
}
|
|
347
|
+
update(t, i) {
|
|
348
|
+
const r = this._$Cbt;
|
|
349
|
+
let a = r.length;
|
|
350
|
+
this._$Cbt = i;
|
|
351
|
+
const o = this._$CK, n = this._$CX;
|
|
352
|
+
this.isConnected || this.disconnected();
|
|
353
|
+
for (let s = 0; s < i.length && !(s > this._$Cwt); s++) {
|
|
354
|
+
const l = i[s];
|
|
355
|
+
if (!M(l)) return this._$Cwt = s, l;
|
|
356
|
+
s < a && l === r[s] || (this._$Cwt = D, a = 0, Promise.resolve(l).then(async (d) => {
|
|
357
|
+
for (; n.get(); ) await n.get();
|
|
358
|
+
const g = o.deref();
|
|
359
|
+
if (g !== void 0) {
|
|
360
|
+
const P = g._$Cbt.indexOf(l);
|
|
361
|
+
P > -1 && P < g._$Cwt && (g._$Cwt = P, g.setValue(d));
|
|
362
|
+
}
|
|
363
|
+
}));
|
|
364
|
+
}
|
|
365
|
+
return B;
|
|
366
|
+
}
|
|
367
|
+
disconnected() {
|
|
368
|
+
this._$CK.disconnect(), this._$CX.pause();
|
|
369
|
+
}
|
|
370
|
+
reconnected() {
|
|
371
|
+
this._$CK.reconnect(this), this._$CX.resume();
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
const lt = H(ct);
|
|
375
|
+
class ut {
|
|
376
|
+
constructor() {
|
|
377
|
+
this.cache = /* @__PURE__ */ new Map();
|
|
378
|
+
}
|
|
379
|
+
set(t, i) {
|
|
380
|
+
this.cache.set(t, i);
|
|
381
|
+
}
|
|
382
|
+
get(t) {
|
|
383
|
+
return this.cache.get(t);
|
|
384
|
+
}
|
|
385
|
+
has(t) {
|
|
386
|
+
return this.cache.has(t);
|
|
387
|
+
}
|
|
388
|
+
delete(t) {
|
|
389
|
+
this.cache.delete(t);
|
|
390
|
+
}
|
|
391
|
+
clear() {
|
|
392
|
+
this.cache.clear();
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
const O = new ut(), ht = b`
|
|
396
|
+
:host {
|
|
397
|
+
display: flex;
|
|
398
|
+
aspect-ratio: var(--local-aspect-ratio);
|
|
399
|
+
color: var(--local-color);
|
|
400
|
+
width: var(--local-width);
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
svg {
|
|
404
|
+
width: inherit;
|
|
405
|
+
height: inherit;
|
|
406
|
+
object-fit: contain;
|
|
407
|
+
object-position: center;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.fallback {
|
|
411
|
+
width: var(--local-width);
|
|
412
|
+
height: var(--local-height);
|
|
413
|
+
}
|
|
414
|
+
`;
|
|
415
|
+
var j = function(e, t, i, r) {
|
|
416
|
+
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
417
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
418
|
+
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
419
|
+
return a > 3 && o && Object.defineProperty(t, i, o), o;
|
|
420
|
+
};
|
|
421
|
+
const U = {
|
|
422
|
+
add: async () => (await import("./add-C1-3Nxd0.mjs")).addSvg,
|
|
423
|
+
allWallets: async () => (await import("./all-wallets-CeboYmll.mjs")).allWalletsSvg,
|
|
424
|
+
arrowBottomCircle: async () => (await import("./arrow-bottom-circle-0d4DMC8k.mjs")).arrowBottomCircleSvg,
|
|
425
|
+
appStore: async () => (await import("./app-store-C-SLhk-c.mjs")).appStoreSvg,
|
|
426
|
+
apple: async () => (await import("./apple-C0-QMsmX.mjs")).appleSvg,
|
|
427
|
+
arrowBottom: async () => (await import("./arrow-bottom-DBsoY1j4.mjs")).arrowBottomSvg,
|
|
428
|
+
arrowLeft: async () => (await import("./arrow-left-Buye_G_C.mjs")).arrowLeftSvg,
|
|
429
|
+
arrowRight: async () => (await import("./arrow-right-NcpIvTiP.mjs")).arrowRightSvg,
|
|
430
|
+
arrowTop: async () => (await import("./arrow-top-BHtmjrGh.mjs")).arrowTopSvg,
|
|
431
|
+
bank: async () => (await import("./bank-foInih1V.mjs")).bankSvg,
|
|
432
|
+
browser: async () => (await import("./browser-BC7vNobG.mjs")).browserSvg,
|
|
433
|
+
card: async () => (await import("./card--XvDDn3y.mjs")).cardSvg,
|
|
434
|
+
checkmark: async () => (await import("./checkmark-BbGho5Io.mjs")).checkmarkSvg,
|
|
435
|
+
checkmarkBold: async () => (await import("./checkmark-bold-B1F7R5EK.mjs")).checkmarkBoldSvg,
|
|
436
|
+
chevronBottom: async () => (await import("./chevron-bottom-XyYYwAR8.mjs")).chevronBottomSvg,
|
|
437
|
+
chevronLeft: async () => (await import("./chevron-left-DuAvtNd0.mjs")).chevronLeftSvg,
|
|
438
|
+
chevronRight: async () => (await import("./chevron-right-W5vVm_KB.mjs")).chevronRightSvg,
|
|
439
|
+
chevronTop: async () => (await import("./chevron-top-DFkm04W3.mjs")).chevronTopSvg,
|
|
440
|
+
chromeStore: async () => (await import("./chrome-store-CP2NiEXz.mjs")).chromeStoreSvg,
|
|
441
|
+
clock: async () => (await import("./clock-B5JaCeFx.mjs")).clockSvg,
|
|
442
|
+
close: async () => (await import("./close-w5A4PucI.mjs")).closeSvg,
|
|
443
|
+
compass: async () => (await import("./compass-CvRkiQHa.mjs")).compassSvg,
|
|
444
|
+
coinPlaceholder: async () => (await import("./coinPlaceholder-haEbTDpA.mjs")).coinPlaceholderSvg,
|
|
445
|
+
copy: async () => (await import("./copy-CyrCMq2Q.mjs")).copySvg,
|
|
446
|
+
cursor: async () => (await import("./cursor-D5uRbW9D.mjs")).cursorSvg,
|
|
447
|
+
cursorTransparent: async () => (await import("./cursor-transparent-BanA5rDD.mjs")).cursorTransparentSvg,
|
|
448
|
+
desktop: async () => (await import("./desktop-6Q-_rh47.mjs")).desktopSvg,
|
|
449
|
+
disconnect: async () => (await import("./disconnect-CRF11ye0.mjs")).disconnectSvg,
|
|
450
|
+
discord: async () => (await import("./discord-B6nj8oD_.mjs")).discordSvg,
|
|
451
|
+
etherscan: async () => (await import("./etherscan-CLcbtjKR.mjs")).etherscanSvg,
|
|
452
|
+
extension: async () => (await import("./extension-t0E2b7ef.mjs")).extensionSvg,
|
|
453
|
+
externalLink: async () => (await import("./external-link-B-Lcyi6R.mjs")).externalLinkSvg,
|
|
454
|
+
facebook: async () => (await import("./facebook-Cnfem7th.mjs")).facebookSvg,
|
|
455
|
+
farcaster: async () => (await import("./farcaster-BlN1w-oR.mjs")).farcasterSvg,
|
|
456
|
+
filters: async () => (await import("./filters-DY5tpPJB.mjs")).filtersSvg,
|
|
457
|
+
github: async () => (await import("./github-BnOjmw_1.mjs")).githubSvg,
|
|
458
|
+
google: async () => (await import("./google-ySq_VIsy.mjs")).googleSvg,
|
|
459
|
+
helpCircle: async () => (await import("./help-circle-D_pee-dG.mjs")).helpCircleSvg,
|
|
460
|
+
image: async () => (await import("./image-Cs26jwi7.mjs")).imageSvg,
|
|
461
|
+
id: async () => (await import("./id-CuusF9Qd.mjs")).idSvg,
|
|
462
|
+
infoCircle: async () => (await import("./info-circle-sI2i5HOv.mjs")).infoCircleSvg,
|
|
463
|
+
lightbulb: async () => (await import("./lightbulb-BYmcwWUA.mjs")).lightbulbSvg,
|
|
464
|
+
mail: async () => (await import("./mail-CT9BLct_.mjs")).mailSvg,
|
|
465
|
+
mobile: async () => (await import("./mobile-DRfo1ZAq.mjs")).mobileSvg,
|
|
466
|
+
more: async () => (await import("./more-DvtnI5Dv.mjs")).moreSvg,
|
|
467
|
+
networkPlaceholder: async () => (await import("./network-placeholder-DOmySIjI.mjs")).networkPlaceholderSvg,
|
|
468
|
+
nftPlaceholder: async () => (await import("./nftPlaceholder-CRB7uOjv.mjs")).nftPlaceholderSvg,
|
|
469
|
+
off: async () => (await import("./off-LjovEQOy.mjs")).offSvg,
|
|
470
|
+
playStore: async () => (await import("./play-store-BwddU0Wq.mjs")).playStoreSvg,
|
|
471
|
+
plus: async () => (await import("./plus-C-X64_gj.mjs")).plusSvg,
|
|
472
|
+
qrCode: async () => (await import("./qr-code-bLEKEk0B.mjs")).qrCodeIcon,
|
|
473
|
+
recycleHorizontal: async () => (await import("./recycle-horizontal-CS_0PZGV.mjs")).recycleHorizontalSvg,
|
|
474
|
+
refresh: async () => (await import("./refresh-C_qXNL0S.mjs")).refreshSvg,
|
|
475
|
+
search: async () => (await import("./search-CQuKFVAx.mjs")).searchSvg,
|
|
476
|
+
send: async () => (await import("./send-qTi-ybzM.mjs")).sendSvg,
|
|
477
|
+
swapHorizontal: async () => (await import("./swapHorizontal-C3MNcVMo.mjs")).swapHorizontalSvg,
|
|
478
|
+
swapHorizontalMedium: async () => (await import("./swapHorizontalMedium-Bo6Sszm7.mjs")).swapHorizontalMediumSvg,
|
|
479
|
+
swapHorizontalBold: async () => (await import("./swapHorizontalBold-C_GQta-j.mjs")).swapHorizontalBoldSvg,
|
|
480
|
+
swapHorizontalRoundedBold: async () => (await import("./swapHorizontalRoundedBold-B5EvZSwz.mjs")).swapHorizontalRoundedBoldSvg,
|
|
481
|
+
swapVertical: async () => (await import("./swapVertical-cHQwpGr0.mjs")).swapVerticalSvg,
|
|
482
|
+
telegram: async () => (await import("./telegram-BdrptLN3.mjs")).telegramSvg,
|
|
483
|
+
threeDots: async () => (await import("./three-dots-DEs9ZhDC.mjs")).threeDotsSvg,
|
|
484
|
+
twitch: async () => (await import("./twitch-IQhZ8m1X.mjs")).twitchSvg,
|
|
485
|
+
twitter: async () => (await import("./x-DG2aE2ub.mjs")).xSvg,
|
|
486
|
+
twitterIcon: async () => (await import("./twitterIcon-DsS9CDA5.mjs")).twitterIconSvg,
|
|
487
|
+
verify: async () => (await import("./verify-DOD4hBvs.mjs")).verifySvg,
|
|
488
|
+
verifyFilled: async () => (await import("./verify-filled-QPe9Hi2W.mjs")).verifyFilledSvg,
|
|
489
|
+
wallet: async () => (await import("./wallet-ByF6bf_R.mjs")).walletSvg,
|
|
490
|
+
walletConnect: async () => (await import("./walletconnect-B2bmSYc7.mjs")).walletConnectSvg,
|
|
491
|
+
walletConnectLightBrown: async () => (await import("./walletconnect-B2bmSYc7.mjs")).walletConnectLightBrownSvg,
|
|
492
|
+
walletConnectBrown: async () => (await import("./walletconnect-B2bmSYc7.mjs")).walletConnectBrownSvg,
|
|
493
|
+
walletPlaceholder: async () => (await import("./wallet-placeholder-DBpXjyqE.mjs")).walletPlaceholderSvg,
|
|
494
|
+
warningCircle: async () => (await import("./warning-circle-CYTT9cYz.mjs")).warningCircleSvg,
|
|
495
|
+
x: async () => (await import("./x-DG2aE2ub.mjs")).xSvg,
|
|
496
|
+
info: async () => (await import("./info-Cb2Tnwp9.mjs")).infoSvg,
|
|
497
|
+
exclamationTriangle: async () => (await import("./exclamation-triangle-CxJuBpFB.mjs")).exclamationTriangleSvg,
|
|
498
|
+
reown: async () => (await import("./reown-logo-CBPzCyQW.mjs")).reownSvg
|
|
499
|
+
};
|
|
500
|
+
async function pt(e) {
|
|
501
|
+
if (O.has(e))
|
|
502
|
+
return O.get(e);
|
|
503
|
+
const i = (U[e] ?? U.copy)();
|
|
504
|
+
return O.set(e, i), i;
|
|
505
|
+
}
|
|
506
|
+
let v = class extends S {
|
|
507
|
+
constructor() {
|
|
508
|
+
super(...arguments), this.size = "md", this.name = "copy", this.color = "fg-300", this.aspectRatio = "1 / 1";
|
|
509
|
+
}
|
|
510
|
+
render() {
|
|
511
|
+
return this.style.cssText = `
|
|
512
|
+
--local-color: ${`var(--wui-color-${this.color});`}
|
|
513
|
+
--local-width: ${`var(--wui-icon-size-${this.size});`}
|
|
514
|
+
--local-aspect-ratio: ${this.aspectRatio}
|
|
515
|
+
`, m`${lt(pt(this.name), m`<div class="fallback"></div>`)}`;
|
|
516
|
+
}
|
|
517
|
+
};
|
|
518
|
+
v.styles = [$, W, ht];
|
|
519
|
+
j([
|
|
520
|
+
c()
|
|
521
|
+
], v.prototype, "size", void 0);
|
|
522
|
+
j([
|
|
523
|
+
c()
|
|
524
|
+
], v.prototype, "name", void 0);
|
|
525
|
+
j([
|
|
526
|
+
c()
|
|
527
|
+
], v.prototype, "color", void 0);
|
|
528
|
+
j([
|
|
529
|
+
c()
|
|
530
|
+
], v.prototype, "aspectRatio", void 0);
|
|
531
|
+
v = j([
|
|
532
|
+
x("wui-icon")
|
|
533
|
+
], v);
|
|
534
|
+
/**
|
|
535
|
+
* @license
|
|
536
|
+
* Copyright 2018 Google LLC
|
|
537
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
538
|
+
*/
|
|
539
|
+
const dt = H(class extends F {
|
|
540
|
+
constructor(e) {
|
|
541
|
+
var t;
|
|
542
|
+
if (super(e), e.type !== E.ATTRIBUTE || e.name !== "class" || ((t = e.strings) == null ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
|
543
|
+
}
|
|
544
|
+
render(e) {
|
|
545
|
+
return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
|
|
546
|
+
}
|
|
547
|
+
update(e, [t]) {
|
|
548
|
+
var r, a;
|
|
549
|
+
if (this.st === void 0) {
|
|
550
|
+
this.st = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((o) => o !== "")));
|
|
551
|
+
for (const o in t) t[o] && !((r = this.nt) != null && r.has(o)) && this.st.add(o);
|
|
552
|
+
return this.render(t);
|
|
553
|
+
}
|
|
554
|
+
const i = e.element.classList;
|
|
555
|
+
for (const o of this.st) o in t || (i.remove(o), this.st.delete(o));
|
|
556
|
+
for (const o in t) {
|
|
557
|
+
const n = !!t[o];
|
|
558
|
+
n === this.st.has(o) || (a = this.nt) != null && a.has(o) || (n ? (i.add(o), this.st.add(o)) : (i.remove(o), this.st.delete(o)));
|
|
559
|
+
}
|
|
560
|
+
return B;
|
|
561
|
+
}
|
|
562
|
+
}), gt = b`
|
|
563
|
+
:host {
|
|
564
|
+
display: inline-flex !important;
|
|
565
|
+
}
|
|
566
|
+
|
|
567
|
+
slot {
|
|
568
|
+
width: 100%;
|
|
569
|
+
display: inline-block;
|
|
570
|
+
font-style: normal;
|
|
571
|
+
font-family: var(--wui-font-family);
|
|
572
|
+
font-feature-settings:
|
|
573
|
+
'tnum' on,
|
|
574
|
+
'lnum' on,
|
|
575
|
+
'case' on;
|
|
576
|
+
line-height: 130%;
|
|
577
|
+
font-weight: var(--wui-font-weight-regular);
|
|
578
|
+
overflow: inherit;
|
|
579
|
+
text-overflow: inherit;
|
|
580
|
+
text-align: var(--local-align);
|
|
581
|
+
color: var(--local-color);
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.wui-line-clamp-1 {
|
|
585
|
+
overflow: hidden;
|
|
586
|
+
display: -webkit-box;
|
|
587
|
+
-webkit-box-orient: vertical;
|
|
588
|
+
-webkit-line-clamp: 1;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
.wui-line-clamp-2 {
|
|
592
|
+
overflow: hidden;
|
|
593
|
+
display: -webkit-box;
|
|
594
|
+
-webkit-box-orient: vertical;
|
|
595
|
+
-webkit-line-clamp: 2;
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
.wui-font-medium-400 {
|
|
599
|
+
font-size: var(--wui-font-size-medium);
|
|
600
|
+
font-weight: var(--wui-font-weight-light);
|
|
601
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
.wui-font-medium-600 {
|
|
605
|
+
font-size: var(--wui-font-size-medium);
|
|
606
|
+
letter-spacing: var(--wui-letter-spacing-medium);
|
|
607
|
+
}
|
|
608
|
+
|
|
609
|
+
.wui-font-title-600 {
|
|
610
|
+
font-size: var(--wui-font-size-title);
|
|
611
|
+
letter-spacing: var(--wui-letter-spacing-title);
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.wui-font-title-6-600 {
|
|
615
|
+
font-size: var(--wui-font-size-title-6);
|
|
616
|
+
letter-spacing: var(--wui-letter-spacing-title-6);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
.wui-font-mini-700 {
|
|
620
|
+
font-size: var(--wui-font-size-mini);
|
|
621
|
+
letter-spacing: var(--wui-letter-spacing-mini);
|
|
622
|
+
text-transform: uppercase;
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
.wui-font-large-500,
|
|
626
|
+
.wui-font-large-600,
|
|
627
|
+
.wui-font-large-700 {
|
|
628
|
+
font-size: var(--wui-font-size-large);
|
|
629
|
+
letter-spacing: var(--wui-letter-spacing-large);
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
.wui-font-2xl-500,
|
|
633
|
+
.wui-font-2xl-600,
|
|
634
|
+
.wui-font-2xl-700 {
|
|
635
|
+
font-size: var(--wui-font-size-2xl);
|
|
636
|
+
letter-spacing: var(--wui-letter-spacing-2xl);
|
|
637
|
+
}
|
|
638
|
+
|
|
639
|
+
.wui-font-paragraph-400,
|
|
640
|
+
.wui-font-paragraph-500,
|
|
641
|
+
.wui-font-paragraph-600,
|
|
642
|
+
.wui-font-paragraph-700 {
|
|
643
|
+
font-size: var(--wui-font-size-paragraph);
|
|
644
|
+
letter-spacing: var(--wui-letter-spacing-paragraph);
|
|
645
|
+
}
|
|
646
|
+
|
|
647
|
+
.wui-font-small-400,
|
|
648
|
+
.wui-font-small-500,
|
|
649
|
+
.wui-font-small-600 {
|
|
650
|
+
font-size: var(--wui-font-size-small);
|
|
651
|
+
letter-spacing: var(--wui-letter-spacing-small);
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
.wui-font-tiny-400,
|
|
655
|
+
.wui-font-tiny-500,
|
|
656
|
+
.wui-font-tiny-600 {
|
|
657
|
+
font-size: var(--wui-font-size-tiny);
|
|
658
|
+
letter-spacing: var(--wui-letter-spacing-tiny);
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
.wui-font-micro-700,
|
|
662
|
+
.wui-font-micro-600 {
|
|
663
|
+
font-size: var(--wui-font-size-micro);
|
|
664
|
+
letter-spacing: var(--wui-letter-spacing-micro);
|
|
665
|
+
text-transform: uppercase;
|
|
666
|
+
}
|
|
667
|
+
|
|
668
|
+
.wui-font-tiny-400,
|
|
669
|
+
.wui-font-small-400,
|
|
670
|
+
.wui-font-medium-400,
|
|
671
|
+
.wui-font-paragraph-400 {
|
|
672
|
+
font-weight: var(--wui-font-weight-light);
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
.wui-font-large-700,
|
|
676
|
+
.wui-font-paragraph-700,
|
|
677
|
+
.wui-font-micro-700,
|
|
678
|
+
.wui-font-mini-700 {
|
|
679
|
+
font-weight: var(--wui-font-weight-bold);
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.wui-font-medium-600,
|
|
683
|
+
.wui-font-medium-title-600,
|
|
684
|
+
.wui-font-title-6-600,
|
|
685
|
+
.wui-font-large-600,
|
|
686
|
+
.wui-font-paragraph-600,
|
|
687
|
+
.wui-font-small-600,
|
|
688
|
+
.wui-font-tiny-600,
|
|
689
|
+
.wui-font-micro-600 {
|
|
690
|
+
font-weight: var(--wui-font-weight-medium);
|
|
691
|
+
}
|
|
692
|
+
|
|
693
|
+
:host([disabled]) {
|
|
694
|
+
opacity: 0.4;
|
|
695
|
+
}
|
|
696
|
+
`;
|
|
697
|
+
var A = function(e, t, i, r) {
|
|
698
|
+
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
699
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
700
|
+
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
701
|
+
return a > 3 && o && Object.defineProperty(t, i, o), o;
|
|
702
|
+
};
|
|
703
|
+
let y = class extends S {
|
|
704
|
+
constructor() {
|
|
705
|
+
super(...arguments), this.variant = "paragraph-500", this.color = "fg-300", this.align = "left", this.lineClamp = void 0;
|
|
706
|
+
}
|
|
707
|
+
render() {
|
|
708
|
+
const t = {
|
|
709
|
+
[`wui-font-${this.variant}`]: !0,
|
|
710
|
+
[`wui-color-${this.color}`]: !0,
|
|
711
|
+
[`wui-line-clamp-${this.lineClamp}`]: !!this.lineClamp
|
|
712
|
+
};
|
|
713
|
+
return this.style.cssText = `
|
|
714
|
+
--local-align: ${this.align};
|
|
715
|
+
--local-color: var(--wui-color-${this.color});
|
|
716
|
+
`, m`<slot class=${dt(t)}></slot>`;
|
|
717
|
+
}
|
|
718
|
+
};
|
|
719
|
+
y.styles = [$, gt];
|
|
720
|
+
A([
|
|
721
|
+
c()
|
|
722
|
+
], y.prototype, "variant", void 0);
|
|
723
|
+
A([
|
|
724
|
+
c()
|
|
725
|
+
], y.prototype, "color", void 0);
|
|
726
|
+
A([
|
|
727
|
+
c()
|
|
728
|
+
], y.prototype, "align", void 0);
|
|
729
|
+
A([
|
|
730
|
+
c()
|
|
731
|
+
], y.prototype, "lineClamp", void 0);
|
|
732
|
+
y = A([
|
|
733
|
+
x("wui-text")
|
|
734
|
+
], y);
|
|
735
|
+
const ft = b`
|
|
736
|
+
:host {
|
|
737
|
+
display: inline-flex;
|
|
738
|
+
justify-content: center;
|
|
739
|
+
align-items: center;
|
|
740
|
+
position: relative;
|
|
741
|
+
overflow: hidden;
|
|
742
|
+
background-color: var(--wui-color-gray-glass-020);
|
|
743
|
+
border-radius: var(--local-border-radius);
|
|
744
|
+
border: var(--local-border);
|
|
745
|
+
box-sizing: content-box;
|
|
746
|
+
width: var(--local-size);
|
|
747
|
+
height: var(--local-size);
|
|
748
|
+
min-height: var(--local-size);
|
|
749
|
+
min-width: var(--local-size);
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
@supports (background: color-mix(in srgb, white 50%, black)) {
|
|
753
|
+
:host {
|
|
754
|
+
background-color: color-mix(in srgb, var(--local-bg-value) var(--local-bg-mix), transparent);
|
|
755
|
+
}
|
|
756
|
+
}
|
|
757
|
+
`;
|
|
758
|
+
var f = function(e, t, i, r) {
|
|
759
|
+
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
760
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
761
|
+
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
762
|
+
return a > 3 && o && Object.defineProperty(t, i, o), o;
|
|
763
|
+
};
|
|
764
|
+
let p = class extends S {
|
|
765
|
+
constructor() {
|
|
766
|
+
super(...arguments), this.size = "md", this.backgroundColor = "accent-100", this.iconColor = "accent-100", this.background = "transparent", this.border = !1, this.borderColor = "wui-color-bg-125", this.icon = "copy";
|
|
767
|
+
}
|
|
768
|
+
render() {
|
|
769
|
+
const t = this.iconSize || this.size, i = this.size === "lg", r = this.size === "xl", a = i ? "12%" : "16%", o = i ? "xxs" : r ? "s" : "3xl", n = this.background === "gray", s = this.background === "opaque", l = this.backgroundColor === "accent-100" && s || this.backgroundColor === "success-100" && s || this.backgroundColor === "error-100" && s || this.backgroundColor === "inverse-100" && s;
|
|
770
|
+
let d = `var(--wui-color-${this.backgroundColor})`;
|
|
771
|
+
return l ? d = `var(--wui-icon-box-bg-${this.backgroundColor})` : n && (d = `var(--wui-color-gray-${this.backgroundColor})`), this.style.cssText = `
|
|
772
|
+
--local-bg-value: ${d};
|
|
773
|
+
--local-bg-mix: ${l || n ? "100%" : a};
|
|
774
|
+
--local-border-radius: var(--wui-border-radius-${o});
|
|
775
|
+
--local-size: var(--wui-icon-box-size-${this.size});
|
|
776
|
+
--local-border: ${this.borderColor === "wui-color-bg-125" ? "2px" : "1px"} solid ${this.border ? `var(--${this.borderColor})` : "transparent"}
|
|
777
|
+
`, m` <wui-icon color=${this.iconColor} size=${t} name=${this.icon}></wui-icon> `;
|
|
778
|
+
}
|
|
779
|
+
};
|
|
780
|
+
p.styles = [$, Y, ft];
|
|
781
|
+
f([
|
|
782
|
+
c()
|
|
783
|
+
], p.prototype, "size", void 0);
|
|
784
|
+
f([
|
|
785
|
+
c()
|
|
786
|
+
], p.prototype, "backgroundColor", void 0);
|
|
787
|
+
f([
|
|
788
|
+
c()
|
|
789
|
+
], p.prototype, "iconColor", void 0);
|
|
790
|
+
f([
|
|
791
|
+
c()
|
|
792
|
+
], p.prototype, "iconSize", void 0);
|
|
793
|
+
f([
|
|
794
|
+
c()
|
|
795
|
+
], p.prototype, "background", void 0);
|
|
796
|
+
f([
|
|
797
|
+
c({ type: Boolean })
|
|
798
|
+
], p.prototype, "border", void 0);
|
|
799
|
+
f([
|
|
800
|
+
c()
|
|
801
|
+
], p.prototype, "borderColor", void 0);
|
|
802
|
+
f([
|
|
803
|
+
c()
|
|
804
|
+
], p.prototype, "icon", void 0);
|
|
805
|
+
p = f([
|
|
806
|
+
x("wui-icon-box")
|
|
807
|
+
], p);
|
|
808
|
+
const wt = b`
|
|
809
|
+
:host {
|
|
810
|
+
display: block;
|
|
811
|
+
width: var(--local-width);
|
|
812
|
+
height: var(--local-height);
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
img {
|
|
816
|
+
display: block;
|
|
817
|
+
width: 100%;
|
|
818
|
+
height: 100%;
|
|
819
|
+
object-fit: cover;
|
|
820
|
+
object-position: center center;
|
|
821
|
+
border-radius: inherit;
|
|
822
|
+
}
|
|
823
|
+
`;
|
|
824
|
+
var T = function(e, t, i, r) {
|
|
825
|
+
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
826
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
827
|
+
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
828
|
+
return a > 3 && o && Object.defineProperty(t, i, o), o;
|
|
829
|
+
};
|
|
830
|
+
let C = class extends S {
|
|
831
|
+
constructor() {
|
|
832
|
+
super(...arguments), this.src = "./path/to/image.jpg", this.alt = "Image", this.size = void 0;
|
|
833
|
+
}
|
|
834
|
+
render() {
|
|
835
|
+
return this.style.cssText = `
|
|
836
|
+
--local-width: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
837
|
+
--local-height: ${this.size ? `var(--wui-icon-size-${this.size});` : "100%"};
|
|
838
|
+
`, m`<img src=${this.src} alt=${this.alt} @error=${this.handleImageError} />`;
|
|
839
|
+
}
|
|
840
|
+
handleImageError() {
|
|
841
|
+
this.dispatchEvent(new CustomEvent("onLoadError", { bubbles: !0, composed: !0 }));
|
|
842
|
+
}
|
|
843
|
+
};
|
|
844
|
+
C.styles = [$, W, wt];
|
|
845
|
+
T([
|
|
846
|
+
c()
|
|
847
|
+
], C.prototype, "src", void 0);
|
|
848
|
+
T([
|
|
849
|
+
c()
|
|
850
|
+
], C.prototype, "alt", void 0);
|
|
851
|
+
T([
|
|
852
|
+
c()
|
|
853
|
+
], C.prototype, "size", void 0);
|
|
854
|
+
C = T([
|
|
855
|
+
x("wui-image")
|
|
856
|
+
], C);
|
|
857
|
+
const mt = b`
|
|
858
|
+
:host {
|
|
859
|
+
display: flex;
|
|
860
|
+
justify-content: center;
|
|
861
|
+
align-items: center;
|
|
862
|
+
height: var(--wui-spacing-m);
|
|
863
|
+
padding: 0 var(--wui-spacing-3xs) !important;
|
|
864
|
+
border-radius: var(--wui-border-radius-5xs);
|
|
865
|
+
transition:
|
|
866
|
+
border-radius var(--wui-duration-lg) var(--wui-ease-out-power-1),
|
|
867
|
+
background-color var(--wui-duration-lg) var(--wui-ease-out-power-1);
|
|
868
|
+
will-change: border-radius, background-color;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
:host > wui-text {
|
|
872
|
+
transform: translateY(5%);
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
:host([data-variant='main']) {
|
|
876
|
+
background-color: var(--wui-color-accent-glass-015);
|
|
877
|
+
color: var(--wui-color-accent-100);
|
|
878
|
+
}
|
|
879
|
+
|
|
880
|
+
:host([data-variant='shade']) {
|
|
881
|
+
background-color: var(--wui-color-gray-glass-010);
|
|
882
|
+
color: var(--wui-color-fg-200);
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
:host([data-variant='success']) {
|
|
886
|
+
background-color: var(--wui-icon-box-bg-success-100);
|
|
887
|
+
color: var(--wui-color-success-100);
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
:host([data-variant='error']) {
|
|
891
|
+
background-color: var(--wui-icon-box-bg-error-100);
|
|
892
|
+
color: var(--wui-color-error-100);
|
|
893
|
+
}
|
|
894
|
+
|
|
895
|
+
:host([data-size='lg']) {
|
|
896
|
+
padding: 11px 5px !important;
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
:host([data-size='lg']) > wui-text {
|
|
900
|
+
transform: translateY(2%);
|
|
901
|
+
}
|
|
902
|
+
`;
|
|
903
|
+
var I = function(e, t, i, r) {
|
|
904
|
+
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
905
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
906
|
+
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
907
|
+
return a > 3 && o && Object.defineProperty(t, i, o), o;
|
|
908
|
+
};
|
|
909
|
+
let z = class extends S {
|
|
910
|
+
constructor() {
|
|
911
|
+
super(...arguments), this.variant = "main", this.size = "lg";
|
|
912
|
+
}
|
|
913
|
+
render() {
|
|
914
|
+
this.dataset.variant = this.variant, this.dataset.size = this.size;
|
|
915
|
+
const t = this.size === "md" ? "mini-700" : "micro-700";
|
|
916
|
+
return m`
|
|
917
|
+
<wui-text data-variant=${this.variant} variant=${t} color="inherit">
|
|
918
|
+
<slot></slot>
|
|
919
|
+
</wui-text>
|
|
920
|
+
`;
|
|
921
|
+
}
|
|
922
|
+
};
|
|
923
|
+
z.styles = [$, mt];
|
|
924
|
+
I([
|
|
925
|
+
c()
|
|
926
|
+
], z.prototype, "variant", void 0);
|
|
927
|
+
I([
|
|
928
|
+
c()
|
|
929
|
+
], z.prototype, "size", void 0);
|
|
930
|
+
z = I([
|
|
931
|
+
x("wui-tag")
|
|
932
|
+
], z);
|
|
933
|
+
const vt = b`
|
|
934
|
+
:host {
|
|
935
|
+
display: flex;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
:host([data-size='sm']) > svg {
|
|
939
|
+
width: 12px;
|
|
940
|
+
height: 12px;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
:host([data-size='md']) > svg {
|
|
944
|
+
width: 16px;
|
|
945
|
+
height: 16px;
|
|
946
|
+
}
|
|
947
|
+
|
|
948
|
+
:host([data-size='lg']) > svg {
|
|
949
|
+
width: 24px;
|
|
950
|
+
height: 24px;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
:host([data-size='xl']) > svg {
|
|
954
|
+
width: 32px;
|
|
955
|
+
height: 32px;
|
|
956
|
+
}
|
|
957
|
+
|
|
958
|
+
svg {
|
|
959
|
+
animation: rotate 2s linear infinite;
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
circle {
|
|
963
|
+
fill: none;
|
|
964
|
+
stroke: var(--local-color);
|
|
965
|
+
stroke-width: 4px;
|
|
966
|
+
stroke-dasharray: 1, 124;
|
|
967
|
+
stroke-dashoffset: 0;
|
|
968
|
+
stroke-linecap: round;
|
|
969
|
+
animation: dash 1.5s ease-in-out infinite;
|
|
970
|
+
}
|
|
971
|
+
|
|
972
|
+
:host([data-size='md']) > svg > circle {
|
|
973
|
+
stroke-width: 6px;
|
|
974
|
+
}
|
|
975
|
+
|
|
976
|
+
:host([data-size='sm']) > svg > circle {
|
|
977
|
+
stroke-width: 8px;
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
@keyframes rotate {
|
|
981
|
+
100% {
|
|
982
|
+
transform: rotate(360deg);
|
|
983
|
+
}
|
|
984
|
+
}
|
|
985
|
+
|
|
986
|
+
@keyframes dash {
|
|
987
|
+
0% {
|
|
988
|
+
stroke-dasharray: 1, 124;
|
|
989
|
+
stroke-dashoffset: 0;
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
50% {
|
|
993
|
+
stroke-dasharray: 90, 124;
|
|
994
|
+
stroke-dashoffset: -35;
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
100% {
|
|
998
|
+
stroke-dashoffset: -125;
|
|
999
|
+
}
|
|
1000
|
+
}
|
|
1001
|
+
`;
|
|
1002
|
+
var L = function(e, t, i, r) {
|
|
1003
|
+
var a = arguments.length, o = a < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, i) : r, n;
|
|
1004
|
+
if (typeof Reflect == "object" && typeof Reflect.decorate == "function") o = Reflect.decorate(e, t, i, r);
|
|
1005
|
+
else for (var s = e.length - 1; s >= 0; s--) (n = e[s]) && (o = (a < 3 ? n(o) : a > 3 ? n(t, i, o) : n(t, i)) || o);
|
|
1006
|
+
return a > 3 && o && Object.defineProperty(t, i, o), o;
|
|
1007
|
+
};
|
|
1008
|
+
let k = class extends S {
|
|
1009
|
+
constructor() {
|
|
1010
|
+
super(...arguments), this.color = "accent-100", this.size = "lg";
|
|
1011
|
+
}
|
|
1012
|
+
render() {
|
|
1013
|
+
return this.style.cssText = `--local-color: ${this.color === "inherit" ? "inherit" : `var(--wui-color-${this.color})`}`, this.dataset.size = this.size, m`<svg viewBox="25 25 50 50">
|
|
1014
|
+
<circle r="20" cy="50" cx="50"></circle>
|
|
1015
|
+
</svg>`;
|
|
1016
|
+
}
|
|
1017
|
+
};
|
|
1018
|
+
k.styles = [$, vt];
|
|
1019
|
+
L([
|
|
1020
|
+
c()
|
|
1021
|
+
], k.prototype, "color", void 0);
|
|
1022
|
+
L([
|
|
1023
|
+
c()
|
|
1024
|
+
], k.prototype, "size", void 0);
|
|
1025
|
+
k = L([
|
|
1026
|
+
x("wui-loading-spinner")
|
|
1027
|
+
], k);
|
|
1028
|
+
export {
|
|
1029
|
+
w as U,
|
|
1030
|
+
dt as a,
|
|
1031
|
+
x as c,
|
|
1032
|
+
H as e,
|
|
1033
|
+
at as f,
|
|
1034
|
+
c as n,
|
|
1035
|
+
St as o,
|
|
1036
|
+
bt as r
|
|
1037
|
+
};
|