@medialane/ui 0.382.0 → 0.384.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (172) hide show
  1. package/dist/components/account/account-section.cjs +3 -4
  2. package/dist/components/account/account-section.cjs.map +1 -1
  3. package/dist/components/account/account-section.d.cts +3 -3
  4. package/dist/components/account/account-section.d.ts +3 -3
  5. package/dist/components/account/account-section.js +3 -4
  6. package/dist/components/account/account-section.js.map +1 -1
  7. package/dist/components/account/guardian-recovery-section.cjs +2 -1
  8. package/dist/components/account/guardian-recovery-section.cjs.map +1 -1
  9. package/dist/components/account/guardian-recovery-section.js +2 -1
  10. package/dist/components/account/guardian-recovery-section.js.map +1 -1
  11. package/dist/components/account/input-otp.d.cts +2 -2
  12. package/dist/components/account/input-otp.d.ts +2 -2
  13. package/dist/components/accounts-page.cjs +2 -1
  14. package/dist/components/accounts-page.cjs.map +1 -1
  15. package/dist/components/accounts-page.js +2 -1
  16. package/dist/components/accounts-page.js.map +1 -1
  17. package/dist/components/activities-feed.cjs +2 -1
  18. package/dist/components/activities-feed.cjs.map +1 -1
  19. package/dist/components/activities-feed.js +2 -1
  20. package/dist/components/activities-feed.js.map +1 -1
  21. package/dist/components/activity-timeline-row.cjs +2 -1
  22. package/dist/components/activity-timeline-row.cjs.map +1 -1
  23. package/dist/components/activity-timeline-row.js +2 -1
  24. package/dist/components/activity-timeline-row.js.map +1 -1
  25. package/dist/components/asset-overview-content.cjs +2 -1
  26. package/dist/components/asset-overview-content.cjs.map +1 -1
  27. package/dist/components/asset-overview-content.js +2 -1
  28. package/dist/components/asset-overview-content.js.map +1 -1
  29. package/dist/components/asset-picker.cjs +2 -1
  30. package/dist/components/asset-picker.cjs.map +1 -1
  31. package/dist/components/asset-picker.js +2 -1
  32. package/dist/components/asset-picker.js.map +1 -1
  33. package/dist/components/button.d.cts +1 -1
  34. package/dist/components/button.d.ts +1 -1
  35. package/dist/components/claim-rail.cjs +5 -8
  36. package/dist/components/claim-rail.cjs.map +1 -1
  37. package/dist/components/claim-rail.d.cts +1 -4
  38. package/dist/components/claim-rail.d.ts +1 -4
  39. package/dist/components/claim-rail.js +5 -8
  40. package/dist/components/claim-rail.js.map +1 -1
  41. package/dist/components/collection-settings.cjs +2 -3
  42. package/dist/components/collection-settings.cjs.map +1 -1
  43. package/dist/components/collection-settings.js +2 -3
  44. package/dist/components/collection-settings.js.map +1 -1
  45. package/dist/components/collection-slug-claim.cjs +1 -7
  46. package/dist/components/collection-slug-claim.cjs.map +1 -1
  47. package/dist/components/collection-slug-claim.js +1 -7
  48. package/dist/components/collection-slug-claim.js.map +1 -1
  49. package/dist/components/comments-section.cjs +2 -1
  50. package/dist/components/comments-section.cjs.map +1 -1
  51. package/dist/components/comments-section.js +2 -1
  52. package/dist/components/comments-section.js.map +1 -1
  53. package/dist/components/discover-features.cjs +7 -6
  54. package/dist/components/discover-features.cjs.map +1 -1
  55. package/dist/components/discover-features.js +7 -6
  56. package/dist/components/discover-features.js.map +1 -1
  57. package/dist/components/empty-or-error.cjs +3 -2
  58. package/dist/components/empty-or-error.cjs.map +1 -1
  59. package/dist/components/empty-or-error.js +3 -2
  60. package/dist/components/empty-or-error.js.map +1 -1
  61. package/dist/components/gated-content.cjs +5 -4
  62. package/dist/components/gated-content.cjs.map +1 -1
  63. package/dist/components/gated-content.js +5 -4
  64. package/dist/components/gated-content.js.map +1 -1
  65. package/dist/components/icon-tile.cjs +49 -0
  66. package/dist/components/icon-tile.cjs.map +1 -0
  67. package/dist/components/icon-tile.d.cts +17 -0
  68. package/dist/components/icon-tile.d.ts +17 -0
  69. package/dist/components/icon-tile.js +25 -0
  70. package/dist/components/icon-tile.js.map +1 -0
  71. package/dist/components/ip-type-nav.cjs +3 -3
  72. package/dist/components/ip-type-nav.cjs.map +1 -1
  73. package/dist/components/ip-type-nav.js +3 -3
  74. package/dist/components/ip-type-nav.js.map +1 -1
  75. package/dist/components/ip-type-page.cjs +3 -2
  76. package/dist/components/ip-type-page.cjs.map +1 -1
  77. package/dist/components/ip-type-page.js +3 -2
  78. package/dist/components/ip-type-page.js.map +1 -1
  79. package/dist/components/journey-content.cjs +2 -1
  80. package/dist/components/journey-content.cjs.map +1 -1
  81. package/dist/components/journey-content.js +2 -1
  82. package/dist/components/journey-content.js.map +1 -1
  83. package/dist/components/launchpad/edition-mint-schema.d.cts +2 -2
  84. package/dist/components/launchpad/edition-mint-schema.d.ts +2 -2
  85. package/dist/components/launchpad-services.cjs +27 -22
  86. package/dist/components/launchpad-services.cjs.map +1 -1
  87. package/dist/components/launchpad-services.d.cts +2 -0
  88. package/dist/components/launchpad-services.d.ts +2 -0
  89. package/dist/components/launchpad-services.js +27 -22
  90. package/dist/components/launchpad-services.js.map +1 -1
  91. package/dist/components/launchpad-strip.cjs +6 -1
  92. package/dist/components/launchpad-strip.cjs.map +1 -1
  93. package/dist/components/launchpad-strip.js +6 -1
  94. package/dist/components/launchpad-strip.js.map +1 -1
  95. package/dist/components/license-request-page.cjs +2 -1
  96. package/dist/components/license-request-page.cjs.map +1 -1
  97. package/dist/components/license-request-page.js +2 -1
  98. package/dist/components/license-request-page.js.map +1 -1
  99. package/dist/components/marketplace-dialog-primitives.cjs +2 -1
  100. package/dist/components/marketplace-dialog-primitives.cjs.map +1 -1
  101. package/dist/components/marketplace-dialog-primitives.js +2 -1
  102. package/dist/components/marketplace-dialog-primitives.js.map +1 -1
  103. package/dist/components/media-wallet/media-wallet-home.cjs +3 -2
  104. package/dist/components/media-wallet/media-wallet-home.cjs.map +1 -1
  105. package/dist/components/media-wallet/media-wallet-home.js +3 -2
  106. package/dist/components/media-wallet/media-wallet-home.js.map +1 -1
  107. package/dist/components/media-wallet/wallet-activity-icon.cjs +5 -8
  108. package/dist/components/media-wallet/wallet-activity-icon.cjs.map +1 -1
  109. package/dist/components/media-wallet/wallet-activity-icon.js +5 -8
  110. package/dist/components/media-wallet/wallet-activity-icon.js.map +1 -1
  111. package/dist/components/mint-landing.cjs +7 -10
  112. package/dist/components/mint-landing.cjs.map +1 -1
  113. package/dist/components/mint-landing.js +7 -10
  114. package/dist/components/mint-landing.js.map +1 -1
  115. package/dist/components/nav-command-menu.cjs +2 -1
  116. package/dist/components/nav-command-menu.cjs.map +1 -1
  117. package/dist/components/nav-command-menu.js +2 -1
  118. package/dist/components/nav-command-menu.js.map +1 -1
  119. package/dist/components/remixes-tab.cjs +2 -1
  120. package/dist/components/remixes-tab.cjs.map +1 -1
  121. package/dist/components/remixes-tab.js +2 -1
  122. package/dist/components/remixes-tab.js.map +1 -1
  123. package/dist/components/rewards/badge-catalog.cjs +2 -1
  124. package/dist/components/rewards/badge-catalog.cjs.map +1 -1
  125. package/dist/components/rewards/badge-catalog.js +2 -1
  126. package/dist/components/rewards/badge-catalog.js.map +1 -1
  127. package/dist/components/rewards/leaderboard-panel.cjs +2 -1
  128. package/dist/components/rewards/leaderboard-panel.cjs.map +1 -1
  129. package/dist/components/rewards/leaderboard-panel.js +2 -1
  130. package/dist/components/rewards/leaderboard-panel.js.map +1 -1
  131. package/dist/components/rewards/rewards-dashboard.cjs +2 -4
  132. package/dist/components/rewards/rewards-dashboard.cjs.map +1 -1
  133. package/dist/components/rewards/rewards-dashboard.js +2 -4
  134. package/dist/components/rewards/rewards-dashboard.js.map +1 -1
  135. package/dist/components/rewards-section.cjs +2 -1
  136. package/dist/components/rewards-section.cjs.map +1 -1
  137. package/dist/components/rewards-section.js +2 -1
  138. package/dist/components/rewards-section.js.map +1 -1
  139. package/dist/components/route-error.cjs +2 -1
  140. package/dist/components/route-error.cjs.map +1 -1
  141. package/dist/components/route-error.js +2 -1
  142. package/dist/components/route-error.js.map +1 -1
  143. package/dist/components/service-collections-page.cjs +2 -1
  144. package/dist/components/service-collections-page.cjs.map +1 -1
  145. package/dist/components/service-collections-page.js +2 -1
  146. package/dist/components/service-collections-page.js.map +1 -1
  147. package/dist/components/settings-section.cjs +3 -4
  148. package/dist/components/settings-section.cjs.map +1 -1
  149. package/dist/components/settings-section.d.cts +1 -3
  150. package/dist/components/settings-section.d.ts +1 -3
  151. package/dist/components/settings-section.js +3 -4
  152. package/dist/components/settings-section.js.map +1 -1
  153. package/dist/components/sponsorship-offers-page.cjs +2 -1
  154. package/dist/components/sponsorship-offers-page.cjs.map +1 -1
  155. package/dist/components/sponsorship-offers-page.js +2 -1
  156. package/dist/components/sponsorship-offers-page.js.map +1 -1
  157. package/dist/components/tab-empty-state.cjs +2 -1
  158. package/dist/components/tab-empty-state.cjs.map +1 -1
  159. package/dist/components/tab-empty-state.js +2 -1
  160. package/dist/components/tab-empty-state.js.map +1 -1
  161. package/dist/components/transaction-dialog.cjs +2 -1
  162. package/dist/components/transaction-dialog.cjs.map +1 -1
  163. package/dist/components/transaction-dialog.js +2 -1
  164. package/dist/components/transaction-dialog.js.map +1 -1
  165. package/dist/index.cjs +3 -0
  166. package/dist/index.cjs.map +1 -1
  167. package/dist/index.d.cts +1 -0
  168. package/dist/index.d.ts +1 -0
  169. package/dist/index.js +2 -0
  170. package/dist/index.js.map +1 -1
  171. package/dist/medialane.css +20 -0
  172. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/sponsorship-offers-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { ArrowRight, Check, Handshake } from \"lucide-react\";\nimport { formatAmount, getTokenByAddress, type ApiSponsorshipOffer } from \"@medialane/sdk\";\nimport { AssetCard, AssetCardSkeleton } from \"./asset-card.js\";\nimport { BackButton } from \"./back-button.js\";\nimport Link from \"./link.js\";\nimport { FadeIn, Stagger, StaggerItem } from \"./motion-primitives.js\";\nimport { ServiceHeader } from \"./service-header.js\";\nimport { shortenAddress } from \"../utils/address.js\";\nimport { useSponsorshipOffers } from \"../utils/use-sponsorship.js\";\nimport { useToken } from \"../utils/use-tokens.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nimport { msg } from \"../i18n/translate.js\";\nimport { ActionButton } from \"./action-button.js\";\nimport { panelTint } from \"./panel.js\";\nconst FEATURES = [\n msg(\"No escrow — direct settlement\"),\n msg(\"Owner-verified on-chain\"),\n msg(\"Open bidding or one invited sponsor\"),\n];\n\nfunction OfferCard({ offer }: { offer: ApiSponsorshipOffer }) {\n const { token } = useToken(offer.nftContract, offer.tokenId);\n const paymentToken = getTokenByAddress(offer.paymentToken);\n const min = paymentToken ? `Min ${formatAmount(offer.minAmount, paymentToken.decimals)} ${paymentToken.symbol}` : `Min ${offer.minAmount}`;\n const days = Math.round(Number(offer.duration) / 86400);\n\n return (\n <AssetCard\n href={`/launchpad/sponsorship/${offer.offerId}`}\n name={token?.metadata?.name ?? `Token #${offer.tokenId}`}\n image={token?.metadata?.image ?? null}\n subtitle={shortenAddress(offer.nftContract)}\n fallbackId={offer.tokenId}\n price={{ formatted: `${min} · ${days}d`, currency: null }}\n />\n );\n}\n\nexport function SponsorshipOffersPage() {\n const t = useT();\n const { offers, isLoading } = useSponsorshipOffers();\n const openOffers = offers.filter((o) => o.open);\n\n return (\n <div className=\"pb-16 space-y-10\">\n <section className=\"px-4 pt-10 max-w-5xl mx-auto\">\n <BackButton />\n <FadeIn>\n <div className=\"mt-6\">\n <ServiceHeader\n plain\n icon={<Handshake className=\"h-4 w-4 text-white\" />}\n title={t(\"IP Sponsorship\")}\n subtitle={t(\"Sponsorship offers anchored to your IP assets — a sponsor bids, you accept, they receive a license.\")}\n />\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"flex flex-wrap gap-2\">\n {FEATURES.map((f) => (\n <span key={f} className=\"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium text-muted-foreground bg-background/40\">\n <Check className=\"h-3 w-3 text-brand-rose shrink-0\" />\n {t(f)}\n </span>\n ))}\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"panel p-5 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between\" style={panelTint(\"rose\")}>\n <div className=\"space-y-0.5\">\n <p className=\"text-sm font-semibold\">{t(\"Start a sponsorship deal\")}</p>\n <p className=\"text-xs text-muted-foreground\">\n {t(\"Offer one of your assets for sponsors to bid on, or propose terms directly on one you'd like to sponsor.\")}\n </p>\n </div>\n <ActionButton solid small asChild className=\"shrink-0\">\n <Link href=\"/launchpad/sponsorship/create\">\n {t(\"Get started\")}\n <ArrowRight className=\"h-3.5 w-3.5\" />\n </Link>\n </ActionButton>\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 space-y-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div>\n <p className=\"section-label\">{t(\"Open\")}</p>\n <h2 className=\"text-xl font-bold mt-0.5\">{t(\"Sponsorship offers\")}</h2>\n </div>\n </FadeIn>\n\n {isLoading ? (\n <div className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => <AssetCardSkeleton key={i} />)}\n </div>\n ) : openOffers.length === 0 ? (\n <FadeIn>\n <div className=\"panel relative overflow-hidden p-12 text-center space-y-4\">\n <div className=\"flex justify-center\">\n <div className=\"h-16 w-16 rounded-2xl bg-brand-rose/8 flex items-center justify-center\">\n <Handshake className=\"h-8 w-8 text-brand-rose/30\" />\n </div>\n </div>\n <div className=\"space-y-1\">\n <p className=\"font-semibold text-sm\">{t(\"No open sponsorship offers yet\")}</p>\n <p className=\"text-xs text-muted-foreground\">{t(\"Creators open offers from their asset pages — sponsors bid on them here.\")}</p>\n </div>\n </div>\n </FadeIn>\n ) : (\n <Stagger className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {openOffers.map((offer) => (\n <StaggerItem key={offer.id}>\n <OfferCard offer={offer} />\n </StaggerItem>\n ))}\n </Stagger>\n )}\n </section>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA8BI;AA5BJ,0BAA6C;AAC7C,iBAA0E;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mCACC,uDAAC,SAAI,WAAU,6DACb;AAAA,oDAAC,SAAI,WAAU,uBACb,sDAAC,SAAI,WAAU,0EACb,sDAAC,iCAAU,WAAU,8BAA6B,GACpD,GACF;AAAA,QACA,6CAAC,SAAI,WAAU,aACb;AAAA,sDAAC,OAAE,WAAU,yBAAyB,YAAE,gCAAgC,GAAE;AAAA,UAC1E,4CAAC,OAAE,WAAU,iCAAiC,YAAE,+EAA0E,GAAE;AAAA,WAC9H;AAAA,SACF,GACF,IAEA,4CAAC,oCAAQ,WAAU,wDAChB,qBAAW,IAAI,CAAC,UACf,4CAAC,wCACC,sDAAC,aAAU,OAAc,KADT,MAAM,EAExB,CACD,GACH;AAAA,OAEJ;AAAA,KACF;AAEJ;","names":["Link"]}
1
+ {"version":3,"sources":["../../src/components/sponsorship-offers-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { ArrowRight, Check, Handshake } from \"lucide-react\";\nimport { formatAmount, getTokenByAddress, type ApiSponsorshipOffer } from \"@medialane/sdk\";\nimport { AssetCard, AssetCardSkeleton } from \"./asset-card.js\";\nimport { BackButton } from \"./back-button.js\";\nimport Link from \"./link.js\";\nimport { FadeIn, Stagger, StaggerItem } from \"./motion-primitives.js\";\nimport { ServiceHeader } from \"./service-header.js\";\nimport { shortenAddress } from \"../utils/address.js\";\nimport { useSponsorshipOffers } from \"../utils/use-sponsorship.js\";\nimport { useToken } from \"../utils/use-tokens.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nimport { msg } from \"../i18n/translate.js\";\nimport { ActionButton } from \"./action-button.js\";\nimport { panelTint } from \"./panel.js\";\nimport { IconTile } from \"./icon-tile.js\";\nconst FEATURES = [\n msg(\"No escrow — direct settlement\"),\n msg(\"Owner-verified on-chain\"),\n msg(\"Open bidding or one invited sponsor\"),\n];\n\nfunction OfferCard({ offer }: { offer: ApiSponsorshipOffer }) {\n const { token } = useToken(offer.nftContract, offer.tokenId);\n const paymentToken = getTokenByAddress(offer.paymentToken);\n const min = paymentToken ? `Min ${formatAmount(offer.minAmount, paymentToken.decimals)} ${paymentToken.symbol}` : `Min ${offer.minAmount}`;\n const days = Math.round(Number(offer.duration) / 86400);\n\n return (\n <AssetCard\n href={`/launchpad/sponsorship/${offer.offerId}`}\n name={token?.metadata?.name ?? `Token #${offer.tokenId}`}\n image={token?.metadata?.image ?? null}\n subtitle={shortenAddress(offer.nftContract)}\n fallbackId={offer.tokenId}\n price={{ formatted: `${min} · ${days}d`, currency: null }}\n />\n );\n}\n\nexport function SponsorshipOffersPage() {\n const t = useT();\n const { offers, isLoading } = useSponsorshipOffers();\n const openOffers = offers.filter((o) => o.open);\n\n return (\n <div className=\"pb-16 space-y-10\">\n <section className=\"px-4 pt-10 max-w-5xl mx-auto\">\n <BackButton />\n <FadeIn>\n <div className=\"mt-6\">\n <ServiceHeader\n plain\n icon={<Handshake className=\"h-4 w-4 text-white\" />}\n title={t(\"IP Sponsorship\")}\n subtitle={t(\"Sponsorship offers anchored to your IP assets — a sponsor bids, you accept, they receive a license.\")}\n />\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"flex flex-wrap gap-2\">\n {FEATURES.map((f) => (\n <span key={f} className=\"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium text-muted-foreground bg-background/40\">\n <Check className=\"h-3 w-3 text-brand-rose shrink-0\" />\n {t(f)}\n </span>\n ))}\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"panel p-5 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between\" style={panelTint(\"rose\")}>\n <div className=\"space-y-0.5\">\n <p className=\"text-sm font-semibold\">{t(\"Start a sponsorship deal\")}</p>\n <p className=\"text-xs text-muted-foreground\">\n {t(\"Offer one of your assets for sponsors to bid on, or propose terms directly on one you'd like to sponsor.\")}\n </p>\n </div>\n <ActionButton solid small asChild className=\"shrink-0\">\n <Link href=\"/launchpad/sponsorship/create\">\n {t(\"Get started\")}\n <ArrowRight className=\"h-3.5 w-3.5\" />\n </Link>\n </ActionButton>\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 space-y-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div>\n <p className=\"section-label\">{t(\"Open\")}</p>\n <h2 className=\"text-xl font-bold mt-0.5\">{t(\"Sponsorship offers\")}</h2>\n </div>\n </FadeIn>\n\n {isLoading ? (\n <div className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => <AssetCardSkeleton key={i} />)}\n </div>\n ) : openOffers.length === 0 ? (\n <FadeIn>\n <div className=\"panel relative overflow-hidden p-12 text-center space-y-4\">\n <div className=\"flex justify-center\">\n <IconTile size=\"lg\">\n <Handshake />\n </IconTile>\n </div>\n <div className=\"space-y-1\">\n <p className=\"font-semibold text-sm\">{t(\"No open sponsorship offers yet\")}</p>\n <p className=\"text-xs text-muted-foreground\">{t(\"Creators open offers from their asset pages — sponsors bid on them here.\")}</p>\n </div>\n </div>\n </FadeIn>\n ) : (\n <Stagger className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {openOffers.map((offer) => (\n <StaggerItem key={offer.id}>\n <OfferCard offer={offer} />\n </StaggerItem>\n ))}\n </Stagger>\n )}\n </section>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AA+BI;AA7BJ,0BAA6C;AAC7C,iBAA0E;AAC1E,wBAA6C;AAC7C,yBAA2B;AAC3B,kBAAiB;AACjB,+BAA6C;AAC7C,4BAA8B;AAC9B,qBAA+B;AAC/B,6BAAqC;AACrC,wBAAyB;AACzB,sBAAqB;AAErB,uBAAoB;AACpB,2BAA6B;AAC7B,mBAA0B;AAC1B,uBAAyB;AACzB,MAAM,WAAW;AAAA,MACf,sBAAI,oCAA+B;AAAA,MACnC,sBA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AAE,+EAA0E,GAAE;AAAA,WAC9H;AAAA,SACF,GACF,IAEA,4CAAC,oCAAQ,WAAU,wDAChB,qBAAW,IAAI,CAAC,UACf,4CAAC,wCACC,sDAAC,aAAU,OAAc,KADT,MAAM,EAExB,CACD,GACH;AAAA,OAEJ;AAAA,KACF;AAEJ;","names":["Link"]}
@@ -14,6 +14,7 @@ import { useT } from "../i18n/provider.js";
14
14
  import { msg } from "../i18n/translate.js";
15
15
  import { ActionButton } from "./action-button.js";
16
16
  import { panelTint } from "./panel.js";
17
+ import { IconTile } from "./icon-tile.js";
17
18
  const FEATURES = [
18
19
  msg("No escrow \u2014 direct settlement"),
19
20
  msg("Owner-verified on-chain"),
@@ -73,7 +74,7 @@ function SponsorshipOffersPage() {
73
74
  /* @__PURE__ */ jsx("h2", { className: "text-xl font-bold mt-0.5", children: t("Sponsorship offers") })
74
75
  ] }) }),
