@riverbankcms/sdk 0.158.0 → 0.159.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/README.md +21 -2
  2. package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-Cj1i1Yhh.d.ts} +1 -1
  3. package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-Cgzbv22M.d.ts} +6 -6
  4. package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-BC_FGc6b.d.ts} +2 -2
  5. package/dist/_dts/{client-B960v2gW.d.ts → client-BOK-YHVJ.d.ts} +23 -1
  6. package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-CsrYWxq_.d.ts} +2 -2
  7. package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-ClgMD-9g.d.ts} +4 -4
  8. package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-C_IDuELl.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-B7bhYSWx.d.ts} +5 -2
  10. package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → hosted-booking-appearance-ChGCQYdQ.d.ts} +15 -7
  11. package/dist/_dts/{index-Ba6RmuxX.d.ts → index-BZ4fb2zz.d.ts} +3 -3
  12. package/dist/_dts/{index-DCNu_8it.d.ts → index-CcaG6O13.d.ts} +4 -4
  13. package/dist/_dts/{index-DfkFWUxt.d.ts → index-Ci1PEk82.d.ts} +1 -1
  14. package/dist/_dts/{index-DaS_z6ir.d.ts → index-DMOfW1A7.d.ts} +1 -1
  15. package/dist/_dts/{index-DpgkhY-a.d.ts → index-Dt3XSGzY.d.ts} +2 -2
  16. package/dist/_dts/{index-DPfI2t5A.d.ts → index-DzUdUaJ-.d.ts} +2 -2
  17. package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-C1JI2pG0.d.ts} +7 -7
  18. package/dist/_dts/{navigation-n-eTVTIQ.d.ts → navigation-BnV_hOZy.d.ts} +20 -19
  19. package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-BtRUtrJa.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/index.d.ts +8 -8
  27. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  28. package/dist/_dts/sdk/src/metadata/index.d.ts +8 -2
  29. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  30. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  31. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  32. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  34. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  35. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  36. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  38. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  39. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  40. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  42. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  43. package/dist/_dts/sdk/src/server.d.ts +5 -5
  44. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  45. package/dist/_dts/{types-BY7PgnDi.d.ts → types--oWXIfyz.d.ts} +7 -7
  46. package/dist/_dts/{types-BJrRUaY7.d.ts → types-CI9dYWJ8.d.ts} +2 -2
  47. package/dist/_dts/{types-maEnXL6Z.d.ts → types-CMFIZGUI.d.ts} +3 -3
  48. package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Ct-GL0eA.d.ts} +4 -4
  49. package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DKS8Ba30.mjs} +17 -17
  50. package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-Cg9v6d7Y.mjs} +1 -1
  51. package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-BoVCTUXy.mjs} +5 -5
  52. package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-BxRVCJG3.mjs} +3 -3
  53. package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BI-kvwXf.mjs} +8 -8
  54. package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DIvnoN5l.mjs} +6 -6
  55. package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-BRMtEaa6.mjs} +3 -3
  56. package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-B8DzAUDa.mjs} +1 -1
  57. package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-Bo4qzQi0.mjs} +3 -3
  58. package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-D2vemnCx.mjs} +4 -4
  59. package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-e5XWtygG.mjs} +120 -88
  60. package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-dlapZ6mi.mjs} +1 -1
  61. package/dist/client/{Page-BmpeAwID.mjs → Page-Dqpv9Ggi.mjs} +16 -13
  62. package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-BrvKa_8H.mjs} +2 -2
  63. package/dist/client/{accordion-DeObOasQ.mjs → accordion-ByLpb4Dz.mjs} +1 -1
  64. package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BLndwxpx.mjs} +9 -9
  65. package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-CTxTEgHX.mjs} +4 -4
  66. package/dist/client/bookings.mjs +5 -5
  67. package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-C8ef0vnT.mjs} +1 -1
  68. package/dist/client/{cart-BAXNbFux.mjs → cart-BpH6jkUO.mjs} +3 -3
  69. package/dist/client/{cart.client-BczxUF70.mjs → cart.client-DV78Td13.mjs} +1 -1
  70. package/dist/client/{checkout-C5NRhPeP.mjs → checkout-BJVb2RpL.mjs} +3 -3
  71. package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-CqGPXPSm.mjs} +1 -1
  72. package/dist/client/client.mjs +2 -2
  73. package/dist/client/{context-CVsgML69.mjs → context-BRgBWthI.mjs} +1 -1
  74. package/dist/client/{cta-BWnUuJce.mjs → cta-D8ucLsvX.mjs} +1 -1
  75. package/dist/client/dateFormatting-LeKNQ-iX.mjs +61 -0
  76. package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-CjstiFPh.mjs} +1 -1
  77. package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-BaQJyI9x.mjs} +2 -2
  78. package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-CYNQYOsP.mjs} +2 -2
  79. package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-DDqSpN36.mjs} +31 -17
  80. package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-3vQtuC9X.mjs} +4 -4
  81. package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-CEJFMjqV.mjs} +4 -4
  82. package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-nGh47jef.mjs} +2 -2
  83. package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-BL3Ptb83.mjs} +4 -4
  84. package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-DDSO6KB2.mjs} +4 -4
  85. package/dist/client/{form-DVu3ZMjx.mjs → form-DjNLfy2Z.mjs} +3 -3
  86. package/dist/client/{form.client-QZUyABIY.mjs → form.client-Cj0By6ot.mjs} +3 -3
  87. package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-DyA9C5Hy.mjs} +1 -1
  88. package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-CZo0MPTA.mjs} +1 -1
  89. package/dist/client/gifting/client.mjs +2 -2
  90. package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-JjSq6Mzp.mjs} +2 -2
  91. package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-DRN1JePj.mjs} +2 -2
  92. package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-CuCvQdvp.mjs} +2 -2
  93. package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-B9srHHzZ.mjs} +2 -2
  94. package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-C2EgEBP1.mjs} +4 -4
  95. package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-CaldoFmi.mjs} +1 -1
  96. package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-hm7L17LM.mjs} +3 -3
  97. package/dist/client/{noop-DMFt3KdC.mjs → noop-M8FTSgm2.mjs} +2 -2
  98. package/dist/client/portal/client.mjs +10 -67
  99. package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-y86uwzEI.mjs} +1 -1
  100. package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-_JBndYZT.mjs} +1 -1
  101. package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-D-9fb2cW.mjs} +3 -3
  102. package/dist/client/{productList-DZH9_brv.mjs → productList-BSRlnwBW.mjs} +3 -3
  103. package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-DhbGL302.mjs} +3 -3
  104. package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BaX0hxf5.mjs} +83 -63
  105. package/dist/client/rendering/client.mjs +23 -23
  106. package/dist/client/rendering/islands.mjs +1 -1
  107. package/dist/client/rendering.mjs +4 -4
  108. package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cny2Ukb6.mjs} +1 -1
  109. package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-96er7pIx.mjs} +1 -1
  110. package/dist/client/{shop-C7eL3B37.mjs → shop-CnIJfdZA.mjs} +3 -3
  111. package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-CsLwzq5O.mjs} +9 -9
  112. package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store--O8GRBwr.mjs} +1 -1
  113. package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-BcaJ-acA.mjs} +11 -10
  114. package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-BxL_bshW.mjs} +37 -3
  115. package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-VZjPOfCX.mjs} +2 -2
  116. package/dist/client/{timetableModel-D7PwpaBY.mjs → timetableModel-D09jPdue.mjs} +5 -5
  117. package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-pTXuY3jV.mjs} +2 -2
  118. package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-D14J-EhJ.mjs} +1 -1
  119. package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-o5sIVZ2u.mjs} +1 -1
  120. package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DJhFP_rg.mjs} +1 -1
  121. package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DMmNf2FP.mjs} +6 -6
  122. package/dist/client/{view-hJr_L4QC2.mjs → view-BgPql2yH2.mjs} +3 -3
  123. package/dist/client/{view-BPEa6Okm.mjs → view-D1R3Lk05.mjs} +13 -69
  124. package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-C0TsNqJc.mjs} +102 -37
  125. package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DADCj_ET.mjs} +67 -67
  126. package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-La40Dmmh.mjs} +3 -3
  127. package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-406Hw9zY.mjs} +130 -130
  128. package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-CWN44I_B.mjs} +1 -1
  129. package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-BdwEZoo9.mjs} +111593 -111244
  130. package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-BVUKIYG0.mjs} +1 -1
  131. package/dist/preview-next/client/runtime.mjs +3 -3
  132. package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-Cy9AKPy5.mjs} +1 -1
  133. package/dist/preview-next/client/{siteStyleAccess-CRXaC2oL.mjs → siteStyleAccess-CFMmoMZb.mjs} +1 -1
  134. package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-Bhpzz2vO.mjs} +1 -1
  135. package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-DB6fb1pR.mjs} +4 -4
  136. package/dist/server/{bindings-C7DKLVx_.mjs → bindings-z2daXp-2.mjs} +1 -1
  137. package/dist/server/{blocks-jlIm0PWc.mjs → blocks-BaG8Qpaa.mjs} +64 -29
  138. package/dist/server/{client-CU4wlMLE.mjs → client-Cv-osXoU.mjs} +1 -1
  139. package/dist/server/config-validation.mjs +1 -1
  140. package/dist/server/config.mjs +2 -2
  141. package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
  142. package/dist/server/index.mjs +2 -2
  143. package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-BNMDYCm8.mjs} +4 -4
  144. package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-CjA_F_AF.mjs} +2 -2
  145. package/dist/server/loadPage-jade28Xh.mjs +2 -0
  146. package/dist/server/metadata.mjs +2 -2
  147. package/dist/server/next.mjs +12 -11
  148. package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-CGodrtqi.mjs} +1 -1
  149. package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-DxRC724a.mjs} +73 -114
  150. package/dist/server/page-converter.mjs +1 -1
  151. package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-C6bhjRKT.mjs} +1 -1
  152. package/dist/server/prebuild.mjs +1 -1
  153. package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-DZ5Fq_-r.mjs} +1 -1
  154. package/dist/server/rendering/server.mjs +4 -4
  155. package/dist/server/rendering.mjs +7 -7
  156. package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-CbGDakvp.mjs} +1 -1
  157. package/dist/server/routing.mjs +1 -1
  158. package/dist/server/server.mjs +3 -3
  159. package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-DK2YBNqy.mjs} +8 -6
  160. package/dist/server/{validation-Cm41pDUB.mjs → validation-BtHE2S_D.mjs} +2 -2
  161. package/dist/server/{version-Bo9C3McI.mjs → version-CNCdL6id.mjs} +1 -1
  162. package/package.json +1 -1
  163. package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
