@dcl/shop 1.11.4-34330755340.commit-4c5da2a → 1.11.4-34330779082.commit-8fdf2a9

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 (229) hide show
  1. package/_assets/{Activity-DRCf_V8j.js → Activity-DpToCbIZ.js} +6 -6
  2. package/_assets/{AnimatedBackground-CNwQBSdj.js → AnimatedBackground-BRSUcK1E.js} +6 -6
  3. package/_assets/{Assets-Breg43S7.js → Assets-CTH-QQLc.js} +11 -11
  4. package/_assets/{Authorizations-CVplRpFZ.js → Authorizations-mgaZpALb.js} +2 -2
  5. package/_assets/{Cart-DlC51q4G.js → Cart-DP4Z9yiR.js} +2 -2
  6. package/_assets/{Collection-CCHQxeoP.js → Collection-DjyaTSID.js} +2 -2
  7. package/_assets/{CollectionCarousel-CRgsJHTt.js → CollectionCarousel-C1b3Ywcy.js} +3 -3
  8. package/_assets/{Confetti-DhcAB66t.js → Confetti-DWkCDK0l.js} +4 -4
  9. package/_assets/{ConstantsUtil-Bc8ZENJS.js → ConstantsUtil-Deyr_8Ca.js} +2 -2
  10. package/_assets/{ContentClient-BR3O-dz-.js → ContentClient-D5eeAn9y.js} +2 -2
  11. package/_assets/{Creator-D6AxBjVr.js → Creator-BwiOn6cH.js} +2 -2
  12. package/_assets/{DeploymentBuilder-DTpFRv06.js → DeploymentBuilder-C0k7s2u1.js} +2 -2
  13. package/_assets/{EmotePlaybackBar-Bj0QGFtA.js → EmotePlaybackBar-cRlhO2Gv.js} +3 -3
  14. package/_assets/{ErrorNotice-eAB2mf8G.js → ErrorNotice-BcG-BWik.js} +2 -2
  15. package/_assets/{ExchangeController-CViDUXgk.js → ExchangeController-DaRXavjG.js} +2 -2
  16. package/_assets/{Faq-D7EoniZe.js → Faq-BnOGw9lQ.js} +2 -2
  17. package/_assets/{GetCredits-BiZyuOxA.js → GetCredits-BaG1cYvG.js} +2 -2
  18. package/_assets/{Grow-BJRmqVss.js → Grow-COJCdK_q.js} +2 -2
  19. package/_assets/{HelpersUtil-fOtPATWF.js → HelpersUtil-DuEcdT6Z.js} +2 -2
  20. package/_assets/{ItemDetail-CjQ-qlyH.js → ItemDetail-BbfWuG6D.js} +2 -2
  21. package/_assets/{LoadMore-rgSX43zJ.js → LoadMore-BYY2xQta.js} +2 -2
  22. package/_assets/{ManaPricingBanner.styles-Bcq6Q2Lg.js → ManaPricingBanner.styles-BQ4Eym7v.js} +2 -2
  23. package/_assets/{MyAssets-DGS5gPgZ.js → MyAssets-DhHuuqPf.js} +2 -2
  24. package/_assets/{MyFavorites-B0EsSaA2.js → MyFavorites-C2KHMwJf.js} +2 -2
  25. package/_assets/{NetworkUtil-BbsY4Mve.js → NetworkUtil-D8Er_Hzp.js} +2 -2
  26. package/_assets/{NotFound-FSguaqTy.js → NotFound-C6tEjlD1.js} +2 -2
  27. package/_assets/{NotificationsBell-tEFHHtee.js → NotificationsBell-SohQTwi4.js} +2 -2
  28. package/_assets/{OutfitDetail-C67orJX1.js → OutfitDetail-zlrEZ8nK.js} +2 -2
  29. package/_assets/{OutfitPreview-BK0MLalY.js → OutfitPreview-BIPPEOMn.js} +2 -2
  30. package/_assets/{OutfitStudio-DpXJWOFr.js → OutfitStudio-BzUbr5zj.js} +2 -2
  31. package/_assets/{StoreSettings-CZZWzwEj.js → StoreSettings-ca1gaOoN.js} +22 -22
  32. package/_assets/{Success-KVzo5oNb.js → Success-B6CEBE2b.js} +2 -2
  33. package/_assets/{SwapController-CrS3gfux.js → SwapController-CyGEcR99.js} +2 -2
  34. package/_assets/{TradeService-gxjRtfgx.js → TradeService-BxdHjh7g.js} +2 -2
  35. package/_assets/{W3MFrameProviderSingleton-zWurCQ13.js → W3MFrameProviderSingleton-Cibnduoj.js} +4 -4
  36. package/_assets/{WebCryptoP256-D_WY5cUr.js → WebCryptoP256-BTLtH02m.js} +2 -2
  37. package/_assets/{authorizations-yUkSkXRy.js → authorizations-BecodrDo.js} +2 -2
  38. package/_assets/{basic-Lc7Q9WN0.js → basic-D5Zzdim_.js} +2 -2
  39. package/_assets/{biconomy-CbxUDlFR.js → biconomy-BzlMZm1E.js} +2 -2
  40. package/_assets/{browseLayout.styles-DM8FrsAY.js → browseLayout.styles-CZYDGDbS.js} +2 -2
  41. package/_assets/{browser-DhkzJWb-.js → browser-D5XbKB0y.js} +2 -2
  42. package/_assets/{browser-ponyfill-GvcqhA9j.js → browser-ponyfill-C4ZiObs_.js} +2 -2
  43. package/_assets/{builder-Di7UQrcd.js → builder-DkPkAE61.js} +2 -2
  44. package/_assets/{buy-CaXgigZm.js → buy-Cqdio8Ra.js} +2 -2
  45. package/_assets/{buy-gasless-BFRClab8.js → buy-gasless-CDboh7rd.js} +2 -2
  46. package/_assets/{categories-x0LxWMaw.js → categories-4mYyavGK.js} +2 -2
  47. package/_assets/{ccip-RhBSdFQt.js → ccip-DHBAIq-i.js} +2 -2
  48. package/_assets/{ccip-CteycFIA.js → ccip-Dk8KaQUf.js} +2 -2
  49. package/_assets/{chains-ClZfou6O.js → chains-DfA2DSLD.js} +2 -2
  50. package/_assets/collectionPage.styles-Bn9_Blus.js +41 -0
  51. package/_assets/{common-BqNA1PA_.js → common-j9Xx6d51.js} +2 -2
  52. package/_assets/{controller-BNfrMO2v.js → controller-DNN9Eroo.js} +3 -3
  53. package/_assets/{core-D3laOFU8.js → core-D-olBSq6.js} +5 -5
  54. package/_assets/{createSvgIcon-DsOwumYG.js → createSvgIcon-C4HidZrf.js} +2 -2
  55. package/_assets/{crumbs.styles-Dns3H6KH.js → crumbs.styles-BGS1Wh99.js} +2 -2
  56. package/_assets/{custom-DvqxFg43.js → custom-D_OXDxDK.js} +2 -2
  57. package/_assets/{data-capture-DWTNYqAv.js → data-capture-CbLAtb0K.js} +2 -2
  58. package/_assets/{dcl-schemas-CYFlJVvx.js → dcl-schemas-DZWWUlpc.js} +2 -2
  59. package/_assets/{decimals-CWZglV1r.js → decimals-DhXYg2eO.js} +2 -2
  60. package/_assets/{decimals-BqOjteSG.js → decimals-l1zW93fb.js} +2 -2
  61. package/_assets/{detectExtension-C0DVwQa6.js → detectExtension-Mos6Tv0O.js} +2 -2
  62. package/_assets/{disposePreview-YZtbe6NB.js → disposePreview-lw53ZRQq.js} +2 -2
  63. package/_assets/{email-AL8Q9MQH.js → email-CckP_7uj.js} +2 -2
  64. package/_assets/{embedded-wallet-B2n1YPgU.js → embedded-wallet-DCXUm_0R.js} +2 -2
  65. package/_assets/{emotion-styled.browser.esm-BcivQfMo.js → emotion-styled.browser.esm-CLa9FblH.js} +2 -2
  66. package/_assets/{engine-LXrtSebh.js → engine-B8xSdLcT.js} +2 -2
  67. package/_assets/{errors-BmGOLwXR.js → errors-B9pZe1eE.js} +2 -2
  68. package/_assets/{estimate-l1-fee-oDcsm--P.js → estimate-l1-fee-BP4tqO4A.js} +2 -2
  69. package/_assets/{eth_estimateGas-k0T_D8gg.js → eth_estimateGas-Cm8q_ozB.js} +2 -2
  70. package/_assets/{eth_getStorageAt-DF5y2Y-2.js → eth_getStorageAt-4sBaRitw.js} +2 -2
  71. package/_assets/{eth_getTransactionCount-DMEudqbU.js → eth_getTransactionCount-DhTxG1sZ.js} +2 -2
  72. package/_assets/{ethereum-B2Iv7eak.js → ethereum-wy_C_e-e.js} +2 -2
  73. package/_assets/{ethers-BBAs0QYn.js → ethers-DJUCOS0G.js} +2 -2
  74. package/_assets/{events-TOgSY-jZ.js → events-DwoGvwvi.js} +2 -2
  75. package/_assets/{execute-CfolF4tf.js → execute-BEPL_olu.js} +3 -3
  76. package/_assets/{extractIPFS-Bo_FXEQq.js → extractIPFS-BYwmy6xi.js} +2 -2
  77. package/_assets/{features-tPBSVP_-.js → features-CRaIG5it.js} +2 -2
  78. package/_assets/{fetchTokenMetadata-GDjrgokj.js → fetchTokenMetadata-BDq92ctH.js} +3 -3
  79. package/_assets/{field.styles-DQt3sZ-2.js → field.styles-mq3WpK4Q.js} +2 -2
  80. package/_assets/{fortmatic-iy8V2PTj.js → fortmatic-lVZ-8wTh.js} +2 -2
  81. package/_assets/{get-bytecode-DLXcfFW8.js → get-bytecode-BzJdUtK6.js} +2 -2
  82. package/_assets/{get-ecosystem-wallet-info-jpD9S3n5.js → get-ecosystem-wallet-info-BnTn3tuH.js} +2 -2
  83. package/_assets/{getBalance-1DL49ehn.js → getBalance-D7kYeX9p.js} +3 -3
  84. package/_assets/{getInstalledModules-Fnk2spfz.js → getInstalledModules-Be_lOIni.js} +2 -2
  85. package/_assets/{getNFT-Dj7Fppah.js → getNFT-ApQVUepP.js} +2 -2
  86. package/_assets/{getNFT-Bdy8xcEV.js → getNFT-m7zJLtlN.js} +3 -3
  87. package/_assets/{grid.styles-B47qgHd8.js → grid.styles-D0oDiwSg.js} +2 -2
  88. package/_assets/{hashTypedData-MIVcPMAs.js → hashTypedData-BJiRaOMn.js} +2 -2
  89. package/_assets/{hashTypedData-C2aRrD_p.js → hashTypedData-Cx8X09G7.js} +2 -2
  90. package/_assets/{in-app-D2fqeCVl.js → in-app-DMpcEulA.js} +2 -2
  91. package/_assets/{in-app-wallet-calls-CDX3G9SG.js → in-app-wallet-calls-9rPKLQtq.js} +2 -2
  92. package/_assets/{index-ZragHeMH.js → index-1rMYynxj.js} +2 -2
  93. package/_assets/{index-B-hPzIJU.js → index-3Z9XTnC9.js} +2 -2
  94. package/_assets/{index-B6e30h0U.js → index-51w7zA3y.js} +2 -2
  95. package/_assets/{index-DgPmTEff.js → index-B-O-iSaZ.js} +4 -4
  96. package/_assets/{index-Cguxwd2W.js → index-B5DeG2e7.js} +2 -2
  97. package/_assets/{index-BrfVVHUX.js → index-BGcdLyH0.js} +2 -2
  98. package/_assets/{index-DmfdCnkG.js → index-BIrswlBI.js} +2 -2
  99. package/_assets/{index-DeI7hXkz.js → index-BL9L1xgM.js} +2 -2
  100. package/_assets/{index-B26jXw0s.js → index-BM1_FO9D.js} +2 -2
  101. package/_assets/{index-B5Bmxi3c.js → index-BR0CZ690.js} +2 -2
  102. package/_assets/{index-Ck4xBW5h.css → index-B_andHoV.css} +1 -1
  103. package/_assets/{index-CdSo96Uk.js → index-Bjv1e3vN.js} +2 -2
  104. package/_assets/{index-hdL756r4.js → index-BkpfJu6V.js} +2 -2
  105. package/_assets/{index-mmjMOR4z.js → index-BoKbwR_r.js} +2 -2
  106. package/_assets/{index-CWcRZlhT.js → index-BpKPiWxn.js} +2 -2
  107. package/_assets/{index-CNr9_zUf.js → index-Bscjzc5z.js} +2 -2
  108. package/_assets/{index-D1xWVBBb.js → index-BuwGlurQ.js} +2 -2
  109. package/_assets/{index-BWd_wyUd.js → index-C3n5ChIR.js} +2 -2
  110. package/_assets/{index-Cw4s9O4h.js → index-C4DntI1J.js} +3 -3
  111. package/_assets/{index-EXGFP6I5.js → index-C5IBoXE1.js} +2 -2
  112. package/_assets/{index-MzrRjDw7.js → index-CAjS0Vs4.js} +2 -2
  113. package/_assets/{index-Bi2IASuv.js → index-CDh_9_X-.js} +4 -4
  114. package/_assets/{index-BFBsbfik.js → index-CHI0Knx9.js} +2 -2
  115. package/_assets/{index-DmKKGRfi.js → index-CN1zRQ1i.js} +12 -12
  116. package/_assets/{index-BUkDBITs.js → index-CTJD7tUJ.js} +2 -2
  117. package/_assets/{index-BsCh6yjO.js → index-CVsfNc10.js} +2 -2
  118. package/_assets/{index-8y_ltAyl.js → index-CXZW84Cs.js} +2 -2
  119. package/_assets/{index-BvsTwqgT.js → index-CXnU2F03.js} +2 -2
  120. package/_assets/{index-Cdb9mkqp.js → index-Cc_S3ZhT.js} +3 -3
  121. package/_assets/{index-CCzh9m8m.js → index-CcdNna6a.js} +2 -2
  122. package/_assets/{index-ZudSGo1L.js → index-CgvdsJvs.js} +2 -2
  123. package/_assets/{index-CY6k2AHb.js → index-CkiOym1O.js} +2 -2
  124. package/_assets/{index-BY6B7Lah.js → index-ClClGIRW.js} +2 -2
  125. package/_assets/{index-BsTBaJm1.js → index-CmtAocwJ.js} +2 -2
  126. package/_assets/{index-De5QStxz.js → index-CnzF0Try.js} +2 -2
  127. package/_assets/{index-B2KNqYK4.js → index-CxbHNpxt.js} +2 -2
  128. package/_assets/{index-C0QkGrFS.js → index-D32-J57d.js} +2 -2
  129. package/_assets/{index-V3lp2VNC.js → index-D3H_tNTr.js} +2 -2
  130. package/_assets/{index-8TwkKO9C.js → index-D55K4OZP.js} +3 -3
  131. package/_assets/{index-D6Uk06h9.js → index-D7kyxeG_.js} +3 -3
  132. package/_assets/{index-Dr-J_p6l.js → index-D9E_CUid.js} +2 -2
  133. package/_assets/{index-BOF6vdL_.js → index-DH2hU8Ey.js} +2 -2
  134. package/_assets/{index-BjmHnvMj.js → index-DHAHjMSk.js} +2 -2
  135. package/_assets/{index-BYbHwjg0.js → index-DKBiuJ55.js} +2 -2
  136. package/_assets/{index-DejKj3JX.js → index-DMSh57xF.js} +2 -2
  137. package/_assets/{index-B-cyKcpV.js → index-DTYeBZsX.js} +2 -2
  138. package/_assets/{index-DMLoHJlb.js → index-DVJRyVsT.js} +2 -2
  139. package/_assets/{index-BJEUsETQ.js → index-DYpywMbL.js} +2 -2
  140. package/_assets/{index-opYge7ed.js → index-DbRbajfo.js} +2 -2
  141. package/_assets/{index-Dg9MeZq-.js → index-Dc6ajloQ.js} +2 -2
  142. package/_assets/{index-Dy5DvQuF.js → index-Dedae21y.js} +2 -2
  143. package/_assets/{index-BjxUtmmv.js → index-DgOyPqEZ.js} +2 -2
  144. package/_assets/{index-BUgPaEYS.js → index-DiFFcYZ6.js} +4 -4
  145. package/_assets/{index-LR3PTp37.js → index-DmUCEUKL.js} +2 -2
  146. package/_assets/{index-DzaIFHoV.js → index-DqjmmASe.js} +2 -2
  147. package/_assets/{index-DFwk8xzt.js → index-Dt0q0Chl.js} +2 -2
  148. package/_assets/{index-31LVJQaq.js → index-DwvyUpl5.js} +2 -2
  149. package/_assets/{index-Bbru3l1o.js → index-Dx9931Ye.js} +2 -2
  150. package/_assets/{index-Cz6nP5C1.js → index-EYufMG1S.js} +2 -2
  151. package/_assets/{index-IlMyHasJ.js → index-RcpDZrHX.js} +2 -2
  152. package/_assets/{index-BVpOJMQI.js → index-Yr0m3IJj.js} +2 -2
  153. package/_assets/{index-xb-vrPqz.js → index-_RY0sUV6.js} +2 -2
  154. package/_assets/{index-tat56-rt.js → index-cpHWXV-l.js} +2 -2
  155. package/_assets/{index-DbOD4plL.js → index-e8mRHGUz.js} +2 -2
  156. package/_assets/{index-DfoNdslD.js → index-g_67FX_q.js} +2 -2
  157. package/_assets/{index-hnOhBIbg.js → index-r5opYGkp.js} +2 -2
  158. package/_assets/{index-BFKnLFOn.js → index-xHjDdH9Y.js} +2 -2
  159. package/_assets/{index-COniWQ1k.js → index-zKAF_RHG.js} +2 -2
  160. package/_assets/{index.es-kgAnr-hD.js → index.es-CK-Qzd4I.js} +2 -2
  161. package/_assets/{index.es-DqmmRuge.js → index.es-CMTkrcXW.js} +2 -2
  162. package/_assets/{index.es-BWeDuiDW.js → index.es-CwC7drlb.js} +5 -5
  163. package/_assets/{index.es-DQAV0bq_.js → index.es-SENbpLFn.js} +2 -2
  164. package/_assets/{items-empty-CPmxCalI.js → items-empty-l6tQIo4_.js} +2 -2
  165. package/_assets/{jump-BX4F1ixJ.js → jump-DQCqdw7D.js} +2 -2
  166. package/_assets/{linkAccount-BjcaHV9k.js → linkAccount-C3Ulpl1b.js} +2 -2
  167. package/_assets/{localBatchGatewayRequest-DU1EFmwN.js → localBatchGatewayRequest-DmTdLIDB.js} +2 -2
  168. package/_assets/{native-C4KiryBT.js → native-BA9apaes.js} +2 -2
  169. package/_assets/{networks-BoWSE0CG.js → networks-BfMqeWTE.js} +2 -2
  170. package/_assets/{onramp-DpIqufjz.js → onramp-CMJXQ54i.js} +2 -2
  171. package/_assets/{openzeppelin-SRgTXzCG.js → openzeppelin-B7vrNZNU.js} +2 -2
  172. package/_assets/{ownerOf-BKcpG1lg.js → ownerOf-TsNR1U-H.js} +2 -2
  173. package/_assets/{parseNft-BYf1KQCE.js → parseNft-BZRKfrCz.js} +3 -3
  174. package/_assets/{parseSignature-CzdEtOMi.js → parseSignature-CaAjwrgY.js} +4 -4
  175. package/_assets/{parseSignature-BUO5UXnR.js → parseSignature-cm5SWhic.js} +2 -2
  176. package/_assets/{passkeys-DtHiHhFG.js → passkeys-UN7cT3GB.js} +2 -2
  177. package/_assets/{pay-with-exchange-dR0ZZzOs.js → pay-with-exchange-BLCv_1ec.js} +2 -2
  178. package/_assets/{prepare-contract-call-B9bbrQ1r.js → prepare-contract-call-vC-oiqTn.js} +2 -2
  179. package/_assets/{qr-overlay-B2Yod9tN.js → qr-overlay--YQR9wzN.js} +4 -4
  180. package/_assets/{react-0mIt9LQV.js → react-eG9s-ikt.js} +15 -15
  181. package/_assets/{receive-B_LDjpWT.js → receive-Bthy8BTQ.js} +2 -2
  182. package/_assets/{resolveImplementation-wwgTyhi3.js → resolveImplementation-DmJB7mI8.js} +2 -2
  183. package/_assets/{resume-buy-DrJAbUTR.js → resume-buy-wzFBA8A9.js} +2 -2
  184. package/_assets/{rpc-COMqWydE.js → rpc-j8NkAc8J.js} +2 -2
  185. package/_assets/{sales-empty-jPRTFzEI.js → sales-empty-7Xtkten6.js} +2 -2
  186. package/_assets/{search-empty-BwD3aFk3.js → search-empty-Pjx25Xu9.js} +2 -2
  187. package/_assets/{secp256k1-Cm2N_5VQ.js → secp256k1-C8bwDj2V.js} +2 -2
  188. package/_assets/{secp256k1-C140OLmW.js → secp256k1-ChWXoCcU.js} +2 -2
  189. package/_assets/{secp256k1-DPT0HOUB.js → secp256k1-zN2UnWbU.js} +2 -2
  190. package/_assets/{send-BNb_0ma4.js → send-BhulNxLo.js} +2 -2
  191. package/_assets/{send-batch-transaction-BvPygDJg.js → send-batch-transaction-CaXgYOPU.js} +2 -2
  192. package/_assets/{send-eip712-transaction-LEajh_c9.js → send-eip712-transaction-Dwf_fJ6n.js} +3 -3
  193. package/_assets/{send-gasless-transaction-D8i_rgiB.js → send-gasless-transaction-D7yIu7mK.js} +3 -3
  194. package/_assets/{send-transaction-BWPqQ9XV.js → send-transaction-7WB8rDjl.js} +3 -3
  195. package/_assets/{sendMetaTransaction-BzAQA1OL.js → sendMetaTransaction-B4zeTJ1F.js} +2 -2
  196. package/_assets/{sendRawTransaction-Duu0y4xz.js → sendRawTransaction-CQF1vWoJ.js} +4 -4
  197. package/_assets/{sentry-CKChyG79.js → sentry-OF5uNXQc.js} +3 -3
  198. package/_assets/{serializeTransaction-lpCmHHuk.js → serializeTransaction-1Fi5L9jh.js} +2 -2
  199. package/_assets/{session-proposal-DuSh-0Lq.js → session-proposal-B3svaH2K.js} +2 -2
  200. package/_assets/{session-request-oKgZgmaa.js → session-request-Cjzmq0N2.js} +3 -3
  201. package/_assets/{sha256-BneaF0gP.js → sha256-Dskzr2GQ.js} +2 -2
  202. package/_assets/{signing-CBedvuTQ.js → signing-CBi9TSQO.js} +4 -4
  203. package/_assets/{skeleton.styles-BB1rYHe0.js → skeleton.styles-DZ-Bts1z.js} +2 -2
  204. package/_assets/{socials-BGw6sZtV.js → socials-ClFelqKN.js} +2 -2
  205. package/_assets/{styled-DrYAQYK2.js → styled-FFFsZGvr.js} +2 -2
  206. package/_assets/{swaps-DELTFDWf.js → swaps-CusXDOTo.js} +2 -2
  207. package/_assets/{thirdweb--WFa5Xuh.js → thirdweb-DcG17bre.js} +4 -4
  208. package/_assets/{to-serializable-transaction-yVI_AUTW.js → to-serializable-transaction-C1GotTMW.js} +3 -3
  209. package/_assets/{totalSupply-BKdQlrzY.js → totalSupply-cjfI-APk.js} +2 -2
  210. package/_assets/{transaction-CC5ZJqdK.js → transaction-DgXGC_Rl.js} +2 -2
  211. package/_assets/{transactionReceipt-B5X3o0Yp.js → transactionReceipt-A1VImIbx.js} +2 -2
  212. package/_assets/{transactions-CEv4IKFR.js → transactions-IaA1jDfD.js} +2 -2
  213. package/_assets/{useCreditPacks-I5l5wDFg.js → useCreditPacks-BnVOZp5T.js} +2 -2
  214. package/_assets/{useInfiniteGrid-Cq6ZcxC8.js → useInfiniteGrid-HWyYzOcH.js} +2 -2
  215. package/_assets/{useStore-DPvDAU57.js → useStore-Cg1QS9op.js} +3 -3
  216. package/_assets/{useTheme-DgBomaqm.js → useTheme-DK8nrC7U.js} +2 -2
  217. package/_assets/{utils-rxJPZS34.js → utils-X5L-w3dU.js} +2 -2
  218. package/_assets/{verifyHash-DrWFJwPQ.js → verifyHash-qUYXq2BL.js} +2 -2
  219. package/_assets/{w3m-modal-DBLKw4DH.js → w3m-modal-Dx6Kld0X.js} +2 -2
  220. package/_assets/{w3m-modal-CEsqehws.js → w3m-modal-eyWsnXMQ.js} +2 -2
  221. package/_assets/{wait-for-tx-receipt-BtnzNMYw.js → wait-for-tx-receipt-B9RNBV2R.js} +2 -2
  222. package/_assets/{wallets-CWuLLTVC.js → wallets-BmDISs1g.js} +6 -6
  223. package/_assets/{web-connector-CsSxEZfn.js → web-connector-DEfUBkEi.js} +4 -4
  224. package/_assets/{writeContract-Yin_ZXn7.js → writeContract-CKhH9fbh.js} +2 -2
  225. package/_assets/{zora-sepolia-CmraCPUc.js → zora-sepolia-ubUNwEvI.js} +2 -2
  226. package/_assets/{zoraTestnet-CfehK1Cq.js → zoraTestnet-Chkgmqp2.js} +2 -2
  227. package/index.html +11 -11
  228. package/package.json +2 -2
  229. package/_assets/collectionPage.styles-DWO8bumM.js +0 -41
