@dcl/shop 1.13.1-35088015492.commit-25d8a11 → 1.13.1-35095058100.commit-8d694c8
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.
- package/_assets/{Activity-Br7TotTg.js → Activity-CjNbjbB8.js} +8 -8
- package/_assets/{AnimatedBackground-mKUTCrsZ.js → AnimatedBackground-DsRNSmF9.js} +2 -2
- package/_assets/{Assets-Bh3kAxON.js → Assets--xiu2hf1.js} +12 -12
- package/_assets/{Authorizations-DPVFuAHg.js → Authorizations-CAq4bDIU.js} +3 -3
- package/_assets/Cart-Dn-yuO7W.js +748 -0
- package/_assets/{Collection-BIm7ajYT.js → Collection-DmkDiPC5.js} +10 -10
- package/_assets/{CollectionCarousel-Dgmy1mBv.js → CollectionCarousel-C2aZMUS6.js} +10 -10
- package/_assets/Confetti-CQ1miyT0.js +18 -0
- package/_assets/{ConstantsUtil-BIW9CVUv.js → ConstantsUtil-DxsGGeAI.js} +2 -2
- package/_assets/{ContentClient-CWLYPXGZ.js → ContentClient-DADL-eWJ.js} +2 -2
- package/_assets/{Creator-Bm286S4l.js → Creator-DZvSnP1W.js} +33 -33
- package/_assets/{DeploymentBuilder-lkKjiabA.js → DeploymentBuilder-DM4wrDOA.js} +3 -3
- package/_assets/{EmotePlaybackBar-CmOnYKyU.js → EmotePlaybackBar-DKUTpuQ1.js} +5 -5
- package/_assets/{ErrorNotice-Dqt3U2vl.js → ErrorNotice-Dhs1BLZ6.js} +2 -2
- package/_assets/{Event-CzoOohtw.js → Event-e3lOCI2G.js} +2 -2
- package/_assets/{ExchangeController-DLt1pr9X.js → ExchangeController-D1BhRLY_.js} +2 -2
- package/_assets/{Faq-C75vztz0.js → Faq-qe1pCR9P.js} +2 -2
- package/_assets/{GetCredits-C4r6Z9Ll.js → GetCredits-B96wMekN.js} +9 -9
- package/_assets/{Grow-C89nQ9vj.js → Grow-pyVWvnNE.js} +2 -2
- package/_assets/{HelpersUtil-BZx2xXkr.js → HelpersUtil-B-VhnmAV.js} +2 -2
- package/_assets/ItemDetail-EQYc-D1i.js +3779 -0
- package/_assets/LoadMore-3LNbX1EU.js +8 -0
- package/_assets/{ManaPricingBanner.styles-DIaSN-0J.js → ManaPricingBanner.styles-Xpaqvszn.js} +2 -2
- package/_assets/MyAssets-Cw8rL4Qm.js +1142 -0
- package/_assets/{MyFavorites-DyG3bnHZ.js → MyFavorites-C-H9WoDf.js} +10 -10
- package/_assets/{NetworkUtil-C2mA-_Ya.js → NetworkUtil-Cp-gtHa0.js} +2 -2
- package/_assets/NotFound-C_hegLMz.js +18 -0
- package/_assets/{NotificationsBell-Bg_tRjZT.js → NotificationsBell-DEOx8fEC.js} +13 -13
- package/_assets/{OutfitDetail-BILkjOT0.js → OutfitDetail-DccboofD.js} +7 -7
- package/_assets/OutfitPreview-BT1g84TM.js +7 -0
- package/_assets/{OutfitStudio-BVxXtmNl.js → OutfitStudio-DVNHreV-.js} +30 -30
- package/_assets/{PhArrowCircleDown-6iRUjaQT.js → PhArrowCircleDown-Bmy0XPqd.js} +5 -5
- package/_assets/{PhArrowClockwise-CIVwCL-l.js → PhArrowClockwise-Bklo7MBV.js} +3 -3
- package/_assets/{PhArrowDown-D3Qpf9aN.js → PhArrowDown-CBjJCstB.js} +3 -3
- package/_assets/{PhArrowLeft--wJbrUzB.js → PhArrowLeft-BCeYPtMx.js} +4 -4
- package/_assets/{PhArrowRight-BTIKUgk-.js → PhArrowRight-Ch61WxZn.js} +4 -4
- package/_assets/{PhArrowSquareOut-DPwbQcP5.js → PhArrowSquareOut-Bk5nSBoz.js} +5 -5
- package/_assets/{PhArrowUp-tbd9Vo3U.js → PhArrowUp-CzPwFe1F.js} +5 -5
- package/_assets/PhArrowUpRight-DF87CEc7.js +15 -0
- package/_assets/{PhArrowsClockwise-BSfkaVhX.js → PhArrowsClockwise-D5XWB216.js} +2 -2
- package/_assets/{PhArrowsDownUp-BizHrerJ.js → PhArrowsDownUp-CVtoWYS-.js} +5 -5
- package/_assets/{PhArrowsLeftRight-wuaUs2S1.js → PhArrowsLeftRight-Cu83Wp7y.js} +3 -3
- package/_assets/{PhBank-BzJNe1lT.js → PhBank-BjB_uqsX.js} +3 -3
- package/_assets/{PhBrowser-DtA3UvKM.js → PhBrowser-CW3ZGiB7.js} +5 -5
- package/_assets/PhCaretDown-PT_hkshh.js +15 -0
- package/_assets/{PhCaretLeft-4kPjHdmT.js → PhCaretLeft-DPSFahQA.js} +3 -3
- package/_assets/PhCaretRight-EEBUAb9H.js +15 -0
- package/_assets/{PhCaretUp-D9YioiHV.js → PhCaretUp-Bit2hvKo.js} +3 -3
- package/_assets/{PhCheck-CHpcW9AR.js → PhCheck-BHmNQJ6P.js} +4 -4
- package/_assets/{PhCircleHalf-YS1UFN0E.js → PhCircleHalf-AD4oTWoj.js} +3 -3
- package/_assets/{PhClock-CSboNJh9.js → PhClock-3t4anT3D.js} +5 -5
- package/_assets/{PhCompass-D_0mucCp.js → PhCompass-DpvhkfDj.js} +5 -5
- package/_assets/{PhCopy-CDCUCR3f.js → PhCopy-We2XYWCm.js} +5 -5
- package/_assets/{PhCreditCard-DRX4uPYj.js → PhCreditCard-BBnTMXbe.js} +4 -4
- package/_assets/{PhCurrencyDollar-DLUjVe8H.js → PhCurrencyDollar-dPV4byY8.js} +2 -2
- package/_assets/{PhDesktop-_u-_n84T.js → PhDesktop-DVuLe5q1.js} +3 -3
- package/_assets/{PhDeviceMobile-BS_c6Vl8.js → PhDeviceMobile-D6knI_PD.js} +5 -5
- package/_assets/{PhDotsThree-CzsXASup.js → PhDotsThree-D_uTiViU.js} +3 -3
- package/_assets/{PhEnvelope-Cw4-Hk4L.js → PhEnvelope-Bkk7fDMT.js} +5 -5
- package/_assets/{PhFunnelSimple-DpBt0vi9.js → PhFunnelSimple-BVx2yoJC.js} +4 -4
- package/_assets/{PhGlobe-rs-o4lxw.js → PhGlobe-BUa1rAnN.js} +2 -2
- package/_assets/{PhIdentificationCard-DuF1gYTt.js → PhIdentificationCard-D7mCEldI.js} +5 -5
- package/_assets/{PhImage-DIhy5LKN.js → PhImage-DN8upEaC.js} +2 -2
- package/_assets/{PhInfo-D_98hoRZ.js → PhInfo-BRv5JqkG.js} +5 -5
- package/_assets/{PhLightbulb-jwjURN0E.js → PhLightbulb-LZ8Bksrw.js} +4 -4
- package/_assets/{PhMagnifyingGlass-Cl9SVL64.js → PhMagnifyingGlass-Nlml1ksU.js} +5 -5
- package/_assets/{PhPaperPlaneRight-CDqjDiqA.js → PhPaperPlaneRight-QfFyGr7O.js} +3 -3
- package/_assets/{PhPlus-Bqy0oPbi.js → PhPlus-C6YKBVJU.js} +4 -4
- package/_assets/{PhPower-BQaWuBX1.js → PhPower-BtHcdIUq.js} +4 -4
- package/_assets/{PhPuzzlePiece-D499-d4h.js → PhPuzzlePiece-D5mYYrHE.js} +3 -3
- package/_assets/{PhQrCode-BQ5rQwnD.js → PhQrCode-MfgEx90-.js} +4 -4
- package/_assets/{PhQuestion-bCmP-feI.js → PhQuestion-BHeGiiUF.js} +3 -3
- package/_assets/{PhQuestionMark-DyfGY3RD.js → PhQuestionMark-DNtDU6-_.js} +4 -4
- package/_assets/{PhSealCheck-H9-Y7aNH.js → PhSealCheck-CDWno5AE.js} +2 -2
- package/_assets/{PhSignOut-BZcBXokG.js → PhSignOut-BWUfOWAY.js} +3 -3
- package/_assets/{PhSpinner-Do01OpHj.js → PhSpinner-Chbk-Rrh.js} +3 -3
- package/_assets/{PhTrash-CuF_XmzC.js → PhTrash-CknzCMhK.js} +2 -2
- package/_assets/{PhUser-DjwKjO5y.js → PhUser-DBmpCM-x.js} +5 -5
- package/_assets/{PhVault-Sk9K_rlP.js → PhVault-B_-lceT6.js} +2 -2
- package/_assets/{PhWallet-Cx-DY6Ai.js → PhWallet-DzHci4bI.js} +3 -3
- package/_assets/{PhWarning-RJrWRAZK.js → PhWarning-DNajgYKH.js} +5 -5
- package/_assets/{PhWarningCircle-BM_6Vsrk.js → PhWarningCircle-DaWHEJd0.js} +4 -4
- package/_assets/{PhX-zfSxrDJY.js → PhX-o_0aqvnZ.js} +2 -2
- package/_assets/SaleCountdown-BCjbqWcU.js +99 -0
- package/_assets/{Spinner-CjR4Zw45.js → Spinner-hLMP163F.js} +2 -2
- package/_assets/{StoreSettings-BI2PxdDc.js → StoreSettings-C4lpIKgV.js} +7 -7
- package/_assets/{Success-BMSTCual.js → Success-DZwN3t4z.js} +5 -5
- package/_assets/{SwapController-MUVg1jDR.js → SwapController-BPiF_Q9x.js} +2 -2
- package/_assets/{TradeService-DSbQ-N2T.js → TradeService-D8Zf_eTM.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-bGfA1Ldc.js → W3MFrameProviderSingleton-ByxVGL9W.js} +4 -4
- package/_assets/{WebCryptoP256-RyjS14F-.js → WebCryptoP256-BowGpuyg.js} +2 -2
- package/_assets/{add-yuh2coGX.js → add-DMqlCS_5.js} +2 -2
- package/_assets/all-wallets-jltIqTjt.js +7 -0
- package/_assets/{app-store-CjVSQSMw.js → app-store-8U-XnKiq.js} +3 -3
- package/_assets/{apple--Q1_9qVz.js → apple-DqtIUOT7.js} +2 -2
- package/_assets/{arrow-bottom-BDd5zC7G.js → arrow-bottom-PA3nOuzV.js} +2 -2
- package/_assets/{arrow-bottom-circle-DeoWT_5e.js → arrow-bottom-circle-C-CSXtk9.js} +3 -3
- package/_assets/arrow-left-Cddzsk1s.js +9 -0
- package/_assets/{arrow-right-D5rgj1x7.js → arrow-right-FkB0kPcW.js} +3 -3
- package/_assets/{arrow-top-CZJvfHy5.js → arrow-top-BAZtnW6A.js} +3 -3
- package/_assets/async-directive-C0XTxdV5.js +10 -0
- package/_assets/{authorizations-o-LlYXNc.js → authorizations-D_SudRT-.js} +2 -2
- package/_assets/{bank-QdF2JRAj.js → bank-C-8Jh-Iw.js} +2 -2
- package/_assets/{basic-nXP69bkA.js → basic-sN1HnC_u.js} +2 -2
- package/_assets/{biconomy-D6gisxlY.js → biconomy-BijOlHn5.js} +2 -2
- package/_assets/{browseLayout.styles-Bza8FY3N.js → browseLayout.styles-6-W9YjOC.js} +12 -12
- package/_assets/{browser-BTxM9pEM.js → browser-BXKNeaZx.js} +2 -2
- package/_assets/{browser-D53imPjf.js → browser-D9YPKxfl.js} +2 -2
- package/_assets/{browser-DIXts996.js → browser-DynTtmBx.js} +2 -2
- package/_assets/{browser-ponyfill-BaElO0Yy.js → browser-ponyfill-BVvT8_Fp.js} +2 -2
- package/_assets/builder-BCPamKJP.js +2 -0
- package/_assets/{buy-8-Zq_4Fb.js → buy-BkbR80Gf.js} +2 -2
- package/_assets/buy-gasless-CQdgMa0F.js +2 -0
- package/_assets/{card-Eo0szEyd.js → card-Uc0KebvL.js} +2 -2
- package/_assets/{categories-J0dMuNkM.js → categories-Dquh1vbV.js} +2 -2
- package/_assets/{ccip-CNvm_wRE.js → ccip-BQaVTqUi.js} +2 -2
- package/_assets/{ccip-CgSAa6qI.js → ccip-CV07CEfz.js} +2 -2
- package/_assets/{chains-BbZKALwH.js → chains-Bp3h2aaE.js} +2 -2
- package/_assets/{checkmark-B1VwDgk_.js → checkmark-7uWcPB0u.js} +3 -3
- package/_assets/{checkmark-bold-BXR2Uavz.js → checkmark-bold-BwTefyx7.js} +3 -3
- package/_assets/{chevron-bottom-CjUlcMur.js → chevron-bottom-CJ9Wl9Xm.js} +3 -3
- package/_assets/{chevron-left-DypZfS5Y.js → chevron-left-DKH1P9Pf.js} +3 -3
- package/_assets/{chevron-right-CBfGDvpC.js → chevron-right-DeNTJHBI.js} +2 -2
- package/_assets/{chevron-top-ccW9fiNv.js → chevron-top-Dn0py8bk.js} +3 -3
- package/_assets/{chrome-store-CXaVZVMO.js → chrome-store-DUbm69Gl.js} +3 -3
- package/_assets/{class-map-B8fTg_8Q.js → class-map-C7I-HYAi.js} +6 -6
- package/_assets/{clock-CbjAmrVY.js → clock-CMav6VuQ.js} +2 -2
- package/_assets/{close-C44p4Qpf.js → close-Byftwzmc.js} +2 -2
- package/_assets/{coinPlaceholder-9sNtxYvg.js → coinPlaceholder-C0F4r6oU.js} +2 -2
- package/_assets/{collectionPage.styles-C--ki2P9.js → collectionPage.styles-St6jJHia.js} +7 -7
- package/_assets/common-vsCsmUBn.js +2 -0
- package/_assets/{compass-8jFoOhNF.js → compass-CPDOuTyF.js} +3 -3
- package/_assets/{controller-B5adsfCx.js → controller-DIQ9DcOx.js} +3 -3
- package/_assets/{copy-Die0K-07.js → copy-CjXNbdx3.js} +2 -2
- package/_assets/{core-Dz9rfTnP.js → core-Cs979BA0.js} +5 -5
- package/_assets/{createSvgIcon-DSycgKQz.js → createSvgIcon-P53Pfdxl.js} +4 -4
- package/_assets/crumbs.styles-N13K8LJF.js +10 -0
- package/_assets/{cursor-B5zKTXqZ.js → cursor-D-SkqFO5.js} +3 -3
- package/_assets/{cursor-transparent-Dp8bO7rL.js → cursor-transparent-RE6Zec8w.js} +3 -3
- package/_assets/{custom-SA3P34sS.js → custom-DP7Ww2Mp.js} +2 -2
- package/_assets/{data-capture-QCuBCgVo.js → data-capture-r6LhzaPe.js} +2 -2
- package/_assets/{dcl-schemas-BKQ0vYZF.js → dcl-schemas-n1W5glLl.js} +2 -2
- package/_assets/decimals-1-P-OpKN.js +2 -0
- package/_assets/decimals-BW5hR24C.js +2 -0
- package/_assets/{desktop-1vPdJJzq.js → desktop-tp0dY4sR.js} +3 -3
- package/_assets/detectExtension-DQg6wKZQ.js +2 -0
- package/_assets/{disconnect-10T9vPyj.js → disconnect-PN0ATTQe.js} +3 -3
- package/_assets/{discord-BC_Ueh7y.js → discord-ISYEjXZK.js} +3 -3
- package/_assets/{disposePreview-BDCsvWuP.js → disposePreview-D5gU11Se.js} +2 -2
- package/_assets/{email--UGVY4VA.js → email-C4mis8Vg.js} +2 -2
- package/_assets/{embedded-wallet-C0h1UGCI.js → embedded-wallet-CaKg_r8U.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-8Fn_bSaK.js → emotion-styled.browser.esm-BUJmozsy.js} +2 -2
- package/_assets/{engine-CVmNCEKG.js → engine-D07w-XRT.js} +2 -2
- package/_assets/{errors-5abtsF-d.js → errors-DhRbQUQ8.js} +2 -2
- package/_assets/estimate-l1-fee-CVLkkmbZ.js +2 -0
- package/_assets/eth_estimateGas-DcrnZAhD.js +2 -0
- package/_assets/eth_getStorageAt-D55EQvGL.js +2 -0
- package/_assets/eth_getTransactionCount-996c8uw3.js +2 -0
- package/_assets/ethereum-BB2NY3Ze.js +2 -0
- package/_assets/{ethers-CqnE9_Iy.js → ethers-OrSZ5jmz.js} +2 -2
- package/_assets/{etherscan-C2G3o1uJ.js → etherscan-CjB1AtvG.js} +2 -2
- package/_assets/{events-DxeiWjZO.js → events-C-1hKiSc.js} +2 -2
- package/_assets/{exclamation-triangle-DwAzeOp6.js → exclamation-triangle-Vw_jmJIs.js} +2 -2
- package/_assets/{execute-bRHFO9T8.js → execute-DkcTGxdS.js} +3 -3
- package/_assets/{extension-DzOqtmMr.js → extension-p5vqJTq0.js} +3 -3
- package/_assets/{external-link-CJFUahWS.js → external-link-6l8BDrnZ.js} +2 -2
- package/_assets/{extractIPFS-DTbEwfwl.js → extractIPFS-DGBDqkFQ.js} +2 -2
- package/_assets/{facebook-x3bYUdwS.js → facebook-BdpnpvkK.js} +3 -3
- package/_assets/{farcaster-TSNolEe6.js → farcaster-DyedtTLV.js} +3 -3
- package/_assets/{features-DOlQFJIn.js → features-Dgji4xPv.js} +2 -2
- package/_assets/fetchTokenMetadata-CLY3eWo4.js +3 -0
- package/_assets/{field.styles-CGT52_F0.js → field.styles-B66-mhwP.js} +2 -2
- package/_assets/{filters-UiyRH_AA.js → filters-CMt2xly-.js} +3 -3
- package/_assets/{fortmatic-B4F48NpJ.js → fortmatic-CIXGktdE.js} +2 -2
- package/_assets/{get-bytecode-B61L8bJf.js → get-bytecode-B4ah9_Ee.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-BUVR1h_d.js +2 -0
- package/_assets/{getBalance-CgOiBcM_.js → getBalance-DcjxPvBd.js} +3 -3
- package/_assets/getInstalledModules-CVmsNb5W.js +2 -0
- package/_assets/getNFT-CNkldXgA.js +2 -0
- package/_assets/{getNFT-BOhaT1yq.js → getNFT-D6Q2R2w8.js} +3 -3
- package/_assets/{github-DKEnSSaC.js → github-DpuVIU6C.js} +2 -2
- package/_assets/{google-Ct_bf34c.js → google-BwS7c7G5.js} +2 -2
- package/_assets/{grid.styles-iTSFhsyn.js → grid.styles-CbKnaEaH.js} +2 -2
- package/_assets/{hashTypedData-CTf6X_0x.js → hashTypedData-BMQaC5AO.js} +2 -2
- package/_assets/{hashTypedData-BjxqyJnO.js → hashTypedData-BXTiCI6R.js} +2 -2
- package/_assets/{help-circle-CtxTuyd5.js → help-circle-D4e71YxP.js} +3 -3
- package/_assets/{id-CBP3kShs.js → id-CkCU8Jqk.js} +3 -3
- package/_assets/{image-CU2z53Sh.js → image-BgNr9PHW.js} +2 -2
- package/_assets/{import-BFM9mYtD.js → import-nI9C4MLI.js} +2 -2
- package/_assets/{in-app-D-IPfiDb.js → in-app-qH_5BfXH.js} +2 -2
- package/_assets/in-app-wallet-calls-D5QY4WMZ.js +2 -0
- package/_assets/{index-UORXqou9.js → index-2lALaSI0.js} +2 -2
- package/_assets/{index-BgSm7poL.js → index-3xvycxSp.js} +2 -2
- package/_assets/{index-CVfarqKE.js → index-5TanjW1p.js} +4 -4
- package/_assets/{index-9ER2YXLE.js → index-7LiE_2Hn.js} +2 -2
- package/_assets/{index-CWpLrxaY.js → index-7jxYsA5x.js} +2 -2
- package/_assets/{index-D-g6tUrr.js → index-B0eaBbwk.js} +4 -4
- package/_assets/{index-Cj8n6jhR.js → index-B6gpbqHk.js} +3 -3
- package/_assets/{index-_eXXkY79.js → index-B767Ef3o.js} +2 -2
- package/_assets/{index-C1ILo9mK.js → index-B8pq8JLn.js} +2 -2
- package/_assets/{index-CcMloegU.js → index-B9LTXTJ_.js} +3 -3
- package/_assets/{index-CcJ1bQOV.js → index-BBmOO_5v.js} +2 -2
- package/_assets/{index-B0AMIOfY.js → index-BHeP5cAB.js} +2 -2
- package/_assets/{index-BbYwNUDQ.js → index-BIDLTLRs.js} +4 -4
- package/_assets/{index-BMWj60Rz.js → index-BJOeyXU6.js} +2 -2
- package/_assets/{index-D2iQXB_K.js → index-BT2VuKr_.js} +2 -2
- package/_assets/{index-QryiMDf6.js → index-BUJII-te.js} +2 -2
- package/_assets/{index-Bo1Z5mEG.js → index-BYf--6IB.js} +2 -2
- package/_assets/{index-D6OhFIgK.js → index-BbOkb2Lk.js} +2 -2
- package/_assets/{index-Dh747mI9.js → index-BbvUH58s.js} +5 -5
- package/_assets/{index-BgewSO5d.js → index-BlyJ0EeU.js} +2 -2
- package/_assets/{index-TwJnCsCt.js → index-Bt53hnH3.js} +2 -2
- package/_assets/{index-D_b2TfPS.js → index-BymYE2Hq.js} +2 -2
- package/_assets/{index-Ch8ZdFvj.js → index-C11xAGLj.js} +3 -3
- package/_assets/{index-CkhRwzDn.js → index-C3N8gNG5.js} +2 -2
- package/_assets/{index-DHrx45E-.js → index-C9g_L_xU.js} +8 -8
- package/_assets/{index-Bece1vl_.js → index-CBqzQu4b.js} +3 -3
- package/_assets/{index-BIU1Xflg.js → index-CFkA928w.js} +2 -2
- package/_assets/{index-8c2AE2rL.js → index-CKir0NTC.js} +6 -6
- package/_assets/{index-BjvOCOXo.js → index-CLkKFzPp.js} +5 -5
- package/_assets/{index-DSYn1rPz.js → index-CMGA6Ehu.js} +7 -7
- package/_assets/{index-Cg4gI1gY.js → index-CO3xBlL2.js} +4 -4
- package/_assets/{index-EO54jEJz.js → index-CTpgpMEc.js} +9 -9
- package/_assets/index-CZBL8oDN.css +1 -0
- package/_assets/{index-DBjGF5O5.js → index-C_vB1IQd.js} +4 -4
- package/_assets/{index-D3vbPDep.js → index-Cfg8NIxf.js} +4 -4
- package/_assets/{index-BLF43zxA.js → index-Cfiy7F58.js} +2 -2
- package/_assets/{index-DntLKm7o.js → index-ChkZ_3N-.js} +2 -2
- package/_assets/{index-DKNSn9FC.js → index-Ci7OJEKI.js} +4 -4
- package/_assets/{index-BqXgj2c4.js → index-CiVDvcz9.js} +17 -17
- package/_assets/{index-C3ELTXuu.js → index-CqA25hIa.js} +3 -3
- package/_assets/{index-D7KJ3B17.js → index-CspzAmAd.js} +4 -4
- package/_assets/{index-C6WGvNBW.js → index-CulTnm_-.js} +3 -3
- package/_assets/{index-DHmdplW7.js → index-CzONDXJm.js} +3 -3
- package/_assets/{index-Je254H6v.js → index-D2_5jCAk.js} +5 -5
- package/_assets/{index-DhZR3d6F.js → index-DEL0w41-.js} +2 -2
- package/_assets/{index-DB5YO8eU.js → index-DGoH3dH-.js} +9 -9
- package/_assets/{index-C8USgWUh.js → index-DHIc5ihj.js} +6 -6
- package/_assets/{index-jo5IZGw6.js → index-DILi1pU7.js} +2 -2
- package/_assets/{index-DDwh5CzB.js → index-DOE5PvRf.js} +4 -4
- package/_assets/{index-B3cule6M.js → index-DSZlP7vv.js} +2 -2
- package/_assets/{index-kSQR1Rng.js → index-DWpJbdNp.js} +2 -2
- package/_assets/{index-CQyQWevE.js → index-Dbzum1xk.js} +2 -2
- package/_assets/{index-CORj9AA6.js → index-DhxbjStl.js} +3 -3
- package/_assets/{index-BE-bCzXU.js → index-DrYTVtgg.js} +2 -2
- package/_assets/{index-DBkGVGV_.js → index-DsKy4xQX.js} +2 -2
- package/_assets/index-DuuWxLJb.js +2 -0
- package/_assets/{index-BbT8qu_L.js → index-DxPCOmel.js} +3 -3
- package/_assets/{index-BpgGRt4i.js → index-DyXRsRBM.js} +3 -3
- package/_assets/{index-C7RUGLgx.js → index-DzQkIbqv.js} +499 -500
- package/_assets/{index-ApdCRpGh.js → index-FgD-q8nY.js} +2 -2
- package/_assets/index-Q91sfGFW.js +2 -0
- package/_assets/{index-BuUjwDYx.js → index-QEKAtx1e.js} +4 -4
- package/_assets/{index-AH8vZ3-a.js → index-VrmvnTaa.js} +4 -4
- package/_assets/{index-CToeVfXv.js → index-aYru672w.js} +2 -2
- package/_assets/{index-DNZQtb01.js → index-gl06JVkD.js} +3 -3
- package/_assets/{index-D6MOFBZd.js → index-jsed_aC3.js} +2 -2
- package/_assets/{index-BLu7rJtN.js → index-t1CDJb0U.js} +9 -9
- package/_assets/{index-Cw2X26uO.js → index-u3wacysv.js} +2 -2
- package/_assets/{index.es-B-n7bK95.js → index.es-89IU7kpU.js} +2 -2
- package/_assets/{index.es-yT5643Oy.js → index.es-BxUByfMu.js} +2 -2
- package/_assets/{index.es-Dn-oiXGY.js → index.es-CeXL7thu.js} +2 -2
- package/_assets/{index.es-C50Venyf.js → index.es-O2YZpGjD.js} +5 -5
- package/_assets/{info-D8HlAvAX.js → info-CULnZZaj.js} +2 -2
- package/_assets/{info-circle-BhZLPW19.js → info-circle-lLJ-CNp2.js} +3 -3
- package/_assets/{items-empty-CSlmEyZz.js → items-empty-Bo2ok7jY.js} +2 -2
- package/_assets/jsxRuntime.module-gjtb1wYS.js +2 -0
- package/_assets/{jump-BOiqSS4M.js → jump-CfxL77MI.js} +2 -2
- package/_assets/{lightbulb-DzXtr_43.js → lightbulb-4T7s9a-o.js} +2 -2
- package/_assets/linkAccount-CH9thals.js +2 -0
- package/_assets/{localBatchGatewayRequest-MsW7s5by.js → localBatchGatewayRequest-CSeZ4gRB.js} +2 -2
- package/_assets/{mail-OX9dKj1y.js → mail-DhJDk7cH.js} +3 -3
- package/_assets/{mobile-yC6FSqHV.js → mobile-CydJ5WdV.js} +3 -3
- package/_assets/{modal.styles-B7xjPjYV.js → modal.styles-2uQXkegU.js} +2 -2
- package/_assets/{more-DOT52_aN.js → more-Dg2B8rio.js} +3 -3
- package/_assets/{native-UMs_9ER2.js → native-CTjG-6uw.js} +2 -2
- package/_assets/{network-placeholder-CCjuxrNi.js → network-placeholder-h8TrKQkX.js} +2 -2
- package/_assets/{networks-BxL8Ab1j.js → networks-DcWUPxCR.js} +2 -2
- package/_assets/{nftPlaceholder-DKgXm473.js → nftPlaceholder-B4g7qDN6.js} +3 -3
- package/_assets/off-UwuZMWU-.js +9 -0
- package/_assets/{onramp-DxZRTgp3.js → onramp-i_2R0Aty.js} +2 -2
- package/_assets/openzeppelin-CRJGheas.js +2 -0
- package/_assets/ownerOf-Cg4HNQ0Q.js +2 -0
- package/_assets/parseNft-C5TjCi9l.js +3 -0
- package/_assets/{parseSignature-BI_WyMN8.js → parseSignature-BkGllSKb.js} +2 -2
- package/_assets/{parseSignature-B_rheFpA.js → parseSignature-DlxX_eFH.js} +4 -4
- package/_assets/{passkeys-D1ovHh1n.js → passkeys-DHzFFqFt.js} +2 -2
- package/_assets/{pay-with-exchange-CAo2mIu7.js → pay-with-exchange-Da-95QjC.js} +2 -2
- package/_assets/{play-store-bj7y3y5Y.js → play-store-B1ADa5-a.js} +2 -2
- package/_assets/{plus-CfzKaqvY.js → plus-CkIDGwOx.js} +2 -2
- package/_assets/{prepare-contract-call-CC-FfypC.js → prepare-contract-call-DRyZHwAJ.js} +2 -2
- package/_assets/{qr-code-Bn6kdgY5.js → qr-code-DInpw8H9.js} +3 -3
- package/_assets/{qr-overlay-Dqlh9s-P.js → qr-overlay-B5-Cv-4F.js} +4 -4
- package/_assets/{react-D7J-E0MH.js → react-DaBuTM6Q.js} +2 -2
- package/_assets/{receive-Cqln7Zzs.js → receive-BxwWtavl.js} +2 -2
- package/_assets/{recycle-horizontal-Com6QZtq.js → recycle-horizontal-frlUVLoe.js} +2 -2
- package/_assets/{ref-CZIG3V0U.js → ref-BDtPbYkK.js} +3 -3
- package/_assets/{refresh-KnsbHvKc.js → refresh-BJgYdDWe.js} +3 -3
- package/_assets/{reown-logo-BuYZi0Rx.js → reown-logo-CptpO-OK.js} +2 -2
- package/_assets/{resolveImplementation-CbOxSd1Z.js → resolveImplementation-UAeMoslS.js} +2 -2
- package/_assets/{resume-buy-qr8Z1bgQ.js → resume-buy-DshgN9vm.js} +2 -2
- package/_assets/{rpc-6QQor2XU.js → rpc-xoh1bqpg.js} +2 -2
- package/_assets/{sales-empty-B3qcIyi6.js → sales-empty-B0QNGz8U.js} +2 -2
- package/_assets/{search-Ce8CzTDv.js → search-CovtTjFk.js} +3 -3
- package/_assets/{search-empty-B2ikWLFM.js → search-empty-CiaPLxpu.js} +2 -2
- package/_assets/{secp256k1-N7Qrv3ox.js → secp256k1-B6GZ7kat.js} +2 -2
- package/_assets/{secp256k1-DibZRl6e.js → secp256k1-CI4_BdKy.js} +2 -2
- package/_assets/{secp256k1-CQeO8_L9.js → secp256k1-IgPcu2TC.js} +2 -2
- package/_assets/{send-B-AElJGe.js → send-BqmhOSPb.js} +2 -2
- package/_assets/{send-fc370TIG.js → send-CMxH0R30.js} +2 -2
- package/_assets/{send-batch-transaction-UJjMLB2L.js → send-batch-transaction-_47YxVXu.js} +2 -2
- package/_assets/{send-eip712-transaction-DSyJkl_1.js → send-eip712-transaction-dUQPsneg.js} +3 -3
- package/_assets/send-gasless-transaction-C9qimzDD.js +3 -0
- package/_assets/send-transaction-C00epVak.js +3 -0
- package/_assets/{sendMetaTransaction-C6Fbql0T.js → sendMetaTransaction-D_Udygrx.js} +2 -2
- package/_assets/{sendRawTransaction-BapPv41W.js → sendRawTransaction-3Tc8O82f.js} +4 -4
- package/_assets/{sentry-BK5YQzUx.js → sentry-ilLelGl_.js} +3 -3
- package/_assets/{serializeTransaction-vu5gUsgc.js → serializeTransaction-BN5Z150K.js} +2 -2
- package/_assets/session-proposal-DFNQHP37.js +2 -0
- package/_assets/{session-request-BSVWGsvU.js → session-request-D-kuAKOc.js} +3 -3
- package/_assets/{sha256-CEHbBAco.js → sha256-C6I6NkPD.js} +2 -2
- package/_assets/sha3-CcKshJ6_.js +2 -0
- package/_assets/signin-empty-C52WOkGa.js +2 -0
- package/_assets/{signing-BmfCro8S.js → signing-D_eQ6aEY.js} +4 -4
- package/_assets/{skeleton.styles-BN71VInw.js → skeleton.styles-B7ceCvK9.js} +2 -2
- package/_assets/{socials-BHFgLpAJ.js → socials-DCNPHMgt.js} +2 -2
- package/_assets/{styled-Doc5cwwv.js → styled-TsFrVdC0.js} +3 -3
- package/_assets/{swapHorizontal-CVwm3cGO.js → swapHorizontal-BzkqO77h.js} +3 -3
- package/_assets/{swapHorizontalBold-BJtM3bfy.js → swapHorizontalBold-Ci7CW-Ps.js} +2 -2
- package/_assets/{swapHorizontalMedium-Dy-L1gY3.js → swapHorizontalMedium-BIJFHqWY.js} +3 -3
- package/_assets/{swapHorizontalRoundedBold-CISDmUGp.js → swapHorizontalRoundedBold-DgbOKQnq.js} +2 -2
- package/_assets/{swapVertical-DOqonLJ7.js → swapVertical-AbfbZRwH.js} +2 -2
- package/_assets/{swaps-K7u4TcXn.js → swaps-CicFV6pq.js} +2 -2
- package/_assets/{telegram-BgdgHDgu.js → telegram-D7G_eJ_b.js} +2 -2
- package/_assets/{thirdweb-BcMQ69Q0.js → thirdweb-Vp1uscmH.js} +4 -4
- package/_assets/{three-dots-QLVpeBJu.js → three-dots-OoMaedcW.js} +2 -2
- package/_assets/{to-serializable-transaction-BrhQQJr8.js → to-serializable-transaction-BT5px6SS.js} +3 -3
- package/_assets/totalSupply-CkL8_XXt.js +2 -0
- package/_assets/{transaction-HCF_3XYc.js → transaction-sOBP-DPj.js} +2 -2
- package/_assets/transactionReceipt--9bOdV8l.js +2 -0
- package/_assets/transactions-CWkneGU6.js +17 -0
- package/_assets/{twitch-DQ-6J5eN.js → twitch-XFZ_dW-0.js} +2 -2
- package/_assets/{twitterIcon-DqfN9e83.js → twitterIcon-DFIrOz7L.js} +2 -2
- package/_assets/{useCreditPacks-C4goi1v6.js → useCreditPacks-DGUqMJ6U.js} +2 -2
- package/_assets/{useInfiniteGrid-x8-KLPvB.js → useInfiniteGrid-DpNO4hZU.js} +2 -2
- package/_assets/useStore-HIvj56kg.js +3 -0
- package/_assets/useTheme-5m8LACXM.js +2 -0
- package/_assets/{utils-BIDnbzds.js → utils-Ci73E7nx.js} +2 -2
- package/_assets/{verify-B6D4ZoTL.js → verify-CtqWYnsr.js} +3 -3
- package/_assets/{verify-filled-IL97d6Q4.js → verify-filled-db_bDI2X.js} +3 -3
- package/_assets/{verifyHash-zWGUEzxO.js → verifyHash-Bk-B5GPz.js} +2 -2
- package/_assets/{w3m-modal-DieNoy5B.js → w3m-modal-BTUtrhm6.js} +2 -2
- package/_assets/{w3m-modal-npxivmAE.js → w3m-modal-BtyAd8rE.js} +2 -2
- package/_assets/wait-for-tx-receipt-Cbmd9TUG.js +2 -0
- package/_assets/{wallet-CeCbopsa.js → wallet-C7Nkm-1r.js} +3 -3
- package/_assets/{wallet-placeholder-Crzo6d1g.js → wallet-placeholder-BAZfiJ4M.js} +2 -2
- package/_assets/{walletconnect-CeZHyiFa.js → walletconnect-jD4HJXgj.js} +2 -2
- package/_assets/{wallets-BX3reIDg.js → wallets-CUIygOS2.js} +6 -6
- package/_assets/{warning-circle-CYZb1kuW.js → warning-circle-DG9C8ETA.js} +3 -3
- package/_assets/{web-connector-B-Qttl4q.js → web-connector-BIkHBHih.js} +4 -4
- package/_assets/{writeContract-DBB3GCUP.js → writeContract-CEDCT-Ld.js} +2 -2
- package/_assets/{x-EU6Vt-ZK.js → x-B-2M90IQ.js} +2 -2
- package/_assets/{zora-sepolia-4aZYsx8C.js → zora-sepolia-C43Ueozz.js} +2 -2
- package/_assets/{zoraTestnet-k4gEq1qt.js → zoraTestnet-CnMCD5vw.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/_assets/Cart-Cz1_8pDF.js +0 -748
- package/_assets/Confetti-TvBa-8L0.js +0 -18
- package/_assets/ItemDetail-O0E45P4x.js +0 -3778
- package/_assets/LoadMore-DgGHun07.js +0 -8
- package/_assets/MyAssets-B_B3e16w.js +0 -1077
- package/_assets/NotFound-C19ay2J0.js +0 -18
- package/_assets/OutfitPreview-DnePnq6P.js +0 -7
- package/_assets/PhArrowUpRight-8pk20n2b.js +0 -15
- package/_assets/PhCaretDown-CAvzPGfo.js +0 -15
- package/_assets/PhCaretRight-fBgGDQoN.js +0 -15
- package/_assets/all-wallets-BC47z7en.js +0 -7
- package/_assets/arrow-left-ClBN6Qh3.js +0 -9
- package/_assets/async-directive-DRvTtDkq.js +0 -10
- package/_assets/builder-CEDpBFkW.js +0 -2
- package/_assets/buy-gasless-mSBHbIka.js +0 -2
- package/_assets/common-TqxBDIuh.js +0 -2
- package/_assets/crumbs.styles-BqMPTZMi.js +0 -10
- package/_assets/decimals-BlmrI4QX.js +0 -2
- package/_assets/decimals-CZlYYHvF.js +0 -2
- package/_assets/detectExtension-BES_31hM.js +0 -2
- package/_assets/estimate-l1-fee-Dh31wn7V.js +0 -2
- package/_assets/eth_estimateGas-UbaxlGnG.js +0 -2
- package/_assets/eth_getStorageAt-BUvTw4uP.js +0 -2
- package/_assets/eth_getTransactionCount-CGFdAd5L.js +0 -2
- package/_assets/ethereum-TadlwfdZ.js +0 -2
- package/_assets/fetchTokenMetadata-C1uUHgz6.js +0 -3
- package/_assets/get-ecosystem-wallet-info-W6y9v6fC.js +0 -2
- package/_assets/getInstalledModules-DWdNC3R0.js +0 -2
- package/_assets/getNFT-Op6nNTCr.js +0 -2
- package/_assets/in-app-wallet-calls-BivXJ6s-.js +0 -2
- package/_assets/index-Bi7YdA0p.js +0 -2
- package/_assets/index-ByiMU36z.css +0 -1
- package/_assets/index-OxIuflSf.js +0 -2
- package/_assets/jsxRuntime.module-DnBCkw57.js +0 -2
- package/_assets/linkAccount-B6zz4AhU.js +0 -2
- package/_assets/off-B-mPtvC1.js +0 -9
- package/_assets/openzeppelin-Cr4Y9xjf.js +0 -2
- package/_assets/ownerOf-DY8a2-2C.js +0 -2
- package/_assets/parseNft-DPdft2uD.js +0 -3
- package/_assets/send-gasless-transaction-ByJ2YdbP.js +0 -3
- package/_assets/send-transaction-8aUtEDXf.js +0 -3
- package/_assets/session-proposal-DigsDD4x.js +0 -2
- package/_assets/sha3-BShx66Ks.js +0 -2
- package/_assets/signin-empty-K31kGWGu.js +0 -2
- package/_assets/totalSupply-CuA1naxr.js +0 -2
- package/_assets/transactionReceipt-07DpCAC0.js +0 -2
- package/_assets/transactions-a9mQj56V.js +0 -17
- package/_assets/useStore-fPz8-87J.js +0 -3
- package/_assets/useTheme-DQw02uin.js +0 -2
- package/_assets/wait-for-tx-receipt-CLSVYeXT.js +0 -2
- package/_assets/wallet-Bhi-khZu.js +0 -2
- /package/_assets/{ItemDetail-B4Ll03xN.css → SaleCountdown-B4Ll03xN.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as u,L as W,d as re,j as e}from"./react-
|
|
1
|
+
import{r as u,L as W,d as re,j as e}from"./react-DaBuTM6Q.js";import{a6 as H,D as U,a7 as le,a8 as de,a9 as ce,aa as he,d as pe,s as i,I as L,ab as ue,ac as me,G as F,ad as xe,E as G,ae as ge,H as fe,c as n,af as V,ag as N,ah as be,ai as ye,aj as ve,ak as je,al as we,am as $e,an as ke,ao as Ie,ap as Ce,aq as Ee,ar as ze,as as Le,at as Fe,au as We,av as Ae,K as S,aw as O,ax as Se,ay as Oe,az as Te,aA as Pe,aB as Re,aC as Ne}from"./index-DzQkIbqv.js";import{d as B}from"./dcl-schemas-n1W5glLl.js";import{E as Q}from"./ErrorNotice-Dhs1BLZ6.js";import{E as Be}from"./EmotePlaybackBar-DKUTpuQ1.js";import{O as Me}from"./OutfitPreview-BT1g84TM.js";import{c as _e}from"./crumbs.styles-N13K8LJF.js";import"./sentry-ilLelGl_.js";import"./ethers-OrSZ5jmz.js";import"./intl-AKLEHPeO.js";import"./disposePreview-D5gU11Se.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},s=new t.Error().stack;s&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[s]="8070a986-aeef-468c-98d4-51dc2400219b",t._sentryDebugIdIdentifier="sentry-dbid-8070a986-aeef-468c-98d4-51dc2400219b")}catch{}})();function qe({address:t,outfitUrns:s,enabled:l=!0}){var b;const{data:r,isFetched:d}=H(t),m=((b=r==null?void 0:r.avatar)==null?void 0:b.wearables)??[],x=!!t&&!!r,p=m.join(","),c=l&&x&&m.length>0,{data:y,isLoading:v,isFetched:j}=U({queryKey:["wearable-rules",p],enabled:c,staleTime:30*6e4,retry:!1,queryFn:()=>he(m)}),k=s.join(",");return u.useMemo(()=>{const I=!!t&&!d||v||c&&!j;return x?{profile:"default",bodyShape:ce(r)??void 0,urns:[...de(y??[]),...s],...le(r),isLoading:I}:{profile:"default",urns:s,isLoading:I}},[t,x,r,d,y,v,j,c,k])}const{colors:o,radius:$,media:h,gradients:De}=pe,J=i.div`
|
|
2
2
|
max-width: 1721px;
|
|
3
3
|
margin: 0 auto;
|
|
4
4
|
/* The page's bottom padding is 56px, but the phone CTA bar is sticky and has its own bottom padding for the safe area.
|
|
@@ -75,7 +75,7 @@ import{r as u,L as W,d as re,j as e}from"./react-D7J-E0MH.js";import{a5 as H,E a
|
|
|
75
75
|
flex-direction: column;
|
|
76
76
|
gap: 15px;
|
|
77
77
|
min-height: 0;
|
|
78
|
-
`,
|
|
78
|
+
`,Ge=i.h1`
|
|
79
79
|
font-size: 28px;
|
|
80
80
|
font-weight: 600;
|
|
81
81
|
color: ${o.softWhite};
|
|
@@ -85,13 +85,13 @@ import{r as u,L as W,d as re,j as e}from"./react-D7J-E0MH.js";import{a5 as H,E a
|
|
|
85
85
|
font-size: 20px;
|
|
86
86
|
line-height: 24px;
|
|
87
87
|
}
|
|
88
|
-
`,
|
|
88
|
+
`,Ve=i.p`
|
|
89
89
|
font-size: 12px;
|
|
90
90
|
font-weight: 500;
|
|
91
91
|
letter-spacing: 0.04em;
|
|
92
92
|
text-transform: uppercase;
|
|
93
93
|
color: ${o.gray4};
|
|
94
|
-
`,
|
|
94
|
+
`,Qe=i.div`
|
|
95
95
|
flex: 0 1 auto;
|
|
96
96
|
min-height: 0;
|
|
97
97
|
overflow-y: auto;
|
|
@@ -108,7 +108,7 @@ import{r as u,L as W,d as re,j as e}from"./react-D7J-E0MH.js";import{a5 as H,E a
|
|
|
108
108
|
padding: 0;
|
|
109
109
|
margin: 0;
|
|
110
110
|
}
|
|
111
|
-
`,
|
|
111
|
+
`,Je=i.ul`
|
|
112
112
|
list-style: none;
|
|
113
113
|
margin: 0;
|
|
114
114
|
padding: 0;
|
|
@@ -365,5 +365,5 @@ import{r as u,L as W,d as re,j as e}from"./react-D7J-E0MH.js";import{a5 as H,E a
|
|
|
365
365
|
`,mt=i.p`
|
|
366
366
|
margin: 0;
|
|
367
367
|
color: ${o.gray4};
|
|
368
|
-
`,K="outfit-detail-preview";function Lt(){const{id:t}=re(),s=
|
|
369
|
-
//# sourceMappingURL=OutfitDetail-
|
|
368
|
+
`,K="outfit-detail-preview";function Lt(){const{id:t}=re(),s=G(c=>c.session),l=ge(),r=l==="creator",{data:d,isError:m,refetch:x}=U({queryKey:["outfit",t,r],enabled:N()&&!!t,staleTime:6e4,queryFn:()=>Ne(t,r&&s?s.identity:void 0)}),p=!N()||!t||d===null&&l!=="pending";return fe(p?{title:n("seo.outfit.notFoundTitle"),noindex:!0}:d?{title:d.name,image:V(d.thumbnailHash)??void 0}:{}),p?e.jsxs(D,{"data-testid":"outfit-notfound",children:[e.jsx(pt,{name:"cart",size:44}),e.jsx(ut,{children:n("outfits.detail.notFoundTitle")}),e.jsx(mt,{children:n("outfits.detail.notFoundBody")}),e.jsx(F,{as:W,to:"/items",variant:"purple",children:n("notFound.cta")})]}):m?e.jsxs(D,{"data-testid":"outfit-detail-error",children:[e.jsx(Q,{message:n("outfits.errors.generic")}),e.jsx(F,{variant:"purple",onClick:()=>void x(),children:n("outfits.detail.retry")})]}):d?e.jsx(gt,{outfit:d}):e.jsx(J,{"aria-busy":"true","data-testid":"outfit-detail-loading",children:e.jsxs(X,{children:[e.jsx(Y,{children:e.jsx("span",{className:"skeleton",style:{position:"absolute",inset:0},"aria-hidden":!0})}),e.jsxs(Z,{children:[e.jsx("span",{className:"skeleton",style:{width:"60%",height:32},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"40%",height:16},"aria-hidden":!0}),e.jsx("span",{className:"skeleton",style:{width:"100%",height:48},"aria-hidden":!0})]})]})})}function xt({item:t}){const s=Se(t),l=Oe(t.gender);return e.jsxs(at,{children:[t.rarity?e.jsx(z,{"data-variant":"rarity",style:{background:Re(t.rarity)},title:Pe(t.rarity),children:Te(t.rarity)}):null,t.isSmart?e.jsxs(z,{"data-variant":"smart",children:[e.jsx(L,{name:"smart",size:13}),n("assetCard.smart")]}):null,s?e.jsx(z,{"data-variant":"icon",children:e.jsx(L,{name:s})}):null,l?e.jsx(z,{"data-variant":"icon",children:e.jsx(L,{name:l})}):null]})}function gt({outfit:t}){const s=be(t),{split:l,availableCount:r,totalCredits:d,outfitCredits:m,addOutfit:x,isAdding:p}=ye(t,s),c=G(a=>{var w;return(w=a.session)==null?void 0:w.address}),y=ve(a=>a.items),v=u.useMemo(()=>new Set(y.map(je)),[y]),j=V(t.thumbnailHash),k=u.useRef(null);u.useEffect(()=>{k.current!==t.id&&(k.current=t.id,we("Shop Outfit Viewed",{outfit_id:t.id,item_count:t.items.length}))},[t.id,t.items.length]);const b=u.useMemo(()=>t.items.map(a=>{const w=$e(a),A=s.byKey.get(w)??null;return{key:w,item:A,state:A?ke(A,{address:c,cartKeys:v}):"missing"}}),[t,s.byKey,c,v]),{isFetched:I}=H(c),ee=!c||I,te=t.bodyShape==="female"?Ie:t.bodyShape==="male"?Ce:void 0,g=u.useMemo(()=>b.map(a=>a.item).filter(a=>!!a),[b]),P=u.useMemo(()=>Ee(g),[g]),ie=u.useMemo(()=>ze(g),[g]),R=u.useMemo(()=>{const a=Le(g);return a?Fe(a):null},[g]),ae=R??B.PreviewEmote.FASHION,se=!!R,f=qe({address:c,outfitUrns:P}),ne=t.items.length,oe=!s.isLoading&&!s.isError,C=l.purchasable.length;return e.jsxs(J,{"data-testid":"outfit-detail",children:[e.jsxs(Ke,{"aria-label":n("outfits.detail.breadcrumbAria"),children:[e.jsx(M,{to:"/overview",children:n("nav.overview")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(M,{to:"/overview",children:n("outfits.detail.breadcrumbLooks")}),e.jsx("span",{"aria-hidden":!0,children:">"}),e.jsx(He,{children:t.name})]}),e.jsxs(X,{children:[e.jsx(Y,{"data-testid":"outfit-detail-preview",style:{background:We(t)},children:j&&!s.isLoading&&P.length===0?e.jsx(Ue,{src:j,alt:t.name}):e.jsx(Me,{id:K,profile:f.profile,bodyShape:ie??f.bodyShape??te,urns:f.urns,emote:ae,unityMode:B.PreviewUnityMode.BUILDER,skin:f.skin,hair:f.hair,eyes:f.eyes,enabled:ee&&!f.isLoading&&!s.isLoading,controls:se?e.jsx(Be,{previewId:K,testId:"outfit-emote-controls"}):null})}),e.jsxs(Z,{children:[e.jsx(Ge,{children:t.name}),e.jsx(Ve,{"data-testid":"outfit-detail-meta",children:n("outfits.detail.itemsCount",{count:ne})}),s.isError?e.jsxs(nt,{children:[e.jsx(Q,{message:n("outfits.detail.resolveError"),testId:"outfit-detail-resolve-error"}),e.jsx(F,{variant:"outline","data-testid":"outfit-detail-retry",onClick:s.retry,children:n("outfits.detail.retry")})]}):e.jsxs(e.Fragment,{children:[e.jsx(Qe,{children:e.jsx(Je,{children:b.map(a=>e.jsx(Xe,{"data-testid":"outfit-detail-item","data-state":a.state,children:a.item?e.jsxs(e.Fragment,{children:[e.jsx(Ye,{to:`/item/${a.item.contractAddress}/${a.item.itemId}`,state:{item:a.item},"aria-label":a.item.name}),e.jsx(Ze,{src:a.item.thumbnail,alt:"",loading:"lazy"}),e.jsxs(_,{children:[e.jsx(T,{children:a.item.name}),a.item.creator?e.jsx(tt,{to:`/items/creator/${a.item.creator}`,children:e.jsx(Ae,{address:a.item.creator})}):null,e.jsxs(q,{children:[a.state!=="unavailable"?e.jsxs(it,{children:[e.jsx(S,{size:15}),e.jsx(O,{credits:a.item.priceCredits})]}):null,a.state==="unavailable"?e.jsx(E,{children:n("outfits.card.unavailable")}):a.state==="own_listing"?e.jsx(E,{children:n("outfits.detail.yourListing")}):a.state==="in_cart"?e.jsx(E,{children:n("outfits.detail.inCart")}):null,e.jsx(xt,{item:a.item})]})]})]}):e.jsxs(e.Fragment,{children:[e.jsx(et,{className:s.isLoading?"skeleton":void 0,"aria-hidden":!0}),e.jsx(_,{children:s.isLoading?e.jsx(T,{children:e.jsx("span",{className:"skeleton",style:{display:"block",width:"70%",height:14}})}):e.jsxs(e.Fragment,{children:[e.jsx(T,{children:n("outfits.card.unavailable")}),e.jsx(q,{children:e.jsx(E,{children:n("outfits.card.unavailable")})})]})})]})},a.key))})}),e.jsxs(ot,{"data-testid":"outfit-detail-ctabar",children:[oe&&l.ownListing.length>0?e.jsx(st,{children:n("outfits.detail.yourListingHint")}):null,g.length>0&&e.jsxs(rt,{children:[e.jsx(lt,{children:n("outfits.detail.totalPrice")}),s.isLoading?e.jsx("span",{className:"skeleton",style:{width:64,height:26},"aria-hidden":!0}):e.jsxs(dt,{children:[e.jsx(S,{size:22}),e.jsx(O,{credits:m})]})]}),s.isLoading?e.jsx("span",{className:"skeleton",style:{width:"100%",height:52,borderRadius:26},"aria-hidden":!0}):e.jsxs(ct,{variant:"purple","data-testid":"outfit-detail-cta",onClick:x,disabled:p||C===0,"aria-busy":p||void 0,children:[p?n("outfits.card.adding"):C>0?n("outfits.detail.addCount",{count:C}):r>0?n("outfits.detail.nothingToAdd"):n("outfits.card.unavailable"),!p&&C>0?e.jsxs(ht,{children:[e.jsx(S,{size:16}),e.jsx(O,{credits:d})]}):null]})]})]})]})]})]})}export{Lt as OutfitDetail,Lt as default};
|
|
369
|
+
//# sourceMappingURL=OutfitDetail-DccboofD.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{r as u,j as f}from"./react-DaBuTM6Q.js";import{d as m}from"./dcl-schemas-n1W5glLl.js";import{b7 as S,D as T,s as _,aj as q,b8 as M,b9 as U,ba as W,c as k}from"./index-DzQkIbqv.js";import{d as C}from"./disposePreview-D5gU11Se.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="3008258f-6493-4ee0-866c-fb8cf25c5306",e._sentryDebugIdIdentifier="sentry-dbid-3008258f-6493-4ee0-866c-fb8cf25c5306")}catch{}})();function h(e){return e.startsWith("urn:")}function $(e,n){var o,d;const s=(o=e.metadata)==null?void 0:o.emoteDataADR74;if(!((d=s==null?void 0:s.representations)!=null&&d.length))return null;const a=new Map((e.content??[]).map(r=>[r.file,r.hash])),t=s.representations.map(r=>({...r,contents:(r.contents??[]).filter(c=>a.has(c)).map(c=>({key:c,url:`${n}/content/contents/${a.get(c)}`}))}));return t.every(r=>r.contents.length===0)?null:{base64:H({...e.metadata,emoteDataADR74:{...s,representations:t}}),loop:!!s.loop}}function H(e){return btoa(JSON.stringify(e).replace(/[^\x20-\x7f]/g,""))}async function J(e,n=S([e]),s){var a;try{const t=await fetch(`${n}/content/entities/active`,{method:"POST",headers:{"content-type":"application/json"},body:JSON.stringify({pointers:[e]}),signal:s});if(!t.ok)return await((a=t.body)==null?void 0:a.cancel()),null;const[o]=await t.json();return o?$(o,n):null}catch{return null}}function K(e){var s,a;const n=T({queryKey:["emote-base64",e],enabled:!!e,staleTime:18e5,retry:!1,queryFn:({signal:t})=>J(e,void 0,t)});return{base64:((s=n.data)==null?void 0:s.base64)??null,loop:((a=n.data)==null?void 0:a.loop)??!1,isLoading:n.isLoading}}const Q=_.div`
|
|
2
|
+
position: absolute;
|
|
3
|
+
inset: 0;
|
|
4
|
+
display: grid;
|
|
5
|
+
place-items: center;
|
|
6
|
+
`;function X({id:e,profile:n,bodyShape:s,urns:a,emote:t=m.PreviewEmote.FASHION,enabled:o=!0,skin:d,hair:r,eyes:c,unityMode:E=m.PreviewUnityMode.BUILDER,controls:x,onRenderer:I}){const j=q(l=>l.fittingOpen),{ref:A,active:D}=M(),g=t&&h(t)?t:null,{base64:p,loop:O,isLoading:R}=K(g),i=o&&a.length>0&&D&&!j&&!R,B=U(a)===m.ChainName.MATIC_AMOY,[L,y]=u.useState(!1),P=a.join(",");u.useEffect(()=>{y(!1)},[P,n,s,t,d,r,c]),u.useEffect(()=>{i&&y(!1)},[i]);const[F,v]=u.useState(!1);u.useEffect(()=>{if(!i){v(!1);return}let l=0,N=0;const w=()=>{document.getElementById(e)?v(!0):N++<300&&(l=requestAnimationFrame(w))};return w(),()=>cancelAnimationFrame(l)},[i,e]);const b=u.useRef(null);return u.useEffect(()=>{if(i)return()=>{C(b.current),b.current=null}},[i]),f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:A,"data-preview-viewport":!0,"aria-hidden":!0}),i?f.jsx(W,{id:e,profile:n,bodyShape:s,urns:a,skin:d,hair:r,eyes:c,type:m.PreviewType.AVATAR,emote:g?void 0:t&&!h(t)?t:void 0,base64s:p?[p]:void 0,disableDefaultEmotes:!!p&&!O,unityMode:E,disableBackground:!0,disableFadeEffect:!0,dev:B,onRenderer:I,onLoad:()=>{var l;y(!0),b.current=((l=document.getElementById(e))==null?void 0:l.contentWindow)??null}},n):null,F?x:null,o&&a.length===0?null:!i||!L?f.jsx(Q,{"aria-busy":"true","aria-label":k("spinner.loading"),children:f.jsx("span",{className:"spinner","aria-hidden":!0})}):null]})}export{X as O};
|
|
7
|
+
//# sourceMappingURL=OutfitPreview-BT1g84TM.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,j as t,L as
|
|
1
|
+
import{r as d,j as t,L as A,d as Xt,b as Yt,u as Jt}from"./react-DaBuTM6Q.js";import{s,d as ut,I as _,aQ as Zt,c as e,K as ot,aw as at,G as m,x as Tt,E as Y,ae as te,H as ee,aR as ie,Z as se,L as Ct,D as Et,ah as oe,am as z,aS as V,aT as ae,aU as re,aV as X,aq as ne,as as de,ao as le,ap as ue,af as Lt,au as ce,aW as rt,aX as pe,aY as fe,aZ as he,N as F,a_ as Rt,a$ as zt,b0 as O,i as nt,b1 as dt,b2 as xe,b3 as me,b4 as ge,al as be,b5 as ye,b6 as je,aC as ve}from"./index-DzQkIbqv.js";import{s as we}from"./signin-empty-C52WOkGa.js";import{E as U}from"./ErrorNotice-Dhs1BLZ6.js";import{L as $e}from"./LoadMore-3LNbX1EU.js";import{u as ke}from"./useInfiniteGrid-DpNO4hZU.js";import{O as Se}from"./OutfitPreview-BT1g84TM.js";import{T as Ie}from"./skeleton.styles-B7ceCvK9.js";import"./dcl-schemas-n1W5glLl.js";import"./sentry-ilLelGl_.js";import"./ethers-OrSZ5jmz.js";import"./intl-AKLEHPeO.js";import"./disposePreview-D5gU11Se.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},f=new r.Error().stack;f&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[f]="3cecc4a6-4d49-4347-8a33-834e4622a4b7",r._sentryDebugIdIdentifier="sentry-dbid-3cecc4a6-4d49-4347-8a33-834e4622a4b7")}catch{}})();const{colors:x,radius:J,media:Te}=ut,Ce=s.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
gap: 12px;
|
|
@@ -7,7 +7,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
7
7
|
align-items: center;
|
|
8
8
|
gap: 8px;
|
|
9
9
|
border: 1px solid rgba(255, 255, 255, 0.45);
|
|
10
|
-
border-radius: ${
|
|
10
|
+
border-radius: ${J.pill};
|
|
11
11
|
padding: 0 14px;
|
|
12
12
|
height: 44px;
|
|
13
13
|
background: rgba(0, 0, 0, 0.25);
|
|
@@ -35,7 +35,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
35
35
|
`,Re=s.button`
|
|
36
36
|
min-height: 44px;
|
|
37
37
|
padding: 0 16px;
|
|
38
|
-
border-radius: ${
|
|
38
|
+
border-radius: ${J.pill};
|
|
39
39
|
border: 1px solid rgba(255, 255, 255, 0.45);
|
|
40
40
|
background: none;
|
|
41
41
|
font: inherit;
|
|
@@ -58,8 +58,8 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
58
58
|
}
|
|
59
59
|
`,ze=s.span`
|
|
60
60
|
height: 190px;
|
|
61
|
-
border-radius: ${
|
|
62
|
-
`,
|
|
61
|
+
border-radius: ${J.card};
|
|
62
|
+
`,We=s.button`
|
|
63
63
|
position: relative;
|
|
64
64
|
display: flex;
|
|
65
65
|
flex-direction: column;
|
|
@@ -67,7 +67,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
67
67
|
padding: 8px;
|
|
68
68
|
background: rgba(0, 0, 0, 0.4);
|
|
69
69
|
border: 1px solid transparent;
|
|
70
|
-
border-radius: ${
|
|
70
|
+
border-radius: ${J.card};
|
|
71
71
|
text-align: left;
|
|
72
72
|
font: inherit;
|
|
73
73
|
color: ${x.softWhite};
|
|
@@ -86,7 +86,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
86
86
|
opacity: 0.5;
|
|
87
87
|
cursor: default;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,Pe=s.img`
|
|
90
90
|
width: 100%;
|
|
91
91
|
aspect-ratio: 1;
|
|
92
92
|
object-fit: cover;
|
|
@@ -98,20 +98,20 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
98
98
|
white-space: nowrap;
|
|
99
99
|
overflow: hidden;
|
|
100
100
|
text-overflow: ellipsis;
|
|
101
|
-
`,
|
|
101
|
+
`,Ae=s.span`
|
|
102
102
|
display: inline-flex;
|
|
103
103
|
align-items: center;
|
|
104
104
|
gap: 4px;
|
|
105
105
|
font-size: 12px;
|
|
106
106
|
color: ${x.gray4};
|
|
107
|
-
`,
|
|
107
|
+
`,Fe=s(_)`
|
|
108
108
|
position: absolute;
|
|
109
109
|
top: 12px;
|
|
110
110
|
right: 12px;
|
|
111
111
|
color: ${x.accent};
|
|
112
112
|
background: ${x.white};
|
|
113
113
|
border-radius: 50%;
|
|
114
|
-
`,Ne=[{key:"wearable",labelKey:"categories.wearables"},{key:"emote",labelKey:"categories.emotes"}];function
|
|
114
|
+
`,Ne=[{key:"wearable",labelKey:"categories.wearables"},{key:"emote",labelKey:"categories.emotes"}];function De({selectedKeys:r,onPick:f,canPick:h}){const[c,y]=d.useState("wearable"),[j,b]=d.useState(""),[o,R]=d.useState("");d.useEffect(()=>{const l=setTimeout(()=>R(j.trim()),300);return()=>clearTimeout(l)},[j]);const{items:T,isLoading:C,isPlaceholderData:u,isError:S,hasNextPage:E,isFetchingNextPage:Z,fetchNextPage:$}=ke(["outfit-picker",c,o],l=>Zt({search:o||void 0,category:c,onSale:!0,listingType:"primary",first:24,skip:l,sortBy:"cheapest"})),g=e(c==="emote"?"outfits.studio.searchEmotes":"outfits.studio.searchWearables"),K=new Set,B=T.filter(l=>{if(!l.itemId)return!1;const v=`${l.contractAddress.toLowerCase()}-${l.itemId}`;return K.has(v)?!1:(K.add(v),!0)});return t.jsxs(Ce,{"data-testid":"outfit-picker",children:[t.jsx(Le,{role:"group","aria-label":e("outfits.studio.pickerCategory"),"data-testid":"outfit-picker-category",children:Ne.map(({key:l,labelKey:v})=>t.jsx(Re,{type:"button","data-category":l,"data-selected":c===l||void 0,"aria-pressed":c===l,onClick:()=>{y(l),b("")},children:e(v)},l))}),t.jsxs(Ee,{children:[t.jsx(_,{name:"search",color:ut.colors.muted}),t.jsx("input",{value:j,placeholder:g,"aria-label":g,onChange:l=>b(l.target.value),"data-testid":"outfit-picker-search"})]}),S?t.jsx(wt,{children:e("outfits.errors.generic")}):C||u?t.jsx($t,{"aria-busy":"true",children:Array.from({length:8},(l,v)=>t.jsx(ze,{className:"skeleton","aria-hidden":!0},v))}):B.length===0?t.jsx(wt,{children:e("outfits.studio.noResults")}):t.jsx($t,{children:B.map(l=>{const v=`${l.contractAddress.toLowerCase()}-${l.itemId}`,H=r.has(v);return t.jsxs(We,{type:"button","data-testid":"outfit-picker-item","data-selected":H||void 0,disabled:!H&&!h(l),onClick:()=>f(l),title:l.name,children:[t.jsx(Pe,{src:l.thumbnail,alt:"",loading:"lazy"}),t.jsx(Oe,{children:l.name}),t.jsxs(Ae,{children:[t.jsx(ot,{size:12}),t.jsx(at,{credits:l.priceCredits})]}),H?t.jsx(Fe,{name:"check-rounded",size:18}):null]},v)})}),!S&&!C&&!u?t.jsx($e,{auto:!1,hasNextPage:!!E,isFetching:Z,onLoadMore:()=>void $()}):null]})}const{colors:n,radius:w,media:D,z:Be}=ut,Wt=s.div`
|
|
115
115
|
max-width: 1200px;
|
|
116
116
|
margin: 0 auto;
|
|
117
117
|
display: flex;
|
|
@@ -133,7 +133,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
133
133
|
margin: 0;
|
|
134
134
|
font-size: 13px;
|
|
135
135
|
color: ${n.gray4};
|
|
136
|
-
`,
|
|
136
|
+
`,Pt=s.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
align-items: center;
|
|
139
139
|
gap: 12px;
|
|
@@ -141,7 +141,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
141
141
|
font-size: 24px;
|
|
142
142
|
font-weight: 800;
|
|
143
143
|
margin-right: auto;
|
|
144
|
-
`,Me=s(
|
|
144
|
+
`,Me=s(A)`
|
|
145
145
|
display: inline-flex;
|
|
146
146
|
align-items: center;
|
|
147
147
|
justify-content: center;
|
|
@@ -153,7 +153,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
153
153
|
&:hover {
|
|
154
154
|
background: rgba(255, 255, 255, 0.14);
|
|
155
155
|
}
|
|
156
|
-
`,
|
|
156
|
+
`,At=s.span`
|
|
157
157
|
font-size: 12px;
|
|
158
158
|
font-weight: 700;
|
|
159
159
|
text-transform: uppercase;
|
|
@@ -182,17 +182,17 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
182
182
|
background: rgba(0, 0, 0, 0.4);
|
|
183
183
|
border-radius: ${w.card};
|
|
184
184
|
|
|
185
|
-
${
|
|
185
|
+
${D.maxWidth("mobile")} {
|
|
186
186
|
flex-wrap: wrap;
|
|
187
187
|
}
|
|
188
|
-
`,
|
|
188
|
+
`,Ft=Tt`
|
|
189
189
|
width: 52px;
|
|
190
190
|
height: 52px;
|
|
191
191
|
border-radius: 8px;
|
|
192
192
|
background: ${n.media};
|
|
193
193
|
flex-shrink: 0;
|
|
194
194
|
`,Ke=s.div`
|
|
195
|
-
${
|
|
195
|
+
${Ft};
|
|
196
196
|
overflow: hidden;
|
|
197
197
|
|
|
198
198
|
img {
|
|
@@ -202,7 +202,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
202
202
|
display: block;
|
|
203
203
|
}
|
|
204
204
|
`,Ge=s.span`
|
|
205
|
-
${
|
|
205
|
+
${Ft};
|
|
206
206
|
display: inline-block;
|
|
207
207
|
`,qe=s.div`
|
|
208
208
|
flex: 1;
|
|
@@ -222,16 +222,16 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
222
222
|
gap: 8px;
|
|
223
223
|
font-size: 13px;
|
|
224
224
|
color: ${n.gray4};
|
|
225
|
-
`,
|
|
225
|
+
`,Xe=s.div`
|
|
226
226
|
display: flex;
|
|
227
227
|
align-items: center;
|
|
228
228
|
gap: 8px;
|
|
229
229
|
|
|
230
|
-
${
|
|
230
|
+
${D.maxWidth("mobile")} {
|
|
231
231
|
width: 100%;
|
|
232
232
|
justify-content: flex-end;
|
|
233
233
|
}
|
|
234
|
-
`,
|
|
234
|
+
`,Ye=s.button`
|
|
235
235
|
display: inline-flex;
|
|
236
236
|
align-items: center;
|
|
237
237
|
justify-content: center;
|
|
@@ -252,10 +252,10 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
252
252
|
opacity: 0.5;
|
|
253
253
|
cursor: default;
|
|
254
254
|
}
|
|
255
|
-
`,
|
|
255
|
+
`,Je=s.div`
|
|
256
256
|
position: fixed;
|
|
257
257
|
inset: 0;
|
|
258
|
-
z-index: ${
|
|
258
|
+
z-index: ${Be.overlay};
|
|
259
259
|
display: grid;
|
|
260
260
|
place-items: center;
|
|
261
261
|
padding: 16px;
|
|
@@ -287,7 +287,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
287
287
|
gap: 32px;
|
|
288
288
|
align-items: start;
|
|
289
289
|
|
|
290
|
-
${
|
|
290
|
+
${D.maxWidth("mobile")} {
|
|
291
291
|
grid-template-columns: 1fr;
|
|
292
292
|
gap: 20px;
|
|
293
293
|
}
|
|
@@ -306,7 +306,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
306
306
|
overflow: hidden;
|
|
307
307
|
background: ${n.media};
|
|
308
308
|
|
|
309
|
-
${
|
|
309
|
+
${D.maxWidth("mobile")} {
|
|
310
310
|
aspect-ratio: 1 / 1;
|
|
311
311
|
}
|
|
312
312
|
|
|
@@ -331,11 +331,11 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
331
331
|
text-align: center;
|
|
332
332
|
color: ${n.softWhite};
|
|
333
333
|
text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
|
|
334
|
-
`,
|
|
334
|
+
`,W=s.div`
|
|
335
335
|
display: flex;
|
|
336
336
|
flex-direction: column;
|
|
337
337
|
gap: 8px;
|
|
338
|
-
`,
|
|
338
|
+
`,P=s.label`
|
|
339
339
|
font-size: 13px;
|
|
340
340
|
font-weight: 700;
|
|
341
341
|
letter-spacing: 0.04em;
|
|
@@ -465,7 +465,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
465
465
|
background: rgba(0, 0, 0, 0.4);
|
|
466
466
|
border-radius: ${w.card};
|
|
467
467
|
|
|
468
|
-
${
|
|
468
|
+
${D.maxWidth("mobile")} {
|
|
469
469
|
flex-wrap: wrap;
|
|
470
470
|
}
|
|
471
471
|
|
|
@@ -502,7 +502,7 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
502
502
|
color: ${n.softWhite};
|
|
503
503
|
white-space: nowrap;
|
|
504
504
|
|
|
505
|
-
${
|
|
505
|
+
${D.maxWidth("mobile")} {
|
|
506
506
|
order: 1;
|
|
507
507
|
margin-left: 50px;
|
|
508
508
|
}
|
|
@@ -553,5 +553,5 @@ import{r as d,j as t,L as F,d as Jt,b as Xt,u as Yt}from"./react-D7J-E0MH.js";im
|
|
|
553
553
|
display: flex;
|
|
554
554
|
flex-wrap: wrap;
|
|
555
555
|
gap: 10px;
|
|
556
|
-
`;function Vi(){const{id:r}=Jt(),{pathname:f}=Xt(),h=X(b=>b.session),c=X(b=>b.signIn),y=te();ee({title:e("outfits.studio.title"),noindex:!0});const j=f.endsWith("/new")?"new":r?"edit":"list";return y==="pending"?t.jsx(N,{"aria-busy":"true","data-testid":"outfit-studio-loading",children:t.jsx("span",{className:"spinner","aria-hidden":!0})}):h?y!=="creator"?t.jsxs(N,{"data-testid":"outfit-studio-unavailable",children:[t.jsx(He,{children:e("outfits.studio.title")}),t.jsx(k,{children:e("outfits.studio.notAvailable")}),t.jsx(m,{as:F,to:"/overview",variant:"white",children:e("outfits.studio.backToShop")})]}):j==="list"?t.jsx(zi,{}):t.jsx(Oi,{outfitId:j==="edit"?r:null},r??"new"):t.jsx(ie,{children:t.jsx(se,{testId:"outfit-studio-signin",icon:we,title:e("outfits.studio.signInTitle"),body:e("outfits.studio.signInBody"),cta:{label:e("outfits.studio.signIn"),onClick:()=>c()},ctaVariant:"solid",fill:!0})})}function Ri({outfit:r}){const f=Lt(r.thumbnailHash);return f?t.jsx(Ke,{style:{background:fe(r)},children:t.jsx("img",{src:f,alt:"",loading:"lazy"})}):t.jsx(Ge,{"aria-hidden":!0})}function zi(){const r=X(u=>u.session),f=Ct(),[h,c]=d.useState(null),[y,j]=d.useState(null),{data:b=[],isLoading:o,isError:R,refetch:T}=Et({queryKey:["outfits-all"],enabled:!!r,staleTime:3e4,queryFn:()=>je(r.identity)});async function C(u,S){if(r){j(u.id);try{S==="delete"?(await he(u.id,r.identity),A.success(e("outfits.studio.deleted"))):(await Rt({...lt(u),published:!1},r.identity,"update"),A.success(e("outfits.studio.unpublished"))),zt(f)}catch(E){E instanceof O||nt(E,{flow:`outfit-${S}`}),A.error(e(E instanceof O?dt(E.code):"outfits.errors.generic"))}finally{j(null),c(null)}}}return t.jsxs(Pt,{"data-testid":"outfit-studio-list",children:[t.jsxs(Wt,{children:[t.jsx(Ot,{children:e("outfits.studio.myOutfits")}),t.jsx(m,{as:F,to:"/outfits/new",variant:"white","data-testid":"outfit-studio-new",children:e("outfits.studio.new")})]}),o?t.jsx(kt,{"aria-busy":"true",children:Array.from({length:3},(u,S)=>t.jsx(Ue,{className:"skeleton","aria-hidden":!0},S))}):R?t.jsxs(N,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(m,{variant:"white",onClick:()=>void T(),children:e("outfits.detail.retry")})]}):b.length===0?t.jsx(k,{children:e("outfits.studio.empty")}):t.jsx(kt,{children:b.map(u=>t.jsxs(_e,{"data-testid":"outfit-studio-row","data-published":u.published||void 0,children:[t.jsx(Ri,{outfit:u}),t.jsxs(qe,{children:[t.jsx(Qe,{children:u.name||e("outfits.studio.untitled")}),t.jsxs(Ve,{children:[t.jsx(Ft,{"data-state":u.published?"published":"draft",children:u.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")}),e("outfits.card.items",{count:u.items.length})]})]}),t.jsxs(Je,{children:[u.published?t.jsx(m,{as:F,to:`/items/outfits/${u.id}`,variant:"ghost",size:"sm",children:e("outfits.studio.view")}):null,t.jsx(m,{as:F,to:`/outfits/${u.id}/edit`,variant:"outline",size:"sm","data-testid":"outfit-studio-edit",children:e("outfits.studio.edit")}),t.jsx(Xe,{type:"button","data-testid":"outfit-studio-delete","aria-label":e("outfits.studio.confirmDelete"),disabled:y===u.id,onClick:()=>c(u),children:t.jsx(_,{name:"trash",size:18})})]})]},u.id))}),h?t.jsxs(Ye,{role:"dialog","aria-modal":"true","aria-label":e("outfits.studio.deleteTitle"),"data-testid":"outfit-studio-confirm",children:[t.jsx(Ze,{onClick:()=>c(null)}),t.jsxs(ti,{children:[t.jsx(ei,{children:e("outfits.studio.deleteTitle")}),t.jsx("p",{className:"muted",children:e("outfits.studio.deleteBody")}),t.jsxs(ii,{children:[h.published?t.jsx(m,{variant:"purple","data-testid":"outfit-studio-confirm-unpublish",disabled:y===h.id,onClick:()=>void C(h,"unpublish"),children:e("outfits.studio.unpublish")}):null,t.jsx(m,{variant:h.published?"outline":"purple","data-testid":"outfit-studio-confirm-delete",disabled:y===h.id,onClick:()=>void C(h,"delete"),children:e("outfits.studio.confirmDelete")}),t.jsx(m,{variant:"ghost",onClick:()=>c(null),children:e("outfits.studio.cancel")})]})]})]}):null]})}const It=["image/png","image/jpeg","image/webp"];function Pi(){return{id:crypto.randomUUID(),name:"",thumbnailHash:"",items:[],bodyShape:"unisex",gradientFrom:rt.from,gradientTo:rt.to,published:!1}}function lt(r){return{id:r.id,name:r.name,thumbnailHash:r.thumbnailHash,items:r.items,bodyShape:r.bodyShape,gradientFrom:r.gradientFrom,gradientTo:r.gradientTo,published:r.published}}function Wi(r){try{const f=sessionStorage.getItem(r);return f?JSON.parse(f):null}catch{return null}}function Oi({outfitId:r}){const f=r===null,h=`outfit-draft:${r??"new"}`,c=X(i=>i.session),y=Ct(),j=Yt(),[b]=d.useState(()=>Wi(h)),[o,R]=d.useState(()=>b??(f?Pi():null)),[T,C]=d.useState(!!b),{data:u,isLoading:S,isError:E,refetch:Z}=Et({queryKey:["outfit",r,!0],enabled:!f&&!!c,staleTime:0,queryFn:()=>ve(r,c.identity)});d.useEffect(()=>{u&&R(i=>i??lt(u))},[u]);function $(i){R(a=>a&&{...a,...i}),C(!0)}d.useEffect(()=>{if(!(!o||!T))try{sessionStorage.setItem(h,JSON.stringify(o))}catch{}},[o,T,h]),d.useEffect(()=>{if(!T)return;const i=a=>a.preventDefault();return window.addEventListener("beforeunload",i),()=>window.removeEventListener("beforeunload",i)},[T]),d.useEffect(()=>()=>sessionStorage.removeItem(h),[h]);const g=oe(o??void 0),K=d.useMemo(()=>new Set(((o==null?void 0:o.items)??[]).map(z)),[o]),D=i=>ye((o==null?void 0:o.items)??[],i,g.byKey),l=i=>!!i.itemId&&D(i).length<=J;function v(i){!o||!l(i)||$({items:D(i)})}const[H,ct]=d.useState(null),L=d.useRef(null),tt=d.useRef(!0);d.useEffect(()=>(tt.current=!0,()=>{tt.current=!1}),[]);const[G,pt]=d.useState(!1),[Bt,q]=d.useState(null),[et,ft]=d.useState(""),[Dt,ht]=d.useState(null),[I,Ht]=d.useState();d.useEffect(()=>()=>{L.current&&URL.revokeObjectURL(L.current)},[]);function xt(){const i=ge(et);if(!i){ht(e("outfits.studio.importError"));return}ht(null),ft(""),Ht(i.colors),$({items:i.items,...i.bodyShape?{bodyShape:i.bodyShape}:{}}),A.success(e("outfits.studio.importSuccess",{count:i.items.length}))}async function Mt(i){if(!i||!c)return;if(q(null),!It.includes(i.type)){q(e("outfits.errors.unsupportedType"));return}if(i.size>xe){q(e("outfits.errors.tooLarge"));return}L.current&&URL.revokeObjectURL(L.current);const a=URL.createObjectURL(i);L.current=a,ct(a),pt(!0);try{const p=await me(i,c.identity);$({thumbnailHash:p})}catch(p){p instanceof O||nt(p,{flow:"outfit-thumbnail"}),q(e(p instanceof O?dt(p.code):"outfits.errors.generic")),L.current&&(URL.revokeObjectURL(L.current),L.current=null),ct(null)}finally{pt(!1)}}const[M,mt]=d.useState(!1),[Ut,gt]=d.useState(null),it=!!o&&o.name.trim().length>0&&o.name.length<=60,_t=!!o&&V(o.gradientFrom)&&V(o.gradientTo),bt=!!o&&o.items.some(i=>{const a=g.byKey.get(z(i));return!a||ae(a)}),yt=!!o&&it&&!!o.thumbnailHash&&_t&&bt&&o.items.length>=re&&o.items.length<=J;async function st(i){if(!(!c||!o||M)){mt(!0),gt(null);try{const a=await Rt({...o,published:i},c.identity,f?"create":"update");if(!tt.current)return;sessionStorage.removeItem(h),R(lt(a)),C(!1),zt(y),i&&!o.published?(be("Shop Outfit Published",{outfit_id:a.id,item_count:a.items.length}),A.success(e("outfits.studio.publishedToast"))):A.success(e("outfits.studio.saved")),f&&(y.setQueryData(["outfit",a.id,!0],a),j(`/outfits/${a.id}/edit`,{replace:!0}))}catch(a){a instanceof O||nt(a,{flow:"outfit-save"}),gt(e(a instanceof O?dt(a.code):"outfits.errors.generic"))}finally{mt(!1)}}}const Q=d.useMemo(()=>((o==null?void 0:o.items)??[]).map(i=>g.byKey.get(z(i))).filter(i=>!!i),[o,g.byKey]),jt=d.useMemo(()=>ne(Q),[Q]),Kt=d.useMemo(()=>{const i=de(Q);return i!=null&&i.itemId?z({contractAddress:i.contractAddress,itemId:i.itemId}):null},[Q]),Gt=(o==null?void 0:o.bodyShape)==="female"?le:(o==null?void 0:o.bodyShape)==="male"?ue:void 0;if(!c)return null;if(!o)return E?t.jsxs(N,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(m,{variant:"white",onClick:()=>void Z(),children:e("outfits.detail.retry")})]}):!S&&u===null?t.jsxs(N,{"data-testid":"outfit-studio-missing",children:[t.jsx(k,{children:e("outfits.errors.notFound")}),t.jsx(m,{as:F,to:"/outfits/manage",variant:"white",children:e("outfits.studio.myOutfits")})]}):t.jsx(N,{"aria-busy":"true",children:t.jsx("span",{className:"spinner","aria-hidden":!0})});const vt=H??Lt(o.thumbnailHash),qt={...o,authorAddress:(c==null?void 0:c.address)??"",createdAt:0,updatedAt:0},Qt=o.items.reduce((i,a)=>{var p;return i+(((p=g.byKey.get(z(a)))==null?void 0:p.priceCredits)??0)},0);return t.jsxs(Pt,{"data-testid":"outfit-studio-editor",children:[t.jsxs(Wt,{children:[t.jsx(Me,{to:"/outfits/manage","aria-label":e("outfits.studio.myOutfits"),"data-testid":"outfit-studio-back",children:t.jsx(_,{name:"arrow-left",size:18})}),t.jsx(Ot,{children:f?e("outfits.studio.new"):e("outfits.studio.editTitle")}),t.jsx(Ft,{"data-state":o.published?"published":"draft",children:o.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")})]}),t.jsxs(si,{children:[t.jsxs(oi,{children:[t.jsxs(ri,{"data-testid":"outfit-studio-preview",style:{background:ce(o)},children:[t.jsx(Se,{id:"outfit-studio-preview-frame",profile:"default",bodyShape:Gt,urns:jt,skin:I==null?void 0:I.skin,hair:I==null?void 0:I.hair,eyes:I==null?void 0:I.eyes,enabled:!g.isLoading}),jt.length===0&&!g.isLoading?t.jsx(ni,{children:e("outfits.studio.previewEmpty")}):null]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.bodyShape")}),t.jsx(di,{role:"group","aria-label":e("outfits.studio.bodyShape"),children:["unisex","male","female"].map(i=>t.jsx(li,{type:"button","data-selected":o.bodyShape===i||void 0,onClick:()=>$({bodyShape:i}),children:e(`outfits.studio.shape.${i}`)},i))})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.gradient")}),t.jsx(ci,{children:["gradientFrom","gradientTo"].map(i=>t.jsxs(pi,{children:[t.jsx(fi,{type:"color",value:V(o[i])?o[i]:rt.from,"aria-label":e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom"),"data-testid":i==="gradientFrom"?"outfit-studio-gradient-from":"outfit-studio-gradient-to",onChange:a=>$({[i]:a.target.value.toLowerCase()})}),t.jsxs(hi,{children:[t.jsx("span",{children:e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom")}),t.jsx(xi,{value:o[i],maxLength:7,spellCheck:!1,placeholder:"#000000","aria-label":e(i==="gradientFrom"?"outfits.studio.gradientTopHex":"outfits.studio.gradientBottomHex"),"data-invalid":!V(o[i])||void 0,onChange:a=>{const p=a.target.value.trim().toLowerCase();$({[i]:p.startsWith("#")||p===""?p:`#${p}`})}})]})]},i))}),t.jsx(k,{children:e("outfits.studio.gradientHint")})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.thumbnail")}),vt?t.jsx(ui,{"data-busy":G||void 0,children:t.jsx("img",{src:vt,alt:""})}):null,t.jsxs(gi,{as:"label",variant:"outline",size:"sm","data-busy":G||void 0,children:[G?e("outfits.studio.uploading"):e("outfits.studio.upload"),t.jsx("input",{type:"file",accept:It.join(","),hidden:!0,disabled:G,onChange:i=>{var a;return void Mt((a=i.target.files)==null?void 0:a[0])},"data-testid":"outfit-studio-thumb-input"})]}),t.jsx(k,{children:e("outfits.studio.thumbnailHint")}),t.jsx(U,{message:Bt,testId:"outfit-studio-thumb-error"})]}),t.jsxs(P,{children:[t.jsx(W,{as:"span",children:e("outfits.studio.cardPreview")}),t.jsx(mi,{"data-testid":"outfit-studio-card-preview",onClickCapture:i=>{i.preventDefault(),i.stopPropagation()},children:t.jsx(pe,{outfit:qt,resolution:g})})]})]}),t.jsxs(ai,{children:[t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-import",children:e("outfits.studio.import")}),t.jsxs(bi,{children:[t.jsx(St,{id:"outfit-import",value:et,spellCheck:!1,placeholder:e("outfits.studio.importPlaceholder"),onChange:i=>ft(i.target.value),onKeyDown:i=>{i.key==="Enter"&&xt()},"data-testid":"outfit-studio-import"}),t.jsx(m,{variant:"outline",size:"sm",onClick:xt,disabled:et.trim()==="","data-testid":"outfit-studio-import-apply",children:e("outfits.studio.importApply")})]}),t.jsx(k,{children:e("outfits.studio.importHint")}),t.jsx(U,{message:Dt,testId:"outfit-studio-import-error"})]}),t.jsxs(P,{children:[t.jsx(W,{htmlFor:"outfit-name",children:e("outfits.studio.name")}),t.jsx(St,{id:"outfit-name",value:o.name,maxLength:60,placeholder:e("outfits.studio.namePlaceholder"),onChange:i=>$({name:i.target.value}),"data-testid":"outfit-studio-name"})]}),t.jsxs(P,{children:[t.jsxs(W,{as:"span",children:[e("outfits.studio.items")," (",o.items.length,"/",J,")"]}),o.items.length===0?t.jsx(k,{children:e("outfits.studio.noItems")}):t.jsx(yi,{children:o.items.map(i=>{const a=z(i),p=g.byKey.get(a);return t.jsxs(ji,{"data-testid":"outfit-studio-selected","data-missing":!p||void 0,children:[p?t.jsx(vi,{src:p.thumbnail,alt:""}):t.jsx(wi,{className:g.isLoading?"skeleton":void 0,"aria-hidden":!0}),t.jsx($i,{className:p?void 0:"muted",children:p?p.name:g.isLoading?t.jsx(Ie,{className:"skeleton",width:96,"aria-hidden":!0}):e("outfits.card.unavailable")}),a===Kt?t.jsx(ki,{"data-testid":"outfit-studio-plays-in-preview",children:e("outfits.studio.playsInPreview")}):null,p?t.jsxs(Si,{children:[t.jsx(ot,{size:12}),t.jsx(at,{credits:p.priceCredits})]}):null,t.jsx(Ci,{type:"button","aria-label":e("outfits.studio.remove"),title:e("outfits.studio.remove"),onClick:()=>$({items:o.items.filter(Vt=>z(Vt)!==a)}),children:t.jsx(_,{name:"trash",size:16})})]},a)})}),o.items.length>0?t.jsxs(Ii,{"data-testid":"outfit-studio-total",children:[t.jsx("span",{children:e("outfits.detail.totalPrice")}),t.jsxs(Ti,{children:[t.jsx(ot,{size:14}),t.jsx(at,{credits:Qt})]})]}):null,o.items.length>=J?t.jsx(k,{children:e("outfits.studio.maxItems")}):null]}),t.jsx(Be,{selectedKeys:K,onPick:v,canPick:l})]})]}),t.jsxs(Ei,{"data-testid":"outfit-studio-savebar",children:[t.jsx(U,{message:Ut,testId:"outfit-studio-save-error"}),it?!yt&&!o.published?t.jsx(k,{"data-testid":"outfit-studio-publish-hint",children:!bt&&o.items.length>0?e("outfits.studio.needsWearable"):e("outfits.errors.notPublishable")}):null:t.jsx(k,{children:e("outfits.studio.needName")}),t.jsxs(Li,{children:[t.jsx(m,{variant:"outline","data-testid":"outfit-studio-save",disabled:M||!it,onClick:()=>void st(o.published),children:M?e("outfits.studio.saving"):e("outfits.studio.saveDraft")}),o.published?t.jsx(m,{variant:"white","data-testid":"outfit-studio-unpublish",disabled:M,onClick:()=>void st(!1),children:e("outfits.studio.unpublish")}):t.jsx(m,{variant:"white","data-testid":"outfit-studio-publish",disabled:M||!yt,onClick:()=>void st(!0),children:e("outfits.studio.publish")})]})]})]})}export{Vi as OutfitStudio,Vi as default};
|
|
557
|
-
//# sourceMappingURL=OutfitStudio-
|
|
556
|
+
`;function Vi(){const{id:r}=Xt(),{pathname:f}=Yt(),h=Y(b=>b.session),c=Y(b=>b.signIn),y=te();ee({title:e("outfits.studio.title"),noindex:!0});const j=f.endsWith("/new")?"new":r?"edit":"list";return y==="pending"?t.jsx(N,{"aria-busy":"true","data-testid":"outfit-studio-loading",children:t.jsx("span",{className:"spinner","aria-hidden":!0})}):h?y!=="creator"?t.jsxs(N,{"data-testid":"outfit-studio-unavailable",children:[t.jsx(He,{children:e("outfits.studio.title")}),t.jsx(k,{children:e("outfits.studio.notAvailable")}),t.jsx(m,{as:A,to:"/overview",variant:"white",children:e("outfits.studio.backToShop")})]}):j==="list"?t.jsx(zi,{}):t.jsx(Oi,{outfitId:j==="edit"?r:null},r??"new"):t.jsx(ie,{children:t.jsx(se,{testId:"outfit-studio-signin",icon:we,title:e("outfits.studio.signInTitle"),body:e("outfits.studio.signInBody"),cta:{label:e("outfits.studio.signIn"),onClick:()=>c()},ctaVariant:"solid",fill:!0})})}function Ri({outfit:r}){const f=Lt(r.thumbnailHash);return f?t.jsx(Ke,{style:{background:fe(r)},children:t.jsx("img",{src:f,alt:"",loading:"lazy"})}):t.jsx(Ge,{"aria-hidden":!0})}function zi(){const r=Y(u=>u.session),f=Ct(),[h,c]=d.useState(null),[y,j]=d.useState(null),{data:b=[],isLoading:o,isError:R,refetch:T}=Et({queryKey:["outfits-all"],enabled:!!r,staleTime:3e4,queryFn:()=>je(r.identity)});async function C(u,S){if(r){j(u.id);try{S==="delete"?(await he(u.id,r.identity),F.success(e("outfits.studio.deleted"))):(await Rt({...lt(u),published:!1},r.identity,"update"),F.success(e("outfits.studio.unpublished"))),zt(f)}catch(E){E instanceof O||nt(E,{flow:`outfit-${S}`}),F.error(e(E instanceof O?dt(E.code):"outfits.errors.generic"))}finally{j(null),c(null)}}}return t.jsxs(Wt,{"data-testid":"outfit-studio-list",children:[t.jsxs(Pt,{children:[t.jsx(Ot,{children:e("outfits.studio.myOutfits")}),t.jsx(m,{as:A,to:"/outfits/new",variant:"white","data-testid":"outfit-studio-new",children:e("outfits.studio.new")})]}),o?t.jsx(kt,{"aria-busy":"true",children:Array.from({length:3},(u,S)=>t.jsx(Ue,{className:"skeleton","aria-hidden":!0},S))}):R?t.jsxs(N,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(m,{variant:"white",onClick:()=>void T(),children:e("outfits.detail.retry")})]}):b.length===0?t.jsx(k,{children:e("outfits.studio.empty")}):t.jsx(kt,{children:b.map(u=>t.jsxs(_e,{"data-testid":"outfit-studio-row","data-published":u.published||void 0,children:[t.jsx(Ri,{outfit:u}),t.jsxs(qe,{children:[t.jsx(Qe,{children:u.name||e("outfits.studio.untitled")}),t.jsxs(Ve,{children:[t.jsx(At,{"data-state":u.published?"published":"draft",children:u.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")}),e("outfits.card.items",{count:u.items.length})]})]}),t.jsxs(Xe,{children:[u.published?t.jsx(m,{as:A,to:`/items/outfits/${u.id}`,variant:"ghost",size:"sm",children:e("outfits.studio.view")}):null,t.jsx(m,{as:A,to:`/outfits/${u.id}/edit`,variant:"outline",size:"sm","data-testid":"outfit-studio-edit",children:e("outfits.studio.edit")}),t.jsx(Ye,{type:"button","data-testid":"outfit-studio-delete","aria-label":e("outfits.studio.confirmDelete"),disabled:y===u.id,onClick:()=>c(u),children:t.jsx(_,{name:"trash",size:18})})]})]},u.id))}),h?t.jsxs(Je,{role:"dialog","aria-modal":"true","aria-label":e("outfits.studio.deleteTitle"),"data-testid":"outfit-studio-confirm",children:[t.jsx(Ze,{onClick:()=>c(null)}),t.jsxs(ti,{children:[t.jsx(ei,{children:e("outfits.studio.deleteTitle")}),t.jsx("p",{className:"muted",children:e("outfits.studio.deleteBody")}),t.jsxs(ii,{children:[h.published?t.jsx(m,{variant:"purple","data-testid":"outfit-studio-confirm-unpublish",disabled:y===h.id,onClick:()=>void C(h,"unpublish"),children:e("outfits.studio.unpublish")}):null,t.jsx(m,{variant:h.published?"outline":"purple","data-testid":"outfit-studio-confirm-delete",disabled:y===h.id,onClick:()=>void C(h,"delete"),children:e("outfits.studio.confirmDelete")}),t.jsx(m,{variant:"ghost",onClick:()=>c(null),children:e("outfits.studio.cancel")})]})]})]}):null]})}const It=["image/png","image/jpeg","image/webp"];function Wi(){return{id:crypto.randomUUID(),name:"",thumbnailHash:"",items:[],bodyShape:"unisex",gradientFrom:rt.from,gradientTo:rt.to,published:!1}}function lt(r){return{id:r.id,name:r.name,thumbnailHash:r.thumbnailHash,items:r.items,bodyShape:r.bodyShape,gradientFrom:r.gradientFrom,gradientTo:r.gradientTo,published:r.published}}function Pi(r){try{const f=sessionStorage.getItem(r);return f?JSON.parse(f):null}catch{return null}}function Oi({outfitId:r}){const f=r===null,h=`outfit-draft:${r??"new"}`,c=Y(i=>i.session),y=Ct(),j=Jt(),[b]=d.useState(()=>Pi(h)),[o,R]=d.useState(()=>b??(f?Wi():null)),[T,C]=d.useState(!!b),{data:u,isLoading:S,isError:E,refetch:Z}=Et({queryKey:["outfit",r,!0],enabled:!f&&!!c,staleTime:0,queryFn:()=>ve(r,c.identity)});d.useEffect(()=>{u&&R(i=>i??lt(u))},[u]);function $(i){R(a=>a&&{...a,...i}),C(!0)}d.useEffect(()=>{if(!(!o||!T))try{sessionStorage.setItem(h,JSON.stringify(o))}catch{}},[o,T,h]),d.useEffect(()=>{if(!T)return;const i=a=>a.preventDefault();return window.addEventListener("beforeunload",i),()=>window.removeEventListener("beforeunload",i)},[T]),d.useEffect(()=>()=>sessionStorage.removeItem(h),[h]);const g=oe(o??void 0),K=d.useMemo(()=>new Set(((o==null?void 0:o.items)??[]).map(z)),[o]),B=i=>ye((o==null?void 0:o.items)??[],i,g.byKey),l=i=>!!i.itemId&&B(i).length<=X;function v(i){!o||!l(i)||$({items:B(i)})}const[H,ct]=d.useState(null),L=d.useRef(null),tt=d.useRef(!0);d.useEffect(()=>(tt.current=!0,()=>{tt.current=!1}),[]);const[G,pt]=d.useState(!1),[Dt,q]=d.useState(null),[et,ft]=d.useState(""),[Bt,ht]=d.useState(null),[I,Ht]=d.useState();d.useEffect(()=>()=>{L.current&&URL.revokeObjectURL(L.current)},[]);function xt(){const i=ge(et);if(!i){ht(e("outfits.studio.importError"));return}ht(null),ft(""),Ht(i.colors),$({items:i.items,...i.bodyShape?{bodyShape:i.bodyShape}:{}}),F.success(e("outfits.studio.importSuccess",{count:i.items.length}))}async function Mt(i){if(!i||!c)return;if(q(null),!It.includes(i.type)){q(e("outfits.errors.unsupportedType"));return}if(i.size>xe){q(e("outfits.errors.tooLarge"));return}L.current&&URL.revokeObjectURL(L.current);const a=URL.createObjectURL(i);L.current=a,ct(a),pt(!0);try{const p=await me(i,c.identity);$({thumbnailHash:p})}catch(p){p instanceof O||nt(p,{flow:"outfit-thumbnail"}),q(e(p instanceof O?dt(p.code):"outfits.errors.generic")),L.current&&(URL.revokeObjectURL(L.current),L.current=null),ct(null)}finally{pt(!1)}}const[M,mt]=d.useState(!1),[Ut,gt]=d.useState(null),it=!!o&&o.name.trim().length>0&&o.name.length<=60,_t=!!o&&V(o.gradientFrom)&&V(o.gradientTo),bt=!!o&&o.items.some(i=>{const a=g.byKey.get(z(i));return!a||ae(a)}),yt=!!o&&it&&!!o.thumbnailHash&&_t&&bt&&o.items.length>=re&&o.items.length<=X;async function st(i){if(!(!c||!o||M)){mt(!0),gt(null);try{const a=await Rt({...o,published:i},c.identity,f?"create":"update");if(!tt.current)return;sessionStorage.removeItem(h),R(lt(a)),C(!1),zt(y),i&&!o.published?(be("Shop Outfit Published",{outfit_id:a.id,item_count:a.items.length}),F.success(e("outfits.studio.publishedToast"))):F.success(e("outfits.studio.saved")),f&&(y.setQueryData(["outfit",a.id,!0],a),j(`/outfits/${a.id}/edit`,{replace:!0}))}catch(a){a instanceof O||nt(a,{flow:"outfit-save"}),gt(e(a instanceof O?dt(a.code):"outfits.errors.generic"))}finally{mt(!1)}}}const Q=d.useMemo(()=>((o==null?void 0:o.items)??[]).map(i=>g.byKey.get(z(i))).filter(i=>!!i),[o,g.byKey]),jt=d.useMemo(()=>ne(Q),[Q]),Kt=d.useMemo(()=>{const i=de(Q);return i!=null&&i.itemId?z({contractAddress:i.contractAddress,itemId:i.itemId}):null},[Q]),Gt=(o==null?void 0:o.bodyShape)==="female"?le:(o==null?void 0:o.bodyShape)==="male"?ue:void 0;if(!c)return null;if(!o)return E?t.jsxs(N,{children:[t.jsx(U,{message:e("outfits.errors.generic")}),t.jsx(m,{variant:"white",onClick:()=>void Z(),children:e("outfits.detail.retry")})]}):!S&&u===null?t.jsxs(N,{"data-testid":"outfit-studio-missing",children:[t.jsx(k,{children:e("outfits.errors.notFound")}),t.jsx(m,{as:A,to:"/outfits/manage",variant:"white",children:e("outfits.studio.myOutfits")})]}):t.jsx(N,{"aria-busy":"true",children:t.jsx("span",{className:"spinner","aria-hidden":!0})});const vt=H??Lt(o.thumbnailHash),qt={...o,authorAddress:(c==null?void 0:c.address)??"",createdAt:0,updatedAt:0},Qt=o.items.reduce((i,a)=>{var p;return i+(((p=g.byKey.get(z(a)))==null?void 0:p.priceCredits)??0)},0);return t.jsxs(Wt,{"data-testid":"outfit-studio-editor",children:[t.jsxs(Pt,{children:[t.jsx(Me,{to:"/outfits/manage","aria-label":e("outfits.studio.myOutfits"),"data-testid":"outfit-studio-back",children:t.jsx(_,{name:"arrow-left",size:18})}),t.jsx(Ot,{children:f?e("outfits.studio.new"):e("outfits.studio.editTitle")}),t.jsx(At,{"data-state":o.published?"published":"draft",children:o.published?e("outfits.studio.publishedState"):e("outfits.studio.draft")})]}),t.jsxs(si,{children:[t.jsxs(oi,{children:[t.jsxs(ri,{"data-testid":"outfit-studio-preview",style:{background:ce(o)},children:[t.jsx(Se,{id:"outfit-studio-preview-frame",profile:"default",bodyShape:Gt,urns:jt,skin:I==null?void 0:I.skin,hair:I==null?void 0:I.hair,eyes:I==null?void 0:I.eyes,enabled:!g.isLoading}),jt.length===0&&!g.isLoading?t.jsx(ni,{children:e("outfits.studio.previewEmpty")}):null]}),t.jsxs(W,{children:[t.jsx(P,{as:"span",children:e("outfits.studio.bodyShape")}),t.jsx(di,{role:"group","aria-label":e("outfits.studio.bodyShape"),children:["unisex","male","female"].map(i=>t.jsx(li,{type:"button","data-selected":o.bodyShape===i||void 0,onClick:()=>$({bodyShape:i}),children:e(`outfits.studio.shape.${i}`)},i))})]}),t.jsxs(W,{children:[t.jsx(P,{as:"span",children:e("outfits.studio.gradient")}),t.jsx(ci,{children:["gradientFrom","gradientTo"].map(i=>t.jsxs(pi,{children:[t.jsx(fi,{type:"color",value:V(o[i])?o[i]:rt.from,"aria-label":e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom"),"data-testid":i==="gradientFrom"?"outfit-studio-gradient-from":"outfit-studio-gradient-to",onChange:a=>$({[i]:a.target.value.toLowerCase()})}),t.jsxs(hi,{children:[t.jsx("span",{children:e(i==="gradientFrom"?"outfits.studio.gradientTop":"outfits.studio.gradientBottom")}),t.jsx(xi,{value:o[i],maxLength:7,spellCheck:!1,placeholder:"#000000","aria-label":e(i==="gradientFrom"?"outfits.studio.gradientTopHex":"outfits.studio.gradientBottomHex"),"data-invalid":!V(o[i])||void 0,onChange:a=>{const p=a.target.value.trim().toLowerCase();$({[i]:p.startsWith("#")||p===""?p:`#${p}`})}})]})]},i))}),t.jsx(k,{children:e("outfits.studio.gradientHint")})]}),t.jsxs(W,{children:[t.jsx(P,{as:"span",children:e("outfits.studio.thumbnail")}),vt?t.jsx(ui,{"data-busy":G||void 0,children:t.jsx("img",{src:vt,alt:""})}):null,t.jsxs(gi,{as:"label",variant:"outline",size:"sm","data-busy":G||void 0,children:[G?e("outfits.studio.uploading"):e("outfits.studio.upload"),t.jsx("input",{type:"file",accept:It.join(","),hidden:!0,disabled:G,onChange:i=>{var a;return void Mt((a=i.target.files)==null?void 0:a[0])},"data-testid":"outfit-studio-thumb-input"})]}),t.jsx(k,{children:e("outfits.studio.thumbnailHint")}),t.jsx(U,{message:Dt,testId:"outfit-studio-thumb-error"})]}),t.jsxs(W,{children:[t.jsx(P,{as:"span",children:e("outfits.studio.cardPreview")}),t.jsx(mi,{"data-testid":"outfit-studio-card-preview",onClickCapture:i=>{i.preventDefault(),i.stopPropagation()},children:t.jsx(pe,{outfit:qt,resolution:g})})]})]}),t.jsxs(ai,{children:[t.jsxs(W,{children:[t.jsx(P,{htmlFor:"outfit-import",children:e("outfits.studio.import")}),t.jsxs(bi,{children:[t.jsx(St,{id:"outfit-import",value:et,spellCheck:!1,placeholder:e("outfits.studio.importPlaceholder"),onChange:i=>ft(i.target.value),onKeyDown:i=>{i.key==="Enter"&&xt()},"data-testid":"outfit-studio-import"}),t.jsx(m,{variant:"outline",size:"sm",onClick:xt,disabled:et.trim()==="","data-testid":"outfit-studio-import-apply",children:e("outfits.studio.importApply")})]}),t.jsx(k,{children:e("outfits.studio.importHint")}),t.jsx(U,{message:Bt,testId:"outfit-studio-import-error"})]}),t.jsxs(W,{children:[t.jsx(P,{htmlFor:"outfit-name",children:e("outfits.studio.name")}),t.jsx(St,{id:"outfit-name",value:o.name,maxLength:60,placeholder:e("outfits.studio.namePlaceholder"),onChange:i=>$({name:i.target.value}),"data-testid":"outfit-studio-name"})]}),t.jsxs(W,{children:[t.jsxs(P,{as:"span",children:[e("outfits.studio.items")," (",o.items.length,"/",X,")"]}),o.items.length===0?t.jsx(k,{children:e("outfits.studio.noItems")}):t.jsx(yi,{children:o.items.map(i=>{const a=z(i),p=g.byKey.get(a);return t.jsxs(ji,{"data-testid":"outfit-studio-selected","data-missing":!p||void 0,children:[p?t.jsx(vi,{src:p.thumbnail,alt:""}):t.jsx(wi,{className:g.isLoading?"skeleton":void 0,"aria-hidden":!0}),t.jsx($i,{className:p?void 0:"muted",children:p?p.name:g.isLoading?t.jsx(Ie,{className:"skeleton",width:96,"aria-hidden":!0}):e("outfits.card.unavailable")}),a===Kt?t.jsx(ki,{"data-testid":"outfit-studio-plays-in-preview",children:e("outfits.studio.playsInPreview")}):null,p?t.jsxs(Si,{children:[t.jsx(ot,{size:12}),t.jsx(at,{credits:p.priceCredits})]}):null,t.jsx(Ci,{type:"button","aria-label":e("outfits.studio.remove"),title:e("outfits.studio.remove"),onClick:()=>$({items:o.items.filter(Vt=>z(Vt)!==a)}),children:t.jsx(_,{name:"trash",size:16})})]},a)})}),o.items.length>0?t.jsxs(Ii,{"data-testid":"outfit-studio-total",children:[t.jsx("span",{children:e("outfits.detail.totalPrice")}),t.jsxs(Ti,{children:[t.jsx(ot,{size:14}),t.jsx(at,{credits:Qt})]})]}):null,o.items.length>=X?t.jsx(k,{children:e("outfits.studio.maxItems")}):null]}),t.jsx(De,{selectedKeys:K,onPick:v,canPick:l})]})]}),t.jsxs(Ei,{"data-testid":"outfit-studio-savebar",children:[t.jsx(U,{message:Ut,testId:"outfit-studio-save-error"}),it?!yt&&!o.published?t.jsx(k,{"data-testid":"outfit-studio-publish-hint",children:!bt&&o.items.length>0?e("outfits.studio.needsWearable"):e("outfits.errors.notPublishable")}):null:t.jsx(k,{children:e("outfits.studio.needName")}),t.jsxs(Li,{children:[t.jsx(m,{variant:"outline","data-testid":"outfit-studio-save",disabled:M||!it,onClick:()=>void st(o.published),children:M?e("outfits.studio.saving"):e("outfits.studio.saveDraft")}),o.published?t.jsx(m,{variant:"white","data-testid":"outfit-studio-unpublish",disabled:M,onClick:()=>void st(!1),children:e("outfits.studio.unpublish")}):t.jsx(m,{variant:"white","data-testid":"outfit-studio-publish",disabled:M||!yt,onClick:()=>void st(!0),children:e("outfits.studio.publish")})]})]})]})}export{Vi as OutfitStudio,Vi as default};
|
|
557
|
+
//# sourceMappingURL=OutfitStudio-DVNHreV-.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as g,t as l,p as c,O as n,s as u}from"./property-CbgY9QKj.js";(function(){try{var
|
|
1
|
+
import{n as h,Y as g,t as l,p as c,O as n,s as u}from"./property-CbgY9QKj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="016ceb14-b24e-4ae9-93e8-fb339d394500",e._sentryDebugIdIdentifier="sentry-dbid-016ceb14-b24e-4ae9-93e8-fb339d394500")}catch{}})();var f=Object.defineProperty,w=Object.getOwnPropertyDescriptor,o=(e,r,i,s)=>{for(var a=s>1?void 0:s?w(r,i):r,d=e.length-1,p;d>=0;d--)(p=e[d])&&(a=(s?p(r,i,a):p(a))||a);return s&&a&&f(r,i,a),a};let t=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return g`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -6,10 +6,10 @@ import{n as h,Y as g,t as l,p as c,O as n,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
6
6
|
viewBox="0 0 256 256"
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
|
-
${
|
|
10
|
-
</svg>`}};
|
|
9
|
+
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
+
</svg>`}};t.weightsMap=new Map([["thin",l`<path d="M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220Zm34.83-86.83a4,4,0,0,1,0,5.66l-32,32a4,4,0,0,1-5.66,0l-32-32a4,4,0,0,1,5.66-5.66L124,158.34V88a4,4,0,0,1,8,0v70.34l25.17-25.17A4,4,0,0,1,162.83,133.17Z"/>`],["light",l`<path d="M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm36.24-86.24a6,6,0,0,1,0,8.48l-32,32a6,6,0,0,1-8.48,0l-32-32a6,6,0,0,1,8.48-8.48L122,153.51V88a6,6,0,0,1,12,0v65.51l21.76-21.75A6,6,0,0,1,164.24,131.76Z"/>`],["regular",l`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-85.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35A8,8,0,0,1,165.66,130.34Z"/>`],["bold",l`<path d="M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm40.49-84.49a12,12,0,0,1,0,17l-32,32a12,12,0,0,1-17,0l-32-32a12,12,0,1,1,17-17L116,139V88a12,12,0,0,1,24,0v51l11.51-11.52A12,12,0,0,1,168.49,127.51Z"/>`],["fill",l`<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm37.66,117.66-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35a8,8,0,0,1,11.32,11.32Z"/>`],["duotone",l`<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"/><path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm37.66-85.66a8,8,0,0,1,0,11.32l-32,32a8,8,0,0,1-11.32,0l-32-32a8,8,0,0,1,11.32-11.32L120,148.69V88a8,8,0,0,1,16,0v60.69l18.34-18.35A8,8,0,0,1,165.66,130.34Z"/>`]]);t.styles=c`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;o([n({type:String,reflect:!0})],
|
|
15
|
-
//# sourceMappingURL=PhArrowCircleDown-
|
|
14
|
+
`;o([n({type:String,reflect:!0})],t.prototype,"size",2);o([n({type:String,reflect:!0})],t.prototype,"weight",2);o([n({type:String,reflect:!0})],t.prototype,"color",2);o([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=o([u("ph-arrow-circle-down")],t);export{t as PhArrowCircleDown};
|
|
15
|
+
//# sourceMappingURL=PhArrowCircleDown-Bmy0XPqd.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as
|
|
1
|
+
import{n as d,Y as c,t as o,p as g,O as n,s as u}from"./property-CbgY9QKj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="834ab0e2-92e2-46b6-bcb8-c6c8bb6cf268",e._sentryDebugIdIdentifier="sentry-dbid-834ab0e2-92e2-46b6-bcb8-c6c8bb6cf268")}catch{}})();var f=Object.defineProperty,w=Object.getOwnPropertyDescriptor,s=(e,r,l,i)=>{for(var a=i>1?void 0:i?w(r,l):r,h=e.length-1,p;h>=0;h--)(p=e[h])&&(a=(i?p(r,l,a):p(a))||a);return i&&a&&f(r,l,a),a};let t=class extends d{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return c`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -11,5 +11,5 @@ import{n as p,Y as c,t as o,p as g,O as n,s as f}from"./property-CbgY9QKj.js";(f
|
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;s([n({type:String,reflect:!0})],t.prototype,"size",2);s([n({type:String,reflect:!0})],t.prototype,"weight",2);s([n({type:String,reflect:!0})],t.prototype,"color",2);s([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=s([
|
|
15
|
-
//# sourceMappingURL=PhArrowClockwise-
|
|
14
|
+
`;s([n({type:String,reflect:!0})],t.prototype,"size",2);s([n({type:String,reflect:!0})],t.prototype,"weight",2);s([n({type:String,reflect:!0})],t.prototype,"color",2);s([n({type:Boolean,reflect:!0})],t.prototype,"mirrored",2);t=s([u("ph-arrow-clockwise")],t);export{t as PhArrowClockwise};
|
|
15
|
+
//# sourceMappingURL=PhArrowClockwise-Bklo7MBV.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as
|
|
1
|
+
import{n as h,Y as f,t as o,p as g,O as d,s as u}from"./property-CbgY9QKj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="c6e4dfad-fb7e-4dd4-a728-5b3f3975a449",t._sentryDebugIdIdentifier="sentry-dbid-c6e4dfad-fb7e-4dd4-a728-5b3f3975a449")}catch{}})();var c=Object.defineProperty,w=Object.getOwnPropertyDescriptor,l=(t,r,i,s)=>{for(var a=s>1?void 0:s?w(r,i):r,n=t.length-1,p;n>=0;n--)(p=t[n])&&(a=(s?p(r,i,a):p(a))||a);return s&&a&&c(r,i,a),a};let e=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return f`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -11,5 +11,5 @@ import{n as h,Y as c,t as o,p as g,O as n,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;l([
|
|
15
|
-
//# sourceMappingURL=PhArrowDown-
|
|
14
|
+
`;l([d({type:String,reflect:!0})],e.prototype,"size",2);l([d({type:String,reflect:!0})],e.prototype,"weight",2);l([d({type:String,reflect:!0})],e.prototype,"color",2);l([d({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=l([u("ph-arrow-down")],e);export{e as PhArrowDown};
|
|
15
|
+
//# sourceMappingURL=PhArrowDown-CBjJCstB.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as
|
|
1
|
+
import{n as h,Y as f,t as l,p as g,O as n,s as u}from"./property-CbgY9QKj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="aaf73374-6281-4e5a-8308-6b476c65f22b",t._sentryDebugIdIdentifier="sentry-dbid-aaf73374-6281-4e5a-8308-6b476c65f22b")}catch{}})();var c=Object.defineProperty,y=Object.getOwnPropertyDescriptor,o=(t,r,i,s)=>{for(var a=s>1?void 0:s?y(r,i):r,p=t.length-1,d;p>=0;p--)(d=t[p])&&(a=(s?d(r,i,a):d(a))||a);return s&&a&&c(r,i,a),a};let e=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return f`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -7,9 +7,9 @@ import{n as h,Y as g,t as l,p as c,O as d,s as f}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${e.weightsMap.get((t=this.weight)!=null?t:"regular")}
|
|
10
|
-
</svg>`}};e.weightsMap=new Map([["thin",l`<path d="M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"/>`],["light",l`<path d="M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"/>`],["regular",l`<path d="M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"/>`],["bold",l`<path d="M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"/>`],["fill",l`<path d="M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"/>`],["duotone",l`<path d="M112,56V200L40,128Z" opacity="0.2"/><path d="M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"/>`]]);e.styles=
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",l`<path d="M220,128a4,4,0,0,1-4,4H49.66l65.17,65.17a4,4,0,0,1-5.66,5.66l-72-72a4,4,0,0,1,0-5.66l72-72a4,4,0,0,1,5.66,5.66L49.66,124H216A4,4,0,0,1,220,128Z"/>`],["light",l`<path d="M222,128a6,6,0,0,1-6,6H54.49l61.75,61.76a6,6,0,1,1-8.48,8.48l-72-72a6,6,0,0,1,0-8.48l72-72a6,6,0,0,1,8.48,8.48L54.49,122H216A6,6,0,0,1,222,128Z"/>`],["regular",l`<path d="M224,128a8,8,0,0,1-8,8H59.31l58.35,58.34a8,8,0,0,1-11.32,11.32l-72-72a8,8,0,0,1,0-11.32l72-72a8,8,0,0,1,11.32,11.32L59.31,120H216A8,8,0,0,1,224,128Z"/>`],["bold",l`<path d="M228,128a12,12,0,0,1-12,12H69l51.52,51.51a12,12,0,0,1-17,17l-72-72a12,12,0,0,1,0-17l72-72a12,12,0,0,1,17,17L69,116H216A12,12,0,0,1,228,128Z"/>`],["fill",l`<path d="M224,128a8,8,0,0,1-8,8H120v64a8,8,0,0,1-13.66,5.66l-72-72a8,8,0,0,1,0-11.32l72-72A8,8,0,0,1,120,56v64h96A8,8,0,0,1,224,128Z"/>`],["duotone",l`<path d="M112,56V200L40,128Z" opacity="0.2"/><path d="M216,120H120V56a8,8,0,0,0-13.66-5.66l-72,72a8,8,0,0,0,0,11.32l72,72A8,8,0,0,0,120,200V136h96a8,8,0,0,0,0-16ZM104,180.69,51.31,128,104,75.31Z"/>`]]);e.styles=g`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;o([
|
|
15
|
-
//# sourceMappingURL=PhArrowLeft
|
|
14
|
+
`;o([n({type:String,reflect:!0})],e.prototype,"size",2);o([n({type:String,reflect:!0})],e.prototype,"weight",2);o([n({type:String,reflect:!0})],e.prototype,"color",2);o([n({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=o([u("ph-arrow-left")],e);export{e as PhArrowLeft};
|
|
15
|
+
//# sourceMappingURL=PhArrowLeft-BCeYPtMx.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,Y as
|
|
1
|
+
import{n as p,Y as c,t as o,p as g,O as n,s as u}from"./property-CbgY9QKj.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},r=new t.Error().stack;r&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[r]="acc6f060-0b15-4090-9492-81ccaceba8dd",t._sentryDebugIdIdentifier="sentry-dbid-acc6f060-0b15-4090-9492-81ccaceba8dd")}catch{}})();var f=Object.defineProperty,y=Object.getOwnPropertyDescriptor,s=(t,r,i,l)=>{for(var a=l>1?void 0:l?y(r,i):r,d=t.length-1,h;d>=0;d--)(h=t[d])&&(a=(l?h(r,i,a):h(a))||a);return l&&a&&f(r,i,a),a};let e=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return c`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -7,9 +7,9 @@ import{n as p,Y as g,t as s,p as u,O as n,s as c}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${e.weightsMap.get((t=this.weight)!=null?t:"regular")}
|
|
10
|
-
</svg>`}};e.weightsMap=new Map([["thin",
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"/>`],["light",o`<path d="M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"/>`],["regular",o`<path d="M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["bold",o`<path d="M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"/>`],["fill",o`<path d="M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"/>`],["duotone",o`<path d="M216,128l-72,72V56Z" opacity="0.2"/><path d="M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"/>`]]);e.styles=g`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;
|
|
15
|
-
//# sourceMappingURL=PhArrowRight-
|
|
14
|
+
`;s([n({type:String,reflect:!0})],e.prototype,"size",2);s([n({type:String,reflect:!0})],e.prototype,"weight",2);s([n({type:String,reflect:!0})],e.prototype,"color",2);s([n({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=s([u("ph-arrow-right")],e);export{e as PhArrowRight};
|
|
15
|
+
//# sourceMappingURL=PhArrowRight-Ch61WxZn.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as
|
|
1
|
+
import{n as p,Y as g,t as o,p as u,O as h,s as H}from"./property-CbgY9QKj.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="4e6b3e0e-495d-4e1e-919d-272e165daac4",e._sentryDebugIdIdentifier="sentry-dbid-4e6b3e0e-495d-4e1e-919d-272e165daac4")}catch{}})();var V=Object.defineProperty,c=Object.getOwnPropertyDescriptor,i=(e,t,s,l)=>{for(var r=l>1?void 0:l?c(t,s):t,n=e.length-1,d;n>=0;n--)(d=e[n])&&(r=(l?d(t,s,r):d(r))||r);return l&&r&&V(t,s,r),r};let a=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var e;return g`<svg
|
|
2
2
|
xmlns="http://www.w3.org/2000/svg"
|
|
3
3
|
width="${this.size}"
|
|
4
4
|
height="${this.size}"
|
|
@@ -6,10 +6,10 @@ import{n as c,Y as p,t as o,p as g,O as h,s as u}from"./property-CbgY9QKj.js";(f
|
|
|
6
6
|
viewBox="0 0 256 256"
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
|
-
${
|
|
10
|
-
</svg>`}};
|
|
9
|
+
${a.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
+
</svg>`}};a.weightsMap=new Map([["thin",o`<path d="M220,104a4,4,0,0,1-8,0V49.66l-73.16,73.17a4,4,0,0,1-5.66-5.66L206.34,44H152a4,4,0,0,1,0-8h64a4,4,0,0,1,4,4Zm-36,28a4,4,0,0,0-4,4v72a4,4,0,0,1-4,4H48a4,4,0,0,1-4-4V80a4,4,0,0,1,4-4h72a4,4,0,0,0,0-8H48A12,12,0,0,0,36,80V208a12,12,0,0,0,12,12H176a12,12,0,0,0,12-12V136A4,4,0,0,0,184,132Z"/>`],["light",o`<path d="M222,104a6,6,0,0,1-12,0V54.49l-69.75,69.75a6,6,0,0,1-8.48-8.48L201.51,46H152a6,6,0,0,1,0-12h64a6,6,0,0,1,6,6Zm-38,26a6,6,0,0,0-6,6v72a2,2,0,0,1-2,2H48a2,2,0,0,1-2-2V80a2,2,0,0,1,2-2h72a6,6,0,0,0,0-12H48A14,14,0,0,0,34,80V208a14,14,0,0,0,14,14H176a14,14,0,0,0,14-14V136A6,6,0,0,0,184,130Z"/>`],["regular",o`<path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`],["bold",o`<path d="M228,104a12,12,0,0,1-24,0V69l-59.51,59.51a12,12,0,0,1-17-17L187,52H152a12,12,0,0,1,0-24h64a12,12,0,0,1,12,12Zm-44,24a12,12,0,0,0-12,12v64H52V84h64a12,12,0,0,0,0-24H48A20,20,0,0,0,28,80V208a20,20,0,0,0,20,20H176a20,20,0,0,0,20-20V140A12,12,0,0,0,184,128Z"/>`],["fill",o`<path d="M192,136v72a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V80A16,16,0,0,1,48,64h72a8,8,0,0,1,0,16H48V208H176V136a8,8,0,0,1,16,0Zm32-96a8,8,0,0,0-8-8H152a8,8,0,0,0-5.66,13.66L172.69,72l-42.35,42.34a8,8,0,0,0,11.32,11.32L184,83.31l26.34,26.35A8,8,0,0,0,224,104Z"/>`],["duotone",o`<path d="M184,80V208a8,8,0,0,1-8,8H48a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H176A8,8,0,0,1,184,80Z" opacity="0.2"/><path d="M224,104a8,8,0,0,1-16,0V59.32l-66.33,66.34a8,8,0,0,1-11.32-11.32L196.68,48H152a8,8,0,0,1,0-16h64a8,8,0,0,1,8,8Zm-40,24a8,8,0,0,0-8,8v72H48V80h72a8,8,0,0,0,0-16H48A16,16,0,0,0,32,80V208a16,16,0,0,0,16,16H176a16,16,0,0,0,16-16V136A8,8,0,0,0,184,128Z"/>`]]);a.styles=u`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;i([h({type:String,reflect:!0})],
|
|
15
|
-
//# sourceMappingURL=PhArrowSquareOut-
|
|
14
|
+
`;i([h({type:String,reflect:!0})],a.prototype,"size",2);i([h({type:String,reflect:!0})],a.prototype,"weight",2);i([h({type:String,reflect:!0})],a.prototype,"color",2);i([h({type:Boolean,reflect:!0})],a.prototype,"mirrored",2);a=i([H("ph-arrow-square-out")],a);export{a as PhArrowSquareOut};
|
|
15
|
+
//# sourceMappingURL=PhArrowSquareOut-Bk5nSBoz.js.map
|