@@ -1,8 +1,8 @@
1
1
  import { D as ok, E as err, s as runtimeMediaSchema, u as renderableMediaAssetSchema } from "./media-CcHwZkdJ.mjs";
2
2
  import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
3
- import { $i as buildMailingListSignupBlockSourceRef, $n as resolvedItemSurfaceProps, $r as CirclePlusIcon, $t as groupEventsByDate, A as buildEventCalendarInteractiveIslandProps, An as composeHeaderSectionWrapperClassName, Ar as resolveBackgroundColorValue, At as resolveOfferingsRenderInput, Bt as formatEventPriceDisplay, C as membershipClassesLabel, Ca as resolvePricingOptionsPriceDisplay, Ci as PUBLIC_DOWNLOAD_MEDIA_TYPES, Cn as bookingConsentCarrierSchema, Cr as boxStyleClassNames, Ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, D as buildOfferingsCatalogueListing, Dn as shouldReserveFeatureCardIconZone, Dt as resolveOfferingsPreviewGroupCta, E as publicRouteCandidatesSchema, En as resolveFeatureCardGeneratedIconSizePx, Et as offeringsListingFor, F as buildEventCollectionHydration, Fi as resolveEffectiveArrangement, Ft as getIconComponent, G as CardListLeadDate, Gn as createInteractiveIslandCodec, Gt as formatCalendarTitle, H as catalogueEventCardProps, Hn as formBlockDefinition, I as buildEventCollectionListingDisplay, It as SpinnerNode, J as MediaNodeServer, Ji as resolveDateRuntimeContext, Jn as defineClientOwnedBlockRuntime, Jr as parseBlockIconValue, Jt as formatEventDateParts, K as resolveCardListSchedule, Kn as defineInteractiveIslandMetaKeys, Kr as normalizeBlockContent, Kt as formatDate, L as eventCollectionDisplaySchemaShape, Lt as buildEventListWeek, M as eventListingBlockDefinition, Mn as splitPositioningClasses, Mr as el, Mt as ThemedButton, N as buildEventListingInteractiveIslandProps, Ni as arrangementManifestFromVariants, Nr as when, Nt as ThemedButtonLink, Ot as resolveOfferingsPreviewGroups, P as buildEventCollectionDisplay, Pt as ThemedDownloadLink, Qi as resolveWholeSeriesBookingPhase, Qn as listLookSlot, Qr as CircleMinusIcon, Qt as formatTime, R as eventCollectionHydrationSchema, Rn as staticHeaderChromeRuntime, Rt as formatEventPrice, S as membershipCardListContent, Sa as resolveExactOrFreePriceDisplay, Sn as blockBookingConsentSchema, T as offeringsPreviewBlockDefinition, Ta as parseCurrencyCode, Tn as FEATURE_CARD_ICON_TREATMENTS, Tr as resolveCardRoleForBoxStyles, Tt as normalizeOfferingsPreviewItemLimit, U as listingEventCardProps, Un as buildFormInteractiveIslandProps, Ur as runTransforms, Ut as eventDateOptions, Vt as buildCalendarViewport, W as CardListContentPart, Wn as buildInteractiveIslandProps, Wt as eventLocalDateKey, X as ImagePresets, Xi as nextLiveRunSessionStartMs, Xn as listItemPresentation, Xr as ArrowDownIcon, Xt as formatEventNextDateFact, Y as RichText, Yi as CANCELLED_SESSION_STATUS, Yn as defineProgressiveBlockRuntime, Yr as resolveBlockIconRenderValue, Yt as formatEventHourLabel, Z as MediaPlaceholder, Zi as orderedLiveRunSessions, Zn as listLookControl, Zr as ChevronDownIcon, Zt as formatEventTimeRange, _ as buildCheckoutInteractiveIslandProps, _a as formatBookingPriceDisplay, _i as parseFieldDefinitions, _n as getEventAvailabilityStatus, _r as ctaRowFragment, aa as formatDateRange, ai as MinusIcon, an as getDayOfWeek, ar as headingFragment, at as setContextResolveImageUrlContext, b as buildShopInteractiveIslandProps, ba as publicEventPricingDisplay, bi as bindingSchema, bn as groupPublicEventsByRun, br as bodyCopyFragment, c as newsletterBlockSubmissionMessage, ca as formatBookingCompactEnglishTime, ci as isInlineTextEmpty, cn as getWeekCalendarDays, cr as faqHeadingFragment, ct as getContainerClass, d as checkoutBlockDefinition, da as parseBookingLocalDate, dn as resolveRuntimeEventDestination, dr as formEmbedFragment, dt as buildEventRegistrationInteractiveIslandProps, ea as parseMailingListRuntimeContext, ei as ClockIcon, en as resolveEventTimeZone, er as itemRole, f as cartBlockDefinition, fa as parseLocalScheduleTime, fn as browserReadAuthoritySchema, fr as formCopyFragment, ft as bookingNowSchema, g as buildCartInteractiveIslandProps, ga as toUtcIsoDateTimeString, gn as getEventAvailability, gr as heroCtaRowFragment, h as shopBlockDefinition, ha as toScheduledBookingDateTime, hn as formatTotalCapacity, hr as ctaCopyFragment, i as newsletterSignupBlockDefinition, ia as formatDate$1, ii as FileTextIcon, in as formatDateKey, ir as richTextFragment, it as getCurrentResolveImageUrlContext, j as buildEventCalendarListingDisplay, jn as markEditableSurfaceForwarding, jr as ctaButton, jt as ThemedAuthoredButton, k as eventCalendarBlockDefinition, kt as resolveOfferingsPreviewRunPath, l as giftingBlockDefinition, la as getBookingLocalDateKey, li as parseInlineTextFromUnknown, ln as isSameCalendarDay, lr as blogFeaturedPostFragment, m as productListBlockDefinition, ma as toBookingTimeZone, mn as formatEventRemainingPlaces, mr as testimonialsHeadingFragment, n as normalizeLocationMapProps, na as parseMailingListPlacementTargeting, ni as FileAudioIcon, nn as getLocalMinuteOfDay, nr as Grid, nt as resolvePublicMediaUrl, o as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, oa as formatDateTimeRange, oi as PlusIcon, on as getOrderedDayNames, or as cardFragment, ot as sanitizeHref, p as productDetailBlockDefinition, pa as resolveBookingBusinessTimeZone, pn as canJoinEventWaitlistOnAnyMode, pr as testimonialsCarouselFragment, pt as previewStageSchema, q as selectCardListPresentation, qi as readRuntimeNow, qn as createZodCodec, qr as buildGeneratedBlockIconRenderAssetLookupFromUnknown, qt as formatEventCompactDateRail, r as toLocationMapHydrationProps, ra as sameMailingListPlacementTargeting, ri as FileSpreadsheetIcon, rn as addDays, rr as clsx, rt as buildResolveImageUrlContext, s as buildNewsletterFormInteractiveIslandProps, si as inlineTextToPlainText, sn as getWeekCalendarDayTuple, sr as faqAccordionFragment, st as getCardOrientation, t as buildGoogleMapsDirectionsUrl, ti as FileArchiveIcon, tn as getLocalDateKey, u as buildGiftingInteractiveIslandProps, ua as getLocalScheduleDate, un as isToday, ur as singleButtonFragment, ut as eventRegistrationBlockDefinition, v as buildProductDetailInteractiveIslandProps, va as isPublicEventPricingOptionDisplayable, vn as isEventFull, vr as isBlockButtonRole, vt as normalizeEventRegistrationPageSurfaceSubject, w as passCardListContent, wa as formatCurrencyAmount, wn as blockBookingPaymentTermsSchema, wr as normalizeBoxStylesBorder, wt as buildOfferingsPreviewListing, x as shopProductPresentation, xa as publicEventPricingType, xn as publicEventsArraySchema, xr as defineFragment, y as buildProductListInteractiveIslandProps, ya as publicEventPricingCurrency, yn as blockSiteTermsSchema, yr as heroCopyFragment, yt as resolveEventRegistrationScopedEvents, z as eventCollectionSourceSchemaShape, zt as formatEventPriceAmount } from "./blocks-jlIm0PWc.mjs";
4
- import { g as validateManifestDraft, h as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-D2-BnmDO.mjs";
5
- import { C as resolvePageRouteTarget, D as parseStoredVariant, E as resolveLinkedEntryInlineFieldEligibility, S as resolveEntryRouteTarget, T as buildLinkedContentEditTarget, _ as renderedJoinLayout, b as defaultTransforms, f as buildPageRenderPlan, g as joinSlotKey, h as composePageJoins, m as toPresentationPage, p as toEditorPresentationPage, v as retargetJoinsAcrossOmissions, w as resolveRouteTarget } from "./prefetchBlockData-Bjya-X9t.mjs";
3
+ import { $i as orderedLiveRunSessions, $n as listLookControl, $r as ChevronDownIcon, $t as formatTime, A as buildEventCalendarInteractiveIslandProps, At as resolveOfferingsRenderInput, Bn as staticHeaderChromeRuntime, Bt as formatEventPriceDisplay, C as membershipClassesLabel, Ca as publicEventPricingDisplay, Cn as publicEventsArraySchema, Cr as defineFragment, Ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, D as buildOfferingsCatalogueListing, Da as formatCurrencyAmount, Dn as FEATURE_CARD_ICON_TREATMENTS, Dr as resolveCardRoleForBoxStyles, Dt as resolveOfferingsPreviewGroupCta, E as publicRouteCandidatesSchema, Ea as resolvePricingOptionsPriceDisplay, En as blockBookingPaymentTermsSchema, Er as normalizeBoxStylesBorder, Et as offeringsListingFor, F as buildEventCollectionHydration, Fi as arrangementManifestFromVariants, Fr as when, Ft as getIconComponent, G as CardListLeadDate, Gn as buildFormInteractiveIslandProps, Gr as runTransforms, Gt as formatCalendarTitle, H as catalogueEventCardProps, I as buildEventCollectionListingDisplay, It as SpinnerNode, J as MediaNodeServer, Jn as defineInteractiveIslandMetaKeys, Jr as normalizeBlockContent, Jt as formatEventCompactDateRail, K as resolveCardListSchedule, Kn as buildInteractiveIslandProps, Kt as formatDate, L as eventCollectionDisplaySchemaShape, Li as resolveEffectiveArrangement, Lt as buildEventListWeek, M as eventListingBlockDefinition, Mn as composeHeaderSectionWrapperClassName, Mr as resolveBackgroundColorValue, Mt as ThemedButton, N as buildEventListingInteractiveIslandProps, Nn as markEditableSurfaceForwarding, Nr as ctaButton, Nt as ThemedButtonLink, Oa as parseCurrencyCode, On as resolveFeatureCardGeneratedIconSizePx, Ot as resolveOfferingsPreviewGroups, P as buildEventCollectionDisplay, Pn as splitPositioningClasses, Pr as el, Pt as ThemedDownloadLink, Qi as nextLiveRunSessionStartMs, Qn as listItemPresentation, Qr as ArrowDownIcon, Qt as formatEventTimeRange, R as eventCollectionHydrationSchema, Rt as formatEventPrice, S as membershipCardListContent, Sa as publicEventPricingCurrency, Si as bindingSchema, Sn as groupPublicEventsByRun, Sr as bodyCopyFragment, T as offeringsPreviewBlockDefinition, Ta as resolveExactOrFreePriceDisplay, Ti as PUBLIC_DOWNLOAD_MEDIA_TYPES, Tn as bookingConsentCarrierSchema, Tr as boxStyleClassNames, Tt as normalizeOfferingsPreviewItemLimit, U as listingEventCardProps, Ut as eventDateOptions, Vt as buildCalendarViewport, W as CardListContentPart, Wn as formBlockDefinition, Wt as eventLocalDateKey, X as ImagePresets, Xi as resolveDateRuntimeContext, Xn as defineClientOwnedBlockRuntime, Xr as parseBlockIconValue, Xt as formatEventHourLabel, Y as RichText, Yi as readRuntimeNow, Yn as createZodCodec, Yr as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Yt as formatEventDateParts, Z as MediaPlaceholder, Zi as CANCELLED_SESSION_STATUS, Zn as defineProgressiveBlockRuntime, Zr as resolveBlockIconRenderValue, Zt as formatEventNextDateFact, _ as buildCheckoutInteractiveIslandProps, _a as toBookingTimeZone, _n as formatTotalCapacity, _r as ctaCopyFragment, aa as sameMailingListPlacementTargeting, ai as FileSpreadsheetIcon, an as formatDateKey, ar as clsx, at as setContextResolveImageUrlContext, b as buildShopInteractiveIslandProps, ba as formatBookingPriceDisplay, bn as isEventFull, br as isBlockButtonRole, c as newsletterBlockSubmissionMessage, ca as formatDateTimeRange, ci as PlusIcon, cn as getWeekCalendarDayTuple, cr as cardFragment, ct as getContainerClass, d as checkoutBlockDefinition, da as formatBookingCompactEnglishTime, di as parseInlineTextFromUnknown, dn as isToday, dr as blogFeaturedPostFragment, dt as buildEventRegistrationInteractiveIslandProps, ea as resolveWholeSeriesBookingPhase, ei as CircleMinusIcon, en as groupEventsByDate, er as listLookSlot, f as cartBlockDefinition, fa as getBookingLocalDateKey, fn as resolveRuntimeEventDestination, fr as singleButtonFragment, ft as bookingNowSchema, g as buildCartInteractiveIslandProps, ga as resolveBookingBusinessTimeZone, gn as formatEventRemainingPlaces, gr as testimonialsHeadingFragment, h as shopBlockDefinition, ha as parseLocalScheduleTime, hn as canJoinEventWaitlistOnAnyMode, hr as testimonialsCarouselFragment, i as newsletterSignupBlockDefinition, ia as parseMailingListPlacementTargeting, ii as FileAudioIcon, in as addDays, ir as Grid, it as getCurrentResolveImageUrlContext, j as buildEventCalendarListingDisplay, jt as ThemedAuthoredButton, k as eventCalendarBlockDefinition, kn as shouldReserveFeatureCardIconZone, kt as resolveOfferingsPreviewRunPath, l as giftingBlockDefinition, li as inlineTextToPlainText, ln as getWeekCalendarDays, lr as faqAccordionFragment, m as productListBlockDefinition, ma as parseBookingLocalDate, mn as browserReadAuthoritySchema, mr as formCopyFragment, n as normalizeLocationMapProps, na as parseMailingListRuntimeContext, ni as ClockIcon, nn as getLocalDateKey, nr as itemRole, nt as resolvePublicMediaUrl, o as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, oa as formatDate$1, oi as FileTextIcon, on as getDayOfWeek, or as richTextFragment, ot as sanitizeHref, p as productDetailBlockDefinition, pa as getLocalScheduleDate, pn as formatBookingSchedulePresentation, pr as formEmbedFragment, pt as previewStageSchema, q as selectCardListPresentation, qn as createInteractiveIslandCodec, qt as formatEventClockLabel, r as toLocationMapHydrationProps, ri as FileArchiveIcon, rn as getLocalMinuteOfDay, rt as buildResolveImageUrlContext, s as buildNewsletterFormInteractiveIslandProps, sa as formatDateRange, si as MinusIcon, sn as getOrderedDayNames, sr as headingFragment, st as getCardOrientation, t as buildGoogleMapsDirectionsUrl, ta as buildMailingListSignupBlockSourceRef, ti as CirclePlusIcon, tn as resolveEventTimeZone, tr as resolvedItemSurfaceProps, u as buildGiftingInteractiveIslandProps, ua as compareLocalScheduleDates, ui as isInlineTextEmpty, un as isSameCalendarDay, ur as faqHeadingFragment, ut as eventRegistrationBlockDefinition, v as buildProductDetailInteractiveIslandProps, va as toScheduledBookingDateTime, vn as getEventAvailability, vr as heroCtaRowFragment, vt as normalizeEventRegistrationPageSurfaceSubject, w as passCardListContent, wa as publicEventPricingType, wn as blockBookingConsentSchema, wt as buildOfferingsPreviewListing, x as shopProductPresentation, xa as isPublicEventPricingOptionDisplayable, xn as blockSiteTermsSchema, xr as heroCopyFragment, y as buildProductListInteractiveIslandProps, ya as toUtcIsoDateTimeString, yi as parseFieldDefinitions, yn as getEventAvailabilityStatus, yr as ctaRowFragment, yt as resolveEventRegistrationScopedEvents, z as eventCollectionSourceSchemaShape, zt as formatEventPriceAmount } from "./blocks-BaG8Qpaa.mjs";
4
+ import { g as validateManifestDraft, h as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-DK2YBNqy.mjs";
5
+ import { C as resolvePageRouteTarget, D as parseStoredVariant, E as resolveLinkedEntryInlineFieldEligibility, S as resolveEntryRouteTarget, T as buildLinkedContentEditTarget, _ as renderedJoinLayout, b as defaultTransforms, f as buildPageRenderPlan, g as joinSlotKey, h as composePageJoins, m as toPresentationPage, p as toEditorPresentationPage, v as retargetJoinsAcrossOmissions, w as resolveRouteTarget } from "./prefetchBlockData-DZ5Fq_-r.mjs";
6
6
  import { E as ICON_CONFIG, En as defaultThemeTokens, Jn as parseThemeColorToken, Jt as testimonialsCompositionTreatmentValues, Ln as getTextColorForBackground, N as generateDefaultButtonSystem, P as parseThemeButtonVariantId, R as parseThemeForPersistence, Rt as featureCardCompositionTreatmentValues, Vt as introCompositionTreatmentValues, Wt as offeringsPreviewCompositionTreatmentValues, cn as rgbColorValue, gn as resolveOnColorForThemeToken, hn as isCssColorLiteral, in as backgroundColorStyle, ln as textColorStyle, sn as mergeStyles, vn as resolveTokenOrCssColorValue } from "./schema-Bs735S27.mjs";
7
7
  import { A as arrangementLookHooks } from "./siteChromeOverlayClearance-BangtD8A.mjs";
8
8
  import { a as isRecord$4, i as isObjectRecord, t as RichTextDocSchema } from "./richTextSchema-YYc85FX4.mjs";
@@ -4665,7 +4665,7 @@ function resolveEventDetailsPresentation(input) {
4665
4665
  //#region ../blocks/src/system/blocks/offerings-preview/scheduleSummary.ts
4666
4666
  function deriveEventScheduleSummary(event) {
4667
4667
  const occurrence = occurrenceFromEvent(event);
4668
- return localDayNumber(occurrence.endsAt, occurrence.timeZone) > localDayNumber(occurrence.startsAt, occurrence.timeZone) ? {
4668
+ return compareLocalScheduleDates(getLocalScheduleDate(new Date(occurrence.endsAt), resolveBookingBusinessTimeZone(occurrence.timeZone)), getLocalScheduleDate(new Date(occurrence.startsAt), resolveBookingBusinessTimeZone(occurrence.timeZone))) > 0 ? {
4669
4669
  kind: "multi-day-span",
4670
4670
  occurrence
4671
4671
  } : {
@@ -4673,23 +4673,18 @@ function deriveEventScheduleSummary(event) {
4673
4673
  occurrence
4674
4674
  };
4675
4675
  }
4676
- function derivePreviewRunSchedule(runSessions) {
4677
- const sessions = orderedLiveRunSessions(runSessions).filter(isValidOccurrence);
4676
+ function derivePreviewRunSchedule(event) {
4677
+ const sessions = orderedLiveRunSessions(event.run.sessions).filter(isValidOccurrence);
4678
4678
  const first = sessions[0];
4679
4679
  const last = sessions[sessions.length - 1];
4680
4680
  if (!first || !last) return { kind: "no-live-sessions" };
4681
- const recurrence = sessions.length > 1 ? deriveFixedRecurrence(sessions) : null;
4682
- const summary = sessions.length === 1 ? deriveEventScheduleSummary(first) : recurrence ? {
4683
- kind: "fixed-recurring-run",
4681
+ const authoredSummary = formatBookingSchedulePresentation("representative" in event ? event.representative : event);
4682
+ const summary = !authoredSummary && sessions.length === 1 ? deriveEventScheduleSummary(first) : {
4683
+ kind: "scheduled-run",
4684
4684
  first,
4685
4685
  last,
4686
4686
  sessionCount: sessions.length,
4687
- recurrenceLabel: recurrence
4688
- } : {
4689
- kind: "irregular-multi-session-run",
4690
- first,
4691
- last,
4692
- sessionCount: sessions.length
4687
+ authoredSummary
4693
4688
  };
4694
4689
  return {
4695
4690
  kind: "scheduled",
@@ -4705,59 +4700,9 @@ function occurrenceFromEvent(event) {
4705
4700
  timeZone: event.timeZone
4706
4701
  };
4707
4702
  }
4708
- function deriveFixedRecurrence(sessions) {
4709
- const [first, second] = sessions;
4710
- if (!first || !second) return null;
4711
- if (!sessions.every((session) => sameLocalTime(first, session))) return null;
4712
- const intervalDays = localDayNumber(second.startsAt, second.timeZone) - localDayNumber(first.startsAt, first.timeZone);
4713
- if (intervalDays <= 0) return null;
4714
- for (let index = 2; index < sessions.length; index += 1) {
4715
- const previous = sessions[index - 1];
4716
- const current = sessions[index];
4717
- if (!previous || !current) return null;
4718
- if (localDayNumber(current.startsAt, current.timeZone) - localDayNumber(previous.startsAt, previous.timeZone) !== intervalDays) return null;
4719
- }
4720
- if (intervalDays === 1) return "Every day";
4721
- const weekday = localDateParts(first.startsAt, first.timeZone).weekday;
4722
- if (intervalDays === 7) return `Every ${weekday}`;
4723
- if (intervalDays % 7 === 0) return `Every ${intervalDays / 7} weeks on ${weekday}`;
4724
- return `Every ${intervalDays} days`;
4725
- }
4726
- function sameLocalTime(reference, candidate) {
4727
- const referenceStart = localDateParts(reference.startsAt, reference.timeZone);
4728
- const candidateStart = localDateParts(candidate.startsAt, candidate.timeZone);
4729
- const referenceEnd = localDateParts(reference.endsAt, reference.timeZone);
4730
- const candidateEnd = localDateParts(candidate.endsAt, candidate.timeZone);
4731
- return referenceStart.hour === candidateStart.hour && referenceStart.minute === candidateStart.minute && referenceEnd.hour === candidateEnd.hour && referenceEnd.minute === candidateEnd.minute;
4732
- }
4733
4703
  function isValidOccurrence(value) {
4734
4704
  return Number.isFinite(Date.parse(value.startsAt)) && Number.isFinite(Date.parse(value.endsAt));
4735
4705
  }
4736
- function localDayNumber(isoTimestamp, timeZone) {
4737
- const parts = localDateParts(isoTimestamp, timeZone);
4738
- return Math.floor(Date.UTC(parts.year, parts.month - 1, parts.day) / 864e5);
4739
- }
4740
- function localDateParts(isoTimestamp, timeZone) {
4741
- const parts = new Intl.DateTimeFormat("en-GB", {
4742
- timeZone,
4743
- year: "numeric",
4744
- month: "numeric",
4745
- day: "numeric",
4746
- hour: "2-digit",
4747
- minute: "2-digit",
4748
- hourCycle: "h23",
4749
- weekday: "long"
4750
- }).formatToParts(new Date(isoTimestamp));
4751
- const value = (type) => parts.find((part) => part.type === type)?.value ?? "";
4752
- return {
4753
- year: Number(value("year")),
4754
- month: Number(value("month")),
4755
- day: Number(value("day")),
4756
- hour: Number(value("hour")),
4757
- minute: Number(value("minute")),
4758
- weekday: value("weekday")
4759
- };
4760
- }
4761
4706
  //#endregion
4762
4707
  //#region ../blocks/src/system/runtime/nodes/events/shared/eventCardListContent.ts
4763
4708
  /** Live offering data only; editorial cards never acquire booking fields. */
@@ -4811,7 +4756,7 @@ function offeringLeadDate(event, startMs) {
4811
4756
  };
4812
4757
  }
4813
4758
  function offeringSchedule(event, now) {
4814
- const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event.run.sessions) : null;
4759
+ const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event) : null;
4815
4760
  if (run?.kind === "no-live-sessions") return {
4816
4761
  numeral: null,
4817
4762
  schedule: null
@@ -4864,8 +4809,7 @@ function scheduleLine(summary, event, now) {
4864
4809
  zone
4865
4810
  }) : date(summary.occurrence.startsAt);
4866
4811
  case "multi-day-span": return dates(summary.occurrence.startsAt, summary.occurrence.endsAt);
4867
- case "fixed-recurring-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.recurrenceLabel}`;
4868
- case "irregular-multi-session-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.sessionCount} dates`;
4812
+ case "scheduled-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.authoredSummary?.text ?? `${summary.sessionCount} dates`}`;
4869
4813
  }
4870
4814
  }
4871
4815
  function offeringAvailability(event) {
@@ -6182,7 +6126,7 @@ function FeaturedOfferingSummary({ item }) {
6182
6126
  children: [
6183
6127
  details.recurrence ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Repeats" }), /* @__PURE__ */ jsx("dd", { children: details.recurrence })] }) : null,
6184
6128
  details.sessionCount ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Sessions" }), /* @__PURE__ */ jsx("dd", { children: details.sessionCount })] }) : null,
6185
- /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }),
6129
+ details.timeRange ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }) : null,
6186
6130
  details.venue ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Venue" }), /* @__PURE__ */ jsx("dd", { children: details.venue })] }) : null
6187
6131
  ]
6188
6132
  })]
