@riverbankcms/sdk 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/dist/cli/index.js +583 -147
  2. package/dist/cli/index.js.map +1 -1
  3. package/dist/client/client.d.mts +2 -2
  4. package/dist/client/client.d.ts +2 -2
  5. package/dist/client/client.js +126 -30
  6. package/dist/client/client.js.map +1 -1
  7. package/dist/client/client.mjs +126 -30
  8. package/dist/client/client.mjs.map +1 -1
  9. package/dist/client/hooks.d.mts +2 -2
  10. package/dist/client/hooks.d.ts +2 -2
  11. package/dist/client/hooks.js +34 -20
  12. package/dist/client/hooks.js.map +1 -1
  13. package/dist/client/hooks.mjs +34 -20
  14. package/dist/client/hooks.mjs.map +1 -1
  15. package/dist/client/rendering/client.js +182 -123
  16. package/dist/client/rendering/client.js.map +1 -1
  17. package/dist/client/rendering/client.mjs +174 -109
  18. package/dist/client/rendering/client.mjs.map +1 -1
  19. package/dist/client/usePage-Dsi39Exp.d.ts +6915 -0
  20. package/dist/client/usePage-Im82JRRe.d.mts +6915 -0
  21. package/dist/server/{Layout-l2v4Qa6E.d.ts → Layout-CZ-kxKfl.d.ts} +1 -1
  22. package/dist/server/{Layout-D4J009eS.d.mts → Layout-ESG8zvrk.d.mts} +1 -1
  23. package/dist/server/{chunk-4YQJUL5W.mjs → chunk-5GCSRTIU.mjs} +8 -4
  24. package/dist/server/chunk-5GCSRTIU.mjs.map +1 -0
  25. package/dist/server/{chunk-YYO3RIFO.js → chunk-6ERSDFTY.js} +35 -21
  26. package/dist/server/chunk-6ERSDFTY.js.map +1 -0
  27. package/dist/server/{chunk-YXA4GAAQ.mjs → chunk-6VTKALLN.mjs} +2 -6
  28. package/dist/server/{chunk-YXA4GAAQ.mjs.map → chunk-6VTKALLN.mjs.map} +1 -1
  29. package/dist/server/{chunk-BYBJA6SP.mjs → chunk-A3UZ2LDH.mjs} +35 -21
  30. package/dist/server/chunk-A3UZ2LDH.mjs.map +1 -0
  31. package/dist/server/{chunk-OSF34JTQ.mjs → chunk-ADD3O2QO.mjs} +4 -4
  32. package/dist/server/{chunk-C6FIJC7T.mjs → chunk-BNHK7YOC.mjs} +2 -2
  33. package/dist/server/{chunk-TT5JWA4X.js → chunk-DAXWU3S3.js} +9 -9
  34. package/dist/server/{chunk-TT5JWA4X.js.map → chunk-DAXWU3S3.js.map} +1 -1
  35. package/dist/server/{chunk-7UPVCT3K.js → chunk-F2NDLDDA.js} +239 -154
  36. package/dist/server/chunk-F2NDLDDA.js.map +1 -0
  37. package/dist/server/{chunk-LNOUXALA.mjs → chunk-FUFPKTSI.mjs} +96 -11
  38. package/dist/server/chunk-FUFPKTSI.mjs.map +1 -0
  39. package/dist/server/{chunk-65A5HAUZ.mjs → chunk-GRFFJUCO.mjs} +3 -3
  40. package/dist/server/{chunk-65A5HAUZ.mjs.map → chunk-GRFFJUCO.mjs.map} +1 -1
  41. package/dist/server/{chunk-AEFWG657.mjs → chunk-HDHY4236.mjs} +2 -2
  42. package/dist/server/{chunk-2KCF2DNK.js → chunk-HE3RTUDX.js} +8 -8
  43. package/dist/server/{chunk-2KCF2DNK.js.map → chunk-HE3RTUDX.js.map} +1 -1
  44. package/dist/server/{chunk-RVDS7VSP.js → chunk-IJTJH4J3.js} +4 -4
  45. package/dist/server/{chunk-RVDS7VSP.js.map → chunk-IJTJH4J3.js.map} +1 -1
  46. package/dist/server/{chunk-P3NNN73G.js → chunk-K44OPKLA.js} +3 -3
  47. package/dist/server/{chunk-P3NNN73G.js.map → chunk-K44OPKLA.js.map} +1 -1
  48. package/dist/server/{chunk-EIJ27EZQ.js → chunk-KDCVCDW6.js} +10 -6
  49. package/dist/server/chunk-KDCVCDW6.js.map +1 -0
  50. package/dist/server/{chunk-7BVRA5MY.js → chunk-KGORQCHF.js} +9 -9
  51. package/dist/server/{chunk-7BVRA5MY.js.map → chunk-KGORQCHF.js.map} +1 -1
  52. package/dist/server/{chunk-WM646WI3.js → chunk-MFNWLB5G.js} +7 -7
  53. package/dist/server/{chunk-WM646WI3.js.map → chunk-MFNWLB5G.js.map} +1 -1
  54. package/dist/server/{chunk-EIVISR62.js → chunk-P4O3WSAR.js} +2 -6
  55. package/dist/server/chunk-P4O3WSAR.js.map +1 -0
  56. package/dist/server/{chunk-RBJFXNDM.mjs → chunk-PGZJUNCY.mjs} +4 -4
  57. package/dist/server/{chunk-ARNCLSQT.mjs → chunk-T5PAA22U.mjs} +2 -2
  58. package/dist/server/{chunk-T26N3P26.js → chunk-TLZHVGTL.js} +4 -4
  59. package/dist/server/{chunk-T26N3P26.js.map → chunk-TLZHVGTL.js.map} +1 -1
  60. package/dist/server/{chunk-P4K63SBZ.mjs → chunk-TR7MSLWL.mjs} +3 -3
  61. package/dist/server/{chunk-NFEGQTCC.mjs → chunk-WMJKH4XE.mjs} +8 -1
  62. package/dist/server/{chunk-4CV4JOE5.js → chunk-Z6ZWNWWR.js} +9 -2
  63. package/dist/server/chunk-Z6ZWNWWR.js.map +1 -0
  64. package/dist/server/{components-D2uCKCj7.d.ts → components-CE48wJM1.d.ts} +4 -4
  65. package/dist/server/{components-vtYEmmPF.d.mts → components-iEDvl2Yw.d.mts} +4 -4
  66. package/dist/server/components.d.mts +6 -6
  67. package/dist/server/components.d.ts +6 -6
  68. package/dist/server/components.js +7 -7
  69. package/dist/server/components.mjs +6 -6
  70. package/dist/server/config-validation.d.mts +3 -3
  71. package/dist/server/config-validation.d.ts +3 -3
  72. package/dist/server/config-validation.js +6 -6
  73. package/dist/server/config-validation.mjs +5 -5
  74. package/dist/server/config.d.mts +5 -5
  75. package/dist/server/config.d.ts +5 -5
  76. package/dist/server/config.js +6 -6
  77. package/dist/server/config.mjs +5 -5
  78. package/dist/server/data.d.mts +3 -3
  79. package/dist/server/data.d.ts +3 -3
  80. package/dist/server/data.js +4 -4
  81. package/dist/server/data.mjs +3 -3
  82. package/dist/server/env.js +1 -1
  83. package/dist/server/env.mjs +1 -1
  84. package/dist/server/{index-BxrAuL9K.d.ts → index-BHLK2mgQ.d.ts} +2 -2
  85. package/dist/server/{index-DfWg1Qle.d.mts → index-BrH_NIRO.d.mts} +2 -2
  86. package/dist/server/{index-2qnY7VH_.d.mts → index-Cgvb5fVQ.d.mts} +2 -2
  87. package/dist/server/{index-CH_dvF6n.d.ts → index-DTBg8eXj.d.ts} +2 -2
  88. package/dist/server/index.d.mts +6 -6
  89. package/dist/server/index.d.ts +6 -6
  90. package/dist/server/index.js +11 -11
  91. package/dist/server/index.mjs +2 -2
  92. package/dist/server/{loadContent-DECnsp4k.d.ts → loadContent-BUK6IVJf.d.ts} +26 -4
  93. package/dist/server/{loadContent-Du5kS8UM.d.mts → loadContent-au9Weoy0.d.mts} +26 -4
  94. package/dist/server/loadPage-AWYZ2QA2.mjs +11 -0
  95. package/dist/server/loadPage-CMHYAW2J.js +11 -0
  96. package/dist/server/{loadPage-AXNAERDS.js.map → loadPage-CMHYAW2J.js.map} +1 -1
  97. package/dist/server/{loadPage-VBorKlWv.d.mts → loadPage-DiHEl8BA.d.mts} +3 -3
  98. package/dist/server/{loadPage-BZohBxxf.d.ts → loadPage-JOIbF7ih.d.ts} +3 -3
  99. package/dist/server/metadata.d.mts +5 -5
  100. package/dist/server/metadata.d.ts +5 -5
  101. package/dist/server/metadata.js +1 -1
  102. package/dist/server/metadata.mjs +1 -1
  103. package/dist/server/navigation.d.mts +4 -8
  104. package/dist/server/navigation.d.ts +4 -8
  105. package/dist/server/navigation.js +3 -7
  106. package/dist/server/navigation.js.map +1 -1
  107. package/dist/server/navigation.mjs +2 -6
  108. package/dist/server/next/revalidate.js +1 -1
  109. package/dist/server/next/revalidate.mjs +1 -1
  110. package/dist/server/next/tags.js +1 -1
  111. package/dist/server/next/tags.mjs +1 -1
  112. package/dist/server/next.d.mts +7 -7
  113. package/dist/server/next.d.ts +7 -7
  114. package/dist/server/next.js +20 -16
  115. package/dist/server/next.js.map +1 -1
  116. package/dist/server/next.mjs +12 -8
  117. package/dist/server/next.mjs.map +1 -1
  118. package/dist/server/rendering/server.d.mts +5 -5
  119. package/dist/server/rendering/server.d.ts +5 -5
  120. package/dist/server/rendering/server.js +9 -9
  121. package/dist/server/rendering/server.mjs +8 -8
  122. package/dist/server/rendering.d.mts +8 -8
  123. package/dist/server/rendering.d.ts +8 -8
  124. package/dist/server/rendering.js +11 -11
  125. package/dist/server/rendering.mjs +10 -10
  126. package/dist/server/routing.d.mts +5 -5
  127. package/dist/server/routing.d.ts +5 -5
  128. package/dist/server/routing.js +2 -2
  129. package/dist/server/routing.mjs +2 -2
  130. package/dist/server/{schema-Z6-afHJG.d.mts → schema-DYtW0zEu.d.mts} +40 -0
  131. package/dist/server/{schema-Z6-afHJG.d.ts → schema-DYtW0zEu.d.ts} +40 -0
  132. package/dist/server/server.d.mts +6 -6
  133. package/dist/server/server.d.ts +6 -6
  134. package/dist/server/server.js +7 -7
  135. package/dist/server/server.mjs +6 -6
  136. package/dist/server/theme-bridge.js +9 -9
  137. package/dist/server/theme-bridge.mjs +3 -3
  138. package/dist/server/theme.js +1 -1
  139. package/dist/server/theme.mjs +1 -1
  140. package/dist/server/{types-DT30Qy7x.d.mts → types-BAM1kcGA.d.mts} +1 -1
  141. package/dist/server/{types-D0rPF8l5.d.ts → types-CmBB0Osp.d.ts} +2 -2
  142. package/dist/server/{types-BRQ_6yOc.d.mts → types-DDNKxQXw.d.mts} +2 -2
  143. package/dist/server/{types-D8XqwoVd.d.ts → types-DVesWaB7.d.ts} +1 -1
  144. package/dist/server/{types-CJfJwcuL.d.mts → types-M0CviVW2.d.mts} +1 -1
  145. package/dist/server/{types-CgSO0yxg.d.ts → types-_SNCu2ZZ.d.ts} +1 -1
  146. package/dist/server/{validation-Pv3Zs6dP.d.mts → validation-BA1TKthZ.d.mts} +2 -2
  147. package/dist/server/{validation-D1LaY1kQ.d.ts → validation-js7BCPN8.d.ts} +2 -2
  148. package/dist/server/webhooks.js +1 -1
  149. package/dist/server/webhooks.mjs +1 -1
  150. package/package.json +1 -1
  151. package/dist/server/chunk-4CV4JOE5.js.map +0 -1
  152. package/dist/server/chunk-4YQJUL5W.mjs.map +0 -1
  153. package/dist/server/chunk-7UPVCT3K.js.map +0 -1
  154. package/dist/server/chunk-BYBJA6SP.mjs.map +0 -1
  155. package/dist/server/chunk-EIJ27EZQ.js.map +0 -1
  156. package/dist/server/chunk-EIVISR62.js.map +0 -1
  157. package/dist/server/chunk-LNOUXALA.mjs.map +0 -1
  158. package/dist/server/chunk-YYO3RIFO.js.map +0 -1
  159. package/dist/server/loadPage-AXNAERDS.js +0 -11
  160. package/dist/server/loadPage-XR7ORQ2E.mjs +0 -11
  161. /package/dist/server/{chunk-OSF34JTQ.mjs.map → chunk-ADD3O2QO.mjs.map} +0 -0
  162. /package/dist/server/{chunk-C6FIJC7T.mjs.map → chunk-BNHK7YOC.mjs.map} +0 -0
  163. /package/dist/server/{chunk-AEFWG657.mjs.map → chunk-HDHY4236.mjs.map} +0 -0
  164. /package/dist/server/{chunk-RBJFXNDM.mjs.map → chunk-PGZJUNCY.mjs.map} +0 -0
  165. /package/dist/server/{chunk-ARNCLSQT.mjs.map → chunk-T5PAA22U.mjs.map} +0 -0
  166. /package/dist/server/{chunk-P4K63SBZ.mjs.map → chunk-TR7MSLWL.mjs.map} +0 -0
  167. /package/dist/server/{chunk-NFEGQTCC.mjs.map → chunk-WMJKH4XE.mjs.map} +0 -0
  168. /package/dist/server/{loadPage-XR7ORQ2E.mjs.map → loadPage-AWYZ2QA2.mjs.map} +0 -0
