@dcl/shop 0.1.0-30275838080.commit-dc84870 → 0.1.0-30277401547.commit-e877307
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/assets/Activity-_qlXQij1.js +287 -0
- package/assets/{AnimatedBackground-xHNygKQ8.js → AnimatedBackground-DO49gSw8.js} +1 -1
- package/assets/Assets-D-VpkQ1l.js +787 -0
- package/assets/{Assets.styles-DvPvkguW.js → Assets.styles-BZMkOQeI.js} +94 -21
- package/assets/Authorizations-BFWG3QA_.js +182 -0
- package/assets/{Button-auVihOkI.js → Button-DvhW1Z1S.js} +3 -3
- package/assets/Cart-C_kThny7.css +1 -0
- package/assets/Cart-Cz7NK8QL.js +1 -0
- package/assets/{CircularProgress-DFdK37rG.js → CircularProgress-BmwVvF17.js} +3 -3
- package/assets/{Collection-B3vEoxu6.js → Collection-Bc2CvIur.js} +2 -2
- package/assets/CollectionCarousel-DEYFBykF.js +292 -0
- package/assets/{Creator-YS98HebA.js → Creator-7vyVsWtE.js} +1 -1
- package/assets/{ExchangeController-BDF-2GeF.js → ExchangeController-icK8vQc1.js} +1 -1
- package/assets/GetCredits-BE-bIUdj.js +611 -0
- package/assets/{HelpersUtil-pH82j1ap.js → HelpersUtil-C_aV_Y-W.js} +1 -1
- package/assets/ImportListings-CgB7Xjb_.css +1 -0
- package/assets/{ImportListings-D5NXWizQ.js → ImportListings-CusN2RYj.js} +2 -2
- package/assets/{ItemDetail-DSWLL-Uv.css → ItemDetail-CkmPrObF.css} +1 -1
- package/assets/ItemDetail-blewhWwg.js +2406 -0
- package/assets/{LoadMore-C2IGYfn5.js → LoadMore-C2uaqP2N.js} +1 -1
- package/assets/{MarketCheckout-BF6QzOp6.js → MarketCheckout-CW6mGgHt.js} +1 -1
- package/assets/{MenuList-CuKsDFTR.js → MenuList-mbP1RxaG.js} +2 -2
- package/assets/{MyAssets-DzPtnmU-.js → MyAssets-HcHA9d8L.js} +4 -4
- package/assets/MyFavorites-DkEAv96J.js +1 -0
- package/assets/{NotFound-C6fJPmtm.js → NotFound-B2W2MHR8.js} +1 -1
- package/assets/NotificationsBell-BEAvIZcq.js +34 -0
- package/assets/{StoreSettings-_eAoEzML.js → StoreSettings-CGc7i0kZ.js} +3 -3
- package/assets/{Success-Bx8rXLT9.js → Success-5LiVLOny.js} +2 -2
- package/assets/{SwapController-CxLE_1Gs.js → SwapController-BZT-uJE0.js} +1 -1
- package/assets/{Tooltip-CTKg0lSi.js → Tooltip-V9fXstBY.js} +1 -1
- package/assets/TradeService-D9nuCaGq.js +1 -0
- package/assets/{W3MFrameProviderSingleton-B2IDULyh.js → W3MFrameProviderSingleton-Ccq1reIt.js} +3 -3
- package/assets/{WebCryptoP256-wzk7delV.js → WebCryptoP256-CrgJppag.js} +1 -1
- package/assets/authorizations-t9AL68YM.js +1 -0
- package/assets/{basic-Ww-Goaw6.js → basic-BIbSgqQe.js} +1 -1
- package/assets/{biconomy-B_JhK1qV.js → biconomy-JEnDnFaz.js} +1 -1
- package/assets/{builder-AyiZYpZU.js → builder-uUlDA8Em.js} +1 -1
- package/assets/buy-84sizoxr.js +1 -0
- package/assets/buy-gasless-oF_YJX_W.js +1 -0
- package/assets/{cart-checkout-CWNsZ2Kj.js → cart-checkout-K77UDHy3.js} +1 -1
- package/assets/{categories-BtWBqb3o.js → categories-BwvbYi6M.js} +6 -6
- package/assets/categories-YFBLpDYC.css +1 -0
- package/assets/{ccip-CqHKhzd2.js → ccip-5L0bsS_C.js} +1 -1
- package/assets/{ccip-BjXLypPq.js → ccip-wypw12me.js} +1 -1
- package/assets/{collection-DOvX-TK6.js → collection-D7HQMUIe.js} +1 -1
- package/assets/{controller-C7WZ94lQ.js → controller-Cwg1NxXB.js} +2 -2
- package/assets/{core-DxTrqfX4.js → core-3ZRiSdvl.js} +4 -4
- package/assets/{custom-4udkoSO3.js → custom-BVE_f5dD.js} +1 -1
- package/assets/{data-capture-DDVUgHnH.js → data-capture-BRhsLQVv.js} +1 -1
- package/assets/{email-Csl1ng9Z.js → email-CldXoMar.js} +1 -1
- package/assets/{embedded-wallet-BkYPvh0b.js → embedded-wallet-vSjh73AM.js} +1 -1
- package/assets/{emotion-styled.browser.esm-Cdq1r4Bx.js → emotion-styled.browser.esm-vQZV14Nf.js} +1 -1
- package/assets/{engine-D35Ks53W.js → engine-BPP9EW4Q.js} +1 -1
- package/assets/{errors-DuOi3T0l.js → errors-D-hio89k.js} +1 -1
- package/assets/{estimate-l1-fee-Di371MAc.js → estimate-l1-fee-BLZxmPJY.js} +1 -1
- package/assets/{execute-TUXY08B1.js → execute-cH8V-8nL.js} +2 -2
- package/assets/{features-B8cziiif.js → features-CJ1tq5LL.js} +1 -1
- package/assets/{fetchTokenMetadata-BpxdUfTL.js → fetchTokenMetadata-hD4VNXHw.js} +2 -2
- package/assets/{get-ecosystem-wallet-info-B-M4E9jS.js → get-ecosystem-wallet-info-3DZHpSG2.js} +1 -1
- package/assets/{getBalance-Bifizyr6.js → getBalance-vjJ5CXDC.js} +1 -1
- package/assets/{getNFT-DF6Vq2zI.js → getNFT-BTjIkFXY.js} +1 -1
- package/assets/{getNFT-BdLG614g.js → getNFT-D8HIjTde.js} +1 -1
- package/assets/{getThemeProps-DxJMDPi7.js → getThemeProps-qmqFWvou.js} +1 -1
- package/assets/governance-DnazlIjy.webp +0 -0
- package/assets/{hashTypedData-C_DXc5T4.js → hashTypedData-BrvDnrgK.js} +1 -1
- package/assets/{hashTypedData-CCVnwMeq.js → hashTypedData-Y2DJnKI9.js} +1 -1
- package/assets/identity-B4DXDuJP.webp +0 -0
- package/assets/{import-Dk9yGfxG.js → import-AgO0v-a5.js} +1 -1
- package/assets/{in-app-9n3fFIsg.js → in-app-C4N5lFwd.js} +1 -1
- package/assets/{in-app-wallet-calls-mZphw4u1.js → in-app-wallet-calls-CMBsSG6j.js} +1 -1
- package/assets/{index-RdnFDXdw.js → index--8tZMj8Y.js} +1 -1
- package/assets/{index-B0_gRdTe.js → index-1cJq3bUz.js} +1 -1
- package/assets/{index-Bpy0DTJn.js → index-B8GAuQX3.js} +3 -3
- package/assets/{index-B5oo797l.js → index-B96cJA0d.js} +1 -1
- package/assets/{index-hgeC0JQZ.js → index-B9AUDrI9.js} +1 -1
- package/assets/index-BFPNYe8x.js +312 -0
- package/assets/{index-BP7gy2xI.js → index-BGTbU_0B.js} +2 -2
- package/assets/{index-DEd7XSCQ.js → index-BKvaZQRw.js} +1 -1
- package/assets/index-BQOr-Vwz.js +4 -0
- package/assets/{index-BuDF20FB.js → index-BQuXaLZX.js} +1 -1
- package/assets/{index-FC51tvWK.js → index-BWgCJZHy.js} +2 -2
- package/assets/{index-DA6wQsaR.js → index-B_jKVCv0.js} +1 -1
- package/assets/{index-Bkrc7UDL.js → index-BcgMkg8Z.js} +1 -1
- package/assets/{index-BAsZQOHh.js → index-BjQNL760.js} +1 -1
- package/assets/{index-CQz4TE_L.js → index-BlBoDOVY.js} +1 -1
- package/assets/{index-BcCAXEd4.js → index-C-2OENmH.js} +1 -1
- package/assets/{index-CxqiofWy.js → index-C7UEmKEb.js} +3 -3
- package/assets/{index-BwPtVV-b.js → index-C7gHM4wY.js} +1 -1
- package/assets/{index-swIqjzKr.js → index-C8Ua1g52.js} +1 -1
- package/assets/{index-DJ5U21fD.js → index-CI-UnS2-.js} +1 -1
- package/assets/{index-CmPocwN2.js → index-CV39-lnY.js} +1 -1
- package/assets/{index-DsV2STGW.js → index-CcARyxeB.js} +1 -1
- package/assets/{index-c9PZfSgh.js → index-Ch88GJdD.js} +1 -1
- package/assets/{index-Dxv5sw39.js → index-CiKWw9L3.js} +2 -2
- package/assets/{index-D2txhfvA.js → index-CmhYJKse.js} +1 -1
- package/assets/{index-BloQv0Rh.js → index-CnIGe1GZ.js} +1 -1
- package/assets/index-CsSypry2.js +2 -0
- package/assets/{index-dlaqrKGR.js → index-CvkWE_vF.js} +1 -1
- package/assets/{index-CSIhwKQ9.js → index-D0cj2XsC.js} +1 -1
- package/assets/{index-BWmGCZ1p.js → index-D2-V-v9q.js} +1 -1
- package/assets/{index-cBh2qc74.js → index-D2iLR1Fl.js} +1 -1
- package/assets/{index-892TBSG5.js → index-D96o2dcC.js} +1 -1
- package/assets/{index-D_7jU7Mb.js → index-DCFYAbF4.js} +1 -1
- package/assets/{index-Dp1f5mtU.js → index-DGwFgPlc.js} +1 -1
- package/assets/{index-CqQDAMpz.js → index-DN-OLR2r.js} +3 -3
- package/assets/{index-PtoeaYYN.js → index-DNLIdOOI.js} +1 -1
- package/assets/{index-CLAml9VI.js → index-DZxRXkvI.js} +1 -1
- package/assets/{index-BYcZdsFn.js → index-Dq7pc9gT.js} +1 -1
- package/assets/index-DwufS2l2.css +1 -0
- package/assets/{index-2v1NJpk7.js → index-Dx4EbFs-.js} +1 -1
- package/assets/{index-D2jkAfLH.js → index-Dz0EI57w.js} +1 -1
- package/assets/{index-Clx5uD4u.js → index-E3wxKJyS.js} +1 -1
- package/assets/{index-C_nN_7-B.js → index-HMuz0PhO.js} +1 -1
- package/assets/{index-BrKWcIRW.js → index-Hb4Ys2Tq.js} +1 -1
- package/assets/{index-CpzF0qFB.js → index-Vlg-GpRL.js} +1 -1
- package/assets/{index-B2uGwMji.js → index-YHVXMMbH.js} +1 -1
- package/assets/{index-BuV9hoRm.js → index-bqj_5mVc.js} +1 -1
- package/assets/{index-DFJtxZT4.js → index-jPOTr4Wq.js} +1 -1
- package/assets/{index-CKKx-sxY.js → index-qDfBJZD7.js} +1 -1
- package/assets/{index-Daa0ny5M.js → index-r7kjVwFs.js} +1 -1
- package/assets/{index-B39oAHib.js → index-rjU6xZd8.js} +1 -1
- package/assets/{index-mmQp95p3.js → index-trxbKGTp.js} +1 -1
- package/assets/{index.es-DmMpOWQ3.js → index.es-BKhU-mgO.js} +1 -1
- package/assets/{index.es-CzPV8SvV.js → index.es-DvYEMDdQ.js} +4 -4
- package/assets/{index.es-4BADL1wA.js → index.es-magZDVqq.js} +1 -1
- package/assets/invite-BfwIhP2C.webp +0 -0
- package/assets/{localBatchGatewayRequest-CnnsiZVW.js → localBatchGatewayRequest-CnLOTida.js} +1 -1
- package/assets/mana-rate-BpgRIQMS.js +1 -0
- package/assets/{networks-B7r9ehKQ.js → networks-BNqJWbtk.js} +1 -1
- package/assets/{onramp--n2FS2dI.js → onramp-BYjThZVX.js} +1 -1
- package/assets/{openzeppelin-BbXNToq4.js → openzeppelin-Ba3p7TP4.js} +1 -1
- package/assets/pack-chest-BX_j84xW.webp +0 -0
- package/assets/pack-coins-BDh1ZDbh.webp +0 -0
- package/assets/pack-stacks-D-V2jSHW.webp +0 -0
- package/assets/packs-backdrop-BcXiUPeP.webp +0 -0
- package/assets/{parseNft-BF90Orsn.js → parseNft-CfH76UUp.js} +2 -2
- package/assets/{parseSignature-BaWXPhl1.js → parseSignature-CuL9-kIi.js} +1 -1
- package/assets/{parseSignature-WOPJhKuP.js → parseSignature-D3qKk3uH.js} +3 -3
- package/assets/{passkeys-CkuCBuiV.js → passkeys-DPVQjClK.js} +1 -1
- package/assets/{pay-with-exchange-uDtQzLx-.js → pay-with-exchange-MNFdDdCT.js} +1 -1
- package/assets/{qr-overlay-BEtM3LtR.js → qr-overlay-DDDT3Q-c.js} +1 -1
- package/assets/{receive-DeKeGYSl.js → receive-BU9aVDlN.js} +1 -1
- package/assets/{resolveImplementation-C9MSE3Ke.js → resolveImplementation-OjvLy3T5.js} +1 -1
- package/assets/{rpc-BvqgbCLc.js → rpc-DjbYCcnH.js} +1 -1
- package/assets/{secp256k1-Dr3qxILc.js → secp256k1-Cz5kqQCg.js} +1 -1
- package/assets/{secp256k1-C8vAuzgh.js → secp256k1-X13vDEXt.js} +1 -1
- package/assets/{secp256k1-BzX_Tu6g.js → secp256k1-w4Bql-wA.js} +1 -1
- package/assets/{send-batch-transaction-BuyyUQwP.js → send-batch-transaction-Dxt9X3nj.js} +1 -1
- package/assets/{send-eip712-transaction-q9T6NkCK.js → send-eip712-transaction-DaAvg9MZ.js} +2 -2
- package/assets/{send-gasless-transaction-qGeRIUzg.js → send-gasless-transaction-BquzQGsb.js} +2 -2
- package/assets/{send-DwfQbeLz.js → send-oOaeKGnc.js} +1 -1
- package/assets/{send-transaction-au-YwQq3.js → send-transaction-BHdPLXiu.js} +2 -2
- package/assets/sendMetaTransaction-DNedK3Cr.js +1 -0
- package/assets/{sendRawTransaction-CfnlIDvI.js → sendRawTransaction-DUzMWVdQ.js} +3 -3
- package/assets/{serializeTransaction-DfOWev7O.js → serializeTransaction-BfDfoMJJ.js} +1 -1
- package/assets/{session-proposal-DlrzMPU6.js → session-proposal-CuVqfqoo.js} +1 -1
- package/assets/{session-request-CWIXGzBr.js → session-request-CKwxSrqb.js} +2 -2
- package/assets/{signing-Blgmj-ki.js → signing-BjyyWrkp.js} +3 -3
- package/assets/{socials-B995t4YH.js → socials-pvmMMGV3.js} +1 -1
- package/assets/{swaps-Clq_Nmgr.js → swaps-padIwW3Y.js} +1 -1
- package/assets/{thirdweb-ivD78gRL.js → thirdweb-kveVeUIA.js} +3 -3
- package/assets/{to-serializable-transaction-DaB5jIxe.js → to-serializable-transaction-108u7zPg.js} +2 -2
- package/assets/trade-encoding-DcECym8l.js +1 -0
- package/assets/{transactionReceipt-CLWilq6h.js → transactionReceipt-Bs-2Cglz.js} +1 -1
- package/assets/{transactions-BpphjA60.js → transactions-dcat6MM1.js} +1 -1
- package/assets/useCreditPacks-BAZLy3JX.js +1 -0
- package/assets/{useInfiniteGrid-CD-N77Cs.js → useInfiniteGrid-BBNOO0mR.js} +1 -1
- package/assets/useManaRate-CGtpZZBQ.js +1 -0
- package/assets/{useStore-BLu1YQjn.js → useStore-Bo6L1SFA.js} +1 -1
- package/assets/useTheme-CQjQJ5Is.js +1 -0
- package/assets/{verifyHash-DRTDPueY.js → verifyHash-BfupbUWA.js} +1 -1
- package/assets/{w3m-modal-CyjbWChP.js → w3m-modal-C2yr-A_-.js} +1 -1
- package/assets/{w3m-modal-BWS5cBnY.js → w3m-modal-CdtZ4EYL.js} +1 -1
- package/assets/{wait-for-tx-receipt-Dwbw_tfy.js → wait-for-tx-receipt-BBOv1oQx.js} +1 -1
- package/assets/{wallets-SowU94TA.js → wallets-CcitqMTg.js} +5 -5
- package/assets/{web-connector-BQYnWq2A.js → web-connector-BLbBOK88.js} +3 -3
- package/assets/world-B-9aPlxu.webp +0 -0
- package/assets/{writeContract-BQBB6IQD.js → writeContract-Cke2dgme.js} +1 -1
- package/assets/{zoraTestnet-AkjTySo9.js → zoraTestnet-NeGGigN-.js} +1 -1
- package/index.html +11 -11
- package/package.json +2 -2
- package/assets/Activity-zOdV7zID.js +0 -284
- package/assets/Assets-BsWk8z8u.js +0 -758
- package/assets/Authorizations-WRwO7XIX.js +0 -175
- package/assets/Cart-BB2vUnjZ.js +0 -3
- package/assets/Cart-BaVkpmjN.css +0 -1
- package/assets/CollectionCarousel-c7FA9ke_.js +0 -1
- package/assets/GetCredits-DKFHGw4S.js +0 -1
- package/assets/ImportListings-Dx8BzO4r.css +0 -1
- package/assets/ItemDetail-BFcnjOnk.js +0 -1762
- package/assets/MyFavorites-CDL0dF1c.js +0 -3
- package/assets/NotificationsBell-B39tpkNG.js +0 -34
- package/assets/TradeService-BS4tPzcI.js +0 -1
- package/assets/authorizations-DWHCeP7j.js +0 -1
- package/assets/buy-B0Piwjmq.js +0 -1
- package/assets/buy-gasless-pPTI8u_1.js +0 -1
- package/assets/categories-_8oO8Yih.css +0 -1
- package/assets/index-B4tgQVEu.js +0 -312
- package/assets/index-CuyaFbh3.js +0 -4
- package/assets/index-CvuJSryR.js +0 -2
- package/assets/index-D3DtvRSj.css +0 -1
- package/assets/index-HN6Rk25C.js +0 -1
- package/assets/mana-rate-B-Ghbv7a.js +0 -1
- package/assets/pack-chips--HnOpf5U.webp +0 -0
- package/assets/sendMetaTransaction-CiO3jI6F.js +0 -1
- package/assets/trade-encoding-BCN0X2W3.js +0 -1
- package/assets/useCreditPacks-CnlSkvVM.js +0 -1
- package/assets/useManaRate-Ctm7UARH.js +0 -1
- package/assets/useTheme-RtXSDv_5.js +0 -1
|
@@ -0,0 +1,611 @@
|
|
|
1
|
+
import{u as ae,b as de,r as c,j as t}from"./react-BW1xvPTF.js";import{s as i,K as e,R,x as ce,t as r,u as le,b as pe,j as g,an as xe,e as l,J as G,k as H,I as J,C as Z,f as ue}from"./index-BFPNYe8x.js";import{R as M}from"./resume-buy-Bf0zIH7y.js";import{R as ge}from"./cart-checkout-K77UDHy3.js";import{l as he}from"./loader-logo-BzY9EKdC.js";import{u as fe,p as me,c as be,i as we}from"./useCreditPacks-BAZLy3JX.js";import{C as ye}from"./CircularProgress-BmwVvF17.js";import"./sentry-BV_ZSgtd.js";import"./dcl-schemas-BICTSpB5.js";import"./ethers-CtVvB8eG.js";import"./intl-CBcMB1D2.js";const j="https://cdn.decentraland.org/@dcl/shop/0.1.0-30277401547.commit-e877307/assets/pack-coins-BDh1ZDbh.webp",ee="https://cdn.decentraland.org/@dcl/shop/0.1.0-30277401547.commit-e877307/assets/pack-stacks-D-V2jSHW.webp",te="https://cdn.decentraland.org/@dcl/shop/0.1.0-30277401547.commit-e877307/assets/pack-chest-BX_j84xW.webp",ke="https://cdn.decentraland.org/@dcl/shop/0.1.0-30277401547.commit-e877307/assets/credit-coin-CmcTCd5i.webp",Ce="data:image/svg+xml,%3csvg%20width='60'%20height='60'%20viewBox='0%200%2060%2060'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='60'%20height='60'%20rx='30'%20fill='%2334CE77'/%3e%3cpath%20d='M21.6583%2046.1067L11.4656%2036.0591C10.1688%2034.829%2010.1905%2032.7207%2011.4769%2031.4622L13.6868%2029.3591C14.9732%2028.1006%2017.1615%2028.1058%2018.4582%2029.3359L23.8747%2034.6197L41.9704%2015.6527C43.2568%2014.3942%2045.4291%2014.2093%2046.7258%2015.4394L48.8765%2017.3628C50.1732%2018.5929%2050.3491%2020.6844%2049.0626%2021.9429L26.6112%2045.8766C25.1433%2047.342%2022.955%2047.3368%2021.6583%2046.1067Z'%20fill='%23FCFCFC'/%3e%3c/svg%3e",je="https://cdn.decentraland.org/@dcl/shop/0.1.0-30277401547.commit-e877307/assets/packs-backdrop-BcXiUPeP.webp",N="linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0)",$e=i.div`
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 24px;
|
|
5
|
+
`,ve=i.section`
|
|
6
|
+
position: relative;
|
|
7
|
+
isolation: isolate;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
align-items: center;
|
|
11
|
+
border-radius: ${e.radius.banner};
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
padding: 82px clamp(16px, 7.06%, 122px) 129px;
|
|
14
|
+
|
|
15
|
+
${e.media.down("lg")} {
|
|
16
|
+
padding: 48px 24px 56px;
|
|
17
|
+
}
|
|
18
|
+
${e.media.down("mobile")} {
|
|
19
|
+
padding: 32px 16px 40px;
|
|
20
|
+
}
|
|
21
|
+
`,Se=i.div`
|
|
22
|
+
position: absolute;
|
|
23
|
+
inset: 0;
|
|
24
|
+
z-index: -1;
|
|
25
|
+
opacity: 0.9;
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
background-image: url(${je});
|
|
28
|
+
background-size: cover;
|
|
29
|
+
background-position: 50% 96%;
|
|
30
|
+
background-repeat: no-repeat;
|
|
31
|
+
`,Pe=i.div`
|
|
32
|
+
width: 100%;
|
|
33
|
+
max-width: 1478px;
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
align-items: center;
|
|
37
|
+
gap: 52px;
|
|
38
|
+
|
|
39
|
+
${e.media.down("lg")} {
|
|
40
|
+
gap: 32px;
|
|
41
|
+
}
|
|
42
|
+
`,_e=i.header`
|
|
43
|
+
display: flex;
|
|
44
|
+
flex-direction: column;
|
|
45
|
+
align-items: center;
|
|
46
|
+
gap: 12px;
|
|
47
|
+
width: 100%;
|
|
48
|
+
text-align: center;
|
|
49
|
+
`,Re=i.h1`
|
|
50
|
+
margin: 0;
|
|
51
|
+
font-family: ${e.font.sans};
|
|
52
|
+
font-size: 40px;
|
|
53
|
+
font-weight: 700;
|
|
54
|
+
line-height: 1.167;
|
|
55
|
+
color: ${e.colors.white};
|
|
56
|
+
text-transform: capitalize;
|
|
57
|
+
|
|
58
|
+
${e.media.down("mobile")} {
|
|
59
|
+
font-size: 28px;
|
|
60
|
+
}
|
|
61
|
+
`,ze=i.div`
|
|
62
|
+
display: flex;
|
|
63
|
+
flex-wrap: wrap;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: center;
|
|
66
|
+
gap: 8px;
|
|
67
|
+
`,Ae=i.p`
|
|
68
|
+
margin: 0;
|
|
69
|
+
font-family: ${e.font.sans};
|
|
70
|
+
font-size: 24px;
|
|
71
|
+
font-weight: 500;
|
|
72
|
+
line-height: 1.334;
|
|
73
|
+
color: ${e.colors.media};
|
|
74
|
+
|
|
75
|
+
${e.media.down("mobile")} {
|
|
76
|
+
font-size: 16px;
|
|
77
|
+
}
|
|
78
|
+
`,Be=i.a`
|
|
79
|
+
display: inline-flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
gap: 2px;
|
|
82
|
+
font-family: ${e.font.sans};
|
|
83
|
+
font-size: 20px;
|
|
84
|
+
font-weight: 500;
|
|
85
|
+
line-height: 30px;
|
|
86
|
+
color: ${e.colors.white};
|
|
87
|
+
text-decoration: underline;
|
|
88
|
+
text-underline-offset: 2px;
|
|
89
|
+
|
|
90
|
+
.ico {
|
|
91
|
+
width: 26px;
|
|
92
|
+
height: 26px;
|
|
93
|
+
}
|
|
94
|
+
&:hover {
|
|
95
|
+
opacity: 0.85;
|
|
96
|
+
}
|
|
97
|
+
&:focus-visible {
|
|
98
|
+
outline: 2px solid ${e.colors.white};
|
|
99
|
+
outline-offset: 3px;
|
|
100
|
+
border-radius: ${e.radius.chip};
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
${e.media.down("mobile")} {
|
|
104
|
+
font-size: 15px;
|
|
105
|
+
line-height: 22px;
|
|
106
|
+
|
|
107
|
+
.ico {
|
|
108
|
+
width: 18px;
|
|
109
|
+
height: 18px;
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
`,Ee=i.p`
|
|
113
|
+
margin: 0;
|
|
114
|
+
padding: 10px 16px;
|
|
115
|
+
border-radius: ${e.radius.btn};
|
|
116
|
+
background: rgba(21, 21, 21, 0.4);
|
|
117
|
+
font-family: ${e.font.sans};
|
|
118
|
+
font-size: 14px;
|
|
119
|
+
line-height: 1.6;
|
|
120
|
+
color: ${e.colors.media};
|
|
121
|
+
text-align: center;
|
|
122
|
+
`,U=i.div`
|
|
123
|
+
display: grid;
|
|
124
|
+
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
125
|
+
gap: 24px;
|
|
126
|
+
width: 100%;
|
|
127
|
+
|
|
128
|
+
/* Two per row from tablet all the way down to the narrowest phone (Figma node 1654-374664): one
|
|
129
|
+
full-width pack per row wastes the height and pushes the fourth option far below the fold. */
|
|
130
|
+
@media (max-width: 980px) {
|
|
131
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
132
|
+
row-gap: 40px;
|
|
133
|
+
}
|
|
134
|
+
@media (max-width: 520px) {
|
|
135
|
+
gap: 12px;
|
|
136
|
+
row-gap: 24px;
|
|
137
|
+
}
|
|
138
|
+
`,K=i.button`
|
|
139
|
+
position: relative;
|
|
140
|
+
display: flex;
|
|
141
|
+
flex-direction: column;
|
|
142
|
+
align-items: center;
|
|
143
|
+
gap: 48px;
|
|
144
|
+
min-width: 0;
|
|
145
|
+
padding: 24px 16px 16px;
|
|
146
|
+
border: 0;
|
|
147
|
+
border-radius: ${e.radius.banner};
|
|
148
|
+
background: rgba(21, 21, 21, 0.4);
|
|
149
|
+
backdrop-filter: blur(3px);
|
|
150
|
+
-webkit-backdrop-filter: blur(3px);
|
|
151
|
+
color: ${e.colors.white};
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
text-align: center;
|
|
154
|
+
transition:
|
|
155
|
+
background 0.15s ease,
|
|
156
|
+
box-shadow 0.15s ease;
|
|
157
|
+
|
|
158
|
+
&::before,
|
|
159
|
+
&::after {
|
|
160
|
+
content: '';
|
|
161
|
+
position: absolute;
|
|
162
|
+
border-radius: inherit;
|
|
163
|
+
pointer-events: none;
|
|
164
|
+
-webkit-mask: ${N};
|
|
165
|
+
-webkit-mask-composite: xor;
|
|
166
|
+
mask: ${N};
|
|
167
|
+
mask-composite: exclude;
|
|
168
|
+
transition: opacity 0.15s ease;
|
|
169
|
+
}
|
|
170
|
+
/* Hairline outline (Figma: 1px Flare stroke). */
|
|
171
|
+
&::before {
|
|
172
|
+
inset: 0;
|
|
173
|
+
padding: 1px;
|
|
174
|
+
background: ${e.gradients.flare};
|
|
175
|
+
}
|
|
176
|
+
/* Hover ring: a 6px warm outline floating in the 4px gutter outside the card. */
|
|
177
|
+
&::after {
|
|
178
|
+
inset: -10px;
|
|
179
|
+
padding: 6px;
|
|
180
|
+
border-radius: 30px;
|
|
181
|
+
background: ${e.gradients.ember};
|
|
182
|
+
opacity: 0;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&:hover,
|
|
186
|
+
&:focus-visible,
|
|
187
|
+
&:active {
|
|
188
|
+
background: ${e.colors.accent};
|
|
189
|
+
box-shadow: 0 0 8px ${e.colors.brandViolet};
|
|
190
|
+
}
|
|
191
|
+
&:hover::before,
|
|
192
|
+
&:focus-visible::before,
|
|
193
|
+
&:active::before {
|
|
194
|
+
opacity: 0;
|
|
195
|
+
}
|
|
196
|
+
&:hover::after,
|
|
197
|
+
&:focus-visible::after,
|
|
198
|
+
&:active::after {
|
|
199
|
+
opacity: 1;
|
|
200
|
+
}
|
|
201
|
+
&:focus-visible {
|
|
202
|
+
outline: none;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
/* Loading placeholder shell — same card, none of the interaction. */
|
|
206
|
+
&[data-skeleton='true'] {
|
|
207
|
+
cursor: default;
|
|
208
|
+
}
|
|
209
|
+
&[data-skeleton='true']:hover {
|
|
210
|
+
background: rgba(21, 21, 21, 0.4);
|
|
211
|
+
box-shadow: none;
|
|
212
|
+
}
|
|
213
|
+
&[data-skeleton='true']:hover::before {
|
|
214
|
+
opacity: 1;
|
|
215
|
+
}
|
|
216
|
+
&[data-skeleton='true']:hover::after {
|
|
217
|
+
opacity: 0;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
${e.media.down("mobile")} {
|
|
221
|
+
gap: 24px;
|
|
222
|
+
}
|
|
223
|
+
`,Te=i.span`
|
|
224
|
+
position: absolute;
|
|
225
|
+
top: -18px;
|
|
226
|
+
left: 50%;
|
|
227
|
+
transform: translateX(-50%);
|
|
228
|
+
z-index: 2;
|
|
229
|
+
display: inline-flex;
|
|
230
|
+
align-items: center;
|
|
231
|
+
gap: 4px;
|
|
232
|
+
padding: 6px 12px 6px 8px;
|
|
233
|
+
border-radius: ${e.radius.pill};
|
|
234
|
+
background: ${e.gradients.flare};
|
|
235
|
+
font-family: ${e.font.sans};
|
|
236
|
+
font-size: 20px;
|
|
237
|
+
font-weight: 500;
|
|
238
|
+
line-height: 24px;
|
|
239
|
+
color: ${e.colors.white};
|
|
240
|
+
white-space: nowrap;
|
|
241
|
+
|
|
242
|
+
.ico {
|
|
243
|
+
width: 24px;
|
|
244
|
+
height: 24px;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
${e.media.down("mobile")} {
|
|
248
|
+
top: -14px;
|
|
249
|
+
padding: 4px 10px 4px 6px;
|
|
250
|
+
font-size: 14px;
|
|
251
|
+
line-height: 20px;
|
|
252
|
+
|
|
253
|
+
.ico {
|
|
254
|
+
width: 18px;
|
|
255
|
+
height: 18px;
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
`,D=i.span`
|
|
259
|
+
display: flex;
|
|
260
|
+
flex-direction: column;
|
|
261
|
+
align-items: center;
|
|
262
|
+
gap: 12px;
|
|
263
|
+
padding-top: 32px;
|
|
264
|
+
|
|
265
|
+
${e.media.down("mobile")} {
|
|
266
|
+
padding-top: 16px;
|
|
267
|
+
}
|
|
268
|
+
`,O=i.span`
|
|
269
|
+
display: flex;
|
|
270
|
+
flex-direction: column;
|
|
271
|
+
align-items: center;
|
|
272
|
+
gap: 12px;
|
|
273
|
+
width: 100%;
|
|
274
|
+
`,Le=i.span`
|
|
275
|
+
display: flex;
|
|
276
|
+
align-items: center;
|
|
277
|
+
gap: 8px;
|
|
278
|
+
|
|
279
|
+
.ico {
|
|
280
|
+
width: 28.21px;
|
|
281
|
+
height: 29.79px;
|
|
282
|
+
color: ${e.colors.softWhite};
|
|
283
|
+
}
|
|
284
|
+
`,Ie=i.span`
|
|
285
|
+
font-family: ${e.font.sans};
|
|
286
|
+
font-size: 40px;
|
|
287
|
+
font-weight: 800;
|
|
288
|
+
line-height: 30px;
|
|
289
|
+
color: ${e.colors.white};
|
|
290
|
+
`,Fe=i.span`
|
|
291
|
+
font-family: ${e.font.sans};
|
|
292
|
+
font-size: 20px;
|
|
293
|
+
font-weight: 500;
|
|
294
|
+
line-height: 15px;
|
|
295
|
+
color: ${e.colors.media};
|
|
296
|
+
text-transform: uppercase;
|
|
297
|
+
`,Ge=i.span`
|
|
298
|
+
display: block;
|
|
299
|
+
width: 253.5px;
|
|
300
|
+
max-width: 100%;
|
|
301
|
+
aspect-ratio: 1;
|
|
302
|
+
|
|
303
|
+
img {
|
|
304
|
+
display: block;
|
|
305
|
+
width: 100%;
|
|
306
|
+
height: 100%;
|
|
307
|
+
object-fit: contain;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
/* One column: a full-size render per card would make the page absurdly tall. */
|
|
311
|
+
@media (max-width: 520px) {
|
|
312
|
+
width: 200px;
|
|
313
|
+
}
|
|
314
|
+
`,He=i.span`
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
justify-content: center;
|
|
318
|
+
width: 100%;
|
|
319
|
+
height: 48px;
|
|
320
|
+
padding: 0 12px;
|
|
321
|
+
border-radius: ${e.radius.card};
|
|
322
|
+
background: ${e.colors.white};
|
|
323
|
+
font-family: ${e.font.sans};
|
|
324
|
+
font-size: 16px;
|
|
325
|
+
font-weight: 800;
|
|
326
|
+
line-height: 24px;
|
|
327
|
+
letter-spacing: 0.46px;
|
|
328
|
+
color: ${e.colors.text2};
|
|
329
|
+
text-transform: uppercase;
|
|
330
|
+
`,Me=R`
|
|
331
|
+
to {
|
|
332
|
+
background-position: -200% 0;
|
|
333
|
+
}
|
|
334
|
+
`,z=i.span`
|
|
335
|
+
display: block;
|
|
336
|
+
background: linear-gradient(
|
|
337
|
+
100deg,
|
|
338
|
+
rgba(255, 255, 255, 0.08) 30%,
|
|
339
|
+
rgba(255, 255, 255, 0.2) 50%,
|
|
340
|
+
rgba(255, 255, 255, 0.08) 70%
|
|
341
|
+
);
|
|
342
|
+
background-size: 200% 100%;
|
|
343
|
+
animation: ${Me} 1.4s infinite linear;
|
|
344
|
+
|
|
345
|
+
@media (prefers-reduced-motion: reduce) {
|
|
346
|
+
animation: none;
|
|
347
|
+
}
|
|
348
|
+
`,Ne=i(z)`
|
|
349
|
+
width: 60%;
|
|
350
|
+
height: 30px;
|
|
351
|
+
border-radius: ${e.radius.chip};
|
|
352
|
+
`,Ue=i(z)`
|
|
353
|
+
width: 253.5px;
|
|
354
|
+
max-width: 100%;
|
|
355
|
+
aspect-ratio: 1;
|
|
356
|
+
border-radius: 16px;
|
|
357
|
+
`,Ke=i(z)`
|
|
358
|
+
width: 100%;
|
|
359
|
+
height: 48px;
|
|
360
|
+
border-radius: ${e.radius.card};
|
|
361
|
+
`,V=i.p`
|
|
362
|
+
margin: 0;
|
|
363
|
+
font-family: ${e.font.sans};
|
|
364
|
+
color: ${e.colors.muted};
|
|
365
|
+
`,De=i.div`
|
|
366
|
+
display: flex;
|
|
367
|
+
flex-direction: column;
|
|
368
|
+
align-items: center;
|
|
369
|
+
gap: 10px;
|
|
370
|
+
padding: 48px 24px;
|
|
371
|
+
text-align: center;
|
|
372
|
+
`,Oe=R`
|
|
373
|
+
0%, 100% {
|
|
374
|
+
transform: scale(1);
|
|
375
|
+
opacity: 1;
|
|
376
|
+
}
|
|
377
|
+
50% {
|
|
378
|
+
transform: scale(0.88);
|
|
379
|
+
opacity: 0.7;
|
|
380
|
+
}
|
|
381
|
+
`,Ve=i.div`
|
|
382
|
+
display: flex;
|
|
383
|
+
flex-direction: column;
|
|
384
|
+
align-items: center;
|
|
385
|
+
justify-content: center;
|
|
386
|
+
gap: 32px;
|
|
387
|
+
padding: 64px 24px;
|
|
388
|
+
min-height: 42vh;
|
|
389
|
+
`,We=i.img`
|
|
390
|
+
width: 61px;
|
|
391
|
+
height: 61px;
|
|
392
|
+
animation: ${Oe} 1.2s ease-in-out infinite;
|
|
393
|
+
|
|
394
|
+
@media (prefers-reduced-motion: reduce) {
|
|
395
|
+
animation: none;
|
|
396
|
+
}
|
|
397
|
+
`,Ye=i.div`
|
|
398
|
+
display: flex;
|
|
399
|
+
flex-direction: column;
|
|
400
|
+
align-items: center;
|
|
401
|
+
gap: 8px;
|
|
402
|
+
`,Xe=i.p`
|
|
403
|
+
margin: 0;
|
|
404
|
+
font-family: ${e.font.sans};
|
|
405
|
+
font-size: 20px;
|
|
406
|
+
line-height: 1.6;
|
|
407
|
+
color: ${e.colors.text2};
|
|
408
|
+
|
|
409
|
+
strong {
|
|
410
|
+
font-weight: 700;
|
|
411
|
+
}
|
|
412
|
+
`,qe=i.div`
|
|
413
|
+
display: flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
gap: 8px;
|
|
416
|
+
`,Qe=R`
|
|
417
|
+
0% {
|
|
418
|
+
left: -40%;
|
|
419
|
+
}
|
|
420
|
+
100% {
|
|
421
|
+
left: 100%;
|
|
422
|
+
}
|
|
423
|
+
`,Je=i.span`
|
|
424
|
+
position: relative;
|
|
425
|
+
width: 456px;
|
|
426
|
+
max-width: 60vw;
|
|
427
|
+
height: 12px;
|
|
428
|
+
border-radius: ${e.radius.pill};
|
|
429
|
+
background: ${e.colors.chip};
|
|
430
|
+
overflow: hidden;
|
|
431
|
+
`,Ze=i.span`
|
|
432
|
+
position: absolute;
|
|
433
|
+
top: 0;
|
|
434
|
+
left: -40%;
|
|
435
|
+
width: 40%;
|
|
436
|
+
height: 100%;
|
|
437
|
+
border-radius: ${e.radius.pill};
|
|
438
|
+
background: ${e.gradients.amethyst};
|
|
439
|
+
animation: ${Qe} 1.4s ease-in-out infinite;
|
|
440
|
+
|
|
441
|
+
@media (prefers-reduced-motion: reduce) {
|
|
442
|
+
left: 0;
|
|
443
|
+
width: 30%;
|
|
444
|
+
animation: none;
|
|
445
|
+
}
|
|
446
|
+
`,et=i.span`
|
|
447
|
+
font-family: ${e.font.sans};
|
|
448
|
+
font-size: 16px;
|
|
449
|
+
line-height: 22px;
|
|
450
|
+
color: ${e.colors.text2};
|
|
451
|
+
`,tt=i.div`
|
|
452
|
+
display: flex;
|
|
453
|
+
flex-direction: column;
|
|
454
|
+
gap: 12px;
|
|
455
|
+
max-width: 895px;
|
|
456
|
+
margin: 0 auto;
|
|
457
|
+
`,it=i.div`
|
|
458
|
+
display: flex;
|
|
459
|
+
align-items: center;
|
|
460
|
+
gap: 16px;
|
|
461
|
+
padding: 24px 16px;
|
|
462
|
+
border-radius: 16px;
|
|
463
|
+
background: #e0f7e7;
|
|
464
|
+
border: 1px solid #34ce77;
|
|
465
|
+
|
|
466
|
+
@media (max-width: 560px) {
|
|
467
|
+
flex-direction: column;
|
|
468
|
+
text-align: center;
|
|
469
|
+
}
|
|
470
|
+
`,rt=i.img`
|
|
471
|
+
flex: none;
|
|
472
|
+
width: 60px;
|
|
473
|
+
height: 60px;
|
|
474
|
+
`,nt=i.p`
|
|
475
|
+
flex: 1;
|
|
476
|
+
margin: 0;
|
|
477
|
+
font-family: ${e.font.sans};
|
|
478
|
+
font-size: 20px;
|
|
479
|
+
line-height: 1.334;
|
|
480
|
+
color: ${e.colors.text2};
|
|
481
|
+
text-align: center;
|
|
482
|
+
|
|
483
|
+
strong {
|
|
484
|
+
font-weight: 700;
|
|
485
|
+
}
|
|
486
|
+
`,st=i.div`
|
|
487
|
+
padding: 24px;
|
|
488
|
+
border-radius: 16px;
|
|
489
|
+
background: ${e.colors.white};
|
|
490
|
+
border: 1px solid ${e.colors.gray4};
|
|
491
|
+
`,ot=i.div`
|
|
492
|
+
position: relative;
|
|
493
|
+
display: flex;
|
|
494
|
+
align-items: center;
|
|
495
|
+
justify-content: center;
|
|
496
|
+
min-height: 109px;
|
|
497
|
+
padding: 8px 24px 8px 150px;
|
|
498
|
+
border-radius: ${e.radius.btn};
|
|
499
|
+
background: #f4e9ff;
|
|
500
|
+
|
|
501
|
+
@media (max-width: 560px) {
|
|
502
|
+
flex-direction: column;
|
|
503
|
+
gap: 10px;
|
|
504
|
+
padding: 120px 16px 16px;
|
|
505
|
+
}
|
|
506
|
+
`,at=i.img`
|
|
507
|
+
position: absolute;
|
|
508
|
+
left: 35px;
|
|
509
|
+
top: 50%;
|
|
510
|
+
transform: translateY(-50%);
|
|
511
|
+
width: 93px;
|
|
512
|
+
height: 93px;
|
|
513
|
+
filter: drop-shadow(5px 7px 14px rgba(0, 0, 0, 0.17));
|
|
514
|
+
|
|
515
|
+
@media (max-width: 560px) {
|
|
516
|
+
left: 50%;
|
|
517
|
+
top: 16px;
|
|
518
|
+
transform: translateX(-50%);
|
|
519
|
+
}
|
|
520
|
+
`,dt=i.p`
|
|
521
|
+
display: inline-flex;
|
|
522
|
+
align-items: center;
|
|
523
|
+
gap: 8px;
|
|
524
|
+
margin: 0;
|
|
525
|
+
font-family: ${e.font.sans};
|
|
526
|
+
color: ${e.colors.text};
|
|
527
|
+
|
|
528
|
+
.ico {
|
|
529
|
+
width: 30px;
|
|
530
|
+
height: 30px;
|
|
531
|
+
color: ${e.colors.text};
|
|
532
|
+
}
|
|
533
|
+
`,ct=i.strong`
|
|
534
|
+
font-size: 24px;
|
|
535
|
+
font-weight: 700;
|
|
536
|
+
text-transform: capitalize;
|
|
537
|
+
`,lt=i.span`
|
|
538
|
+
font-size: 14px;
|
|
539
|
+
font-weight: 400;
|
|
540
|
+
`,pt=i.div`
|
|
541
|
+
display: flex;
|
|
542
|
+
gap: 12px;
|
|
543
|
+
|
|
544
|
+
@media (max-width: 560px) {
|
|
545
|
+
flex-direction: column;
|
|
546
|
+
}
|
|
547
|
+
`,y=i.button`
|
|
548
|
+
flex: 1;
|
|
549
|
+
display: inline-flex;
|
|
550
|
+
align-items: center;
|
|
551
|
+
justify-content: center;
|
|
552
|
+
height: 48px;
|
|
553
|
+
padding: 0 12px;
|
|
554
|
+
border: 0;
|
|
555
|
+
border-radius: ${e.radius.btn};
|
|
556
|
+
background: ${e.colors.accent};
|
|
557
|
+
font-family: ${e.font.sans};
|
|
558
|
+
font-size: 15px;
|
|
559
|
+
font-weight: 600;
|
|
560
|
+
letter-spacing: 0.046em;
|
|
561
|
+
color: ${e.colors.softWhite};
|
|
562
|
+
text-transform: uppercase;
|
|
563
|
+
cursor: pointer;
|
|
564
|
+
transition:
|
|
565
|
+
background 0.15s ease,
|
|
566
|
+
filter 0.15s ease;
|
|
567
|
+
|
|
568
|
+
&:hover {
|
|
569
|
+
filter: brightness(1.08);
|
|
570
|
+
}
|
|
571
|
+
&[data-variant='outline'] {
|
|
572
|
+
background: ${e.colors.white};
|
|
573
|
+
border: 2px solid ${e.colors.accent};
|
|
574
|
+
color: ${e.colors.accent};
|
|
575
|
+
}
|
|
576
|
+
&[data-variant='outline']:hover {
|
|
577
|
+
background: rgba(105, 31, 169, 0.06);
|
|
578
|
+
filter: none;
|
|
579
|
+
}
|
|
580
|
+
&:focus-visible {
|
|
581
|
+
outline: 2px solid ${e.colors.accent};
|
|
582
|
+
outline-offset: 2px;
|
|
583
|
+
}
|
|
584
|
+
`,W=i.div`
|
|
585
|
+
display: flex;
|
|
586
|
+
flex-direction: column;
|
|
587
|
+
align-items: center;
|
|
588
|
+
gap: 10px;
|
|
589
|
+
max-width: 560px;
|
|
590
|
+
margin: 0 auto;
|
|
591
|
+
padding: 48px 24px;
|
|
592
|
+
text-align: center;
|
|
593
|
+
`,Y=i.p`
|
|
594
|
+
margin: 0;
|
|
595
|
+
font-family: ${e.font.sans};
|
|
596
|
+
font-size: 20px;
|
|
597
|
+
font-weight: 700;
|
|
598
|
+
color: ${e.colors.text};
|
|
599
|
+
|
|
600
|
+
&[data-tone='error'] {
|
|
601
|
+
color: ${e.colors.err};
|
|
602
|
+
}
|
|
603
|
+
`,X=i.div`
|
|
604
|
+
display: flex;
|
|
605
|
+
gap: 12px;
|
|
606
|
+
margin-top: 16px;
|
|
607
|
+
`,xt=i.p`
|
|
608
|
+
margin: 0;
|
|
609
|
+
font-family: ${e.font.sans};
|
|
610
|
+
color: ${e.colors.err};
|
|
611
|
+
`,k=we()?"mock":"stripe",q=[j,j,ee,te],ut={pack_5:j,pack_10:j,pack_25:ee,pack_50:te};function gt(p,s){return ut[p.id]??q[s%q.length]}const ht="https://docs.decentraland.org";function Q(p){const s=p;if((s==null?void 0:s.name)==="AbortError")return r("getCredits.errorCanceled");const h=((s==null?void 0:s.message)??"").toLowerCase();return h.includes("sign in")?r("getCredits.errorSignIn",{currency:l.name}):h.includes("timed out")?r("getCredits.errorTimeout",{currency:l.name}):r("getCredits.errorGeneric")}function _t(){ce({title:r("nav.getCredits",{currency:l.name}),noindex:!0});const p=ae(),{session:s,signIn:h}=le(),d=pe(),[b,A]=de(),{packs:ie,isLoading:re}=fe(),[f,x]=c.useState("select"),[a,B]=c.useState(null),[E,T]=c.useState(null),[ne,w]=c.useState(null),[se,$]=c.useState(!1),v=c.useRef(null);c.useEffect(()=>()=>{var n;return(n=v.current)==null?void 0:n.abort()},[]);const L=c.useCallback(()=>{A(n=>{const o=new URLSearchParams(n);return o.delete("order"),o.delete("canceled"),o},{replace:!0})},[A]),S=c.useCallback(async n=>{x("processing");const o=new AbortController;v.current=o;try{const u=await me(n,{signal:o.signal,address:s==null?void 0:s.address,identity:s==null?void 0:s.identity});if(u.status==="credited"){const m=u.creditsGranted??(a==null?void 0:a.credits)??0;T(m>0?m:null),x("success"),g("Shop Completed Buy Credits",{order_id:n,pack_usd:(a==null?void 0:a.usd)??null,credits:m>0?m:null,provider:k}),d.invalidateQueries({queryKey:["usd-balance"]});try{if(sessionStorage.getItem(ge)){const C={resumeCheckout:!0,...m>0?{creditsAdded:m}:{}};p("/cart",{state:C});return}}catch{}try{const C=sessionStorage.getItem(M);if(C){sessionStorage.removeItem(M);const I=JSON.parse(C),F=xe(I);if(F){p(F,{state:{item:I,resumeBuy:!0}});return}}}catch{}}else u.status==="pending"?(g("Shop Buy Credits Pending",{step:"grant",pack_usd:(a==null?void 0:a.usd)??null}),d.invalidateQueries({queryKey:["usd-balance"]}),x("pending")):(g("Shop Buy Credits Failed",{step:"grant",error_code:"grant_failed",pack_usd:(a==null?void 0:a.usd)??null}),w(u.error??r("getCredits.errorGrant",{currency:l.name})),x("error"))}catch(u){G(u,{flow:"get_credits",step:"grant",order_id:n}),g("Shop Buy Credits Failed",{step:"grant",error_code:H(u),pack_usd:(a==null?void 0:a.usd)??null}),w(Q(u)),x("error")}},[a,s,d,p]),oe=c.useCallback(async n=>{if(!s){h();return}w(null),$(!1),B(n),x(k==="mock"?"processing":"redirecting"),g("Shop Started Buy Credits",{pack_usd:n.usd,credits:n.credits,provider:k});try{const o=await be(n.id,{address:s.address,identity:s.identity});if(o.mock)S(o.orderId);else if(o.url)g("Shop Redirected To Stripe",{order_id:o.orderId,pack_usd:n.usd,credits:n.credits}),window.location.href=o.url;else throw new Error("Checkout did not return a redirect url")}catch(o){G(o,{flow:"get_credits",step:"checkout",provider:k}),g("Shop Buy Credits Failed",{step:"checkout",error_code:H(o),pack_usd:n.usd}),w(Q(o)),x("error")}},[s,h,S]),P=c.useRef(!1);c.useEffect(()=>{if(P.current)return;const n=b.get("order");if(b.get("canceled")!=null){P.current=!0,g("Shop Buy Credits Cancelled",{order_id:n,provider:k}),L(),$(!0),x("select");return}n&&(x("processing"),s&&(P.current=!0,L(),S(n)))},[b,s]);function _(){var n;(n=v.current)==null||n.abort(),x("select"),B(null),T(null),w(null),$(!1)}return t.jsxs($e,{children:[f==="select"&&t.jsxs(ve,{"data-testid":"credits-hero",children:[t.jsx(Se,{"aria-hidden":!0}),t.jsxs(Pe,{children:[t.jsxs(_e,{children:[t.jsx(Re,{children:r("getCredits.title",{currency:l.name})}),t.jsxs(ze,{children:[t.jsx(Ae,{children:r("getCredits.subtitle",{currency:l.nameSingular})}),t.jsxs(Be,{href:ht,target:"_blank",rel:"noreferrer",children:[r("getCredits.learnMore"),t.jsx(J,{name:"link-out"})]})]})]}),se&&t.jsx(Ee,{role:"status",children:r("getCredits.canceledNote")}),t.jsx(ft,{packs:ie,loading:re,onSelect:n=>void oe(n)})]})]}),f==="redirecting"&&t.jsxs(De,{role:"status","aria-live":"polite",children:[t.jsx(ye,{size:32}),t.jsx(V,{children:r("getCredits.redirecting")})]}),f==="processing"&&t.jsxs(Ve,{role:"status","aria-live":"polite",children:[t.jsx(We,{src:he,alt:"",width:61,height:61}),t.jsxs(Ye,{children:[t.jsxs(Xe,{children:[t.jsx("strong",{children:r("getCredits.processing")}),"…"]}),t.jsxs(qe,{"aria-hidden":!0,children:[t.jsx(Je,{children:t.jsx(Ze,{})}),t.jsx(et,{children:"1/1"})]})]})]}),f==="success"&&t.jsxs(tt,{role:"status","aria-live":"polite",children:[t.jsxs(it,{children:[t.jsx(rt,{src:Ce,alt:"",width:60,height:60}),t.jsxs(nt,{children:[t.jsx("strong",{children:r("getCredits.successTitle")})," ",r("getCredits.successBody",{currency:l.name})]})]}),E!=null&&t.jsx(st,{children:t.jsxs(ot,{children:[t.jsx(at,{src:ke,alt:"",width:93,height:93}),t.jsxs(dt,{children:[t.jsx(Z,{}),t.jsxs("span",{children:[t.jsx(ct,{children:r("getCredits.creditsAmount",{credits:E,currency:l.name})})," ",t.jsx(lt,{children:r("getCredits.creditsAdded")})]})]})]})}),t.jsxs(pt,{children:[t.jsx(y,{"data-variant":"outline",onClick:_,children:r("getCredits.buyMore",{currency:l.name})}),t.jsx(y,{onClick:()=>p("/assets"),children:r("getCredits.startShopping")})]})]}),f==="pending"&&t.jsxs(W,{role:"status","aria-live":"polite",children:[t.jsx(Y,{children:r("getCredits.pendingTitle",{currency:l.name})}),t.jsx(V,{children:r("getCredits.pendingBody")}),t.jsxs(X,{children:[t.jsx(y,{onClick:()=>p("/assets"),children:r("getCredits.startShopping")}),t.jsx(y,{"data-variant":"outline",onClick:_,children:r("getCredits.done")})]})]}),f==="error"&&t.jsxs(W,{role:"alert",children:[t.jsx(Y,{"data-tone":"error",children:r("getCredits.errorTitle")}),t.jsx(xt,{children:ne}),t.jsx(X,{children:t.jsx(y,{onClick:_,children:r("getCredits.tryAgain")})})]})]})}function ft({packs:p,loading:s,onSelect:h}){return s?t.jsx(U,{"aria-busy":"true","aria-label":r("getCredits.packsLoading",{currency:l.name}),children:[0,1,2,3].map(d=>t.jsxs(K,{as:"div","data-skeleton":"true","data-testid":"pack-skeleton","aria-hidden":!0,children:[t.jsxs(D,{children:[t.jsx(O,{children:t.jsx(Ne,{})}),t.jsx(Ue,{})]}),t.jsx(Ke,{})]},d))}):t.jsx(U,{children:p.map((d,b)=>t.jsxs(K,{type:"button","data-testid":"pack","data-best":d.bestValue?"true":void 0,onClick:()=>h(d),"aria-label":r("getCredits.packAria",{amount:ue(d.credits),usd:d.usd}),children:[d.bestValue&&t.jsxs(Te,{children:[t.jsx(J,{name:"star-rounded"}),r("getCredits.packBadge")]}),t.jsxs(D,{children:[t.jsxs(O,{children:[t.jsxs(Le,{children:[t.jsx(Z,{}),t.jsx(Ie,{children:d.credits})]}),t.jsx(Fe,{children:r("getCredits.packUnit",{currency:l.name})})]}),t.jsx(Ge,{children:t.jsx("img",{src:gt(d,b),alt:"",loading:"lazy",width:507,height:507})})]}),t.jsxs(He,{children:["$",d.usd.toFixed(2)]})]},d.id))})}export{_t as GetCredits,_t as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{i as f,b as h}from"./lit-element-B3y9oplH.js";import{n as m}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-
|
|
1
|
+
import{i as f,b as h}from"./lit-element-B3y9oplH.js";import{n as m}from"./class-map-CxwNmq0D.js";import{c as p}from"./index-C7gHM4wY.js";import{d as g,r as v}from"./index-DN-OLR2r.js";import{C as c}from"./ConstantsUtil-DTrOBzCe.js";import{R as $,O as u}from"./W3MFrameProviderSingleton-Ccq1reIt.js";import{au as y}from"./NetworkUtil-C1aEwuOK.js";const b=g`
|
|
2
2
|
:host {
|
|
3
3
|
display: flex;
|
|
4
4
|
justify-content: center;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.imp{max-width:860px;margin:0 auto;padding-bottom:120px}.imp__head{margin-bottom:18px}.imp__eyebrow{display:inline-block;font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:var(--accent);background:var(--rarity-bg);padding:6px 12px;border-radius:999px;margin-bottom:14px}.imp__title{font-size:clamp(26px,4vw,38px);font-weight:800;letter-spacing:-.02em;line-height:1.08;margin:0 0 10px}.imp__grad{background:var(--amethyst);-webkit-background-clip:text;background-clip:text;color:transparent}.imp__lede{color:var(--muted);max-width:60ch;margin:0}.imp__ratebar{font-size:13px;color:var(--muted);margin:16px 0 8px;display:flex;align-items:center;gap:7px}.imp__diamond{color:var(--text)}.imp__section{margin-top:26px}.imp__section-head{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;margin-bottom:12px}.imp__section-title{font-size:19px;font-weight:800}.imp__section-sub{color:var(--muted);font-size:14px}.imp__list{display:flex;flex-direction:column;gap:12px}.imp-row{display:grid;grid-template-columns:22px 56px 1fr auto auto;align-items:center;gap:16px;background:#fff;border:1px solid var(--line);border-radius:14px;padding:14px 18px;transition:box-shadow .18s ease,opacity .25s ease}.imp-row:hover{box-shadow:0 10px 28px #2e104a1a}.imp-row.is-off{opacity:.5}.imp-row--skeleton{display:block;height:86px;border-color:transparent;background:linear-gradient(100deg,#ededed 30%,#f7f7f7,#ededed 70%);background-size:200% 100%;animation:shimmer 1.3s infinite linear}.imp-check{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:22px;height:22px;border-radius:7px;border:2px solid var(--line-strong);background:#fff;cursor:pointer;display:grid;place-items:center;flex:none;transition:background .15s,border-color .15s}.imp-check:checked{background:var(--accent);border-color:var(--accent)}.imp-check:checked:after{content:"✓";color:#fff;font-size:13px;font-weight:800}.imp-check:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.imp-thumb{width:56px;height:56px;border-radius:12px;overflow:hidden;flex:none;display:grid;place-items:center;background:radial-gradient(120% 120% at 30% 20%,rgba(165,36,179,.12),var(--media) 70%);border:1px solid var(--line)}.imp-thumb img{width:100%;height:100%;object-fit:contain}.imp-meta{min-width:0}.imp-name{font-weight:700;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.imp-chip{display:inline-flex;margin-top:5px;font-size:10.5px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--rarity);background:var(--rarity-bg);padding:3px 9px;border-radius:5px}.imp-price{display:flex;flex-direction:column;align-items:flex-end;gap:3px}.imp-price__field{display:inline-flex;align-items:center;gap:4px;border:1.5px solid var(--line-strong);border-radius:10px;padding:7px 12px;background:#fff;transition:border-color .15s,box-shadow .15s}.imp-price__field:focus-within{border-color:var(--accent);box-shadow:0 0 0 3px var(--rarity-bg)}.imp-price__diamond{color:var(--text);font-size:15px}.imp-price__input{width:82px;border:0;outline:0;background:transparent;font:inherit;font-weight:800;font-size:17px;color:var(--text);text-align:right;font-variant-numeric:tabular-nums}.imp-price__sub{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}.imp-price__reset{background:none;border:0;padding:0;font:inherit;font-size:12px;font-weight:600;color:var(--accent);cursor:pointer}.imp-action{display:flex;justify-content:flex-end;min-width:74px}.imp-row__list{background:var(--media);color:var(--text-2)}.imp-row__list:hover:not(:disabled){background:#e3e0ea}.imp-dock{position:fixed;left:0;right:0;bottom:0;z-index:30;background:#ffffffe6;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-top:1px solid var(--line)}.imp-dock__inner{max-width:860px;margin:0 auto;padding:15px 20px;display:flex;align-items:center;gap:16px}.imp-dock__total{font-weight:800;font-size:16px}.imp-dock__sub{font-size:13px;color:var(--muted)}.imp-dock__spacer{flex:1 1 auto}.imp-empty{max-width:520px;margin:0 auto;text-align:center;padding:80px 20px;display:flex;flex-direction:column;align-items:center;gap:10px}.imp-empty__ico{font-size:44px}.imp-empty__title{font-size:26px;font-weight:800;margin:4px 0 0}.migrate{width:min(460px,94vw);text-align:left;align-items:stretch}.migrate__progress{height:6px;border-radius:999px;background:var(--line);overflow:hidden;margin:6px 0 14px}.migrate__bar{height:100%;width:0;background:var(--amethyst);border-radius:999px;transition:width .45s ease}.migrate__list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px;max-height:320px;overflow-y:auto}.migrate__row{display:grid;grid-template-columns:34px 1fr auto auto;align-items:center;gap:10px;padding:8px;border-radius:10px;transition:background .2s}.migrate__row--active{background:var(--rarity-bg)}.migrate__row--done{opacity:.75}.migrate__row--skipped,.migrate__row--failed{opacity:.6}.migrate__thumb{width:34px;height:34px;border-radius:8px;overflow:hidden;background:var(--media);display:grid;place-items:center}.migrate__thumb img{width:100%;height:100%;object-fit:contain}.migrate__name{font-weight:600;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.migrate__price{font-weight:700;font-size:13px;color:var(--text-2)}.migrate__status{font-size:12px;font-weight:700;color:var(--accent);display:inline-flex;align-items:center;gap:6px;justify-content:flex-end;min-width:74px}.migrate__wait{color:var(--muted-2);font-weight:600}.migrate__skip{color:var(--muted);font-weight:600}.migrate__spin{width:14px;height:14px;margin:0;border-width:2px}.migrate__tick{width:20px;height:20px;border-radius:50%;background:var(--ok);color:#fff;display:grid;place-items:center;font-size:12px}.migrate__hint{margin:12px 0 0}@media(max-width:620px){.imp-row{grid-template-columns:22px 48px 1fr;row-gap:12px}.imp-price{grid-column:2 / 4;align-items:flex-start}.imp-action{grid-column:2 / 4;justify-content:flex-start}}
|