@dcl/shop 1.13.1-35095058100.commit-8d694c8 → 1.13.1-35146304116.commit-0532a2b

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 (239) hide show
  1. package/_assets/Activity-CUoq5Ec_.js +400 -0
  2. package/_assets/{AnimatedBackground-DsRNSmF9.js → AnimatedBackground-CkSS8iDv.js} +2 -2
  3. package/_assets/{Assets--xiu2hf1.js → Assets-SQGh-_eg.js} +3 -3
  4. package/_assets/{Authorizations-CAq4bDIU.js → Authorizations-L1Pu4suv.js} +2 -2
  5. package/_assets/{Cart-Dn-yuO7W.js → Cart-CyKZk7CM.js} +2 -2
  6. package/_assets/{Collection-DmkDiPC5.js → Collection-DeDyoluW.js} +2 -2
  7. package/_assets/{CollectionCarousel-C2aZMUS6.js → CollectionCarousel-DM2JN-Og.js} +3 -3
  8. package/_assets/{Confetti-CQ1miyT0.js → Confetti-BLxVbH5o.js} +4 -4
  9. package/_assets/{ConstantsUtil-DxsGGeAI.js → ConstantsUtil-CzAq2JlG.js} +2 -2
  10. package/_assets/{ContentClient-DADL-eWJ.js → ContentClient-CwohpHEJ.js} +2 -2
  11. package/_assets/{Creator-DZvSnP1W.js → Creator-CXCzrdUF.js} +2 -2
  12. package/_assets/{DeploymentBuilder-DM4wrDOA.js → DeploymentBuilder-CXqgptK8.js} +2 -2
  13. package/_assets/{EmotePlaybackBar-DKUTpuQ1.js → EmotePlaybackBar-B-oE6PfU.js} +3 -3
  14. package/_assets/{ErrorNotice-Dhs1BLZ6.js → ErrorNotice-BjKorbeP.js} +2 -2
  15. package/_assets/{Event-e3lOCI2G.js → Event-_99dGtyj.js} +2 -2
  16. package/_assets/{ExchangeController-D1BhRLY_.js → ExchangeController-Ca1vSNQH.js} +2 -2
  17. package/_assets/{Faq-qe1pCR9P.js → Faq-BVnO4obf.js} +2 -2
  18. package/_assets/{GetCredits-B96wMekN.js → GetCredits-uWqqViY_.js} +2 -2
  19. package/_assets/{Grow-pyVWvnNE.js → Grow-EG3kvKvE.js} +2 -2
  20. package/_assets/{HelpersUtil-B-VhnmAV.js → HelpersUtil-BAFzVkMb.js} +2 -2
  21. package/_assets/{ItemDetail-EQYc-D1i.js → ItemDetail-D9wpx_7k.js} +2 -2
  22. package/_assets/{LoadMore-3LNbX1EU.js → LoadMore-DE7YSrmA.js} +2 -2
  23. package/_assets/{ManaPricingBanner.styles-Xpaqvszn.js → ManaPricingBanner.styles-BQp5Kq1w.js} +2 -2
  24. package/_assets/{MyAssets-Cw8rL4Qm.js → MyAssets-pm-zUWXo.js} +2 -2
  25. package/_assets/{MyFavorites-C-H9WoDf.js → MyFavorites-CrlDOLqd.js} +2 -2
  26. package/_assets/{NetworkUtil-Cp-gtHa0.js → NetworkUtil-D5060_28.js} +2 -2
  27. package/_assets/{NotFound-C_hegLMz.js → NotFound-DWWysD5r.js} +2 -2
  28. package/_assets/{NotificationsBell-DEOx8fEC.js → NotificationsBell--z2laYR4.js} +2 -2
  29. package/_assets/{OutfitDetail-DccboofD.js → OutfitDetail-C45j_NQH.js} +2 -2
  30. package/_assets/{OutfitPreview-BT1g84TM.js → OutfitPreview-DrOdc6y-.js} +2 -2
  31. package/_assets/{OutfitStudio-DVNHreV-.js → OutfitStudio-BQAYSFVW.js} +2 -2
  32. package/_assets/{SaleCountdown-BCjbqWcU.js → SaleCountdown-BF0I20W5.js} +2 -2
  33. package/_assets/{Spinner-hLMP163F.js → Spinner-BA7Ut7Kf.js} +2 -2
  34. package/_assets/{StoreSettings-C4lpIKgV.js → StoreSettings-yx6fb2zF.js} +3 -3
  35. package/_assets/{Success-DZwN3t4z.js → Success-NX2ENRib.js} +2 -2
  36. package/_assets/{SwapController-BPiF_Q9x.js → SwapController-DEOB6qkC.js} +2 -2
  37. package/_assets/{TradeService-D8Zf_eTM.js → TradeService-B3hWo7M3.js} +2 -2
  38. package/_assets/{W3MFrameProviderSingleton-ByxVGL9W.js → W3MFrameProviderSingleton-B6rhAVVy.js} +4 -4
  39. package/_assets/{WebCryptoP256-BowGpuyg.js → WebCryptoP256-BeNxJSfZ.js} +2 -2
  40. package/_assets/{authorizations-D_SudRT-.js → authorizations-B83pvCo5.js} +2 -2
  41. package/_assets/{basic-sN1HnC_u.js → basic-X15YC4vH.js} +2 -2
  42. package/_assets/{biconomy-BijOlHn5.js → biconomy-CN8DzcqS.js} +2 -2
  43. package/_assets/{browseLayout.styles-6-W9YjOC.js → browseLayout.styles-BKjgHcP6.js} +2 -2
  44. package/_assets/{browser-DynTtmBx.js → browser-BLhgq6bj.js} +2 -2
  45. package/_assets/{browser-D9YPKxfl.js → browser-CE_WgHCW.js} +2 -2
  46. package/_assets/{browser-ponyfill-BVvT8_Fp.js → browser-ponyfill-rx4ABrHQ.js} +2 -2
  47. package/_assets/builder-e1EitLO9.js +2 -0
  48. package/_assets/{buy-BkbR80Gf.js → buy-D7nFmJT8.js} +2 -2
  49. package/_assets/{buy-gasless-CQdgMa0F.js → buy-gasless-DNEVxdLb.js} +2 -2
  50. package/_assets/{categories-Dquh1vbV.js → categories-CBw6i6jK.js} +2 -2
  51. package/_assets/{ccip-CV07CEfz.js → ccip-CSmx0Ukl.js} +2 -2
  52. package/_assets/{ccip-BQaVTqUi.js → ccip-WSZ1SOI1.js} +2 -2
  53. package/_assets/{chains-Bp3h2aaE.js → chains-CSz4uaiN.js} +2 -2
  54. package/_assets/{collectionPage.styles-St6jJHia.js → collectionPage.styles-CGv38BAV.js} +8 -8
  55. package/_assets/{common-vsCsmUBn.js → common-CsauCio8.js} +2 -2
  56. package/_assets/{controller-DIQ9DcOx.js → controller-BZ74u9Mx.js} +3 -3
  57. package/_assets/{core-Cs979BA0.js → core-DArcUITf.js} +5 -5
  58. package/_assets/{createSvgIcon-P53Pfdxl.js → createSvgIcon-D90PXHtL.js} +2 -2
  59. package/_assets/{crumbs.styles-N13K8LJF.js → crumbs.styles-B_xC21o-.js} +2 -2
  60. package/_assets/{custom-DP7Ww2Mp.js → custom-C1-1hU-n.js} +2 -2
  61. package/_assets/{data-capture-r6LhzaPe.js → data-capture-BlpHZAMp.js} +2 -2
  62. package/_assets/{dcl-schemas-n1W5glLl.js → dcl-schemas-DwpPH57a.js} +2 -2
  63. package/_assets/{decimals-1-P-OpKN.js → decimals-DM3o8F2C.js} +2 -2
  64. package/_assets/{decimals-BW5hR24C.js → decimals-aCEDG5JH.js} +2 -2
  65. package/_assets/{detectExtension-DQg6wKZQ.js → detectExtension-0ov0Rrws.js} +2 -2
  66. package/_assets/{disposePreview-D5gU11Se.js → disposePreview-HoZr4ggw.js} +2 -2
  67. package/_assets/{email-C4mis8Vg.js → email-C0VnJMNG.js} +2 -2
  68. package/_assets/{embedded-wallet-CaKg_r8U.js → embedded-wallet-Bi2n7sef.js} +2 -2
  69. package/_assets/{emotion-styled.browser.esm-BUJmozsy.js → emotion-styled.browser.esm-DA7w4htd.js} +2 -2
  70. package/_assets/{engine-D07w-XRT.js → engine-Bztsdwml.js} +2 -2
  71. package/_assets/{errors-DhRbQUQ8.js → errors-CNu2839_.js} +2 -2
  72. package/_assets/{estimate-l1-fee-CVLkkmbZ.js → estimate-l1-fee-B-J8ubtj.js} +2 -2
  73. package/_assets/{eth_estimateGas-DcrnZAhD.js → eth_estimateGas-PqNhqizJ.js} +2 -2
  74. package/_assets/{eth_getStorageAt-D55EQvGL.js → eth_getStorageAt-OHBtIi6n.js} +2 -2
  75. package/_assets/{eth_getTransactionCount-996c8uw3.js → eth_getTransactionCount-3Fo1K1in.js} +2 -2
  76. package/_assets/{ethereum-BB2NY3Ze.js → ethereum-DgDIagMf.js} +2 -2
  77. package/_assets/{ethers-OrSZ5jmz.js → ethers-1M1CfdDX.js} +2 -2
  78. package/_assets/{events-C-1hKiSc.js → events-ChynmAya.js} +2 -2
  79. package/_assets/{execute-DkcTGxdS.js → execute-CMhgmHrV.js} +3 -3
  80. package/_assets/{extractIPFS-DGBDqkFQ.js → extractIPFS-Dmk6yNJt.js} +2 -2
  81. package/_assets/{features-Dgji4xPv.js → features-BOeSwrw7.js} +2 -2
  82. package/_assets/{fetchTokenMetadata-CLY3eWo4.js → fetchTokenMetadata-B3gG8lNZ.js} +3 -3
  83. package/_assets/{field.styles-B66-mhwP.js → field.styles-CjXfWCnd.js} +2 -2
  84. package/_assets/{fortmatic-CIXGktdE.js → fortmatic-q9_51_t1.js} +2 -2
  85. package/_assets/{get-bytecode-B4ah9_Ee.js → get-bytecode-C9C09tyO.js} +2 -2
  86. package/_assets/{get-ecosystem-wallet-info-BUVR1h_d.js → get-ecosystem-wallet-info-Md6d1ElT.js} +2 -2
  87. package/_assets/{getBalance-DcjxPvBd.js → getBalance-B3PyAxk9.js} +3 -3
  88. package/_assets/{getInstalledModules-CVmsNb5W.js → getInstalledModules-Cc3eGsGW.js} +2 -2
  89. package/_assets/{getNFT-CNkldXgA.js → getNFT-08MzaPPL.js} +2 -2
  90. package/_assets/{getNFT-D6Q2R2w8.js → getNFT-Ct0fZovm.js} +3 -3
  91. package/_assets/{grid.styles-CbKnaEaH.js → grid.styles-DLJDk6Da.js} +2 -2
  92. package/_assets/{hashTypedData-BXTiCI6R.js → hashTypedData-CHOe753o.js} +2 -2
  93. package/_assets/{hashTypedData-BMQaC5AO.js → hashTypedData-CwOONztK.js} +2 -2
  94. package/_assets/{import-nI9C4MLI.js → import-DTtBPLJq.js} +2 -2
  95. package/_assets/{in-app-qH_5BfXH.js → in-app-CxjWjLLj.js} +2 -2
  96. package/_assets/{in-app-wallet-calls-D5QY4WMZ.js → in-app-wallet-calls-BmK7j5xu.js} +2 -2
  97. package/_assets/{index-B8pq8JLn.js → index-2O4398aF.js} +2 -2
  98. package/_assets/{index-Dbzum1xk.js → index-8pBNkHhZ.js} +2 -2
  99. package/_assets/{index-B0eaBbwk.js → index-AKVaFU6R.js} +4 -4
  100. package/_assets/{index-B6gpbqHk.js → index-B4MGZXnJ.js} +3 -3
  101. package/_assets/{index-CO3xBlL2.js → index-B4g6oTgw.js} +2 -2
  102. package/_assets/{index-DEL0w41-.js → index-BBshwWxl.js} +2 -2
  103. package/_assets/{index-D2_5jCAk.js → index-BG18kxxr.js} +2 -2
  104. package/_assets/{index-7jxYsA5x.js → index-BRPC-KxV.js} +2 -2
  105. package/_assets/{index-7LiE_2Hn.js → index-BWmCSXNe.js} +2 -2
  106. package/_assets/{index-DGoH3dH-.js → index-BX1TYBrh.js} +2 -2
  107. package/_assets/{index-DILi1pU7.js → index-Bbna9UA6.js} +2 -2
  108. package/_assets/{index-DWpJbdNp.js → index-BdcOwi8k.js} +2 -2
  109. package/_assets/{index-DuuWxLJb.js → index-Bldxc1rA.js} +2 -2
  110. package/_assets/{index-Q91sfGFW.js → index-BlsDk8cY.js} +2 -2
  111. package/_assets/{index-BT2VuKr_.js → index-BmCV7OM0.js} +2 -2
  112. package/_assets/{index-BbvUH58s.js → index-BmpyzmIh.js} +2 -2
  113. package/_assets/{index-DxPCOmel.js → index-BvktIHhu.js} +3 -3
  114. package/_assets/{index-CspzAmAd.js → index-BwmG-IHr.js} +2 -2
  115. package/_assets/{index-BIDLTLRs.js → index-BxDOHc7K.js} +2 -2
  116. package/_assets/{index-Cfiy7F58.js → index-C17qo1Vn.js} +2 -2
  117. package/_assets/{index-DhxbjStl.js → index-C9YXrqLC.js} +2 -2
  118. package/_assets/{index-CTpgpMEc.js → index-CArhbxfh.js} +2 -2
  119. package/_assets/{index-CMGA6Ehu.js → index-CI-biK0J.js} +2 -2
  120. package/_assets/{index-VrmvnTaa.js → index-CNCV5gb2.js} +2 -2
  121. package/_assets/{index-C_vB1IQd.js → index-CaMOVOnV.js} +2 -2
  122. package/_assets/{index-BymYE2Hq.js → index-CjJbgwsG.js} +2 -2
  123. package/_assets/{index-B9LTXTJ_.js → index-CkhwV11V.js} +2 -2
  124. package/_assets/{index-u3wacysv.js → index-CnEhIH6s.js} +2 -2
  125. package/_assets/{index-Ci7OJEKI.js → index-CtQRm-uR.js} +2 -2
  126. package/_assets/{index-BJOeyXU6.js → index-Cxm44GCk.js} +2 -2
  127. package/_assets/{index-5TanjW1p.js → index-CyRKYgX3.js} +4 -4
  128. package/_assets/{index-BYf--6IB.js → index-CzFmHLD1.js} +2 -2
  129. package/_assets/{index-C9g_L_xU.js → index-D4G9X1ch.js} +2 -2
  130. package/_assets/{index-BUJII-te.js → index-D4mLzE5t.js} +2 -2
  131. package/_assets/{index-CBqzQu4b.js → index-D5ygN-7N.js} +3 -3
  132. package/_assets/{index-CLkKFzPp.js → index-DArg0qfu.js} +2 -2
  133. package/_assets/{index-B767Ef3o.js → index-DB-g40Lk.js} +2 -2
  134. package/_assets/{index-DzQkIbqv.js → index-DBONtw7H.js} +12 -12
  135. package/_assets/{index-gl06JVkD.js → index-DIYaVDaM.js} +2 -2
  136. package/_assets/{index-FgD-q8nY.js → index-DMqzgHxy.js} +2 -2
  137. package/_assets/{index-CiVDvcz9.js → index-DPzFuzjH.js} +2 -2
  138. package/_assets/{index-C11xAGLj.js → index-DQb-ID00.js} +2 -2
  139. package/_assets/{index-CqA25hIa.js → index-DSUMm5bM.js} +3 -3
  140. package/_assets/{index-CzONDXJm.js → index-DSo-HA-Q.js} +2 -2
  141. package/_assets/{index-DsKy4xQX.js → index-DT0ol44j.js} +2 -2
  142. package/_assets/{index-BBmOO_5v.js → index-DcFBuCAU.js} +2 -2
  143. package/_assets/{index-BHeP5cAB.js → index-Dp05ebh4.js} +2 -2
  144. package/_assets/{index-CZBL8oDN.css → index-Drj3_D29.css} +1 -1
  145. package/_assets/{index-ChkZ_3N-.js → index-Du3ibQ0n.js} +2 -2
  146. package/_assets/{index-CKir0NTC.js → index-DuT7MyhP.js} +2 -2
  147. package/_assets/{index-DSZlP7vv.js → index-DwPwW3EN.js} +2 -2
  148. package/_assets/{index-t1CDJb0U.js → index-Dwa5YPI2.js} +2 -2
  149. package/_assets/{index-CulTnm_-.js → index-Dx5GsTV9.js} +2 -2
  150. package/_assets/{index-BbOkb2Lk.js → index-Dy1jWaGR.js} +2 -2
  151. package/_assets/{index-BlyJ0EeU.js → index-Dzt-Eb9V.js} +2 -2
  152. package/_assets/{index-DHIc5ihj.js → index-Ei6ZjPB-.js} +2 -2
  153. package/_assets/{index-jsed_aC3.js → index-Lm6gRDgk.js} +2 -2
  154. package/_assets/{index-DOE5PvRf.js → index-MW2iAiMi.js} +4 -4
  155. package/_assets/{index-QEKAtx1e.js → index-Nl1WGeRF.js} +2 -2
  156. package/_assets/{index-Bt53hnH3.js → index-Wiz3KnKQ.js} +2 -2
  157. package/_assets/{index-3xvycxSp.js → index-ZDi0sa76.js} +2 -2
  158. package/_assets/{index-aYru672w.js → index-lzsOd2r-.js} +2 -2
  159. package/_assets/{index-DyXRsRBM.js → index-mA2FGc2n.js} +2 -2
  160. package/_assets/{index-C3N8gNG5.js → index-mp-W7rgu.js} +2 -2
  161. package/_assets/{index-Cfg8NIxf.js → index-o4QA-YgI.js} +2 -2
  162. package/_assets/{index-DrYTVtgg.js → index-p-Gdk04N.js} +2 -2
  163. package/_assets/{index-2lALaSI0.js → index-qIZigzaT.js} +2 -2
  164. package/_assets/{index-CFkA928w.js → index-sAHSTD-e.js} +2 -2
  165. package/_assets/{index.es-89IU7kpU.js → index.es-BojIKfcn.js} +2 -2
  166. package/_assets/{index.es-BxUByfMu.js → index.es-Bu43E8Od.js} +2 -2
  167. package/_assets/{index.es-O2YZpGjD.js → index.es-D1GXqsQd.js} +5 -5
  168. package/_assets/{index.es-CeXL7thu.js → index.es-RB1w60M4.js} +2 -2
  169. package/_assets/{items-empty-Bo2ok7jY.js → items-empty-DLLWCTVk.js} +2 -2
  170. package/_assets/{jump-CfxL77MI.js → jump-BPwh2vZy.js} +2 -2
  171. package/_assets/{linkAccount-CH9thals.js → linkAccount-D8t0rhjQ.js} +2 -2
  172. package/_assets/{localBatchGatewayRequest-CSeZ4gRB.js → localBatchGatewayRequest-DwX7OXdU.js} +2 -2
  173. package/_assets/{modal.styles-2uQXkegU.js → modal.styles-XB3kPZSk.js} +2 -2
  174. package/_assets/{native-CTjG-6uw.js → native-CVoJihlN.js} +2 -2
  175. package/_assets/{networks-DcWUPxCR.js → networks-k-5FUkuC.js} +2 -2
  176. package/_assets/{onramp-i_2R0Aty.js → onramp-BlfVZmFE.js} +2 -2
  177. package/_assets/{openzeppelin-CRJGheas.js → openzeppelin-CHH76T2R.js} +2 -2
  178. package/_assets/{ownerOf-Cg4HNQ0Q.js → ownerOf-BsF3HIfV.js} +2 -2
  179. package/_assets/{parseNft-C5TjCi9l.js → parseNft-fbo1tW69.js} +3 -3
  180. package/_assets/{parseSignature-BkGllSKb.js → parseSignature-C8wluzrl.js} +2 -2
  181. package/_assets/{parseSignature-DlxX_eFH.js → parseSignature-UG1Z-iRF.js} +4 -4
  182. package/_assets/{passkeys-DHzFFqFt.js → passkeys-BgD3qEUS.js} +2 -2
  183. package/_assets/{pay-with-exchange-Da-95QjC.js → pay-with-exchange-Dul7TqcO.js} +2 -2
  184. package/_assets/{prepare-contract-call-DRyZHwAJ.js → prepare-contract-call-BDx98mcK.js} +2 -2
  185. package/_assets/{qr-overlay-B5-Cv-4F.js → qr-overlay-CzJOf0PR.js} +4 -4
  186. package/_assets/{react-DaBuTM6Q.js → react-VV7ruaEe.js} +2 -2
  187. package/_assets/{receive-BxwWtavl.js → receive-Mbh48-Du.js} +2 -2
  188. package/_assets/{resolveImplementation-UAeMoslS.js → resolveImplementation-C-Bp0jW1.js} +2 -2
  189. package/_assets/{resume-buy-DshgN9vm.js → resume-buy-lwwrCAQL.js} +2 -2
  190. package/_assets/{rpc-xoh1bqpg.js → rpc-dS3qUOUv.js} +2 -2
  191. package/_assets/{sales-empty-B0QNGz8U.js → sales-empty-CdZ6YLiR.js} +2 -2
  192. package/_assets/{search-empty-CiaPLxpu.js → search-empty-Xv_q1rjS.js} +2 -2
  193. package/_assets/{secp256k1-CI4_BdKy.js → secp256k1-B29fjO3k.js} +2 -2
  194. package/_assets/{secp256k1-IgPcu2TC.js → secp256k1-BYEzJ9Ar.js} +2 -2
  195. package/_assets/{secp256k1-B6GZ7kat.js → secp256k1-CzYB4UO1.js} +2 -2
  196. package/_assets/{send-CMxH0R30.js → send-Kib-9VTx.js} +2 -2
  197. package/_assets/{send-batch-transaction-_47YxVXu.js → send-batch-transaction-Bsec8aWl.js} +2 -2
  198. package/_assets/{send-eip712-transaction-dUQPsneg.js → send-eip712-transaction-B8xB6E7z.js} +3 -3
  199. package/_assets/{send-gasless-transaction-C9qimzDD.js → send-gasless-transaction-DOAZoiru.js} +3 -3
  200. package/_assets/{send-transaction-C00epVak.js → send-transaction-C8HId9c-.js} +3 -3
  201. package/_assets/{sendMetaTransaction-D_Udygrx.js → sendMetaTransaction-ZH8zQFka.js} +2 -2
  202. package/_assets/{sendRawTransaction-3Tc8O82f.js → sendRawTransaction-Dj_4qH3D.js} +4 -4
  203. package/_assets/{sentry-ilLelGl_.js → sentry-o0F_Elyr.js} +3 -3
  204. package/_assets/{serializeTransaction-BN5Z150K.js → serializeTransaction-Ci108h6S.js} +2 -2
  205. package/_assets/{session-proposal-DFNQHP37.js → session-proposal-DoiJdtGZ.js} +2 -2
  206. package/_assets/{session-request-D-kuAKOc.js → session-request-D9ZfIWnv.js} +3 -3
  207. package/_assets/{sha256-C6I6NkPD.js → sha256-DKc8_pkb.js} +2 -2
  208. package/_assets/{sha3-CcKshJ6_.js → sha3-Djo6RzzD.js} +2 -2
  209. package/_assets/signin-empty-0RVG8Orx.js +2 -0
  210. package/_assets/{signing-D_eQ6aEY.js → signing-B2ulpOrN.js} +4 -4
  211. package/_assets/{skeleton.styles-B7ceCvK9.js → skeleton.styles-V94rqky6.js} +2 -2
  212. package/_assets/{socials-DCNPHMgt.js → socials-Oa6dTfHZ.js} +2 -2
  213. package/_assets/{styled-TsFrVdC0.js → styled-DyNfGwco.js} +2 -2
  214. package/_assets/{swaps-CicFV6pq.js → swaps-COfyeTsO.js} +2 -2
  215. package/_assets/{thirdweb-Vp1uscmH.js → thirdweb-DI7ZaNzU.js} +4 -4
  216. package/_assets/{to-serializable-transaction-BT5px6SS.js → to-serializable-transaction-By8QfhXP.js} +3 -3
  217. package/_assets/{totalSupply-CkL8_XXt.js → totalSupply-BFOzDnZo.js} +2 -2
  218. package/_assets/{transaction-sOBP-DPj.js → transaction-B1xgjYJ6.js} +2 -2
  219. package/_assets/{transactionReceipt--9bOdV8l.js → transactionReceipt-D8BwP6qt.js} +2 -2
  220. package/_assets/{transactions-CWkneGU6.js → transactions-Bphi4uNv.js} +2 -2
  221. package/_assets/{useCreditPacks-DGUqMJ6U.js → useCreditPacks-DgnQhl__.js} +2 -2
  222. package/_assets/{useInfiniteGrid-DpNO4hZU.js → useInfiniteGrid-CqEvXCvo.js} +2 -2
  223. package/_assets/{useStore-HIvj56kg.js → useStore-BxEjYiKk.js} +3 -3
  224. package/_assets/{useTheme-5m8LACXM.js → useTheme-BSSQBx8D.js} +2 -2
  225. package/_assets/{utils-Ci73E7nx.js → utils-ClhrwhHu.js} +2 -2
  226. package/_assets/{verifyHash-Bk-B5GPz.js → verifyHash-CUVRY0V6.js} +2 -2
  227. package/_assets/{w3m-modal-BtyAd8rE.js → w3m-modal-BGMNR53_.js} +2 -2
  228. package/_assets/{w3m-modal-BTUtrhm6.js → w3m-modal-Cl3xsdnY.js} +2 -2
  229. package/_assets/{wait-for-tx-receipt-Cbmd9TUG.js → wait-for-tx-receipt-CL_z5VGg.js} +2 -2
  230. package/_assets/{wallets-CUIygOS2.js → wallets-B1ZJrwjj.js} +6 -6
  231. package/_assets/{web-connector-BIkHBHih.js → web-connector-Dq-fpFU2.js} +4 -4
  232. package/_assets/{writeContract-CEDCT-Ld.js → writeContract-BvArkAMz.js} +2 -2
  233. package/_assets/{zora-sepolia-C43Ueozz.js → zora-sepolia-IkBJSEG_.js} +2 -2
  234. package/_assets/{zoraTestnet-CnMCD5vw.js → zoraTestnet-DP3dbXZ6.js} +2 -2
  235. package/index.html +11 -11
  236. package/package.json +2 -2
  237. package/_assets/Activity-CjNbjbB8.js +0 -373
  238. package/_assets/builder-BCPamKJP.js +0 -2
  239. package/_assets/signin-empty-C52WOkGa.js +0 -2
