@dcl/shop 0.1.0-28716868442.commit-8bfb3b0 → 0.1.0-28747573214.commit-462a45d

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.
Files changed (158) hide show
  1. package/assets/{Assets-nmQB2810.js → Assets-DfOXKOnR.js} +1 -1
  2. package/assets/{Cart-CVq8ErN4.js → Cart-DbbHo7Lp.js} +1 -1
  3. package/assets/{Collection-DrWaGsbD.js → Collection-BBAHD9v7.js} +1 -1
  4. package/assets/{Creator-CODX4HY-.js → Creator-Cf3awWfr.js} +1 -1
  5. package/assets/{ExchangeController-DGYlS1u1.js → ExchangeController-C636pVri.js} +1 -1
  6. package/assets/GetCredits-BbICBHrS.js +2 -0
  7. package/assets/{HelpersUtil-Cs7A9lff.js → HelpersUtil-D13uBBzL.js} +1 -1
  8. package/assets/{ImportListings-DWEJuGBQ.js → ImportListings-BBkMIFrL.js} +1 -1
  9. package/assets/{ItemDetail-CLZiYPr_.js → ItemDetail-Dn0l_owe.js} +1 -1
  10. package/assets/{Market-C5YZkU0k.js → Market-CMksg97B.js} +1 -1
  11. package/assets/{MyAssets-DiQ1f-Nx.js → MyAssets-Ly529Qzy.js} +1 -1
  12. package/assets/{MyFavorites-D2neF-WT.js → MyFavorites-BM98-wNr.js} +1 -1
  13. package/assets/{MyPurchases-CX-sT4T9.js → MyPurchases-DDXg_7hF.js} +1 -1
  14. package/assets/{RealCheckout-DVYTPQMi.js → RealCheckout-CZ81fyEJ.js} +1 -1
  15. package/assets/{Success-Dty0MEac.js → Success-De5n3cBh.js} +1 -1
  16. package/assets/SvgIcon-DMAonb7f.js +1 -0
  17. package/assets/{SwapController-CTsLqo0R.js → SwapController-DPv5gEgC.js} +1 -1
  18. package/assets/TradeService-BuOZVMe-.js +1 -0
  19. package/assets/{W3MFrameProviderSingleton-DBf03HGk.js → W3MFrameProviderSingleton-C53Q9nWr.js} +3 -3
  20. package/assets/{WebCryptoP256-BMVi41Tf.js → WebCryptoP256-DpIFc-YF.js} +1 -1
  21. package/assets/{basic-BKlH1yZE.js → basic-9TVVZq54.js} +1 -1
  22. package/assets/{biconomy-BuC8Y20q.js → biconomy-BqDW4_Fp.js} +1 -1
  23. package/assets/{buy-qVYsiH8c.js → buy-WskP4uLn.js} +1 -1
  24. package/assets/{buy-gasless-EwLKJESl.js → buy-gasless-BGYfXddW.js} +1 -1
  25. package/assets/{ccip-BXAlyEXK.js → ccip-Bj2uK6oU.js} +1 -1
  26. package/assets/{ccip-BhXlCEl_.js → ccip-D_jnTLJz.js} +1 -1
  27. package/assets/{collection-yK7CsBpq.js → collection-BxPtwR5Z.js} +1 -1
  28. package/assets/{controller-D31V5T7x.js → controller-B8DfbcQK.js} +2 -2
  29. package/assets/{core-HiY9JG8Q.js → core-CwPOZw31.js} +4 -4
  30. package/assets/{custom-CNeK1SBe.js → custom-CGIKAcy_.js} +1 -1
  31. package/assets/{data-capture-BGCV8f_8.js → data-capture-DxwcCoJo.js} +1 -1
  32. package/assets/decimals-B0WxCOWV.js +1 -0
  33. package/assets/{decimals-eyiqtEAM.js → decimals-DxJOLJvr.js} +1 -1
  34. package/assets/{detectExtension-HGgsLFYa.js → detectExtension-C1tdnZ3w.js} +1 -1
  35. package/assets/{email-D3mSaTDc.js → email-D72jCMmT.js} +1 -1
  36. package/assets/{embedded-wallet-BIpOn63k.js → embedded-wallet-Bog9n_tH.js} +1 -1
  37. package/assets/{engine-Cp4bGvGY.js → engine-Bog4mCpH.js} +1 -1
  38. package/assets/{estimate-l1-fee-DqCr-VRj.js → estimate-l1-fee-CuQIe1md.js} +1 -1
  39. package/assets/{eth_estimateGas-Btj3BdU3.js → eth_estimateGas-BeOmUDSu.js} +1 -1
  40. package/assets/{eth_getStorageAt-cAsXEzwb.js → eth_getStorageAt-9X28hhH4.js} +1 -1
  41. package/assets/{eth_getTransactionCount-9mRngMvR.js → eth_getTransactionCount-CHvlH_2Q.js} +1 -1
  42. package/assets/{extractIPFS-Cos3MMqA.js → extractIPFS-CzVhnm6X.js} +1 -1
  43. package/assets/{features-CS9ITEyv.js → features-Ds8qi8e0.js} +1 -1
  44. package/assets/{fetchTokenMetadata--27nDLvT.js → fetchTokenMetadata-DyKFRjaS.js} +2 -2
  45. package/assets/{get-ecosystem-wallet-info-DsGpr1v9.js → get-ecosystem-wallet-info-DVtQmxfc.js} +1 -1
  46. package/assets/{getBalance-C1EIeWK3.js → getBalance-CPtlpRd8.js} +1 -1
  47. package/assets/{getInstalledModules-CSy_anIJ.js → getInstalledModules-jCIwW2OV.js} +1 -1
  48. package/assets/{getNFT-Biv4Mkbw.js → getNFT-17KjVI3E.js} +1 -1
  49. package/assets/{getNFT-C3k4-I_M.js → getNFT-D71TQwqJ.js} +2 -2
  50. package/assets/{hashTypedData-DCkFFbNQ.js → hashTypedData-22Nm0csw.js} +1 -1
  51. package/assets/{hashTypedData-D-eX1daT.js → hashTypedData-BsHEgjBY.js} +1 -1
  52. package/assets/{import-DjExR-_c.js → import-CcQ3dh0l.js} +1 -1
  53. package/assets/{in-app-wallet-calls-BsZ7t_xW.js → in-app-wallet-calls-t-sxRkB2.js} +1 -1
  54. package/assets/{index-BDnsSs1l.js → index--aCrl8ym.js} +1 -1
  55. package/assets/{index-BSTJA_7O.js → index-1QyqBynD.js} +2 -2
  56. package/assets/{index-zhHTnO6h.js → index-B6FpnCqN.js} +1 -1
  57. package/assets/{index-DDLsPu5_.js → index-BHOQ04tl.js} +16 -16
  58. package/assets/{index-BgPhxGKT.js → index-BHoDUeMz.js} +1 -1
  59. package/assets/{index-DGoPqCsR.js → index-BRXlFZYr.js} +1 -1
  60. package/assets/{index-C0nXxFCO.js → index-BSHqxnWX.js} +1 -1
  61. package/assets/{index-m9UlXIqW.js → index-BU0oqH1v.js} +1 -1
  62. package/assets/{index-BnFty3Li.js → index-BW0vL61p.js} +1 -1
  63. package/assets/{index-B-iF1tO2.js → index-BW4u89-l.js} +1 -1
  64. package/assets/{index-DgAZv7hc.js → index-BitTsk-8.js} +1 -1
  65. package/assets/{index-DUVY_38U.js → index-BopweyiH.js} +1 -1
  66. package/assets/{index-CWgv2cWv.js → index-BuiY2b5V.js} +1 -1
  67. package/assets/{index-BTkTkfcn.js → index-Bvp-iyve.js} +1 -1
  68. package/assets/{index-Cmk_xiBk.js → index-Bw9N_kF_.js} +1 -1
  69. package/assets/{index-D-S19rzI.js → index-BwKjjXxD.js} +1 -1
  70. package/assets/{index-0QSHJ5kM.js → index-BwNwknii.js} +1 -1
  71. package/assets/{index-Xk2toQGa.js → index-C4O-XKSm.js} +1 -1
  72. package/assets/{index-DpcKgN-v.js → index-CNbUbmHm.js} +1 -1
  73. package/assets/{index-BoJsJx--.js → index-COCOMkF6.js} +1 -1
  74. package/assets/{index-BEDCm9Wu.js → index-Cf02sP_a.js} +1 -1
  75. package/assets/{index-BP1BUYI1.js → index-CfzTflc3.js} +1 -1
  76. package/assets/{index-KarPC4Z4.js → index-Ck94hhTo.js} +1 -1
  77. package/assets/{index-cWedEEGZ.js → index-Cm04cZlI.js} +1 -1
  78. package/assets/{index-kpX0X-RL.js → index-CtdBxwRn.js} +1 -1
  79. package/assets/{index-Brg6cgDQ.js → index-CwQ4WZHg.js} +1 -1
  80. package/assets/{index-xmSB5b1v.js → index-CwbrgNKr.js} +1 -1
  81. package/assets/{index-CdcrnJ5_.js → index-Cx5vMrtt.js} +1 -1
  82. package/assets/{index-DquEMs4O.js → index-D-XWUY--.js} +1 -1
  83. package/assets/{index-Cj7vACZe.js → index-D1Hm6q3z.js} +1 -1
  84. package/assets/{index-D1cUVAY6.js → index-D2i3ctoC.js} +1 -1
  85. package/assets/{index-CrBV_1yu.js → index-DEh0LiFK.js} +1 -1
  86. package/assets/{index-CLE07-_x.js → index-DHKMIodB.js} +1 -1
  87. package/assets/{index-NdfBDpoO.js → index-DLUxEVXI.js} +1 -1
  88. package/assets/{index-BbTcdIk0.js → index-DLXCkPW8.js} +1 -1
  89. package/assets/{index-CLy-wBAP.js → index-DT36RcnA.js} +2 -2
  90. package/assets/{index-B91_eufC.js → index-DXqcXSOs.js} +1 -1
  91. package/assets/{index-XzW65SVh.js → index-DYPF9UsI.js} +1 -1
  92. package/assets/{index-BkdaY7_G.js → index-DpzUBtKq.js} +3 -3
  93. package/assets/{index-CJEb8Kzs.js → index-DuzIppyc.js} +1 -1
  94. package/assets/{index-CqIROolS.js → index-DvOTdACV.js} +1 -1
  95. package/assets/{index-CWRbefrn.js → index-DxHbUIT4.js} +1 -1
  96. package/assets/{index-DOExxORl.js → index-RrpD-c5G.js} +1 -1
  97. package/assets/{index-BBWsjtyi.js → index-VI4KjHoC.js} +1 -1
  98. package/assets/{index-CyqLliR_.js → index-heQt9VsF.js} +3 -3
  99. package/assets/{index-CXiOQLIu.js → index-iwu8tO4Z.js} +1 -1
  100. package/assets/{index-D5uLI4BM.js → index-jHxTGJdg.js} +1 -1
  101. package/assets/{index-CLkVyB5o.js → index-o5cecGpl.js} +1 -1
  102. package/assets/{index-CLXqEKlA.js → index-sHr-hGKY.js} +1 -1
  103. package/assets/{index-CQtzuPXx.js → index-wg2QrcW5.js} +1 -1
  104. package/assets/{index-DccLoKMC.js → index-xXtPh54p.js} +2 -2
  105. package/assets/{index.es-CFwo152a.js → index.es-2PzIAt_1.js} +1 -1
  106. package/assets/{index.es-BtrYS_gk.js → index.es-DEttXaJp.js} +4 -4
  107. package/assets/{index.es-Cw0Wg8zr.js → index.es-DdKll-wt.js} +1 -1
  108. package/assets/{localBatchGatewayRequest-W5wM5RIw.js → localBatchGatewayRequest-C-g14orC.js} +1 -1
  109. package/assets/{mana-rate-D91Nq-wO.js → mana-rate-DeQxAZWf.js} +1 -1
  110. package/assets/network-Cc_j76mj.js +1 -0
  111. package/assets/{networks-DLxu9QYW.js → networks-DQ_uJOW0.js} +1 -1
  112. package/assets/{onramp-DjMFTSAW.js → onramp-Fj0QTWoK.js} +1 -1
  113. package/assets/{openzeppelin-2ZkXoMQF.js → openzeppelin-C05m57x-.js} +1 -1
  114. package/assets/{ownerOf-BAgrPslR.js → ownerOf-iDx9Bfmb.js} +1 -1
  115. package/assets/{parseNft-xmwbSwKx.js → parseNft-BbqeSraZ.js} +2 -2
  116. package/assets/{parseSignature-DS_qYYXg.js → parseSignature-BpHf1ckR.js} +3 -3
  117. package/assets/{parseSignature-Dfqx4qdB.js → parseSignature-DecPFzAG.js} +1 -1
  118. package/assets/{pay-with-exchange-BfqKWl-i.js → pay-with-exchange-DcOvi8il.js} +1 -1
  119. package/assets/{qr-overlay-CuzJkOyH.js → qr-overlay-C42zumtd.js} +1 -1
  120. package/assets/{receive-BXV5EvIe.js → receive-CBWc5sHm.js} +1 -1
  121. package/assets/{resolveImplementation-Cp1kSEV-.js → resolveImplementation-Dfnpuqfy.js} +1 -1
  122. package/assets/{rpc-Dtax0ZGB.js → rpc-CpwULMGN.js} +1 -1
  123. package/assets/{secp256k1-C95i4S9L.js → secp256k1-BnqRXIY8.js} +1 -1
  124. package/assets/{secp256k1-yf38iHjx.js → secp256k1-C6oufD3A.js} +1 -1
  125. package/assets/{secp256k1-D8wYY9C6.js → secp256k1-yeQJ89oh.js} +1 -1
  126. package/assets/{send-bACcTxXh.js → send-BkoLHxtn.js} +1 -1
  127. package/assets/{send-batch-transaction-vUlQ3f8W.js → send-batch-transaction-BSK7bmqA.js} +1 -1
  128. package/assets/{send-eip712-transaction-BAhg0sSO.js → send-eip712-transaction-Dn-wh_B2.js} +2 -2
  129. package/assets/{send-gasless-transaction-Bbc--ckt.js → send-gasless-transaction-Ca3gem0_.js} +2 -2
  130. package/assets/{sendRawTransaction-Cn-exoEI.js → sendRawTransaction-Cs49dy2x.js} +3 -3
  131. package/assets/{serializeTransaction-CI3T0WRP.js → serializeTransaction-KiaMgBPL.js} +1 -1
  132. package/assets/{session-proposal-D0XHSqV_.js → session-proposal-vzIJwf7D.js} +1 -1
  133. package/assets/{session-request-BsTTXWj7.js → session-request-BEIJZaAK.js} +2 -2
  134. package/assets/{sha256-DMkvy9Cz.js → sha256-BiN04lIc.js} +1 -1
  135. package/assets/{signing-DeH43Aaw.js → signing-BwGscoGI.js} +4 -4
  136. package/assets/{socials-D-IAo2yx.js → socials-CkBpzoYO.js} +1 -1
  137. package/assets/{swaps-BWMX0U3I.js → swaps-DQ5hCG4G.js} +1 -1
  138. package/assets/{thirdweb-iPhsIfpR.js → thirdweb-DGSIWchy.js} +3 -3
  139. package/assets/{totalSupply-CSwsdpN_.js → totalSupply--7Gy53iL.js} +1 -1
  140. package/assets/{transactionReceipt-U1NdpKCV.js → transactionReceipt-BqWcSLOT.js} +1 -1
  141. package/assets/{transactions-BkfWn19q.js → transactions-BLMRTJRj.js} +1 -1
  142. package/assets/{useInfiniteGrid-6pBFQ8Kh.js → useInfiniteGrid-DPeVNTF0.js} +1 -1
  143. package/assets/{verifyHash-C7RY1nlI.js → verifyHash-BbyYMDj2.js} +1 -1
  144. package/assets/{w3m-modal-1UZQLvps.js → w3m-modal-BO7VJd_F.js} +1 -1
  145. package/assets/{w3m-modal-DMTcXY8g.js → w3m-modal-CU9GrhG1.js} +1 -1
  146. package/assets/{wait-for-tx-receipt-Dy501zTV.js → wait-for-tx-receipt-B7zpFNTs.js} +1 -1
  147. package/assets/{wallet-kind-By432Wm8.js → wallet-kind-I50FvVNZ.js} +1 -1
  148. package/assets/{wallets-DpuodgNe.js → wallets-3KLAORfj.js} +6 -6
  149. package/assets/{web-connector-C0IKOCFh.js → web-connector-n3P_8fE1.js} +3 -3
  150. package/assets/{writeContract-B_fZae2g.js → writeContract-CuPR4V-g.js} +1 -1
  151. package/assets/{zoraTestnet-DBtbozoi.js → zoraTestnet-lp6nJymD.js} +1 -1
  152. package/index.html +8 -8
  153. package/package.json +2 -2
  154. package/assets/GetCredits-BJ-vtPKx.js +0 -2
  155. package/assets/SvgIcon-CqOcU2_R.js +0 -1
  156. package/assets/TradeService-Co6yXz1n.js +0 -1
  157. package/assets/decimals-690uYbRk.js +0 -1
  158. package/assets/network-ivZE_UMc.js +0 -1