75
76
  isLoading ? /* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4", children: Array.from({ length: 8 }).map((_, i) => /* @__PURE__ */ jsx(AssetCardSkeleton, {}, i)) }) : openOffers.length === 0 ? /* @__PURE__ */ jsx(FadeIn, { children: /* @__PURE__ */ jsxs("div", { className: "panel relative overflow-hidden p-12 text-center space-y-4", children: [
76
- /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx("div", { className: "h-16 w-16 rounded-2xl bg-brand-rose/8 flex items-center justify-center", children: /* @__PURE__ */ jsx(Handshake, { className: "h-8 w-8 text-brand-rose/30" }) }) }),
77
+ /* @__PURE__ */ jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ jsx(IconTile, { size: "lg", children: /* @__PURE__ */ jsx(Handshake, {}) }) }),
77
78
  /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
78
79
  /* @__PURE__ */ jsx("p", { className: "font-semibold text-sm", children: t("No open sponsorship offers yet") }),
79
80
  /* @__PURE__ */ jsx("p", { className: "text-xs text-muted-foreground", children: t("Creators open offers from their asset pages \u2014 sponsors bid on them here.") })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/sponsorship-offers-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { ArrowRight, Check, Handshake } from \"lucide-react\";\nimport { formatAmount, getTokenByAddress, type ApiSponsorshipOffer } from \"@medialane/sdk\";\nimport { AssetCard, AssetCardSkeleton } from \"./asset-card.js\";\nimport { BackButton } from \"./back-button.js\";\nimport Link from \"./link.js\";\nimport { FadeIn, Stagger, StaggerItem } from \"./motion-primitives.js\";\nimport { ServiceHeader } from \"./service-header.js\";\nimport { shortenAddress } from \"../utils/address.js\";\nimport { useSponsorshipOffers } from \"../utils/use-sponsorship.js\";\nimport { useToken } from \"../utils/use-tokens.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nimport { msg } from \"../i18n/translate.js\";\nimport { ActionButton } from \"./action-button.js\";\nimport { panelTint } from \"./panel.js\";\nconst FEATURES = [\n msg(\"No escrow — direct settlement\"),\n msg(\"Owner-verified on-chain\"),\n msg(\"Open bidding or one invited sponsor\"),\n];\n\nfunction OfferCard({ offer }: { offer: ApiSponsorshipOffer }) {\n const { token } = useToken(offer.nftContract, offer.tokenId);\n const paymentToken = getTokenByAddress(offer.paymentToken);\n const min = paymentToken ? `Min ${formatAmount(offer.minAmount, paymentToken.decimals)} ${paymentToken.symbol}` : `Min ${offer.minAmount}`;\n const days = Math.round(Number(offer.duration) / 86400);\n\n return (\n <AssetCard\n href={`/launchpad/sponsorship/${offer.offerId}`}\n name={token?.metadata?.name ?? `Token #${offer.tokenId}`}\n image={token?.metadata?.image ?? null}\n subtitle={shortenAddress(offer.nftContract)}\n fallbackId={offer.tokenId}\n price={{ formatted: `${min} · ${days}d`, currency: null }}\n />\n );\n}\n\nexport function SponsorshipOffersPage() {\n const t = useT();\n const { offers, isLoading } = useSponsorshipOffers();\n const openOffers = offers.filter((o) => o.open);\n\n return (\n <div className=\"pb-16 space-y-10\">\n <section className=\"px-4 pt-10 max-w-5xl mx-auto\">\n <BackButton />\n <FadeIn>\n <div className=\"mt-6\">\n <ServiceHeader\n plain\n icon={<Handshake className=\"h-4 w-4 text-white\" />}\n title={t(\"IP Sponsorship\")}\n subtitle={t(\"Sponsorship offers anchored to your IP assets — a sponsor bids, you accept, they receive a license.\")}\n />\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"flex flex-wrap gap-2\">\n {FEATURES.map((f) => (\n <span key={f} className=\"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium text-muted-foreground bg-background/40\">\n <Check className=\"h-3 w-3 text-brand-rose shrink-0\" />\n {t(f)}\n </span>\n ))}\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"panel p-5 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between\" style={panelTint(\"rose\")}>\n <div className=\"space-y-0.5\">\n <p className=\"text-sm font-semibold\">{t(\"Start a sponsorship deal\")}</p>\n <p className=\"text-xs text-muted-foreground\">\n {t(\"Offer one of your assets for sponsors to bid on, or propose terms directly on one you'd like to sponsor.\")}\n </p>\n </div>\n <ActionButton solid small asChild className=\"shrink-0\">\n <Link href=\"/launchpad/sponsorship/create\">\n {t(\"Get started\")}\n <ArrowRight className=\"h-3.5 w-3.5\" />\n </Link>\n </ActionButton>\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 space-y-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div>\n <p className=\"section-label\">{t(\"Open\")}</p>\n <h2 className=\"text-xl font-bold mt-0.5\">{t(\"Sponsorship offers\")}</h2>\n </div>\n </FadeIn>\n\n {isLoading ? (\n <div className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => <AssetCardSkeleton key={i} />)}\n </div>\n ) : openOffers.length === 0 ? (\n <FadeIn>\n <div className=\"panel relative overflow-hidden p-12 text-center space-y-4\">\n <div className=\"flex justify-center\">\n <div className=\"h-16 w-16 rounded-2xl bg-brand-rose/8 flex items-center justify-center\">\n <Handshake className=\"h-8 w-8 text-brand-rose/30\" />\n </div>\n </div>\n <div className=\"space-y-1\">\n <p className=\"font-semibold text-sm\">{t(\"No open sponsorship offers yet\")}</p>\n <p className=\"text-xs text-muted-foreground\">{t(\"Creators open offers from their asset pages — sponsors bid on them here.\")}</p>\n </div>\n </div>\n </FadeIn>\n ) : (\n <Stagger className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {openOffers.map((offer) => (\n <StaggerItem key={offer.id}>\n <OfferCard offer={offer} />\n </StaggerItem>\n ))}\n </Stagger>\n )}\n </section>\n </div>\n );\n}\n"],"mappings":";AA8BI,cAkBE,YAlBF;AA5BJ,SAAS,YAAY,OAAO,iBAAiB;AAC7C,SAAS,cAAc,yBAAmD;AAC1E,SAAS,WAAW,yBAAyB;AAC7C,SAAS,kBAAkB;AAC3B,OAAO,UAAU;AACjB,SAAS,QAAQ,SAAS,mBAAmB;AAC7C,SAAS,qBAAqB;AAC9B,SAAS,sBAAsB;AAC/B,SAAS,4BAA4B;AACrC,SAAS,gBAAgB;AACzB,SAAS,YAAY;AAErB,SAAS,WAAW;AACpB,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,MAAM,WAAW;AAAA,EACf,IAAI,oCAA+B;AAAA,EACnC,IAAI,yBAAyB;AAAA,EAC7B,IAAI,qCAAqC;AAC3C;AAEA,SAAS,UAAU,EAAE,MAAM,GAAmC;AAC5D,QAAM,EAAE,MAAM,IAAI,SAAS,MAAM,aAAa,MAAM,OAAO;AAC3D,QAAM,eAAe,kBAAkB,MAAM,YAAY;AACzD,QAAM,MAAM,eAAe,OAAO,aAAa,MAAM,WAAW,aAAa,QAAQ,CAAC,IAAI,aAAa,MAAM,KAAK,OAAO,MAAM,SAAS;AACxI,QAAM,OAAO,KAAK,MAA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AAA,QACpE,oBAAC,OAAE,WAAU,iCACV,YAAE,0GAA0G,GAC/G;AAAA,SACF;AAAA,MACA,oBAAC,gBAAa,OAAK,MAAC,OAAK,MAAC,SAAO,MAAC,WAAU,YAC1C,+BAAC,QAAK,MAAK,iCACR;AAAA,UAAE,aAAa;AAAA,QAChB,oBAAC,cAAW,WAAU,eAAc;AAAA,SACtC,GACF;AAAA,OACF,GACF,GACF;AAAA,IAEA,qBAAC,aAAQ,WAAU,oCACjB;AAAA,0BAAC,UACC,+BAAC,SACC;AAAA,4BAAC,OAAE,WAAU,iBAAiB,YAAE,MAAM,GAAE;AAAA,QACxC,oBAAC,QAAG,WAAU,4BAA4B,YAAE,oBAAoB,GAAE;AAAA,SACpE,GACF;AAAA,MAEC,YACC,oBAAC,SAAI,WAAU,wDACZ,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MAAM,oBAAC,uBAAuB,CAAG,CAAE,GACxE,IACE,WAAW,WAAW,IACxB,oBAAC,UACC,+BAAC,SAAI,WAAU,6DACb;AAAA,4BAAC,SAAI,WAAU,uBACb,8BAAC,SAAI,WAAU,0EACb,8BAAC,aAAU,WAAU,8BAA6B,GACpD,GACF;AAAA,QACA,qBAAC,SAAI,WAAU,aACb;AAAA,8BAAC,OAAE,WAAU,yBAAyB,YAAE,gCAAgC,GAAE;AAAA,UAC1E,oBAAC,OAAE,WAAU,iCAAiC,YAAE,+EAA0E,GAAE;AAAA,WAC9H;AAAA,SACF,GACF,IAEA,oBAAC,WAAQ,WAAU,wDAChB,qBAAW,IAAI,CAAC,UACf,oBAAC,eACC,8BAAC,aAAU,OAAc,KADT,MAAM,EAExB,CACD,GACH;AAAA,OAEJ;AAAA,KACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../src/components/sponsorship-offers-page.tsx"],"sourcesContent":["\"use client\";\n\nimport { ArrowRight, Check, Handshake } from \"lucide-react\";\nimport { formatAmount, getTokenByAddress, type ApiSponsorshipOffer } from \"@medialane/sdk\";\nimport { AssetCard, AssetCardSkeleton } from \"./asset-card.js\";\nimport { BackButton } from \"./back-button.js\";\nimport Link from \"./link.js\";\nimport { FadeIn, Stagger, StaggerItem } from \"./motion-primitives.js\";\nimport { ServiceHeader } from \"./service-header.js\";\nimport { shortenAddress } from \"../utils/address.js\";\nimport { useSponsorshipOffers } from \"../utils/use-sponsorship.js\";\nimport { useToken } from \"../utils/use-tokens.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nimport { msg } from \"../i18n/translate.js\";\nimport { ActionButton } from \"./action-button.js\";\nimport { panelTint } from \"./panel.js\";\nimport { IconTile } from \"./icon-tile.js\";\nconst FEATURES = [\n msg(\"No escrow — direct settlement\"),\n msg(\"Owner-verified on-chain\"),\n msg(\"Open bidding or one invited sponsor\"),\n];\n\nfunction OfferCard({ offer }: { offer: ApiSponsorshipOffer }) {\n const { token } = useToken(offer.nftContract, offer.tokenId);\n const paymentToken = getTokenByAddress(offer.paymentToken);\n const min = paymentToken ? `Min ${formatAmount(offer.minAmount, paymentToken.decimals)} ${paymentToken.symbol}` : `Min ${offer.minAmount}`;\n const days = Math.round(Number(offer.duration) / 86400);\n\n return (\n <AssetCard\n href={`/launchpad/sponsorship/${offer.offerId}`}\n name={token?.metadata?.name ?? `Token #${offer.tokenId}`}\n image={token?.metadata?.image ?? null}\n subtitle={shortenAddress(offer.nftContract)}\n fallbackId={offer.tokenId}\n price={{ formatted: `${min} · ${days}d`, currency: null }}\n />\n );\n}\n\nexport function SponsorshipOffersPage() {\n const t = useT();\n const { offers, isLoading } = useSponsorshipOffers();\n const openOffers = offers.filter((o) => o.open);\n\n return (\n <div className=\"pb-16 space-y-10\">\n <section className=\"px-4 pt-10 max-w-5xl mx-auto\">\n <BackButton />\n <FadeIn>\n <div className=\"mt-6\">\n <ServiceHeader\n plain\n icon={<Handshake className=\"h-4 w-4 text-white\" />}\n title={t(\"IP Sponsorship\")}\n subtitle={t(\"Sponsorship offers anchored to your IP assets — a sponsor bids, you accept, they receive a license.\")}\n />\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"flex flex-wrap gap-2\">\n {FEATURES.map((f) => (\n <span key={f} className=\"inline-flex items-center gap-1.5 px-2.5 py-1 rounded-full text-xs font-medium text-muted-foreground bg-background/40\">\n <Check className=\"h-3 w-3 text-brand-rose shrink-0\" />\n {t(f)}\n </span>\n ))}\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div className=\"panel p-5 flex flex-col sm:flex-row gap-4 items-start sm:items-center justify-between\" style={panelTint(\"rose\")}>\n <div className=\"space-y-0.5\">\n <p className=\"text-sm font-semibold\">{t(\"Start a sponsorship deal\")}</p>\n <p className=\"text-xs text-muted-foreground\">\n {t(\"Offer one of your assets for sponsors to bid on, or propose terms directly on one you'd like to sponsor.\")}\n </p>\n </div>\n <ActionButton solid small asChild className=\"shrink-0\">\n <Link href=\"/launchpad/sponsorship/create\">\n {t(\"Get started\")}\n <ArrowRight className=\"h-3.5 w-3.5\" />\n </Link>\n </ActionButton>\n </div>\n </FadeIn>\n </section>\n\n <section className=\"px-4 space-y-4 max-w-5xl mx-auto\">\n <FadeIn>\n <div>\n <p className=\"section-label\">{t(\"Open\")}</p>\n <h2 className=\"text-xl font-bold mt-0.5\">{t(\"Sponsorship offers\")}</h2>\n </div>\n </FadeIn>\n\n {isLoading ? (\n <div className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {Array.from({ length: 8 }).map((_, i) => <AssetCardSkeleton key={i} />)}\n </div>\n ) : openOffers.length === 0 ? (\n <FadeIn>\n <div className=\"panel relative overflow-hidden p-12 text-center space-y-4\">\n <div className=\"flex justify-center\">\n <IconTile size=\"lg\">\n <Handshake />\n </IconTile>\n </div>\n <div className=\"space-y-1\">\n <p className=\"font-semibold text-sm\">{t(\"No open sponsorship offers yet\")}</p>\n <p className=\"text-xs text-muted-foreground\">{t(\"Creators open offers from their asset pages — sponsors bid on them here.\")}</p>\n </div>\n </div>\n </FadeIn>\n ) : (\n <Stagger className=\"grid grid-cols-2 sm:grid-cols-3 lg:grid-cols-4 gap-4\">\n {openOffers.map((offer) => (\n <StaggerItem key={offer.id}>\n <OfferCard offer={offer} />\n </StaggerItem>\n ))}\n </Stagger>\n )}\n </section>\n </div>\n );\n}\n"],"mappings":";AA+BI,cAkBE,YAlBF;AA7BJ,SAAS,YAAY,OAAO,iBAAiB;AAC7C,SAAS,cAAc,yBAAmD;AAC1E,SAAS,WAAW,yBAAyB;AAC7C,SAAS,kBAAkB;AAC3B,OAAO,UAAU;AACjB,SAAS,QAAQ,SAAS,mBAAmB;AAC7C,SAAS,qBAAqB;AAC9B,SAAS,sBAAsB;AAC/B,SAAS,4BAA4B;AACrC,SAAS,gBAAgB;AACzB,SAAS,YAAY;AAErB,SAAS,WAAW;AACpB,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAC1B,SAAS,gBAAgB;AACzB,MAAM,WAAW;AAAA,EACf,IAAI,oCAA+B;AAAA,EACnC,IAAI,yBAAyB;AAAA,EAC7B,IAAI,qCAAqC;AAC3C;AAEA,SAAS,UAAU,EAAE,MAAM,GAAmC;AAC5D,QAAM,EAAE,MAAM,IAAI,SAAS,MAAM,aAAa,MAAM,OAAO;AAC3D,QAAM,eAAe,kBAAkB,MAAM,YAAY;AACzD,QAAM,MAAM,eAAe,OAAO,aAAa,MAAM,WAAW,aAAa,QAAQ,CAAC,IAAI,aAAa,MAAM,KAAK,OAAO,MAAM,SAAS;AACxI,QAAM,OAAO,KAAK,MAAM,OAAO,MAAM,QAAQ,IAAI,KAAK;AAEtD,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,0BAA0B,MAAM,OAAO;AAAA,MAC7C,MAAM,OAAO,UAAU,QAAQ,UAAU,MAAM,OAAO;AAAA,MACtD,OAAO,OAAO,UAAU,SAAS;AAAA,MACjC,UAAU,eA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AU,eAAc;AAAA,SACtC,GACF;AAAA,OACF,GACF,GACF;AAAA,IAEA,qBAAC,aAAQ,WAAU,oCACjB;AAAA,0BAAC,UACC,+BAAC,SACC;AAAA,4BAAC,OAAE,WAAU,iBAAiB,YAAE,MAAM,GAAE;AAAA,QACxC,oBAAC,QAAG,WAAU,4BAA4B,YAAE,oBAAoB,GAAE;AAAA,SACpE,GACF;AAAA,MAEC,YACC,oBAAC,SAAI,WAAU,wDACZ,gBAAM,KAAK,EAAE,QAAQ,EAAE,CAAC,EAAE,IAAI,CAAC,GAAG,MAAM,oBAAC,uBAAuB,CAAG,CAAE,GACxE,IACE,WAAW,WAAW,IACxB,oBAAC,UACC,+BAAC,SAAI,WAAU,6DACb;AAAA,4BAAC,SAAI,WAAU,uBACb,8BAAC,YAAS,MAAK,MACb,8BAAC,aAAU,GACb,GACF;AAAA,QACA,qBAAC,SAAI,WAAU,aACb;AAAA,8BAAC,OAAE,WAAU,yBAAyB,YAAE,gCAAgC,GAAE;AAAA,UAC1E,oBAAC,OAAE,WAAU,iCAAiC,YAAE,+EAA0E,GAAE;AAAA,WAC9H;AAAA,SACF,GACF,IAEA,oBAAC,WAAQ,WAAU,wDAChB,qBAAW,IAAI,CAAC,UACf,oBAAC,eACC,8BAAC,aAAU,OAAc,KADT,MAAM,EAExB,CACD,GACH;AAAA,OAEJ;AAAA,KACF;AAEJ;","names":[]}
