@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
@@ -2,8 +2,8 @@
2
2
  import { d as formatDateKey, l as buildCalendarViewport } from "./src-1PJxc8KO.mjs";
3
3
  import { T as ok, d as parseEventSeriesId, l as parseContentVersionId, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
4
4
  import { Cn as toNonEmptyReadonlyArray, Mr as formatCurrencyAmount, S as clsx, Ut as cardRoleSchema, an as assertNever, h as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-DVBC_pS9.mjs";
5
- import { $t as resolveMediaNodeResponsiveImage, Ar as listLookSlot, Bt as browserReadAuthoritySchema, Cr as resolveEventRegistrationScopedEvents, Dn as selectEventCapacitySource, Dr as isDecodeSuccess, Er as defineProgressiveBlockRuntime, Fi as parseMailchimpInterestId, Ft as toWholeSeriesRegistrationEvents, Gt as MediaPlaceholder, Ii as parseNewsletterListId, It as placesLeftLabel, Jt as renderAudio, Ki as assertNever$1, Kt as computeMediaTransformStyle, Li as formatBookingPriceDisplay, Lt as registrationDisplaySchema, Ni as parseBrevoListId, Nt as toRegistrationEvents, Oi as resolveWholeSeriesRunLifecycle, Or as listItemPresentation, Pi as parseMailchimpAudienceId, Pt as toWholeSeriesRegistrationEvent, Ri as formatEventPricing, Rt as resolveRegistrationDisplay, St as withOccurrenceTitle, Ti as nextLiveRunSessionStartMs, Tr as defineClientOwnedBlockRuntime, U as resolveEventRequiresPayment, Ur as resolveModeArrangement, Ut as RichText, V as findPreSelectedEvent, Vi as publicEventPricingDisplay, Wt as ImagePresets, Yt as renderVideo, _n as resolveRuntimeEventDestination, an as eventDateOptions, ar as eventButtonVariantSchema, br as defineInteractiveIslandMetaKeys, c as registrationStepLabelContext, cr as eventLayoutSchema, dr as registrationButtonVariantSchema, fr as weekStartSchema, in as eventDateLocale, ir as columnOptionSchema, ji as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, jr as lookListPresentationSchemaShape, ki as parseMailingListRuntimeContext, kn as groupPublicEventsByRun, ln as formatEventCompactDateRail, lr as filterAutoShowSchema, lt as formatBookingScheduleSummary, mr as blockButtonRoleSchema, mt as formatRegistrationSchedule, n as getEventSelectionMode, nr as bookingNowSchema, o as registrationRoute, or as eventCalendarDefaultViewSchema, p as isRegistrationLocked, qt as mediaImageHostProps, rn as eventCalendarWeekStart, rr as calendarTabViewsSchema, s as registrationStepLabel, sr as eventCalendarDisplayModeSchema, t as REGISTRATION_STEP_LABELS, ur as previewStageSchema, ut as formatBookingWhen, vr as buildInteractiveIslandProps, wr as createZodCodec, xn as formatRemainingPlaces, xr as eventRegistrationPageSurfaceSubjectSchema, yr as createInteractiveIslandCodec, zt as shownVenue } from "./wizardSteps-HdyGoIG3.mjs";
6
- import { A as eventScheduleScopeValues, B as normalizeIdList, C as eventCalendarVariantMeaning, Ct as toUtcIsoDateTimeString, D as isEventCalendarListLayout, F as normalizeEventStaffMemberId, H as publicEventLoaderQuerySchemaShape, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, U as publicEventSchema, ht as getLocalScheduleDate, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, n as blockSiteTermsSchema, nt as formatDateRange, p as calendarWindowPageSchema, ut as buildBookingUtcDateWindow, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, yt as resolveBookingBusinessTimeZone, z as normalizeEventVenueId } from "./noop-DMFt3KdC.mjs";
5
+ import { Ar as defineProgressiveBlockRuntime, Bi as parseNewsletterListId, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fi as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Fr as lookListPresentationSchemaShape, Gi as publicEventPricingDisplay, H as findPreSelectedEvent, Hi as formatEventPricing, Ht as shownVenue, It as toRegistrationEvents, Jt as MediaPlaceholder, Kt as RichText, Li as parseBrevoListId, Lt as toWholeSeriesRegistrationEvent, Mi as resolveWholeSeriesRunLifecycle, Mr as listItemPresentation, Ni as parseMailingListRuntimeContext, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qt as renderVideo, Ri as parseMailchimpAudienceId, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vi as formatBookingPriceDisplay, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Xi as assertNever$1, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, jn as selectEventCapacitySource, jr as isDecodeSuccess, ki as nextLiveRunSessionStartMs, kr as defineClientOwnedBlockRuntime, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as resolveModeArrangement, qt as ImagePresets, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zi as parseMailchimpInterestId, zt as placesLeftLabel } from "./wizardSteps-C0TsNqJc.mjs";
6
+ import { A as eventScheduleScopeValues, B as normalizeIdList, C as eventCalendarVariantMeaning, Ct as toUtcIsoDateTimeString, D as isEventCalendarListLayout, F as normalizeEventStaffMemberId, H as publicEventLoaderQuerySchemaShape, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, U as publicEventSchema, at as formatTime, bt as resolveBookingTimeZoneId, ht as getLocalScheduleDate, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, n as blockSiteTermsSchema, nt as formatDateRange, p as calendarWindowPageSchema, st as inferSiteDateLocale, ut as buildBookingUtcDateWindow, vt as parseUtcIsoDateTimeString, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, yt as resolveBookingBusinessTimeZone, z as normalizeEventVenueId } from "./noop-M8FTSgm2.mjs";
7
7
  import { n as getCurrentResolveImageUrlContext } from "./mediaContext-DThoeEBU.mjs";
8
8
  import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
9
9
  import "react";
@@ -1893,6 +1893,29 @@ const occurrenceContextSchema = z.object({
1893
1893
  capacityOverride: z.number().nullable().optional(),
1894
1894
  overrides: z.record(z.string(), z.unknown()).nullable().optional()
1895
1895
  }).nullable();
1896
+ //#endregion
1897
+ //#region ../blocks/src/system/runtime/nodes/events/shared/eventScheduleSummary.ts
1898
+ function bookingDateLocale(siteTimeZone) {
1899
+ return inferSiteDateLocale(resolveBookingBusinessTimeZone(siteTimeZone));
1900
+ }
1901
+ /** A stored local clock has no date or DST offset; UTC preserves its digits. */
1902
+ function formatBookingSchedulePresentation(event) {
1903
+ const summary = event.scheduleSummary;
1904
+ if (!summary) return null;
1905
+ const start = summary.startTime ? parseUtcIsoDateTimeString(`1970-01-01T${summary.startTime}:00Z`) : null;
1906
+ const time = start?.ok ? formatTime(start.value, {
1907
+ timeZone: resolveBookingTimeZoneId("UTC"),
1908
+ locale: bookingDateLocale(event.siteTimeZone)
1909
+ }, { zone: "omit" }) : null;
1910
+ return {
1911
+ text: [summary.recurrenceDescription, time].filter(Boolean).join(", "),
1912
+ clock: time
1913
+ };
1914
+ }
1915
+ /** Text-only consumers delegate to the same authored-clock presentation. */
1916
+ function formatBookingScheduleSummary(event) {
1917
+ return formatBookingSchedulePresentation(event)?.text ?? null;
1918
+ }
1896
1919
  const DEFAULT_BOOKING_BUTTON_TEXT = "Book your place";
1897
1920
  /** Browse the page's dates on close while keeping the draft's resume action. */
1898
1921
  function bookingCardEntry(input) {
@@ -4042,7 +4065,12 @@ const contentEntrySchema = z.object({
4042
4065
  id: z.string().nullable().optional(),
4043
4066
  slug: z.string().nullable().optional()
4044
4067
  }).nullable();
4068
+ const shopDateContextSchema = z.object({
4069
+ locale: z.string(),
4070
+ timeZone: z.string().transform(resolveBookingBusinessTimeZone)
4071
+ });
4045
4072
  const shopSourceSchema = z.object({
4073
+ dateContext: shopDateContextSchema.optional(),
4046
4074
  ...cardListPresentationSchemaShape,
4047
4075
  featured: z.string().nullable().optional(),
4048
4076
  className: z.string().nullable().optional(),
@@ -4207,6 +4235,7 @@ const checkoutDisplaySchema = z.object({
4207
4235
  submitButtonText: z.string()
4208
4236
  });
4209
4237
  const passesMembershipsHydrationSchema = z.object({
4238
+ dateContext: shopDateContextSchema,
4210
4239
  presentation: z.object(cardListPresentationSchemaShape).optional(),
4211
4240
  featured: z.string().optional(),
4212
4241
  memberships: z.array(publicMembershipProductSchema),
@@ -4287,6 +4316,7 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
4287
4316
  const passPurchaseMode = source.passPurchaseMode ?? "add_to_cart";
4288
4317
  const subscribeButtonText = source.subscribeButtonText ?? "Subscribe";
4289
4318
  const products = shopDisplayedProducts(source);
4319
+ const dateContext = source.dateContext ?? resolveDateRuntimeContext(void 0);
4290
4320
  return {
4291
4321
  display: buildPassesMembershipsDisplay({
4292
4322
  cardList: source.lookSlots !== void 0,
@@ -4307,6 +4337,10 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
4307
4337
  hydration: {
4308
4338
  ...source.lookSlots ? { presentation: shopCardListPresentation(source) } : {},
4309
4339
  ...shopFeaturedProduct(source, products),
4340
+ dateContext: {
4341
+ locale: dateContext.locale,
4342
+ timeZone: dateContext.timeZone
4343
+ },
4310
4344
  memberships: products.memberships,
4311
4345
  passPurchaseMode,
4312
4346
  buttonVariant: source.buttonVariant ?? "primary",
@@ -4571,4 +4605,4 @@ function shopProductPresentation(hydration, productId, index, count) {
4571
4605
  };
4572
4606
  }
4573
4607
  //#endregion
4574
- export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, resolveHeaderChromeRuntimeContract as $t, parseStoredCommerceCartState as A, eventListingInteractiveIslandPropsCodec as At, giftingBlockRuntime as B, resolveCardListSchedule as Bt, membershipCardListContent as C, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, normalizeOptionalId as Ft, formInteractiveIslandPropsCodec as G, Grid as Gt, publicGiftingOffersResponseSchema as H, MediaNodeServer as Ht, newsletterBlockSubmissionMessage as I, catalogueEventCardProps as It, displayButtonText as J, formatEventPriceAmount as Jt, buildEventRegistrationDisplayFromScopedEvents as K, buildEventListWeek as Kt, newsletterFormBlockRuntime as L, listingEventCardProps as Lt, reduceCommerceCart as M, getEventRuntimeFiltersKey as Mt, publicProductsResponseSchema as N, normalizeCsvIds as Nt, buildProductCartItem as O, buildEventListingInteractiveIslandProps as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, normalizeCsvString as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, isHeaderScrollRuntimeEnabled as Qt, newsletterFormInteractiveIslandPropsCodec as R, CardListContentPart as Rt, formatInterval as S, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, getCardOrientation as Ut, giftingInteractiveIslandPropsCodec as V, selectCardListPresentation as Vt, formBlockRuntime as W, getContainerClass as Wt, eventRegistrationInteractiveIslandPropsCodec as X, resolveEventSelection as Xt, eventRegistrationBlockRuntime as Y, formatEventPriceDisplay as Yt, offeringNounForEvent as Z, headerChromeRuntimeContractSchema as Zt, shopProductPresentation as _, bookingPanelHeading as _t, buildShopInteractiveIslandProps as a, publicPassProductCollectionSchema as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, parseMailingListVisitorSelection as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, parseWeeklyOpeningHours as dn, resolveOfferingsRenderInput as dt, staticHeaderChromeRuntime as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, DEFAULT_BOOKING_BUTTON_TEXT as ft, shopInteractiveIslandPropsCodec as g, bookingEntryProgress as gt, shopBlockRuntime as h, bookingEntry as ht, buildProductListInteractiveIslandProps as i, publicMembershipProductCollectionSchema as in, isOfferingsPreviewSourceKey as it, productItemKey as j, buildEventRuntimeFilters as jt, deriveCommerceCheckoutState as k, eventListingBlockRuntime as kt, checkoutInteractiveIslandPropsCodec as l, DEFAULT_MAILING_LIST_TARGETING as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, bookingCardEntry as mt, buildCheckoutInteractiveIslandProps as n, planSiteChromePlacement as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, buildMailingListSignupBlockSourceRef as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, bookingBarPlacement as pt, buildEventRegistrationInteractiveIslandProps as q, formatEventPrice as qt, buildProductDetailInteractiveIslandProps as r, splitSiteChromePlacementClasses as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, parseMailingListPlacementTargeting as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, parseHeaderPositioning as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, sameMailingListPlacementTargeting as un, resolveOfferingsPreviewRunPath as ut, buildCartDisplay as v, occurrenceContextSchema as vt, membershipClassesLabel as w, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, CardListLeadDate as zt };
4608
+ export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, isHeaderScrollRuntimeEnabled as $t, parseStoredCommerceCartState as A, eventListingBlockRuntime as At, giftingBlockRuntime as B, CardListLeadDate as Bt, membershipCardListContent as C, eventCombinedInteractiveIslandPropsCodec as Ct, buildPassCartItem as D, eventCalendarBlockRuntime as Dt, EMPTY_COMMERCE_CART_STATE as E, buildEventCalendarListingRender as Et, buildNewsletterFormInteractiveIslandProps as F, normalizeCsvString as Ft, formInteractiveIslandPropsCodec as G, getContainerClass as Gt, publicGiftingOffersResponseSchema as H, selectCardListPresentation as Ht, newsletterBlockSubmissionMessage as I, normalizeOptionalId as It, displayButtonText as J, formatEventPrice as Jt, buildEventRegistrationDisplayFromScopedEvents as K, Grid as Kt, newsletterFormBlockRuntime as L, catalogueEventCardProps as Lt, reduceCommerceCart as M, buildEventRuntimeFilters as Mt, publicProductsResponseSchema as N, getEventRuntimeFiltersKey as Nt, buildProductCartItem as O, eventCalendarInteractiveIslandPropsCodec as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, normalizeCsvIds as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, headerChromeRuntimeContractSchema as Qt, newsletterFormInteractiveIslandPropsCodec as R, listingEventCardProps as Rt, formatInterval as S, eventCombinedBlockRuntime as St, passCardListContent as T, buildEventCalendarListingDisplay as Tt, buildFormInteractiveIslandProps as U, MediaNodeServer as Ut, giftingInteractiveIslandPropsCodec as V, resolveCardListSchedule as Vt, formBlockRuntime as W, getCardOrientation as Wt, eventRegistrationInteractiveIslandPropsCodec as X, formatEventPriceDisplay as Xt, eventRegistrationBlockRuntime as Y, formatEventPriceAmount as Yt, offeringNounForEvent as Z, resolveEventSelection as Zt, shopProductPresentation as _, bookingPanelHeading as _t, buildShopInteractiveIslandProps as a, publicMembershipProductCollectionSchema as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, buildEventCombinedInteractiveIslandProps as bt, checkoutBlockRuntime as c, parseMailingListPlacementTargeting as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, sameMailingListPlacementTargeting as dn, resolveOfferingsRenderInput as dt, resolveHeaderChromeRuntimeContract as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, parseWeeklyOpeningHours as fn, DEFAULT_BOOKING_BUTTON_TEXT as ft, shopInteractiveIslandPropsCodec as g, bookingEntryProgress as gt, shopBlockRuntime as h, bookingEntry as ht, buildProductListInteractiveIslandProps as i, splitSiteChromePlacementClasses as in, isOfferingsPreviewSourceKey as it, productItemKey as j, eventListingInteractiveIslandPropsCodec as jt, deriveCommerceCheckoutState as k, buildEventListingInteractiveIslandProps as kt, checkoutInteractiveIslandPropsCodec as l, parseMailingListVisitorSelection as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, bookingCardEntry as mt, buildCheckoutInteractiveIslandProps as n, parseHeaderPositioning as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, publicPassProductCollectionSchema as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, bookingBarPlacement as pt, buildEventRegistrationInteractiveIslandProps as q, buildEventListWeek as qt, buildProductDetailInteractiveIslandProps as r, planSiteChromePlacement as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, buildMailingListSignupBlockSourceRef as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, staticHeaderChromeRuntime as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, DEFAULT_MAILING_LIST_TARGETING as un, resolveOfferingsPreviewRunPath as ut, buildCartDisplay as v, formatBookingSchedulePresentation as vt, membershipClassesLabel as w, buildEventCalendarInteractiveIslandProps as wt, formatCommercePrice as x, buildEventCombinedListingDisplay as xt, buildProductCardDisplay as y, occurrenceContextSchema as yt, buildGiftingInteractiveIslandProps as z, CardListContentPart as zt };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-CVsgML69.mjs";
2
+ import { t as BlockApiProvider } from "./context-BRgBWthI.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CmC7ygin.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-96er7pIx.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-1PJxc8KO.mjs";
3
3
  import { S as clsx, i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
4
- import { Ar as listLookSlot, En as isEventFull, Or as listItemPresentation, an as eventDateOptions, bn as formatEventRemainingPlaces, gn as resolveEventTimeZone, hn as groupEventsByDate, mn as formatTime, pn as formatEventTimeRange, wn as getEventAvailabilityStatus } from "./wizardSteps-HdyGoIG3.mjs";
5
- import { gt as parseBookingLocalDate, tt as formatDate } from "./noop-DMFt3KdC.mjs";
6
- import { n as resolveEventLinkProps } from "./cta-BWnUuJce.mjs";
7
- import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CIcMQRc1.mjs";
8
- import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-DnCTygqk.mjs";
4
+ import { An as isEventFull, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-C0TsNqJc.mjs";
5
+ import { gt as parseBookingLocalDate, tt as formatDate } from "./noop-M8FTSgm2.mjs";
6
+ import { n as resolveEventLinkProps } from "./cta-D8ucLsvX.mjs";
7
+ import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-BoVCTUXy.mjs";
8
+ import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-BRMtEaa6.mjs";
9
9
  import "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookView.tsx
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { h as unsafeAsAppointmentResourceId } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
3
- import { at as formatTime$1, bt as resolveBookingTimeZoneId, gt as parseBookingLocalDate, lt as addLocalScheduleDays, pt as formatLocalScheduleDate, tt as formatDate$1, vt as parseUtcIsoDateTimeString } from "./noop-DMFt3KdC.mjs";
3
+ import { at as formatTime$1, bt as resolveBookingTimeZoneId, gt as parseBookingLocalDate, lt as addLocalScheduleDays, pt as formatLocalScheduleDate, tt as formatDate$1, vt as parseUtcIsoDateTimeString } from "./noop-M8FTSgm2.mjs";
4
4
  import { t as assertNever } from "./src-7cXhT0G_.mjs";
5
- import { n as useBlockApi } from "./context-CVsgML69.mjs";
5
+ import { n as useBlockApi } from "./context-BRgBWthI.mjs";
6
6
  import { useCallback, useEffect, useReducer, useRef } from "react";
7
7
  //#region ../blocks/src/utils/date-formatting.ts
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ct as toUtcIsoDateTimeString } from "./noop-DMFt3KdC.mjs";
2
+ import { Ct as toUtcIsoDateTimeString } from "./noop-M8FTSgm2.mjs";
3
3
  import { useCallback, useEffect, useState } from "react";
4
4
  //#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
5
5
  const ANCHOR_CLOCK = { kind: "anchor" };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { T as ok, w as err } from "./renderableMediaAssetAdmission-DGjBr_e-.mjs";
3
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CdnFgDyQ.mjs";
3
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-BxRVCJG3.mjs";
4
4
  import { t as assertNever } from "./src-7cXhT0G_.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
6
  import * as React$1 from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-CdnFgDyQ.mjs";
2
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-BxRVCJG3.mjs";
3
3
  import { useEffect, useReducer, useRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
3
- import { Ar as listLookSlot, Ht as getBlockApiReadStage, Or as listItemPresentation } from "./wizardSteps-HdyGoIG3.mjs";
4
- import { Ft as normalizeOptionalId, Mt as getEventRuntimeFiltersKey, Nt as normalizeCsvIds, Pt as normalizeCsvString } from "./shop.interactive-DBMeM8VD.mjs";
3
+ import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-C0TsNqJc.mjs";
4
+ import { Ft as normalizeCsvString, It as normalizeOptionalId, Nt as getEventRuntimeFiltersKey, Pt as normalizeCsvIds } from "./shop.interactive-BxL_bshW.mjs";
5
5
  import { t as assertNever } from "./src-7cXhT0G_.mjs";
6
- import { r as EventItem } from "./EventItem-DnCTygqk.mjs";
7
- import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-pAuTDyrP.mjs";
8
- import { n as useBlockApi } from "./context-CVsgML69.mjs";
9
- import { t as LeafletStaticMap } from "./LeafletStaticMap-3XiWSgy0.mjs";
6
+ import { r as EventItem } from "./EventItem-BRMtEaa6.mjs";
7
+ import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-D2vemnCx.mjs";
8
+ import { n as useBlockApi } from "./context-BRgBWthI.mjs";
9
+ import { t as LeafletStaticMap } from "./LeafletStaticMap-dlapZ6mi.mjs";
10
10
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../blocks/src/system/runtime/hooks/loadStateError.ts
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { r as ThemedButton } from "./ThemedButton-DVBC_pS9.mjs";
3
- import { Ar as listLookSlot } from "./wizardSteps-HdyGoIG3.mjs";
4
- import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-DBMeM8VD.mjs";
5
- import { r as EventItem, t as CardListCollection } from "./EventItem-DnCTygqk.mjs";
3
+ import { Pr as listLookSlot } from "./wizardSteps-C0TsNqJc.mjs";
4
+ import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-BxL_bshW.mjs";
5
+ import { r as EventItem, t as CardListCollection } from "./EventItem-BRMtEaa6.mjs";
6
6
  import React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import { Mr as formatCurrencyAmount } from "./ThemedButton-DVBC_pS9.mjs";
3
3
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
4
- import { Ar as listLookSlot, Bi as publicEventPricingCurrency, Cr as resolveEventRegistrationScopedEvents, Di as resolveWholeSeriesBookingPhase, Ei as orderedLiveRunSessions, Ki as assertNever, Li as formatBookingPriceDisplay, Sn as formatTotalCapacity, Ui as publicEventPricingType, Vi as publicEventPricingDisplay, an as eventDateOptions, bn as formatEventRemainingPlaces, ln as formatEventCompactDateRail, un as formatEventDateParts, wi as CANCELLED_SESSION_STATUS, wn as getEventAvailabilityStatus, zi as isPublicEventPricingOptionDisplayable } from "./wizardSteps-HdyGoIG3.mjs";
5
- import { Ct as toUtcIsoDateTimeString, St as toScheduledBookingDateTime, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, nt as formatDateRange, tt as formatDate, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-DMFt3KdC.mjs";
6
- import { Jt as formatEventPriceAmount, Rt as CardListContentPart, Yt as formatEventPriceDisplay, qt as formatEventPrice } from "./shop.interactive-DBMeM8VD.mjs";
7
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-BWnUuJce.mjs";
4
+ import { Ai as orderedLiveRunSessions, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Gi as publicEventPricingDisplay, Oi as CANCELLED_SESSION_STATUS, On as getEventAvailabilityStatus, Pr as listLookSlot, Ui as isPublicEventPricingOptionDisplayable, Vi as formatBookingPriceDisplay, Wi as publicEventPricingCurrency, Xi as assertNever, cn as eventDateOptions, ji as resolveWholeSeriesBookingPhase, mn as formatEventDateParts, pn as formatEventCompactDateRail, qi as publicEventPricingType, wn as formatEventRemainingPlaces } from "./wizardSteps-C0TsNqJc.mjs";
5
+ import { Ct as toUtcIsoDateTimeString, St as toScheduledBookingDateTime, dt as compareLocalScheduleDates, ht as getLocalScheduleDate, it as formatDateTimeRange, mt as getBookingLocalDateKey, nt as formatDateRange, tt as formatDate, xt as toBookingTimeZone, yt as resolveBookingBusinessTimeZone } from "./noop-M8FTSgm2.mjs";
6
+ import { Jt as formatEventPrice, Xt as formatEventPriceDisplay, Yt as formatEventPriceAmount, vt as formatBookingSchedulePresentation, zt as CardListContentPart } from "./shop.interactive-BxL_bshW.mjs";
7
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D8ucLsvX.mjs";
8
8
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
9
9
  import "react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -260,7 +260,7 @@ function resolveEventDetailsPresentation(input) {
260
260
  //#region ../blocks/src/system/blocks/offerings-preview/scheduleSummary.ts
261
261
  function deriveEventScheduleSummary(event) {
262
262
  const occurrence = occurrenceFromEvent(event);
263
- return localDayNumber(occurrence.endsAt, occurrence.timeZone) > localDayNumber(occurrence.startsAt, occurrence.timeZone) ? {
263
+ return compareLocalScheduleDates(getLocalScheduleDate(new Date(occurrence.endsAt), resolveBookingBusinessTimeZone(occurrence.timeZone)), getLocalScheduleDate(new Date(occurrence.startsAt), resolveBookingBusinessTimeZone(occurrence.timeZone))) > 0 ? {
264
264
  kind: "multi-day-span",
265
265
  occurrence
266
266
  } : {
@@ -268,23 +268,18 @@ function deriveEventScheduleSummary(event) {
268
268
  occurrence
269
269
  };
270
270
  }
271
- function derivePreviewRunSchedule(runSessions) {
272
- const sessions = orderedLiveRunSessions(runSessions).filter(isValidOccurrence);
271
+ function derivePreviewRunSchedule(event) {
272
+ const sessions = orderedLiveRunSessions(event.run.sessions).filter(isValidOccurrence);
273
273
  const first = sessions[0];
274
274
  const last = sessions[sessions.length - 1];
275
275
  if (!first || !last) return { kind: "no-live-sessions" };
276
- const recurrence = sessions.length > 1 ? deriveFixedRecurrence(sessions) : null;
277
- const summary = sessions.length === 1 ? deriveEventScheduleSummary(first) : recurrence ? {
278
- kind: "fixed-recurring-run",
276
+ const authoredSummary = formatBookingSchedulePresentation("representative" in event ? event.representative : event);
277
+ const summary = !authoredSummary && sessions.length === 1 ? deriveEventScheduleSummary(first) : {
278
+ kind: "scheduled-run",
279
279
  first,
280
280
  last,
281
281
  sessionCount: sessions.length,
282
- recurrenceLabel: recurrence
283
- } : {
284
- kind: "irregular-multi-session-run",
285
- first,
286
- last,
287
- sessionCount: sessions.length
282
+ authoredSummary
288
283
  };
289
284
  return {
290
285
  kind: "scheduled",
@@ -300,59 +295,9 @@ function occurrenceFromEvent(event) {
300
295
  timeZone: event.timeZone
301
296
  };
302
297
  }
303
- function deriveFixedRecurrence(sessions) {
304
- const [first, second] = sessions;
305
- if (!first || !second) return null;
306
- if (!sessions.every((session) => sameLocalTime(first, session))) return null;
307
- const intervalDays = localDayNumber(second.startsAt, second.timeZone) - localDayNumber(first.startsAt, first.timeZone);
308
- if (intervalDays <= 0) return null;
309
- for (let index = 2; index < sessions.length; index += 1) {
310
- const previous = sessions[index - 1];
311
- const current = sessions[index];
312
- if (!previous || !current) return null;
313
- if (localDayNumber(current.startsAt, current.timeZone) - localDayNumber(previous.startsAt, previous.timeZone) !== intervalDays) return null;
314
- }
315
- if (intervalDays === 1) return "Every day";
316
- const weekday = localDateParts(first.startsAt, first.timeZone).weekday;
317
- if (intervalDays === 7) return `Every ${weekday}`;
318
- if (intervalDays % 7 === 0) return `Every ${intervalDays / 7} weeks on ${weekday}`;
319
- return `Every ${intervalDays} days`;
320
- }
321
- function sameLocalTime(reference, candidate) {
322
- const referenceStart = localDateParts(reference.startsAt, reference.timeZone);
323
- const candidateStart = localDateParts(candidate.startsAt, candidate.timeZone);
324
- const referenceEnd = localDateParts(reference.endsAt, reference.timeZone);
325
- const candidateEnd = localDateParts(candidate.endsAt, candidate.timeZone);
326
- return referenceStart.hour === candidateStart.hour && referenceStart.minute === candidateStart.minute && referenceEnd.hour === candidateEnd.hour && referenceEnd.minute === candidateEnd.minute;
327
- }
328
298
  function isValidOccurrence(value) {
329
299
  return Number.isFinite(Date.parse(value.startsAt)) && Number.isFinite(Date.parse(value.endsAt));
330
300
  }
331
- function localDayNumber(isoTimestamp, timeZone) {
332
- const parts = localDateParts(isoTimestamp, timeZone);
333
- return Math.floor(Date.UTC(parts.year, parts.month - 1, parts.day) / 864e5);
334
- }
335
- function localDateParts(isoTimestamp, timeZone) {
336
- const parts = new Intl.DateTimeFormat("en-GB", {
337
- timeZone,
338
- year: "numeric",
339
- month: "numeric",
340
- day: "numeric",
341
- hour: "2-digit",
342
- minute: "2-digit",
343
- hourCycle: "h23",
344
- weekday: "long"
345
- }).formatToParts(new Date(isoTimestamp));
346
- const value = (type) => parts.find((part) => part.type === type)?.value ?? "";
347
- return {
348
- year: Number(value("year")),
349
- month: Number(value("month")),
350
- day: Number(value("day")),
351
- hour: Number(value("hour")),
352
- minute: Number(value("minute")),
353
- weekday: value("weekday")
354
- };
355
- }
356
301
  //#endregion
357
302
  //#region ../blocks/src/system/runtime/nodes/events/shared/eventCardListContent.ts
358
303
  /** Live offering data only; editorial cards never acquire booking fields. */
@@ -406,7 +351,7 @@ function offeringLeadDate(event, startMs) {
406
351
  };
407
352
  }
408
353
  function offeringSchedule(event, now) {
409
- const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event.run.sessions) : null;
354
+ const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event) : null;
410
355
  if (run?.kind === "no-live-sessions") return {
411
356
  numeral: null,
412
357
  schedule: null
@@ -459,8 +404,7 @@ function scheduleLine(summary, event, now) {
459
404
  zone
460
405
  }) : date(summary.occurrence.startsAt);
461
406
  case "multi-day-span": return dates(summary.occurrence.startsAt, summary.occurrence.endsAt);
462
- case "fixed-recurring-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.recurrenceLabel}`;
463
- case "irregular-multi-session-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.sessionCount} dates`;
407
+ case "scheduled-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.authoredSummary?.text ?? `${summary.sessionCount} dates`}`;
464
408
  }
465
409
  }
466
410
  function offeringAvailability(event) {