package/index.html CHANGED
@@ -16,10 +16,10 @@
16
16
  <link rel="canonical" href="https://shop.decentraland.zone/" />
17
17
 
18
18
  <!-- Favicon: the Decentraland mark (same as the marketplace). -->
19
- <link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/favicon.ico" sizes="16x16 32x32 48x48" />
20
- <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/apple-touch-icon.png" />
19
+ <link rel="icon" type="image/x-icon" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/favicon.ico" sizes="16x16 32x32 48x48" />
20
+ <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/apple-touch-icon.png" />
21
21
  <meta name="apple-mobile-web-app-title" content="DCL Shop" />
22
- <link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/site.webmanifest" />
22
+ <link rel="manifest" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/site.webmanifest" />
23
23
 
24
24
  <!-- Open Graph -->
25
25
  <meta property="og:type" content="website" />
@@ -48,7 +48,7 @@
48
48
  <meta name="twitter:image:alt" content="Decentraland Shop — wearables and emotes for your avatar" />
49
49
 
50
50
  <!-- Sitemap -->
51
- <link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/sitemap.xml" />
51
+ <link rel="sitemap" type="application/xml" title="Sitemap" href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/sitemap.xml" />
52
52
 
53
53
  <!-- Warm the 3D preview / fonts -->
54
54
  <link rel="preconnect" href="https://fonts.googleapis.com" />
