@dcl/shop 0.8.1-31011914733.commit-0303b0f → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (173) hide show
  1. package/_assets/{Activity-DGqf6vtH.js → Activity-ChFWLt2k.js} +9 -9
  2. package/_assets/{AnimatedBackground-DYvwYlNX.js → AnimatedBackground-CgqvFCZP.js} +1 -1
  3. package/_assets/{Assets-BIhyhEpJ.js → Assets-Bhh3K7eo.js} +21 -21
  4. package/_assets/{Assets.styles-BEwmRTV4.js → Assets.styles-DwvAA7Fx.js} +15 -15
  5. package/_assets/{Authorizations-CgtzIHfa.js → Authorizations-BYvz0lRD.js} +1 -1
  6. package/_assets/{Cart-k3bkiglX.js → Cart-DAXjBdJW.js} +2 -2
  7. package/_assets/{CircularProgress-B7QTjxqg.js → CircularProgress-DWAcbKVy.js} +1 -1
  8. package/_assets/{Collection-CIBOTqpS.js → Collection-DhzN8qEX.js} +2 -2
  9. package/_assets/{CollectionCarousel-aBELR_tf.js → CollectionCarousel-DoFMOPnJ.js} +21 -21
  10. package/_assets/{Creator-DXbJoM5n.js → Creator-ffFVB812.js} +6 -6
  11. package/_assets/{ErrorNotice-8bHn1hfP.js → ErrorNotice-CD3QThL8.js} +1 -1
  12. package/_assets/{ExchangeController-BV3dQlup.js → ExchangeController-8WzQHcYP.js} +1 -1
  13. package/_assets/{Faq-DNu30-Jv.js → Faq-Bxgy5XAq.js} +1 -1
  14. package/_assets/{GetCredits-9vsaKO2k.js → GetCredits-BikyjTuD.js} +11 -11
  15. package/_assets/{Grow-OxzXVVhg.js → Grow-B_PKoaeX.js} +1 -1
  16. package/_assets/{HelpersUtil-NjrztWi6.js → HelpersUtil-TiNOVD81.js} +1 -1
  17. package/_assets/{ItemDetail-tYnpUH4x.js → ItemDetail-Cz_1bxfd.js} +1 -1
  18. package/_assets/LazyEmoteControls-YqpacGjJ.js +2 -0
  19. package/_assets/{LoadMore-CwQ5CTJq.js → LoadMore-D3-F6XWb.js} +1 -1
  20. package/_assets/{ManaPricingBanner.styles-Bc06axQv.js → ManaPricingBanner.styles-BBwxQBv1.js} +3 -3
  21. package/_assets/{MyAssets-B0Mjtokt.js → MyAssets-sQM2Pl5T.js} +1 -1
  22. package/_assets/{MyFavorites-Cw_mmcDj.js → MyFavorites-CTeRjr79.js} +1 -1
  23. package/_assets/{NotFound-An1qy2HJ.js → NotFound-BPPWf_VH.js} +1 -1
  24. package/_assets/{NotificationsBell-DQLaaXFc.js → NotificationsBell-B3llSjmx.js} +1 -1
  25. package/_assets/{OutfitDetail-BsbdpKHB.js → OutfitDetail-CIf5JfoP.js} +1 -1
  26. package/_assets/{OutfitPreview-zqj27b-1.js → OutfitPreview-Dsyy7b3g.js} +1 -1
  27. package/_assets/{OutfitStudio-BF3ZInz5.js → OutfitStudio-DP0te92W.js} +1 -1
  28. package/_assets/{StoreSettings-Dsw9PcCY.js → StoreSettings-CC7mEGPS.js} +1 -1
  29. package/_assets/{Success-DzSr1ZKs.js → Success-DlelWtIG.js} +1 -1
  30. package/_assets/{SwapController-c0ZMV7-y.js → SwapController-B5KKcuAl.js} +1 -1
  31. package/_assets/{Tooltip-AFYoHds5.js → Tooltip-BE30N5-7.js} +1 -1
  32. package/_assets/{TradeService-K7nSBrHI.js → TradeService-BoB_gVPn.js} +1 -1
  33. package/_assets/{W3MFrameProviderSingleton-BvhBpuKR.js → W3MFrameProviderSingleton-DIMdAQZt.js} +3 -3
  34. package/_assets/{WebCryptoP256-uR3swvrR.js → WebCryptoP256-LtmPnNr1.js} +1 -1
  35. package/_assets/{authorizations-D4wI085M.js → authorizations-D50ifPOO.js} +1 -1
  36. package/_assets/{basic-BPisXakk.js → basic-DW06A0op.js} +1 -1
  37. package/_assets/{biconomy-CvHs_GN7.js → biconomy-B6nO3Zkg.js} +1 -1
  38. package/_assets/{builder-CkJrDc5k.js → builder-Bo-EM0RQ.js} +1 -1
  39. package/_assets/{buy-BeDHfPC-.js → buy-P_iceS6H.js} +1 -1
  40. package/_assets/{buy-gasless-DINFD15F.js → buy-gasless-CJuE25uZ.js} +1 -1
  41. package/_assets/{categories-kKk2jGpz.js → categories-Dp28MR0O.js} +1 -1
  42. package/_assets/{ccip-Umb7T-xD.js → ccip-Bc6U1KND.js} +1 -1
  43. package/_assets/{ccip-74NajMIb.js → ccip-BwaWeiLm.js} +1 -1
  44. package/_assets/{collectionPage.styles-tZrmrhPT.js → collectionPage.styles-CmHnGfxY.js} +2 -2
  45. package/_assets/{controller-DGdZ6Mn-.js → controller-CWm3gowZ.js} +2 -2
  46. package/_assets/{core-CNlDVTsP.js → core-BWhmsygd.js} +4 -4
  47. package/_assets/{createSvgIcon-Ce14xVZm.js → createSvgIcon-b1stkBYH.js} +1 -1
  48. package/_assets/{custom-Dv8Lo1kL.js → custom-DRBIOTbP.js} +1 -1
  49. package/_assets/{data-capture-5ClKTSe8.js → data-capture-CT-lqFOV.js} +1 -1
  50. package/_assets/{email-CiIvohkt.js → email-CR6obY4d.js} +1 -1
  51. package/_assets/{embedded-wallet-Cv54Jked.js → embedded-wallet-DVRatI7f.js} +1 -1
  52. package/_assets/{emotion-styled.browser.esm-BDjD0BzD.js → emotion-styled.browser.esm-B6pcOIbM.js} +1 -1
  53. package/_assets/{engine-BSj9q-aH.js → engine-CE3TrAwc.js} +1 -1
  54. package/_assets/{errors-COaDYYX2.js → errors-CUmo51Xe.js} +1 -1
  55. package/_assets/{estimate-l1-fee-6I-Z51za.js → estimate-l1-fee-BHbXIM2m.js} +1 -1
  56. package/_assets/{execute-B6hfBxSa.js → execute-CrlI-ZoX.js} +2 -2
  57. package/_assets/{features-BJpZyJij.js → features-DHFgAFMQ.js} +1 -1
  58. package/_assets/{fetchTokenMetadata-ARrwD89L.js → fetchTokenMetadata-B1AQEAsF.js} +2 -2
  59. package/_assets/{field.styles-BjYlzCrg.js → field.styles-CHc5xfgz.js} +1 -1
  60. package/_assets/{get-ecosystem-wallet-info-9HmWzdfL.js → get-ecosystem-wallet-info-DfHFnl32.js} +1 -1
  61. package/_assets/{getBalance-32RCC6W6.js → getBalance-BnbAmEdr.js} +1 -1
  62. package/_assets/{getNFT-Bdzdl0tm.js → getNFT-0CpAOl-E.js} +1 -1
  63. package/_assets/{getNFT-Bvh35NBt.js → getNFT-D2PaeZsW.js} +1 -1
  64. package/_assets/{grid.styles-C5FdGoZt.js → grid.styles-CrucuXuJ.js} +1 -1
  65. package/_assets/{hashTypedData-C1J-Yu5X.js → hashTypedData-B8k-gScw.js} +1 -1
  66. package/_assets/{hashTypedData-Cd2jo0fu.js → hashTypedData-BCvEU0S5.js} +1 -1
  67. package/_assets/{in-app-B12bHXEw.js → in-app-CcIH4HM6.js} +1 -1
  68. package/_assets/{in-app-wallet-calls-C6NnLiF5.js → in-app-wallet-calls-CnOcHJ01.js} +1 -1
  69. package/_assets/{index-CVHBMZma.js → index--VgcQeCR.js} +63 -63
  70. package/_assets/{index-D1hB2lFW.js → index-3M42GOPZ.js} +1 -1
  71. package/_assets/{index-s_bfhZ6F.js → index-6vhSQR2z.js} +1 -1
  72. package/_assets/{index-D2_T8MLY.js → index-8B-Wb5Gs.js} +1 -1
  73. package/_assets/{index-BFBo1N5P.js → index-B7wTH-DB.js} +1 -1
  74. package/_assets/{index--Ye27Vx_.js → index-B8PhacFo.js} +1 -1
  75. package/_assets/{index-Fivnn7mf.js → index-B8vVRjFK.js} +1 -1
  76. package/_assets/{index-CpJZJukx.js → index-BCuH5vDs.js} +2 -2
  77. package/_assets/{index-BngbLeyt.js → index-BFOZ3aLa.js} +2 -2
  78. package/_assets/{index-CxfuGaDv.js → index-BI4j8w-k.js} +1 -1
  79. package/_assets/{index-BHNHvbUP.js → index-BWcbRKsN.js} +1 -1
  80. package/_assets/{index-dixEk7jd.js → index-BWnP3oRT.js} +1 -1
  81. package/_assets/{index-CMpfBNnD.js → index-BX10o-2b.js} +1 -1
  82. package/_assets/{index-Do3GSrTN.js → index-B_tbfHPr.js} +3 -3
  83. package/_assets/{index-DpSVgnb5.js → index-Bge5LXXj.js} +1 -1
  84. package/_assets/{index-DM4ZKIDP.js → index-C05a-Cz3.js} +1 -1
  85. package/_assets/{index-DIELA4su.js → index-C3ey0KMz.js} +1 -1
  86. package/_assets/{index-0XvBS5zv.js → index-C49WimIh.js} +1 -1
  87. package/_assets/{index-BQE4xPAY.js → index-C8Wp6BQ6.js} +1 -1
  88. package/_assets/{index-B0AXM_VY.js → index-CBH551Gx.js} +1 -1
  89. package/_assets/{index-C3FbBJ0B.js → index-CONd_BVx.js} +1 -1
  90. package/_assets/{index-CsM5PUdn.js → index-CTub7-Ub.js} +2 -2
  91. package/_assets/{index-CN92MtoS.js → index-CUwEs_3M.js} +1 -1
  92. package/_assets/{index-B984MHyM.js → index-CXSMynFH.js} +1 -1
  93. package/_assets/index-CaGVgZr4.js +3390 -0
  94. package/_assets/{index-CWqCDmmG.js → index-CcANwB8y.js} +1 -1
  95. package/_assets/{index-B01yzeQ8.js → index-Cxo1Qt__.js} +1 -1
  96. package/_assets/{index-Dyrrv-jJ.js → index-D-zwysSB.js} +1 -1
  97. package/_assets/{index-DX4C1Af8.js → index-D1rVnf7n.js} +1 -1
  98. package/_assets/{index-KoOOqA3z.js → index-D4jb9JvP.js} +1 -1
  99. package/_assets/{index-CK9g-jse.js → index-DACSd1Ih.js} +1 -1
  100. package/_assets/{index-C4hDSOGl.js → index-DU5Y-mU3.js} +1 -1
  101. package/_assets/{index-DygpMJS7.js → index-DWGvhYgt.js} +3 -3
  102. package/_assets/{index-Bl9A4aCY.js → index-DWpkVsfu.js} +1 -1
  103. package/_assets/{index-Bbo2skmn.js → index-DXpDmLZT.js} +1 -1
  104. package/_assets/{index-CC-AzsUH.js → index-DXvaEQEd.js} +1 -1
  105. package/_assets/{index-Cx6dOZTN.js → index-DcoiEdkj.js} +3 -3
  106. package/_assets/{index-CJlYjYNZ.js → index-DhS5vBsK.js} +1 -1
  107. package/_assets/{index-BRh_MAtG.js → index-Dr_tDOG_.js} +1 -1
  108. package/_assets/{index-xl5neHLR.js → index-GIH-0f2z.js} +1 -1
  109. package/_assets/{index-Y8dCmAYo.js → index-N9ZM65Qw.js} +1 -1
  110. package/_assets/{index-CEmq93Ky.js → index-RLkC6q3l.js} +1 -1
  111. package/_assets/{index-BrlzlDYY.js → index-V3x8m1-s.js} +1 -1
  112. package/_assets/{index-BXgz5CqZ.js → index-YNiHVcjG.js} +1 -1
  113. package/_assets/{index-aXb_PvXT.js → index-YSlX9Bkm.js} +1 -1
  114. package/_assets/{index-f74S-M7s.js → index-dIsHoFgJ.js} +1 -1
  115. package/_assets/{index-D4N_qlW4.js → index-oJ0V0naw.js} +1 -1
  116. package/_assets/{index-B9aOPYnq.js → index-qJ1SpPme.js} +2 -2
  117. package/_assets/{index-srBAWpfF.js → index-qLM4Jgop.js} +1 -1
  118. package/_assets/{index-9Q-G51o6.js → index-wOCAFvTe.js} +1 -1
  119. package/_assets/{index-CO7GzJir.js → index-xwkEolrS.js} +1 -1
  120. package/_assets/{index-BhKN5EIF.js → index-yM8zB6af.js} +1 -1
  121. package/_assets/{index.es-B_wTHOdN.js → index.es-B28PvdoO.js} +1 -1
  122. package/_assets/{index.es-sJaJm3UW.js → index.es-DQCMyrCJ.js} +1 -1
  123. package/_assets/{index.es-BzqwSDFf.js → index.es-S9JJTmrE.js} +4 -4
  124. package/_assets/{localBatchGatewayRequest-Ca5n5qCv.js → localBatchGatewayRequest-Pb3BP9CQ.js} +1 -1
  125. package/_assets/{networks-iVGk0JJM.js → networks-BmSU0xcf.js} +1 -1
  126. package/_assets/{onramp-C4kGKm8k.js → onramp-DfnXxsOV.js} +1 -1
  127. package/_assets/{openzeppelin-Cq0U5Yj-.js → openzeppelin-oZ__TBbl.js} +1 -1
  128. package/_assets/{parseNft-DxFyV4vL.js → parseNft-BPR5bkzt.js} +2 -2
  129. package/_assets/{parseSignature-CGjLk_wy.js → parseSignature-C2f1qwgR.js} +3 -3
  130. package/_assets/{parseSignature-COtTJutO.js → parseSignature-Eoge2CGI.js} +1 -1
  131. package/_assets/{passkeys-DaKZKc5X.js → passkeys-BF0IbJwr.js} +1 -1
  132. package/_assets/{pay-with-exchange-C9uv-ieY.js → pay-with-exchange-DOwnXfO2.js} +1 -1
  133. package/_assets/{qr-overlay-CQQySlBn.js → qr-overlay-nSSLmPST.js} +1 -1
  134. package/_assets/{receive-BBhp5SjJ.js → receive-sixNVM8i.js} +1 -1
  135. package/_assets/{resolveImplementation-BhoUOPQQ.js → resolveImplementation-DkMJJDI-.js} +1 -1
  136. package/_assets/{rpc-DTh3KIva.js → rpc-BrCTz5Qm.js} +1 -1
  137. package/_assets/{secp256k1-DbjmQrSL.js → secp256k1-BdUoxiXs.js} +1 -1
  138. package/_assets/{secp256k1-D3oKlH7Y.js → secp256k1-C16_XTC1.js} +1 -1
  139. package/_assets/{secp256k1-DDJ2_Bsx.js → secp256k1-CR7oQoP9.js} +1 -1
  140. package/_assets/{send-B38BS5L-.js → send-CtHTa-Zr.js} +1 -1
  141. package/_assets/{send-batch-transaction-CKNSzTrU.js → send-batch-transaction-Cs3B1O70.js} +1 -1
  142. package/_assets/{send-eip712-transaction-CQkqFshV.js → send-eip712-transaction-DIkXnwtQ.js} +2 -2
  143. package/_assets/{send-gasless-transaction-0E-pHV_D.js → send-gasless-transaction-Cse8VKrG.js} +2 -2
  144. package/_assets/{send-transaction-DUvtCNaC.js → send-transaction-BvF4P9KI.js} +2 -2
  145. package/_assets/{sendMetaTransaction-BUU2XPaW.js → sendMetaTransaction-DkiH6liR.js} +1 -1
  146. package/_assets/{sendRawTransaction-DSl2j5Tv.js → sendRawTransaction-C-jKwFfH.js} +3 -3
  147. package/_assets/{serializeTransaction-GOaI2-vB.js → serializeTransaction-BuSbsw2P.js} +1 -1
  148. package/_assets/{session-proposal-B31UMpQa.js → session-proposal-kYbIH83K.js} +1 -1
  149. package/_assets/{session-request-CXbKG_CB.js → session-request-BI_hmJVZ.js} +2 -2
  150. package/_assets/{signing-Bzt09eMi.js → signing-C3dpYGa5.js} +3 -3
  151. package/_assets/{socials-CNNRzT2N.js → socials-BOiLEX6l.js} +1 -1
  152. package/_assets/{styled-f0hxr1BX.js → styled-DINE9MQ0.js} +1 -1
  153. package/_assets/{swaps-Dm6opnzM.js → swaps-CECeDvBd.js} +1 -1
  154. package/_assets/{thirdweb-BsryIfzq.js → thirdweb-D2iyq9jE.js} +3 -3
  155. package/_assets/{to-serializable-transaction-CspH4HXW.js → to-serializable-transaction-DwQmyJRI.js} +2 -2
  156. package/_assets/{transactionReceipt-LkdfOGrW.js → transactionReceipt-B0Yyuulc.js} +1 -1
  157. package/_assets/{transactions-CHt9afcL.js → transactions-CVa0yXiE.js} +1 -1
  158. package/_assets/{useCreditPacks-DW-oKsgc.js → useCreditPacks-j0KzNBHB.js} +1 -1
  159. package/_assets/{useImportable-4rP-UQqs.js → useImportable-DZHzdDAY.js} +1 -1
  160. package/_assets/{useInfiniteGrid-Cjl-Omaq.js → useInfiniteGrid-DguU-cIJ.js} +1 -1
  161. package/_assets/{useTheme-Dh6eiJOj.js → useTheme-Cs4_ikeG.js} +1 -1
  162. package/_assets/{verifyHash--XBApVq4.js → verifyHash-BQDUL2qR.js} +1 -1
  163. package/_assets/{w3m-modal-dINBeQa2.js → w3m-modal-75q9wyXn.js} +1 -1
  164. package/_assets/{w3m-modal-cc9RBS7W.js → w3m-modal-CdAFLwAH.js} +1 -1
  165. package/_assets/{wait-for-tx-receipt-CW92WmOA.js → wait-for-tx-receipt-BcAkEAve.js} +1 -1
  166. package/_assets/{wallets-DgijLpqw.js → wallets-CA-bESDl.js} +5 -5
  167. package/_assets/{web-connector-C3GRXbj_.js → web-connector-CkPmzzva.js} +3 -3
  168. package/_assets/{writeContract-B4uhDk93.js → writeContract-CK1yAi7p.js} +1 -1
  169. package/_assets/{zoraTestnet-CXJJv6qS.js → zoraTestnet-aF35aj2M.js} +1 -1
  170. package/index.html +11 -11
  171. package/package.json +2 -2
  172. package/_assets/LazyEmoteControls-BW-FF_VV.js +0 -2
  173. package/_assets/index-V7aSbkHg.js +0 -3390
