@vantageos/mosaic-blocks 0.3.2-alpha → 0.3.3-alpha

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -46,7 +46,7 @@ function _interopNamespace(e) {
46
46
  var React27__namespace = /*#__PURE__*/_interopNamespace(React27);
47
47
 
48
48
  // src/version.ts
49
- var version = "0.3.2-alpha";
49
+ var version = "0.3.3-alpha";
50
50
  function Placeholder({ label = "mosaic-blocks placeholder" }) {
51
51
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-mosaic-block": "placeholder", children: label });
52
52
  }
@@ -103,9 +103,70 @@ function MosaicButton({ className, variant, size, ref, ...props }) {
103
103
  );
104
104
  }
105
105
  MosaicButton.displayName = "MosaicButton";
106
+ var skeletonVariants = classVarianceAuthority.cva(
107
+ // Base: animate-pulse + muted background token
108
+ ["animate-pulse", "bg-muted"],
109
+ {
110
+ variants: {
111
+ variant: {
112
+ /** Rounded block — generic rectangular placeholder (cards, images, sections) */
113
+ default: "rounded-md",
114
+ /** Text line — h-4 rounded, for single/multi-line text placeholders */
115
+ text: "h-4 rounded",
116
+ /** Circle — rounded-full aspect-square, for avatars and icons */
117
+ circle: "rounded-full aspect-square",
118
+ /** Button-shaped — h-9 rounded-md, mirrors MosaicButton default size */
119
+ button: "h-9 rounded-md"
120
+ }
121
+ },
122
+ defaultVariants: {
123
+ variant: "default"
124
+ }
125
+ }
126
+ );
106
127
  function cn2(...classes) {
107
128
  return classes.filter(Boolean).join(" ");
108
129
  }