@@ -6196,7 +6140,7 @@ function featuredSummaryDetails(item) {
6196
6140
  deliveryMode: item.event.deliveryMode
6197
6141
  });
6198
6142
  case "run": {
6199
- const schedule = derivePreviewRunSchedule(item.run.run.sessions);
6143
+ const schedule = derivePreviewRunSchedule(item.run);
6200
6144
  return schedule.kind === "scheduled" ? formatFeaturedSummary(schedule.summary, {
6201
6145
  venue: item.run.representative.venue?.name ?? null,
6202
6146
  siteTimeZone: item.run.representative.siteTimeZone,
@@ -6210,33 +6154,33 @@ function formatFeaturedSummary(summary, place) {
6210
6154
  switch (summary.kind) {
6211
6155
  case "single-occurrence": return detailsFromOccurrences({
6212
6156
  first: summary.occurrence,
6213
- last: null,
6157
+ end: null,
6214
6158
  place
6215
6159
  });
6216
6160
  case "multi-day-span": return detailsFromOccurrences({
6217
6161
  first: summary.occurrence,
6218
- last: summary.occurrence,
6219
- place,
6220
- spanUsesEndDate: true
6221
- });
6222
- case "fixed-recurring-run": return detailsFromOccurrences({
6223
- first: summary.first,
6224
- last: summary.last,
6225
- place,
6226
- recurrence: summary.recurrenceLabel
6162
+ end: {
6163
+ dateTime: summary.occurrence.endsAt,
6164
+ timeZone: summary.occurrence.timeZone
6165
+ },
6166
+ place
6227
6167
  });
6228
- case "irregular-multi-session-run": return detailsFromOccurrences({
6168
+ case "scheduled-run": return detailsFromOccurrences({
6229
6169
  first: summary.first,
6230
- last: summary.last,
6170
+ end: {
6171
+ dateTime: summary.last.startsAt,
6172
+ timeZone: summary.last.timeZone
6173
+ },
6231
6174
  place,
6232
- sessionCount: `${summary.sessionCount} dates`
6175
+ recurrence: summary.authoredSummary ?? void 0,
6176
+ sessionCount: `${summary.sessionCount} date${summary.sessionCount === 1 ? "" : "s"}`
6233
6177
  });
6234
6178
  default: return assertNever$1(summary, "Unhandled offerings preview schedule summary");
6235
6179
  }
6236
6180
  }
6237
6181
  function detailsFromOccurrences(input) {
6238
- const { first, last, place } = input;
6239
- const endDateTime = input.spanUsesEndDate ? first.endsAt : last?.startsAt ?? first.startsAt;
6182
+ const { first, end, place } = input;
6183
+ const endDateTime = end?.dateTime ?? first.startsAt;
6240
6184
  const options = eventDateOptions({
6241
6185
  timeZone: first.timeZone,
6242
6186
  siteTimeZone: place.siteTimeZone,
@@ -6246,13 +6190,15 @@ function detailsFromOccurrences(input) {
6246
6190
  timeZone,
6247
6191
  locale: options.locale
6248
6192
  });
6193
+ const startDate = summaryDate(first.startsAt, first.timeZone);
6194
+ const endDate = end ? summaryDate(end.dateTime, end.timeZone) : null;
6249
6195
  return {
6250
- startDate: summaryDate(first.startsAt, first.timeZone),
6196
+ startDate,
6251
6197
  startDateTime: first.startsAt,
6252
- endDate: last ? summaryDate(endDateTime, last.timeZone) : null,
6198
+ endDate: endDate === startDate ? null : endDate,
6253
6199
  endDateTime,
6254
- timeRange: formatEventTimeRange(first, options),
6255
- recurrence: input.recurrence ?? null,
6200
+ timeRange: input.recurrence?.clock ? null : formatEventTimeRange(first, options),
6201
+ recurrence: input.recurrence?.text ?? null,
6256
6202
  sessionCount: input.sessionCount ?? null,
6257
6203
  venue: place.venue
6258
6204
  };
@@ -6302,8 +6248,13 @@ function renderSingleOfferingCard(item, options) {
6302
6248
  }, item.run.eventSeriesId);
6303
6249
  }
6304
6250
  }
6251
+ /** The authored clock replaces live time only when it was successfully formatted. */
6252
+ function formatRunScheduleTime(schedule, options) {
6253
+ const authored = schedule.summary.kind === "scheduled-run" ? schedule.summary.authoredSummary : null;
6254
+ return [authored?.text, authored?.clock ? null : formatEventTimeRange(schedule.firstSession, options)].filter(Boolean).join(" · ");
6255
+ }
6305
6256
  function WholeSeriesRunCompactRow({ group, path, now }) {
6306
- const schedule = derivePreviewRunSchedule(group.run.sessions);
6257
+ const schedule = derivePreviewRunSchedule(group);
6307
6258
  if (schedule.kind === "no-live-sessions") return /* @__PURE__ */ jsx(RunWithoutLiveDates, {
6308
6259
  group,
6309
6260
  path
@@ -6315,7 +6266,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
6315
6266
  deliveryMode: group.representative.deliveryMode
6316
6267
  });
6317
6268
  const dateRail = formatEventCompactDateRail(firstSession.startsAt, options);
6318
- const timeRange = formatEventTimeRange(firstSession, options);
6269
+ const timeRange = formatRunScheduleTime(schedule, options);
6319
6270
  const price = formatEventPriceDisplay(group.representative.pricing);
6320
6271
  const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
6321
6272
  return /* @__PURE__ */ jsxs("article", {
@@ -6389,7 +6340,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
6389
6340
  });
6390
6341
  }
6391
6342
  function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText }) {
6392
- const schedule = derivePreviewRunSchedule(group.run.sessions);
6343
+ const schedule = derivePreviewRunSchedule(group);
6393
6344
  if (schedule.kind === "no-live-sessions") return /* @__PURE__ */ jsx(RunWithoutLiveDates, {
6394
6345
  group,
6395
6346
  path
@@ -6401,7 +6352,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
6401
6352
  deliveryMode: group.representative.deliveryMode
6402
6353
  });
6403
6354
  const formattedDate = formatEventCompactDateRail(firstSession.startsAt, options).label;
6404
- const timeRange = formatEventTimeRange(firstSession, options);
6355
+ const timeRange = formatRunScheduleTime(schedule, options);
6405
6356
  const price = formatEventPriceDisplay(group.representative.pricing);
6406
6357
  const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
6407
6358
  const description = group.representative.description;
@@ -6717,7 +6668,7 @@ function bookingActionContent(input) {
6717
6668
  default: return assertNever$1(input.booking);
6718
6669
  }
6719
6670
  }
6720
- function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "primary", showVenue = true, emptyMessage = "Regular schedule details will be added shortly." }) {
6671
+ function RecurringSchedule({ dateContext = resolveDateRuntimeContext(void 0), schedule, buttonText = "Book", buttonVariant = "primary", showVenue = true, emptyMessage = "Regular schedule details will be added shortly." }) {
6721
6672
  const projection = schedule ?? {
6722
6673
  items: [],
6723
6674
  diagnostics: []
@@ -6727,8 +6678,28 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
6727
6678
  "data-diagnostic-count": projection.diagnostics.length,
6728
6679
  children: emptyMessage
6729
6680
  });
6730
- const renderRow = (item) => {
6731
- const rowContent = /* @__PURE__ */ jsxs(Fragment, { children: [
6681
+ return /* @__PURE__ */ jsx("div", {
6682
+ className: "recurring-schedule",
6683
+ "data-diagnostic-count": projection.diagnostics.length,
6684
+ role: "list",
6685
+ children: projection.items.map((item) => /* @__PURE__ */ jsx(RecurringScheduleRow, {
6686
+ item,
6687
+ locale: dateContext.locale,
6688
+ buttonText: buttonText ?? "Book",
6689
+ buttonVariant: buttonVariant ?? "primary",
6690
+ showVenue: showVenue ?? true
6691
+ }, item.seriesId))
6692
+ });
6693
+ }
6694
+ function RecurringScheduleRow({ item, locale, buttonText, buttonVariant, showVenue }) {
6695
+ const startLabel = formatEventClockLabel(item.cadence.startTime, locale);
6696
+ const endLabel = formatEventClockLabel(item.cadence.endTime, locale);
6697
+ const description = `${item.title}, ${item.cadence.weekday} at ${startLabel}`;
6698
+ return /* @__PURE__ */ jsxs("article", {
6699
+ className: "recurring-schedule-row",
6700
+ role: "listitem",
6701
+ "aria-label": description,
6702
+ children: [
6732
6703
  /* @__PURE__ */ jsx("p", {
6733
6704
  className: "recurring-schedule-day",
6734
6705
  children: item.cadence.weekday
@@ -6738,7 +6709,7 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
6738
6709
  children: [
6739
6710
  /* @__PURE__ */ jsx("time", {
6740
6711
  dateTime: item.cadence.startTime,
6741
- children: item.cadence.startTime
6712
+ children: startLabel
6742
6713
  }),
6743
6714
  /* @__PURE__ */ jsx("span", {
6744
6715
  "aria-hidden": "true",
@@ -6746,7 +6717,7 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
6746
6717
  }),
6747
6718
  /* @__PURE__ */ jsx("time", {
6748
6719
  dateTime: item.cadence.endTime,
6749
- children: item.cadence.endTime
6720
+ children: endLabel
6750
6721
  })
6751
6722
  ]
6752
6723
  }),
@@ -6764,24 +6735,12 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
6764
6735
  className: "recurring-schedule-action",
6765
6736
  children: bookingActionContent({
6766
6737
  booking: item.booking,
6767
- buttonVariant: buttonVariant ?? "primary",
6768
- buttonText: buttonText ?? "Book",
6769
- accessibleName: `${buttonText ?? "Book"} ${item.title}, ${item.cadence.weekday} at ${item.cadence.startTime}`
6738
+ buttonVariant,
6739
+ buttonText,
6740
+ accessibleName: `${buttonText} ${description}`
6770
6741
  })
6771
6742
  })
6772
- ] });
6773
- return /* @__PURE__ */ jsx("article", {
6774
- className: "recurring-schedule-row",
6775
- role: "listitem",
6776
- "aria-label": `${item.title}, ${item.cadence.weekday} at ${item.cadence.startTime}`,
6777
- children: rowContent
6778
- });
6779
- };
6780
- return /* @__PURE__ */ jsx("div", {
6781
- className: "recurring-schedule",
6782
- "data-diagnostic-count": projection.diagnostics.length,
6783
- role: "list",
6784
- children: projection.items.map((item) => /* @__PURE__ */ jsx(React.Fragment, { children: renderRow(item) }, item.seriesId))
6743
+ ]
6785
6744
  });
6786
6745
  }