@@ -1,4 +1,4 @@
1
- import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s as t,w as ie,y as ne,b as i,C as Q,B as E,bT as V,z as Y,V as se,b8 as N,F as D,M as ae,o as re,A as oe,ai as de,I as U,a6 as le,a9 as ce,aa as pe,bU as he,E as ge}from"./index-V7aSbkHg.js";import{c as xe,i as me,R as ue,u as fe}from"./useImportable-4rP-UQqs.js";import{S as we,C as ye,b as be}from"./ManaPricingBanner.styles-Bc06axQv.js";import{F as ve}from"./Faq-DNu30-Jv.js";import{C as O}from"./field.styles-BjYlzCrg.js";import"./sentry-B60WY-np.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-lk3HAbPB.js";import"./intl-CBcMB1D2.js";import"./buy-BeDHfPC-.js";import"./authorizations-D4wI085M.js";import"./sendMetaTransaction-BUU2XPaW.js";function je({size:a=12,...l}){return e.jsx("svg",{viewBox:"0 0 20 20",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...l,children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}const{colors:S,radius:ke,z:Ce}=q,$e=ie`
1
+ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s as t,w as ie,y as ne,b as i,C as Q,B as E,bU as H,z as Y,V as se,b9 as N,F as D,M as ae,o as re,A as oe,b8 as de,I as U,a6 as le,ai as ce,a9 as pe,aa as he,bV as ge,E as xe}from"./index-CaGVgZr4.js";import{c as me,i as ue,R as fe,u as we}from"./useImportable-DZHzdDAY.js";import{S as ye,C as be,b as ve}from"./ManaPricingBanner.styles-BBwxQBv1.js";import{F as je}from"./Faq-Bxgy5XAq.js";import{C as O}from"./field.styles-CHc5xfgz.js";import"./sentry-B60WY-np.js";import"./dcl-schemas-CmtP3U6y.js";import"./ethers-lk3HAbPB.js";import"./intl-CBcMB1D2.js";import"./buy-P_iceS6H.js";import"./authorizations-D50ifPOO.js";import"./sendMetaTransaction-DkiH6liR.js";function ke({size:a=12,...l}){return e.jsx("svg",{viewBox:"0 0 20 20",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...l,children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}const{colors:S,radius:Ce,z:$e}=q,Se=ie`
2
2
  0% {
3
3
  transform: scale(0);
4
4
  opacity: 0;
@@ -15,10 +15,10 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
15
15
  overflow-y: auto;
16
16
  padding: 20px;
17
17
  // Above the global DCL navbar so the backdrop dims the full viewport (navbar included).
18
- z-index: ${Ce.overlay};
18
+ z-index: ${$e.overlay};
19
19
  `,J=t.div`
20
20
  background: ${S.white};
21
- border-radius: ${ke.card};
21
+ border-radius: ${Ce.card};
22
22
  padding: 24px;
23
23
  width: min(420px, 92vw);
24
24
  margin: auto;
@@ -47,7 +47,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
47
47
  align-self: center;
48
48
  background: ${S.media};
49
49
  border-radius: 10px;
50
- `;const Se=t.div`
50
+ `;const Ie=t.div`
51
51
  position: sticky;
52
52
  bottom: 0;
53
53
  display: flex;
@@ -67,7 +67,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
67
67
  display: grid;
68
68
  place-items: center;
69
69
  margin: 4px auto 2px;
70
- animation: ${$e} 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.4);
70
+ animation: ${Se} 0.32s cubic-bezier(0.2, 0.9, 0.3, 1.4);
71
71
 
72
72
  @media (prefers-reduced-motion: reduce) {
73
73
  animation: none;
@@ -76,23 +76,23 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
76
76
  font-weight: 700;
77
77
  font-size: 16px;
78
78
  margin: 2px 0 0;
79
- `;const{colors:f,gradients:Ie,radius:Le}=q,Te=t(J)`
79
+ `;const{colors:f,gradients:Le,radius:Te}=q,ze=t(J)`
80
80
  width: min(460px, 94vw);
81
81
  text-align: left;
82
82
  align-items: stretch;
83
- `,ze=t.div`
83
+ `,Ae=t.div`
84
84
  height: 6px;
85
85
  border-radius: 999px;
86
86
  background: ${f.line};
87
87
  overflow: hidden;
88
88
  margin: 6px 0 14px;
89
- `,Ae=t.div`
89
+ `,Me=t.div`
90
90
  height: 100%;
91
91
  width: 0;
92
- background: ${Ie.amethyst};
92
+ background: ${Le.amethyst};
93
93
  border-radius: 999px;
94
94
  transition: width 0.45s ease;
95
- `,Me=t.ul`
95
+ `,_e=t.ul`
96
96
  list-style: none;
97
97
  margin: 0;
98
98
  padding: 0;
@@ -105,7 +105,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
105
105
  min-height: 96px;
106
106
  max-height: 320px;
107
107
  overflow-y: auto;
108
- `,_e=t.li`
108
+ `,Ee=t.li`
109
109
  display: grid;
110
110
  grid-template-columns: 34px 1fr auto auto;
111
111
  align-items: center;
@@ -124,10 +124,10 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
124
124
  &[data-status='failed'] {
125
125
  opacity: 0.6;
126
126
  }
127
- `,Ee=t.span`
127
+ `,Fe=t.span`
128
128
  width: 34px;
129
129
  height: 34px;
130
- border-radius: ${Le.btn};
130
+ border-radius: ${Te.btn};
131
131
  overflow: hidden;
132
132
  background: ${f.media};
133
133
  display: grid;
@@ -138,17 +138,17 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
138
138
  height: 100%;
139
139
  object-fit: contain;
140
140
  }
141
- `,Fe=t.span`
141
+ `,Re=t.span`
142
142
  font-weight: 600;
143
143
  font-size: 14px;
144
144
  white-space: nowrap;
145
145
  overflow: hidden;
146
146
  text-overflow: ellipsis;
147
- `,Re=t.span`
147
+ `,Pe=t.span`
148
148
  font-weight: 700;
149
149
  font-size: 13px;
150
150
  color: ${f.text2};
151
- `,Pe=t.span`
151
+ `,Be=t.span`
152
152
  font-size: 12px;
153
153
  font-weight: 700;
154
154
  color: ${f.accent};
@@ -157,18 +157,18 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
157
157
  gap: 6px;
158
158
  justify-content: flex-end;
159
159
  min-width: 74px;
160
- `,Be=t.span`
160
+ `,Qe=t.span`
161
161
  color: ${f.muted2};
162
162
  font-weight: 600;
163
163
  `,B=t.span`
164
164
  color: ${f.muted};
165
165
  font-weight: 600;
166
- `,Qe=t.span`
166
+ `,Ne=t.span`
167
167
  width: 14px;
168
168
  height: 14px;
169
169
  margin: 0;
170
170
  border-width: 2px;
171
- `,Ne=t.span`
171
+ `,qe=t.span`
172
172
  width: 20px;
173
173
  height: 20px;
174
174
  border-radius: 50%;
@@ -177,9 +177,9 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
177
177
  display: grid;
178
178
  place-items: center;
179
179
  font-size: 12px;
180
- `,qe=t.p`
180
+ `,De=t.p`
181
181
  margin: 12px 0 0;
182
- `;function De(a,l){switch(a==null?void 0:a.step){case"cancelling":return l?i("migrate.phaseCancelConfirm"):i("migrate.phaseCancel");case"confirming-cancel":return l?i("migrate.phaseConfirmingCancel"):i("migrate.phaseConfirmingCancelManaged");case"authorising":return l?i("migrate.phaseAuthoriseConfirm"):i("migrate.phaseAuthorise");case"signing":return l?i("migrate.phaseSignConfirm"):i("migrate.phaseSign");case"publishing":return i("migrate.phasePublishing");case"indexing":return i("migrate.phaseIndexing",{attempt:a.attempt,of:a.of});default:return l?i("migrate.statusConfirm"):i("migrate.statusAdding")}}function Ue({queue:a,session:l,onClose:p,onDone:k}){const F=ee(),y=ne(l.providerType),[R,L]=g.useState(()=>a.map(()=>null)),[b,T]=g.useState(null),[c,w]=g.useState(()=>a.map(()=>"pending")),[x,z]=g.useState("running"),v=g.useRef(!1);g.useEffect(()=>{if(v.current)return;v.current=!0;let s=!1;return y&&xe(a.map(r=>r.item),l.address).then(r=>{!s&&r&&T({approvals:r.approvals,total:r.total})}).catch(()=>{}),(async()=>{for(let r=0;r<a.length;r++){if(s)return;w(h=>h.map((m,u)=>u===r?"active":m));try{await me(a[r].item,a[r].priceCredits,l,{onPhase:h=>{s||L(m=>m.map((u,$)=>$===r?h:u))}}),se("Shop Migrated Listing",{item_id:a[r].item.itemId??a[r].item.oldTradeId??null,contract_address:a[r].item.contractAddress,new_price_credits:a[r].priceCredits,new_price_usd:N(a[r].priceCredits)}),s||w(h=>h.map((m,u)=>u===r?"done":m))}catch(h){if(h instanceof ue)D(h,{flow:"import_listing",step:"relist",itemId:a[r].item.itemId??a[r].item.oldTradeId}),s||w(m=>m.map((u,$)=>$===r?"unlisted":u));else{const m=h,u=m.code===4001||/reject|denied|cancel/i.test(m.message??"");u||D(h,{flow:"import_listing",itemId:a[r].item.itemId??a[r].item.oldTradeId}),s||w($=>$.map((X,Z)=>Z===r?u?"skipped":"failed":X))}}}s||z("finished")})(),()=>{s=!0}},[]);const C=c.filter(s=>s==="done").length,A=c.findIndex(s=>s==="active"),P=Math.round(c.filter(s=>s!=="pending"&&s!=="active").length/a.length*100);function M(){k(),p()}const _=c.filter(s=>s==="skipped"||s==="failed").length,j=c.filter(s=>s==="unlisted").length,n=g.useRef(!1);return g.useEffect(()=>{x!=="finished"||j>0||n.current||(n.current=!0,M())},[x,j]),x==="finished"?j===0?null:e.jsx(W,{role:"presentation",children:e.jsxs(J,{"data-success":!0,role:"dialog","aria-modal":"true","data-testid":"migrate-unlisted",children:[e.jsx(K,{children:i("migrate.unlistedTitle")}),e.jsxs("p",{className:"muted",style:{margin:0},children:[i("migrate.unlistedSummary",{count:j}),C>0?" "+i("migrate.listedSummary",{count:C,currency:Q.name}):"",_>0?" "+i("migrate.skippedSummary",{count:_}):""]}),e.jsxs(Se,{"data-actions":!0,children:[e.jsx(E,{variant:"ghost",onClick:M,children:i("getCredits.done")}),e.jsx(E,{variant:"purple",onClick:()=>{k(),p(),F(V)},children:i("migrate.goToMyAssets")})]})]})}):e.jsx(W,{role:"presentation",children:e.jsxs(Te,{"data-testid":"modal",role:"dialog","aria-modal":"true","aria-live":"polite",children:[e.jsx(K,{children:i("migrate.listingTitle")}),e.jsxs("p",{className:"muted small",style:{margin:"0 0 4px"},children:[y?i("migrate.subConfirm"):i("migrate.subManaged")," ",A>=0?i("migrate.progressCount",{current:A+1,total:a.length}):""]}),e.jsx(ze,{children:e.jsx(Ae,{style:{width:`${P}%`}})}),e.jsx(Me,{children:a.map((s,d)=>e.jsxs(_e,{"data-status":c[d],children:[e.jsx(Ee,{children:s.item.thumbnail?e.jsx("img",{src:s.item.thumbnail,alt:""}):null}),e.jsx(Fe,{title:s.item.name,children:s.item.name||i("migrate.itemFallback")}),e.jsxs(Re,{children:[e.jsx(Y,{className:"ccy-mark"})," ",s.priceCredits.toLocaleString()]}),e.jsx(Pe,{"data-testid":c[d]==="active"?"migrate-active-status":void 0,children:c[d]==="active"?e.jsxs(e.Fragment,{children:[e.jsx(Qe,{className:"spinner","aria-hidden":!0})," ",De(R[d],y)]}):c[d]==="done"?e.jsx(Ne,{children:e.jsx(je,{})}):c[d]==="skipped"?e.jsx(B,{children:i("migrate.statusSkipped")}):c[d]==="failed"?e.jsx(B,{children:i("migrate.statusFailed")}):c[d]==="unlisted"?e.jsx(B,{title:i("migrate.unlistedTooltip"),children:i("migrate.statusUnlisted")}):e.jsx(Be,{children:i("migrate.statusWaiting")})})]},s.item.oldTradeId))}),e.jsx(qe,{className:"muted small",children:y?b?i(b.approvals>0?"migrate.hintCountApproval":"migrate.hintCount",{total:b.total}):i("migrate.hintConfirm"):i("migrate.hintManaged")})]})})}const Oe="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='84.837'%20height='84.837'%20viewBox='0%200%2084.837%2084.837'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M29.2935%2033.6675L43.5472%2044.36C44.4303%2045.0223%2045.5311%2045.3263%2046.6288%2045.2111C47.7266%2045.0959%2048.7403%2044.5699%2049.4666%2043.7387L77.4185%2011.7925'%20stroke='url(%23paint0_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3cpath%20id='Vector_2'%20d='M81.7935%2042.4178C81.7936%2050.6451%2079.2167%2058.6658%2074.4245%2065.3533C69.6323%2072.0409%2062.8657%2077.0594%2055.075%2079.7039C47.2843%2082.3485%2038.8609%2082.4862%2030.9879%2080.0978C23.1149%2077.7094%2016.1878%2072.9149%2011.1796%2066.3876C6.17126%2059.8603%203.33339%2051.9282%203.06452%2043.7053C2.79565%2035.4824%205.10927%2027.3818%209.68046%2020.5413C14.2516%2013.7008%2020.8507%208.46394%2028.5509%205.56634C36.251%202.66875%2044.6654%202.25594%2052.6122%204.38589'%20stroke='url(%23paint1_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_74'%20x1='27.7771'%20y1='28.5159'%20x2='111.866'%20y2='17.1154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_0_74'%20x1='0.562175'%20y1='42.4235'%20x2='139.458'%20y2='29.3377'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",{colors:o,font:We,media:Ke,radius:I}=q,Ge=t.div`
182
+ `;function Ue(a,l){switch(a==null?void 0:a.step){case"cancelling":return l?i("migrate.phaseCancelConfirm"):i("migrate.phaseCancel");case"confirming-cancel":return l?i("migrate.phaseConfirmingCancel"):i("migrate.phaseConfirmingCancelManaged");case"authorising":return l?i("migrate.phaseAuthoriseConfirm"):i("migrate.phaseAuthorise");case"signing":return l?i("migrate.phaseSignConfirm"):i("migrate.phaseSign");case"publishing":return i("migrate.phasePublishing");case"indexing":return i("migrate.phaseIndexing",{attempt:a.attempt,of:a.of});default:return l?i("migrate.statusConfirm"):i("migrate.statusAdding")}}function Oe({queue:a,session:l,onClose:p,onDone:k}){const F=ee(),y=ne(l.providerType),[R,L]=g.useState(()=>a.map(()=>null)),[b,T]=g.useState(null),[c,w]=g.useState(()=>a.map(()=>"pending")),[x,z]=g.useState("running"),v=g.useRef(!1);g.useEffect(()=>{if(v.current)return;v.current=!0;let s=!1;return y&&me(a.map(r=>r.item),l.address).then(r=>{!s&&r&&T({approvals:r.approvals,total:r.total})}).catch(()=>{}),(async()=>{for(let r=0;r<a.length;r++){if(s)return;w(h=>h.map((m,u)=>u===r?"active":m));try{await ue(a[r].item,a[r].priceCredits,l,{onPhase:h=>{s||L(m=>m.map((u,$)=>$===r?h:u))}}),se("Shop Migrated Listing",{item_id:a[r].item.itemId??a[r].item.oldTradeId??null,contract_address:a[r].item.contractAddress,new_price_credits:a[r].priceCredits,new_price_usd:N(a[r].priceCredits)}),s||w(h=>h.map((m,u)=>u===r?"done":m))}catch(h){if(h instanceof fe)D(h,{flow:"import_listing",step:"relist",itemId:a[r].item.itemId??a[r].item.oldTradeId}),s||w(m=>m.map((u,$)=>$===r?"unlisted":u));else{const m=h,u=m.code===4001||/reject|denied|cancel/i.test(m.message??"");u||D(h,{flow:"import_listing",itemId:a[r].item.itemId??a[r].item.oldTradeId}),s||w($=>$.map((X,Z)=>Z===r?u?"skipped":"failed":X))}}}s||z("finished")})(),()=>{s=!0}},[]);const C=c.filter(s=>s==="done").length,A=c.findIndex(s=>s==="active"),P=Math.round(c.filter(s=>s!=="pending"&&s!=="active").length/a.length*100);function M(){k(),p()}const _=c.filter(s=>s==="skipped"||s==="failed").length,j=c.filter(s=>s==="unlisted").length,n=g.useRef(!1);return g.useEffect(()=>{x!=="finished"||j>0||n.current||(n.current=!0,M())},[x,j]),x==="finished"?j===0?null:e.jsx(W,{role:"presentation",children:e.jsxs(J,{"data-success":!0,role:"dialog","aria-modal":"true","data-testid":"migrate-unlisted",children:[e.jsx(K,{children:i("migrate.unlistedTitle")}),e.jsxs("p",{className:"muted",style:{margin:0},children:[i("migrate.unlistedSummary",{count:j}),C>0?" "+i("migrate.listedSummary",{count:C,currency:Q.name}):"",_>0?" "+i("migrate.skippedSummary",{count:_}):""]}),e.jsxs(Ie,{"data-actions":!0,children:[e.jsx(E,{variant:"ghost",onClick:M,children:i("getCredits.done")}),e.jsx(E,{variant:"purple",onClick:()=>{k(),p(),F(H)},children:i("migrate.goToMyAssets")})]})]})}):e.jsx(W,{role:"presentation",children:e.jsxs(ze,{"data-testid":"modal",role:"dialog","aria-modal":"true","aria-live":"polite",children:[e.jsx(K,{children:i("migrate.listingTitle")}),e.jsxs("p",{className:"muted small",style:{margin:"0 0 4px"},children:[y?i("migrate.subConfirm"):i("migrate.subManaged")," ",A>=0?i("migrate.progressCount",{current:A+1,total:a.length}):""]}),e.jsx(Ae,{children:e.jsx(Me,{style:{width:`${P}%`}})}),e.jsx(_e,{children:a.map((s,d)=>e.jsxs(Ee,{"data-status":c[d],children:[e.jsx(Fe,{children:s.item.thumbnail?e.jsx("img",{src:s.item.thumbnail,alt:""}):null}),e.jsx(Re,{title:s.item.name,children:s.item.name||i("migrate.itemFallback")}),e.jsxs(Pe,{children:[e.jsx(Y,{className:"ccy-mark"})," ",s.priceCredits.toLocaleString()]}),e.jsx(Be,{"data-testid":c[d]==="active"?"migrate-active-status":void 0,children:c[d]==="active"?e.jsxs(e.Fragment,{children:[e.jsx(Ne,{className:"spinner","aria-hidden":!0})," ",Ue(R[d],y)]}):c[d]==="done"?e.jsx(qe,{children:e.jsx(ke,{})}):c[d]==="skipped"?e.jsx(B,{children:i("migrate.statusSkipped")}):c[d]==="failed"?e.jsx(B,{children:i("migrate.statusFailed")}):c[d]==="unlisted"?e.jsx(B,{title:i("migrate.unlistedTooltip"),children:i("migrate.statusUnlisted")}):e.jsx(Qe,{children:i("migrate.statusWaiting")})})]},s.item.oldTradeId))}),e.jsx(De,{className:"muted small",children:y?b?i(b.approvals>0?"migrate.hintCountApproval":"migrate.hintCount",{total:b.total}):i("migrate.hintConfirm"):i("migrate.hintManaged")})]})})}const We="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='84.837'%20height='84.837'%20viewBox='0%200%2084.837%2084.837'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M29.2935%2033.6675L43.5472%2044.36C44.4303%2045.0223%2045.5311%2045.3263%2046.6288%2045.2111C47.7266%2045.0959%2048.7403%2044.5699%2049.4666%2043.7387L77.4185%2011.7925'%20stroke='url(%23paint0_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3cpath%20id='Vector_2'%20d='M81.7935%2042.4178C81.7936%2050.6451%2079.2167%2058.6658%2074.4245%2065.3533C69.6323%2072.0409%2062.8657%2077.0594%2055.075%2079.7039C47.2843%2082.3485%2038.8609%2082.4862%2030.9879%2080.0978C23.1149%2077.7094%2016.1878%2072.9149%2011.1796%2066.3876C6.17126%2059.8603%203.33339%2051.9282%203.06452%2043.7053C2.79565%2035.4824%205.10927%2027.3818%209.68046%2020.5413C14.2516%2013.7008%2020.8507%208.46394%2028.5509%205.56634C36.251%202.66875%2044.6654%202.25594%2052.6122%204.38589'%20stroke='url(%23paint1_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_74'%20x1='27.7771'%20y1='28.5159'%20x2='111.866'%20y2='17.1154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_0_74'%20x1='0.562175'%20y1='42.4235'%20x2='139.458'%20y2='29.3377'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",{colors:o,font:Ke,media:Ge,radius:I}=q,Ve=t.div`
183
183
  display: flex;
184
184
  flex-direction: column;
185
185
  align-items: center;
@@ -198,7 +198,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
198
198
  border-radius: ${I.modal};
199
199
  background: ${o.white};
200
200
  text-align: center;
201
- `,Ve=t.span`
201
+ `,Ye=t.span`
202
202
  flex-shrink: 0;
203
203
  width: 105px;
204
204
  height: 105px;
@@ -211,7 +211,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
211
211
  width: 84.837px;
212
212
  height: 84.837px;
213
213
  }
214
- `,Ye=t.div`
214
+ `,Je=t.div`
215
215
  width: 100%;
216
216
  display: flex;
217
217
  flex-direction: column;
@@ -220,56 +220,56 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
220
220
  padding-bottom: 16px;
221
221
  line-height: 1.6;
222
222
  color: ${o.text};
223
- `,Je=t.h2`
223
+ `,Xe=t.h2`
224
224
  margin: 0;
225
225
  font-size: 20px;
226
226
  font-weight: 700;
227
- `,Xe=t.p`
227
+ `,Ze=t.p`
228
228
  margin: 0;
229
229
  font-size: 16px;
230
230
  font-weight: 400;
231
- `,Ze=t.div`
231
+ `,et=t.div`
232
232
  width: 310px;
233
233
  max-width: 100%;
234
234
  padding-bottom: 16px;
235
- `,et=t(E)`
235
+ `,tt=t(E)`
236
236
  width: 100%;
237
237
  height: 56px;
238
238
  border-radius: 12px;
239
239
  font-size: 15px;
240
240
  /* The variant sets 0.046em, which at 15px is 0.69px; the design asks for 0.46px flat. */
241
241
  letter-spacing: 0.46px;
242
- `,tt=t.div`
242
+ `,it=t.div`
243
243
  max-width: 1003px;
244
244
  margin: 0 auto;
245
245
  padding-bottom: 120px;
246
246
  display: flex;
247
247
  flex-direction: column;
248
248
  gap: 12px;
249
- font-family: ${We.sans};
250
- `,it=t.header`
249
+ font-family: ${Ke.sans};
250
+ `,nt=t.header`
251
251
  display: flex;
252
252
  flex-direction: column;
253
253
  gap: 16px;
254
254
  padding: 10px 12px;
255
- `,nt=t.div`
255
+ `,st=t.div`
256
256
  display: flex;
257
257
  flex-direction: column;
258
258
  gap: 8px;
259
- `,st=t.h2`
259
+ `,at=t.h2`
260
260
  margin: 0;
261
261
  font-weight: 600;
262
262
  font-size: 20px;
263
263
  line-height: 24px;
264
264
  letter-spacing: 0.46px;
265
265
  color: ${o.text};
266
- `,at=t.p`
266
+ `,rt=t.p`
267
267
  margin: 0;
268
268
  font-weight: 500;
269
269
  font-size: 14px;
270
270
  line-height: 1.334;
271
271
  color: ${o.muted1};
272
- `,rt=t.a`
272
+ `,ot=t.a`
273
273
  display: inline-flex;
274
274
  align-items: center;
275
275
  gap: 2px;
@@ -287,22 +287,22 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
287
287
  outline: 2px solid ${o.accent};
288
288
  outline-offset: 2px;
289
289
  }