130
+ function MosaicSkeleton({
131
+ className,
132
+ variant,
133
+ lines = 1,
134
+ ref,
135
+ ...props
136
+ }) {
137
+ if (variant === "text" && lines > 1) {
138
+ const lineKeys = Array.from({ length: lines }, (_, i) => `line-${lines}-${i}`);
139
+ return /* @__PURE__ */ jsxRuntime.jsx(
140
+ "div",
141
+ {
142
+ ref,
143
+ "data-slot": "skeleton",
144
+ className: cn2("flex flex-col gap-2", className),
145
+ ...props,
146
+ children: lineKeys.map((key, i) => /* @__PURE__ */ jsxRuntime.jsx(
147
+ "div",
148
+ {
149
+ className: cn2(skeletonVariants({ variant }), i === lines - 1 && "w-[60%]")
150
+ },
151
+ key
152
+ ))
153
+ }
154
+ );
155
+ }
156
+ return /* @__PURE__ */ jsxRuntime.jsx(
157
+ "div",
158
+ {
159
+ ref,
160
+ "data-slot": "skeleton",
161
+ className: cn2(skeletonVariants({ variant }), className),
162
+ ...props
163
+ }
164
+ );
165
+ }
166
+ MosaicSkeleton.displayName = "MosaicSkeleton";
167
+ function cn3(...classes) {
168
+ return classes.filter(Boolean).join(" ");
169
+ }
109
170
  function MosaicNavbar({ logo, links, cta, className, ref }) {
110
171
  const [isScrolled, setIsScrolled] = React27__namespace.useState(false);
111
172
  const [isHidden, setIsHidden] = React27__namespace.useState(false);
@@ -137,7 +198,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
137
198
  {
138
199
  ref,
139
200
  "aria-label": "Main navigation",
140
- className: cn2(
201
+ className: cn3(
141
202
  "fixed left-0 right-0 top-0 z-50 px-4 pt-4 mx-auto w-full max-w-6xl transition-all duration-300 ease-out",
142
203
  isHidden ? "opacity-0 -translate-y-5 pointer-events-none" : "opacity-100 translate-y-0",
143
204
  className
@@ -145,7 +206,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
145
206
  children: /* @__PURE__ */ jsxRuntime.jsxs(
146
207
  "div",
147
208
  {
148
- className: cn2(
209
+ className: cn3(
149
210
  "relative mx-auto transition-transform duration-200",
150
211
  isScrolled ? "scale-[0.98]" : "scale-100"
151
212
  ),
@@ -153,7 +214,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
153
214
  /* @__PURE__ */ jsxRuntime.jsxs(
154
215
  "div",
155
216
  {
156
- className: cn2(
217
+ className: cn3(
157
218
  "flex flex-row items-center justify-between gap-4 rounded-full border border-[oklch(0.9_0.005_250)] p-2 transition-all duration-300",
158
219
  isScrolled ? "bg-[oklch(1_0_0_/_0.8)] backdrop-blur-[12px] shadow-[0_4px_20px_-5px_oklch(0_0_0_/_0.1)]" : "bg-[oklch(1_0_0)]"
159
220
  ),
@@ -248,7 +309,7 @@ function MosaicNavbar({ logo, links, cta, className, ref }) {
248
309
  );
249
310
  }
250
311
  MosaicNavbar.displayName = "MosaicNavbar";
251
- function cn3(...classes) {
312
+ function cn4(...classes) {
252
313
  return classes.filter(Boolean).join(" ");
253
314
  }
254
315
  function MosaicHeroSplit({
@@ -265,7 +326,7 @@ function MosaicHeroSplit({
265
326
  "section",
266
327
  {
267
328
  ref,
268
- className: cn3(
329
+ className: cn4(
269
330
  "flex flex-col gap-16 items-center justify-center py-8 lg:pt-16 px-4",
270
331
  className
271
332
  ),
@@ -299,7 +360,7 @@ function MosaicHeroSplit({
299
360
  );
300
361
  }
301
362
  MosaicHeroSplit.displayName = "MosaicHeroSplit";
302
- function cn4(...classes) {
363
+ function cn5(...classes) {
303
364
  return classes.filter(Boolean).join(" ");
304
365
  }
305
366
  function MosaicFeatureCenteredMedia({
@@ -310,7 +371,7 @@ function MosaicFeatureCenteredMedia({
310
371
  className,
311
372
  ref
312
373
  }) {
313
- return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn4("relative mx-auto w-full max-w-6xl px-4 py-16", className), children: [
374
+ return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn5("relative mx-auto w-full max-w-6xl px-4 py-16", className), children: [
314
375
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-12 text-center lg:mb-16", children: [
315
376
  /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-3xl font-medium tracking-tight text-[oklch(0.12_0.01_250)] sm:text-4xl", children: title }),
316
377
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-4 text-sm text-[oklch(0.5_0.01_250)] sm:text-base max-w-xl mx-auto", children: body })
@@ -323,11 +384,11 @@ function MosaicFeatureCenteredMedia({
323
384
  ] });
324
385
  }
325
386
  MosaicFeatureCenteredMedia.displayName = "MosaicFeatureCenteredMedia";
326
- function cn5(...classes) {
387
+ function cn6(...classes) {
327
388
  return classes.filter(Boolean).join(" ");
328
389
  }
329
390
  function MosaicStatsGrid({ stats, heading, subtext, className, ref }) {
330
- return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn5("w-full py-16", className), children: [
391
+ return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn6("w-full py-16", className), children: [
331
392
  (heading ?? subtext) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-16 flex flex-col items-center gap-3 px-4 text-center", children: [
332
393
  heading && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-3xl font-medium tracking-tight text-[oklch(0.12_0.01_250)] sm:text-4xl", children: heading }),
333
394
  subtext && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "max-w-md text-sm text-[oklch(0.5_0.01_250)] sm:text-base", children: subtext })
@@ -355,7 +416,7 @@ function MosaicStatsGrid({ stats, heading, subtext, className, ref }) {
355
416
  ] });
356
417
  }
357
418
  MosaicStatsGrid.displayName = "MosaicStatsGrid";
358
- function cn6(...classes) {
419
+ function cn7(...classes) {
359
420
  return classes.filter(Boolean).join(" ");
360
421
  }
361
422
  function MosaicPricingCard({
@@ -371,7 +432,7 @@ function MosaicPricingCard({
371
432
  "div",
372
433
  {
373
434
  ref,
374
- className: cn6(
435
+ className: cn7(
375
436
  "flex min-w-72 flex-col gap-6 rounded-2xl border p-8",
376
437
  highlighted ? "border-[oklch(0.6_0.15_250_/_0.5)] bg-[oklch(0.97_0.02_250)]" : "border-[oklch(0.9_0.005_250)] bg-[oklch(1_0_0)]",
377
438
  className
@@ -380,7 +441,7 @@ function MosaicPricingCard({
380
441
  /* @__PURE__ */ jsxRuntime.jsx(
381
442
  "span",
382
443
  {
383
- className: cn6(
444
+ className: cn7(
384
445
  "inline-flex w-fit items-center rounded-sm border px-2.5 py-0.5 text-xs font-semibold",
385
446
  highlighted ? "border-transparent bg-[oklch(0.15_0.01_250)] text-[oklch(0.98_0_0)]" : "border-[oklch(0.85_0.01_250)] bg-[oklch(1_0_0)] text-[oklch(0.2_0.01_250)]"
386
447
  ),
@@ -392,7 +453,7 @@ function MosaicPricingCard({
392
453
  "a",
393
454
  {
394
455
  href: cta.href,
395
- className: cn6(
456
+ className: cn7(
396
457
  "inline-flex w-full items-center justify-center rounded-lg px-4 py-2.5 text-sm font-medium transition-colors",
397
458
  highlighted ? "bg-[oklch(0.15_0.01_250)] text-[oklch(0.98_0_0)] hover:bg-[oklch(0.25_0.01_250)]" : "border border-[oklch(0.75_0.01_250)] bg-transparent text-[oklch(0.15_0.01_250)] hover:bg-[oklch(0.96_0.005_250)]"
398
459
  ),
@@ -424,7 +485,7 @@ function MosaicPricingCard({
424
485
  );
425
486
  }
426
487
  MosaicPricingCard.displayName = "MosaicPricingCard";
427
- function cn7(...classes) {
488
+ function cn8(...classes) {
428
489
  return classes.filter(Boolean).join(" ");
429
490
  }
430
491
  function prefersReducedMotion() {
@@ -439,7 +500,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
439
500
  "section",
440
501
  {
441
502
  ref,
442
- className: cn7(
503
+ className: cn8(
443
504
  "flex flex-col items-center justify-center gap-8 px-4 py-12 mx-auto max-w-6xl",
444
505
  className
445
506
  ),
@@ -450,7 +511,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
450
511
  "div",
451
512
  {
452
513
  "data-slot": "logos-grid-item",
453
- className: cn7(
514
+ className: cn8(
454
515
  "transition-transform duration-200 hover:scale-110",
455
516
  isStagger && !reducedMotion && "mosaic-logo-stagger"
456
517
  ),
@@ -478,7 +539,7 @@ function MosaicLogosGrid({ logos, heading, stagger, className, ref }) {
478
539
  );
479
540
  }
480
541
  MosaicLogosGrid.displayName = "MosaicLogosGrid";
481
- function cn8(...classes) {
542
+ function cn9(...classes) {
482
543
  return classes.filter(Boolean).join(" ");
483
544
  }
484
545
  function getInitials(name) {
@@ -488,7 +549,7 @@ function TestimonialCard({ item, featured = false }) {
488
549
  return /* @__PURE__ */ jsxRuntime.jsxs(
489
550
  "article",
490
551
  {
491
- className: cn8(
552
+ className: cn9(
492
553
  "flex flex-col gap-4 rounded-xl border border-[oklch(0.9_0.005_250)] bg-[oklch(1_0_0)] p-6",
493
554
  featured && "h-full"
494
555
  ),
@@ -538,7 +599,7 @@ function MosaicTestimonialsGrid({
538
599
  ref
539
600
  }) {
540
601
  const [featured, ...rest] = testimonials;
541
- return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn8("px-4 py-16 mx-auto max-w-6xl", className), children: [
602
+ return /* @__PURE__ */ jsxRuntime.jsxs("section", { ref, className: cn9("px-4 py-16 mx-auto max-w-6xl", className), children: [
542
603
  heading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-12 text-center", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-2xl font-normal tracking-tight text-[oklch(0.12_0.01_250)] md:text-4xl", children: heading }) }),
543
604
  testimonials.length === 0 ? null : testimonials.length === 1 ? /* @__PURE__ */ jsxRuntime.jsx(TestimonialCard, { item: featured }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-6 md:grid-cols-6", children: [
544
605
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "md:col-span-3 h-full", children: /* @__PURE__ */ jsxRuntime.jsx(TestimonialCard, { item: featured, featured: true }) }),
@@ -547,7 +608,7 @@ function MosaicTestimonialsGrid({
547
608
  ] });
548
609
  }
549
610
  MosaicTestimonialsGrid.displayName = "MosaicTestimonialsGrid";
550
- function cn9(...classes) {
611
+ function cn10(...classes) {
551
612
  return classes.filter(Boolean).join(" ");
552
613
  }
553
614
  function MosaicFooterSimple({
@@ -562,7 +623,7 @@ function MosaicFooterSimple({
562
623
  "footer",
563
624
  {
564
625
  ref,
565
- className: cn9(
626
+ className: cn10(
566
627
  "flex flex-col items-center gap-10 px-4 py-16 border-t border-[oklch(0.9_0.005_250)]",
567
628
  className
568
629
  ),
@@ -606,7 +667,7 @@ function MosaicFooterSimple({
606
667
  );
607
668
  }
608
669
  MosaicFooterSimple.displayName = "MosaicFooterSimple";
609
- function cn10(...classes) {
670
+ function cn11(...classes) {
610
671
  return classes.filter(Boolean).join(" ");
611
672
  }
612
673
  function MosaicFeature3Col({
@@ -621,7 +682,7 @@ function MosaicFeature3Col({
621
682
  {
622
683
  ref,
623
684
  "data-slot": "feature-3col",
624
- className: cn10("mx-auto w-full max-w-6xl px-4 py-16", className),
685
+ className: cn11("mx-auto w-full max-w-6xl px-4 py-16", className),
625
686
  children: [
626
687
  (heading || subtext) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-12 text-center", children: [
627
688
  heading && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-3xl font-medium tracking-tight text-foreground sm:text-4xl", children: heading }),
@@ -697,7 +758,7 @@ function MosaicCounter({
697
758
  );
698
759
  }
699
760
  MosaicCounter.displayName = "MosaicCounter";
700
- function cn11(...classes) {
761
+ function cn12(...classes) {
701
762
  return classes.filter(Boolean).join(" ");
702
763
  }
703
764
  function getSystemTheme() {
@@ -740,7 +801,7 @@ function MosaicThemeToggle({
740
801
  "aria-label": ariaLabel,
741
802
  "aria-pressed": isDark,
742
803
  onClick: handleToggle,
743
- className: cn11(
804
+ className: cn12(
744
805
  "inline-flex size-9 items-center justify-center rounded-full border border-[oklch(0.9_0.005_250)] bg-[oklch(var(--mosaic-surface,1_0_0))] transition-colors hover:bg-[oklch(0.95_0.005_250)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-[oklch(0.5_0.15_250)]",
745
806
  className
746
807
  ),
@@ -871,7 +932,7 @@ function MosaicAnimatedList({
871
932
  );
872
933
  }
873
934
  MosaicAnimatedList.displayName = "MosaicAnimatedList";
874
- function cn12(...classes) {
935
+ function cn13(...classes) {
875
936
  return classes.filter(Boolean).join(" ");
876
937
  }
877
938
  var badgeClass = "inline-flex items-center gap-2 rounded-full border border-[oklch(0.88_0.01_250)] bg-[oklch(0.98_0.005_250)] px-3 py-1.5 text-sm font-medium text-[oklch(0.25_0.01_250)] shadow-[0_1px_3px_oklch(0_0_0_/_0.06)] transition-colors";
@@ -896,12 +957,12 @@ function MosaicIntegrationsBadge({
896
957
  href,
897
958
  target,
898
959
  rel: target === "_blank" ? "noopener noreferrer" : void 0,
899
- className: cn12(badgeClass, hoverClass, className),
960
+ className: cn13(badgeClass, hoverClass, className),
900
961
  children: inner
901
962
  }
902
963
  );
903
964
  }
904
- return /* @__PURE__ */ jsxRuntime.jsx("span", { ref, className: cn12(badgeClass, className), children: inner });
965
+ return /* @__PURE__ */ jsxRuntime.jsx("span", { ref, className: cn13(badgeClass, className), children: inner });
905
966
  }
906
967
  MosaicIntegrationsBadge.displayName = "MosaicIntegrationsBadge";
907
968
  var PATTERN_ANIM_ID = "mosaic-falling-pattern-kf";
@@ -1017,7 +1078,7 @@ function useMediaQuery(query) {
1017
1078
  }, [query]);
1018
1079
  return matches;
1019
1080
  }
1020
- function cn13(...classes) {
1081
+ function cn14(...classes) {
1021
1082
  return classes.filter(Boolean).join(" ");
1022
1083
  }
1023
1084
  function MosaicEmptyState({
@@ -1033,7 +1094,7 @@ function MosaicEmptyState({
1033
1094
  {
1034
1095
  ref,
1035
1096
  "data-slot": "empty-state",
1036
- className: cn13(
1097
+ className: cn14(
1037
1098
  "flex flex-col items-center justify-center gap-4 px-4 py-12 text-center",
1038
1099
  className
1039
1100
  ),
@@ -1056,7 +1117,7 @@ function MosaicEmptyState({
1056
1117
  );
1057
1118
  }
1058
1119
  MosaicEmptyState.displayName = "MosaicEmptyState";
1059
- function cn14(...classes) {
1120
+ function cn15(...classes) {
1060
1121
  return classes.filter(Boolean).join(" ");
1061
1122
  }
1062
1123
  function MosaicAccordion({ className, ref, ...props }) {
@@ -1065,7 +1126,7 @@ function MosaicAccordion({ className, ref, ...props }) {
1065
1126
  {
1066
1127
  ref,
1067
1128
  "data-slot": "accordion",
1068
- className: cn14("w-full divide-y divide-border", className),
1129
+ className: cn15("w-full divide-y divide-border", className),
1069
1130
  ...props
1070
1131
  }
1071
1132
  );
@@ -1077,7 +1138,7 @@ function MosaicAccordionItem({ className, ref, ...props }) {
1077
1138
  {
1078
1139
  ref,
1079
1140
  "data-slot": "accordion-item",
1080
- className: cn14("py-0", className),
1141
+ className: cn15("py-0", className),
1081
1142
  ...props
1082
1143
  }
1083
1144
  );
@@ -1094,7 +1155,7 @@ function MosaicAccordionTrigger({
1094
1155
  {
1095
1156
  ref,
1096
1157
  "data-slot": "accordion-trigger",
1097
- className: cn14(
1158
+ className: cn15(
1098
1159
  "flex w-full flex-1 items-center justify-between py-4",
1099
1160
  "text-sm font-medium text-foreground",
1100
1161
  "outline-none transition-all",
@@ -1134,13 +1195,13 @@ function MosaicAccordionPanel({ className, ref, ...props }) {
1134
1195
  {
1135
1196
  ref,
1136
1197
  "data-slot": "accordion-panel",
1137
- className: cn14("overflow-hidden text-sm text-muted-foreground", "transition-all", className),
1198
+ className: cn15("overflow-hidden text-sm text-muted-foreground", "transition-all", className),
1138
1199
  ...props
1139
1200
  }
1140
1201
  );
1141
1202
  }
1142
1203
  MosaicAccordionPanel.displayName = "MosaicAccordionPanel";
1143
- function cn15(...classes) {
1204
+ function cn16(...classes) {
1144
1205
  return classes.filter(Boolean).join(" ");
1145
1206
  }
1146
1207
  function MosaicCheckbox({ className, ref, ...props }) {
@@ -1149,7 +1210,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
1149
1210
  {
1150
1211
  ref,
1151
1212
  "data-slot": "checkbox",
1152
- className: cn15(
1213
+ className: cn16(
1153
1214
  "peer size-4 shrink-0 cursor-pointer",
1154
1215
  "rounded-sm border border-border bg-background",
1155
1216
  "outline-none transition-colors",
@@ -1189,7 +1250,7 @@ function MosaicCheckbox({ className, ref, ...props }) {
1189
1250
  );
1190
1251
  }
1191
1252
  MosaicCheckbox.displayName = "MosaicCheckbox";
1192
- function cn16(...classes) {
1253
+ function cn17(...classes) {
1193
1254
  return classes.filter(Boolean).join(" ");
1194
1255
  }
1195
1256
  function MosaicCollapsible({ className, ref, ...props }) {
@@ -1198,7 +1259,7 @@ function MosaicCollapsible({ className, ref, ...props }) {
1198
1259
  {
1199
1260
  ref,
1200
1261
  "data-slot": "collapsible",
1201
- className: cn16("w-full", className),
1262
+ className: cn17("w-full", className),
1202
1263
  ...props
1203
1264
  }
1204
1265
  );
@@ -1214,7 +1275,7 @@ function MosaicCollapsibleTrigger({
1214
1275
  {
1215
1276
  ref,
1216
1277
  "data-slot": "collapsible-trigger",
1217
- className: cn16(
1278
+ className: cn17(
1218
1279
  "inline-flex w-full items-center justify-between gap-2",
1219
1280
  "rounded-md px-0 py-2 text-sm font-medium",
1220
1281
  "text-foreground outline-none transition-colors",
@@ -1236,7 +1297,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
1236
1297
  {
1237
1298
  ref,
1238
1299
  "data-slot": "collapsible-panel",
1239
- className: cn16(
1300
+ className: cn17(
1240
1301
  "overflow-hidden text-sm transition-all",
1241
1302
  "data-[open]:animate-in data-[closed]:animate-out",
1242
1303
  className
@@ -1246,7 +1307,7 @@ function MosaicCollapsiblePanel({ className, ref, ...props }) {
1246
1307
  );
1247
1308
  }
1248
1309
  MosaicCollapsiblePanel.displayName = "MosaicCollapsiblePanel";
1249
- function cn17(...classes) {
1310
+ function cn18(...classes) {
1250
1311
  return classes.filter(Boolean).join(" ");
1251
1312
  }
1252
1313
  function MosaicProgress({
@@ -1263,7 +1324,7 @@ function MosaicProgress({
1263
1324
  "data-slot": "progress",
1264
1325
  value,
1265
1326
  max,
1266
- className: cn17("w-full", className),
1327
+ className: cn18("w-full", className),
1267
1328
  ...props,
1268
1329
  children: /* @__PURE__ */ jsxRuntime.jsx(
1269
1330
  progress.Progress.Track,
@@ -1284,7 +1345,7 @@ function MosaicProgress({
1284
1345
  );
1285
1346
  }
1286
1347
  MosaicProgress.displayName = "MosaicProgress";
1287
- function cn18(...classes) {
1348
+ function cn19(...classes) {
1288
1349
  return classes.filter(Boolean).join(" ");
1289
1350
  }
1290
1351
  function MosaicRadioGroup({ className, ref, ...props }) {
@@ -1293,7 +1354,7 @@ function MosaicRadioGroup({ className, ref, ...props }) {
1293
1354
  {
1294
1355
  ref,
1295
1356
  "data-slot": "radio-group",
1296
- className: cn18("flex flex-col gap-2", className),
1357
+ className: cn19("flex flex-col gap-2", className),
1297
1358
  ...props
1298
1359
  }
1299
1360
  );
@@ -1310,7 +1371,7 @@ function MosaicRadioGroupItem({
1310
1371
  {
1311
1372
  ref,
1312
1373
  "data-slot": "radio",
1313
- className: cn18(
1374
+ className: cn19(
1314
1375
  "flex items-center gap-2 text-sm font-medium",
1315
1376
  "cursor-pointer select-none",
1316
1377
  "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
@@ -1321,7 +1382,7 @@ function MosaicRadioGroupItem({
1321
1382
  /* @__PURE__ */ jsxRuntime.jsx(
1322
1383
  "span",
1323
1384
  {
1324
- className: cn18(
1385
+ className: cn19(
1325
1386
  "flex size-4 shrink-0 items-center justify-center",
1326
1387
  "rounded-full border border-border bg-background",
1327
1388
  "outline-none transition-colors",
@@ -1337,7 +1398,7 @@ function MosaicRadioGroupItem({
1337
1398
  );
1338
1399
  }
1339
1400
  MosaicRadioGroupItem.displayName = "MosaicRadioGroupItem";
1340
- function cn19(...classes) {
1401
+ function cn20(...classes) {
1341
1402
  return classes.filter(Boolean).join(" ");
1342
1403
  }
1343
1404
  function MosaicScrollArea({
@@ -1352,7 +1413,7 @@ function MosaicScrollArea({
1352
1413
  {
1353
1414
  ref,
1354
1415
  "data-slot": "scroll-area",
1355
- className: cn19("relative overflow-hidden", className),
1416
+ className: cn20("relative overflow-hidden", className),
1356
1417
  ...props,
1357
1418
  children: [
1358
1419
  /* @__PURE__ */ jsxRuntime.jsx(scrollArea.ScrollArea.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit]", children: /* @__PURE__ */ jsxRuntime.jsx(scrollArea.ScrollArea.Content, { children }) }),
@@ -1380,7 +1441,7 @@ function MosaicScrollArea({
1380
1441
  );
1381
1442
  }
1382
1443
  MosaicScrollArea.displayName = "MosaicScrollArea";
1383
- function cn20(...classes) {
1444
+ function cn21(...classes) {
1384
1445
  return classes.filter(Boolean).join(" ");
1385
1446
  }
1386
1447
  function MosaicSeparator({
@@ -1395,7 +1456,7 @@ function MosaicSeparator({
1395
1456
  ref,
1396
1457
  "data-slot": "separator",
1397
1458
  orientation,
1398
- className: cn20(
1459
+ className: cn21(
1399
1460
  "shrink-0 bg-border",
1400
1461
  orientation === "vertical" ? "h-full w-px" : "h-px w-full",
1401
1462
  className
@@ -1405,7 +1466,7 @@ function MosaicSeparator({
1405
1466
  );
1406
1467
  }
1407
1468
  MosaicSeparator.displayName = "MosaicSeparator";
1408
- function cn21(...classes) {
1469
+ function cn22(...classes) {
1409
1470
  return classes.filter(Boolean).join(" ");
1410
1471
  }
1411
1472
  function MosaicSlider({ className, ref, ...props }) {
@@ -1416,7 +1477,7 @@ function MosaicSlider({ className, ref, ...props }) {
1416
1477
  {
1417
1478
  ref,
1418
1479
  "data-slot": "slider",
1419
- className: cn21("w-full touch-none select-none", className),
1480
+ className: cn22("w-full touch-none select-none", className),
1420
1481
  ...props,
1421
1482
  children: /* @__PURE__ */ jsxRuntime.jsx(slider.Slider.Control, { className: "flex items-center", children: /* @__PURE__ */ jsxRuntime.jsxs(
1422
1483
  slider.Slider.Track,
@@ -1435,7 +1496,7 @@ function MosaicSlider({ className, ref, ...props }) {
1435
1496
  slider.Slider.Thumb,
1436
1497
  {
1437
1498
  "data-slot": "slider-thumb",
1438
- className: cn21(
1499
+ className: cn22(
1439
1500
  "block size-5 rounded-full",
1440
1501
  "border-2 border-foreground bg-background",
1441
1502
  "shadow-sm outline-none transition-colors",
@@ -1452,7 +1513,7 @@ function MosaicSlider({ className, ref, ...props }) {
1452
1513
  );
1453
1514
  }
1454
1515
  MosaicSlider.displayName = "MosaicSlider";
1455
- function cn22(...classes) {
1516
+ function cn23(...classes) {
1456
1517
  return classes.filter(Boolean).join(" ");
1457
1518
  }
1458
1519
  function MosaicTabs({ className, ref, ...props }) {
@@ -1461,7 +1522,7 @@ function MosaicTabs({ className, ref, ...props }) {
1461
1522
  {
1462
1523
  ref,
1463
1524
  "data-slot": "tabs",
1464
- className: cn22("flex flex-col gap-2", className),
1525
+ className: cn23("flex flex-col gap-2", className),
1465
1526
  ...props
1466
1527
  }
1467
1528
  );
@@ -1473,7 +1534,7 @@ function MosaicTabsList({ className, ref, ...props }) {
1473
1534
  {
1474
1535
  ref,
1475
1536
  "data-slot": "tabs-list",
1476
- className: cn22(
1537
+ className: cn23(
1477
1538
  "relative inline-flex items-center justify-start gap-1",
1478
1539
  "rounded-lg bg-muted p-1 text-muted-foreground",
1479
1540
  className
@@ -1489,7 +1550,7 @@ function MosaicTabsTrigger({ className, ref, ...props }) {
1489
1550
  {
1490
1551
  ref,
1491
1552
  "data-slot": "tabs-trigger",
1492
- className: cn22(
1553
+ className: cn23(
1493
1554
  "inline-flex items-center justify-center gap-1.5 whitespace-nowrap",
1494
1555
  "rounded-md px-3 py-1.5 text-sm font-medium",
1495
1556
  "outline-none transition-all",
@@ -1512,7 +1573,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
1512
1573
  {
1513
1574
  ref,
1514
1575
  "data-slot": "tabs-panel",
1515
- className: cn22(
1576
+ className: cn23(
1516
1577
  "flex-1 outline-none",
1517
1578
  "focus-visible:ring-ring focus-visible:ring-[3px] focus-visible:rounded-md",
1518
1579
  className
@@ -1522,7 +1583,7 @@ function MosaicTabsPanel({ className, ref, ...props }) {
1522
1583
  );
1523
1584
  }
1524
1585
  MosaicTabsPanel.displayName = "MosaicTabsPanel";
1525
- function cn23(...classes) {
1586
+ function cn24(...classes) {
1526
1587
  return classes.filter(Boolean).join(" ");
1527
1588
  }
1528
1589
  function MosaicTextarea({ className, ref, ...props }) {
@@ -1531,7 +1592,7 @@ function MosaicTextarea({ className, ref, ...props }) {
1531
1592
  {
1532
1593
  ref,
1533
1594
  "data-slot": "textarea",
1534
- className: cn23(
1595
+ className: cn24(
1535
1596
  "flex min-h-[80px] w-full resize-y",
1536
1597
  "rounded-md border border-border bg-background px-3 py-2",
1537
1598
  "text-sm text-foreground shadow-xs",
@@ -1546,7 +1607,7 @@ function MosaicTextarea({ className, ref, ...props }) {
1546
1607
  );
1547
1608
  }
1548
1609
  MosaicTextarea.displayName = "MosaicTextarea";
1549
- function cn24(...classes) {
1610
+ function cn25(...classes) {
1550
1611
  return classes.filter(Boolean).join(" ");
1551
1612
  }
1552
1613
  function MosaicTooltip({
@@ -1563,7 +1624,7 @@ function MosaicTooltip({
1563
1624
  tooltip.Tooltip.Popup,
1564
1625
  {
1565
1626
  "data-slot": "tooltip-content",
1566
- className: cn24(
1627
+ className: cn25(
1567
1628
  "z-50 max-w-xs overflow-hidden rounded-md",
1568
1629
  "border border-border bg-foreground px-3 py-1.5",
1569
1630
  "text-xs text-background shadow-md",
@@ -1580,7 +1641,7 @@ function MosaicTooltip({
1580
1641
  ] }) });
1581
1642
  }
1582
1643
  MosaicTooltip.displayName = "MosaicTooltip";
1583
- function cn25(...classes) {
1644
+ function cn26(...classes) {
1584
1645
  return classes.filter(Boolean).join(" ");
1585
1646
  }
1586
1647
  function MosaicCard({ className, ref, ...props }) {
@@ -1589,7 +1650,7 @@ function MosaicCard({ className, ref, ...props }) {
1589
1650
  {
1590
1651
  ref,
1591
1652
  "data-slot": "card",
1592
- className: cn25(
1653
+ className: cn26(
1593
1654
  "bg-card text-card-foreground rounded-xl border border-border shadow-sm",
1594
1655
  className
1595
1656
  ),
@@ -1604,7 +1665,7 @@ function MosaicCardHeader({ className, ref, ...props }) {
1604
1665
  {
1605
1666
  ref,
1606
1667
  "data-slot": "card-header",
1607
- className: cn25("flex flex-col gap-1.5 p-6", className),
1668
+ className: cn26("flex flex-col gap-1.5 p-6", className),
1608
1669
  ...props
1609
1670
  }
1610
1671
  );
@@ -1616,7 +1677,7 @@ function MosaicCardTitle({ className, ref, ...props }) {
1616
1677
  {
1617
1678
  ref,
1618
1679
  "data-slot": "card-title",
1619
- className: cn25("text-lg font-semibold leading-none tracking-tight", className),
1680
+ className: cn26("text-lg font-semibold leading-none tracking-tight", className),
1620
1681
  ...props
1621
1682
  }
1622
1683
  );
@@ -1628,14 +1689,14 @@ function MosaicCardDescription({ className, ref, ...props }) {
1628
1689
  {
1629
1690
  ref,
1630
1691
  "data-slot": "card-description",
1631
- className: cn25("text-sm text-muted-foreground", className),
1692
+ className: cn26("text-sm text-muted-foreground", className),
1632
1693
  ...props
1633
1694
  }
1634
1695
  );
1635
1696
  }
1636
1697
  MosaicCardDescription.displayName = "MosaicCardDescription";
1637
1698
  function MosaicCardContent({ className, ref, ...props }) {
1638
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "card-content", className: cn25("p-6 pt-0", className), ...props });
1699
+ return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, "data-slot": "card-content", className: cn26("p-6 pt-0", className), ...props });
1639
1700
  }
1640
1701
  MosaicCardContent.displayName = "MosaicCardContent";
1641
1702
  function MosaicCardFooter({ className, ref, ...props }) {
@@ -1644,7 +1705,7 @@ function MosaicCardFooter({ className, ref, ...props }) {
1644
1705
  {
1645
1706
  ref,
1646
1707
  "data-slot": "card-footer",
1647
- className: cn25("flex items-center p-6 pt-0", className),
1708
+ className: cn26("flex items-center p-6 pt-0", className),
1648
1709
  ...props
1649
1710
  }
1650
1711
  );
@@ -1673,7 +1734,7 @@ var badgeVariants = classVarianceAuthority.cva(
1673
1734
  }
1674
1735
  }
1675
1736
  );
1676
- function cn26(...classes) {
1737
+ function cn27(...classes) {
1677
1738
  return classes.filter(Boolean).join(" ");
1678
1739
  }
1679
1740
  function MosaicBadge({ className, variant, ref, ...props }) {
@@ -1682,13 +1743,13 @@ function MosaicBadge({ className, variant, ref, ...props }) {
1682
1743
  {
1683
1744
  ref,
1684
1745
  "data-slot": "badge",
1685
- className: cn26(badgeVariants({ variant }), className),
1746
+ className: cn27(badgeVariants({ variant }), className),
1686
1747
  ...props
1687
1748
  }
1688
1749
  );
1689
1750
  }
1690
1751
  MosaicBadge.displayName = "MosaicBadge";
1691
- function cn27(...classes) {
1752
+ function cn28(...classes) {
1692
1753
  return classes.filter(Boolean).join(" ");
1693
1754
  }
1694
1755
  function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
@@ -1697,7 +1758,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
1697
1758
  {
1698
1759
  ref,
1699
1760
  "data-slot": "avatar",
1700
- className: cn27(
1761
+ className: cn28(
1701
1762
  "relative flex size-10 shrink-0 overflow-hidden rounded-full",
1702
1763
  "bg-muted text-muted-foreground",
1703
1764
  className
@@ -1726,7 +1787,7 @@ function MosaicAvatar({ src, alt, fallback, className, ref, ...props }) {
1726
1787
  );
1727
1788
  }
1728
1789
  MosaicAvatar.displayName = "MosaicAvatar";
1729
- function cn28(...classes) {
1790
+ function cn29(...classes) {
1730
1791
  return classes.filter(Boolean).join(" ");
1731
1792
  }
1732
1793
  function MosaicInput({ className, ref, ...props }) {
@@ -1735,7 +1796,7 @@ function MosaicInput({ className, ref, ...props }) {
1735
1796
  {
1736
1797
  ref,
1737
1798
  "data-slot": "input",
1738
- className: cn28(
1799
+ className: cn29(
1739
1800
  "flex h-9 w-full rounded-md border border-border bg-background px-3 py-1",
1740
1801
  "text-sm text-foreground shadow-xs",
1741
1802
  "placeholder:text-muted-foreground",
@@ -1749,7 +1810,7 @@ function MosaicInput({ className, ref, ...props }) {
1749
1810
  );
1750
1811
  }
1751
1812
  MosaicInput.displayName = "MosaicInput";
1752
- function cn29(...classes) {
1813
+ function cn30(...classes) {
1753
1814
  return classes.filter(Boolean).join(" ");
1754
1815
  }
1755
1816
  function MosaicInputGroup({
@@ -1765,7 +1826,7 @@ function MosaicInputGroup({
1765
1826
  {
1766
1827
  ref,
1767
1828
  "data-slot": "input-group",
1768
- className: cn29("flex items-center", className),
1829
+ className: cn30("flex items-center", className),
1769
1830
  ...props,
1770
1831
  children: [
1771
1832
  prefix ? /* @__PURE__ */ jsxRuntime.jsx(
@@ -1790,7 +1851,7 @@ function MosaicInputGroup({
1790
1851
  );
1791
1852
  }
1792
1853
  MosaicInputGroup.displayName = "MosaicInputGroup";
1793
- function cn30(...classes) {
1854
+ function cn31(...classes) {
1794
1855
  return classes.filter(Boolean).join(" ");
1795
1856
  }
1796
1857
  function MosaicFieldRoot({ className, children, ref, ...props }) {
@@ -1799,7 +1860,7 @@ function MosaicFieldRoot({ className, children, ref, ...props }) {
1799
1860
  {
1800
1861
  ref,
1801
1862
  "data-slot": "field",
1802
- className: cn30("flex flex-col gap-1.5", className),
1863
+ className: cn31("flex flex-col gap-1.5", className),
1803
1864
  ...props,
1804
1865
  children
1805
1866
  }
@@ -1811,7 +1872,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
1811
1872
  field.Field.Label,
1812
1873
  {
1813
1874
  ref,
1814
- className: cn30(
1875
+ className: cn31(
1815
1876
  "text-sm font-medium leading-none text-foreground",
1816
1877
  "data-[disabled]:opacity-50",
1817
1878
  className
@@ -1823,7 +1884,7 @@ function MosaicFieldLabel({ className, children, ref, ...props }) {
1823
1884
  }
1824
1885
  MosaicFieldLabel.displayName = "MosaicField.Label";
1825
1886
  function MosaicFieldControl({ className, ref, ...props }) {
1826
- return /* @__PURE__ */ jsxRuntime.jsx(field.Field.Control, { ref, className: cn30(className), ...props });
1887
+ return /* @__PURE__ */ jsxRuntime.jsx(field.Field.Control, { ref, className: cn31(className), ...props });
1827
1888
  }
1828
1889
  MosaicFieldControl.displayName = "MosaicField.Control";
1829
1890
  function MosaicFieldDescription({
@@ -1836,7 +1897,7 @@ function MosaicFieldDescription({
1836
1897
  field.Field.Description,
1837
1898
  {
1838
1899
  ref,
1839
- className: cn30("text-xs text-muted-foreground", className),
1900
+ className: cn31("text-xs text-muted-foreground", className),
1840
1901
  ...props,
1841
1902
  children
1842
1903
  }
@@ -1856,7 +1917,7 @@ function MosaicFieldError({
1856
1917
  {
1857
1918
  ref,
1858
1919
  match: show === true ? true : void 0,
1859
- className: cn30("text-xs font-medium text-destructive", className),
1920
+ className: cn31("text-xs font-medium text-destructive", className),
1860
1921
  ...props,
1861
1922
  children
1862
1923
  }
@@ -1869,7 +1930,7 @@ var MosaicField = Object.assign(MosaicFieldRoot, {
1869
1930
  Description: MosaicFieldDescription,
1870
1931
  Error: MosaicFieldError
1871
1932
  });
1872
- function cn31(...classes) {
1933
+ function cn32(...classes) {
1873
1934
  return classes.filter(Boolean).join(" ");
1874
1935
  }
1875
1936
  function MosaicSwitch({ className, ref, ...props }) {
@@ -1878,7 +1939,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1878
1939
  {
1879
1940
  ref,
1880
1941
  "data-slot": "switch",
1881
- className: cn31(
1942
+ className: cn32(
1882
1943
  // Track
1883
1944
  "relative inline-flex h-6 w-10 shrink-0 cursor-pointer items-center",
1884
1945
  "rounded-full border-2 border-transparent outline-none",
@@ -1896,7 +1957,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1896
1957
  _switch.Switch.Thumb,
1897
1958
  {
1898
1959
  "data-slot": "switch-thumb",
1899
- className: cn31(
1960
+ className: cn32(
1900
1961
  "pointer-events-none block h-4 w-4 rounded-full",
1901
1962
  "bg-background shadow-sm",
1902
1963
  "translate-x-0 transition-transform",
@@ -1908,7 +1969,7 @@ function MosaicSwitch({ className, ref, ...props }) {
1908
1969
  );
1909
1970
  }
1910
1971
  MosaicSwitch.displayName = "MosaicSwitch";
1911
- function cn32(...classes) {
1972
+ function cn33(...classes) {
1912
1973
  return classes.filter(Boolean).join(" ");
1913
1974
  }
1914
1975
  function MosaicSelect({
@@ -1940,7 +2001,7 @@ function MosaicSelect({
1940
2001
  select.Select.Trigger,
1941
2002
  {
1942
2003
  "data-slot": "select",
1943
- className: cn32(
2004
+ className: cn33(
1944
2005
  "inline-flex h-9 w-full min-w-[8rem] items-center justify-between gap-2",
1945
2006
  "rounded-md border border-border bg-background px-3 py-2",
1946
2007
  "text-sm text-foreground shadow-xs outline-none",
@@ -1960,7 +2021,7 @@ function MosaicSelect({
1960
2021
  select.Select.Popup,
1961
2022
  {
1962
2023
  "data-slot": "select-popup",
1963
- className: cn32(
2024
+ className: cn33(
1964
2025
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
1965
2026
  "bg-popover p-1 text-popover-foreground shadow-md",
1966
2027
  "origin-[var(--transform-origin)]",
@@ -1974,7 +2035,7 @@ function MosaicSelect({
1974
2035
  {
1975
2036
  value: item.value,
1976
2037
  disabled: item.disabled,
1977
- className: cn32(
2038
+ className: cn33(
1978
2039
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
1979
2040
  "text-sm text-popover-foreground outline-none",
1980
2041
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -2028,7 +2089,7 @@ function CheckIcon() {
2028
2089
  }
2029
2090
  );
2030
2091
  }
2031
- function cn33(...classes) {
2092
+ function cn34(...classes) {
2032
2093
  return classes.filter(Boolean).join(" ");
2033
2094
  }
2034
2095
  function MosaicCombobox({
@@ -2057,12 +2118,12 @@ function MosaicCombobox({
2057
2118
  name,
2058
2119
  onInputValueChange: setInputValue,
2059
2120
  autoHighlight: true,
2060
- children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "combobox", className: cn33("relative w-full", className), children: [
2121
+ children: /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "combobox", className: cn34("relative w-full", className), children: [
2061
2122
  /* @__PURE__ */ jsxRuntime.jsx(
2062
2123
  combobox.Combobox.Input,
2063
2124
  {
2064
2125
  placeholder,
2065
- className: cn33(
2126
+ className: cn34(
2066
2127
  "h-9 w-full rounded-md border border-border bg-background px-3 py-2",
2067
2128
  "text-sm text-foreground shadow-xs outline-none",
2068
2129
  "placeholder:text-muted-foreground",
@@ -2074,7 +2135,7 @@ function MosaicCombobox({
2074
2135
  /* @__PURE__ */ jsxRuntime.jsx(combobox.Combobox.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(combobox.Combobox.Positioner, { sideOffset: 4, children: /* @__PURE__ */ jsxRuntime.jsx(
2075
2136
  combobox.Combobox.Popup,
2076
2137
  {
2077
- className: cn33(
2138
+ className: cn34(
2078
2139
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
2079
2140
  "bg-popover p-1 text-popover-foreground shadow-md",
2080
2141
  "origin-[var(--transform-origin)]",
@@ -2089,7 +2150,7 @@ function MosaicCombobox({
2089
2150
  {
2090
2151
  value: item.value,
2091
2152
  disabled: item.disabled,
2092
- className: cn33(
2153
+ className: cn34(
2093
2154
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
2094
2155
  "text-sm text-popover-foreground outline-none",
2095
2156
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -2108,7 +2169,7 @@ function MosaicCombobox({
2108
2169
  }
2109
2170
  );
2110
2171
  }
2111
- function cn34(...classes) {
2172
+ function cn35(...classes) {
2112
2173
  return classes.filter(Boolean).join(" ");
2113
2174
  }
2114
2175
  function MosaicDropdownMenu({
@@ -2125,7 +2186,7 @@ function MosaicDropdownMenu({
2125
2186
  menu.Menu.Popup,
2126
2187
  {
2127
2188
  "data-slot": "dropdown-menu",
2128
- className: cn34(
2189
+ className: cn35(
2129
2190
  "z-50 min-w-[8rem] overflow-hidden rounded-md border border-border",
2130
2191
  "bg-popover p-1 text-popover-foreground shadow-md",
2131
2192
  "origin-[var(--transform-origin)]",
@@ -2142,7 +2203,7 @@ function MosaicDropdownMenu({
2142
2203
  {
2143
2204
  disabled: item.disabled,
2144
2205
  onClick: () => onItemSelect?.(item.id),
2145
- className: cn34(
2206
+ className: cn35(
2146
2207
  "relative flex cursor-pointer select-none items-center rounded-sm px-2 py-1.5",
2147
2208
  "text-sm text-popover-foreground outline-none",
2148
2209
  "data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground",
@@ -2284,7 +2345,7 @@ function useDevice() {
2284
2345
  }
2285
2346
  return ctx;
2286
2347
  }
2287
- function cn35(...classes) {
2348
+ function cn36(...classes) {
2288
2349
  return classes.filter(Boolean).join(" ");
2289
2350
  }
2290
2351
  function MosaicAdaptiveGrid({
@@ -2303,14 +2364,14 @@ function MosaicAdaptiveGrid({
2303
2364
  {
2304
2365
  ref,
2305
2366
  "data-slot": "adaptive-grid",
2306
- className: cn35("grid", gap, className),
2367
+ className: cn36("grid", gap, className),
2307
2368
  style: { gridTemplateColumns: `repeat(${cols}, minmax(0, 1fr))` },
2308
2369
  children
2309
2370
  }
2310
2371
  );
2311
2372
  }
2312
2373
  MosaicAdaptiveGrid.displayName = "MosaicAdaptiveGrid";
2313
- function cn36(...classes) {
2374
+ function cn37(...classes) {
2314
2375
  return classes.filter(Boolean).join(" ");
2315
2376
  }
2316
2377
  var ANIM_ID = "mosaic-adaptive-modal-kf";
@@ -2415,7 +2476,7 @@ function MosaicAdaptiveModal({
2415
2476
  children: /* @__PURE__ */ jsxRuntime.jsxs(
2416
2477
  "div",
2417
2478
  {
2418
- className: cn36(
2479
+ className: cn37(
2419
2480
  "mosaic-sheet-panel relative w-full rounded-t-2xl border-t border-border bg-background",
2420
2481
  "max-h-[90dvh] flex flex-col",
2421
2482
  className
@@ -2448,7 +2509,7 @@ function MosaicAdaptiveModal({
2448
2509
  children: /* @__PURE__ */ jsxRuntime.jsxs(
2449
2510
  "div",
2450
2511
  {
2451
- className: cn36(
2512
+ className: cn37(
2452
2513
  "mosaic-modal-panel relative w-[min(90vw,42rem)] rounded-xl border border-border bg-background shadow-xl",
2453
2514
  "max-h-[90vh] flex flex-col",
2454
2515
  className
@@ -2496,7 +2557,7 @@ function MosaicAdaptiveModal({
2496
2557
  );
2497
2558
  }
2498
2559
  MosaicAdaptiveModal.displayName = "MosaicAdaptiveModal";
2499
- function cn37(...classes) {
2560
+ function cn38(...classes) {
2500
2561
  return classes.filter(Boolean).join(" ");
2501
2562
  }
2502
2563
  function CheckIcon2() {
@@ -2553,7 +2614,7 @@ function MosaicAdaptiveNavigation({
2553
2614
  {
2554
2615
  ref,
2555
2616
  "data-slot": "adaptive-navigation",
2556
- className: cn37("space-y-3", className),
2617
+ className: cn38("space-y-3", className),
2557
2618
  "aria-label": "Step navigation",
2558
2619
  children: items.map((item, idx) => {
2559
2620
  const isExpanded = expandedItems?.has(item.id) ?? false;
@@ -2571,7 +2632,7 @@ function MosaicAdaptiveNavigation({
2571
2632
  /* @__PURE__ */ jsxRuntime.jsx(
2572
2633
  "div",
2573
2634
  {
2574
- className: cn37(
2635
+ className: cn38(
2575
2636
  "flex h-8 w-8 shrink-0 items-center justify-center rounded-full text-xs font-bold",
2576
2637
  item.isComplete ? "bg-green-500 text-white" : "bg-muted text-muted-foreground"
2577
2638
  ),
@@ -2605,7 +2666,7 @@ function MosaicAdaptiveNavigation({
2605
2666
  {
2606
2667
  ref,
2607
2668
  "data-slot": "adaptive-navigation",
2608
- className: cn37("w-full", className),
2669
+ className: cn38("w-full", className),
2609
2670
  "aria-label": "Tab navigation",
2610
2671
  children: /* @__PURE__ */ jsxRuntime.jsx(
2611
2672
  "div",
@@ -2622,7 +2683,7 @@ function MosaicAdaptiveNavigation({
2622
2683
  role: "tab",
2623
2684
  "aria-selected": isActive,
2624
2685
  onClick: () => onItemChange(item.id),
2625
- className: cn37(
2686
+ className: cn38(
2626
2687
  "flex items-center justify-center gap-2 rounded-md px-3 py-2 text-sm font-medium transition-colors",
2627
2688
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1",
2628
2689
  isActive ? "bg-primary text-primary-foreground shadow-sm" : "text-muted-foreground hover:text-foreground"
@@ -2631,7 +2692,7 @@ function MosaicAdaptiveNavigation({
2631
2692
  /* @__PURE__ */ jsxRuntime.jsx(
2632
2693
  "div",
2633
2694
  {
2634
- className: cn37(
2695
+ className: cn38(
2635
2696
  "flex h-6 w-6 shrink-0 items-center justify-center rounded-full text-xs font-bold",
2636
2697
  item.isComplete ? "bg-green-500 text-white" : isActive ? "bg-primary-foreground/20 text-primary-foreground" : "bg-background text-muted-foreground"
2637
2698
  ),
@@ -2643,7 +2704,7 @@ function MosaicAdaptiveNavigation({
2643
2704
  item.duration !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(
2644
2705
  "span",
2645
2706
  {
2646
- className: cn37(
2707
+ className: cn38(
2647
2708
  "rounded px-1 py-0.5 text-xs",
2648
2709
  isActive ? "bg-primary-foreground/20" : "bg-muted"
2649
2710
  ),
@@ -2664,7 +2725,7 @@ function MosaicAdaptiveNavigation({
2664
2725
  );
2665
2726
  }
2666
2727
  MosaicAdaptiveNavigation.displayName = "MosaicAdaptiveNavigation";
2667
- function cn38(...classes) {
2728
+ function cn39(...classes) {
2668
2729
  return classes.filter(Boolean).join(" ");
2669
2730
  }
2670
2731
  var ANIM_ID2 = "mosaic-sidebar-kf";
@@ -2834,7 +2895,7 @@ function MosaicAppSidebar({
2834
2895
  {
2835
2896
  ref,
2836
2897
  "data-slot": "app-sidebar",
2837
- className: cn38(
2898
+ className: cn39(
2838
2899
  "flex h-full flex-col bg-sidebar border-r border-sidebar-border",
2839
2900
  isMobile && "border-r-0",
2840
2901
  className
@@ -2854,7 +2915,7 @@ function MosaicAppSidebar({
2854
2915
  type: "button",
2855
2916
  onClick: onToggleCollapse,
2856
2917
  "aria-label": isCollapsed ? "Expand sidebar" : "Collapse sidebar",
2857
- className: cn38(
2918
+ className: cn39(
2858
2919
  "flex h-9 w-9 items-center justify-center rounded-lg transition-colors",
2859
2920
  "hover:bg-sidebar-accent text-sidebar-foreground",
2860
2921
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2884,7 +2945,7 @@ function MosaicAppSidebar({
2884
2945
  },
2885
2946
  "aria-current": isActive ? "page" : void 0,
2886
2947
  "aria-expanded": hasSubmenu && !isCollapsed ? isExpanded : void 0,
2887
- className: cn38(
2948
+ className: cn39(
2888
2949
  "group flex w-full min-h-[44px] items-center rounded-lg p-3 transition-colors",
2889
2950
  "hover:bg-sidebar-accent",
2890
2951
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2911,7 +2972,7 @@ function MosaicAppSidebar({
2911
2972
  type: "button",
2912
2973
  onClick: () => handleNavClick(sub.href),
2913
2974
  "aria-current": isSubActive ? "page" : void 0,
2914
- className: cn38(
2975
+ className: cn39(
2915
2976
  "flex w-full min-h-[40px] items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors",
2916
2977
  "hover:bg-sidebar-accent/50 text-sidebar-foreground",
2917
2978
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -2934,7 +2995,7 @@ function MosaicAppSidebar({
2934
2995
  {
2935
2996
  type: "button",
2936
2997
  onClick: action.onClick,
2937
- className: cn38(
2998
+ className: cn39(
2938
2999
  "flex w-full min-h-[44px] items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium",
2939
3000
  "text-sidebar-foreground transition-colors hover:bg-sidebar-accent",
2940
3001
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -2981,7 +3042,7 @@ function MosaicAppSidebar({
2981
3042
  );
2982
3043
  }
2983
3044
  MosaicAppSidebar.displayName = "MosaicAppSidebar";
2984
- function cn39(...classes) {
3045
+ function cn40(...classes) {
2985
3046
  return classes.filter(Boolean).join(" ");
2986
3047
  }
2987
3048
  var ANIM_ID3 = "mosaic-dashboard-kf";
@@ -3071,7 +3132,7 @@ function MosaicDashboardLayout({
3071
3132
  {
3072
3133
  ref,
3073
3134
  "data-slot": "dashboard-layout",
3074
- className: cn39("flex h-screen w-full bg-background", className),
3135
+ className: cn40("flex h-screen w-full bg-background", className),
3075
3136
  children: [
3076
3137
  !isMobile && /* @__PURE__ */ jsxRuntime.jsx(
3077
3138
  MosaicAppSidebar,
@@ -3095,7 +3156,7 @@ function MosaicDashboardLayout({
3095
3156
  type: "button",
3096
3157
  "aria-label": "Open navigation",
3097
3158
  onClick: () => setIsMobileSidebarOpen(true),
3098
- className: cn39(
3159
+ className: cn40(
3099
3160
  "flex h-11 w-11 shrink-0 items-center justify-center rounded-lg",
3100
3161
  "text-foreground transition-colors hover:bg-muted",
3101
3162
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -3147,7 +3208,7 @@ function MosaicDashboardLayout({
3147
3208
  );
3148
3209
  }
3149
3210
  MosaicDashboardLayout.displayName = "MosaicDashboardLayout";
3150
- function cn40(...classes) {
3211
+ function cn41(...classes) {
3151
3212
  return classes.filter(Boolean).join(" ");
3152
3213
  }
3153
3214
  var ANIM_ID4 = "mosaic-quick-action-kf";
@@ -3202,7 +3263,7 @@ function MosaicQuickActionCard({
3202
3263
  {
3203
3264
  ref,
3204
3265
  "data-slot": "quick-action-card",
3205
- className: cn40("rounded-xl border border-border bg-card", className),
3266
+ className: cn41("rounded-xl border border-border bg-card", className),
3206
3267
  children: [
3207
3268
  heading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-b border-border px-6 py-4", children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }) }),
3208
3269
  /* @__PURE__ */ jsxRuntime.jsx(
@@ -3227,7 +3288,7 @@ function MosaicQuickActionCard({
3227
3288
  /* @__PURE__ */ jsxRuntime.jsxs(
3228
3289
  "div",
3229
3290
  {
3230
- className: cn40(
3291
+ className: cn41(
3231
3292
  "flex min-h-[100px] cursor-pointer flex-col items-center justify-center gap-2 rounded-xl border p-4",
3232
3293
  "transition-transform duration-150 hover:scale-105 active:scale-[0.98]",
3233
3294
  accentClass
@@ -3260,7 +3321,7 @@ function MosaicQuickActionCard({
3260
3321
  );
3261
3322
  }
3262
3323
  MosaicQuickActionCard.displayName = "MosaicQuickActionCard";
3263
- function cn41(...classes) {
3324
+ function cn42(...classes) {
3264
3325
  return classes.filter(Boolean).join(" ");
3265
3326
  }
3266
3327
  var ANIM_ID5 = "mosaic-activity-feed-kf";
@@ -3349,7 +3410,7 @@ function MosaicActivityItem({ activity, icon, className }) {
3349
3410
  "div",
3350
3411
  {
3351
3412
  "data-slot": "activity-item",
3352
- className: cn41(
3413
+ className: cn42(
3353
3414
  "flex cursor-pointer items-start gap-4 rounded-lg p-3 transition-colors hover:bg-muted/50",
3354
3415
  className
3355
3416
  ),
@@ -3383,7 +3444,7 @@ function MosaicActivityItem({ activity, icon, className }) {
3383
3444
  /* @__PURE__ */ jsxRuntime.jsx(
3384
3445
  "span",
3385
3446
  {
3386
- className: cn41(
3447
+ className: cn42(
3387
3448
  "rounded-full px-2 py-0.5 text-xs font-medium",
3388
3449
  getStatusClass(activity.status)
3389
3450
  ),
@@ -3424,7 +3485,7 @@ function MosaicActivityFeed({
3424
3485
  {
3425
3486
  ref,
3426
3487
  "data-slot": "activity-feed",
3427
- className: cn41("rounded-xl border border-border bg-card", className),
3488
+ className: cn42("rounded-xl border border-border bg-card", className),
3428
3489
  children: [
3429
3490
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
3430
3491
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold text-foreground", children: heading }),
@@ -3450,7 +3511,7 @@ function MosaicActivityFeed({
3450
3511
  );
3451
3512
  }
3452
3513
  MosaicActivityFeed.displayName = "MosaicActivityFeed";
3453
- function cn42(...classes) {
3514
+ function cn43(...classes) {
3454
3515
  return classes.filter(Boolean).join(" ");
3455
3516
  }
3456
3517
  function SparklesIcon() {
@@ -3659,7 +3720,7 @@ function MosaicAgentComposerDesktop({
3659
3720
  value: agentName,
3660
3721
  onChange: (e) => onAgentNameChange(e.target.value),
3661
3722
  placeholder: "Enter agent name\u2026",
3662
- className: cn42(
3723
+ className: cn43(
3663
3724
  "flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3664
3725
  "placeholder:text-muted-foreground",
3665
3726
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3760,7 +3821,7 @@ function MosaicAgentComposerDesktop({
3760
3821
  onChange: (e) => onCustomInstructionsChange(e.target.value),
3761
3822
  placeholder: "Add any specific instructions or behaviors\u2026",
3762
3823
  rows: 5,
3763
- className: cn42(
3824
+ className: cn43(
3764
3825
  "flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
3765
3826
  "placeholder:text-muted-foreground",
3766
3827
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -3828,7 +3889,7 @@ function MosaicAgentComposerDesktop({
3828
3889
  /* @__PURE__ */ jsxRuntime.jsx(SparklesIcon, {}),
3829
3890
  /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground", children: "Select all modules to see preview" })
3830
3891
  ] }) }),
3831
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn42("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
3892
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn43("flex gap-2", isEditMode && onCancel ? "flex-row" : "flex-col"), children: [
3832
3893
  isEditMode && onCancel && /* @__PURE__ */ jsxRuntime.jsx(
3833
3894
  "button",
3834
3895
  {
@@ -3844,7 +3905,7 @@ function MosaicAgentComposerDesktop({
3844
3905
  type: "button",
3845
3906
  onClick: onSave,
3846
3907
  disabled: !canSave,
3847
- className: cn42(
3908
+ className: cn43(
3848
3909
  "flex min-h-[48px] items-center justify-center gap-2 rounded-lg text-sm font-medium transition-colors",
3849
3910
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
3850
3911
  "bg-primary text-primary-foreground hover:bg-primary/90",
@@ -3865,7 +3926,7 @@ function MosaicAgentComposerDesktop({
3865
3926
  ] });
3866
3927
  }
3867
3928
  MosaicAgentComposerDesktop.displayName = "MosaicAgentComposerDesktop";
3868
- function cn43(...classes) {
3929
+ function cn44(...classes) {
3869
3930
  return classes.filter(Boolean).join(" ");
3870
3931
  }
3871
3932
  function SparklesIcon2() {
@@ -4121,7 +4182,7 @@ function MosaicAgentComposerMobile({
4121
4182
  disabled: isLoading,
4122
4183
  "aria-required": "true",
4123
4184
  "aria-invalid": canSave && !agentName ? "true" : "false",
4124
- className: cn43(
4185
+ className: cn44(
4125
4186
  "flex min-h-[48px] w-full rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
4126
4187
  "placeholder:text-muted-foreground",
4127
4188
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4225,7 +4286,7 @@ function MosaicAgentComposerMobile({
4225
4286
  disabled: isLoading,
4226
4287
  "aria-describedby": `${instructionsId}-help`,
4227
4288
  rows: 4,
4228
- className: cn43(
4289
+ className: cn44(
4229
4290
  "flex w-full resize-y rounded-lg border border-input bg-transparent px-3 py-2 text-sm",
4230
4291
  "placeholder:text-muted-foreground",
4231
4292
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4281,7 +4342,7 @@ function MosaicAgentComposer(props) {
4281
4342
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MosaicAgentComposerMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MosaicAgentComposerDesktop, { ...props });
4282
4343
  }
4283
4344
  MosaicAgentComposer.displayName = "MosaicAgentComposer";
4284
- function cn44(...classes) {
4345
+ function cn45(...classes) {
4285
4346
  return classes.filter(Boolean).join(" ");
4286
4347
  }
4287
4348
  function EditIcon() {
@@ -4339,7 +4400,7 @@ function MosaicModuleCard({
4339
4400
  {
4340
4401
  ref,
4341
4402
  "data-slot": "module-card",
4342
- className: cn44(
4403
+ className: cn45(
4343
4404
  "min-h-[80px] rounded-xl border border-border bg-card p-4 transition-all",
4344
4405
  "flex items-start gap-3",
4345
4406
  isSelected && "ring-2 ring-primary bg-primary/5",
@@ -4401,7 +4462,7 @@ function MosaicThemeProvider({
4401
4462
  return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "theme-provider", children });
4402
4463
  }
4403
4464
  MosaicThemeProvider.displayName = "MosaicThemeProvider";
4404
- function cn45(...classes) {
4465
+ function cn46(...classes) {
4405
4466
  return classes.filter(Boolean).join(" ");
4406
4467
  }
4407
4468
  var ANIM_ID6 = "mosaic-delete-dialog-kf";
@@ -4455,14 +4516,14 @@ function MosaicDeleteConfirmationDialog({
4455
4516
  /* @__PURE__ */ jsxRuntime.jsx(
4456
4517
  alertDialog.AlertDialog.Backdrop,
4457
4518
  {
4458
- className: cn45("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
4519
+ className: cn46("mosaic-delete-overlay", "fixed inset-0 z-50 bg-black/50")
4459
4520
  }
4460
4521
  ),
4461
4522
  /* @__PURE__ */ jsxRuntime.jsxs(
4462
4523
  alertDialog.AlertDialog.Popup,
4463
4524
  {
4464
4525
  "data-slot": "delete-confirmation-dialog",
4465
- className: cn45(
4526
+ className: cn46(
4466
4527
  "mosaic-delete-content",
4467
4528
  "fixed left-1/2 top-1/2 z-50",
4468
4529
  "w-full max-w-[92vw] sm:max-w-md",
@@ -4475,7 +4536,7 @@ function MosaicDeleteConfirmationDialog({
4475
4536
  /* @__PURE__ */ jsxRuntime.jsx(
4476
4537
  alertDialog.AlertDialog.Close,
4477
4538
  {
4478
- className: cn45(
4539
+ className: cn46(
4479
4540
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
4480
4541
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
4481
4542
  "hover:bg-accent hover:text-accent-foreground",
@@ -4489,7 +4550,7 @@ function MosaicDeleteConfirmationDialog({
4489
4550
  alertDialog.AlertDialog.Close,
4490
4551
  {
4491
4552
  onClick: onConfirm,
4492
- className: cn45(
4553
+ className: cn46(
4493
4554
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md",
4494
4555
  "bg-destructive px-4 py-2 text-sm font-medium text-destructive-foreground",
4495
4556
  "hover:bg-destructive/90",
@@ -4506,7 +4567,7 @@ function MosaicDeleteConfirmationDialog({
4506
4567
  ] }) });
4507
4568
  }
4508
4569
  MosaicDeleteConfirmationDialog.displayName = "MosaicDeleteConfirmationDialog";
4509
- function cn46(...classes) {
4570
+ function cn47(...classes) {
4510
4571
  return classes.filter(Boolean).join(" ");
4511
4572
  }
4512
4573
  function Toggle({
@@ -4522,7 +4583,7 @@ function Toggle({
4522
4583
  id,
4523
4584
  "aria-checked": checked,
4524
4585
  onClick: () => onChange(!checked),
4525
- className: cn46(
4586
+ className: cn47(
4526
4587
  "relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent",
4527
4588
  "transition-colors duration-200 ease-in-out",
4528
4589
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
@@ -4531,7 +4592,7 @@ function Toggle({
4531
4592
  children: /* @__PURE__ */ jsxRuntime.jsx(
4532
4593
  "span",
4533
4594
  {
4534
- className: cn46(
4595
+ className: cn47(
4535
4596
  "pointer-events-none inline-block h-5 w-5 rounded-full bg-background shadow-lg",
4536
4597
  "transform transition duration-200 ease-in-out",
4537
4598
  checked ? "translate-x-5" : "translate-x-0"
@@ -4553,7 +4614,7 @@ function NativeSelect({
4553
4614
  id,
4554
4615
  value,
4555
4616
  onChange: (e) => onChange(e.target.value),
4556
- className: cn46(
4617
+ className: cn47(
4557
4618
  "flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
4558
4619
  "text-sm text-foreground",
4559
4620
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4572,7 +4633,7 @@ function MosaicPreferencesPanel({
4572
4633
  className
4573
4634
  }) {
4574
4635
  const { isMobile } = useDevice();
4575
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "preferences-panel", className: cn46("space-y-4 md:space-y-6", className), children: [
4636
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "preferences-panel", className: cn47("space-y-4 md:space-y-6", className), children: [
4576
4637
  groups.map((group) => /* @__PURE__ */ jsxRuntime.jsxs(
4577
4638
  "div",
4578
4639
  {
@@ -4615,13 +4676,13 @@ function MosaicPreferencesPanel({
4615
4676
  },
4616
4677
  group.id
4617
4678
  )),
4618
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn46("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4679
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn47("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4619
4680
  "button",
4620
4681
  {
4621
4682
  type: "button",
4622
4683
  onClick: onSave,
4623
4684
  disabled: isSaving,
4624
- className: cn46(
4685
+ className: cn47(
4625
4686
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
4626
4687
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
4627
4688
  "hover:bg-primary/90",
@@ -4657,7 +4718,7 @@ function MosaicPreferencesPanel({
4657
4718
  ] });
4658
4719
  }
4659
4720
  MosaicPreferencesPanel.displayName = "MosaicPreferencesPanel";
4660
- function cn47(...classes) {
4721
+ function cn48(...classes) {
4661
4722
  return classes.filter(Boolean).join(" ");
4662
4723
  }
4663
4724
  function AvatarDisplay({
@@ -4670,7 +4731,7 @@ function AvatarDisplay({
4670
4731
  return /* @__PURE__ */ jsxRuntime.jsx(
4671
4732
  "span",
4672
4733
  {
4673
- className: cn47(
4734
+ className: cn48(
4674
4735
  "inline-flex shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground font-semibold overflow-hidden",
4675
4736
  sizeClass
4676
4737
  ),
@@ -4692,7 +4753,7 @@ function MosaicProfilePanel({
4692
4753
  className
4693
4754
  }) {
4694
4755
  const { isMobile } = useDevice();
4695
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "profile-panel", className: cn47("space-y-4 md:space-y-6", className), children: [
4756
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "profile-panel", className: cn48("space-y-4 md:space-y-6", className), children: [
4696
4757
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "rounded-lg border border-border bg-card text-card-foreground shadow-sm", children: [
4697
4758
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col space-y-1.5 p-6", children: [
4698
4759
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-lg font-semibold leading-none tracking-tight md:text-xl", children: "Profile Picture" }),
@@ -4712,7 +4773,7 @@ function MosaicProfilePanel({
4712
4773
  {
4713
4774
  type: "button",
4714
4775
  onClick: onAvatarUpload,
4715
- className: cn47(
4776
+ className: cn48(
4716
4777
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md border border-border",
4717
4778
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
4718
4779
  "hover:bg-accent hover:text-accent-foreground",
@@ -4762,7 +4823,7 @@ function MosaicProfilePanel({
4762
4823
  placeholder: field.placeholder,
4763
4824
  onChange: (e) => onFieldChange?.(field.id, e.target.value),
4764
4825
  rows: 4,
4765
- className: cn47(
4826
+ className: cn48(
4766
4827
  "flex min-h-[120px] w-full rounded-md border border-input bg-background px-3 py-2",
4767
4828
  "text-sm text-foreground placeholder:text-muted-foreground",
4768
4829
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4778,7 +4839,7 @@ function MosaicProfilePanel({
4778
4839
  readOnly: field.readOnly,
4779
4840
  placeholder: field.placeholder,
4780
4841
  onChange: (e) => onFieldChange?.(field.id, e.target.value),
4781
- className: cn47(
4842
+ className: cn48(
4782
4843
  "flex min-h-[48px] w-full rounded-md border border-input bg-background px-3 py-2",
4783
4844
  "text-sm text-foreground placeholder:text-muted-foreground",
4784
4845
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -4798,7 +4859,7 @@ function MosaicProfilePanel({
4798
4859
  {
4799
4860
  type: "button",
4800
4861
  onClick: onChangePassword,
4801
- className: cn47(
4862
+ className: cn48(
4802
4863
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
4803
4864
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
4804
4865
  "hover:bg-accent hover:text-accent-foreground",
@@ -4810,13 +4871,13 @@ function MosaicProfilePanel({
4810
4871
  ) })
4811
4872
  ] }),
4812
4873
  extraSections,
4813
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn47("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4874
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn48("flex", isMobile ? "flex-col" : "justify-end"), children: /* @__PURE__ */ jsxRuntime.jsxs(
4814
4875
  "button",
4815
4876
  {
4816
4877
  type: "button",
4817
4878
  onClick: onSave,
4818
4879
  disabled: isSaving,
4819
- className: cn47(
4880
+ className: cn48(
4820
4881
  "inline-flex min-h-[44px] items-center justify-center gap-2 rounded-md",
4821
4882
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
4822
4883
  "hover:bg-primary/90",
@@ -4852,7 +4913,7 @@ function MosaicProfilePanel({
4852
4913
  ] });
4853
4914
  }
4854
4915
  MosaicProfilePanel.displayName = "MosaicProfilePanel";
4855
- function cn48(...classes) {
4916
+ function cn49(...classes) {
4856
4917
  return classes.filter(Boolean).join(" ");
4857
4918
  }
4858
4919
  var ANIM_ID7 = "mosaic-main-nav-kf";
@@ -4960,7 +5021,7 @@ function MosaicMainNav({
4960
5021
  {
4961
5022
  type: "button",
4962
5023
  onClick: () => setIsOpen(!isOpen),
4963
- className: cn48(
5024
+ className: cn49(
4964
5025
  "inline-flex min-h-[44px] min-w-[44px] items-center justify-center rounded-md p-0",
4965
5026
  "text-foreground hover:bg-accent hover:text-accent-foreground",
4966
5027
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -4986,7 +5047,7 @@ function MosaicMainNav({
4986
5047
  "aria-label": "Navigation",
4987
5048
  open: isOpen,
4988
5049
  "data-open": isOpen ? "true" : "false",
4989
- className: cn48(
5050
+ className: cn49(
4990
5051
  "mosaic-nav-drawer",
4991
5052
  "fixed inset-y-0 left-0 z-50 m-0 w-[280px] max-h-none h-full p-0",
4992
5053
  "border-r border-border bg-background shadow-xl",
@@ -5003,7 +5064,7 @@ function MosaicMainNav({
5003
5064
  {
5004
5065
  type: "button",
5005
5066
  onClick: () => setIsOpen(false),
5006
- className: cn48(
5067
+ className: cn49(
5007
5068
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
5008
5069
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
5009
5070
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5016,7 +5077,7 @@ function MosaicMainNav({
5016
5077
  /* @__PURE__ */ jsxRuntime.jsx("nav", { className: "flex flex-col gap-1 p-4", "aria-label": "Main navigation", children: filteredItems.map((item) => {
5017
5078
  const Icon = item.icon;
5018
5079
  const active = isItemActive(item);
5019
- const itemClass = cn48(
5080
+ const itemClass = cn49(
5020
5081
  "flex items-center gap-3 rounded-lg px-3 py-3 text-sm font-medium transition-colors",
5021
5082
  "hover:bg-accent hover:text-accent-foreground",
5022
5083
  "min-h-[44px]",
@@ -5042,12 +5103,12 @@ function MosaicMainNav({
5042
5103
  "nav",
5043
5104
  {
5044
5105
  "data-slot": "main-nav",
5045
- className: cn48("flex items-center gap-1", className),
5106
+ className: cn49("flex items-center gap-1", className),
5046
5107
  "aria-label": "Main navigation",
5047
5108
  children: filteredItems.map((item) => {
5048
5109
  const Icon = item.icon;
5049
5110
  const active = isItemActive(item);
5050
- const itemClass = cn48(
5111
+ const itemClass = cn49(
5051
5112
  "flex items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
5052
5113
  "hover:bg-accent hover:text-accent-foreground",
5053
5114
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -5067,7 +5128,7 @@ function MosaicMainNav({
5067
5128
  );
5068
5129
  }
5069
5130
  MosaicMainNav.displayName = "MosaicMainNav";
5070
- function cn49(...classes) {
5131
+ function cn50(...classes) {
5071
5132
  return classes.filter(Boolean).join(" ");
5072
5133
  }
5073
5134
  function MoreVertIcon() {
@@ -5198,7 +5259,7 @@ function MosaicAgentCard({
5198
5259
  "div",
5199
5260
  {
5200
5261
  "data-slot": "agent-card",
5201
- className: cn49(
5262
+ className: cn50(
5202
5263
  "relative overflow-hidden rounded-lg border border-border bg-card text-card-foreground shadow-sm",
5203
5264
  "transition-shadow hover:shadow-md",
5204
5265
  agent.isActive && "ring-2 ring-primary",
@@ -5208,7 +5269,7 @@ function MosaicAgentCard({
5208
5269
  /* @__PURE__ */ jsxRuntime.jsx(
5209
5270
  "div",
5210
5271
  {
5211
- className: cn49(
5272
+ className: cn50(
5212
5273
  "absolute left-0 top-0 h-1 w-full",
5213
5274
  agent.isActive ? "bg-primary" : "bg-muted"
5214
5275
  )
@@ -5220,7 +5281,7 @@ function MosaicAgentCard({
5220
5281
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
5221
5282
  "span",
5222
5283
  {
5223
- className: cn49("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5284
+ className: cn50("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5224
5285
  "aria-hidden": "true"
5225
5286
  }
5226
5287
  ),
@@ -5238,7 +5299,7 @@ function MosaicAgentCard({
5238
5299
  {
5239
5300
  type: "button",
5240
5301
  onClick: () => setMenuOpen((v) => !v),
5241
- className: cn49(
5302
+ className: cn50(
5242
5303
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
5243
5304
  "text-muted-foreground hover:bg-accent hover:text-accent-foreground",
5244
5305
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5253,7 +5314,7 @@ function MosaicAgentCard({
5253
5314
  "div",
5254
5315
  {
5255
5316
  role: "menu",
5256
- className: cn49(
5317
+ className: cn50(
5257
5318
  "absolute right-0 top-full z-50 mt-1 min-w-[140px] rounded-md border border-border",
5258
5319
  "bg-popover py-1 shadow-md"
5259
5320
  ),
@@ -5268,7 +5329,7 @@ function MosaicAgentCard({
5268
5329
  onToggleStatus(agent.id);
5269
5330
  setMenuOpen(false);
5270
5331
  },
5271
- className: cn49(
5332
+ className: cn50(
5272
5333
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
5273
5334
  "hover:bg-accent hover:text-accent-foreground",
5274
5335
  "disabled:pointer-events-none disabled:opacity-50"
@@ -5330,7 +5391,7 @@ function MosaicAgentCard({
5330
5391
  type: "button",
5331
5392
  disabled: isLoading,
5332
5393
  onClick: () => onToggleStatus(agent.id),
5333
- className: cn49(
5394
+ className: cn50(
5334
5395
  "inline-flex h-7 items-center justify-center rounded-md px-3 text-xs font-medium",
5335
5396
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
5336
5397
  "disabled:pointer-events-none disabled:opacity-50",
@@ -5346,7 +5407,7 @@ function MosaicAgentCard({
5346
5407
  );
5347
5408
  }
5348
5409
  MosaicAgentCard.displayName = "MosaicAgentCard";
5349
- function cn50(...classes) {
5410
+ function cn51(...classes) {
5350
5411
  return classes.filter(Boolean).join(" ");
5351
5412
  }
5352
5413
  function PlusIcon3() {
@@ -5426,7 +5487,7 @@ function PickerContent({
5426
5487
  {
5427
5488
  type: "button",
5428
5489
  onClick: () => onAdd(agent.id),
5429
- className: cn50(
5490
+ className: cn51(
5430
5491
  "flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
5431
5492
  "hover:bg-accent hover:text-accent-foreground",
5432
5493
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5435,7 +5496,7 @@ function PickerContent({
5435
5496
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
5436
5497
  "span",
5437
5498
  {
5438
- className: cn50("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5499
+ className: cn51("h-3 w-3 shrink-0 rounded-full", agent.accentColor),
5439
5500
  "aria-hidden": "true"
5440
5501
  }
5441
5502
  ),
@@ -5452,7 +5513,7 @@ function PickerContent({
5452
5513
  {
5453
5514
  type: "button",
5454
5515
  onClick: onOpenBuilder,
5455
- className: cn50(
5516
+ className: cn51(
5456
5517
  "flex w-full items-center gap-3 rounded-lg px-3 py-2.5 text-sm",
5457
5518
  "hover:bg-accent hover:text-accent-foreground",
5458
5519
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5502,11 +5563,11 @@ function MosaicQuickAgentSelector({
5502
5563
  setPickerOpen(false);
5503
5564
  };
5504
5565
  const canAdd = selectedAgents.length < maxAgents;
5505
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-agent-selector", className: cn50("flex items-center gap-2", className), children: [
5566
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-agent-selector", className: cn51("flex items-center gap-2", className), children: [
5506
5567
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex items-center gap-2 overflow-x-auto", children: selectedAgents.map((agent) => /* @__PURE__ */ jsxRuntime.jsxs(
5507
5568
  "div",
5508
5569
  {
5509
- className: cn50(
5570
+ className: cn51(
5510
5571
  "group flex shrink-0 items-center gap-2 rounded-md border border-border bg-card",
5511
5572
  isMobile ? "px-2 py-1" : "px-3 py-1.5"
5512
5573
  ),
@@ -5514,17 +5575,17 @@ function MosaicQuickAgentSelector({
5514
5575
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
5515
5576
  "span",
5516
5577
  {
5517
- className: cn50("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
5578
+ className: cn51("h-2 w-2 shrink-0 rounded-full", agent.accentColor),
5518
5579
  "aria-hidden": "true"
5519
5580
  }
5520
5581
  ),
5521
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn50("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
5582
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn51("whitespace-nowrap font-medium", isMobile ? "text-xs" : "text-sm"), children: isMobile ? agent.type.split("-")[0] : agent.name }),
5522
5583
  /* @__PURE__ */ jsxRuntime.jsx(
5523
5584
  "button",
5524
5585
  {
5525
5586
  type: "button",
5526
5587
  onClick: () => onRemoveAgent(agent.id),
5527
- className: cn50(
5588
+ className: cn51(
5528
5589
  "inline-flex h-4 w-4 items-center justify-center rounded",
5529
5590
  "text-muted-foreground hover:text-foreground",
5530
5591
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -5544,7 +5605,7 @@ function MosaicQuickAgentSelector({
5544
5605
  {
5545
5606
  type: "button",
5546
5607
  onClick: () => setPickerOpen((v) => !v),
5547
- className: cn50(
5608
+ className: cn51(
5548
5609
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
5549
5610
  "px-3 py-1.5 text-sm font-medium text-foreground",
5550
5611
  "hover:bg-accent hover:text-accent-foreground",
@@ -5559,7 +5620,7 @@ function MosaicQuickAgentSelector({
5559
5620
  !isMobile && pickerOpen && /* @__PURE__ */ jsxRuntime.jsx(
5560
5621
  "div",
5561
5622
  {
5562
- className: cn50(
5623
+ className: cn51(
5563
5624
  "absolute left-0 top-full z-50 mt-2 w-72 rounded-lg border border-border",
5564
5625
  "bg-popover shadow-lg"
5565
5626
  ),
@@ -5601,7 +5662,7 @@ function MosaicQuickAgentSelector({
5601
5662
  /* @__PURE__ */ jsxRuntime.jsxs(
5602
5663
  "span",
5603
5664
  {
5604
- className: cn50(
5665
+ className: cn51(
5605
5666
  "shrink-0 rounded-md bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground"
5606
5667
  ),
5607
5668
  children: [
@@ -5614,7 +5675,7 @@ function MosaicQuickAgentSelector({
5614
5675
  ] });
5615
5676
  }
5616
5677
  MosaicQuickAgentSelector.displayName = "MosaicQuickAgentSelector";
5617
- function cn51(...classes) {
5678
+ function cn52(...classes) {
5618
5679
  return classes.filter(Boolean).join(" ");
5619
5680
  }
5620
5681
  function SearchIcon() {
@@ -5704,7 +5765,7 @@ function MosaicSelectorModal({
5704
5765
  value: query,
5705
5766
  onChange: (e) => setQuery(e.target.value),
5706
5767
  placeholder: searchPlaceholder,
5707
- className: cn51(
5768
+ className: cn52(
5708
5769
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
5709
5770
  "text-sm text-foreground placeholder:text-muted-foreground",
5710
5771
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -5718,7 +5779,7 @@ function MosaicSelectorModal({
5718
5779
  {
5719
5780
  type: "button",
5720
5781
  onClick: () => setActiveCategory("all"),
5721
- className: cn51(
5782
+ className: cn52(
5722
5783
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5723
5784
  activeCategory === "all" ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5724
5785
  ),
@@ -5730,7 +5791,7 @@ function MosaicSelectorModal({
5730
5791
  {
5731
5792
  type: "button",
5732
5793
  onClick: () => setActiveCategory(cat.id),
5733
- className: cn51(
5794
+ className: cn52(
5734
5795
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
5735
5796
  activeCategory === cat.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
5736
5797
  ),
@@ -5742,7 +5803,7 @@ function MosaicSelectorModal({
5742
5803
  /* @__PURE__ */ jsxRuntime.jsxs(
5743
5804
  "div",
5744
5805
  {
5745
- className: cn51(
5806
+ className: cn52(
5746
5807
  "max-h-[50vh] overflow-y-auto",
5747
5808
  columns === 2 ? "grid grid-cols-1 gap-3 sm:grid-cols-2" : "flex flex-col gap-3"
5748
5809
  ),
@@ -5754,7 +5815,7 @@ function MosaicSelectorModal({
5754
5815
  {
5755
5816
  type: "button",
5756
5817
  onClick: () => setPendingId(item.id),
5757
- className: cn51(
5818
+ className: cn52(
5758
5819
  "group relative rounded-lg border p-4 text-left transition-all duration-150",
5759
5820
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
5760
5821
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50"
@@ -5792,7 +5853,7 @@ function MosaicSelectorModal({
5792
5853
  {
5793
5854
  type: "button",
5794
5855
  onClick: onClose,
5795
- className: cn51(
5856
+ className: cn52(
5796
5857
  "inline-flex min-h-[44px] items-center justify-center rounded-md border border-border",
5797
5858
  "bg-background px-4 py-2 text-sm font-medium text-foreground",
5798
5859
  "hover:bg-accent hover:text-accent-foreground",
@@ -5807,7 +5868,7 @@ function MosaicSelectorModal({
5807
5868
  type: "button",
5808
5869
  onClick: handleConfirm,
5809
5870
  disabled: !pendingItem,
5810
- className: cn51(
5871
+ className: cn52(
5811
5872
  "inline-flex min-h-[44px] items-center justify-center rounded-md",
5812
5873
  "bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
5813
5874
  "hover:bg-primary/90",
@@ -5821,7 +5882,7 @@ function MosaicSelectorModal({
5821
5882
  ] }) });
5822
5883
  }
5823
5884
  MosaicSelectorModal.displayName = "MosaicSelectorModal";
5824
- function cn52(...classes) {
5885
+ function cn53(...classes) {
5825
5886
  return classes.filter(Boolean).join(" ");
5826
5887
  }
5827
5888
  function relativeTime(ts) {
@@ -6070,7 +6131,7 @@ function MosaicMessageCard({
6070
6131
  "div",
6071
6132
  {
6072
6133
  "data-slot": "message-card",
6073
- className: cn52(
6134
+ className: cn53(
6074
6135
  "rounded-lg border border-border bg-card p-4 shadow-sm transition-shadow hover:shadow-md",
6075
6136
  compact && "p-3",
6076
6137
  message.sender.type === "user" && "bg-primary/5",
@@ -6080,7 +6141,7 @@ function MosaicMessageCard({
6080
6141
  /* @__PURE__ */ jsxRuntime.jsx(
6081
6142
  "span",
6082
6143
  {
6083
- className: cn52(
6144
+ className: cn53(
6084
6145
  "inline-flex shrink-0 items-center justify-center rounded-full text-white font-semibold",
6085
6146
  compact ? "h-8 w-8 text-xs" : "h-10 w-10 text-sm",
6086
6147
  message.sender.accentColor ?? "bg-muted text-muted-foreground"
@@ -6098,7 +6159,7 @@ function MosaicMessageCard({
6098
6159
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
6099
6160
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between gap-2", children: [
6100
6161
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
6101
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn52("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
6162
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn53("font-medium", compact ? "text-sm" : "text-base"), children: message.sender.name }),
6102
6163
  message.sender.type === "ai" && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "rounded-full bg-secondary px-2 py-0.5 text-xs font-medium text-secondary-foreground", children: "AI" })
6103
6164
  ] }),
6104
6165
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 text-xs text-muted-foreground", children: relativeTime(message.timestamp) })
@@ -6106,7 +6167,7 @@ function MosaicMessageCard({
6106
6167
  /* @__PURE__ */ jsxRuntime.jsx(
6107
6168
  "p",
6108
6169
  {
6109
- className: cn52(
6170
+ className: cn53(
6110
6171
  "leading-relaxed text-foreground mb-3",
6111
6172
  compact ? "text-sm" : "text-base"
6112
6173
  ),
@@ -6121,7 +6182,7 @@ function MosaicMessageCard({
6121
6182
  {
6122
6183
  type: "button",
6123
6184
  onClick: handleLike,
6124
- className: cn52(
6185
+ className: cn53(
6125
6186
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
6126
6187
  "hover:bg-accent hover:text-accent-foreground",
6127
6188
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -6139,7 +6200,7 @@ function MosaicMessageCard({
6139
6200
  {
6140
6201
  type: "button",
6141
6202
  onClick: handleDislike,
6142
- className: cn52(
6203
+ className: cn53(
6143
6204
  "inline-flex h-8 items-center gap-1 rounded-md px-2 text-xs",
6144
6205
  "hover:bg-accent hover:text-accent-foreground",
6145
6206
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -6184,7 +6245,7 @@ function MosaicMessageCard({
6184
6245
  {
6185
6246
  type: "button",
6186
6247
  onClick: handleBookmark,
6187
- className: cn52(
6248
+ className: cn53(
6188
6249
  "inline-flex h-8 w-8 items-center justify-center rounded-md",
6189
6250
  "hover:bg-accent hover:text-accent-foreground",
6190
6251
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
@@ -6285,7 +6346,7 @@ function MosaicMessageCard({
6285
6346
  );
6286
6347
  }
6287
6348
  MosaicMessageCard.displayName = "MosaicMessageCard";
6288
- function cn53(...classes) {
6349
+ function cn54(...classes) {
6289
6350
  return classes.filter(Boolean).join(" ");
6290
6351
  }
6291
6352
  function SearchIcon2() {
@@ -6325,7 +6386,7 @@ function MessageListDesktop({
6325
6386
  const filtered = query ? messages.filter(
6326
6387
  (m) => m.content.toLowerCase().includes(query.toLowerCase()) || m.sender.name.toLowerCase().includes(query.toLowerCase())
6327
6388
  ) : messages;
6328
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn53("flex h-full flex-col", className), children: [
6389
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-desktop", className: cn54("flex h-full flex-col", className), children: [
6329
6390
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between border-b border-border px-6 py-4", children: [
6330
6391
  title && /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-lg font-semibold", children: title }),
6331
6392
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative ml-auto max-w-xs flex-1", children: [
@@ -6337,7 +6398,7 @@ function MessageListDesktop({
6337
6398
  value: query,
6338
6399
  onChange: (e) => setQuery(e.target.value),
6339
6400
  placeholder: "Search messages\u2026",
6340
- className: cn53(
6401
+ className: cn54(
6341
6402
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6342
6403
  "text-sm placeholder:text-muted-foreground",
6343
6404
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6366,7 +6427,7 @@ function MessageListDesktop({
6366
6427
  {
6367
6428
  type: "button",
6368
6429
  onClick: onLoadMore,
6369
- className: cn53(
6430
+ className: cn54(
6370
6431
  "w-full rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
6371
6432
  "hover:bg-accent hover:text-accent-foreground",
6372
6433
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6388,7 +6449,7 @@ function MessageListMobile({
6388
6449
  isLoading,
6389
6450
  className
6390
6451
  }) {
6391
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn53("flex flex-col", className), children: [
6452
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "message-list-mobile", className: cn54("flex flex-col", className), children: [
6392
6453
  title && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "sticky top-0 z-10 border-b border-border bg-background px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx("h2", { className: "text-base font-semibold", children: title }) }),
6393
6454
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-3 p-4", children: [
6394
6455
  isLoading && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: [0, 1, 2].map((i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-20 animate-pulse rounded-lg bg-muted" }, i)) }),
@@ -6411,7 +6472,7 @@ function MessageListMobile({
6411
6472
  {
6412
6473
  type: "button",
6413
6474
  onClick: onLoadMore,
6414
- className: cn53(
6475
+ className: cn54(
6415
6476
  "w-full min-h-[44px] rounded-md border border-border bg-background px-4 py-2 text-sm font-medium",
6416
6477
  "hover:bg-accent hover:text-accent-foreground",
6417
6478
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6426,7 +6487,7 @@ function MosaicMessageList(props) {
6426
6487
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MessageListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MessageListDesktop, { ...props });
6427
6488
  }
6428
6489
  MosaicMessageList.displayName = "MosaicMessageList";
6429
- function cn54(...classes) {
6490
+ function cn55(...classes) {
6430
6491
  return classes.filter(Boolean).join(" ");
6431
6492
  }
6432
6493
  function ChevronLeftIcon2() {
@@ -6502,7 +6563,7 @@ function MosaicFilterSidebar({
6502
6563
  {
6503
6564
  "data-slot": "filter-sidebar",
6504
6565
  style: { width, minWidth: isCollapsed && !isMobile ? "64px" : void 0 },
6505
- className: cn54(
6566
+ className: cn55(
6506
6567
  "relative flex flex-col border-r border-border bg-card",
6507
6568
  "transition-[width] duration-200 ease-in-out",
6508
6569
  "overflow-hidden",
@@ -6514,7 +6575,7 @@ function MosaicFilterSidebar({
6514
6575
  {
6515
6576
  type: "button",
6516
6577
  onClick: onToggleCollapse,
6517
- className: cn54(
6578
+ className: cn55(
6518
6579
  "absolute -right-3 top-6 z-10 flex h-6 w-6 items-center justify-center rounded-full",
6519
6580
  "border border-border bg-background shadow-sm",
6520
6581
  "hover:bg-accent hover:text-accent-foreground",
@@ -6544,7 +6605,7 @@ function MosaicFilterSidebar({
6544
6605
  {
6545
6606
  type: "button",
6546
6607
  onClick: () => onFilterChange(f.id),
6547
- className: cn54(
6608
+ className: cn55(
6548
6609
  "flex min-h-[40px] items-center justify-between rounded-md px-3 py-2 text-sm font-medium",
6549
6610
  "transition-colors hover:bg-accent hover:text-accent-foreground",
6550
6611
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6564,7 +6625,7 @@ function MosaicFilterSidebar({
6564
6625
  {
6565
6626
  type: "button",
6566
6627
  onClick: () => onCategoryChange(cat.id),
6567
- className: cn54(
6628
+ className: cn55(
6568
6629
  "flex min-h-[36px] items-center justify-between rounded-md px-3 py-1.5 text-sm",
6569
6630
  "transition-colors hover:bg-accent hover:text-accent-foreground",
6570
6631
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -6584,7 +6645,7 @@ function MosaicFilterSidebar({
6584
6645
  );
6585
6646
  }
6586
6647
  MosaicFilterSidebar.displayName = "MosaicFilterSidebar";
6587
- function cn55(...classes) {
6648
+ function cn56(...classes) {
6588
6649
  return classes.filter(Boolean).join(" ");
6589
6650
  }
6590
6651
  function SearchIcon3() {
@@ -6699,7 +6760,7 @@ function AgentListDesktop({
6699
6760
  value: query,
6700
6761
  onChange: (e) => setQuery(e.target.value),
6701
6762
  placeholder: searchPlaceholder,
6702
- className: cn55(
6763
+ className: cn56(
6703
6764
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6704
6765
  "text-sm placeholder:text-muted-foreground",
6705
6766
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6712,7 +6773,7 @@ function AgentListDesktop({
6712
6773
  {
6713
6774
  type: "button",
6714
6775
  onClick: onCreateAgent,
6715
- className: cn55(
6776
+ className: cn56(
6716
6777
  "inline-flex items-center gap-2 rounded-md bg-primary px-4 py-2 text-sm font-medium text-primary-foreground",
6717
6778
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
6718
6779
  ),
@@ -6771,7 +6832,7 @@ function AgentListMobile({
6771
6832
  {
6772
6833
  type: "button",
6773
6834
  onClick: () => setFilterOpen(true),
6774
- className: cn55(
6835
+ className: cn56(
6775
6836
  "inline-flex h-9 w-9 items-center justify-center rounded-md",
6776
6837
  "border border-border bg-background text-foreground",
6777
6838
  "hover:bg-accent hover:text-accent-foreground",
@@ -6786,7 +6847,7 @@ function AgentListMobile({
6786
6847
  {
6787
6848
  type: "button",
6788
6849
  onClick: onCreateAgent,
6789
- className: cn55(
6850
+ className: cn56(
6790
6851
  "inline-flex h-9 items-center gap-1.5 rounded-md bg-primary px-3 text-sm font-medium text-primary-foreground",
6791
6852
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
6792
6853
  ),
@@ -6807,7 +6868,7 @@ function AgentListMobile({
6807
6868
  value: query,
6808
6869
  onChange: (e) => setQuery(e.target.value),
6809
6870
  placeholder: searchPlaceholder,
6810
- className: cn55(
6871
+ className: cn56(
6811
6872
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
6812
6873
  "text-sm placeholder:text-muted-foreground",
6813
6874
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -6855,7 +6916,7 @@ function MosaicAgentList(props) {
6855
6916
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(AgentListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(AgentListDesktop, { ...props });
6856
6917
  }
6857
6918
  MosaicAgentList.displayName = "MosaicAgentList";
6858
- function cn56(...classes) {
6919
+ function cn57(...classes) {
6859
6920
  return classes.filter(Boolean).join(" ");
6860
6921
  }
6861
6922
  function StarIcon({ filled }) {
@@ -6951,7 +7012,7 @@ function MarketplaceCard({
6951
7012
  "div",
6952
7013
  {
6953
7014
  "data-slot": "marketplace-card",
6954
- className: cn56(
7015
+ className: cn57(
6955
7016
  "rounded-lg border border-border bg-card p-4 transition-shadow hover:shadow-md",
6956
7017
  compact ? "flex items-center gap-3" : "flex flex-col gap-3"
6957
7018
  ),
@@ -6959,7 +7020,7 @@ function MarketplaceCard({
6959
7020
  item.icon && /* @__PURE__ */ jsxRuntime.jsx(
6960
7021
  "div",
6961
7022
  {
6962
- className: cn56(
7023
+ className: cn57(
6963
7024
  "flex shrink-0 items-center justify-center rounded-lg",
6964
7025
  compact ? "h-10 w-10" : "h-12 w-12",
6965
7026
  item.accentClass ?? "bg-muted text-muted-foreground"
@@ -6970,7 +7031,7 @@ function MarketplaceCard({
6970
7031
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 min-w-0", children: [
6971
7032
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-2", children: [
6972
7033
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
6973
- /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn56("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
7034
+ /* @__PURE__ */ jsxRuntime.jsx("p", { className: cn57("font-semibold leading-tight", compact ? "text-sm" : "text-base"), children: item.title }),
6974
7035
  item.description && !compact && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-1 text-sm text-muted-foreground line-clamp-2", children: item.description })
6975
7036
  ] }),
6976
7037
  item.price && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "shrink-0 rounded-full bg-muted px-2 py-0.5 text-xs font-medium text-muted-foreground", children: item.price })
@@ -6987,13 +7048,13 @@ function MarketplaceCard({
6987
7048
  ] })
6988
7049
  ] })
6989
7050
  ] }),
6990
- /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn56("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
7051
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: cn57("flex gap-2", compact ? "shrink-0" : "mt-1"), children: [
6991
7052
  onPreview && /* @__PURE__ */ jsxRuntime.jsx(
6992
7053
  "button",
6993
7054
  {
6994
7055
  type: "button",
6995
7056
  onClick: () => onPreview(item.id),
6996
- className: cn56(
7057
+ className: cn57(
6997
7058
  "inline-flex min-h-[36px] items-center justify-center rounded-md border border-border",
6998
7059
  "bg-background px-3 text-xs font-medium text-foreground",
6999
7060
  "hover:bg-accent hover:text-accent-foreground",
@@ -7007,7 +7068,7 @@ function MarketplaceCard({
7007
7068
  {
7008
7069
  type: "button",
7009
7070
  onClick: () => onUninstall(item.id),
7010
- className: cn56(
7071
+ className: cn57(
7011
7072
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
7012
7073
  "bg-secondary px-3 text-xs font-medium text-secondary-foreground",
7013
7074
  "hover:bg-secondary/80",
@@ -7020,7 +7081,7 @@ function MarketplaceCard({
7020
7081
  {
7021
7082
  type: "button",
7022
7083
  onClick: () => onInstall(item.id),
7023
- className: cn56(
7084
+ className: cn57(
7024
7085
  "inline-flex min-h-[36px] items-center justify-center rounded-md",
7025
7086
  "bg-primary px-3 text-xs font-medium text-primary-foreground",
7026
7087
  "hover:bg-primary/90",
@@ -7082,7 +7143,7 @@ function MarketplaceListDesktop(props) {
7082
7143
  value: query,
7083
7144
  onChange: (e) => setQuery(e.target.value),
7084
7145
  placeholder: searchPlaceholder,
7085
- className: cn56(
7146
+ className: cn57(
7086
7147
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7087
7148
  "text-sm placeholder:text-muted-foreground",
7088
7149
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7155,7 +7216,7 @@ function MarketplaceListMobile(props) {
7155
7216
  value: query,
7156
7217
  onChange: (e) => setQuery(e.target.value),
7157
7218
  placeholder: searchPlaceholder,
7158
- className: cn56(
7219
+ className: cn57(
7159
7220
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
7160
7221
  "text-sm placeholder:text-muted-foreground",
7161
7222
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7206,7 +7267,7 @@ function MosaicMarketplaceList(props) {
7206
7267
  return isMobile ? /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListMobile, { ...props }) : /* @__PURE__ */ jsxRuntime.jsx(MarketplaceListDesktop, { ...props });
7207
7268
  }
7208
7269
  MosaicMarketplaceList.displayName = "MosaicMarketplaceList";
7209
- function cn57(...classes) {
7270
+ function cn58(...classes) {
7210
7271
  return classes.filter(Boolean).join(" ");
7211
7272
  }
7212
7273
  function StarIcon2() {
@@ -7325,7 +7386,7 @@ function MosaicTemplateCard({
7325
7386
  type: "button",
7326
7387
  onClick: () => onSelect(template),
7327
7388
  "data-slot": "template-card",
7328
- className: cn57(
7389
+ className: cn58(
7329
7390
  "w-full text-left rounded-lg border transition-all duration-200",
7330
7391
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
7331
7392
  isSelected ? "border-primary bg-primary/5 ring-2 ring-primary" : "border-border bg-card hover:border-primary/50",
@@ -7425,7 +7486,7 @@ function MosaicTemplatePreview({
7425
7486
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
7426
7487
  "span",
7427
7488
  {
7428
- className: cn57("h-2 w-2 rounded-full", agent.accentColor),
7489
+ className: cn58("h-2 w-2 rounded-full", agent.accentColor),
7429
7490
  "aria-hidden": "true"
7430
7491
  }
7431
7492
  ),
@@ -7485,7 +7546,7 @@ function MosaicAgentTeamPreview({ agents, label }) {
7485
7546
  agent.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
7486
7547
  "span",
7487
7548
  {
7488
- className: cn57("h-2.5 w-2.5 rounded-full", agent.accentColor),
7549
+ className: cn58("h-2.5 w-2.5 rounded-full", agent.accentColor),
7489
7550
  "aria-hidden": "true"
7490
7551
  }
7491
7552
  ),
@@ -7509,7 +7570,7 @@ function MosaicQuickStartPanel({
7509
7570
  scratchLabel = "Start from Scratch",
7510
7571
  className
7511
7572
  }) {
7512
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn57("flex flex-col gap-6", className), children: [
7573
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "quick-start-panel", className: cn58("flex flex-col gap-6", className), children: [
7513
7574
  scenarios.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
7514
7575
  /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-3 text-sm font-semibold text-foreground", children: scenariosTitle }),
7515
7576
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid gap-3 sm:grid-cols-2", children: scenarios.map((scenario) => /* @__PURE__ */ jsxRuntime.jsxs(
@@ -7517,7 +7578,7 @@ function MosaicQuickStartPanel({
7517
7578
  {
7518
7579
  type: "button",
7519
7580
  onClick: () => onSelectScenario(scenario),
7520
- className: cn57(
7581
+ className: cn58(
7521
7582
  "flex items-start gap-3 rounded-lg border border-border bg-card p-4 text-left",
7522
7583
  "hover:border-primary/50 hover:bg-primary/5",
7523
7584
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -7549,7 +7610,7 @@ function MosaicQuickStartPanel({
7549
7610
  {
7550
7611
  type: "button",
7551
7612
  onClick: () => onSelectPreset(preset),
7552
- className: cn57(
7613
+ className: cn58(
7553
7614
  "flex items-center justify-between gap-3 rounded-lg border border-border bg-card px-4 py-3 text-left",
7554
7615
  "hover:border-primary/50",
7555
7616
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
@@ -7563,7 +7624,7 @@ function MosaicQuickStartPanel({
7563
7624
  a.accentColor && /* @__PURE__ */ jsxRuntime.jsx(
7564
7625
  "span",
7565
7626
  {
7566
- className: cn57("h-2 w-2 rounded-full", a.accentColor),
7627
+ className: cn58("h-2 w-2 rounded-full", a.accentColor),
7567
7628
  "aria-hidden": "true"
7568
7629
  }
7569
7630
  ),
@@ -7581,7 +7642,7 @@ function MosaicQuickStartPanel({
7581
7642
  {
7582
7643
  type: "button",
7583
7644
  onClick: onStartFromScratch,
7584
- className: cn57(
7645
+ className: cn58(
7585
7646
  "inline-flex min-h-[44px] w-full items-center justify-center rounded-md border border-border",
7586
7647
  "bg-background px-4 text-sm font-medium text-foreground",
7587
7648
  "hover:bg-accent hover:text-accent-foreground",
@@ -7661,7 +7722,7 @@ function TemplateGalleryContent({
7661
7722
  value: query,
7662
7723
  onChange: (e) => setQuery(e.target.value),
7663
7724
  placeholder: searchPlaceholder,
7664
- className: cn57(
7725
+ className: cn58(
7665
7726
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7666
7727
  )
7667
7728
  }
@@ -7709,7 +7770,7 @@ function TemplateGalleryContent({
7709
7770
  value: query,
7710
7771
  onChange: (e) => setQuery(e.target.value),
7711
7772
  placeholder: searchPlaceholder,
7712
- className: cn57(
7773
+ className: cn58(
7713
7774
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3 text-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7714
7775
  )
7715
7776
  }
@@ -7739,7 +7800,7 @@ function MosaicTemplateGallery(props) {
7739
7800
  return /* @__PURE__ */ jsxRuntime.jsx(TemplateGalleryContent, { ...props, isMobile });
7740
7801
  }
7741
7802
  MosaicTemplateGallery.displayName = "MosaicTemplateGallery";
7742
- function cn58(...classes) {
7803
+ function cn59(...classes) {
7743
7804
  return classes.filter(Boolean).join(" ");
7744
7805
  }
7745
7806
  function PlusIcon5() {
@@ -7883,7 +7944,7 @@ function MosaicModuleForm({
7883
7944
  onChange: (e) => update("name", e.target.value),
7884
7945
  placeholder: "Module name\u2026",
7885
7946
  required: true,
7886
- className: cn58(
7947
+ className: cn59(
7887
7948
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
7888
7949
  "text-sm placeholder:text-muted-foreground",
7889
7950
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7901,7 +7962,7 @@ function MosaicModuleForm({
7901
7962
  onChange: (e) => update("description", e.target.value),
7902
7963
  placeholder: "Describe this module\u2026",
7903
7964
  rows: 3,
7904
- className: cn58(
7965
+ className: cn59(
7905
7966
  "w-full rounded-md border border-input bg-background px-3 py-2",
7906
7967
  "text-sm placeholder:text-muted-foreground resize-none",
7907
7968
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7923,7 +7984,7 @@ function MosaicModuleForm({
7923
7984
  value: formData[field.id] ?? "",
7924
7985
  onChange: (e) => update(field.id, e.target.value),
7925
7986
  placeholder: field.placeholder,
7926
- className: cn58(
7987
+ className: cn59(
7927
7988
  "w-full rounded-md border border-input bg-background px-3 py-2 min-h-[40px]",
7928
7989
  "text-sm placeholder:text-muted-foreground",
7929
7990
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7938,7 +7999,7 @@ function MosaicModuleForm({
7938
7999
  onChange: (e) => update(field.id, e.target.value),
7939
8000
  placeholder: field.placeholder,
7940
8001
  rows: 3,
7941
- className: cn58(
8002
+ className: cn59(
7942
8003
  "w-full rounded-md border border-input bg-background px-3 py-2",
7943
8004
  "text-sm placeholder:text-muted-foreground resize-none",
7944
8005
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -7954,7 +8015,7 @@ function MosaicModuleForm({
7954
8015
  onChange: (e) => update(field.id, e.target.value),
7955
8016
  placeholder: field.placeholder ?? "\u{1F9E0}",
7956
8017
  maxLength: 4,
7957
- className: cn58(
8018
+ className: cn59(
7958
8019
  "w-20 rounded-md border border-input bg-background px-3 py-2 text-2xl",
7959
8020
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
7960
8021
  )
@@ -7975,7 +8036,7 @@ function MosaicModuleForm({
7975
8036
  }
7976
8037
  },
7977
8038
  placeholder: field.placeholder ?? "Add item\u2026",
7978
- className: cn58(
8039
+ className: cn59(
7979
8040
  "flex-1 rounded-md border border-input bg-background px-3 py-2 min-h-[36px]",
7980
8041
  "text-sm placeholder:text-muted-foreground",
7981
8042
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8171,7 +8232,7 @@ function LibraryContent({
8171
8232
  {
8172
8233
  type: "button",
8173
8234
  onClick: openCreate,
8174
- className: cn58(
8235
+ className: cn59(
8175
8236
  "inline-flex items-center gap-2 rounded-md bg-primary px-3 py-2 text-sm font-medium text-primary-foreground",
8176
8237
  "hover:bg-primary/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
8177
8238
  ),
@@ -8191,7 +8252,7 @@ function LibraryContent({
8191
8252
  value: query,
8192
8253
  onChange: (e) => setQuery(e.target.value),
8193
8254
  placeholder: searchPlaceholder,
8194
- className: cn58(
8255
+ className: cn59(
8195
8256
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8196
8257
  "text-sm placeholder:text-muted-foreground",
8197
8258
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8204,7 +8265,7 @@ function LibraryContent({
8204
8265
  {
8205
8266
  type: "button",
8206
8267
  onClick: () => setActiveTab(tab.id),
8207
- className: cn58(
8268
+ className: cn59(
8208
8269
  "rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
8209
8270
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
8210
8271
  ),
@@ -8238,7 +8299,7 @@ function MosaicModuleLibrary(props) {
8238
8299
  return /* @__PURE__ */ jsxRuntime.jsx(LibraryContent, { ...props });
8239
8300
  }
8240
8301
  MosaicModuleLibrary.displayName = "MosaicModuleLibrary";
8241
- function cn59(...classes) {
8302
+ function cn60(...classes) {
8242
8303
  return classes.filter(Boolean).join(" ");
8243
8304
  }
8244
8305
  var roleConfig = {
@@ -8265,7 +8326,7 @@ function MosaicOrgRoleBadge({ role, className }) {
8265
8326
  {
8266
8327
  "data-slot": "org-role-badge",
8267
8328
  title: config.description,
8268
- className: cn59(
8329
+ className: cn60(
8269
8330
  "inline-flex items-center rounded-full px-2 py-0.5 text-xs font-medium",
8270
8331
  config.className,
8271
8332
  className
@@ -8282,13 +8343,13 @@ function MosaicMultiOrgIndicator({
8282
8343
  className
8283
8344
  }) {
8284
8345
  if (orgCount <= 1) return null;
8285
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn59("flex items-center gap-2", className), children: [
8346
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "multi-org-indicator", className: cn60("flex items-center gap-2", className), children: [
8286
8347
  onSwitchOrg ? /* @__PURE__ */ jsxRuntime.jsxs(
8287
8348
  "button",
8288
8349
  {
8289
8350
  type: "button",
8290
8351
  onClick: onSwitchOrg,
8291
- className: cn59(
8352
+ className: cn60(
8292
8353
  "inline-flex items-center gap-1.5 rounded-full bg-secondary px-2.5 py-1 text-xs font-medium text-secondary-foreground",
8293
8354
  "hover:bg-secondary/80",
8294
8355
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -8386,7 +8447,7 @@ function MosaicCreateOrgDialog({
8386
8447
  onChange: (e) => setName(e.target.value),
8387
8448
  placeholder: "Acme Inc.",
8388
8449
  required: true,
8389
- className: cn59(
8450
+ className: cn60(
8390
8451
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
8391
8452
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8392
8453
  errors.name ? "border-destructive" : "border-input"
@@ -8406,7 +8467,7 @@ function MosaicCreateOrgDialog({
8406
8467
  onChange: (e) => setSlug(e.target.value),
8407
8468
  placeholder: "acme-inc",
8408
8469
  required: true,
8409
- className: cn59(
8470
+ className: cn60(
8410
8471
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
8411
8472
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8412
8473
  errors.slug ? "border-destructive" : "border-input"
@@ -8503,7 +8564,7 @@ function MosaicInviteMemberDialog({
8503
8564
  onChange: (e) => setEmail(e.target.value),
8504
8565
  placeholder: "colleague@example.com",
8505
8566
  required: true,
8506
- className: cn59(
8567
+ className: cn60(
8507
8568
  "w-full rounded-md border bg-background px-3 py-2 min-h-[40px] text-sm placeholder:text-muted-foreground",
8508
8569
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8509
8570
  errors.email ? "border-destructive" : "border-input"
@@ -8680,7 +8741,7 @@ function MosaicMemberList({
8680
8741
  const filtered = members.filter(
8681
8742
  (m) => !query || m.name.toLowerCase().includes(query.toLowerCase()) || m.email.toLowerCase().includes(query.toLowerCase())
8682
8743
  );
8683
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn59("flex flex-col gap-4", className), children: [
8744
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "member-list", className: cn60("flex flex-col gap-4", className), children: [
8684
8745
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
8685
8746
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex-1", children: [
8686
8747
  /* @__PURE__ */ jsxRuntime.jsx("span", { className: "absolute left-3 top-1/2 -translate-y-1/2 text-muted-foreground", children: /* @__PURE__ */ jsxRuntime.jsxs(
@@ -8773,7 +8834,7 @@ function MosaicOrgPanel({
8773
8834
  const { isMobile } = useDevice();
8774
8835
  const [activeTab, setActiveTab] = React27__namespace.useState(defaultTab ?? tabs[0]?.id ?? "");
8775
8836
  const activeContent = tabs.find((t) => t.id === activeTab)?.content;
8776
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn59("flex h-full flex-col", className), children: [
8837
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "org-panel", className: cn60("flex h-full flex-col", className), children: [
8777
8838
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "border-b border-border px-4 py-4 md:px-6", children: [
8778
8839
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-start justify-between gap-4", children: [
8779
8840
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
@@ -8795,12 +8856,12 @@ function MosaicOrgPanel({
8795
8856
  ] }),
8796
8857
  headerActions
8797
8858
  ] }),
8798
- tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn59("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
8859
+ tabs.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn60("mt-4 flex gap-1", isMobile && "overflow-x-auto"), children: tabs.map((tab) => /* @__PURE__ */ jsxRuntime.jsx(
8799
8860
  "button",
8800
8861
  {
8801
8862
  type: "button",
8802
8863
  onClick: () => setActiveTab(tab.id),
8803
- className: cn59(
8864
+ className: cn60(
8804
8865
  "shrink-0 rounded-md px-3 py-1.5 text-sm font-medium transition-colors",
8805
8866
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
8806
8867
  activeTab === tab.id ? "bg-primary text-primary-foreground" : "bg-muted text-muted-foreground hover:bg-accent hover:text-accent-foreground"
@@ -8814,7 +8875,7 @@ function MosaicOrgPanel({
8814
8875
  ] });
8815
8876
  }
8816
8877
  MosaicOrgPanel.displayName = "MosaicOrgPanel";
8817
- function cn60(...classes) {
8878
+ function cn61(...classes) {
8818
8879
  return classes.filter(Boolean).join(" ");
8819
8880
  }
8820
8881
  var ANIM_ID8 = "mosaic-dashboard-content-kf";
@@ -8851,7 +8912,7 @@ function MosaicDashboardContent({
8851
8912
  "div",
8852
8913
  {
8853
8914
  "data-slot": "dashboard-content",
8854
- className: cn60("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
8915
+ className: cn61("h-full overflow-auto", isMobile ? "p-4" : "p-6", className),
8855
8916
  children: activeView ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mosaic-content-view space-y-6", children: activeView.content }, currentView) : /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "py-12 text-center text-sm text-muted-foreground", children: [
8856
8917
  "View not found: ",
8857
8918
  currentView
@@ -8860,7 +8921,7 @@ function MosaicDashboardContent({
8860
8921
  );
8861
8922
  }
8862
8923
  MosaicDashboardContent.displayName = "MosaicDashboardContent";
8863
- function cn61(...classes) {
8924
+ function cn62(...classes) {
8864
8925
  return classes.filter(Boolean).join(" ");
8865
8926
  }
8866
8927
  var ANIM_ID9 = "mosaic-dashboard-header2-kf";
@@ -8970,16 +9031,16 @@ function MosaicDashboardHeader({
8970
9031
  "header",
8971
9032
  {
8972
9033
  "data-slot": "dashboard-header",
8973
- className: cn61(
9034
+ className: cn62(
8974
9035
  "mosaic-dashboard-header2",
8975
9036
  "sticky top-0 z-40 border-b border-border/50 bg-background/80 backdrop-blur-sm",
8976
9037
  className
8977
9038
  ),
8978
- children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn61(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
9039
+ children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn62(isMobile ? "px-4 py-3" : "container mx-auto px-4 py-4"), children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between gap-4", children: [
8979
9040
  /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-w-0 flex-1 items-center gap-2 md:gap-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
8980
9041
  logoSlot ?? /* @__PURE__ */ jsxRuntime.jsx(SparklesIcon4, {}),
8981
9042
  /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0", children: [
8982
- /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn61("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
9043
+ /* @__PURE__ */ jsxRuntime.jsx("h1", { className: cn62("font-semibold truncate", isMobile ? "text-lg" : "text-xl"), children: title }),
8983
9044
  subtitle && !isMobile && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-muted-foreground truncate", children: subtitle })
8984
9045
  ] })
8985
9046
  ] }) }),
@@ -8992,7 +9053,7 @@ function MosaicDashboardHeader({
8992
9053
  value: searchQuery,
8993
9054
  onChange: handleSearch,
8994
9055
  placeholder: "Search\u2026",
8995
- className: cn61(
9056
+ className: cn62(
8996
9057
  "w-full rounded-md border border-input bg-background py-2 pl-9 pr-3",
8997
9058
  "text-sm placeholder:text-muted-foreground",
8998
9059
  "focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
@@ -9032,7 +9093,7 @@ function MosaicDashboardHeader({
9032
9093
  );
9033
9094
  }
9034
9095
  MosaicDashboardHeader.displayName = "MosaicDashboardHeader";
9035
- function cn62(...classes) {
9096
+ function cn63(...classes) {
9036
9097
  return classes.filter(Boolean).join(" ");
9037
9098
  }
9038
9099
  function ChevronDownIcon4() {
@@ -9113,13 +9174,13 @@ function MosaicOrgSwitcher({
9113
9174
  }, [open]);
9114
9175
  if (!currentOrg && organizations.length === 0 && !onCreateOrg) return null;
9115
9176
  const initials = currentOrg?.name.split(" ").map((n) => n[0]).filter(Boolean).slice(0, 2).join("").toUpperCase() ?? "?";
9116
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn62("relative", className), children: [
9177
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "org-switcher", className: cn63("relative", className), children: [
9117
9178
  /* @__PURE__ */ jsxRuntime.jsxs(
9118
9179
  "button",
9119
9180
  {
9120
9181
  type: "button",
9121
9182
  onClick: () => setOpen((v) => !v),
9122
- className: cn62(
9183
+ className: cn63(
9123
9184
  "inline-flex items-center gap-2 rounded-md border border-border bg-background px-3 py-1.5",
9124
9185
  "text-sm font-medium text-foreground",
9125
9186
  "hover:bg-accent hover:text-accent-foreground",
@@ -9146,7 +9207,7 @@ function MosaicOrgSwitcher({
9146
9207
  {
9147
9208
  role: "menu",
9148
9209
  "aria-label": "Select organization",
9149
- className: cn62(
9210
+ className: cn63(
9150
9211
  "absolute left-0 top-full z-50 mt-1 min-w-[200px] rounded-md border border-border",
9151
9212
  "bg-popover py-1 shadow-md"
9152
9213
  ),
@@ -9161,7 +9222,7 @@ function MosaicOrgSwitcher({
9161
9222
  onSelectOrg?.(org.id);
9162
9223
  setOpen(false);
9163
9224
  },
9164
- className: cn62(
9225
+ className: cn63(
9165
9226
  "flex w-full items-center gap-2.5 px-3 py-2 text-sm text-foreground",
9166
9227
  "hover:bg-accent hover:text-accent-foreground",
9167
9228
  org.id === currentOrgId && "bg-primary/10 text-primary"
@@ -9198,7 +9259,7 @@ function MosaicOrgSwitcher({
9198
9259
  ] });
9199
9260
  }
9200
9261
  MosaicOrgSwitcher.displayName = "MosaicOrgSwitcher";
9201
- function cn63(...classes) {
9262
+ function cn64(...classes) {
9202
9263
  return classes.filter(Boolean).join(" ");
9203
9264
  }
9204
9265
  function PlusIcon7() {
@@ -9242,19 +9303,19 @@ function MosaicQuickActionsMenu({
9242
9303
  document.addEventListener("mousedown", h);
9243
9304
  return () => document.removeEventListener("mousedown", h);
9244
9305
  }, [open]);
9245
- const itemClass = cn63(
9306
+ const itemClass = cn64(
9246
9307
  "flex w-full items-center gap-2 px-3 py-2 text-sm text-foreground",
9247
9308
  "hover:bg-accent hover:text-accent-foreground",
9248
9309
  "focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring",
9249
9310
  "min-h-[44px]"
9250
9311
  );
9251
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn63("relative", className), children: [
9312
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref, "data-slot": "quick-actions-menu", className: cn64("relative", className), children: [
9252
9313
  /* @__PURE__ */ jsxRuntime.jsxs(
9253
9314
  "button",
9254
9315
  {
9255
9316
  type: "button",
9256
9317
  onClick: () => setOpen((v) => !v),
9257
- className: cn63(
9318
+ className: cn64(
9258
9319
  "inline-flex items-center justify-center gap-2 rounded-md border border-border bg-background",
9259
9320
  "min-h-[44px] min-w-[44px] px-3 py-2 text-sm font-medium text-foreground",
9260
9321
  "hover:bg-accent hover:text-accent-foreground",
@@ -9265,7 +9326,7 @@ function MosaicQuickActionsMenu({
9265
9326
  "aria-label": label,
9266
9327
  children: [
9267
9328
  triggerIcon ?? /* @__PURE__ */ jsxRuntime.jsx(PlusIcon7, {}),
9268
- /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn63("hidden md:inline"), children: label })
9329
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: cn64("hidden md:inline"), children: label })
9269
9330
  ]
9270
9331
  }
9271
9332
  ),
@@ -9274,13 +9335,13 @@ function MosaicQuickActionsMenu({
9274
9335
  {
9275
9336
  role: "menu",
9276
9337
  "aria-label": menuTitle,
9277
- className: cn63(
9338
+ className: cn64(
9278
9339
  "absolute right-0 top-full z-50 mt-1 rounded-md border border-border bg-popover py-1 shadow-md",
9279
9340
  isMobile ? "w-[min(90vw,280px)]" : "w-56"
9280
9341
  ),
9281
9342
  children: [
9282
9343
  menuTitle && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-xs font-semibold text-muted-foreground uppercase tracking-wide", children: menuTitle }) }),
9283
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn63(menuTitle && "border-t border-border") }),
9344
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: cn64(menuTitle && "border-t border-border") }),
9284
9345
  actions.map((action) => /* @__PURE__ */ jsxRuntime.jsxs(React27__namespace.Fragment, { children: [
9285
9346
  action.separator && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "my-1 border-t border-border" }),
9286
9347
  action.href && renderLink ? renderLink(
@@ -9810,6 +9871,7 @@ exports.MosaicSelectorModal = MosaicSelectorModal;
9810
9871
  exports.MosaicSeparator = MosaicSeparator;
9811
9872
  exports.MosaicSignInLayout = MosaicSignInLayout;
9812
9873
  exports.MosaicSignUpLayout = MosaicSignUpLayout;
9874
+ exports.MosaicSkeleton = MosaicSkeleton;
9813
9875
  exports.MosaicSlider = MosaicSlider;
9814
9876
  exports.MosaicStatsGrid = MosaicStatsGrid;
9815
9877
  exports.MosaicSwitch = MosaicSwitch;
@@ -9829,6 +9891,7 @@ exports.MosaicUserButton = MosaicUserButton;
9829
9891
  exports.Placeholder = Placeholder;
9830
9892
  exports.badgeVariants = badgeVariants;
9831
9893
  exports.buttonVariants = buttonVariants;
9894
+ exports.skeletonVariants = skeletonVariants;
9832
9895
  exports.useBreakpoint = useBreakpoint;
9833
9896
  exports.useDevice = useDevice;
9834
9897
  exports.useEffectiveWorkspaceId = useMosaicWorkspace;