@@ -60,10 +60,10 @@
60
60
  <link rel="preconnect" href="https://wearable-preview.decentraland.org" />
61
61
  <link rel="preconnect" href="https://peer.decentraland.zone" crossorigin />
62
62
  <link rel="preconnect" href="https://peer.decentraland.org" crossorigin />
63
- <script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/assets/index-DDLsPu5_.js"></script>
64
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/assets/react-E8ng6RF2.js">
65
- <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/assets/ethers-BxoDGoYp.js">
66
- <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28716868442.commit-8bfb3b0/assets/index-xq0r0dow.css">
63
+ <script type="module" crossorigin src="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/assets/index-BHOQ04tl.js"></script>
64
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/assets/react-E8ng6RF2.js">
65
+ <link rel="modulepreload" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/assets/ethers-BxoDGoYp.js">
66
+ <link rel="stylesheet" crossorigin href="https://cdn.decentraland.org/@dcl/shop/0.1.0-28747573214.commit-462a45d/assets/index-xq0r0dow.css">
67
67
  </head>
68
68
  <body>
69
69
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dcl/shop",
3
- "version": "0.1.0-28716868442.commit-8bfb3b0",
3
+ "version": "0.1.0-28747573214.commit-462a45d",
4
4
  "main": "index.js",
5
5
  "author": "Decentraland",
6
6
  "license": "Apache-2.0",
@@ -8,5 +8,5 @@
8
8
  "type": "git",
9
9
  "url": "git+https://github.com/decentraland/shop.git"
10
10
  },
11
- "commit": "8bfb3b031970bc699938feab7aed37b5738e8860"
11
+ "commit": "462a45db6a489c9ef121af486b9f0cdd59d51f2a"
12
12
  }