290
- `,ot=t.hr`
290
+ `,dt=t.hr`
291
291
  width: 100%;
292
292
  height: 0;
293
293
  margin: 0;
294
294
  border: 0;
295
295
  border-top: 1px solid ${o.gray4};
296
- `,dt=t.div`
296
+ `,lt=t.div`
297
297
  display: flex;
298
298
  flex-direction: column;
299
299
  gap: 8px;
300
300
  padding: 8px 12px 0;
301
- `,lt=t(we)`
301
+ `,ct=t(ye)`
302
302
  font-size: 14px;
303
303
  line-height: 1.334;
304
304
  color: ${o.text2};
305
- `,ct=t.span`
305
+ `,pt=t.span`
306
306
  flex: none;
307
307
  display: grid;
308
308
  place-items: center;
@@ -314,11 +314,11 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
314
314
  font-size: 12px;
315
315
  line-height: 1.6;
316
316
  color: ${o.white};
317
- `,pt=t.div`
317
+ `,ht=t.div`
318
318
  display: flex;
319
319
  flex-direction: column;
320
320
  gap: 4px;
321
- `,ht=t.label`
321
+ `,gt=t.label`
322
322
  display: flex;
323
323
  align-items: center;
324
324
  align-self: flex-start;
@@ -332,11 +332,11 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
332
332
  place-items: center;
