@medialane/ui 0.1.6 → 0.3.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 (92) hide show
  1. package/dist/components/activity-feed-shell.cjs +90 -0
  2. package/dist/components/activity-feed-shell.cjs.map +1 -0
  3. package/dist/components/activity-feed-shell.d.cts +13 -0
  4. package/dist/components/activity-feed-shell.d.ts +13 -0
  5. package/dist/components/activity-feed-shell.js +56 -0
  6. package/dist/components/activity-feed-shell.js.map +1 -0
  7. package/dist/components/activity-row.cjs +95 -0
  8. package/dist/components/activity-row.cjs.map +1 -0
  9. package/dist/components/activity-row.d.cts +20 -0
  10. package/dist/components/activity-row.d.ts +20 -0
  11. package/dist/components/activity-row.js +61 -0
  12. package/dist/components/activity-row.js.map +1 -0
  13. package/dist/components/activity-ticker.cjs +92 -0
  14. package/dist/components/activity-ticker.cjs.map +1 -0
  15. package/dist/components/activity-ticker.d.cts +12 -0
  16. package/dist/components/activity-ticker.d.ts +12 -0
  17. package/dist/components/activity-ticker.js +58 -0
  18. package/dist/components/activity-ticker.js.map +1 -0
  19. package/dist/components/collection-card.cjs +124 -0
  20. package/dist/components/collection-card.cjs.map +1 -0
  21. package/dist/components/collection-card.d.cts +13 -0
  22. package/dist/components/collection-card.d.ts +13 -0
  23. package/dist/components/collection-card.js +89 -0
  24. package/dist/components/collection-card.js.map +1 -0
  25. package/dist/components/cta-card-grid.cjs +67 -0
  26. package/dist/components/cta-card-grid.cjs.map +1 -0
  27. package/dist/components/cta-card-grid.d.cts +23 -0
  28. package/dist/components/cta-card-grid.d.ts +23 -0
  29. package/dist/components/cta-card-grid.js +33 -0
  30. package/dist/components/cta-card-grid.js.map +1 -0
  31. package/dist/components/hero-slider.cjs +133 -0
  32. package/dist/components/hero-slider.cjs.map +1 -0
  33. package/dist/components/hero-slider.d.cts +12 -0
  34. package/dist/components/hero-slider.d.ts +12 -0
  35. package/dist/components/hero-slider.js +98 -0
  36. package/dist/components/hero-slider.js.map +1 -0
  37. package/dist/components/launchpad-grid.cjs +77 -0
  38. package/dist/components/launchpad-grid.cjs.map +1 -0
  39. package/dist/components/launchpad-grid.d.cts +20 -0
  40. package/dist/components/launchpad-grid.d.ts +20 -0
  41. package/dist/components/launchpad-grid.js +43 -0
  42. package/dist/components/launchpad-grid.js.map +1 -0
  43. package/dist/components/listing-card.cjs +146 -0
  44. package/dist/components/listing-card.cjs.map +1 -0
  45. package/dist/components/listing-card.d.cts +16 -0
  46. package/dist/components/listing-card.d.ts +16 -0
  47. package/dist/components/listing-card.js +111 -0
  48. package/dist/components/listing-card.js.map +1 -0
  49. package/dist/components/motion-primitives.cjs +126 -0
  50. package/dist/components/motion-primitives.cjs.map +1 -0
  51. package/dist/components/motion-primitives.d.cts +36 -0
  52. package/dist/components/motion-primitives.d.ts +36 -0
  53. package/dist/components/motion-primitives.js +96 -0
  54. package/dist/components/motion-primitives.js.map +1 -0
  55. package/dist/components/scroll-section.cjs +72 -0
  56. package/dist/components/scroll-section.cjs.map +1 -0
  57. package/dist/components/scroll-section.d.cts +18 -0
  58. package/dist/components/scroll-section.d.ts +18 -0
  59. package/dist/components/scroll-section.js +38 -0
  60. package/dist/components/scroll-section.js.map +1 -0
  61. package/dist/components/share-button.cjs +86 -0
  62. package/dist/components/share-button.cjs.map +1 -0
  63. package/dist/components/share-button.d.cts +12 -0
  64. package/dist/components/share-button.d.ts +12 -0
  65. package/dist/components/share-button.js +62 -0
  66. package/dist/components/share-button.js.map +1 -0
  67. package/dist/components/token-card.cjs +281 -0
  68. package/dist/components/token-card.cjs.map +1 -0
  69. package/dist/components/token-card.d.cts +31 -0
  70. package/dist/components/token-card.d.ts +31 -0
  71. package/dist/components/token-card.js +256 -0
  72. package/dist/components/token-card.js.map +1 -0
  73. package/dist/data/activity.cjs +48 -0
  74. package/dist/data/activity.cjs.map +1 -0
  75. package/dist/data/activity.d.cts +16 -0
  76. package/dist/data/activity.d.ts +16 -0
  77. package/dist/data/activity.js +23 -0
  78. package/dist/data/activity.js.map +1 -0
  79. package/dist/index.cjs +66 -2
  80. package/dist/index.cjs.map +1 -1
  81. package/dist/index.d.cts +18 -0
  82. package/dist/index.d.ts +18 -0
  83. package/dist/index.js +40 -1
  84. package/dist/index.js.map +1 -1
  85. package/dist/medialane.css +184 -0
  86. package/dist/utils/time.cjs +42 -0
  87. package/dist/utils/time.cjs.map +1 -0
  88. package/dist/utils/time.d.cts +7 -0
  89. package/dist/utils/time.d.ts +7 -0
  90. package/dist/utils/time.js +18 -0
  91. package/dist/utils/time.js.map +1 -0
  92. package/package.json +17 -10