@@ -1,2 +1,2 @@
1
- import{r as i,j as e,R as Re}from"./react-0mIt9LQV.js";import{n as K}from"./dcl-schemas-CYFlJVvx.js";import{c as j}from"./index-Dg9MeZq-.js";import{n,S as We}from"./emotion-styled.browser.esm-BcivQfMo.js";import{n as ie,cb as se,cc as C,cd as l}from"./index-DmKKGRfi.js";import"./styled-DrYAQYK2.js";import"./sentry-CKChyG79.js";import"./ethers-BBAs0QYn.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="dbaaa50a-17e2-403d-ba84-d18cded6d220",t._sentryDebugIdIdentifier="sentry-dbid-dbaaa50a-17e2-403d-ba84-d18cded6d220")}catch{}})();function y(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Fe=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),De=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Ne=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),me=i.memo(function(o){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ue=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),le=i.memo(function(o){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ze=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Be=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(o){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"currentColor"})})});const ae=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Te=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),_e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),$e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),Pe=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Ge=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ke=new Set([1,5,42,4,3,11155111]),Ye=new Set([137,80002,80001]),Xe={56:$e,10:ze,42161:_e,250:Ge,43114:Pe};function de({chainId:t,...o}){const r=Xe[t];return r?e.jsx(r,{...o}):Ke.has(t)?e.jsx(ae,{...o}):Ye.has(t)?e.jsx(Te,{...o}):e.jsx(ae,{...o})}const be=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),ve=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"currentColor"})})}),qe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),Je={signIn:"SIGN IN",signingIn:"SIGNING IN...",discover:"Discover",events:"Events",places:"Places",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Qe(){const t=j.get("SHOP_URL"),o=j.get("BUILDER_URL"),r=j.get("EVENTS_URL"),u=j.get("PLACES_URL"),m=j.get("CREATE_URL"),w=j.get("BLOG_URL"),b=j.get("MARKETPLACE_LANDS_URL");return{discover:{label:"discover",items:[{label:"events",url:r},{label:"places",url:u}]},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:b},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:m},{label:"publishWearablesEmotes",url:`${o}/collections`},{label:"publishLand",url:`${o}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:w}}}let te=null;function we(){return te||(te=Qe()),te}let oe=null;function et(){return oe||(oe=[{label:"viewProfile",url:j.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:j.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:j.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:j.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),oe}const Le=["discover","shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",f="@media (min-width: 992px)",tt={navbar:1100},ot="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",Y="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",X="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",H=({palette:t}={})=>{var o;return((o=t==null?void 0:t._components)==null?void 0:o.navbar)??((t==null?void 0:t.mode)==="light"?se.light:se.dark)},ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),q=ie({from:{opacity:0},to:{opacity:1}}),nt=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),it=n("nav")(({theme:t})=>{const o=H(t);return{position:"fixed",top:0,left:0,right:0,zIndex:tt.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:o.backdropMobile,boxShadow:ot,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[f]:{height:92,padding:"16px 54px","&::before":{background:o.backdropDesktop}}}}),rt=n("div")({display:"flex",alignItems:"center",[A]:{gap:12},[f]:{gap:48},"& .mobile-only":{display:"flex",[f]:{display:"none"}},"& .desktop-only":{display:"none",[f]:{display:"flex"}}}),st=n("div")({display:"flex",alignItems:"center",gap:16,[f]:{gap:48}}),lt=n("div")({display:"flex",alignItems:"center",gap:12,[f]:{gap:24}}),at=n("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),dt=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:o.overlay,borderRadius:8,color:o.textStrong,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:o.overlayHover},"&:active":{backgroundColor:o.overlayActive},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[f]:{display:"none"}}}),ct=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${o.signInBorder}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:o.signInText,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:o.overlaySoft,borderColor:o.signInBorderHover},"&:active":{backgroundColor:o.signInActive},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}}),pt=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[f]:{display:"none"}})),ut=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?X:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[f]:{display:"none"}})),ce=n("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),ht=n("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,textDecoration:"none","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ft=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,cursor:"pointer","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),xt=n("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),gt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none","&:hover":{color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:o,onClose:r,i18n:u}){const m=we(),[w,b]=i.useState(null),s=i.useCallback(h=>{b(a=>a===h?null:h)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(pt,{open:o,onClick:r}),e.jsxs(ut,{open:o,role:"navigation","aria-label":"Mobile navigation",children:[Le.map(h=>{var d;const a=m[h],x=w===h;return e.jsxs(ce,{children:[e.jsxs(ft,{onClick:()=>s(h),"aria-expanded":x,children:[u[a.label],x?e.jsx(Ne,{}):e.jsx(re,{})]}),e.jsx(xt,{open:x,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(gt,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[u[c.label],c.isExternal&&e.jsx(me,{})]},c.label))})]},h)}),e.jsx(ce,{children:e.jsx(ht,{href:m.learn.url,children:u[m.learn.label]})})]})]})});Ie.displayName="MobileMenu";const Ct=n("div")({display:"none",[f]:{display:"flex",alignItems:"center",gap:24}}),Me=t=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:o.text,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:o.textStrong,backgroundColor:o.overlaySoft,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:o.textStrong,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}},mt=n("button")(({theme:t})=>({...Me(t),"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}})),bt=n("a")(({theme:t})=>Me(t)),vt=n(mt)({paddingRight:16}),wt=n("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),Lt=n("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,padding:12,animation:`${q} 0.15s ease forwards`}),jt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Se=i.memo(function({desktopDropdown:o,onOpenDropdown:r,onScheduleCloseDropdown:u,activePage:m,i18n:w}){const b=we();return e.jsxs(Ct,{children:[Le.map(s=>{var h;return e.jsxs(wt,{onMouseEnter:()=>r(s),onMouseLeave:u,children:[e.jsxs(vt,{className:m===s?"active":void 0,"aria-expanded":o===s,"aria-haspopup":"true",onClick:()=>{var x;const a=(x=b[s].items)==null?void 0:x[0];a&&window.open(a.url,"_self")},children:[w[b[s].label],e.jsx(re,{style:{transform:o===s?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),o===s&&e.jsx(Lt,{children:(h=b[s].items)==null?void 0:h.map(a=>e.jsxs(jt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(me,{})]},a.label))})]},s)}),e.jsx(bt,{href:b.learn.url,className:m==="learn"?"active":void 0,children:w[b.learn.label]})]})});Se.displayName="NavLinks";const kt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[f]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),yt=n("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),It=n("div")({position:"relative"}),Mt=n("div")({position:"fixed",top:92,right:54,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,display:"none",padding:12,gap:24,animation:`${q} 0.15s ease forwards`,minWidth:484,[f]:{display:"flex"}}),St=n("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),At=n("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=n("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Et=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ht=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),Rt=n("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),Wt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ft=n("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:l.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=n("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Dt=n("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Nt=n("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Ut=n("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:X,padding:"24px 12px",animation:`${q} 0.15s ease forwards`,[f]:{display:"none"}}),Zt=n("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Vt=n("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Bt=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Ot=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Tt=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),_t=n("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),zt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),$t=n("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:l.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),Pt=n("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),Gt=n("div")({display:"flex",alignItems:"center",gap:6}),ue=n("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),he=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),Kt=n("div")({position:"relative"}),Yt=n("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:l.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Xt=n("div")({width:16,height:16,display:"flex",flexShrink:0}),qt=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Jt={account:Ze,wearable:Ve,settings:Be,shopping:Oe},Qt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Qt}${t}`}}const eo={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return eo[t]??`Chain ${t}`}const Ae=i.memo(function({isLoadingProfile:o,address:r,avatar:u,userCardOpen:m,onToggleUserCard:w,onClickSignOut:b,selectedChain:s,chains:h,onSelectChain:a,manaBalances:x,onClickBalance:d,i18n:c}){var O,P,G,S;const L=fe((P=(O=u==null?void 0:u.avatar)==null?void 0:O.snapshots)==null?void 0:P.face256),[R,J]=i.useState(),[U,T]=i.useState(!1);i.useEffect(()=>{T(!1)},[L]);const Q=L?R===L:!1,W=fe((S=(G=u==null?void 0:u.avatar)==null?void 0:G.snapshots)==null?void 0:S.body),Z=(u==null?void 0:u.name)||(r?`${r.slice(0,6)}...${r.slice(-4)}`:""),_=r?`${r.slice(0,6)}...${r.slice(-4)}`:"",[k,I]=i.useState(!1),[V,z]=i.useState(!1),M=i.useCallback(()=>{r&&navigator.clipboard.writeText(r).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[r]),ee=i.useCallback(p=>{p!==s&&(a==null||a(p)),z(!1)},[s,a]),F=s!==void 0&&h&&h.length>0||x&&Object.keys(x).length>0,B=()=>F?e.jsxs(Pt,{children:[x&&e.jsxs(Gt,{children:[x.ETHEREUM!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.ETHEREUM),children:[e.jsx(be,{}),e.jsx(he,{children:y(x.ETHEREUM)})]}),x.MATIC!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.MATIC),children:[e.jsx(ve,{}),e.jsx(he,{children:y(x.MATIC)})]})]}),s!==void 0&&h&&h.length>0&&e.jsxs(Kt,{children:[e.jsxs(Yt,{onClick:()=>z(p=>!p),children:[e.jsx(Xt,{children:e.jsx(de,{chainId:s})}),e.jsx(qt,{children:xe(s)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:V?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),V&&e.jsx($t,{role:"listbox","aria-label":"Select chain",children:h.map(p=>{const v=p===s;return e.jsxs(Nt,{selected:v,role:"option","aria-selected":v,onClick:()=>ee(p),children:[e.jsx(de,{chainId:p}),xe(p)]},p)})})]})]}):null,D=()=>!L||U?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(yt,{src:L,alt:"",onLoad:()=>J(L),onError:()=>T(!0),style:{opacity:Q?1:0}}),$=()=>e.jsxs(e.Fragment,{children:[et().map(p=>{const v=Jt[p.icon];return e.jsxs(Ft,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Dt,{onClick:b,children:[e.jsx(Ue,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(It,{children:[e.jsx(kt,{onClick:w,"aria-label":"User menu","aria-expanded":m,"aria-haspopup":"true",className:o?"loading":void 0,children:!o&&D()}),m&&e.jsxs(Mt,{onClick:p=>p.stopPropagation(),children:[e.jsx(St,{children:W?e.jsx(At,{src:W,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Et,{title:Z,children:Z}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(Ht,{children:c.walletAddress}),e.jsxs(Rt,{children:[k?c.addressCopied:_,e.jsx(Wt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]})]}),B()]}),e.jsx(ne,{}),$()]})]})]}),m&&e.jsxs(Ut,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Zt,{children:[e.jsx(Vt,{className:o?"loading":void 0,children:!o&&D()}),e.jsxs(Bt,{children:[e.jsx(Ot,{title:Z,children:Z}),e.jsx(Tt,{children:c.walletAddress}),e.jsxs(_t,{children:[k?c.addressCopied:_,e.jsx(zt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]}),B()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:$()})]})]})});Ae.displayName="UserCardPanel";const to=Re.memo(t=>e.jsxs(We,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ee=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:H(t).creditsAccent,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[f]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}})),oo=n("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),no=n(Ee)(({theme:t})=>({color:H(t).controlText})),io=n("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[f]:{gap:12}}),ge=n("button")(({clickable:t,theme:o})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:H(o).controlText,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[f]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),ro=n("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[f]:{flexDirection:"row",alignItems:"center",gap:24}});function so(t){const o=t-Date.now();return Math.max(0,Math.ceil(o/(1e3*60*60*24)))}const lo=i.memo(function({isSignedIn:o,isSigningIn:r,isLoadingProfile:u=!1,address:m,avatar:w,i18n:b,notificationSlot:s,selectedChain:h,chains:a,onSelectChain:x,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:R,onClickCredits:J,shopCreditsBalance:U,onClickShopCredits:T,activePage:Q,onToggleUserCard:W,onClickSignIn:Z,onClickSignOut:_}){const k={...Je,...b},[I,V]=i.useState(!1),[z,M]=i.useState(null),[ee,F]=i.useState(!1),B=i.useRef(null),D=i.useRef(null),$=i.useCallback(()=>{V(g=>(g||(M(null),F(!1)),!g))},[]),O=i.useCallback(()=>{V(!1)},[]),P=i.useCallback(g=>{D.current&&(clearTimeout(D.current),D.current=null),M(g),F(!1)},[]),G=i.useCallback(()=>{D.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{F(g=>{const N=!g;return N&&(M(null),V(!1)),W==null||W(N),N})},[W]),v=i.useCallback(()=>{F(!1)},[]);return i.useEffect(()=>{function g(N){const He=N.target;B.current&&!B.current.contains(He)&&(S(),v())}return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[S,v]),i.useEffect(()=>{const g=()=>{v(),S()};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[v,S]),i.useEffect(()=>{function g(N){N.key==="Escape"&&(S(),v(),O())}return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[S,v,O]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(it,{ref:B,children:[e.jsxs(rt,{children:[e.jsx(at,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Se,{desktopDropdown:z,onOpenDropdown:P,onScheduleCloseDropdown:G,activePage:Q,i18n:k})]}),e.jsxs(st,{children:[o&&e.jsxs(lt,{children:[(R||U!==void 0||L&&d)&&e.jsxs(ro,{children:[R&&e.jsxs(Ee,{onClick:J,"aria-label":`${y(R.balance)} credits`,children:[e.jsx(to,{}),y(R.balance),e.jsxs(oo,{className:"credits-tooltip",children:[k.creditsExpiringIn.replace("{days}",String(so(R.expiresAt))),e.jsx("br",{}),k.creditsValueNote]})]}),L&&d&&e.jsxs(io,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.ETHEREUM):void 0,"aria-label":`${y(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(be,{}),y(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.MATIC):void 0,"aria-label":`${y(d.MATIC)} MANA on Polygon`,children:[e.jsx(ve,{}),y(d.MATIC)]})]}),U!==void 0&&e.jsxs(no,{onClick:T,"aria-label":`${y(U)} shop credits`,children:[e.jsx(qe,{}),y(U)]})]}),s&&e.jsx("div",{onClick:()=>{F(!1),M(null)},children:s}),e.jsx(Ae,{isLoadingProfile:u,address:m,avatar:w,userCardOpen:ee,onToggleUserCard:p,onClickSignOut:_,selectedChain:h,chains:a,onSelectChain:x,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:k})]}),!o&&e.jsx(ct,{onClick:Z,disabled:r,children:r?k.signingIn:k.signIn}),e.jsx(dt,{onClick:$,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(De,{}):e.jsx(Fe,{})})]})]}),e.jsx(Ie,{open:I,onClose:O,i18n:k})]})});lo.displayName="Navbar";const mo=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:H(t).controlText,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${nt} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}})),bo=n("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),vo=n("div")({position:"relative"}),wo=n("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${q} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),Lo=n("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),jo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),ko=n("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),yo=n("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),Io=n("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),Mo=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),So=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ao=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Eo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ho=n("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Ro=n("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:l.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{mo as BellButton,lo as Navbar,bo as NotificationBadge,Ho as NotificationDot,Ro as NotificationEmpty,Lo as NotificationHeader,Mo as NotificationItemContent,Ao as NotificationItemDescription,Io as NotificationItemImage,Eo as NotificationItemTime,So as NotificationItemTitle,ko as NotificationList,yo as NotificationListItem,wo as NotificationPanel,jo as NotificationTitle,vo as NotificationWrapper};
2
- //# sourceMappingURL=index-DeI7hXkz.js.map
1
+ import{r as i,j as e,R as Re}from"./react-eG9s-ikt.js";import{n as K}from"./dcl-schemas-DZWWUlpc.js";import{c as j}from"./index-Dc6ajloQ.js";import{n,S as We}from"./emotion-styled.browser.esm-CLa9FblH.js";import{n as ie,cb as se,cc as C,cd as l}from"./index-CN1zRQ1i.js";import"./styled-FFFsZGvr.js";import"./sentry-OF5uNXQc.js";import"./ethers-DJUCOS0G.js";import"./intl-AKLEHPeO.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},o=new t.Error().stack;o&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[o]="dbaaa50a-17e2-403d-ba84-d18cded6d220",t._sentryDebugIdIdentifier="sentry-dbid-dbaaa50a-17e2-403d-ba84-d18cded6d220")}catch{}})();function y(t){return Math.floor(t).toLocaleString("en-US")}const Ce=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 90 90",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M45 89.9999C69.8528 89.9999 89.9999 69.8528 89.9999 45C89.9999 20.1472 69.8528 0 45 0C20.1472 0 0 20.1472 0 45C0 69.8528 20.1472 89.9999 45 89.9999Z",fill:"url(#dcl-nav0)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18 80.9996C25.515 86.6471 34.875 89.9996 45 89.9996C55.125 89.9996 64.485 86.6471 72 80.9996H18Z",fill:"#FF2D55"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 71.9996C11.565 75.397 14.603 78.435 18 80.9996H72C75.398 78.435 78.435 75.397 81 71.9996H9Z",fill:"#FFA25A"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 62.9997H3.758C5.153 66.2172 6.93 69.2322 9 71.9997H60.39V62.9997H60.368Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.883 29.25V63H60.008L31.883 29.25Z",fill:"url(#dcl-nav1)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.758 63H31.883V29.25L3.758 63Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 47.25V72H81L60.368 47.25Z",fill:"url(#dcl-nav2)"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M39.757 72H60.367V47.25L39.757 72Z",fill:"white"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M60.368 40.5C66.58 40.5 71.618 35.463 71.618 29.25C71.618 23.037 66.58 18 60.368 18C54.154 18 49.118 23.037 49.118 29.25C49.118 35.463 54.154 40.5 60.368 40.5Z",fill:"#FFC95B"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M31.882 22.5C34.989 22.5 37.507 19.981 37.507 16.875C37.507 13.768 34.989 11.25 31.882 11.25C28.776 11.25 26.257 13.768 26.257 16.875C26.257 19.981 28.776 22.5 31.882 22.5Z",fill:"#FFC95B"}),e.jsxs("defs",{children:[e.jsxs("linearGradient",{id:"dcl-nav0",x1:"45",y1:"-18.64",x2:"-18.64",y2:"45",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#FF2D55"}),e.jsx("stop",{offset:"1",stopColor:"#FFBC5B"})]}),e.jsxs("linearGradient",{id:"dcl-nav1",x1:"31.873",y1:"29.25",x2:"31.873",y2:"63",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]}),e.jsxs("linearGradient",{id:"dcl-nav2",x1:"60.36",y1:"47.25",x2:"60.36",y2:"72",gradientUnits:"userSpaceOnUse",children:[e.jsx("stop",{stopColor:"#A524B3"}),e.jsx("stop",{offset:"1",stopColor:"#FF2D55"})]})]})]})}),Fe=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M3 6H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 12H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M3 18H21",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),De=i.memo(function(o){return e.jsxs("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M6 6L18 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),e.jsx("path",{d:"M18 6L6 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})]})}),re=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M5 7.5L10 12.5L15 7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),Ne=i.memo(function(o){return e.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M15 12.5L10 7.5L5 12.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}),me=i.memo(function(o){return e.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M12 8.66667V12.6667C12 13.0203 11.8595 13.3594 11.6095 13.6095C11.3594 13.8595 11.0203 14 10.6667 14H3.33333C2.97971 14 2.64057 13.8595 2.39052 13.6095C2.14048 13.3594 2 13.0203 2 12.6667V5.33333C2 4.97971 2.14048 4.64057 2.39052 4.39052C2.64057 4.14048 2.97971 4 3.33333 4H7.33333",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M10 2H14V6",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66699 9.33333L14.0003 2",stroke:"currentColor",strokeWidth:"1.33",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ue=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M7.5 17.5H4.16667C3.72464 17.5 3.30072 17.3244 2.98816 17.0118C2.67559 16.6993 2.5 16.2754 2.5 15.8333V4.16667C2.5 3.72464 2.67559 3.30072 2.98816 2.98816C3.30072 2.67559 3.72464 2.5 4.16667 2.5H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.333 14.1667L17.4997 10.0001L13.333 5.83337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M17.5 10H7.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),le=i.memo(function(o){return e.jsxs("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5",stroke:"currentColor",strokeWidth:"1"}),e.jsx("path",{d:"M8.5 3.5V2C8.5 1.17157 7.82843 0.5 7 0.5H2C1.17157 0.5 0.5 1.17157 0.5 2V7C0.5 7.82843 1.17157 8.5 2 8.5H3.5",stroke:"currentColor",strokeWidth:"1"})]})}),Ze=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 10C11.3807 10 12.5 8.88071 12.5 7.5C12.5 6.11929 11.3807 5 10 5C8.61929 5 7.5 6.11929 7.5 7.5C7.5 8.88071 8.61929 10 10 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M5 16.25C5 14.1789 7.23858 12.5 10 12.5C12.7614 12.5 15 14.1789 15 16.25",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Ve=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M15.8333 7.5L13.3333 3.33337H6.66667L4.16667 7.5L2.5 16.6667H17.5L15.8333 7.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M6.66667 3.33337L7.5 7.50004L10 9.16671L12.5 7.50004L13.3333 3.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Be=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M10 12.5C11.3807 12.5 12.5 11.3807 12.5 10C12.5 8.61929 11.3807 7.5 10 7.5C8.61929 7.5 7.5 8.61929 7.5 10C7.5 11.3807 8.61929 12.5 10 12.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M16.1666 10C16.1666 9.58337 16.1249 9.16671 16.0416 8.75004L17.9166 7.27087L16.4166 4.72921L14.1666 5.52087C13.5416 4.97921 12.8124 4.56254 11.9999 4.31254L11.6666 1.66671H8.33325L7.99992 4.31254C7.18742 4.56254 6.45825 4.97921 5.83325 5.52087L3.58325 4.72921L2.08325 7.27087L3.95825 8.75004C3.87492 9.16671 3.83325 9.58337 3.83325 10C3.83325 10.4167 3.87492 10.8334 3.95825 11.25L2.08325 12.7292L3.58325 15.2709L5.83325 14.4792C6.45825 15.0209 7.18742 15.4375 7.99992 15.6875L8.33325 18.3334H11.6666L11.9999 15.6875C12.8124 15.4375 13.5416 15.0209 14.1666 14.4792L16.4166 15.2709L17.9166 12.7292L16.0416 11.25C16.1249 10.8334 16.1666 10.4167 16.1666 10Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}),Oe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M5 1.66663L2.5 4.99996V16.6666C2.5 17.1087 2.67559 17.5326 2.98816 17.8452C3.30072 18.1577 3.72464 18.3333 4.16667 18.3333H15.8333C16.2754 18.3333 16.6993 18.1577 17.0118 17.8452C17.3244 17.5326 17.5 17.1087 17.5 16.6666V4.99996L15 1.66663H5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M2.5 5H17.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e.jsx("path",{d:"M13.3334 8.33337C13.3334 9.21743 12.9822 10.0653 12.3571 10.6904C11.7319 11.3155 10.8841 11.6667 10.0001 11.6667C9.11603 11.6667 8.26818 11.3155 7.64306 10.6904C7.01794 10.0653 6.66675 9.21743 6.66675 8.33337",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})});i.memo(function(o){return e.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M12 21.75C13.1 21.75 14 20.85 14 19.75H10C10 20.85 10.89 21.75 12 21.75ZM18 15.75V10.75C18 7.68 16.36 5.11 13.5 4.43V3.75C13.5 2.92 12.83 2.25 12 2.25C11.17 2.25 10.5 2.92 10.5 3.75V4.43C7.63 5.11 6 7.67 6 10.75V15.75L4 17.75V18.75H20V17.75L18 15.75Z",fill:"currentColor"})})});const ae=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 40C25.3043 40 30.3914 37.8929 34.1421 34.1421C37.8929 30.3914 40 25.3043 40 20C40 14.6957 37.8929 9.60859 34.1421 5.85786C30.3914 2.10714 25.3043 0 20 0C14.6957 0 9.60859 2.10714 5.85786 5.85786C2.10714 9.60859 0 14.6957 0 20C0 25.3043 2.10714 30.3914 5.85786 34.1421C9.60859 37.8929 14.6957 40 20 40Z",fill:"#25292E"}),e.jsx("path",{d:"M11.7 21.1L20 26.0143L28.2857 21.1L20 32.8L11.7 21.1Z",fill:"white",fillOpacity:"0.8"}),e.jsx("path",{d:"M20 24.1857L11.7 19.2714L20 6.20001L28.3 19.2714L20 24.1857Z",fill:"white"})]})}),Te=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("rect",{width:"40",height:"40",rx:"20",fill:"white"}),e.jsx("path",{d:"M20 0C9 0 0 9 0 20C0 31 8.85714 40 20 40C31.1429 40 40 31.1429 40 20C40 8.85714 31 0 20 0ZM31.8571 20.1429C31.8571 20.4286 31.7143 20.8571 31.4286 21L25.7143 24.2857C25.4286 24.4286 25 24.4286 24.7143 24.2857L22.5714 23V20L25.1429 21.5714L29.1429 19.2857V14.7143L25.1429 12.4286L21.4286 14.5714V26.2857C21.4286 26.5714 21.2857 27 21 27.1429L15.2857 30.4286C15 30.5714 14.5714 30.5714 14.2857 30.4286L8.57143 27.1429C8.28571 27 8.14286 26.7143 8.14286 26.2857V19.7143C8.14286 19.4286 8.28571 19 8.57143 18.8571L14.2857 15.5714C14.5714 15.4286 15 15.4286 15.2857 15.5714L17.4286 16.8571V20L14.8571 18.4286L10.8571 20.7143V25.2857L14.8571 27.5714L18.8571 25.2857V13.7143C18.8571 13.4286 19 13 19.2857 12.8571L25 9.57143C25.2857 9.42857 25.7143 9.42857 26 9.57143L31.4286 12.8571C31.7143 13 31.8571 13.2857 31.8571 13.7143V20.1429Z",fill:"#8247E5"})]})}),_e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 1C30.4286 1 39 9.57143 39 20C39 30.4286 30.4286 39 20 39C9.57143 39 1 30.4286 1 20C1 9.57143 9.57143 1 20 1Z",fill:"#2D374B",stroke:"#96BEDC",strokeWidth:"1.4"}),e.jsx("path",{d:"M16.4286 10.7143C14.2857 10.7143 12 11.2857 11 13L2 27L3 29L5 32L19 10.7143H16.4286Z",fill:"white"}),e.jsx("path",{d:"M20.8571 10.7143L7 33.5L9 36L11.5 37L27.4286 10.7143H20.8571Z",fill:"white"}),e.jsx("path",{d:"M20.1428 26.5714L27.5 37.5L32.5 34L23.8571 20.1429L20.1428 26.5714ZM36.8571 28.8571L38 27.5L28.4286 12.5714L25.1428 18.1429L34.5 33L36.4286 29.8571C36.7143 29.5714 36.8571 29.2857 37 28.8571C36.8571 29 36.8571 28.8571 36.8571 28.8571Z",fill:"#28A0F0"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.0731 2.14834C10.1438 2.14834 2.14834 10.1438 2.14834 20.0731C2.14834 29.9915 10.133 37.8517 20.0731 37.8517C29.8616 37.8517 37.8517 29.9969 37.8517 20.0731C37.8517 10.133 29.9915 2.14834 20.0731 2.14834ZM0 20.0731C0 8.95736 8.95736 0 20.0731 0C31.1996 0 40 8.96822 40 20.0731C40 31.1942 31.0372 40 20.0731 40C8.96822 40 0 31.1996 0 20.0731Z",fill:"#96BEDC"})]})}),ze=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M40 20C40 8.95431 31.0457 0 20 0C8.95431 0 0 8.95431 0 20C0 31.0457 8.95431 40 20 40C31.0457 40 40 31.0457 40 20Z",fill:"#FF3131"}),e.jsx("path",{d:"M13.1714 26.2143C17.0286 26.2143 20.1143 23.0714 20.1143 18.5286C20.1143 15.4 18.0143 13.1 14.4286 13.1C10.5429 13.1 7.5 16.2429 7.5 20.7857C7.5 23.9286 9.64286 26.2143 13.1714 26.2143ZM14.3571 15.7143C15.8714 15.7143 16.8429 16.8714 16.8429 18.7143C16.8429 21.4286 15.2571 23.6 13.2571 23.6C11.7429 23.6 10.7714 22.4286 10.7714 20.6C10.7714 17.9 12.3571 15.7143 14.3429 15.7143H14.3571ZM23.4714 13.3143L20.7857 26H24.0143L24.8 22.2857H26.9C30.3714 22.2857 32.6286 20.3143 32.6286 17.1429C32.6286 14.8429 30.9571 13.3143 28.2 13.3143H23.4857H23.4714ZM26.1857 15.8H27.5286C28.7143 15.8 29.3857 16.3429 29.3857 17.4286C29.3857 18.8571 28.4143 19.8571 26.9 19.8571H25.3143L26.1714 15.8H26.1857Z",fill:"white"})]})}),$e=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20 0C31.0471 0 40 8.95286 40 20C40 31.0471 31.0471 40 20 40C8.95286 40 0 31.0471 0 20C0 8.95286 8.95286 0 20 0Z",fill:"#F0B90B"}),e.jsx("path",{d:"M10.9914 20L11.0057 25.2886L15.5 27.9314V31.0286L8.37714 26.8514V18.4543L10.9914 20ZM10.9914 14.7114V17.7929L8.37428 16.2457V13.1629L10.9914 11.6157L13.6214 13.1629L10.9929 14.7114H10.9914ZM17.3771 13.1629L19.9943 11.6157L22.6229 13.1629L19.9943 14.7114L17.3771 13.1629Z",fill:"white"}),e.jsx("path",{d:"M12.8829 24.1929V21.0957L15.5 22.6443V25.7257L12.8829 24.1929ZM17.3771 29.0414L19.9943 30.59L22.6229 29.0414V32.1229L19.9943 33.6714L17.3771 32.1229V29.0414ZM26.3771 13.1629L28.9943 11.6157L31.6229 13.1629V16.2457L28.9943 17.7929V14.7114L26.3771 13.1629ZM28.9943 25.2886L29.0086 20L31.6243 18.4514V26.85L24.5014 31.0272V27.9314L28.9943 25.2886Z",fill:"white"}),e.jsx("path",{d:"M27.1171 24.1928L24.5 25.7257V22.6443L27.1171 21.0957V24.1928Z",fill:"white"}),e.jsx("path",{d:"M27.1171 15.8072L27.1314 18.9043L22.6243 21.5472V26.85L20.0086 28.3829L17.3914 26.85V21.5486L12.8843 18.9043V15.8072L15.5129 14.26L19.9914 16.9172L24.4986 14.26L27.1271 15.8072H27.1171ZM12.8829 10.5214L19.9929 6.32858L27.1171 10.5214L24.5 12.0686L19.9943 9.41144L15.5 12.0686L12.8829 10.5214Z",fill:"white"})]})}),Pe=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#E84142"}),e.jsx("path",{d:"M27.0552 20.5197C27.7484 19.3226 28.8691 19.3226 29.5592 20.5197L33.8738 28.0946C34.567 29.291 34 30.2674 32.612 30.2674H23.9211C22.5513 30.2674 21.9842 29.291 22.6593 28.0946L27.0552 20.5197ZM18.709 5.93692C19.4014 4.74055 20.504 4.74055 21.1972 5.93692L22.1577 7.67194L24.4251 11.6562C24.6972 12.2182 24.8386 12.8346 24.8386 13.459C24.8386 14.0835 24.6972 14.6998 24.4251 15.2618L16.8186 28.4409C16.479 28.9688 16.0198 29.4093 15.4781 29.7267C14.9365 30.044 14.3277 30.2292 13.7011 30.2674H7.38566C6.00001 30.2674 5.43298 29.3068 6.12383 28.0946L18.709 5.93692Z",fill:"white"})]})}),Ge=i.memo(function(o){return e.jsxs("svg",{viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M20 40C31.0457 40 40 31.0457 40 20C40 8.9543 31.0457 0 20 0C8.9543 0 0 8.9543 0 20C0 31.0457 8.9543 40 20 40Z",fill:"#13B5EC"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M21.5 16.125L26 13.5V18.75L21.5 16.125ZM26 27.375L20 30.875L14 27.375V21.25L20 24.75L26 21.25V27.375ZM14 13.5L18.5 16.125L14 18.75V13.5ZM20.75 17.375L25.25 20L20.75 22.625V17.375ZM19.25 22.625L14.75 20L19.25 17.375V22.625ZM25.25 12.25L20 15.25L14.75 12.25L20 9.125L25.25 12.25ZM12.5 11.75V28.125L20 32.375L27.5 28.125V11.75L20 7.5L12.5 11.75Z",fill:"white"})]})}),Ke=new Set([1,5,42,4,3,11155111]),Ye=new Set([137,80002,80001]),Xe={56:$e,10:ze,42161:_e,250:Ge,43114:Pe};function de({chainId:t,...o}){const r=Xe[t];return r?e.jsx(r,{...o}):Ke.has(t)?e.jsx(ae,{...o}):Ye.has(t)?e.jsx(Te,{...o}):e.jsx(ae,{...o})}const be=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 13 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{d:"M9.864 6.952C9.864 4.968 8.264 3.32 6.28 3.32C4.296 3.32 2.696 4.968 2.696 6.952C2.696 8.92 4.296 10.52 6.28 10.52C8.264 10.52 9.864 8.92 9.864 6.952ZM9.032 6.952C9.032 8.456 7.688 9.688 6.28 9.688C4.728 9.688 3.528 8.488 3.528 6.952C3.528 5.432 4.728 4.152 6.28 4.152C7.704 4.152 9.032 5.432 9.032 6.952ZM12.248 10.424V3.544L6.28 0.12L0.312 3.544V10.424L6.28 13.848L12.248 10.424ZM11.192 9.832L6.296 12.632L1.368 9.832V4.184L6.28 1.336L11.192 4.184V9.832Z",fill:"#FF2D55"})})}),ve=i.memo(function(o){return e.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 0L24 12L12 24L0 12L12 0ZM12.0002 3.36001L20.6402 12L12.0002 20.64L3.36023 12L12.0002 3.36001ZM12.0009 16.32C14.3868 16.32 16.3209 14.3859 16.3209 12C16.3209 9.61415 14.3868 7.68002 12.0009 7.68002C9.61507 7.68002 7.68094 9.61415 7.68094 12C7.68094 14.3859 9.61507 16.32 12.0009 16.32Z",fill:"currentColor"})})}),qe=i.memo(function(o){return e.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})}),Je={signIn:"SIGN IN",signingIn:"SIGNING IN...",discover:"Discover",events:"Events",places:"Places",shop:"Shop",shopAll:"Shop All",wearables:"Wearables",emotes:"Emotes",names:"Names",land:"Land",merch:"Merch",create:"Create",createInDecentraland:"Create in Decentraland",publishWearablesEmotes:"Publish Wearables & Emotes",publishLand:"Manage Land",creatorDocumentation:"Creator Documentation",learn:"Learn",getStarted:"Get Started",startCreating:"Start Creating",seeWhatsNew:"See What's New",viewProfile:"View Profile",myAssets:"My Assets",accountSettings:"Account Settings",marketplaceAuthorizations:"Marketplace Authorizations",walletAddress:"User ID",addressCopied:"Copied!",logout:"Log Out",creditsExpiringIn:"Expiring in {days} days",creditsValueNote:"(1 Credit = 1 MANA in value)"};function Qe(){const t=j.get("SHOP_URL"),o=j.get("BUILDER_URL"),r=j.get("EVENTS_URL"),u=j.get("PLACES_URL"),m=j.get("CREATE_URL"),w=j.get("BLOG_URL"),b=j.get("MARKETPLACE_LANDS_URL");return{discover:{label:"discover",items:[{label:"events",url:r},{label:"places",url:u}]},shop:{label:"shop",items:[{label:"shopAll",url:t},{label:"wearables",url:`${t}/items?category=wearable`},{label:"emotes",url:`${t}/items?category=emote`},{label:"names",url:`${t}/items?category=names`},{label:"land",url:b},{label:"merch",url:"https://store.decentraland.org/",isExternal:!0}]},create:{label:"create",items:[{label:"createInDecentraland",url:m},{label:"publishWearablesEmotes",url:`${o}/collections`},{label:"publishLand",url:`${o}/land`},{label:"creatorDocumentation",url:"https://docs.decentraland.org/creator",isExternal:!0}]},learn:{label:"learn",url:w}}}let te=null;function we(){return te||(te=Qe()),te}let oe=null;function et(){return oe||(oe=[{label:"viewProfile",url:j.get("PROFILE_URL"),icon:"account"},{label:"myAssets",url:j.get("MARKETPLACE_MY_ASSETS_URL"),icon:"wearable"},{label:"accountSettings",url:j.get("ACCOUNT_URL"),icon:"settings"},{label:"marketplaceAuthorizations",url:j.get("MARKETPLACE_SETTINGS_URL"),icon:"shopping"}]),oe}const Le=["discover","shop","create"],je="Inter, Helvetica, Arial, sans-serif",A="@media (max-width: 991px)",f="@media (min-width: 992px)",tt={navbar:1100},ot="0px 1.333px 24px rgba(0,0,0,0.12), 0px 8px 13.333px rgba(0,0,0,0.14), 0px 4px 6.667px rgba(0,0,0,0.2)",Y="rgba(38, 38, 38, 0.8)",ke="0.5px solid #5E5B67",X="0 2px 20px 16px rgba(0, 0, 0, 0.25)",E="blur(12.5px)",H=({palette:t}={})=>{var o;return((o=t==null?void 0:t._components)==null?void 0:o.navbar)??((t==null?void 0:t.mode)==="light"?se.light:se.dark)},ye=ie({"0%":{opacity:1},"50%":{opacity:.5},"100%":{opacity:1}}),q=ie({from:{opacity:0},to:{opacity:1}}),nt=ie({"0%, 100%":{transform:"rotate(0deg)"},"25%":{transform:"rotate(8deg)"},"50%":{transform:"rotate(-8deg)"},"75%":{transform:"rotate(4deg)"}}),it=n("nav")(({theme:t})=>{const o=H(t);return{position:"fixed",top:0,left:0,right:0,zIndex:tt.navbar,fontFamily:je,display:"flex",alignItems:"center",justifyContent:"space-between",boxSizing:"border-box","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:-1,background:o.backdropMobile,boxShadow:ot,backdropFilter:"saturate(1.8) blur(20px)",WebkitBackdropFilter:"saturate(1.8) blur(20px)",transition:"background 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease"},[A]:{height:64,padding:"12px 16px"},[f]:{height:92,padding:"16px 54px","&::before":{background:o.backdropDesktop}}}}),rt=n("div")({display:"flex",alignItems:"center",[A]:{gap:12},[f]:{gap:48},"& .mobile-only":{display:"flex",[f]:{display:"none"}},"& .desktop-only":{display:"none",[f]:{display:"flex"}}}),st=n("div")({display:"flex",alignItems:"center",gap:16,[f]:{gap:48}}),lt=n("div")({display:"flex",alignItems:"center",gap:12,[f]:{gap:24}}),at=n("a")({display:"flex",alignItems:"center",flexShrink:0,width:40,height:40,"& svg":{width:"100%",height:"100%"}}),dt=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",justifyContent:"center",width:40,height:40,backgroundColor:o.overlay,borderRadius:8,color:o.textStrong,cursor:"pointer",flexShrink:0,transition:"background-color 0.15s ease","&:hover":{backgroundColor:o.overlayHover},"&:active":{backgroundColor:o.overlayActive},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},[f]:{display:"none"}}}),ct=n("button")(({theme:t})=>{const o=H(t);return{all:"unset",boxSizing:"border-box",display:"flex",alignItems:"center",justifyContent:"center",padding:"8px 22px",border:`1px solid ${o.signInBorder}`,borderRadius:6,fontFamily:je,fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:o.signInText,cursor:"pointer",whiteSpace:"nowrap",transition:"background-color 0.15s ease, border-color 0.15s ease","&:hover":{backgroundColor:o.overlaySoft,borderColor:o.signInBorderHover},"&:active":{backgroundColor:o.signInActive},"&:disabled":{opacity:.5,pointerEvents:"none"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}}),pt=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,bottom:0,zIndex:1099,pointerEvents:t?"auto":"none",backgroundColor:t?"rgba(0, 0, 0, 0.3)":"transparent",transition:"background-color 0.25s ease",[f]:{display:"none"}})),ut=n("div")(({open:t})=>({position:"fixed",top:64,left:0,right:0,zIndex:1100,maxHeight:t?"calc(100vh - 64px)":0,overflowY:"auto",background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:t?X:"none",padding:t?12:"0 12px",transition:"max-height 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease",[f]:{display:"none"}})),ce=n("div")({borderBottom:"0.5px solid rgba(255, 255, 255, 0.1)"}),ht=n("a")({display:"flex",alignItems:"center",padding:"24px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,textDecoration:"none","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2}}),ft=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"space-between",width:"100%",padding:"24px 16px",boxSizing:"border-box",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:l.white,cursor:"pointer","&:hover":{color:l.gray5},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:20,height:20,flexShrink:0,transition:"transform 0.2s ease"}}),xt=n("div")(({open:t})=>({maxHeight:t?500:0,overflow:"hidden",transition:"max-height 0.25s ease"})),gt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"12px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none","&:hover":{color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Ie=i.memo(function({open:o,onClose:r,i18n:u}){const m=we(),[w,b]=i.useState(null),s=i.useCallback(h=>{b(a=>a===h?null:h)},[]);return e.jsxs(e.Fragment,{children:[e.jsx(pt,{open:o,onClick:r}),e.jsxs(ut,{open:o,role:"navigation","aria-label":"Mobile navigation",children:[Le.map(h=>{var d;const a=m[h],x=w===h;return e.jsxs(ce,{children:[e.jsxs(ft,{onClick:()=>s(h),"aria-expanded":x,children:[u[a.label],x?e.jsx(Ne,{}):e.jsx(re,{})]}),e.jsx(xt,{open:x,children:(d=a.items)==null?void 0:d.map(c=>e.jsxs(gt,{href:c.url,target:c.isExternal?"_blank":void 0,rel:c.isExternal?"noopener noreferrer":void 0,children:[u[c.label],c.isExternal&&e.jsx(me,{})]},c.label))})]},h)}),e.jsx(ce,{children:e.jsx(ht,{href:m.learn.url,children:u[m.learn.label]})})]})]})});Ie.displayName="MobileMenu";const Ct=n("div")({display:"none",[f]:{display:"flex",alignItems:"center",gap:24}}),Me=t=>{const o=H(t);return{all:"unset",display:"flex",alignItems:"center",gap:4,padding:"8px 24px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:o.text,cursor:"pointer",borderRadius:8,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{color:o.textStrong,backgroundColor:o.overlaySoft,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&.active":{color:o.textStrong,textShadow:"0 0 0.5px currentColor, 0 0 0.5px currentColor"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2}}},mt=n("button")(({theme:t})=>({...Me(t),"& svg":{width:20,height:20,transition:"transform 0.2s ease",flexShrink:0}})),bt=n("a")(({theme:t})=>Me(t)),vt=n(mt)({paddingRight:16}),wt=n("div")({position:"relative",paddingBottom:8,marginBottom:-8,cursor:"pointer"}),Lt=n("div")({position:"absolute",top:"100%",left:0,marginTop:2,minWidth:220,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,padding:12,animation:`${q} 0.15s ease forwards`}),jt=n("a")({display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,color:l.gray4,textDecoration:"none",borderRadius:12,whiteSpace:"nowrap",transition:"background-color 0.15s ease, color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.06)",color:l.white},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:-2},"& svg":{width:16,height:16,flexShrink:0,opacity:.6}}),Se=i.memo(function({desktopDropdown:o,onOpenDropdown:r,onScheduleCloseDropdown:u,activePage:m,i18n:w}){const b=we();return e.jsxs(Ct,{children:[Le.map(s=>{var h;return e.jsxs(wt,{onMouseEnter:()=>r(s),onMouseLeave:u,children:[e.jsxs(vt,{className:m===s?"active":void 0,"aria-expanded":o===s,"aria-haspopup":"true",onClick:()=>{var x;const a=(x=b[s].items)==null?void 0:x[0];a&&window.open(a.url,"_self")},children:[w[b[s].label],e.jsx(re,{style:{transform:o===s?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),o===s&&e.jsx(Lt,{children:(h=b[s].items)==null?void 0:h.map(a=>e.jsxs(jt,{href:a.url,target:a.isExternal?"_blank":void 0,rel:a.isExternal?"noopener noreferrer":void 0,children:[w[a.label],a.isExternal&&e.jsx(me,{})]},a.label))})]},s)}),e.jsx(bt,{href:b.learn.url,className:m==="learn"?"active":void 0,children:w[b.learn.label]})]})});Se.displayName="NavLinks";const kt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",flexShrink:0,borderRadius:100,backgroundColor:"#FF4BED",border:"2px solid rgba(255, 255, 255, 0.5)",overflow:"hidden",[A]:{width:40,height:40},[f]:{width:48,height:48},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),yt=n("img")({borderRadius:100,objectFit:"cover",width:"100%",height:"100%"}),It=n("div")({position:"relative"}),Mt=n("div")({position:"fixed",top:92,right:54,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,border:ke,borderRadius:12,boxShadow:X,display:"none",padding:12,gap:24,animation:`${q} 0.15s ease forwards`,minWidth:484,[f]:{display:"flex"}}),St=n("div")({width:151,minHeight:240,borderRadius:12,border:"0.5px solid #c640cd",background:"linear-gradient(180deg, rgba(198, 64, 205, 0.2) 0%, rgba(105, 31, 169, 0.2) 100%)",display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden",flexShrink:0}),At=n("img")({width:"100%",height:"auto",objectFit:"contain",objectPosition:"center"}),pe=n("div")({display:"flex",flexDirection:"column",paddingRight:12,paddingTop:4,paddingBottom:4,flex:1,minWidth:0,[A]:{gap:12}}),Et=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ht=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),Rt=n("div")({display:"flex",alignItems:"center",gap:8,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),Wt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,opacity:.7,transition:"opacity 0.15s ease","&:hover":{opacity:1}}),Ft=n("a")({display:"flex",alignItems:"center",gap:12,padding:"8px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,textDecoration:"none",whiteSpace:"nowrap",cursor:"pointer",transition:"color 0.15s ease, background-color 0.15s ease","&:hover":{color:l.white,backgroundColor:"rgba(255, 255, 255, 0.05)"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:20,height:20,flexShrink:0}}),ne=n("div")({height:.5,backgroundColor:"rgba(255, 255, 255, 0.1)",margin:"8px 0"}),Dt=n("button")({all:"unset",display:"flex",alignItems:"center",gap:12,padding:"12px 16px",borderRadius:12,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:16,lineHeight:1.75,color:l.gray4,cursor:"pointer",whiteSpace:"nowrap",transition:"color 0.15s ease","&:hover":{color:C.primary},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:18,height:18}}),Nt=n("button")(({selected:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,width:"100%",boxSizing:"border-box",padding:"4px 16px",paddingLeft:16,borderRadius:4,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:12,fontWeight:400,letterSpacing:.46,textTransform:"uppercase",color:"white",cursor:"pointer",transition:"background-color 0.15s ease, color 0.15s ease",background:t?"rgba(255, 255, 255, 0.2)":"transparent","&:hover":{background:t?"rgba(255, 255, 255, 0.2)":"rgba(255, 255, 255, 0.1)"},"& svg":{width:16,height:16,flexShrink:0},...t?{"&::before":{content:'""',position:"absolute",left:4,top:"50%",transform:"translateY(-50%)",width:8,height:8,borderRadius:4,backgroundColor:"#34CE77"}}:{}})),Ut=n("div")({position:"fixed",top:64,left:0,right:0,zIndex:1201,background:Y,backdropFilter:E,WebkitBackdropFilter:E,boxShadow:X,padding:"24px 12px",animation:`${q} 0.15s ease forwards`,[f]:{display:"none"}}),Zt=n("div")({display:"flex",alignItems:"center",gap:12,paddingBottom:8}),Vt=n("div")({width:73,height:73,borderRadius:100,border:"3px solid rgba(255, 255, 255, 0.5)",backgroundColor:"#FF4BED",overflow:"hidden",flexShrink:0,"&.loading":{animation:`${ye} 1.5s ease-in-out infinite`}}),Bt=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0}),Ot=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:l.softWhite,marginBottom:4,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Tt=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.gray4}),_t=n("div")({display:"flex",alignItems:"center",gap:6,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:14,color:l.softWhite,lineHeight:1.75}),zt=n("button")({all:"unset",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer",color:l.softWhite,transition:"opacity 0.15s ease","&:hover":{opacity:.7},"& svg":{width:20,height:20}}),$t=n("div")({position:"absolute",top:"calc(100% + 4px)",left:0,minWidth:150,display:"flex",flexDirection:"column",gap:2,padding:4,background:l.gray0,backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:8,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",zIndex:10}),Pt=n("div")({display:"flex",alignItems:"center",flexWrap:"wrap",gap:"12px 24px",paddingTop:8,width:"100%"}),Gt=n("div")({display:"flex",alignItems:"center",gap:6}),ue=n("div")(({clickable:t})=>({display:"flex",alignItems:"center",gap:2,cursor:t?"pointer":"default",color:"white"})),he=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:16,letterSpacing:-.8,whiteSpace:"nowrap"}),Kt=n("div")({position:"relative"}),Yt=n("div")({display:"flex",alignItems:"center",gap:8,width:150,padding:"4px 4px 4px 8px",backgroundColor:l.gray0,borderRadius:8,cursor:"pointer",whiteSpace:"nowrap",boxSizing:"border-box"}),Xt=n("div")({width:16,height:16,display:"flex",flexShrink:0}),qt=n("span")({fontFamily:"Inter, sans-serif",fontWeight:600,fontSize:15,lineHeight:"24px",letterSpacing:.46,textTransform:"uppercase",color:"white",flex:1}),Jt={account:Ze,wearable:Ve,settings:Be,shopping:Oe},Qt="https://peer.decentraland.org/content/contents/";function fe(t){if(t){if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:"))return t;if(/^[a-zA-Z0-9]+$/.test(t))return`${Qt}${t}`}}const eo={1:"Ethereum",11155111:"Sepolia",137:"Polygon",80002:"Amoy",56:"BSC",43114:"Avalanche",42161:"Arbitrum",10:"Optimism",250:"Fantom"};function xe(t){return eo[t]??`Chain ${t}`}const Ae=i.memo(function({isLoadingProfile:o,address:r,avatar:u,userCardOpen:m,onToggleUserCard:w,onClickSignOut:b,selectedChain:s,chains:h,onSelectChain:a,manaBalances:x,onClickBalance:d,i18n:c}){var O,P,G,S;const L=fe((P=(O=u==null?void 0:u.avatar)==null?void 0:O.snapshots)==null?void 0:P.face256),[R,J]=i.useState(),[U,T]=i.useState(!1);i.useEffect(()=>{T(!1)},[L]);const Q=L?R===L:!1,W=fe((S=(G=u==null?void 0:u.avatar)==null?void 0:G.snapshots)==null?void 0:S.body),Z=(u==null?void 0:u.name)||(r?`${r.slice(0,6)}...${r.slice(-4)}`:""),_=r?`${r.slice(0,6)}...${r.slice(-4)}`:"",[k,I]=i.useState(!1),[V,z]=i.useState(!1),M=i.useCallback(()=>{r&&navigator.clipboard.writeText(r).then(()=>{I(!0),setTimeout(()=>I(!1),2e3)}).catch(()=>{})},[r]),ee=i.useCallback(p=>{p!==s&&(a==null||a(p)),z(!1)},[s,a]),F=s!==void 0&&h&&h.length>0||x&&Object.keys(x).length>0,B=()=>F?e.jsxs(Pt,{children:[x&&e.jsxs(Gt,{children:[x.ETHEREUM!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.ETHEREUM),children:[e.jsx(be,{}),e.jsx(he,{children:y(x.ETHEREUM)})]}),x.MATIC!==void 0&&e.jsxs(ue,{clickable:!!d,onClick:()=>d==null?void 0:d(K.Network.MATIC),children:[e.jsx(ve,{}),e.jsx(he,{children:y(x.MATIC)})]})]}),s!==void 0&&h&&h.length>0&&e.jsxs(Kt,{children:[e.jsxs(Yt,{onClick:()=>z(p=>!p),children:[e.jsx(Xt,{children:e.jsx(de,{chainId:s})}),e.jsx(qt,{children:xe(s)}),e.jsx(re,{style:{width:20,height:20,flexShrink:0,color:"white",transform:V?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.25s ease"}})]}),V&&e.jsx($t,{role:"listbox","aria-label":"Select chain",children:h.map(p=>{const v=p===s;return e.jsxs(Nt,{selected:v,role:"option","aria-selected":v,onClick:()=>ee(p),children:[e.jsx(de,{chainId:p}),xe(p)]},p)})})]})]}):null,D=()=>!L||U?e.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",width:"100%",height:"100%",padding:6},children:e.jsx(Ce,{style:{width:"100%",height:"100%"}})}):e.jsx(yt,{src:L,alt:"",onLoad:()=>J(L),onError:()=>T(!0),style:{opacity:Q?1:0}}),$=()=>e.jsxs(e.Fragment,{children:[et().map(p=>{const v=Jt[p.icon];return e.jsxs(Ft,{href:p.url,children:[v&&e.jsx(v,{}),c[p.label]]},p.label)}),e.jsx(ne,{}),e.jsxs(Dt,{onClick:b,children:[e.jsx(Ue,{}),c.logout]})]});return e.jsxs(e.Fragment,{children:[e.jsxs(It,{children:[e.jsx(kt,{onClick:w,"aria-label":"User menu","aria-expanded":m,"aria-haspopup":"true",className:o?"loading":void 0,children:!o&&D()}),m&&e.jsxs(Mt,{onClick:p=>p.stopPropagation(),children:[e.jsx(St,{children:W?e.jsx(At,{src:W,alt:""}):null}),e.jsxs(pe,{children:[e.jsxs("div",{style:{paddingLeft:16,paddingBottom:8,display:"flex",flexDirection:"column",gap:4},children:[e.jsx(Et,{title:Z,children:Z}),e.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.jsx(Ht,{children:c.walletAddress}),e.jsxs(Rt,{children:[k?c.addressCopied:_,e.jsx(Wt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]})]}),B()]}),e.jsx(ne,{}),$()]})]})]}),m&&e.jsxs(Ut,{"data-mobile-user-card":!0,onClick:p=>p.stopPropagation(),children:[e.jsxs(Zt,{children:[e.jsx(Vt,{className:o?"loading":void 0,children:!o&&D()}),e.jsxs(Bt,{children:[e.jsx(Ot,{title:Z,children:Z}),e.jsx(Tt,{children:c.walletAddress}),e.jsxs(_t,{children:[k?c.addressCopied:_,e.jsx(zt,{onClick:M,"aria-label":"Copy address",children:e.jsx(le,{})})]}),B()]})]}),e.jsx(ne,{}),e.jsx(pe,{children:$()})]})]})});Ae.displayName="UserCardPanel";const to=Re.memo(t=>e.jsxs(We,{viewBox:"0 0 20 21",...t,children:[e.jsx("path",{d:"M13.1318 0.891714L18.5 6.29015V14.0226L13.125 19.5831H6.26758L0.891602 14.0216V6.29113L6.26074 0.891714H13.1318Z",stroke:"currentColor",strokeWidth:"1.78379",fill:"none"}),e.jsx("path",{d:"M7.81758 5.13837C8.7606 4.70684 9.80743 4.55428 10.8344 4.69871C11.8613 4.84315 12.8255 5.27853 13.6129 5.95344L12.0562 7.76966C11.6155 7.39196 11.076 7.1483 10.5012 7.06747C9.92652 6.98664 9.34068 7.07201 8.81294 7.31351C8.28519 7.555 7.8376 7.94253 7.52307 8.43029C7.20854 8.91805 7.0402 9.48566 7.03796 10.066C7.03572 10.6464 7.19967 11.2153 7.51042 11.7054C7.82117 12.1956 8.26576 12.5866 8.79162 12.8322C9.31748 13.0777 9.90265 13.1676 10.478 13.0912C11.0533 13.0148 11.5947 12.7753 12.0383 12.4011L13.581 14.2293C12.7884 14.8981 11.8209 15.326 10.7928 15.4625C9.7648 15.599 8.71916 15.4384 7.7795 14.9996C6.83984 14.5608 6.04542 13.8621 5.49014 12.9863C4.93485 12.1104 4.64191 11.0938 4.64592 10.0568C4.64992 9.01972 4.95071 8.00549 5.51274 7.13393C6.07478 6.26236 6.87456 5.5699 7.81758 5.13837Z",fill:"currentColor"})]})),Ee=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",gap:4,cursor:"pointer",color:H(t).creditsAccent,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,flexShrink:0,transition:"opacity 0.15s ease","&:hover":{opacity:.8},"&:hover .credits-tooltip":{opacity:1,pointerEvents:"auto"},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},"&& svg":{flexShrink:0},[A]:{fontSize:12,letterSpacing:-.6,"&& svg":{width:14,height:14}},[f]:{fontSize:16,letterSpacing:-.8,"&& svg":{width:20,height:20}}})),oo=n("div")({position:"absolute",top:"calc(100% + 4px)",left:"50%",transform:"translateX(-50%)",background:"#43404A",padding:8,borderRadius:8,boxShadow:"0 2px 8px rgba(0,0,0,0.3)",fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:1.4,color:"#ECEBED",whiteSpace:"normal",textAlign:"center",minWidth:140,opacity:0,pointerEvents:"none",transition:"opacity 0.15s ease",zIndex:10}),no=n(Ee)(({theme:t})=>({color:H(t).controlText})),io=n("div")({display:"flex",alignItems:"center",flexShrink:0,[A]:{gap:4},[f]:{gap:12}}),ge=n("button")(({clickable:t,theme:o})=>({all:"unset",display:"flex",alignItems:"center",cursor:t?"pointer":"default",color:H(o).controlText,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,flexShrink:0,transition:"opacity 0.15s ease","&:hover":t?{opacity:.8}:void 0,"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2,borderRadius:4},[A]:{gap:2,fontSize:12,letterSpacing:-.6,"& svg":{width:14,height:14,flexShrink:0}},[f]:{gap:4,fontWeight:600,fontSize:16,letterSpacing:-.8,"& svg":{width:20,height:20,flexShrink:0}}})),ro=n("div")({display:"flex",flexShrink:0,[A]:{flexDirection:"column-reverse",alignItems:"flex-end",justifyContent:"center",gap:4},[f]:{flexDirection:"row",alignItems:"center",gap:24}});function so(t){const o=t-Date.now();return Math.max(0,Math.ceil(o/(1e3*60*60*24)))}const lo=i.memo(function({isSignedIn:o,isSigningIn:r,isLoadingProfile:u=!1,address:m,avatar:w,i18n:b,notificationSlot:s,selectedChain:h,chains:a,onSelectChain:x,manaBalances:d,onClickBalance:c,showManaBalancesInNavbar:L=!1,creditsBalance:R,onClickCredits:J,shopCreditsBalance:U,onClickShopCredits:T,activePage:Q,onToggleUserCard:W,onClickSignIn:Z,onClickSignOut:_}){const k={...Je,...b},[I,V]=i.useState(!1),[z,M]=i.useState(null),[ee,F]=i.useState(!1),B=i.useRef(null),D=i.useRef(null),$=i.useCallback(()=>{V(g=>(g||(M(null),F(!1)),!g))},[]),O=i.useCallback(()=>{V(!1)},[]),P=i.useCallback(g=>{D.current&&(clearTimeout(D.current),D.current=null),M(g),F(!1)},[]),G=i.useCallback(()=>{D.current=setTimeout(()=>{M(null)},300)},[]),S=i.useCallback(()=>{M(null)},[]),p=i.useCallback(()=>{F(g=>{const N=!g;return N&&(M(null),V(!1)),W==null||W(N),N})},[W]),v=i.useCallback(()=>{F(!1)},[]);return i.useEffect(()=>{function g(N){const He=N.target;B.current&&!B.current.contains(He)&&(S(),v())}return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[S,v]),i.useEffect(()=>{const g=()=>{v(),S()};return window.addEventListener("scroll",g,{passive:!0}),()=>window.removeEventListener("scroll",g)},[v,S]),i.useEffect(()=>{function g(N){N.key==="Escape"&&(S(),v(),O())}return document.addEventListener("keydown",g),()=>document.removeEventListener("keydown",g)},[S,v,O]),i.useEffect(()=>(I?document.body.style.overflow="hidden":document.body.style.overflow="",()=>{document.body.style.overflow=""}),[I]),e.jsxs(e.Fragment,{children:[e.jsxs(it,{ref:B,children:[e.jsxs(rt,{children:[e.jsx(at,{href:"https://decentraland.org","aria-label":"Decentraland Home",children:e.jsx(Ce,{})}),e.jsx(Se,{desktopDropdown:z,onOpenDropdown:P,onScheduleCloseDropdown:G,activePage:Q,i18n:k})]}),e.jsxs(st,{children:[o&&e.jsxs(lt,{children:[(R||U!==void 0||L&&d)&&e.jsxs(ro,{children:[R&&e.jsxs(Ee,{onClick:J,"aria-label":`${y(R.balance)} credits`,children:[e.jsx(to,{}),y(R.balance),e.jsxs(oo,{className:"credits-tooltip",children:[k.creditsExpiringIn.replace("{days}",String(so(R.expiresAt))),e.jsx("br",{}),k.creditsValueNote]})]}),L&&d&&e.jsxs(io,{children:[d.ETHEREUM!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.ETHEREUM):void 0,"aria-label":`${y(d.ETHEREUM)} MANA on Ethereum`,children:[e.jsx(be,{}),y(d.ETHEREUM)]}),d.MATIC!==void 0&&e.jsxs(ge,{clickable:!!c,onClick:c?()=>c(K.Network.MATIC):void 0,"aria-label":`${y(d.MATIC)} MANA on Polygon`,children:[e.jsx(ve,{}),y(d.MATIC)]})]}),U!==void 0&&e.jsxs(no,{onClick:T,"aria-label":`${y(U)} shop credits`,children:[e.jsx(qe,{}),y(U)]})]}),s&&e.jsx("div",{onClick:()=>{F(!1),M(null)},children:s}),e.jsx(Ae,{isLoadingProfile:u,address:m,avatar:w,userCardOpen:ee,onToggleUserCard:p,onClickSignOut:_,selectedChain:h,chains:a,onSelectChain:x,manaBalances:L?void 0:d,onClickBalance:L?void 0:c,i18n:k})]}),!o&&e.jsx(ct,{onClick:Z,disabled:r,children:r?k.signingIn:k.signIn}),e.jsx(dt,{onClick:$,"aria-label":I?"Close menu":"Open menu","aria-expanded":I,children:I?e.jsx(De,{}):e.jsx(Fe,{})})]})]}),e.jsx(Ie,{open:I,onClose:O,i18n:k})]})});lo.displayName="Navbar";const mo=n("button")(({theme:t})=>({all:"unset",position:"relative",display:"flex",alignItems:"center",justifyContent:"center",width:24,height:24,color:H(t).controlText,cursor:"pointer",flexShrink:0,borderRadius:4,"&.has-unread":{animation:`${nt} 0.8s`,animationIterationCount:4},"&:focus-visible":{outline:`2px solid ${C.primary}`,outlineOffset:2},"& svg":{width:24,height:24}})),bo=n("span")({position:"absolute",top:-4,right:-6,minWidth:16,height:16,borderRadius:8,backgroundColor:C.primary,color:"#fff",fontSize:10,fontWeight:700,fontFamily:"Inter, Helvetica, Arial, sans-serif",display:"flex",alignItems:"center",justifyContent:"center",padding:"0 4px",lineHeight:1,pointerEvents:"none"}),vo=n("div")({position:"relative"}),wo=n("div")({position:"absolute",top:"100%",right:-12,marginTop:16,width:390,maxHeight:"70vh",zIndex:1102,background:"rgba(38, 38, 38, 0.8)",backdropFilter:"blur(12.5px)",WebkitBackdropFilter:"blur(12.5px)",border:"0.5px solid #5E5B67",borderRadius:12,boxShadow:"0 2px 20px rgba(0, 0, 0, 0.25)",display:"flex",flexDirection:"column",overflow:"hidden",paddingTop:12,paddingBottom:24,animation:`${q} 0.15s ease forwards`,[A]:{position:"fixed",top:64,left:0,right:0,width:"auto",maxHeight:"calc(100vh - 64px)",borderRadius:0}}),Lo=n("div")({display:"flex",alignItems:"center",justifyContent:"space-between",padding:"0 12px 12px 24px",borderBottom:"0.5px solid #5E5B67"}),jo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:20,color:"#FCFCFC"}),ko=n("div")({display:"flex",flexDirection:"column",overflowY:"auto",flex:1}),yo=n("div")({display:"flex",alignItems:"flex-start",gap:8,padding:"8px 16px",borderRadius:8,cursor:"pointer",transition:"background-color 0.15s ease","&:hover":{backgroundColor:"rgba(255, 255, 255, 0.05)"}}),Io=n("div")({width:56,height:56,borderRadius:"50%",backgroundColor:"rgba(103, 99, 112, 0.4)",flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center",overflow:"hidden","& img, & svg":{width:48,height:48,objectFit:"cover"}}),Mo=n("div")({display:"flex",flexDirection:"column",gap:2,minWidth:0,flex:1}),So=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:600,fontSize:16,lineHeight:1.75,color:"#FCFCFC",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Ao=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,lineHeight:"20px",color:"#ECEBED",maxWidth:280,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}),Eo=n("span")({fontFamily:"Inter, Helvetica, Arial, sans-serif",fontWeight:400,fontSize:12,color:"#A09BA8"}),Ho=n("div")({width:8,height:8,borderRadius:4,backgroundColor:"#FF2D55",flexShrink:0,alignSelf:"center"}),Ro=n("div")({display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"40px 80px",gap:8,color:l.gray3,fontFamily:"Inter, Helvetica, Arial, sans-serif",fontSize:16,textAlign:"center"});export{mo as BellButton,lo as Navbar,bo as NotificationBadge,Ho as NotificationDot,Ro as NotificationEmpty,Lo as NotificationHeader,Mo as NotificationItemContent,Ao as NotificationItemDescription,Io as NotificationItemImage,Eo as NotificationItemTime,So as NotificationItemTitle,ko as NotificationList,yo as NotificationListItem,wo as NotificationPanel,jo as NotificationTitle,vo as NotificationWrapper};
2
+ //# sourceMappingURL=index-BL9L1xgM.js.map
@@ -1,4 +1,4 @@
1
- import{i as oe,b as w}from"./lit-element-wjYUA6aF.js";import{n as T,r as Q,o as Fe}from"./class-map-C1Xjz5Lx.js";import{d as se,r as Ce}from"./index-DgPmTEff.js";import{U as Ie,c as ae}from"./index-mmjMOR4z.js";import{g as ye}from"./react-0mIt9LQV.js";import"./index-CWcRZlhT.js";import"./index-B6e30h0U.js";import"./index-ZragHeMH.js";import"./index-BsTBaJm1.js";import{C as pe,Y as F,b as xe,R as Re,O as Ne,E as Le,l as je,W as ke}from"./W3MFrameProviderSingleton-zWurCQ13.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="30e1c693-b3c7-480d-ac13-394905e50212",e._sentryDebugIdIdentifier="sentry-dbid-30e1c693-b3c7-480d-ac13-394905e50212")}catch{}})();var me={exports:{}},ze=me.exports,Te;function Ee(){return Te||(Te=1,(function(e,t){(function(i,r){e.exports=r()})(ze,(function(){var i=1e3,r=6e4,o=36e5,n="millisecond",s="second",u="minute",g="hour",p="day",y="week",v="month",j="quarter",D="year",R="date",Y="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var l=["th","st","nd","rd"],a=h%100;return"["+h+(l[(a-20)%10]||l[a]||l[0])+"]"}},ie=function(h,l,a){var d=String(h);return!d||d.length>=l?h:""+Array(l+1-d.length).join(a)+h},q={s:ie,z:function(h){var l=-h.utcOffset(),a=Math.abs(l),d=Math.floor(a/60),c=a%60;return(l<=0?"+":"-")+ie(d,2,"0")+":"+ie(c,2,"0")},m:function h(l,a){if(l.date()<a.date())return-h(a,l);var d=12*(a.year()-l.year())+(a.month()-l.month()),c=l.clone().add(d,v),m=a-c<0,f=l.clone().add(d+(m?-1:1),v);return+(-(d+(a-c)/(m?c-f:f-c))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:v,y:D,w:y,d:p,D:R,h:g,m:u,s,ms:n,Q:j}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},S="en",O={};O[S]=te;var V="$isDayjsObject",B=function(h){return h instanceof le||!(!h||!h[V])},ce=function h(l,a,d){var c;if(!l)return S;if(typeof l=="string"){var m=l.toLowerCase();O[m]&&(c=m),a&&(O[m]=a,c=m);var f=l.split("-");if(!c&&f.length>1)return h(f[0])}else{var b=l.name;O[b]=l,c=b}return!d&&c&&(S=c),c||!d&&S},_=function(h,l){if(B(h))return h.clone();var a=typeof l=="object"?l:{};return a.date=h,a.args=arguments,new le(a)},x=q;x.l=ce,x.i=B,x.w=function(h,l){return _(h,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var le=(function(){function h(a){this.$L=ce(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[V]=!0}var l=h.prototype;return l.parse=function(a){this.$d=(function(d){var c=d.date,m=d.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var f=c.match(X);if(f){var b=f[2]-1||0,$=(f[7]||"0").substring(0,3);return m?new Date(Date.UTC(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)):new Date(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)}}return new Date(c)})(a),this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return x},l.isValid=function(){return this.$d.toString()!==Y},l.isSame=function(a,d){var c=_(a);return this.startOf(d)<=c&&c<=this.endOf(d)},l.isAfter=function(a,d){return _(a)<this.startOf(d)},l.isBefore=function(a,d){return this.endOf(d)<_(a)},l.$g=function(a,d,c){return x.u(a)?this[d]:this.set(c,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,d){var c=this,m=!!x.u(d)||d,f=x.p(a),b=function(P,A){var z=x.w(c.$u?Date.UTC(c.$y,A,P):new Date(c.$y,A,P),c);return m?z:z.endOf(p)},$=function(P,A){return x.w(c.toDate()[P].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(A)),c)},I=this.$W,M=this.$M,C=this.$D,J="set"+(this.$u?"UTC":"");switch(f){case D:return m?b(1,0):b(31,11);case v:return m?b(1,M):b(0,M+1);case y:var W=this.$locale().weekStart||0,re=(I<W?I+7:I)-W;return b(m?C-re:C+(6-re),M);case p:case R:return $(J+"Hours",0);case g:return $(J+"Minutes",1);case u:return $(J+"Seconds",2);case s:return $(J+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,d){var c,m=x.p(a),f="set"+(this.$u?"UTC":""),b=(c={},c[p]=f+"Date",c[R]=f+"Date",c[v]=f+"Month",c[D]=f+"FullYear",c[g]=f+"Hours",c[u]=f+"Minutes",c[s]=f+"Seconds",c[n]=f+"Milliseconds",c)[m],$=m===p?this.$D+(d-this.$W):d;if(m===v||m===D){var I=this.clone().set(R,1);I.$d[b]($),I.init(),this.$d=I.set(R,Math.min(this.$D,I.daysInMonth())).$d}else b&&this.$d[b]($);return this.init(),this},l.set=function(a,d){return this.clone().$set(a,d)},l.get=function(a){return this[x.p(a)]()},l.add=function(a,d){var c,m=this;a=Number(a);var f=x.p(d),b=function(M){var C=_(m);return x.w(C.date(C.date()+Math.round(M*a)),m)};if(f===v)return this.set(v,this.$M+a);if(f===D)return this.set(D,this.$y+a);if(f===p)return b(1);if(f===y)return b(7);var $=(c={},c[u]=r,c[g]=o,c[s]=i,c)[f]||1,I=this.$d.getTime()+a*$;return x.w(I,this)},l.subtract=function(a,d){return this.add(-1*a,d)},l.format=function(a){var d=this,c=this.$locale();if(!this.isValid())return c.invalidDate||Y;var m=a||"YYYY-MM-DDTHH:mm:ssZ",f=x.z(this),b=this.$H,$=this.$m,I=this.$M,M=c.weekdays,C=c.months,J=c.meridiem,W=function(A,z,ne,de){return A&&(A[z]||A(d,m))||ne[z].slice(0,de)},re=function(A){return x.s(b%12||12,A,"0")},P=J||function(A,z,ne){var de=A<12?"AM":"PM";return ne?de.toLowerCase():de};return m.replace(ee,(function(A,z){return z||(function(ne){switch(ne){case"YY":return String(d.$y).slice(-2);case"YYYY":return x.s(d.$y,4,"0");case"M":return I+1;case"MM":return x.s(I+1,2,"0");case"MMM":return W(c.monthsShort,I,C,3);case"MMMM":return W(C,I);case"D":return d.$D;case"DD":return x.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return W(c.weekdaysMin,d.$W,M,2);case"ddd":return W(c.weekdaysShort,d.$W,M,3);case"dddd":return M[d.$W];case"H":return String(b);case"HH":return x.s(b,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return P(b,$,!0);case"A":return P(b,$,!1);case"m":return String($);case"mm":return x.s($,2,"0");case"s":return String(d.$s);case"ss":return x.s(d.$s,2,"0");case"SSS":return x.s(d.$ms,3,"0");case"Z":return f}return null})(A)||f.replace(":","")}))},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,d,c){var m,f=this,b=x.p(d),$=_(a),I=($.utcOffset()-this.utcOffset())*r,M=this-$,C=function(){return x.m(f,$)};switch(b){case D:m=C()/12;break;case v:m=C();break;case j:m=C()/3;break;case y:m=(M-I)/6048e5;break;case p:m=(M-I)/864e5;break;case g:m=M/o;break;case u:m=M/r;break;case s:m=M/i;break;default:m=M}return c?m:x.a(m)},l.daysInMonth=function(){return this.endOf(v).$D},l.$locale=function(){return O[this.$L]},l.locale=function(a,d){if(!a)return this.$L;var c=this.clone(),m=ce(a,d,!0);return m&&(c.$L=m),c},l.clone=function(){return x.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},h})(),_e=le.prototype;return _.prototype=_e,[["$ms",n],["$s",s],["$m",u],["$H",g],["$W",p],["$M",v],["$y",D],["$D",R]].forEach((function(h){_e[h[1]]=function(l){return this.$g(l,h[0],h[1])}})),_.extend=function(h,l){return h.$i||(h(l,le,_),h.$i=!0),_},_.locale=ce,_.isDayjs=B,_.unix=function(h){return _(1e3*h)},_.en=O[S],_.Ls=O,_.p={},_}))})(me)),me.exports}var Ue=Ee();const K=ye(Ue);var fe={exports:{}},Ye=fe.exports,Me;function qe(){return Me||(Me=1,(function(e,t){(function(i,r){e.exports=r()})(Ye,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],o=i%100;return"["+i+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})(fe)),fe.exports}var Be=qe();const We=ye(Be);var ge={exports:{}},Pe=ge.exports,Se;function He(){return Se||(Se=1,(function(e,t){(function(i,r){e.exports=r()})(Pe,(function(){return function(i,r,o){i=i||{};var n=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(p,y,v,j){return n.fromToBase(p,y,v,j)}o.en.relativeTime=s,n.fromToBase=function(p,y,v,j,D){for(var R,Y,X,ee=v.$locale().relativeTime||s,te=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ie=te.length,q=0;q<ie;q+=1){var S=te[q];S.d&&(R=j?o(p).diff(v,S.d,!0):v.diff(p,S.d,!0));var O=(i.rounding||Math.round)(Math.abs(R));if(X=R>0,O<=S.r||!S.r){O<=1&&q>0&&(S=te[q-1]);var V=ee[S.l];D&&(O=D(""+O)),Y=typeof V=="string"?V.replace("%d",O):V(O,y,S.l,X);break}}if(y)return Y;var B=X?ee.future:ee.past;return typeof B=="function"?B(Y):B.replace("%s",Y)},n.to=function(p,y){return u(p,y,this,!0)},n.from=function(p,y){return u(p,y,this)};var g=function(p){return p.$u?o.utc():o()};n.toNow=function(p){return this.to(g(this),p)},n.fromNow=function(p){return this.from(g(this),p)}}}))})(ge)),ge.exports}var Ge=He();const Ve=ye(Ge);var we={exports:{}},Je=we.exports,Oe;function Ze(){return Oe||(Oe=1,(function(e,t){(function(i,r){e.exports=r()})(Je,(function(){return function(i,r,o){o.updateLocale=function(n,s){var u=o.Ls[n];if(u)return(s?Object.keys(s):[]).forEach((function(g){u[g]=s[g]})),u}}}))})(we)),we.exports}var Ke=Ze();const Qe=ye(Ke);K.extend(Ve);K.extend(Qe);const Xe={...We,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},et=["January","February","March","April","May","June","July","August","September","October","November","December"];K.locale("en-web3-modal",Xe);const ve={getMonthNameByIndex(e){return et[e]},getYear(e=new Date().toISOString()){return K(e).year()},getRelativeDateFromNow(e){return K(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return K(e).format(t)}},tt=3,he=.1,it=["receive","deposit","borrow","claim"],rt=["withdraw","repay","burn"],Z={getTransactionGroupTitle(e,t){const i=ve.getYear(),r=ve.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:Z.getTransactionTransferTokenType(e),url:Z.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,s,u,g;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(s=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:s.url:e&&r&&(t=(g=(u=e==null?void 0:e.fungible_info)==null?void 0:u.icon)==null?void 0:g.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var j;const i=(j=e==null?void 0:e.metadata)==null?void 0:j.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,s=o&&r.every(D=>!!(D!=null&&D.fungible_info)),[u,g]=r||[];let p=this.getTransferDescription(u),y=this.getTransferDescription(g);if(!o)return(i==="send"||i==="receive")&&s?(p=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),y=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[p,y]):[e.metadata.status];if(n)return r==null?void 0:r.map(D=>this.getTransferDescription(D));let v="";return it.includes(i)?v="+":rt.includes(i)&&(v="-"),p=v.concat(p),[p]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var g;const s=(g=n==null?void 0:n.fungible_info)==null?void 0:g.name,u=o.find(({fungible_info:p,direction:y})=>s&&s===(p==null?void 0:p.name)&&y===n.direction);if(u){const p=Number(u.quantity.numeric)+Number(n.quantity.numeric);u.quantity.numeric=p.toString(),u.value=(u.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var s;const n=(s=o==null?void 0:o.fungible_info)==null?void 0:s.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(s=>s.direction==="in"),n=r.filter(s=>s.direction==="out");if(o.length===1&&n.length===1){const s=o[0],u=n[0];let g=!1;if(s&&u){const p=Number(s.quantity.numeric),y=Number(u.quantity.numeric);y<p*he?(i.push(s),g=!0):p<y*he&&(i.push(u),g=!0)}g||i.push(...r)}else{const s=this.filterGasFeesFromTokenGroup(r);i.push(...s)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(u=>Number(u.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(g=>Number(g.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(u=>u.direction==="in"),s=e==null?void 0:e.filter(u=>u.direction==="out");if(n.length===1&&s.length===1){const u=n[0],g=s[0];if(u&&g){const p=Number(u.quantity.numeric),y=Number(g.quantity.numeric);if(y<p*he)return[u];if(p<y*he)return[g]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(tt):null}};var $e;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})($e||($e={}));const nt=se`
1
+ import{i as oe,b as w}from"./lit-element-wjYUA6aF.js";import{n as T,r as Q,o as Fe}from"./class-map-C1Xjz5Lx.js";import{d as se,r as Ce}from"./index-B-O-iSaZ.js";import{U as Ie,c as ae}from"./index-BoKbwR_r.js";import{g as ye}from"./react-eG9s-ikt.js";import"./index-BpKPiWxn.js";import"./index-51w7zA3y.js";import"./index-1rMYynxj.js";import"./index-CmtAocwJ.js";import{C as pe,Y as F,b as xe,R as Re,O as Ne,E as Le,l as je,W as ke}from"./W3MFrameProviderSingleton-Cibnduoj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="30e1c693-b3c7-480d-ac13-394905e50212",e._sentryDebugIdIdentifier="sentry-dbid-30e1c693-b3c7-480d-ac13-394905e50212")}catch{}})();var me={exports:{}},ze=me.exports,Te;function Ee(){return Te||(Te=1,(function(e,t){(function(i,r){e.exports=r()})(ze,(function(){var i=1e3,r=6e4,o=36e5,n="millisecond",s="second",u="minute",g="hour",p="day",y="week",v="month",j="quarter",D="year",R="date",Y="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,ee=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,te={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(h){var l=["th","st","nd","rd"],a=h%100;return"["+h+(l[(a-20)%10]||l[a]||l[0])+"]"}},ie=function(h,l,a){var d=String(h);return!d||d.length>=l?h:""+Array(l+1-d.length).join(a)+h},q={s:ie,z:function(h){var l=-h.utcOffset(),a=Math.abs(l),d=Math.floor(a/60),c=a%60;return(l<=0?"+":"-")+ie(d,2,"0")+":"+ie(c,2,"0")},m:function h(l,a){if(l.date()<a.date())return-h(a,l);var d=12*(a.year()-l.year())+(a.month()-l.month()),c=l.clone().add(d,v),m=a-c<0,f=l.clone().add(d+(m?-1:1),v);return+(-(d+(a-c)/(m?c-f:f-c))||0)},a:function(h){return h<0?Math.ceil(h)||0:Math.floor(h)},p:function(h){return{M:v,y:D,w:y,d:p,D:R,h:g,m:u,s,ms:n,Q:j}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(h){return h===void 0}},S="en",O={};O[S]=te;var V="$isDayjsObject",B=function(h){return h instanceof le||!(!h||!h[V])},ce=function h(l,a,d){var c;if(!l)return S;if(typeof l=="string"){var m=l.toLowerCase();O[m]&&(c=m),a&&(O[m]=a,c=m);var f=l.split("-");if(!c&&f.length>1)return h(f[0])}else{var b=l.name;O[b]=l,c=b}return!d&&c&&(S=c),c||!d&&S},_=function(h,l){if(B(h))return h.clone();var a=typeof l=="object"?l:{};return a.date=h,a.args=arguments,new le(a)},x=q;x.l=ce,x.i=B,x.w=function(h,l){return _(h,{locale:l.$L,utc:l.$u,x:l.$x,$offset:l.$offset})};var le=(function(){function h(a){this.$L=ce(a.locale,null,!0),this.parse(a),this.$x=this.$x||a.x||{},this[V]=!0}var l=h.prototype;return l.parse=function(a){this.$d=(function(d){var c=d.date,m=d.utc;if(c===null)return new Date(NaN);if(x.u(c))return new Date;if(c instanceof Date)return new Date(c);if(typeof c=="string"&&!/Z$/i.test(c)){var f=c.match(X);if(f){var b=f[2]-1||0,$=(f[7]||"0").substring(0,3);return m?new Date(Date.UTC(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)):new Date(f[1],b,f[3]||1,f[4]||0,f[5]||0,f[6]||0,$)}}return new Date(c)})(a),this.init()},l.init=function(){var a=this.$d;this.$y=a.getFullYear(),this.$M=a.getMonth(),this.$D=a.getDate(),this.$W=a.getDay(),this.$H=a.getHours(),this.$m=a.getMinutes(),this.$s=a.getSeconds(),this.$ms=a.getMilliseconds()},l.$utils=function(){return x},l.isValid=function(){return this.$d.toString()!==Y},l.isSame=function(a,d){var c=_(a);return this.startOf(d)<=c&&c<=this.endOf(d)},l.isAfter=function(a,d){return _(a)<this.startOf(d)},l.isBefore=function(a,d){return this.endOf(d)<_(a)},l.$g=function(a,d,c){return x.u(a)?this[d]:this.set(c,a)},l.unix=function(){return Math.floor(this.valueOf()/1e3)},l.valueOf=function(){return this.$d.getTime()},l.startOf=function(a,d){var c=this,m=!!x.u(d)||d,f=x.p(a),b=function(P,A){var z=x.w(c.$u?Date.UTC(c.$y,A,P):new Date(c.$y,A,P),c);return m?z:z.endOf(p)},$=function(P,A){return x.w(c.toDate()[P].apply(c.toDate("s"),(m?[0,0,0,0]:[23,59,59,999]).slice(A)),c)},I=this.$W,M=this.$M,C=this.$D,J="set"+(this.$u?"UTC":"");switch(f){case D:return m?b(1,0):b(31,11);case v:return m?b(1,M):b(0,M+1);case y:var W=this.$locale().weekStart||0,re=(I<W?I+7:I)-W;return b(m?C-re:C+(6-re),M);case p:case R:return $(J+"Hours",0);case g:return $(J+"Minutes",1);case u:return $(J+"Seconds",2);case s:return $(J+"Milliseconds",3);default:return this.clone()}},l.endOf=function(a){return this.startOf(a,!1)},l.$set=function(a,d){var c,m=x.p(a),f="set"+(this.$u?"UTC":""),b=(c={},c[p]=f+"Date",c[R]=f+"Date",c[v]=f+"Month",c[D]=f+"FullYear",c[g]=f+"Hours",c[u]=f+"Minutes",c[s]=f+"Seconds",c[n]=f+"Milliseconds",c)[m],$=m===p?this.$D+(d-this.$W):d;if(m===v||m===D){var I=this.clone().set(R,1);I.$d[b]($),I.init(),this.$d=I.set(R,Math.min(this.$D,I.daysInMonth())).$d}else b&&this.$d[b]($);return this.init(),this},l.set=function(a,d){return this.clone().$set(a,d)},l.get=function(a){return this[x.p(a)]()},l.add=function(a,d){var c,m=this;a=Number(a);var f=x.p(d),b=function(M){var C=_(m);return x.w(C.date(C.date()+Math.round(M*a)),m)};if(f===v)return this.set(v,this.$M+a);if(f===D)return this.set(D,this.$y+a);if(f===p)return b(1);if(f===y)return b(7);var $=(c={},c[u]=r,c[g]=o,c[s]=i,c)[f]||1,I=this.$d.getTime()+a*$;return x.w(I,this)},l.subtract=function(a,d){return this.add(-1*a,d)},l.format=function(a){var d=this,c=this.$locale();if(!this.isValid())return c.invalidDate||Y;var m=a||"YYYY-MM-DDTHH:mm:ssZ",f=x.z(this),b=this.$H,$=this.$m,I=this.$M,M=c.weekdays,C=c.months,J=c.meridiem,W=function(A,z,ne,de){return A&&(A[z]||A(d,m))||ne[z].slice(0,de)},re=function(A){return x.s(b%12||12,A,"0")},P=J||function(A,z,ne){var de=A<12?"AM":"PM";return ne?de.toLowerCase():de};return m.replace(ee,(function(A,z){return z||(function(ne){switch(ne){case"YY":return String(d.$y).slice(-2);case"YYYY":return x.s(d.$y,4,"0");case"M":return I+1;case"MM":return x.s(I+1,2,"0");case"MMM":return W(c.monthsShort,I,C,3);case"MMMM":return W(C,I);case"D":return d.$D;case"DD":return x.s(d.$D,2,"0");case"d":return String(d.$W);case"dd":return W(c.weekdaysMin,d.$W,M,2);case"ddd":return W(c.weekdaysShort,d.$W,M,3);case"dddd":return M[d.$W];case"H":return String(b);case"HH":return x.s(b,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return P(b,$,!0);case"A":return P(b,$,!1);case"m":return String($);case"mm":return x.s($,2,"0");case"s":return String(d.$s);case"ss":return x.s(d.$s,2,"0");case"SSS":return x.s(d.$ms,3,"0");case"Z":return f}return null})(A)||f.replace(":","")}))},l.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},l.diff=function(a,d,c){var m,f=this,b=x.p(d),$=_(a),I=($.utcOffset()-this.utcOffset())*r,M=this-$,C=function(){return x.m(f,$)};switch(b){case D:m=C()/12;break;case v:m=C();break;case j:m=C()/3;break;case y:m=(M-I)/6048e5;break;case p:m=(M-I)/864e5;break;case g:m=M/o;break;case u:m=M/r;break;case s:m=M/i;break;default:m=M}return c?m:x.a(m)},l.daysInMonth=function(){return this.endOf(v).$D},l.$locale=function(){return O[this.$L]},l.locale=function(a,d){if(!a)return this.$L;var c=this.clone(),m=ce(a,d,!0);return m&&(c.$L=m),c},l.clone=function(){return x.w(this.$d,this)},l.toDate=function(){return new Date(this.valueOf())},l.toJSON=function(){return this.isValid()?this.toISOString():null},l.toISOString=function(){return this.$d.toISOString()},l.toString=function(){return this.$d.toUTCString()},h})(),_e=le.prototype;return _.prototype=_e,[["$ms",n],["$s",s],["$m",u],["$H",g],["$W",p],["$M",v],["$y",D],["$D",R]].forEach((function(h){_e[h[1]]=function(l){return this.$g(l,h[0],h[1])}})),_.extend=function(h,l){return h.$i||(h(l,le,_),h.$i=!0),_},_.locale=ce,_.isDayjs=B,_.unix=function(h){return _(1e3*h)},_.en=O[S],_.Ls=O,_.p={},_}))})(me)),me.exports}var Ue=Ee();const K=ye(Ue);var fe={exports:{}},Ye=fe.exports,Me;function qe(){return Me||(Me=1,(function(e,t){(function(i,r){e.exports=r()})(Ye,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(i){var r=["th","st","nd","rd"],o=i%100;return"["+i+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})(fe)),fe.exports}var Be=qe();const We=ye(Be);var ge={exports:{}},Pe=ge.exports,Se;function He(){return Se||(Se=1,(function(e,t){(function(i,r){e.exports=r()})(Pe,(function(){return function(i,r,o){i=i||{};var n=r.prototype,s={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(p,y,v,j){return n.fromToBase(p,y,v,j)}o.en.relativeTime=s,n.fromToBase=function(p,y,v,j,D){for(var R,Y,X,ee=v.$locale().relativeTime||s,te=i.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],ie=te.length,q=0;q<ie;q+=1){var S=te[q];S.d&&(R=j?o(p).diff(v,S.d,!0):v.diff(p,S.d,!0));var O=(i.rounding||Math.round)(Math.abs(R));if(X=R>0,O<=S.r||!S.r){O<=1&&q>0&&(S=te[q-1]);var V=ee[S.l];D&&(O=D(""+O)),Y=typeof V=="string"?V.replace("%d",O):V(O,y,S.l,X);break}}if(y)return Y;var B=X?ee.future:ee.past;return typeof B=="function"?B(Y):B.replace("%s",Y)},n.to=function(p,y){return u(p,y,this,!0)},n.from=function(p,y){return u(p,y,this)};var g=function(p){return p.$u?o.utc():o()};n.toNow=function(p){return this.to(g(this),p)},n.fromNow=function(p){return this.from(g(this),p)}}}))})(ge)),ge.exports}var Ge=He();const Ve=ye(Ge);var we={exports:{}},Je=we.exports,Oe;function Ze(){return Oe||(Oe=1,(function(e,t){(function(i,r){e.exports=r()})(Je,(function(){return function(i,r,o){o.updateLocale=function(n,s){var u=o.Ls[n];if(u)return(s?Object.keys(s):[]).forEach((function(g){u[g]=s[g]})),u}}}))})(we)),we.exports}var Ke=Ze();const Qe=ye(Ke);K.extend(Ve);K.extend(Qe);const Xe={...We,name:"en-web3-modal",relativeTime:{future:"in %s",past:"%s ago",s:"%d sec",m:"1 min",mm:"%d min",h:"1 hr",hh:"%d hrs",d:"1 d",dd:"%d d",M:"1 mo",MM:"%d mo",y:"1 yr",yy:"%d yr"}},et=["January","February","March","April","May","June","July","August","September","October","November","December"];K.locale("en-web3-modal",Xe);const ve={getMonthNameByIndex(e){return et[e]},getYear(e=new Date().toISOString()){return K(e).year()},getRelativeDateFromNow(e){return K(e).locale("en-web3-modal").fromNow(!0)},formatDate(e,t="DD MMM"){return K(e).format(t)}},tt=3,he=.1,it=["receive","deposit","borrow","claim"],rt=["withdraw","repay","burn"],Z={getTransactionGroupTitle(e,t){const i=ve.getYear(),r=ve.getMonthNameByIndex(t);return e===i?r:`${r} ${e}`},getTransactionImages(e){const[t]=e;return(e==null?void 0:e.length)>1?e.map(r=>this.getTransactionImage(r)):[this.getTransactionImage(t)]},getTransactionImage(e){return{type:Z.getTransactionTransferTokenType(e),url:Z.getTransactionImageURL(e)}},getTransactionImageURL(e){var o,n,s,u,g;let t;const i=!!(e!=null&&e.nft_info),r=!!(e!=null&&e.fungible_info);return e&&i?t=(s=(n=(o=e==null?void 0:e.nft_info)==null?void 0:o.content)==null?void 0:n.preview)==null?void 0:s.url:e&&r&&(t=(g=(u=e==null?void 0:e.fungible_info)==null?void 0:u.icon)==null?void 0:g.url),t},getTransactionTransferTokenType(e){if(e!=null&&e.fungible_info)return"FUNGIBLE";if(e!=null&&e.nft_info)return"NFT"},getTransactionDescriptions(e,t){var j;const i=(j=e==null?void 0:e.metadata)==null?void 0:j.operationType,r=t||(e==null?void 0:e.transfers),o=r&&r.length>0,n=r&&r.length>1,s=o&&r.every(D=>!!(D!=null&&D.fungible_info)),[u,g]=r||[];let p=this.getTransferDescription(u),y=this.getTransferDescription(g);if(!o)return(i==="send"||i==="receive")&&s?(p=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentFrom,charsStart:4,charsEnd:6,truncate:"middle"}),y=Ie.getTruncateString({string:e==null?void 0:e.metadata.sentTo,charsStart:4,charsEnd:6,truncate:"middle"}),[p,y]):[e.metadata.status];if(n)return r==null?void 0:r.map(D=>this.getTransferDescription(D));let v="";return it.includes(i)?v="+":rt.includes(i)&&(v="-"),p=v.concat(p),[p]},getTransferDescription(e){var i;let t="";return e&&(e!=null&&e.nft_info?t=((i=e==null?void 0:e.nft_info)==null?void 0:i.name)||"-":e!=null&&e.fungible_info&&(t=this.getFungibleTransferDescription(e)||"-")),t},getFungibleTransferDescription(e){var r;return e?[this.getQuantityFixedValue(e==null?void 0:e.quantity.numeric),(r=e==null?void 0:e.fungible_info)==null?void 0:r.symbol].join(" ").trim():null},mergeTransfers(e){if((e==null?void 0:e.length)<=1)return e;const i=this.filterGasFeeTransfers(e).reduce((o,n)=>{var g;const s=(g=n==null?void 0:n.fungible_info)==null?void 0:g.name,u=o.find(({fungible_info:p,direction:y})=>s&&s===(p==null?void 0:p.name)&&y===n.direction);if(u){const p=Number(u.quantity.numeric)+Number(n.quantity.numeric);u.quantity.numeric=p.toString(),u.value=(u.value||0)+(n.value||0)}else o.push(n);return o},[]);let r=i;return i.length>2&&(r=i.sort((o,n)=>(n.value||0)-(o.value||0)).slice(0,2)),r=r.sort((o,n)=>o.direction==="out"&&n.direction==="in"?-1:o.direction==="in"&&n.direction==="out"?1:0),r},filterGasFeeTransfers(e){const t=e==null?void 0:e.reduce((r,o)=>{var s;const n=(s=o==null?void 0:o.fungible_info)==null?void 0:s.name;return n&&(r[n]||(r[n]=[]),r[n].push(o)),r},{}),i=[];return Object.values(t??{}).forEach(r=>{if(r.length===1){const o=r[0];o&&i.push(o)}else{const o=r.filter(s=>s.direction==="in"),n=r.filter(s=>s.direction==="out");if(o.length===1&&n.length===1){const s=o[0],u=n[0];let g=!1;if(s&&u){const p=Number(s.quantity.numeric),y=Number(u.quantity.numeric);y<p*he?(i.push(s),g=!0):p<y*he&&(i.push(u),g=!0)}g||i.push(...r)}else{const s=this.filterGasFeesFromTokenGroup(r);i.push(...s)}}}),e==null||e.forEach(r=>{var o;(o=r==null?void 0:r.fungible_info)!=null&&o.name||i.push(r)}),i},filterGasFeesFromTokenGroup(e){if(e.length<=1)return e;const t=e==null?void 0:e.map(u=>Number(u.quantity.numeric)),i=Math.max(...t),r=Math.min(...t),o=.01;if(r<i*o)return e==null?void 0:e.filter(g=>Number(g.quantity.numeric)>=i*o);const n=e==null?void 0:e.filter(u=>u.direction==="in"),s=e==null?void 0:e.filter(u=>u.direction==="out");if(n.length===1&&s.length===1){const u=n[0],g=s[0];if(u&&g){const p=Number(u.quantity.numeric),y=Number(g.quantity.numeric);if(y<p*he)return[u];if(p<y*he)return[g]}}return e},getQuantityFixedValue(e){return e?parseFloat(e).toFixed(tt):null}};var $e;(function(e){e.approve="approved",e.bought="bought",e.borrow="borrowed",e.burn="burnt",e.cancel="canceled",e.claim="claimed",e.deploy="deployed",e.deposit="deposited",e.execute="executed",e.mint="minted",e.receive="received",e.repay="repaid",e.send="sent",e.sell="sold",e.stake="staked",e.trade="swapped",e.unstake="unstaked",e.withdraw="withdrawn"})($e||($e={}));const nt=se`
2
2
  :host > wui-flex {
3
3
  display: flex;
4
4
  justify-content: center;
@@ -423,4 +423,4 @@ import{i as oe,b as w}from"./lit-element-wjYUA6aF.js";import{n as T,r as Q,o as
423
423
  ${Array(lt).fill(w` <wui-transaction-list-item-loader></wui-transaction-list-item-loader> `).map(t=>t)}
424
424
  </wui-flex>
425
425
  </wui-flex>`:null}onReceiveClick(){Re.push("WalletReceive")}createPaginationObserver(){const{projectId:t}=Ne.state;this.paginationObserver=new IntersectionObserver(([i])=>{i!=null&&i.isIntersecting&&!this.loading&&(F.fetchTransactions(xe.getPlainAddress(this.caipAddress)),Le.sendEvent({type:"track",event:"LOAD_MORE_TRANSACTIONS",properties:{address:xe.getPlainAddress(this.caipAddress),projectId:t,cursor:this.next,isSmartAccount:je(pe.state.activeChain)===ke.ACCOUNT_TYPES.SMART_ACCOUNT}}))},{}),this.setPaginationObserver()}setPaginationObserver(){var i,r,o;(i=this.paginationObserver)==null||i.disconnect();const t=(r=this.shadowRoot)==null?void 0:r.querySelector(`#${Ae}`);t&&((o=this.paginationObserver)==null||o.observe(t))}getTransactionListItemProps(t){var g,p,y;const i=ve.formatDate((g=t==null?void 0:t.metadata)==null?void 0:g.minedAt),r=Z.mergeTransfers((t==null?void 0:t.transfers)||[]),o=Z.getTransactionDescriptions(t,r),n=r==null?void 0:r[0],s=!!n&&(r==null?void 0:r.every(v=>!!v.nft_info)),u=Z.getTransactionImages(r);return{date:i,direction:n==null?void 0:n.direction,descriptions:o,isAllNFT:s,images:u,status:(p=t.metadata)==null?void 0:p.status,transfers:r,type:(y=t.metadata)==null?void 0:y.operationType}}};k.styles=ct;G([T()],k.prototype,"page",void 0);G([Q()],k.prototype,"caipAddress",void 0);G([Q()],k.prototype,"transactionsByYear",void 0);G([Q()],k.prototype,"loading",void 0);G([Q()],k.prototype,"empty",void 0);G([Q()],k.prototype,"next",void 0);k=G([ae("w3m-activity-list")],k);
426
- //# sourceMappingURL=index-B26jXw0s.js.map
426
+ //# sourceMappingURL=index-BM1_FO9D.js.map
@@ -1,4 +1,4 @@
1
- import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from"./class-map-C1Xjz5Lx.js";import"./index-Bbru3l1o.js";import{c as f}from"./index-mmjMOR4z.js";import{d as y,r as g,e as m}from"./index-DgPmTEff.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3dd27fa9-c0e5-4c49-9daa-5e47a72c558c",e._sentryDebugIdIdentifier="sentry-dbid-3dd27fa9-c0e5-4c49-9daa-5e47a72c558c")}catch{}})();const b=y`
1
+ import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from"./class-map-C1Xjz5Lx.js";import"./index-Dx9931Ye.js";import{c as f}from"./index-BoKbwR_r.js";import{d as y,r as g,e as m}from"./index-B-O-iSaZ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3dd27fa9-c0e5-4c49-9daa-5e47a72c558c",e._sentryDebugIdIdentifier="sentry-dbid-3dd27fa9-c0e5-4c49-9daa-5e47a72c558c")}catch{}})();const b=y`
2
2
  :host {
3
3
  width: 100%;
4
4
  }
@@ -75,4 +75,4 @@ import{i as h,b as d}from"./lit-element-wjYUA6aF.js";import{n as i,o as p}from".
75
75
  src=${this.imageSrc}
76
76
  boxColor=${this.boxColor}
77
77
  ></wui-image>`}templateRightIcon(){return this.rightIcon?this.loading?d`<wui-loading-spinner size="md" color="accent-primary"></wui-loading-spinner>`:d`<wui-icon name="chevronRight" size="lg" color="default"></wui-icon>`:null}};o.styles=[g,m,b];t([i()],o.prototype,"type",void 0);t([i()],o.prototype,"imageSrc",void 0);t([i()],o.prototype,"imageSize",void 0);t([i()],o.prototype,"icon",void 0);t([i()],o.prototype,"iconColor",void 0);t([i({type:Boolean})],o.prototype,"loading",void 0);t([i()],o.prototype,"tabIdx",void 0);t([i()],o.prototype,"boxColor",void 0);t([i({type:Boolean})],o.prototype,"disabled",void 0);t([i({type:Boolean})],o.prototype,"rightIcon",void 0);t([i({type:Boolean})],o.prototype,"boxed",void 0);t([i({type:Boolean})],o.prototype,"rounded",void 0);t([i({type:Boolean})],o.prototype,"fullSize",void 0);o=t([f("wui-list-item")],o);
78
- //# sourceMappingURL=index-B5Bmxi3c.js.map
78
+ //# sourceMappingURL=index-BR0CZ690.js.map
@@ -1 +1 @@
1
- .ico{display:inline-block;width:20px;height:20px;flex:none;background-color:currentColor;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.ccy-mark{width:1em;height:1em;vertical-align:-.125em}.ccy-mark,.ccy{color:var(--text)}:root{--nav-h: 92px;--bg: #ffffff;--text: #161518;--text-2: #242129;--muted: #716b7c;--muted-1: #5e5b67;--muted-2: #a09ba8;--line: #e6e4ea;--line-strong: #a09ba8;--media: #ecebed;--panel: #f5f5f5;--chip: #ecebed;--gray-0: #43404a;--accent: #691fa9;--brand-violet: #a524b3;--rarity: #a14bf3;--rarity-bg: rgba(161, 75, 243, .3);--black-btn: #242129;--soft-white: #fcfcfc;--dcl-red: #ff2d55;--ok: #1ea672;--err: #d33;--amethyst: linear-gradient(180deg, #c640cd 0%, #691fa9 100%);--cerise: linear-gradient(135deg, #ff2d55 0%, #c640cd 100%);--buy-btn: linear-gradient(180.93deg, #ff7439 2.82%, #ff2d55 97.47%);--radius-card: 12px;--radius-chip: 4px;--radius-btn: 8px;--radius-pill: 50px;--radius-banner: 24px;--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--z-overlay: 10000;--z-tooltip: 10010;--skeleton-lo: rgba(255, 255, 255, .07);--skeleton-hi: rgba(255, 255, 255, .16)}@media(max-width:991px){:root{--nav-h: 64px}}*{box-sizing:border-box}html{overflow-x:clip}body{margin:0;padding-top:var(--nav-h);background:radial-gradient(61.64% 109.58% at 50% 54.49%,#952dc6,#7c27a8,#642089,#4b1a6b,#32134c) fixed;color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}@keyframes symbol-drift{0%{background-position:0 0}to{background-position:-610px -610px}}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:url(https://cdn.decentraland.org/@dcl/shop/1.11.4-34330755340.commit-4c5da2a/_assets/DCL_LogoPattern-BryBPc3d.png) 0 0 repeat;background-size:610px 610px;opacity:.03;animation:symbol-drift 150s linear infinite;-webkit-mask-image:radial-gradient(75% 70% at 50% 45%,transparent 25%,#000 85%);mask-image:radial-gradient(75% 70% at 50% 45%,transparent 25%,#000 85%)}@media(prefers-reduced-motion:reduce){body:before{animation:none}}#root{display:flex;flex-direction:column;min-height:calc(100vh - var(--nav-h))}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}h1,h2{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--err)}.error-notice{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid rgba(221,51,51,.25);border-radius:var(--radius-btn);background:#dd333314;color:var(--err);font-size:14px;line-height:1.4;text-align:left}.error-notice__ico{flex:none;width:18px;height:18px}.error-notice__msg{color:var(--text-2)}.link{background:none;border:0;color:var(--accent);cursor:pointer;padding:0;font:inherit;font-weight:600}.page{padding:28px 54px 80px;max-width:1760px;margin:0 auto;width:100%;flex:1 0 auto;min-height:calc(100vh - var(--nav-h))}.page[data-route="/credits"]{min-height:0}.page[data-route="/overview"]{padding-top:0}.page[data-route="/cart"],.page[data-route="/success"]{display:flex;flex-direction:column}@media(max-width:768px){.page{padding:16px 16px 56px}.page[data-route="/credits"]{min-height:0}}.placeholder{color:var(--muted);font-size:18px;padding:40px 0}.page-loading{display:grid;place-items:center;min-height:60vh}@keyframes shimmer{to{background-position:-200% 0}}.spinner{width:30px;height:30px;margin-top:14px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}.skeleton{border-radius:6px;background:linear-gradient(100deg,var(--skeleton-lo) 30%,var(--skeleton-hi) 50%,var(--skeleton-lo) 70%);background-size:200% 100%;animation:shimmer 1.4s infinite linear}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}@keyframes cart-pop-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
1
+ .ico{display:inline-block;width:20px;height:20px;flex:none;background-color:currentColor;-webkit-mask-image:var(--icon-url);mask-image:var(--icon-url);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;-webkit-mask-size:contain;mask-size:contain}.ccy-mark{width:1em;height:1em;vertical-align:-.125em}.ccy-mark,.ccy{color:var(--text)}:root{--nav-h: 92px;--bg: #ffffff;--text: #161518;--text-2: #242129;--muted: #716b7c;--muted-1: #5e5b67;--muted-2: #a09ba8;--line: #e6e4ea;--line-strong: #a09ba8;--media: #ecebed;--panel: #f5f5f5;--chip: #ecebed;--gray-0: #43404a;--accent: #691fa9;--brand-violet: #a524b3;--rarity: #a14bf3;--rarity-bg: rgba(161, 75, 243, .3);--black-btn: #242129;--soft-white: #fcfcfc;--dcl-red: #ff2d55;--ok: #1ea672;--err: #d33;--amethyst: linear-gradient(180deg, #c640cd 0%, #691fa9 100%);--cerise: linear-gradient(135deg, #ff2d55 0%, #c640cd 100%);--buy-btn: linear-gradient(180.93deg, #ff7439 2.82%, #ff2d55 97.47%);--radius-card: 12px;--radius-chip: 4px;--radius-btn: 8px;--radius-pill: 50px;--radius-banner: 24px;--sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--z-overlay: 10000;--z-tooltip: 10010;--skeleton-lo: rgba(255, 255, 255, .07);--skeleton-hi: rgba(255, 255, 255, .16)}@media(max-width:991px){:root{--nav-h: 64px}}*{box-sizing:border-box}html{overflow-x:clip}body{margin:0;padding-top:var(--nav-h);background:radial-gradient(61.64% 109.58% at 50% 54.49%,#952dc6,#7c27a8,#642089,#4b1a6b,#32134c) fixed;color:var(--text);font-family:var(--sans);-webkit-font-smoothing:antialiased}@keyframes symbol-drift{0%{background-position:0 0}to{background-position:-610px -610px}}body:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;z-index:-1;pointer-events:none;background:url(https://cdn.decentraland.org/@dcl/shop/1.11.4-34330779082.commit-8fdf2a9/_assets/DCL_LogoPattern-BryBPc3d.png) 0 0 repeat;background-size:610px 610px;opacity:.03;animation:symbol-drift 150s linear infinite;-webkit-mask-image:radial-gradient(75% 70% at 50% 45%,transparent 25%,#000 85%);mask-image:radial-gradient(75% 70% at 50% 45%,transparent 25%,#000 85%)}@media(prefers-reduced-motion:reduce){body:before{animation:none}}#root{display:flex;flex-direction:column;min-height:calc(100vh - var(--nav-h))}a{color:inherit;text-decoration:none}button{font-family:inherit;cursor:pointer}h1,h2{margin:0}.muted{color:var(--muted)}.small{font-size:13px}.error{color:var(--err)}.error-notice{display:flex;align-items:center;gap:8px;margin:0;padding:10px 12px;border:1px solid rgba(221,51,51,.25);border-radius:var(--radius-btn);background:#dd333314;color:var(--err);font-size:14px;line-height:1.4;text-align:left}.error-notice__ico{flex:none;width:18px;height:18px}.error-notice__msg{color:var(--text-2)}.link{background:none;border:0;color:var(--accent);cursor:pointer;padding:0;font:inherit;font-weight:600}.page{padding:28px 54px 80px;max-width:1760px;margin:0 auto;width:100%;flex:1 0 auto;min-height:calc(100vh - var(--nav-h))}.page[data-route="/credits"]{min-height:0}.page[data-route="/overview"]{padding-top:0}.page[data-route="/cart"],.page[data-route="/success"]{display:flex;flex-direction:column}@media(max-width:768px){.page{padding:16px 16px 56px}.page[data-route="/credits"]{min-height:0}}.placeholder{color:var(--muted);font-size:18px;padding:40px 0}.page-loading{display:grid;place-items:center;min-height:60vh}@keyframes shimmer{to{background-position:-200% 0}}.spinner{width:30px;height:30px;margin-top:14px;border-radius:50%;border:3px solid var(--line);border-top-color:var(--accent);animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.spinner{animation-duration:2s}}.skeleton{border-radius:6px;background:linear-gradient(100deg,var(--skeleton-lo) 30%,var(--skeleton-hi) 50%,var(--skeleton-lo) 70%);background-size:200% 100%;animation:shimmer 1.4s infinite linear}@media(prefers-reduced-motion:reduce){.skeleton{animation:none}}@keyframes cart-pop-in{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
@@ -1,2 +1,2 @@
1
- import"./react-0mIt9LQV.js";import{r as i}from"./index-xb-vrPqz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="fc926eed-22aa-4f51-9ee7-738213e9b894",e._sentryDebugIdIdentifier="sentry-dbid-fc926eed-22aa-4f51-9ee7-738213e9b894")}catch{}})();function s(e,r){for(var o=0;o<r.length;o++){const t=r[o];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(t,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=i();const u=s({__proto__:null},[d]);export{u as i};
2
- //# sourceMappingURL=index-CdSo96Uk.js.map
1
+ import"./react-eG9s-ikt.js";import{r as i}from"./index-_RY0sUV6.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="fc926eed-22aa-4f51-9ee7-738213e9b894",e._sentryDebugIdIdentifier="sentry-dbid-fc926eed-22aa-4f51-9ee7-738213e9b894")}catch{}})();function s(e,r){for(var o=0;o<r.length;o++){const t=r[o];if(typeof t!="string"&&!Array.isArray(t)){for(const n in t)if(n!=="default"&&!(n in e)){const f=Object.getOwnPropertyDescriptor(t,n);f&&Object.defineProperty(e,n,f.get?f:{enumerable:!0,get:()=>t[n]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var d=i();const u=s({__proto__:null},[d]);export{u as i};
2
+ //# sourceMappingURL=index-Bjv1e3vN.js.map
@@ -1,4 +1,4 @@
1
- import{f as R,c as b}from"./react-0mIt9LQV.js";import{p as w}from"./sentry-CKChyG79.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="089689ab-23ca-43d9-901d-fa814cc8d2a0",e._sentryDebugIdIdentifier="sentry-dbid-089689ab-23ca-43d9-901d-fa814cc8d2a0")}catch{}})();var g={};/*! *****************************************************************************
1
+ import{f as R,c as b}from"./react-eG9s-ikt.js";import{p as w}from"./sentry-OF5uNXQc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="089689ab-23ca-43d9-901d-fa814cc8d2a0",e._sentryDebugIdIdentifier="sentry-dbid-089689ab-23ca-43d9-901d-fa814cc8d2a0")}catch{}})();var g={};/*! *****************************************************************************
2
2
  Copyright (c) Microsoft Corporation.
3
3
 
4
4
  Permission to use, copy, modify, and/or distribute this software for any
@@ -12,4 +12,4 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
12
12
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
13
13
  PERFORMANCE OF THIS SOFTWARE.
14
14
  ***************************************************************************** */var m=function(e,t){return m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,o){r.__proto__=o}||function(r,o){for(var i in o)o.hasOwnProperty(i)&&(r[i]=o[i])},m(e,t)};function E(e,t){m(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var O=function(){return O=Object.assign||function(t){for(var r,o=1,i=arguments.length;o<i;o++){r=arguments[o];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},O.apply(this,arguments)};function B(e,t){var r={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(r[o]=e[o]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,o=Object.getOwnPropertySymbols(e);i<o.length;i++)t.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(r[o[i]]=e[o[i]]);return r}function q(e,t,r,o){var i=arguments.length,n=i<3?t:o===null?o=Object.getOwnPropertyDescriptor(t,r):o,u;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,r,o);else for(var f=e.length-1;f>=0;f--)(u=e[f])&&(n=(i<3?u(n):i>3?u(t,r,n):u(t,r))||n);return i>3&&n&&Object.defineProperty(t,r,n),n}function N(e,t){return function(r,o){t(r,o,e)}}function T(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function A(e,t,r,o){function i(n){return n instanceof r?n:new r(function(u){u(n)})}return new(r||(r=Promise))(function(n,u){function f(l){try{a(o.next(l))}catch(_){u(_)}}function s(l){try{a(o.throw(l))}catch(_){u(_)}}function a(l){l.done?n(l.value):i(l.value).then(f,s)}a((o=o.apply(e,t||[])).next())})}function D(e,t){var r={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},o,i,n,u;return u={next:f(0),throw:f(1),return:f(2)},typeof Symbol=="function"&&(u[Symbol.iterator]=function(){return this}),u;function f(a){return function(l){return s([a,l])}}function s(a){if(o)throw new TypeError("Generator is already executing.");for(;r;)try{if(o=1,i&&(n=a[0]&2?i.return:a[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,a[1])).done)return n;switch(i=0,n&&(a=[a[0]&2,n.value]),a[0]){case 0:case 1:n=a;break;case 4:return r.label++,{value:a[1],done:!1};case 5:r.label++,i=a[1],a=[0];continue;case 7:a=r.ops.pop(),r.trys.pop();continue;default:if(n=r.trys,!(n=n.length>0&&n[n.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!n||a[1]>n[0]&&a[1]<n[3])){r.label=a[1];break}if(a[0]===6&&r.label<n[1]){r.label=n[1],n=a;break}if(n&&r.label<n[2]){r.label=n[2],r.ops.push(a);break}n[2]&&r.ops.pop(),r.trys.pop();continue}a=t.call(e,r)}catch(l){a=[6,l],i=0}finally{o=n=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}}function G(e,t,r,o){o===void 0&&(o=r),e[o]=t[r]}function M(e,t){for(var r in e)r!=="default"&&!t.hasOwnProperty(r)&&(t[r]=e[r])}function S(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],o=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&o>=e.length&&(e=void 0),{value:e&&e[o++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function C(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var o=r.call(e),i,n=[],u;try{for(;(t===void 0||t-- >0)&&!(i=o.next()).done;)n.push(i.value)}catch(f){u={error:f}}finally{try{i&&!i.done&&(r=o.return)&&r.call(o)}finally{if(u)throw u.error}}return n}function $(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(C(arguments[t]));return e}function F(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var o=Array(e),i=0,t=0;t<r;t++)for(var n=arguments[t],u=0,f=n.length;u<f;u++,i++)o[i]=n[u];return o}function v(e){return this instanceof v?(this.v=e,this):new v(e)}function z(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var o=r.apply(e,t||[]),i,n=[];return i={},u("next"),u("throw"),u("return"),i[Symbol.asyncIterator]=function(){return this},i;function u(c){o[c]&&(i[c]=function(p){return new Promise(function(h,I){n.push([c,p,h,I])>1||f(c,p)})})}function f(c,p){try{s(o[c](p))}catch(h){_(n[0][3],h)}}function s(c){c.value instanceof v?Promise.resolve(c.value.v).then(a,l):_(n[0][2],c)}function a(c){f("next",c)}function l(c){f("throw",c)}function _(c,p){c(p),n.shift(),n.length&&f(n[0][0],n[0][1])}}function V(e){var t,r;return t={},o("next"),o("throw",function(i){throw i}),o("return"),t[Symbol.iterator]=function(){return this},t;function o(i,n){t[i]=e[i]?function(u){return(r=!r)?{value:v(e[i](u)),done:i==="return"}:n?n(u):u}:n}}function H(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof S=="function"?S(e):e[Symbol.iterator](),r={},o("next"),o("throw"),o("return"),r[Symbol.asyncIterator]=function(){return this},r);function o(n){r[n]=e[n]&&function(u){return new Promise(function(f,s){u=e[n](u),i(f,s,u.done,u.value)})}}function i(n,u,f,s){Promise.resolve(s).then(function(a){n({value:a,done:f})},u)}}function J(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function K(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function L(e){return e&&e.__esModule?e:{default:e}}function Q(e,t){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return t.get(e)}function U(e,t,r){if(!t.has(e))throw new TypeError("attempted to set private field on non-instance");return t.set(e,r),r}const W=Object.freeze(Object.defineProperty({__proto__:null,get __assign(){return O},__asyncDelegator:V,__asyncGenerator:z,__asyncValues:H,__await:v,__awaiter:A,__classPrivateFieldGet:Q,__classPrivateFieldSet:U,__createBinding:G,__decorate:q,__exportStar:M,__extends:E,__generator:D,__importDefault:L,__importStar:K,__makeTemplateObject:J,__metadata:T,__param:N,__read:C,__rest:B,__spread:$,__spreadArrays:F,__values:S},Symbol.toStringTag,{value:"Module"})),X=R(W);var y={},j;function Y(){if(j)return y;j=1,Object.defineProperty(y,"__esModule",{value:!0}),y.isBrowserCryptoAvailable=y.getSubtleCrypto=y.getBrowerCrypto=void 0;function e(){return(b===null||b===void 0?void 0:b.crypto)||(b===null||b===void 0?void 0:b.msCrypto)||{}}y.getBrowerCrypto=e;function t(){const o=e();return o.subtle||o.webkitSubtle}y.getSubtleCrypto=t;function r(){return!!e()&&!!t()}return y.isBrowserCryptoAvailable=r,y}var d={},P;function Z(){if(P)return d;P=1,Object.defineProperty(d,"__esModule",{value:!0}),d.isBrowser=d.isNode=d.isReactNative=void 0;function e(){return typeof document>"u"&&typeof navigator<"u"&&navigator.product==="ReactNative"}d.isReactNative=e;function t(){return typeof w<"u"&&typeof w.versions<"u"&&typeof w.versions.node<"u"}d.isNode=t;function r(){return!e()&&!t()}return d.isBrowser=r,d}var x;function k(){return x||(x=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});const t=X;t.__exportStar(Y(),e),t.__exportStar(Z(),e)})(g)),g}var re=k();export{re as c};
15
- //# sourceMappingURL=index-hdL756r4.js.map
15
+ //# sourceMappingURL=index-BkpfJu6V.js.map
@@ -1,5 +1,5 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/PhArrowCircleDown-DBmTctYK.js","_assets/property-CbgY9QKj.js","_assets/PhArrowClockwise-ZWBqR1iF.js","_assets/PhArrowDown-WIeXIufM.js","_assets/PhArrowLeft-DvlPA_kr.js","_assets/PhArrowRight-CcUcrmQK.js","_assets/PhArrowSquareOut-eQSuZWr9.js","_assets/PhArrowsDownUp-fJXobkfl.js","_assets/PhArrowsLeftRight-DsRlafed.js","_assets/PhArrowUp-oNKVxFhx.js","_assets/PhArrowUpRight-mk1FSkK1.js","_assets/PhArrowsClockwise-DvXb79Nq.js","_assets/PhBank-BxBmdtlc.js","_assets/PhBrowser-TbGdYALn.js","_assets/PhCaretDown-DjcNJ1zq.js","_assets/PhCaretLeft-BkF0xuuP.js","_assets/PhCaretRight-cZcclogr.js","_assets/PhCaretUp-BTUuw_V5.js","_assets/PhCheck-Dok-YRwJ.js","_assets/PhCircleHalf-C_G0Deju.js","_assets/PhClock-DxtyCCHN.js","_assets/PhCompass-Cr5Wk3ha.js","_assets/PhCopy-DpSRSBDo.js","_assets/PhCreditCard-rQSlkLhU.js","_assets/PhCurrencyDollar-DSXfHZr-.js","_assets/PhDesktop-B8t_jyeP.js","_assets/PhDeviceMobile-CKMo2R-O.js","_assets/PhDotsThree-CBBnUUK5.js","_assets/PhVault-B5GZzffa.js","_assets/PhEnvelope-B3Ot4kfs.js","_assets/PhFunnelSimple-ST58vUHY.js","_assets/PhGlobe-B1QBE0Ic.js","_assets/PhIdentificationCard-CmHEoEuJ.js","_assets/PhImage-BM2XMyb9.js","_assets/PhInfo-DfmzAoRe.js","_assets/PhLightbulb-Dhfv4D4c.js","_assets/PhMagnifyingGlass-Djq6rEa-.js","_assets/PhPaperPlaneRight-d8LGOK8o.js","_assets/PhPlus-B6aOwiLq.js","_assets/PhPower-DAs5tvdn.js","_assets/PhPuzzlePiece-C5F9l0Xz.js","_assets/PhQrCode-DjCH9MIj.js","_assets/PhQuestion-Bd3_nr1y.js","_assets/PhQuestionMark-Chm0gISn.js","_assets/PhSealCheck-BighefRp.js","_assets/PhSignOut-X3VDO26Z.js","_assets/PhSpinner-CMt3xHt0.js","_assets/PhTrash-CBxSNELa.js","_assets/PhUser-zWIlEtkm.js","_assets/PhWallet-D6uFkw0p.js","_assets/PhWarning-C2cnWjQI.js","_assets/PhWarningCircle-BN86yUC5.js","_assets/PhX-D9xXQPUU.js"])))=>i.map(i=>d[i]);
2
- import{a as k,i as y,b as x,w as h}from"./lit-element-wjYUA6aF.js";import{n as s,o as Z,a as A}from"./class-map-C1Xjz5Lx.js";import{r as E,v as c,d as I}from"./index-DgPmTEff.js";import{_ as r}from"./index-DmKKGRfi.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2745509f-8ea4-43a7-a4c8-e13bf992124f",t._sentryDebugIdIdentifier="sentry-dbid-2745509f-8ea4-43a7-a4c8-e13bf992124f")}catch{}})();const L=".",C={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),p=`${a}% ${a}% at 65% 40%`,d=[];for(let u=0;u<5;u+=1){const m=this.tintColor(o,.15*u);d.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
2
+ import{a as k,i as y,b as x,w as h}from"./lit-element-wjYUA6aF.js";import{n as s,o as Z,a as A}from"./class-map-C1Xjz5Lx.js";import{r as E,v as c,d as I}from"./index-B-O-iSaZ.js";import{_ as r}from"./index-CN1zRQ1i.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2745509f-8ea4-43a7-a4c8-e13bf992124f",t._sentryDebugIdIdentifier="sentry-dbid-2745509f-8ea4-43a7-a4c8-e13bf992124f")}catch{}})();const L=".",C={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--apkt-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--apkt-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},formatCurrency(t=0,e={}){const i=Number(t);return isNaN(i)?"$0.00":new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2,...e}).format(i)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:i,truncate:o}){return t.length<=e+i?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-i)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(i))}`},generateAvatarColors(t){const i=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(i),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n==null?void 0:n.replace("px","")),p=`${a}% ${a}% at 65% 40%`,d=[];for(let u=0;u<5;u+=1){const m=this.tintColor(o,.15*u);d.push(`rgb(${m[0]}, ${m[1]}, ${m[2]})`)}return`
3
3
  --local-color-1: ${d[0]};
4
4
  --local-color-2: ${d[1]};
5
5
  --local-color-3: ${d[2]};
@@ -637,4 +637,4 @@ import{a as k,i as y,b as x,w as h}from"./lit-element-wjYUA6aF.js";import{n as s
637
637
  --local-align: ${this.align};
638
638
  --local-color: ${this.color==="inherit"?"inherit":L1[this.color??"primary"]};
639
639
  `,x`<slot class=${A(e)}></slot>`}};v.styles=[E,$1];w([s()],v.prototype,"variant",void 0);w([s()],v.prototype,"color",void 0);w([s()],v.prototype,"align",void 0);w([s()],v.prototype,"lineClamp",void 0);w([s()],v.prototype,"display",void 0);v=w([P("wui-text")],v);export{C as U,P as c,h1 as t};
640
- //# sourceMappingURL=index-mmjMOR4z.js.map
640
+ //# sourceMappingURL=index-BoKbwR_r.js.map
@@ -1,4 +1,4 @@
1
- import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as s,o as h}from"./class-map-C1Xjz5Lx.js";import{c as p}from"./index-mmjMOR4z.js";import{d as g,r as b,e as m}from"./index-DgPmTEff.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="dc032f95-b664-4f90-ae2a-280016909af2",o._sentryDebugIdIdentifier="sentry-dbid-dc032f95-b664-4f90-ae2a-280016909af2")}catch{}})();const y=g`
1
+ import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as s,o as h}from"./class-map-C1Xjz5Lx.js";import{c as p}from"./index-BoKbwR_r.js";import{d as g,r as b,e as m}from"./index-B-O-iSaZ.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new o.Error().stack;r&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[r]="dc032f95-b664-4f90-ae2a-280016909af2",o._sentryDebugIdIdentifier="sentry-dbid-dc032f95-b664-4f90-ae2a-280016909af2")}catch{}})();const y=g`
2
2
  :host {
3
3
  display: inline-flex;
4
4
  justify-content: center;
@@ -83,4 +83,4 @@ import{i as u,b as f}from"./lit-element-wjYUA6aF.js";import{n as s,o as h}from".
83
83
  `;var n=function(o,r,c,a){var i=arguments.length,e=i<3?r:a===null?a=Object.getOwnPropertyDescriptor(r,c):a,d;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")e=Reflect.decorate(o,r,c,a);else for(var l=o.length-1;l>=0;l--)(d=o[l])&&(e=(i<3?d(e):i>3?d(r,c,e):d(r,c))||e);return i>3&&e&&Object.defineProperty(r,c,e),e};let t=class extends u{constructor(){super(...arguments),this.icon="copy",this.size="md",this.padding="1",this.color="default"}render(){return this.dataset.padding=this.padding,this.dataset.color=this.color,f`
84
84
  <wui-icon size=${h(this.size)} name=${this.icon} color="inherit"></wui-icon>
85
85
  `}};t.styles=[b,m,y];n([s()],t.prototype,"icon",void 0);n([s()],t.prototype,"size",void 0);n([s()],t.prototype,"padding",void 0);n([s()],t.prototype,"color",void 0);t=n([p("wui-icon-box")],t);
86
- //# sourceMappingURL=index-CWcRZlhT.js.map
86
+ //# sourceMappingURL=index-BpKPiWxn.js.map
@@ -1,4 +1,4 @@
1
- import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as f,r as h,a as Ie}from"./class-map-C1Xjz5Lx.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-DgPmTEff.js";import{c as C,U as _e}from"./index-mmjMOR4z.js";import"./index-BjxUtmmv.js";import"./index-BY6B7Lah.js";import"./index-ZragHeMH.js";import"./index-B5Bmxi3c.js";import"./index-Bbru3l1o.js";import"./index-De5QStxz.js";import"./index-31LVJQaq.js";import{$ as Ce,k as T,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as v,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-zWurCQ13.js";import{au as I}from"./NetworkUtil-BbsY4Mve.js";import"./index-BsTBaJm1.js";import{M as ge}from"./MathUtil-BvP0JcjY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2d4ec0ea-1b73-4826-bb23-711facb3c805",t._sentryDebugIdIdentifier="sentry-dbid-2d4ec0ea-1b73-4826-bb23-711facb3c805")}catch{}})();const De=U`
1
+ import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as f,r as h,a as Ie}from"./class-map-C1Xjz5Lx.js";import{d as U,r as Ne,e as Se,v as ke}from"./index-B-O-iSaZ.js";import{c as C,U as _e}from"./index-BoKbwR_r.js";import"./index-DgOyPqEZ.js";import"./index-ClClGIRW.js";import"./index-1rMYynxj.js";import"./index-BR0CZ690.js";import"./index-Dx9931Ye.js";import"./index-CnzF0Try.js";import"./index-DwvyUpl5.js";import{$ as Ce,k as T,a0 as $e,a1 as y,b as O,a2 as Re,a3 as N,O as ce,N as A,a4 as me,C as m,q as v,E as M,S as R,n as Oe,M as G,e as Ue,i as Le,p as qe,o as P,R as z}from"./W3MFrameProviderSingleton-Cibnduoj.js";import{au as I}from"./NetworkUtil-D8Er_Hzp.js";import"./index-CmtAocwJ.js";import{M as ge}from"./MathUtil-BvP0JcjY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2d4ec0ea-1b73-4826-bb23-711facb3c805",t._sentryDebugIdIdentifier="sentry-dbid-2d4ec0ea-1b73-4826-bb23-711facb3c805")}catch{}})();const De=U`
2
2
  :host {
3
3
  position: relative;
4
4
  }
@@ -1062,4 +1062,4 @@ import{i as _,b as l,a as Te}from"./lit-element-wjYUA6aF.js";import{n as x,o as
1062
1062
  ></wui-icon>`}