333
333
  width: 40px;
334
334
  height: 40px;
335
- `,gt=t.div`
335
+ `,xt=t.div`
336
336
  display: flex;
337
337
  flex-direction: column;
338
338
  gap: 12px;
339
- `,xt=t.article`
339
+ `,mt=t.article`
340
340
  display: flex;
341
341
  align-items: center;
342
342
  flex-wrap: wrap;
@@ -352,11 +352,11 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
352
352
  &[data-off] {
353
353
  opacity: 0.5;
354
354
  }
355
- `,mt=t.div`
355
+ `,ut=t.div`
356
356
  flex: none;
357
357
  display: flex;
358
358
  align-items: center;
359
- `,ut=t.div`
359
+ `,ft=t.div`
360
360
  flex: none;
361
361
  display: grid;
362
362
  place-items: center;
@@ -372,7 +372,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
372
372
  object-fit: contain;
373
373
  filter: drop-shadow(0.303px 1.212px 1.516px rgba(0, 0, 0, 0.1));
374
374
  }
375
- `,ft=t.div`
375
+ `,wt=t.div`
376
376
  /* Basis (not min-width) is what makes the price column wrap to its own line on a phone; min-width: 0
377
377
  then lets the name ellipsize once it is on a line of its own. */
378
378
  flex: 1 1 150px;
