@dcl/shop 1.13.1-35225172293.commit-25915c3 → 1.13.1-35339357506.commit-a201fb1
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-BZMB4hg5.js +400 -0
- package/_assets/{AnimatedBackground-DAkIAx6x.js → AnimatedBackground-CXVxNT-G.js} +6 -6
- package/_assets/Assets-tHTTA31T.js +980 -0
- package/_assets/{Cart-DywJ-U2P.js → Cart-BTFM7sgI.js} +37 -37
- package/_assets/{Collection-CJcLl_NS.js → Collection-D7LTf_OS.js} +6 -6
- package/_assets/CollectionCarousel-DsJ7L4rs.js +322 -0
- package/_assets/Confetti-cdj3K_E3.js +18 -0
- package/_assets/{ConstantsUtil-QDaTDgFu.js → ConstantsUtil-BRm3N2MJ.js} +2 -2
- package/_assets/{ContentClient-rykQJr4A.js → ContentClient-BuGONJzu.js} +2 -2
- package/_assets/{Creator-n86fV0HI.js → Creator-DTGBDA7q.js} +49 -49
- package/_assets/DeploymentBuilder-t6QMfSJh.js +4 -0
- package/_assets/{EmotePlaybackBar-B-F9Qz4e.js → EmotePlaybackBar-DxozN5dA.js} +19 -19
- package/_assets/{ErrorNotice-C59YzvXZ.js → ErrorNotice-Dlh8ddHO.js} +2 -2
- package/_assets/Event-B3nuIkGW.js +72 -0
- package/_assets/{ExchangeController-B34DBS-M.js → ExchangeController-CSSF68uc.js} +2 -2
- package/_assets/{Faq-DMLRIgIF.js → Faq-DQCrsGCA.js} +2 -2
- package/_assets/{Filters-ui-Axqrl.js → Filters-BsZs-9_M.js} +19 -19
- package/_assets/{GetCredits-DNUVbeIk.js → GetCredits-DLjX5S-_.js} +70 -70
- package/_assets/{Grow-CslarRIZ.js → Grow-CBOQ3rs-.js} +2 -2
- package/_assets/HelpersUtil-ItKIMa0k.js +63 -0
- package/_assets/{ItemDetail-D9elUmtB.js → ItemDetail-Bfbuu0cW.js} +35 -35
- package/_assets/LoadMore-BxuVAL5h.js +8 -0
- package/_assets/{ManaPricingBanner.styles-BG8UdFgp.js → ManaPricingBanner.styles-dfVXcaNP.js} +3 -3
- package/_assets/{MyAssets-C8h8C-X3.js → MyAssets-BbWDjYod.js} +8 -8
- package/_assets/{MyFavorites-_Lftn5f7.js → MyFavorites-DY192etV.js} +9 -9
- package/_assets/{MyStore-Bey5H8qV.js → MyStore-qM8HV1zc.js} +9 -9
- package/_assets/{NetworkUtil-RdwtrTea.js → NetworkUtil-B4oEt17N.js} +2 -2
- package/_assets/NotFound-CgcYb0ih.js +18 -0
- package/_assets/NotificationsBell-txLDBZgz.js +142 -0
- package/_assets/{OutfitDetail-DiMHEr5Q.js → OutfitDetail-EWQSU1q3.js} +5 -5
- package/_assets/{OutfitPreview-iMMDUjah.js → OutfitPreview-Cj1w-8ou.js} +3 -3
- package/_assets/{OutfitStudio-DWZ7ZmtK.js → OutfitStudio-CymFpAjx.js} +16 -16
- package/_assets/{PhArrowCircleDown-DxArxYac.js → PhArrowCircleDown-BgP2jbf5.js} +4 -4
- package/_assets/{PhArrowClockwise-C8ljy1Rj.js → PhArrowClockwise-CuNU0iSl.js} +4 -4
- package/_assets/{PhArrowDown-DsAplWwh.js → PhArrowDown-BrLks3Uz.js} +4 -4
- package/_assets/{PhArrowLeft-EPz-xHmZ.js → PhArrowLeft-BbZGSN_s.js} +3 -3
- package/_assets/{PhArrowRight-CVoNjAPb.js → PhArrowRight-DqLi6_uj.js} +4 -4
- package/_assets/{PhArrowSquareOut-DxPnhLyS.js → PhArrowSquareOut-CX0ZRgNC.js} +5 -5
- package/_assets/{PhArrowUp-CthNwEN1.js → PhArrowUp-D9ugstgK.js} +5 -5
- package/_assets/{PhArrowUpRight-yy2UirS7.js → PhArrowUpRight-Bpfn12eW.js} +3 -3
- package/_assets/{PhArrowsClockwise-B-gjYmTc.js → PhArrowsClockwise-CRZyQVpN.js} +4 -4
- package/_assets/{PhArrowsDownUp-DPexCLiH.js → PhArrowsDownUp-CV1NqVLb.js} +4 -4
- package/_assets/{PhArrowsLeftRight-D93RFlb_.js → PhArrowsLeftRight-DvGI6Nto.js} +5 -5
- package/_assets/{PhBank-BNhsgOpa.js → PhBank-BRxdKSKq.js} +5 -5
- package/_assets/{PhBrowser-OVbcxsqN.js → PhBrowser-C_wNKcTe.js} +4 -4
- package/_assets/PhCaretDown-DBNFm85V.js +15 -0
- package/_assets/PhCaretLeft-Cad__LUx.js +15 -0
- package/_assets/PhCaretRight-CuRYBcM2.js +15 -0
- package/_assets/PhCaretUp-DE2FiuTS.js +15 -0
- package/_assets/{PhCheck-bPp1bknl.js → PhCheck-y4MOxgof.js} +5 -5
- package/_assets/{PhCircleHalf-BCRFPlBh.js → PhCircleHalf-xlPKmtS7.js} +4 -4
- package/_assets/{PhClock-Ay7dG8fF.js → PhClock-BBNMhMKw.js} +5 -5
- package/_assets/{PhCompass-D6jeCOuB.js → PhCompass-DpAl_LfZ.js} +4 -4
- package/_assets/{PhCopy-Cd6cFQKK.js → PhCopy-D4HwCqa2.js} +5 -5
- package/_assets/{PhCreditCard-D0cyAH4H.js → PhCreditCard-CD12JEEL.js} +5 -5
- package/_assets/{PhCurrencyDollar-DNCs7Hoi.js → PhCurrencyDollar-DPFX6nyR.js} +2 -2
- package/_assets/{PhDesktop-C7wK3N0C.js → PhDesktop-CNhh70Hf.js} +3 -3
- package/_assets/{PhDeviceMobile-nwo6W6cN.js → PhDeviceMobile-DQgHhtB0.js} +3 -3
- package/_assets/{PhDotsThree-5DGmKrer.js → PhDotsThree-B1gOaArE.js} +3 -3
- package/_assets/{PhEnvelope-DkcDbzLk.js → PhEnvelope-CGnM9AiA.js} +4 -4
- package/_assets/{PhFunnelSimple-D1hBKn3q.js → PhFunnelSimple-D8YZwX53.js} +4 -4
- package/_assets/{PhGlobe-7ico55TC.js → PhGlobe-CXtg_GcB.js} +3 -3
- package/_assets/{PhIdentificationCard-PCjj06ca.js → PhIdentificationCard-oMtubY4C.js} +2 -2
- package/_assets/{PhImage-WMMVogNo.js → PhImage-DKp6-EHn.js} +2 -2
- package/_assets/{PhInfo-DxjcEgny.js → PhInfo-CPd-HNhu.js} +5 -5
- package/_assets/{PhLightbulb-Cv6gGmyY.js → PhLightbulb-C47afrxR.js} +5 -5
- package/_assets/{PhMagnifyingGlass-CzkcQTYD.js → PhMagnifyingGlass-DBaqb5ff.js} +2 -2
- package/_assets/{PhPaperPlaneRight-DnxOP1pJ.js → PhPaperPlaneRight-FQGhQUrW.js} +3 -3
- package/_assets/{PhPlus-D2WgBmbh.js → PhPlus-B_CxFvZS.js} +4 -4
- package/_assets/{PhPower-BKrhO8OD.js → PhPower-DRTSLLeY.js} +4 -4
- package/_assets/{PhPuzzlePiece-vk5GuUyi.js → PhPuzzlePiece-zlHiPdqx.js} +4 -4
- package/_assets/{PhQrCode-YjDtep0a.js → PhQrCode-riEgpq80.js} +2 -2
- package/_assets/{PhQuestion-De671WWd.js → PhQuestion-DHYK7o0G.js} +3 -3
- package/_assets/{PhQuestionMark-BfmQ4AZR.js → PhQuestionMark-ZgOsaVvK.js} +4 -4
- package/_assets/{PhSealCheck-DUSoEL5_.js → PhSealCheck-B5VE_9Jt.js} +4 -4
- package/_assets/{PhSignOut-BAV0bqRy.js → PhSignOut-DKQOfDHS.js} +4 -4
- package/_assets/{PhSpinner-JXZ0tKR8.js → PhSpinner-B3k7aAJt.js} +4 -4
- package/_assets/{PhTrash-B-_1u-EW.js → PhTrash-CD2fhMLB.js} +3 -3
- package/_assets/{PhUser-B7H8Kqoo.js → PhUser-BeKUoVY6.js} +2 -2
- package/_assets/{PhVault-D49Kz876.js → PhVault-DC9QjU0-.js} +5 -5
- package/_assets/{PhWallet-DFLSB_Zp.js → PhWallet-djswo-CG.js} +4 -4
- package/_assets/{PhWarning-oAag590N.js → PhWarning-B4g8NvcF.js} +2 -2
- package/_assets/{PhWarningCircle-CcZqaDS-.js → PhWarningCircle-xLZ7sbu0.js} +3 -3
- package/_assets/{PhX-ChlrdI3g.js → PhX-BVzMqBjL.js} +2 -2
- package/_assets/SaleCountdown-3pApusNf.js +99 -0
- package/_assets/{Spinner-DxPTix-z.js → Spinner-BhJFlkpV.js} +2 -2
- package/_assets/{StoreSettings-CcPWS-Ma.js → StoreSettings-CuaXmFqQ.js} +6 -6
- package/_assets/{Success-C_yiA7A5.js → Success-oMsLbOWh.js} +10 -10
- package/_assets/{SwapController-CkS0mffI.js → SwapController-DrYUKQJ9.js} +2 -2
- package/_assets/{Tooltip-D09N6_a1.js → Tooltip-BIdqgK8V.js} +2 -2
- package/_assets/{TradeService-C9N7W-7P.js → TradeService-JsADFsSl.js} +2 -2
- package/_assets/{W3MFrameProviderSingleton-gRZFp8AF.js → W3MFrameProviderSingleton-DvSh92CX.js} +4 -4
- package/_assets/{WebCryptoP256-DxQA6Icw.js → WebCryptoP256-DgMWbKGz.js} +2 -2
- package/_assets/{add-CTHe98e6.js → add-C46RTTNX.js} +3 -3
- package/_assets/{all-wallets-DhuabZhK.js → all-wallets-byTNDEq1.js} +2 -2
- package/_assets/{app-store-B6taH2bQ.js → app-store-CaKIhI-8.js} +2 -2
- package/_assets/{apple-Dg5wuMVl.js → apple-DAMB_3Lk.js} +3 -3
- package/_assets/{arrow-bottom-DGKCuT-u.js → arrow-bottom-Cx66u8_t.js} +3 -3
- package/_assets/{arrow-bottom-circle-DizCI34l.js → arrow-bottom-circle-Bv2eZVEF.js} +3 -3
- package/_assets/{arrow-left-B5Shucf2.js → arrow-left-D0I0JXz4.js} +3 -3
- package/_assets/arrow-right-BHc70exa.js +9 -0
- package/_assets/{arrow-top-9YDPz3-j.js → arrow-top-uM_hNW8Z.js} +3 -3
- package/_assets/{async-directive-BCdPKC92.js → async-directive-CeCQAQEH.js} +4 -4
- package/_assets/{bank-BsLbzuJN.js → bank-CQUOEuRq.js} +2 -2
- package/_assets/{basic-8qT1ixsR.js → basic-GpwOtGyM.js} +2 -2
- package/_assets/{biconomy-BgEih0rG.js → biconomy-NuhcX0Yi.js} +2 -2
- package/_assets/{browseLayout.styles-pvAICm0D.js → browseLayout.styles-D0MZbKfc.js} +2 -2
- package/_assets/{browser-BGA0SS8o.js → browser-Bh67F6hL.js} +3 -3
- package/_assets/{browser-JREaT17W.js → browser-CztLWw1I.js} +2 -2
- package/_assets/{browser-DYUQg7kp.js → browser-D0dzO3fx.js} +2 -2
- package/_assets/{browser-ponyfill-CtY0HAVq.js → browser-ponyfill-BdWvH_If.js} +2 -2
- package/_assets/buy-ZzigQNxZ.js +2 -0
- package/_assets/{buy-gasless-D9wW1gq1.js → buy-gasless-5QIoW0es.js} +2 -2
- package/_assets/{card-DrayzgIc.js → card-DcQ1wkCr.js} +2 -2
- package/_assets/cart-checkout-D_rUzOn4.js +2 -0
- package/_assets/{categories-rNs1-QVq.js → categories-BCcLvB19.js} +2 -2
- package/_assets/{ccip-_B6OMMwG.js → ccip-0C-WJ2f3.js} +2 -2
- package/_assets/{ccip-BJ6xjfZv.js → ccip-CcFd-pp_.js} +2 -2
- package/_assets/{chains-CzWJwcQq.js → chains-BoWQ7jDs.js} +2 -2
- package/_assets/{checkmark-CuwMFqmQ.js → checkmark-GDL9YfL4.js} +2 -2
- package/_assets/{checkmark-bold-BZ8hvIfL.js → checkmark-bold-B-Sg0XJy.js} +3 -3
- package/_assets/{chevron-bottom-BICEUkQ-.js → chevron-bottom-CLuKI9LQ.js} +2 -2
- package/_assets/{chevron-left-Dj_IHYPd.js → chevron-left-B_RU4s1F.js} +3 -3
- package/_assets/{chevron-right-DfmPfPeR.js → chevron-right-C6ckznAo.js} +2 -2
- package/_assets/{chevron-top-ChQ_XprN.js → chevron-top-CJOmtrv2.js} +3 -3
- package/_assets/{chrome-store-yR8DW2WG.js → chrome-store-s39Q_LJM.js} +3 -3
- package/_assets/{class-map-BdERzGec.js → class-map-BxMzgOIb.js} +6 -6
- package/_assets/{clock-DSdZt3kx.js → clock-DmJj-grN.js} +2 -2
- package/_assets/close-D4d1U5NV.js +9 -0
- package/_assets/{coinPlaceholder-DZE_o-zF.js → coinPlaceholder-VDdmV3rm.js} +3 -3
- package/_assets/collectionPage.styles-rZa1BWWK.js +41 -0
- package/_assets/common-aEQBU1aZ.js +2 -0
- package/_assets/{compass-D4tC5ehy.js → compass-O2jaVbub.js} +2 -2
- package/_assets/{controller-C9-v8tyX.js → controller-BHSkmDDd.js} +3 -3
- package/_assets/{copy-DYrxzMu3.js → copy-D2eE3KCY.js} +2 -2
- package/_assets/{core-Yfo9aNXH.js → core-Dnx08t4s.js} +5 -5
- package/_assets/{createSvgIcon-C3kMJVlr.js → createSvgIcon-C3DiORbY.js} +4 -4
- package/_assets/crumbs.styles-D969n73j.js +10 -0
- package/_assets/{cursor-CGNqBNs2.js → cursor-DSrN7SuI.js} +2 -2
- package/_assets/{cursor-transparent-Db9408Lh.js → cursor-transparent-DxuBEx9O.js} +3 -3
- package/_assets/{custom-CUiRIOz_.js → custom-CyjlH7Cr.js} +2 -2
- package/_assets/{data-capture-K_NAswZS.js → data-capture-BUt-tqa3.js} +5 -5
- package/_assets/{dcl-schemas-f-Kwmh24.js → dcl-schemas-CyEZVc6x.js} +2 -2
- package/_assets/decimals-BLhtmmbN.js +2 -0
- package/_assets/decimals-CiM-QvAk.js +2 -0
- package/_assets/{desktop-8ERr7FQB.js → desktop-DwZtv9fm.js} +3 -3
- package/_assets/detectExtension-CdbTZOKn.js +2 -0
- package/_assets/{disconnect-BaCM-42U.js → disconnect-BbwiqFJ2.js} +3 -3
- package/_assets/{discord-DIiirh17.js → discord-qWAUKbRO.js} +2 -2
- package/_assets/{disposePreview-B05_BnMi.js → disposePreview-D5v9GkJF.js} +2 -2
- package/_assets/{email-CAknsz-I.js → email-BGoeypvI.js} +7 -7
- package/_assets/{embedded-wallet-CMEVox74.js → embedded-wallet-Cg2BVqx1.js} +2 -2
- package/_assets/{emotion-styled.browser.esm-D3fDCxgY.js → emotion-styled.browser.esm-Bc8640ZT.js} +2 -2
- package/_assets/{engine-E-mmdBXn.js → engine-BQ4XBK5G.js} +2 -2
- package/_assets/errors-DUBMk1_u.js +2 -0
- package/_assets/estimate-l1-fee-Cvh02XjO.js +2 -0
- package/_assets/eth_estimateGas-BH-_dHsN.js +2 -0
- package/_assets/eth_getStorageAt-CHailSu6.js +2 -0
- package/_assets/eth_getTransactionCount-Ce8ytlz4.js +2 -0
- package/_assets/ethereum-AiomgAl3.js +2 -0
- package/_assets/{ethers-QQ5HxdlK.js → ethers-CQbljc2C.js} +2 -2
- package/_assets/{etherscan-Bfm2dZO9.js → etherscan-TUQ32gbU.js} +2 -2
- package/_assets/{events-DxSgzFZk.js → events-Ey8xQ1_i.js} +2 -2
- package/_assets/{exclamation-triangle-rcl1W2-L.js → exclamation-triangle-ETkxexlo.js} +3 -3
- package/_assets/{execute-BnGJDKrt.js → execute-CcyXPSES.js} +3 -3
- package/_assets/{extension-CfQ82K2-.js → extension-DoOVmXmT.js} +3 -3
- package/_assets/{external-link-V3py9Mkm.js → external-link-BEPN-Y2j.js} +3 -3
- package/_assets/extractIPFS-CZpI5_La.js +2 -0
- package/_assets/{facebook-DrblV0Ry.js → facebook-BmPLPVaB.js} +3 -3
- package/_assets/{farcaster-BYLQu4i6.js → farcaster-BLIAglQl.js} +3 -3
- package/_assets/{features-ChJno5-R.js → features-CW3BJut9.js} +2 -2
- package/_assets/fetchTokenMetadata-zQ7k58lq.js +3 -0
- package/_assets/{field.styles-ofcJTynr.js → field.styles-CNumGj8X.js} +2 -2
- package/_assets/{filters-C4hZu2nU.js → filters-DWaFeZ95.js} +3 -3
- package/_assets/{fortmatic-D8VKfBkC.js → fortmatic-D7_cu5X7.js} +2 -2
- package/_assets/{get-bytecode-Bg8rEYVa.js → get-bytecode-ChEcvuHJ.js} +2 -2
- package/_assets/get-ecosystem-wallet-info-BXFPDksD.js +2 -0
- package/_assets/{getBalance-hTHuthoO.js → getBalance-CdWdKWho.js} +3 -3
- package/_assets/getInstalledModules-Dy7ryxbR.js +2 -0
- package/_assets/{getNFT-uPInQjpf.js → getNFT-CVhWquj2.js} +3 -3
- package/_assets/getNFT-DEIlQj0F.js +2 -0
- package/_assets/{github-etC7Hd9s.js → github-BiA5cQMJ.js} +3 -3
- package/_assets/{google-CZBxFGk_.js → google-CsF9xgle.js} +2 -2
- package/_assets/{grid.styles-Baa4eis9.js → grid.styles-DGwAy7au.js} +2 -2
- package/_assets/{hashTypedData-DA-37fbc.js → hashTypedData-CS0nSVCm.js} +2 -2
- package/_assets/{hashTypedData-CMm-jTgx.js → hashTypedData-G7W_A13L.js} +2 -2
- package/_assets/{help-circle-BUZl81PK.js → help-circle-Bwgxn3Vn.js} +3 -3
- package/_assets/{id-C1QikfkN.js → id-O5raZ1NS.js} +2 -2
- package/_assets/{image-KyF9J1CW.js → image-CbhOQpP5.js} +2 -2
- package/_assets/import-C1FMKChQ.js +2 -0
- package/_assets/{in-app-C-nY1x0g.js → in-app-C03QvI9E.js} +2 -2
- package/_assets/{in-app-wallet-calls-BnWxOmqr.js → in-app-wallet-calls-BSt_kW07.js} +2 -2
- package/_assets/{index-C6b8QTjl.js → index-201_pXjD.js} +4 -4
- package/_assets/{index-Bgozodi0.js → index-4lxXm67R.js} +2 -2
- package/_assets/index-4y3ole-I.js +31 -0
- package/_assets/{index-Ot-sXE8W.js → index-B0G5-1U4.js} +2 -2
- package/_assets/{index-DyIrO5Lu.js → index-B4vPl9JJ.js} +4 -4
- package/_assets/{index-CWZbu3Zl.js → index-B9BLMD9v.js} +7 -7
- package/_assets/{index-CdIbZpxZ.js → index-BDhEGVn5.js} +5 -5
- package/_assets/{index-BuPpBFeR.js → index-BGlAHo1V.js} +2 -2
- package/_assets/{index-apbK0STs.js → index-BHRJojA7.js} +2 -2
- package/_assets/{index-CO-COJ2X.js → index-BWhGWxu6.js} +4 -4
- package/_assets/{index-DeAAM4-1.js → index-BYpz1U-Z.js} +2 -2
- package/_assets/{index-CkWQJkCU.js → index-B_Ukoyjo.js} +4 -4
- package/_assets/{index-BlzUq8rr.js → index-Bc5rdQrs.js} +2 -2
- package/_assets/{index-BQT03-OC.js → index-BiR1vPRL.js} +449 -449
- package/_assets/{index-CeqE4eqv.js → index-BjTaCUde.js} +6 -6
- package/_assets/index-Bvf3c8I8.js +2 -0
- package/_assets/{index-C-m7qLKA.js → index-Bx-HA0Fa.js} +4 -4
- package/_assets/{index-CZmBjRUE.js → index-C0q8Kut4.js} +15 -15
- package/_assets/{index-DuWGyd6U.css → index-C53nEuU1.css} +1 -1
- package/_assets/{index-B9pH_6Si.js → index-C8RRvl4w.js} +5 -5
- package/_assets/{index-CS_3MdD_.js → index-CAdxESjh.js} +3 -3
- package/_assets/{index-B4Xg1dZG.js → index-CITTAZNc.js} +2 -2
- package/_assets/{index-BZKatAuj.js → index-CMsQl6_s.js} +2 -2
- package/_assets/{index-CaznqQR9.js → index-CRdAPM4e.js} +3 -3
- package/_assets/{index-BFP8-jP3.js → index-CSAbgA1H.js} +2 -2
- package/_assets/{index-C7zPem7g.js → index-CVjhybQY.js} +4 -4
- package/_assets/{index-DNJ0CGQD.js → index-CZ765edO.js} +5 -5
- package/_assets/{index-DfLp_eyp.js → index-C_MZ3G2Z.js} +2 -2
- package/_assets/{index-C1UO5yah.js → index-CbJaCRxI.js} +2 -2
- package/_assets/{index-D6p4gJX2.js → index-Cbvqh2tB.js} +2 -2
- package/_assets/{index-R5bPamIo.js → index-CeBVhm3u.js} +2 -2
- package/_assets/index-Cq3PcGZS.js +2 -0
- package/_assets/{index-BUzhO8NO.js → index-CseNtOsJ.js} +3 -3
- package/_assets/{index-xBU8zVdN.js → index-Csid9_UU.js} +2 -2
- package/_assets/{index-DByEURm7.js → index-CtUq3VAh.js} +2 -2
- package/_assets/{index-00w-fqT3.js → index-Cy_pguIe.js} +2 -2
- package/_assets/{index-_CwckKK1.js → index-CzzqMKs2.js} +2 -2
- package/_assets/{index-Dj3X2ReU.js → index-D-bvLCMJ.js} +4 -4
- package/_assets/{index-CZFZoLmR.js → index-D080sfYK.js} +5 -5
- package/_assets/{index-CV3uw-Zw.js → index-D7n0Nbcc.js} +4 -4
- package/_assets/{index-BMMLE3lm.js → index-DBpSYzZ1.js} +2 -2
- package/_assets/{index-jH8Z5JnA.js → index-DCOfqwFn.js} +5 -5
- package/_assets/{index-DCju8nvn.js → index-DHAeKuI8.js} +2 -2
- package/_assets/{index-BT-I5haL.js → index-DNpS4XJW.js} +3 -3
- package/_assets/{index-D1mmmlpU.js → index-DUvDgJtL.js} +3 -3
- package/_assets/{index-axPViouQ.js → index-DW4iGfw5.js} +2 -2
- package/_assets/index-DYEzTJ00.js +28 -0
- package/_assets/{index-CG62ezm8.js → index-DbnwTj_J.js} +3 -3
- package/_assets/{index-BkMULqP4.js → index-DiRK7oEZ.js} +2 -2
- package/_assets/{index-iekFjIOC.js → index-DmEpmcAI.js} +6 -6
- package/_assets/{index-BjH5ZGRV.js → index-Dr8MILBs.js} +8 -8
- package/_assets/{index-D6tlKgne.js → index-DtQZWv2W.js} +2 -2
- package/_assets/{index-CtHpfBoV.js → index-DvGoWYRw.js} +2 -2
- package/_assets/{index-DOGeBjp6.js → index-DzXb9yfS.js} +2 -2
- package/_assets/{index-B8n9s11Y.js → index-P_yp2lGD.js} +2 -2
- package/_assets/{index-Daqrna4U.js → index-QkD5v2W0.js} +2 -2
- package/_assets/{index-TBCN8Slm.js → index-SRawa_W1.js} +2 -2
- package/_assets/{index-D0GgiR11.js → index-TuFs6Mw_.js} +3 -3
- package/_assets/{index-BdamhESB.js → index-VVP1Lz5F.js} +4 -4
- package/_assets/{index-BuVu67lQ.js → index-WhAOvWl7.js} +9 -9
- package/_assets/{index-Fsk2Hbva.js → index-ZSCJO9rV.js} +7 -7
- package/_assets/{index-C3RjhI_p.js → index-d0JdYucS.js} +2 -2
- package/_assets/{index-C1wzgEVq.js → index-gx6q3jYb.js} +2 -2
- package/_assets/{index-BevBiuLl.js → index-jG0dKzqZ.js} +2 -2
- package/_assets/{index-Bcrohrl-.js → index-mp9sO-P_.js} +5 -5
- package/_assets/{index-DQu7SA7d.js → index-ovxDr1NO.js} +2 -2
- package/_assets/{index-B5JS9Clv.js → index-rWvX-JNU.js} +2 -2
- package/_assets/{index-DjpGk0_x.js → index-sc9WaH7T.js} +2 -2
- package/_assets/{index.es-Di76vizL.js → index.es-B3Zhssg2.js} +2 -2
- package/_assets/{index.es-CTgZPWm-.js → index.es-CuJy51Rq.js} +5 -5
- package/_assets/{index.es-Dq41ZPxs.js → index.es-DF1aG5Z7.js} +2 -2
- package/_assets/{index.es-n8D3Sd0b.js → index.es-DmJ25C-K.js} +2 -2
- package/_assets/{info-DaeURCNf.js → info-B91xCNqh.js} +2 -2
- package/_assets/info-circle-DtEY-DDD.js +13 -0
- package/_assets/{items-empty-DKxZ65y_.js → items-empty-BAKFq7PT.js} +2 -2
- package/_assets/jsxRuntime.module-BUzu5v1_.js +2 -0
- package/_assets/{jump-16x52o_a.js → jump-BolxKTOM.js} +2 -2
- package/_assets/{lightbulb-SUie1snx.js → lightbulb-ByedgZqO.js} +3 -3
- package/_assets/linkAccount-D4jgrDpa.js +2 -0
- package/_assets/{localBatchGatewayRequest-BMe2q_5E.js → localBatchGatewayRequest-BMvn0i_b.js} +2 -2
- package/_assets/{mail-BMQ_Tcbe.js → mail-B2wBPliw.js} +3 -3
- package/_assets/{mobile-DWNrp5xU.js → mobile-COGIkuHo.js} +2 -2
- package/_assets/modal.styles-G1Y436F0.js +531 -0
- package/_assets/{modal.styles-n9Y4CaNq.js → modal.styles-wZfJxa-e.js} +2 -2
- package/_assets/{more-BJafKVQX.js → more-zcriamqw.js} +3 -3
- package/_assets/{native-ehoRf_75.js → native-BS9-NZgY.js} +2 -2
- package/_assets/{network-placeholder-BNTWT8_K.js → network-placeholder-Cm-6akxX.js} +2 -2
- package/_assets/{networks-DicXj4Bi.js → networks-BuXAUv57.js} +2 -2
- package/_assets/{nftPlaceholder-BvQ5YwOQ.js → nftPlaceholder-vZdYCYRL.js} +2 -2
- package/_assets/{off-DwIf2gSg.js → off-CLF8R11w.js} +3 -3
- package/_assets/{onramp-DGxIQZko.js → onramp-B2gdYmCO.js} +2 -2
- package/_assets/openzeppelin-B_FytaNI.js +2 -0
- package/_assets/{ownerOf-UnPFHclt.js → ownerOf-D6JpENJA.js} +2 -2
- package/_assets/parseNft-DiM6gxbM.js +3 -0
- package/_assets/{parseSignature-B9QDOsIp.js → parseSignature-BJVq2ShY.js} +4 -4
- package/_assets/{parseSignature-BuEMAnZl.js → parseSignature-VwEmUV8h.js} +2 -2
- package/_assets/{passkeys-D60yIHE9.js → passkeys-DEiWC5Z7.js} +2 -2
- package/_assets/{pay-with-exchange-tm5S6FFX.js → pay-with-exchange-C7Nm7Ic2.js} +2 -2
- package/_assets/{play-store-CA36CBrS.js → play-store-CAbJYmXD.js} +2 -2
- package/_assets/{plus-Cns28nqN.js → plus-DWQF9t2p.js} +3 -3
- package/_assets/{prepare-contract-call-C9bwXTUv.js → prepare-contract-call-r6GCr7Mb.js} +2 -2
- package/_assets/{qr-code-Q_tmm4VY.js → qr-code-Br4VphwV.js} +3 -3
- package/_assets/{qr-overlay-DNIPp0ap.js → qr-overlay-mbqSXRsy.js} +6 -6
- package/_assets/{react-Dombkhv6.js → react-DKpLHQl0.js} +2 -2
- package/_assets/{receive-D8koI1qS.js → receive-KMWzb1kT.js} +2 -2
- package/_assets/{recycle-horizontal-DjogUTaH.js → recycle-horizontal-DdAImjTL.js} +3 -3
- package/_assets/{ref-PrJHD-ud.js → ref-D90CCjlU.js} +3 -3
- package/_assets/{refresh-BoBh2MVk.js → refresh-S-H2nzPq.js} +3 -3
- package/_assets/{reown-logo-CT7u8xi3.js → reown-logo-D5L2QY4i.js} +3 -3
- package/_assets/{resolveImplementation-8uufRanE.js → resolveImplementation-NjDCaPa0.js} +2 -2
- package/_assets/{resume-buy-BQkiNyYh.js → resume-buy-DRxVLtZn.js} +2 -2
- package/_assets/resume-name-m2sdJCvP.js +2 -0
- package/_assets/{rpc-TAsoHmMK.js → rpc-C6ONv-35.js} +4 -4
- package/_assets/{sales-empty-D0iWvumY.js → sales-empty-BJGisiNF.js} +2 -2
- package/_assets/{search-empty-CYHPyiwy.js → search-empty-DcGDTM8L.js} +2 -2
- package/_assets/{search-971TVQY2.js → search-f6j421fJ.js} +3 -3
- package/_assets/{secp256k1-Bgo4IyeY.js → secp256k1-BhLjMGke.js} +2 -2
- package/_assets/{secp256k1-COemtrZ_.js → secp256k1-Dogd-wfD.js} +2 -2
- package/_assets/{secp256k1-CsX1CoV5.js → secp256k1-ZRJNrIuk.js} +2 -2
- package/_assets/{send-J6eNNrry.js → send-B4t6gmpc.js} +12 -12
- package/_assets/{send-BJky82OD.js → send-BAUrBF6z.js} +3 -3
- package/_assets/send-batch-transaction-BULbschT.js +2 -0
- package/_assets/{send-eip712-transaction-DJP6tJ5E.js → send-eip712-transaction-B5q6HGy1.js} +3 -3
- package/_assets/send-gasless-transaction-BW_1tZ59.js +3 -0
- package/_assets/send-transaction-D5g8ka92.js +3 -0
- package/_assets/sendMetaTransaction-BiqdXKVl.js +2 -0
- package/_assets/{sendRawTransaction-sBW21l6i.js → sendRawTransaction-DHZVBFUc.js} +4 -4
- package/_assets/{sentry-DgsMrt01.js → sentry-WFsNKO98.js} +3 -3
- package/_assets/{serializeTransaction-G0I8bf1U.js → serializeTransaction-C1OICSTJ.js} +2 -2
- package/_assets/{session-proposal-fppNtPts.js → session-proposal-C_rldw8k.js} +2 -2
- package/_assets/session-request-DRsdGyCL.js +3 -0
- package/_assets/{sha256-Cm0WQDsB.js → sha256-YJL3wOOs.js} +2 -2
- package/_assets/{sha3-DPbQQPsg.js → sha3-DxT-REZ2.js} +2 -2
- package/_assets/signin-empty-DXl1Qpby.js +2 -0
- package/_assets/{signing-BtEOk8Sb.js → signing-B9DcFwzm.js} +4 -4
- package/_assets/{skeleton.styles-CdhhJKly.js → skeleton.styles-C4BBCe2d.js} +2 -2
- package/_assets/{socials-CFMlKmWD.js → socials-Zki4qksa.js} +2 -2
- package/_assets/{styled-DIuUwEGM.js → styled-uWbR3175.js} +3 -3
- package/_assets/{swapHorizontal-BROJkMe6.js → swapHorizontal-BXjIGAcZ.js} +2 -2
- package/_assets/{swapHorizontalBold-DGj8RzHp.js → swapHorizontalBold-BzueHopN.js} +3 -3
- package/_assets/{swapHorizontalMedium-CTW2pJ0O.js → swapHorizontalMedium-DLFo4hRx.js} +2 -2
- package/_assets/{swapHorizontalRoundedBold-BAWFLi4l.js → swapHorizontalRoundedBold-BddBy7OL.js} +2 -2
- package/_assets/{swapVertical-D0KCL9o6.js → swapVertical-DYkySTmy.js} +3 -3
- package/_assets/{swaps-1v9wGZS3.js → swaps-DiPvT9W6.js} +2 -2
- package/_assets/{telegram-BrWZtQW9.js → telegram-D8ymSABf.js} +3 -3
- package/_assets/{thirdweb-IWXuiChr.js → thirdweb-wDwbIJ1W.js} +4 -4
- package/_assets/{three-dots-BqbdzVIX.js → three-dots-CiS9iH0H.js} +2 -2
- package/_assets/{to-serializable-transaction-C5libsTc.js → to-serializable-transaction-6f6pRX-q.js} +3 -3
- package/_assets/totalSupply-rJ9WcMzs.js +2 -0
- package/_assets/trade-encoding-DcX77zVS.js +2 -0
- package/_assets/{transaction-xj7V9Qtr.js → transaction-DxXkarJJ.js} +2 -2
- package/_assets/transactionReceipt-CxzioWsu.js +2 -0
- package/_assets/transactions-BGQTb4VV.js +17 -0
- package/_assets/{twitch-CjF65t51.js → twitch-BJQCmiGz.js} +2 -2
- package/_assets/{twitterIcon-BaOdDtc8.js → twitterIcon-B78o99Zv.js} +2 -2
- package/_assets/{useCreatorSales-C3CJHUNh.js → useCreatorSales-D4BzYp33.js} +19 -19
- package/_assets/{useInfiniteGrid-sopvcWVc.js → useInfiniteGrid-BUDyyZZl.js} +2 -2
- package/_assets/{useStore-D4IZ0aSp.js → useStore-tid_idJp.js} +3 -3
- package/_assets/useTheme-CRxh5DOu.js +2 -0
- package/_assets/{utils-C_H40_2X.js → utils-Cj21wfvp.js} +2 -2
- package/_assets/{verify-CzEN-nsy.js → verify-CrYE2kna.js} +3 -3
- package/_assets/{verify-filled-TDYOeDJL.js → verify-filled-CwwnY5h6.js} +2 -2
- package/_assets/{verifyHash-YINPIkpF.js → verifyHash-mzlxS6TY.js} +2 -2
- package/_assets/{w3m-modal-BXr8SOpG.js → w3m-modal-BArYWi0C.js} +2 -2
- package/_assets/{w3m-modal-DsNXjGjb.js → w3m-modal-BXpuWB5y.js} +2 -2
- package/_assets/{wait-for-tx-receipt-C8fAiv-C.js → wait-for-tx-receipt-DRwGvrwD.js} +2 -2
- package/_assets/{wallet-CUlGPHz3.js → wallet-EosqBoq7.js} +2 -2
- package/_assets/{wallet-placeholder-CkipoQX-.js → wallet-placeholder-DL8kIY2O.js} +3 -3
- package/_assets/{walletconnect-CJlDhwv0.js → walletconnect-CauX9cVK.js} +4 -4
- package/_assets/{wallets-LOprNqot.js → wallets-HjCMtUn8.js} +6 -6
- package/_assets/warning-circle-BrcBx24p.js +13 -0
- package/_assets/{web-connector-DUWewhFv.js → web-connector-15d-OnTN.js} +4 -4
- package/_assets/{writeContract-BsMB90wa.js → writeContract-BJQQGUKO.js} +2 -2
- package/_assets/x-CwtQDczS.js +13 -0
- package/_assets/{zora-sepolia-BYhoHBlo.js → zora-sepolia-BFYuSeeX.js} +2 -2
- package/_assets/{zoraTestnet-CO3bQ8ny.js → zoraTestnet-DdfVMUdb.js} +2 -2
- package/index.html +11 -11
- package/package.json +2 -2
- package/sitemap.xml +1 -1
- package/_assets/Activity-BCobIEqr.js +0 -400
- package/_assets/Assets-DTDpj6EF.js +0 -939
- package/_assets/Authorizations-Dyvzc298.js +0 -192
- package/_assets/CollectionCarousel-CClg5SGV.js +0 -851
- package/_assets/Confetti-B2guP7xN.js +0 -18
- package/_assets/DeploymentBuilder-BRc8X1GH.js +0 -4
- package/_assets/Event-DTI3sNqP.js +0 -72
- package/_assets/HelpersUtil-BXZPT-5p.js +0 -63
- package/_assets/LoadMore-5VaFL5J8.js +0 -8
- package/_assets/NotFound-CFpr8Znc.js +0 -18
- package/_assets/NotificationsBell-Bfgul_iB.js +0 -142
- package/_assets/PhCaretDown-niSUmOpX.js +0 -15
- package/_assets/PhCaretLeft-5pVZjDE4.js +0 -15
- package/_assets/PhCaretRight-xH-dut9T.js +0 -15
- package/_assets/PhCaretUp-BuqimB7k.js +0 -15
- package/_assets/SaleCountdown-LU-Yu5_R.js +0 -99
- package/_assets/arrow-right-CS0VOWZq.js +0 -9
- package/_assets/authorizations-Ob__E7YP.js +0 -2
- package/_assets/builder-Bkdo9MyY.js +0 -2
- package/_assets/buy-4DFO6Bjc.js +0 -2
- package/_assets/close-Du9ogfts.js +0 -9
- package/_assets/collectionPage.styles-T8QJ2uHO.js +0 -41
- package/_assets/common-B1cK8U3y.js +0 -2
- package/_assets/crumbs.styles-CGLucAba.js +0 -10
- package/_assets/decimals-DtF4b0wO.js +0 -2
- package/_assets/decimals-hxhJgmkh.js +0 -2
- package/_assets/detectExtension-BWZRKjyw.js +0 -2
- package/_assets/errors-JIkdqYdS.js +0 -2
- package/_assets/estimate-l1-fee-CTbp2FZb.js +0 -2
- package/_assets/eth_estimateGas-D_H7Au3g.js +0 -2
- package/_assets/eth_getStorageAt-CX4sH_ZX.js +0 -2
- package/_assets/eth_getTransactionCount-ycq8a8zK.js +0 -2
- package/_assets/ethereum-BhyqMTt5.js +0 -2
- package/_assets/extractIPFS-CiIcd-zt.js +0 -2
- package/_assets/fetchTokenMetadata-Dp3XcLsm.js +0 -3
- package/_assets/get-ecosystem-wallet-info-ydSiKNvA.js +0 -2
- package/_assets/getInstalledModules-DXv7DPgP.js +0 -2
- package/_assets/getNFT-CyqvSlNG.js +0 -2
- package/_assets/import-2e9MfFqq.js +0 -2
- package/_assets/index-B3kXX9iR.js +0 -28
- package/_assets/index-BRmZB5PP.js +0 -31
- package/_assets/index-Bac7Ln9X.js +0 -2
- package/_assets/index-En01i4P6.js +0 -2
- package/_assets/info-circle-mEb0pRoV.js +0 -13
- package/_assets/jsxRuntime.module-6wpz9UoU.js +0 -2
- package/_assets/linkAccount-Bp15G5p5.js +0 -2
- package/_assets/openzeppelin-DARH7c8-.js +0 -2
- package/_assets/parseNft-ClNOIjNy.js +0 -3
- package/_assets/send-batch-transaction-DPd2oV50.js +0 -2
- package/_assets/send-gasless-transaction-1n223Tf8.js +0 -3
- package/_assets/send-transaction-UfIIZtyM.js +0 -3
- package/_assets/sendMetaTransaction-DQ-jkGgK.js +0 -2
- package/_assets/session-request-D4Ni-baa.js +0 -3
- package/_assets/signin-empty-CY9eL7IB.js +0 -2
- package/_assets/totalSupply-CGCsNiFp.js +0 -2
- package/_assets/trade-encoding-CHp-srqw.js +0 -2
- package/_assets/transactionReceipt-JGqFHl-t.js +0 -2
- package/_assets/transactions-BCD1_Ajq.js +0 -17
- package/_assets/useCreditPacks-BVuY_cvh.js +0 -2
- package/_assets/useTheme-BEQPRnmX.js +0 -2
- package/_assets/warning-circle-B2n9VXBj.js +0 -13
- package/_assets/x-BK627-zl.js +0 -13
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as u,L as W,e as re,j as e}from"./react-
|
|
1
|
+
import{r as u,L as W,e as re,j as e}from"./react-DKpLHQl0.js";import{a2 as H,w as U,a3 as le,a4 as de,a5 as ce,a6 as he,a as pe,s as i,I as L,a7 as ue,a8 as me,H as F,a9 as xe,x as V,aa as ge,B as fe,t as n,ab as G,ac as N,ad as be,ae as ye,af as ve,ag as je,O as we,ah as $e,ai as ke,aj as Ie,ak as Ce,al as Ee,am as ze,an as Le,ao as Fe,ap as We,a1 as Se,z as A,aq as O,ar as Ae,as as Oe,at as Te,au as Pe,av as Re,aw as Ne}from"./index-BiR1vPRL.js";import{d as B}from"./dcl-schemas-CyEZVc6x.js";import{E as Q}from"./ErrorNotice-Dlh8ddHO.js";import{E as Be}from"./EmotePlaybackBar-DxozN5dA.js";import{O as Me}from"./OutfitPreview-Cj1w-8ou.js";import{c as _e}from"./crumbs.styles-D969n73j.js";import"./sentry-WFsNKO98.js";import"./ethers-CQbljc2C.js";import"./intl-AKLEHPeO.js";import"./disposePreview-D5v9GkJF.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]="e63dba31-4048-4387-9410-f96db07b4c27",t._sentryDebugIdIdentifier="sentry-dbid-e63dba31-4048-4387-9410-f96db07b4c27")}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,e as re,j as e}from"./react-Dombkhv6.js";import{ab as H,x a
|
|
|
75
75
|
flex-direction: column;
|
|
76
76
|
gap: 15px;
|
|
77
77
|
min-height: 0;
|
|
78
|
-
`,
|
|
78
|
+
`,Ve=i.h1`
|
|
79
79
|
font-size: 28px;
|
|
80
80
|
font-weight: 600;
|
|
81
81
|
color: ${o.softWhite};
|
|
@@ -85,7 +85,7 @@ import{r as u,L as W,e as re,j as e}from"./react-Dombkhv6.js";import{ab as H,x a
|
|
|
85
85
|
font-size: 20px;
|
|
86
86
|
line-height: 24px;
|
|
87
87
|
}
|
|
88
|
-
`,
|
|
88
|
+
`,Ge=i.p`
|
|
89
89
|
font-size: 12px;
|
|
90
90
|
font-weight: 500;
|
|
91
91
|
letter-spacing: 0.04em;
|
|
@@ -365,5 +365,5 @@ import{r as u,L as W,e as re,j as e}from"./react-Dombkhv6.js";import{ab as H,x 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=V(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:G(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=Ae(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=V(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=G(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),S=s.byKey.get(w)??null;return{key:w,item:S,state:S?ke(S,{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(Ve,{children:t.name}),e.jsx(Ge,{"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(Se,{address:a.item.creator})}):null,e.jsxs(q,{children:[a.state!=="unavailable"?e.jsxs(it,{children:[e.jsx(A,{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(A,{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(A,{size:16}),e.jsx(O,{credits:d})]}):null]})]})]})]})]})]})}export{Lt as OutfitDetail,Lt as default};
|
|
369
|
+
//# sourceMappingURL=OutfitDetail-EWQSU1q3.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import{r as c,j as
|
|
1
|
+
import{r as c,j as f}from"./react-DKpLHQl0.js";import{d as m}from"./dcl-schemas-CyEZVc6x.js";import{b1 as S,w as T,s as _,af as q,b2 as M,b3 as U,b4 as W,t as k}from"./index-BiR1vPRL.js";import{d as C}from"./disposePreview-D5v9GkJF.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]="04c0a68d-7f6a-4d94-bc52-43031fdef033",e._sentryDebugIdIdentifier="sentry-dbid-04c0a68d-7f6a-4d94-bc52-43031fdef033")}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(l=>a.has(l)).map(l=>({key:l,url:`${n}/content/contents/${a.get(l)}`}))}));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
2
|
position: absolute;
|
|
3
3
|
inset: 0;
|
|
4
4
|
display: grid;
|
|
5
5
|
place-items: center;
|
|
6
|
-
`;function X({id:e,profile:n,bodyShape:s,urns:a,emote:t=m.PreviewEmote.FASHION,enabled:o=!0,skin:
|
|
7
|
-
//# sourceMappingURL=OutfitPreview-
|
|
6
|
+
`;function X({id:e,profile:n,bodyShape:s,urns:a,emote:t=m.PreviewEmote.FASHION,enabled:o=!0,skin:d,hair:r,eyes:l,unityMode:E=m.PreviewUnityMode.BUILDER,controls:x,onRenderer:I}){const A=q(u=>u.fittingOpen),{ref:j,active:D}=M(),g=t&&h(t)?t:null,{base64:p,loop:O,isLoading:R}=K(g),i=o&&a.length>0&&D&&!A&&!R,B=U(a)===m.ChainName.MATIC_AMOY,[L,y]=c.useState(!1),P=a.join(",");c.useEffect(()=>{y(!1)},[P,n,s,t,d,r,l]),c.useEffect(()=>{i&&y(!1)},[i]);const[F,w]=c.useState(!1);c.useEffect(()=>{if(!i){w(!1);return}let u=0,N=0;const v=()=>{document.getElementById(e)?w(!0):N++<300&&(u=requestAnimationFrame(v))};return v(),()=>cancelAnimationFrame(u)},[i,e]);const b=c.useRef(null);return c.useEffect(()=>{if(i)return()=>{C(b.current),b.current=null}},[i]),f.jsxs(f.Fragment,{children:[f.jsx("div",{ref:j,"data-preview-viewport":!0,"aria-hidden":!0}),i?f.jsx(W,{id:e,profile:n,bodyShape:s,urns:a,skin:d,hair:r,eyes:l,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 u;y(!0),b.current=((u=document.getElementById(e))==null?void 0:u.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-Cj1w-8ou.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{r as d,j as t,L as A,e as
|
|
1
|
+
import{r as d,j as t,L as A,e as Yt,a as Jt,b as Xt}from"./react-DKpLHQl0.js";import{s,a as ut,I as _,aI as Zt,t as e,z as ot,aq as at,H as m,n as Tt,x as J,aa as te,B as ee,aJ as ie,Y as se,aK as Ct,w as Et,ad as oe,ah as z,aL as V,aM as ae,aN as re,aO as Y,al as ne,an as de,aj as le,ak as ue,ab as Lt,ap as ce,aP as rt,aQ as pe,aR as fe,aS as he,aT as F,aU as Rt,aV as zt,aW as O,l as nt,aX as dt,aY as xe,aZ as me,a_ as ge,O as be,a$ as ye,b0 as je,aw as ve}from"./index-BiR1vPRL.js";import{s as we}from"./signin-empty-DXl1Qpby.js";import{E as U}from"./ErrorNotice-Dlh8ddHO.js";import{L as $e}from"./LoadMore-BxuVAL5h.js";import{u as ke}from"./useInfiniteGrid-BUDyyZZl.js";import{O as Se}from"./OutfitPreview-Cj1w-8ou.js";import{T as Ie}from"./skeleton.styles-C4BBCe2d.js";import"./dcl-schemas-CyEZVc6x.js";import"./sentry-WFsNKO98.js";import"./ethers-CQbljc2C.js";import"./intl-AKLEHPeO.js";import"./disposePreview-D5v9GkJF.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]="643b9a75-c24b-4fa3-9ab2-a946463a7744",r._sentryDebugIdIdentifier="sentry-dbid-643b9a75-c24b-4fa3-9ab2-a946463a7744")}catch{}})();const{colors:x,radius:X,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 A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.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: ${X.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 A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
35
35
|
`,Re=s.button`
|
|
36
36
|
min-height: 44px;
|
|
37
37
|
padding: 0 16px;
|
|
38
|
-
border-radius: ${
|
|
38
|
+
border-radius: ${X.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 A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
58
58
|
}
|
|
59
59
|
`,ze=s.span`
|
|
60
60
|
height: 190px;
|
|
61
|
-
border-radius: ${
|
|
62
|
-
`,
|
|
61
|
+
border-radius: ${X.card};
|
|
62
|
+
`,Pe=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 A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.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: ${X.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 A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
86
86
|
opacity: 0.5;
|
|
87
87
|
cursor: default;
|
|
88
88
|
}
|
|
89
|
-
`,
|
|
89
|
+
`,We=s.img`
|
|
90
90
|
width: 100%;
|
|
91
91
|
aspect-ratio: 1;
|
|
92
92
|
object-fit: cover;
|
|
@@ -111,7 +111,7 @@ import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
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 Be({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,D=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))}):D.length===0?t.jsx(wt,{children:e("outfits.studio.noResults")}):t.jsx($t,{children:D.map(l=>{const v=`${l.contractAddress.toLowerCase()}-${l.itemId}`,H=r.has(v);return t.jsxs(
|
|
114
|
+
`,Ne=[{key:"wearable",labelKey:"categories.wearables"},{key:"emote",labelKey:"categories.emotes"}];function Be({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,D=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))}):D.length===0?t.jsx(wt,{children:e("outfits.studio.noResults")}):t.jsx($t,{children:D.map(l=>{const v=`${l.contractAddress.toLowerCase()}-${l.itemId}`,H=r.has(v);return t.jsxs(Pe,{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(We,{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:B,z:De}=ut,Pt=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 A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
133
133
|
margin: 0;
|
|
134
134
|
font-size: 13px;
|
|
135
135
|
color: ${n.gray4};
|
|
136
|
-
`,
|
|
136
|
+
`,Wt=s.div`
|
|
137
137
|
display: flex;
|
|
138
138
|
align-items: center;
|
|
139
139
|
gap: 12px;
|
|
@@ -222,7 +222,7 @@ import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
222
222
|
gap: 8px;
|
|
223
223
|
font-size: 13px;
|
|
224
224
|
color: ${n.gray4};
|
|
225
|
-
`,
|
|
225
|
+
`,Ye=s.div`
|
|
226
226
|
display: flex;
|
|
227
227
|
align-items: center;
|
|
228
228
|
gap: 8px;
|
|
@@ -231,7 +231,7 @@ import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
231
231
|
width: 100%;
|
|
232
232
|
justify-content: flex-end;
|
|
233
233
|
}
|
|
234
|
-
`,
|
|
234
|
+
`,Je=s.button`
|
|
235
235
|
display: inline-flex;
|
|
236
236
|
align-items: center;
|
|
237
237
|
justify-content: center;
|
|
@@ -252,7 +252,7 @@ import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
252
252
|
opacity: 0.5;
|
|
253
253
|
cursor: default;
|
|
254
254
|
}
|
|
255
|
-
`,
|
|
255
|
+
`,Xe=s.div`
|
|
256
256
|
position: fixed;
|
|
257
257
|
inset: 0;
|
|
258
258
|
z-index: ${De.overlay};
|
|
@@ -331,11 +331,11 @@ import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.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
|
+
`,P=s.div`
|
|
335
335
|
display: flex;
|
|
336
336
|
flex-direction: column;
|
|
337
337
|
gap: 8px;
|
|
338
|
-
`,
|
|
338
|
+
`,W=s.label`
|
|
339
339
|
font-size: 13px;
|
|
340
340
|
font-weight: 700;
|
|
341
341
|
letter-spacing: 0.04em;
|
|
@@ -553,5 +553,5 @@ import{r as d,j as t,L as A,e as Xt,a as Yt,b as Jt}from"./react-Dombkhv6.js";im
|
|
|
553
553
|
display: flex;
|
|
554
554
|
flex-wrap: wrap;
|
|
555
555
|
gap: 10px;
|
|
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]),D=i=>ye((o==null?void 0:o.items)??[],i,g.byKey),l=i=>!!i.itemId&&D(i).length<=X;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}:{}}),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:Bt,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:Dt,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(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}=Yt(),{pathname:f}=Jt(),h=J(b=>b.session),c=J(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=J(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(Pt,{"data-testid":"outfit-studio-list",children:[t.jsxs(Wt,{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(Ye,{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(Je,{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(Xe,{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=J(i=>i.session),y=Ct(),j=Xt(),[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<=Y;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}:{}}),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<=Y;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(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(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(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,"/",Y,")"]}),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>=Y?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-CymFpAjx.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as
|
|
1
|
+
import{n as h,Y as c,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]="c53e0298-b2d1-4a4a-ad80-08067f018c45",t._sentryDebugIdIdentifier="sentry-dbid-c53e0298-b2d1-4a4a-ad80-08067f018c45")}catch{}})();var f=Object.defineProperty,w=Object.getOwnPropertyDescriptor,o=(t,r,i,s)=>{for(var a=s>1?void 0:s?w(r,i):r,d=t.length-1,p;d>=0;d--)(p=t[d])&&(a=(s?p(r,i,a):p(a))||a);return s&&a&&f(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 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 c,Y as h,t as l,p as f,O as n,s as g}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="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"/>`]]);e.styles=
|
|
10
|
+
</svg>`}};e.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"/>`]]);e.styles=g`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
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([
|
|
15
|
-
//# sourceMappingURL=PhArrowCircleDown-
|
|
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-circle-down")],e);export{e as PhArrowCircleDown};
|
|
15
|
+
//# sourceMappingURL=PhArrowCircleDown-BgP2jbf5.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,Y as
|
|
1
|
+
import{n as p,Y as g,t as o,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]="25d4277e-fb76-4ba6-a167-e9a50698488c",e._sentryDebugIdIdentifier="sentry-dbid-25d4277e-fb76-4ba6-a167-e9a50698488c")}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,d;h>=0;h--)(d=e[h])&&(a=(i?d(r,l,a):d(a))||a);return i&&a&&f(r,l,a),a};let t=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}"
|
|
@@ -7,9 +7,9 @@ import{n as p,Y as c,t as o,p as f,O as n,s as g}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${t.weightsMap.get((e=this.weight)!=null?e:"regular")}
|
|
10
|
-
</svg>`}};t.weightsMap=new Map([["thin",o`<path d="M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"/>`],["light",o`<path d="M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"/>`],["regular",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`],["bold",o`<path d="M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"/>`],["fill",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"/>`],["duotone",o`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`]]);t.styles=
|
|
10
|
+
</svg>`}};t.weightsMap=new Map([["thin",o`<path d="M236,56v48a4,4,0,0,1-4,4H184a4,4,0,0,1,0-8h37.7L187.53,68.69l-.13-.12a84,84,0,1,0-1.75,120.51,4,4,0,0,1,5.5,5.82A91.43,91.43,0,0,1,128,220h-1.26A92,92,0,1,1,193,62.84l35,32.05V56a4,4,0,1,1,8,0Z"/>`],["light",o`<path d="M238,56v48a6,6,0,0,1-6,6H184a6,6,0,0,1,0-12h32.55l-30.38-27.8c-.06-.06-.12-.13-.19-.19a82,82,0,1,0-1.7,117.65,6,6,0,0,1,8.24,8.73A93.46,93.46,0,0,1,128,222h-1.28A94,94,0,1,1,194.37,61.4L226,90.35V56a6,6,0,1,1,12,0Z"/>`],["regular",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`],["bold",o`<path d="M244,56v48a12,12,0,0,1-12,12H184a12,12,0,1,1,0-24H201.1l-19-17.38c-.13-.12-.26-.24-.38-.37A76,76,0,1,0,127,204h1a75.53,75.53,0,0,0,52.15-20.72,12,12,0,0,1,16.49,17.45A99.45,99.45,0,0,1,128,228h-1.37A100,100,0,1,1,198.51,57.06L220,76.72V56a12,12,0,0,1,24,0Z"/>`],["fill",o`<path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1-5.66-13.66l17-17-10.55-9.65-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,1,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60l10.93,10L226.34,50.3A8,8,0,0,1,240,56Z"/>`],["duotone",o`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M240,56v48a8,8,0,0,1-8,8H184a8,8,0,0,1,0-16H211.4L184.81,71.64l-.25-.24a80,80,0,1,0-1.67,114.78,8,8,0,0,1,11,11.63A95.44,95.44,0,0,1,128,224h-1.32A96,96,0,1,1,195.75,60L224,85.8V56a8,8,0,1,1,16,0Z"/>`]]);t.styles=c`
|
|
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-CuNU0iSl.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as c,t as o,p as
|
|
1
|
+
import{n as h,Y as c,t as o,p as f,O as d,s as g}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]="dc0b25d2-c4b5-4d5f-9509-07f46e77fc46",t._sentryDebugIdIdentifier="sentry-dbid-dc0b25d2-c4b5-4d5f-9509-07f46e77fc46")}catch{}})();var u=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&&u(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 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 h,Y as c,t as o,p as g,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",o`<path d="M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"/>`],["light",o`<path d="M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",o`<path d="M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"/>`],["fill",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",o`<path d="M200,144l-72,72L56,144Z" opacity="0.2"/><path d="M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"/>`]]);e.styles=
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M202.83,146.83l-72,72a4,4,0,0,1-5.66,0l-72-72a4,4,0,0,1,5.66-5.66L124,206.34V40a4,4,0,0,1,8,0V206.34l65.17-65.17a4,4,0,0,1,5.66,5.66Z"/>`],["light",o`<path d="M204.24,148.24l-72,72a6,6,0,0,1-8.48,0l-72-72a6,6,0,0,1,8.48-8.48L122,201.51V40a6,6,0,0,1,12,0V201.51l61.76-61.75a6,6,0,0,1,8.48,8.48Z"/>`],["regular",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72a8,8,0,0,1,11.32-11.32L120,196.69V40a8,8,0,0,1,16,0V196.69l58.34-58.35a8,8,0,0,1,11.32,11.32Z"/>`],["bold",o`<path d="M208.49,152.49l-72,72a12,12,0,0,1-17,0l-72-72a12,12,0,0,1,17-17L116,187V40a12,12,0,0,1,24,0V187l51.51-51.52a12,12,0,0,1,17,17Z"/>`],["fill",o`<path d="M205.66,149.66l-72,72a8,8,0,0,1-11.32,0l-72-72A8,8,0,0,1,56,136h64V40a8,8,0,0,1,16,0v96h64a8,8,0,0,1,5.66,13.66Z"/>`],["duotone",o`<path d="M200,144l-72,72L56,144Z" opacity="0.2"/><path d="M207.39,140.94A8,8,0,0,0,200,136H136V40a8,8,0,0,0-16,0v96H56a8,8,0,0,0-5.66,13.66l72,72a8,8,0,0,0,11.32,0l72-72A8,8,0,0,0,207.39,140.94ZM128,204.69,75.31,152H180.69Z"/>`]]);e.styles=f`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
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([
|
|
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([g("ph-arrow-down")],e);export{e as PhArrowDown};
|
|
15
|
+
//# sourceMappingURL=PhArrowDown-BrLks3Uz.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as f,t as l,p as g,O 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 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]="3206abf1-6680-4ee5-916e-00b246d57fca",e._sentryDebugIdIdentifier="sentry-dbid-3206abf1-6680-4ee5-916e-00b246d57fca")}catch{}})();var c=Object.defineProperty,y=Object.getOwnPropertyDescriptor,o=(e,r,i,s)=>{for(var a=s>1?void 0:s?y(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&&c(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 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 f,t as l,p as g,O as d,s as c}from"./property-CbgY9QKj.js";(f
|
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;o([
|
|
15
|
-
//# sourceMappingURL=PhArrowLeft-
|
|
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-left")],t);export{t as PhArrowLeft};
|
|
15
|
+
//# sourceMappingURL=PhArrowLeft-BbZGSN_s.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as
|
|
1
|
+
import{n as p,Y as g,t as s,p as c,O as n,s as f}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]="2ac042fb-e937-4fec-bb49-484b0a906d56",t._sentryDebugIdIdentifier="sentry-dbid-2ac042fb-e937-4fec-bb49-484b0a906d56")}catch{}})();var u=Object.defineProperty,y=Object.getOwnPropertyDescriptor,a=(t,r,i,l)=>{for(var o=l>1?void 0:l?y(r,i):r,d=t.length-1,h;d>=0;d--)(h=t[d])&&(o=(l?h(r,i,o):h(o))||o);return l&&o&&u(r,i,o),o};let e=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return g`<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 d,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",s`<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",s`<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",s`<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",s`<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",s`<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",s`<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=
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",s`<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",s`<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",s`<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",s`<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",s`<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",s`<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=c`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;a([n({type:String,reflect:!0})],e.prototype,"size",2);a([n({type:String,reflect:!0})],e.prototype,"weight",2);a([n({type:String,reflect:!0})],e.prototype,"color",2);a([n({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=a([
|
|
15
|
-
//# sourceMappingURL=PhArrowRight-
|
|
14
|
+
`;a([n({type:String,reflect:!0})],e.prototype,"size",2);a([n({type:String,reflect:!0})],e.prototype,"weight",2);a([n({type:String,reflect:!0})],e.prototype,"color",2);a([n({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=a([f("ph-arrow-right")],e);export{e as PhArrowRight};
|
|
15
|
+
//# sourceMappingURL=PhArrowRight-DqLi6_uj.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as p,Y as g,t as o,p as u,O 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]="e7a240d8-313e-482e-a96a-2d40d46ebe7e",e._sentryDebugIdIdentifier="sentry-dbid-e7a240d8-313e-482e-a96a-2d40d46ebe7e")}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 p,Y as g,t as o,p as u,O as l,s as H}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([
|
|
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-CX0ZRgNC.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as g,t as o,p as u,O as
|
|
1
|
+
import{n as h,Y as g,t as o,p as u,O as d,s as c}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]="d378d183-42a3-4d81-a1ec-7f32c364d14a",t._sentryDebugIdIdentifier="sentry-dbid-d378d183-42a3-4d81-a1ec-7f32c364d14a")}catch{}})();var f=Object.defineProperty,y=Object.getOwnPropertyDescriptor,l=(t,r,s,i)=>{for(var a=i>1?void 0:i?y(r,s):r,n=t.length-1,p;n>=0;n--)(p=t[n])&&(a=(i?p(r,s,a):p(a))||a);return i&&a&&f(r,s,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 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 o,p as u,O as n,s as f}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
|
+
${e.weightsMap.get((t=this.weight)!=null?t:"regular")}
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M202.83,114.83a4,4,0,0,1-5.66,0L132,49.66V216a4,4,0,0,1-8,0V49.66L58.83,114.83a4,4,0,0,1-5.66-5.66l72-72a4,4,0,0,1,5.66,0l72,72A4,4,0,0,1,202.83,114.83Z"/>`],["light",o`<path d="M204.24,116.24a6,6,0,0,1-8.48,0L134,54.49V216a6,6,0,0,1-12,0V54.49L60.24,116.24a6,6,0,0,1-8.48-8.48l72-72a6,6,0,0,1,8.48,0l72,72A6,6,0,0,1,204.24,116.24Z"/>`],["regular",o`<path d="M205.66,117.66a8,8,0,0,1-11.32,0L136,59.31V216a8,8,0,0,1-16,0V59.31L61.66,117.66a8,8,0,0,1-11.32-11.32l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,205.66,117.66Z"/>`],["bold",o`<path d="M208.49,120.49a12,12,0,0,1-17,0L140,69V216a12,12,0,0,1-24,0V69L64.49,120.49a12,12,0,0,1-17-17l72-72a12,12,0,0,1,17,0l72,72A12,12,0,0,1,208.49,120.49Z"/>`],["fill",o`<path d="M207.39,115.06A8,8,0,0,1,200,120H136v96a8,8,0,0,1-16,0V120H56a8,8,0,0,1-5.66-13.66l72-72a8,8,0,0,1,11.32,0l72,72A8,8,0,0,1,207.39,115.06Z"/>`],["duotone",o`<path d="M200,112H56l72-72Z" opacity="0.2"/><path d="M205.66,106.34l-72-72a8,8,0,0,0-11.32,0l-72,72A8,8,0,0,0,56,120h64v96a8,8,0,0,0,16,0V120h64a8,8,0,0,0,5.66-13.66ZM75.31,104,128,51.31,180.69,104Z"/>`]]);e.styles=u`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;l([
|
|
15
|
-
//# sourceMappingURL=PhArrowUp-
|
|
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([c("ph-arrow-up")],e);export{e as PhArrowUp};
|
|
15
|
+
//# sourceMappingURL=PhArrowUp-D9ugstgK.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as h,Y as g,t as s,p as u,O as p,s as
|
|
1
|
+
import{n as h,Y as g,t as s,p as u,O as p,s as f}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]="28f0bc71-3691-497b-9b32-0a17bf94e876",t._sentryDebugIdIdentifier="sentry-dbid-28f0bc71-3691-497b-9b32-0a17bf94e876")}catch{}})();var c=Object.defineProperty,y=Object.getOwnPropertyDescriptor,a=(t,r,i,n)=>{for(var o=n>1?void 0:n?y(r,i):r,l=t.length-1,d;l>=0;l--)(d=t[l])&&(o=(n?d(r,i,o):d(o))||o);return n&&o&&c(r,i,o),o};let e=class extends h{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var t;return g`<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 g,t as s,p as u,O as p,s as c}from"./property-CbgY9QKj.js";(f
|
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;a([p({type:String,reflect:!0})],e.prototype,"size",2);a([p({type:String,reflect:!0})],e.prototype,"weight",2);a([p({type:String,reflect:!0})],e.prototype,"color",2);a([p({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=a([
|
|
15
|
-
//# sourceMappingURL=PhArrowUpRight-
|
|
14
|
+
`;a([p({type:String,reflect:!0})],e.prototype,"size",2);a([p({type:String,reflect:!0})],e.prototype,"weight",2);a([p({type:String,reflect:!0})],e.prototype,"color",2);a([p({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=a([f("ph-arrow-up-right")],e);export{e as PhArrowUpRight};
|
|
15
|
+
//# sourceMappingURL=PhArrowUpRight-Bpfn12eW.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 f,O as i,s as g}from"./property-CbgY9QKj.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},t=new a.Error().stack;t&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[t]="3289f0ad-3dcc-4544-8480-ae9f2e4e62f6",a._sentryDebugIdIdentifier="sentry-dbid-3289f0ad-3dcc-4544-8480-ae9f2e4e62f6")}catch{}})();var u=Object.defineProperty,w=Object.getOwnPropertyDescriptor,s=(a,t,h,l)=>{for(var r=l>1?void 0:l?w(t,h):t,n=a.length-1,d;n>=0;n--)(d=a[n])&&(r=(l?d(t,h,r):d(r))||r);return l&&r&&u(t,h,r),r};let e=class extends p{constructor(){super(...arguments),this.size="1em",this.weight="regular",this.color="currentColor",this.mirrored=!1}render(){var a;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 o,p as c,O as i,s as f}from"./property-CbgY9QKj.js";(f
|
|
|
7
7
|
transform=${this.mirrored?"scale(-1, 1)":null}
|
|
8
8
|
>
|
|
9
9
|
${e.weightsMap.get((a=this.weight)!=null?a:"regular")}
|
|
10
|
-
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"/>`],["light",o`<path d="M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"/>`],["regular",o`<path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`],["bold",o`<path d="M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"/>`],["fill",o`<path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`],["duotone",o`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`]]);e.styles=
|
|
10
|
+
</svg>`}};e.weightsMap=new Map([["thin",o`<path d="M220,48V96a4,4,0,0,1-4,4H168a4,4,0,0,1,0-8h38.34L184.89,70.54A84,84,0,0,0,66.8,69.85a4,4,0,1,1-5.6-5.72,92,92,0,0,1,129.34.76L212,86.34V48a4,4,0,0,1,8,0ZM189.2,186.15a83.44,83.44,0,0,1-58.68,23.91h-.47a83.52,83.52,0,0,1-58.94-24.6L49.66,164H88a4,4,0,0,0,0-8H40a4,4,0,0,0-4,4v48a4,4,0,0,0,8,0V169.66l21.46,21.45A91.43,91.43,0,0,0,130,218.06h.51a91.45,91.45,0,0,0,64.28-26.19,4,4,0,1,0-5.6-5.72Z"/>`],["light",o`<path d="M222,48V96a6,6,0,0,1-6,6H168a6,6,0,0,1,0-12h33.52L183.47,72a81.51,81.51,0,0,0-57.53-24h-.46A81.5,81.5,0,0,0,68.19,71.28a6,6,0,1,1-8.38-8.58,93.38,93.38,0,0,1,65.67-26.76H126a93.45,93.45,0,0,1,66,27.53l18,18V48a6,6,0,0,1,12,0ZM187.81,184.72a81.5,81.5,0,0,1-57.29,23.34h-.46a81.51,81.51,0,0,1-57.53-24L54.48,166H88a6,6,0,0,0,0-12H40a6,6,0,0,0-6,6v48a6,6,0,0,0,12,0V174.48l18,18.05a93.45,93.45,0,0,0,66,27.53h.52a93.38,93.38,0,0,0,65.67-26.76,6,6,0,1,0-8.38-8.58Z"/>`],["regular",o`<path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`],["bold",o`<path d="M228,48V96a12,12,0,0,1-12,12H168a12,12,0,0,1,0-24h19l-7.8-7.8a75.55,75.55,0,0,0-53.32-22.26h-.43A75.49,75.49,0,0,0,72.39,75.57,12,12,0,1,1,55.61,58.41a99.38,99.38,0,0,1,69.87-28.47H126A99.42,99.42,0,0,1,196.2,59.23L204,67V48a12,12,0,0,1,24,0ZM183.61,180.43a75.49,75.49,0,0,1-53.09,21.63h-.43A75.55,75.55,0,0,1,76.77,179.8L69,172H88a12,12,0,0,0,0-24H40a12,12,0,0,0-12,12v48a12,12,0,0,0,24,0V189l7.8,7.8A99.42,99.42,0,0,0,130,226.06h.56a99.38,99.38,0,0,0,69.87-28.47,12,12,0,0,0-16.78-17.16Z"/>`],["fill",o`<path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1-5.66-13.66L180.65,72a79.48,79.48,0,0,0-54.72-22.09h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27,96,96,0,0,1,192,60.7l18.36-18.36A8,8,0,0,1,224,48ZM186.41,183.29A80,80,0,0,1,75.35,184l18.31-18.31A8,8,0,0,0,88,152H40a8,8,0,0,0-8,8v48a8,8,0,0,0,13.66,5.66L64,195.3a95.42,95.42,0,0,0,66,26.76h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`],["duotone",o`<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"/><path d="M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z"/>`]]);e.styles=f`
|
|
11
11
|
:host {
|
|
12
12
|
display: contents;
|
|
13
13
|
}
|
|
14
|
-
`;s([i({type:String,reflect:!0})],e.prototype,"size",2);s([i({type:String,reflect:!0})],e.prototype,"weight",2);s([i({type:String,reflect:!0})],e.prototype,"color",2);s([i({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=s([
|
|
15
|
-
//# sourceMappingURL=PhArrowsClockwise-
|
|
14
|
+
`;s([i({type:String,reflect:!0})],e.prototype,"size",2);s([i({type:String,reflect:!0})],e.prototype,"weight",2);s([i({type:String,reflect:!0})],e.prototype,"color",2);s([i({type:Boolean,reflect:!0})],e.prototype,"mirrored",2);e=s([g("ph-arrows-clockwise")],e);export{e as PhArrowsClockwise};
|
|
15
|
+
//# sourceMappingURL=PhArrowsClockwise-CRZyQVpN.js.map
|