@@ -3123,10 +3123,23 @@ var LinkNode = ({
3123
3123
  return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("a", { href, ...rest, children });
3124
3124
  };
3125
3125
 
3126
- // ../media-core/dist/chunk-ZBK775TB.mjs
3127
- function getDirectImageUrl(supabaseUrl, storagePath, storageBucket = "media", options) {
3126
+ // ../media-core/dist/chunk-6DJ7FQFK.mjs
3127
+ function getDirectImageUrl(supabaseUrl, storagePath, storageBucket = "media", siteId, options) {
3128
3128
  const baseUrl = supabaseUrl.replace(/\/$/, "");
3129
- const encodedPath = storagePath.split("/").map((segment) => encodeURIComponent(segment)).join("/");
3129
+ let fullPath;
3130
+ if (storagePath.startsWith("sites/")) {
3131
+ fullPath = storagePath;
3132
+ if (siteId && process.env.NODE_ENV !== "production") {
3133
+ console.warn(
3134
+ `[media-core] storagePath "${storagePath}" already contains site prefix. Using path as-is for backward compatibility. After migration, paths should be relative (e.g., "originals/2024/12/img.jpg").`
3135
+ );
3136
+ }
3137
+ } else if (siteId) {
3138
+ fullPath = `sites/${siteId}/${storagePath}`;
3139
+ } else {
3140
+ fullPath = storagePath;
3141
+ }
3142
+ const encodedPath = fullPath.split("/").map((segment) => encodeURIComponent(segment)).join("/");
3130
3143
  const isSvg = storagePath.toLowerCase().endsWith(".svg");
3131
3144
  if (options && !isSvg && (options.width || options.height)) {
3132
3145
  const params = new URLSearchParams();
@@ -3141,10 +3154,39 @@ function getDirectImageUrl(supabaseUrl, storagePath, storageBucket = "media", op
3141
3154
 
3142
3155
  // ../blocks/src/system/runtime/nodes/media.tsx
3143
3156
  var import_jsx_runtime9 = require("react/jsx-runtime");
3144
- var _contextSupabaseUrl;
3157
+ var _serverStorage = null;
3158
+ var _serverStorageChecked = false;
3159
+ function getServerStorage() {
3160
+ if (typeof window !== "undefined") return null;
3161
+ if (_serverStorageChecked) return _serverStorage;
3162
+ _serverStorageChecked = true;
3163
+ try {
3164
+ const asyncHooks = require("async_hooks");
3165
+ const AsyncLocalStorage = asyncHooks.AsyncLocalStorage;
3166
+ if (AsyncLocalStorage) {
3167
+ _serverStorage = new AsyncLocalStorage();
3168
+ return _serverStorage;
3169
+ }
3170
+ return null;
3171
+ } catch {
3172
+ if (process.env.NODE_ENV !== "production") {
3173
+ console.warn("[blocks] AsyncLocalStorage not available - using module-level state");
3174
+ }
3175
+ return null;
3176
+ }
3177
+ }
3178
+ var _clientContext = {};
3179
+ function getMediaContext() {
3180
+ const storage = getServerStorage();
3181
+ if (storage) {
3182
+ return storage.getStore() ?? {};
3183
+ }
3184
+ return _clientContext;
3185
+ }
3145
3186
  function getSupabaseUrl() {
3146
- if (_contextSupabaseUrl) {
3147
- return _contextSupabaseUrl;
3187
+ const context = getMediaContext();
3188
+ if (context.supabaseUrl) {
3189
+ return context.supabaseUrl;
3148
3190
  }
3149
3191
  const url = process.env.NEXT_PUBLIC_SUPABASE_URL;
3150
3192
  if (!url) {
@@ -3154,6 +3196,9 @@ function getSupabaseUrl() {
3154
3196
  }
3155
3197
  return url.replace(/\/$/, "");
3156
3198
  }
3199
+ function getSiteId() {
3200
+ return getMediaContext().siteId;
3201
+ }
3157
3202
  var debugMediaNodeLog = (...args) => {
3158
3203
  if (typeof window !== "undefined" && window.__DEBUG_MEDIA_NODE__) {
3159
3204
  console.log("[MediaNode]", ...args);
@@ -3177,7 +3222,10 @@ var MediaNode = ({ value, className, style }) => {
3177
3222
  }
3178
3223
  );
3179
3224
  }
3180
- const hotspotStyle = value.transform?.hotspot ? { objectPosition: `${value.transform.hotspot.x * 100}% ${value.transform.hotspot.y * 100}%` } : void 0;
3225
+ const effectiveObjectFit = style?.objectFit;
3226
+ const hotspot = value.transform?.hotspot;
3227
+ const shouldApplyHotspot = hotspot && (!effectiveObjectFit || effectiveObjectFit === "cover" || effectiveObjectFit === "contain");
3228
+ const hotspotStyle = shouldApplyHotspot && hotspot ? { objectPosition: `${hotspot.x * 100}% ${hotspot.y * 100}%` } : void 0;
3181
3229
  return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
3182
3230
  "img",
3183
3231
  {
@@ -3189,6 +3237,9 @@ var MediaNode = ({ value, className, style }) => {
3189
3237
  }
3190
3238
  );
3191
3239
  };
3240
+ function isRelativePath(storagePath) {
3241
+ return storagePath.startsWith("originals/") || storagePath.startsWith("variants/") || storagePath.startsWith("imports/");
3242
+ }
3192
3243
  function resolveImageUrl(value) {
3193
3244
  if (value.type !== "image") return void 0;
3194
3245
  debugMediaNodeLog("resolveImageUrl input", {
@@ -3199,10 +3250,17 @@ function resolveImageUrl(value) {
3199
3250
  });
3200
3251
  if (value.storagePath && value.storagePath.length > 0) {
3201
3252
  const supabaseUrl = getSupabaseUrl();
3253
+ const siteId = getSiteId();
3202
3254
  const bucket = value.storageBucket ?? "media";
3203
- const directUrl = getDirectImageUrl(supabaseUrl, value.storagePath, bucket);
3255
+ if (isRelativePath(value.storagePath) && !siteId) {
3256
+ console.warn(
3257
+ `[blocks] Relative storagePath "${value.storagePath}" requires siteId context. Image URL may be incorrect. Ensure siteId is set via runWithMediaContext or setContextSiteId.`
3258
+ );
3259
+ }
3260
+ const directUrl = getDirectImageUrl(supabaseUrl, value.storagePath, bucket, siteId);
3204
3261
  debugMediaNodeLog("resolve:direct-supabase", {
3205
3262
  storagePath: value.storagePath,
3263
+ siteId,
3206
3264
  bucket,
3207
3265
  directUrl
3208
3266
  });
@@ -12449,6 +12507,7 @@ var X2 = createLucideIcon("x", __iconNode12);
12449
12507
 
12450
12508
  // ../ui/dist/index.mjs
12451
12509
  var import_jsx_runtime65 = require("react/jsx-runtime");
12510
+ var import_jsx_runtime66 = require("react/jsx-runtime");
12452
12511
  var React310 = __toESM(require("react"), 1);
12453
12512
 
12454
12513
  // ../../node_modules/.pnpm/@radix-ui+react-dropdown-menu@2.1.16_@types+react-dom@19.1.7_@types+react@19.1.11__@typ_73e1023eade5c24615c7e11c2c5c91a2/node_modules/@radix-ui/react-dropdown-menu/dist/index.mjs
@@ -16027,11 +16086,11 @@ var SubTrigger2 = DropdownMenuSubTrigger;
16027
16086
  var SubContent2 = DropdownMenuSubContent;
16028
16087
 
16029
16088
  // ../ui/dist/index.mjs
16030
- var import_jsx_runtime66 = require("react/jsx-runtime");
16031
- var React410 = __toESM(require("react"), 1);
16032
16089
  var import_jsx_runtime67 = require("react/jsx-runtime");
16090
+ var React410 = __toESM(require("react"), 1);
16033
16091
  var import_jsx_runtime68 = require("react/jsx-runtime");
16034
16092
  var import_jsx_runtime69 = require("react/jsx-runtime");
16093
+ var import_jsx_runtime70 = require("react/jsx-runtime");
16035
16094
  var React54 = __toESM(require("react"), 1);
16036
16095
 
16037
16096
  // ../../node_modules/.pnpm/@radix-ui+react-popover@1.1.15_@types+react-dom@19.1.7_@types+react@19.1.11__@types+rea_e0f1f19d687b38e5ae82e27a5862402e/node_modules/@radix-ui/react-popover/dist/index.mjs
@@ -16317,7 +16376,7 @@ var Portal4 = PopoverPortal;
16317
16376
  var Content24 = PopoverContent;
16318
16377
 
16319
16378
  // ../ui/dist/index.mjs
16320
- var import_jsx_runtime70 = require("react/jsx-runtime");
16379
+ var import_jsx_runtime71 = require("react/jsx-runtime");
16321
16380
  var import_react31 = require("react");
16322
16381
 
16323
16382
  // ../../node_modules/.pnpm/react-colorful@5.6.1_react-dom@19.2.1_react@19.2.1__react@19.2.1/node_modules/react-colorful/dist/index.mjs
@@ -16515,7 +16574,7 @@ var Z2 = function(r3) {
16515
16574
  };
16516
16575
 
16517
16576
  // ../ui/dist/index.mjs
16518
- var import_jsx_runtime71 = require("react/jsx-runtime");
16577
+ var import_jsx_runtime72 = require("react/jsx-runtime");
16519
16578
  var React62 = __toESM(require("react"), 1);
16520
16579
 
16521
16580
  // ../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.2.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js
@@ -18221,7 +18280,7 @@ function useEmblaCarousel(options = {}, plugins = []) {
18221
18280
  useEmblaCarousel.globalOptions = void 0;
18222
18281
 
18223
18282
  // ../ui/dist/index.mjs
18224
- var import_jsx_runtime72 = require("react/jsx-runtime");
18283
+ var import_jsx_runtime73 = require("react/jsx-runtime");
18225
18284
 
18226
18285
  // ../../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.1.11_react@19.2.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs
18227
18286
  var React48 = __toESM(require("react"), 1);
@@ -18237,19 +18296,19 @@ function usePrevious(value) {
18237
18296
  }
18238
18297
 
18239
18298
  // ../ui/dist/index.mjs
18240
- var import_jsx_runtime73 = require("react/jsx-runtime");
18241
18299
  var import_jsx_runtime74 = require("react/jsx-runtime");
18242
- var React72 = __toESM(require("react"), 1);
18243
18300
  var import_jsx_runtime75 = require("react/jsx-runtime");
18244
- var import_react32 = require("react");
18301
+ var React72 = __toESM(require("react"), 1);
18245
18302
  var import_jsx_runtime76 = require("react/jsx-runtime");
18303
+ var import_react32 = require("react");
18246
18304
  var import_jsx_runtime77 = require("react/jsx-runtime");
18247
- var import_react33 = require("react");
18248
18305
  var import_jsx_runtime78 = require("react/jsx-runtime");
18249
- var import_react34 = require("react");
18306
+ var import_react33 = require("react");
18250
18307
  var import_jsx_runtime79 = require("react/jsx-runtime");
18251
- var import_react35 = require("react");
18308
+ var import_react34 = require("react");
18252
18309
  var import_jsx_runtime80 = require("react/jsx-runtime");
18310
+ var import_react35 = require("react");
18311
+ var import_jsx_runtime81 = require("react/jsx-runtime");
18253
18312
  var React82 = __toESM(require("react"), 1);
18254
18313
 
18255
18314
  // ../../node_modules/.pnpm/@radix-ui+react-switch@1.2.6_@types+react-dom@19.1.7_@types+react@19.1.11__@types+react_3a18675aaef59a80183d47a46045f61d/node_modules/@radix-ui/react-switch/dist/index.mjs
@@ -18397,9 +18456,9 @@ var Root4 = Switch;
18397
18456
  var Thumb = SwitchThumb;
18398
18457
 
18399
18458
  // ../ui/dist/index.mjs
18400
- var import_jsx_runtime81 = require("react/jsx-runtime");
18401
- var React92 = __toESM(require("react"), 1);
18402
18459
  var import_jsx_runtime82 = require("react/jsx-runtime");
18460
+ var React92 = __toESM(require("react"), 1);
18461
+ var import_jsx_runtime83 = require("react/jsx-runtime");
18403
18462
  var React102 = __toESM(require("react"), 1);
18404
18463
 
18405
18464
  // ../../node_modules/.pnpm/@radix-ui+react-toggle@1.1.10_@types+react-dom@19.1.7_@types+react@19.1.11__@types+reac_37fabc382cd9b9947e48ad57c4aa85bf/node_modules/@radix-ui/react-toggle/dist/index.mjs
@@ -18435,9 +18494,9 @@ Toggle.displayName = NAME2;
18435
18494
  var Root5 = Toggle;
18436
18495
 
18437
18496
  // ../ui/dist/index.mjs
18438
- var import_jsx_runtime83 = require("react/jsx-runtime");
18439
18497
  var import_jsx_runtime84 = require("react/jsx-runtime");
18440
18498
  var import_jsx_runtime85 = require("react/jsx-runtime");
18499
+ var import_jsx_runtime86 = require("react/jsx-runtime");
18441
18500
 
18442
18501
  // ../../node_modules/.pnpm/@radix-ui+react-accordion@1.2.12_@types+react-dom@19.1.7_@types+react@19.1.11__@types+r_0aefcdf227a32a60c7759673d969e63f/node_modules/@radix-ui/react-accordion/dist/index.mjs
18443
18502
  var import_react30 = __toESM(require("react"), 1);
@@ -18736,16 +18795,16 @@ var Content25 = AccordionContent;
18736
18795
 
18737
18796
  // ../ui/dist/index.mjs
18738
18797
  var React112 = __toESM(require("react"), 1);
18739
- var import_jsx_runtime86 = require("react/jsx-runtime");
18740
- var React122 = __toESM(require("react"), 1);
18741
18798
  var import_jsx_runtime87 = require("react/jsx-runtime");
18742
- var React132 = __toESM(require("react"), 1);
18799
+ var React122 = __toESM(require("react"), 1);
18743
18800
  var import_jsx_runtime88 = require("react/jsx-runtime");
18801
+ var React132 = __toESM(require("react"), 1);
18744
18802
  var import_jsx_runtime89 = require("react/jsx-runtime");
18745
- var import_react36 = require("react");
18746
18803
  var import_jsx_runtime90 = require("react/jsx-runtime");
18747
- var import_react37 = require("react");
18804
+ var import_react36 = require("react");
18748
18805
  var import_jsx_runtime91 = require("react/jsx-runtime");
18806
+ var import_react37 = require("react");
18807
+ var import_jsx_runtime92 = require("react/jsx-runtime");
18749
18808
  var import_react38 = require("react");
18750
18809
  var React152 = __toESM(require("react"), 1);
18751
18810
 
@@ -18927,12 +18986,12 @@ var Trigger3 = TabsTrigger;
18927
18986
  var Content4 = TabsContent;
18928
18987
 
18929
18988
  // ../ui/dist/index.mjs
18930
- var import_jsx_runtime92 = require("react/jsx-runtime");
18931
18989
  var import_jsx_runtime93 = require("react/jsx-runtime");
18932
- var import_react39 = require("react");
18933
18990
  var import_jsx_runtime94 = require("react/jsx-runtime");
18934
- var import_react40 = require("react");
18991
+ var import_react39 = require("react");
18935
18992
  var import_jsx_runtime95 = require("react/jsx-runtime");
18993
+ var import_react40 = require("react");
18994
+ var import_jsx_runtime96 = require("react/jsx-runtime");
18936
18995
  function cn2(...inputs) {
18937
18996
  return twMerge(clsx(inputs));
18938
18997
  }
@@ -19003,7 +19062,7 @@ var CollapsibleContent2 = React211.forwardRef(({ className, ...props }, ref) =>
19003
19062
  }
19004
19063
  ));
19005
19064
  CollapsibleContent2.displayName = Content.displayName;
19006
- var DropdownMenuSubTrigger2 = React310.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
19065
+ var DropdownMenuSubTrigger2 = React310.forwardRef(({ className, inset, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
19007
19066
  SubTrigger2,
19008
19067
  {
19009
19068
  ref,
@@ -19015,12 +19074,12 @@ var DropdownMenuSubTrigger2 = React310.forwardRef(({ className, inset, children,
19015
19074
  ...props,
19016
19075
  children: [
19017
19076
  children,
19018
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ChevronRight, { className: "ml-auto" })
19077
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ChevronRight, { className: "ml-auto" })
19019
19078
  ]
19020
19079
  }
19021
19080
  ));
19022
19081
  DropdownMenuSubTrigger2.displayName = SubTrigger2.displayName;
19023
- var DropdownMenuSubContent2 = React310.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
19082
+ var DropdownMenuSubContent2 = React310.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
19024
19083
  SubContent2,
19025
19084
  {
19026
19085
  ref,
@@ -19032,7 +19091,7 @@ var DropdownMenuSubContent2 = React310.forwardRef(({ className, ...props }, ref)
19032
19091
  }
19033
19092
  ));
19034
19093
  DropdownMenuSubContent2.displayName = SubContent2.displayName;
19035
- var DropdownMenuContent2 = React310.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Portal22, { ...container ? { container } : {}, children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
19094
+ var DropdownMenuContent2 = React310.forwardRef(({ className, sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Portal22, { ...container ? { container } : {}, children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
19036
19095
  Content23,
19037
19096
  {
19038
19097
  ref,
@@ -19046,7 +19105,7 @@ var DropdownMenuContent2 = React310.forwardRef(({ className, sideOffset = 4, con
19046
19105
  }
19047
19106
  ) }));
19048
19107
  DropdownMenuContent2.displayName = Content23.displayName;
19049
- var DropdownMenuItem2 = React310.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
19108
+ var DropdownMenuItem2 = React310.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
19050
19109
  Item22,
19051
19110
  {
19052
19111
  ref,
@@ -19059,7 +19118,7 @@ var DropdownMenuItem2 = React310.forwardRef(({ className, inset, ...props }, ref
19059
19118
  }
19060
19119
  ));
19061
19120
  DropdownMenuItem2.displayName = Item22.displayName;
19062
- var DropdownMenuCheckboxItem2 = React310.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
19121
+ var DropdownMenuCheckboxItem2 = React310.forwardRef(({ className, children, checked, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
19063
19122
  CheckboxItem2,
19064
19123
  {
19065
19124
  ref,
@@ -19070,13 +19129,13 @@ var DropdownMenuCheckboxItem2 = React310.forwardRef(({ className, children, chec
19070
19129
  checked,
19071
19130
  ...props,
19072
19131
  children: [
19073
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ItemIndicator2, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Check, { className: "h-4 w-4" }) }) }),
19132
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ItemIndicator2, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Check, { className: "h-4 w-4" }) }) }),
19074
19133
  children
19075
19134
  ]
19076
19135
  }
19077
19136
  ));
19078
19137
  DropdownMenuCheckboxItem2.displayName = CheckboxItem2.displayName;
19079
- var DropdownMenuRadioItem2 = React310.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsxs)(
19138
+ var DropdownMenuRadioItem2 = React310.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsxs)(
19080
19139
  RadioItem2,
19081
19140
  {
19082
19141
  ref,
@@ -19086,13 +19145,13 @@ var DropdownMenuRadioItem2 = React310.forwardRef(({ className, children, ...prop
19086
19145
  ),
19087
19146
  ...props,
19088
19147
  children: [
19089
- /* @__PURE__ */ (0, import_jsx_runtime66.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(ItemIndicator2, { children: /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
19148
+ /* @__PURE__ */ (0, import_jsx_runtime67.jsx)("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(ItemIndicator2, { children: /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(Circle, { className: "h-2 w-2 fill-current" }) }) }),
19090
19149
  children
19091
19150
  ]
19092
19151
  }
19093
19152
  ));
19094
19153
  DropdownMenuRadioItem2.displayName = RadioItem2.displayName;
19095
- var DropdownMenuLabel2 = React310.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
19154
+ var DropdownMenuLabel2 = React310.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
19096
19155
  Label2,
19097
19156
  {
19098
19157
  ref,
@@ -19105,7 +19164,7 @@ var DropdownMenuLabel2 = React310.forwardRef(({ className, inset, ...props }, re
19105
19164
  }
19106
19165
  ));
19107
19166
  DropdownMenuLabel2.displayName = Label2.displayName;
19108
- var DropdownMenuSeparator2 = React310.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
19167
+ var DropdownMenuSeparator2 = React310.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
19109
19168
  Separator2,
19110
19169
  {
19111
19170
  ref,
@@ -19118,7 +19177,7 @@ var DropdownMenuShortcut = ({
19118
19177
  className,
19119
19178
  ...props
19120
19179
  }) => {
19121
- return /* @__PURE__ */ (0, import_jsx_runtime66.jsx)(
19180
+ return /* @__PURE__ */ (0, import_jsx_runtime67.jsx)(
19122
19181
  "span",
19123
19182
  {
19124
19183
  className: cn2("ml-auto text-xs tracking-widest opacity-60", className),
@@ -19134,7 +19193,7 @@ var FormItemContext = React410.createContext(
19134
19193
  {}
19135
19194
  );
19136
19195
  function Input({ className, type, ...props }) {
19137
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsx)(
19196
+ return /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
19138
19197
  "input",
19139
19198
  {
19140
19199
  type,
@@ -19163,7 +19222,7 @@ function getSafePortalContainer(container) {
19163
19222
  }
19164
19223
  return target;
19165
19224
  }
19166
- var PopoverContent2 = React54.forwardRef(({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(Portal4, { ...container ? { container: getSafePortalContainer(container) } : {}, children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)(
19225
+ var PopoverContent2 = React54.forwardRef(({ className, align = "center", sideOffset = 4, container, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Portal4, { ...container ? { container: getSafePortalContainer(container) } : {}, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
19167
19226
  Content24,
19168
19227
  {
19169
19228
  ref,
@@ -19196,9 +19255,9 @@ var ColorPicker = (0, import_react31.forwardRef)(
19196
19255
  const parsedValue = (0, import_react31.useMemo)(() => {
19197
19256
  return value || "#FFFFFF";
19198
19257
  }, [value]);
19199
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)("div", { className: cn2("inline-block", props.style ? "" : ""), children: [
19200
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(Popover2, { onOpenChange: setOpen, open, children: [
19201
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(PopoverTrigger2, { asChild: true, disabled, onBlur, children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
19258
+ return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)("div", { className: cn2("inline-block", props.style ? "" : ""), children: [
19259
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(Popover2, { onOpenChange: setOpen, open, children: [
19260
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(PopoverTrigger2, { asChild: true, disabled, onBlur, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
19202
19261
  Button,
19203
19262
  {
19204
19263
  ...props,
@@ -19213,12 +19272,12 @@ var ColorPicker = (0, import_react31.forwardRef)(
19213
19272
  ...props.style
19214
19273
  },
19215
19274
  variant: "outline",
19216
- children: /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", {})
19275
+ children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", {})
19217
19276
  }
19218
19277
  ) }),
19219
- /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(PopoverContent2, { className: "w-full", children: [
19220
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(Z2, { color: parsedValue, onChange }),
19221
- /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(
19278
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(PopoverContent2, { className: "w-full", children: [
19279
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Z2, { color: parsedValue, onChange }),
19280
+ /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
19222
19281
  Input,
19223
19282
  {
19224
19283
  maxLength: 7,
@@ -19231,7 +19290,7 @@ var ColorPicker = (0, import_react31.forwardRef)(
19231
19290
  )
19232
19291
  ] })
19233
19292
  ] }),
19234
- label ? /* @__PURE__ */ (0, import_jsx_runtime71.jsx)("div", { className: "mt-1 text-xs text-gray-600", children: label }) : null
19293
+ label ? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "mt-1 text-xs text-gray-600", children: label }) : null
19235
19294
  ] });
19236
19295
  }
19237
19296
  );
@@ -19253,13 +19312,13 @@ var Carousel = React62.forwardRef(
19253
19312
  },
19254
19313
  plugins
19255
19314
  );
19256
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(CarouselContext.Provider, { value: { carouselRef, api, orientation }, children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
19315
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(CarouselContext.Provider, { value: { carouselRef, api, orientation }, children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
19257
19316
  "div",
19258
19317
  {
19259
19318
  ref,
19260
19319
  className: cn2("relative", orientation === "vertical" && "flex flex-col", className),
19261
19320
  ...props,
19262
- children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("div", { className: "flex", children }) })
19321
+ children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { ref: carouselRef, className: "overflow-hidden", children: /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("div", { className: "flex", children }) })
19263
19322
  }
19264
19323
  ) });
19265
19324
  }
@@ -19268,7 +19327,7 @@ Carousel.displayName = "Carousel";
19268
19327
  var CarouselContent = React62.forwardRef(
19269
19328
  ({ className, ...props }, ref) => {
19270
19329
  const { orientation } = useCarousel();
19271
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
19330
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
19272
19331
  "div",
19273
19332
  {
19274
19333
  ref,
@@ -19286,7 +19345,7 @@ CarouselContent.displayName = "CarouselContent";
19286
19345
  var CarouselItem = React62.forwardRef(
19287
19346
  ({ className, ...props }, ref) => {
19288
19347
  const { orientation } = useCarousel();
19289
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(
19348
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
19290
19349
  "div",
19291
19350
  {
19292
19351
  ref,
@@ -19304,14 +19363,14 @@ var CarouselItem = React62.forwardRef(
19304
19363
  );
19305
19364
  CarouselItem.displayName = "CarouselItem";
19306
19365
  var Control = React62.forwardRef(
19307
- ({ className, variant = "outline", size: size4 = "icon", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(Button, { ref, className: cn2("h-8 w-8", className), variant, size: size4, ...props })
19366
+ ({ className, variant = "outline", size: size4 = "icon", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(Button, { ref, className: cn2("h-8 w-8", className), variant, size: size4, ...props })
19308
19367
  );
19309
19368
  Control.displayName = "CarouselControl";
19310
19369
  var CarouselPrevious = React62.forwardRef(
19311
19370
  ({ className, children, ...props }, ref) => {
19312
19371
  const { api, orientation } = useCarousel();
19313
19372
  const isHorizontal = orientation === "horizontal";
19314
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
19373
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
19315
19374
  Control,
19316
19375
  {
19317
19376
  ref,
@@ -19323,8 +19382,8 @@ var CarouselPrevious = React62.forwardRef(
19323
19382
  onClick: () => api?.scrollPrev(),
19324
19383
  ...props,
19325
19384
  children: [
19326
- children ?? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ChevronLeft, { className: "h-4 w-4", "aria-hidden": "true" }),
19327
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "sr-only", children: "Previous slide" })
19385
+ children ?? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ChevronLeft, { className: "h-4 w-4", "aria-hidden": "true" }),
19386
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "sr-only", children: "Previous slide" })
19328
19387
  ]
19329
19388
  }
19330
19389
  );
@@ -19335,7 +19394,7 @@ var CarouselNext = React62.forwardRef(
19335
19394
  ({ className, children, ...props }, ref) => {
19336
19395
  const { api, orientation } = useCarousel();
19337
19396
  const isHorizontal = orientation === "horizontal";
19338
- return /* @__PURE__ */ (0, import_jsx_runtime72.jsxs)(
19397
+ return /* @__PURE__ */ (0, import_jsx_runtime73.jsxs)(
19339
19398
  Control,
19340
19399
  {
19341
19400
  ref,
@@ -19347,8 +19406,8 @@ var CarouselNext = React62.forwardRef(
19347
19406
  onClick: () => api?.scrollNext(),
19348
19407
  ...props,
19349
19408
  children: [
19350
- children ?? /* @__PURE__ */ (0, import_jsx_runtime72.jsx)(ChevronRight, { className: "h-4 w-4", "aria-hidden": "true" }),
19351
- /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "sr-only", children: "Next slide" })
19409
+ children ?? /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(ChevronRight, { className: "h-4 w-4", "aria-hidden": "true" }),
19410
+ /* @__PURE__ */ (0, import_jsx_runtime73.jsx)("span", { className: "sr-only", children: "Next slide" })
19352
19411
  ]
19353
19412
  }
19354
19413
  );
@@ -19358,13 +19417,13 @@ CarouselNext.displayName = "CarouselNext";
19358
19417
  function SheetPortal({
19359
19418
  ...props
19360
19419
  }) {
19361
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(Portal2, { "data-slot": "sheet-portal", ...props });
19420
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(Portal2, { "data-slot": "sheet-portal", ...props });
19362
19421
  }
19363
19422
  function SheetOverlay({
19364
19423
  className,
19365
19424
  ...props
19366
19425
  }) {
19367
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
19426
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
19368
19427
  Overlay,
19369
19428
  {
19370
19429
  "data-slot": "sheet-overlay",
@@ -19391,9 +19450,9 @@ var SIDE_CLASSNAMES = {
19391
19450
  ].join(" ")
19392
19451
  };
19393
19452
  var SheetContent = React72.forwardRef(({ className, children, showCloseButton = true, side = "bottom", ...props }, ref) => {
19394
- return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(SheetPortal, { children: [
19395
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(SheetOverlay, {}),
19396
- /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
19453
+ return /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(SheetPortal, { children: [
19454
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(SheetOverlay, {}),
19455
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
19397
19456
  Content2,
19398
19457
  {
19399
19458
  ref,
@@ -19407,14 +19466,14 @@ var SheetContent = React72.forwardRef(({ className, children, showCloseButton =
19407
19466
  ...props,
19408
19467
  children: [
19409
19468
  children,
19410
- showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
19469
+ showCloseButton && /* @__PURE__ */ (0, import_jsx_runtime76.jsxs)(
19411
19470
  Close,
19412
19471
  {
19413
19472
  "data-slot": "sheet-close",
19414
19473
  className: "ring-offset-background focus:ring-ring absolute right-4 top-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
19415
19474
  children: [
19416
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(X2, {}),
19417
- /* @__PURE__ */ (0, import_jsx_runtime75.jsx)("span", { className: "sr-only", children: "Close" })
19475
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(X2, {}),
19476
+ /* @__PURE__ */ (0, import_jsx_runtime76.jsx)("span", { className: "sr-only", children: "Close" })
19418
19477
  ]
19419
19478
  }
19420
19479
  )
@@ -19433,7 +19492,7 @@ var mergeStyle = (base, additions) => ({
19433
19492
  ...additions
19434
19493
  });
19435
19494
  var SkeletonRoot = (0, import_react32.forwardRef)(function SkeletonRoot2({ className, style, ...props }, ref) {
19436
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
19495
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
19437
19496
  "div",
19438
19497
  {
19439
19498
  ref,
@@ -19447,7 +19506,7 @@ var SkeletonRoot = (0, import_react32.forwardRef)(function SkeletonRoot2({ class
19447
19506
  SkeletonRoot.displayName = "Skeleton";
19448
19507
  var SkeletonText = (0, import_react32.forwardRef)(function SkeletonText2({ width, style, className, ...props }, ref) {
19449
19508
  const computedStyle = width ? mergeStyle(style, { width: toCssSize(width) }) : style;
19450
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
19509
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
19451
19510
  SkeletonRoot,
19452
19511
  {
19453
19512
  ref,
@@ -19463,7 +19522,7 @@ var SkeletonLine = (0, import_react32.forwardRef)(function SkeletonLine2({ width
19463
19522
  width: toCssSize(width),
19464
19523
  height: toCssSize(height)
19465
19524
  });
19466
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
19525
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
19467
19526
  SkeletonRoot,
19468
19527
  {
19469
19528
  ref,
@@ -19482,7 +19541,7 @@ var SkeletonBlock = (0, import_react32.forwardRef)(function SkeletonBlock2({ wid
19482
19541
  if (aspectRatio) {
19483
19542
  additions.aspectRatio = typeof aspectRatio === "number" ? `${aspectRatio}` : aspectRatio;
19484
19543
  }
19485
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
19544
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
19486
19545
  SkeletonRoot,
19487
19546
  {
19488
19547
  ref,
@@ -19498,7 +19557,7 @@ var SkeletonAvatar = (0, import_react32.forwardRef)(function SkeletonAvatar2({ s
19498
19557
  width: toCssSize(size4),
19499
19558
  height: toCssSize(size4)
19500
19559
  });
19501
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
19560
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
19502
19561
  SkeletonRoot,
19503
19562
  {
19504
19563
  ref,
@@ -19511,7 +19570,7 @@ var SkeletonAvatar = (0, import_react32.forwardRef)(function SkeletonAvatar2({ s
19511
19570
  SkeletonAvatar.displayName = "Skeleton.Avatar";
19512
19571
  var SkeletonBadge = (0, import_react32.forwardRef)(function SkeletonBadge2({ width = 72, style, className, ...props }, ref) {
19513
19572
  const computedStyle = width ? mergeStyle(style, { width: toCssSize(width) }) : style;
19514
- return /* @__PURE__ */ (0, import_jsx_runtime76.jsx)(
19573
+ return /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
19515
19574
  SkeletonRoot,
19516
19575
  {
19517
19576
  ref,
@@ -19541,21 +19600,21 @@ function Spinner({
19541
19600
  ...props
19542
19601
  }) {
19543
19602
  const accessibilityProps = srLabel ? { role: "status", "aria-live": "polite" } : { "aria-hidden": true };
19544
- return /* @__PURE__ */ (0, import_jsx_runtime77.jsxs)(
19603
+ return /* @__PURE__ */ (0, import_jsx_runtime78.jsxs)(
19545
19604
  "span",
19546
19605
  {
19547
19606
  ...accessibilityProps,
19548
19607
  className: cn2("inline-flex items-center justify-center text-current", className),
19549
19608
  ...props,
19550
19609
  children: [
19551
- /* @__PURE__ */ (0, import_jsx_runtime77.jsx)(
19610
+ /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
19552
19611
  LoaderCircle,
19553
19612
  {
19554
19613
  "aria-hidden": "true",
19555
19614
  className: cn2("animate-spin motion-reduce:animate-none", sizeClasses[size4])
19556
19615
  }
19557
19616
  ),
19558
- srLabel ? /* @__PURE__ */ (0, import_jsx_runtime77.jsx)("span", { className: "sr-only", children: srLabel }) : null
19617
+ srLabel ? /* @__PURE__ */ (0, import_jsx_runtime78.jsx)("span", { className: "sr-only", children: srLabel }) : null
19559
19618
  ]
19560
19619
  }
19561
19620
  );
@@ -19583,7 +19642,7 @@ function DelayedSpinner({
19583
19642
  if (!visible && !keepMounted) {
19584
19643
  return null;
19585
19644
  }
19586
- return /* @__PURE__ */ (0, import_jsx_runtime78.jsx)(
19645
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
19587
19646
  Spinner,
19588
19647
  {
19589
19648
  className: cn2(!visible ? "opacity-0" : null, className),
@@ -19612,7 +19671,7 @@ var PendingButton = (0, import_react34.forwardRef)(
19612
19671
  size: spinnerSize,
19613
19672
  ...rest
19614
19673
  } = spinnerProps ?? {};
19615
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(
19674
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(
19616
19675
  DelayedSpinner,
19617
19676
  {
19618
19677
  active: isPending,
@@ -19623,7 +19682,7 @@ var PendingButton = (0, import_react34.forwardRef)(
19623
19682
  }
19624
19683
  );
19625
19684
  };
19626
- return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(
19685
+ return /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)(
19627
19686
  Button,
19628
19687
  {
19629
19688
  ref,
@@ -19634,14 +19693,14 @@ var PendingButton = (0, import_react34.forwardRef)(
19634
19693
  ...props,
19635
19694
  children: [
19636
19695
  spinnerPlacement === "start" ? renderSpinner() : null,
19637
- /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("span", { "aria-live": "polite", className: "flex items-center justify-center", children: content }),
19696
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { "aria-live": "polite", className: "flex items-center justify-center", children: content }),
19638
19697
  spinnerPlacement === "end" ? renderSpinner() : null
19639
19698
  ]
19640
19699
  }
19641
19700
  );
19642
19701
  }
19643
19702
  );
19644
- var Switch2 = React82.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
19703
+ var Switch2 = React82.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
19645
19704
  Root4,
19646
19705
  {
19647
19706
  ref,
@@ -19650,7 +19709,7 @@ var Switch2 = React82.forwardRef(({ className, ...props }, ref) => /* @__PURE__
19650
19709
  className
19651
19710
  ),
19652
19711
  ...props,
19653
- children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(
19712
+ children: /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
19654
19713
  Thumb,
19655
19714
  {
19656
19715
  className: cn2(
@@ -19662,7 +19721,7 @@ var Switch2 = React82.forwardRef(({ className, ...props }, ref) => /* @__PURE__
19662
19721
  ));
19663
19722
  Switch2.displayName = Root4.displayName;
19664
19723
  var Textarea = React92.forwardRef(({ className, ...props }, ref) => {
19665
- return /* @__PURE__ */ (0, import_jsx_runtime82.jsx)(
19724
+ return /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
19666
19725
  "textarea",
19667
19726
  {
19668
19727
  className: cn2(
@@ -19695,7 +19754,7 @@ var toggleVariants = cva(
19695
19754
  }
19696
19755
  }
19697
19756
  );
19698
- var Toggle2 = React102.forwardRef(({ className, variant, size: size4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime83.jsx)(
19757
+ var Toggle2 = React102.forwardRef(({ className, variant, size: size4, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)(
19699
19758
  Root5,
19700
19759
  {
19701
19760
  ref,
@@ -19722,7 +19781,7 @@ var badgeVariants = cva(
19722
19781
  }
19723
19782
  );
19724
19783
  var Accordion2 = Root24;
19725
- var AccordionItem2 = React112.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
19784
+ var AccordionItem2 = React112.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
19726
19785
  Item3,
19727
19786
  {
19728
19787
  ref,
@@ -19731,7 +19790,7 @@ var AccordionItem2 = React112.forwardRef(({ className, ...props }, ref) => /* @_
19731
19790
  }
19732
19791
  ));
19733
19792
  AccordionItem2.displayName = "AccordionItem";
19734
- var AccordionTrigger2 = React112.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(Header, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("div", { className: "m-0 flex w-full", children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
19793
+ var AccordionTrigger2 = React112.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Header, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "m-0 flex w-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
19735
19794
  Trigger22,
19736
19795
  {
19737
19796
  ref,
@@ -19741,7 +19800,7 @@ var AccordionTrigger2 = React112.forwardRef(({ className, children, ...props },
19741
19800
  }
19742
19801
  ) }) }));
19743
19802
  AccordionTrigger2.displayName = Trigger22.displayName;
19744
- var AccordionContent2 = React112.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
19803
+ var AccordionContent2 = React112.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
19745
19804
  Content25,
19746
19805
  {
19747
19806
  ref,
@@ -19752,7 +19811,7 @@ var AccordionContent2 = React112.forwardRef(({ className, children, ...props },
19752
19811
  }
19753
19812
  ));
19754
19813
  AccordionContent2.displayName = Content25.displayName;
19755
- var SectionAccordionItem = React122.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
19814
+ var SectionAccordionItem = React122.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
19756
19815
  Item3,
19757
19816
  {
19758
19817
  ref,
@@ -19761,7 +19820,7 @@ var SectionAccordionItem = React122.forwardRef(({ className, ...props }, ref) =>
19761
19820
  }
19762
19821
  ));
19763
19822
  SectionAccordionItem.displayName = "SectionAccordionItem";
19764
- var SectionAccordionTrigger = React122.forwardRef(({ className, title, description, invalid, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(Header, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "m-0 flex w-full", children: /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
19823
+ var SectionAccordionTrigger = React122.forwardRef(({ className, title, description, invalid, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Header, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "m-0 flex w-full", children: /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(
19765
19824
  Trigger22,
19766
19825
  {
19767
19826
  ref,
@@ -19773,19 +19832,19 @@ var SectionAccordionTrigger = React122.forwardRef(({ className, title, descripti
19773
19832
  ),
19774
19833
  ...props,
19775
19834
  children: [
19776
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("div", { className: "flex flex-col gap-0.5", children: [
19777
- /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)("span", { className: "flex items-center gap-2", children: [
19835
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "flex flex-col gap-0.5", children: [
19836
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("span", { className: "flex items-center gap-2", children: [
19778
19837
  title,
19779
- invalid && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "rounded bg-destructive/10 px-1.5 py-0.5 text-[10px] font-medium text-destructive", children: "Fix errors" })
19838
+ invalid && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "rounded bg-destructive/10 px-1.5 py-0.5 text-[10px] font-medium text-destructive", children: "Fix errors" })
19780
19839
  ] }),
19781
- description && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("span", { className: "text-xs font-normal text-muted-foreground", children: description })
19840
+ description && /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("span", { className: "text-xs font-normal text-muted-foreground", children: description })
19782
19841
  ] }),
19783
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(ChevronDown, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
19842
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ChevronDown, { className: "h-4 w-4 shrink-0 text-muted-foreground transition-transform duration-200" })
19784
19843
  ]
19785
19844
  }
19786
19845
  ) }) }));
19787
19846
  SectionAccordionTrigger.displayName = "SectionAccordionTrigger";
19788
- var SectionAccordionContent = React122.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
19847
+ var SectionAccordionContent = React122.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(
19789
19848
  Content25,
19790
19849
  {
19791
19850
  ref,
@@ -19795,11 +19854,11 @@ var SectionAccordionContent = React122.forwardRef(({ className, children, ...pro
19795
19854
  className
19796
19855
  ),
19797
19856
  ...props,
19798
- children: /* @__PURE__ */ (0, import_jsx_runtime87.jsx)("div", { className: "px-4 pb-4 pt-0", children })
19857
+ children: /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "px-4 pb-4 pt-0", children })
19799
19858
  }
19800
19859
  ));
19801
19860
  SectionAccordionContent.displayName = "SectionAccordionContent";
19802
- var TabsList2 = React152.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
19861
+ var TabsList2 = React152.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
19803
19862
  List,
19804
19863
  {
19805
19864
  ref,
@@ -19811,7 +19870,7 @@ var TabsList2 = React152.forwardRef(({ className, ...props }, ref) => /* @__PURE
19811
19870
  }
19812
19871
  ));
19813
19872
  TabsList2.displayName = List.displayName;
19814
- var TabsTrigger2 = React152.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
19873
+ var TabsTrigger2 = React152.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
19815
19874
  Trigger3,
19816
19875
  {
19817
19876
  ref,
@@ -19823,7 +19882,7 @@ var TabsTrigger2 = React152.forwardRef(({ className, ...props }, ref) => /* @__P
19823
19882
  }
19824
19883
  ));
19825
19884
  TabsTrigger2.displayName = Trigger3.displayName;
19826
- var TabsContent2 = React152.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(
19885
+ var TabsContent2 = React152.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(
19827
19886
  Content4,
19828
19887
  {
19829
19888
  ref,
@@ -19837,7 +19896,7 @@ var TabsContent2 = React152.forwardRef(({ className, ...props }, ref) => /* @__P
19837
19896
  TabsContent2.displayName = Content4.displayName;
19838
19897
 
19839
19898
  // ../blocks/src/system/runtime/nodes/carousel.tsx
19840
- var import_jsx_runtime96 = require("react/jsx-runtime");
19899
+ var import_jsx_runtime97 = require("react/jsx-runtime");
19841
19900
  var CarouselNode = ({
19842
19901
  children,
19843
19902
  className,
@@ -19855,15 +19914,15 @@ var CarouselNode = ({
19855
19914
  }, [slidesToShow]);
19856
19915
  const basis = `${100 / resolvedSlides}%`;
19857
19916
  const controlsEnabled = typeof showControls === "string" ? showControls !== "false" : Boolean(showControls);
19858
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
19917
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
19859
19918
  "div",
19860
19919
  {
19861
19920
  className: clsx_default("relative", className),
19862
19921
  "data-slides-to-show": resolvedSlides,
19863
19922
  "data-transition": transition,
19864
19923
  "data-show-controls": controlsEnabled ? "true" : "false",
19865
- children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(Carousel, { opts: { align: "start", slidesToScroll: 1, containScroll: "trimSnaps" }, children: [
19866
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(CarouselContent, { className: "w-full", children: slides.map((slide, index2) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
19924
+ children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(Carousel, { opts: { align: "start", slidesToScroll: 1, containScroll: "trimSnaps" }, children: [
19925
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(CarouselContent, { className: "w-full", children: slides.map((slide, index2) => /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
19867
19926
  CarouselSlide,
19868
19927
  {
19869
19928
  index: index2,
@@ -19873,9 +19932,9 @@ var CarouselNode = ({
19873
19932
  },
19874
19933
  index2
19875
19934
  )) }),
19876
- controlsEnabled && slides.length > resolvedSlides ? /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
19877
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(CarouselPrevious, {}),
19878
- /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(CarouselNext, {})
19935
+ controlsEnabled && slides.length > resolvedSlides ? /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
19936
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(CarouselPrevious, {}),
19937
+ /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(CarouselNext, {})
19879
19938
  ] }) : null
19880
19939
  ] })
19881
19940
  }
@@ -19898,7 +19957,7 @@ var CarouselSlide = ({ index: index2, basis, transition, children }) => {
19898
19957
  };
19899
19958
  }, [api]);
19900
19959
  const isActive = selected === index2;
19901
- return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
19960
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
19902
19961
  CarouselItem,
19903
19962
  {
19904
19963
  "data-active": isActive,
@@ -19987,7 +20046,7 @@ var ICON_CONFIG = {
19987
20046
  };
19988
20047
 
19989
20048
  // ../blocks/src/system/runtime/nodes/accordion.tsx
19990
- var import_jsx_runtime97 = require("react/jsx-runtime");
20049
+ var import_jsx_runtime98 = require("react/jsx-runtime");
19991
20050
  var ACCORDION_ICONS = {
19992
20051
  Plus,
19993
20052
  Minus,
@@ -20009,7 +20068,7 @@ var AccordionNode = (props) => {
20009
20068
  } = props;
20010
20069
  if (rest.type === "multiple") {
20011
20070
  const { type: _type, defaultValue: defaultValue2, value: value2 } = rest;
20012
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
20071
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
20013
20072
  Accordion2,
20014
20073
  {
20015
20074
  type: "multiple",
@@ -20026,7 +20085,7 @@ var AccordionNode = (props) => {
20026
20085
  defaultValue,
20027
20086
  value
20028
20087
  } = rest;
20029
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
20088
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
20030
20089
  Accordion2,
20031
20090
  {
20032
20091
  type,
@@ -20062,7 +20121,7 @@ var AccordionItemNode = ({
20062
20121
  const iconConfig = ICON_CONFIG[resolvedIconStyle];
20063
20122
  const ClosedIconComponent = ACCORDION_ICONS[iconConfig.closedIcon];
20064
20123
  const OpenIconComponent = iconConfig.openIcon ? ACCORDION_ICONS[iconConfig.openIcon] : null;
20065
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(
20124
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(
20066
20125
  AccordionItem2,
20067
20126
  {
20068
20127
  value: resolvedValue,
@@ -20072,14 +20131,14 @@ var AccordionItemNode = ({
20072
20131
  ),
20073
20132
  ...rest,
20074
20133
  children: [
20075
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(AccordionTrigger2, { className: "accordion-trigger", children: [
20076
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Text2, { as: "span", className: "flex-1", children: resolvedTrigger }),
20077
- /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)("span", { className: "accordion-icon", "aria-hidden": "true", children: [
20078
- ClosedIconComponent && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(ClosedIconComponent, { className: "accordion-icon-closed" }),
20079
- OpenIconComponent && /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(OpenIconComponent, { className: "accordion-icon-open" })
20134
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)(AccordionTrigger2, { className: "accordion-trigger", children: [
20135
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Text2, { as: "span", className: "flex-1", children: resolvedTrigger }),
20136
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsxs)("span", { className: "accordion-icon", "aria-hidden": "true", children: [
20137
+ ClosedIconComponent && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ClosedIconComponent, { className: "accordion-icon-closed" }),
20138
+ OpenIconComponent && /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(OpenIconComponent, { className: "accordion-icon-open" })
20080
20139
  ] })
20081
20140
  ] }),
20082
- /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(AccordionContent2, { className: "accordion-content", children: typeof contentSource === "string" || typeof contentSource === "number" ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("p", { className: "mt-0", children: String(contentSource) }) : contentSource ? /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(RichText, { doc: contentSource, className: "max-w-none" }) : null })
20141
+ /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(AccordionContent2, { className: "accordion-content", children: typeof contentSource === "string" || typeof contentSource === "number" ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("p", { className: "mt-0", children: String(contentSource) }) : contentSource ? /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(RichText, { doc: contentSource, className: "max-w-none" }) : null })
20083
20142
  ]
20084
20143
  }
20085
20144
  );
@@ -20087,7 +20146,7 @@ var AccordionItemNode = ({
20087
20146
 
20088
20147
  // ../blocks/src/system/runtime/nodes/header-section.client.tsx
20089
20148
  var import_react43 = __toESM(require("react"));
20090
- var import_jsx_runtime98 = require("react/jsx-runtime");
20149
+ var import_jsx_runtime99 = require("react/jsx-runtime");
20091
20150
  var HeaderSectionNode2 = ({
20092
20151
  blockId: _blockId,
20093
20152
  blockKind: _blockKind,
@@ -20124,7 +20183,7 @@ var HeaderSectionNode2 = ({
20124
20183
  };
20125
20184
  }, [hasShrinkClasses]);
20126
20185
  const className = [originalClassName, scrolled && "header-scrolled"].filter(Boolean).join(" ");
20127
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(Section, { ...restProps, className, children });
20186
+ return /* @__PURE__ */ (0, import_jsx_runtime99.jsx)(Section, { ...restProps, className, children });
20128
20187
  };
20129
20188
  var header_section_client_default = HeaderSectionNode2;
20130
20189