@@ -22,9 +22,10 @@ __export(tab_empty_state_exports, {
22
22
  });
23
23
  module.exports = __toCommonJS(tab_empty_state_exports);
24
24
  var import_jsx_runtime = require("react/jsx-runtime");
25
+ var import_icon_tile = require("./icon-tile.js");
25
26
  function TabEmptyState({ icon: Icon, heading, body }) {
26
27
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col items-center justify-center py-20 gap-4 text-center", children: [
27
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-14 w-14 rounded-2xl bg-muted/40 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: "h-6 w-6 text-muted-foreground/60" }) }),
28
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon_tile.IconTile, { size: "lg", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {}) }),
28
29
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-1.5", children: [
29
30
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm font-semibold", children: heading }),
30
31
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground max-w-xs leading-relaxed", children: body })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/tab-empty-state.tsx"],"sourcesContent":["import type { ElementType } from \"react\";\n\nexport interface TabEmptyStateProps {\n icon: ElementType;\n heading: string;\n body: string;\n}\n\nexport function TabEmptyState({ icon: Icon, heading, body }: TabEmptyStateProps) {\n return (\n <div className=\"flex flex-col items-center justify-center py-20 gap-4 text-center\">\n <div className=\"h-14 w-14 rounded-2xl bg-muted/40 flex items-center justify-center\">\n <Icon className=\"h-6 w-6 text-muted-foreground/60\" />\n </div>\n <div className=\"space-y-1.5\">\n <p className=\"text-sm font-semibold\">{heading}</p>\n <p className=\"text-sm text-muted-foreground max-w-xs leading-relaxed\">{body}</p>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAYQ;AAJD,SAAS,cAAc,EAAE,MAAM,MAAM,SAAS,KAAK,GAAuB;AAC/E,SACE,6CAAC,SAAI,WAAU,qEACb;AAAA,gDAAC,SAAI,WAAU,sEACb,sDAAC,QAAK,WAAU,oCAAmC,GACrD;AAAA,IACA,6CAAC,SAAI,WAAU,eACb;AAAA,kDAAC,OAAE,WAAU,yBAAyB,mBAAQ;AAAA,MAC9C,4CAAC,OAAE,WAAU,0DAA0D,gBAAK;AAAA,OAC9E;AAAA,KACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../src/components/tab-empty-state.tsx"],"sourcesContent":["import type { ElementType } from \"react\";\nimport { IconTile } from \"./icon-tile.js\";\n\nexport interface TabEmptyStateProps {\n icon: ElementType;\n heading: string;\n body: string;\n}\n\nexport function TabEmptyState({ icon: Icon, heading, body }: TabEmptyStateProps) {\n return (\n <div className=\"flex flex-col items-center justify-center py-20 gap-4 text-center\">\n <IconTile size=\"lg\">\n <Icon />\n </IconTile>\n <div className=\"space-y-1.5\">\n <p className=\"text-sm font-semibold\">{heading}</p>\n <p className=\"text-sm text-muted-foreground max-w-xs leading-relaxed\">{body}</p>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaQ;AAZR,uBAAyB;AAQlB,SAAS,cAAc,EAAE,MAAM,MAAM,SAAS,KAAK,GAAuB;AAC/E,SACE,6CAAC,SAAI,WAAU,qEACb;AAAA,gDAAC,6BAAS,MAAK,MACb,sDAAC,QAAK,GACR;AAAA,IACA,6CAAC,SAAI,WAAU,eACb;AAAA,kDAAC,OAAE,WAAU,yBAAyB,mBAAQ;AAAA,MAC9C,4CAAC,OAAE,WAAU,0DAA0D,gBAAK;AAAA,OAC9E;AAAA,KACF;AAEJ;","names":[]}
@@ -1,7 +1,8 @@
1
1
  import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { IconTile } from "./icon-tile.js";
2
3
  function TabEmptyState({ icon: Icon, heading, body }) {
3
4
  return /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center justify-center py-20 gap-4 text-center", children: [
4
- /* @__PURE__ */ jsx("div", { className: "h-14 w-14 rounded-2xl bg-muted/40 flex items-center justify-center", children: /* @__PURE__ */ jsx(Icon, { className: "h-6 w-6 text-muted-foreground/60" }) }),
5
+ /* @__PURE__ */ jsx(IconTile, { size: "lg", children: /* @__PURE__ */ jsx(Icon, {}) }),
5
6
  /* @__PURE__ */ jsxs("div", { className: "space-y-1.5", children: [
6
7
  /* @__PURE__ */ jsx("p", { className: "text-sm font-semibold", children: heading }),
7
8
  /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground max-w-xs leading-relaxed", children: body })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/tab-empty-state.tsx"],"sourcesContent":["import type { ElementType } from \"react\";\n\nexport interface TabEmptyStateProps {\n icon: ElementType;\n heading: string;\n body: string;\n}\n\nexport function TabEmptyState({ icon: Icon, heading, body }: TabEmptyStateProps) {\n return (\n <div className=\"flex flex-col items-center justify-center py-20 gap-4 text-center\">\n <div className=\"h-14 w-14 rounded-2xl bg-muted/40 flex items-center justify-center\">\n <Icon className=\"h-6 w-6 text-muted-foreground/60\" />\n </div>\n <div className=\"space-y-1.5\">\n <p className=\"text-sm font-semibold\">{heading}</p>\n <p className=\"text-sm text-muted-foreground max-w-xs leading-relaxed\">{body}</p>\n </div>\n </div>\n );\n}\n"],"mappings":"AAYQ,cAEF,YAFE;AAJD,SAAS,cAAc,EAAE,MAAM,MAAM,SAAS,KAAK,GAAuB;AAC/E,SACE,qBAAC,SAAI,WAAU,qEACb;AAAA,wBAAC,SAAI,WAAU,sEACb,8BAAC,QAAK,WAAU,oCAAmC,GACrD;AAAA,IACA,qBAAC,SAAI,WAAU,eACb;AAAA,0BAAC,OAAE,WAAU,yBAAyB,mBAAQ;AAAA,MAC9C,oBAAC,OAAE,WAAU,0DAA0D,gBAAK;AAAA,OAC9E;AAAA,KACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../src/components/tab-empty-state.tsx"],"sourcesContent":["import type { ElementType } from \"react\";\nimport { IconTile } from \"./icon-tile.js\";\n\nexport interface TabEmptyStateProps {\n icon: ElementType;\n heading: string;\n body: string;\n}\n\nexport function TabEmptyState({ icon: Icon, heading, body }: TabEmptyStateProps) {\n return (\n <div className=\"flex flex-col items-center justify-center py-20 gap-4 text-center\">\n <IconTile size=\"lg\">\n <Icon />\n </IconTile>\n <div className=\"space-y-1.5\">\n <p className=\"text-sm font-semibold\">{heading}</p>\n <p className=\"text-sm text-muted-foreground max-w-xs leading-relaxed\">{body}</p>\n </div>\n </div>\n );\n}\n"],"mappings":"AAaQ,cAEF,YAFE;AAZR,SAAS,gBAAgB;AAQlB,SAAS,cAAc,EAAE,MAAM,MAAM,SAAS,KAAK,GAAuB;AAC/E,SACE,qBAAC,SAAI,WAAU,qEACb;AAAA,wBAAC,YAAS,MAAK,MACb,8BAAC,QAAK,GACR;AAAA,IACA,qBAAC,SAAI,WAAU,eACb;AAAA,0BAAC,OAAE,WAAU,yBAAyB,mBAAQ;AAAA,MAC9C,oBAAC,OAAE,WAAU,0DAA0D,gBAAK;AAAA,OAC9E;AAAA,KACF;AAEJ;","names":[]}
@@ -28,6 +28,7 @@ var import_dialog = require("./dialog.js");
28
28
  var import_button = require("./button.js");
29
29
  var import_use_confetti = require("../utils/use-confetti.js");
30
30
  var import_provider = require("../i18n/provider.js");
31
+ var import_icon_tile = require("./icon-tile.js");
31
32
  const ACTIVE_STEP = { preparing: 0, submitting: 1, confirming: 2 };
32
33
  function TransactionDialog({ tx, title, workingLabel, firstStepLabel = "Prepare", children }) {
33
34
  const t = (0, import_provider.useT)();
@@ -66,7 +67,7 @@ function TransactionDialog({ tx, title, workingLabel, firstStepLabel = "Prepare"
66
67
  ] }),
67
68
  success && children,
68
69
  failed && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col items-center gap-5 py-2", children: [
69
- /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.XCircle, { className: "h-9 w-9 text-destructive" }) }),
70
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_icon_tile.IconTile, { size: "lg", destructive: true, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.XCircle, {}) }),
70
71
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "space-y-1 text-center", children: [
71
72
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-xl font-bold", children: title }),
72
73
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mx-auto max-w-xs text-sm text-muted-foreground", children: error })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/transaction-dialog.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { CheckCircle2, Loader2, XCircle } from \"lucide-react\";\nimport { Dialog, DialogContent, DialogTitle } from \"./dialog.js\";\nimport { Button } from \"./button.js\";\nimport { useConfetti } from \"../utils/use-confetti.js\";\nimport type { useTransaction } from \"../utils/use-transaction.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface TransactionDialogProps {\n tx: Pick<ReturnType<typeof useTransaction>, \"phase\" | \"error\" | \"reset\"> & { retryable?: boolean };\n title: string;\n workingLabel: string;\n firstStepLabel?: string;\n children?: ReactNode;\n}\n\nconst ACTIVE_STEP = { preparing: 0, submitting: 1, confirming: 2 } as const;\n\nexport function TransactionDialog({ tx, title, workingLabel, firstStepLabel = \"Prepare\", children }: TransactionDialogProps) {\n const t = useT();\n const { phase, error, reset, retryable = true } = tx;\n const working = phase === \"preparing\" || phase === \"submitting\" || phase === \"confirming\";\n const success = phase === \"success\";\n const failed = phase === \"error\";\n const steps = [firstStepLabel, t(\"Submit transaction\"), t(\"Confirm transaction\")];\n\n useConfetti(success);\n\n return (\n <Dialog open={phase !== \"idle\"} modal onOpenChange={(open) => { if (!open && !working) reset(); }}>\n <DialogContent\n className=\"sm:max-w-md\"\n onInteractOutside={working ? (e) => e.preventDefault() : undefined}\n onEscapeKeyDown={working ? (e) => e.preventDefault() : undefined}\n {...(working ? { hideClose: true } : {})}\n >\n <DialogTitle className=\"sr-only\">{working ? workingLabel : title}</DialogTitle>\n\n {working && (\n <div className=\"flex flex-col items-center gap-6 py-4\">\n <div className=\"flex h-16 w-16 items-center justify-center rounded-full bg-primary/10\">\n <Loader2 className=\"h-8 w-8 animate-spin text-primary\" />\n </div>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-lg font-semibold\">{workingLabel}</p>\n <p className=\"text-sm text-muted-foreground\">\n {phase === \"confirming\" ? t(\"Waiting for block confirmation\") : t(\"Submitting transaction\")}\n </p>\n </div>\n <ol className=\"panel w-full space-y-2 p-4\">\n {steps.map((label, i) => {\n const active = i === ACTIVE_STEP[phase];\n const done = i < ACTIVE_STEP[phase];\n return (\n <li key={label} data-step aria-current={active ? \"step\" : undefined} className=\"flex items-center gap-3\">\n {done ? (\n <CheckCircle2 className=\"h-4 w-4 shrink-0 text-brand-blue\" />\n ) : active ? (\n <Loader2 className=\"h-4 w-4 shrink-0 animate-spin text-primary\" />\n ) : (\n <div className=\"h-4 w-4 shrink-0 rounded-full border-2 border-muted-foreground/30\" />\n )}\n <span className={done ? \"text-sm text-foreground\" : active ? \"text-sm font-medium text-primary\" : \"text-sm text-muted-foreground\"}>\n {label}\n </span>\n </li>\n );\n })}\n </ol>\n <p className=\"text-center text-xs text-muted-foreground\">{t(\"This usually takes 10–30 seconds.\")}</p>\n </div>\n )}\n\n {success && children}\n\n {failed && (\n <div className=\"flex flex-col items-center gap-5 py-2\">\n <div className=\"flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10\">\n <XCircle className=\"h-9 w-9 text-destructive\" />\n </div>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-xl font-bold\">{title}</p>\n <p className=\"mx-auto max-w-xs text-sm text-muted-foreground\">{error}</p>\n </div>\n <Button variant=\"soft\" className=\"w-full\" onClick={reset}>\n {retryable ? t(\"Try again\") : t(\"Close\")}\n </Button>\n </div>\n )}\n </DialogContent>\n </Dialog>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAsCQ;AAnCR,0BAA+C;AAC/C,oBAAmD;AACnD,oBAAuB;AACvB,0BAA4B;AAE5B,sBAAqB;AAUrB,MAA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AAK;AAClC,mBACE,6CAAC,QAAe,aAAS,MAAC,gBAAc,SAAS,SAAS,QAAW,WAAU,2BAC5E;AAAA,qBACC,4CAAC,oCAAa,WAAU,oCAAmC,IACzD,SACF,4CAAC,+BAAQ,WAAU,8CAA6C,IAEhE,4CAAC,SAAI,WAAU,qEAAoE;AAAA,cAErF,4CAAC,UAAK,WAAW,OAAO,4BAA4B,SAAS,qCAAqC,iCAC/F,iBACH;AAAA,iBAVO,KAWT;AAAA,UAEJ,CAAC,GACH;AAAA,UACA,4CAAC,OAAE,WAAU,6CAA6C,YAAE,wCAAmC,GAAE;AAAA,WACnG;AAAA,QAGD,WAAW;AAAA,QAEX,UACC,6CAAC,SAAI,WAAU,yCACb;AAAA,sDAAC,SAAI,WAAU,6EACb,sDAAC,+BAAQ,WAAU,4BAA2B,GAChD;AAAA,UACA,6CAAC,SAAI,WAAU,yBACb;AAAA,wDAAC,OAAE,WAAU,qBAAqB,iBAAM;AAAA,YACxC,4CAAC,OAAE,WAAU,kDAAkD,iBAAM;AAAA,aACvE;AAAA,UACA,4CAAC,wBAAO,SAAQ,QAAO,WAAU,UAAS,SAAS,OAChD,sBAAY,EAAE,WAAW,IAAI,EAAE,OAAO,GACzC;AAAA,WACF;AAAA;AAAA;AAAA,EAEJ,GACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../src/components/transaction-dialog.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { CheckCircle2, Loader2, XCircle } from \"lucide-react\";\nimport { Dialog, DialogContent, DialogTitle } from \"./dialog.js\";\nimport { Button } from \"./button.js\";\nimport { useConfetti } from \"../utils/use-confetti.js\";\nimport type { useTransaction } from \"../utils/use-transaction.js\";\nimport { useT } from \"../i18n/provider.js\";\nimport { IconTile } from \"./icon-tile.js\";\n\nexport interface TransactionDialogProps {\n tx: Pick<ReturnType<typeof useTransaction>, \"phase\" | \"error\" | \"reset\"> & { retryable?: boolean };\n title: string;\n workingLabel: string;\n firstStepLabel?: string;\n children?: ReactNode;\n}\n\nconst ACTIVE_STEP = { preparing: 0, submitting: 1, confirming: 2 } as const;\n\nexport function TransactionDialog({ tx, title, workingLabel, firstStepLabel = \"Prepare\", children }: TransactionDialogProps) {\n const t = useT();\n const { phase, error, reset, retryable = true } = tx;\n const working = phase === \"preparing\" || phase === \"submitting\" || phase === \"confirming\";\n const success = phase === \"success\";\n const failed = phase === \"error\";\n const steps = [firstStepLabel, t(\"Submit transaction\"), t(\"Confirm transaction\")];\n\n useConfetti(success);\n\n return (\n <Dialog open={phase !== \"idle\"} modal onOpenChange={(open) => { if (!open && !working) reset(); }}>\n <DialogContent\n className=\"sm:max-w-md\"\n onInteractOutside={working ? (e) => e.preventDefault() : undefined}\n onEscapeKeyDown={working ? (e) => e.preventDefault() : undefined}\n {...(working ? { hideClose: true } : {})}\n >\n <DialogTitle className=\"sr-only\">{working ? workingLabel : title}</DialogTitle>\n\n {working && (\n <div className=\"flex flex-col items-center gap-6 py-4\">\n <div className=\"flex h-16 w-16 items-center justify-center rounded-full bg-primary/10\">\n <Loader2 className=\"h-8 w-8 animate-spin text-primary\" />\n </div>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-lg font-semibold\">{workingLabel}</p>\n <p className=\"text-sm text-muted-foreground\">\n {phase === \"confirming\" ? t(\"Waiting for block confirmation\") : t(\"Submitting transaction\")}\n </p>\n </div>\n <ol className=\"panel w-full space-y-2 p-4\">\n {steps.map((label, i) => {\n const active = i === ACTIVE_STEP[phase];\n const done = i < ACTIVE_STEP[phase];\n return (\n <li key={label} data-step aria-current={active ? \"step\" : undefined} className=\"flex items-center gap-3\">\n {done ? (\n <CheckCircle2 className=\"h-4 w-4 shrink-0 text-brand-blue\" />\n ) : active ? (\n <Loader2 className=\"h-4 w-4 shrink-0 animate-spin text-primary\" />\n ) : (\n <div className=\"h-4 w-4 shrink-0 rounded-full border-2 border-muted-foreground/30\" />\n )}\n <span className={done ? \"text-sm text-foreground\" : active ? \"text-sm font-medium text-primary\" : \"text-sm text-muted-foreground\"}>\n {label}\n </span>\n </li>\n );\n })}\n </ol>\n <p className=\"text-center text-xs text-muted-foreground\">{t(\"This usually takes 10–30 seconds.\")}</p>\n </div>\n )}\n\n {success && children}\n\n {failed && (\n <div className=\"flex flex-col items-center gap-5 py-2\">\n <IconTile size=\"lg\" destructive>\n <XCircle />\n </IconTile>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-xl font-bold\">{title}</p>\n <p className=\"mx-auto max-w-xs text-sm text-muted-foreground\">{error}</p>\n </div>\n <Button variant=\"soft\" className=\"w-full\" onClick={reset}>\n {retryable ? t(\"Try again\") : t(\"Close\")}\n </Button>\n </div>\n )}\n </DialogContent>\n </Dialog>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAuCQ;AApCR,0BAA+C;AAC/C,oBAAmD;AACnD,oBAAuB;AACvB,0BAA4B;AAE5B,sBAAqB;AACrB,uBAAyB;AAUzB,MAAM,cAAc,EAAE,WAAW,GAAG,YAAY,GAAG,YAAY,EAAE;AAE1D,SAAS,kBAAkB,EAAE,IAAI,OAAO,cAAc,iBAAiB,WAAW,SAAS,GAA2B;AAC3H,QAAM,QAAI,sBAAK;AACf,QAAM,EAAE,OAAO,OAAO,OAAO,YAAY,KAAK,IAAI;AAClD,QAAM,UAAU,UAAU,eAAe,UAAU,gBAAgB,UAAU;AAC7E,QAAM,UAAU,UAAU;AAC1B,QAAM,SAAS,UAAU;AACzB,QAAM,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,EAAE,qBAAqB,CAAC;AAEhF,uCAAY,OAAO;AAEnB,SACE,4CAAC,wBAAO,MAAM,UAAU,QAAQ,OAAK,MAAC,cAAc,CAAC,SAAS;AAAE,QAAI,CAAC,QAAQ,CAAC,QAAS,OAAM;AAAA,EAAG,GAC9F;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,mBAAmB,UAAU,CAAC,MAAM,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OAAE,WAAU,kDAAkD,iBAAM;AAAA,aACvE;AAAA,UACA,4CAAC,wBAAO,SAAQ,QAAO,WAAU,UAAS,SAAS,OAChD,sBAAY,EAAE,WAAW,IAAI,EAAE,OAAO,GACzC;AAAA,WACF;AAAA;AAAA;AAAA,EAEJ,GACF;AAEJ;","names":[]}
@@ -5,6 +5,7 @@ import { Dialog, DialogContent, DialogTitle } from "./dialog.js";
5
5
  import { Button } from "./button.js";