@@ -382,7 +382,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
382
382
  justify-content: center;
383
383
  gap: 8px;
384
384
  padding: 16px 8px;
385
- `,wt=t.div`
385
+ `,yt=t.div`
386
386
  font-weight: 600;
387
387
  font-size: 16px;
388
388
  line-height: 1.2;
@@ -390,11 +390,11 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
390
390
  white-space: nowrap;
391
391
  overflow: hidden;
392
392
  text-overflow: ellipsis;
393
- `,yt=t.div`
393
+ `,bt=t.div`
394
394
  display: flex;
395
395
  align-items: flex-end;
396
396
  gap: 4px;
397
- `,H=t(ae)`
397
+ `,V=t(ae)`
398
398
  padding: 1.623px 6.491px;
399
399
  font-weight: 600;
400
400
  font-size: 8.56px;
@@ -410,7 +410,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
410
410
  width: 14.605px;
411
411
  height: 14.605px;
412
412
  }
413
- `,bt=t.div`
413
+ `,vt=t.div`
414
414
  flex: none;
415
415
  /* Right-aligns the block on the desktop row AND on the line it wraps to on narrow screens. */
416
416
  margin-left: auto;
@@ -419,7 +419,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
419
419
  align-items: flex-end;
420
420
  justify-content: center;
421
421
  gap: 4px;
422
- `,vt=t.div`
422
+ `,jt=t.div`
423
423
  display: flex;
424
424
  align-items: center;
425
425
  justify-content: space-between;
@@ -448,7 +448,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
448
448
  border-color: ${o.accent};
449
449
  box-shadow: 0 0 0 3px ${o.rarityBg};
450
450
  }
451
- `,jt=t.input`
451
+ `,kt=t.input`
452
452
  flex: 1 1 auto;
453
453
  min-width: 0;
454
454
  border: 0;
@@ -460,25 +460,25 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
460
460
  color: ${o.text};
461
461
  text-align: right;
462
462
  font-variant-numeric: tabular-nums;
463
- `,kt=t.div`
463
+ `,Ct=t.div`
464
464
  display: flex;
465
465
  align-items: baseline;
466
466
  gap: 4px;
467
467
  font-weight: 500;
468
468
  font-size: 12px;
469
469
  color: ${o.gray0};
470
- `,Ct=t.span`
470
+ `,$t=t.span`
471
471
  font-weight: 300;
472
472
  font-size: 10px;
473
473
  color: ${o.muted};
474
- `,$t=t.div`
474
+ `,St=t.div`
475
475
  height: 101px;
476
476
  border: 1px solid transparent;
477
477
  border-radius: ${I.card};