@@ -0,0 +1,58 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useState } from "react";
4
+ import Link from "next/link";
5
+ import { CurrencyIcon } from "./currency-icon.js";
6
+ import { formatDisplayPrice } from "../utils/format.js";
7
+ import { ipfsToHttp } from "../utils/ipfs.js";
8
+ import { cn } from "../utils/cn.js";
9
+ function ActivityPill({ listing, getHref }) {
10
+ const [imgError, setImgError] = useState(false);
11
+ const image = listing.token?.image && !imgError ? ipfsToHttp(listing.token.image) : null;
12
+ return /* @__PURE__ */ jsxs(
13
+ Link,
14
+ {
15
+ href: getHref(listing),
16
+ className: "flex-shrink-0 flex items-center gap-2 rounded-xl border border-border bg-card px-3 py-2 hover:bg-muted/60 active:scale-[0.98] transition-all duration-150 group",
17
+ children: [
18
+ /* @__PURE__ */ jsx("div", { className: "h-8 w-8 rounded-lg overflow-hidden bg-muted shrink-0", children: image ? /* @__PURE__ */ jsx(
19
+ "img",
20
+ {
21
+ src: image,
22
+ alt: "",
23
+ loading: "lazy",
24
+ className: "w-full h-full object-cover group-hover:scale-105 transition-transform duration-300",
25
+ onError: () => setImgError(true)
26
+ }
27
+ ) : /* @__PURE__ */ jsx("div", { className: "w-full h-full bg-gradient-to-br from-brand-purple/20 to-brand-blue/20" }) }),
28
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0", children: [
29
+ /* @__PURE__ */ jsx("p", { className: "text-xs font-medium whitespace-nowrap max-w-[100px] truncate", children: listing.token?.name ?? `#${listing.nftTokenId}` }),
30
+ listing.price?.formatted && /* @__PURE__ */ jsxs("p", { className: "text-[10px] font-bold text-brand-orange whitespace-nowrap flex items-center gap-0.5", children: [
31
+ listing.price.currency && /* @__PURE__ */ jsx(CurrencyIcon, { symbol: listing.price.currency, size: 10 }),
32
+ formatDisplayPrice(listing.price.formatted),
33
+ " ",
34
+ listing.price.currency
35
+ ] })
36
+ ] })
37
+ ]
38
+ }
39
+ );
40
+ }
41
+ function ActivityTicker({ orders, minItems = 3, className }) {
42
+ if (orders.length < minItems) return null;
43
+ const getHref = (order) => `/asset/${order.nftContract}/${order.nftTokenId}`;
44
+ return /* @__PURE__ */ jsx("div", { className: cn(className), children: /* @__PURE__ */ jsx("div", { className: "relative overflow-hidden py-2.5", children: /* @__PURE__ */ jsx(
45
+ "div",
46
+ {
47
+ className: "flex gap-2 w-max px-2",
48
+ style: { animation: "scroll-strip 50s linear infinite" },
49
+ onMouseEnter: (e) => e.currentTarget.style.animationPlayState = "paused",
50
+ onMouseLeave: (e) => e.currentTarget.style.animationPlayState = "running",
51
+ children: [...orders, ...orders].map((listing, i) => /* @__PURE__ */ jsx(ActivityPill, { listing, getHref }, `${listing.orderHash}-${i}`))
52
+ }
53
+ ) }) });
54
+ }
55
+ export {
56
+ ActivityTicker
57
+ };
58
+ //# sourceMappingURL=activity-ticker.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/activity-ticker.tsx"],"sourcesContent":["\"use client\";\n\nimport { useState } from \"react\";\nimport Link from \"next/link\";\nimport { CurrencyIcon } from \"./currency-icon.js\";\nimport { formatDisplayPrice } from \"../utils/format.js\";\nimport { ipfsToHttp } from \"../utils/ipfs.js\";\nimport { cn } from \"../utils/cn.js\";\nimport type { ApiOrder } from \"@medialane/sdk\";\n\nexport interface ActivityTickerProps {\n orders: ApiOrder[];\n /** Hide ticker if fewer items than this threshold. Default: 3 */\n minItems?: number;\n className?: string;\n}\n\nfunction ActivityPill({ listing, getHref }: { listing: ApiOrder; getHref: (order: ApiOrder) => string }) {\n const [imgError, setImgError] = useState(false);\n const image = listing.token?.image && !imgError ? ipfsToHttp(listing.token.image) : null;\n\n return (\n <Link\n href={getHref(listing)}\n className=\"flex-shrink-0 flex items-center gap-2 rounded-xl border border-border bg-card px-3 py-2 hover:bg-muted/60 active:scale-[0.98] transition-all duration-150 group\"\n >\n <div className=\"h-8 w-8 rounded-lg overflow-hidden bg-muted shrink-0\">\n {image ? (\n <img\n src={image}\n alt=\"\"\n loading=\"lazy\"\n className=\"w-full h-full object-cover group-hover:scale-105 transition-transform duration-300\"\n onError={() => setImgError(true)}\n />\n ) : (\n <div className=\"w-full h-full bg-gradient-to-br from-brand-purple/20 to-brand-blue/20\" />\n )}\n </div>\n <div className=\"min-w-0\">\n <p className=\"text-xs font-medium whitespace-nowrap max-w-[100px] truncate\">\n {listing.token?.name ?? `#${listing.nftTokenId}`}\n </p>\n {listing.price?.formatted && (\n <p className=\"text-[10px] font-bold text-brand-orange whitespace-nowrap flex items-center gap-0.5\">\n {listing.price.currency && <CurrencyIcon symbol={listing.price.currency} size={10} />}\n {formatDisplayPrice(listing.price.formatted)} {listing.price.currency}\n </p>\n )}\n </div>\n </Link>\n );\n}\n\nexport function ActivityTicker({ orders, minItems = 3, className }: ActivityTickerProps) {\n if (orders.length < minItems) return null;\n\n const getHref = (order: ApiOrder) => `/asset/${order.nftContract}/${order.nftTokenId}`;\n\n return (\n <div className={cn(className)}>\n <div className=\"relative overflow-hidden py-2.5\">\n <div\n className=\"flex gap-2 w-max px-2\"\n style={{ animation: \"scroll-strip 50s linear infinite\" }}\n onMouseEnter={(e) => (e.currentTarget.style.animationPlayState = \"paused\")}\n onMouseLeave={(e) => (e.currentTarget.style.animationPlayState = \"running\")}\n >\n {[...orders, ...orders].map((listing, i) => (\n <ActivityPill key={`${listing.orderHash}-${i}`} listing={listing} getHref={getHref} />\n ))}\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":";AA4BU,cAgBA,YAhBA;AA1BV,SAAS,gBAAgB;AACzB,OAAO,UAAU;AACjB,SAAS,oBAAoB;AAC7B,SAAS,0BAA0B;AACnC,SAAS,kBAAkB;AAC3B,SAAS,UAAU;AAUnB,SAAS,aAAa,EAAE,SAAS,QAAQ,GAAgE;AACvG,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,KAAK;AAC9C,QAAM,QAAQ,QAAQ,OAAO,SAAS,CAAC,WAAW,WAAW,QAAQ,MAAM,KAAK,IAAI;AAEpF,SACE;AAAA,IAAC;AAAA;AAAA,MACC,MAAM,QAAQ,OAAO;AAAA,MACrB,WAAU;AAAA,MAEV;AAAA,4BAAC,SAAI,WAAU,wDACZ,kBACC;AAAA,UAAC;AAAA;AAAA,YACC,KAAK;AAAA,YACL,KAAI;AAAA,YACJ,SAAQ;AAAA,YACR,WAAU;AAAA,YACV,SAAS,MAAM,YAAY,IAAI;AAAA;AAAA,QACjC,IAEA,oBAAC,SAAI,WAAU,yEAAwE,GAE3F;AAAA,QACA,qBAAC,SAAI,WAAU,WACb;AAAA,8BAAC,OAAE,WAAU,gEACV,kBAAQ,OAAO,QAAQ,IAAI,QAAQ,UAAU,IAChD;AAAA,UACC,QAAQ,OAAO,aACd,qBAAC,OAAE,WAAU,uFACV;AAAA,oBAAQ,MAAM,YAAY,oBAAC,gBAAa,QAAQ,QAAQ,MAAM,UAAU,MAAM,IAAI;AAAA,YAClF,mBAAmB,QAAQ,MAAM,SAAS;AAAA,YAAE;AAAA,YAAE,QAAQ,MAAM;AAAA,aAC/D;AAAA,WAEJ;AAAA;AAAA;AAAA,EACF;AAEJ;AAEO,SAAS,eAAe,EAAE,QAAQ,WAAW,GAAG,UAAU,GAAwB;AACvF,MAAI,OAAO,SAAS,SAAU,QAAO;AAErC,QAAM,UAAU,CAAC,UAAoB,UAAU,MAAM,WAAW,IAAI,MAAM,UAAU;AAEpF,SACE,oBAAC,SAAI,WAAW,GAAG,SAAS,GAC1B,8BAAC,SAAI,WAAU,mCACb;AAAA,IAAC;AAAA;AAAA,MACC,WAAU;AAAA,MACV,OAAO,EAAE,WAAW,mCAAmC;AAAA,MACvD,cAAc,CAAC,MAAO,EAAE,cAAc,MAAM,qBAAqB;AAAA,MACjE,cAAc,CAAC,MAAO,EAAE,cAAc,MAAM,qBAAqB;AAAA,MAEhE,WAAC,GAAG,QAAQ,GAAG,MAAM,EAAE,IAAI,CAAC,SAAS,MACpC,oBAAC,gBAA+C,SAAkB,WAA/C,GAAG,QAAQ,SAAS,IAAI,CAAC,EAAwC,CACrF;AAAA;AAAA,EACH,GACF,GACF;AAEJ;","names":[]}
@@ -0,0 +1,124 @@
1
+ "use strict";
2
+ "use client";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var collection_card_exports = {};
31
+ __export(collection_card_exports, {
32
+ CollectionCard: () => CollectionCard,
33
+ CollectionCardSkeleton: () => CollectionCardSkeleton
34
+ });
35
+ module.exports = __toCommonJS(collection_card_exports);
36
+ var import_jsx_runtime = require("react/jsx-runtime");
37
+ var import_react = require("react");
38
+ var import_link = __toESM(require("next/link"), 1);
39
+ var import_image = __toESM(require("next/image"), 1);
40
+ var import_lucide_react = require("lucide-react");
41
+ var import_cn = require("../utils/cn.js");
42
+ var import_ipfs = require("../utils/ipfs.js");
43
+ var import_format = require("../utils/format.js");
44
+ var import_motion_primitives = require("./motion-primitives.js");
45
+ function FloorTooltip({ children, label }) {
46
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "relative inline-flex items-center gap-0.5 group/tip cursor-default", children: [
47
+ children,
48
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.HelpCircle, { className: "h-2.5 w-2.5 text-white/50 group-hover/tip:text-white/80 transition-colors shrink-0" }),
49
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 px-2 py-1 text-[10px] font-normal bg-popover text-popover-foreground border border-border rounded-md shadow-md whitespace-nowrap opacity-0 group-hover/tip:opacity-100 transition-opacity z-50", children: label })
50
+ ] });
51
+ }
52
+ function CollectionCard({ collection, settingsHref, className }) {
53
+ const [imgError, setImgError] = (0, import_react.useState)(false);
54
+ const imageUrl = collection.image ? (0, import_ipfs.ipfsToHttp)(collection.image) : null;
55
+ const showImage = imageUrl && !imgError;
56
+ const initial = (collection.name ?? collection.contractAddress).charAt(0).toUpperCase();
57
+ const hasFloor = !!collection.floorPrice;
58
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_motion_primitives.MotionCard, { className: (0, import_cn.cn)("card-base group relative", className), children: [
59
+ settingsHref && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
60
+ import_link.default,
61
+ {
62
+ href: settingsHref,
63
+ onClick: (e) => e.stopPropagation(),
64
+ className: "absolute top-2 right-2 z-10 h-7 w-7 rounded-full bg-black/40 backdrop-blur-sm flex items-center justify-center text-white/70 hover:text-white hover:bg-black/60 transition-colors",
65
+ "aria-label": "Collection settings",
66
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Settings2, { className: "h-3.5 w-3.5" })
67
+ }
68
+ ),
69
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_link.default, { href: `/collections/${collection.contractAddress}`, className: "block relative h-full", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative aspect-[3/4] w-full overflow-hidden bg-muted", children: [
70
+ showImage ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
71
+ import_image.default,
72
+ {
73
+ src: imageUrl,
74
+ alt: collection.name ?? "Collection",
75
+ fill: true,
76
+ className: "object-cover transition-transform duration-500 group-hover:scale-105",
77
+ onError: () => setImgError(true),
78
+ unoptimized: true
79
+ }
80
+ ) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute inset-0 bg-gradient-to-br from-brand-purple/30 via-brand-blue/20 to-brand-navy/40 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-8xl font-black text-white/10 select-none tracking-tighter", children: initial }) }),
81
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "absolute bottom-0 left-0 right-0 px-2.5 pb-2.5 flex flex-col gap-1.5 items-start", children: [
82
+ !collection.name && collection.metadataStatus === "PENDING" ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "flex items-center gap-1 text-[10px] text-white/60 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5", children: [
83
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Loader2, { className: "h-2.5 w-2.5 animate-spin" }),
84
+ "Indexing\u2026"
85
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
86
+ "p",
87
+ {
88
+ className: "font-bold text-sm text-white leading-tight backdrop-blur-md bg-black/30 rounded-lg px-2.5 py-1 max-w-full truncate",
89
+ style: { textShadow: "0 1px 6px rgba(0,0,0,0.5)" },
90
+ children: [
91
+ collection.name ?? "Unnamed Collection",
92
+ collection.isKnown && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.CheckCircle2, { className: "inline-block h-3 w-3 text-blue-400 ml-1.5 shrink-0 align-middle" })
93
+ ]
94
+ }
95
+ ),
96
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex items-center gap-1.5 flex-wrap", children: [
97
+ collection.totalSupply != null && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { className: "text-[10px] font-medium text-white/80 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5", children: [
98
+ collection.totalSupply.toLocaleString(),
99
+ " items"
100
+ ] }),
101
+ hasFloor && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "text-[10px] font-bold text-white/90 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(FloorTooltip, { label: "Lowest active listing price in this collection", children: [
102
+ "Floor ",
103
+ (0, import_format.formatDisplayPrice)(collection.floorPrice)
104
+ ] }) })
105
+ ] })
106
+ ] })
107
+ ] }) })
108
+ ] });
109
+ }
110
+ function CollectionCardSkeleton() {
111
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "card-base overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative aspect-[3/4] w-full overflow-hidden bg-muted", children: [
112
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "absolute inset-0 animate-pulse bg-muted" }),
113
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "absolute bottom-3 left-3 right-3 space-y-1.5", children: [
114
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-4 w-2/3 rounded-md bg-muted-foreground/20 animate-pulse" }),
115
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-3 w-1/3 rounded-md bg-muted-foreground/20 animate-pulse" })
116
+ ] })
117
+ ] }) });
118
+ }
119
+ // Annotate the CommonJS export names for ESM import in node:
120
+ 0 && (module.exports = {
121
+ CollectionCard,
122
+ CollectionCardSkeleton
123
+ });
124
+ //# sourceMappingURL=collection-card.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/collection-card.tsx"],"sourcesContent":["\"use client\";\n\nimport { useState } from \"react\";\nimport Link from \"next/link\";\nimport Image from \"next/image\";\nimport { Loader2, Settings2, CheckCircle2, HelpCircle } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\nimport { ipfsToHttp } from \"../utils/ipfs.js\";\nimport { formatDisplayPrice } from \"../utils/format.js\";\nimport { MotionCard } from \"./motion-primitives.js\";\nimport type { ApiCollection } from \"@medialane/sdk\";\n\n// Pure CSS tooltip — no Radix/shadcn dependency\nfunction FloorTooltip({ children, label }: { children: React.ReactNode; label: string }) {\n return (\n <span className=\"relative inline-flex items-center gap-0.5 group/tip cursor-default\">\n {children}\n <HelpCircle className=\"h-2.5 w-2.5 text-white/50 group-hover/tip:text-white/80 transition-colors shrink-0\" />\n <span className=\"pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 px-2 py-1 text-[10px] font-normal bg-popover text-popover-foreground border border-border rounded-md shadow-md whitespace-nowrap opacity-0 group-hover/tip:opacity-100 transition-opacity z-50\">\n {label}\n </span>\n </span>\n );\n}\n\nexport interface CollectionCardProps {\n collection: ApiCollection;\n /** Shows settings gear icon linking to this path — used in portfolio pages */\n settingsHref?: string;\n className?: string;\n}\n\nexport function CollectionCard({ collection, settingsHref, className }: CollectionCardProps) {\n const [imgError, setImgError] = useState(false);\n const imageUrl = collection.image ? ipfsToHttp(collection.image) : null;\n const showImage = imageUrl && !imgError;\n const initial = (collection.name ?? collection.contractAddress).charAt(0).toUpperCase();\n const hasFloor = !!collection.floorPrice;\n\n return (\n <MotionCard className={cn(\"card-base group relative\", className)}>\n {settingsHref && (\n <Link\n href={settingsHref}\n onClick={(e) => e.stopPropagation()}\n className=\"absolute top-2 right-2 z-10 h-7 w-7 rounded-full bg-black/40 backdrop-blur-sm flex items-center justify-center text-white/70 hover:text-white hover:bg-black/60 transition-colors\"\n aria-label=\"Collection settings\"\n >\n <Settings2 className=\"h-3.5 w-3.5\" />\n </Link>\n )}\n\n <Link href={`/collections/${collection.contractAddress}`} className=\"block relative h-full\">\n <div className=\"relative aspect-[3/4] w-full overflow-hidden bg-muted\">\n {showImage ? (\n <Image\n src={imageUrl}\n alt={collection.name ?? \"Collection\"}\n fill\n className=\"object-cover transition-transform duration-500 group-hover:scale-105\"\n onError={() => setImgError(true)}\n unoptimized\n />\n ) : (\n <div className=\"absolute inset-0 bg-gradient-to-br from-brand-purple/30 via-brand-blue/20 to-brand-navy/40 flex items-center justify-center\">\n <span className=\"text-8xl font-black text-white/10 select-none tracking-tighter\">\n {initial}\n </span>\n </div>\n )}\n\n <div className=\"absolute bottom-0 left-0 right-0 px-2.5 pb-2.5 flex flex-col gap-1.5 items-start\">\n {!collection.name && collection.metadataStatus === \"PENDING\" ? (\n <span className=\"flex items-center gap-1 text-[10px] text-white/60 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5\">\n <Loader2 className=\"h-2.5 w-2.5 animate-spin\" />\n Indexing…\n </span>\n ) : (\n <p\n className=\"font-bold text-sm text-white leading-tight backdrop-blur-md bg-black/30 rounded-lg px-2.5 py-1 max-w-full truncate\"\n style={{ textShadow: \"0 1px 6px rgba(0,0,0,0.5)\" }}\n >\n {collection.name ?? \"Unnamed Collection\"}\n {collection.isKnown && (\n <CheckCircle2 className=\"inline-block h-3 w-3 text-blue-400 ml-1.5 shrink-0 align-middle\" />\n )}\n </p>\n )}\n\n <div className=\"flex items-center gap-1.5 flex-wrap\">\n {collection.totalSupply != null && (\n <span className=\"text-[10px] font-medium text-white/80 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5\">\n {collection.totalSupply.toLocaleString()} items\n </span>\n )}\n {hasFloor && (\n <span className=\"text-[10px] font-bold text-white/90 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5\">\n <FloorTooltip label=\"Lowest active listing price in this collection\">\n Floor {formatDisplayPrice(collection.floorPrice)}\n </FloorTooltip>\n </span>\n )}\n </div>\n </div>\n </div>\n </Link>\n </MotionCard>\n );\n}\n\nexport function CollectionCardSkeleton() {\n return (\n <div className=\"card-base overflow-hidden\">\n <div className=\"relative aspect-[3/4] w-full overflow-hidden bg-muted\">\n <div className=\"absolute inset-0 animate-pulse bg-muted\" />\n <div className=\"absolute bottom-3 left-3 right-3 space-y-1.5\">\n <div className=\"h-4 w-2/3 rounded-md bg-muted-foreground/20 animate-pulse\" />\n <div className=\"h-3 w-1/3 rounded-md bg-muted-foreground/20 animate-pulse\" />\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeI;AAbJ,mBAAyB;AACzB,kBAAiB;AACjB,mBAAkB;AAClB,0BAA6D;AAC7D,gBAAmB;AACnB,kBAA2B;AAC3B,oBAAmC;AACnC,+BAA2B;AAI3B,SAAS,aAAa,EAAE,UAAU,MAAM,GAAiD;AACvF,SACE,6CAAC,UAAK,WAAU,sEACb;AAAA;AAAA,IACD,4CAAC,kCAAW,WAAU,sFAAqF;AAAA,IAC3G,4CAAC,UAAK,WAAU,4QACb,iBACH;AAAA,KACF;AAEJ;AASO,SAAS,eAAe,EAAE,YAAY,cAAc,UAAU,GAAwB;AAC3F,QAAM,CAAC,UAAU,WAAW,QAAI,uBAAS,KAAK;AAC9C,QAAM,WAAW,WAAW,YAAQ,wBAAW,WAAW,KAAK,IAAI;AACnE,QAAM,YAAY,YAAY,CAAC;AAC/B,QAAM,WAAW,WAAW,QAAQ,WAAW,iBAAiB,OAAO,CAAC,EAAE,YAAY;AACtF,QAAM,WAAW,CAAC,CAAC,WAAW;AAE9B,SACE,6CAAC,uCAAW,eAAW,cAAG,4BAA4B,SAAS,GAC5D;AAAA,oBACC;AAAA,MAAC,YAAAA;AAAA,MAAA;AAAA,QACC,MAAM;AAAA,QACN,SAAS,CAAC,MAAM,EAAE,gBAAgB;AAAA,QAClC,WAAU;AAAA,QACV,cAAW;AAAA,QAEX,sDAAC,iCAAU,WAAU,eAAc;AAAA;AAAA,IACrC;AAAA,IAGF,4CAAC,YAAAA,SAAA,EAAK,MAAM,gBAAgB,WAAW,eAAe,IAAI,WAAU,yBAClE,uDAAC,SAAI,WAAU,yDACZ;AAAA,kBACC;AAAA,QAAC,aAAAC;AAAA,QAAA;AAAA,UACC,KAAK;AAAA,UACL,KAAK,WAAW,QAAQ;AAAA,UACxB,MAAI;AAAA,UACJ,WAAU;AAAA,UACV,SAAS,MAAM,YAAY,IAAI;AAAA,UAC/B,aAAW;AAAA;AAAA,MACb,IAEA,4CAAC,SAAI,WAAU,+HACb,sDAAC,UAAK,WAAU,kEACb,mBACH,GACF;AAAA,MAGF,6CAAC,SAAI,WAAU,oFACZ;AAAA,SAAC,WAAW,QAAQ,WAAW,mBAAmB,YACjD,6CAAC,UAAK,WAAU,2GACd;AAAA,sDAAC,+BAAQ,WAAU,4BAA2B;AAAA,UAAE;AAAA,WAElD,IAEA;AAAA,UAAC;AAAA;AAAA,YACC,WAAU;AAAA,YACV,OAAO,EAAE,YAAY,4BAA4B;AAAA,YAEhD;AAAA,yBAAW,QAAQ;AAAA,cACnB,WAAW,WACV,4CAAC,oCAAa,WAAU,mEAAkE;AAAA;AAAA;AAAA,QAE9F;AAAA,QAGF,6CAAC,SAAI,WAAU,uCACZ;AAAA,qBAAW,eAAe,QACzB,6CAAC,UAAK,WAAU,+FACb;AAAA,uBAAW,YAAY,eAAe;AAAA,YAAE;AAAA,aAC3C;AAAA,UAED,YACC,4CAAC,UAAK,WAAU,6FACd,uDAAC,gBAAa,OAAM,kDAAiD;AAAA;AAAA,gBAC5D,kCAAmB,WAAW,UAAU;AAAA,aACjD,GACF;AAAA,WAEJ;AAAA,SACF;AAAA,OACF,GACF;AAAA,KACF;AAEJ;AAEO,SAAS,yBAAyB;AACvC,SACE,4CAAC,SAAI,WAAU,6BACb,uDAAC,SAAI,WAAU,yDACb;AAAA,gDAAC,SAAI,WAAU,2CAA0C;AAAA,IACzD,6CAAC,SAAI,WAAU,gDACb;AAAA,kDAAC,SAAI,WAAU,6DAA4D;AAAA,MAC3E,4CAAC,SAAI,WAAU,6DAA4D;AAAA,OAC7E;AAAA,KACF,GACF;AAEJ;","names":["Link","Image"]}
@@ -0,0 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ApiCollection } from '@medialane/sdk';
3
+
4
+ interface CollectionCardProps {
5
+ collection: ApiCollection;
6
+ /** Shows settings gear icon linking to this path — used in portfolio pages */
7
+ settingsHref?: string;
8
+ className?: string;
9
+ }
10
+ declare function CollectionCard({ collection, settingsHref, className }: CollectionCardProps): react_jsx_runtime.JSX.Element;
11
+ declare function CollectionCardSkeleton(): react_jsx_runtime.JSX.Element;
12
+
13
+ export { CollectionCard, type CollectionCardProps, CollectionCardSkeleton };
@@ -0,0 +1,13 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ApiCollection } from '@medialane/sdk';
3
+
4
+ interface CollectionCardProps {
5
+ collection: ApiCollection;
6
+ /** Shows settings gear icon linking to this path — used in portfolio pages */
7
+ settingsHref?: string;
8
+ className?: string;
9
+ }
10
+ declare function CollectionCard({ collection, settingsHref, className }: CollectionCardProps): react_jsx_runtime.JSX.Element;
11
+ declare function CollectionCardSkeleton(): react_jsx_runtime.JSX.Element;
12
+
13
+ export { CollectionCard, type CollectionCardProps, CollectionCardSkeleton };
@@ -0,0 +1,89 @@
1
+ "use client";
2
+ import { jsx, jsxs } from "react/jsx-runtime";
3
+ import { useState } from "react";
4
+ import Link from "next/link";
5
+ import Image from "next/image";
6
+ import { Loader2, Settings2, CheckCircle2, HelpCircle } from "lucide-react";
7
+ import { cn } from "../utils/cn.js";
8
+ import { ipfsToHttp } from "../utils/ipfs.js";
9
+ import { formatDisplayPrice } from "../utils/format.js";
10
+ import { MotionCard } from "./motion-primitives.js";
11
+ function FloorTooltip({ children, label }) {
12
+ return /* @__PURE__ */ jsxs("span", { className: "relative inline-flex items-center gap-0.5 group/tip cursor-default", children: [
13
+ children,
14
+ /* @__PURE__ */ jsx(HelpCircle, { className: "h-2.5 w-2.5 text-white/50 group-hover/tip:text-white/80 transition-colors shrink-0" }),
15
+ /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 px-2 py-1 text-[10px] font-normal bg-popover text-popover-foreground border border-border rounded-md shadow-md whitespace-nowrap opacity-0 group-hover/tip:opacity-100 transition-opacity z-50", children: label })
16
+ ] });
17
+ }
18
+ function CollectionCard({ collection, settingsHref, className }) {
19
+ const [imgError, setImgError] = useState(false);
20
+ const imageUrl = collection.image ? ipfsToHttp(collection.image) : null;
21
+ const showImage = imageUrl && !imgError;
22
+ const initial = (collection.name ?? collection.contractAddress).charAt(0).toUpperCase();
23
+ const hasFloor = !!collection.floorPrice;
24
+ return /* @__PURE__ */ jsxs(MotionCard, { className: cn("card-base group relative", className), children: [
25
+ settingsHref && /* @__PURE__ */ jsx(
26
+ Link,
27
+ {
28
+ href: settingsHref,
29
+ onClick: (e) => e.stopPropagation(),
30
+ className: "absolute top-2 right-2 z-10 h-7 w-7 rounded-full bg-black/40 backdrop-blur-sm flex items-center justify-center text-white/70 hover:text-white hover:bg-black/60 transition-colors",
31
+ "aria-label": "Collection settings",
32
+ children: /* @__PURE__ */ jsx(Settings2, { className: "h-3.5 w-3.5" })
33
+ }
34
+ ),
35
+ /* @__PURE__ */ jsx(Link, { href: `/collections/${collection.contractAddress}`, className: "block relative h-full", children: /* @__PURE__ */ jsxs("div", { className: "relative aspect-[3/4] w-full overflow-hidden bg-muted", children: [
36
+ showImage ? /* @__PURE__ */ jsx(
37
+ Image,
38
+ {
39
+ src: imageUrl,
40
+ alt: collection.name ?? "Collection",
41
+ fill: true,
42
+ className: "object-cover transition-transform duration-500 group-hover:scale-105",
43
+ onError: () => setImgError(true),
44
+ unoptimized: true
45
+ }
46
+ ) : /* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-gradient-to-br from-brand-purple/30 via-brand-blue/20 to-brand-navy/40 flex items-center justify-center", children: /* @__PURE__ */ jsx("span", { className: "text-8xl font-black text-white/10 select-none tracking-tighter", children: initial }) }),
47
+ /* @__PURE__ */ jsxs("div", { className: "absolute bottom-0 left-0 right-0 px-2.5 pb-2.5 flex flex-col gap-1.5 items-start", children: [
48
+ !collection.name && collection.metadataStatus === "PENDING" ? /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-1 text-[10px] text-white/60 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5", children: [
49
+ /* @__PURE__ */ jsx(Loader2, { className: "h-2.5 w-2.5 animate-spin" }),
50
+ "Indexing\u2026"
51
+ ] }) : /* @__PURE__ */ jsxs(
52
+ "p",
53
+ {
54
+ className: "font-bold text-sm text-white leading-tight backdrop-blur-md bg-black/30 rounded-lg px-2.5 py-1 max-w-full truncate",
55
+ style: { textShadow: "0 1px 6px rgba(0,0,0,0.5)" },
56
+ children: [
57
+ collection.name ?? "Unnamed Collection",
58
+ collection.isKnown && /* @__PURE__ */ jsx(CheckCircle2, { className: "inline-block h-3 w-3 text-blue-400 ml-1.5 shrink-0 align-middle" })
59
+ ]
60
+ }
61
+ ),
62
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5 flex-wrap", children: [
63
+ collection.totalSupply != null && /* @__PURE__ */ jsxs("span", { className: "text-[10px] font-medium text-white/80 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5", children: [
64
+ collection.totalSupply.toLocaleString(),
65
+ " items"
66
+ ] }),
67
+ hasFloor && /* @__PURE__ */ jsx("span", { className: "text-[10px] font-bold text-white/90 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5", children: /* @__PURE__ */ jsxs(FloorTooltip, { label: "Lowest active listing price in this collection", children: [
68
+ "Floor ",
69
+ formatDisplayPrice(collection.floorPrice)
70
+ ] }) })
71
+ ] })
72
+ ] })
73
+ ] }) })
74
+ ] });
75
+ }
76
+ function CollectionCardSkeleton() {
77
+ return /* @__PURE__ */ jsx("div", { className: "card-base overflow-hidden", children: /* @__PURE__ */ jsxs("div", { className: "relative aspect-[3/4] w-full overflow-hidden bg-muted", children: [
78
+ /* @__PURE__ */ jsx("div", { className: "absolute inset-0 animate-pulse bg-muted" }),
79
+ /* @__PURE__ */ jsxs("div", { className: "absolute bottom-3 left-3 right-3 space-y-1.5", children: [
80
+ /* @__PURE__ */ jsx("div", { className: "h-4 w-2/3 rounded-md bg-muted-foreground/20 animate-pulse" }),
81
+ /* @__PURE__ */ jsx("div", { className: "h-3 w-1/3 rounded-md bg-muted-foreground/20 animate-pulse" })
82
+ ] })
83
+ ] }) });
84
+ }
85
+ export {
86
+ CollectionCard,
87
+ CollectionCardSkeleton
88
+ };
89
+ //# sourceMappingURL=collection-card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/collection-card.tsx"],"sourcesContent":["\"use client\";\n\nimport { useState } from \"react\";\nimport Link from \"next/link\";\nimport Image from \"next/image\";\nimport { Loader2, Settings2, CheckCircle2, HelpCircle } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\nimport { ipfsToHttp } from \"../utils/ipfs.js\";\nimport { formatDisplayPrice } from \"../utils/format.js\";\nimport { MotionCard } from \"./motion-primitives.js\";\nimport type { ApiCollection } from \"@medialane/sdk\";\n\n// Pure CSS tooltip — no Radix/shadcn dependency\nfunction FloorTooltip({ children, label }: { children: React.ReactNode; label: string }) {\n return (\n <span className=\"relative inline-flex items-center gap-0.5 group/tip cursor-default\">\n {children}\n <HelpCircle className=\"h-2.5 w-2.5 text-white/50 group-hover/tip:text-white/80 transition-colors shrink-0\" />\n <span className=\"pointer-events-none absolute bottom-full left-1/2 -translate-x-1/2 mb-1.5 px-2 py-1 text-[10px] font-normal bg-popover text-popover-foreground border border-border rounded-md shadow-md whitespace-nowrap opacity-0 group-hover/tip:opacity-100 transition-opacity z-50\">\n {label}\n </span>\n </span>\n );\n}\n\nexport interface CollectionCardProps {\n collection: ApiCollection;\n /** Shows settings gear icon linking to this path — used in portfolio pages */\n settingsHref?: string;\n className?: string;\n}\n\nexport function CollectionCard({ collection, settingsHref, className }: CollectionCardProps) {\n const [imgError, setImgError] = useState(false);\n const imageUrl = collection.image ? ipfsToHttp(collection.image) : null;\n const showImage = imageUrl && !imgError;\n const initial = (collection.name ?? collection.contractAddress).charAt(0).toUpperCase();\n const hasFloor = !!collection.floorPrice;\n\n return (\n <MotionCard className={cn(\"card-base group relative\", className)}>\n {settingsHref && (\n <Link\n href={settingsHref}\n onClick={(e) => e.stopPropagation()}\n className=\"absolute top-2 right-2 z-10 h-7 w-7 rounded-full bg-black/40 backdrop-blur-sm flex items-center justify-center text-white/70 hover:text-white hover:bg-black/60 transition-colors\"\n aria-label=\"Collection settings\"\n >\n <Settings2 className=\"h-3.5 w-3.5\" />\n </Link>\n )}\n\n <Link href={`/collections/${collection.contractAddress}`} className=\"block relative h-full\">\n <div className=\"relative aspect-[3/4] w-full overflow-hidden bg-muted\">\n {showImage ? (\n <Image\n src={imageUrl}\n alt={collection.name ?? \"Collection\"}\n fill\n className=\"object-cover transition-transform duration-500 group-hover:scale-105\"\n onError={() => setImgError(true)}\n unoptimized\n />\n ) : (\n <div className=\"absolute inset-0 bg-gradient-to-br from-brand-purple/30 via-brand-blue/20 to-brand-navy/40 flex items-center justify-center\">\n <span className=\"text-8xl font-black text-white/10 select-none tracking-tighter\">\n {initial}\n </span>\n </div>\n )}\n\n <div className=\"absolute bottom-0 left-0 right-0 px-2.5 pb-2.5 flex flex-col gap-1.5 items-start\">\n {!collection.name && collection.metadataStatus === \"PENDING\" ? (\n <span className=\"flex items-center gap-1 text-[10px] text-white/60 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5\">\n <Loader2 className=\"h-2.5 w-2.5 animate-spin\" />\n Indexing…\n </span>\n ) : (\n <p\n className=\"font-bold text-sm text-white leading-tight backdrop-blur-md bg-black/30 rounded-lg px-2.5 py-1 max-w-full truncate\"\n style={{ textShadow: \"0 1px 6px rgba(0,0,0,0.5)\" }}\n >\n {collection.name ?? \"Unnamed Collection\"}\n {collection.isKnown && (\n <CheckCircle2 className=\"inline-block h-3 w-3 text-blue-400 ml-1.5 shrink-0 align-middle\" />\n )}\n </p>\n )}\n\n <div className=\"flex items-center gap-1.5 flex-wrap\">\n {collection.totalSupply != null && (\n <span className=\"text-[10px] font-medium text-white/80 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5\">\n {collection.totalSupply.toLocaleString()} items\n </span>\n )}\n {hasFloor && (\n <span className=\"text-[10px] font-bold text-white/90 backdrop-blur-md bg-black/30 rounded-full px-2 py-0.5\">\n <FloorTooltip label=\"Lowest active listing price in this collection\">\n Floor {formatDisplayPrice(collection.floorPrice)}\n </FloorTooltip>\n </span>\n )}\n </div>\n </div>\n </div>\n </Link>\n </MotionCard>\n );\n}\n\nexport function CollectionCardSkeleton() {\n return (\n <div className=\"card-base overflow-hidden\">\n <div className=\"relative aspect-[3/4] w-full overflow-hidden bg-muted\">\n <div className=\"absolute inset-0 animate-pulse bg-muted\" />\n <div className=\"absolute bottom-3 left-3 right-3 space-y-1.5\">\n <div className=\"h-4 w-2/3 rounded-md bg-muted-foreground/20 animate-pulse\" />\n <div className=\"h-3 w-1/3 rounded-md bg-muted-foreground/20 animate-pulse\" />\n </div>\n </div>\n </div>\n );\n}\n"],"mappings":";AAeI,SAEE,KAFF;AAbJ,SAAS,gBAAgB;AACzB,OAAO,UAAU;AACjB,OAAO,WAAW;AAClB,SAAS,SAAS,WAAW,cAAc,kBAAkB;AAC7D,SAAS,UAAU;AACnB,SAAS,kBAAkB;AAC3B,SAAS,0BAA0B;AACnC,SAAS,kBAAkB;AAI3B,SAAS,aAAa,EAAE,UAAU,MAAM,GAAiD;AACvF,SACE,qBAAC,UAAK,WAAU,sEACb;AAAA;AAAA,IACD,oBAAC,cAAW,WAAU,sFAAqF;AAAA,IAC3G,oBAAC,UAAK,WAAU,4QACb,iBACH;AAAA,KACF;AAEJ;AASO,SAAS,eAAe,EAAE,YAAY,cAAc,UAAU,GAAwB;AAC3F,QAAM,CAAC,UAAU,WAAW,IAAI,SAAS,KAAK;AAC9C,QAAM,WAAW,WAAW,QAAQ,WAAW,WAAW,KAAK,IAAI;AACnE,QAAM,YAAY,YAAY,CAAC;AAC/B,QAAM,WAAW,WAAW,QAAQ,WAAW,iBAAiB,OAAO,CAAC,EAAE,YAAY;AACtF,QAAM,WAAW,CAAC,CAAC,WAAW;AAE9B,SACE,qBAAC,cAAW,WAAW,GAAG,4BAA4B,SAAS,GAC5D;AAAA,oBACC;AAAA,MAAC;AAAA;AAAA,QACC,MAAM;AAAA,QACN,SAAS,CAAC,MAAM,EAAE,gBAAgB;AAAA,QAClC,WAAU;AAAA,QACV,cAAW;AAAA,QAEX,8BAAC,aAAU,WAAU,eAAc;AAAA;AAAA,IACrC;AAAA,IAGF,oBAAC,QAAK,MAAM,gBAAgB,WAAW,eAAe,IAAI,WAAU,yBAClE,+BAAC,SAAI,WAAU,yDACZ;AAAA,kBACC;AAAA,QAAC;AAAA;AAAA,UACC,KAAK;AAAA,UACL,KAAK,WAAW,QAAQ;AAAA,UACxB,MAAI;AAAA,UACJ,WAAU;AAAA,UACV,SAAS,MAAM,YAAY,IAAI;AAAA,UAC/B,aAAW;AAAA;AAAA,MACb,IAEA,oBAAC,SAAI,WAAU,+HACb,8BAAC,UAAK,WAAU,kEACb,mBACH,GACF;AAAA,MAGF,qBAAC,SAAI,WAAU,oFACZ;AAAA,SAAC,WAAW,QAAQ,WAAW,mBAAmB,YACjD,qBAAC,UAAK,WAAU,2GACd;AAAA,8BAAC,WAAQ,WAAU,4BAA2B;AAAA,UAAE;AAAA,WAElD,IAEA;AAAA,UAAC;AAAA;AAAA,YACC,WAAU;AAAA,YACV,OAAO,EAAE,YAAY,4BAA4B;AAAA,YAEhD;AAAA,yBAAW,QAAQ;AAAA,cACnB,WAAW,WACV,oBAAC,gBAAa,WAAU,mEAAkE;AAAA;AAAA;AAAA,QAE9F;AAAA,QAGF,qBAAC,SAAI,WAAU,uCACZ;AAAA,qBAAW,eAAe,QACzB,qBAAC,UAAK,WAAU,+FACb;AAAA,uBAAW,YAAY,eAAe;AAAA,YAAE;AAAA,aAC3C;AAAA,UAED,YACC,oBAAC,UAAK,WAAU,6FACd,+BAAC,gBAAa,OAAM,kDAAiD;AAAA;AAAA,YAC5D,mBAAmB,WAAW,UAAU;AAAA,aACjD,GACF;AAAA,WAEJ;AAAA,SACF;AAAA,OACF,GACF;AAAA,KACF;AAEJ;AAEO,SAAS,yBAAyB;AACvC,SACE,oBAAC,SAAI,WAAU,6BACb,+BAAC,SAAI,WAAU,yDACb;AAAA,wBAAC,SAAI,WAAU,2CAA0C;AAAA,IACzD,qBAAC,SAAI,WAAU,gDACb;AAAA,0BAAC,SAAI,WAAU,6DAA4D;AAAA,MAC3E,oBAAC,SAAI,WAAU,6DAA4D;AAAA,OAC7E;AAAA,KACF,GACF;AAEJ;","names":[]}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __create = Object.create;
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __export = (target, all) => {
9
+ for (var name in all)
10
+ __defProp(target, name, { get: all[name], enumerable: true });
11
+ };
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
17
+ }
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
26
+ mod
27
+ ));
28
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
29
+ var cta_card_grid_exports = {};
30
+ __export(cta_card_grid_exports, {
31
+ CtaCardGrid: () => CtaCardGrid
32
+ });
33
+ module.exports = __toCommonJS(cta_card_grid_exports);
34
+ var import_jsx_runtime = require("react/jsx-runtime");
35
+ var import_link = __toESM(require("next/link"), 1);
36
+ var import_lucide_react = require("lucide-react");
37
+ var import_cn = require("../utils/cn.js");
38
+ function CtaCard({ icon: Icon, title, description, links, href, gradient, iconGradient }) {
39
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "bento-cell p-6 sm:p-8 flex flex-col gap-6 relative overflow-hidden group hover:border-border/80 transition-colors", children: [
40
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: `absolute inset-0 opacity-[0.03] group-hover:opacity-[0.06] transition-opacity ${gradient} pointer-events-none` }),
41
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative z-10 space-y-3", children: [
42
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: (0, import_cn.cn)("h-11 w-11 rounded-2xl flex items-center justify-center shadow-lg", iconGradient), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { className: "h-5 w-5 text-white" }) }),
43
+ /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { children: [
44
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { className: "text-xl font-black", children: title }),
45
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-sm text-muted-foreground leading-relaxed mt-1", children: description })
46
+ ] })
47
+ ] }),
48
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { className: "relative z-10 space-y-2", children: links.map((link) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_link.default, { href: link.href, className: "flex items-center gap-2.5 text-sm text-muted-foreground hover:text-foreground transition-colors group/link", children: [
49
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ArrowRight, { className: "h-3.5 w-3.5 text-primary opacity-0 group-hover/link:opacity-100 transition-opacity shrink-0 -ml-0.5" }),
50
+ link.label
51
+ ] }) }, link.href)) }),
52
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "relative z-10 mt-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_link.default, { href, className: "inline-flex items-center gap-1.5 text-sm border border-border rounded-md px-3 py-1.5 hover:border-primary/40 transition-colors group-hover:border-primary/40", children: [
53
+ "Explore ",
54
+ title,
55
+ " ",
56
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ArrowRight, { className: "h-3.5 w-3.5 ml-1.5" })
57
+ ] }) })
58
+ ] });
59
+ }
60
+ function CtaCardGrid({ cards }) {
61
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", { className: "space-y-5", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: cards.map((card) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CtaCard, { ...card }, card.title)) }) });
62
+ }
63
+ // Annotate the CommonJS export names for ESM import in node:
64
+ 0 && (module.exports = {
65
+ CtaCardGrid
66
+ });
67
+ //# sourceMappingURL=cta-card-grid.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/cta-card-grid.tsx"],"sourcesContent":["import type { ElementType } from \"react\";\nimport Link from \"next/link\";\nimport { ArrowRight } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\n\nexport interface CtaCardItem {\n icon: ElementType;\n title: string;\n description: string;\n links: { label: string; href: string }[];\n href: string;\n /** Tailwind gradient class applied as a 3% opacity hover overlay */\n gradient: string;\n /** Tailwind gradient + shadow class for the icon pill */\n iconGradient: string;\n}\n\nexport interface CtaCardGridProps {\n cards: CtaCardItem[];\n}\n\nfunction CtaCard({ icon: Icon, title, description, links, href, gradient, iconGradient }: CtaCardItem) {\n return (\n <div className=\"bento-cell p-6 sm:p-8 flex flex-col gap-6 relative overflow-hidden group hover:border-border/80 transition-colors\">\n <div className={`absolute inset-0 opacity-[0.03] group-hover:opacity-[0.06] transition-opacity ${gradient} pointer-events-none`} />\n\n <div className=\"relative z-10 space-y-3\">\n <div className={cn(\"h-11 w-11 rounded-2xl flex items-center justify-center shadow-lg\", iconGradient)}>\n <Icon className=\"h-5 w-5 text-white\" />\n </div>\n <div>\n <h3 className=\"text-xl font-black\">{title}</h3>\n <p className=\"text-sm text-muted-foreground leading-relaxed mt-1\">{description}</p>\n </div>\n </div>\n\n <ul className=\"relative z-10 space-y-2\">\n {links.map((link) => (\n <li key={link.href}>\n <Link href={link.href} className=\"flex items-center gap-2.5 text-sm text-muted-foreground hover:text-foreground transition-colors group/link\">\n <ArrowRight className=\"h-3.5 w-3.5 text-primary opacity-0 group-hover/link:opacity-100 transition-opacity shrink-0 -ml-0.5\" />\n {link.label}\n </Link>\n </li>\n ))}\n </ul>\n\n <div className=\"relative z-10 mt-auto\">\n <Link href={href} className=\"inline-flex items-center gap-1.5 text-sm border border-border rounded-md px-3 py-1.5 hover:border-primary/40 transition-colors group-hover:border-primary/40\">\n Explore {title} <ArrowRight className=\"h-3.5 w-3.5 ml-1.5\" />\n </Link>\n </div>\n </div>\n );\n}\n\nexport function CtaCardGrid({ cards }: CtaCardGridProps) {\n return (\n <section className=\"space-y-5\">\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n {cards.map((card) => (\n <CtaCard key={card.title} {...card} />\n ))}\n </div>\n </section>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAwBM;AAvBN,kBAAiB;AACjB,0BAA2B;AAC3B,gBAAmB;AAkBnB,SAAS,QAAQ,EAAE,MAAM,MAAM,OAAO,aAAa,OAAO,MAAM,UAAU,aAAa,GAAgB;AACrG,SACE,6CAAC,SAAI,WAAU,qHACb;AAAA,gDAAC,SAAI,WAAW,iFAAiF,QAAQ,wBAAwB;AAAA,IAEjI,6CAAC,SAAI,WAAU,2BACb;AAAA,kDAAC,SAAI,eAAW,cAAG,oEAAoE,YAAY,GACjG,sDAAC,QAAK,WAAU,sBAAqB,GACvC;AAAA,MACA,6CAAC,SACC;AAAA,oDAAC,QAAG,WAAU,sBAAsB,iBAAM;AAAA,QAC1C,4CAAC,OAAE,WAAU,sDAAsD,uBAAY;AAAA,SACjF;AAAA,OACF;AAAA,IAEA,4CAAC,QAAG,WAAU,2BACX,gBAAM,IAAI,CAAC,SACV,4CAAC,QACC,uDAAC,YAAAA,SAAA,EAAK,MAAM,KAAK,MAAM,WAAU,8GAC/B;AAAA,kDAAC,kCAAW,WAAU,uGAAsG;AAAA,MAC3H,KAAK;AAAA,OACR,KAJO,KAAK,IAKd,CACD,GACH;AAAA,IAEA,4CAAC,SAAI,WAAU,yBACb,uDAAC,YAAAA,SAAA,EAAK,MAAY,WAAU,gKAA+J;AAAA;AAAA,MAChL;AAAA,MAAM;AAAA,MAAC,4CAAC,kCAAW,WAAU,sBAAqB;AAAA,OAC7D,GACF;AAAA,KACF;AAEJ;AAEO,SAAS,YAAY,EAAE,MAAM,GAAqB;AACvD,SACE,4CAAC,aAAQ,WAAU,aACjB,sDAAC,SAAI,WAAU,yCACZ,gBAAM,IAAI,CAAC,SACV,4CAAC,WAA0B,GAAG,QAAhB,KAAK,KAAiB,CACrC,GACH,GACF;AAEJ;","names":["Link"]}
@@ -0,0 +1,23 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ElementType } from 'react';
3
+
4
+ interface CtaCardItem {
5
+ icon: ElementType;
6
+ title: string;
7
+ description: string;
8
+ links: {
9
+ label: string;
10
+ href: string;
11
+ }[];
12
+ href: string;
13
+ /** Tailwind gradient class applied as a 3% opacity hover overlay */
14
+ gradient: string;
15
+ /** Tailwind gradient + shadow class for the icon pill */
16
+ iconGradient: string;
17
+ }
18
+ interface CtaCardGridProps {
19
+ cards: CtaCardItem[];
20
+ }
21
+ declare function CtaCardGrid({ cards }: CtaCardGridProps): react_jsx_runtime.JSX.Element;
22
+
23
+ export { CtaCardGrid, type CtaCardGridProps, type CtaCardItem };
@@ -0,0 +1,23 @@
1
+ import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { ElementType } from 'react';
3
+
4
+ interface CtaCardItem {
5
+ icon: ElementType;
6
+ title: string;
7
+ description: string;
8
+ links: {
9
+ label: string;
10
+ href: string;
11
+ }[];
12
+ href: string;
13
+ /** Tailwind gradient class applied as a 3% opacity hover overlay */
14
+ gradient: string;
15
+ /** Tailwind gradient + shadow class for the icon pill */
16
+ iconGradient: string;
17
+ }
18
+ interface CtaCardGridProps {
19
+ cards: CtaCardItem[];
20
+ }
21
+ declare function CtaCardGrid({ cards }: CtaCardGridProps): react_jsx_runtime.JSX.Element;
22
+
23
+ export { CtaCardGrid, type CtaCardGridProps, type CtaCardItem };
@@ -0,0 +1,33 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import Link from "next/link";
3
+ import { ArrowRight } from "lucide-react";
4
+ import { cn } from "../utils/cn.js";
5
+ function CtaCard({ icon: Icon, title, description, links, href, gradient, iconGradient }) {
6
+ return /* @__PURE__ */ jsxs("div", { className: "bento-cell p-6 sm:p-8 flex flex-col gap-6 relative overflow-hidden group hover:border-border/80 transition-colors", children: [
7
+ /* @__PURE__ */ jsx("div", { className: `absolute inset-0 opacity-[0.03] group-hover:opacity-[0.06] transition-opacity ${gradient} pointer-events-none` }),
8
+ /* @__PURE__ */ jsxs("div", { className: "relative z-10 space-y-3", children: [
9
+ /* @__PURE__ */ jsx("div", { className: cn("h-11 w-11 rounded-2xl flex items-center justify-center shadow-lg", iconGradient), children: /* @__PURE__ */ jsx(Icon, { className: "h-5 w-5 text-white" }) }),
10
+ /* @__PURE__ */ jsxs("div", { children: [
11
+ /* @__PURE__ */ jsx("h3", { className: "text-xl font-black", children: title }),
12
+ /* @__PURE__ */ jsx("p", { className: "text-sm text-muted-foreground leading-relaxed mt-1", children: description })
13
+ ] })
14
+ ] }),
15
+ /* @__PURE__ */ jsx("ul", { className: "relative z-10 space-y-2", children: links.map((link) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsxs(Link, { href: link.href, className: "flex items-center gap-2.5 text-sm text-muted-foreground hover:text-foreground transition-colors group/link", children: [
16
+ /* @__PURE__ */ jsx(ArrowRight, { className: "h-3.5 w-3.5 text-primary opacity-0 group-hover/link:opacity-100 transition-opacity shrink-0 -ml-0.5" }),
17
+ link.label
18
+ ] }) }, link.href)) }),
19
+ /* @__PURE__ */ jsx("div", { className: "relative z-10 mt-auto", children: /* @__PURE__ */ jsxs(Link, { href, className: "inline-flex items-center gap-1.5 text-sm border border-border rounded-md px-3 py-1.5 hover:border-primary/40 transition-colors group-hover:border-primary/40", children: [
20
+ "Explore ",
21
+ title,
22
+ " ",
23
+ /* @__PURE__ */ jsx(ArrowRight, { className: "h-3.5 w-3.5 ml-1.5" })
24
+ ] }) })
25
+ ] });
26
+ }
27
+ function CtaCardGrid({ cards }) {
28
+ return /* @__PURE__ */ jsx("section", { className: "space-y-5", children: /* @__PURE__ */ jsx("div", { className: "grid grid-cols-1 sm:grid-cols-2 gap-4", children: cards.map((card) => /* @__PURE__ */ jsx(CtaCard, { ...card }, card.title)) }) });
29
+ }
30
+ export {
31
+ CtaCardGrid
32
+ };
33
+ //# sourceMappingURL=cta-card-grid.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/components/cta-card-grid.tsx"],"sourcesContent":["import type { ElementType } from \"react\";\nimport Link from \"next/link\";\nimport { ArrowRight } from \"lucide-react\";\nimport { cn } from \"../utils/cn.js\";\n\nexport interface CtaCardItem {\n icon: ElementType;\n title: string;\n description: string;\n links: { label: string; href: string }[];\n href: string;\n /** Tailwind gradient class applied as a 3% opacity hover overlay */\n gradient: string;\n /** Tailwind gradient + shadow class for the icon pill */\n iconGradient: string;\n}\n\nexport interface CtaCardGridProps {\n cards: CtaCardItem[];\n}\n\nfunction CtaCard({ icon: Icon, title, description, links, href, gradient, iconGradient }: CtaCardItem) {\n return (\n <div className=\"bento-cell p-6 sm:p-8 flex flex-col gap-6 relative overflow-hidden group hover:border-border/80 transition-colors\">\n <div className={`absolute inset-0 opacity-[0.03] group-hover:opacity-[0.06] transition-opacity ${gradient} pointer-events-none`} />\n\n <div className=\"relative z-10 space-y-3\">\n <div className={cn(\"h-11 w-11 rounded-2xl flex items-center justify-center shadow-lg\", iconGradient)}>\n <Icon className=\"h-5 w-5 text-white\" />\n </div>\n <div>\n <h3 className=\"text-xl font-black\">{title}</h3>\n <p className=\"text-sm text-muted-foreground leading-relaxed mt-1\">{description}</p>\n </div>\n </div>\n\n <ul className=\"relative z-10 space-y-2\">\n {links.map((link) => (\n <li key={link.href}>\n <Link href={link.href} className=\"flex items-center gap-2.5 text-sm text-muted-foreground hover:text-foreground transition-colors group/link\">\n <ArrowRight className=\"h-3.5 w-3.5 text-primary opacity-0 group-hover/link:opacity-100 transition-opacity shrink-0 -ml-0.5\" />\n {link.label}\n </Link>\n </li>\n ))}\n </ul>\n\n <div className=\"relative z-10 mt-auto\">\n <Link href={href} className=\"inline-flex items-center gap-1.5 text-sm border border-border rounded-md px-3 py-1.5 hover:border-primary/40 transition-colors group-hover:border-primary/40\">\n Explore {title} <ArrowRight className=\"h-3.5 w-3.5 ml-1.5\" />\n </Link>\n </div>\n </div>\n );\n}\n\nexport function CtaCardGrid({ cards }: CtaCardGridProps) {\n return (\n <section className=\"space-y-5\">\n <div className=\"grid grid-cols-1 sm:grid-cols-2 gap-4\">\n {cards.map((card) => (\n <CtaCard key={card.title} {...card} />\n ))}\n </div>\n </section>\n );\n}\n"],"mappings":"AAwBM,cAME,YANF;AAvBN,OAAO,UAAU;AACjB,SAAS,kBAAkB;AAC3B,SAAS,UAAU;AAkBnB,SAAS,QAAQ,EAAE,MAAM,MAAM,OAAO,aAAa,OAAO,MAAM,UAAU,aAAa,GAAgB;AACrG,SACE,qBAAC,SAAI,WAAU,qHACb;AAAA,wBAAC,SAAI,WAAW,iFAAiF,QAAQ,wBAAwB;AAAA,IAEjI,qBAAC,SAAI,WAAU,2BACb;AAAA,0BAAC,SAAI,WAAW,GAAG,oEAAoE,YAAY,GACjG,8BAAC,QAAK,WAAU,sBAAqB,GACvC;AAAA,MACA,qBAAC,SACC;AAAA,4BAAC,QAAG,WAAU,sBAAsB,iBAAM;AAAA,QAC1C,oBAAC,OAAE,WAAU,sDAAsD,uBAAY;AAAA,SACjF;AAAA,OACF;AAAA,IAEA,oBAAC,QAAG,WAAU,2BACX,gBAAM,IAAI,CAAC,SACV,oBAAC,QACC,+BAAC,QAAK,MAAM,KAAK,MAAM,WAAU,8GAC/B;AAAA,0BAAC,cAAW,WAAU,uGAAsG;AAAA,MAC3H,KAAK;AAAA,OACR,KAJO,KAAK,IAKd,CACD,GACH;AAAA,IAEA,oBAAC,SAAI,WAAU,yBACb,+BAAC,QAAK,MAAY,WAAU,gKAA+J;AAAA;AAAA,MAChL;AAAA,MAAM;AAAA,MAAC,oBAAC,cAAW,WAAU,sBAAqB;AAAA,OAC7D,GACF;AAAA,KACF;AAEJ;AAEO,SAAS,YAAY,EAAE,MAAM,GAAqB;AACvD,SACE,oBAAC,aAAQ,WAAU,aACjB,8BAAC,SAAI,WAAU,yCACZ,gBAAM,IAAI,CAAC,SACV,oBAAC,WAA0B,GAAG,QAAhB,KAAK,KAAiB,CACrC,GACH,GACF;AAEJ;","names":[]}