6787
6746
  //#endregion
@@ -1,4 +1,4 @@
1
- import { Er as parseBackgroundContent, Gr as listBlockDescriptors } from "./blocks-jlIm0PWc.mjs";
1
+ import { Or as parseBackgroundContent, qr as listBlockDescriptors } from "./blocks-BaG8Qpaa.mjs";
2
2
  import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
3
3
  import { a as getJsonFromAi, i as resolveModelForPass, o as getJsonFromAiText, r as DEFAULT_MANIFEST_MODEL, t as convertHtmlToManifest } from "./three-pass-converter-CmmchOFC.mjs";
4
4
  import { z } from "zod";
@@ -1,4 +1,4 @@
1
- import { t as SDK_VERSION } from "./version-Bo9C3McI.mjs";
1
+ import { t as SDK_VERSION } from "./version-CNCdL6id.mjs";
2
2
  import * as crypto$1 from "crypto";
3
3
  import * as path from "path";
4
4
  import * as fs from "fs";
@@ -1,2 +1,2 @@
1
- import { t as prebuildCache } from "./prebuild-8T-m7XjB.mjs";
1
+ import { t as prebuildCache } from "./prebuild-C6bhjRKT.mjs";
2
2
  export { prebuildCache };
@@ -1,6 +1,6 @@
1
1
  import { D as ok, E as err, S as parseUserId, a as mediaSchema, b as parseSiteId, d as indexRenderableMediaAssets, f as resolveManagedMediaReference, g as parseApiKeyId, s as runtimeMediaSchema, u as renderableMediaAssetSchema, x as parseSiteTermsVersionId } from "./media-CcHwZkdJ.mjs";