1063
1063
  </wui-button>
1064
1064
  `}getPaymentAssetFromTokenBalances(){return this.namespace?(this.tokenBalances[this.namespace]??[]).map(i=>{try{return tt(i)}catch{return null}}).filter(i=>!!i).filter(i=>{const{chainId:a}=y.parseCaipNetworkId(i.network),{chainId:o}=y.parseCaipNetworkId(this.paymentAsset.network);return N.isLowerCaseMatch(i.asset,this.paymentAsset.asset)?!0:this.selectedExchange?!N.isLowerCaseMatch(a.toString(),o.toString()):!0}):[]}onTokenBalancesChanged(e){this.tokenBalances=e;const[n]=this.getPaymentAssetFromTokenBalances();n&&u.setSelectedPaymentAsset(n)}async onConnectOtherWallet(){await P.connect(),await G.open({view:"PayQuote"})}onAccountStateChanged(e){const{address:n}=this.caipAddress?y.parseCaipAddress(this.caipAddress):{};if(this.caipAddress=e==null?void 0:e.caipAddress,this.profileName=(e==null?void 0:e.profileName)??null,n){const{address:s}=this.caipAddress?y.parseCaipAddress(this.caipAddress):{};s?N.isLowerCaseMatch(s,n)||(this.resetAssetsState(),this.resetQuoteState(),this.fetchTokens()):G.close()}}onSelectedPaymentAssetChanged(e){this.isFetchingQuote||u.setSelectedPaymentAsset(e)}async onTransfer(){var n,s,i;const e=ie(this.quote);if(e){if(!N.isLowerCaseMatch((n=this.selectedPaymentAsset)==null?void 0:n.asset,e.deposit.currency))throw new Error("Quote asset is not the same as the selected payment asset");const o=((s=this.selectedPaymentAsset)==null?void 0:s.amount)??"0",c=A.formatNumber(e.deposit.amount,{decimals:((i=this.selectedPaymentAsset)==null?void 0:i.metadata.decimals)??0}).toString();if(!A.bigNumber(o).gte(c)){R.showError("Insufficient funds");return}if(this.quote&&this.selectedPaymentAsset&&this.caipAddress&&this.namespace){const{address:L}=y.parseCaipAddress(this.caipAddress);await u.onTransfer({chainNamespace:this.namespace,fromAddress:L,toAddress:e.deposit.receiver,amount:c,paymentAsset:this.selectedPaymentAsset}),u.setRequestId(e.requestId),z.push("PayLoading")}}}async onSendTransactions(){var o,c,g;const e=((o=this.selectedPaymentAsset)==null?void 0:o.amount)??"0",n=A.formatNumber(((c=this.quote)==null?void 0:c.origin.amount)??0,{decimals:((g=this.selectedPaymentAsset)==null?void 0:g.metadata.decimals)??0}).toString();if(!A.bigNumber(e).gte(n)){R.showError("Insufficient funds");return}const i=te(this.quote),[a]=te(this.quote,this.completedTransactionsCount);a&&this.namespace&&(await u.onSendTransaction({namespace:this.namespace,transactionStep:a}),this.completedTransactionsCount+=1,this.completedTransactionsCount===i.length&&(u.setRequestId(a.requestId),z.push("PayLoading")))}onPayWithExchange(){if(this.exchangeUrlForQuote){const e=O.returnOpenHref("","popupWindow","scrollbar=yes,width=480,height=720");if(!e)throw new Error("Could not create popup window");e.location.href=this.exchangeUrlForQuote;const n=ie(this.quote);n&&u.setRequestId(n.requestId),u.initiatePayment(),z.push("PayLoading")}}resetAssetsState(){u.setSelectedPaymentAsset(null)}resetQuoteState(){u.resetQuoteState()}};w.styles=Nt;b([h()],w.prototype,"profileName",void 0);b([h()],w.prototype,"paymentAsset",void 0);b([h()],w.prototype,"namespace",void 0);b([h()],w.prototype,"caipAddress",void 0);b([h()],w.prototype,"amount",void 0);b([h()],w.prototype,"recipient",void 0);b([h()],w.prototype,"activeConnectorIds",void 0);b([h()],w.prototype,"selectedPaymentAsset",void 0);b([h()],w.prototype,"selectedExchange",void 0);b([h()],w.prototype,"isFetchingQuote",void 0);b([h()],w.prototype,"quoteError",void 0);b([h()],w.prototype,"quote",void 0);b([h()],w.prototype,"isFetchingTokenBalances",void 0);b([h()],w.prototype,"tokenBalances",void 0);b([h()],w.prototype,"isPaymentInProgress",void 0);b([h()],w.prototype,"exchangeUrlForQuote",void 0);b([h()],w.prototype,"completedTransactionsCount",void 0);w=b([C("w3m-pay-quote-view")],w);export{p as A,u as P,E as W,d as a,w as b,k as c};
1065
- //# sourceMappingURL=index-CNr9_zUf.js.map
1065
+ //# sourceMappingURL=index-Bscjzc5z.js.map