@@ -1,3 +1,3 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/fortmatic-CIXGktdE.js","_assets/react-DaBuTM6Q.js","_assets/index-DrYTVtgg.js","_assets/dcl-schemas-n1W5glLl.js","_assets/ethers-OrSZ5jmz.js","_assets/sentry-ilLelGl_.js","_assets/index-Dbzum1xk.js","_assets/index-D2_5jCAk.js","_assets/index-DILi1pU7.js","_assets/hooks.module-54Oj1-WJ.js","_assets/events-C-1hKiSc.js","_assets/browser-DynTtmBx.js","_assets/intl-AKLEHPeO.js","_assets/index-B0eaBbwk.js","_assets/index-DzQkIbqv.js","_assets/index-CZBL8oDN.css","_assets/W3MFrameProviderSingleton-ByxVGL9W.js","_assets/index-u3wacysv.js","_assets/browser-ponyfill-BVvT8_Fp.js","_assets/NetworkUtil-Cp-gtHa0.js","_assets/index-BT2VuKr_.js","_assets/index-OpYIGLSa.js","_assets/index-VrmvnTaa.js","_assets/index.es-BxUByfMu.js","_assets/lit-element-wjYUA6aF.js","_assets/index-DOE5PvRf.js","_assets/sendRawTransaction-3Tc8O82f.js","_assets/index-Q91sfGFW.js","_assets/store-80QKZ2rN.js","_assets/custom-DP7Ww2Mp.js","_assets/writeContract-CEDCT-Ld.js","_assets/networks-DcWUPxCR.js","_assets/zoraTestnet-CnMCD5vw.js","_assets/verifyHash-Bk-B5GPz.js","_assets/secp256k1-B6GZ7kat.js","_assets/serializeTransaction-BN5Z150K.js","_assets/index-jsed_aC3.js","_assets/index-Bt53hnH3.js","_assets/index-ChkZ_3N-.js","_assets/index-C3N8gNG5.js","_assets/wallets-CUIygOS2.js","_assets/signing-D_eQ6aEY.js","_assets/prepare-contract-call-DRyZHwAJ.js","_assets/utils-Ci73E7nx.js","_assets/to-serializable-transaction-BT5px6SS.js","_assets/transaction-sOBP-DPj.js","_assets/get-bytecode-B4ah9_Ee.js","_assets/execute-DkcTGxdS.js","_assets/detectExtension-DQg6wKZQ.js","_assets/linkAccount-CH9thals.js","_assets/index-5TanjW1p.js","_assets/ethereum-BB2NY3Ze.js","_assets/types-BeDU9GfL.js","_assets/hashTypedData-BMQaC5AO.js","_assets/send-transaction-C00epVak.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/index-FgD-q8nY.js","_assets/in-app-qH_5BfXH.js","_assets/passkeys-DHzFFqFt.js","_assets/uint8-array-BMe04WIx.js","_assets/thirdweb-Vp1uscmH.js","_assets/wait-for-tx-receipt-Cbmd9TUG.js","_assets/transactionReceipt--9bOdV8l.js","_assets/sleep-fBr8OToA.js","_assets/eth_estimateGas-DcrnZAhD.js","_assets/eth_getStorageAt-D55EQvGL.js","_assets/eth_getTransactionCount-996c8uw3.js","_assets/decimals-1-P-OpKN.js","_assets/decimals-BW5hR24C.js","_assets/zora-sepolia-C43Ueozz.js","_assets/send-batch-transaction-_47YxVXu.js","_assets/chains-Bp3h2aaE.js"])))=>i.map(i=>d[i]);
2
- var ce=Object.defineProperty;var de=(i,n,e)=>n in i?ce(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var d=(i,n,e)=>de(i,typeof n!="symbol"?n+"":n,e);import{e as h,f as l,g}from"./dcl-schemas-n1W5glLl.js";import{g as ue}from"./react-DaBuTM6Q.js";import{r as he}from"./events-C-1hKiSc.js";import{_ as m}from"./index-DzQkIbqv.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new i.Error().stack;n&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[n]="a7ad7e1e-f74b-41ea-a127-55281874b066",i._sentryDebugIdIdentifier="sentry-dbid-a7ad7e1e-f74b-41ea-a127-55281874b066")}catch{}})();var C;(function(i){i.Update="Web3ReactUpdate",i.Error="Web3ReactError",i.Deactivate="Web3ReactDeactivate"})(C||(C={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[h.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[h.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:A(l.ProviderType.FORTMATIC)},[l.ProviderType.NETWORK]:{urls:A(l.ProviderType.NETWORK)},[l.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:A(l.ProviderType.WALLET_LINK)},[l.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:A(l.ProviderType.WALLET_CONNECT_V2),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.ARBITRUM_MAINNET,h.ChainId.OPTIMISM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(i){const n={[h.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[h.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[h.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[h.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[h.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[h.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[h.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[h.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[h.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(i){case l.ProviderType.WALLET_LINK:e="walletlink";break;case l.ProviderType.FORTMATIC:e="fortmatic";break;case l.ProviderType.MAGIC:e="magic";break;case l.ProviderType.MAGIC_TEST:e="magic";break;case l.ProviderType.WALLET_CONNECT_V2:e="walletconnect-v2";break;case l.ProviderType.THIRDWEB:e="thirdweb";break}if(e){const t=Object.keys(n);for(const r of t)n[r]+=`?project=${e}`}return n}var $=he();const je=ue($);function fe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}var E=(function(i){fe(n,i);function n(t){var r,o=t===void 0?{}:t,s=o.supportedChainIds;return r=i.call(this)||this,r.supportedChainIds=s,r}var e=n.prototype;return e.emitUpdate=function(r){this.emit(C.Update,r)},e.emitError=function(r){this.emit(C.Error,r)},e.emitDeactivate=function(){this.emit(C.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const t=I()[g.ProviderType.FORTMATIC],r=Object.keys(t.apiKeys).map(o=>Number(o));if(!r.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:r});d(this,"apiKey");d(this,"chainId");d(this,"rpcUrl");d(this,"fortmatic");this.apiKey=t.apiKeys[e],this.chainId=e,this.rpcUrl=t.urls[e]}async activate(){if(!this.fortmatic){const{default:t}=await m(async()=>{const{default:r}=await import("./fortmatic-CIXGktdE.js").then(o=>o.f);return{default:r}},__vite__mapDeps([0,1]));this.fortmatic=new t(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(t=>t[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:e}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(e=>e[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function j(){return j=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},j.apply(this,arguments)}function q(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}function D(i){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(i)}function L(i,n){return L=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},L(i,n)}function ve(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(i,n,e){return ve()?O=Reflect.construct:O=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&L(u,s.prototype),u},O.apply(null,arguments)}function we(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function S(i){var n=typeof Map=="function"?new Map:void 0;return S=function(t){if(t===null||!we(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return O(t,arguments,D(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,t)},S(i)}function b(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(i,n){try{var e=i()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}function y(i){return i.hasOwnProperty("result")?i.result:i}var k=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="No Ethereum provider was found on window.ethereum.",e}return n})(S(Error)),ge=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(i){q(n,i);function n(t){var r;return r=i.call(this,t)||this,r.handleNetworkChanged=r.handleNetworkChanged.bind(b(r)),r.handleChainChanged=r.handleChainChanged.bind(b(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(b(r)),r.handleClose=r.handleClose.bind(b(r)),r}var e=n.prototype;return e.handleChainChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.handleAccountsChanged=function(r){r.length===0?this.emitDeactivate():this.emitUpdate({account:r[0]})},e.handleClose=function(r,o){this.emitDeactivate()},e.handleNetworkChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.activate=function(){try{var r=function(f){if(o)return f;function p(){return j({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&y(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},o=!1,s=this;if(!window.ethereum)throw new k;window.ethereum.on&&(window.ethereum.on("chainChanged",s.handleChainChanged),window.ethereum.on("accountsChanged",s.handleAccountsChanged),window.ethereum.on("close",s.handleClose),window.ethereum.on("networkChanged",s.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var a,c=P(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(u){return y(u)[0]})).then(function(u){a=u})},function(u){if(u.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(r):r(c))}catch(u){return Promise.reject(u)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(r){return Promise.reject(r)}},e.getChainId=function(){try{var r=function(){function c(){if(!o)try{o=y(window.ethereum.send({method:"net_version"}))}catch{}return o||(window.ethereum.isDapper?o=y(window.ethereum.cachedResults.net_version):o=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(y)).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(y)).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var r=function(){function c(){return o||(o=y(window.ethereum.send({method:"eth_accounts"}))[0]),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return y(p)[0]})).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return y(a)[0]})).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},e.isAuthorized=function(){try{return window.ethereum?Promise.resolve(P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(r){return y(r).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(r){return Promise.reject(r)}},n})(E);class G extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const Ie=60*1e3;class J extends me{constructor(n){super({supportedChainIds:[n]})}async activate(){const n=new Promise((t,r)=>{setTimeout(()=>{r(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var ye="Invariant failed";function V(i,n){throw new Error(ye)}function Y(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,N(i,n)}function K(i){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(i)}function N(i,n){return N=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},N(i,n)}function Ce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(i,n,e){return Ce()?R=Reflect.construct:R=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&N(u,s.prototype),u},R.apply(null,arguments)}function Ee(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function W(i){var n=typeof Map=="function"?new Map:void 0;return W=function(t){if(t===null||!Ee(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return R(t,arguments,K(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),N(r,t)},W(i)}var U=(function(i){Y(n,i);function n(e,t,r){var o;return o=i.call(this)||this,o.code=t,o.data=r,o.name=o.constructor.name,o.message=e,o}return n})(W(Error)),Ae=function(n,e){var t=this,r=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),r.request(s.method,s.params).then(function(c){return a(null,{jsonrpc:"2.0",id:s.id,result:c})}).catch(function(c){return a(c,null)})},this.request=function(s,a){try{return typeof s!="string"&&(a=s.params,s=s.method),Promise.resolve(fetch(t.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:s,params:a}),headers:{"Content-Type":"application/json"}})).then(function(c){if(!c.ok)throw new U(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(u){if("error"in u){var f,p,v;throw new U(u==null||(f=u.error)==null?void 0:f.message,u==null||(p=u.error)==null?void 0:p.code,u==null||(v=u.error)==null?void 0:v.data)}else{if("result"in u)return u.result;throw new U("Received unexpected JSON-RPC response to "+s+" request.",-32e3,u)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var o=new URL(e);this.host=o.host,this.path=o.pathname},Te=(function(i){Y(n,i);function n(t){var r,o=t.urls,s=t.defaultChainId;return s||Object.keys(o).length===1||V(),r=i.call(this,{supportedChainIds:Object.keys(o).map(function(a){return Number(a)})})||this,r.currentChainId=s||Number(Object.keys(o)[0]),r.providers=Object.keys(o).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),o[Number(c)]),a},{}),r}var e=n.prototype;return e.activate=function(){try{var r=this;return Promise.resolve({provider:r.providers[r.currentChainId],chainId:r.currentChainId,account:null})}catch(o){return Promise.reject(o)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.providers[r.currentChainId])}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.currentChainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(r){Object.keys(this.providers).includes(r.toString())||V(),this.currentChainId=r,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:r})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},x.apply(this,arguments)}function Pe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,F(i,n)}function F(i,n){return F=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},F(i,n)}function B(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}var _e=1,Ne=(function(i){Pe(n,i);function n(t){var r,o=t.url,s=t.appName,a=t.appLogoUrl,c=t.darkMode,u=t.supportedChainIds;return r=i.call(this,{supportedChainIds:u})||this,r.url=o,r.appName=s,r.appLogoUrl=a,r.darkMode=c||!1,r.handleChainChanged=r.handleChainChanged.bind(B(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(B(r)),r}var e=n.prototype;return e.activate=function(){try{var r=this,o=function(){return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(c){var u=c[0];return r.provider.on("chainChanged",r.handleChainChanged),r.provider.on("accountsChanged",r.handleAccountsChanged),{provider:r.provider,account:u}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)r.provider=window.ethereum;else{var a=(function(){if(!r.walletLink)return Promise.resolve(m(()=>import("./index-DrYTVtgg.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12])).then(function(c){var u;return(u=c==null?void 0:c.default)!=null?u:c})).then(function(c){r.walletLink=new c(x({appName:r.appName,darkMode:r.darkMode},r.appLogoUrl?{appLogoUrl:r.appLogoUrl}:{})),r.provider=r.walletLink.makeWeb3Provider(r.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.provider)}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.provider.chainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){try{var r=this;return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(o){return o[0]})}catch(o){return Promise.reject(o)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var r=this;return r.provider.close(),r.emitDeactivate(),Promise.resolve()}catch(o){return Promise.reject(o)}},e.handleChainChanged=function(r){this.emitUpdate({chainId:r})},e.handleAccountsChanged=function(r){this.emitUpdate({account:r[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],t=e.urls[n];if(!t)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:t,appName:e.appName,supportedChainIds:[n]})}}class Me{}class Z extends Me{get(n){const e=window.localStorage.getItem(n);return e===null?void 0:e}set(n,e){window.localStorage.setItem(n,e)}remove(n){window.localStorage.removeItem(n)}removeRegExp(n){for(let e=localStorage.length-1;e>=0;e--){const t=localStorage.key(e);t&&n.test(t)&&localStorage.removeItem(t)}}}const be={[g.ChainId.ETHEREUM_MAINNET]:"mainnet",[g.ChainId.ETHEREUM_SEPOLIA]:"sepolia",[g.ChainId.MATIC_MAINNET]:"polygon",[g.ChainId.MATIC_AMOY]:"polygonAmoy",[g.ChainId.ARBITRUM_MAINNET]:"arbitrum",[g.ChainId.OPTIMISM_MAINNET]:"optimism",[g.ChainId.AVALANCHE_MAINNET]:"avalanche",[g.ChainId.BSC_MAINNET]:"bsc",[g.ChainId.FANTOM_MAINNET]:"fantom"},w=class w extends E{constructor(e){super({supportedChainIds:w.configuration.chains});d(this,"desiredChainId");d(this,"appKit");d(this,"provider");d(this,"accountUnsubscribe");d(this,"networkUnsubscribe");d(this,"initAppKit",async()=>{if(w.sharedAppKit)return this.appKit=w.sharedAppKit,this.appKit;const{createAppKit:e}=await m(async()=>{const{createAppKit:s}=await import("./index-B0eaBbwk.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([13,14,1,3,5,4,12,15,16,17,18,19,20,21,22,23,24])),{WagmiAdapter:t}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-DOE5PvRf.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([25,16,3,1,17,5,18,19,14,4,12,15,26,27,6,28,29,30])),r=await this.getNetworks(),o=new t({networks:r,projectId:w.configuration.projectId});return this.appKit=e({adapters:[o],projectId:w.configuration.projectId,networks:r,defaultNetwork:r[0],metadata:{name:"Decentraland",description:"Decentraland - Virtual World",url:typeof window<"u"?window.location.origin:"https://decentraland.org",icons:["https://decentraland.org/favicon.ico"]},themeMode:"dark",themeVariables:{"--w3m-z-index":3e3},features:{analytics:!1,email:!1,socials:!1,onramp:!1,swaps:!1},enableInjected:!0,enableEIP6963:!0}),w.sharedAppKit=this.appKit,await this.waitForSessionRestore(),this.appKit});d(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const t=e.getAccount();if((t==null?void 0:t.status)==="connected"||(t==null?void 0:t.status)==="disconnected")return;const r=t!=null&&t.status?5e3:500;return new Promise(o=>{const s=setTimeout(()=>{a==null||a(),o()},r),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),o())},"eip155")})});d(this,"validateRestoredSession",async e=>{try{const t=e.getWalletProvider();return t?(await t.request({method:"eth_chainId"}),!0):!1}catch(t){return w.isStaleSessionError(t)?!1:(console.warn("Error validating WalletConnect session:",t),!0)}});d(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),t=()=>new Promise((r,o)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),o(new Error("Connection timeout"))},3e5),u=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(u,f),r(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(u,f),o(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await t()}catch(r){if(w.isStaleSessionError(r)){if(console.warn("Stale session detected, retrying connection..."),w.clearStorage(),await this.initAppKit(),!this.appKit)throw new Error("AppKit reinitialization failed");await this.appKit.open({view:"Connect"}),await t()}else throw r}});d(this,"activate",async()=>{try{await this.initAppKit()}catch(c){if(console.error("Error initializing AppKit",c),w.isStaleSessionError(c))console.warn("WalletConnect session is stale, clearing storage and retrying..."),w.clearStorage(),await this.initAppKit();else throw c}const e=this.requireAppKit(),t=e.getAccount();(t==null?void 0:t.status)==="connected"&&(t==null?void 0:t.address)?await this.validateRestoredSession(e)||(console.warn("Restored WalletConnect session is stale, clearing and prompting reconnection..."),w.clearStorage(),await this.initAppKit(),await this.openModalAndWaitForConnection()):await this.openModalAndWaitForConnection();const o=e.getWalletProvider();if(!o)throw new Error("Failed to get wallet provider after connection");this.provider=o,this.accountUnsubscribe=e.subscribeAccount(c=>{c!=null&&c.address&&this.handleAccountsChanged([c.address])},"eip155"),this.networkUnsubscribe=e.subscribeCaipNetworkChange(c=>{c!=null&&c.id&&this.handleChainChanged(c.id)});const s=e.getAddress("eip155");return{chainId:e.getChainId()||this.desiredChainId,account:s||null,provider:this.provider}});d(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});d(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);d(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);d(this,"getWalletName",()=>{var e,t,r;return(r=(t=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:t.call(e,"eip155"))==null?void 0:r.name});d(this,"deactivate",()=>{});d(this,"clearInstance",()=>{var t,r;const e=this.provider;if(e){this.provider=void 0;try{(t=this.accountUnsubscribe)==null||t.call(this),(r=this.networkUnsubscribe)==null||r.call(this)}catch(o){console.warn("Error unsubscribing from AppKit events:",o)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});d(this,"close",async()=>{var t;if(this.clearInstance()){try{await((t=this.appKit)==null?void 0:t.disconnect())}catch(r){console.warn("Error during WalletConnect disconnect:",r)}this.appKit=void 0}});d(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});d(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});d(this,"handleDisconnect",()=>{this.clearInstance(),this.emitDeactivate()});this.desiredChainId=e}requireAppKit(){if(!this.appKit)throw new Error("AppKit is not initialized");return this.appKit}static isStaleSessionError(e){if(e instanceof Error){const t=e.message.toLowerCase();return t.includes("no matching key")||t.includes("session topic doesn't exist")||t.includes("missing or invalid")||t.includes("expired")||t.includes("user rejected methods")||t.includes("is not configured")||t.includes("cannot read properties")||t.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,t=await m(()=>import("./networks-DcWUPxCR.js"),__vite__mapDeps([31,19,5,1,32,33,26,14,3,4,12,15,34,35,30])),r=e.map(s=>{const a=be[s];if(a)return t[a]}).filter(s=>s!==void 0);if(r.length===0)throw new Error("No supported networks found for WalletConnect");const o=r.find(s=>s.id===this.desiredChainId);if(o){const s=r.filter(a=>a.id!==this.desiredChainId);return[o,...s]}return[r[0],...r.slice(1)]}};d(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),d(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),d(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,t=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});d(this,"isTest");d(this,"chainId");d(this,"account");d(this,"magic");d(this,"activate",async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const t=await this.getProvider(),r=await t.request({method:"eth_accounts"});return this.account=r[0]??null,{provider:t,chainId:this.chainId,account:this.account}});d(this,"getProvider",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const e=await this.magic.wallet.getProvider();return{...e,isMagic:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var s,a,c;if(((s=o[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const u=parseInt((c=(a=o[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(u)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(u),this.emitUpdate({chainId:u}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return t.bind(e)(...o)}}),sendAsync:new Proxy(e.send,{apply:async(t,r,o)=>t.bind(e)(...o)})}});d(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});d(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});d(this,"getEmail",async()=>{try{if(!this.magic||!await this.magic.user.isLoggedIn())return;const t=await this.magic.user.getInfo();return(t==null?void 0:t.email)??void 0}catch{return}});d(this,"deactivate",()=>{});d(this,"buildMagicInstance",async e=>{const{Magic:t}=await m(async()=>{const{Magic:a}=await import("./index-jsed_aC3.js");return{Magic:a}},__vite__mapDeps([36,5,1,37])),{OAuthExtension:r}=await m(async()=>{const{OAuthExtension:a}=await import("./index-ChkZ_3N-.js");return{OAuthExtension:a}},__vite__mapDeps([38,37,5,1,39,7,8,4,10,3])),o=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=o.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(o.urls).join(", ")}`);return new t(o.apiKey,{extensions:[new r],network:{rpcUrl:s,chainId:e}})});this.isTest=t,this.chainId=e,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class ee extends H{constructor(n){super(n,!0)}}class te extends E{constructor(e){var t;super({supportedChainIds:((t=I().thirdweb)==null?void 0:t.chains)??[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA]});d(this,"chainId");d(this,"client");d(this,"wallet");d(this,"chain");d(this,"eip1193Provider");d(this,"activate",async()=>{const e=await this.getClient(),t=await this.getWallet();let r;try{r=await t.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!r)throw new Error("Thirdweb: No active session. User must authenticate first.");const o=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:u}=await import("./wallets-CUIygOS2.js").then(f=>f.Q);return{EIP1193:u}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=s.toProvider({wallet:t,chain:o,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:r.address}});d(this,"getProvider",async()=>{if(!this.eip1193Provider)throw new Error("Thirdweb: wallet is not connected. Call activate() first.");const e=this.eip1193Provider;return{...e,isDapper:!1,isFortmatic:!1,isMetamask:!1,isMagic:!1,isThirdweb:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var a,c,u,f;if(((a=o[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(u=(c=o[0])==null?void 0:c.params)==null?void 0:u[0])==null?void 0:f.chainId,v=parseInt(p,16);if(this.supportedChainIds&&!this.supportedChainIds.includes(v))throw new Error("Thirdweb: unsupported chain");this.chainId=v,this.chain=null,this.eip1193Provider=null;const T=await this.getClient(),ne=await this.getWallet(),ie=await this.getChain(),{EIP1193:oe}=await m(async()=>{const{EIP1193:ae}=await import("./wallets-CUIygOS2.js").then(se=>se.Q);return{EIP1193:ae}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(t,e,o)}}),sendAsync:new Proxy(e.request,{apply:async(t,r,o)=>Reflect.apply(t,e,o)})}});d(this,"getChainId",async()=>this.chainId);d(this,"getAccount",async()=>{if(!this.wallet)return null;try{const e=this.wallet.getAccount();return(e==null?void 0:e.address)??null}catch{return null}});d(this,"getEmail",async()=>{try{const e=await this.getClient(),{getUserEmail:t}=await m(async()=>{const{getUserEmail:o}=await import("./in-app-qH_5BfXH.js");return{getUserEmail:o}},__vite__mapDeps([57,42,43,5,1,48,47,14,3,4,12,15,58,59]));return await t({client:e})??void 0}catch{return}});d(this,"deactivate",()=>{});this.chainId=e,this.client=null,this.wallet=null,this.chain=null,this.eip1193Provider=null}async getClient(){if(this.client)return this.client;let e;try{e=await m(()=>import("./thirdweb-Vp1uscmH.js").then(r=>r.t),__vite__mapDeps([60,43,5,1,42,41,14,3,4,12,15,44,45,46,61,62,63,64,65,66,55,67,68,69,70,54]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const t=I().thirdweb;return this.client=e.createThirdwebClient({clientId:t.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-CUIygOS2.js").then(t=>t.Q),__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]))}catch{throw new Error("Thirdweb: thirdweb package is not installed. Run: npm install thirdweb")}return this.wallet=e.inAppWallet(),this.wallet}async getChain(){if(this.chain)return this.chain;const e=await m(()=>import("./chains-Bp3h2aaE.js"),__vite__mapDeps([71,43,5,1,69,51]));return this.chain=e.defineChain(this.chainId),this.chain}async close(){this.wallet&&await this.wallet.disconnect(),this.wallet=null,this.chain=null,this.eip1193Provider=null}}class M{constructor(n){d(this,"provider");d(this,"id",0);d(this,"on",(n,e)=>this.provider.on(n,e));d(this,"emit",(n,...e)=>this.provider.emit(n,e));d(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));d(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));d(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(t,r)=>{r&&!Object.prototype.hasOwnProperty.call(r,"result")?e(t,{id:0,jsonrpc:"2.0",result:r}):e(t,r)}):this.send(n,e));this.provider=n}static adapt(n){const e=new M(n);return{...n,on:e.on,emit:e.emit,removeListener:e.removeListener,request:e.request,sendAsync:e.sendAsync,send:e.send.bind(e)}}async send(n,e){let t,r,o;const s=typeof e=="function";if(s){const a=n;r=a.params||[],t=a.method,o=e}else t=n,r=e||[],o=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:t,params:r}).then(f=>[null,f]).catch(f=>[f,void 0]);return o(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(u=>this.provider.send(n,(f,p)=>{u([f,p])})):await new Promise(u=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:t,params:r},(f,p)=>{const v=p;u([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return o(a,c)}}isModernProvider(){return"request"in this.provider&&typeof this.provider.request=="function"}hasSendAsync(){return typeof this.provider.sendAsync=="function"}patchOldMobile(){this.provider&&!this.provider.isDapper&&!this.provider.isFortmatic&&!this.provider.isMetamask&&this.hasSendAsync()&&this.provider.send!==this.provider.sendAsync&&(this.provider.send=this.provider.sendAsync.bind(this.provider))}}class re{constructor(n){d(this,"storage");d(this,"connector");d(this,"promiseOfConnection");d(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});d(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});d(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=h.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const t=this.buildConnector(n,e);t.on(C.Deactivate,this.handleWeb3ReactDeactivate);let{provider:r,account:o}={};try{const a=await t.activate();r=a.provider,o=a.account}catch(a){throw console.error("Error activating the connector",a),a}(n===l.ProviderType.MAGIC||n===l.ProviderType.MAGIC_TEST||n===l.ProviderType.THIRDWEB)&&t.on(C.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await r.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=t,this.setConnectionData(n,s),{provider:M.adapt(r),providerType:n,account:o||"",chainId:s}}isConnected(){return!!this.connector&&!!this.getConnectionData()}async tryPreviousConnection(){const n=this.getConnectionData();if(!n)throw new Error("Could not find a valid provider. Make sure to call the `connect` method first");if(this.connector){const[t,r]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:t,providerType:n.providerType,chainId:n.chainId,account:r||""}}let e;try{e=this.promiseOfConnection?await this.promiseOfConnection:await(this.promiseOfConnection=this.connect(n.providerType,n.chainId))}finally{this.promiseOfConnection=void 0}return{...e,chainId:this.getConnectionData().chainId}}getAvailableProviders(){const n=[l.ProviderType.FORTMATIC,l.ProviderType.WALLET_CONNECT,l.ProviderType.WALLET_LINK];return typeof window<"u"&&window.ethereum!==void 0?n.unshift(l.ProviderType.INJECTED):n.unshift(l.ProviderType.METAMASK_MOBILE),n}async disconnect(){this.connector&&(this.connector.removeAllListeners(C.Deactivate),this.connector.removeAllListeners(C.Update),this.connector.deactivate(),this.isClosableConnector()&&await this.connector.close()),this.clearConnectionData(),this.connector=void 0}async getProvider(){if(!this.connector)throw new Error("No valid connector found. Please .connect() first");return this.connector.getProvider()}async getEmail(){const n=this.connector;if(n!=null&&n.getEmail)try{return await n.getEmail()}catch{return}}async createProvider(n,e=h.ChainId.ETHEREUM_MAINNET){const r=await this.buildConnector(n,e).getProvider();return M.adapt(r)}buildConnector(n,e){switch(n){case l.ProviderType.INJECTED:return new J(e);case l.ProviderType.FORTMATIC:return new z(e);case l.ProviderType.MAGIC:return new H(e);case l.ProviderType.MAGIC_TEST:return new ee(e);case l.ProviderType.WALLET_LINK:return new X(e);case l.ProviderType.NETWORK:return new Q(e);case l.ProviderType.WALLET_CONNECT_V2:return new _(e);case l.ProviderType.THIRDWEB:return new te(e);default:throw new Error(`Invalid provider ${n}`)}}getConnectionData(){const{storageKey:n}=I(),e=this.storage.get(n);try{return e?JSON.parse(e):void 0}catch(t){console.error("Error parsing connection data",t);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:t}=I(),r=JSON.stringify({providerType:n,chainId:e});this.storage.set(t,r)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),De=Object.freeze(Object.defineProperty({__proto__:null,AbstractConnector:E,ConnectionManager:re,ErrorUnlockingWallet:G,FortmaticConnector:z,InjectedConnector:J,MagicConnector:H,MagicTestConnector:ee,NetworkConnector:Q,ProviderAdapter:M,ThirdwebConnector:te,WalletConnectV2Connector:_,WalletLinkConnector:X,connection:Oe,getConfiguration:I,getRpcUrls:A},Symbol.toStringTag,{value:"Module"}));export{je as N,Oe as c,$ as e,De as i};
3
- //# sourceMappingURL=index-CqA25hIa.js.map
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["_assets/fortmatic-q9_51_t1.js","_assets/react-VV7ruaEe.js","_assets/index-p-Gdk04N.js","_assets/dcl-schemas-DwpPH57a.js","_assets/ethers-1M1CfdDX.js","_assets/sentry-o0F_Elyr.js","_assets/index-8pBNkHhZ.js","_assets/index-BG18kxxr.js","_assets/index-Bbna9UA6.js","_assets/hooks.module-54Oj1-WJ.js","_assets/events-ChynmAya.js","_assets/browser-BLhgq6bj.js","_assets/intl-AKLEHPeO.js","_assets/index-AKVaFU6R.js","_assets/index-DBONtw7H.js","_assets/index-Drj3_D29.css","_assets/W3MFrameProviderSingleton-B6rhAVVy.js","_assets/index-CnEhIH6s.js","_assets/browser-ponyfill-rx4ABrHQ.js","_assets/NetworkUtil-D5060_28.js","_assets/index-BmCV7OM0.js","_assets/index-OpYIGLSa.js","_assets/index-CNCV5gb2.js","_assets/index.es-Bu43E8Od.js","_assets/lit-element-wjYUA6aF.js","_assets/index-MW2iAiMi.js","_assets/sendRawTransaction-Dj_4qH3D.js","_assets/index-BlsDk8cY.js","_assets/store-80QKZ2rN.js","_assets/custom-C1-1hU-n.js","_assets/writeContract-BvArkAMz.js","_assets/networks-k-5FUkuC.js","_assets/zoraTestnet-DP3dbXZ6.js","_assets/verifyHash-CUVRY0V6.js","_assets/secp256k1-CzYB4UO1.js","_assets/serializeTransaction-Ci108h6S.js","_assets/index-Lm6gRDgk.js","_assets/index-Wiz3KnKQ.js","_assets/index-Du3ibQ0n.js","_assets/index-mp-W7rgu.js","_assets/wallets-B1ZJrwjj.js","_assets/signing-B2ulpOrN.js","_assets/prepare-contract-call-BDx98mcK.js","_assets/utils-ClhrwhHu.js","_assets/to-serializable-transaction-By8QfhXP.js","_assets/transaction-B1xgjYJ6.js","_assets/get-bytecode-C9C09tyO.js","_assets/execute-CMhgmHrV.js","_assets/detectExtension-0ov0Rrws.js","_assets/linkAccount-D8t0rhjQ.js","_assets/index-CyRKYgX3.js","_assets/ethereum-DgDIagMf.js","_assets/types-BeDU9GfL.js","_assets/hashTypedData-CwOONztK.js","_assets/send-transaction-C8HId9c-.js","_assets/eth_sendRawTransaction-DYAsy3sS.js","_assets/index-DMqzgHxy.js","_assets/in-app-CxjWjLLj.js","_assets/passkeys-BgD3qEUS.js","_assets/uint8-array-BMe04WIx.js","_assets/thirdweb-DI7ZaNzU.js","_assets/wait-for-tx-receipt-CL_z5VGg.js","_assets/transactionReceipt-D8BwP6qt.js","_assets/sleep-fBr8OToA.js","_assets/eth_estimateGas-PqNhqizJ.js","_assets/eth_getStorageAt-OHBtIi6n.js","_assets/eth_getTransactionCount-3Fo1K1in.js","_assets/decimals-DM3o8F2C.js","_assets/decimals-aCEDG5JH.js","_assets/zora-sepolia-IkBJSEG_.js","_assets/send-batch-transaction-Bsec8aWl.js","_assets/chains-CSz4uaiN.js"])))=>i.map(i=>d[i]);
2
+ var ce=Object.defineProperty;var de=(i,n,e)=>n in i?ce(i,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[n]=e;var d=(i,n,e)=>de(i,typeof n!="symbol"?n+"":n,e);import{e as h,f as l,g}from"./dcl-schemas-DwpPH57a.js";import{g as ue}from"./react-VV7ruaEe.js";import{r as he}from"./events-ChynmAya.js";import{_ as m}from"./index-DBONtw7H.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new i.Error().stack;n&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[n]="a7ad7e1e-f74b-41ea-a127-55281874b066",i._sentryDebugIdIdentifier="sentry-dbid-a7ad7e1e-f74b-41ea-a127-55281874b066")}catch{}})();var C;(function(i){i.Update="Web3ReactUpdate",i.Error="Web3ReactError",i.Deactivate="Web3ReactDeactivate"})(C||(C={}));const le={clientId:"e1adce863fe287bb6cf0e3fd90bdb77f",chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY]},pe={storageKey:"decentraland-connect-storage-key",[l.ProviderType.INJECTED]:{},[l.ProviderType.FORTMATIC]:{apiKeys:{[h.ChainId.ETHEREUM_MAINNET]:"pk_live_F8E24DF8DD5BCBC5",[h.ChainId.ETHEREUM_SEPOLIA]:"pk_test_5B728BEFE5C10911"},urls:A(l.ProviderType.FORTMATIC)},[l.ProviderType.NETWORK]:{urls:A(l.ProviderType.NETWORK)},[l.ProviderType.WALLET_LINK]:{appName:"Decentraland",urls:A(l.ProviderType.WALLET_LINK)},[l.ProviderType.WALLET_CONNECT_V2]:{projectId:"61570c542c2d66c659492e5b24a41522",urls:A(l.ProviderType.WALLET_CONNECT_V2),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.ARBITRUM_MAINNET,h.ChainId.OPTIMISM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC]:{apiKey:"pk_live_212568025B158355",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},[l.ProviderType.MAGIC_TEST]:{apiKey:"pk_live_CE856A4938B36648",urls:A(l.ProviderType.MAGIC),chains:[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA,h.ChainId.MATIC_MAINNET,h.ChainId.MATIC_AMOY,h.ChainId.OPTIMISM_MAINNET,h.ChainId.ARBITRUM_MAINNET,h.ChainId.AVALANCHE_MAINNET,h.ChainId.BSC_MAINNET,h.ChainId.FANTOM_MAINNET]},thirdweb:le};function I(){return pe}function A(i){const n={[h.ChainId.ETHEREUM_MAINNET]:"https://rpc.decentraland.org/mainnet",[h.ChainId.ETHEREUM_SEPOLIA]:"https://rpc.decentraland.org/sepolia",[h.ChainId.MATIC_MAINNET]:"https://rpc.decentraland.org/polygon",[h.ChainId.MATIC_AMOY]:"https://rpc.decentraland.org/amoy",[h.ChainId.ARBITRUM_MAINNET]:"https://rpc.decentraland.org/arbitrum",[h.ChainId.OPTIMISM_MAINNET]:"https://rpc.decentraland.org/optimism",[h.ChainId.AVALANCHE_MAINNET]:"https://rpc.decentraland.org/avalanche",[h.ChainId.BSC_MAINNET]:"https://rpc.decentraland.org/binance",[h.ChainId.FANTOM_MAINNET]:"https://rpc.decentraland.org/fantom"};let e="";switch(i){case l.ProviderType.WALLET_LINK:e="walletlink";break;case l.ProviderType.FORTMATIC:e="fortmatic";break;case l.ProviderType.MAGIC:e="magic";break;case l.ProviderType.MAGIC_TEST:e="magic";break;case l.ProviderType.WALLET_CONNECT_V2:e="walletconnect-v2";break;case l.ProviderType.THIRDWEB:e="thirdweb";break}if(e){const t=Object.keys(n);for(const r of t)n[r]+=`?project=${e}`}return n}var $=he();const je=ue($);function fe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}var E=(function(i){fe(n,i);function n(t){var r,o=t===void 0?{}:t,s=o.supportedChainIds;return r=i.call(this)||this,r.supportedChainIds=s,r}var e=n.prototype;return e.emitUpdate=function(r){this.emit(C.Update,r)},e.emitError=function(r){this.emit(C.Error,r)},e.emitDeactivate=function(){this.emit(C.Deactivate)},n})($.EventEmitter);class z extends E{constructor(e){const t=I()[g.ProviderType.FORTMATIC],r=Object.keys(t.apiKeys).map(o=>Number(o));if(!r.includes(e))throw new Error(`Invariant error: Unsupported chainId ${e}`);super({supportedChainIds:r});d(this,"apiKey");d(this,"chainId");d(this,"rpcUrl");d(this,"fortmatic");this.apiKey=t.apiKeys[e],this.chainId=e,this.rpcUrl=t.urls[e]}async activate(){if(!this.fortmatic){const{default:t}=await m(async()=>{const{default:r}=await import("./fortmatic-q9_51_t1.js").then(o=>o.f);return{default:r}},__vite__mapDeps([0,1]));this.fortmatic=new t(this.apiKey,{rpcUrl:this.rpcUrl,chainId:this.chainId})}const e=await this.fortmatic.getProvider().enable().then(t=>t[0]);return{provider:this.fortmatic.getProvider(),chainId:this.chainId,account:e}}getApiKey(){return this.apiKey}async getProvider(){return this.fortmatic.getProvider()}async getChainId(){return this.chainId}async getAccount(){return this.fortmatic.getProvider().send("eth_accounts").then(e=>e[0])}deactivate(){}close(){return this.fortmatic.user.logout()}}function j(){return j=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},j.apply(this,arguments)}function q(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,i.__proto__=n}function D(i){return D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},D(i)}function L(i,n){return L=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},L(i,n)}function ve(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function O(i,n,e){return ve()?O=Reflect.construct:O=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&L(u,s.prototype),u},O.apply(null,arguments)}function we(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function S(i){var n=typeof Map=="function"?new Map:void 0;return S=function(t){if(t===null||!we(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return O(t,arguments,D(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,t)},S(i)}function b(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}typeof Symbol<"u"&&(Symbol.iterator||(Symbol.iterator=Symbol("Symbol.iterator")));typeof Symbol<"u"&&(Symbol.asyncIterator||(Symbol.asyncIterator=Symbol("Symbol.asyncIterator")));function P(i,n){try{var e=i()}catch(t){return n(t)}return e&&e.then?e.then(void 0,n):e}function y(i){return i.hasOwnProperty("result")?i.result:i}var k=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="No Ethereum provider was found on window.ethereum.",e}return n})(S(Error)),ge=(function(i){q(n,i);function n(){var e;return e=i.call(this)||this,e.name=e.constructor.name,e.message="The user rejected the request.",e}return n})(S(Error)),me=(function(i){q(n,i);function n(t){var r;return r=i.call(this,t)||this,r.handleNetworkChanged=r.handleNetworkChanged.bind(b(r)),r.handleChainChanged=r.handleChainChanged.bind(b(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(b(r)),r.handleClose=r.handleClose.bind(b(r)),r}var e=n.prototype;return e.handleChainChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.handleAccountsChanged=function(r){r.length===0?this.emitDeactivate():this.emitUpdate({account:r[0]})},e.handleClose=function(r,o){this.emitDeactivate()},e.handleNetworkChanged=function(r){this.emitUpdate({chainId:r,provider:window.ethereum})},e.activate=function(){try{var r=function(f){if(o)return f;function p(){return j({provider:window.ethereum},a?{account:a}:{})}var v=(function(){if(!a)return Promise.resolve(window.ethereum.enable().then(function(T){return T&&y(T)[0]})).then(function(T){a=T})})();return v&&v.then?v.then(p):p(v)},o=!1,s=this;if(!window.ethereum)throw new k;window.ethereum.on&&(window.ethereum.on("chainChanged",s.handleChainChanged),window.ethereum.on("accountsChanged",s.handleAccountsChanged),window.ethereum.on("close",s.handleClose),window.ethereum.on("networkChanged",s.handleNetworkChanged)),window.ethereum.isMetaMask&&(window.ethereum.autoRefreshOnNetworkChange=!1);var a,c=P(function(){return Promise.resolve(window.ethereum.send("eth_requestAccounts").then(function(u){return y(u)[0]})).then(function(u){a=u})},function(u){if(u.code===4001)throw new ge});return Promise.resolve(c&&c.then?c.then(r):r(c))}catch(u){return Promise.reject(u)}},e.getProvider=function(){try{return Promise.resolve(window.ethereum)}catch(r){return Promise.reject(r)}},e.getChainId=function(){try{var r=function(){function c(){if(!o)try{o=y(window.ethereum.send({method:"net_version"}))}catch{}return o||(window.ethereum.isDapper?o=y(window.ethereum.cachedResults.net_version):o=window.ethereum.chainId||window.ethereum.netVersion||window.ethereum.networkVersion||window.ethereum._chainId),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.send("net_version").then(y)).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_chainId").then(y)).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.getAccount=function(){try{var r=function(){function c(){return o||(o=y(window.ethereum.send({method:"eth_accounts"}))[0]),o}var u=(function(){if(!o){var f=P(function(){return Promise.resolve(window.ethereum.enable().then(function(p){return y(p)[0]})).then(function(p){o=p})},function(){});if(f&&f.then)return f.then(function(){})}})();return u&&u.then?u.then(c):c(u)};if(!window.ethereum)throw new k;var o,s=P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(a){return y(a)[0]})).then(function(a){o=a})},function(){});return Promise.resolve(s&&s.then?s.then(r):r(s))}catch(a){return Promise.reject(a)}},e.deactivate=function(){window.ethereum&&window.ethereum.removeListener&&(window.ethereum.removeListener("chainChanged",this.handleChainChanged),window.ethereum.removeListener("accountsChanged",this.handleAccountsChanged),window.ethereum.removeListener("close",this.handleClose),window.ethereum.removeListener("networkChanged",this.handleNetworkChanged))},e.isAuthorized=function(){try{return window.ethereum?Promise.resolve(P(function(){return Promise.resolve(window.ethereum.send("eth_accounts").then(function(r){return y(r).length>0}))},function(){return!1})):Promise.resolve(!1)}catch(r){return Promise.reject(r)}},n})(E);class G extends Error{constructor(){super("There was an error unlocking your wallet. Please be sure your wallet is unlocked and try again."),this.name="ErrorUnlockingWallet"}}const Ie=60*1e3;class J extends me{constructor(n){super({supportedChainIds:[n]})}async activate(){const n=new Promise((t,r)=>{setTimeout(()=>{r(new G)},Ie)}),e=super.activate();return Promise.race([e,n])}}var ye="Invariant failed";function V(i,n){throw new Error(ye)}function Y(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,N(i,n)}function K(i){return K=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},K(i)}function N(i,n){return N=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},N(i,n)}function Ce(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(i,n,e){return Ce()?R=Reflect.construct:R=function(r,o,s){var a=[null];a.push.apply(a,o);var c=Function.bind.apply(r,a),u=new c;return s&&N(u,s.prototype),u},R.apply(null,arguments)}function Ee(i){return Function.toString.call(i).indexOf("[native code]")!==-1}function W(i){var n=typeof Map=="function"?new Map:void 0;return W=function(t){if(t===null||!Ee(t))return t;if(typeof t!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(t))return n.get(t);n.set(t,r)}function r(){return R(t,arguments,K(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),N(r,t)},W(i)}var U=(function(i){Y(n,i);function n(e,t,r){var o;return o=i.call(this)||this,o.code=t,o.data=r,o.name=o.constructor.name,o.message=e,o}return n})(W(Error)),Ae=function(n,e){var t=this,r=this;this.isMetaMask=!1,this.sendAsync=function(s,a){console.log("sendAsync",s.method,s.params),r.request(s.method,s.params).then(function(c){return a(null,{jsonrpc:"2.0",id:s.id,result:c})}).catch(function(c){return a(c,null)})},this.request=function(s,a){try{return typeof s!="string"&&(a=s.params,s=s.method),Promise.resolve(fetch(t.url,{method:"POST",body:JSON.stringify({jsonrpc:"2.0",id:1,method:s,params:a}),headers:{"Content-Type":"application/json"}})).then(function(c){if(!c.ok)throw new U(c.status+": "+c.statusText,-32e3);return Promise.resolve(c.json()).then(function(u){if("error"in u){var f,p,v;throw new U(u==null||(f=u.error)==null?void 0:f.message,u==null||(p=u.error)==null?void 0:p.code,u==null||(v=u.error)==null?void 0:v.data)}else{if("result"in u)return u.result;throw new U("Received unexpected JSON-RPC response to "+s+" request.",-32e3,u)}})})}catch(c){return Promise.reject(c)}},this.chainId=n,this.url=e;var o=new URL(e);this.host=o.host,this.path=o.pathname},Te=(function(i){Y(n,i);function n(t){var r,o=t.urls,s=t.defaultChainId;return s||Object.keys(o).length===1||V(),r=i.call(this,{supportedChainIds:Object.keys(o).map(function(a){return Number(a)})})||this,r.currentChainId=s||Number(Object.keys(o)[0]),r.providers=Object.keys(o).reduce(function(a,c){return a[Number(c)]=new Ae(Number(c),o[Number(c)]),a},{}),r}var e=n.prototype;return e.activate=function(){try{var r=this;return Promise.resolve({provider:r.providers[r.currentChainId],chainId:r.currentChainId,account:null})}catch(o){return Promise.reject(o)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.providers[r.currentChainId])}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.currentChainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){return Promise.resolve(null)},e.deactivate=function(){},e.changeChainId=function(r){Object.keys(this.providers).includes(r.toString())||V(),this.currentChainId=r,this.emitUpdate({provider:this.providers[this.currentChainId],chainId:r})},n})(E);class Q extends Te{constructor(n){super({urls:I()[l.ProviderType.NETWORK].urls,defaultChainId:n})}}function x(){return x=Object.assign||function(i){for(var n=1;n<arguments.length;n++){var e=arguments[n];for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(i[t]=e[t])}return i},x.apply(this,arguments)}function Pe(i,n){i.prototype=Object.create(n.prototype),i.prototype.constructor=i,F(i,n)}function F(i,n){return F=Object.setPrototypeOf||function(t,r){return t.__proto__=r,t},F(i,n)}function B(i){if(i===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return i}var _e=1,Ne=(function(i){Pe(n,i);function n(t){var r,o=t.url,s=t.appName,a=t.appLogoUrl,c=t.darkMode,u=t.supportedChainIds;return r=i.call(this,{supportedChainIds:u})||this,r.url=o,r.appName=s,r.appLogoUrl=a,r.darkMode=c||!1,r.handleChainChanged=r.handleChainChanged.bind(B(r)),r.handleAccountsChanged=r.handleAccountsChanged.bind(B(r)),r}var e=n.prototype;return e.activate=function(){try{var r=this,o=function(){return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(c){var u=c[0];return r.provider.on("chainChanged",r.handleChainChanged),r.provider.on("accountsChanged",r.handleAccountsChanged),{provider:r.provider,account:u}})},s=(function(){if(window.ethereum&&window.ethereum.isCoinbaseWallet===!0)r.provider=window.ethereum;else{var a=(function(){if(!r.walletLink)return Promise.resolve(m(()=>import("./index-p-Gdk04N.js").then(c=>c.i),__vite__mapDeps([2,1,3,4,5,6,7,8,9,10,11,12])).then(function(c){var u;return(u=c==null?void 0:c.default)!=null?u:c})).then(function(c){r.walletLink=new c(x({appName:r.appName,darkMode:r.darkMode},r.appLogoUrl?{appLogoUrl:r.appLogoUrl}:{})),r.provider=r.walletLink.makeWeb3Provider(r.url,_e)})})();if(a&&a.then)return a.then(function(){})}})();return Promise.resolve(s&&s.then?s.then(o):o(s))}catch(a){return Promise.reject(a)}},e.getProvider=function(){try{var r=this;return Promise.resolve(r.provider)}catch(o){return Promise.reject(o)}},e.getChainId=function(){try{var r=this;return Promise.resolve(r.provider.chainId)}catch(o){return Promise.reject(o)}},e.getAccount=function(){try{var r=this;return Promise.resolve(r.provider.request({method:"eth_requestAccounts"})).then(function(o){return o[0]})}catch(o){return Promise.reject(o)}},e.deactivate=function(){this.provider.removeListener("chainChanged",this.handleChainChanged),this.provider.removeListener("accountsChanged",this.handleAccountsChanged)},e.close=function(){try{var r=this;return r.provider.close(),r.emitDeactivate(),Promise.resolve()}catch(o){return Promise.reject(o)}},e.handleChainChanged=function(r){this.emitUpdate({chainId:r})},e.handleAccountsChanged=function(r){this.emitUpdate({account:r[0]})},n})(E);class X extends Ne{constructor(n){const e=I()[g.ProviderType.WALLET_LINK],t=e.urls[n];if(!t)throw new Error(`Unsupported chainId for WalletLink: ${n}. Supported chains: ${Object.keys(e.urls).join(", ")}`);super({url:t,appName:e.appName,supportedChainIds:[n]})}}class Me{}class Z extends Me{get(n){const e=window.localStorage.getItem(n);return e===null?void 0:e}set(n,e){window.localStorage.setItem(n,e)}remove(n){window.localStorage.removeItem(n)}removeRegExp(n){for(let e=localStorage.length-1;e>=0;e--){const t=localStorage.key(e);t&&n.test(t)&&localStorage.removeItem(t)}}}const be={[g.ChainId.ETHEREUM_MAINNET]:"mainnet",[g.ChainId.ETHEREUM_SEPOLIA]:"sepolia",[g.ChainId.MATIC_MAINNET]:"polygon",[g.ChainId.MATIC_AMOY]:"polygonAmoy",[g.ChainId.ARBITRUM_MAINNET]:"arbitrum",[g.ChainId.OPTIMISM_MAINNET]:"optimism",[g.ChainId.AVALANCHE_MAINNET]:"avalanche",[g.ChainId.BSC_MAINNET]:"bsc",[g.ChainId.FANTOM_MAINNET]:"fantom"},w=class w extends E{constructor(e){super({supportedChainIds:w.configuration.chains});d(this,"desiredChainId");d(this,"appKit");d(this,"provider");d(this,"accountUnsubscribe");d(this,"networkUnsubscribe");d(this,"initAppKit",async()=>{if(w.sharedAppKit)return this.appKit=w.sharedAppKit,this.appKit;const{createAppKit:e}=await m(async()=>{const{createAppKit:s}=await import("./index-AKVaFU6R.js").then(a=>a.h);return{createAppKit:s}},__vite__mapDeps([13,14,1,3,5,4,12,15,16,17,18,19,20,21,22,23,24])),{WagmiAdapter:t}=await m(async()=>{const{WagmiAdapter:s}=await import("./index-MW2iAiMi.js").then(a=>a.b);return{WagmiAdapter:s}},__vite__mapDeps([25,16,3,1,17,5,18,19,14,4,12,15,26,27,6,28,29,30])),r=await this.getNetworks(),o=new t({networks:r,projectId:w.configuration.projectId});return this.appKit=e({adapters:[o],projectId:w.configuration.projectId,networks:r,defaultNetwork:r[0],metadata:{name:"Decentraland",description:"Decentraland - Virtual World",url:typeof window<"u"?window.location.origin:"https://decentraland.org",icons:["https://decentraland.org/favicon.ico"]},themeMode:"dark",themeVariables:{"--w3m-z-index":3e3},features:{analytics:!1,email:!1,socials:!1,onramp:!1,swaps:!1},enableInjected:!0,enableEIP6963:!0}),w.sharedAppKit=this.appKit,await this.waitForSessionRestore(),this.appKit});d(this,"waitForSessionRestore",async()=>{const e=this.appKit;if(!e)return;const t=e.getAccount();if((t==null?void 0:t.status)==="connected"||(t==null?void 0:t.status)==="disconnected")return;const r=t!=null&&t.status?5e3:500;return new Promise(o=>{const s=setTimeout(()=>{a==null||a(),o()},r),a=e.subscribeAccount(c=>{((c==null?void 0:c.status)==="connected"||(c==null?void 0:c.status)==="disconnected")&&(clearTimeout(s),a==null||a(),o())},"eip155")})});d(this,"validateRestoredSession",async e=>{try{const t=e.getWalletProvider();return t?(await t.request({method:"eth_chainId"}),!0):!1}catch(t){return w.isStaleSessionError(t)?!1:(console.warn("Error validating WalletConnect session:",t),!0)}});d(this,"openModalAndWaitForConnection",async()=>{const e=this.requireAppKit(),t=()=>new Promise((r,o)=>{let s=!1;const a=(p,v)=>{s||(s=!0,clearTimeout(c),p==null||p(),v==null||v())},c=setTimeout(()=>{a(),o(new Error("Connection timeout"))},3e5),u=e.subscribeAccount(p=>{p!=null&&p.isConnected&&(p!=null&&p.address)&&(a(u,f),r(p.address))},"eip155"),f=e.subscribeState(p=>{!p.open&&!e.getAddress("eip155")&&(a(u,f),o(new Error("User closed the modal without connecting")))})});try{await e.open({view:"Connect"}),await t()}catch(r){if(w.isStaleSessionError(r)){if(console.warn("Stale session detected, retrying connection..."),w.clearStorage(),await this.initAppKit(),!this.appKit)throw new Error("AppKit reinitialization failed");await this.appKit.open({view:"Connect"}),await t()}else throw r}});d(this,"activate",async()=>{try{await this.initAppKit()}catch(c){if(console.error("Error initializing AppKit",c),w.isStaleSessionError(c))console.warn("WalletConnect session is stale, clearing storage and retrying..."),w.clearStorage(),await this.initAppKit();else throw c}const e=this.requireAppKit(),t=e.getAccount();(t==null?void 0:t.status)==="connected"&&(t==null?void 0:t.address)?await this.validateRestoredSession(e)||(console.warn("Restored WalletConnect session is stale, clearing and prompting reconnection..."),w.clearStorage(),await this.initAppKit(),await this.openModalAndWaitForConnection()):await this.openModalAndWaitForConnection();const o=e.getWalletProvider();if(!o)throw new Error("Failed to get wallet provider after connection");this.provider=o,this.accountUnsubscribe=e.subscribeAccount(c=>{c!=null&&c.address&&this.handleAccountsChanged([c.address])},"eip155"),this.networkUnsubscribe=e.subscribeCaipNetworkChange(c=>{c!=null&&c.id&&this.handleChainChanged(c.id)});const s=e.getAddress("eip155");return{chainId:e.getChainId()||this.desiredChainId,account:s||null,provider:this.provider}});d(this,"getProvider",async()=>{if(!this.provider)throw new Error("Provider is undefined");return this.provider});d(this,"getChainId",async()=>this.requireAppKit().getChainId()??this.desiredChainId);d(this,"getAccount",async()=>this.requireAppKit().getAddress("eip155")??null);d(this,"getWalletName",()=>{var e,t,r;return(r=(t=(e=this.appKit)==null?void 0:e.getWalletInfo)==null?void 0:t.call(e,"eip155"))==null?void 0:r.name});d(this,"deactivate",()=>{});d(this,"clearInstance",()=>{var t,r;const e=this.provider;if(e){this.provider=void 0;try{(t=this.accountUnsubscribe)==null||t.call(this),(r=this.networkUnsubscribe)==null||r.call(this)}catch(o){console.warn("Error unsubscribing from AppKit events:",o)}return this.accountUnsubscribe=void 0,this.networkUnsubscribe=void 0,e}});d(this,"close",async()=>{var t;if(this.clearInstance()){try{await((t=this.appKit)==null?void 0:t.disconnect())}catch(r){console.warn("Error during WalletConnect disconnect:",r)}this.appKit=void 0}});d(this,"handleAccountsChanged",e=>{this.emitUpdate({account:e[0]})});d(this,"handleChainChanged",e=>{this.emitUpdate({chainId:e})});d(this,"handleDisconnect",()=>{this.clearInstance(),this.emitDeactivate()});this.desiredChainId=e}requireAppKit(){if(!this.appKit)throw new Error("AppKit is not initialized");return this.appKit}static isStaleSessionError(e){if(e instanceof Error){const t=e.message.toLowerCase();return t.includes("no matching key")||t.includes("session topic doesn't exist")||t.includes("missing or invalid")||t.includes("expired")||t.includes("user rejected methods")||t.includes("is not configured")||t.includes("cannot read properties")||t.includes("undefined is not an object")}return!1}async getNetworks(){const e=w.configuration.chains,t=await m(()=>import("./networks-k-5FUkuC.js"),__vite__mapDeps([31,19,5,1,32,33,26,14,3,4,12,15,34,35,30])),r=e.map(s=>{const a=be[s];if(a)return t[a]}).filter(s=>s!==void 0);if(r.length===0)throw new Error("No supported networks found for WalletConnect");const o=r.find(s=>s.id===this.desiredChainId);if(o){const s=r.filter(a=>a.id!==this.desiredChainId);return[o,...s]}return[r[0],...r.slice(1)]}};d(w,"configuration",I()[g.ProviderType.WALLET_CONNECT_V2]),d(w,"clearStorage",(e=new Z)=>{e.removeRegExp(new RegExp("^wc@2:")),e.removeRegExp(new RegExp("^@appkit")),w.sharedAppKit=null}),d(w,"sharedAppKit",null);let _=w;class H extends E{constructor(e,t=!1){super({supportedChainIds:I()[g.ProviderType.MAGIC].chains});d(this,"isTest");d(this,"chainId");d(this,"account");d(this,"magic");d(this,"activate",async()=>{if(this.magic=await this.buildMagicInstance(this.chainId),!await this.magic.user.isLoggedIn())throw new Error("Magic: user isn't logged in");const t=await this.getProvider(),r=await t.request({method:"eth_accounts"});return this.account=r[0]??null,{provider:t,chainId:this.chainId,account:this.account}});d(this,"getProvider",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");const e=await this.magic.wallet.getProvider();return{...e,isMagic:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var s,a,c;if(((s=o[0])==null?void 0:s.method)==="wallet_switchEthereumChain")try{const u=parseInt((c=(a=o[0])==null?void 0:a.params[0])==null?void 0:c.chainId,16);return this.supportedChainIds&&!this.supportedChainIds.includes(u)?{code:2020202,message:"Unsupported Magic ChainId"}:(this.magic=await this.buildMagicInstance(u),this.emitUpdate({chainId:u}),null)}catch{return{code:2020201,message:"Error changing the Magic ChainId"}}return t.bind(e)(...o)}}),sendAsync:new Proxy(e.send,{apply:async(t,r,o)=>t.bind(e)(...o)})}});d(this,"getChainId",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.chainId});d(this,"getAccount",async()=>{if(!this.magic)throw new Error("Magic: instance was not initialized");return this.account});d(this,"getEmail",async()=>{try{if(!this.magic||!await this.magic.user.isLoggedIn())return;const t=await this.magic.user.getInfo();return(t==null?void 0:t.email)??void 0}catch{return}});d(this,"deactivate",()=>{});d(this,"buildMagicInstance",async e=>{const{Magic:t}=await m(async()=>{const{Magic:a}=await import("./index-Lm6gRDgk.js");return{Magic:a}},__vite__mapDeps([36,5,1,37])),{OAuthExtension:r}=await m(async()=>{const{OAuthExtension:a}=await import("./index-Du3ibQ0n.js");return{OAuthExtension:a}},__vite__mapDeps([38,37,5,1,39,7,8,4,10,3])),o=I()[this.isTest?g.ProviderType.MAGIC_TEST:g.ProviderType.MAGIC],s=o.urls[e];if(!s)throw new Error(`Unsupported chainId for Magic: ${e}. Supported chains: ${Object.keys(o.urls).join(", ")}`);return new t(o.apiKey,{extensions:[new r],network:{rpcUrl:s,chainId:e}})});this.isTest=t,this.chainId=e,this.account=null}close(){if(!this.magic)throw new Error("Magic: instance was not initialized");return this.magic.user.logout()}}class ee extends H{constructor(n){super(n,!0)}}class te extends E{constructor(e){var t;super({supportedChainIds:((t=I().thirdweb)==null?void 0:t.chains)??[h.ChainId.ETHEREUM_MAINNET,h.ChainId.ETHEREUM_SEPOLIA]});d(this,"chainId");d(this,"client");d(this,"wallet");d(this,"chain");d(this,"eip1193Provider");d(this,"activate",async()=>{const e=await this.getClient(),t=await this.getWallet();let r;try{r=await t.autoConnect({client:e})}catch{throw new Error("Thirdweb: No active session. User must authenticate first.")}if(!r)throw new Error("Thirdweb: No active session. User must authenticate first.");const o=await this.getChain(),{EIP1193:s}=await m(async()=>{const{EIP1193:u}=await import("./wallets-B1ZJrwjj.js").then(f=>f.Q);return{EIP1193:u}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=s.toProvider({wallet:t,chain:o,client:e}),{provider:await this.getProvider(),chainId:this.chainId,account:r.address}});d(this,"getProvider",async()=>{if(!this.eip1193Provider)throw new Error("Thirdweb: wallet is not connected. Call activate() first.");const e=this.eip1193Provider;return{...e,isDapper:!1,isFortmatic:!1,isMetamask:!1,isMagic:!1,isThirdweb:!0,request:new Proxy(e.request,{apply:async(t,r,o)=>{var a,c,u,f;if(((a=o[0])==null?void 0:a.method)==="wallet_switchEthereumChain"){const p=(f=(u=(c=o[0])==null?void 0:c.params)==null?void 0:u[0])==null?void 0:f.chainId,v=parseInt(p,16);if(this.supportedChainIds&&!this.supportedChainIds.includes(v))throw new Error("Thirdweb: unsupported chain");this.chainId=v,this.chain=null,this.eip1193Provider=null;const T=await this.getClient(),ne=await this.getWallet(),ie=await this.getChain(),{EIP1193:oe}=await m(async()=>{const{EIP1193:ae}=await import("./wallets-B1ZJrwjj.js").then(se=>se.Q);return{EIP1193:ae}},__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]));return this.eip1193Provider=oe.toProvider({wallet:ne,chain:ie,client:T}),this.emitUpdate({chainId:v}),null}return Reflect.apply(t,e,o)}}),sendAsync:new Proxy(e.request,{apply:async(t,r,o)=>Reflect.apply(t,e,o)})}});d(this,"getChainId",async()=>this.chainId);d(this,"getAccount",async()=>{if(!this.wallet)return null;try{const e=this.wallet.getAccount();return(e==null?void 0:e.address)??null}catch{return null}});d(this,"getEmail",async()=>{try{const e=await this.getClient(),{getUserEmail:t}=await m(async()=>{const{getUserEmail:o}=await import("./in-app-CxjWjLLj.js");return{getUserEmail:o}},__vite__mapDeps([57,42,43,5,1,48,47,14,3,4,12,15,58,59]));return await t({client:e})??void 0}catch{return}});d(this,"deactivate",()=>{});this.chainId=e,this.client=null,this.wallet=null,this.chain=null,this.eip1193Provider=null}async getClient(){if(this.client)return this.client;let e;try{e=await m(()=>import("./thirdweb-DI7ZaNzU.js").then(r=>r.t),__vite__mapDeps([60,43,5,1,42,41,14,3,4,12,15,44,45,46,61,62,63,64,65,66,55,67,68,69,70,54]))}catch{throw new Error("Thirdweb: thirdweb package is not installed.")}const t=I().thirdweb;return this.client=e.createThirdwebClient({clientId:t.clientId}),this.client}async getWallet(){if(this.wallet)return this.wallet;let e;try{e=await m(()=>import("./wallets-B1ZJrwjj.js").then(t=>t.Q),__vite__mapDeps([40,41,42,43,5,1,14,3,4,12,15,44,45,46,47,48,49,50,51,52,28,53,54,55,20,17,21,56,22]))}catch{throw new Error("Thirdweb: thirdweb package is not installed. Run: npm install thirdweb")}return this.wallet=e.inAppWallet(),this.wallet}async getChain(){if(this.chain)return this.chain;const e=await m(()=>import("./chains-CSz4uaiN.js"),__vite__mapDeps([71,43,5,1,69,51]));return this.chain=e.defineChain(this.chainId),this.chain}async close(){this.wallet&&await this.wallet.disconnect(),this.wallet=null,this.chain=null,this.eip1193Provider=null}}class M{constructor(n){d(this,"provider");d(this,"id",0);d(this,"on",(n,e)=>this.provider.on(n,e));d(this,"emit",(n,...e)=>this.provider.emit(n,e));d(this,"removeListener",(n,e)=>this.provider.removeListener(n,e));d(this,"request",async({method:n,params:e})=>this.isModernProvider()?this.provider.request({method:n,params:e}):this.send(n,e));d(this,"sendAsync",async(n,e)=>this.hasSendAsync()?this.provider.sendAsync(n,(t,r)=>{r&&!Object.prototype.hasOwnProperty.call(r,"result")?e(t,{id:0,jsonrpc:"2.0",result:r}):e(t,r)}):this.send(n,e));this.provider=n}static adapt(n){const e=new M(n);return{...n,on:e.on,emit:e.emit,removeListener:e.removeListener,request:e.request,sendAsync:e.sendAsync,send:e.send.bind(e)}}async send(n,e){let t,r,o;const s=typeof e=="function";if(s){const a=n;r=a.params||[],t=a.method,o=e}else t=n,r=e||[],o=(a,c)=>{if(a)throw a;return c};if(this.isModernProvider()){const[a,c]=await this.provider.request({method:t,params:r}).then(f=>[null,f]).catch(f=>[f,void 0]);return o(a,s?{id:"",jsonrpc:"2.0",result:c}:c)}else{this.patchOldMobile();const[a,c]=s?await new Promise(u=>this.provider.send(n,(f,p)=>{u([f,p])})):await new Promise(u=>this.provider.send({jsonrpc:"2.0",id:++this.id,method:t,params:r},(f,p)=>{const v=p;u([(v==null?void 0:v.error)??f,(v==null?void 0:v.result)??p])}));return o(a,c)}}isModernProvider(){return"request"in this.provider&&typeof this.provider.request=="function"}hasSendAsync(){return typeof this.provider.sendAsync=="function"}patchOldMobile(){this.provider&&!this.provider.isDapper&&!this.provider.isFortmatic&&!this.provider.isMetamask&&this.hasSendAsync()&&this.provider.send!==this.provider.sendAsync&&(this.provider.send=this.provider.sendAsync.bind(this.provider))}}class re{constructor(n){d(this,"storage");d(this,"connector");d(this,"promiseOfConnection");d(this,"getWalletName",()=>{if(this.connector instanceof _)return this.connector.getWalletName()});d(this,"clearConnectionData",()=>{const{storageKey:n}=I();this.storage.remove(n),_.clearStorage(this.storage)});d(this,"handleWeb3ReactDeactivate",async()=>{try{await this.disconnect()}catch(n){console.error(n)}});this.storage=n}async connect(n,e=h.ChainId.ETHEREUM_MAINNET){if(this.connector)try{await this.disconnect()}catch(a){console.error("Error disconnecting previous connection",a)}const t=this.buildConnector(n,e);t.on(C.Deactivate,this.handleWeb3ReactDeactivate);let{provider:r,account:o}={};try{const a=await t.activate();r=a.provider,o=a.account}catch(a){throw console.error("Error activating the connector",a),a}(n===l.ProviderType.MAGIC||n===l.ProviderType.MAGIC_TEST||n===l.ProviderType.THIRDWEB)&&t.on(C.Update,({chainId:a})=>{a&&this.setConnectionData(n,a)});let s=e;if(n===l.ProviderType.INJECTED){const a=await r.request({method:"eth_chainId"});s=a?parseInt(a,16):s}return this.connector=t,this.setConnectionData(n,s),{provider:M.adapt(r),providerType:n,account:o||"",chainId:s}}isConnected(){return!!this.connector&&!!this.getConnectionData()}async tryPreviousConnection(){const n=this.getConnectionData();if(!n)throw new Error("Could not find a valid provider. Make sure to call the `connect` method first");if(this.connector){const[t,r]=await Promise.all([this.connector.getProvider(),this.connector.getAccount()]);return{provider:t,providerType:n.providerType,chainId:n.chainId,account:r||""}}let e;try{e=this.promiseOfConnection?await this.promiseOfConnection:await(this.promiseOfConnection=this.connect(n.providerType,n.chainId))}finally{this.promiseOfConnection=void 0}return{...e,chainId:this.getConnectionData().chainId}}getAvailableProviders(){const n=[l.ProviderType.FORTMATIC,l.ProviderType.WALLET_CONNECT,l.ProviderType.WALLET_LINK];return typeof window<"u"&&window.ethereum!==void 0?n.unshift(l.ProviderType.INJECTED):n.unshift(l.ProviderType.METAMASK_MOBILE),n}async disconnect(){this.connector&&(this.connector.removeAllListeners(C.Deactivate),this.connector.removeAllListeners(C.Update),this.connector.deactivate(),this.isClosableConnector()&&await this.connector.close()),this.clearConnectionData(),this.connector=void 0}async getProvider(){if(!this.connector)throw new Error("No valid connector found. Please .connect() first");return this.connector.getProvider()}async getEmail(){const n=this.connector;if(n!=null&&n.getEmail)try{return await n.getEmail()}catch{return}}async createProvider(n,e=h.ChainId.ETHEREUM_MAINNET){const r=await this.buildConnector(n,e).getProvider();return M.adapt(r)}buildConnector(n,e){switch(n){case l.ProviderType.INJECTED:return new J(e);case l.ProviderType.FORTMATIC:return new z(e);case l.ProviderType.MAGIC:return new H(e);case l.ProviderType.MAGIC_TEST:return new ee(e);case l.ProviderType.WALLET_LINK:return new X(e);case l.ProviderType.NETWORK:return new Q(e);case l.ProviderType.WALLET_CONNECT_V2:return new _(e);case l.ProviderType.THIRDWEB:return new te(e);default:throw new Error(`Invalid provider ${n}`)}}getConnectionData(){const{storageKey:n}=I(),e=this.storage.get(n);try{return e?JSON.parse(e):void 0}catch(t){console.error("Error parsing connection data",t);return}}storeConnectionData(n,e){this.setConnectionData(n,e)}setConnectionData(n,e){const{storageKey:t}=I(),r=JSON.stringify({providerType:n,chainId:e});this.storage.set(t,r)}isClosableConnector(){return this.connector&&"close"in this.connector}}const Oe=new re(new Z),De=Object.freeze(Object.defineProperty({__proto__:null,AbstractConnector:E,ConnectionManager:re,ErrorUnlockingWallet:G,FortmaticConnector:z,InjectedConnector:J,MagicConnector:H,MagicTestConnector:ee,NetworkConnector:Q,ProviderAdapter:M,ThirdwebConnector:te,WalletConnectV2Connector:_,WalletLinkConnector:X,connection:Oe,getConfiguration:I,getRpcUrls:A},Symbol.toStringTag,{value:"Module"}));export{je as N,Oe as c,$ as e,De as i};
3
+ //# sourceMappingURL=index-DSUMm5bM.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-C7I-HYAi.js";import{c as p}from"./index-CMGA6Ehu.js";import{d as g,r as b,e as m}from"./index-B0eaBbwk.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]="0bf5a253-e096-4686-8e80-74fcb2ad1a59",o._sentryDebugIdIdentifier="sentry-dbid-0bf5a253-e096-4686-8e80-74fcb2ad1a59")}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-C7I-HYAi.js";import{c as p}from"./index-CI-biK0J.js";import{d as g,r as b,e as m}from"./index-AKVaFU6R.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]="0bf5a253-e096-4686-8e80-74fcb2ad1a59",o._sentryDebugIdIdentifier="sentry-dbid-0bf5a253-e096-4686-8e80-74fcb2ad1a59")}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-CzONDXJm.js.map
86
+ //# sourceMappingURL=index-DSo-HA-Q.js.map
@@ -1,2 +1,2 @@
1
- import{c as s}from"./parseSignature-BkGllSKb.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-BkGllSKb.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-DP7Ww2Mp.js";import{h as n}from"./W3MFrameProviderSingleton-ByxVGL9W.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-ByxVGL9W.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-Cp-gtHa0.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-3Tc8O82f.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-BXTiCI6R.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-CSeZ4gRB.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-BQaVTqUi.js";import{d as c}from"./verifyHash-Bk-B5GPz.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-Bk-B5GPz.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-BN5Z150K.js";import"./secp256k1-B6GZ7kat.js";import"./dcl-schemas-n1W5glLl.js";import"./react-DaBuTM6Q.js";import"./index-u3wacysv.js";import"./sentry-ilLelGl_.js";import"./index-CqA25hIa.js";import"./events-C-1hKiSc.js";import"./index-DzQkIbqv.js";import"./ethers-OrSZ5jmz.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-BVvT8_Fp.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
2
- //# sourceMappingURL=index-DsKy4xQX.js.map
1
+ import{c as s}from"./parseSignature-C8wluzrl.js";import{B as A,E as I,a as S,b as F,F as R,W as x,d as C,e as B,f as N,g as D,p as P,l as w,n as U,p as L,h as M,s as H,z as k}from"./parseSignature-C8wluzrl.js";import{I as q,c as V,a as O,p as G,w as j}from"./custom-C1-1hU-n.js";import{h as n}from"./W3MFrameProviderSingleton-B6rhAVVy.js";import{U as _,c as K,f as Z,s as J,w as Q,a as X}from"./W3MFrameProviderSingleton-B6rhAVVy.js";import{A as $,a as aa,B as ra,b as oa,C as ea,D as sa,E as ta,F as na,c as ia,H as ca,I as da,d as Ea,e as ua,f as pa,g as la,h as ma,i as ba,j as ga,k as Ta,l as fa,J as ha,L as ya,M as va,m as Aa,N as Ia,n as Sa,o as Fa,P as Ra,p as xa,q as Ca,R as Ba,r as Na,s as Da,t as Pa,u as wa,S as Ua,v as La,w as Ma,x as Ha,T as ka,y as za,z as qa,G as Va,U as Oa,K as Ga,O as ja,Q as Wa,V as _a,W as Ka,X as Za,Y as Ja,Z as Qa,_ as Xa,$ as Ya,a0 as $a,a1 as ar,a2 as rr,a3 as or,a4 as er,a5 as sr,a6 as tr,a7 as nr,a8 as ir,a9 as cr,aa as dr,ab as Er,ac as ur,ad as pr,ae as lr,af as mr,ag as br,ah as gr,ai as Tr,aj as fr,ak as hr,al as yr,am as vr,an as Ar,ao as Ir,ap as Sr,a1 as Fr}from"./NetworkUtil-D5060_28.js";import{A as xr,a as Cr,b as Br,c as Nr,d as Dr,e as Pr,f as wr,g as Ur,h as Lr,i as Mr,j as Hr,k as kr,l as zr,m as qr,n as Vr,o as Or,p as Gr,B as jr,q as Wr,r as _r,C as Kr,s as Zr,t as Jr,u as Qr,v as Xr,w as Yr,x as $r,y as ao,z as ro,D as oo,E as eo,F as so,G as to,H as no,I as io,J as co,K as Eo,L as uo,M as po,N as lo,O as mo,P as bo,Q as go,R as To,S as fo,T as ho,U as yo,V as vo,W as Ao,X as Io,Y as So,Z as Fo,_ as Ro,$ as xo,a0 as Co,a1 as Bo,a2 as No,a3 as Do,a4 as Po,a5 as wo,a6 as Uo,a7 as Lo,a8 as Mo,a9 as Ho,aa as ko,ab as zo,ac as qo,ad as Vo,ae as Oo,af as Go,ag as jo,ah as Wo,ai as _o,aj as Ko,ak as Zo,al as Jo,am as Qo,an as Xo,ao as Yo,ap as $o,aq as ae,ar as re,as as oe,at as ee,au as se,av as te,aw as ne,ax as ie,ay as ce,az as de,aA as Ee,aB as ue,aC as pe,aD as le,aE as me,aF as be,aG as ge,aH as Te,aI as fe,aJ as he,aK as ye,aL as ve,aM as Ae,aN as Ie,aM as Se,aO as Fe,aP as Re,aQ as xe,aR as Ce,aS as Be,aT as Ne,aU as De,aV as Pe,aW as we,aX as Ue,aY as Le,aZ as Me,a_ as He,a$ as ke,b0 as ze,b1 as qe,b2 as Ve,b3 as Oe,b4 as Ge,aL as je,aM as We,b4 as _e,aN as Ke,aM as Ze,b5 as Je,b6 as Qe,aA as Xe}from"./sendRawTransaction-Dj_4qH3D.js";import{I as $e,a as as,b as rs,g as os,h as es,c as ss,d as ts,e as ns,p as is,t as cs,v as ds}from"./hashTypedData-CHOe753o.js";import{d as us,e as ps,a as ls}from"./localBatchGatewayRequest-DwX7OXdU.js";import{ccipRequest as bs,ccipRequest as gs,offchainLookup as Ts,offchainLookupAbiItem as fs,offchainLookupSignature as hs}from"./ccip-WSZ1SOI1.js";import{d as c}from"./verifyHash-CUVRY0V6.js";import{e as vs,p as As,a as Is,s as Ss,s as Fs}from"./verifyHash-CUVRY0V6.js";import{a as xs,b as Cs,c as Bs,s as Ns,d as Ds}from"./serializeTransaction-Ci108h6S.js";import"./secp256k1-CzYB4UO1.js";import"./dcl-schemas-DwpPH57a.js";import"./react-VV7ruaEe.js";import"./index-CnEhIH6s.js";import"./sentry-o0F_Elyr.js";import"./index-DSUMm5bM.js";import"./events-ChynmAya.js";import"./index-DBONtw7H.js";import"./ethers-1M1CfdDX.js";import"./intl-AKLEHPeO.js";import"./browser-ponyfill-rx4ABrHQ.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new a.Error().stack;r&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[r]="350eb5d4-f9d4-484a-ae91-67f310bfbf27",a._sentryDebugIdIdentifier="sentry-dbid-350eb5d4-f9d4-484a-ae91-67f310bfbf27")}catch{}})();export{xr as AbiConstructorNotFoundError,Cr as AbiConstructorParamsNotFoundError,Br as AbiDecodingDataSizeTooSmallError,Nr as AbiDecodingZeroDataError,Dr as AbiEncodingArrayLengthMismatchError,Pr as AbiEncodingBytesSizeMismatchError,wr as AbiEncodingLengthMismatchError,Ur as AbiErrorInputsNotFoundError,Lr as AbiErrorNotFoundError,Mr as AbiErrorSignatureNotFoundError,Hr as AbiEventNotFoundError,kr as AbiEventSignatureEmptyTopicsError,zr as AbiEventSignatureNotFoundError,qr as AbiFunctionNotFoundError,Vr as AbiFunctionOutputsNotFoundError,Or as AbiFunctionSignatureNotFoundError,Gr as AccountStateConflictError,$ as AtomicReadyWalletRejectedUpgradeError,aa as AtomicityNotSupportedError,ra as BaseError,jr as BaseFeeScalarError,Wr as BlockNotFoundError,A as BundleFailedError,oa as BundleTooLargeError,_r as BytesSizeMismatchError,Kr as CallExecutionError,ea as ChainDisconnectedError,Zr as ChainDoesNotSupportContract,Jr as ChainMismatchError,Qr as ChainNotFoundError,Xr as CircularReferenceError,Yr as ClientChainNotConfiguredError,$r as ContractFunctionExecutionError,ao as ContractFunctionRevertedError,ro as ContractFunctionZeroDataError,oo as CounterfactualDeploymentFailedError,eo as DecodeLogDataMismatch,so as DecodeLogTopicsMismatch,sa as DuplicateIdError,to as Eip1559FeesNotSupportedError,I as EnsAvatarInvalidNftUriError,S as EnsAvatarUnsupportedNamespaceError,F as EnsAvatarUriResolutionError,no as EstimateGasExecutionError,ta as ExecutionRevertedError,na as FeeCapTooHighError,ia as FeeCapTooLowError,R as FilterTypeNotSupportedError,ca as HttpRequestError,da as InsufficientFundsError,Ea as IntegerOutOfRangeError,ua as InternalRpcError,pa as IntrinsicGasTooHighError,la as IntrinsicGasTooLowError,io as InvalidAbiDecodingTypeError,co as InvalidAbiEncodingTypeError,Eo as InvalidAbiItemError,uo as InvalidAbiParametersError,po as InvalidAbiTypeParameterError,lo as InvalidAddressError,mo as InvalidArrayError,ma as InvalidBytesBooleanError,bo as InvalidChainIdError,q as InvalidDecimalNumberError,go as InvalidDefinitionTypeError,$e as InvalidDomainError,To as InvalidFunctionModifierError,ba as InvalidHexBooleanError,ga as InvalidInputRpcError,fo as InvalidLegacyVError,ho as InvalidModifierError,yo as InvalidParameterError,Ta as InvalidParamsRpcError,vo as InvalidParenthesisError,as as InvalidPrimaryTypeError,fa as InvalidRequestRpcError,Ao as InvalidSerializableTransactionError,Io as InvalidSignatureError,So as InvalidStorageKeySizeError,Fo as InvalidStructSignatureError,rs as InvalidStructTypeError,ha as JsonRpcVersionUnsupportedError,ya as LimitExceededRpcError,Ro as MaxFeePerGasTooLowError,va as MethodNotFoundRpcError,Aa as MethodNotSupportedRpcError,Ia as NonceMaxValueError,Sa as NonceTooHighError,Fa as NonceTooLowError,Ra as ParseRpcError,xa as ProviderDisconnectedError,Ca as ProviderRpcError,xo as RawContractError,Ba as ResourceNotFoundRpcError,Na as ResourceUnavailableRpcError,Da as ResponseBodyTooLargeError,Pa as RpcError,wa as RpcRequestError,Ua as SizeExceedsPaddingSizeError,La as SizeOverflowError,Ma as SliceOffsetOutOfBoundsError,Co as SolidityProtectedKeywordError,Bo as StateAssignmentConflictError,Ha as SwitchChainError,ka as TimeoutError,za as TipAboveFeeCapError,No as TransactionExecutionError,Do as TransactionNotFoundError,Po as TransactionReceiptNotFoundError,qa as TransactionRejectedRpcError,Va as TransactionTypeNotSupportedError,Oa as UnauthorizedProviderError,Ga as UnknownBundleIdError,ja as UnknownNodeError,Wa as UnknownRpcError,wo as UnknownSignatureError,Uo as UnknownTypeError,_a as UnsupportedChainIdError,Ka as UnsupportedNonOptionalCapabilityError,Lo as UnsupportedPackedAbiType,Za as UnsupportedProviderMethodError,_ as UrlRequiredError,Ja as UserRejectedRequestError,x as WaitForCallsStatusTimeoutError,Mo as WaitForTransactionReceiptTimeoutError,Ho as assertCurrentChain,ko as assertRequest,xs as assertTransactionEIP1559,Cs as assertTransactionEIP2930,Bs as assertTransactionLegacy,zo as blobsToCommitments,qo as blobsToProofs,Qa as boolToBytes,Xa as boolToHex,Vo as bytesToBigInt,Oo as bytesToBool,Ya as bytesToHex,Go as bytesToNumber,jo as bytesToString,bs as ccipFetch,gs as ccipRequest,Wo as checksumAddress,_o as commitmentToVersionedHash,Ko as commitmentsToVersionedHashes,Zo as concat,Jo as concatBytes,Qo as concatHex,V as createClient,C as createNonceManager,s as createPublicClient,K as createTransport,O as custom,Xo as decodeAbiParameters,Yo as decodeErrorResult,$o as decodeEventLog,us as decodeFunctionData,ae as decodeFunctionResult,re as defineBlock,c as defineChain,oe as defineTransaction,ee as defineTransactionReceipt,se as defineTransactionRequest,te as deploylessCallViaBytecodeBytecode,ne as deploylessCallViaFactoryBytecode,ie as encodeAbiParameters,ce as encodeDeployData,ps as encodeErrorResult,B as encodeEventTopics,de as encodeFunctionData,ls as encodeFunctionResult,N as encodePacked,$a as erc20Abi,ar as erc6492SignatureValidatorAbi,Ee as erc6492SignatureValidatorByteCode,D as ethAddress,rr as etherUnits,vs as extendSchema,Z as fallback,ue as formatBlock,pe as formatEther,or as formatGwei,le as formatLog,me as formatTransaction,be as formatTransactionReceipt,ge as formatTransactionRequest,er as formatUnits,sr as fromHex,Te as getAbiItem,fe as getAddress,he as getChainContractAddress,ye as getContractError,ve as getEventSelector,Ae as getEventSignature,Ie as getFunctionSelector,Se as getFunctionSignature,Fe as getTransactionType,os as getTypesForEIP712Domain,tr as gweiUnits,es as hashDomain,ss as hashMessage,ts as hashStruct,ns as hashTypedData,nr as hexToBigInt,ir as hexToBool,cr as hexToBytes,dr as hexToNumber,P as hexToSignature,Er as hexToString,n as http,Re as isAddress,xe as isAddressEqual,ur as isHex,Ce as keccak256,w as labelhash,Be as maxUint16,Ne as maxUint256,pr as multicall3Abi,U as namehash,lr as numberToBytes,mr as numberToHex,Ts as offchainLookup,fs as offchainLookupAbiItem,hs as offchainLookupSignature,br as pad,gr as padBytes,Tr as padHex,De as parseAbi,As as parseAbiItem,Is as parseAbiParameters,Pe as parseEventLogs,L as parseSignature,G as parseUnits,we as prepareEncodeFunctionData,is as presignMessagePrefix,M as publicActions,Ue as recoverAddress,Le as recoverPublicKey,Me as rpcTransactionType,Ns as serializeAccessList,H as serializeErc6492Signature,Ss as serializeSignature,Ds as serializeTransaction,He as sha256,J as shouldThrow,Fs as signatureToHex,fr as size,ke as slice,ze as sliceBytes,qe as sliceHex,hr as stringToBytes,yr as stringToHex,vr as stringify,Ve as toBlobSidecars,Oe as toBlobs,Ar as toBytes,Ge as toEventHash,je as toEventSelector,We as toEventSignature,_e as toFunctionHash,Ke as toFunctionSelector,Ze as toFunctionSignature,Ir as toHex,cs as toPrefixedMessage,Je as toRlp,Qe as transactionType,Sr as trim,Fr as universalSignatureValidatorAbi,Xe as universalSignatureValidatorByteCode,ds as validateTypedData,j as withCache,Q as withRetry,X as withTimeout,k as zeroAddress};
2
+ //# sourceMappingURL=index-DT0ol44j.js.map