2
2
  import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
3
- import { Ar as resolveBackgroundColorValue, B as calendarWindowQuerySchema, Bi as sectionFactsForContent, Bn as uiTransforms, Br as lookSkinSlotTransform, Dr as parseBackgroundOverlay, Er as parseBackgroundContent, Fi as resolveEffectiveArrangement, Fn as headerRuntimeTransforms, Fr as BACKGROUND_POSITION_PRESET_VALUES, Hi as heroPhotoPaintsGround, Hr as createTransformRegistry, Ht as eventCalendarWeekStart, Ii as resolveModeArrangement, In as chromeLogoTransforms, Ir as getAnchorClasses, Ji as resolveDateRuntimeContext, Li as resolvePublishedLook, Ln as layoutTransforms, Lr as lookCarouselRegionTransform, Lt as buildEventListWeek, Mi as augmentManifest, Ni as arrangementManifestFromVariants, Nn as contentTransforms, O as projectRecurringSchedule, Or as parseRuntimeBackgroundContent, Pi as readStoredMode, Pn as mediaTransforms, Pr as standardImageShapeOptions, Q as computeMediaTransformStyle, Ri as boundaryLayout, Rr as lookLeadSlotTransform, Sr as boxStylesTransforms, Ui as parseCanonicalRuntimeBackground, Ur as runTransforms, V as resolveCalendarReadProfile, Vi as deriveSectionGround, Vn as formattingTransforms, Vr as asPartialObject, Wi as resolveSectionBackground, Wr as getBlockDefinition, _t as resolveEventCalendarReadPlan, bi as bindingSchema, ga as toUtcIsoDateTimeString, gt as eventCalendarListLayoutOptions, ht as eventCalendarListLayoutCompatibleDisplayModeValues, kr as resolveSurfaceForegroundStyles, lt as resolveEventSelection, mi as fieldSchema, mt as eventCalendarListGroupingDecision, pi as blockCategoryEnum, qi as readRuntimeNow, ta as parseMailingListProviderScope, tr as standardAspectRatioOptions, ua as getLocalScheduleDate, vi as previewCustomizeManifestCurationSchema, xi as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, yi as NodeSchema, zi as composeBoundary, zn as resolveHeroTitleLength, zr as lookQuoteLimitTransform } from "./blocks-jlIm0PWc.mjs";
3
+ import { Ar as parseRuntimeBackgroundContent, B as calendarWindowQuerySchema, Bi as boundaryLayout, Br as lookLeadSlotTransform, Ci as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Fi as arrangementManifestFromVariants, Fn as contentTransforms, Gi as parseCanonicalRuntimeBackground, Gr as runTransforms, Hi as sectionFactsForContent, Hn as uiTransforms, Hr as lookSkinSlotTransform, Ht as eventCalendarWeekStart, Ii as readStoredMode, In as mediaTransforms, Ir as standardImageShapeOptions, Ki as resolveSectionBackground, Kr as getBlockDefinition, Li as resolveEffectiveArrangement, Ln as headerRuntimeTransforms, Lr as BACKGROUND_POSITION_PRESET_VALUES, Lt as buildEventListWeek, Mr as resolveBackgroundColorValue, O as projectRecurringSchedule, Or as parseBackgroundContent, Pi as augmentManifest, Q as computeMediaTransformStyle, Ri as resolveModeArrangement, Rn as chromeLogoTransforms, Rr as getAnchorClasses, Si as bindingSchema, Ui as deriveSectionGround, Un as formattingTransforms, Ur as asPartialObject, V as resolveCalendarReadProfile, Vi as composeBoundary, Vn as resolveHeroTitleLength, Vr as lookQuoteLimitTransform, Wi as heroPhotoPaintsGround, Wr as createTransformRegistry, Xi as resolveDateRuntimeContext, Yi as readRuntimeNow, _t as resolveEventCalendarReadPlan, bi as previewCustomizeManifestCurationSchema, gi as fieldSchema, gt as eventCalendarListLayoutOptions, hi as blockCategoryEnum, ht as eventCalendarListLayoutCompatibleDisplayModeValues, jr as resolveSurfaceForegroundStyles, kr as parseBackgroundOverlay, lt as resolveEventSelection, mt as eventCalendarListGroupingDecision, pa as getLocalScheduleDate, ra as parseMailingListProviderScope, rr as standardAspectRatioOptions, wr as boxStylesTransforms, xi as NodeSchema, ya as toUtcIsoDateTimeString, zi as resolvePublishedLook, zn as layoutTransforms, zr as lookCarouselRegionTransform } from "./blocks-BaG8Qpaa.mjs";
4
4
  import { d as SUPPORTED_LOADER_ENDPOINTS$1, n as parsePublicProductCategorySelector, r as isRecord$3 } from "./publicProducts-C3meXS2o.mjs";