6
6
  import { useConfetti } from "../utils/use-confetti.js";
7
7
  import { useT } from "../i18n/provider.js";
8
+ import { IconTile } from "./icon-tile.js";
8
9
  const ACTIVE_STEP = { preparing: 0, submitting: 1, confirming: 2 };
9
10
  function TransactionDialog({ tx, title, workingLabel, firstStepLabel = "Prepare", children }) {
10
11
  const t = useT();
@@ -43,7 +44,7 @@ function TransactionDialog({ tx, title, workingLabel, firstStepLabel = "Prepare"
43
44
  ] }),
44
45
  success && children,
45
46
  failed && /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-center gap-5 py-2", children: [
46
- /* @__PURE__ */ jsx("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10", children: /* @__PURE__ */ jsx(XCircle, { className: "h-9 w-9 text-destructive" }) }),
47
+ /* @__PURE__ */ jsx(IconTile, { size: "lg", destructive: true, children: /* @__PURE__ */ jsx(XCircle, {}) }),
47
48
  /* @__PURE__ */ jsxs("div", { className: "space-y-1 text-center", children: [
48
49
  /* @__PURE__ */ jsx("p", { className: "text-xl font-bold", children: title }),
49
50
  /* @__PURE__ */ jsx("p", { className: "mx-auto max-w-xs text-sm text-muted-foreground", children: error })
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/components/transaction-dialog.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { CheckCircle2, Loader2, XCircle } from \"lucide-react\";\nimport { Dialog, DialogContent, DialogTitle } from \"./dialog.js\";\nimport { Button } from \"./button.js\";\nimport { useConfetti } from \"../utils/use-confetti.js\";\nimport type { useTransaction } from \"../utils/use-transaction.js\";\nimport { useT } from \"../i18n/provider.js\";\n\nexport interface TransactionDialogProps {\n tx: Pick<ReturnType<typeof useTransaction>, \"phase\" | \"error\" | \"reset\"> & { retryable?: boolean };\n title: string;\n workingLabel: string;\n firstStepLabel?: string;\n children?: ReactNode;\n}\n\nconst ACTIVE_STEP = { preparing: 0, submitting: 1, confirming: 2 } as const;\n\nexport function TransactionDialog({ tx, title, workingLabel, firstStepLabel = \"Prepare\", children }: TransactionDialogProps) {\n const t = useT();\n const { phase, error, reset, retryable = true } = tx;\n const working = phase === \"preparing\" || phase === \"submitting\" || phase === \"confirming\";\n const success = phase === \"success\";\n const failed = phase === \"error\";\n const steps = [firstStepLabel, t(\"Submit transaction\"), t(\"Confirm transaction\")];\n\n useConfetti(success);\n\n return (\n <Dialog open={phase !== \"idle\"} modal onOpenChange={(open) => { if (!open && !working) reset(); }}>\n <DialogContent\n className=\"sm:max-w-md\"\n onInteractOutside={working ? (e) => e.preventDefault() : undefined}\n onEscapeKeyDown={working ? (e) => e.preventDefault() : undefined}\n {...(working ? { hideClose: true } : {})}\n >\n <DialogTitle className=\"sr-only\">{working ? workingLabel : title}</DialogTitle>\n\n {working && (\n <div className=\"flex flex-col items-center gap-6 py-4\">\n <div className=\"flex h-16 w-16 items-center justify-center rounded-full bg-primary/10\">\n <Loader2 className=\"h-8 w-8 animate-spin text-primary\" />\n </div>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-lg font-semibold\">{workingLabel}</p>\n <p className=\"text-sm text-muted-foreground\">\n {phase === \"confirming\" ? t(\"Waiting for block confirmation\") : t(\"Submitting transaction\")}\n </p>\n </div>\n <ol className=\"panel w-full space-y-2 p-4\">\n {steps.map((label, i) => {\n const active = i === ACTIVE_STEP[phase];\n const done = i < ACTIVE_STEP[phase];\n return (\n <li key={label} data-step aria-current={active ? \"step\" : undefined} className=\"flex items-center gap-3\">\n {done ? (\n <CheckCircle2 className=\"h-4 w-4 shrink-0 text-brand-blue\" />\n ) : active ? (\n <Loader2 className=\"h-4 w-4 shrink-0 animate-spin text-primary\" />\n ) : (\n <div className=\"h-4 w-4 shrink-0 rounded-full border-2 border-muted-foreground/30\" />\n )}\n <span className={done ? \"text-sm text-foreground\" : active ? \"text-sm font-medium text-primary\" : \"text-sm text-muted-foreground\"}>\n {label}\n </span>\n </li>\n );\n })}\n </ol>\n <p className=\"text-center text-xs text-muted-foreground\">{t(\"This usually takes 10–30 seconds.\")}</p>\n </div>\n )}\n\n {success && children}\n\n {failed && (\n <div className=\"flex flex-col items-center gap-5 py-2\">\n <div className=\"flex h-16 w-16 items-center justify-center rounded-full bg-destructive/10\">\n <XCircle className=\"h-9 w-9 text-destructive\" />\n </div>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-xl font-bold\">{title}</p>\n <p className=\"mx-auto max-w-xs text-sm text-muted-foreground\">{error}</p>\n </div>\n <Button variant=\"soft\" className=\"w-full\" onClick={reset}>\n {retryable ? t(\"Try again\") : t(\"Close\")}\n </Button>\n </div>\n )}\n </DialogContent>\n </Dialog>\n );\n}\n"],"mappings":";AAsCQ,cAOI,YAPJ;AAnCR,SAAS,cAAc,SAAS,eAAe;AAC/C,SAAS,QAAQ,eAAe,mBAAmB;AACnD,SAAS,cAAc;AACvB,SAAS,mBAAmB;AAE5B,SAAS,YAAY;AAUrB,MAAM,cAAc,EAAE,WAAW,GAAG,YAAY,GAAG,YAAY,EAAE;AAE1D,SAAS,kBAAkB,EAAE,IAAI,OAAO,cAAc,iBAAiB,WAAW,SAAS,GAA2B;AAC3H,QAAM,IAAI,KAAK;AACf,QAAM,EAAE,OAAO,OAAO,OAAO,YAAY,KAAK,IAAI;AAClD,QAAM,UAAU,UAAU,eAAe,UAAU,gBAAgB,UAAU;AAC7E,QAAM,UAAU,UAAU;AAC1B,QAAM,SAAS,UAAU;AACzB,QAAM,QAAQ,CAAC,gBAAgB,EAAE,oBAAoB,GAAG,EAAE,qBAAqB,CAAC;AAEhF,cAAY,OAAO;A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AAAA,QAEX,UACC,qBAAC,SAAI,WAAU,yCACb;AAAA,8BAAC,SAAI,WAAU,6EACb,8BAAC,WAAQ,WAAU,4BAA2B,GAChD;AAAA,UACA,qBAAC,SAAI,WAAU,yBACb;AAAA,gCAAC,OAAE,WAAU,qBAAqB,iBAAM;AAAA,YACxC,oBAAC,OAAE,WAAU,kDAAkD,iBAAM;AAAA,aACvE;AAAA,UACA,oBAAC,UAAO,SAAQ,QAAO,WAAU,UAAS,SAAS,OAChD,sBAAY,EAAE,WAAW,IAAI,EAAE,OAAO,GACzC;AAAA,WACF;AAAA;AAAA;AAAA,EAEJ,GACF;AAEJ;","names":[]}
1
+ {"version":3,"sources":["../../src/components/transaction-dialog.tsx"],"sourcesContent":["\"use client\";\n\nimport type { ReactNode } from \"react\";\nimport { CheckCircle2, Loader2, XCircle } from \"lucide-react\";\nimport { Dialog, DialogContent, DialogTitle } from \"./dialog.js\";\nimport { Button } from \"./button.js\";\nimport { useConfetti } from \"../utils/use-confetti.js\";\nimport type { useTransaction } from \"../utils/use-transaction.js\";\nimport { useT } from \"../i18n/provider.js\";\nimport { IconTile } from \"./icon-tile.js\";\n\nexport interface TransactionDialogProps {\n tx: Pick<ReturnType<typeof useTransaction>, \"phase\" | \"error\" | \"reset\"> & { retryable?: boolean };\n title: string;\n workingLabel: string;\n firstStepLabel?: string;\n children?: ReactNode;\n}\n\nconst ACTIVE_STEP = { preparing: 0, submitting: 1, confirming: 2 } as const;\n\nexport function TransactionDialog({ tx, title, workingLabel, firstStepLabel = \"Prepare\", children }: TransactionDialogProps) {\n const t = useT();\n const { phase, error, reset, retryable = true } = tx;\n const working = phase === \"preparing\" || phase === \"submitting\" || phase === \"confirming\";\n const success = phase === \"success\";\n const failed = phase === \"error\";\n const steps = [firstStepLabel, t(\"Submit transaction\"), t(\"Confirm transaction\")];\n\n useConfetti(success);\n\n return (\n <Dialog open={phase !== \"idle\"} modal onOpenChange={(open) => { if (!open && !working) reset(); }}>\n <DialogContent\n className=\"sm:max-w-md\"\n onInteractOutside={working ? (e) => e.preventDefault() : undefined}\n onEscapeKeyDown={working ? (e) => e.preventDefault() : undefined}\n {...(working ? { hideClose: true } : {})}\n >\n <DialogTitle className=\"sr-only\">{working ? workingLabel : title}</DialogTitle>\n\n {working && (\n <div className=\"flex flex-col items-center gap-6 py-4\">\n <div className=\"flex h-16 w-16 items-center justify-center rounded-full bg-primary/10\">\n <Loader2 className=\"h-8 w-8 animate-spin text-primary\" />\n </div>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-lg font-semibold\">{workingLabel}</p>\n <p className=\"text-sm text-muted-foreground\">\n {phase === \"confirming\" ? t(\"Waiting for block confirmation\") : t(\"Submitting transaction\")}\n </p>\n </div>\n <ol className=\"panel w-full space-y-2 p-4\">\n {steps.map((label, i) => {\n const active = i === ACTIVE_STEP[phase];\n const done = i < ACTIVE_STEP[phase];\n return (\n <li key={label} data-step aria-current={active ? \"step\" : undefined} className=\"flex items-center gap-3\">\n {done ? (\n <CheckCircle2 className=\"h-4 w-4 shrink-0 text-brand-blue\" />\n ) : active ? (\n <Loader2 className=\"h-4 w-4 shrink-0 animate-spin text-primary\" />\n ) : (\n <div className=\"h-4 w-4 shrink-0 rounded-full border-2 border-muted-foreground/30\" />\n )}\n <span className={done ? \"text-sm text-foreground\" : active ? \"text-sm font-medium text-primary\" : \"text-sm text-muted-foreground\"}>\n {label}\n </span>\n </li>\n );\n })}\n </ol>\n <p className=\"text-center text-xs text-muted-foreground\">{t(\"This usually takes 10–30 seconds.\")}</p>\n </div>\n )}\n\n {success && children}\n\n {failed && (\n <div className=\"flex flex-col items-center gap-5 py-2\">\n <IconTile size=\"lg\" destructive>\n <XCircle />\n </IconTile>\n <div className=\"space-y-1 text-center\">\n <p className=\"text-xl font-bold\">{title}</p>\n <p className=\"mx-auto max-w-xs text-sm text-muted-foreground\">{error}</p>\n </div>\n <Button variant=\"soft\" className=\"w-full\" onClick={reset}>\n {retryable ? t(\"Try again\") : t(\"Close\")}\n </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C,OAAE,WAAU,iCACV,oBAAU,eAAe,EAAE,gCAAgC,IAAI,EAAE,wBAAwB,GAC5F;AAAA,aACF;AAAA,UACA,oBAAC,QAAG,WAAU,8BACX,gBAAM,IAAI,CAAC,OAAO,MAAM;AACvB,kBAAM,SAAS,MAAM,YAAY,KAAK;AACtC,kBAAM,OAAO,IAAI,YAAY,KAAK;AAClC,mBACE,qBAAC,QAAe,aAAS,MAAC,gBAAc,SAAS,SAAS,QAAW,WAAU,2BAC5E;AAAA,qBACC,oBAAC,gBAAa,WAAU,oCAAmC,IACzD,SACF,oBAAC,WAAQ,WAAU,8CAA6C,IAEhE,oBAAC,SAAI,WAAU,qEAAoE;AAAA,cAErF,oBAAC,UAAK,WAAW,OAAO,4BAA4B,SAAS,qCAAqC,iCAC/F,iBACH;AAAA,iBAVO,KAWT;AAAA,UAEJ,CAAC,GACH;AAAA,UACA,oBAAC,OAAE,WAAU,6CAA6C,YAAE,wCAAmC,GAAE;AAAA,WACnG;AAAA,QAGD,WAAW;AAAA,QAEX,UACC,qBAAC,SAAI,WAAU,yCACb;AAAA,8BAAC,YAAS,MAAK,MAAK,aAAW,MAC7B,8BAAC,WAAQ,GACX;AAAA,UACA,qBAAC,SAAI,WAAU,yBACb;AAAA,gCAAC,OAAE,WAAU,qBAAqB,iBAAM;AAAA,YACxC,oBAAC,OAAE,WAAU,kDAAkD,iBAAM;AAAA,aACvE;AAAA,UACA,oBAAC,UAAO,SAAQ,QAAO,WAAU,UAAS,SAAS,OAChD,sBAAY,EAAE,WAAW,IAAI,EAAE,OAAO,GACzC;AAAA,WACF;AAAA;AAAA;AAAA,EAEJ,GACF;AAEJ;","names":[]}
package/dist/index.cjs CHANGED
@@ -224,6 +224,7 @@ __export(index_exports, {
224
224
  IP_TYPE_DATA: () => import_ip_types.IP_TYPE_DATA,
225
225
  IP_TYPE_DATA_MAP: () => import_ip_types.IP_TYPE_DATA_MAP,
226
226
  IP_TYPE_MAP: () => import_ip_type_badge.IP_TYPE_MAP,
227
+ IconTile: () => import_icon_tile.IconTile,
227
228
  Input: () => import_input.Input,
228
229
  InputOTP: () => import_input_otp.InputOTP,
229
230
  InputOTPGroup: () => import_input_otp.InputOTPGroup,
@@ -831,6 +832,7 @@ var import_badge_unlocked = require("./components/rewards/badge-unlocked.js");
831
832
  var import_skeleton = require("./components/skeleton.js");
832
833
  var import_badge = require("./components/badge.js");
833
834
  var import_panel = require("./components/panel.js");
835
+ var import_icon_tile = require("./components/icon-tile.js");
834
836
  var import_label = require("./components/label.js");
835
837
  var import_input = require("./components/input.js");
836
838
  var import_switch = require("./components/switch.js");
@@ -1107,6 +1109,7 @@ var import_asset_accents = require("./utils/asset-accents.js");
1107
1109
  IP_TYPE_DATA,
1108
1110
  IP_TYPE_DATA_MAP,
1109
1111
  IP_TYPE_MAP,
1112
+ IconTile,
1110
1113
  Input,
1111
1114
  InputOTP,
1112
1115
  InputOTPGroup,
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/index.ts"],"sourcesContent":["\nexport { cn } from \"./utils/cn.js\";\nexport { formatDisplayPrice, parsePriceDisplay, isStableCurrency, formatUsd, formatUsdPrice, formatSmallDecimal } from \"./utils/format.js\";\nexport { shortenAddress } from \"./utils/address.js\";\nexport { profileIdentity, type ProfileIdentity, type ProfileIdentitySource } from \"./utils/profile-identity.js\";\nexport { ipfsToHttp, DEFAULT_GATEWAY as PINATA_PUBLIC_GATEWAY } from \"./utils/ipfs.js\";\nexport { gatewayChain, gatewayFallbackSrc, installIpfsGatewayFallback, PUBLIC_IMAGE_GATEWAYS } from \"./utils/ipfs-gateway-fallback.js\";\nexport { IpfsGatewayFallback } from \"./components/ipfs-gateway-fallback.js\";\nexport {\n uploadFileToIpfs,\n FILE_UPLOAD_FAILED,\n uploadJsonToIpfs,\n uploadDirectoryToIpfs,\n pinAssetMetadata,\n uploadFailureToast,\n isUserRejection,\n setUploadDiagnosticsReporter,\n type SignedUploadKind,\n type UploadedIpfsFile,\n type UploadDiagnostics,\n type PinAssetMetadataInput,\n type PinnedAsset,\n} from \"./utils/ipfs-upload.js\";\nexport { useIntersectionActive } from \"./utils/use-intersection-active.js\";\nexport { licenseSummary } from \"./utils/license-summary.js\";\nexport {\n isBareExecuteFailure,\n isUserRejectedRequest,\n isWrongNetwork,\n assertCorrectNetwork,\n WrongNetworkError,\n} from \"./utils/wallet-error.js\";\nexport {\n describeError,\n UserFacingError,\n NOT_SUBMITTED,\n NETWORK_BUSY,\n CONNECTION_FAILED,\n} from \"./utils/describe-error.js\";\nexport type { ErrorNotice } from \"./utils/describe-error.js\";\n\nexport { IP_TYPE_DATA, IP_TYPE_DATA_MAP } from \"./data/ip-types.js\";\nexport type { IpTypeData } from \"./data/ip-types.js\";\nexport {\n IP_TYPES, LICENSE_TYPES, GEOGRAPHIC_SCOPES, AI_POLICIES,\n DERIVATIVES_OPTIONS, LICENSE_TRAIT_TYPES,\n} from \"./data/ip.js\";\nexport type { IPType, LicenseType } from \"./data/ip.js\";\nexport {\n IP_TEMPLATES, EMBED_PLATFORM_META, SOCIAL_PLATFORM_META, TEMPLATE_TRAIT_TYPES, DOC_UPLOAD,\n} from \"./data/ip-templates.js\";\nexport type { EmbedPlatform, SocialPlatform, TraitSuggestion, IPTemplate, DocUploadConfig } from \"./data/ip-templates.js\";\nexport { IPTypeDisplay } from \"./components/ip-type-display.js\";\nexport { AssetOverviewContent } from \"./components/asset-overview-content.js\";\nexport { AssetLicenseSummary } from \"./components/asset-license-summary.js\";\nexport { AssetMarketsTab } from \"./components/asset-markets-tab.js\";\nexport { ParentAttributionBanner } from \"./components/parent-attribution-banner.js\";\nexport type { ParentBannerProps } from \"./components/parent-attribution-banner.js\";\nexport { AssetMediaColumn, AssetHeaderBlock, AssetOwnerRow } from \"./components/asset-top-sections.js\";\nexport { ExpandableText } from \"./components/expandable-text.js\";\nexport { CollectionHeader, type CollectionHeaderProps } from \"./components/collection-header.js\";\nexport { CreatorHeader, type CreatorHeaderProps, type CreatorHeaderStat } from \"./components/creator-header.js\";\nexport { AssetPage, AssetPageSkeleton, detectAssetKind, type AssetPageProps, type AssetKind, type AssetMarketContext, type AssetMarketActions } from \"./components/asset-page.js\";\nexport { AssetCommentsDialog, type AssetCommentsDialogProps } from \"./components/asset-comments-dialog.js\";\nexport { CollectionPage, canTransferCollectionOwnership, type CollectionPageProps, type CollectionPageSlots, type CollectionMarketActions } from \"./components/collection-page.js\";\nexport { CollectionFiltersDialog, type CollectionFiltersDialogProps } from \"./components/collection-filters-dialog.js\";\nexport { GatedContentHero, GatedContentPanel, type GatedContent, type GatedContentState } from \"./components/gated-content.js\";\nexport { MakeOfferPicker } from \"./components/make-offer-picker.js\";\nexport { ListingCardMenu } from \"./components/listing-card-menu.js\";\nexport { FloatingCommentsButton } from \"./components/floating-comments-button.js\";\nexport { PageBackdrop } from \"./components/media-header.js\";\nexport { useComments, type UseCommentsResult } from \"./utils/use-comments.js\";\nexport { useFullTokenData } from \"./utils/use-full-token-data.js\";\nexport { useAssetMarketState, type AssetMarketState } from \"./utils/asset-market-state.js\";\nexport { assetAttributes, type AssetAttribute } from \"./utils/asset-attributes.js\";\nexport type { AssetOwnerRowProps } from \"./components/asset-top-sections.js\";\nexport { AssetCollectionBar } from \"./components/asset-collection-bar.js\";\nexport type { AssetCollectionBarProps, AssetCollectionBarSibling } from \"./components/asset-collection-bar.js\";\nexport { AssetUtilityIcons } from \"./components/asset-utility-icons.js\";\nexport type { AssetUtilityIconsProps } from \"./components/asset-utility-icons.js\";\nexport { AssetMarketplacePanel } from \"./components/asset-marketplace-panel.js\";\nexport type { AssetMarketplacePanelProps, ApiOrderLike } from \"./components/asset-marketplace-panel.js\";\nexport { fireConfetti } from \"./utils/media-wallet/confetti.js\";\nexport { useConfetti } from \"./utils/use-confetti.js\";\nexport { useOnOpen } from \"./utils/use-on-open.js\";\nexport { useCoinGuarantees } from \"./utils/use-coin-guarantees.js\";\nexport { useCoinSupply } from \"./utils/use-coin-supply.js\";\nexport { BRAND, BRAND_COLOR } from \"./data/brand.js\";\nexport { LIVING_RENDER_COLLECTIONS, isLivingRenderCollection } from \"./data/living-render-collections.js\";\n\nexport { CurrencyIcon, CurrencyAmount } from \"./components/currency-icon.js\";\nexport type { CurrencyIconProps, CurrencyAmountProps } from \"./components/currency-icon.js\";\n\nexport { IpTypeBadge, IP_TYPE_CONFIG, IP_TYPE_MAP } from \"./components/ip-type-badge.js\";\nexport type { IpTypeBadgeProps, IpTypeConfig } from \"./components/ip-type-badge.js\";\n\nexport { AddressDisplay } from \"./components/address-display.js\";\nexport type { AddressDisplayProps } from \"./components/address-display.js\";\n\nexport { MedialaneLogoFull } from \"./components/brand-logo.js\";\nexport type { MedialaneLogoFullProps } from \"./components/brand-logo.js\";\n\nexport { MotionCard, FadeIn, Stagger, StaggerItem, KineticWords, SPRING, EASE_OUT } from \"./components/motion-primitives.js\";\nexport { PageContainer } from \"./components/page-container.js\";\nexport type { PageContainerProps } from \"./components/page-container.js\";\nexport { ScrollSection } from \"./components/scroll-section.js\";\nexport type { ScrollSectionProps } from \"./components/scroll-section.js\";\nexport { ShareButton } from \"./components/share-button.js\";\nexport type { ShareButtonProps } from \"./components/share-button.js\";\nexport { CollectionCard, CollectionCardSkeleton } from \"./components/collection-card.js\";\nexport type { CollectionCardProps } from \"./components/collection-card.js\";\nexport { TokenCard, TokenCardSkeleton } from \"./components/token-card.js\";\nexport type { TokenCardProps } from \"./components/token-card.js\";\nexport { AnimatedTokenMedia } from \"./components/animated-token-media.js\";\nexport type { AnimatedTokenMediaProps } from \"./components/animated-token-media.js\";\nexport { ThemeAmbientBackground } from \"./components/theme-ambient-background.js\";\nexport {\n useCollectionFilters, SORT_OPTIONS, CollectionFiltersTrigger, CollectionFiltersBody,\n} from \"./components/collection-filters.js\";\nexport type { TraitSection, CollectionFiltersTriggerProps, CollectionFiltersBodyProps } from \"./components/collection-filters.js\";\nexport {\n DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem,\n DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel,\n DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup,\n DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent,\n DropdownMenuSubTrigger, DropdownMenuRadioGroup,\n} from \"./components/dropdown-menu.js\";\nexport { AssetCard, AssetCardSkeleton } from \"./components/asset-card.js\";\nexport type { AssetCardProps, AssetCardPrice } from \"./components/asset-card.js\";\nexport { AssetPicker } from \"./components/asset-picker.js\";\nexport type { AssetPickerProps, OwnedAsset } from \"./components/asset-picker.js\";\nexport { AssetSearchPicker } from \"./components/asset-search-picker.js\";\nexport type { AssetSearchPickerProps } from \"./components/asset-search-picker.js\";\nexport { LicenseTermsBuilder, EMPTY_SPONSORSHIP_TERMS, MEDIA_TYPES, DURATION_UNITS, toLicenseMetadata, toDurationDays } from \"./components/license-terms-builder.js\";\nexport type { LicenseTermsBuilderProps, SponsorshipTerms, DurationUnit } from \"./components/license-terms-builder.js\";\n\nexport {\n coinKind, coinKindLabel, coinKindLabelPlural, COIN_KINDS, coinAccentToken, coinServiceIds, isCoinService, formatCoinPrice, coinSupply, formatFdvUsd, fdvUsd,\n type CoinKind, type CoinCollectionLike, type CoinPriceLike,\n} from \"./data/coins.js\";\nexport { CoinGuarantees, type CoinGuaranteesProps, type CoinGuaranteesData } from \"./components/coin-guarantees.js\";\nexport { CoinRow, CoinRowSkeleton, CoinAvatar, COIN_GRID, type UseCoinPrice, type CoinRowProps, type CoinMarketStatus } from \"./components/coin-row.js\";\nexport { orderCoins, type CoinPriceSort } from \"./data/coin-order.js\";\nexport {\n CoinsExplorer,\n type CoinsExplorerProps, type CoinFilter, type CoinSort, type UseCoins, type UsePriceMap, type CoinCounts,\n} from \"./components/coins-explorer.js\";\n\nexport { timeAgo, timeUntil, isExpired } from \"./utils/time.js\";\nexport { toDisplayUrl, toDisplayUrlOrNull, toAbsoluteImageUrl, createImageResolver, type DisplayUrlOptions, type ImageResolver } from \"./utils/ipfs.js\";\nexport { useImageUrl } from \"./utils/use-image-url.js\";\nexport { isSameAddress } from \"./utils/same-address.js\";\nexport { createAppWallet } from \"./utils/app-wallet.js\";\nexport type { AppWalletConfig } from \"./utils/app-wallet.js\";\nexport { detectPasskeySupport } from \"./utils/passkey-support.js\";\nexport type { PasskeySupport } from \"./utils/passkey-support.js\";\nexport { describeWalletFailure, isPasskeyCancelled, passkeyUnsupportedReason } from \"./utils/wallet-failure.js\";\nexport type { PasskeyUnsupportedReason, WalletFailureKind, WalletFailureNotice } from \"./utils/wallet-failure.js\";\nexport {\n RESEND_COOLDOWN_SECONDS,\n canResendCode,\n canVerifyCode,\n emailCodeReducer,\n initialEmailCodeState,\n} from \"./utils/email-code.js\";\nexport type { EmailCodeAction, EmailCodeState, EmailCodeStatus } from \"./utils/email-code.js\";\nexport { useEmailCode } from \"./utils/use-email-code.js\";\nexport type { EmailCode, EmailCodeApi } from \"./utils/use-email-code.js\";\nexport { AccountSection } from \"./components/account/account-section.js\";\nexport type { AccountSectionProps } from \"./components/account/account-section.js\";\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from \"./components/account/input-otp.js\";\nexport { EmailCodeEntry } from \"./components/account/email-code-entry.js\";\nexport type { EmailCodeEntryProps } from \"./components/account/email-code-entry.js\";\nexport { DevicesSection } from \"./components/account/devices-section.js\";\nexport type { DevicesSectionProps } from \"./components/account/devices-section.js\";\nexport { DeviceApprovalDialog } from \"./components/account/device-approval-dialog.js\";\nexport type { DeviceApprovalDialogProps } from \"./components/account/device-approval-dialog.js\";\nexport { GuardianRecoverySection } from \"./components/account/guardian-recovery-section.js\";\nexport type { GuardianRecoverySectionProps } from \"./components/account/guardian-recovery-section.js\";\nexport { AddGuardianDialog } from \"./components/account/add-guardian-dialog.js\";\nexport type { AddGuardianDialogProps } from \"./components/account/add-guardian-dialog.js\";\nexport type { DeviceWallet, GuardianWallet, LoadSealedOwner } from \"./components/account/wallet-types.js\";\nexport { ACTIVITY_TYPE_CONFIG, TYPE_FILTERS } from \"./data/activity.js\";\nexport type { ActivityTypeConfig } from \"./data/activity.js\";\nexport { CollectionShowcase } from \"./components/collection-showcase.js\";\nexport type { CollectionShowcaseProps } from \"./components/collection-showcase.js\";\nexport { ActivityTicker } from \"./components/activity-ticker.js\";\nexport type { ActivityTickerProps } from \"./components/activity-ticker.js\";\nexport { ListingCard, ListingCardSkeleton } from \"./components/listing-card.js\";\nexport { ListingsGrid, type ListingsGridProps } from \"./components/listings-grid.js\";\nexport type { ListingCardProps } from \"./components/listing-card.js\";\nexport {\n MarketplaceTxLink,\n MarketplaceProcessingState,\n MarketplaceSignInGate,\n MarketplaceErrorState,\n MarketplaceDialogHero,\n OrderSummaryHero,\n CurrencyPicker,\n DurationPicker,\n ListingAssetSummary,\n MarketplaceConfirmStep,\n} from \"./components/marketplace-dialog-primitives.js\";\nexport { useSession, refreshSession, sessionEmail, fetchSession } from \"./utils/use-session.js\";\nexport { OrderFields } from \"./components/order-fields.js\";\nexport type { OrderFieldsProps } from \"./components/order-fields.js\";\nexport { LISTABLE_CURRENCIES, orderFormSchema, counterOfferFormSchema } from \"./utils/order-form.js\";\nexport type { OrderFormValues } from \"./utils/order-form.js\";\nexport { ActivityRow } from \"./components/activity-row.js\";\nexport { ActivityTimelineRow } from \"./components/activity-timeline-row.js\";\nexport type { ActivityTimelineRowProps } from \"./components/activity-timeline-row.js\";\nexport { DropItemList } from \"./components/drop-item-list.js\";\nexport type { DraftItem } from \"./components/drop-item-list.js\";\nexport { getDefaultClaimWindow, suggestLaunchpadSymbol } from \"./utils/launchpad-defaults.js\";\nexport { DropStatusBadge, DropSupplyProgress } from \"./components/drop/drop-status.js\";\nexport { DropCard, DropGrid, DropGridSkeleton } from \"./components/drop/drop-card.js\";\nexport { DropListing } from \"./components/drop/drop-listing.js\";\nexport { DropFeatures } from \"./components/drop/drop-features.js\";\nexport { MyDrops } from \"./components/drop/my-drops.js\";\nexport { DropTokenLink } from \"./components/drop/drop-token-link.js\";\nexport type { DropPhase } from \"./utils/drop/view.js\";\nexport { DropCreate, DraftSummary } from \"./components/drop/create/drop-create.js\";\nexport { ExclusiveFields } from \"./components/drop/create/exclusive-fields.js\";\nexport { DropPage } from \"./components/drop/page/drop-page.js\";\nexport { DropActionBox } from \"./components/drop/page/drop-action-box.js\";\nexport { DropActivityList } from \"./components/drop/page/drop-activity.js\";\nexport { claimProofFor } from \"./utils/drop/claim-proof.js\";\nexport type { DropSigner } from \"./utils/drop/types.js\";\nexport { MedialaneAppProvider, useMedialaneApp, type MedialaneApp, type CompanionApp, type AssetRef, type ReportTarget } from \"./components/medialane-app.js\";\nexport { ReportDialog } from \"./components/report-dialog.js\";\nexport { runIntentCalls } from \"./utils/run-intent-calls.js\";\nexport { GATED_CONTENT_TYPES, GATED_CONTENT_TYPE_FALLBACK } from \"./data/gated-content-types.js\";\nexport type { ContentTypeConfig } from \"./data/gated-content-types.js\";\nexport { CollapsibleSection } from \"./components/collapsible-section.js\";\nexport { useUsdPrices, usdPriceFor, usdValueFor } from \"./utils/use-usd-prices.js\";\nexport type { UsdPrices } from \"./utils/use-usd-prices.js\";\nexport type { ActivityRowProps } from \"./components/activity-row.js\";\n\nexport { DiscoverHero } from \"./components/discover-hero.js\";\nexport type { DiscoverHeroProps } from \"./components/discover-hero.js\";\nexport { DiscoverCollectionsStrip } from \"./components/discover-collections-strip.js\";\nexport type { DiscoverCollectionsStripProps } from \"./components/discover-collections-strip.js\";\nexport { DiscoverActivityStrip } from \"./components/discover-feed-section.js\";\nexport type { DiscoverActivityStripProps } from \"./components/discover-feed-section.js\";\nexport { ActivityCard, ActivityCardSkeleton, ACTIVITY_MESSAGES } from \"./components/activity-card.js\";\nexport type { ActivityCardProps } from \"./components/activity-card.js\";\n\nexport { LaunchpadGroupedSections, LaunchpadServiceCard, SERVICE_HUES, useLaunchpadFilter } from \"./components/launchpad-services.js\";\nexport { LaunchpadFilterBar } from \"./components/launchpad-filter-bar.js\";\nexport type { LaunchpadFilterBarProps } from \"./components/launchpad-filter-bar.js\";\nexport { LaunchpadStrip } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadStripProps } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadGroupedSectionsProps, LaunchpadServiceCardProps, ServiceOverride, ServiceOverrides } from \"./components/launchpad-services.js\";\nexport { LAUNCHPAD_ROUTE_OVERRIDES } from \"./components/launchpad-services.js\";\nexport { COLLECTION_NAME_CLAIM, LAUNCHPAD_SERVICE_DEFINITIONS, LAUNCHPAD_SERVICE_GROUPS, getLaunchpadService } from \"./data/launchpad-services.js\";\nexport type { ServiceDefinition, ServiceStatus, ServiceGroup, ServiceGroupDefinition } from \"./data/launchpad-services.js\";\n\nexport { NavCommandMenu, useNavCommandMenu, relevanceFilter, matchCommands } from \"./components/nav-command-menu.js\";\nexport { SearchPage } from \"./components/search-page.js\";\nexport { PortfolioOrders, type PortfolioOrdersView, type PortfolioOrderActions, type UsePortfolioOrderActions } from \"./components/portfolio-orders.js\";\nexport { ArchiveAssetDialog, type ArchiveAssetDialogProps } from \"./components/archive-asset-dialog.js\";\nexport { PortfolioAssets, type PortfolioAssetActions, type UsePortfolioAssetActions } from \"./components/portfolio-assets.js\";\nexport { PortfolioShell, PORTFOLIO_TABS, type PortfolioTab } from \"./components/portfolio-shell.js\";\nexport { SoulboundCard, issuedAt } from \"./components/soulbound-card.js\";\nexport type { SoulboundCardProps } from \"./components/soulbound-card.js\";\nexport { RewardsPage } from \"./components/rewards-page.js\";\nexport { JourneyContent } from \"./components/journey-content.js\";\nexport { PortfolioSnapshot, RewardsSnapshot } from \"./components/settings-snapshots.js\";\nexport { RouteError } from \"./components/route-error.js\";\nexport { CreateSponsorshipAside } from \"./components/create-sponsorship-aside.js\";\nexport { AccountLoading, ActivitiesLoading, CollectionLoading, CollectionsLoading, CreatorLoading, IpTypeLoading, MarketplaceLoading, PortfolioLoading } from \"./components/page-skeletons.js\";\nexport { RewardsDashboard, REWARD_ACTION_LABELS } from \"./components/rewards/rewards-dashboard.js\";\nexport { LeaderboardPanel, type LeaderboardPanelProps } from \"./components/rewards/leaderboard-panel.js\";\nexport { CollectionNameClaim } from \"./components/collection-name-claim.js\";\nexport { CollectionSettings } from \"./components/collection-settings.js\";\nexport { MintLanding, type MintLandingCopy } from \"./components/mint-landing.js\";\nexport { ApproveMintDialog, type ApproveMintDialogProps } from \"./components/approve-mint-dialog.js\";\nexport { DiscoverPage, type DiscoverPageProps } from \"./components/discover-page.js\";\nexport { DiscoverCommunitySection } from \"./components/discover-community-section.js\";\nexport { IpTypeNav } from \"./components/ip-type-nav.js\";\nexport { HomePage, FeaturedListings, type HomePageProps } from \"./components/home-page.js\";\nexport { AccountsPage } from \"./components/accounts-page.js\";\nexport { BackButton } from \"./components/back-button.js\";\nexport { SignInPrompt } from \"./components/sign-in-prompt.js\";\nexport { LaunchpadPage, type LaunchpadPageProps } from \"./components/launchpad-page.js\";\nexport { RemixBrowsePage } from \"./components/remix-browse-page.js\";\nexport { ServiceCollectionsPage } from \"./components/service-collections-page.js\";\nexport { EditionsPage } from \"./components/editions-page.js\";\nexport { DropsPage } from \"./components/drops-page.js\";\nexport { PopMyEventsPage } from \"./components/pop-my-events-page.js\";\nexport { CreatorPage, type CreatorPageProps } from \"./components/creator-page.js\";\nexport { AccountPage, type AccountPageProps } from \"./components/account-page.js\";\nexport { CancelOrderConfirm, type CancelOrderConfirmProps } from \"./components/cancel-order-confirm.js\";\nexport { UnderlineTabs, type UnderlineTab } from \"./components/underline-tabs.js\";\nexport { MoreMenu } from \"./components/more-menu.js\";\nexport { LicenseRequestPage } from \"./components/license-request-page.js\";\nexport { orderUsd } from \"./utils/order-usd.js\";\nexport { getSeenOffers, markOffersAsSeen } from \"./utils/seen-offers.js\";\nexport { NAV_ITEMS, navGroups, type NavItemId, type NavGroupSpec } from \"./data/nav-commands.js\";\nexport { ResultThumbnail } from \"./components/result-thumbnail.js\";\nexport type { NavCommand, NavCommandGroup, NavCommandMenuProps } from \"./components/nav-command-menu.js\";\n\nexport {\n NavBrandButton,\n NavIconButton,\n NavWalletTrigger,\n NavAccountSheet,\n useNavAccountSheet,\n} from \"./components/nav-shell.js\";\nexport type {\n NavBrandButtonProps,\n NavIconButtonProps,\n NavWalletTriggerProps,\n NavAccountSheetProps,\n} from \"./components/nav-shell.js\";\n\nexport { PortfolioHeader } from \"./components/portfolio-header.js\";\nexport type {\n PortfolioHeaderProps,\n PortfolioHeaderScore,\n} from \"./components/portfolio-header.js\";\nexport { derivePortfolioCounts } from \"./utils/portfolio-counts.js\";\nexport type { PortfolioCounts, CountableOrder } from \"./utils/portfolio-counts.js\";\nexport { PortfolioChipFilter } from \"./components/portfolio-chip-filter.js\";\nexport type {\n PortfolioChipFilterProps,\n PortfolioChipFilterOption,\n} from \"./components/portfolio-chip-filter.js\";\n\nexport { ServiceHeader } from \"./components/service-header.js\";\nexport type { ServiceHeaderProps } from \"./components/service-header.js\";\nexport { ClaimRail } from \"./components/claim-rail.js\";\nexport type { ClaimRailProps } from \"./components/claim-rail.js\";\n\nexport { ServiceFormShell } from \"./components/service-form-shell.js\";\nexport type { ServiceFormShellProps } from \"./components/service-form-shell.js\";\n\nexport { LevelBadge } from \"./components/rewards/level-badge.js\";\nexport type { LevelBadgeProps } from \"./components/rewards/level-badge.js\";\nexport { XpProgress } from \"./components/rewards/xp-progress.js\";\nexport type { XpProgressProps } from \"./components/rewards/xp-progress.js\";\nexport { BadgeShelf } from \"./components/rewards/badge-shelf.js\";\nexport type { BadgeShelfProps, BadgeShelfBadge } from \"./components/rewards/badge-shelf.js\";\nexport { LeaderboardTable, LeaderboardWidget } from \"./components/rewards/leaderboard-table.js\";\nexport type { LeaderboardTableProps, LeaderboardWidgetProps, LeaderboardEntryLike } from \"./components/rewards/leaderboard-table.js\";\nexport { LevelJourneyList } from \"./components/rewards/level-journey-list.js\";\nexport type { LevelJourneyListProps, LevelJourneyListLevel } from \"./components/rewards/level-journey-list.js\";\nexport { BadgeCatalog } from \"./components/rewards/badge-catalog.js\";\nexport type { BadgeCatalogProps, BadgeCatalogBadge } from \"./components/rewards/badge-catalog.js\";\nexport { XpEarned } from \"./components/rewards/xp-earned.js\";\nexport type { XpEarnedProps } from \"./components/rewards/xp-earned.js\";\nexport { useTransaction, isBusyPhase } from \"./utils/use-transaction.js\";\nexport type { TransactionPhase } from \"./utils/use-transaction.js\";\nexport { RewardEarned } from \"./components/rewards/reward-earned.js\";\nexport type { RewardEarnedProps, RewardSnapshot } from \"./components/rewards/reward-earned.js\";\n\nexport { LoadMoreSentinel } from \"./components/load-more-sentinel.js\";\nexport { ActivitiesFeed } from \"./components/activities-feed.js\";\nexport type { LoadMoreSentinelProps } from \"./components/load-more-sentinel.js\";\n\nexport { RewardsSection } from \"./components/rewards-section.js\";\nexport type { RewardsSectionProps } from \"./components/rewards-section.js\";\n\nexport { ActionButton } from \"./components/action-button.js\";\nexport type { ActionButtonProps } from \"./components/action-button.js\";\n\nexport { CoinLaunchPreview } from \"./components/coin-launch-preview.js\";\nexport type { CoinPreviewData } from \"./components/coin-launch-preview.js\";\nexport { CollectionCreateForm } from \"./components/launchpad/collection-create-form.js\";\nexport type { CollectionCreateFormProps } from \"./components/launchpad/collection-create-form.js\";\nexport { CLUB_PRESET, TICKETS_PRESET, EDITIONS_PRESET, SINGLE_PRESET } from \"./components/launchpad/collection-create-presets.js\";\nexport type { CollectionCreatePreset } from \"./components/launchpad/collection-create-presets.js\";\nexport { TierMintForm } from \"./components/launchpad/tier-mint-form.js\";\nexport type { TierMintFormProps } from \"./components/launchpad/tier-mint-form.js\";\nexport { CLUB_TIER_PRESET, TICKETS_TIER_PRESET } from \"./components/launchpad/tier-mint-presets.js\";\nexport type { TierMintPreset } from \"./components/launchpad/tier-mint-presets.js\";\nexport { SingleEditionMint } from \"./components/launchpad/single-edition-mint.js\";\nexport { CollectionPicker } from \"./components/launchpad/collection-picker.js\";\nexport type { CollectionPickerProps } from \"./components/launchpad/collection-picker.js\";\nexport { EditionMint } from \"./components/launchpad/edition-mint.js\";\nexport { RemixMint } from \"./components/launchpad/remix-mint.js\";\nexport { IpTypePage } from \"./components/ip-type-page.js\";\nexport type { IpTypePageProps } from \"./components/ip-type-page.js\";\nexport { CollectionsPage } from \"./components/collections-page.js\";\nexport { SponsorshipCreate } from \"./components/launchpad/sponsorship-create.js\";\nexport { PopCreate } from \"./components/launchpad/pop-create.js\";\nexport { PopClaimButton } from \"./components/pop-claim-button.js\";\nexport { PopBurnButton } from \"./components/pop-burn-button.js\";\nexport { PopManagePage } from \"./components/pop-manage-page.js\";\nexport { CommentsSection } from \"./components/comments-section.js\";\nexport type { CommentsSectionProps } from \"./components/comments-section.js\";\nexport type { PopBurnButtonProps } from \"./components/pop-burn-button.js\";\nexport { SponsorshipOffersPage } from \"./components/sponsorship-offers-page.js\";\nexport { SponsorshipOfferPage } from \"./components/sponsorship-offer-page.js\";\nexport { PortfolioSponsorships } from \"./components/portfolio-sponsorships.js\";\nexport { TransferCollectionOwnership } from \"./components/transfer-collection-ownership.js\";\nexport type { TransferCollectionOwnershipProps } from \"./components/transfer-collection-ownership.js\";\nexport { CoinCreate } from \"./components/launchpad/coin-create.js\";\nexport type { CoinCreateProps } from \"./components/launchpad/coin-create.js\";\nexport { WalletRequired } from \"./components/wallet-required.js\";\nexport type { WalletRequiredProps } from \"./components/wallet-required.js\";\nexport { ClaimRouteShell } from \"./components/claim-route-shell.js\";\nexport { useLaunchpadImageUpload } from \"./utils/use-launchpad-image-upload.js\";\nexport { invalidatePortfolioCache } from \"./utils/portfolio-cache.js\";\nexport { TransactionDialog } from \"./components/transaction-dialog.js\";\nexport type { TransactionDialogProps } from \"./components/transaction-dialog.js\";\nexport { TransactionSuccess, DialogTransactionSuccess } from \"./components/transaction-success.js\";\nexport { TransactionDialogStates } from \"./components/transaction-dialog-states.js\";\nexport { TransferDialog } from \"./components/transfer-dialog.js\";\nexport { MarketplaceSearch, SearchInput } from \"./components/marketplace-search.js\";\nexport { ActiveFilters, FiltersButton, FiltersDialog, useMarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport type { MarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport { useDebouncedValue } from \"./utils/use-debounced-value.js\";\nexport type { TransferDialogProps } from \"./components/transfer-dialog.js\";\nexport type { TransactionDialogStatesProps } from \"./components/transaction-dialog-states.js\";\nexport type { TransactionSuccessProps, TransactionSuccessAction } from \"./components/transaction-success.js\";\nexport { successMessages } from \"./utils/success-messages.js\";\nexport { emptyMessages } from \"./utils/empty-messages.js\";\nexport type { EmptyMessage } from \"./utils/empty-messages.js\";\nexport type { SuccessMessage } from \"./utils/success-messages.js\";\nexport { MedialaneCollectionCard } from \"./components/medialane-collection-card.js\";\nexport type { MedialaneCollectionCardProps } from \"./components/medialane-collection-card.js\";\n\nexport { StatTile, StatPill, StatPillRow } from \"./components/stat-tile.js\";\nexport type { StatTileProps, StatPillProps, StatPillRowItem } from \"./components/stat-tile.js\";\n\n\nexport { HiddenContentBanner } from \"./components/hidden-content-banner.js\";\n\nexport { useRewardsCelebrations } from \"./components/rewards/use-rewards-celebrations.js\";\nexport { LevelUpCelebration } from \"./components/rewards/level-up-celebration.js\";\nexport type { LevelUpCelebrationProps } from \"./components/rewards/level-up-celebration.js\";\nexport { BadgeUnlocked } from \"./components/rewards/badge-unlocked.js\";\nexport type { BadgeUnlockedProps } from \"./components/rewards/badge-unlocked.js\";\n\nexport { Skeleton } from \"./components/skeleton.js\";\nexport { Badge, badgeVariants } from \"./components/badge.js\";\nexport type { BadgeProps } from \"./components/badge.js\";\nexport { Panel, Pill, panelTint, PANEL_INSET } from \"./components/panel.js\";\nexport type { PanelProps, PanelColor, PillProps } from \"./components/panel.js\";\nexport { Label } from \"./components/label.js\";\nexport { Input } from \"./components/input.js\";\nexport { Switch } from \"./components/switch.js\";\nexport { Checkbox } from \"./components/checkbox.js\";\nexport { Alert, AlertTitle, AlertDescription } from \"./components/alert.js\";\nexport { Tabs, TabsList, TabsTrigger, TabsContent } from \"./components/tabs.js\";\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent } from \"./components/card.js\";\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent } from \"./components/collapsible.js\";\nexport { Button, buttonVariants } from \"./components/button.js\";\nexport type { ButtonProps } from \"./components/button.js\";\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from \"./components/popover.js\";\nexport { HelpIcon } from \"./components/help-icon.js\";\nexport { EmptyOrError } from \"./components/empty-or-error.js\";\nexport { NewCollectionMenu, CollectionTypeChoices, COLLECTION_TYPES } from \"./components/new-collection-menu.js\";\nexport { ExternalLinkField } from \"./components/external-link-field.js\";\nexport { PortfolioCollections } from \"./components/portfolio-collections.js\";\nexport { TabEmptyState } from \"./components/tab-empty-state.js\";\nexport type { TabEmptyStateProps } from \"./components/tab-empty-state.js\";\nexport {\n Select, SelectGroup, SelectValue, SelectTrigger, SelectContent,\n SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton,\n} from \"./components/select.js\";\nexport {\n useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField,\n} from \"./components/form.js\";\nexport { Textarea } from \"./components/textarea.js\";\nexport type { TextareaProps } from \"./components/textarea.js\";\nexport {\n Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent,\n SheetHeader, SheetFooter, SheetTitle, SheetDescription,\n} from \"./components/sheet.js\";\n\nexport { ToggleGroup, Section } from \"./components/create-form-primitives.js\";\nexport { OrderSortControl, sortOrders } from \"./components/order-sort-control.js\";\nexport type { OrderSort } from \"./components/order-sort-control.js\";\nexport { PriceHistoryChart } from \"./components/price-history-chart.js\";\nexport type { PriceHistoryChartProps } from \"./components/price-history-chart.js\";\nexport { NavThemeToggle } from \"./components/nav-theme-toggle.js\";\nexport { JsonLd } from \"./components/json-ld.js\";\nexport type { JsonLdProps } from \"./components/json-ld.js\";\nexport { CreationRecord } from \"./components/creation-record.js\";\nexport type { CreationRecordProps } from \"./components/creation-record.js\";\nexport { ClubOwnerActions } from \"./components/club-owner-actions.js\";\nexport type { ClubOwnerActionsProps } from \"./components/club-owner-actions.js\";\nexport { IPTypeFields } from \"./components/ip-type-fields.js\";\nexport type { IPTypeFieldsProps, MetadataField } from \"./components/ip-type-fields.js\";\n\nexport { FastMint } from \"./components/fast-mint/fast-mint.js\";\nexport { Dropzone } from \"./components/fast-mint/dropzone.js\";\nexport type { DropzoneProps } from \"./components/fast-mint/dropzone.js\";\nexport { SuccessView } from \"./components/fast-mint/success-view.js\";\nexport type { SuccessViewProps } from \"./components/fast-mint/success-view.js\";\nexport type {\n MediaKind, FastMintSigner, MintedAsset, FastMintProps,\n} from \"./components/fast-mint/types.js\";\nexport { readBodyWithCap } from \"./utils/proxy-body.js\";\nexport type { CappedBody } from \"./utils/proxy-body.js\";\nexport { formatActivity } from \"./utils/format-activity.js\";\nexport type { FormattedEvent } from \"./utils/format-activity.js\";\n\nexport { queryKeys, queryKeyPrefix, QUERY_PREFIX } from \"./utils/query-keys.js\";\nexport { useCollectionProfile, useCreatorProfile, useCreatorByUsername } from \"./utils/use-profiles.js\";\nexport { useActivities, useActivitiesByAddress } from \"./utils/use-activities.js\";\nexport {\n useCollections, useCollection, useCollectionsByOwner, useCollectionTokens, useNearbyCollectionTokens,\n} from \"./utils/use-collections.js\";\nexport type { CollectionSort } from \"./utils/use-collections.js\";\nexport { CreatorChip } from \"./components/creator-chip.js\";\nexport type { CreatorChipProps } from \"./components/creator-chip.js\";\nexport { CollectionProvenanceTab } from \"./components/collection-provenance-tab.js\";\nexport type { CollectionProvenanceTabProps } from \"./components/collection-provenance-tab.js\";\nexport { PortfolioActivity } from \"./components/portfolio-activity.js\";\nexport type { PortfolioActivityProps } from \"./components/portfolio-activity.js\";\nexport { CreatorScoreInline } from \"./components/creator-score-inline.js\";\nexport type { CreatorScoreInlineProps } from \"./components/creator-score-inline.js\";\n\nexport { useMedialaneClient } from \"./utils/use-medialane-client.js\";\n\nexport { MediaWalletOverlay, useMediaWallet } from \"./components/media-wallet/media-wallet-overlay.js\";\nexport type {\n MediaWalletAppProps,\n MediaWalletHeaderIdentity,\n MediaWalletSession,\n MediaWalletView,\n WalletWriteAction,\n WalletWriteStatus,\n} from \"./components/media-wallet/types.js\";\nexport { useAccounts } from \"./utils/use-accounts.js\";\nexport { useSearch, SEARCH_MIN_LENGTH, type UseSearchOptions } from \"./utils/use-search.js\";\nexport {\n useRewards, useLeaderboard, useRewardsEvents, useRewardsConfig, useRewardsBatch,\n} from \"./utils/use-rewards.js\";\nexport type { UserRewards, LeaderboardEntry, BadgeSummary, LevelSummary } from \"./utils/use-rewards.js\";\n\nexport {\n useOrders, useOrder, useTokenListings, useUserOrders, useCounterOffers,\n useReceivedOffers, useCollectionFloorListings,\n} from \"./utils/use-orders.js\";\nexport { useTokenRemixes } from \"./utils/use-remix-offers.js\";\nexport { useRemixOffers } from \"./utils/use-my-remix-offers.js\";\nexport { useSwapQuote, swapQuoteKey } from \"./utils/use-swap-quote.js\";\nexport type { SwapToken, SwapAmountMode, SwapQuoteSummary } from \"./utils/use-swap-quote.js\";\nexport { RemixesTab } from \"./components/remixes-tab.js\";\nexport type { RemixesTabProps } from \"./components/remixes-tab.js\";\n\nexport { DropCountdown } from \"./components/drop-countdown.js\";\nexport {\n Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger,\n DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription,\n} from \"./components/dialog.js\";\nexport { SelfFundConsentDialog, feeLabelFor } from \"./components/wallet/self-fund-consent-dialog.js\";\nexport { ExportKeySection, type ExportKeySectionProps } from \"./components/wallet/export-key-section.js\";\nexport { useDrops, useMyDrops, useDrop, useDropMints, useDropFee, useDropFile, useDropChain } from \"./utils/use-drops.js\";\nexport type { DropChainState } from \"./utils/use-drops.js\";\nexport { usePopCollections, useMyPopEvents, usePopClaimStatus } from \"./utils/use-pop.js\";\nexport { usePlatformStats } from \"./utils/use-platform-stats.js\";\nexport { useTokensByIpType } from \"./utils/use-tokens-by-ip-type.js\";\nexport { usePriceMap, useCoinPrice } from \"./utils/use-coin-price.js\";\nexport {\n useSponsorshipOffers, useSponsorshipOffer, useSponsorshipBids, useSponsorshipProposals,\n useSponsorshipProposal, usePendingProposalsForAsset, useSponsorshipLicenses, useMySponsorshipDealCounts,\n} from \"./utils/use-sponsorship.js\";\nexport {\n predictNextMembershipId, predictNextTicketId, useMyClubCollections, useMyTicketCollections,\n useMembershipList, useTicketList, useMembershipOnchain, useTicketOnchain, useIsMemberOf,\n type TierOnchain, type TierListItem,\n} from \"./utils/use-tiers.js\";\nexport { useToken, useTokenBalance, useTokenHistory, useTokensByOwner, useOwnedTokens } from \"./utils/use-tokens.js\";\nexport { checkIsOwner } from \"./utils/ownership.js\";\nexport { AssetOwnersPanel } from \"./components/asset-owners-panel.js\";\nexport { AssetUnavailable } from \"./components/asset-unavailable.js\";\nexport { AssetProvenanceTab } from \"./components/asset-provenance-tab.js\";\nexport { ASSET_ACCENTS, type AssetAccent, type AssetAccentName } from \"./utils/asset-accents.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;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mC;AACnC,2BAAsE;","names":["import_ipfs_gateway_fallback","import_ipfs","import_launchpad_services"]}
1
+ {"version":3,"sources":["../src/index.ts"],"sourcesContent":["\nexport { cn } from \"./utils/cn.js\";\nexport { formatDisplayPrice, parsePriceDisplay, isStableCurrency, formatUsd, formatUsdPrice, formatSmallDecimal } from \"./utils/format.js\";\nexport { shortenAddress } from \"./utils/address.js\";\nexport { profileIdentity, type ProfileIdentity, type ProfileIdentitySource } from \"./utils/profile-identity.js\";\nexport { ipfsToHttp, DEFAULT_GATEWAY as PINATA_PUBLIC_GATEWAY } from \"./utils/ipfs.js\";\nexport { gatewayChain, gatewayFallbackSrc, installIpfsGatewayFallback, PUBLIC_IMAGE_GATEWAYS } from \"./utils/ipfs-gateway-fallback.js\";\nexport { IpfsGatewayFallback } from \"./components/ipfs-gateway-fallback.js\";\nexport {\n uploadFileToIpfs,\n FILE_UPLOAD_FAILED,\n uploadJsonToIpfs,\n uploadDirectoryToIpfs,\n pinAssetMetadata,\n uploadFailureToast,\n isUserRejection,\n setUploadDiagnosticsReporter,\n type SignedUploadKind,\n type UploadedIpfsFile,\n type UploadDiagnostics,\n type PinAssetMetadataInput,\n type PinnedAsset,\n} from \"./utils/ipfs-upload.js\";\nexport { useIntersectionActive } from \"./utils/use-intersection-active.js\";\nexport { licenseSummary } from \"./utils/license-summary.js\";\nexport {\n isBareExecuteFailure,\n isUserRejectedRequest,\n isWrongNetwork,\n assertCorrectNetwork,\n WrongNetworkError,\n} from \"./utils/wallet-error.js\";\nexport {\n describeError,\n UserFacingError,\n NOT_SUBMITTED,\n NETWORK_BUSY,\n CONNECTION_FAILED,\n} from \"./utils/describe-error.js\";\nexport type { ErrorNotice } from \"./utils/describe-error.js\";\n\nexport { IP_TYPE_DATA, IP_TYPE_DATA_MAP } from \"./data/ip-types.js\";\nexport type { IpTypeData } from \"./data/ip-types.js\";\nexport {\n IP_TYPES, LICENSE_TYPES, GEOGRAPHIC_SCOPES, AI_POLICIES,\n DERIVATIVES_OPTIONS, LICENSE_TRAIT_TYPES,\n} from \"./data/ip.js\";\nexport type { IPType, LicenseType } from \"./data/ip.js\";\nexport {\n IP_TEMPLATES, EMBED_PLATFORM_META, SOCIAL_PLATFORM_META, TEMPLATE_TRAIT_TYPES, DOC_UPLOAD,\n} from \"./data/ip-templates.js\";\nexport type { EmbedPlatform, SocialPlatform, TraitSuggestion, IPTemplate, DocUploadConfig } from \"./data/ip-templates.js\";\nexport { IPTypeDisplay } from \"./components/ip-type-display.js\";\nexport { AssetOverviewContent } from \"./components/asset-overview-content.js\";\nexport { AssetLicenseSummary } from \"./components/asset-license-summary.js\";\nexport { AssetMarketsTab } from \"./components/asset-markets-tab.js\";\nexport { ParentAttributionBanner } from \"./components/parent-attribution-banner.js\";\nexport type { ParentBannerProps } from \"./components/parent-attribution-banner.js\";\nexport { AssetMediaColumn, AssetHeaderBlock, AssetOwnerRow } from \"./components/asset-top-sections.js\";\nexport { ExpandableText } from \"./components/expandable-text.js\";\nexport { CollectionHeader, type CollectionHeaderProps } from \"./components/collection-header.js\";\nexport { CreatorHeader, type CreatorHeaderProps, type CreatorHeaderStat } from \"./components/creator-header.js\";\nexport { AssetPage, AssetPageSkeleton, detectAssetKind, type AssetPageProps, type AssetKind, type AssetMarketContext, type AssetMarketActions } from \"./components/asset-page.js\";\nexport { AssetCommentsDialog, type AssetCommentsDialogProps } from \"./components/asset-comments-dialog.js\";\nexport { CollectionPage, canTransferCollectionOwnership, type CollectionPageProps, type CollectionPageSlots, type CollectionMarketActions } from \"./components/collection-page.js\";\nexport { CollectionFiltersDialog, type CollectionFiltersDialogProps } from \"./components/collection-filters-dialog.js\";\nexport { GatedContentHero, GatedContentPanel, type GatedContent, type GatedContentState } from \"./components/gated-content.js\";\nexport { MakeOfferPicker } from \"./components/make-offer-picker.js\";\nexport { ListingCardMenu } from \"./components/listing-card-menu.js\";\nexport { FloatingCommentsButton } from \"./components/floating-comments-button.js\";\nexport { PageBackdrop } from \"./components/media-header.js\";\nexport { useComments, type UseCommentsResult } from \"./utils/use-comments.js\";\nexport { useFullTokenData } from \"./utils/use-full-token-data.js\";\nexport { useAssetMarketState, type AssetMarketState } from \"./utils/asset-market-state.js\";\nexport { assetAttributes, type AssetAttribute } from \"./utils/asset-attributes.js\";\nexport type { AssetOwnerRowProps } from \"./components/asset-top-sections.js\";\nexport { AssetCollectionBar } from \"./components/asset-collection-bar.js\";\nexport type { AssetCollectionBarProps, AssetCollectionBarSibling } from \"./components/asset-collection-bar.js\";\nexport { AssetUtilityIcons } from \"./components/asset-utility-icons.js\";\nexport type { AssetUtilityIconsProps } from \"./components/asset-utility-icons.js\";\nexport { AssetMarketplacePanel } from \"./components/asset-marketplace-panel.js\";\nexport type { AssetMarketplacePanelProps, ApiOrderLike } from \"./components/asset-marketplace-panel.js\";\nexport { fireConfetti } from \"./utils/media-wallet/confetti.js\";\nexport { useConfetti } from \"./utils/use-confetti.js\";\nexport { useOnOpen } from \"./utils/use-on-open.js\";\nexport { useCoinGuarantees } from \"./utils/use-coin-guarantees.js\";\nexport { useCoinSupply } from \"./utils/use-coin-supply.js\";\nexport { BRAND, BRAND_COLOR } from \"./data/brand.js\";\nexport { LIVING_RENDER_COLLECTIONS, isLivingRenderCollection } from \"./data/living-render-collections.js\";\n\nexport { CurrencyIcon, CurrencyAmount } from \"./components/currency-icon.js\";\nexport type { CurrencyIconProps, CurrencyAmountProps } from \"./components/currency-icon.js\";\n\nexport { IpTypeBadge, IP_TYPE_CONFIG, IP_TYPE_MAP } from \"./components/ip-type-badge.js\";\nexport type { IpTypeBadgeProps, IpTypeConfig } from \"./components/ip-type-badge.js\";\n\nexport { AddressDisplay } from \"./components/address-display.js\";\nexport type { AddressDisplayProps } from \"./components/address-display.js\";\n\nexport { MedialaneLogoFull } from \"./components/brand-logo.js\";\nexport type { MedialaneLogoFullProps } from \"./components/brand-logo.js\";\n\nexport { MotionCard, FadeIn, Stagger, StaggerItem, KineticWords, SPRING, EASE_OUT } from \"./components/motion-primitives.js\";\nexport { PageContainer } from \"./components/page-container.js\";\nexport type { PageContainerProps } from \"./components/page-container.js\";\nexport { ScrollSection } from \"./components/scroll-section.js\";\nexport type { ScrollSectionProps } from \"./components/scroll-section.js\";\nexport { ShareButton } from \"./components/share-button.js\";\nexport type { ShareButtonProps } from \"./components/share-button.js\";\nexport { CollectionCard, CollectionCardSkeleton } from \"./components/collection-card.js\";\nexport type { CollectionCardProps } from \"./components/collection-card.js\";\nexport { TokenCard, TokenCardSkeleton } from \"./components/token-card.js\";\nexport type { TokenCardProps } from \"./components/token-card.js\";\nexport { AnimatedTokenMedia } from \"./components/animated-token-media.js\";\nexport type { AnimatedTokenMediaProps } from \"./components/animated-token-media.js\";\nexport { ThemeAmbientBackground } from \"./components/theme-ambient-background.js\";\nexport {\n useCollectionFilters, SORT_OPTIONS, CollectionFiltersTrigger, CollectionFiltersBody,\n} from \"./components/collection-filters.js\";\nexport type { TraitSection, CollectionFiltersTriggerProps, CollectionFiltersBodyProps } from \"./components/collection-filters.js\";\nexport {\n DropdownMenu, DropdownMenuTrigger, DropdownMenuContent, DropdownMenuItem,\n DropdownMenuCheckboxItem, DropdownMenuRadioItem, DropdownMenuLabel,\n DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuGroup,\n DropdownMenuPortal, DropdownMenuSub, DropdownMenuSubContent,\n DropdownMenuSubTrigger, DropdownMenuRadioGroup,\n} from \"./components/dropdown-menu.js\";\nexport { AssetCard, AssetCardSkeleton } from \"./components/asset-card.js\";\nexport type { AssetCardProps, AssetCardPrice } from \"./components/asset-card.js\";\nexport { AssetPicker } from \"./components/asset-picker.js\";\nexport type { AssetPickerProps, OwnedAsset } from \"./components/asset-picker.js\";\nexport { AssetSearchPicker } from \"./components/asset-search-picker.js\";\nexport type { AssetSearchPickerProps } from \"./components/asset-search-picker.js\";\nexport { LicenseTermsBuilder, EMPTY_SPONSORSHIP_TERMS, MEDIA_TYPES, DURATION_UNITS, toLicenseMetadata, toDurationDays } from \"./components/license-terms-builder.js\";\nexport type { LicenseTermsBuilderProps, SponsorshipTerms, DurationUnit } from \"./components/license-terms-builder.js\";\n\nexport {\n coinKind, coinKindLabel, coinKindLabelPlural, COIN_KINDS, coinAccentToken, coinServiceIds, isCoinService, formatCoinPrice, coinSupply, formatFdvUsd, fdvUsd,\n type CoinKind, type CoinCollectionLike, type CoinPriceLike,\n} from \"./data/coins.js\";\nexport { CoinGuarantees, type CoinGuaranteesProps, type CoinGuaranteesData } from \"./components/coin-guarantees.js\";\nexport { CoinRow, CoinRowSkeleton, CoinAvatar, COIN_GRID, type UseCoinPrice, type CoinRowProps, type CoinMarketStatus } from \"./components/coin-row.js\";\nexport { orderCoins, type CoinPriceSort } from \"./data/coin-order.js\";\nexport {\n CoinsExplorer,\n type CoinsExplorerProps, type CoinFilter, type CoinSort, type UseCoins, type UsePriceMap, type CoinCounts,\n} from \"./components/coins-explorer.js\";\n\nexport { timeAgo, timeUntil, isExpired } from \"./utils/time.js\";\nexport { toDisplayUrl, toDisplayUrlOrNull, toAbsoluteImageUrl, createImageResolver, type DisplayUrlOptions, type ImageResolver } from \"./utils/ipfs.js\";\nexport { useImageUrl } from \"./utils/use-image-url.js\";\nexport { isSameAddress } from \"./utils/same-address.js\";\nexport { createAppWallet } from \"./utils/app-wallet.js\";\nexport type { AppWalletConfig } from \"./utils/app-wallet.js\";\nexport { detectPasskeySupport } from \"./utils/passkey-support.js\";\nexport type { PasskeySupport } from \"./utils/passkey-support.js\";\nexport { describeWalletFailure, isPasskeyCancelled, passkeyUnsupportedReason } from \"./utils/wallet-failure.js\";\nexport type { PasskeyUnsupportedReason, WalletFailureKind, WalletFailureNotice } from \"./utils/wallet-failure.js\";\nexport {\n RESEND_COOLDOWN_SECONDS,\n canResendCode,\n canVerifyCode,\n emailCodeReducer,\n initialEmailCodeState,\n} from \"./utils/email-code.js\";\nexport type { EmailCodeAction, EmailCodeState, EmailCodeStatus } from \"./utils/email-code.js\";\nexport { useEmailCode } from \"./utils/use-email-code.js\";\nexport type { EmailCode, EmailCodeApi } from \"./utils/use-email-code.js\";\nexport { AccountSection } from \"./components/account/account-section.js\";\nexport type { AccountSectionProps } from \"./components/account/account-section.js\";\nexport { InputOTP, InputOTPGroup, InputOTPSlot, InputOTPSeparator } from \"./components/account/input-otp.js\";\nexport { EmailCodeEntry } from \"./components/account/email-code-entry.js\";\nexport type { EmailCodeEntryProps } from \"./components/account/email-code-entry.js\";\nexport { DevicesSection } from \"./components/account/devices-section.js\";\nexport type { DevicesSectionProps } from \"./components/account/devices-section.js\";\nexport { DeviceApprovalDialog } from \"./components/account/device-approval-dialog.js\";\nexport type { DeviceApprovalDialogProps } from \"./components/account/device-approval-dialog.js\";\nexport { GuardianRecoverySection } from \"./components/account/guardian-recovery-section.js\";\nexport type { GuardianRecoverySectionProps } from \"./components/account/guardian-recovery-section.js\";\nexport { AddGuardianDialog } from \"./components/account/add-guardian-dialog.js\";\nexport type { AddGuardianDialogProps } from \"./components/account/add-guardian-dialog.js\";\nexport type { DeviceWallet, GuardianWallet, LoadSealedOwner } from \"./components/account/wallet-types.js\";\nexport { ACTIVITY_TYPE_CONFIG, TYPE_FILTERS } from \"./data/activity.js\";\nexport type { ActivityTypeConfig } from \"./data/activity.js\";\nexport { CollectionShowcase } from \"./components/collection-showcase.js\";\nexport type { CollectionShowcaseProps } from \"./components/collection-showcase.js\";\nexport { ActivityTicker } from \"./components/activity-ticker.js\";\nexport type { ActivityTickerProps } from \"./components/activity-ticker.js\";\nexport { ListingCard, ListingCardSkeleton } from \"./components/listing-card.js\";\nexport { ListingsGrid, type ListingsGridProps } from \"./components/listings-grid.js\";\nexport type { ListingCardProps } from \"./components/listing-card.js\";\nexport {\n MarketplaceTxLink,\n MarketplaceProcessingState,\n MarketplaceSignInGate,\n MarketplaceErrorState,\n MarketplaceDialogHero,\n OrderSummaryHero,\n CurrencyPicker,\n DurationPicker,\n ListingAssetSummary,\n MarketplaceConfirmStep,\n} from \"./components/marketplace-dialog-primitives.js\";\nexport { useSession, refreshSession, sessionEmail, fetchSession } from \"./utils/use-session.js\";\nexport { OrderFields } from \"./components/order-fields.js\";\nexport type { OrderFieldsProps } from \"./components/order-fields.js\";\nexport { LISTABLE_CURRENCIES, orderFormSchema, counterOfferFormSchema } from \"./utils/order-form.js\";\nexport type { OrderFormValues } from \"./utils/order-form.js\";\nexport { ActivityRow } from \"./components/activity-row.js\";\nexport { ActivityTimelineRow } from \"./components/activity-timeline-row.js\";\nexport type { ActivityTimelineRowProps } from \"./components/activity-timeline-row.js\";\nexport { DropItemList } from \"./components/drop-item-list.js\";\nexport type { DraftItem } from \"./components/drop-item-list.js\";\nexport { getDefaultClaimWindow, suggestLaunchpadSymbol } from \"./utils/launchpad-defaults.js\";\nexport { DropStatusBadge, DropSupplyProgress } from \"./components/drop/drop-status.js\";\nexport { DropCard, DropGrid, DropGridSkeleton } from \"./components/drop/drop-card.js\";\nexport { DropListing } from \"./components/drop/drop-listing.js\";\nexport { DropFeatures } from \"./components/drop/drop-features.js\";\nexport { MyDrops } from \"./components/drop/my-drops.js\";\nexport { DropTokenLink } from \"./components/drop/drop-token-link.js\";\nexport type { DropPhase } from \"./utils/drop/view.js\";\nexport { DropCreate, DraftSummary } from \"./components/drop/create/drop-create.js\";\nexport { ExclusiveFields } from \"./components/drop/create/exclusive-fields.js\";\nexport { DropPage } from \"./components/drop/page/drop-page.js\";\nexport { DropActionBox } from \"./components/drop/page/drop-action-box.js\";\nexport { DropActivityList } from \"./components/drop/page/drop-activity.js\";\nexport { claimProofFor } from \"./utils/drop/claim-proof.js\";\nexport type { DropSigner } from \"./utils/drop/types.js\";\nexport { MedialaneAppProvider, useMedialaneApp, type MedialaneApp, type CompanionApp, type AssetRef, type ReportTarget } from \"./components/medialane-app.js\";\nexport { ReportDialog } from \"./components/report-dialog.js\";\nexport { runIntentCalls } from \"./utils/run-intent-calls.js\";\nexport { GATED_CONTENT_TYPES, GATED_CONTENT_TYPE_FALLBACK } from \"./data/gated-content-types.js\";\nexport type { ContentTypeConfig } from \"./data/gated-content-types.js\";\nexport { CollapsibleSection } from \"./components/collapsible-section.js\";\nexport { useUsdPrices, usdPriceFor, usdValueFor } from \"./utils/use-usd-prices.js\";\nexport type { UsdPrices } from \"./utils/use-usd-prices.js\";\nexport type { ActivityRowProps } from \"./components/activity-row.js\";\n\nexport { DiscoverHero } from \"./components/discover-hero.js\";\nexport type { DiscoverHeroProps } from \"./components/discover-hero.js\";\nexport { DiscoverCollectionsStrip } from \"./components/discover-collections-strip.js\";\nexport type { DiscoverCollectionsStripProps } from \"./components/discover-collections-strip.js\";\nexport { DiscoverActivityStrip } from \"./components/discover-feed-section.js\";\nexport type { DiscoverActivityStripProps } from \"./components/discover-feed-section.js\";\nexport { ActivityCard, ActivityCardSkeleton, ACTIVITY_MESSAGES } from \"./components/activity-card.js\";\nexport type { ActivityCardProps } from \"./components/activity-card.js\";\n\nexport { LaunchpadGroupedSections, LaunchpadServiceCard, SERVICE_HUES, useLaunchpadFilter } from \"./components/launchpad-services.js\";\nexport { LaunchpadFilterBar } from \"./components/launchpad-filter-bar.js\";\nexport type { LaunchpadFilterBarProps } from \"./components/launchpad-filter-bar.js\";\nexport { LaunchpadStrip } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadStripProps } from \"./components/launchpad-strip.js\";\nexport type { LaunchpadGroupedSectionsProps, LaunchpadServiceCardProps, ServiceOverride, ServiceOverrides } from \"./components/launchpad-services.js\";\nexport { LAUNCHPAD_ROUTE_OVERRIDES } from \"./components/launchpad-services.js\";\nexport { COLLECTION_NAME_CLAIM, LAUNCHPAD_SERVICE_DEFINITIONS, LAUNCHPAD_SERVICE_GROUPS, getLaunchpadService } from \"./data/launchpad-services.js\";\nexport type { ServiceDefinition, ServiceStatus, ServiceGroup, ServiceGroupDefinition } from \"./data/launchpad-services.js\";\n\nexport { NavCommandMenu, useNavCommandMenu, relevanceFilter, matchCommands } from \"./components/nav-command-menu.js\";\nexport { SearchPage } from \"./components/search-page.js\";\nexport { PortfolioOrders, type PortfolioOrdersView, type PortfolioOrderActions, type UsePortfolioOrderActions } from \"./components/portfolio-orders.js\";\nexport { ArchiveAssetDialog, type ArchiveAssetDialogProps } from \"./components/archive-asset-dialog.js\";\nexport { PortfolioAssets, type PortfolioAssetActions, type UsePortfolioAssetActions } from \"./components/portfolio-assets.js\";\nexport { PortfolioShell, PORTFOLIO_TABS, type PortfolioTab } from \"./components/portfolio-shell.js\";\nexport { SoulboundCard, issuedAt } from \"./components/soulbound-card.js\";\nexport type { SoulboundCardProps } from \"./components/soulbound-card.js\";\nexport { RewardsPage } from \"./components/rewards-page.js\";\nexport { JourneyContent } from \"./components/journey-content.js\";\nexport { PortfolioSnapshot, RewardsSnapshot } from \"./components/settings-snapshots.js\";\nexport { RouteError } from \"./components/route-error.js\";\nexport { CreateSponsorshipAside } from \"./components/create-sponsorship-aside.js\";\nexport { AccountLoading, ActivitiesLoading, CollectionLoading, CollectionsLoading, CreatorLoading, IpTypeLoading, MarketplaceLoading, PortfolioLoading } from \"./components/page-skeletons.js\";\nexport { RewardsDashboard, REWARD_ACTION_LABELS } from \"./components/rewards/rewards-dashboard.js\";\nexport { LeaderboardPanel, type LeaderboardPanelProps } from \"./components/rewards/leaderboard-panel.js\";\nexport { CollectionNameClaim } from \"./components/collection-name-claim.js\";\nexport { CollectionSettings } from \"./components/collection-settings.js\";\nexport { MintLanding, type MintLandingCopy } from \"./components/mint-landing.js\";\nexport { ApproveMintDialog, type ApproveMintDialogProps } from \"./components/approve-mint-dialog.js\";\nexport { DiscoverPage, type DiscoverPageProps } from \"./components/discover-page.js\";\nexport { DiscoverCommunitySection } from \"./components/discover-community-section.js\";\nexport { IpTypeNav } from \"./components/ip-type-nav.js\";\nexport { HomePage, FeaturedListings, type HomePageProps } from \"./components/home-page.js\";\nexport { AccountsPage } from \"./components/accounts-page.js\";\nexport { BackButton } from \"./components/back-button.js\";\nexport { SignInPrompt } from \"./components/sign-in-prompt.js\";\nexport { LaunchpadPage, type LaunchpadPageProps } from \"./components/launchpad-page.js\";\nexport { RemixBrowsePage } from \"./components/remix-browse-page.js\";\nexport { ServiceCollectionsPage } from \"./components/service-collections-page.js\";\nexport { EditionsPage } from \"./components/editions-page.js\";\nexport { DropsPage } from \"./components/drops-page.js\";\nexport { PopMyEventsPage } from \"./components/pop-my-events-page.js\";\nexport { CreatorPage, type CreatorPageProps } from \"./components/creator-page.js\";\nexport { AccountPage, type AccountPageProps } from \"./components/account-page.js\";\nexport { CancelOrderConfirm, type CancelOrderConfirmProps } from \"./components/cancel-order-confirm.js\";\nexport { UnderlineTabs, type UnderlineTab } from \"./components/underline-tabs.js\";\nexport { MoreMenu } from \"./components/more-menu.js\";\nexport { LicenseRequestPage } from \"./components/license-request-page.js\";\nexport { orderUsd } from \"./utils/order-usd.js\";\nexport { getSeenOffers, markOffersAsSeen } from \"./utils/seen-offers.js\";\nexport { NAV_ITEMS, navGroups, type NavItemId, type NavGroupSpec } from \"./data/nav-commands.js\";\nexport { ResultThumbnail } from \"./components/result-thumbnail.js\";\nexport type { NavCommand, NavCommandGroup, NavCommandMenuProps } from \"./components/nav-command-menu.js\";\n\nexport {\n NavBrandButton,\n NavIconButton,\n NavWalletTrigger,\n NavAccountSheet,\n useNavAccountSheet,\n} from \"./components/nav-shell.js\";\nexport type {\n NavBrandButtonProps,\n NavIconButtonProps,\n NavWalletTriggerProps,\n NavAccountSheetProps,\n} from \"./components/nav-shell.js\";\n\nexport { PortfolioHeader } from \"./components/portfolio-header.js\";\nexport type {\n PortfolioHeaderProps,\n PortfolioHeaderScore,\n} from \"./components/portfolio-header.js\";\nexport { derivePortfolioCounts } from \"./utils/portfolio-counts.js\";\nexport type { PortfolioCounts, CountableOrder } from \"./utils/portfolio-counts.js\";\nexport { PortfolioChipFilter } from \"./components/portfolio-chip-filter.js\";\nexport type {\n PortfolioChipFilterProps,\n PortfolioChipFilterOption,\n} from \"./components/portfolio-chip-filter.js\";\n\nexport { ServiceHeader } from \"./components/service-header.js\";\nexport type { ServiceHeaderProps } from \"./components/service-header.js\";\nexport { ClaimRail } from \"./components/claim-rail.js\";\nexport type { ClaimRailProps } from \"./components/claim-rail.js\";\n\nexport { ServiceFormShell } from \"./components/service-form-shell.js\";\nexport type { ServiceFormShellProps } from \"./components/service-form-shell.js\";\n\nexport { LevelBadge } from \"./components/rewards/level-badge.js\";\nexport type { LevelBadgeProps } from \"./components/rewards/level-badge.js\";\nexport { XpProgress } from \"./components/rewards/xp-progress.js\";\nexport type { XpProgressProps } from \"./components/rewards/xp-progress.js\";\nexport { BadgeShelf } from \"./components/rewards/badge-shelf.js\";\nexport type { BadgeShelfProps, BadgeShelfBadge } from \"./components/rewards/badge-shelf.js\";\nexport { LeaderboardTable, LeaderboardWidget } from \"./components/rewards/leaderboard-table.js\";\nexport type { LeaderboardTableProps, LeaderboardWidgetProps, LeaderboardEntryLike } from \"./components/rewards/leaderboard-table.js\";\nexport { LevelJourneyList } from \"./components/rewards/level-journey-list.js\";\nexport type { LevelJourneyListProps, LevelJourneyListLevel } from \"./components/rewards/level-journey-list.js\";\nexport { BadgeCatalog } from \"./components/rewards/badge-catalog.js\";\nexport type { BadgeCatalogProps, BadgeCatalogBadge } from \"./components/rewards/badge-catalog.js\";\nexport { XpEarned } from \"./components/rewards/xp-earned.js\";\nexport type { XpEarnedProps } from \"./components/rewards/xp-earned.js\";\nexport { useTransaction, isBusyPhase } from \"./utils/use-transaction.js\";\nexport type { TransactionPhase } from \"./utils/use-transaction.js\";\nexport { RewardEarned } from \"./components/rewards/reward-earned.js\";\nexport type { RewardEarnedProps, RewardSnapshot } from \"./components/rewards/reward-earned.js\";\n\nexport { LoadMoreSentinel } from \"./components/load-more-sentinel.js\";\nexport { ActivitiesFeed } from \"./components/activities-feed.js\";\nexport type { LoadMoreSentinelProps } from \"./components/load-more-sentinel.js\";\n\nexport { RewardsSection } from \"./components/rewards-section.js\";\nexport type { RewardsSectionProps } from \"./components/rewards-section.js\";\n\nexport { ActionButton } from \"./components/action-button.js\";\nexport type { ActionButtonProps } from \"./components/action-button.js\";\n\nexport { CoinLaunchPreview } from \"./components/coin-launch-preview.js\";\nexport type { CoinPreviewData } from \"./components/coin-launch-preview.js\";\nexport { CollectionCreateForm } from \"./components/launchpad/collection-create-form.js\";\nexport type { CollectionCreateFormProps } from \"./components/launchpad/collection-create-form.js\";\nexport { CLUB_PRESET, TICKETS_PRESET, EDITIONS_PRESET, SINGLE_PRESET } from \"./components/launchpad/collection-create-presets.js\";\nexport type { CollectionCreatePreset } from \"./components/launchpad/collection-create-presets.js\";\nexport { TierMintForm } from \"./components/launchpad/tier-mint-form.js\";\nexport type { TierMintFormProps } from \"./components/launchpad/tier-mint-form.js\";\nexport { CLUB_TIER_PRESET, TICKETS_TIER_PRESET } from \"./components/launchpad/tier-mint-presets.js\";\nexport type { TierMintPreset } from \"./components/launchpad/tier-mint-presets.js\";\nexport { SingleEditionMint } from \"./components/launchpad/single-edition-mint.js\";\nexport { CollectionPicker } from \"./components/launchpad/collection-picker.js\";\nexport type { CollectionPickerProps } from \"./components/launchpad/collection-picker.js\";\nexport { EditionMint } from \"./components/launchpad/edition-mint.js\";\nexport { RemixMint } from \"./components/launchpad/remix-mint.js\";\nexport { IpTypePage } from \"./components/ip-type-page.js\";\nexport type { IpTypePageProps } from \"./components/ip-type-page.js\";\nexport { CollectionsPage } from \"./components/collections-page.js\";\nexport { SponsorshipCreate } from \"./components/launchpad/sponsorship-create.js\";\nexport { PopCreate } from \"./components/launchpad/pop-create.js\";\nexport { PopClaimButton } from \"./components/pop-claim-button.js\";\nexport { PopBurnButton } from \"./components/pop-burn-button.js\";\nexport { PopManagePage } from \"./components/pop-manage-page.js\";\nexport { CommentsSection } from \"./components/comments-section.js\";\nexport type { CommentsSectionProps } from \"./components/comments-section.js\";\nexport type { PopBurnButtonProps } from \"./components/pop-burn-button.js\";\nexport { SponsorshipOffersPage } from \"./components/sponsorship-offers-page.js\";\nexport { SponsorshipOfferPage } from \"./components/sponsorship-offer-page.js\";\nexport { PortfolioSponsorships } from \"./components/portfolio-sponsorships.js\";\nexport { TransferCollectionOwnership } from \"./components/transfer-collection-ownership.js\";\nexport type { TransferCollectionOwnershipProps } from \"./components/transfer-collection-ownership.js\";\nexport { CoinCreate } from \"./components/launchpad/coin-create.js\";\nexport type { CoinCreateProps } from \"./components/launchpad/coin-create.js\";\nexport { WalletRequired } from \"./components/wallet-required.js\";\nexport type { WalletRequiredProps } from \"./components/wallet-required.js\";\nexport { ClaimRouteShell } from \"./components/claim-route-shell.js\";\nexport { useLaunchpadImageUpload } from \"./utils/use-launchpad-image-upload.js\";\nexport { invalidatePortfolioCache } from \"./utils/portfolio-cache.js\";\nexport { TransactionDialog } from \"./components/transaction-dialog.js\";\nexport type { TransactionDialogProps } from \"./components/transaction-dialog.js\";\nexport { TransactionSuccess, DialogTransactionSuccess } from \"./components/transaction-success.js\";\nexport { TransactionDialogStates } from \"./components/transaction-dialog-states.js\";\nexport { TransferDialog } from \"./components/transfer-dialog.js\";\nexport { MarketplaceSearch, SearchInput } from \"./components/marketplace-search.js\";\nexport { ActiveFilters, FiltersButton, FiltersDialog, useMarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport type { MarketplaceFilters } from \"./components/marketplace-filters.js\";\nexport { useDebouncedValue } from \"./utils/use-debounced-value.js\";\nexport type { TransferDialogProps } from \"./components/transfer-dialog.js\";\nexport type { TransactionDialogStatesProps } from \"./components/transaction-dialog-states.js\";\nexport type { TransactionSuccessProps, TransactionSuccessAction } from \"./components/transaction-success.js\";\nexport { successMessages } from \"./utils/success-messages.js\";\nexport { emptyMessages } from \"./utils/empty-messages.js\";\nexport type { EmptyMessage } from \"./utils/empty-messages.js\";\nexport type { SuccessMessage } from \"./utils/success-messages.js\";\nexport { MedialaneCollectionCard } from \"./components/medialane-collection-card.js\";\nexport type { MedialaneCollectionCardProps } from \"./components/medialane-collection-card.js\";\n\nexport { StatTile, StatPill, StatPillRow } from \"./components/stat-tile.js\";\nexport type { StatTileProps, StatPillProps, StatPillRowItem } from \"./components/stat-tile.js\";\n\n\nexport { HiddenContentBanner } from \"./components/hidden-content-banner.js\";\n\nexport { useRewardsCelebrations } from \"./components/rewards/use-rewards-celebrations.js\";\nexport { LevelUpCelebration } from \"./components/rewards/level-up-celebration.js\";\nexport type { LevelUpCelebrationProps } from \"./components/rewards/level-up-celebration.js\";\nexport { BadgeUnlocked } from \"./components/rewards/badge-unlocked.js\";\nexport type { BadgeUnlockedProps } from \"./components/rewards/badge-unlocked.js\";\n\nexport { Skeleton } from \"./components/skeleton.js\";\nexport { Badge, badgeVariants } from \"./components/badge.js\";\nexport type { BadgeProps } from \"./components/badge.js\";\nexport { Panel, Pill, panelTint, PANEL_INSET } from \"./components/panel.js\";\nexport { IconTile, type IconTileProps } from \"./components/icon-tile.js\";\nexport type { PanelProps, PanelColor, PillProps } from \"./components/panel.js\";\nexport { Label } from \"./components/label.js\";\nexport { Input } from \"./components/input.js\";\nexport { Switch } from \"./components/switch.js\";\nexport { Checkbox } from \"./components/checkbox.js\";\nexport { Alert, AlertTitle, AlertDescription } from \"./components/alert.js\";\nexport { Tabs, TabsList, TabsTrigger, TabsContent } from \"./components/tabs.js\";\nexport { Card, CardHeader, CardFooter, CardTitle, CardDescription, CardContent } from \"./components/card.js\";\nexport { Collapsible, CollapsibleTrigger, CollapsibleContent } from \"./components/collapsible.js\";\nexport { Button, buttonVariants } from \"./components/button.js\";\nexport type { ButtonProps } from \"./components/button.js\";\nexport { Popover, PopoverTrigger, PopoverContent, PopoverAnchor } from \"./components/popover.js\";\nexport { HelpIcon } from \"./components/help-icon.js\";\nexport { EmptyOrError } from \"./components/empty-or-error.js\";\nexport { NewCollectionMenu, CollectionTypeChoices, COLLECTION_TYPES } from \"./components/new-collection-menu.js\";\nexport { ExternalLinkField } from \"./components/external-link-field.js\";\nexport { PortfolioCollections } from \"./components/portfolio-collections.js\";\nexport { TabEmptyState } from \"./components/tab-empty-state.js\";\nexport type { TabEmptyStateProps } from \"./components/tab-empty-state.js\";\nexport {\n Select, SelectGroup, SelectValue, SelectTrigger, SelectContent,\n SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton,\n} from \"./components/select.js\";\nexport {\n useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField,\n} from \"./components/form.js\";\nexport { Textarea } from \"./components/textarea.js\";\nexport type { TextareaProps } from \"./components/textarea.js\";\nexport {\n Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent,\n SheetHeader, SheetFooter, SheetTitle, SheetDescription,\n} from \"./components/sheet.js\";\n\nexport { ToggleGroup, Section } from \"./components/create-form-primitives.js\";\nexport { OrderSortControl, sortOrders } from \"./components/order-sort-control.js\";\nexport type { OrderSort } from \"./components/order-sort-control.js\";\nexport { PriceHistoryChart } from \"./components/price-history-chart.js\";\nexport type { PriceHistoryChartProps } from \"./components/price-history-chart.js\";\nexport { NavThemeToggle } from \"./components/nav-theme-toggle.js\";\nexport { JsonLd } from \"./components/json-ld.js\";\nexport type { JsonLdProps } from \"./components/json-ld.js\";\nexport { CreationRecord } from \"./components/creation-record.js\";\nexport type { CreationRecordProps } from \"./components/creation-record.js\";\nexport { ClubOwnerActions } from \"./components/club-owner-actions.js\";\nexport type { ClubOwnerActionsProps } from \"./components/club-owner-actions.js\";\nexport { IPTypeFields } from \"./components/ip-type-fields.js\";\nexport type { IPTypeFieldsProps, MetadataField } from \"./components/ip-type-fields.js\";\n\nexport { FastMint } from \"./components/fast-mint/fast-mint.js\";\nexport { Dropzone } from \"./components/fast-mint/dropzone.js\";\nexport type { DropzoneProps } from \"./components/fast-mint/dropzone.js\";\nexport { SuccessView } from \"./components/fast-mint/success-view.js\";\nexport type { SuccessViewProps } from \"./components/fast-mint/success-view.js\";\nexport type {\n MediaKind, FastMintSigner, MintedAsset, FastMintProps,\n} from \"./components/fast-mint/types.js\";\nexport { readBodyWithCap } from \"./utils/proxy-body.js\";\nexport type { CappedBody } from \"./utils/proxy-body.js\";\nexport { formatActivity } from \"./utils/format-activity.js\";\nexport type { FormattedEvent } from \"./utils/format-activity.js\";\n\nexport { queryKeys, queryKeyPrefix, QUERY_PREFIX } from \"./utils/query-keys.js\";\nexport { useCollectionProfile, useCreatorProfile, useCreatorByUsername } from \"./utils/use-profiles.js\";\nexport { useActivities, useActivitiesByAddress } from \"./utils/use-activities.js\";\nexport {\n useCollections, useCollection, useCollectionsByOwner, useCollectionTokens, useNearbyCollectionTokens,\n} from \"./utils/use-collections.js\";\nexport type { CollectionSort } from \"./utils/use-collections.js\";\nexport { CreatorChip } from \"./components/creator-chip.js\";\nexport type { CreatorChipProps } from \"./components/creator-chip.js\";\nexport { CollectionProvenanceTab } from \"./components/collection-provenance-tab.js\";\nexport type { CollectionProvenanceTabProps } from \"./components/collection-provenance-tab.js\";\nexport { PortfolioActivity } from \"./components/portfolio-activity.js\";\nexport type { PortfolioActivityProps } from \"./components/portfolio-activity.js\";\nexport { CreatorScoreInline } from \"./components/creator-score-inline.js\";\nexport type { CreatorScoreInlineProps } from \"./components/creator-score-inline.js\";\n\nexport { useMedialaneClient } from \"./utils/use-medialane-client.js\";\n\nexport { MediaWalletOverlay, useMediaWallet } from \"./components/media-wallet/media-wallet-overlay.js\";\nexport type {\n MediaWalletAppProps,\n MediaWalletHeaderIdentity,\n MediaWalletSession,\n MediaWalletView,\n WalletWriteAction,\n WalletWriteStatus,\n} from \"./components/media-wallet/types.js\";\nexport { useAccounts } from \"./utils/use-accounts.js\";\nexport { useSearch, SEARCH_MIN_LENGTH, type UseSearchOptions } from \"./utils/use-search.js\";\nexport {\n useRewards, useLeaderboard, useRewardsEvents, useRewardsConfig, useRewardsBatch,\n} from \"./utils/use-rewards.js\";\nexport type { UserRewards, LeaderboardEntry, BadgeSummary, LevelSummary } from \"./utils/use-rewards.js\";\n\nexport {\n useOrders, useOrder, useTokenListings, useUserOrders, useCounterOffers,\n useReceivedOffers, useCollectionFloorListings,\n} from \"./utils/use-orders.js\";\nexport { useTokenRemixes } from \"./utils/use-remix-offers.js\";\nexport { useRemixOffers } from \"./utils/use-my-remix-offers.js\";\nexport { useSwapQuote, swapQuoteKey } from \"./utils/use-swap-quote.js\";\nexport type { SwapToken, SwapAmountMode, SwapQuoteSummary } from \"./utils/use-swap-quote.js\";\nexport { RemixesTab } from \"./components/remixes-tab.js\";\nexport type { RemixesTabProps } from \"./components/remixes-tab.js\";\n\nexport { DropCountdown } from \"./components/drop-countdown.js\";\nexport {\n Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger,\n DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription,\n} from \"./components/dialog.js\";\nexport { SelfFundConsentDialog, feeLabelFor } from \"./components/wallet/self-fund-consent-dialog.js\";\nexport { ExportKeySection, type ExportKeySectionProps } from \"./components/wallet/export-key-section.js\";\nexport { useDrops, useMyDrops, useDrop, useDropMints, useDropFee, useDropFile, useDropChain } from \"./utils/use-drops.js\";\nexport type { DropChainState } from \"./utils/use-drops.js\";\nexport { usePopCollections, useMyPopEvents, usePopClaimStatus } from \"./utils/use-pop.js\";\nexport { usePlatformStats } from \"./utils/use-platform-stats.js\";\nexport { useTokensByIpType } from \"./utils/use-tokens-by-ip-type.js\";\nexport { usePriceMap, useCoinPrice } from \"./utils/use-coin-price.js\";\nexport {\n useSponsorshipOffers, useSponsorshipOffer, useSponsorshipBids, useSponsorshipProposals,\n useSponsorshipProposal, usePendingProposalsForAsset, useSponsorshipLicenses, useMySponsorshipDealCounts,\n} from \"./utils/use-sponsorship.js\";\nexport {\n predictNextMembershipId, predictNextTicketId, useMyClubCollections, useMyTicketCollections,\n useMembershipList, useTicketList, useMembershipOnchain, useTicketOnchain, useIsMemberOf,\n type TierOnchain, type TierListItem,\n} from \"./utils/use-tiers.js\";\nexport { useToken, useTokenBalance, useTokenHistory, useTokensByOwner, useOwnedTokens } from \"./utils/use-tokens.js\";\nexport { checkIsOwner } from \"./utils/ownership.js\";\nexport { AssetOwnersPanel } from \"./components/asset-owners-panel.js\";\nexport { AssetUnavailable } from \"./components/asset-unavailable.js\";\nexport { AssetProvenanceTab } from \"./components/asset-provenance-tab.js\";\nexport { ASSET_ACCENTS, type AssetAccent, type AssetAccentName } from \"./utils/asset-accents.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;A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;AAClC,mCAAqC;AACrC,6BAA8B;AAE9B,oBAGO;AACP,kBAEO;AACP,sBAAyB;AAEzB,mBAGO;AAEP,oCAAqC;AACrC,gCAA6C;AAE7C,iCAAkC;AAElC,8BAA+B;AAC/B,qBAAuB;AAEvB,6BAA+B;AAE/B,gCAAiC;AAEjC,4BAA6B;AAG7B,uBAAyB;AACzB,sBAAyB;AAEzB,0BAA4B;AAK5B,wBAAgC;AAEhC,6BAA+B;AAG/B,wBAAwD;AACxD,0BAA8E;AAC9E,4BAAsD;AACtD,6BAEO;AAEP,0BAA4B;AAE5B,uCAAwC;AAExC,gCAAkC;AAElC,kCAAmC;AAGnC,kCAAmC;AAEnC,kCAAmD;AASnD,0BAA4B;AAC5B,wBAAoE;AACpE,yBAEO;AAGP,wBAGO;AACP,8BAAgC;AAChC,iCAA+B;AAC/B,4BAA2C;AAE3C,yBAA2B;AAG3B,4BAA8B;AAC9B,oBAGO;AACP,sCAAmD;AACnD,gCAA6D;AAC7D,uBAAmG;AAEnG,qBAAqE;AACrE,gCAAiC;AACjC,mCAAkC;AAClC,4BAA0C;AAC1C,6BAGO;AACP,uBAIO;AACP,wBAA6F;AAC7F,uBAA6B;AAC7B,gCAAiC;AACjC,+BAAiC;AACjC,kCAAmC;AACnC,2BAAsE;","names":["import_ipfs_gateway_fallback","import_ipfs","import_launchpad_services"]}
package/dist/index.d.cts CHANGED
@@ -231,6 +231,7 @@ export { BadgeUnlocked, BadgeUnlockedProps } from './components/rewards/badge-un
231
231
  export { Skeleton } from './components/skeleton.cjs';
232
232
  export { Badge, BadgeProps, badgeVariants } from './components/badge.cjs';
233
233
  export { PANEL_INSET, Panel, PanelColor, PanelProps, Pill, PillProps, panelTint } from './components/panel.cjs';
234
+ export { IconTile, IconTileProps } from './components/icon-tile.cjs';
234
235
  export { Label } from './components/label.cjs';
235
236
  export { Input } from './components/input.cjs';
236
237
  export { Switch } from './components/switch.cjs';
package/dist/index.d.ts CHANGED
@@ -231,6 +231,7 @@ export { BadgeUnlocked, BadgeUnlockedProps } from './components/rewards/badge-un
231
231
  export { Skeleton } from './components/skeleton.js';
232
232
  export { Badge, BadgeProps, badgeVariants } from './components/badge.js';
233
233
  export { PANEL_INSET, Panel, PanelColor, PanelProps, Pill, PillProps, panelTint } from './components/panel.js';
234
+ export { IconTile, IconTileProps } from './components/icon-tile.js';
234
235
  export { Label } from './components/label.js';
235
236
  export { Input } from './components/input.js';
236
237
  export { Switch } from './components/switch.js';
package/dist/index.js CHANGED
@@ -322,6 +322,7 @@ import { BadgeUnlocked } from "./components/rewards/badge-unlocked.js";
322
322
  import { Skeleton } from "./components/skeleton.js";
323
323
  import { Badge, badgeVariants } from "./components/badge.js";
324
324
  import { Panel, Pill, panelTint, PANEL_INSET } from "./components/panel.js";
325
+ import { IconTile } from "./components/icon-tile.js";
325
326
  import { Label } from "./components/label.js";
326
327
  import { Input } from "./components/input.js";
327
328
  import { Switch } from "./components/switch.js";
@@ -678,6 +679,7 @@ export {
678
679
  IP_TYPE_DATA,
679
680
  IP_TYPE_DATA_MAP,
680
681
  IP_TYPE_MAP,
682
+ IconTile,
681
683
  Input,
682
684
  InputOTP,
683
685
  InputOTPGroup,