478
478
  background: linear-gradient(100deg, #ededed 30%, #f7f7f7 50%, #ededed 70%);
479
479
  background-size: 200% 100%;
480
480
  animation: shimmer 1.3s infinite linear;
481
- `,St=t.div`
481
+ `,It=t.div`
482
482
  position: fixed;
483
483
  left: 0;
484
484
  right: 0;
@@ -487,7 +487,7 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
487
487
  background: rgba(255, 255, 255, 0.9);
488
488
  backdrop-filter: blur(12px);
489
489
  border-top: 1px solid ${o.line};
490
- `,It=t.div`
490
+ `,Lt=t.div`
491
491
  max-width: 1003px;
492
492
  margin: 0 auto;
493
493
  padding: 15px 20px;
@@ -495,25 +495,25 @@ import{j as e,e as ee,r as g,L as te}from"./react-OEOSdkUk.js";import{t as q,s a
495
495
  align-items: center;
496
496
  gap: 16px;
497
497
 
498
- ${Ke.maxWidth("mobile")} {
498
+ ${Ge.maxWidth("mobile")} {
499
499
  padding: 12px 16px;
500
500
  gap: 12px;
501
501
  }
502
- `,Lt=t.div`
502
+ `,Tt=t.div`
503
503
  display: flex;
504
504
  align-items: center;
505
505
  gap: 6px;
506
506
  font-weight: 600;
507
507
  font-size: 16px;
508
508
  color: ${o.text};
509
- `,Tt=t.div`
509
+ `,zt=t.div`
510
510
  font-size: 13px;
511
511
  color: ${o.muted};
512
- `,zt=t.span`
512
+ `,At=t.span`
513
513
  flex: 1 1 auto;
514
- `,At=t(E)`
514
+ `,Mt=t(E)`
515
515
  flex: none;
516
516
  padding: 13px 24px;
517
- `,Mt=t.div`
517
+ `,_t=t.div`
518
518
  padding: 16px 12px 0;
519
- `,_t=[{question:"faq.sellers.whatAreQ",answer:"faq.sellers.whatAreA"},{question:"faq.sellers.whyCreditsQ",answer:"faq.sellers.whyCreditsA"},{question:"faq.sellers.receiveCreditsQ",answer:"faq.sellers.receiveCreditsA"},{question:"faq.sellers.changePriceQ",answer:"faq.sellers.changePriceA"},{question:"faq.sellers.mustSwitchQ",answer:"faq.sellers.mustSwitchA"},{question:"faq.sellers.suggestedPriceQ",answer:"faq.sellers.suggestedPriceA"}],Et="https://docs.decentraland.org";function Ft(a){try{return he(BigInt(a))}catch{return null}}function Vt(){const{session:a}=re(),l=oe(),{items:p,isLoading:k}=fe(),[F,y]=g.useState({}),[R,L]=g.useState(new Set),[b,T]=g.useState(null);g.useEffect(()=>{p.length&&y(n=>{const s={...n};for(const d of p)s[d.oldTradeId]==null&&(s[d.oldTradeId]=d.suggestedCredits);return s})},[p]);const c=n=>!R.has(n),w=n=>F[n.oldTradeId]??n.suggestedCredits,x=p.filter(n=>c(n.oldTradeId)),z=x.reduce((n,s)=>n+w(s),0),v=p.length>0&&x.length===p.length,C=x.length>0&&!v;function A(n,s){const d=s.replace(/[^\d]/g,"");y(r=>({...r,[n]:d===""?0:parseInt(d,10)}))}function P(n){L(s=>{const d=new Set(s);return d.has(n)?d.delete(n):d.add(n),d})}function M(){L(v?new Set(p.map(n=>n.oldTradeId)):new Set)}function _(n){return n.map(s=>({item:s,priceCredits:Math.max(1,w(s))}))}function j(){l.invalidateQueries({queryKey:["importable"]}),l.invalidateQueries({queryKey:["shop-items"]}),l.invalidateQueries({queryKey:["catalog-items"]}),l.invalidateQueries({queryKey:["overview-listings"]}),l.invalidateQueries({queryKey:["upsell-listings"]}),l.invalidateQueries({queryKey:["my-assets"]}),l.invalidateQueries({queryKey:["collection-sale-state"]}),ge.success(i("importListings.toastUpdated"))}return!k&&p.length===0?e.jsx(Ge,{"data-testid":"import-empty",children:e.jsxs(He,{children:[e.jsx(Ve,{"aria-hidden":!0,children:e.jsx("img",{src:Oe,alt:"",width:85,height:85})}),e.jsxs(Ye,{children:[e.jsx(Je,{children:i("importListings.emptyTitle")}),e.jsx(Xe,{children:i("importListings.emptyBody")})]}),e.jsx(Ze,{children:e.jsx(et,{as:te,to:V,variant:"purple",children:i("importListings.goToMyAssets")})})]})}):e.jsxs(tt,{children:[e.jsxs(it,{children:[e.jsxs(nt,{children:[e.jsx(st,{children:i("importListings.title")}),e.jsxs("div",{children:[e.jsx(at,{children:i("importListings.lede",{currency:de(Q.name)})}),e.jsxs(rt,{href:Et,target:"_blank",rel:"noopener noreferrer",children:[i("importListings.learnMore"),e.jsx(U,{name:"external-link",className:"ico","aria-hidden":!0})]})]})]}),e.jsx(ye,{})]}),e.jsx(ot,{}),e.jsxs(dt,{children:[e.jsxs(lt,{"data-testid":"import-progress",children:[e.jsx(ct,{"data-testid":"import-count",children:p.length}),i("importListings.updatePricing")]}),e.jsxs(pt,{children:[e.jsxs(ht,{children:[e.jsx(G,{children:e.jsx(O,{type:"checkbox",checked:v,ref:n=>{n&&(n.indeterminate=C)},"data-indeterminate":C,onChange:M,"data-testid":"import-select-all","aria-label":i("importListings.selectAllAria")})}),i("importListings.selectAll")]}),e.jsx(gt,{children:k?Array.from({length:4}).map((n,s)=>e.jsx($t,{},s)):p.map(n=>{const s=w(n),d=le({...n,wearableCategory:n.wearableCategory??void 0}),r=Ft(n.manaWei);return e.jsxs(xt,{"data-off":c(n.oldTradeId)?void 0:!0,children:[e.jsxs(mt,{children:[e.jsx(G,{children:e.jsx(O,{type:"checkbox",checked:c(n.oldTradeId),onChange:()=>P(n.oldTradeId),"data-testid":"import-row-check","aria-label":i("importListings.includeItem",{name:n.name})})}),e.jsx(ut,{children:n.thumbnail?e.jsx("img",{src:n.thumbnail,alt:""}):null})]}),e.jsxs(ft,{children:[e.jsx(wt,{title:n.name,children:n.name||i("importListings.itemFallback")}),e.jsxs(yt,{children:[e.jsx(H,{"data-variant":"rarity",style:{background:pe(n.rarity),color:ce(n.rarity)},children:n.rarity}),d?e.jsx(H,{"data-variant":"icon",children:e.jsx(U,{name:d,"aria-hidden":!0})}):null]})]}),e.jsxs(bt,{children:[e.jsxs(vt,{children:[e.jsx(Y,{}),e.jsx(jt,{"data-testid":"imp-price-input",inputMode:"numeric",value:s.toLocaleString(),onChange:h=>A(n.oldTradeId,h.target.value),"aria-label":i("importListings.priceAria",{currency:Q.name,name:n.name})})]}),e.jsxs(kt,{children:[e.jsxs("span",{children:["$",N(s).toFixed(2)]}),r?e.jsx(Ct,{children:i("importListings.wasMana",{amount:r})}):null]})]})]},n.oldTradeId)})})]})]}),e.jsx(Mt,{children:e.jsx(ve,{title:"faq.title",entries:_t})}),e.jsx(St,{children:e.jsxs(It,{children:[e.jsxs("div",{children:[e.jsxs(Lt,{children:[e.jsx(be,{})," ",z.toLocaleString()]}),e.jsx(Tt,{children:i("importListings.selectedSummary",{count:x.length,usd:N(z).toFixed(2)})})]}),e.jsx(zt,{}),e.jsx(At,{variant:"purple",disabled:x.length===0,onClick:()=>T(_(x)),children:i("importListings.listAll",{count:x.length})})]})}),b&&a?e.jsx(Ue,{queue:b,session:a,onClose:()=>T(null),onDone:j}):null]})}export{Vt as ImportListings};
519
+ `,Et=[{question:"faq.sellers.whatAreQ",answer:"faq.sellers.whatAreA"},{question:"faq.sellers.whyCreditsQ",answer:"faq.sellers.whyCreditsA"},{question:"faq.sellers.receiveCreditsQ",answer:"faq.sellers.receiveCreditsA"},{question:"faq.sellers.changePriceQ",answer:"faq.sellers.changePriceA"},{question:"faq.sellers.mustSwitchQ",answer:"faq.sellers.mustSwitchA"},{question:"faq.sellers.suggestedPriceQ",answer:"faq.sellers.suggestedPriceA"}],Ft="https://docs.decentraland.org";function Rt(a){try{return ge(BigInt(a))}catch{return null}}function Yt(){const{session:a}=re(),l=oe(),{items:p,isLoading:k}=we(),[F,y]=g.useState({}),[R,L]=g.useState(new Set),[b,T]=g.useState(null);g.useEffect(()=>{p.length&&y(n=>{const s={...n};for(const d of p)s[d.oldTradeId]==null&&(s[d.oldTradeId]=d.suggestedCredits);return s})},[p]);const c=n=>!R.has(n),w=n=>F[n.oldTradeId]??n.suggestedCredits,x=p.filter(n=>c(n.oldTradeId)),z=x.reduce((n,s)=>n+w(s),0),v=p.length>0&&x.length===p.length,C=x.length>0&&!v;function A(n,s){const d=s.replace(/[^\d]/g,"");y(r=>({...r,[n]:d===""?0:parseInt(d,10)}))}function P(n){L(s=>{const d=new Set(s);return d.has(n)?d.delete(n):d.add(n),d})}function M(){L(v?new Set(p.map(n=>n.oldTradeId)):new Set)}function _(n){return n.map(s=>({item:s,priceCredits:Math.max(1,w(s))}))}function j(){l.invalidateQueries({queryKey:["importable"]}),l.invalidateQueries({queryKey:["shop-items"]}),l.invalidateQueries({queryKey:["catalog-items"]}),l.invalidateQueries({queryKey:["overview-listings"]}),l.invalidateQueries({queryKey:["upsell-listings"]}),l.invalidateQueries({queryKey:["my-assets"]}),l.invalidateQueries({queryKey:["collection-sale-state"]}),xe.success(i("importListings.toastUpdated"))}return!k&&p.length===0?e.jsx(Ve,{"data-testid":"import-empty",children:e.jsxs(He,{children:[e.jsx(Ye,{"aria-hidden":!0,children:e.jsx("img",{src:We,alt:"",width:85,height:85})}),e.jsxs(Je,{children:[e.jsx(Xe,{children:i("importListings.emptyTitle")}),e.jsx(Ze,{children:i("importListings.emptyBody")})]}),e.jsx(et,{children:e.jsx(tt,{as:te,to:H,variant:"purple",children:i("importListings.goToMyAssets")})})]})}):e.jsxs(it,{children:[e.jsxs(nt,{children:[e.jsxs(st,{children:[e.jsx(at,{children:i("importListings.title")}),e.jsxs("div",{children:[e.jsx(rt,{children:i("importListings.lede",{currency:de(Q.name)})}),e.jsxs(ot,{href:Ft,target:"_blank",rel:"noopener noreferrer",children:[i("importListings.learnMore"),e.jsx(U,{name:"external-link",className:"ico","aria-hidden":!0})]})]})]}),e.jsx(be,{})]}),e.jsx(dt,{}),e.jsxs(lt,{children:[e.jsxs(ct,{"data-testid":"import-progress",children:[e.jsx(pt,{"data-testid":"import-count",children:p.length}),i("importListings.updatePricing")]}),e.jsxs(ht,{children:[e.jsxs(gt,{children:[e.jsx(G,{children:e.jsx(O,{type:"checkbox",checked:v,ref:n=>{n&&(n.indeterminate=C)},"data-indeterminate":C,onChange:M,"data-testid":"import-select-all","aria-label":i("importListings.selectAllAria")})}),i("importListings.selectAll")]}),e.jsx(xt,{children:k?Array.from({length:4}).map((n,s)=>e.jsx(St,{},s)):p.map(n=>{const s=w(n),d=le({...n,wearableCategory:n.wearableCategory??void 0}),r=Rt(n.manaWei);return e.jsxs(mt,{"data-off":c(n.oldTradeId)?void 0:!0,children:[e.jsxs(ut,{children:[e.jsx(G,{children:e.jsx(O,{type:"checkbox",checked:c(n.oldTradeId),onChange:()=>P(n.oldTradeId),"data-testid":"import-row-check","aria-label":i("importListings.includeItem",{name:n.name})})}),e.jsx(ft,{children:n.thumbnail?e.jsx("img",{src:n.thumbnail,alt:""}):null})]}),e.jsxs(wt,{children:[e.jsx(yt,{title:n.name,children:n.name||i("importListings.itemFallback")}),e.jsxs(bt,{children:[e.jsx(V,{"data-variant":"rarity",style:{background:he(n.rarity),color:pe(n.rarity)},children:ce(n.rarity)}),d?e.jsx(V,{"data-variant":"icon",children:e.jsx(U,{name:d,"aria-hidden":!0})}):null]})]}),e.jsxs(vt,{children:[e.jsxs(jt,{children:[e.jsx(Y,{}),e.jsx(kt,{"data-testid":"imp-price-input",inputMode:"numeric",value:s.toLocaleString(),onChange:h=>A(n.oldTradeId,h.target.value),"aria-label":i("importListings.priceAria",{currency:Q.name,name:n.name})})]}),e.jsxs(Ct,{children:[e.jsxs("span",{children:["$",N(s).toFixed(2)]}),r?e.jsx($t,{children:i("importListings.wasMana",{amount:r})}):null]})]})]},n.oldTradeId)})})]})]}),e.jsx(_t,{children:e.jsx(je,{title:"faq.title",entries:Et})}),e.jsx(It,{children:e.jsxs(Lt,{children:[e.jsxs("div",{children:[e.jsxs(Tt,{children:[e.jsx(ve,{})," ",z.toLocaleString()]}),e.jsx(zt,{children:i("importListings.selectedSummary",{count:x.length,usd:N(z).toFixed(2)})})]}),e.jsx(At,{}),e.jsx(Mt,{variant:"purple",disabled:x.length===0,onClick:()=>T(_(x)),children:i("importListings.listAll",{count:x.length})})]})}),b&&a?e.jsx(Oe,{queue:b,session:a,onClose:()=>T(null),onDone:j}):null]})}export{Yt as ImportListings};
@@ -1,3 +1,3 @@
1
- import{d as G}from"./index-aXb_PvXT.js";/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function P(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function V(e,r){return Array.isArray(r)?r.length===0?!0:e?r.every(n=>typeof n=="string"):r.every(n=>Number.isSafeInteger(n)):!1}function I(e,r){if(typeof r!="string")throw new Error(`${e}: string expected`);return!0}function B(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function v(e){if(!Array.isArray(e))throw new Error("array expected")}function S(e,r){if(!V(!0,r))throw new Error(`${e}: array of strings expected`)}function K(e,r){if(!V(!1,r))throw new Error(`${e}: array of numbers expected`)}function J(...e){const r=s=>s,n=(s,u)=>i=>s(u(i)),b=e.map(s=>s.encode).reduceRight(n,r),d=e.map(s=>s.decode).reduce(n,r);return{encode:b,decode:d}}function Q(e){const r=typeof e=="string"?e.split(""):e,n=r.length;S("alphabet",r);const b=new Map(r.map((d,s)=>[d,s]));return{encode:d=>(v(d),d.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${e}`);return r[s]})),decode:d=>(v(d),d.map(s=>{I("alphabet.decode",s);const u=b.get(s);if(u===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${e}`);return u}))}}function W(e=""){return I("join",e),{encode:r=>(S("join.decode",r),r.join(e)),decode:r=>(I("join.decode",r),r.split(e))}}function fe(e,r="="){return B(e),I("padding",r),{encode(n){for(S("padding.encode",n);n.length*e%8;)n.push(r);return n},decode(n){S("padding.decode",n);let b=n.length;if(b*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;b>0&&n[b-1]===r;b--)if((b-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,b)}}}function _(e,r,n){if(r<2)throw new Error(`convertRadix: invalid from=${r}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(v(e),!e.length)return[];let b=0;const d=[],s=Array.from(e,i=>{if(B(i),i<0||i>=r)throw new Error(`invalid integer: ${i}`);return i}),u=s.length;for(;;){let i=0,a=!0;for(let w=b;w<u;w++){const p=s[w],x=r*i,A=x+p;if(!Number.isSafeInteger(A)||x/r!==i||A-p!==x)throw new Error("convertRadix: carry overflow");const m=A/n;i=A%n;const l=Math.floor(m);if(s[w]=l,!Number.isSafeInteger(l)||l*n+i!==A)throw new Error("convertRadix: carry overflow");if(a)l?a=!1:b=w;else continue}if(d.push(i),a)break}for(let i=0;i<e.length-1&&e[i]===0;i++)d.push(0);return d.reverse()}const X=(e,r)=>r===0?e:X(r,e%r),$=(e,r)=>e+(r-X(e,r)),R=(()=>{let e=[];for(let r=0;r<40;r++)e.push(2**r);return e})();function F(e,r,n,b){if(v(e),r<=0||r>32)throw new Error(`convertRadix2: wrong from=${r}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if($(r,n)>32)throw new Error(`convertRadix2: carry overflow from=${r} to=${n} carryBits=${$(r,n)}`);let d=0,s=0;const u=R[r],i=R[n]-1,a=[];for(const w of e){if(B(w),w>=u)throw new Error(`convertRadix2: invalid data word=${w} from=${r}`);if(d=d<<r|w,s+r>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${r}`);for(s+=r;s>=n;s-=n)a.push((d>>s-n&i)>>>0);const p=R[s];if(p===void 0)throw new Error("invalid carry");d&=p-1}if(d=d<<n-s&i,!b&&s>=r)throw new Error("Excess padding");if(!b&&d>0)throw new Error(`Non-zero padding: ${d}`);return b&&s>0&&a.push(d>>>0),a}function ae(e){B(e);const r=2**8;return{encode:n=>{if(!P(n))throw new Error("radix.encode input should be Uint8Array");return _(Array.from(n),r,e)},decode:n=>(K("radix.decode",n),Uint8Array.from(_(n,e,r)))}}function le(e,r=!1){if(B(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if($(8,e)>32||$(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!P(n))throw new Error("radix2.encode input should be Uint8Array");return F(Array.from(n),8,e,!r)},decode:n=>(K("radix2.decode",n),Uint8Array.from(F(n,e,8,r)))}}const be=J(le(5),Q("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),fe(5),W("")),se=e=>J(ae(58),Q(e),W("")),we=se("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function D(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Y(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?D(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function ge(e,r){r||(r=e.reduce((d,s)=>d+s.length,0));const n=Y(r);let b=0;for(const d of e)n.set(d,b),b+=d.length;return D(n)}function Z(e,r,n,b){return{name:e,prefix:r,encoder:{name:e,prefix:r,encode:n},decoder:{decode:b}}}const q=Z("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),T=Z("ascii","a",e=>{let r="a";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return r},e=>{e=e.substring(1);const r=Y(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}),ee={utf8:q,"utf-8":q,hex:G.base16,latin1:T,ascii:T,binary:T,...G};function pe(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?D(globalThis.Buffer.from(e,"utf-8")):n.decoder.decode(`${n.prefix}${e}`)}function ye(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):n.encoder.encode(e).substring(1)}var H,N;function re(){if(N)return H;N=1;const e="Input must be an string, Buffer or Uint8Array";function r(u){let i;if(u instanceof Uint8Array)i=u;else if(typeof u=="string")i=new TextEncoder().encode(u);else throw new Error(e);return i}function n(u){return Array.prototype.map.call(u,function(i){return(i<16?"0":"")+i.toString(16)}).join("")}function b(u){return(4294967296+u).toString(16).substring(1)}function d(u,i,a){let w=`
1
+ import{d as G}from"./index-YSlX9Bkm.js";/*! scure-base - MIT License (c) 2022 Paul Miller (paulmillr.com) */function P(e){return e instanceof Uint8Array||ArrayBuffer.isView(e)&&e.constructor.name==="Uint8Array"}function V(e,r){return Array.isArray(r)?r.length===0?!0:e?r.every(n=>typeof n=="string"):r.every(n=>Number.isSafeInteger(n)):!1}function I(e,r){if(typeof r!="string")throw new Error(`${e}: string expected`);return!0}function B(e){if(!Number.isSafeInteger(e))throw new Error(`invalid integer: ${e}`)}function v(e){if(!Array.isArray(e))throw new Error("array expected")}function S(e,r){if(!V(!0,r))throw new Error(`${e}: array of strings expected`)}function K(e,r){if(!V(!1,r))throw new Error(`${e}: array of numbers expected`)}function J(...e){const r=s=>s,n=(s,u)=>i=>s(u(i)),b=e.map(s=>s.encode).reduceRight(n,r),d=e.map(s=>s.decode).reduce(n,r);return{encode:b,decode:d}}function Q(e){const r=typeof e=="string"?e.split(""):e,n=r.length;S("alphabet",r);const b=new Map(r.map((d,s)=>[d,s]));return{encode:d=>(v(d),d.map(s=>{if(!Number.isSafeInteger(s)||s<0||s>=n)throw new Error(`alphabet.encode: digit index outside alphabet "${s}". Allowed: ${e}`);return r[s]})),decode:d=>(v(d),d.map(s=>{I("alphabet.decode",s);const u=b.get(s);if(u===void 0)throw new Error(`Unknown letter: "${s}". Allowed: ${e}`);return u}))}}function W(e=""){return I("join",e),{encode:r=>(S("join.decode",r),r.join(e)),decode:r=>(I("join.decode",r),r.split(e))}}function fe(e,r="="){return B(e),I("padding",r),{encode(n){for(S("padding.encode",n);n.length*e%8;)n.push(r);return n},decode(n){S("padding.decode",n);let b=n.length;if(b*e%8)throw new Error("padding: invalid, string should have whole number of bytes");for(;b>0&&n[b-1]===r;b--)if((b-1)*e%8===0)throw new Error("padding: invalid, string has too much padding");return n.slice(0,b)}}}function _(e,r,n){if(r<2)throw new Error(`convertRadix: invalid from=${r}, base cannot be less than 2`);if(n<2)throw new Error(`convertRadix: invalid to=${n}, base cannot be less than 2`);if(v(e),!e.length)return[];let b=0;const d=[],s=Array.from(e,i=>{if(B(i),i<0||i>=r)throw new Error(`invalid integer: ${i}`);return i}),u=s.length;for(;;){let i=0,a=!0;for(let w=b;w<u;w++){const p=s[w],x=r*i,A=x+p;if(!Number.isSafeInteger(A)||x/r!==i||A-p!==x)throw new Error("convertRadix: carry overflow");const m=A/n;i=A%n;const l=Math.floor(m);if(s[w]=l,!Number.isSafeInteger(l)||l*n+i!==A)throw new Error("convertRadix: carry overflow");if(a)l?a=!1:b=w;else continue}if(d.push(i),a)break}for(let i=0;i<e.length-1&&e[i]===0;i++)d.push(0);return d.reverse()}const X=(e,r)=>r===0?e:X(r,e%r),$=(e,r)=>e+(r-X(e,r)),R=(()=>{let e=[];for(let r=0;r<40;r++)e.push(2**r);return e})();function F(e,r,n,b){if(v(e),r<=0||r>32)throw new Error(`convertRadix2: wrong from=${r}`);if(n<=0||n>32)throw new Error(`convertRadix2: wrong to=${n}`);if($(r,n)>32)throw new Error(`convertRadix2: carry overflow from=${r} to=${n} carryBits=${$(r,n)}`);let d=0,s=0;const u=R[r],i=R[n]-1,a=[];for(const w of e){if(B(w),w>=u)throw new Error(`convertRadix2: invalid data word=${w} from=${r}`);if(d=d<<r|w,s+r>32)throw new Error(`convertRadix2: carry overflow pos=${s} from=${r}`);for(s+=r;s>=n;s-=n)a.push((d>>s-n&i)>>>0);const p=R[s];if(p===void 0)throw new Error("invalid carry");d&=p-1}if(d=d<<n-s&i,!b&&s>=r)throw new Error("Excess padding");if(!b&&d>0)throw new Error(`Non-zero padding: ${d}`);return b&&s>0&&a.push(d>>>0),a}function ae(e){B(e);const r=2**8;return{encode:n=>{if(!P(n))throw new Error("radix.encode input should be Uint8Array");return _(Array.from(n),r,e)},decode:n=>(K("radix.decode",n),Uint8Array.from(_(n,e,r)))}}function le(e,r=!1){if(B(e),e<=0||e>32)throw new Error("radix2: bits should be in (0..32]");if($(8,e)>32||$(e,8)>32)throw new Error("radix2: carry overflow");return{encode:n=>{if(!P(n))throw new Error("radix2.encode input should be Uint8Array");return F(Array.from(n),8,e,!r)},decode:n=>(K("radix2.decode",n),Uint8Array.from(F(n,e,8,r)))}}const be=J(le(5),Q("ABCDEFGHIJKLMNOPQRSTUVWXYZ234567"),fe(5),W("")),se=e=>J(ae(58),Q(e),W("")),we=se("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz");function D(e){return globalThis.Buffer!=null?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e}function Y(e=0){return globalThis.Buffer!=null&&globalThis.Buffer.allocUnsafe!=null?D(globalThis.Buffer.allocUnsafe(e)):new Uint8Array(e)}function ge(e,r){r||(r=e.reduce((d,s)=>d+s.length,0));const n=Y(r);let b=0;for(const d of e)n.set(d,b),b+=d.length;return D(n)}function Z(e,r,n,b){return{name:e,prefix:r,encoder:{name:e,prefix:r,encode:n},decoder:{decode:b}}}const q=Z("utf8","u",e=>"u"+new TextDecoder("utf8").decode(e),e=>new TextEncoder().encode(e.substring(1))),T=Z("ascii","a",e=>{let r="a";for(let n=0;n<e.length;n++)r+=String.fromCharCode(e[n]);return r},e=>{e=e.substring(1);const r=Y(e.length);for(let n=0;n<e.length;n++)r[n]=e.charCodeAt(n);return r}),ee={utf8:q,"utf-8":q,hex:G.base16,latin1:T,ascii:T,binary:T,...G};function pe(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?D(globalThis.Buffer.from(e,"utf-8")):n.decoder.decode(`${n.prefix}${e}`)}function ye(e,r="utf8"){const n=ee[r];if(!n)throw new Error(`Unsupported encoding "${r}"`);return(r==="utf8"||r==="utf-8")&&globalThis.Buffer!=null&&globalThis.Buffer.from!=null?globalThis.Buffer.from(e.buffer,e.byteOffset,e.byteLength).toString("utf8"):n.encoder.encode(e).substring(1)}var H,N;function re(){if(N)return H;N=1;const e="Input must be an string, Buffer or Uint8Array";function r(u){let i;if(u instanceof Uint8Array)i=u;else if(typeof u=="string")i=new TextEncoder().encode(u);else throw new Error(e);return i}function n(u){return Array.prototype.map.call(u,function(i){return(i<16?"0":"")+i.toString(16)}).join("")}function b(u){return(4294967296+u).toString(16).substring(1)}function d(u,i,a){let w=`
2
2
  `+u+" = ";for(let p=0;p<i.length;p+=2){if(a===32)w+=b(i[p]).toUpperCase(),w+=" ",w+=b(i[p+1]).toUpperCase();else if(a===64)w+=b(i[p+1]).toUpperCase(),w+=b(i[p]).toUpperCase();else throw new Error("Invalid size "+a);p%6===4?w+=`
3
3
  `+new Array(u.length+4).join(" "):p<i.length-2&&(w+=" ")}console.log(w)}function s(u,i,a){let w=new Date().getTime();const p=new Uint8Array(i);for(let A=0;A<i;A++)p[A]=A%256;const x=new Date().getTime();console.log("Generated random input in "+(x-w)+"ms"),w=x;for(let A=0;A<a;A++){const m=u(p),l=new Date().getTime(),h=l-w;w=l,console.log("Hashed in "+h+"ms: "+m.substring(0,20)+"..."),console.log(Math.round(i/(1<<20)/(h/1e3)*100)/100+" MB PER SECOND")}}return H={normalizeInput:r,toHex:n,debugPrint:d,testSpeed:s},H}var C,O;function ue(){if(O)return C;O=1;const e=re();function r(t,c,o){const g=t[c]+t[o];let y=t[c+1]+t[o+1];g>=4294967296&&y++,t[c]=g,t[c+1]=y}function n(t,c,o,g){let y=t[c]+o;o<0&&(y+=4294967296);let U=t[c+1]+g;y>=4294967296&&U++,t[c]=y,t[c+1]=U}function b(t,c){return t[c]^t[c+1]<<8^t[c+2]<<16^t[c+3]<<24}function d(t,c,o,g,y,U){const ne=w[y],te=w[y+1],oe=w[U],ie=w[U+1];r(a,t,c),n(a,t,ne,te);let k=a[g]^a[t],E=a[g+1]^a[t+1];a[g]=E,a[g+1]=k,r(a,o,g),k=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=k>>>24^E<<8,a[c+1]=E>>>24^k<<8,r(a,t,c),n(a,t,oe,ie),k=a[g]^a[t],E=a[g+1]^a[t+1],a[g]=k>>>16^E<<16,a[g+1]=E>>>16^k<<16,r(a,o,g),k=a[c]^a[o],E=a[c+1]^a[o+1],a[c]=E>>>31^k<<1,a[c+1]=k>>>31^E<<1}const s=new Uint32Array([4089235720,1779033703,2227873595,3144134277,4271175723,1013904242,1595750129,2773480762,2917565137,1359893119,725511199,2600822924,4215389547,528734635,327033209,1541459225]),u=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3],i=new Uint8Array(u.map(function(t){return t*2})),a=new Uint32Array(32),w=new Uint32Array(32);function p(t,c){let o=0;for(o=0;o<16;o++)a[o]=t.h[o],a[o+16]=s[o];for(a[24]=a[24]^t.t,a[25]=a[25]^t.t/4294967296,c&&(a[28]=~a[28],a[29]=~a[29]),o=0;o<32;o++)w[o]=b(t.b,4*o);for(o=0;o<12;o++)d(0,8,16,24,i[o*16+0],i[o*16+1]),d(2,10,18,26,i[o*16+2],i[o*16+3]),d(4,12,20,28,i[o*16+4],i[o*16+5]),d(6,14,22,30,i[o*16+6],i[o*16+7]),d(0,10,20,30,i[o*16+8],i[o*16+9]),d(2,12,22,24,i[o*16+10],i[o*16+11]),d(4,14,16,26,i[o*16+12],i[o*16+13]),d(6,8,18,28,i[o*16+14],i[o*16+15]);for(o=0;o<16;o++)t.h[o]=t.h[o]^a[o]^a[o+16]}const x=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function A(t,c,o,g){if(t===0||t>64)throw new Error("Illegal output length, expected 0 < length <= 64");if(c&&c.length>64)throw new Error("Illegal key, expected Uint8Array with 0 < length <= 64");if(o&&o.length!==16)throw new Error("Illegal salt, expected Uint8Array with length is 16");if(g&&g.length!==16)throw new Error("Illegal personal, expected Uint8Array with length is 16");const y={b:new Uint8Array(128),h:new Uint32Array(16),t:0,c:0,outlen:t};x.fill(0),x[0]=t,c&&(x[1]=c.length),x[2]=1,x[3]=1,o&&x.set(o,32),g&&x.set(g,48);for(let U=0;U<16;U++)y.h[U]=s[U]^b(x,U*4);return c&&(m(y,c),y.c=128),y}function m(t,c){for(let o=0;o<c.length;o++)t.c===128&&(t.t+=t.c,p(t,!1),t.c=0),t.b[t.c++]=c[o]}function l(t){for(t.t+=t.c;t.c<128;)t.b[t.c++]=0;p(t,!0);const c=new Uint8Array(t.outlen);for(let o=0;o<t.outlen;o++)c[o]=t.h[o>>2]>>8*(o&3);return c}function h(t,c,o,g,y){o=o||64,t=e.normalizeInput(t),g&&(g=e.normalizeInput(g)),y&&(y=e.normalizeInput(y));const U=A(o,c,g,y);return m(U,t),l(U)}function f(t,c,o,g,y){const U=h(t,c,o,g,y);return e.toHex(U)}return C={blake2b:h,blake2bHex:f,blake2bInit:A,blake2bUpdate:m,blake2bFinal:l},C}var M,z;function ce(){if(z)return M;z=1;const e=re();function r(l,h){return l[h]^l[h+1]<<8^l[h+2]<<16^l[h+3]<<24}function n(l,h,f,t,c,o){u[l]=u[l]+u[h]+c,u[t]=b(u[t]^u[l],16),u[f]=u[f]+u[t],u[h]=b(u[h]^u[f],12),u[l]=u[l]+u[h]+o,u[t]=b(u[t]^u[l],8),u[f]=u[f]+u[t],u[h]=b(u[h]^u[f],7)}function b(l,h){return l>>>h^l<<32-h}const d=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),s=new Uint8Array([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,14,10,4,8,9,15,13,6,1,12,0,2,11,7,5,3,11,8,12,0,5,2,15,13,10,14,3,6,7,1,9,4,7,9,3,1,13,12,11,14,2,6,5,10,4,0,15,8,9,0,5,7,2,4,10,15,14,1,11,12,6,8,3,13,2,12,6,10,0,11,8,3,4,13,7,5,15,14,1,9,12,5,1,15,14,13,4,10,0,7,6,3,9,2,8,11,13,11,7,14,12,1,3,9,5,0,15,4,8,6,2,10,6,15,14,9,11,3,0,8,12,2,13,7,1,4,10,5,10,2,8,4,7,6,1,5,15,11,9,14,3,12,13,0]),u=new Uint32Array(16),i=new Uint32Array(16);function a(l,h){let f=0;for(f=0;f<8;f++)u[f]=l.h[f],u[f+8]=d[f];for(u[12]^=l.t,u[13]^=l.t/4294967296,h&&(u[14]=~u[14]),f=0;f<16;f++)i[f]=r(l.b,4*f);for(f=0;f<10;f++)n(0,4,8,12,i[s[f*16+0]],i[s[f*16+1]]),n(1,5,9,13,i[s[f*16+2]],i[s[f*16+3]]),n(2,6,10,14,i[s[f*16+4]],i[s[f*16+5]]),n(3,7,11,15,i[s[f*16+6]],i[s[f*16+7]]),n(0,5,10,15,i[s[f*16+8]],i[s[f*16+9]]),n(1,6,11,12,i[s[f*16+10]],i[s[f*16+11]]),n(2,7,8,13,i[s[f*16+12]],i[s[f*16+13]]),n(3,4,9,14,i[s[f*16+14]],i[s[f*16+15]]);for(f=0;f<8;f++)l.h[f]^=u[f]^u[f+8]}function w(l,h){if(!(l>0&&l<=32))throw new Error("Incorrect output length, should be in [1, 32]");const f=h?h.length:0;if(h&&!(f>0&&f<=32))throw new Error("Incorrect key length, should be in [1, 32]");const t={h:new Uint32Array(d),b:new Uint8Array(64),c:0,t:0,outlen:l};return t.h[0]^=16842752^f<<8^l,f>0&&(p(t,h),t.c=64),t}function p(l,h){for(let f=0;f<h.length;f++)l.c===64&&(l.t+=l.c,a(l,!1),l.c=0),l.b[l.c++]=h[f]}function x(l){for(l.t+=l.c;l.c<64;)l.b[l.c++]=0;a(l,!0);const h=new Uint8Array(l.outlen);for(let f=0;f<l.outlen;f++)h[f]=l.h[f>>2]>>8*(f&3)&255;return h}function A(l,h,f){f=f||32,l=e.normalizeInput(l);const t=w(f,h);return p(t,l),x(t)}function m(l,h,f){const t=A(l,h,f);return e.toHex(t)}return M={blake2s:A,blake2sHex:m,blake2sInit:w,blake2sUpdate:p,blake2sFinal:x},M}var j,L;function de(){if(L)return j;L=1;const e=ue(),r=ce();return j={blake2b:e.blake2b,blake2bHex:e.blake2bHex,blake2bInit:e.blake2bInit,blake2bUpdate:e.blake2bUpdate,blake2bFinal:e.blake2bFinal,blake2s:r.blake2s,blake2sHex:r.blake2sHex,blake2sInit:r.blake2sInit,blake2sUpdate:r.blake2sUpdate,blake2sFinal:r.blake2sFinal},j}var Ae=de();export{be as a,we as b,ge as c,Ae as d,pe as f,ye as t};
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/add-gtH78Af8.js","_assets/lit-element-B3y9oplH.js","_assets/all-wallets-Bu4MasoZ.js","_assets/arrow-bottom-circle-Bm7U8Xm5.js","_assets/app-store-geBbzx8r.js","_assets/apple-DbX-KO3Q.js","_assets/arrow-bottom-NgyJiryy.js","_assets/arrow-left-Bx8XJo4p.js","_assets/arrow-right-CpmwAcz3.js","_assets/arrow-top-CXuApiRq.js","_assets/bank-B-AtGavB.js","_assets/browser-GaKxoKgI.js","_assets/card-DY_lirot.js","_assets/checkmark-B_Gn6_T7.js","_assets/checkmark-bold-B4Vhr71f.js","_assets/chevron-bottom-DkjlNWaH.js","_assets/chevron-left-t2d7IYla.js","_assets/chevron-right-BpvBfQlF.js","_assets/chevron-top-DaNUAgN3.js","_assets/chrome-store-BrYSyOan.js","_assets/clock-CM52yIf5.js","_assets/close-CcVztAR5.js","_assets/compass-Dnpz_bMX.js","_assets/coinPlaceholder-A0d_T23w.js","_assets/copy-OgObxpD0.js","_assets/cursor-TGA47xsa.js","_assets/cursor-transparent-ChuRXHZT.js","_assets/desktop-DSYLUYtr.js","_assets/disconnect-DOu0l9hw.js","_assets/discord-DSagmLDU.js","_assets/etherscan-BQWJnhdU.js","_assets/extension-BCceciJ0.js","_assets/external-link-nniZ8T-z.js","_assets/facebook-C8cFHJmd.js","_assets/farcaster-VVYMNsPV.js","_assets/filters-IQcwAHNQ.js","_assets/github-CUGKA0gF.js","_assets/google-ICSz-zKJ.js","_assets/help-circle-DUmb3lur.js","_assets/image-CcAGLSqv.js","_assets/id-CcMBGK0y.js","_assets/info-circle-BRf2hsXl.js","_assets/lightbulb-DxzqU2aA.js","_assets/mail-GTcep6d_.js","_assets/mobile-CxfewOOf.js","_assets/more-B1GNyGbD.js","_assets/network-placeholder-CaAIn0go.js","_assets/nftPlaceholder-CcKWs410.js","_assets/off-AGLeyIW1.js","_assets/play-store-DauY6Xkj.js","_assets/plus-C1iVend5.js","_assets/qr-code-D9x4W1o0.js","_assets/recycle-horizontal-BZndf3A8.js","_assets/refresh-BVUyDU7W.js","_assets/search-CmKy7FIM.js","_assets/send-1nI1S_8r.js","_assets/swapHorizontal-DtPyG-1F.js","_assets/swapHorizontalMedium-BF57TL40.js","_assets/swapHorizontalBold-iZFfQZST.js","_assets/swapHorizontalRoundedBold-KJaF8iLR.js","_assets/swapVertical-BPHOH9K5.js","_assets/telegram-DZ8t7D__.js","_assets/three-dots-RSAQzvrm.js","_assets/twitch-ClCm-_yi.js","_assets/x-CJLl3cK1.js","_assets/twitterIcon-CFdE9cDK.js","_assets/verify-DBW23CTN.js","_assets/verify-filled-hMsYvnXR.js","_assets/wallet-B1K8se3b.js","_assets/walletconnect-BTykUwcd.js","_assets/wallet-placeholder-rTto8m3y.js","_assets/warning-circle-CR5Zi2hc.js","_assets/info-DxBb29bi.js","_assets/exclamation-triangle-DlfV2WT2.js","_assets/reown-logo-oGjjPiPA.js"])))=>i.map(i=>d[i]);
2
- import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-CNlDVTsP.js";import{_ as i}from"./index-V7aSbkHg.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
2
+ import{a as S,i as E,b as f,E as z}from"./lit-element-B3y9oplH.js";import{n as l,e as W,a as H}from"./class-map-CxwNmq0D.js";import{r as b,c as B,e as F}from"./core-BWhmsygd.js";import{_ as i}from"./index-CaGVgZr4.js";import{f as G,n as M}from"./async-directive-BRxn_Py3.js";const h={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:a}){return t.length<=e+r?t:a==="end"?`${t.substring(0,e)}...`:a==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),a=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),s=100-3*Number(n==null?void 0:n.replace("px","")),c=`${s}% ${s}% at 65% 40%`,u=[];for(let p=0;p<5;p+=1){const v=this.tintColor(a,.15*p);u.push(`rgb(${v[0]}, ${v[1]}, ${v[2]})`)}return`
3
3
  --local-color-1: ${u[0]};
4
4
  --local-color-2: ${u[1]};
5
5
  --local-color-3: ${u[2]};