5
5
  import { En as defaultThemeTokens, Ht as makeBoundaryId, Qt as resolveSurface, jt as asSiteStyleId, kt as asLayoutVariantKey, lt as stripStaleTransitionStyleGroup, r as themeSchema, wt as asDesignBlockId } from "./schema-Bs735S27.mjs";
6
6
  import { B as resolveEffectiveKnobs, C as getGradientPreset, H as cardListKnobBlocks, M as resolveItemSurface, N as resolveLookSlotSurfaces, S as gradientToCss, T as deriveSiteStyleBlockPolicy, V as cardListFamilyBlocks, j as arrangementSlotNames, w as parseGradientPresetId } from "./siteChromeOverlayClearance-BangtD8A.mjs";
@@ -1,7 +1,7 @@
1
- import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, y as MissingBlockOverrideError } from "../overrides-BcA6ZPWf.mjs";
2
- import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-D2-BnmDO.mjs";
3
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-DLoilC2J.mjs";
4
- import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-ByeAbLSO.mjs";
1
+ import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, y as MissingBlockOverrideError } from "../overrides-DxRC724a.mjs";
2
+ import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DK2YBNqy.mjs";
3
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-DB6fb1pR.mjs";
4
+ import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-CGodrtqi.mjs";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region src/rendering/components/Block.server.tsx
7
7
  /**
@@ -1,11 +1,11 @@
1
1
  import { a as mediaSchema, f as resolveManagedMediaReference, h as parseMediaIdentifier, l as buildRenderableMediaAssetIndex, m as parseCanonicalMediaIdentifier, o as persistableMediaSchema, p as mediaIdentifierSchema, s as runtimeMediaSchema, u as renderableMediaAssetSchema } from "./media-CcHwZkdJ.mjs";
2
- import { C as toBlocksMediaAssets, S as toBlocksImageResolveContextInput, _ as ThemeScope, b as PageRenderer, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as EditorPageRenderer, w as buildThemeRuntime, x as toBlocksPageRendererDataContext, y as MissingBlockOverrideError } from "./overrides-BcA6ZPWf.mjs";
3
- import { $ as resolveImageSourceSetWithContext$1, Di as projectRepeaterGridLayoutForRendering$1, Ei as projectRepeaterGridLayout$1, Q as computeMediaTransformStyle, Y as RichText$2, et as resolveImageUrl$1, gi as parseFieldDefinition, ot as sanitizeHref, rt as buildResolveImageUrlContext, tt as resolveImageUrlWithContext$1 } from "./blocks-jlIm0PWc.mjs";
4
- import { _ as admitLayoutGridForPlan, n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as deriveFieldValidationPlan } from "./themeAdmission-D2-BnmDO.mjs";
5
- import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-Bjya-X9t.mjs";
6
- import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-DLoilC2J.mjs";
7
- import { t as loadPage } from "./loadPage-BBkDQA57.mjs";
8
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-DmQ4BiiQ.mjs";
2
+ import { C as toBlocksMediaAssets, S as toBlocksImageResolveContextInput, _ as ThemeScope, b as PageRenderer, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as EditorPageRenderer, w as buildThemeRuntime, x as toBlocksPageRendererDataContext, y as MissingBlockOverrideError } from "./overrides-DxRC724a.mjs";
3
+ import { $ as resolveImageSourceSetWithContext$1, Di as projectRepeaterGridLayoutForRendering$1, Ei as projectRepeaterGridLayout$1, Q as computeMediaTransformStyle, Y as RichText$2, et as resolveImageUrl$1, ot as sanitizeHref, rt as buildResolveImageUrlContext, tt as resolveImageUrlWithContext$1, vi as parseFieldDefinition } from "./blocks-BaG8Qpaa.mjs";
4
+ import { _ as admitLayoutGridForPlan, n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as deriveFieldValidationPlan } from "./themeAdmission-DK2YBNqy.mjs";
5
+ import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-DZ5Fq_-r.mjs";
6
+ import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-DB6fb1pR.mjs";
7
+ import { t as loadPage } from "./loadPage-CjA_F_AF.mjs";
8
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BNMDYCm8.mjs";
9
9
  import "./bindings-Dgt_0goJ.mjs";
10
10
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
11
11
  import "react";
@@ -1,4 +1,4 @@
1
- import { n as prefetchBlockData } from "./prefetchBlockData-Bjya-X9t.mjs";
1
+ import { n as prefetchBlockData } from "./prefetchBlockData-DZ5Fq_-r.mjs";
2
2
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
3
3
  //#region src/data/defineOwnDataProperty.ts
4
4
  /** Define a string key as ordinary data without invoking legacy prototype setters. */