@@ -1,2 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/RealCheckout-DVYTPQMi.js","assets/react-E8ng6RF2.js","assets/index-DDLsPu5_.js","assets/ethers-BxoDGoYp.js","assets/index-xq0r0dow.css"])))=>i.map(i=>d[i]);
2
- import{H as B,c as T,l as D,t as _,s as k,v,C as u,F as V,I as w,_ as A}from"./index-DDLsPu5_.js";import{b as F,r as o,j as e}from"./react-E8ng6RF2.js";import{C}from"./CircularProgress-D-iaLmF3.js";import"./ethers-BxoDGoYp.js";import"./generateUtilityClasses-sji8XAMf.js";const U=.1,E=[{id:"pack_5",usd:5,credits:x(5)},{id:"pack_10",usd:10,credits:x(10)},{id:"pack_25",usd:25,credits:x(25),bestValue:!0},{id:"pack_50",usd:50,credits:x(50)}];function x(t){return Math.round(t/U)}function P(t){return E.find(s=>s.id===t)}const y="mock_cs_";function Y(){return!0}async function z(t,s){const a=P(t);if(!a)throw new Error("Unknown pack");return K(a)}async function q(t,s={}){const{intervalMs:a,timeoutMs:c,signal:n,identity:i}=s;if(t.startsWith(y)||Y())return L(t,s)}function K(t){const s=`${y}${t.id}_${Date.now()}`;return $(400).then(()=>({orderId:s,clientSecret:`${y}${t.id}`,mock:!0}))}async function L(t,s={}){await $(s.intervalMs??900);const a=t.replace(y,"").replace(/_\d+$/,""),c=P(a),n=(c==null?void 0:c.credits)??0;if(s.address&&c)try{const i=await B(s.address,Math.round(c.usd*100));return{status:"credited",creditsGranted:n,newBalance:i.credits}}catch(i){return{status:"failed",error:i.message}}return{status:"credited",creditsGranted:n,newBalance:n}}function $(t,s){return new Promise((a,c)=>{setTimeout(a,t)})}const f="mock",O=o.lazy(()=>A(()=>import("./RealCheckout-DVYTPQMi.js"),__vite__mapDeps([0,1,2,3,4])));function S(t){const s=t;if((s==null?void 0:s.name)==="AbortError")return"You cancelled the request.";const a=((s==null?void 0:s.message)??"").toLowerCase();return a.includes("sign in")?`Sign in to get ${u.name}.`:a.includes("timed out")?`This is taking longer than usual — your ${u.name} will appear shortly.`:"Couldn't complete your purchase — please try again."}function te(){const t=F(),{session:s,signIn:a}=T(),c=D(),[n,i]=o.useState("select"),[r,h]=o.useState(null),[m,N]=o.useState(null),[R,b]=o.useState(null),[G,p]=o.useState(null),j=o.useRef(null);o.useEffect(()=>()=>{var d;return(d=j.current)==null?void 0:d.abort()},[]);const I=o.useCallback(async d=>{if(!s){a();return}p(null),h(d),i("paying"),_("Shop Started Buy Credits",{pack_usd:d.usd,credits:d.credits,provider:f});try{const l=await z(d.id,{address:s.address,identity:s.identity});N(l)}catch(l){k(l,{flow:"get_credits",step:"checkout",provider:f}),_("Shop Buy Credits Failed",{step:"checkout",error_code:v(l),pack_usd:d.usd}),p(S(l)),i("error")}},[s,a]),M=o.useCallback(async()=>{if(!m)return;i("processing");const d=new AbortController;j.current=d;try{const l=await q(m.orderId,{signal:d.signal,address:s==null?void 0:s.address,identity:s==null?void 0:s.identity});l.status==="credited"?(b(l.creditsGranted??(r==null?void 0:r.credits)??0),i("success"),_("Shop Completed Buy Credits",{order_id:m.orderId,pack_usd:(r==null?void 0:r.usd)??null,credits:l.creditsGranted??(r==null?void 0:r.credits)??0,provider:f}),c.invalidateQueries({queryKey:["usd-balance"]})):(_("Shop Buy Credits Failed",{step:"grant",error_code:"grant_failed",pack_usd:(r==null?void 0:r.usd)??null}),p(l.error??`Couldn't add your ${u.name} — please try again.`),i("error"))}catch(l){k(l,{flow:"get_credits",step:"grant",order_id:m.orderId}),_("Shop Buy Credits Failed",{step:"grant",error_code:v(l),pack_usd:(r==null?void 0:r.usd)??null}),p(S(l)),i("error")}},[m,r,s,c]);function g(){var d;(d=j.current)==null||d.abort(),i("select"),h(null),N(null),b(null),p(null)}return e.jsxs("div",{className:"getcredits",children:[e.jsxs("header",{className:"getcredits__head",children:[e.jsxs("h1",{className:"getcredits__title",children:["Get ",u.name]}),e.jsxs("p",{className:"muted",children:["Add ",u.name," to your account to shop. Pay with any card."]})]}),n==="select"&&e.jsx(Q,{onSelect:I}),n==="paying"&&r&&e.jsx(W,{pack:r,checkout:m,onPaid:M,onCancel:g}),n==="processing"&&e.jsxs("div",{className:"getcredits__status",role:"status","aria-live":"polite",children:[e.jsx(C,{size:40}),e.jsxs("p",{className:"getcredits__status-title",children:["Adding your ",u.name,"…"]}),e.jsx("p",{className:"muted",children:"Payment received. Just a moment while we top up your balance."})]}),n==="success"&&e.jsxs("div",{className:"getcredits__status getcredits__status--ok",role:"status","aria-live":"polite",children:[e.jsx("div",{className:"getcredits__confetti","aria-hidden":!0,children:"🎉"}),e.jsx("p",{className:"getcredits__status-title",children:"You’re all set!"}),e.jsxs("p",{className:"muted",children:[e.jsxs("strong",{children:[u.symbol," ",R]})," ",u.name," added to your account."]}),e.jsxs("div",{className:"getcredits__status-actions",children:[e.jsx("button",{className:"btn",onClick:()=>t("/cart"),children:"Back to cart"}),e.jsxs("button",{className:"btn btn--ghost",onClick:g,children:["Get more ",u.name]})]})]}),n==="error"&&e.jsxs("div",{className:"getcredits__status getcredits__status--err",role:"alert",children:[e.jsx("p",{className:"getcredits__status-title",children:"Something went wrong"}),e.jsx("p",{className:"error",children:G}),e.jsx("div",{className:"getcredits__status-actions",children:e.jsx("button",{className:"btn",onClick:g,children:"Try again"})})]})]})}function Q({onSelect:t}){return e.jsx("div",{className:"packs",children:E.map(s=>e.jsxs("button",{type:"button",className:`pack${s.bestValue?" pack--best":""}`,onClick:()=>t(s),"aria-label":`Get ${w(s.credits)} for $${s.usd}`,children:[s.bestValue&&e.jsx("span",{className:"pack__ribbon",children:"Best value"}),e.jsxs("span",{className:"pack__credits",children:[e.jsx(V,{className:"pack__credits-ico"}),s.credits]}),e.jsx("span",{className:"pack__label",children:u.name}),e.jsxs("span",{className:"pack__price",children:["$",s.usd]}),e.jsxs("span",{className:"pack__cta",children:["Get ",u.name]})]},s.id))})}function W({pack:t,checkout:s,onPaid:a,onCancel:c}){return e.jsxs("div",{className:"pay",children:[e.jsxs("div",{className:"pay__summary",children:[e.jsx("button",{className:"link",onClick:c,children:"← Choose a different pack"}),e.jsxs("div",{className:"pay__summary-row",children:[e.jsx("span",{children:"You’ll get"}),e.jsxs("strong",{children:[u.symbol," ",w(t.credits)]})]}),e.jsxs("div",{className:"pay__summary-row pay__summary-row--total",children:[e.jsx("span",{children:"You pay"}),e.jsxs("strong",{children:["$",t.usd]})]})]}),e.jsx("div",{className:"pay__form",children:s?s.mock?e.jsx(H,{onPaid:a,amountUsd:t.usd}):e.jsx(o.Suspense,{fallback:e.jsxs("div",{className:"getcredits__status",role:"status","aria-live":"polite",children:[e.jsx(C,{size:32}),e.jsx("p",{className:"muted",children:"Getting the payment form ready…"})]}),children:e.jsx(O,{clientSecret:s.clientSecret,onComplete:a})}):e.jsxs("div",{className:"getcredits__status",role:"status","aria-live":"polite",children:[e.jsx(C,{size:32}),e.jsx("p",{className:"muted",children:"Getting the payment form ready…"})]})})]})}function H({onPaid:t,amountUsd:s}){const[a,c]=o.useState("4242 4242 4242 4242"),[n,i]=o.useState(!1);function r(){i(!0),setTimeout(()=>t(),700)}return e.jsxs("div",{className:"card-form","aria-label":"Payment details",children:[e.jsx("p",{className:"muted small card-form__note",children:"Demo mode — no real charge is made."}),e.jsxs("label",{className:"field",children:[e.jsx("span",{children:"Card number"}),e.jsx("input",{value:a,onChange:h=>c(h.target.value),disabled:n,inputMode:"numeric"})]}),e.jsxs("div",{className:"card-form__row",children:[e.jsxs("label",{className:"field",children:[e.jsx("span",{children:"Expiry"}),e.jsx("input",{defaultValue:"12 / 34",disabled:n})]}),e.jsxs("label",{className:"field",children:[e.jsx("span",{children:"CVC"}),e.jsx("input",{defaultValue:"123",disabled:n,inputMode:"numeric"})]})]}),e.jsx("button",{className:"btn btn--purple card-form__pay",onClick:r,disabled:n,children:n?"Processing…":`Pay $${s}`})]})}export{te as GetCredits,te as default};
@@ -1 +0,0 @@
1
- import{p as G}from"./ethers-BxoDGoYp.js";import{b as I,i as z,w as Y,T as K,h as W,j as k,r as x,l as H,m as j,g as Q,a as q,u as J,_ as X,c as Z,d as D,e as tt,s as et}from"./generateUtilityClasses-sji8XAMf.js";import{r as h,j as $}from"./react-E8ng6RF2.js";function nt(e){const{host:t}=e;return t.endsWith(".org")||t.endsWith(".co")?U.PRODUCTION:t.endsWith(".today")||t.endsWith(".net")?U.STAGING:t.endsWith(".io")||t.endsWith(".zone")?U.DEVELOPMENT:null}function ot(e){const t=new URLSearchParams(e.search),n=t.get("ENV")||t.get("env");if(n){const a=n.toLowerCase();if(F(a))return a}return null}var y={},U;(function(e){e.DEVELOPMENT="dev",e.STAGING="stg",e.PRODUCTION="prod"})(U||(U={}));function w(){return Object.values(U)}function F(e){return w().includes(e)}function g(e){if(F(e))return e;throw new Error(`Invalid value for DCL_DEFAULT_ENV. Found "${e}", possible values are ${w().map(t=>`"${t}"`).join(", ")}.`)}function at(e={}){const{DCL_DEFAULT_ENV:t,REACT_APP_DCL_DEFAULT_ENV:n,VITE_DCL_DEFAULT_ENV:a,GATSBY_DCL_DEFAULT_ENV:o}=e;if(t&&n&&t!==n)throw new Error("You have defined both DCL_DEFAULT_ENV and REACT_APP_DCL_DEFAULT_ENV with different values");if(t&&a&&t!==a)throw new Error("You have defined both DCL_DEFAULT_ENV and VITE_DCL_DEFAULT_ENV with different values");if(t&&o&&t!==o)throw new Error("You have defined both DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");if(n&&o&&n!==o)throw new Error("You have defined both REACT_APP_DCL_DEFAULT_ENV and GATSBY_DCL_DEFAULT_ENV with different values");return t?g(t):n?g(n):a?g(a):o?g(o):U.PRODUCTION}function rt(e){if(typeof window<"u"){const n=ot(window.location);if(n)return n;const a=nt(window.location);if(a)return a}return at(typeof G=="object"&&typeof y=="object"?y:e)}function st(e,t){const n=rt(t==null?void 0:t.systemEnvVariables),a=e[n];return{get:(o,r="")=>{if(!a)throw new Error(`Could not find a config for env=${n}`);return o in a?a[o]:r},is:o=>n===o,getEnv:()=>n}}const ct="https://wearable-preview.decentraland.zone",dt="https://decentraland.zone/account",_t="https://decentraland.zone/profile",lt="https://decentraland.zone/marketplace",Rt="https://decentraland.zone/builder",Lt="https://decentraland.zone/dao",Et="https://decentraland.zone/governance",Ut="https://decentraland.zone/events",it="https://decentraland.zone/places",pt="https://decentraland.org/create/",Tt="https://docs.decentraland.org/player/",At="https://decentraland.zone/download/creator-hub/",ht="https://decentraland.zone/download/",St="https://decentraland.zone/download_success/",Ot="ea2ybdmmn1kv",Nt="master",Ct="18g1DzIyBxvu0steSwKyQr",ut="https://cms.decentraland.org",gt="https://decentraland.zone/marketplace/names/claim",Dt="https://decentraland.zone/marketplace/lands",mt="https://decentraland.zone/marketplace/account",It="https://decentraland.zone/create/",ft="https://studios.decentraland.zone/",vt="https://decentraland.zone/builder/collections",Pt="https://decentraland.zone/builder/names",$t="https://decentraland.zone/builder/worlds?tab=dcl",yt="https://decentraland.zone/builder/land",bt="https://decentraland.zone/events/me/",Bt="https://decentraland.zone/places/favorites/",Vt="https://docs.decentraland.org/player/",wt="https://docs.decentraland.org/creator/",Ft="https://decentraland.zone/blog/",Mt="https://docs.decentraland.org/contributor/",Gt="https://decentraland.zone/governance/transparency/",zt="https://decentraland.zone/governance/proposals/",Yt="https://decentraland.zone/dao/grants/",Kt="https://decentraland.zone/governance/projects/",Wt="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",kt="https://decentraland.zone/marketplace/settings",xt="https://dcl.gg/discord",Ht="https://reddit.com/r/decentraland",jt="https://github.com/decentraland",Qt="https://x.com/decentraland",qt="https://instagram.com/decentraland_foundation/",Jt="https://youtube.com/@decentraland_foundation",Xt="https://tiktok.com/@decentraland_fdn",Zt="https://linkedin.com/company/decentralandorg",te="https://decentraland.zone/privacy",ee="https://decentraland.zone/terms",ne="https://decentraland.zone/content",oe="https://decentraland.zone/ethics",ae="https://decentraland.org/help",re="mailto:hello@decentraland.org",se="https://docs.decentraland.org/faqs/decentraland-101",ce="https://docs.decentraland.org",de="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",_e="https://download-gateway.decentraland.zone",le="https://decentraland.zone/top-scenes",Re="https://testflight.apple.com/join/KF4r3jlU",Le="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",Ee={WEARABLE_PREVIEW_URL:ct,ACCOUNT_URL:dt,PROFILE_URL:_t,MARKETPLACE_URL:lt,BUILDER_URL:Rt,DAO_URL:Lt,GOVERNANCE_URL:Et,EVENTS_URL:Ut,PLACES_URL:it,CREATE_URL:pt,LEARN_URL:Tt,CREATOR_HUB_URL:At,DOWNLOAD_URL:ht,DOWNLOAD_SUCCESS_URL:St,CONTENTFUL_SPACE_ID:Ot,CONTENTFUL_ENV:Nt,CONTENTFUL_NAVBAR_ENTRY_ID:Ct,CONTENTFUL_CONTENTFUL_CDN_URL:ut,MARKETPLACE_NAMES_URL:gt,MARKETPLACE_LANDS_URL:Dt,MARKETPLACE_MY_ASSETS_URL:mt,LANDING_CREATORS_URL:It,STUDIOS_URL:ft,BUILDER_WEARABLE_EMOTES_URL:vt,BUILDER_NAMES_URL:Pt,BUILDER_WORLDS_URL:$t,BUILDER_LAND_URL:yt,EVENTS_MY_EVENTS:bt,PLACES_MY_FAVORITE_URL:Bt,DOCS_ABOUT_URL:Vt,DOCS_CREATORS_URL:wt,BLOG_URL:Ft,DOCS_CONTRIBUTOR_URL:Mt,GOVERNANCE_TRANSPARENCY_URL:Gt,GOVERNANCE_PROPOSALS_URL:zt,DAO_GRANTS_URL:Yt,GOVERNANCE_PROJECTS_URL:Kt,DOCS_DAO_URL:Wt,MARKETPLACE_SETTINGS_URL:kt,DISCORD_URL:xt,REDDIT_URL:Ht,GITHUB_URL:jt,X_URL:Qt,INSTAGRAM_URL:qt,YOUTUBE_URL:Jt,TIKTOK_URL:Xt,LINKEDIN_URL:Zt,PRIVACY_POLICY_URL:te,TERMS_OF_USE_URL:ee,CONTENT_POLICY_URL:ne,CODE_OF_ETHICS_URL:oe,SUPPORT_URL:ae,EMAIL_HELLO_URL:re,FAQ_URL:se,DOCS_URL:ce,BEEHIV_SUBSCRIPTION_URL:de,AUTO_SIGNING_BASE_URL:_e,TOP_SCENES_URL:le,IOS_STORE_URL:Re,ANDROID_STORE_URL:Le},Ue="https://wearable-preview.decentraland.org",ie="https://decentraland.org/account",pe="https://decentraland.org/profile",Te="https://decentraland.org/marketplace",Ae="https://decentraland.org/builder",he="https://decentraland.org/dao",Se="https://decentraland.org/governance",Oe="https://decentraland.org/events",Ne="https://decentraland.org/places",Ce="https://decentraland.org/create/",ue="https://docs.decentraland.org/player/",ge="https://decentraland.org/download/creator-hub/",De="https://decentraland.org/download/",me="https://decentraland.org/download_success/",Ie="ea2ybdmmn1kv",fe="master",ve="18g1DzIyBxvu0steSwKyQr",Pe="https://cms.decentraland.org",$e="https://decentraland.org/marketplace/names/claim",ye="https://decentraland.org/marketplace/lands",be="https://decentraland.org/marketplace/account",Be="https://decentraland.org/create/",Ve="https://studios.decentraland.org/",we="https://decentraland.org/builder/collections",Fe="https://decentraland.org/builder/names",Me="https://decentraland.org/builder/worlds?tab=dcl",Ge="https://decentraland.org/builder/land",ze="https://decentraland.org/events/me/",Ye="https://decentraland.org/places/favorites/",Ke="https://docs.decentraland.org/player/",We="https://docs.decentraland.org/creator/",ke="https://decentraland.org/blog/",xe="https://docs.decentraland.org/contributor/",He="https://decentraland.org/governance/transparency/",je="https://decentraland.org/governance/proposals/",Qe="https://decentraland.org/dao/grants/",qe="https://decentraland.org/governance/projects/",Je="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",Xe="https://decentraland.org/marketplace/settings",Ze="https://dcl.gg/discord",tn="https://reddit.com/r/decentraland",en="https://github.com/decentraland",nn="https://x.com/decentraland",on="https://instagram.com/decentraland_foundation/",an="https://youtube.com/@decentraland_foundation",rn="https://tiktok.com/@decentraland_fdn",sn="https://linkedin.com/company/decentralandorg",cn="https://decentraland.org/privacy",dn="https://decentraland.org/terms",_n="https://decentraland.org/content",ln="https://decentraland.org/ethics",Rn="https://decentraland.org/help",Ln="mailto:hello@decentraland.org",En="https://docs.decentraland.org/faqs/decentraland-101",Un="https://docs.decentraland.org",pn="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",Tn="https://download-gateway.decentraland.org",An="https://decentraland.org/top-scenes",hn="https://testflight.apple.com/join/KF4r3jlU",Sn="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",On={WEARABLE_PREVIEW_URL:Ue,ACCOUNT_URL:ie,PROFILE_URL:pe,MARKETPLACE_URL:Te,BUILDER_URL:Ae,DAO_URL:he,GOVERNANCE_URL:Se,EVENTS_URL:Oe,PLACES_URL:Ne,CREATE_URL:Ce,LEARN_URL:ue,CREATOR_HUB_URL:ge,DOWNLOAD_URL:De,DOWNLOAD_SUCCESS_URL:me,CONTENTFUL_SPACE_ID:Ie,CONTENTFUL_ENV:fe,CONTENTFUL_NAVBAR_ENTRY_ID:ve,CONTENTFUL_CONTENTFUL_CDN_URL:Pe,MARKETPLACE_NAMES_URL:$e,MARKETPLACE_LANDS_URL:ye,MARKETPLACE_MY_ASSETS_URL:be,LANDING_CREATORS_URL:Be,STUDIOS_URL:Ve,BUILDER_WEARABLE_EMOTES_URL:we,BUILDER_NAMES_URL:Fe,BUILDER_WORLDS_URL:Me,BUILDER_LAND_URL:Ge,EVENTS_MY_EVENTS:ze,PLACES_MY_FAVORITE_URL:Ye,DOCS_ABOUT_URL:Ke,DOCS_CREATORS_URL:We,BLOG_URL:ke,DOCS_CONTRIBUTOR_URL:xe,GOVERNANCE_TRANSPARENCY_URL:He,GOVERNANCE_PROPOSALS_URL:je,DAO_GRANTS_URL:Qe,GOVERNANCE_PROJECTS_URL:qe,DOCS_DAO_URL:Je,MARKETPLACE_SETTINGS_URL:Xe,DISCORD_URL:Ze,REDDIT_URL:tn,GITHUB_URL:en,X_URL:nn,INSTAGRAM_URL:on,YOUTUBE_URL:an,TIKTOK_URL:rn,LINKEDIN_URL:sn,PRIVACY_POLICY_URL:cn,TERMS_OF_USE_URL:dn,CONTENT_POLICY_URL:_n,CODE_OF_ETHICS_URL:ln,SUPPORT_URL:Rn,EMAIL_HELLO_URL:Ln,FAQ_URL:En,DOCS_URL:Un,BEEHIV_SUBSCRIPTION_URL:pn,AUTO_SIGNING_BASE_URL:Tn,TOP_SCENES_URL:An,IOS_STORE_URL:hn,ANDROID_STORE_URL:Sn},Nn="https://wearable-preview.decentraland.today",Cn="https://decentraland.today/account",un="https://decentraland.today/profile",gn="https://decentraland.today/marketplace",Dn="https://decentraland.today/builder",mn="https://decentraland.today/dao",In="https://decentraland.today/governance",fn="https://decentraland.zone/events",vn="https://decentraland.zone/places",Pn="https://decentraland.today/create/",$n="https://docs.decentraland.org/player/",yn="https://decentraland.today/download/creator-hub/",bn="https://decentraland.today/download/",Bn="https://decentraland.today/download_success/",Vn="ea2ybdmmn1kv",wn="master",Fn="18g1DzIyBxvu0steSwKyQr",Mn="https://cms.decentraland.org",Gn="https://decentraland.today/marketplace/names/claim",zn="https://decentraland.today/marketplace/lands",Yn="https://decentraland.today/marketplace/account",Kn="https://decentraland.today/create/",Wn="https://studios.decentraland.today/",kn="https://decentraland.today/builder/collections",xn="https://decentraland.today/builder/names",Hn="https://decentraland.today/builder/worlds?tab=dcl",jn="https://decentraland.today/builder/land",Qn="https://decentraland.today/events/me/",qn="https://decentraland.today/places/favorites/",Jn="https://docs.decentraland.org/player/",Xn="https://docs.decentraland.org/creator/",Zn="https://decentraland.today/blog/",to="https://docs.decentraland.org/contributor/",eo="https://decentraland.today/governance/transparency/",no="https://decentraland.today/governance/proposals/",oo="https://decentraland.today/dao/grants/",ao="https://decentraland.today/governance/projects/",ro="https://docs.decentraland.org/player/general/dao/overview/what-is-the-dao/",so="https://decentraland.today/marketplace/settings",co="https://dcl.gg/discord",_o="https://reddit.com/r/decentraland",lo="https://github.com/decentraland",Ro="https://x.com/decentraland",Lo="https://instagram.com/decentraland_foundation/",Eo="https://youtube.com/@decentraland_foundation",Uo="https://tiktok.com/@decentraland_fdn",io="https://linkedin.com/company/decentralandorg",po="https://decentraland.org/privacy",To="https://decentraland.org/terms",Ao="https://decentraland.org/content",ho="https://decentraland.org/ethics",So="https://decentraland.org/help",Oo="mailto:hello@decentraland.org",No="https://docs.decentraland.org/faqs/decentraland-101",Co="https://docs.decentraland.org",uo="https://embeds.beehiiv.com/ff89783d-748b-4ba3-8700-4759f6f62831?slim=true",go="https://download-gateway.decentraland.zone",Do="https://decentraland.zone/top-scenes",mo="https://testflight.apple.com/join/KF4r3jlU",Io="https://play.google.com/store/apps/details?id=org.decentraland.godotexplorer",fo={WEARABLE_PREVIEW_URL:Nn,ACCOUNT_URL:Cn,PROFILE_URL:un,MARKETPLACE_URL:gn,BUILDER_URL:Dn,DAO_URL:mn,GOVERNANCE_URL:In,EVENTS_URL:fn,PLACES_URL:vn,CREATE_URL:Pn,LEARN_URL:$n,CREATOR_HUB_URL:yn,DOWNLOAD_URL:bn,DOWNLOAD_SUCCESS_URL:Bn,CONTENTFUL_SPACE_ID:Vn,CONTENTFUL_ENV:wn,CONTENTFUL_NAVBAR_ENTRY_ID:Fn,CONTENTFUL_CONTENTFUL_CDN_URL:Mn,MARKETPLACE_NAMES_URL:Gn,MARKETPLACE_LANDS_URL:zn,MARKETPLACE_MY_ASSETS_URL:Yn,LANDING_CREATORS_URL:Kn,STUDIOS_URL:Wn,BUILDER_WEARABLE_EMOTES_URL:kn,BUILDER_NAMES_URL:xn,BUILDER_WORLDS_URL:Hn,BUILDER_LAND_URL:jn,EVENTS_MY_EVENTS:Qn,PLACES_MY_FAVORITE_URL:qn,DOCS_ABOUT_URL:Jn,DOCS_CREATORS_URL:Xn,BLOG_URL:Zn,DOCS_CONTRIBUTOR_URL:to,GOVERNANCE_TRANSPARENCY_URL:eo,GOVERNANCE_PROPOSALS_URL:no,DAO_GRANTS_URL:oo,GOVERNANCE_PROJECTS_URL:ao,DOCS_DAO_URL:ro,MARKETPLACE_SETTINGS_URL:so,DISCORD_URL:co,REDDIT_URL:_o,GITHUB_URL:lo,X_URL:Ro,INSTAGRAM_URL:Lo,YOUTUBE_URL:Eo,TIKTOK_URL:Uo,LINKEDIN_URL:io,PRIVACY_POLICY_URL:po,TERMS_OF_USE_URL:To,CONTENT_POLICY_URL:Ao,CODE_OF_ETHICS_URL:ho,SUPPORT_URL:So,EMAIL_HELLO_URL:Oo,FAQ_URL:No,DOCS_URL:Co,BEEHIV_SUBSCRIPTION_URL:uo,AUTO_SIGNING_BASE_URL:go,TOP_SCENES_URL:Do,IOS_STORE_URL:mo,ANDROID_STORE_URL:Io},Ko=st({[U.DEVELOPMENT]:Ee,[U.STAGING]:fo,[U.PRODUCTION]:On});var vo=z,Po=function(t){return t!=="theme"},b=function(t){return typeof t=="string"&&t.charCodeAt(0)>96?vo:Po},B=function(t,n,a){var o;if(n){var r=n.shouldForwardProp;o=t.__emotion_forwardProp&&r?function(l){return t.__emotion_forwardProp(l)&&r(l)}:r}return typeof o!="function"&&a&&(o=t.__emotion_forwardProp),o},$o=function(t){var n=t.cache,a=t.serialized,o=t.isStringTag;return x(n,a,o),H(function(){return j(n,a,o)}),null},yo=function e(t,n){var a=t.__emotion_real===t,o=a&&t.__emotion_base||t,r,l;n!==void 0&&(r=n.label,l=n.target);var L=B(t,n,a),A=L||b(o),i=!A("as");return function(){var R=arguments,c=a&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(r!==void 0&&c.push("label:"+r+";"),R[0]==null||R[0].raw===void 0)c.push.apply(c,R);else{var E=R[0];c.push(E[0]);for(var T=R.length,_=1;_<T;_++)c.push(R[_],E[_])}var d=Y(function(s,p,O){var m=i&&s.as||o,S="",f=[],N=s;if(s.theme==null){N={};for(var v in s)N[v]=s[v];N.theme=h.useContext(K)}typeof s.className=="string"?S=W(p.registered,f,s.className):s.className!=null&&(S=s.className+" ");var P=k(c.concat(f),p.registered,N);S+=p.key+"-"+P.name,l!==void 0&&(S+=" "+l);var M=i&&L===void 0?b(m):A,C={};for(var u in s)i&&u==="as"||M(u)&&(C[u]=s[u]);return C.className=S,O&&(C.ref=O),h.createElement(h.Fragment,null,h.createElement($o,{cache:p,serialized:P,isStringTag:typeof m=="string"}),h.createElement(m,C))});return d.displayName=r!==void 0?r:"Styled("+(typeof o=="string"?o:o.displayName||o.name||"Component")+")",d.defaultProps=t.defaultProps,d.__emotion_real=d,d.__emotion_base=o,d.__emotion_styles=c,d.__emotion_forwardProp=L,Object.defineProperty(d,"toString",{value:function(){return"."+l}}),d.withComponent=function(s,p){var O=e(s,I({},n,p,{shouldForwardProp:B(d,p,!0)}));return O.apply(void 0,c)},d}},bo=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],V=yo.bind(null);bo.forEach(function(e){V[e]=V(e)});function Bo(e){return Q("MuiSvgIcon",e)}q("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"]);const Vo=["children","className","color","component","fontSize","htmlColor","inheritViewBox","titleAccess","viewBox"],wo=e=>{const{color:t,fontSize:n,classes:a}=e,o={root:["root",t!=="inherit"&&`color${D(t)}`,`fontSize${D(n)}`]};return tt(o,Bo,a)},Fo=et("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.root,n.color!=="inherit"&&t[`color${D(n.color)}`],t[`fontSize${D(n.fontSize)}`]]}})(({theme:e,ownerState:t})=>{var n,a,o,r,l,L,A,i,R,c,E,T,_;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",fill:t.hasSvgAsChild?void 0:"currentColor",flexShrink:0,transition:(n=e.transitions)==null||(a=n.create)==null?void 0:a.call(n,"fill",{duration:(o=e.transitions)==null||(o=o.duration)==null?void 0:o.shorter}),fontSize:{inherit:"inherit",small:((r=e.typography)==null||(l=r.pxToRem)==null?void 0:l.call(r,20))||"1.25rem",medium:((L=e.typography)==null||(A=L.pxToRem)==null?void 0:A.call(L,24))||"1.5rem",large:((i=e.typography)==null||(R=i.pxToRem)==null?void 0:R.call(i,35))||"2.1875rem"}[t.fontSize],color:(c=(E=(e.vars||e).palette)==null||(E=E[t.color])==null?void 0:E.main)!=null?c:{action:(T=(e.vars||e).palette)==null||(T=T.action)==null?void 0:T.active,disabled:(_=(e.vars||e).palette)==null||(_=_.action)==null?void 0:_.disabled,inherit:void 0}[t.color]}}),Mo=h.forwardRef(function(t,n){const a=J({props:t,name:"MuiSvgIcon"}),{children:o,className:r,color:l="inherit",component:L="svg",fontSize:A="medium",htmlColor:i,inheritViewBox:R=!1,titleAccess:c,viewBox:E="0 0 24 24"}=a,T=X(a,Vo),_=h.isValidElement(o)&&o.type==="svg",d=I({},a,{color:l,component:L,fontSize:A,instanceFontSize:t.fontSize,inheritViewBox:R,viewBox:E,hasSvgAsChild:_}),s={};R||(s.viewBox=E);const p=wo(d);return $.jsxs(Fo,I({as:L,className:Z(p.root,r),focusable:"false",color:i,"aria-hidden":c?void 0:!0,role:c?"img":void 0,ref:n},s,T,_&&o.props,{ownerState:d,children:[_?o.props.children:o,c?$.jsx("title",{children:c}):null]}))});Mo.muiName="SvgIcon";export{Mo as S,Ko as c,V as n};
@@ -1 +0,0 @@
1
- var xe=Object.defineProperty;var Ie=(e,t,n)=>t in e?xe(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var T=(e,t,n)=>Ie(e,typeof t!="symbol"?t+"":t,n);import{W as ye,b as oe,C as ve,B as Se,f as ie}from"./ethers-BxoDGoYp.js";import{X as Re,Y as Ne,y as X,Z as Oe}from"./index-DDLsPu5_.js";import{c as ce}from"./react-E8ng6RF2.js";import{O as Pe,M as be,D as De,a as ue,g as de}from"./index-0QSHJ5kM.js";import"./network-ivZE_UMc.js";import{c as K,e as Le}from"./index-DccLoKMC.js";const Ue="2d0335ab",Fe="0c53c51c",Me="d8ed1acc",ke=we("0x");let je=0;async function $e(e){let t=[];try{t=await H(e,"eth_requestAccounts",[])}catch{t=await H(e,"eth_accounts",[])}if(t.length===0)throw new Error("Could not find a valid connected account");return t[0]}async function qe(e,t,n){return H(e,"eth_signTypedData_v4",[t,n])}function He(e,t,n){const r=t.replace("0x",""),s=r.substring(0,64),i=r.substring(64,128),u=Be(r.substring(128,130)),d=n.replace("0x",""),f=(d.length/2).toString(16),y=Math.ceil(d.length/64);return["0x",Fe,_(e),_("a0"),s,i,_(u),_(f),d.padEnd(64*y,"0")].join("")}function Ge(e,t,n){const r=n.replace("0x",""),s=t.replace("0x",""),u=96+32+r.length/2,d=Math.ceil(s.length/64);return["0x",Me,_(e),_("60"),_(u.toString(16)),_((r.length/2).toString(16)),r,_((s.length/2).toString(16)),s.padEnd(64*d,"0")].join("")}function Be(e){let t=parseInt(e,16);if(t<27&&(t+=27),t!==27&&t!==28)throw Error(`Invalid signature version "${e}" (parsed: ${t})`);return t.toString(16)}async function Ve(e,t,n){const r=_(t),s=await H(e,"eth_call",[{data:`0x${Ue}${r}`,to:n},"latest"]);return _(s)}function Ye(e){return typeof e=="number"?`0x${_(e.toString(16))}`:`0x${_(e)}`}function Je(e,t){return H(e,"eth_getCode",[t.toLowerCase(),"latest"])}const We="0xef01";async function Ze(e,t){const n=await Je(e,t);return n.toLowerCase().startsWith(We)?!1:!Xe(n)}function we(e){if(!/^0x[0-9a-f]*$/gi.test(e))throw new Error(`Not a valid hex string "${e}"`);let t=e.slice(2);for(;t.length<40;)t="0"+t;return"0x"+t}function Xe(e){return we(e.toLowerCase())===ke}function _(e){return e.toString().replace("0x","").padStart(64,"0")}async function H(e,t,n){let r,s={jsonrpc:"2.0",id:++je,method:t,params:n};if(e.request!==void 0?r=await e.request(s):e.sendAsync!==void 0?r=await e.sendAsync(s):e.send!==void 0&&(r=await e.send(t,n)),r)return r.result||r;throw new Error(`Could not send the transaction correcty. Either the provider does not support the method "${t}" or is missing a proper send/request.`)}function Ke(){return{serverURL:"https://transactions-api.decentraland.io/v1"}}var k;(function(e){e.UNKNOWN="unknown",e.DAPP_LIMIT_REACHED="dapp_limit_reached",e.USER_LIMIT_REACHED="user_limit_reached",e.API_LIMIT_REACHED="api_limit_reached",e.GAS_LIMIT_REACHED="gas_limit_reached",e.EXPECTATION_FAILED="expectation_failed",e.INVALID_TRANSACTION="invalid_transaction",e.INVALID_SCHEMA="invalid_schema",e.INVALID_CONTRACT_ADDRESS="invalid_contract_address",e.INVALID_ADDRESS="invalid_address",e.SALE_PRICE_TOO_LOW="sale_price_too_low",e.QUOTA_REACHED="quota_reached",e.CONTRACT_ACCOUNT="contract_account",e.HIGH_CONGESTION="high_congestion",e.USER_DENIED="user_denied"})(k||(k={}));class P extends Error{constructor(n,r){super(n);T(this,"code");this.code=r,Object.setPrototypeOf(this,P.prototype)}}async function ze(e,t,n,r,s={}){const i={...Ke(),...s};if(!r.address.trim())throw new P(`The contract address for ${r.name} is empty. You're probably trying to get a proxy contract. Try adding an address to the result of getContract`,k.INVALID_ADDRESS);try{const u=await $e(e);if(await Ze(e,u))throw new P("Contract accounts are not supported",k.CONTRACT_ACCOUNT);const d=r.abi.some(B=>{var V;return B.name==="executeMetaTransaction"&&((V=B.inputs)==null?void 0:V.some(J=>J.name==="_functionData"))}),f=await Ve(t,u,r.address),y=Ye(r.chainId),I=et(y,r),D=Qe(u,f,n,I,d),L=await qe(e,u,JSON.stringify(D)),G=(d?Ge:He)(u,L,n),j=await fetch(`${i.serverURL}/transactions`,{headers:{"Content-Type":"application/json"},body:JSON.stringify({transactionData:{from:u,params:[r.address,G]}}),method:"POST"}),N=await j.json();if(N.ok===!1)throw N.message&&N.code?new P(N.message,N.code):new Error(`HTTP Error. Status: ${j.status}.`);return N.txHash}catch(u){const d=u;throw d instanceof P?d:d.message.indexOf("User denied message signature")!==-1?new P(d.message,k.USER_DENIED):(console.warn("An error occurred trying to send the meta transaction. Error:",d.message),new P(d.message,k.UNKNOWN))}}function Qe(e,t,n,r,s=!1){return{types:{EIP712Domain:De,MetaTransaction:s?Pe:be},domain:r,primaryType:"MetaTransaction",message:{nonce:parseInt(t,16),from:e,...s?{functionData:n}:{functionSignature:n}}}}function et(e,t){return{name:t.name,version:t.version,verifyingContract:t.address,salt:e}}Re();var tt=Ne();async function nt(e){const t=await Ee();if(t){const n=await new ye(t).getSigner().getChainId();if(e===n)return t}return K.createProvider(tt.ProviderType.NETWORK,e)}async function Ee(){try{return await K.getProvider()}catch{try{const{provider:e}=await K.tryPreviousConnection();return e}catch{return null}}}function le(e){return Math.floor(e/1e3)}function he(e){switch(e.assetType){case X.TradeAssetType.ERC721:return e.tokenId;case X.TradeAssetType.COLLECTION_ITEM:return e.itemId;case X.TradeAssetType.ERC20:return e.amount;default:return console.error("Invalid asset type:",e),""}}function rt(e){var t;return{checks:{uses:e.checks.uses,expiration:le(e.checks.expiration),effective:le(e.checks.effective),salt:oe(e.checks.salt,32),contractSignatureIndex:e.checks.contractSignatureIndex,signerSignatureIndex:e.checks.signerSignatureIndex,allowedRoot:oe(e.checks.allowedRoot,32),externalChecks:(t=e.checks.externalChecks)==null?void 0:t.map(n=>({contractAddress:n.contractAddress,selector:n.selector,value:n.value?n.value:"0x",required:n.required}))},sent:e.sent.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:he(n),extra:n.extra?n.extra:"0x"})),received:e.received.map(n=>({assetType:n.assetType,contractAddress:n.contractAddress,value:he(n),extra:n.extra?n.extra:"0x",beneficiary:n.beneficiary}))}}function fe(e,t){const n=rt(e);return{signer:e.signer,signature:e.signature,...n,checks:{...n.checks,allowedProof:[]},sent:n.sent.map(r=>({...r,beneficiary:t}))}}async function at(e){const t=await e.request({method:"eth_chainId",params:[]});let n;return typeof t=="string"?n=parseInt(t,16):n=t,n}async function st(e){const t=await nt(e);return new ye(t)}const b=new Le.EventEmitter;var x;(function(e){e.ERROR="error",e.SUCCESS="success",e.PROMPT="prompt",e.ACCEPT="accept",e.REJECT="reject"})(x||(x={}));let ot="https://transactions-api.decentraland.org/v1";const it=()=>ot,ct=()=>new Promise((e,t)=>{const n=()=>{b.removeAllListeners(x.REJECT),e(!0)},r=()=>{b.removeAllListeners(x.ACCEPT),t(new Error("User rejected transaction"))};b.addListener(x.ACCEPT,n),b.addListener(x.REJECT,r)});async function pe(...e){const[t,n,...r]=e;try{const s=await Ee();if(!s)throw new Error("Provider not connected");const i=await at(s),u=await st(t.chainId),d=new ve(t.address,t.abi,u),f=await(typeof n=="function"?n(d.populateTransaction):d.populateTransaction[n](...r));if(i===t.chainId){const y=u.getSigner();if(s.isMagic||s.isThirdweb){let D=Se.from(0);try{const L=await y.getGasPrice(),U=await y.estimateGas(f);D=L.mul(U)}catch{}if(!D.isZero()){const L=ct(),U=await y.getBalance();b.emit(x.PROMPT,{transactionGasPrice:ie(D),userBalance:ie(U),chainId:t.chainId}),await L}}const I=await y.sendTransaction(f);return b.emit(x.SUCCESS,{txHash:I.hash}),I.hash}else{const y=await ze(s,u,f.data,t,{serverURL:it()});return b.emit(x.SUCCESS,{txHash:y}),y}}catch(s){const i={type:x.ERROR,error:s};throw b.emit(x.ERROR,i),s}}var q={exports:{}};/*! https://mths.be/punycode v1.4.1 by @mathias */var ut=q.exports,Te;function dt(){return Te||(Te=1,(function(e,t){(function(n){var r=t&&!t.nodeType&&t,s=e&&!e.nodeType&&e,i=typeof ce=="object"&&ce;(i.global===i||i.window===i||i.self===i)&&(n=i);var u,d=2147483647,f=36,y=1,I=26,D=38,L=700,U=72,G=128,j="-",N=/^xn--/,B=/[^\x20-\x7E]/,V=/[\x2E\u3002\uFF0E\uFF61]/g,J={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},W=f-y,v=Math.floor,$=String.fromCharCode,Y;function F(a){throw new RangeError(J[a])}function z(a,o){for(var c=a.length,l=[];c--;)l[c]=o(a[c]);return l}function Q(a,o){var c=a.split("@"),l="";c.length>1&&(l=c[0]+"@",a=c[1]),a=a.replace(V,".");var h=a.split("."),w=z(h,o).join(".");return l+w}function ee(a){for(var o=[],c=0,l=a.length,h,w;c<l;)h=a.charCodeAt(c++),h>=55296&&h<=56319&&c<l?(w=a.charCodeAt(c++),(w&64512)==56320?o.push(((h&1023)<<10)+(w&1023)+65536):(o.push(h),c--)):o.push(h);return o}function te(a){return z(a,function(o){var c="";return o>65535&&(o-=65536,c+=$(o>>>10&1023|55296),o=56320|o&1023),c+=$(o),c}).join("")}function me(a){return a-48<10?a-22:a-65<26?a-65:a-97<26?a-97:f}function ne(a,o){return a+22+75*(a<26)-((o!=0)<<5)}function re(a,o,c){var l=0;for(a=c?v(a/L):a>>1,a+=v(a/o);a>W*I>>1;l+=f)a=v(a/W);return v(l+(W+1)*a/(a+D))}function ae(a){var o=[],c=a.length,l,h=0,w=G,p=U,E,A,S,R,g,m,C,O,M;for(E=a.lastIndexOf(j),E<0&&(E=0),A=0;A<E;++A)a.charCodeAt(A)>=128&&F("not-basic"),o.push(a.charCodeAt(A));for(S=E>0?E+1:0;S<c;){for(R=h,g=1,m=f;S>=c&&F("invalid-input"),C=me(a.charCodeAt(S++)),(C>=f||C>v((d-h)/g))&&F("overflow"),h+=C*g,O=m<=p?y:m>=p+I?I:m-p,!(C<O);m+=f)M=f-O,g>v(d/M)&&F("overflow"),g*=M;l=o.length+1,p=re(h-R,l,R==0),v(h/l)>d-w&&F("overflow"),w+=v(h/l),h%=l,o.splice(h++,0,w)}return te(o)}function se(a){var o,c,l,h,w,p,E,A,S,R,g,m=[],C,O,M,Z;for(a=ee(a),C=a.length,o=G,c=0,w=U,p=0;p<C;++p)g=a[p],g<128&&m.push($(g));for(l=h=m.length,h&&m.push(j);l<C;){for(E=d,p=0;p<C;++p)g=a[p],g>=o&&g<E&&(E=g);for(O=l+1,E-o>v((d-c)/O)&&F("overflow"),c+=(E-o)*O,o=E,p=0;p<C;++p)if(g=a[p],g<o&&++c>d&&F("overflow"),g==o){for(A=c,S=f;R=S<=w?y:S>=w+I?I:S-w,!(A<R);S+=f)Z=A-R,M=f-R,m.push($(ne(R+Z%M,0))),A=v(Z/M);m.push($(ne(A,0))),w=re(c,O,l==h),c=0,++l}++c,++o}return m.join("")}function Ae(a){return Q(a,function(o){return N.test(o)?ae(o.slice(4).toLowerCase()):o})}function Ce(a){return Q(a,function(o){return B.test(o)?"xn--"+se(o):o})}if(u={version:"1.4.1",ucs2:{decode:ee,encode:te},decode:ae,encode:se,toASCII:Ce,toUnicode:Ae},r&&s)if(e.exports==r)s.exports=u;else for(Y in u)u.hasOwnProperty(Y)&&(r[Y]=u[Y]);else n.punycode=u})(ut)})(q,q.exports)),q.exports}dt();var _e=(function(e){function t(){var r=this||self;return delete e.prototype.__magic__,r}if(typeof globalThis=="object")return globalThis;if(this)return t();e.defineProperty(e.prototype,"__magic__",{configurable:!0,get:t});var n=__magic__;return n})(Object),lt=_e.URL;_e.URLSearchParams;var ht={URL:lt};class ge extends Error{constructor(n,r,s){super(n);T(this,"status");T(this,"data");this.status=r,this.data=s}}const ft=3,pt=1e3,Tt=[400,401,403,404,409,422],gt=(globalThis==null?void 0:globalThis.URL)??ht.URL;class yt{constructor(t,n){T(this,"baseUrl");T(this,"retries");T(this,"retryDelay");T(this,"nonRetryableStatuses");T(this,"identity");T(this,"sleep",t=>new Promise(n=>{setTimeout(n,t)}));T(this,"getIdentity",()=>this.identity instanceof Function?this.identity():this.identity);T(this,"rawFetch",(t,n)=>{const r=new gt(t,this.baseUrl),s=(n==null?void 0:n.identity)??this.getIdentity();return Oe.signedFetchFactory()(r.toString(),{...n,identity:s})});T(this,"fetch",async(t,n)=>{for(let r=0;r<=this.retries;r++)try{let s,i;try{s=await this.rawFetch(t,n);const u=await s.text();u.length===0?i={ok:!0,data:null}:i=JSON.parse(u)}catch(u){throw new ge(u.message,void 0,null)}if(!s.ok||i.ok===!1){const u=i.message??i.error;throw new ge(u??`Request failed with status code ${s.status}`,s.status,i.data)}return i.ok===!0?i.data:i}catch(s){if(console.error(`[API] HTTP request failed: ${s.message||""}`,s),this.retries===r||s.status&&this.nonRetryableStatuses.includes(s.status))throw s;await this.sleep(this.retryDelay)}throw new Error("Unreachable code")});this.baseUrl=t,this.identity=n==null?void 0:n.identity,this.retries=(n==null?void 0:n.retries)??ft,this.retryDelay=(n==null?void 0:n.retryDelay)??pt,this.nonRetryableStatuses=(n==null?void 0:n.nonRetryableStatuses)??Tt}}class wt extends yt{constructor(n,r,s){super(r,s);T(this,"signer");T(this,"addTrade",async n=>this.fetch("/v1/trades",{method:"POST",body:JSON.stringify(n),metadata:{signer:this.signer,intent:"dcl:create-trade"},headers:{"Content-Type":"application/json"}}));T(this,"fetchTrade",async n=>this.fetch(`/v1/trades/${n}`,{method:"GET"}));this.signer=n}}class vt{constructor(t,n,r){T(this,"tradesAPI");this.tradesAPI=new wt(t,n,{identity:r,retries:0})}async addTrade(t){return this.tradesAPI.addTrade(t)}async fetchTrade(t){return this.tradesAPI.fetchTrade(t)}async accept(t,n){const r=ue(t.contract),s=de(r,t.chainId),i=fe(t,n);return pe(s,"accept",[i])}async cancel(t,n){const r=ue(t.contract),s=de(r,t.chainId),i=fe(t,n);return pe(s,"cancelSignature",[i])}}export{vt as TradeService};
@@ -1 +0,0 @@
1
- import{w as r}from"./utils-CtSpY5KY.js";import{d as a}from"./decimals-eyiqtEAM.js";import"./ethers-BxoDGoYp.js";import"./react-E8ng6RF2.js";import"./signing-DeH43Aaw.js";import"./index-DDLsPu5_.js";async function s(c){return r(()=>a(c),{cacheKey:`${c.contract.chain.id}:${c.contract.address}:decimals`,cacheTime:Number.POSITIVE_INFINITY})}export{s as decimals};
@@ -1 +0,0 @@
1
- import{z as r}from"./index-DDLsPu5_.js";var e=r();export{e as n};