@dcl/shop 1.0.1 → 1.0.2-31053112537.commit-2eeb02b

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 (175) hide show
  1. package/_assets/{Activity-CYc4haGG.js → Activity-CT4EXTT1.js} +3 -3
  2. package/_assets/{AnimatedBackground-DEshz0c2.js → AnimatedBackground-wyzu1j63.js} +2 -2
  3. package/_assets/{Assets-D5sxwFuc.js → Assets-DFjWkvAj.js} +2 -2
  4. package/_assets/{Assets.styles-c5XuGAG4.js → Assets.styles-De3LV6PK.js} +1 -1
  5. package/_assets/{Authorizations-m488Gyk0.js → Authorizations-Erxm3Fyz.js} +1 -1
  6. package/_assets/Cart-DJkaXf-4.js +706 -0
  7. package/_assets/{CircularProgress-CB7Frwx7.js → CircularProgress-CdQvdQq6.js} +1 -1
  8. package/_assets/{Collection-CS-PKjRf.js → Collection-CJV4xLye.js} +1 -1
  9. package/_assets/{CollectionCarousel-DhrBSU2o.js → CollectionCarousel-CvMsq3XH.js} +2 -2
  10. package/_assets/{Confetti-z9mEz7Mo.js → Confetti-BH2iBIUi.js} +1 -1
  11. package/_assets/{Creator-BMYJiMCB.js → Creator-Cyy5FpL2.js} +1 -1
  12. package/_assets/{ErrorNotice-BG4CBNkl.js → ErrorNotice-h0GUcJEu.js} +1 -1
  13. package/_assets/{ExchangeController-CLyfn8FH.js → ExchangeController-B3cP_vUc.js} +1 -1
  14. package/_assets/{Faq-D7gV7iYA.js → Faq-CKehqHI0.js} +1 -1
  15. package/_assets/{GetCredits-CL7K_M9H.js → GetCredits-DdkULwKp.js} +1 -1
  16. package/_assets/{Grow-Ccwk3GHr.js → Grow-BV4Iorxj.js} +1 -1
  17. package/_assets/{HelpersUtil-tyC-vTbQ.js → HelpersUtil-CU-9vHU7.js} +1 -1
  18. package/_assets/{ItemDetail-DwY7HKZL.js → ItemDetail-BAqZB6Be.js} +1 -1
  19. package/_assets/LazyEmoteControls-Dsz7X5iX.js +2 -0
  20. package/_assets/{LoadMore-BLHzgyNQ.js → LoadMore-D4fnHonl.js} +1 -1
  21. package/_assets/{ManaPricingBanner.styles-G4jy5obg.js → ManaPricingBanner.styles-YVCL83wQ.js} +1 -1
  22. package/_assets/{MyAssets-BpBrCfKj.js → MyAssets-DeZdrOao.js} +1 -1
  23. package/_assets/{MyFavorites-eakG4vL0.js → MyFavorites-Jhmw64Z-.js} +1 -1
  24. package/_assets/{NotFound-By_5zIVf.js → NotFound-BV0gWDmk.js} +1 -1
  25. package/_assets/{NotificationsBell-DVM7TZeA.js → NotificationsBell-CbzYe18m.js} +1 -1
  26. package/_assets/{OutfitDetail-CKImDsVr.js → OutfitDetail-mnH36Arv.js} +1 -1
  27. package/_assets/{OutfitPreview-BDsx1Zln.js → OutfitPreview-DEQlnmtN.js} +1 -1
  28. package/_assets/{OutfitStudio-BNP0n5pI.js → OutfitStudio-DlMQxDuE.js} +1 -1
  29. package/_assets/{StoreSettings-CMOSmEWV.js → StoreSettings-DXQD9Iiv.js} +1 -1
  30. package/_assets/{Success-DKTCAGfP.js → Success-Duo1gCiQ.js} +1 -1
  31. package/_assets/{SwapController-B6jVCCgh.js → SwapController-CJtBte7L.js} +1 -1
  32. package/_assets/{Tooltip-CnjWof_H.js → Tooltip-H89dNdoQ.js} +1 -1
  33. package/_assets/{TradeService-DqBS7JER.js → TradeService-BcEoCIV7.js} +1 -1
  34. package/_assets/{W3MFrameProviderSingleton-BNh7T9LS.js → W3MFrameProviderSingleton-CZuJfgAC.js} +3 -3
  35. package/_assets/{WebCryptoP256-DVUZQ3fN.js → WebCryptoP256-BQ90tDtY.js} +1 -1
  36. package/_assets/{authorizations-CE0HtqU4.js → authorizations-GLPsQqiP.js} +1 -1
  37. package/_assets/{basic-sWTPOMIW.js → basic-kk_TRFwe.js} +1 -1
  38. package/_assets/{biconomy-Gn8OlgoU.js → biconomy-D-XcBmzY.js} +1 -1
  39. package/_assets/{builder-DeMyTCI7.js → builder-Dn0-qNG1.js} +1 -1
  40. package/_assets/{buy-BF3MKHeK.js → buy-C36PZNHt.js} +1 -1
  41. package/_assets/{buy-gasless-C6Uiz2ft.js → buy-gasless-cVGUwJcn.js} +1 -1
  42. package/_assets/{categories-e7ryjlpc.js → categories-l2OqZN_F.js} +42 -33
  43. package/_assets/{ccip-C8QxGeVJ.js → ccip-BkPpUcVC.js} +1 -1
  44. package/_assets/{ccip-BGow4NM2.js → ccip-DTvzkPzd.js} +1 -1
  45. package/_assets/{collectionPage.styles-DGJTp7Uw.js → collectionPage.styles-BP7gMOku.js} +5 -5
  46. package/_assets/{controller-Ct0gOkSO.js → controller-Cm3hwM7G.js} +2 -2
  47. package/_assets/{core-BPejI2Uv.js → core-DtQ_ZTXW.js} +4 -4
  48. package/_assets/{createSvgIcon-CfV25Qvu.js → createSvgIcon-DTfKYyFY.js} +1 -1
  49. package/_assets/{custom-CtkIvR1q.js → custom-dDX_uBau.js} +1 -1
  50. package/_assets/{data-capture-ChzQjncq.js → data-capture-BHgEiKBs.js} +1 -1
  51. package/_assets/{email-DTmn4SUk.js → email-D-4NGs1z.js} +1 -1
  52. package/_assets/{embedded-wallet-zOEVMj8r.js → embedded-wallet-BQg7nplX.js} +1 -1
  53. package/_assets/{emotion-styled.browser.esm-ftlGzXhy.js → emotion-styled.browser.esm-DKFf4xqI.js} +1 -1
  54. package/_assets/{engine-C84VS8MU.js → engine-9w9_00su.js} +1 -1
  55. package/_assets/{errors-jURSB57c.js → errors-DAy3n3Fl.js} +1 -1
  56. package/_assets/{estimate-l1-fee-BK9aiTEg.js → estimate-l1-fee-CMUFNeJj.js} +1 -1
  57. package/_assets/{execute-BJdfX8go.js → execute-DmyMuEbq.js} +2 -2
  58. package/_assets/{features-CEPVrrJh.js → features-dYRaytuv.js} +1 -1
  59. package/_assets/{fetchTokenMetadata-Cg8LhGF6.js → fetchTokenMetadata-B7vrevS4.js} +2 -2
  60. package/_assets/{field.styles-BO_2AHCA.js → field.styles-DxW4rsbZ.js} +1 -1
  61. package/_assets/{get-ecosystem-wallet-info-DN7GFeAM.js → get-ecosystem-wallet-info-D-zi5D-3.js} +1 -1
  62. package/_assets/{getBalance-CCluSQca.js → getBalance-03ROSZOz.js} +1 -1
  63. package/_assets/{getNFT-B3tNxOax.js → getNFT-BZ5HS1py.js} +1 -1
  64. package/_assets/{getNFT-C7PC0iJF.js → getNFT-CGrmS4cn.js} +1 -1
  65. package/_assets/{grid.styles-DRngdZfp.js → grid.styles-VdW_5pS8.js} +1 -1
  66. package/_assets/{hashTypedData-ulq3qXHW.js → hashTypedData-D0grmu7Q.js} +1 -1
  67. package/_assets/{hashTypedData-BPxQrISG.js → hashTypedData-DWrpUT7F.js} +1 -1
  68. package/_assets/{in-app-C_sI0Q7l.js → in-app-Fd-r2Pt9.js} +1 -1
  69. package/_assets/{in-app-wallet-calls-ozqkkU0m.js → in-app-wallet-calls-US6STGvk.js} +1 -1
  70. package/_assets/{index-DmouEX3z.js → index-0ctogS4p.js} +1 -1
  71. package/_assets/{index-DmYn7FTm.js → index-3M7Oc88-.js} +1 -1
  72. package/_assets/{index-B4Sh4DUY.js → index-9wBxZvS3.js} +1 -1
  73. package/_assets/{index-D_qvzN-5.js → index-B4OCkrkj.js} +1 -1
  74. package/_assets/{index-C7gyW2pC.js → index-BGWFa_3t.js} +1 -1
  75. package/_assets/{index-DNUmp9qJ.js → index-BLhzIl8l.js} +2 -2
  76. package/_assets/{index-C6jWze3p.js → index-BOqWivx2.js} +1 -1
  77. package/_assets/{index-B4VWghxR.js → index-BXAhg_WL.js} +1 -1
  78. package/_assets/{index-B4ldzGrT.js → index-BfrU5ARr.js} +1 -1
  79. package/_assets/{index-BwpU8az-.js → index-Bw5aGSBt.js} +3 -3
  80. package/_assets/{index-C21U9leN.js → index-C6snVc74.js} +2 -2
  81. package/_assets/{index-B8hnFmS-.js → index-C9g5jnkn.js} +3 -3
  82. package/_assets/{index-BCqRbjcA.js → index-C9qZGyVn.js} +1 -1
  83. package/_assets/{index-BsAc5Nb_.js → index-CBa9KvFL.js} +1 -1
  84. package/_assets/{index-B2h0kzTR.js → index-CHrjSjdy.js} +30 -27
  85. package/_assets/{index-CFj3lX4u.js → index-CTFDcqvg.js} +1 -1
  86. package/_assets/{index-B-0HDufu.js → index-CUnVy-2F.js} +1 -1
  87. package/_assets/{index-DPJNY0Ni.js → index-CYelE7gc.js} +1 -1
  88. package/_assets/{index-DUeFbNWb.js → index-Cji3FYAQ.js} +1 -1
  89. package/_assets/{index-BZo86GEs.js → index-Ck66rPGl.js} +1 -1
  90. package/_assets/{index-BpBLqmY7.js → index-CpgH80QO.js} +307 -307
  91. package/_assets/{index-Ce2J3RrX.js → index-Csv3ZE7U.js} +1 -1
  92. package/_assets/{index-sAHvnz2N.js → index-CvEQ-uxw.js} +1 -1
  93. package/_assets/{index-2bLJt5nu.js → index-CzuJbwKM.js} +1 -1
  94. package/_assets/{index-B1yZmsbg.js → index-D-lui3ze.js} +1 -1
  95. package/_assets/{index-0wuiFD-D.js → index-D6hB217e.js} +1 -1
  96. package/_assets/{index-yJr5AHy6.js → index-D90sT5TF.js} +1 -1
  97. package/_assets/{index-C8N5dIBi.js → index-DCty_Nzt.js} +1 -1
  98. package/_assets/{index-DrdjzH9k.js → index-DGVpcWzu.js} +1 -1
  99. package/_assets/{index-DEpHjDox.js → index-DIEYvaFA.js} +1 -1
  100. package/_assets/{index-YX6Ay2YX.js → index-DM21W4eU.js} +1 -1
  101. package/_assets/{index-DisgA_Kp.js → index-DMqWpF7F.js} +1 -1
  102. package/_assets/{index-C1ABS6aZ.js → index-DR22dJ1f.js} +1 -1
  103. package/_assets/{index-BCbVNwA6.js → index-DXEO_tM8.js} +1 -1
  104. package/_assets/{index-B41s2t0I.js → index-DZE8IM2d.js} +1 -1
  105. package/_assets/{index-BqQA-htt.js → index-D_RGYDYj.js} +1 -1
  106. package/_assets/{index-BwT65Ui0.js → index-Dctqjcot.js} +1 -1
  107. package/_assets/{index-aOhbQl_e.js → index-Desa5DLU.js} +1 -1
  108. package/_assets/{index-js8gBwwu.js → index-DlOXAhkq.js} +1 -1
  109. package/_assets/{index-Bk3FocQt.js → index-DmohqnOc.js} +1 -1
  110. package/_assets/{index-D3CBiscc.js → index-DpfgsZS7.js} +2 -2
  111. package/_assets/{index-G_9AGT2d.js → index-E6MYA_qz.js} +1 -1
  112. package/_assets/{index-Ca2t9jnc.js → index-GGunchuI.js} +1 -1
  113. package/_assets/{index-BQAoWWgI.js → index-WGFd54XN.js} +1 -1
  114. package/_assets/{index-CPVal8wI.js → index-Y3vrFRTZ.js} +1 -1
  115. package/_assets/{index-BG93ruhj.js → index-YtrNc4_U.js} +1 -1
  116. package/_assets/{index-Bfbo1-y3.js → index-_VGZGU-r.js} +3 -3
  117. package/_assets/{index-BQbGdQCn.js → index-b59UUC3O.js} +1 -1
  118. package/_assets/{index-D7sH_woo.js → index-mHYk9Ana.js} +1 -1
  119. package/_assets/{index-BLtmHnvk.js → index-ojnKZ8lo.js} +1 -1
  120. package/_assets/{index-DPh8zvp5.js → index-prmd5qIM.js} +1 -1
  121. package/_assets/{index-Cutc7nXs.js → index-vO2jCoJA.js} +1 -1
  122. package/_assets/{index.es-CAm13D3S.js → index.es-CM-7pdUr.js} +1 -1
  123. package/_assets/{index.es-_sMtTPSc.js → index.es-C_PIRdls.js} +4 -4
  124. package/_assets/{index.es-nXwNgZDa.js → index.es-iNKw5JYV.js} +1 -1
  125. package/_assets/{localBatchGatewayRequest-DldZ90JU.js → localBatchGatewayRequest-CvrWva1S.js} +1 -1
  126. package/_assets/{networks-A_3lFdbQ.js → networks-DxxML95J.js} +1 -1
  127. package/_assets/{onramp-uIn5Hze6.js → onramp-DlmUl4wC.js} +1 -1
  128. package/_assets/{openzeppelin-K0lueS2f.js → openzeppelin-oRjzN4zB.js} +1 -1
  129. package/_assets/{parseNft-B8gQqMLe.js → parseNft-B1VtTOpw.js} +2 -2
  130. package/_assets/{parseSignature-eP7njmVY.js → parseSignature-CiDHU6Nz.js} +1 -1
  131. package/_assets/{parseSignature-DzYQN9v3.js → parseSignature-D_U2MhSK.js} +3 -3
  132. package/_assets/{passkeys-CdjlkSrV.js → passkeys-C4nRLQjw.js} +1 -1
  133. package/_assets/{pay-with-exchange-2kPfthhA.js → pay-with-exchange-DjjSaX9l.js} +1 -1
  134. package/_assets/{qr-overlay-lH0GRusa.js → qr-overlay-D6ySLpj4.js} +1 -1
  135. package/_assets/{receive-D9VTDtK7.js → receive-BmTDhzFh.js} +1 -1
  136. package/_assets/{resolveImplementation-BBpjC548.js → resolveImplementation-C8betaeH.js} +1 -1
  137. package/_assets/{rpc-QKrpJtdm.js → rpc-BIRrsCrS.js} +1 -1
  138. package/_assets/{secp256k1-CYkRl_Jj.js → secp256k1-BKrO94JQ.js} +1 -1
  139. package/_assets/{secp256k1-DhRlT0ib.js → secp256k1-BKzdJAUQ.js} +1 -1
  140. package/_assets/{secp256k1-BC1FlI33.js → secp256k1-ChWI25jO.js} +1 -1
  141. package/_assets/{send-BR0llNO1.js → send-DkppUNQD.js} +1 -1
  142. package/_assets/{send-batch-transaction-BCKT8nBl.js → send-batch-transaction-BT57-cdv.js} +1 -1
  143. package/_assets/{send-eip712-transaction-DJ0zmOUy.js → send-eip712-transaction-DzyYzWbO.js} +2 -2
  144. package/_assets/{send-gasless-transaction-BjdM8j2X.js → send-gasless-transaction-CEY__cC5.js} +2 -2
  145. package/_assets/{send-transaction-C8RVBMn9.js → send-transaction-BUcSoRKJ.js} +2 -2
  146. package/_assets/{sendMetaTransaction-CcYdCbY-.js → sendMetaTransaction-ZsFc6TYS.js} +1 -1
  147. package/_assets/{sendRawTransaction-daS8Cqba.js → sendRawTransaction-RwVbISDi.js} +3 -3
  148. package/_assets/{serializeTransaction-hW8PYHkl.js → serializeTransaction-D7Ih8-j7.js} +1 -1
  149. package/_assets/{session-proposal-CqH6oHj9.js → session-proposal-BDnKkUie.js} +1 -1
  150. package/_assets/{session-request-BWv_wt41.js → session-request-maNMGkDh.js} +2 -2
  151. package/_assets/{signing-BqfCVU3I.js → signing-O4ufWRe8.js} +3 -3
  152. package/_assets/{skeleton.styles-DagyoT5y.js → skeleton.styles-B5G3DoRu.js} +1 -1
  153. package/_assets/{socials-D4goIlBt.js → socials-DgrJfl24.js} +1 -1
  154. package/_assets/{styled-CoVCpn99.js → styled-CzuG2SF7.js} +1 -1
  155. package/_assets/{swaps-GJ4U9DHL.js → swaps-CEuJEeBK.js} +1 -1
  156. package/_assets/{thirdweb-F_-Px602.js → thirdweb-CWMxyfTR.js} +3 -3
  157. package/_assets/{to-serializable-transaction-BkPY6iHK.js → to-serializable-transaction-eILRk2uK.js} +2 -2
  158. package/_assets/{transactionReceipt-iJ97NYxd.js → transactionReceipt-YxHkhYmR.js} +1 -1
  159. package/_assets/{transactions-Cl8fRRc0.js → transactions-DFikge11.js} +1 -1
  160. package/_assets/{useCreditPacks-Dsfos9wm.js → useCreditPacks-CPiiIVbF.js} +1 -1
  161. package/_assets/{useImportable-Bn9l5AUn.js → useImportable-BhPYUErM.js} +1 -1
  162. package/_assets/{useInfiniteGrid-VPnx9W8Q.js → useInfiniteGrid-DmIgZTT1.js} +1 -1
  163. package/_assets/{useTheme-D2_ZQh6-.js → useTheme-DnWPXYyn.js} +1 -1
  164. package/_assets/{verifyHash-DlqrxU4F.js → verifyHash-BCo8j0IO.js} +1 -1
  165. package/_assets/{w3m-modal-DRnBD4CD.js → w3m-modal-D7JdGvOC.js} +1 -1
  166. package/_assets/{w3m-modal-BTAbPei6.js → w3m-modal-Dyp8brdF.js} +1 -1
  167. package/_assets/{wait-for-tx-receipt-CETDDyPM.js → wait-for-tx-receipt-ITlfousv.js} +1 -1
  168. package/_assets/{wallets-91m5q0QW.js → wallets-DoMl3uKp.js} +5 -5
  169. package/_assets/{web-connector-qXgR2Q4O.js → web-connector-uCJIkgMa.js} +3 -3
  170. package/_assets/{writeContract-IIDoxAya.js → writeContract-DMg_Cu_T.js} +1 -1
  171. package/_assets/{zoraTestnet-ev6ZVcwL.js → zoraTestnet-CzhulMA0.js} +1 -1
  172. package/index.html +11 -11
  173. package/package.json +2 -2
  174. package/_assets/Cart-Ctyse8xg.js +0 -707
  175. package/_assets/LazyEmoteControls-BNHGzPTO.js +0 -2