@@ -69,7 +69,7 @@ async function checkRedirectForPath(params) {
69
69
  //#endregion
70
70
  //#region src/routing/resolveRoute.ts
71
71
  const defaultResolveRouteDeps = { loadPage: async (params) => {
72
- const { loadPage } = await import("./loadPage-ZrcfjG3X.mjs");
72
+ const { loadPage } = await import("./loadPage-jade28Xh.mjs");
73
73
  return loadPage(params);
74
74
  } };
75
75
  /**
@@ -1,4 +1,4 @@
1
- import { t as loadPage } from "./loadPage-BBkDQA57.mjs";
2
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-DmQ4BiiQ.mjs";
3
- import { t as createRiverbankClient } from "./client-CU4wlMLE.mjs";
1
+ import { t as loadPage } from "./loadPage-CjA_F_AF.mjs";
2
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BNMDYCm8.mjs";
3
+ import { t as createRiverbankClient } from "./client-Cv-osXoU.mjs";
4
4
  export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
@@ -1,5 +1,5 @@
1
1
  import { _ as parseContentVersionId, i as mediaPosterSchema, p as mediaIdentifierSchema, s as runtimeMediaSchema } from "./media-CcHwZkdJ.mjs";
2
- import { Ai as resolveRepeaterGridRowFieldId, Di as projectRepeaterGridLayoutForRendering, Gi as isRecord$1, Jr as parseBlockIconValue, Oi as resolveRepeaterGridColumnFieldId, Si as linkSchema, Ti as parseRepeaterGridInteger, Wr as getBlockDefinition, _i as parseFieldDefinitions, a as sanitizeNewsletterSignupPublicContent, di as DEFAULT_MEDIA_FIELD_KINDS, fi as PUBLIC_FILE_FIELD_KINDS, ga as toUtcIsoDateTimeString, hi as normalizeSelectSource, ji as resolveRepeaterGridSpanFieldId, ki as resolveRepeaterGridColumnsForBreakpoint, li as parseInlineTextFromUnknown, pa as resolveBookingBusinessTimeZone, si as inlineTextToPlainText, ui as plainTextToInlineText, wi as buildRepeaterGridLayout } from "./blocks-jlIm0PWc.mjs";
2
+ import { Ai as resolveRepeaterGridColumnFieldId, Di as projectRepeaterGridLayoutForRendering, Kr as getBlockDefinition, Mi as resolveRepeaterGridRowFieldId, Ni as resolveRepeaterGridSpanFieldId, Oi as buildRepeaterGridLayout, Xr as parseBlockIconValue, _i as normalizeSelectSource, a as sanitizeNewsletterSignupPublicContent, di as parseInlineTextFromUnknown, fi as plainTextToInlineText, ga as resolveBookingBusinessTimeZone, ji as resolveRepeaterGridColumnsForBreakpoint, ki as parseRepeaterGridInteger, li as inlineTextToPlainText, mi as PUBLIC_FILE_FIELD_KINDS, pi as DEFAULT_MEDIA_FIELD_KINDS, qi as isRecord$1, wi as linkSchema, ya as toUtcIsoDateTimeString, yi as parseFieldDefinitions } from "./blocks-BaG8Qpaa.mjs";
3
3
  import { at as boxBackgroundSchema, ot as runtimeBoxBackgroundSchema } from "./schema-Bs735S27.mjs";
4
4
  import { r as isRichTextDoc } from "./richTextSchema-YYc85FX4.mjs";
5
5
  import { z } from "zod";
@@ -1073,19 +1073,21 @@ function isEmptyRichTextDoc(value) {
1073
1073
  }
1074
1074
  //#endregion
1075
1075
  //#region ../blocks/src/system/manifest/fieldValidation/layoutGridRendering.ts
1076
- function hasInvalidCoordinateValues(plan, items) {
1076
+ function invalidCoordinateIds(plan, items, itemIds) {
1077
1077
  const ids = layoutGridCoordinateFieldIds(plan);
1078
- return items.some((item) => {
1078
+ return items.flatMap((item, index) => {
1079
1079
  const row = layoutGridRecord(item);
1080
- return row !== null && resolveLayoutGridItemPlans(plan, row).some((field) => ids.includes(field.fieldId) && !fieldPlanToStrictObjectPropertyZod(field).safeParse(row[field.fieldId]).success);
1080
+ return row !== null && resolveLayoutGridItemPlans(plan, row).some((field) => ids.includes(field.fieldId) && !fieldPlanToStrictObjectPropertyZod(field).safeParse(row[field.fieldId]).success) ? [itemIds?.[index] ?? String(index)] : [];
1081
1081
  });
1082
1082
  }
1083
1083
  /** Shared raw-coordinate admission for editor and public rendering; retains diagnostics. */
1084
1084
  function admitLayoutGridForPlan(plan, value, rootValues, ids) {
1085
1085
  const layout = buildLayoutGridForPlan(plan, value, rootValues, ids);
1086
- return layout && !layout.hasInvalidItems && hasInvalidCoordinateValues(plan, value) ? {
1086
+ const invalidIds = invalidCoordinateIds(plan, value, ids);
1087
+ return layout && invalidIds.length > 0 ? {
1087
1088
  ...layout,
1088
- hasInvalidItems: true
1089
+ hasInvalidItems: true,
1090
+ invalidCoordinateIds: invalidIds
1089
1091
  } : layout;
1090
1092
  }
1091
1093
  function projectGrid(plan, value, rootValues) {
@@ -1,5 +1,5 @@
1
- import { Wr as getBlockDefinition, mi as fieldSchema, pi as blockCategoryEnum, vi as previewCustomizeManifestCurationSchema, yi as NodeSchema } from "./blocks-jlIm0PWc.mjs";
2
- import { a as SDK_WORKFLOW_ENDPOINT_PATTERN, c as navigationLinkInputSchemaOptions, i as collectPortalLinkStats, l as footerModeSchema, o as SDK_WORKFLOW_ID_PATTERN, r as collectCartLinkStats, s as loaderFallbackScalarSchema, t as SUPPORTED_LOADER_ENDPOINTS, y as builtinTransformDefinitions } from "./prefetchBlockData-Bjya-X9t.mjs";
1
+ import { Kr as getBlockDefinition, bi as previewCustomizeManifestCurationSchema, gi as fieldSchema, hi as blockCategoryEnum, xi as NodeSchema } from "./blocks-BaG8Qpaa.mjs";
2
+ import { a as SDK_WORKFLOW_ENDPOINT_PATTERN, c as navigationLinkInputSchemaOptions, i as collectPortalLinkStats, l as footerModeSchema, o as SDK_WORKFLOW_ID_PATTERN, r as collectCartLinkStats, s as loaderFallbackScalarSchema, t as SUPPORTED_LOADER_ENDPOINTS, y as builtinTransformDefinitions } from "./prefetchBlockData-DZ5Fq_-r.mjs";
3
3
  import { a as ALLOWED_TRANSFORM_IDS_SET, r as ALLOWED_NODE_TYPES_SET, t as titleSourceValueSchema } from "./titleSourceSchema-DwKJfMYb.mjs";
4
4
  import { n as collectBookingReservedFieldCollisions, t as APPOINTMENT_BOOKING_BLOCK_ID } from "./booking-form.reserved-fields-BWRF7509.mjs";
5
5
  import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
@@ -9,6 +9,6 @@
9
9
  * 1. This constant
10
10
  * 2. The "version" field in package.json
11
11
  */
12
- const SDK_VERSION = "0.158.0";
12
+ const SDK_VERSION = "0.159.0";
13
13
  //#endregion
14
14
  export { SDK_VERSION as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@riverbankcms/sdk",
3
- "version": "0.158.0",
3
+ "version": "0.159.0",
4
4
  "description": "Riverbank CMS SDK for headless content consumption",
5
5
  "main": "./dist/server/index.mjs",
6
6
  "module": "./dist/server/index.mjs",
@@ -1,2 +0,0 @@
1
- import { t as loadPage } from "./loadPage-BBkDQA57.mjs";
2
- export { loadPage };