@m0-foundation/swap-component 0.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/dist/m0-swap-component/ConstantsUtil-btJ3XIXu.js +28 -0
- package/dist/m0-swap-component/ConstantsUtil-btJ3XIXu.js.map +1 -0
- package/dist/m0-swap-component/HelpersUtil-5wkO4kIW.js +142 -0
- package/dist/m0-swap-component/HelpersUtil-5wkO4kIW.js.map +1 -0
- package/dist/m0-swap-component/PhArrowCircleDown-BiDIiYXi.js +76 -0
- package/dist/m0-swap-component/PhArrowCircleDown-BiDIiYXi.js.map +1 -0
- package/dist/m0-swap-component/PhArrowClockwise-BRnlxNUR.js +76 -0
- package/dist/m0-swap-component/PhArrowClockwise-BRnlxNUR.js.map +1 -0
- package/dist/m0-swap-component/PhArrowDown-Co2hyXIs.js +76 -0
- package/dist/m0-swap-component/PhArrowDown-Co2hyXIs.js.map +1 -0
- package/dist/m0-swap-component/PhArrowLeft-Cb8ijwK6.js +76 -0
- package/dist/m0-swap-component/PhArrowLeft-Cb8ijwK6.js.map +1 -0
- package/dist/m0-swap-component/PhArrowRight-B9t--Gmh.js +76 -0
- package/dist/m0-swap-component/PhArrowRight-B9t--Gmh.js.map +1 -0
- package/dist/m0-swap-component/PhArrowSquareOut-eGBMEr5T.js +76 -0
- package/dist/m0-swap-component/PhArrowSquareOut-eGBMEr5T.js.map +1 -0
- package/dist/m0-swap-component/PhArrowUp-CjSpT-xh.js +76 -0
- package/dist/m0-swap-component/PhArrowUp-CjSpT-xh.js.map +1 -0
- package/dist/m0-swap-component/PhArrowUpRight-B8u6wk-A.js +76 -0
- package/dist/m0-swap-component/PhArrowUpRight-B8u6wk-A.js.map +1 -0
- package/dist/m0-swap-component/PhArrowsClockwise-CBcfV6j6.js +76 -0
- package/dist/m0-swap-component/PhArrowsClockwise-CBcfV6j6.js.map +1 -0
- package/dist/m0-swap-component/PhArrowsDownUp-CMVR84b1.js +76 -0
- package/dist/m0-swap-component/PhArrowsDownUp-CMVR84b1.js.map +1 -0
- package/dist/m0-swap-component/PhArrowsLeftRight-CmXk8rs2.js +76 -0
- package/dist/m0-swap-component/PhArrowsLeftRight-CmXk8rs2.js.map +1 -0
- package/dist/m0-swap-component/PhBank-BigtjnS8.js +76 -0
- package/dist/m0-swap-component/PhBank-BigtjnS8.js.map +1 -0
- package/dist/m0-swap-component/PhBrowser-BOulLD8D.js +76 -0
- package/dist/m0-swap-component/PhBrowser-BOulLD8D.js.map +1 -0
- package/dist/m0-swap-component/PhCaretDown-BvvZ65ad.js +76 -0
- package/dist/m0-swap-component/PhCaretDown-BvvZ65ad.js.map +1 -0
- package/dist/m0-swap-component/PhCaretLeft-DtwjZbZ7.js +76 -0
- package/dist/m0-swap-component/PhCaretLeft-DtwjZbZ7.js.map +1 -0
- package/dist/m0-swap-component/PhCaretRight-C8LuSZkO.js +76 -0
- package/dist/m0-swap-component/PhCaretRight-C8LuSZkO.js.map +1 -0
- package/dist/m0-swap-component/PhCaretUp-B2lAObip.js +76 -0
- package/dist/m0-swap-component/PhCaretUp-B2lAObip.js.map +1 -0
- package/dist/m0-swap-component/PhCheck-DQtuVrQf.js +76 -0
- package/dist/m0-swap-component/PhCheck-DQtuVrQf.js.map +1 -0
- package/dist/m0-swap-component/PhCircleHalf-CXfZ0QZv.js +76 -0
- package/dist/m0-swap-component/PhCircleHalf-CXfZ0QZv.js.map +1 -0
- package/dist/m0-swap-component/PhClock-CXsmuc_a.js +76 -0
- package/dist/m0-swap-component/PhClock-CXsmuc_a.js.map +1 -0
- package/dist/m0-swap-component/PhCompass-Cg-qnMon.js +76 -0
- package/dist/m0-swap-component/PhCompass-Cg-qnMon.js.map +1 -0
- package/dist/m0-swap-component/PhCopy-kGRKcvb4.js +76 -0
- package/dist/m0-swap-component/PhCopy-kGRKcvb4.js.map +1 -0
- package/dist/m0-swap-component/PhCreditCard-jYFausLO.js +76 -0
- package/dist/m0-swap-component/PhCreditCard-jYFausLO.js.map +1 -0
- package/dist/m0-swap-component/PhCurrencyDollar-C8vSY3fy.js +76 -0
- package/dist/m0-swap-component/PhCurrencyDollar-C8vSY3fy.js.map +1 -0
- package/dist/m0-swap-component/PhDesktop-AczlBCho.js +76 -0
- package/dist/m0-swap-component/PhDesktop-AczlBCho.js.map +1 -0
- package/dist/m0-swap-component/PhDeviceMobile-3rFbdWLA.js +76 -0
- package/dist/m0-swap-component/PhDeviceMobile-3rFbdWLA.js.map +1 -0
- package/dist/m0-swap-component/PhDotsThree-cJsXXsvY.js +76 -0
- package/dist/m0-swap-component/PhDotsThree-cJsXXsvY.js.map +1 -0
- package/dist/m0-swap-component/PhEnvelope-C1bxHVXw.js +76 -0
- package/dist/m0-swap-component/PhEnvelope-C1bxHVXw.js.map +1 -0
- package/dist/m0-swap-component/PhFunnelSimple-DhqB9fsu.js +76 -0
- package/dist/m0-swap-component/PhFunnelSimple-DhqB9fsu.js.map +1 -0
- package/dist/m0-swap-component/PhGlobe-BFp6kx95.js +76 -0
- package/dist/m0-swap-component/PhGlobe-BFp6kx95.js.map +1 -0
- package/dist/m0-swap-component/PhIdentificationCard-BdYxckWB.js +76 -0
- package/dist/m0-swap-component/PhIdentificationCard-BdYxckWB.js.map +1 -0
- package/dist/m0-swap-component/PhImage-CXxX5oq3.js +76 -0
- package/dist/m0-swap-component/PhImage-CXxX5oq3.js.map +1 -0
- package/dist/m0-swap-component/PhInfo-BcuP36hY.js +76 -0
- package/dist/m0-swap-component/PhInfo-BcuP36hY.js.map +1 -0
- package/dist/m0-swap-component/PhLightbulb-DkWwRl94.js +76 -0
- package/dist/m0-swap-component/PhLightbulb-DkWwRl94.js.map +1 -0
- package/dist/m0-swap-component/PhMagnifyingGlass-B_fFjslY.js +76 -0
- package/dist/m0-swap-component/PhMagnifyingGlass-B_fFjslY.js.map +1 -0
- package/dist/m0-swap-component/PhPaperPlaneRight-BIzGG3QW.js +76 -0
- package/dist/m0-swap-component/PhPaperPlaneRight-BIzGG3QW.js.map +1 -0
- package/dist/m0-swap-component/PhPlus-BGosT2zu.js +76 -0
- package/dist/m0-swap-component/PhPlus-BGosT2zu.js.map +1 -0
- package/dist/m0-swap-component/PhPower-BMqDnP1n.js +76 -0
- package/dist/m0-swap-component/PhPower-BMqDnP1n.js.map +1 -0
- package/dist/m0-swap-component/PhPuzzlePiece-DNMpiJNU.js +76 -0
- package/dist/m0-swap-component/PhPuzzlePiece-DNMpiJNU.js.map +1 -0
- package/dist/m0-swap-component/PhQrCode-DrHkqrU4.js +76 -0
- package/dist/m0-swap-component/PhQrCode-DrHkqrU4.js.map +1 -0
- package/dist/m0-swap-component/PhQuestion-zTfvwqNz.js +76 -0
- package/dist/m0-swap-component/PhQuestion-zTfvwqNz.js.map +1 -0
- package/dist/m0-swap-component/PhQuestionMark-h3Nk1Yf1.js +76 -0
- package/dist/m0-swap-component/PhQuestionMark-h3Nk1Yf1.js.map +1 -0
- package/dist/m0-swap-component/PhSealCheck-DPPqSt6G.js +76 -0
- package/dist/m0-swap-component/PhSealCheck-DPPqSt6G.js.map +1 -0
- package/dist/m0-swap-component/PhSignOut-CJgnrE_v.js +76 -0
- package/dist/m0-swap-component/PhSignOut-CJgnrE_v.js.map +1 -0
- package/dist/m0-swap-component/PhSpinner-CMTEIWbw.js +76 -0
- package/dist/m0-swap-component/PhSpinner-CMTEIWbw.js.map +1 -0
- package/dist/m0-swap-component/PhTrash-CeDVW4am.js +76 -0
- package/dist/m0-swap-component/PhTrash-CeDVW4am.js.map +1 -0
- package/dist/m0-swap-component/PhUser-lQ9WUtAV.js +76 -0
- package/dist/m0-swap-component/PhUser-lQ9WUtAV.js.map +1 -0
- package/dist/m0-swap-component/PhVault-EnLnS_IQ.js +76 -0
- package/dist/m0-swap-component/PhVault-EnLnS_IQ.js.map +1 -0
- package/dist/m0-swap-component/PhWallet-CUeDZydd.js +76 -0
- package/dist/m0-swap-component/PhWallet-CUeDZydd.js.map +1 -0
- package/dist/m0-swap-component/PhWarning-CokeGZs2.js +76 -0
- package/dist/m0-swap-component/PhWarning-CokeGZs2.js.map +1 -0
- package/dist/m0-swap-component/PhWarningCircle-vWtA7S0R.js +76 -0
- package/dist/m0-swap-component/PhWarningCircle-vWtA7S0R.js.map +1 -0
- package/dist/m0-swap-component/PhX-DwCRIvoc.js +76 -0
- package/dist/m0-swap-component/PhX-DwCRIvoc.js.map +1 -0
- package/dist/m0-swap-component/data-capture-BmovBbKV.js +573 -0
- package/dist/m0-swap-component/data-capture-BmovBbKV.js.map +1 -0
- package/dist/m0-swap-component/email-B4niz3Ms.js +445 -0
- package/dist/m0-swap-component/email-B4niz3Ms.js.map +1 -0
- package/dist/m0-swap-component/embedded-wallet-D6bzjX_K.js +988 -0
- package/dist/m0-swap-component/embedded-wallet-D6bzjX_K.js.map +1 -0
- package/dist/m0-swap-component/features-EhJNVE-M.js +355 -0
- package/dist/m0-swap-component/features-EhJNVE-M.js.map +1 -0
- package/dist/m0-swap-component/if-defined-2CMpVr2R.js +12 -0
- package/dist/m0-swap-component/if-defined-2CMpVr2R.js.map +1 -0
- package/dist/m0-swap-component/index-B4xuj7uR.js +965 -0
- package/dist/m0-swap-component/index-B4xuj7uR.js.map +1 -0
- package/dist/m0-swap-component/index-BVZ66GYf.js +206 -0
- package/dist/m0-swap-component/index-BVZ66GYf.js.map +1 -0
- package/dist/m0-swap-component/index-BZXyMieH.js +150 -0
- package/dist/m0-swap-component/index-BZXyMieH.js.map +1 -0
- package/dist/m0-swap-component/index-Bj5sA_Ri.js +252 -0
- package/dist/m0-swap-component/index-Bj5sA_Ri.js.map +1 -0
- package/dist/m0-swap-component/index-Bs-pPJYj.js +129 -0
- package/dist/m0-swap-component/index-Bs-pPJYj.js.map +1 -0
- package/dist/m0-swap-component/index-CMS76VPf.js +474 -0
- package/dist/m0-swap-component/index-CMS76VPf.js.map +1 -0
- package/dist/m0-swap-component/index-CoMTkqee.js +95 -0
- package/dist/m0-swap-component/index-CoMTkqee.js.map +1 -0
- package/dist/m0-swap-component/index-DE0OtbL2.js +3566 -0
- package/dist/m0-swap-component/index-DE0OtbL2.js.map +1 -0
- package/dist/m0-swap-component/index-DEG-YczD.js +231 -0
- package/dist/m0-swap-component/index-DEG-YczD.js.map +1 -0
- package/dist/m0-swap-component/index-DY_Ijq_4.js +4345 -0
- package/dist/m0-swap-component/index-DY_Ijq_4.js.map +1 -0
- package/dist/m0-swap-component/index-IRpGhIhy.js +9394 -0
- package/dist/m0-swap-component/index-IRpGhIhy.js.map +1 -0
- package/dist/m0-swap-component/index-Z70nBYWG.js +113 -0
- package/dist/m0-swap-component/index-Z70nBYWG.js.map +1 -0
- package/dist/m0-swap-component/index-iNFotRMa.js +73 -0
- package/dist/m0-swap-component/index-iNFotRMa.js.map +1 -0
- package/dist/m0-swap-component/index-n1fooC-v.js +37757 -0
- package/dist/m0-swap-component/index-n1fooC-v.js.map +1 -0
- package/dist/m0-swap-component/index.esm.js +2 -0
- package/dist/m0-swap-component/index.esm.js.map +1 -0
- package/dist/m0-swap-component/loader.esm.js.map +1 -0
- package/dist/m0-swap-component/m0-swap-component.esm.js +48 -0
- package/dist/m0-swap-component/m0-swap-component.esm.js.map +1 -0
- package/dist/m0-swap-component/native-CPtqJIn7.js +18 -0
- package/dist/m0-swap-component/native-CPtqJIn7.js.map +1 -0
- package/dist/m0-swap-component/onramp-BppY2eDR.js +1003 -0
- package/dist/m0-swap-component/onramp-BppY2eDR.js.map +1 -0
- package/dist/m0-swap-component/pay-with-exchange-BJYQgTMB.js +639 -0
- package/dist/m0-swap-component/pay-with-exchange-BJYQgTMB.js.map +1 -0
- package/dist/m0-swap-component/property-BN-VaT99.js +625 -0
- package/dist/m0-swap-component/property-BN-VaT99.js.map +1 -0
- package/dist/m0-swap-component/receive-BptRM_5_.js +281 -0
- package/dist/m0-swap-component/receive-BptRM_5_.js.map +1 -0
- package/dist/m0-swap-component/ref-3xALOvo5.js +25 -0
- package/dist/m0-swap-component/ref-3xALOvo5.js.map +1 -0
- package/dist/m0-swap-component/send-BCyHM4Zr.js +1408 -0
- package/dist/m0-swap-component/send-BCyHM4Zr.js.map +1 -0
- package/dist/m0-swap-component/socials-BbajCSWV.js +824 -0
- package/dist/m0-swap-component/socials-BbajCSWV.js.map +1 -0
- package/dist/m0-swap-component/swap-module-5ZLM-vAV.js +140887 -0
- package/dist/m0-swap-component/swap-module-5ZLM-vAV.js.map +1 -0
- package/dist/m0-swap-component/swap-module.entry.esm.js.map +1 -0
- package/dist/m0-swap-component/swap-module.entry.js +15 -0
- package/dist/m0-swap-component/swaps-DyGe65DR.js +2121 -0
- package/dist/m0-swap-component/swaps-DyGe65DR.js.map +1 -0
- package/dist/m0-swap-component/transactions-BZ9l4zt5.js +60 -0
- package/dist/m0-swap-component/transactions-BZ9l4zt5.js.map +1 -0
- package/dist/m0-swap-component/utils-RCeZbvdb.js +95 -0
- package/dist/m0-swap-component/utils-RCeZbvdb.js.map +1 -0
- package/dist/m0-swap-component/w3m-modal-D0HWVPsj.js +2097 -0
- package/dist/m0-swap-component/w3m-modal-D0HWVPsj.js.map +1 -0
- package/dist/m0-swap-component/wui-button-BeTWD3Va.js +223 -0
- package/dist/m0-swap-component/wui-button-BeTWD3Va.js.map +1 -0
- package/dist/m0-swap-component/wui-email-input-CgnfUH0c.js +65 -0
- package/dist/m0-swap-component/wui-email-input-CgnfUH0c.js.map +1 -0
- package/dist/m0-swap-component/wui-icon-B0uTDhW-.js +4 -0
- package/dist/m0-swap-component/wui-icon-B0uTDhW-.js.map +1 -0
- package/dist/m0-swap-component/wui-icon-box-s87lODBB.js +4 -0
- package/dist/m0-swap-component/wui-icon-box-s87lODBB.js.map +1 -0
- package/dist/m0-swap-component/wui-icon-link-BFpV9kPE.js +127 -0
- package/dist/m0-swap-component/wui-icon-link-BFpV9kPE.js.map +1 -0
- package/dist/m0-swap-component/wui-image-BvjxoR51.js +4 -0
- package/dist/m0-swap-component/wui-image-BvjxoR51.js.map +1 -0
- package/dist/m0-swap-component/wui-input-amount-CWQfP3RO.js +182 -0
- package/dist/m0-swap-component/wui-input-amount-CWQfP3RO.js.map +1 -0
- package/dist/m0-swap-component/wui-input-text-g0sN4B2y.js +4 -0
- package/dist/m0-swap-component/wui-input-text-g0sN4B2y.js.map +1 -0
- package/dist/m0-swap-component/wui-link-VqM3wLny.js +123 -0
- package/dist/m0-swap-component/wui-link-VqM3wLny.js.map +1 -0
- package/dist/m0-swap-component/wui-list-item-BIijofqN.js +170 -0
- package/dist/m0-swap-component/wui-list-item-BIijofqN.js.map +1 -0
- package/dist/m0-swap-component/wui-list-social-C7GhkRc8.js +119 -0
- package/dist/m0-swap-component/wui-list-social-C7GhkRc8.js.map +1 -0
- package/dist/m0-swap-component/wui-list-token-C94lmAbT.js +134 -0
- package/dist/m0-swap-component/wui-list-token-C94lmAbT.js.map +1 -0
- package/dist/m0-swap-component/wui-list-wallet-C7fnQvCW.js +622 -0
- package/dist/m0-swap-component/wui-list-wallet-C7fnQvCW.js.map +1 -0
- package/dist/m0-swap-component/wui-loading-spinner-CW2_5SKA.js +4 -0
- package/dist/m0-swap-component/wui-loading-spinner-CW2_5SKA.js.map +1 -0
- package/dist/m0-swap-component/wui-loading-thumbnail-y3sGkT5j.js +337 -0
- package/dist/m0-swap-component/wui-loading-thumbnail-y3sGkT5j.js.map +1 -0
- package/dist/m0-swap-component/wui-qr-code-DekJTDGf.js +3412 -0
- package/dist/m0-swap-component/wui-qr-code-DekJTDGf.js.map +1 -0
- package/dist/m0-swap-component/wui-separator-DMZIL_Av.js +67 -0
- package/dist/m0-swap-component/wui-separator-DMZIL_Av.js.map +1 -0
- package/dist/m0-swap-component/wui-shimmer-CVFC8fMx.js +4 -0
- package/dist/m0-swap-component/wui-shimmer-CVFC8fMx.js.map +1 -0
- package/dist/m0-swap-component/wui-text-BS_lZKY4.js +1127 -0
- package/dist/m0-swap-component/wui-text-BS_lZKY4.js.map +1 -0
- package/dist/m0-swap-component/wui-token-button-CsOFoNJG.js +214 -0
- package/dist/m0-swap-component/wui-token-button-CsOFoNJG.js.map +1 -0
- package/dist/m0-swap-component/wui-visual-hU2Mkyrv.js +565 -0
- package/dist/m0-swap-component/wui-visual-hU2Mkyrv.js.map +1 -0
- package/dist/m0-swap-component/wui-wallet-switch-CWbdtfbN.js +459 -0
- package/dist/m0-swap-component/wui-wallet-switch-CWbdtfbN.js.map +1 -0
- package/dist/types/components/swap-module/balances.d.ts +16 -0
- package/dist/types/components/swap-module/chains.d.ts +16 -0
- package/dist/types/components/swap-module/store.d.ts +34 -0
- package/dist/types/components/swap-module/swap-module.d.ts +113 -0
- package/dist/types/components/swap-module/utils/constants.d.ts +7 -0
- package/dist/types/components/swap-module/utils/formatters.d.ts +23 -0
- package/dist/types/components/swap-module/utils/reown.d.ts +59 -0
- package/dist/types/components/swap-module/utils/wallet.d.ts +83 -0
- package/dist/types/components.d.ts +165 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/stencil-public-runtime.d.ts +1732 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +60 -0
|
@@ -0,0 +1,1127 @@
|
|
|
1
|
+
import { am as f, an as u$1, i as i$2, a as i$3, U as UiHelperUtil, b, r as resetStyles, c as customElement, a4 as w, ao as T, L as vars, ap as E, d as css } from './swap-module-5ZLM-vAV.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @license
|
|
5
|
+
* Copyright 2017 Google LLC
|
|
6
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
7
|
+
*/
|
|
8
|
+
const t$2=t=>(e,o)=>{void 0!==o?o.addInitializer(()=>{customElements.define(t,e);}):customElements.define(t,e);};
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @license
|
|
12
|
+
* Copyright 2017 Google LLC
|
|
13
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
14
|
+
*/const o$2={attribute:!0,type:String,converter:u$1,reflect:!1,hasChanged:f},r$3=(t=o$2,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),"setter"===n&&((t=Object.create(t)).wrapped=!0),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t,!0,r);},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t,!0,r);}}throw Error("Unsupported decorator location: "+n)};function n$2(t){return (e,o)=>"object"==typeof o?r$3(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* @license
|
|
18
|
+
* Copyright 2017 Google LLC
|
|
19
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
20
|
+
*/function r$2(r){return n$2({...r,state:!0,attribute:!1})}
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* @license
|
|
24
|
+
* Copyright 2017 Google LLC
|
|
25
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
26
|
+
*/
|
|
27
|
+
function t$1(t){return (n,o)=>{const c="function"==typeof n?n:n[o];Object.assign(c,t);}}
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @license
|
|
31
|
+
* Copyright 2017 Google LLC
|
|
32
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
33
|
+
*/
|
|
34
|
+
const e$4=(e,t,c)=>(c.configurable=!0,c.enumerable=!0,Reflect.decorate&&"object"!=typeof t&&Object.defineProperty(e,t,c),c);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @license
|
|
38
|
+
* Copyright 2017 Google LLC
|
|
39
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
40
|
+
*/function e$3(e,r){return (n,s,i)=>{const o=t=>t.renderRoot?.querySelector(e)??null;if(r){const{get:e,set:r}="object"==typeof s?n:i??(()=>{const t=Symbol();return {get(){return this[t]},set(e){this[t]=e;}}})();return e$4(n,s,{get(){let t=e.call(this);return void 0===t&&(t=o(this),(null!==t||this.hasUpdated)&&r.call(this,t)),t}})}return e$4(n,s,{get(){return o(this)}})}}
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @license
|
|
44
|
+
* Copyright 2017 Google LLC
|
|
45
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
46
|
+
*/
|
|
47
|
+
let e$2;function r$1(r){return (n,o)=>e$4(n,o,{get(){return (this.renderRoot??(e$2??=document.createDocumentFragment())).querySelectorAll(r)}})}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @license
|
|
51
|
+
* Copyright 2017 Google LLC
|
|
52
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
53
|
+
*/
|
|
54
|
+
function r(r){return (n,e)=>e$4(n,e,{async get(){return await this.updateComplete,this.renderRoot?.querySelector(r)??null}})}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @license
|
|
58
|
+
* Copyright 2021 Google LLC
|
|
59
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
60
|
+
*/function o$1(o){return (e,n)=>{const{slot:r,selector:s}=o??{},c="slot"+(r?`[name=${r}]`:":not([name])");return e$4(e,n,{get(){const t=this.renderRoot?.querySelector(c),e=t?.assignedElements(o)??[];return void 0===s?e:e.filter(t=>t.matches(s))}})}}
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* @license
|
|
64
|
+
* Copyright 2017 Google LLC
|
|
65
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
66
|
+
*/function n$1(n){return (o,r)=>{const{slot:e}=n??{},s="slot"+(e?`[name=${e}]`:":not([name])");return e$4(o,r,{get(){const t=this.renderRoot?.querySelector(s);return t?.assignedNodes(n)??[]}})}}
|
|
67
|
+
|
|
68
|
+
var styles$2 = i$2 `
|
|
69
|
+
:host {
|
|
70
|
+
display: flex;
|
|
71
|
+
width: inherit;
|
|
72
|
+
height: inherit;
|
|
73
|
+
box-sizing: border-box;
|
|
74
|
+
}
|
|
75
|
+
`;
|
|
76
|
+
|
|
77
|
+
var __decorate$2 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
78
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
79
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
80
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
81
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
82
|
+
};
|
|
83
|
+
let WuiFlex = class WuiFlex extends i$3 {
|
|
84
|
+
render() {
|
|
85
|
+
this.style.cssText = `
|
|
86
|
+
flex-direction: ${this.flexDirection};
|
|
87
|
+
flex-wrap: ${this.flexWrap};
|
|
88
|
+
flex-basis: ${this.flexBasis};
|
|
89
|
+
flex-grow: ${this.flexGrow};
|
|
90
|
+
flex-shrink: ${this.flexShrink};
|
|
91
|
+
align-items: ${this.alignItems};
|
|
92
|
+
justify-content: ${this.justifyContent};
|
|
93
|
+
column-gap: ${this.columnGap && `var(--apkt-spacing-${this.columnGap})`};
|
|
94
|
+
row-gap: ${this.rowGap && `var(--apkt-spacing-${this.rowGap})`};
|
|
95
|
+
gap: ${this.gap && `var(--apkt-spacing-${this.gap})`};
|
|
96
|
+
padding-top: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 0)};
|
|
97
|
+
padding-right: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 1)};
|
|
98
|
+
padding-bottom: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 2)};
|
|
99
|
+
padding-left: ${this.padding && UiHelperUtil.getSpacingStyles(this.padding, 3)};
|
|
100
|
+
margin-top: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 0)};
|
|
101
|
+
margin-right: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 1)};
|
|
102
|
+
margin-bottom: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 2)};
|
|
103
|
+
margin-left: ${this.margin && UiHelperUtil.getSpacingStyles(this.margin, 3)};
|
|
104
|
+
width: ${this.width};
|
|
105
|
+
`;
|
|
106
|
+
return b `<slot></slot>`;
|
|
107
|
+
}
|
|
108
|
+
};
|
|
109
|
+
WuiFlex.styles = [resetStyles, styles$2];
|
|
110
|
+
__decorate$2([
|
|
111
|
+
n$2()
|
|
112
|
+
], WuiFlex.prototype, "flexDirection", void 0);
|
|
113
|
+
__decorate$2([
|
|
114
|
+
n$2()
|
|
115
|
+
], WuiFlex.prototype, "flexWrap", void 0);
|
|
116
|
+
__decorate$2([
|
|
117
|
+
n$2()
|
|
118
|
+
], WuiFlex.prototype, "flexBasis", void 0);
|
|
119
|
+
__decorate$2([
|
|
120
|
+
n$2()
|
|
121
|
+
], WuiFlex.prototype, "flexGrow", void 0);
|
|
122
|
+
__decorate$2([
|
|
123
|
+
n$2()
|
|
124
|
+
], WuiFlex.prototype, "flexShrink", void 0);
|
|
125
|
+
__decorate$2([
|
|
126
|
+
n$2()
|
|
127
|
+
], WuiFlex.prototype, "alignItems", void 0);
|
|
128
|
+
__decorate$2([
|
|
129
|
+
n$2()
|
|
130
|
+
], WuiFlex.prototype, "justifyContent", void 0);
|
|
131
|
+
__decorate$2([
|
|
132
|
+
n$2()
|
|
133
|
+
], WuiFlex.prototype, "columnGap", void 0);
|
|
134
|
+
__decorate$2([
|
|
135
|
+
n$2()
|
|
136
|
+
], WuiFlex.prototype, "rowGap", void 0);
|
|
137
|
+
__decorate$2([
|
|
138
|
+
n$2()
|
|
139
|
+
], WuiFlex.prototype, "gap", void 0);
|
|
140
|
+
__decorate$2([
|
|
141
|
+
n$2()
|
|
142
|
+
], WuiFlex.prototype, "padding", void 0);
|
|
143
|
+
__decorate$2([
|
|
144
|
+
n$2()
|
|
145
|
+
], WuiFlex.prototype, "margin", void 0);
|
|
146
|
+
__decorate$2([
|
|
147
|
+
n$2()
|
|
148
|
+
], WuiFlex.prototype, "width", void 0);
|
|
149
|
+
WuiFlex = __decorate$2([
|
|
150
|
+
customElement('wui-flex')
|
|
151
|
+
], WuiFlex);
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* @license
|
|
155
|
+
* Copyright 2020 Google LLC
|
|
156
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
157
|
+
*/
|
|
158
|
+
const a=Symbol.for(""),o=t=>{if(t?.r===a)return t?._$litStatic$},s=t=>({_$litStatic$:t,r:a}),i$1=(t,...r)=>({_$litStatic$:r.reduce((r,e,a)=>r+(t=>{if(void 0!==t._$litStatic$)return t._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${t}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(e)+t[a+1],t[0]),r:a}),l=new Map,n=t=>(r,...e)=>{const a=e.length;let s,i;const n=[],u=[];let c,$=0,f=!1;for(;$<a;){for(c=r[$];$<a&&void 0!==(i=e[$],s=o(i));)c+=s+r[++$],f=!0;$!==a&&u.push(i),n.push(c),$++;}if($===a&&n.push(r[a]),f){const t=n.join("$$lit$$");void 0===(r=l.get(t))&&(n.raw=n,l.set(t,r=n)),e=u;}return t(r,...e)},u=n(b),c=n(w),$=n(T);
|
|
159
|
+
|
|
160
|
+
const appStoreSvg = w `<svg width="30" height="30" viewBox="0 0 30 30" fill="none">
|
|
161
|
+
<g clip-path="url(#clip0_87_33)">
|
|
162
|
+
<path d="M23.9367 2.29447e-07H6.05917C5.26333 -0.000218805 4.47526 0.156384 3.73997 0.46086C3.00469 0.765337 2.33661 1.21172 1.77391 1.7745C1.21121 2.33727 0.764917 3.00542 0.460542 3.74074C0.156167 4.47607 -0.000327963 5.26417 5.16031e-07 6.06V23.9433C4.48257e-07 24.7389 0.156744 25.5267 0.461276 26.2617C0.765808 26.9967 1.21216 27.6645 1.77484 28.2269C2.33752 28.7894 3.0055 29.2355 3.74061 29.5397C4.47573 29.8439 5.26358 30.0003 6.05917 30H23.9417C25.5486 29.9996 27.0895 29.3609 28.2257 28.2245C29.3618 27.0881 30 25.5469 30 23.94V6.06C29.9993 4.45241 29.3602 2.91091 28.2232 1.77449C27.0861 0.638064 25.5443 -0.000220881 23.9367 2.29447e-07Z" fill="url(#paint0_linear_87_33)"/>
|
|
163
|
+
<path d="M14.8708 6.89259L15.4783 5.84259C15.5679 5.68703 15.6873 5.55064 15.8296 5.44122C15.9719 5.3318 16.1344 5.25148 16.3078 5.20486C16.4812 5.15824 16.662 5.14622 16.8401 5.1695C17.0181 5.19277 17.1898 5.25088 17.3453 5.34051C17.5009 5.43013 17.6373 5.54952 17.7467 5.69186C17.8561 5.83419 17.9364 5.99669 17.9831 6.17006C18.0297 6.34344 18.0417 6.5243 18.0184 6.70232C17.9952 6.88034 17.9371 7.05203 17.8474 7.20759L11.9949 17.3401H16.2283C17.5999 17.3401 18.3691 18.9526 17.7724 20.0701H5.36159C5.18215 20.0707 5.00436 20.0359 4.83845 19.9675C4.67254 19.8992 4.5218 19.7986 4.39492 19.6718C4.26803 19.5449 4.16751 19.3941 4.09915 19.2282C4.03079 19.0623 3.99593 18.8845 3.99659 18.7051C3.99659 17.9476 4.60492 17.3401 5.36159 17.3401H8.84159L13.2958 9.61926L11.9041 7.20426C11.738 6.89096 11.7 6.52543 11.7982 6.18469C11.8963 5.84395 12.1229 5.5546 12.4301 5.37763C12.7374 5.20065 13.1014 5.14987 13.4454 5.23599C13.7893 5.3221 14.0864 5.53838 14.2741 5.83926L14.8708 6.89259ZM9.60659 21.4759L8.29409 23.7526C8.20446 23.9082 8.08506 24.0446 7.94271 24.1541C7.80035 24.2636 7.63783 24.344 7.46441 24.3906C7.291 24.4373 7.11009 24.4493 6.93202 24.4261C6.75395 24.4028 6.58221 24.3447 6.42659 24.2551C6.27097 24.1655 6.13454 24.0461 6.02506 23.9037C5.91559 23.7613 5.83523 23.5988 5.78857 23.4254C5.74191 23.252 5.72986 23.0711 5.75311 22.893C5.77637 22.715 5.83446 22.5432 5.92409 22.3876L6.89909 20.7001C8.00159 20.3584 8.89742 20.6209 9.60659 21.4759ZM20.9066 17.3476H24.4583C25.2158 17.3476 25.8233 17.9551 25.8233 18.7126C25.8233 19.4701 25.2149 20.0776 24.4583 20.0776H22.4858L23.8166 22.3876C24.1916 23.0443 23.9708 23.8726 23.3149 24.2551C23.0006 24.4359 22.6274 24.4845 22.2772 24.3903C21.927 24.2961 21.6286 24.0667 21.4474 23.7526C19.2058 19.8643 17.5216 16.9534 16.4041 15.0151C15.2608 13.0426 16.0783 11.0626 16.8841 10.3909C17.7799 11.9293 19.1191 14.2501 20.9074 17.3476H20.9066Z" fill="white"/>
|
|
164
|
+
</g>
|
|
165
|
+
<defs>
|
|
166
|
+
<linearGradient id="paint0_linear_87_33" x1="15" y1="2.29447e-07" x2="15" y2="30" gradientUnits="userSpaceOnUse">
|
|
167
|
+
<stop stop-color="#18BFFB"/>
|
|
168
|
+
<stop offset="1" stop-color="#2072F3"/>
|
|
169
|
+
</linearGradient>
|
|
170
|
+
<clipPath id="clip0_87_33">
|
|
171
|
+
<rect width="30" height="30" fill="white"/>
|
|
172
|
+
</clipPath>
|
|
173
|
+
</defs>
|
|
174
|
+
</svg>`;
|
|
175
|
+
|
|
176
|
+
const appleSvg = w `<svg fill="none" viewBox="0 0 40 40">
|
|
177
|
+
<g clip-path="url(#a)">
|
|
178
|
+
<g clip-path="url(#b)">
|
|
179
|
+
<circle cx="20" cy="19.89" r="20" fill="#000" />
|
|
180
|
+
<g clip-path="url(#c)">
|
|
181
|
+
<path
|
|
182
|
+
fill="#fff"
|
|
183
|
+
d="M28.77 23.3c-.69 1.99-2.75 5.52-4.87 5.56-1.4.03-1.86-.84-3.46-.84-1.61 0-2.12.81-3.45.86-2.25.1-5.72-5.1-5.72-9.62 0-4.15 2.9-6.2 5.42-6.25 1.36-.02 2.64.92 3.47.92.83 0 2.38-1.13 4.02-.97.68.03 2.6.28 3.84 2.08-3.27 2.14-2.76 6.61.75 8.25ZM24.2 7.88c-2.47.1-4.49 2.69-4.2 4.84 2.28.17 4.47-2.39 4.2-4.84Z"
|
|
184
|
+
/>
|
|
185
|
+
</g>
|
|
186
|
+
</g>
|
|
187
|
+
</g>
|
|
188
|
+
<defs>
|
|
189
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
190
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
191
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
192
|
+
</defs>
|
|
193
|
+
</svg>`;
|
|
194
|
+
|
|
195
|
+
const bitcoinSvg = w `
|
|
196
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 8 11">
|
|
197
|
+
<path
|
|
198
|
+
fill="var(--apkt-tokens-theme-textPrimary)"
|
|
199
|
+
d="M7.862 4.86c.159-1.064-.652-1.637-1.76-2.018l.36-1.443-.879-.218-.35 1.404c-.23-.058-.468-.112-.703-.166l.352-1.413-.877-.219-.36 1.442a29.02 29.02 0 0 1-.56-.132v-.005l-1.21-.302-.234.938s.652.15.638.158c.356.089.42.324.41.51l-.41 1.644a.715.715 0 0 1 .09.03l-.092-.024-.574 2.302c-.044.108-.154.27-.402.208.008.013-.639-.16-.639-.16L.227 8.403l1.142.285c.213.053.42.109.626.161l-.363 1.459.877.218.36-1.443c.239.065.472.125.7.182l-.36 1.436.879.219.363-1.456c1.497.283 2.623.17 3.097-1.185.381-1.09-.02-1.719-.807-2.129.574-.132 1.006-.51 1.12-1.289ZM5.856 7.673c-.272 1.09-2.107.5-2.702.353l.482-1.933c.595.149 2.503.443 2.22 1.58Zm.271-2.829c-.247.992-1.775.488-2.27.365l.436-1.753c.496.124 2.092.354 1.834 1.388Z"
|
|
200
|
+
/>
|
|
201
|
+
</svg>
|
|
202
|
+
`;
|
|
203
|
+
|
|
204
|
+
const chromeStoreSvg = w `<svg width="30" height="30" viewBox="0 0 30 30" fill="none">
|
|
205
|
+
<path d="M14.9978 7.80003H27.4668C26.2032 5.61107 24.3857 3.79333 22.1968 2.52955C20.008 1.26577 17.525 0.600485 14.9975 0.600586C12.47 0.600687 9.98712 1.26617 7.79838 2.53012C5.60964 3.79408 3.79221 5.61197 2.52881 7.80103L8.76281 18.599L8.76881 18.598C8.13412 17.5044 7.79906 16.2628 7.79743 14.9983C7.79579 13.7339 8.12764 12.4914 8.7595 11.3961C9.39136 10.3008 10.3009 9.39159 11.3963 8.76005C12.4918 8.12851 13.7344 7.79702 14.9988 7.79903L14.9978 7.80003Z" fill="url(#paint0_linear_87_32)"/>
|
|
206
|
+
<path d="M21.237 18.5981L15.003 29.3961C17.5305 29.3961 20.0134 28.7308 22.2022 27.467C24.391 26.2032 26.2086 24.3854 27.4721 22.1965C28.7356 20.0075 29.4006 17.5245 29.4003 14.997C29.3999 12.4695 28.7342 9.9867 27.47 7.7981H15.002L15 7.8041C16.2642 7.80168 17.5067 8.13257 18.6022 8.76342C19.6977 9.39428 20.6076 10.3028 21.2401 11.3974C21.8726 12.492 22.2053 13.734 22.2048 14.9982C22.2042 16.2623 21.8704 17.504 21.237 18.5981Z" fill="url(#paint1_linear_87_32)"/>
|
|
207
|
+
<path d="M8.76502 18.601L2.53102 7.80298C1.26664 9.99172 0.600848 12.4748 0.600586 15.0025C0.600324 17.5302 1.2656 20.0134 2.52953 22.2024C3.79345 24.3914 5.61145 26.209 7.80071 27.4725C9.98998 28.736 12.4733 29.4008 15.001 29.4L21.236 18.602L21.232 18.598C20.6022 19.6941 19.6944 20.6049 18.6003 21.2383C17.5062 21.8717 16.2644 22.2055 15.0002 22.2059C13.7359 22.2063 12.4939 21.8733 11.3994 21.2406C10.3049 20.6079 9.39657 19.6977 8.76602 18.602L8.76502 18.601Z" fill="url(#paint2_linear_87_32)"/>
|
|
208
|
+
<path d="M14.9998 22.2C16.9094 22.2 18.7407 21.4415 20.091 20.0912C21.4412 18.741 22.1998 16.9096 22.1998 15C22.1998 13.0905 21.4412 11.2591 20.091 9.90888C18.7407 8.55862 16.9094 7.80005 14.9998 7.80005C13.0902 7.80005 11.2589 8.55862 9.90864 9.90888C8.55837 11.2591 7.7998 13.0905 7.7998 15C7.7998 16.9096 8.55837 18.741 9.90864 20.0912C11.2589 21.4415 13.0902 22.2 14.9998 22.2Z" fill="white"/>
|
|
209
|
+
<path d="M14.9998 20.7C16.5115 20.7 17.9614 20.0995 19.0303 19.0306C20.0993 17.9616 20.6998 16.5118 20.6998 15C20.6998 13.4883 20.0993 12.0385 19.0303 10.9695C17.9614 9.90058 16.5115 9.30005 14.9998 9.30005C13.4881 9.30005 12.0383 9.90058 10.9693 10.9695C9.90034 12.0385 9.2998 13.4883 9.2998 15C9.2998 16.5118 9.90034 17.9616 10.9693 19.0306C12.0383 20.0995 13.4881 20.7 14.9998 20.7Z" fill="#1A73E8"/>
|
|
210
|
+
<defs>
|
|
211
|
+
<linearGradient id="paint0_linear_87_32" x1="3.29381" y1="2.99503" x2="38.0998" y2="2.99503" gradientUnits="userSpaceOnUse">
|
|
212
|
+
<stop stop-color="#D93025"/>
|
|
213
|
+
<stop offset="1" stop-color="#EA4335"/>
|
|
214
|
+
</linearGradient>
|
|
215
|
+
<linearGradient id="paint1_linear_87_32" x1="17.953" y1="29.1431" x2="34.194" y2="-0.298904" gradientUnits="userSpaceOnUse">
|
|
216
|
+
<stop stop-color="#FCC934"/>
|
|
217
|
+
<stop offset="1" stop-color="#FBBC04"/>
|
|
218
|
+
</linearGradient>
|
|
219
|
+
<linearGradient id="paint2_linear_87_32" x1="22.873" y1="28.2" x2="6.63202" y2="-1.24102" gradientUnits="userSpaceOnUse">
|
|
220
|
+
<stop stop-color="#1E8E3E"/>
|
|
221
|
+
<stop offset="1" stop-color="#34A853"/>
|
|
222
|
+
</linearGradient>
|
|
223
|
+
</defs>
|
|
224
|
+
</svg>`;
|
|
225
|
+
|
|
226
|
+
const coinsSvg = w `<svg width="32" height="32" viewBox="0 0 32 32" fill="none">
|
|
227
|
+
<path d="M23 11.1962V10.5C23 7.365 18.2712 5 12 5C5.72875 5 1 7.365 1 10.5V15.5C1 18.1112 4.28125 20.1863 9 20.8075V21.5C9 24.635 13.7288 27 20 27C26.2712 27 31 24.635 31 21.5V16.5C31 13.9125 27.8225 11.835 23 11.1962ZM7 18.3587C4.55125 17.675 3 16.5487 3 15.5V13.7413C4.02 14.4637 5.38625 15.0463 7 15.4375V18.3587ZM17 15.4375C18.6138 15.0463 19.98 14.4637 21 13.7413V15.5C21 16.5487 19.4487 17.675 17 18.3587V15.4375ZM15 24.3587C12.5513 23.675 11 22.5487 11 21.5V20.9788C11.3287 20.9913 11.6613 21 12 21C12.485 21 12.9587 20.9837 13.4237 20.9562C13.9403 21.1412 14.4665 21.2981 15 21.4263V24.3587ZM15 18.7812C14.0068 18.928 13.004 19.0011 12 19C10.996 19.0011 9.99324 18.928 9 18.7812V15.8075C9.99472 15.9371 10.9969 16.0014 12 16C13.0031 16.0014 14.0053 15.9371 15 15.8075V18.7812ZM23 24.7812C21.0106 25.0729 18.9894 25.0729 17 24.7812V21.8C17.9944 21.9337 18.9967 22.0005 20 22C21.0031 22.0014 22.0053 21.9371 23 21.8075V24.7812ZM29 21.5C29 22.5487 27.4487 23.675 25 24.3587V21.4375C26.6138 21.0462 27.98 20.4637 29 19.7412V21.5Z" fill="currentColor"/>
|
|
228
|
+
</svg>
|
|
229
|
+
`;
|
|
230
|
+
|
|
231
|
+
const cursorSvg = w ` <svg fill="none" viewBox="0 0 13 4">
|
|
232
|
+
<path fill="currentColor" d="M.5 0h12L8.9 3.13a3.76 3.76 0 0 1-4.8 0L.5 0Z" />
|
|
233
|
+
</svg>`;
|
|
234
|
+
|
|
235
|
+
const discordSvg = w `<svg fill="none" viewBox="0 0 40 40">
|
|
236
|
+
<g clip-path="url(#a)">
|
|
237
|
+
<g clip-path="url(#b)">
|
|
238
|
+
<circle cx="20" cy="19.89" r="20" fill="#5865F2" />
|
|
239
|
+
<path
|
|
240
|
+
fill="#fff"
|
|
241
|
+
fill-rule="evenodd"
|
|
242
|
+
d="M25.71 28.15C30.25 28 32 25.02 32 25.02c0-6.61-2.96-11.98-2.96-11.98-2.96-2.22-5.77-2.15-5.77-2.15l-.29.32c3.5 1.07 5.12 2.61 5.12 2.61a16.75 16.75 0 0 0-10.34-1.93l-.35.04a15.43 15.43 0 0 0-5.88 1.9s1.71-1.63 5.4-2.7l-.2-.24s-2.81-.07-5.77 2.15c0 0-2.96 5.37-2.96 11.98 0 0 1.73 2.98 6.27 3.13l1.37-1.7c-2.6-.79-3.6-2.43-3.6-2.43l.58.35.09.06.08.04.02.01.08.05a17.25 17.25 0 0 0 4.52 1.58 14.4 14.4 0 0 0 8.3-.86c.72-.27 1.52-.66 2.37-1.21 0 0-1.03 1.68-3.72 2.44.61.78 1.35 1.67 1.35 1.67Zm-9.55-9.6c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28.01-1.25-.93-2.28-2.1-2.28Zm7.5 0c-1.17 0-2.1 1.03-2.1 2.28 0 1.25.95 2.28 2.1 2.28 1.17 0 2.1-1.03 2.1-2.28 0-1.25-.93-2.28-2.1-2.28Z"
|
|
243
|
+
clip-rule="evenodd"
|
|
244
|
+
/>
|
|
245
|
+
</g>
|
|
246
|
+
</g>
|
|
247
|
+
<defs>
|
|
248
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
249
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
250
|
+
</defs>
|
|
251
|
+
</svg>`;
|
|
252
|
+
|
|
253
|
+
const ethereumSvg = w `<svg
|
|
254
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
255
|
+
fill="none"
|
|
256
|
+
viewBox="0 0 9 12"
|
|
257
|
+
>
|
|
258
|
+
<path
|
|
259
|
+
fill="var(--apkt-tokens-theme-textPrimary)"
|
|
260
|
+
d="M4.666.001v4.435l3.748 1.675L4.666.001Zm0 0L.917 6.111l3.749-1.675V.001Zm0 8.984V12l3.75-5.19-3.75 2.176Zm0 3.014V8.985L.917 6.81 4.666 12Zm0-3.712 3.748-2.176-3.748-1.675v3.851Z"
|
|
261
|
+
/>
|
|
262
|
+
<path fill="var(--apkt-tokens-theme-textPrimary)" d="m.917 6.111 3.749 2.176v-3.85L.917 6.11Z" />
|
|
263
|
+
</svg>`;
|
|
264
|
+
|
|
265
|
+
const etherscanSvg = w `<svg fill="none" viewBox="0 0 16 16">
|
|
266
|
+
<path
|
|
267
|
+
fill="currentColor"
|
|
268
|
+
d="M4.25 7a.63.63 0 0 0-.63.63v3.97c0 .28-.2.51-.47.54l-.75.07a.93.93 0 0 1-.9-.47A7.51 7.51 0 0 1 5.54.92a7.5 7.5 0 0 1 9.54 4.62c.12.35.06.72-.16 1-.74.97-1.68 1.78-2.6 2.44V4.44a.64.64 0 0 0-.63-.64h-1.06c-.35 0-.63.3-.63.64v5.5c0 .23-.12.42-.32.5l-.52.23V6.05c0-.36-.3-.64-.64-.64H7.45c-.35 0-.64.3-.64.64v4.97c0 .25-.17.46-.4.52a5.8 5.8 0 0 0-.45.11v-4c0-.36-.3-.65-.64-.65H4.25ZM14.07 12.4A7.49 7.49 0 0 1 3.6 14.08c4.09-.58 9.14-2.5 11.87-6.6v.03a7.56 7.56 0 0 1-1.41 4.91Z"
|
|
269
|
+
/>
|
|
270
|
+
</svg>`;
|
|
271
|
+
|
|
272
|
+
const facebookSvg = w `<svg fill="none" viewBox="0 0 40 40">
|
|
273
|
+
<g clip-path="url(#a)">
|
|
274
|
+
<g clip-path="url(#b)">
|
|
275
|
+
<circle cx="20" cy="19.89" r="20" fill="#1877F2" />
|
|
276
|
+
<g clip-path="url(#c)">
|
|
277
|
+
<path
|
|
278
|
+
fill="#fff"
|
|
279
|
+
d="M26 12.38h-2.89c-.92 0-1.61.38-1.61 1.34v1.66H26l-.36 4.5H21.5v12H17v-12h-3v-4.5h3V12.5c0-3.03 1.6-4.62 5.2-4.62H26v4.5Z"
|
|
280
|
+
/>
|
|
281
|
+
</g>
|
|
282
|
+
</g>
|
|
283
|
+
<path
|
|
284
|
+
fill="#1877F2"
|
|
285
|
+
d="M40 20a20 20 0 1 0-23.13 19.76V25.78H11.8V20h5.07v-4.4c0-5.02 3-7.79 7.56-7.79 2.19 0 4.48.4 4.48.4v4.91h-2.53c-2.48 0-3.25 1.55-3.25 3.13V20h5.54l-.88 5.78h-4.66v13.98A20 20 0 0 0 40 20Z"
|
|
286
|
+
/>
|
|
287
|
+
<path
|
|
288
|
+
fill="#fff"
|
|
289
|
+
d="m27.79 25.78.88-5.78h-5.55v-3.75c0-1.58.78-3.13 3.26-3.13h2.53V8.2s-2.3-.39-4.48-.39c-4.57 0-7.55 2.77-7.55 7.78V20H11.8v5.78h5.07v13.98a20.15 20.15 0 0 0 6.25 0V25.78h4.67Z"
|
|
290
|
+
/>
|
|
291
|
+
</g>
|
|
292
|
+
<defs>
|
|
293
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
294
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
295
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
296
|
+
</defs>
|
|
297
|
+
</svg>`;
|
|
298
|
+
|
|
299
|
+
const farcasterSvg = w `<svg style="border-radius: 9999px; overflow: hidden;" fill="none" viewBox="0 0 1000 1000">
|
|
300
|
+
<rect width="1000" height="1000" rx="9999" ry="9999" fill="#855DCD"/>
|
|
301
|
+
<path fill="#855DCD" d="M0 0h1000v1000H0V0Z" />
|
|
302
|
+
<path
|
|
303
|
+
fill="#fff"
|
|
304
|
+
d="M320 248h354v504h-51.96V521.13h-.5c-5.76-63.8-59.31-113.81-124.54-113.81s-118.78 50-124.53 113.81h-.5V752H320V248Z"
|
|
305
|
+
/>
|
|
306
|
+
<path
|
|
307
|
+
fill="#fff"
|
|
308
|
+
d="m225 320 21.16 71.46h17.9v289.09a16.29 16.29 0 0 0-16.28 16.24v19.49h-3.25a16.3 16.3 0 0 0-16.28 16.24V752h182.26v-19.48a16.22 16.22 0 0 0-16.28-16.24h-3.25v-19.5a16.22 16.22 0 0 0-16.28-16.23h-19.52V320H225Zm400.3 360.55a16.3 16.3 0 0 0-15.04 10.02 16.2 16.2 0 0 0-1.24 6.22v19.49h-3.25a16.29 16.29 0 0 0-16.27 16.24V752h182.24v-19.48a16.23 16.23 0 0 0-16.27-16.24h-3.25v-19.5a16.2 16.2 0 0 0-10.04-15 16.3 16.3 0 0 0-6.23-1.23v-289.1h17.9L775 320H644.82v360.55H625.3Z"
|
|
309
|
+
/>
|
|
310
|
+
</svg>`;
|
|
311
|
+
|
|
312
|
+
const githubSvg = w `<svg fill="none" viewBox="0 0 40 40">
|
|
313
|
+
<g clip-path="url(#a)">
|
|
314
|
+
<g clip-path="url(#b)">
|
|
315
|
+
<circle cx="20" cy="19.89" r="20" fill="#1B1F23" />
|
|
316
|
+
<g clip-path="url(#c)">
|
|
317
|
+
<path
|
|
318
|
+
fill="#fff"
|
|
319
|
+
d="M8 19.89a12 12 0 1 1 15.8 11.38c-.6.12-.8-.26-.8-.57v-3.3c0-1.12-.4-1.85-.82-2.22 2.67-.3 5.48-1.31 5.48-5.92 0-1.31-.47-2.38-1.24-3.22.13-.3.54-1.52-.12-3.18 0 0-1-.32-3.3 1.23a11.54 11.54 0 0 0-6 0c-2.3-1.55-3.3-1.23-3.3-1.23a4.32 4.32 0 0 0-.12 3.18 4.64 4.64 0 0 0-1.24 3.22c0 4.6 2.8 5.63 5.47 5.93-.34.3-.65.83-.76 1.6-.69.31-2.42.84-3.5-1 0 0-.63-1.15-1.83-1.23 0 0-1.18-.02-.09.73 0 0 .8.37 1.34 1.76 0 0 .7 2.14 4.03 1.41v2.24c0 .31-.2.68-.8.57A12 12 0 0 1 8 19.9Z"
|
|
320
|
+
/>
|
|
321
|
+
</g>
|
|
322
|
+
</g>
|
|
323
|
+
</g>
|
|
324
|
+
<defs>
|
|
325
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
326
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
327
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
328
|
+
</defs>
|
|
329
|
+
</svg>`;
|
|
330
|
+
|
|
331
|
+
const googleSvg = w `<svg fill="none" viewBox="0 0 40 40">
|
|
332
|
+
<path
|
|
333
|
+
fill="#4285F4"
|
|
334
|
+
d="M32.74 20.3c0-.93-.08-1.81-.24-2.66H20.26v5.03h7a6 6 0 0 1-2.62 3.91v3.28h4.22c2.46-2.27 3.88-5.6 3.88-9.56Z"
|
|
335
|
+
/>
|
|
336
|
+
<path
|
|
337
|
+
fill="#34A853"
|
|
338
|
+
d="M20.26 33a12.4 12.4 0 0 0 8.6-3.14l-4.22-3.28a7.74 7.74 0 0 1-4.38 1.26 7.76 7.76 0 0 1-7.28-5.36H8.65v3.36A12.99 12.99 0 0 0 20.26 33Z"
|
|
339
|
+
/>
|
|
340
|
+
<path
|
|
341
|
+
fill="#FBBC05"
|
|
342
|
+
d="M12.98 22.47a7.79 7.79 0 0 1 0-4.94v-3.36H8.65a12.84 12.84 0 0 0 0 11.66l3.37-2.63.96-.73Z"
|
|
343
|
+
/>
|
|
344
|
+
<path
|
|
345
|
+
fill="#EA4335"
|
|
346
|
+
d="M20.26 12.18a7.1 7.1 0 0 1 4.98 1.93l3.72-3.72A12.47 12.47 0 0 0 20.26 7c-5.08 0-9.47 2.92-11.6 7.17l4.32 3.36a7.76 7.76 0 0 1 7.28-5.35Z"
|
|
347
|
+
/>
|
|
348
|
+
</svg>`;
|
|
349
|
+
|
|
350
|
+
const infoSealSvg = w `<svg width="10" height="10" viewBox="0 0 10 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
|
|
351
|
+
<path d="M4.875 0C3.91082 0 2.96829 0.285914 2.1666 0.821586C1.36491 1.35726 0.740067 2.11863 0.371089 3.00942C0.00211226 3.90021 -0.094429 4.88041 0.093674 5.82607C0.281777 6.77172 0.746076 7.64036 1.42786 8.32215C2.10964 9.00393 2.97828 9.46823 3.92394 9.65633C4.86959 9.84443 5.84979 9.74789 6.74058 9.37891C7.63137 9.00994 8.39274 8.38509 8.92842 7.5834C9.46409 6.78171 9.75 5.83918 9.75 4.875C9.74864 3.58249 9.23458 2.34331 8.32064 1.42936C7.4067 0.515418 6.16751 0.00136492 4.875 0ZM4.6875 2.25C4.79875 2.25 4.90751 2.28299 5.00001 2.3448C5.09251 2.40661 5.16461 2.49446 5.20718 2.59724C5.24976 2.70002 5.2609 2.81312 5.23919 2.92224C5.21749 3.03135 5.16392 3.13158 5.08525 3.21025C5.00658 3.28891 4.90635 3.34249 4.79724 3.36419C4.68813 3.3859 4.57503 3.37476 4.47224 3.33218C4.36946 3.28961 4.28161 3.21751 4.2198 3.12501C4.15799 3.03251 4.125 2.92375 4.125 2.8125C4.125 2.66332 4.18427 2.52024 4.28975 2.41475C4.39524 2.30926 4.53832 2.25 4.6875 2.25ZM5.25 7.5C5.05109 7.5 4.86032 7.42098 4.71967 7.28033C4.57902 7.13968 4.5 6.94891 4.5 6.75V4.875C4.40055 4.875 4.30516 4.83549 4.23484 4.76516C4.16451 4.69484 4.125 4.59946 4.125 4.5C4.125 4.40054 4.16451 4.30516 4.23484 4.23484C4.30516 4.16451 4.40055 4.125 4.5 4.125C4.69891 4.125 4.88968 4.20402 5.03033 4.34467C5.17098 4.48532 5.25 4.67609 5.25 4.875V6.75C5.34946 6.75 5.44484 6.78951 5.51517 6.85983C5.58549 6.93016 5.625 7.02554 5.625 7.125C5.625 7.22446 5.58549 7.31984 5.51517 7.39017C5.44484 7.46049 5.34946 7.5 5.25 7.5Z" fill="#9A9A9A"/>
|
|
352
|
+
</svg>
|
|
353
|
+
`;
|
|
354
|
+
|
|
355
|
+
const paperPlaneTitleSvg = w `<svg width="32" height="32" viewBox="0 0 32 32" fill="none">
|
|
356
|
+
<path d="M28.925 5.5425C28.925 5.5425 28.925 5.555 28.925 5.56125L21.65 29.5537C21.5399 29.9434 21.3132 30.2901 21.0004 30.5473C20.6876 30.8045 20.3036 30.9598 19.9 30.9925C19.8425 30.9975 19.785 31 19.7275 31C19.3493 31.0012 18.9786 30.8941 18.6592 30.6915C18.3398 30.4888 18.085 30.199 17.925 29.8563L13.375 20.5187C13.3295 20.4252 13.3143 20.3197 13.3315 20.2171C13.3488 20.1145 13.3976 20.0198 13.4713 19.9463L20.7113 12.7063C20.8909 12.5172 20.9895 12.2654 20.9862 12.0047C20.9829 11.7439 20.8778 11.4948 20.6934 11.3104C20.509 11.126 20.2599 11.0209 19.9991 11.0176C19.7383 11.0142 19.4866 11.1129 19.2975 11.2925L12.0538 18.5325C11.9802 18.6061 11.8855 18.655 11.7829 18.6722C11.6803 18.6895 11.5748 18.6743 11.4813 18.6287L2.13502 14.08C1.76954 13.9047 1.46598 13.6224 1.26454 13.2706C1.06311 12.9189 0.973316 12.5142 1.00707 12.1102C1.04082 11.7063 1.19652 11.3221 1.45354 11.0087C1.71056 10.6952 2.05676 10.4673 2.44627 10.355L26.4388 3.08H26.4575C26.7991 2.98403 27.1601 2.98066 27.5034 3.07025C27.8468 3.15984 28.1601 3.33916 28.4113 3.58981C28.6624 3.84045 28.8424 4.15341 28.9326 4.49656C29.0229 4.83971 29.0203 5.2007 28.925 5.5425Z" fill="currentColor"/>
|
|
357
|
+
</svg>
|
|
358
|
+
`;
|
|
359
|
+
|
|
360
|
+
const playStoreSvg = w ` <svg width="27" height="30" viewBox="0 0 27 30" fill="none">
|
|
361
|
+
<path d="M12.5395 14.3237L0.116699 27.5049V27.5188C0.251527 28.0177 0.49972 28.4788 0.841941 28.866C1.18416 29.2533 1.61117 29.5563 2.0897 29.7515C2.56823 29.9467 3.08536 30.0287 3.60081 29.9913C4.11625 29.9538 4.61609 29.7979 5.06139 29.5356L5.0975 29.512L19.0718 21.4519L12.5395 14.3237Z" fill="#EA4335"/>
|
|
362
|
+
<path d="M25.103 12.0833L25.0919 12.0722L19.0611 8.57202L12.2607 14.6279L19.0847 21.4504L25.0919 17.9864C25.6229 17.6983 26.0665 17.2725 26.376 16.7537C26.6854 16.2349 26.8493 15.6422 26.8505 15.0381C26.8516 14.434 26.6899 13.8408 26.3824 13.3208C26.0749 12.8008 25.633 12.3734 25.103 12.0833Z" fill="#FBBC04"/>
|
|
363
|
+
<path d="M0.116672 2.49553C0.047224 2.7761 0 3.05528 0 3.35946V26.6537C0 26.9565 0.0347234 27.237 0.116672 27.5162L12.959 14.6725L0.116672 2.49553Z" fill="#4285F4"/>
|
|
364
|
+
<path d="M12.634 15.0001L19.0607 8.57198L5.0975 0.477133C4.65115 0.210463 4.14916 0.0506574 3.63079 0.0102139C3.11242 -0.0302296 2.59172 0.0497852 2.10941 0.244001C1.6271 0.438216 1.19625 0.741368 0.850556 1.12975C0.504864 1.51813 0.253698 1.98121 0.116699 2.48279L12.634 15.0001Z" fill="#34A853"/>
|
|
365
|
+
</svg>`;
|
|
366
|
+
|
|
367
|
+
const reownSvg = w `<svg width="75" height="20" viewBox="0 0 75 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
368
|
+
<path d="M11.6666 5.83334C11.6666 2.61168 14.2783 0 17.5 0H25.8334C29.055 0 31.6666 2.61168 31.6666 5.83334V14.1666C31.6666 17.3883 29.055 20 25.8334 20H17.5C14.2783 20 11.6666 17.3883 11.6666 14.1666V5.83334Z" fill="var(--apkt-tokens-theme-foregroundTertiary)"/>
|
|
369
|
+
<path d="M19.5068 13.7499L22.4309 5.83331H23.2895L20.3654 13.7499H19.5068Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
370
|
+
<path d="M0 5.41666C0 2.42513 2.42513 0 5.41666 0C8.40821 0 10.8334 2.42513 10.8334 5.41666V14.5833C10.8334 17.5748 8.40821 20 5.41666 20C2.42513 20 0 17.5748 0 14.5833V5.41666Z" fill="var(--apkt-tokens-theme-foregroundTertiary)"/>
|
|
371
|
+
<path d="M4.89581 12.4997V11.458H5.93747V12.4997H4.89581Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
372
|
+
<path d="M32.5 10C32.5 4.47715 36.6896 0 41.8578 0H65.6422C70.8104 0 75 4.47715 75 10C75 15.5229 70.8104 20 65.6422 20H41.8578C36.6896 20 32.5 15.5229 32.5 10Z" fill="var(--apkt-tokens-theme-foregroundTertiary)"/>
|
|
373
|
+
<path d="M61.7108 12.4475V7.82751H62.5266V8.52418C62.8199 8.01084 63.4157 7.70834 64.0757 7.70834C65.0749 7.70834 65.7715 8.34084 65.7715 9.56918V12.4475H64.9649V9.61503C64.9649 8.80831 64.5066 8.38668 63.8374 8.38668C63.1132 8.38668 62.5266 8.9642 62.5266 9.78001V12.4475H61.7108Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
374
|
+
<path d="M56.5671 12.4475L55.7147 7.82748H56.4846L57.0896 11.6409L57.8871 9.12916H58.6479L59.4363 11.6134L60.0505 7.82748H60.8204L59.9679 12.4475H59.0513L58.2721 10.0458L57.4838 12.4475H56.5671Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
375
|
+
<path d="M52.9636 12.5666C51.5611 12.5666 50.7361 11.5217 50.7361 10.1375C50.7361 8.76254 51.5611 7.70834 52.9636 7.70834C54.3661 7.70834 55.1911 8.76254 55.1911 10.1375C55.1911 11.5217 54.3661 12.5666 52.9636 12.5666ZM52.9636 11.8883C53.9719 11.8883 54.357 11.0266 54.357 10.1283C54.357 9.23914 53.9719 8.38668 52.9636 8.38668C51.9552 8.38668 51.5702 9.23914 51.5702 10.1283C51.5702 11.0266 51.9552 11.8883 52.9636 11.8883Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
376
|
+
<path d="M47.8507 12.5666C46.494 12.5666 45.6415 11.5308 45.6415 10.1375C45.6415 8.75337 46.494 7.70834 47.8507 7.70834C48.9965 7.70834 50.0048 8.35917 49.8948 10.3483H46.4756C46.5398 11.2009 46.934 11.8975 47.8507 11.8975C48.4648 11.8975 48.8681 11.5217 49.0057 11.0908H49.8123C49.684 11.8609 48.9598 12.5666 47.8507 12.5666ZM46.494 9.73416H49.1065C49.0423 8.80831 48.6114 8.37751 47.8507 8.37751C47.0165 8.37751 46.604 8.98254 46.494 9.73416Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
377
|
+
<path d="M41.7284 12.4475V7.82748H42.5625V8.60665C42.8559 8.09332 43.3601 7.82748 43.8825 7.82748H44.9917V8.60665H43.8184C43.0851 8.60665 42.5625 9.08331 42.5625 10.0092V12.4475H41.7284Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
378
|
+
</svg>
|
|
379
|
+
|
|
380
|
+
`;
|
|
381
|
+
|
|
382
|
+
const solanaSvg = w `
|
|
383
|
+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 8">
|
|
384
|
+
<path
|
|
385
|
+
fill="var(--apkt-tokens-theme-textPrimary)"
|
|
386
|
+
d="m9.524 6.307-1.51 1.584A.35.35 0 0 1 7.76 8H.604a.178.178 0 0 1-.161-.103.168.168 0 0 1 .033-.186l1.51-1.583a.35.35 0 0 1 .256-.11h7.154c.034 0 .068.01.096.029a.168.168 0 0 1 .032.26Zm-1.51-3.189a.35.35 0 0 0-.255-.109H.604a.178.178 0 0 0-.161.103.168.168 0 0 0 .033.186l1.51 1.583a.35.35 0 0 0 .256.11h7.154a.178.178 0 0 0 .16-.104.168.168 0 0 0-.032-.185l-1.51-1.584ZM.605 1.981H7.76a.357.357 0 0 0 .256-.11L9.525.289a.17.17 0 0 0 .032-.185.173.173 0 0 0-.16-.103H2.241a.357.357 0 0 0-.256.109L.476 1.692a.17.17 0 0 0-.033.185.178.178 0 0 0 .16.103Z"
|
|
387
|
+
/>
|
|
388
|
+
</svg>
|
|
389
|
+
`;
|
|
390
|
+
|
|
391
|
+
const telegramSvg = w `<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
|
|
392
|
+
<g clip-path="url(#a)">
|
|
393
|
+
<path fill="url(#b)" d="M0 0h32v32H0z"/>
|
|
394
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M7.034 15.252c4.975-2.167 8.293-3.596 9.953-4.287 4.74-1.971 5.725-2.314 6.366-2.325.142-.002.457.033.662.198.172.14.22.33.243.463.022.132.05.435.028.671-.257 2.7-1.368 9.248-1.933 12.27-.24 1.28-.71 1.708-1.167 1.75-.99.091-1.743-.655-2.703-1.284-1.502-.985-2.351-1.598-3.81-2.558-1.684-1.11-.592-1.721.368-2.718.252-.261 4.619-4.233 4.703-4.594.01-.045.02-.213-.08-.301-.1-.09-.246-.059-.353-.035-.15.034-2.55 1.62-7.198 4.758-.682.468-1.298.696-1.851.684-.61-.013-1.782-.344-2.653-.628-1.069-.347-1.918-.53-1.845-1.12.039-.308.462-.623 1.27-.944Z" fill="#fff"/>
|
|
395
|
+
</g>
|
|
396
|
+
<path d="M.5 16C.5 7.44 7.44.5 16 .5 24.56.5 31.5 7.44 31.5 16c0 8.56-6.94 15.5-15.5 15.5C7.44 31.5.5 24.56.5 16Z" stroke="#141414" stroke-opacity=".05"/>
|
|
397
|
+
<defs>
|
|
398
|
+
<linearGradient id="b" x1="1600" y1="0" x2="1600" y2="3176.27" gradientUnits="userSpaceOnUse">
|
|
399
|
+
<stop stop-color="#2AABEE"/>
|
|
400
|
+
<stop offset="1" stop-color="#229ED9"/>
|
|
401
|
+
</linearGradient>
|
|
402
|
+
<clipPath id="a">
|
|
403
|
+
<path d="M0 16C0 7.163 7.163 0 16 0s16 7.163 16 16-7.163 16-16 16S0 24.837 0 16Z" fill="#fff"/>
|
|
404
|
+
</clipPath>
|
|
405
|
+
</defs>
|
|
406
|
+
</svg>`;
|
|
407
|
+
|
|
408
|
+
const tonSvg = w `
|
|
409
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10">
|
|
410
|
+
<path d="M8.37651 0H1.62309C0.381381 0 -0.405611 1.33944 0.219059 2.42225L4.38701 9.64649C4.659 10.1182 5.3406 10.1182 5.61259 9.64649L9.78139 2.42225C10.4052 1.34117 9.61822 0 8.37736 0H8.37651ZM4.38362 7.48005L3.47591 5.72329L1.2857 1.80606C1.14121 1.55534 1.31968 1.23405 1.62225 1.23405H4.38278V7.4809L4.38362 7.48005ZM8.71221 1.80521L6.52284 5.72414L5.61513 7.48005V1.2332H8.37566C8.67823 1.2332 8.85669 1.55449 8.71221 1.80521Z" fill="var(--apkt-tokens-theme-textPrimary)" />
|
|
411
|
+
</svg>
|
|
412
|
+
`;
|
|
413
|
+
|
|
414
|
+
const twitchSvg = w `<svg fill="none" viewBox="0 0 40 40">
|
|
415
|
+
<g clip-path="url(#a)">
|
|
416
|
+
<g clip-path="url(#b)">
|
|
417
|
+
<circle cx="20" cy="19.89" r="20" fill="#5A3E85" />
|
|
418
|
+
<g clip-path="url(#c)">
|
|
419
|
+
<path
|
|
420
|
+
fill="#fff"
|
|
421
|
+
d="M18.22 25.7 20 23.91h3.34l2.1-2.1v-6.68H15.4v8.78h2.82v1.77Zm3.87-8.16h1.25v3.66H22.1v-3.66Zm-3.34 0H20v3.66h-1.25v-3.66ZM20 7.9a12 12 0 1 0 0 24 12 12 0 0 0 0-24Zm6.69 14.56-3.66 3.66h-2.72l-1.77 1.78h-1.88V26.1H13.3v-9.82l.94-2.4H26.7v8.56Z"
|
|
422
|
+
/>
|
|
423
|
+
</g>
|
|
424
|
+
</g>
|
|
425
|
+
</g>
|
|
426
|
+
<defs>
|
|
427
|
+
<clipPath id="a"><rect width="40" height="40" fill="#fff" rx="20" /></clipPath>
|
|
428
|
+
<clipPath id="b"><path fill="#fff" d="M0 0h40v40H0z" /></clipPath>
|
|
429
|
+
<clipPath id="c"><path fill="#fff" d="M8 7.89h24v24H8z" /></clipPath>
|
|
430
|
+
</defs>
|
|
431
|
+
</svg>`;
|
|
432
|
+
|
|
433
|
+
const twitterIconSvg = w `<svg fill="none" viewBox="0 0 16 16">
|
|
434
|
+
<path
|
|
435
|
+
fill="currentColor"
|
|
436
|
+
d="m14.36 4.74.01.42c0 4.34-3.3 9.34-9.34 9.34A9.3 9.3 0 0 1 0 13.03a6.6 6.6 0 0 0 4.86-1.36 3.29 3.29 0 0 1-3.07-2.28c.5.1 1 .07 1.48-.06A3.28 3.28 0 0 1 .64 6.11v-.04c.46.26.97.4 1.49.41A3.29 3.29 0 0 1 1.11 2.1a9.32 9.32 0 0 0 6.77 3.43 3.28 3.28 0 0 1 5.6-3 6.59 6.59 0 0 0 2.08-.8 3.3 3.3 0 0 1-1.45 1.82A6.53 6.53 0 0 0 16 3.04c-.44.66-1 1.23-1.64 1.7Z"
|
|
437
|
+
/>
|
|
438
|
+
</svg>`;
|
|
439
|
+
|
|
440
|
+
const walletConnectSvg = w `
|
|
441
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="89" height="89" viewBox="0 0 89 89" fill="none">
|
|
442
|
+
<path d="M60.0468 39.2502L65.9116 33.3854C52.6562 20.13 36.1858 20.13 22.9304 33.3854L28.7952 39.2502C38.8764 29.169 49.9725 29.169 60.0536 39.2502H60.0468Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
443
|
+
<path d="M58.0927 52.9146L44.415 39.2369L30.7373 52.9146L17.0596 39.2369L11.2017 45.0949L30.7373 64.6374L44.415 50.9597L58.0927 64.6374L77.6284 45.0949L71.7704 39.2369L58.0927 52.9146Z" fill="var(--apkt-tokens-theme-textPrimary)"/>
|
|
444
|
+
</svg>`;
|
|
445
|
+
const walletConnectInvertSvg = w `
|
|
446
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="89" height="89" viewBox="0 0 89 89" fill="none">
|
|
447
|
+
<path d="M60.0468 39.2502L65.9116 33.3854C52.6562 20.13 36.1858 20.13 22.9304 33.3854L28.7952 39.2502C38.8764 29.169 49.9725 29.169 60.0536 39.2502H60.0468Z" fill="var(--apkt-tokens-theme-textInvert)"/>
|
|
448
|
+
<path d="M58.0927 52.9146L44.415 39.2369L30.7373 52.9146L17.0596 39.2369L11.2017 45.0949L30.7373 64.6374L44.415 50.9597L58.0927 64.6374L77.6284 45.0949L71.7704 39.2369L58.0927 52.9146Z" fill="var(--apkt-tokens-theme-textInvert)"/>
|
|
449
|
+
</svg>`;
|
|
450
|
+
const walletConnectLightBrownSvg = w `
|
|
451
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
452
|
+
<g clip-path="url(#clip0_22274_4692)">
|
|
453
|
+
<path d="M0 6.64C0 4.17295 0 2.93942 0.525474 2.01817C0.880399 1.39592 1.39592 0.880399 2.01817 0.525474C2.93942 0 4.17295 0 6.64 0H9.36C11.8271 0 13.0606 0 13.9818 0.525474C14.6041 0.880399 15.1196 1.39592 15.4745 2.01817C16 2.93942 16 4.17295 16 6.64V9.36C16 11.8271 16 13.0606 15.4745 13.9818C15.1196 14.6041 14.6041 15.1196 13.9818 15.4745C13.0606 16 11.8271 16 9.36 16H6.64C4.17295 16 2.93942 16 2.01817 15.4745C1.39592 15.1196 0.880399 14.6041 0.525474 13.9818C0 13.0606 0 11.8271 0 9.36V6.64Z" fill="#C7B994"/>
|
|
454
|
+
<path d="M4.49038 5.76609C6.42869 3.86833 9.5713 3.86833 11.5096 5.76609L11.7429 5.99449C11.8398 6.08938 11.8398 6.24323 11.7429 6.33811L10.9449 7.11942C10.8964 7.16686 10.8179 7.16686 10.7694 7.11942L10.4484 6.80512C9.09617 5.48119 6.90381 5.48119 5.5516 6.80512L5.20782 7.14171C5.15936 7.18915 5.08079 7.18915 5.03234 7.14171L4.23434 6.3604C4.13742 6.26552 4.13742 6.11167 4.23434 6.01678L4.49038 5.76609ZM13.1599 7.38192L13.8702 8.07729C13.9671 8.17217 13.9671 8.32602 13.8702 8.4209L10.6677 11.5564C10.5708 11.6513 10.4137 11.6513 10.3168 11.5564L8.04388 9.33105C8.01965 9.30733 7.98037 9.30733 7.95614 9.33105L5.6833 11.5564C5.58638 11.6513 5.42925 11.6513 5.33234 11.5564L2.12982 8.42087C2.0329 8.32598 2.0329 8.17213 2.12982 8.07724L2.84004 7.38188C2.93695 7.28699 3.09408 7.28699 3.191 7.38188L5.46392 9.60726C5.48815 9.63098 5.52743 9.63098 5.55166 9.60726L7.82447 7.38188C7.92138 7.28699 8.07851 7.28699 8.17543 7.38187L10.4484 9.60726C10.4726 9.63098 10.5119 9.63098 10.5361 9.60726L12.809 7.38192C12.9059 7.28703 13.063 7.28703 13.1599 7.38192Z" fill="currentColor"/>
|
|
455
|
+
</g>
|
|
456
|
+
<defs>
|
|
457
|
+
<clipPath id="clip0_22274_4692">
|
|
458
|
+
<path d="M0 8C0 3.58172 3.58172 0 8 0C12.4183 0 16 3.58172 16 8C16 12.4183 12.4183 16 8 16C3.58172 16 0 12.4183 0 8Z" fill="white"/>
|
|
459
|
+
</clipPath>
|
|
460
|
+
</defs>
|
|
461
|
+
</svg>
|
|
462
|
+
`;
|
|
463
|
+
const walletConnectBrownSvg = w `
|
|
464
|
+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
465
|
+
<circle cx="11" cy="11" r="11" transform="matrix(-1 0 0 1 23 1)" fill="#202020"/>
|
|
466
|
+
<circle cx="11" cy="11" r="11.5" transform="matrix(-1 0 0 1 23 1)" stroke="#C7B994" stroke-opacity="0.7"/>
|
|
467
|
+
<path d="M15.4523 11.0686L16.7472 9.78167C13.8205 6.87297 10.1838 6.87297 7.25708 9.78167L8.55201 11.0686C10.7779 8.85645 13.2279 8.85645 15.4538 11.0686H15.4523Z" fill="#C7B994"/>
|
|
468
|
+
<path d="M15.0199 14.067L12 11.0656L8.98 14.067L5.96004 11.0656L4.66663 12.3511L8.98 16.6393L12 13.638L15.0199 16.6393L19.3333 12.3511L18.0399 11.0656L15.0199 14.067Z" fill="#C7B994"/>
|
|
469
|
+
</svg>
|
|
470
|
+
`;
|
|
471
|
+
|
|
472
|
+
const xSvg = w `<svg fill="none" viewBox="0 0 41 40">
|
|
473
|
+
<g clip-path="url(#a)">
|
|
474
|
+
<path fill="#000" d="M.8 0h40v40H.8z" />
|
|
475
|
+
<path
|
|
476
|
+
fill="#fff"
|
|
477
|
+
d="m22.63 18.46 7.14-8.3h-1.69l-6.2 7.2-4.96-7.2H11.2l7.5 10.9-7.5 8.71h1.7l6.55-7.61 5.23 7.61h5.72l-7.77-11.31Zm-9.13-7.03h2.6l11.98 17.13h-2.6L13.5 11.43Z"
|
|
478
|
+
/>
|
|
479
|
+
</g>
|
|
480
|
+
<defs>
|
|
481
|
+
<clipPath id="a"><path fill="#fff" d="M.8 20a20 20 0 1 1 40 0 20 20 0 0 1-40 0Z" /></clipPath>
|
|
482
|
+
</defs>
|
|
483
|
+
</svg>`;
|
|
484
|
+
|
|
485
|
+
var styles$1 = i$2 `
|
|
486
|
+
:host {
|
|
487
|
+
display: flex;
|
|
488
|
+
justify-content: center;
|
|
489
|
+
align-items: center;
|
|
490
|
+
aspect-ratio: 1 / 1;
|
|
491
|
+
color: var(--local-color);
|
|
492
|
+
width: var(--local-width);
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
svg {
|
|
496
|
+
height: inherit;
|
|
497
|
+
width: inherit;
|
|
498
|
+
object-fit: contain;
|
|
499
|
+
object-position: center;
|
|
500
|
+
}
|
|
501
|
+
`;
|
|
502
|
+
|
|
503
|
+
var __decorate$1 = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
504
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
505
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
506
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
507
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
508
|
+
};
|
|
509
|
+
const phosphorIconsMap = {
|
|
510
|
+
add: 'ph-plus',
|
|
511
|
+
allWallets: 'ph-dots-three',
|
|
512
|
+
arrowBottom: 'ph-arrow-down',
|
|
513
|
+
arrowBottomCircle: 'ph-arrow-circle-down',
|
|
514
|
+
arrowClockWise: 'ph-arrow-clockwise',
|
|
515
|
+
arrowLeft: 'ph-arrow-left',
|
|
516
|
+
arrowRight: 'ph-arrow-right',
|
|
517
|
+
arrowTop: 'ph-arrow-up',
|
|
518
|
+
arrowTopRight: 'ph-arrow-up-right',
|
|
519
|
+
bank: 'ph-bank',
|
|
520
|
+
bin: 'ph-trash',
|
|
521
|
+
browser: 'ph-browser',
|
|
522
|
+
card: 'ph-credit-card',
|
|
523
|
+
checkmark: 'ph-check',
|
|
524
|
+
checkmarkBold: 'ph-check',
|
|
525
|
+
chevronBottom: 'ph-caret-down',
|
|
526
|
+
chevronLeft: 'ph-caret-left',
|
|
527
|
+
chevronRight: 'ph-caret-right',
|
|
528
|
+
chevronTop: 'ph-caret-up',
|
|
529
|
+
clock: 'ph-clock',
|
|
530
|
+
close: 'ph-x',
|
|
531
|
+
coinPlaceholder: 'ph-circle-half',
|
|
532
|
+
compass: 'ph-compass',
|
|
533
|
+
copy: 'ph-copy',
|
|
534
|
+
desktop: 'ph-desktop',
|
|
535
|
+
dollar: 'ph-currency-dollar',
|
|
536
|
+
download: 'ph-vault',
|
|
537
|
+
exclamationCircle: 'ph-warning-circle',
|
|
538
|
+
extension: 'ph-puzzle-piece',
|
|
539
|
+
externalLink: 'ph-arrow-square-out',
|
|
540
|
+
filters: 'ph-funnel-simple',
|
|
541
|
+
helpCircle: 'ph-question',
|
|
542
|
+
id: 'ph-identification-card',
|
|
543
|
+
image: 'ph-image',
|
|
544
|
+
info: 'ph-info',
|
|
545
|
+
lightbulb: 'ph-lightbulb',
|
|
546
|
+
mail: 'ph-envelope',
|
|
547
|
+
mobile: 'ph-device-mobile',
|
|
548
|
+
more: 'ph-dots-three',
|
|
549
|
+
networkPlaceholder: 'ph-globe',
|
|
550
|
+
nftPlaceholder: 'ph-image',
|
|
551
|
+
plus: 'ph-plus',
|
|
552
|
+
power: 'ph-power',
|
|
553
|
+
qrCode: 'ph-qr-code',
|
|
554
|
+
questionMark: 'ph-question',
|
|
555
|
+
refresh: 'ph-arrow-clockwise',
|
|
556
|
+
recycleHorizontal: 'ph-arrows-clockwise',
|
|
557
|
+
search: 'ph-magnifying-glass',
|
|
558
|
+
sealCheck: 'ph-seal-check',
|
|
559
|
+
send: 'ph-paper-plane-right',
|
|
560
|
+
signOut: 'ph-sign-out',
|
|
561
|
+
spinner: 'ph-spinner',
|
|
562
|
+
swapHorizontal: 'ph-arrows-left-right',
|
|
563
|
+
swapVertical: 'ph-arrows-down-up',
|
|
564
|
+
threeDots: 'ph-dots-three',
|
|
565
|
+
user: 'ph-user',
|
|
566
|
+
verify: 'ph-seal-check',
|
|
567
|
+
verifyFilled: 'ph-seal-check',
|
|
568
|
+
wallet: 'ph-wallet',
|
|
569
|
+
warning: 'ph-warning',
|
|
570
|
+
warningCircle: 'ph-warning-circle',
|
|
571
|
+
appStore: '',
|
|
572
|
+
apple: '',
|
|
573
|
+
bitcoin: '',
|
|
574
|
+
coins: '',
|
|
575
|
+
chromeStore: '',
|
|
576
|
+
cursor: '',
|
|
577
|
+
discord: '',
|
|
578
|
+
ethereum: '',
|
|
579
|
+
etherscan: '',
|
|
580
|
+
facebook: '',
|
|
581
|
+
farcaster: '',
|
|
582
|
+
github: '',
|
|
583
|
+
google: '',
|
|
584
|
+
playStore: '',
|
|
585
|
+
paperPlaneTitle: '',
|
|
586
|
+
reown: '',
|
|
587
|
+
solana: '',
|
|
588
|
+
ton: '',
|
|
589
|
+
telegram: '',
|
|
590
|
+
twitch: '',
|
|
591
|
+
twitterIcon: '',
|
|
592
|
+
twitter: '',
|
|
593
|
+
walletConnect: '',
|
|
594
|
+
walletConnectBrown: '',
|
|
595
|
+
walletConnectLightBrown: '',
|
|
596
|
+
x: '',
|
|
597
|
+
infoSeal: ''
|
|
598
|
+
};
|
|
599
|
+
const phosphorImports = {
|
|
600
|
+
'ph-arrow-circle-down': () => import('./PhArrowCircleDown-BiDIiYXi.js'),
|
|
601
|
+
'ph-arrow-clockwise': () => import('./PhArrowClockwise-BRnlxNUR.js'),
|
|
602
|
+
'ph-arrow-down': () => import('./PhArrowDown-Co2hyXIs.js'),
|
|
603
|
+
'ph-arrow-left': () => import('./PhArrowLeft-Cb8ijwK6.js'),
|
|
604
|
+
'ph-arrow-right': () => import('./PhArrowRight-B9t--Gmh.js'),
|
|
605
|
+
'ph-arrow-square-out': () => import('./PhArrowSquareOut-eGBMEr5T.js'),
|
|
606
|
+
'ph-arrows-down-up': () => import('./PhArrowsDownUp-CMVR84b1.js'),
|
|
607
|
+
'ph-arrows-left-right': () => import('./PhArrowsLeftRight-CmXk8rs2.js'),
|
|
608
|
+
'ph-arrow-up': () => import('./PhArrowUp-CjSpT-xh.js'),
|
|
609
|
+
'ph-arrow-up-right': () => import('./PhArrowUpRight-B8u6wk-A.js'),
|
|
610
|
+
'ph-arrows-clockwise': () => import('./PhArrowsClockwise-CBcfV6j6.js'),
|
|
611
|
+
'ph-bank': () => import('./PhBank-BigtjnS8.js'),
|
|
612
|
+
'ph-browser': () => import('./PhBrowser-BOulLD8D.js'),
|
|
613
|
+
'ph-caret-down': () => import('./PhCaretDown-BvvZ65ad.js'),
|
|
614
|
+
'ph-caret-left': () => import('./PhCaretLeft-DtwjZbZ7.js'),
|
|
615
|
+
'ph-caret-right': () => import('./PhCaretRight-C8LuSZkO.js'),
|
|
616
|
+
'ph-caret-up': () => import('./PhCaretUp-B2lAObip.js'),
|
|
617
|
+
'ph-check': () => import('./PhCheck-DQtuVrQf.js'),
|
|
618
|
+
'ph-circle-half': () => import('./PhCircleHalf-CXfZ0QZv.js'),
|
|
619
|
+
'ph-clock': () => import('./PhClock-CXsmuc_a.js'),
|
|
620
|
+
'ph-compass': () => import('./PhCompass-Cg-qnMon.js'),
|
|
621
|
+
'ph-copy': () => import('./PhCopy-kGRKcvb4.js'),
|
|
622
|
+
'ph-credit-card': () => import('./PhCreditCard-jYFausLO.js'),
|
|
623
|
+
'ph-currency-dollar': () => import('./PhCurrencyDollar-C8vSY3fy.js'),
|
|
624
|
+
'ph-desktop': () => import('./PhDesktop-AczlBCho.js'),
|
|
625
|
+
'ph-device-mobile': () => import('./PhDeviceMobile-3rFbdWLA.js'),
|
|
626
|
+
'ph-dots-three': () => import('./PhDotsThree-cJsXXsvY.js'),
|
|
627
|
+
'ph-vault': () => import('./PhVault-EnLnS_IQ.js'),
|
|
628
|
+
'ph-envelope': () => import('./PhEnvelope-C1bxHVXw.js'),
|
|
629
|
+
'ph-funnel-simple': () => import('./PhFunnelSimple-DhqB9fsu.js'),
|
|
630
|
+
'ph-globe': () => import('./PhGlobe-BFp6kx95.js'),
|
|
631
|
+
'ph-identification-card': () => import('./PhIdentificationCard-BdYxckWB.js'),
|
|
632
|
+
'ph-image': () => import('./PhImage-CXxX5oq3.js'),
|
|
633
|
+
'ph-info': () => import('./PhInfo-BcuP36hY.js'),
|
|
634
|
+
'ph-lightbulb': () => import('./PhLightbulb-DkWwRl94.js'),
|
|
635
|
+
'ph-magnifying-glass': () => import('./PhMagnifyingGlass-B_fFjslY.js'),
|
|
636
|
+
'ph-paper-plane-right': () => import('./PhPaperPlaneRight-BIzGG3QW.js'),
|
|
637
|
+
'ph-plus': () => import('./PhPlus-BGosT2zu.js'),
|
|
638
|
+
'ph-power': () => import('./PhPower-BMqDnP1n.js'),
|
|
639
|
+
'ph-puzzle-piece': () => import('./PhPuzzlePiece-DNMpiJNU.js'),
|
|
640
|
+
'ph-qr-code': () => import('./PhQrCode-DrHkqrU4.js'),
|
|
641
|
+
'ph-question': () => import('./PhQuestion-zTfvwqNz.js'),
|
|
642
|
+
'ph-question-circle': () => import('./PhQuestionMark-h3Nk1Yf1.js'),
|
|
643
|
+
'ph-seal-check': () => import('./PhSealCheck-DPPqSt6G.js'),
|
|
644
|
+
'ph-sign-out': () => import('./PhSignOut-CJgnrE_v.js'),
|
|
645
|
+
'ph-spinner': () => import('./PhSpinner-CMTEIWbw.js'),
|
|
646
|
+
'ph-trash': () => import('./PhTrash-CeDVW4am.js'),
|
|
647
|
+
'ph-user': () => import('./PhUser-lQ9WUtAV.js'),
|
|
648
|
+
'ph-wallet': () => import('./PhWallet-CUeDZydd.js'),
|
|
649
|
+
'ph-warning': () => import('./PhWarning-CokeGZs2.js'),
|
|
650
|
+
'ph-warning-circle': () => import('./PhWarningCircle-vWtA7S0R.js'),
|
|
651
|
+
'ph-x': () => import('./PhX-DwCRIvoc.js')
|
|
652
|
+
};
|
|
653
|
+
const svgOptions = {
|
|
654
|
+
appStore: appStoreSvg,
|
|
655
|
+
apple: appleSvg,
|
|
656
|
+
bitcoin: bitcoinSvg,
|
|
657
|
+
coins: coinsSvg,
|
|
658
|
+
chromeStore: chromeStoreSvg,
|
|
659
|
+
cursor: cursorSvg,
|
|
660
|
+
discord: discordSvg,
|
|
661
|
+
ethereum: ethereumSvg,
|
|
662
|
+
etherscan: etherscanSvg,
|
|
663
|
+
facebook: facebookSvg,
|
|
664
|
+
farcaster: farcasterSvg,
|
|
665
|
+
github: githubSvg,
|
|
666
|
+
google: googleSvg,
|
|
667
|
+
playStore: playStoreSvg,
|
|
668
|
+
paperPlaneTitle: paperPlaneTitleSvg,
|
|
669
|
+
reown: reownSvg,
|
|
670
|
+
solana: solanaSvg,
|
|
671
|
+
ton: tonSvg,
|
|
672
|
+
telegram: telegramSvg,
|
|
673
|
+
twitch: twitchSvg,
|
|
674
|
+
twitter: xSvg,
|
|
675
|
+
twitterIcon: twitterIconSvg,
|
|
676
|
+
walletConnect: walletConnectSvg,
|
|
677
|
+
walletConnectInvert: walletConnectInvertSvg,
|
|
678
|
+
walletConnectBrown: walletConnectBrownSvg,
|
|
679
|
+
walletConnectLightBrown: walletConnectLightBrownSvg,
|
|
680
|
+
x: xSvg,
|
|
681
|
+
infoSeal: infoSealSvg
|
|
682
|
+
};
|
|
683
|
+
const ICON_COLOR = {
|
|
684
|
+
'accent-primary': vars.tokens.core.iconAccentPrimary,
|
|
685
|
+
'accent-certified': vars.tokens.core.iconAccentCertified,
|
|
686
|
+
'foreground-secondary': vars.tokens.theme.foregroundSecondary,
|
|
687
|
+
default: vars.tokens.theme.iconDefault,
|
|
688
|
+
success: vars.tokens.core.iconSuccess,
|
|
689
|
+
error: vars.tokens.core.iconError,
|
|
690
|
+
warning: vars.tokens.core.iconWarning,
|
|
691
|
+
inverse: vars.tokens.theme.iconInverse
|
|
692
|
+
};
|
|
693
|
+
let WuiIcon = class WuiIcon extends i$3 {
|
|
694
|
+
constructor() {
|
|
695
|
+
super(...arguments);
|
|
696
|
+
this.size = 'md';
|
|
697
|
+
this.name = 'copy';
|
|
698
|
+
this.weight = 'bold';
|
|
699
|
+
this.color = 'inherit';
|
|
700
|
+
}
|
|
701
|
+
render() {
|
|
702
|
+
const getSize = {
|
|
703
|
+
xxs: '2',
|
|
704
|
+
xs: '3',
|
|
705
|
+
sm: '3',
|
|
706
|
+
md: '4',
|
|
707
|
+
mdl: '5',
|
|
708
|
+
lg: '5',
|
|
709
|
+
xl: '6',
|
|
710
|
+
xxl: '7',
|
|
711
|
+
inherit: 'inherit'
|
|
712
|
+
};
|
|
713
|
+
this.style.cssText = `
|
|
714
|
+
--local-width: ${this.size === 'inherit' ? 'inherit' : `var(--apkt-spacing-${getSize[this.size]})`};
|
|
715
|
+
--local-color: ${this.color === 'inherit' ? 'inherit' : ICON_COLOR[this.color]}
|
|
716
|
+
`;
|
|
717
|
+
const phosphorIconTag = phosphorIconsMap[this.name];
|
|
718
|
+
if (phosphorIconTag && phosphorIconTag !== '') {
|
|
719
|
+
const importFn = phosphorImports[phosphorIconTag];
|
|
720
|
+
if (importFn) {
|
|
721
|
+
importFn();
|
|
722
|
+
}
|
|
723
|
+
const tag = s(phosphorIconTag);
|
|
724
|
+
const getPhosphorSize = {
|
|
725
|
+
xxs: '0.5em',
|
|
726
|
+
xs: '0.75em',
|
|
727
|
+
sm: '0.75em',
|
|
728
|
+
md: '1em',
|
|
729
|
+
mdl: '1.25em',
|
|
730
|
+
lg: '1.25em',
|
|
731
|
+
xl: '1.5em',
|
|
732
|
+
xxl: '1.75em'
|
|
733
|
+
};
|
|
734
|
+
return u `<${tag} size=${getPhosphorSize[this.size]} weight="${this.weight}"></${tag}>`;
|
|
735
|
+
}
|
|
736
|
+
return svgOptions[this.name] || u ``;
|
|
737
|
+
}
|
|
738
|
+
};
|
|
739
|
+
WuiIcon.styles = [resetStyles, styles$1];
|
|
740
|
+
__decorate$1([
|
|
741
|
+
n$2()
|
|
742
|
+
], WuiIcon.prototype, "size", void 0);
|
|
743
|
+
__decorate$1([
|
|
744
|
+
n$2()
|
|
745
|
+
], WuiIcon.prototype, "name", void 0);
|
|
746
|
+
__decorate$1([
|
|
747
|
+
n$2()
|
|
748
|
+
], WuiIcon.prototype, "weight", void 0);
|
|
749
|
+
__decorate$1([
|
|
750
|
+
n$2()
|
|
751
|
+
], WuiIcon.prototype, "color", void 0);
|
|
752
|
+
WuiIcon = __decorate$1([
|
|
753
|
+
customElement('wui-icon')
|
|
754
|
+
], WuiIcon);
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* @license
|
|
758
|
+
* Copyright 2017 Google LLC
|
|
759
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
760
|
+
*/
|
|
761
|
+
const t={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},e$1=t=>(...e)=>({_$litDirective$:t,values:e});class i{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i;}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* @license
|
|
765
|
+
* Copyright 2018 Google LLC
|
|
766
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
|
767
|
+
*/const e=e$1(class extends i{constructor(t$1){if(super(t$1),t$1.type!==t.ATTRIBUTE||"class"!==t$1.name||t$1.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return " "+Object.keys(t).filter(s=>t[s]).join(" ")+" "}update(s,[i]){if(void 0===this.st){this.st=new Set,void 0!==s.strings&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in i)i[t]&&!this.nt?.has(t)&&this.st.add(t);return this.render(i)}const r=s.element.classList;for(const t of this.st)t in i||(r.remove(t),this.st.delete(t));for(const t in i){const s=!!i[t];s===this.st.has(t)||this.nt?.has(t)||(s?(r.add(t),this.st.add(t)):(r.remove(t),this.st.delete(t)));}return E}});
|
|
768
|
+
|
|
769
|
+
var styles = css `
|
|
770
|
+
slot {
|
|
771
|
+
width: 100%;
|
|
772
|
+
display: inline-block;
|
|
773
|
+
font-style: normal;
|
|
774
|
+
overflow: inherit;
|
|
775
|
+
text-overflow: inherit;
|
|
776
|
+
text-align: var(--local-align);
|
|
777
|
+
color: var(--local-color);
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.wui-line-clamp-1 {
|
|
781
|
+
overflow: hidden;
|
|
782
|
+
display: -webkit-box;
|
|
783
|
+
-webkit-box-orient: vertical;
|
|
784
|
+
-webkit-line-clamp: 1;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
.wui-line-clamp-2 {
|
|
788
|
+
overflow: hidden;
|
|
789
|
+
display: -webkit-box;
|
|
790
|
+
-webkit-box-orient: vertical;
|
|
791
|
+
-webkit-line-clamp: 2;
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
/* -- Headings --------------------------------------------------- */
|
|
795
|
+
.wui-font-h1-regular-mono {
|
|
796
|
+
font-size: ${({ textSize }) => textSize.h1};
|
|
797
|
+
line-height: ${({ typography }) => typography['h1-regular-mono'].lineHeight};
|
|
798
|
+
letter-spacing: ${({ typography }) => typography['h1-regular-mono'].letterSpacing};
|
|
799
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
800
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
.wui-font-h1-regular {
|
|
804
|
+
font-size: ${({ textSize }) => textSize.h1};
|
|
805
|
+
line-height: ${({ typography }) => typography['h1-regular'].lineHeight};
|
|
806
|
+
letter-spacing: ${({ typography }) => typography['h1-regular'].letterSpacing};
|
|
807
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
808
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
809
|
+
font-feature-settings:
|
|
810
|
+
'liga' off,
|
|
811
|
+
'clig' off;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
.wui-font-h1-medium {
|
|
815
|
+
font-size: ${({ textSize }) => textSize.h1};
|
|
816
|
+
line-height: ${({ typography }) => typography['h1-medium'].lineHeight};
|
|
817
|
+
letter-spacing: ${({ typography }) => typography['h1-medium'].letterSpacing};
|
|
818
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
819
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
820
|
+
font-feature-settings:
|
|
821
|
+
'liga' off,
|
|
822
|
+
'clig' off;
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.wui-font-h2-regular-mono {
|
|
826
|
+
font-size: ${({ textSize }) => textSize.h2};
|
|
827
|
+
line-height: ${({ typography }) => typography['h2-regular-mono'].lineHeight};
|
|
828
|
+
letter-spacing: ${({ typography }) => typography['h2-regular-mono'].letterSpacing};
|
|
829
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
830
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
.wui-font-h2-regular {
|
|
834
|
+
font-size: ${({ textSize }) => textSize.h2};
|
|
835
|
+
line-height: ${({ typography }) => typography['h2-regular'].lineHeight};
|
|
836
|
+
letter-spacing: ${({ typography }) => typography['h2-regular'].letterSpacing};
|
|
837
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
838
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
839
|
+
font-feature-settings:
|
|
840
|
+
'liga' off,
|
|
841
|
+
'clig' off;
|
|
842
|
+
}
|
|
843
|
+
|
|
844
|
+
.wui-font-h2-medium {
|
|
845
|
+
font-size: ${({ textSize }) => textSize.h2};
|
|
846
|
+
line-height: ${({ typography }) => typography['h2-medium'].lineHeight};
|
|
847
|
+
letter-spacing: ${({ typography }) => typography['h2-medium'].letterSpacing};
|
|
848
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
849
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
850
|
+
font-feature-settings:
|
|
851
|
+
'liga' off,
|
|
852
|
+
'clig' off;
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
.wui-font-h3-regular-mono {
|
|
856
|
+
font-size: ${({ textSize }) => textSize.h3};
|
|
857
|
+
line-height: ${({ typography }) => typography['h3-regular-mono'].lineHeight};
|
|
858
|
+
letter-spacing: ${({ typography }) => typography['h3-regular-mono'].letterSpacing};
|
|
859
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
860
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
861
|
+
}
|
|
862
|
+
|
|
863
|
+
.wui-font-h3-regular {
|
|
864
|
+
font-size: ${({ textSize }) => textSize.h3};
|
|
865
|
+
line-height: ${({ typography }) => typography['h3-regular'].lineHeight};
|
|
866
|
+
letter-spacing: ${({ typography }) => typography['h3-regular'].letterSpacing};
|
|
867
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
868
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
869
|
+
font-feature-settings:
|
|
870
|
+
'liga' off,
|
|
871
|
+
'clig' off;
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
.wui-font-h3-medium {
|
|
875
|
+
font-size: ${({ textSize }) => textSize.h3};
|
|
876
|
+
line-height: ${({ typography }) => typography['h3-medium'].lineHeight};
|
|
877
|
+
letter-spacing: ${({ typography }) => typography['h3-medium'].letterSpacing};
|
|
878
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
879
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
880
|
+
font-feature-settings:
|
|
881
|
+
'liga' off,
|
|
882
|
+
'clig' off;
|
|
883
|
+
}
|
|
884
|
+
|
|
885
|
+
.wui-font-h4-regular-mono {
|
|
886
|
+
font-size: ${({ textSize }) => textSize.h4};
|
|
887
|
+
line-height: ${({ typography }) => typography['h4-regular-mono'].lineHeight};
|
|
888
|
+
letter-spacing: ${({ typography }) => typography['h4-regular-mono'].letterSpacing};
|
|
889
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
890
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
.wui-font-h4-regular {
|
|
894
|
+
font-size: ${({ textSize }) => textSize.h4};
|
|
895
|
+
line-height: ${({ typography }) => typography['h4-regular'].lineHeight};
|
|
896
|
+
letter-spacing: ${({ typography }) => typography['h4-regular'].letterSpacing};
|
|
897
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
898
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
899
|
+
font-feature-settings:
|
|
900
|
+
'liga' off,
|
|
901
|
+
'clig' off;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
.wui-font-h4-medium {
|
|
905
|
+
font-size: ${({ textSize }) => textSize.h4};
|
|
906
|
+
line-height: ${({ typography }) => typography['h4-medium'].lineHeight};
|
|
907
|
+
letter-spacing: ${({ typography }) => typography['h4-medium'].letterSpacing};
|
|
908
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
909
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
910
|
+
font-feature-settings:
|
|
911
|
+
'liga' off,
|
|
912
|
+
'clig' off;
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
.wui-font-h5-regular-mono {
|
|
916
|
+
font-size: ${({ textSize }) => textSize.h5};
|
|
917
|
+
line-height: ${({ typography }) => typography['h5-regular-mono'].lineHeight};
|
|
918
|
+
letter-spacing: ${({ typography }) => typography['h5-regular-mono'].letterSpacing};
|
|
919
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
920
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
921
|
+
}
|
|
922
|
+
|
|
923
|
+
.wui-font-h5-regular {
|
|
924
|
+
font-size: ${({ textSize }) => textSize.h5};
|
|
925
|
+
line-height: ${({ typography }) => typography['h5-regular'].lineHeight};
|
|
926
|
+
letter-spacing: ${({ typography }) => typography['h5-regular'].letterSpacing};
|
|
927
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
928
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
929
|
+
font-feature-settings:
|
|
930
|
+
'liga' off,
|
|
931
|
+
'clig' off;
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
.wui-font-h5-medium {
|
|
935
|
+
font-size: ${({ textSize }) => textSize.h5};
|
|
936
|
+
line-height: ${({ typography }) => typography['h5-medium'].lineHeight};
|
|
937
|
+
letter-spacing: ${({ typography }) => typography['h5-medium'].letterSpacing};
|
|
938
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
939
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
940
|
+
font-feature-settings:
|
|
941
|
+
'liga' off,
|
|
942
|
+
'clig' off;
|
|
943
|
+
}
|
|
944
|
+
|
|
945
|
+
.wui-font-h6-regular-mono {
|
|
946
|
+
font-size: ${({ textSize }) => textSize.h6};
|
|
947
|
+
line-height: ${({ typography }) => typography['h6-regular-mono'].lineHeight};
|
|
948
|
+
letter-spacing: ${({ typography }) => typography['h6-regular-mono'].letterSpacing};
|
|
949
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
950
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.wui-font-h6-regular {
|
|
954
|
+
font-size: ${({ textSize }) => textSize.h6};
|
|
955
|
+
line-height: ${({ typography }) => typography['h6-regular'].lineHeight};
|
|
956
|
+
letter-spacing: ${({ typography }) => typography['h6-regular'].letterSpacing};
|
|
957
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
958
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
959
|
+
font-feature-settings:
|
|
960
|
+
'liga' off,
|
|
961
|
+
'clig' off;
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
.wui-font-h6-medium {
|
|
965
|
+
font-size: ${({ textSize }) => textSize.h6};
|
|
966
|
+
line-height: ${({ typography }) => typography['h6-medium'].lineHeight};
|
|
967
|
+
letter-spacing: ${({ typography }) => typography['h6-medium'].letterSpacing};
|
|
968
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
969
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
970
|
+
font-feature-settings:
|
|
971
|
+
'liga' off,
|
|
972
|
+
'clig' off;
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.wui-font-lg-regular-mono {
|
|
976
|
+
font-size: ${({ textSize }) => textSize.large};
|
|
977
|
+
line-height: ${({ typography }) => typography['lg-regular-mono'].lineHeight};
|
|
978
|
+
letter-spacing: ${({ typography }) => typography['lg-regular-mono'].letterSpacing};
|
|
979
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
980
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.wui-font-lg-regular {
|
|
984
|
+
font-size: ${({ textSize }) => textSize.large};
|
|
985
|
+
line-height: ${({ typography }) => typography['lg-regular'].lineHeight};
|
|
986
|
+
letter-spacing: ${({ typography }) => typography['lg-regular'].letterSpacing};
|
|
987
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
988
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
989
|
+
font-feature-settings:
|
|
990
|
+
'liga' off,
|
|
991
|
+
'clig' off;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
.wui-font-lg-medium {
|
|
995
|
+
font-size: ${({ textSize }) => textSize.large};
|
|
996
|
+
line-height: ${({ typography }) => typography['lg-medium'].lineHeight};
|
|
997
|
+
letter-spacing: ${({ typography }) => typography['lg-medium'].letterSpacing};
|
|
998
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
999
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
1000
|
+
font-feature-settings:
|
|
1001
|
+
'liga' off,
|
|
1002
|
+
'clig' off;
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
.wui-font-md-regular-mono {
|
|
1006
|
+
font-size: ${({ textSize }) => textSize.medium};
|
|
1007
|
+
line-height: ${({ typography }) => typography['md-regular-mono'].lineHeight};
|
|
1008
|
+
letter-spacing: ${({ typography }) => typography['md-regular-mono'].letterSpacing};
|
|
1009
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
1010
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
.wui-font-md-regular {
|
|
1014
|
+
font-size: ${({ textSize }) => textSize.medium};
|
|
1015
|
+
line-height: ${({ typography }) => typography['md-regular'].lineHeight};
|
|
1016
|
+
letter-spacing: ${({ typography }) => typography['md-regular'].letterSpacing};
|
|
1017
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
1018
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
1019
|
+
font-feature-settings:
|
|
1020
|
+
'liga' off,
|
|
1021
|
+
'clig' off;
|
|
1022
|
+
}
|
|
1023
|
+
|
|
1024
|
+
.wui-font-md-medium {
|
|
1025
|
+
font-size: ${({ textSize }) => textSize.medium};
|
|
1026
|
+
line-height: ${({ typography }) => typography['md-medium'].lineHeight};
|
|
1027
|
+
letter-spacing: ${({ typography }) => typography['md-medium'].letterSpacing};
|
|
1028
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
1029
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
1030
|
+
font-feature-settings:
|
|
1031
|
+
'liga' off,
|
|
1032
|
+
'clig' off;
|
|
1033
|
+
}
|
|
1034
|
+
|
|
1035
|
+
.wui-font-sm-regular-mono {
|
|
1036
|
+
font-size: ${({ textSize }) => textSize.small};
|
|
1037
|
+
line-height: ${({ typography }) => typography['sm-regular-mono'].lineHeight};
|
|
1038
|
+
letter-spacing: ${({ typography }) => typography['sm-regular-mono'].letterSpacing};
|
|
1039
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
1040
|
+
font-family: ${({ fontFamily }) => fontFamily.mono};
|
|
1041
|
+
}
|
|
1042
|
+
|
|
1043
|
+
.wui-font-sm-regular {
|
|
1044
|
+
font-size: ${({ textSize }) => textSize.small};
|
|
1045
|
+
line-height: ${({ typography }) => typography['sm-regular'].lineHeight};
|
|
1046
|
+
letter-spacing: ${({ typography }) => typography['sm-regular'].letterSpacing};
|
|
1047
|
+
font-weight: ${({ fontWeight }) => fontWeight.regular};
|
|
1048
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
1049
|
+
font-feature-settings:
|
|
1050
|
+
'liga' off,
|
|
1051
|
+
'clig' off;
|
|
1052
|
+
}
|
|
1053
|
+
|
|
1054
|
+
.wui-font-sm-medium {
|
|
1055
|
+
font-size: ${({ textSize }) => textSize.small};
|
|
1056
|
+
line-height: ${({ typography }) => typography['sm-medium'].lineHeight};
|
|
1057
|
+
letter-spacing: ${({ typography }) => typography['sm-medium'].letterSpacing};
|
|
1058
|
+
font-weight: ${({ fontWeight }) => fontWeight.medium};
|
|
1059
|
+
font-family: ${({ fontFamily }) => fontFamily.regular};
|
|
1060
|
+
font-feature-settings:
|
|
1061
|
+
'liga' off,
|
|
1062
|
+
'clig' off;
|
|
1063
|
+
}
|
|
1064
|
+
`;
|
|
1065
|
+
|
|
1066
|
+
var __decorate = (undefined && undefined.__decorate) || function (decorators, target, key, desc) {
|
|
1067
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
1068
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
1069
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
1070
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
1071
|
+
};
|
|
1072
|
+
const TEXT_VARS_BY_COLOR = {
|
|
1073
|
+
primary: vars.tokens.theme.textPrimary,
|
|
1074
|
+
secondary: vars.tokens.theme.textSecondary,
|
|
1075
|
+
tertiary: vars.tokens.theme.textTertiary,
|
|
1076
|
+
invert: vars.tokens.theme.textInvert,
|
|
1077
|
+
error: vars.tokens.core.textError,
|
|
1078
|
+
success: vars.tokens.core.textSuccess,
|
|
1079
|
+
warning: vars.tokens.core.textWarning,
|
|
1080
|
+
'accent-primary': vars.tokens.core.textAccentPrimary
|
|
1081
|
+
};
|
|
1082
|
+
let WuiText = class WuiText extends i$3 {
|
|
1083
|
+
constructor() {
|
|
1084
|
+
super(...arguments);
|
|
1085
|
+
this.variant = 'md-regular';
|
|
1086
|
+
this.color = 'inherit';
|
|
1087
|
+
this.align = 'left';
|
|
1088
|
+
this.lineClamp = undefined;
|
|
1089
|
+
this.display = 'inline-flex';
|
|
1090
|
+
}
|
|
1091
|
+
render() {
|
|
1092
|
+
const classes = {
|
|
1093
|
+
[`wui-font-${this.variant}`]: true,
|
|
1094
|
+
[`wui-line-clamp-${this.lineClamp}`]: this.lineClamp ? true : false
|
|
1095
|
+
};
|
|
1096
|
+
this.style.cssText = `
|
|
1097
|
+
display: ${this.display};
|
|
1098
|
+
--local-align: ${this.align};
|
|
1099
|
+
--local-color: ${this.color === 'inherit' ? 'inherit' : TEXT_VARS_BY_COLOR[this.color ?? 'primary']};
|
|
1100
|
+
`;
|
|
1101
|
+
return b `<slot class=${e(classes)}></slot>`;
|
|
1102
|
+
}
|
|
1103
|
+
};
|
|
1104
|
+
WuiText.styles = [resetStyles, styles];
|
|
1105
|
+
__decorate([
|
|
1106
|
+
n$2()
|
|
1107
|
+
], WuiText.prototype, "variant", void 0);
|
|
1108
|
+
__decorate([
|
|
1109
|
+
n$2()
|
|
1110
|
+
], WuiText.prototype, "color", void 0);
|
|
1111
|
+
__decorate([
|
|
1112
|
+
n$2()
|
|
1113
|
+
], WuiText.prototype, "align", void 0);
|
|
1114
|
+
__decorate([
|
|
1115
|
+
n$2()
|
|
1116
|
+
], WuiText.prototype, "lineClamp", void 0);
|
|
1117
|
+
__decorate([
|
|
1118
|
+
n$2()
|
|
1119
|
+
], WuiText.prototype, "display", void 0);
|
|
1120
|
+
WuiText = __decorate([
|
|
1121
|
+
customElement('wui-text')
|
|
1122
|
+
], WuiText);
|
|
1123
|
+
|
|
1124
|
+
export { t as a, e$1 as b, e, i, n$2 as n, r$2 as r, tonSvg as t };
|
|
1125
|
+
//# sourceMappingURL=wui-text-BS_lZKY4.js.map
|
|
1126
|
+
|
|
1127
|
+
//# sourceMappingURL=wui-text-BS_lZKY4.js.map
|