@@ -1,4 +1,4 @@
1
- import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s as t,w as pe,y as he,b as n,C as N,B,bZ as se,z as D,$ as ge,bc as O,F as U,R as xe,o as me,A as ue,bb as fe,I as K,ab as we,an as be,ae as ye,af as ve,b_ as je,E as G}from"./index-BpBLqmY7.js";import{c as ke,i as $e,R as Ce,u as Se}from"./useImportable-Bn9l5AUn.js";import{S as Le,C as Ie}from"./ManaPricingBanner.styles-G4jy5obg.js";import{F as H}from"./Faq-D7gV7iYA.js";import{C as V}from"./field.styles-BO_2AHCA.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./buy-BF3MKHeK.js";import"./authorizations-CE0HtqU4.js";import"./sendMetaTransaction-CcYdCbY-.js";function Te({size:a=12,...d}){return e.jsx("svg",{viewBox:"0 0 20 20",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...d,children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function ze({size:a=84.837,...d}){return e.jsxs("svg",{viewBox:"0 0 84.837 84.837",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...d,children:[e.jsxs("g",{stroke:A.colors.errStrong,strokeWidth:"6.08696",strokeLinecap:"round",children:[e.jsx("circle",{cx:"42.4185",cy:"42.4185",r:"39.375"}),e.jsx("path",{d:"M42.4185 22.5V47.5"})]}),e.jsx("circle",{cx:"42.4185",cy:"60.75",r:"3.8",fill:A.colors.errStrong})]})}const{colors:R,radius:Ae,z:Re}=A,Fe=pe`
1
+ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s as t,w as pe,y as he,b as n,C as N,B,bZ as se,z as D,$ as ge,bc as O,F as U,R as xe,o as me,A as ue,bb as fe,I as K,ab as we,an as be,ae as ye,af as ve,b_ as je,E as G}from"./index-CpgH80QO.js";import{c as ke,i as $e,R as Ce,u as Se}from"./useImportable-BhPYUErM.js";import{S as Le,C as Ie}from"./ManaPricingBanner.styles-YVCL83wQ.js";import{F as H}from"./Faq-CKehqHI0.js";import{C as V}from"./field.styles-DxW4rsbZ.js";import"./dcl-schemas-CmtP3U6y.js";import"./sentry-Dx-KuLV3.js";import"./ethers-BDpbhgX6.js";import"./intl-CBcMB1D2.js";import"./buy-C36PZNHt.js";import"./authorizations-GLPsQqiP.js";import"./sendMetaTransaction-ZsFc6TYS.js";function Te({size:a=12,...l}){return e.jsx("svg",{viewBox:"0 0 20 20",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...l,children:e.jsx("path",{d:"M5 10.5l3 3 7-7.5",stroke:"#fff",strokeWidth:"2.4",strokeLinecap:"round",strokeLinejoin:"round"})})}function ze({size:a=84.837,...l}){return e.jsxs("svg",{viewBox:"0 0 84.837 84.837",width:a,height:a,fill:"none","aria-hidden":!0,focusable:"false",...l,children:[e.jsxs("g",{stroke:A.colors.errStrong,strokeWidth:"6.08696",strokeLinecap:"round",children:[e.jsx("circle",{cx:"42.4185",cy:"42.4185",r:"39.375"}),e.jsx("path",{d:"M42.4185 22.5V47.5"})]}),e.jsx("circle",{cx:"42.4185",cy:"60.75",r:"3.8",fill:A.colors.errStrong})]})}const{colors:R,radius:Ae,z:Re}=A,Fe=pe`
2
2
  0% {
3
3
  transform: scale(0);
4
4
  opacity: 0;
@@ -78,14 +78,14 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
78
78
  font-weight: 700;
79
79
  font-size: 16px;
80
80
  margin: 2px 0 0;
81
- `;const{colors:b,gradients:Ee,radius:Me}=A,Pe=t(re)`
81
+ `;const{colors:w,gradients:Ee,radius:Me}=A,Pe=t(re)`
82
82
  width: min(460px, 94vw);
83
83
  text-align: left;
84
84
  align-items: stretch;
85
85
  `,Be=t.div`
86
86
  height: 6px;
87
87
  border-radius: 999px;
88
- background: ${b.line};
88
+ background: ${w.line};
89
89
  overflow: hidden;
90
90
  margin: 6px 0 14px;
91
91
  `,We=t.div`
@@ -117,7 +117,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
117
117
  transition: background 0.2s;
118
118
 
119
119
  &[data-status='active'] {
120
- background: ${b.rarityBg};
120
+ background: ${w.rarityBg};
121
121
  }
122
122
  &[data-status='done'] {
123
123
  opacity: 0.75;
@@ -131,7 +131,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
131
131
  height: 34px;
132
132
  border-radius: ${Me.btn};
133
133
  overflow: hidden;
134
- background: ${b.media};
134
+ background: ${w.media};
135
135
  display: grid;
136
136
  place-items: center;
137
137
 
@@ -149,24 +149,24 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
149
149
  `,Oe=t.span`
150
150
  font-weight: 700;
151
151
  font-size: 13px;
152
- color: ${b.text2};
152
+ color: ${w.text2};
153
153
  `,Ue=t.span`
154
154
  font-size: 12px;
155
155
  font-weight: 700;
156
- color: ${b.accent};
156
+ color: ${w.accent};
157
157
  display: inline-flex;
158
158
  align-items: center;
159
159
  gap: 6px;
160
160
  justify-content: flex-end;
161
161
  min-width: 74px;
162
162
  `,Ke=t.span`
163
- color: ${b.muted2};
163
+ color: ${w.muted2};
164
164
  font-weight: 600;
165
165
  `,Ge=t.span`
166
- color: ${b.muted};
166
+ color: ${w.muted};
167
167
  font-weight: 600;
168
168
  `,J=t.span`
169
- color: ${b.errStrong};
169
+ color: ${w.errStrong};
170
170
  font-weight: 600;
171
171
  `,He=t.span`
172
172
  display: flex;
@@ -182,14 +182,14 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
182
182
  width: 20px;
183
183
  height: 20px;
184
184
  border-radius: 50%;
185
- background: ${b.ok};
186
- color: ${b.white};
185
+ background: ${w.ok};
186
+ color: ${w.white};
187
187
  display: grid;
188
188
  place-items: center;
189
189
  font-size: 12px;
190
190
  `,Ze=t.p`
191
191
  margin: 12px 0 0;
192
- `;function Je(a,d){switch(a==null?void 0:a.step){case"cancelling":return d?n("migrate.phaseCancelConfirm"):n("migrate.phaseCancel");case"confirming-cancel":return d?n("migrate.phaseConfirmingCancel"):n("migrate.phaseConfirmingCancelManaged");case"authorising":return d?n("migrate.phaseAuthoriseConfirm"):n("migrate.phaseAuthorise");case"signing":return d?n("migrate.phaseSignConfirm"):n("migrate.phaseSign");case"publishing":return n("migrate.phasePublishing");case"indexing":return n("migrate.phaseIndexing",{attempt:a.attempt,of:a.of});default:return d?n("migrate.statusConfirm"):n("migrate.statusAdding")}}function Xe({queue:a,session:d,onClose:h,onDone:I}){const W=le(),k=he(d.providerType),[q,_]=g.useState(()=>a.map(()=>null)),[C,E]=g.useState(null),[c,j]=g.useState(()=>a.map(()=>"pending")),[x,M]=g.useState("running"),S=g.useRef(!1);g.useEffect(()=>{if(S.current)return;S.current=!0;let r=!1;return k&&ke(a.map(o=>o.item),d.address).then(o=>{!r&&o&&E({approvals:o.approvals,total:o.total})}).catch(()=>{}),(async()=>{for(let o=0;o<a.length;o++){if(r)return;j(u=>u.map((f,w)=>w===o?"active":f));try{await $e(a[o].item,a[o].priceCredits,d,{onPhase:u=>{r||_(f=>f.map((w,z)=>z===o?u:w))}}),ge("Shop Migrated Listing",{item_id:a[o].item.itemId??a[o].item.oldTradeId??null,contract_address:a[o].item.contractAddress,new_price_credits:a[o].priceCredits,new_price_usd:O(a[o].priceCredits)}),r||j(u=>u.map((f,w)=>w===o?"done":f))}catch(u){if(u instanceof Ce)U(u,{flow:"import_listing",step:"relist",itemId:a[o].item.itemId??a[o].item.oldTradeId}),r||j(f=>f.map((w,z)=>z===o?"unlisted":w));else{const f=u,w=f.code===4001||/reject|denied|cancel/i.test(f.message??"");w||U(u,{flow:"import_listing",itemId:a[o].item.itemId??a[o].item.oldTradeId}),r||j(z=>z.map((oe,de)=>de===o?w?"skipped":"failed":oe))}}}r||M("finished")})(),()=>{r=!0}},[]);const $=c.filter(r=>r==="done").length,P=c.findIndex(r=>r==="active"),Q=Math.round(c.filter(r=>r!=="pending"&&r!=="active").length/a.length*100),L=c.filter(r=>r==="skipped").length,T=c.filter(r=>r==="failed").length,v=c.filter(r=>r==="unlisted").length,i=T+v;function l(){I({listed:$,failed:i,cancelled:L}),h()}const p=g.useRef(!1);return g.useEffect(()=>{x!=="finished"||i>0||p.current||(p.current=!0,l())},[x,i]),x==="finished"?i===0?null:e.jsx(Y,{role:"presentation",children:e.jsxs(re,{"data-failure":!0,role:"dialog","aria-modal":"true","data-testid":v>0?"migrate-unlisted":"migrate-failed",children:[e.jsx(He,{"aria-hidden":!0,children:e.jsx(ze,{size:72})}),e.jsx(Z,{children:v>0?n("migrate.unlistedTitle"):n("migrate.failedTitle")}),e.jsxs("p",{className:"muted",style:{margin:0},children:[v>0?n("migrate.unlistedSummary",{count:v}):"",T>0?(v>0?" ":"")+n("migrate.failedSummary",{count:T}):"",$>0?" "+n("migrate.listedSummary",{count:$,currency:N.name}):"",L>0?" "+n("migrate.skippedSummary",{count:L}):""]}),e.jsxs(_e,{"data-actions":!0,children:[e.jsx(B,{variant:"ghost",onClick:l,children:n("getCredits.done")}),v>0?e.jsx(B,{variant:"purple",onClick:()=>{I({listed:$,failed:i,cancelled:L}),h(),W(se)},children:n("migrate.goToMyAssets")}):null]})]})}):e.jsx(Y,{role:"presentation",children:e.jsxs(Pe,{"data-testid":"modal",role:"dialog","aria-modal":"true","aria-live":"polite",children:[e.jsx(Z,{children:n("migrate.listingTitle")}),e.jsxs("p",{className:"muted small",style:{margin:"0 0 4px"},children:[k?n("migrate.subConfirm"):n("migrate.subManaged")," ",P>=0?n("migrate.progressCount",{current:P+1,total:a.length}):""]}),e.jsx(Be,{children:e.jsx(We,{style:{width:`${Q}%`}})}),e.jsx(qe,{children:a.map((r,m)=>e.jsxs(Qe,{"data-status":c[m],children:[e.jsx(Ne,{children:r.item.thumbnail?e.jsx("img",{src:r.item.thumbnail,alt:""}):null}),e.jsx(De,{title:r.item.name,children:r.item.name||n("migrate.itemFallback")}),e.jsxs(Oe,{children:[e.jsx(D,{className:"ccy-mark"})," ",r.priceCredits.toLocaleString()]}),e.jsx(Ue,{"data-testid":c[m]==="active"?"migrate-active-status":void 0,children:c[m]==="active"?e.jsxs(e.Fragment,{children:[e.jsx(Ve,{className:"spinner","aria-hidden":!0})," ",Je(q[m],k)]}):c[m]==="done"?e.jsx(Ye,{children:e.jsx(Te,{})}):c[m]==="skipped"?e.jsx(Ge,{children:n("migrate.statusSkipped")}):c[m]==="failed"?e.jsx(J,{children:n("migrate.statusFailed")}):c[m]==="unlisted"?e.jsx(J,{title:n("migrate.unlistedTooltip"),children:n("migrate.statusUnlisted")}):e.jsx(Ke,{children:n("migrate.statusWaiting")})})]},r.item.oldTradeId))}),e.jsx(Ze,{className:"muted small",children:k?C?n(C.approvals>0?"migrate.hintCountApproval":"migrate.hintCount",{total:C.total}):n("migrate.hintConfirm"):n("migrate.hintManaged")})]})})}const et="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='84.837'%20height='84.837'%20viewBox='0%200%2084.837%2084.837'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M29.2935%2033.6675L43.5472%2044.36C44.4303%2045.0223%2045.5311%2045.3263%2046.6288%2045.2111C47.7266%2045.0959%2048.7403%2044.5699%2049.4666%2043.7387L77.4185%2011.7925'%20stroke='url(%23paint0_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3cpath%20id='Vector_2'%20d='M81.7935%2042.4178C81.7936%2050.6451%2079.2167%2058.6658%2074.4245%2065.3533C69.6323%2072.0409%2062.8657%2077.0594%2055.075%2079.7039C47.2843%2082.3485%2038.8609%2082.4862%2030.9879%2080.0978C23.1149%2077.7094%2016.1878%2072.9149%2011.1796%2066.3876C6.17126%2059.8603%203.33339%2051.9282%203.06452%2043.7053C2.79565%2035.4824%205.10927%2027.3818%209.68046%2020.5413C14.2516%2013.7008%2020.8507%208.46394%2028.5509%205.56634C36.251%202.66875%2044.6654%202.25594%2052.6122%204.38589'%20stroke='url(%23paint1_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_74'%20x1='27.7771'%20y1='28.5159'%20x2='111.866'%20y2='17.1154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_0_74'%20x1='0.562175'%20y1='42.4235'%20x2='139.458'%20y2='29.3377'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",{colors:s,font:tt,media:y,radius:F}=A,it=t.div`
192
+ `;function Je(a,l){switch(a==null?void 0:a.step){case"cancelling":return l?n("migrate.phaseCancelConfirm"):n("migrate.phaseCancel");case"confirming-cancel":return l?n("migrate.phaseConfirmingCancel"):n("migrate.phaseConfirmingCancelManaged");case"authorising":return l?n("migrate.phaseAuthoriseConfirm"):n("migrate.phaseAuthorise");case"signing":return l?n("migrate.phaseSignConfirm"):n("migrate.phaseSign");case"publishing":return n("migrate.phasePublishing");case"indexing":return n("migrate.phaseIndexing",{attempt:a.attempt,of:a.of});default:return l?n("migrate.statusConfirm"):n("migrate.statusAdding")}}function Xe({queue:a,session:l,onClose:h,onDone:I}){const W=le(),v=he(l.providerType),[q,_]=g.useState(()=>a.map(()=>null)),[k,E]=g.useState(null),[c,y]=g.useState(()=>a.map(()=>"pending")),[x,M]=g.useState("running"),$=g.useRef(!1),C=g.useRef(!1);g.useEffect(()=>(C.current=!1,$.current||($.current=!0,v&&ke(a.map(r=>r.item),l.address).then(r=>{r&&E({approvals:r.approvals,total:r.total})}).catch(()=>{}),(async()=>{for(let r=0;r<a.length;r++){if(C.current)return;y(m=>m.map((u,f)=>f===r?"active":u));try{await $e(a[r].item,a[r].priceCredits,l,{onPhase:m=>_(u=>u.map((f,z)=>z===r?m:f))}),ge("Shop Migrated Listing",{item_id:a[r].item.itemId??a[r].item.oldTradeId??null,contract_address:a[r].item.contractAddress,new_price_credits:a[r].priceCredits,new_price_usd:O(a[r].priceCredits)}),y(m=>m.map((u,f)=>f===r?"done":u))}catch(m){if(m instanceof Ce)U(m,{flow:"import_listing",step:"relist",itemId:a[r].item.itemId??a[r].item.oldTradeId}),y(u=>u.map((f,z)=>z===r?"unlisted":f));else{const u=m,f=u.code===4001||/reject|denied|cancel/i.test(u.message??"");f||U(m,{flow:"import_listing",itemId:a[r].item.itemId??a[r].item.oldTradeId}),y(z=>z.map((oe,de)=>de===r?f?"skipped":"failed":oe))}}}M("finished")})()),()=>{C.current=!0}),[]);const S=c.filter(d=>d==="done").length,P=c.findIndex(d=>d==="active"),Q=Math.round(c.filter(d=>d!=="pending"&&d!=="active").length/a.length*100),L=c.filter(d=>d==="skipped").length,T=c.filter(d=>d==="failed").length,i=c.filter(d=>d==="unlisted").length,o=T+i;function p(){I({listed:S,failed:o,cancelled:L}),h()}const j=g.useRef(!1);return g.useEffect(()=>{x!=="finished"||j.current||(j.current=!0,!(o>0)&&p())},[x,o]),x==="finished"?o===0?null:e.jsx(Y,{role:"presentation",children:e.jsxs(re,{"data-failure":!0,role:"dialog","aria-modal":"true","data-testid":i>0?"migrate-unlisted":"migrate-failed",children:[e.jsx(He,{"aria-hidden":!0,children:e.jsx(ze,{size:72})}),e.jsx(Z,{children:i>0?n("migrate.unlistedTitle"):n("migrate.failedTitle")}),e.jsxs("p",{className:"muted",style:{margin:0},children:[i>0?n("migrate.unlistedSummary",{count:i}):"",T>0?(i>0?" ":"")+n("migrate.failedSummary",{count:T}):"",S>0?" "+n("migrate.listedSummary",{count:S,currency:N.name}):"",L>0?" "+n("migrate.skippedSummary",{count:L}):""]}),e.jsxs(_e,{"data-actions":!0,children:[e.jsx(B,{variant:"ghost",onClick:p,children:n("getCredits.done")}),i>0?e.jsx(B,{variant:"purple",onClick:()=>{I({listed:S,failed:o,cancelled:L}),h(),W(se)},children:n("migrate.goToMyAssets")}):null]})]})}):e.jsx(Y,{role:"presentation",children:e.jsxs(Pe,{"data-testid":"modal",role:"dialog","aria-modal":"true","aria-live":"polite",children:[e.jsx(Z,{children:n("migrate.listingTitle")}),e.jsxs("p",{className:"muted small",style:{margin:"0 0 4px"},children:[v?n("migrate.subConfirm"):n("migrate.subManaged")," ",P>=0?n("migrate.progressCount",{current:P+1,total:a.length}):""]}),e.jsx(Be,{children:e.jsx(We,{style:{width:`${Q}%`}})}),e.jsx(qe,{children:a.map((d,r)=>e.jsxs(Qe,{"data-status":c[r],children:[e.jsx(Ne,{children:d.item.thumbnail?e.jsx("img",{src:d.item.thumbnail,alt:""}):null}),e.jsx(De,{title:d.item.name,children:d.item.name||n("migrate.itemFallback")}),e.jsxs(Oe,{children:[e.jsx(D,{className:"ccy-mark"})," ",d.priceCredits.toLocaleString()]}),e.jsx(Ue,{"data-testid":c[r]==="active"?"migrate-active-status":void 0,children:c[r]==="active"?e.jsxs(e.Fragment,{children:[e.jsx(Ve,{className:"spinner","aria-hidden":!0})," ",Je(q[r],v)]}):c[r]==="done"?e.jsx(Ye,{children:e.jsx(Te,{})}):c[r]==="skipped"?e.jsx(Ge,{children:n("migrate.statusSkipped")}):c[r]==="failed"?e.jsx(J,{children:n("migrate.statusFailed")}):c[r]==="unlisted"?e.jsx(J,{title:n("migrate.unlistedTooltip"),children:n("migrate.statusUnlisted")}):e.jsx(Ke,{children:n("migrate.statusWaiting")})})]},d.item.oldTradeId))}),e.jsx(Ze,{className:"muted small",children:v?k?n(k.approvals>0?"migrate.hintCountApproval":"migrate.hintCount",{total:k.total}):n("migrate.hintConfirm"):n("migrate.hintManaged")})]})})}const et="data:image/svg+xml,%3csvg%20preserveAspectRatio='none'%20overflow='visible'%20style='display:%20block;'%20width='84.837'%20height='84.837'%20viewBox='0%200%2084.837%2084.837'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='Group'%3e%3cpath%20id='Vector'%20d='M29.2935%2033.6675L43.5472%2044.36C44.4303%2045.0223%2045.5311%2045.3263%2046.6288%2045.2111C47.7266%2045.0959%2048.7403%2044.5699%2049.4666%2043.7387L77.4185%2011.7925'%20stroke='url(%23paint0_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3cpath%20id='Vector_2'%20d='M81.7935%2042.4178C81.7936%2050.6451%2079.2167%2058.6658%2074.4245%2065.3533C69.6323%2072.0409%2062.8657%2077.0594%2055.075%2079.7039C47.2843%2082.3485%2038.8609%2082.4862%2030.9879%2080.0978C23.1149%2077.7094%2016.1878%2072.9149%2011.1796%2066.3876C6.17126%2059.8603%203.33339%2051.9282%203.06452%2043.7053C2.79565%2035.4824%205.10927%2027.3818%209.68046%2020.5413C14.2516%2013.7008%2020.8507%208.46394%2028.5509%205.56634C36.251%202.66875%2044.6654%202.25594%2052.6122%204.38589'%20stroke='url(%23paint1_linear_0_74)'%20stroke-width='6.08696'%20stroke-linecap='round'/%3e%3c/g%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_0_74'%20x1='27.7771'%20y1='28.5159'%20x2='111.866'%20y2='17.1154'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_0_74'%20x1='0.562175'%20y1='42.4235'%20x2='139.458'%20y2='29.3377'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%23FF2D55'/%3e%3cstop%20offset='1'%20stop-color='%23FFBC5B'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e",{colors:s,font:tt,media:b,radius:F}=A,it=t.div`
193
193
  display: flex;
194
194
  flex-direction: column;
195
195
  align-items: center;
@@ -249,9 +249,12 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
249
249
  font-size: 15px;
250
250
  /* The variant sets 0.046em, which at 15px is 0.69px; the design asks for 0.46px flat. */
251
251
  letter-spacing: 0.46px;
252
- /* Filled FLAT with the accent here, not with the purple variant's amethyst gradient so the variant's
253
- own hover overlay (that same accent) has to step up a shade to still read as a hover. */
254
- background: ${s.accent};
252
+ /* Filled FLAT with the accent here, not with the purple variant's amethyst gradient. Doubled ampersand
253
+ because the variant's own fill is an attribute selector, which outranks a plain declaration and the
254
+ variant's hover overlay is that same accent, so it steps up a shade to still read as a hover. */
255
+ &&[data-variant='purple'] {
256
+ background: ${s.accent};
257
+ }
255
258
 
256
259
  &:hover:not(:disabled)::before,
257
260
  &:active:not(:disabled)::before {
@@ -392,7 +395,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
392
395
 
393
396
  /* On a phone the design tops the checkbox against the thumbnail instead of centring it — the card is
394
397
  three lines tall there, and a centred tick drifts away from the item it belongs to. */
395
- ${y.maxWidth("mobile")} {
398
+ ${b.maxWidth("mobile")} {
396
399
  align-items: flex-start;
397
400
  }
398
401
  `,kt=t.div`
@@ -424,7 +427,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
424
427
 
425
428
  /* A smaller basis on a phone, where the name and chips have to STAY beside the thumbnail: at 150px the
426
429
  pair no longer fits the line on the narrowest handsets and the block dropped below the artwork. */
427
- ${y.maxWidth("mobile")} {
430
+ ${b.maxWidth("mobile")} {
428
431
  flex-basis: 100px;
429
432
  }
430
433
  `,Ct=t.div`
@@ -467,7 +470,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
467
470
 
468
471
  /* The phone card gives the price a line of its own, running the full width of the row — but indented by
469
472
  the checkbox slot, so it starts under the thumbnail rather than under the tick. */
470
- ${y.maxWidth("mobile")} {
473
+ ${b.maxWidth("mobile")} {
471
474
  flex: 1 1 100%;
472
475
  margin-left: 40px;
473
476
  align-items: stretch;
@@ -502,7 +505,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
502
505
  box-shadow: 0 0 0 3px ${s.rarityBg};
503
506
  }
504
507
 
505
- ${y.maxWidth("mobile")} {
508
+ ${b.maxWidth("mobile")} {
506
509
  width: 100%;
507
510
  }
508
511
  `,Tt=t.input`
@@ -526,7 +529,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
526
529
  color: ${s.gray0};
527
530
 
528
531
  /* Centred under the full-width field it converts, not parked at its right edge. */
529
- ${y.maxWidth("mobile")} {
532
+ ${b.maxWidth("mobile")} {
530
533
  justify-content: center;
531
534
  }
532
535
  `,At=t.span`
@@ -558,14 +561,14 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
558
561
  gap: 16px;
559
562
 
560
563
  /* On a phone the design stacks the bar: the summary line, then the cta across the full width. */
561
- ${y.maxWidth("mobile")} {
564
+ ${b.maxWidth("mobile")} {
562
565
  flex-direction: column;
563
566
  align-items: stretch;
564
567
  padding: 12px 16px;
565
568
  gap: 12px;
566
569
  }
567
570
  `,Et=t.div`
568
- ${y.maxWidth("mobile")} {
571
+ ${b.maxWidth("mobile")} {
569
572
  display: flex;
570
573
  flex-direction: row-reverse;
571
574
  align-items: center;
@@ -590,7 +593,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
590
593
  `,Bt=t.span`
591
594
  flex: 1 1 auto;
592
595
 
593
- ${y.maxWidth("mobile")} {
596
+ ${b.maxWidth("mobile")} {
594
597
  display: none;
595
598
  }
596
599
  `,Wt=t(B)`
@@ -598,7 +601,7 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
598
601
  min-width: 260px;
599
602
  padding: 13px 24px;
600
603
 
601
- ${y.maxWidth("mobile")} {
604
+ ${b.maxWidth("mobile")} {
602
605
  min-width: 0;
603
606
  }
604
607
  `,ne=t.div`
@@ -615,8 +618,8 @@ import{j as e,b as le,r as g,L as ce}from"./react-BYHuwl8r.js";import{t as A,s a
615
618
  font-size: 20px;
616
619
  text-align: left;
617
620
 
618
- ${y.maxWidth("mobile")} {
621
+ ${b.maxWidth("mobile")} {
619
622
  font-size: 18px;
620
623
  }
621
624
  }
622
- `,ae=[{question:"faq.sellers.whatAreQ",answer:"faq.sellers.whatAreA"},{question:"faq.sellers.whyCreditsQ",answer:"faq.sellers.whyCreditsA"},{question:"faq.sellers.receiveCreditsQ",answer:"faq.sellers.receiveCreditsA"},{question:"faq.sellers.changePriceQ",answer:"faq.sellers.changePriceA"},{question:"faq.sellers.mustSwitchQ",answer:"faq.sellers.mustSwitchA"},{question:"faq.sellers.suggestedPriceQ",answer:"faq.sellers.suggestedPriceA"}],qt="https://docs.decentraland.org";function Qt(a){try{return je(BigInt(a))}catch{return null}}function ti(){const{session:a}=me(),d=ue(),{items:h,isLoading:I}=Se(),[W,k]=g.useState({}),[q,_]=g.useState(new Set),[C,E]=g.useState(null);g.useEffect(()=>{h.length&&k(i=>{const l={...i};for(const p of h)l[p.oldTradeId]==null&&(l[p.oldTradeId]=p.suggestedCredits);return l})},[h]);const c=i=>!q.has(i),j=i=>W[i.oldTradeId]??i.suggestedCredits,x=h.filter(i=>c(i.oldTradeId)),M=x.reduce((i,l)=>i+j(l),0),S=h.length>0&&x.length===h.length,$=x.length>0&&!S;function P(i,l){const p=l.replace(/[^\d]/g,"");k(r=>({...r,[i]:p===""?0:parseInt(p,10)}))}function Q(i){_(l=>{const p=new Set(l);return p.has(i)?p.delete(i):p.add(i),p})}function L(){_(S?new Set(h.map(i=>i.oldTradeId)):new Set)}function T(i){return i.map(l=>({item:l,priceCredits:Math.max(1,j(l))}))}function v(i){d.invalidateQueries({queryKey:["importable"]}),d.invalidateQueries({queryKey:["shop-items"]}),d.invalidateQueries({queryKey:["catalog-items"]}),d.invalidateQueries({queryKey:["overview-listings"]}),d.invalidateQueries({queryKey:["upsell-listings"]}),d.invalidateQueries({queryKey:["my-assets"]}),d.invalidateQueries({queryKey:["collection-sale-state"]}),i.failed>0?G.error(n(i.listed>0?"importListings.toastPartial":"importListings.toastFailed")):i.listed>0&&G.success(n("importListings.toastUpdated"))}return!I&&h.length===0?e.jsxs(X,{children:[e.jsx(it,{"data-testid":"import-empty",children:e.jsxs(nt,{children:[e.jsx(at,{"aria-hidden":!0,children:e.jsx("img",{src:et,alt:"",width:85,height:85})}),e.jsxs(st,{children:[e.jsx(rt,{children:n("importListings.emptyTitle")}),e.jsx(ot,{children:n("importListings.emptyBody")})]}),e.jsx(dt,{children:e.jsx(lt,{as:ce,to:se,variant:"purple",children:n("importListings.goToMyAssets")})})]})}),e.jsx(ne,{children:e.jsx(H,{title:"faq.title",entries:ae})})]}):e.jsxs(X,{children:[e.jsxs(ct,{children:[e.jsxs(pt,{children:[e.jsx(ht,{children:n("importListings.title")}),e.jsxs("div",{children:[e.jsx(gt,{children:n("importListings.lede",{currency:fe(N.name)})}),e.jsxs(xt,{href:qt,target:"_blank",rel:"noopener noreferrer",children:[n("importListings.learnMore"),e.jsx(K,{name:"external-link",className:"ico","aria-hidden":!0})]})]})]}),e.jsx(Ie,{tone:"on-dark"})]}),e.jsx(ee,{}),e.jsxs(mt,{children:[e.jsxs(ut,{"data-testid":"import-progress",children:[e.jsx(ft,{"data-testid":"import-count",children:h.length}),n("importListings.updatePricing")]}),e.jsxs(wt,{children:[e.jsxs(bt,{children:[e.jsx(te,{"data-tone":"on-dark",children:e.jsx(V,{type:"checkbox",checked:S,ref:i=>{i&&(i.indeterminate=$)},"data-indeterminate":$,onChange:L,"data-testid":"import-select-all","aria-label":n("importListings.selectAllAria")})}),n("importListings.selectAll")]}),e.jsx(yt,{children:I?Array.from({length:4}).map((i,l)=>e.jsx(Rt,{},l)):h.map(i=>{const l=j(i),p=we({...i,wearableCategory:i.wearableCategory??void 0}),r=Qt(i.manaWei);return e.jsxs(vt,{"data-off":c(i.oldTradeId)?void 0:!0,children:[e.jsxs(jt,{children:[e.jsx(te,{children:e.jsx(V,{type:"checkbox",checked:c(i.oldTradeId),onChange:()=>Q(i.oldTradeId),"data-testid":"import-row-check","aria-label":n("importListings.includeItem",{name:i.name})})}),e.jsx(kt,{children:i.thumbnail?e.jsx("img",{src:i.thumbnail,alt:""}):null})]}),e.jsxs($t,{children:[e.jsx(Ct,{title:i.name,children:i.name||n("importListings.itemFallback")}),e.jsxs(St,{children:[e.jsx(ie,{"data-variant":"rarity",style:{background:ve(i.rarity),color:ye(i.rarity)},children:be(i.rarity)}),p?e.jsx(ie,{"data-variant":"icon",children:e.jsx(K,{name:p,"aria-hidden":!0})}):null]})]}),e.jsxs(Lt,{children:[e.jsxs(It,{children:[e.jsx(D,{}),e.jsx(Tt,{"data-testid":"imp-price-input",inputMode:"numeric",value:l.toLocaleString(),onChange:m=>P(i.oldTradeId,m.target.value),"aria-label":n("importListings.priceAria",{currency:N.name,name:i.name})})]}),e.jsxs(zt,{children:[e.jsxs("span",{children:["$",O(l).toFixed(2)]}),r?e.jsx(At,{children:n("importListings.wasMana",{amount:r})}):null]})]})]},i.oldTradeId)})})]})]}),e.jsx(ee,{}),e.jsx(ne,{children:e.jsx(H,{title:"faq.title",entries:ae,tone:"on-dark"})}),e.jsx(Ft,{children:e.jsxs(_t,{children:[e.jsxs(Et,{children:[e.jsxs(Mt,{children:[e.jsx(D,{})," ",M.toLocaleString()]}),e.jsx(Pt,{children:n("importListings.selectedSummary",{count:x.length,usd:O(M).toFixed(2)})})]}),e.jsx(Bt,{}),e.jsx(Wt,{variant:"red","data-testid":"import-list-all",disabled:x.length===0,onClick:()=>E(T(x)),children:n("importListings.listAll",{count:x.length})})]})}),C&&a?e.jsx(Xe,{queue:C,session:a,onClose:()=>E(null),onDone:v}):null]})}export{ti as ImportListings};
625
+ `,ae=[{question:"faq.sellers.whatAreQ",answer:"faq.sellers.whatAreA"},{question:"faq.sellers.whyCreditsQ",answer:"faq.sellers.whyCreditsA"},{question:"faq.sellers.receiveCreditsQ",answer:"faq.sellers.receiveCreditsA"},{question:"faq.sellers.changePriceQ",answer:"faq.sellers.changePriceA"},{question:"faq.sellers.mustSwitchQ",answer:"faq.sellers.mustSwitchA"},{question:"faq.sellers.suggestedPriceQ",answer:"faq.sellers.suggestedPriceA"}],qt="https://docs.decentraland.org";function Qt(a){try{return je(BigInt(a))}catch{return null}}function ti(){const{session:a}=me(),l=ue(),{items:h,isLoading:I}=Se(),[W,v]=g.useState({}),[q,_]=g.useState(new Set),[k,E]=g.useState(null);g.useEffect(()=>{h.length&&v(i=>{const o={...i};for(const p of h)o[p.oldTradeId]==null&&(o[p.oldTradeId]=p.suggestedCredits);return o})},[h]);const c=i=>!q.has(i),y=i=>W[i.oldTradeId]??i.suggestedCredits,x=h.filter(i=>c(i.oldTradeId)),M=x.reduce((i,o)=>i+y(o),0),$=h.length>0&&x.length===h.length,C=x.length>0&&!$;function S(i,o){const p=o.replace(/[^\d]/g,"");v(j=>({...j,[i]:p===""?0:parseInt(p,10)}))}function P(i){_(o=>{const p=new Set(o);return p.has(i)?p.delete(i):p.add(i),p})}function Q(){_($?new Set(h.map(i=>i.oldTradeId)):new Set)}function L(i){return i.map(o=>({item:o,priceCredits:Math.max(1,y(o))}))}function T(i){l.invalidateQueries({queryKey:["importable"]}),l.invalidateQueries({queryKey:["shop-items"]}),l.invalidateQueries({queryKey:["catalog-items"]}),l.invalidateQueries({queryKey:["overview-listings"]}),l.invalidateQueries({queryKey:["upsell-listings"]}),l.invalidateQueries({queryKey:["my-assets"]}),l.invalidateQueries({queryKey:["collection-sale-state"]}),i.failed>0?G.error(n(i.listed>0?"importListings.toastPartial":"importListings.toastFailed")):i.listed>0&&G.success(n("importListings.toastUpdated"))}return!I&&h.length===0?e.jsxs(X,{children:[e.jsx(it,{"data-testid":"import-empty",children:e.jsxs(nt,{children:[e.jsx(at,{"aria-hidden":!0,children:e.jsx("img",{src:et,alt:"",width:85,height:85})}),e.jsxs(st,{children:[e.jsx(rt,{children:n("importListings.emptyTitle")}),e.jsx(ot,{children:n("importListings.emptyBody")})]}),e.jsx(dt,{children:e.jsx(lt,{as:ce,to:se,variant:"purple",children:n("importListings.goToMyAssets")})})]})}),e.jsx(ne,{children:e.jsx(H,{title:"faq.title",entries:ae,tone:"on-dark"})})]}):e.jsxs(X,{children:[e.jsxs(ct,{children:[e.jsxs(pt,{children:[e.jsx(ht,{children:n("importListings.title")}),e.jsxs("div",{children:[e.jsx(gt,{children:n("importListings.lede",{currency:fe(N.name)})}),e.jsxs(xt,{href:qt,target:"_blank",rel:"noopener noreferrer",children:[n("importListings.learnMore"),e.jsx(K,{name:"external-link",className:"ico","aria-hidden":!0})]})]})]}),e.jsx(Ie,{tone:"on-dark"})]}),e.jsx(ee,{}),e.jsxs(mt,{children:[e.jsxs(ut,{"data-testid":"import-progress",children:[e.jsx(ft,{"data-testid":"import-count",children:h.length}),n("importListings.updatePricing")]}),e.jsxs(wt,{children:[e.jsxs(bt,{children:[e.jsx(te,{"data-tone":"on-dark",children:e.jsx(V,{type:"checkbox",checked:$,ref:i=>{i&&(i.indeterminate=C)},"data-indeterminate":C,onChange:Q,"data-testid":"import-select-all","aria-label":n("importListings.selectAllAria")})}),n("importListings.selectAll")]}),e.jsx(yt,{children:I?Array.from({length:4}).map((i,o)=>e.jsx(Rt,{},o)):h.map(i=>{const o=y(i),p=we({...i,wearableCategory:i.wearableCategory??void 0}),j=Qt(i.manaWei);return e.jsxs(vt,{"data-off":c(i.oldTradeId)?void 0:!0,children:[e.jsxs(jt,{children:[e.jsx(te,{children:e.jsx(V,{type:"checkbox",checked:c(i.oldTradeId),onChange:()=>P(i.oldTradeId),"data-testid":"import-row-check","aria-label":n("importListings.includeItem",{name:i.name})})}),e.jsx(kt,{children:i.thumbnail?e.jsx("img",{src:i.thumbnail,alt:""}):null})]}),e.jsxs($t,{children:[e.jsx(Ct,{title:i.name,children:i.name||n("importListings.itemFallback")}),e.jsxs(St,{children:[e.jsx(ie,{"data-variant":"rarity",style:{background:ve(i.rarity),color:ye(i.rarity)},children:be(i.rarity)}),p?e.jsx(ie,{"data-variant":"icon",children:e.jsx(K,{name:p,"aria-hidden":!0})}):null]})]}),e.jsxs(Lt,{children:[e.jsxs(It,{children:[e.jsx(D,{}),e.jsx(Tt,{"data-testid":"imp-price-input",inputMode:"numeric",value:o.toLocaleString(),onChange:d=>S(i.oldTradeId,d.target.value),"aria-label":n("importListings.priceAria",{currency:N.name,name:i.name})})]}),e.jsxs(zt,{children:[e.jsxs("span",{children:["$",O(o).toFixed(2)]}),j?e.jsx(At,{children:n("importListings.wasMana",{amount:j})}):null]})]})]},i.oldTradeId)})})]})]}),e.jsx(ee,{}),e.jsx(ne,{children:e.jsx(H,{title:"faq.title",entries:ae,tone:"on-dark"})}),e.jsx(Ft,{children:e.jsxs(_t,{children:[e.jsxs(Et,{children:[e.jsxs(Mt,{children:[e.jsx(D,{})," ",M.toLocaleString()]}),e.jsx(Pt,{children:n("importListings.selectedSummary",{count:x.length,usd:O(M).toFixed(2)})})]}),e.jsx(Bt,{}),e.jsx(Wt,{variant:"red","data-testid":"import-list-all",disabled:x.length===0,onClick:()=>E(L(x)),children:n("importListings.listAll",{count:x.length})})]})}),k&&a?e.jsx(Xe,{queue:k,session:a,onClose:()=>E(null),onDone:T}):null]})}export{ti as ImportListings};
@@ -1,4 +1,4 @@
1
- import{i as h,b as v}from"./lit-element-B3y9oplH.js";import{n as d}from"./class-map-CxwNmq0D.js";import"./index-B4VWghxR.js";import{d as m,r as f}from"./index-BwpU8az-.js";import{c as u,U as p}from"./index-DmouEX3z.js";const g=m`
1
+ import{i as h,b as v}from"./lit-element-B3y9oplH.js";import{n as d}from"./class-map-CxwNmq0D.js";import"./index-BXAhg_WL.js";import{d as m,r as f}from"./index-Bw5aGSBt.js";import{c as u,U as p}from"./index-0ctogS4p.js";const g=m`
2
2
  :host {
3
3
  display: block;
4
4
  width: var(--local-width);
@@ -1,4 +1,4 @@
1
- import{i as b,b as l,a as O}from"./lit-element-B3y9oplH.js";import{n as h,r as d}from"./class-map-CxwNmq0D.js";import{d as C,r as E,e as P}from"./index-BwpU8az-.js";import{c as v,U as x}from"./index-DmouEX3z.js";import"./index-C7gyW2pC.js";import"./index-yJr5AHy6.js";import{u as g,R as S,o as $,b as R,S as T}from"./W3MFrameProviderSingleton-BNh7T9LS.js";const L=C`
1
+ import{i as b,b as l,a as O}from"./lit-element-B3y9oplH.js";import{n as h,r as d}from"./class-map-CxwNmq0D.js";import{d as C,r as E,e as P}from"./index-Bw5aGSBt.js";import{c as v,U as x}from"./index-0ctogS4p.js";import"./index-BGWFa_3t.js";import"./index-D90sT5TF.js";import{u as g,R as S,o as $,b as R,S as T}from"./W3MFrameProviderSingleton-CZuJfgAC.js";const L=C`
2
2
  :host {
3
3
  position: relative;
4
4
  display: inline-block;
@@ -1,4 +1,4 @@
1
- import{i as h,b as d}from"./lit-element-B3y9oplH.js";import{n as i,o as c}from"./class-map-CxwNmq0D.js";import"./index-yJr5AHy6.js";import{c as m}from"./index-DmouEX3z.js";import{d as g,r as y,e as f}from"./index-BwpU8az-.js";const b=g`
1
+ import{i as h,b as d}from"./lit-element-B3y9oplH.js";import{n as i,o as c}from"./class-map-CxwNmq0D.js";import"./index-D90sT5TF.js";import{c as m}from"./index-0ctogS4p.js";import{d as g,r as y,e as f}from"./index-Bw5aGSBt.js";const b=g`
2
2
  :host {
3
3
  width: 100%;
4
4
  }
@@ -1,4 +1,4 @@
1
- import{w as k,i as W,b as v}from"./lit-element-B3y9oplH.js";import{n as y}from"./class-map-CxwNmq0D.js";import{c as I}from"./index-DmouEX3z.js";import"./index-B4VWghxR.js";import{Q as M}from"./browser-DxF-qILS.js";import{d as O,r as N}from"./index-BwpU8az-.js";const Q=.1,_=2.5,$=7;function x(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function A(t,a){const d=Array.prototype.slice.call(M.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const q={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=A(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-$)*n*i+l,r=(u.length-$)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*($-o*2);p.push(k`
1
+ import{w as k,i as W,b as v}from"./lit-element-B3y9oplH.js";import{n as y}from"./class-map-CxwNmq0D.js";import{c as I}from"./index-0ctogS4p.js";import"./index-BXAhg_WL.js";import{Q as M}from"./browser-DxF-qILS.js";import{d as O,r as N}from"./index-Bw5aGSBt.js";const Q=.1,_=2.5,$=7;function x(t,a,d){return t===a?!1:(t-a<0?a-t:t-a)<=d+Q}function A(t,a){const d=Array.prototype.slice.call(M.create(t,{errorCorrectionLevel:a}).modules.data,0),l=Math.sqrt(d.length);return d.reduce((h,f,p)=>(p%l===0?h.push([f]):h[h.length-1].push(f))&&h,[])}const q={generate({uri:t,size:a,logoSize:d,padding:l=8,dotColor:h="var(--apkt-colors-black)"}){const p=[],u=A(t,"Q"),n=(a-2*l)/u.length,E=[{x:0,y:0},{x:1,y:0},{x:0,y:1}];E.forEach(({x:i,y:e})=>{const s=(u.length-$)*n*i+l,r=(u.length-$)*n*e+l,c=.45;for(let o=0;o<E.length;o+=1){const m=n*($-o*2);p.push(k`
2
2
  <rect
3
3
  fill=${o===2?"var(--apkt-colors-black)":"var(--apkt-colors-white)"}
4
4
  width=${o===0?m-10:m}