@riverbankcms/sdk 0.176.0 → 0.178.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 (205) hide show
  1. package/README.md +12 -4
  2. package/dist/_dts/{BlocksIslandsHydrator-DvoTk7Py.d.ts → BlocksIslandsHydrator-CrKsXtpD.d.ts} +1 -1
  3. package/dist/_dts/{Page-D-l374tU.d.ts → Page-C9i27wZA.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-22DdQAj5.d.ts → SdkPreviewMode-DzGSR3jh.d.ts} +2 -2
  5. package/dist/_dts/{client-D4p0J1lK.d.ts → client-BnYN6XsH.d.ts} +31 -7
  6. package/dist/_dts/{content-types-0WWR6dC4.d.ts → content-types-CXj6lp3d.d.ts} +4 -8
  7. package/dist/_dts/{contracts-f_ZG_SwY.d.ts → contracts-BZLwkTwL.d.ts} +3 -3
  8. package/dist/_dts/{footerPageOutline-DSeZvOaj.d.ts → footerPageOutline-D_XbQW_o.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-BlitPA2D.d.ts → generatePageMetadata-ByEWwe9j.d.ts} +2 -2
  10. package/dist/_dts/{index-ZKEDvLuN.d.ts → index-0HFgCnGz.d.ts} +1 -1
  11. package/dist/_dts/{index-tcPtGdag.d.ts → index-BE9dWIsr.d.ts} +3 -3
  12. package/dist/_dts/{index-D-ai8IQd.d.ts → index-CKDRr54L.d.ts} +4 -4
  13. package/dist/_dts/{index-CoLcwjqJ.d.ts → index-D9-N1d9v.d.ts} +1 -1
  14. package/dist/_dts/{index-CKkkCgb6.d.ts → index-DCa-8TEY.d.ts} +1 -1
  15. package/dist/_dts/{index-DDsfmM4d.d.ts → index-cTpvQg_Q.d.ts} +2 -2
  16. package/dist/_dts/{index-EJMo-KSo.d.ts → index-nnEdgc3Z.d.ts} +2 -15
  17. package/dist/_dts/{loadContent-Ci932ORy.d.ts → loadContent-DYkVV6w4.d.ts} +7 -7
  18. package/dist/_dts/{request-B8jVdvgI.d.ts → request-B20VRWHH.d.ts} +55384 -55036
  19. package/dist/_dts/{resolveBlockData-DrSMuD76.d.ts → resolveBlockData-C_aK5GIS.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-Be4iL6-F.d.ts → resolvePageContent-YT6ndha1.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/next/index.d.ts +24 -12
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  38. package/dist/_dts/sdk/src/portal/client.d.ts +56 -4
  39. package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
  40. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  41. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  43. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  45. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  48. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  49. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  50. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  51. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  52. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  53. package/dist/_dts/sdk/src/server.d.ts +5 -5
  54. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  55. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  56. package/dist/_dts/{types-lwSgCWZ4.d.ts → types-CMZ5mkpv.d.ts} +11 -3
  57. package/dist/_dts/{types-BXMX4z2j.d.ts → types-CYcd15BQ.d.ts} +7 -7
  58. package/dist/_dts/{types-DXY64Xh4.d.ts → types-rm2M4LGx.d.ts} +4 -4
  59. package/dist/_dts/{validation-C5xp--Fu.d.ts → validation-BSxnRhyy.d.ts} +4 -6
  60. package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-D1n09bu-.mjs} +17 -17
  61. package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-DSD4gS96.mjs} +6 -6
  62. package/dist/client/{BookingPanelArrangement-BShQSial.mjs → BookingPanelArrangement--EkA1ZQd.mjs} +1 -1
  63. package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-B57oGPcj.mjs} +2 -2
  64. package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-qXvsFYOg.mjs} +7 -7
  65. package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-Olvrwi3Z.mjs} +3 -3
  66. package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-DwFNFb-0.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-Ffu-aVOb.mjs} +9 -9
  68. package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-b8tVkNHA.mjs} +4 -4
  69. package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BxnJW_Gf.mjs} +1 -1
  70. package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-ViCnrNg4.mjs} +3 -3
  71. package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-CdjiepMf.mjs} +7 -7
  72. package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-BVd70XkH.mjs} +262 -24
  73. package/dist/client/{LocationMapActions-myIQIvQL.mjs → LocationMapActions-CiMtl1Ha.mjs} +1 -1
  74. package/dist/client/{MapDrawingSvg-BfsVyPvB.mjs → MapDrawingSvg-BCZa3dpf.mjs} +1 -1
  75. package/dist/client/{Page-F3lhDvw1.mjs → Page-DqETUt-U.mjs} +22 -13
  76. package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-DkFnbzf_.mjs} +2 -2
  77. package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-JO2PS03n.mjs} +79 -32
  78. package/dist/client/{accordion-BfsOiweL.mjs → accordion-XgNxl0Wg.mjs} +1 -1
  79. package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-ljJoDwuI.mjs} +13 -13
  80. package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-DtEHwY4W.mjs} +4 -4
  81. package/dist/client/bookings.mjs +5 -5
  82. package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-BHoMAcun.mjs} +2 -2
  83. package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-B3UhbFu7.mjs} +1 -1
  84. package/dist/client/{cart-CTC2oS3p.mjs → cart-DzOJfYOR.mjs} +3 -3
  85. package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-DBG77v-5.mjs} +1 -1
  86. package/dist/client/{checkout-BeW1ufaH.mjs → checkout-LmePoEgM.mjs} +3 -3
  87. package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-DmgZuLBT.mjs} +1 -1
  88. package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-CMZI8o_V.mjs} +1 -1
  89. package/dist/client/client.mjs +93 -12
  90. package/dist/client/{context-R9p5c8IH.mjs → context-CJIz4FdL.mjs} +1 -1
  91. package/dist/client/{course-CUFVJEAc.mjs → course-DBEU9IA9.mjs} +11 -4
  92. package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-UoXqBh10.mjs} +1 -1
  93. package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-6CgFZNvu.mjs} +5 -4
  94. package/dist/client/{display-4HYOb-AK.mjs → display-D1oVR5Eh.mjs} +180 -15
  95. package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DaMo6len.mjs} +3 -3
  96. package/dist/client/{event-details.client-BwjBJP-f.mjs → event-details.client-BwASwKIq.mjs} +1 -1
  97. package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-b6APrFQe.mjs} +118 -180
  98. package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-DJYz7yZf.mjs} +4 -4
  99. package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-j9VCVgMW.mjs} +4 -4
  100. package/dist/client/{eventDetails-C2LfNW_o.mjs → eventDetails-BzGOVDI-.mjs} +2 -2
  101. package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-DWgpGuFM.mjs} +4 -4
  102. package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-DCinRot3.mjs} +4 -4
  103. package/dist/client/{form-BbUUt784.mjs → form-BBBtRwvy.mjs} +3 -3
  104. package/dist/client/{form.client-BVlz-9_t.mjs → form.client-CZeRQLGF.mjs} +4 -4
  105. package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-DhGGv4_L.mjs} +1 -1
  106. package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-DVFVDcDW.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +6 -5
  108. package/dist/client/{gifting-CbNSrp7C.mjs → gifting-Di9-SpwW.mjs} +4 -4
  109. package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-CjT5PrAZ.mjs} +4 -4
  110. package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-ffP6mjMd.mjs} +2 -2
  111. package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-jjAvtSZk.mjs} +2 -2
  112. package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-C2VzJfyG.mjs} +1 -1
  113. package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-D45frHoa.mjs} +5 -5
  114. package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-CHdg82ct.mjs} +1 -1
  115. package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-tS465_vl.mjs} +3 -3
  116. package/dist/client/{noop-CaQxI-Js.mjs → noop-D11X-B6n.mjs} +123 -91
  117. package/dist/client/portal/client.mjs +384 -38
  118. package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-DIWSeW7P.mjs} +1 -1
  119. package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-BRf14h_e.mjs} +1 -1
  120. package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-gxF5whea.mjs} +3 -3
  121. package/dist/client/{productList-C_wMKsYS.mjs → productList-B9t0XJrN.mjs} +3 -3
  122. package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Db8wAmgr.mjs} +4 -4
  123. package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-Bn0gE0uP.mjs} +27 -27
  124. package/dist/client/rendering/client.mjs +23 -23
  125. package/dist/client/rendering/islands.mjs +1 -1
  126. package/dist/client/rendering.mjs +7 -7
  127. package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-COnKrLO7.mjs} +1 -1
  128. package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-Bok1Oy50.mjs} +1 -1
  129. package/dist/client/{shop-CFbWlv_W.mjs → shop-D1oTPDxm.mjs} +3 -3
  130. package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-DyMZLC0a.mjs} +12 -12
  131. package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-FODNS63D.mjs} +1 -1
  132. package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-C4xcmFzZ.mjs} +2 -2
  133. package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-CRgRulfI.mjs} +12 -12
  134. package/dist/client/{shop.interactive-CxDJ8P2r.mjs → shop.interactive-D7wky1GL.mjs} +6 -33
  135. package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Bd_hy9ZO.mjs} +2 -2
  136. package/dist/client/src-DqMbCjI1.mjs +3 -0
  137. package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
  138. package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-UlWfP1gh.mjs} +9 -9
  139. package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-D-qoooLy.mjs} +2 -2
  140. package/dist/client/{useDiscountCodeUi-I_mXI9Yd.mjs → useDiscountCodeUi-B9DODAkj.mjs} +1 -1
  141. package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-CQH2e9sQ.mjs} +7 -7
  142. package/dist/client/{view-BbzH5MQb.mjs → view-DNX59QwM.mjs} +10 -9
  143. package/dist/client/{view-3foOzGWR.mjs → view-bGU1ws-m.mjs} +3 -3
  144. package/dist/preview-next/client/{LocationPickerEnvironment-8iKKoYZr.mjs → LocationPickerEnvironment-BHAT81Wx.mjs} +1 -1
  145. package/dist/preview-next/client/{MapLibreEditMap-AIUPN1Zx.mjs → MapLibreEditMap-B52hkdIZ.mjs} +2 -2
  146. package/dist/preview-next/client/{PageSectionToolbar-0xyUPWUB.mjs → PageSectionToolbar-D-Le7O3o.mjs} +52 -8
  147. package/dist/preview-next/client/{PreviewEditorSidebar-D8vUzXtI.mjs → PreviewEditorSidebar-DNy5j_ce.mjs} +34 -39
  148. package/dist/preview-next/client/{PreviewEditorUI-CRjS4gAu.mjs → PreviewEditorUI-CzJvgbqt.mjs} +10 -10
  149. package/dist/preview-next/client/{PreviewShell-BvdBdeH_.mjs → PreviewShell-xhJ6ca1i.mjs} +9 -8
  150. package/dist/preview-next/client/{SdkPreviewModeRuntime-DWTyKbFj.mjs → SdkPreviewModeRuntime-BmYO1TdT.mjs} +16 -7
  151. package/dist/preview-next/client/{lucide-react-Dfgl3Vtq.mjs → lucide-react-McYZeSMb.mjs} +1 -1
  152. package/dist/preview-next/client/{previewAssistantSlot-BqY2TTcZ.mjs → previewAssistantSlot-BN93X9o1.mjs} +1211 -600
  153. package/dist/preview-next/client/{previewChromeRoot-BuRYe2iL.mjs → previewChromeRoot-C51RQseo.mjs} +1 -1
  154. package/dist/preview-next/client/runtime.mjs +3 -3
  155. package/dist/preview-next/client/{sdk-runtime-BnK5kH9f.mjs → sdk-runtime-oeGquJM-.mjs} +2 -2
  156. package/dist/preview-next/client/{siteStyleAccess-DbKozRSn.mjs → siteStyleAccess-BGTAcPud.mjs} +27 -17
  157. package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
  158. package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
  159. package/dist/preview-next/client/{useAutosaveStatus-D9s6dyMW.mjs → useAutosaveStatus-BMGXjGZq.mjs} +3 -30
  160. package/dist/preview-next/client/{useOpenBlockForSetup-Ce4WCxpT.mjs → useOpenBlockForSetup-CTDoR_gQ.mjs} +2 -2
  161. package/dist/preview-next/container-responsive.css +3 -0
  162. package/dist/preview-next/editor-chrome.css +4 -2
  163. package/dist/preview-next/keepAlive.mjs +1 -1
  164. package/dist/preview-next/middleware.mjs +1 -1
  165. package/dist/preview-next/{route-contract-BYezcMx5.mjs → route-contract-BtdzkSUg.mjs} +71 -4
  166. package/dist/server/{Block.shared-Cn7gg13_.mjs → Block.shared-Bp3OlOjj.mjs} +5 -5
  167. package/dist/server/{bindings-VGgS6UvF.mjs → bindings-DrbJuftt.mjs} +3 -3
  168. package/dist/server/{client-Bvag5OtW.mjs → client-Bf06n9oj.mjs} +90 -9
  169. package/dist/server/config-validation.mjs +1 -1
  170. package/dist/server/config.mjs +2 -2
  171. package/dist/server/constants-Cj7hfbrA.mjs +41 -0
  172. package/dist/server/data/resolveBlockData.mjs +1 -1
  173. package/dist/server/index.mjs +2 -2
  174. package/dist/server/{loadContent-CxASA3PE.mjs → loadContent-eaTY7RPg.mjs} +4 -4
  175. package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-5iZefzDd.mjs} +2 -2
  176. package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
  177. package/dist/server/navigation.mjs +1 -1
  178. package/dist/server/next/revalidate.mjs +15 -8
  179. package/dist/server/next.mjs +56 -13
  180. package/dist/server/{overrideResolution-BqVLO4gX.mjs → overrideResolution-CUHtm7tW.mjs} +1 -1
  181. package/dist/server/page-converter.mjs +1 -1
  182. package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-GmPXForc.mjs} +13 -6
  183. package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-Dd8LFzfa.mjs} +1 -1
  184. package/dist/server/{pageShared-D23o5QgC.mjs → pageShared-tz-GVWft.mjs} +96 -39
  185. package/dist/server/portal-B4JVkdjc.mjs +783 -0
  186. package/dist/server/portal.mjs +3 -3
  187. package/dist/server/{prebuild-BuoXWT9y.mjs → prebuild-JmsuYCIH.mjs} +1 -1
  188. package/dist/server/prebuild.mjs +1 -1
  189. package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-Ce9DDwON.mjs} +2 -2
  190. package/dist/server/{registry-CXRXsFSx.mjs → registry-D12XF_h1.mjs} +466 -311
  191. package/dist/server/rendering/components/pageShared.mjs +1 -1
  192. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  193. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  194. package/dist/server/rendering/server.mjs +3 -3
  195. package/dist/server/rendering.mjs +7 -7
  196. package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-D9yZIN3V.mjs} +1 -1
  197. package/dist/server/server.mjs +3 -3
  198. package/dist/server/{validation-CozQ7wE0.mjs → validation-CLq5cw6M.mjs} +3 -5
  199. package/dist/server/{version-CgCWRFEY.mjs → version-oPbhAx8E.mjs} +1 -1
  200. package/dist/styles/index.css +27 -1
  201. package/package.json +1 -1
  202. package/dist/client/src-BozhJ43Z.mjs +0 -3
  203. package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
  204. package/dist/server/constants-hl17xz6x.mjs +0 -22
  205. package/dist/server/portal-BjVHMAUC.mjs +0 -371
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { I as resolveEventRegistrationEventSource, dt as cancelledDateCopy, ft as hasCancelledRegistrationDate, ut as closedRunCopy } from "./shop.interactive-CxDJ8P2r.mjs";
3
- import { $a as eventOccurrenceContext, Ho as resolveWholeSeriesBookingPhase, Qa as resolveEventRegistrationScopedEvents, Vo as orderedLiveRunSessions, Xa as normalizeEventRegistrationPageSurfaceSubject, ao as planWholeSeriesParentSelection, co as selectionRepresentativeEvent, eo as getPublicEventCanonicalPath, ii as eventDateOptions, io as planWholeSeriesParentBooking, no as planDropInPanel, oo as planWholeSeriesRunSelection, ro as planOrdinarySeriesSelection, so as resolveSelectionBookingClosedDetail, to as isOrdinaryPublicEvent, yr as bookingPresentation } from "./display-4HYOb-AK.mjs";
4
- import { Kt as formatDate, hn as toUtcIsoDateTimeString } from "./noop-CaQxI-Js.mjs";
2
+ import { I as resolveEventRegistrationEventSource, dt as hasCancelledRegistrationDate, ut as cancelledDateCopy } from "./shop.interactive-D7wky1GL.mjs";
3
+ import { Dr as closedDateCopy, Er as closedRunCopy, Ko as orderedLiveRunSessions, Tr as closedDatesCopy, ao as isOrdinaryPublicEvent, br as bookingPresentation, ci as eventDateOptions, co as planWholeSeriesParentBooking, do as resolveSelectionBookingClosedDetail, eo as normalizeEventRegistrationPageSurfaceSubject, fo as selectionRepresentativeEvent, io as getPublicEventCanonicalPath, lo as planWholeSeriesParentSelection, no as resolveEventRegistrationScopedEvents, oo as planDropInPanel, qo as resolveWholeSeriesBookingPhase, ro as eventOccurrenceContext, so as planOrdinarySeriesSelection, uo as planWholeSeriesRunSelection } from "./display-D1oVR5Eh.mjs";
4
+ import { Jt as formatDate, hn as toUtcIsoDateTimeString } from "./noop-D11X-B6n.mjs";
5
5
  import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
6
- import { r as boxStyleClassNames } from "./boxStyleClassNames-B_hcuT06.mjs";
6
+ import { r as boxStyleClassNames } from "./boxStyleClassNames-BHoMAcun.mjs";
7
7
  import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
8
- import { n as StepIndicator$1, t as BookingPanelArrangement } from "./BookingPanelArrangement-BShQSial.mjs";
8
+ import { n as StepIndicator$1, t as BookingPanelArrangement } from "./BookingPanelArrangement--EkA1ZQd.mjs";
9
9
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
10
10
  import React from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -42,7 +42,11 @@ function EventBookingPanelBody({ panel }) {
42
42
  });
43
43
  case "dropIn": return /* @__PURE__ */ jsx(DropInPanel, { panel: panel.panel });
44
44
  case "bookingClosed": return /* @__PURE__ */ jsx(BookingClosedPanel, { detail: panel.detail });
45
- case "closedRun": return /* @__PURE__ */ jsx(ClosedRunPanel, { reason: panel.reason });
45
+ case "closedRun": return /* @__PURE__ */ jsx(ClosedRunPanel, { copy: closedRunCopy(panel.reason, panel.run) });
46
+ case "closedDate": return /* @__PURE__ */ jsx(ClosedRunPanel, {
47
+ copy: panel.copy,
48
+ otherDatesHref: panel.copy.otherDatesHref
49
+ });
46
50
  case "single": return /* @__PURE__ */ jsx(SingleDateBooking, { run: panel.run });
47
51
  case "choice": return /* @__PURE__ */ jsx(RunChooser, { runs: panel.runs });
48
52
  case "unavailable": return /* @__PURE__ */ jsxs("div", {
@@ -114,17 +118,27 @@ function BookingClosedPanel({ detail }) {
114
118
  });
115
119
  }
116
120
  /** Dates that cannot be booked keep their details and say why. */
117
- function ClosedRunPanel({ reason }) {
118
- const copy = closedRunCopy(reason);
121
+ function ClosedRunPanel({ copy, otherDatesHref }) {
119
122
  return /* @__PURE__ */ jsxs("div", {
120
123
  className: "event-booking-panel__closed-run",
121
- children: [/* @__PURE__ */ jsx("h2", {
122
- className: "card-title rb-mb-3",
123
- children: copy.titleText
124
- }), /* @__PURE__ */ jsx("p", {
125
- className: "status-muted rb-text-base rb-leading-relaxed",
126
- children: copy.bodyText
127
- })]
124
+ children: [
125
+ /* @__PURE__ */ jsx("h2", {
126
+ className: "card-title rb-mb-3",
127
+ children: copy.titleText
128
+ }),
129
+ /* @__PURE__ */ jsx("p", {
130
+ className: "status-muted rb-text-base rb-leading-relaxed",
131
+ children: copy.bodyText
132
+ }),
133
+ otherDatesHref ? /* @__PURE__ */ jsx("p", {
134
+ className: "rb-mt-4 rb-text-base",
135
+ children: /* @__PURE__ */ jsx("a", {
136
+ className: "rb-underline",
137
+ href: otherDatesHref,
138
+ children: "See the other dates"
139
+ })
140
+ }) : null
141
+ ]
128
142
  });
129
143
  }
130
144
  /**
@@ -258,40 +272,53 @@ function planEventBookingPanel({ selection, subject }, now) {
258
272
  ...nonBookingPanel,
259
273
  registration
260
274
  };
261
- const phase = selection.kind === "wholeSeriesRun" ? resolveWholeSeriesBookingPhase(selection.run.run, now) : null;
262
- return phase?.kind === "closed" ? {
263
- kind: "closedRun",
264
- reason: phase.reason,
265
- registration
266
- } : {
267
- kind: "registration",
275
+ return {
276
+ ...closedDatePanel(selection, now) ?? closedRunPanel(selection, now) ?? { kind: "registration" },
268
277
  registration
269
278
  };
270
279
  }
271
280
  case "wholeSeriesParent": {
281
+ const registration = parentRegistrationTarget(selection, subject);
272
282
  if (nonBookingPanel) return {
273
283
  ...nonBookingPanel,
274
- registration: null
284
+ registration
275
285
  };
276
286
  const panel = planWholeSeriesParentBooking(selection.eligibleRuns);
277
287
  return panel.kind === "bookTogether" ? {
278
288
  kind: "registration",
279
- registration: {
280
- events: panel.runs.map((run) => run.representative),
281
- subject,
282
- occurrenceContext: null
283
- }
289
+ registration
284
290
  } : {
285
291
  ...panel,
286
- registration: null
292
+ registration
287
293
  };
288
294
  }
289
295
  case "wholeSeriesParentUnavailable": return {
290
296
  ...nonBookingPanel ?? { kind: "unavailable" },
291
- registration: null
297
+ registration: parentRegistrationTarget(selection, subject)
292
298
  };
293
299
  }
294
300
  }
301
+ /**
302
+ * A date past its cut-off, however old the page's data is. A list of dates only
303
+ * closes when every date has: until then the closed ones just leave the list.
304
+ */
305
+ function closedRunPanel(selection, now) {
306
+ if (selection.kind !== "wholeSeriesRun") return null;
307
+ const phase = resolveWholeSeriesBookingPhase(selection.run.run, now);
308
+ return phase.kind === "closed" ? {
309
+ kind: "closedRun",
310
+ reason: phase.reason,
311
+ run: selection.run.run
312
+ } : null;
313
+ }
314
+ function closedDatePanel(selection, now) {
315
+ if (selection.kind === "wholeSeriesRun") return null;
316
+ const copy = selection.kind === "occurrence" ? closedDateCopy(selection.event, now) : closedDatesCopy(selection.dates, now);
317
+ return copy ? {
318
+ kind: "closedDate",
319
+ copy
320
+ } : null;
321
+ }
295
322
  /** Drop-in and page-level closure take precedence over fresh booking and run selection. */
296
323
  function planNonBookingPanel(selection) {
297
324
  if (!selectionRepresentativeEvent(selection).requiresRegistration) return {
@@ -323,13 +350,25 @@ function selectionRegistrationTarget(selection, subject) {
323
350
  };
324
351
  }
325
352
  }
353
+ /**
354
+ * Every run the course page admits, not just those still taking bookings. An
355
+ * invitation emailed for a run links here, and stays good after that run closes.
356
+ * The wizard narrows these to the runs it offers for a new booking.
357
+ */
358
+ function parentRegistrationTarget(selection, subject) {
359
+ return {
360
+ events: selection.admittedRuns.map((run) => run.representative),
361
+ occurrenceContext: null,
362
+ subject
363
+ };
364
+ }
326
365
  /** Cancelled dates have no new-booking or recovery form, including old direct links. */
327
366
  function isCancelledDateSelection(selection) {
328
367
  return selection.kind === "occurrence" && hasCancelledRegistrationDate([selection.event]);
329
368
  }
330
369
  //#endregion
331
370
  //#region ../blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.tsx
332
- function RegistrationClosedState({ title, body }) {
371
+ function RegistrationClosedState({ title, body, otherDatesHref }) {
333
372
  return /* @__PURE__ */ jsx("div", {
334
373
  id: EVENT_REGISTRATION_ANCHOR_ID,
335
374
  className: "rb-reg-surface er-container er-registration-closed",
@@ -348,7 +387,15 @@ function RegistrationClosedState({ title, body }) {
348
387
  /* @__PURE__ */ jsx("p", {
349
388
  className: "er-text er-text--muted",
350
389
  children: body
351
- })
390
+ }),
391
+ otherDatesHref ? /* @__PURE__ */ jsx("p", {
392
+ className: "er-text",
393
+ children: /* @__PURE__ */ jsx("a", {
394
+ className: "rb-underline",
395
+ href: otherDatesHref,
396
+ children: "See the other dates"
397
+ })
398
+ }) : null
352
399
  ] })
353
400
  })
354
401
  });
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
3
3
  //#region src/rendering/islands/enhancers/accordion.ts
4
4
  const decode = defineIslandPropsDecoder("accordion");
5
5
  function parseDefaultValues(value) {
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import { $i as bookingQuestionsAnswerDraftSchema, Ai as isSameOpenCheckout, Bi as selectedBookingCollectionOptionKind, Ci as deriveBookingFormViewState, Ei as getBookingSuccessCopy, Fa as readRuntimeNow, Fi as resolveAppointmentCheckoutVerificationState, Gi as projectSelectedAppointmentConsentIntoForm, Go as resolveBookingSignupOffer, Ha as leavePage, Hi as toSelectedCollectionOptionKind, Ia as resolveDateRuntimeContext, Ii as resolveBookingPaymentStep, Ji as applyAppointmentBookingQuestionsEvent, Ki as resolveSelectedAppointmentConsent, Li as resolveBookingSelectedService, Mi as normalizeBookingServices, Ni as parseBookingCurrencyInputToCents, Pi as prepareBookingSubmission, Qi as needsAppointmentQuestionsRefresh, Ri as resolveBookingSiteId, Ro as repriceBookingCollectionOptions, Si as readOverrideServiceCategories, Ti as getBookingRedirectStateFromLocation, Ui as formatCentsAsCurrencyInput, Vi as snapshotBookingShownTerms, Xi as deriveAppointmentBookingQuestions, Yi as appointmentQuestionsRefusal, Zi as isAppointmentBookingQuestionsEvent, _a as resolveBookingPaymentMode, at as buildBookingPaymentSelectionViewModel, ba as getBookingServiceSlidingScale, c as formatCommercePrice, ca as applyBookingPaymentAdmission, ct as paymentChoicePrice, da as bookingRequiresResourceSelection, ds as unsafeAsSiteId, ea as decideBookingQuestionsRestoration, fa as reconcileBookingPackagePurchase, ga as resolveBookingPaymentChoice, ha as resolveBookingPaymentAvailability, ia as toBookingQuestionsAnswerDraft, ji as normalizeBookingFormConfig, ki as isBookingServiceSlidingAmountInRange, la as bookingHasPackagePaymentChoices, ma as resolveBookingPackageSources, oa as BOOKING_FORM_DATA_RESERVED_KEYS, ot as buildReviewedBookingPaymentViewModel, pa as resolveBookingPackagePaymentSelection, pr as createSignInReturnDraftStore, qi as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, ra as restoreBookingQuestionsAnswers, st as paymentChoiceDetails, u as formatValidity, ua as bookingPackageRequestKey, va as resolveBookingPurchasablePackages, wi as formatBookingSubmissionPreparationError, xi as buildBookingFormInteractiveIslandProps, ya as toBookingPurchasablePackages, yr as bookingPresentation, zi as resolveDefaultBookingServiceId } from "./display-4HYOb-AK.mjs";
3
- import { Kt as formatDate, Q as isBookingRequirementConsentFieldId, Qt as formatTimeZoneCityLabel, Xt as formatTime, Yt as formatDateTimeRange, a as okWith, bn as formatCurrencyAmount, c as reportWorkflowSuccess, dn as resolveBookingBusinessTimeZone, en as resolveBookingDisplayContext, fn as resolveBookingTimeZoneId, hn as toUtcIsoDateTimeString, mn as parseUtcIsoDateTimeString, n as assertNever, o as clearWorkflowFeedback, r as err, s as reportWorkflowError, t as logger } from "./noop-CaQxI-Js.mjs";
2
+ import { $i as appointmentQuestionsRefusal, Ai as getBookingSuccessCopy, Ba as resolveDateRuntimeContext, Bi as resolveBookingPaymentStep, Ca as toBookingPurchasablePackages, Di as deriveBookingFormViewState, Ei as readOverrideServiceCategories, Fi as normalizeBookingFormConfig, Gi as snapshotBookingShownTerms, Hi as resolveBookingSiteId, Ii as normalizeBookingServices, Ka as leavePage, Ki as toSelectedCollectionOptionKind, Li as parseBookingCurrencyInputToCents, Ni as isBookingServiceSlidingAmountInRange, Oi as formatBookingSubmissionPreparationError, Pi as isSameOpenCheckout, Qi as applyAppointmentBookingQuestionsEvent, Ri as prepareBookingSubmission, Sa as resolveBookingPurchasablePackages, Ti as buildBookingFormInteractiveIslandProps, Ui as resolveDefaultBookingServiceId, Uo as repriceBookingCollectionOptions, Vi as resolveBookingSelectedService, Wi as selectedBookingCollectionOptionKind, Xi as resolveSelectedAppointmentConsent, Xo as resolveBookingSignupOffer, Yi as projectSelectedAppointmentConsentIntoForm, Zi as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, _a as resolveBookingPackagePaymentSelection, at as buildBookingPaymentSelectionViewModel, ba as resolveBookingPaymentChoice, br as bookingPresentation, c as formatCommercePrice, ca as toBookingQuestionsAnswerDraft, ct as paymentChoicePrice, ea as deriveAppointmentBookingQuestions, fa as applyBookingPaymentAdmission, ga as reconcileBookingPackagePurchase, gs as unsafeAsSiteId, ha as bookingRequiresResourceSelection, ia as decideBookingQuestionsRestoration, ki as getBookingRedirectStateFromLocation, ma as bookingPackageRequestKey, mr as createSignInReturnDraftStore, na as needsAppointmentQuestionsRefresh, ot as buildReviewedBookingPaymentViewModel, pa as bookingHasPackagePaymentChoices, qi as formatCentsAsCurrencyInput, ra as bookingQuestionsAnswerDraftSchema, sa as restoreBookingQuestionsAnswers, st as paymentChoiceDetails, ta as isAppointmentBookingQuestionsEvent, u as formatValidity, ua as BOOKING_FORM_DATA_RESERVED_KEYS, va as resolveBookingPackageSources, wa as getBookingServiceSlidingScale, xa as resolveBookingPaymentMode, ya as resolveBookingPaymentAvailability, za as readRuntimeNow, zi as resolveAppointmentCheckoutVerificationState } from "./display-D1oVR5Eh.mjs";
3
+ import { Jt as formatDate, Q as isBookingRequirementConsentFieldId, Sn as formatCurrencyAmount, Zt as formatDateTimeRange, _n as resolveBookingTimeZoneId, a as okWith, c as reportWorkflowSuccess, en as formatTime, gn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, in as resolveBookingDisplayContext, mn as parseUtcIsoDateTimeString, n as assertNever, nn as formatTimeZoneCityLabel, o as clearWorkflowFeedback, r as err, s as reportWorkflowError, t as logger } from "./noop-D11X-B6n.mjs";
4
4
  import { D as unsafeAsAppointmentResourceId, O as unsafeAsAppointmentServiceId, g as formatCreditProductUnits, h as formatCreditProductPayment, m as formatCreditProductBalance, o as checkBookingQuestionsAnswered } from "./creditProducts-BQ1t1erI.mjs";
5
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BYACYP0T.mjs";
5
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DkFnbzf_.mjs";
6
6
  import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
7
- import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, s as clientPersonPhrases, t as useAvailableSlots } from "./useAvailableSlots-BGu_2F50.mjs";
8
- import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
7
+ import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, s as clientPersonPhrases, t as useAvailableSlots } from "./useAvailableSlots-D-qoooLy.mjs";
8
+ import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
9
9
  import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
10
- import { f as NavigationHandOffPanel, p as DiscountCodeDisclosure, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-C9Ggcfx3.mjs";
11
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-DVfSUSKp.mjs";
10
+ import { f as NavigationHandOffPanel, p as DiscountCodeDisclosure, r as DISCOUNT_APPLY_MESSAGES, t as BookingConfirmation } from "./DemoBookingPortalAccess-Olvrwi3Z.mjs";
11
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CMZI8o_V.mjs";
12
12
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
13
13
  import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
14
14
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
15
15
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
16
16
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
17
- import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-MbvIo2jS.mjs";
18
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-I_mXI9Yd.mjs";
19
- import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-CDDWrY_W.mjs";
20
- import { n as StepIndicator, t as BookingPanelArrangement } from "./BookingPanelArrangement-BShQSial.mjs";
21
- import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-tZxIm3RL.mjs";
22
- import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-DOm7vx0X.mjs";
17
+ import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-B57oGPcj.mjs";
18
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-B9DODAkj.mjs";
19
+ import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-DSD4gS96.mjs";
20
+ import { n as StepIndicator, t as BookingPanelArrangement } from "./BookingPanelArrangement--EkA1ZQd.mjs";
21
+ import { c as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-6CgFZNvu.mjs";
22
+ import { i as getDiscountApplyFeedback } from "./shop-discount-apply.state-C4xcmFzZ.mjs";
23
23
  import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
24
24
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
25
25
  import { z } from "zod";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BookingFormClient } from "./booking-form.client-B8ohIj13.mjs";
3
- import { t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
2
+ import { t as BookingFormClient } from "./booking-form.client-ljJoDwuI.mjs";
3
+ import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BgO0rZce.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Bok1Oy50.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/bookingForm.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $ as resolveEventRegistrationSubmitPlan, Fa as readRuntimeNow, Mi as normalizeBookingServices, Q as normalizeEventRegistrationMaxTickets, Ra as createHostedBlockApiConfig, Sr as resolveRegistrationDisplay, X as deriveEventRegistrationSteps, Xa as normalizeEventRegistrationPageSurfaceSubject, et as resolveHeadlessEventRegistrationStatus, ir as getSingleSelectedPricingOptionId, ji as normalizeBookingFormConfig, nt as toHeadlessPaymentSelection, rt as toInternalPaymentSelection, sa as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, tt as resolveHeadlessEventRegistrationView, yi as resolveRuntimeEventDestination } from "./display-4HYOb-AK.mjs";
3
- import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-B8ohIj13.mjs";
4
- import { n as assertNever, q as publicEventSchema } from "./noop-CaQxI-Js.mjs";
5
- import { n as useBlockApi, t as BlockApiProvider } from "./context-R9p5c8IH.mjs";
6
- import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-B2EikR3f.mjs";
2
+ import { $ as resolveEventRegistrationSubmitPlan, Ci as resolveRuntimeEventDestination, Cr as resolveRegistrationDisplay, Fi as normalizeBookingFormConfig, Ha as createHostedBlockApiConfig, Ii as normalizeBookingServices, Q as normalizeEventRegistrationMaxTickets, X as deriveEventRegistrationSteps, ar as getSingleSelectedPricingOptionId, da as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, eo as normalizeEventRegistrationPageSurfaceSubject, et as resolveHeadlessEventRegistrationStatus, nt as toHeadlessPaymentSelection, rt as toInternalPaymentSelection, tt as resolveHeadlessEventRegistrationView, za as readRuntimeNow } from "./display-D1oVR5Eh.mjs";
3
+ import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-ljJoDwuI.mjs";
4
+ import { n as assertNever, q as publicEventSchema } from "./noop-D11X-B6n.mjs";
5
+ import { n as useBlockApi, t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
6
+ import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-BVd70XkH.mjs";
7
7
  import * as React$1 from "react";
8
8
  import React, { useCallback, useEffect, useMemo, useReducer } from "react";
9
9
  //#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { Wr as asPartialObject } from "./display-4HYOb-AK.mjs";
3
- import { an as cardVariantRoleValues, en as boxBackgroundOverlaySchema, nn as runtimeBoxBackgroundSchema, on as itemRoleValues, rn as boxlessCardVariantValue, sn as openCardRoleValue, tn as boxBackgroundSchema } from "./lookSurfaces-BwiNdgMU.mjs";
2
+ import { Jr as asPartialObject } from "./display-D1oVR5Eh.mjs";
3
+ import { an as cardVariantRoleValues, en as boxBackgroundOverlaySchema, nn as runtimeBoxBackgroundSchema, on as itemRoleValues, rn as boxlessCardVariantValue, sn as openCardRoleValue, tn as boxBackgroundSchema } from "./lookSurfaces-C2VzJfyG.mjs";
4
4
  import { z } from "zod";
5
5
  z.enum(itemRoleValues);
6
6
  z.enum(cardVariantRoleValues);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
3
3
  import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
4
4
  import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
3
- import { t as CartClient } from "./cart.client-c1YkTC-Q.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
3
+ import { t as CartClient } from "./cart.client-DBG77v-5.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Bd_hy9ZO.mjs";
5
5
  //#region src/rendering/islands/enhancers/cart.tsx
6
6
  const decode = defineIslandPropsDecoder("cart");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as CartController } from "./shop-commerce-C-I29eaA.mjs";
2
+ import { t as CartController } from "./shop-commerce-DyMZLC0a.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/cart.client.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-y3LvxaiG.mjs";
3
- import { t as CheckoutClient } from "./checkout.client-BeU32khQ.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
3
+ import { t as CheckoutClient } from "./checkout.client-DmgZuLBT.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Bd_hy9ZO.mjs";
5
5
  //#region src/rendering/islands/enhancers/checkout.tsx
6
6
  const decode = defineIslandPropsDecoder("checkout");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as CheckoutController } from "./shop-commerce-C-I29eaA.mjs";
2
+ import { n as CheckoutController } from "./shop-commerce-DyMZLC0a.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Va as canonicalUrl } from "./display-4HYOb-AK.mjs";
2
+ import { Ga as canonicalUrl } from "./display-D1oVR5Eh.mjs";
3
3
  //#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
4
4
  /**
5
5
  * Build return URLs for Stripe checkout redirect.
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { us as parseSiteId } from "./display-4HYOb-AK.mjs";
3
- import { E as resolveSiteCustomBlocks, M as materializeEntriesMedia, T as siteBlockRenderContext, _ as buildRenderablePageOutline, at as encodePublicProductCategorySelector, j as prefetchBlockDataWithFailures, k as requireSdkTheme, t as Page, ut as isSupportedLoaderEndpoint, v as buildSiteRenderSupport, x as projectRenderablePageOutline, y as collectMediaAssetSidecar } from "./Page-F3lhDvw1.mjs";
4
- import { Wn as publicMapLocationParamsSchema } from "./registry.server-CIWYKz1V.mjs";
2
+ import { hs as parseSiteId } from "./display-D1oVR5Eh.mjs";
3
+ import { E as resolveSiteCustomBlocks, M as materializeEntriesMedia, T as siteBlockRenderContext, _ as buildRenderablePageOutline, at as encodePublicProductCategorySelector, j as prefetchBlockDataWithFailures, k as requireSdkTheme, t as Page, ut as isSupportedLoaderEndpoint, v as buildSiteRenderSupport, x as projectRenderablePageOutline, y as collectMediaAssetSidecar } from "./Page-DqETUt-U.mjs";
4
+ import { Wn as publicMapLocationParamsSchema } from "./registry.server-Bn0gE0uP.mjs";
5
5
  import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
6
6
  import { t as restoreRuntimeResponse } from "./runtimeResponse-9v8q2NBc.mjs";
7
7
  import { useEffect, useState } from "react";
@@ -843,8 +843,10 @@ const arrangementEndRequestSchema = z.object({
843
843
  ...recordedReturn,
844
844
  lastDate: localDate
845
845
  }).strict();
846
- z.object({
846
+ /** `expectedUpdatedAt` is the version the dialog was showing, so a save can't overwrite a newer change. */
847
+ const arrangementEditSchema = z.object({
847
848
  ...operation,
849
+ expectedUpdatedAt: z.string().min(1),
848
850
  serviceId: z.string().uuid(),
849
851
  holdsTime: z.boolean(),
850
852
  payment: arrangementPaymentSchema
@@ -878,6 +880,11 @@ z.discriminatedUnion("kind", [
878
880
  kind: z.literal("end"),
879
881
  arrangementId: z.string().uuid(),
880
882
  request: arrangementEndRequestSchema
883
+ }).strict(),
884
+ z.object({
885
+ kind: z.literal("edit"),
886
+ arrangementId: z.string().uuid(),
887
+ request: arrangementEditSchema
881
888
  }).strict()
882
889
  ]);
883
890
  const arrangementTimeOffChoiceSchema = z.discriminatedUnion("kind", [
@@ -988,7 +995,8 @@ z.intersection(z.object({ occurrenceDate: localDate }), z.union([
988
995
  ]) }),
989
996
  z.object({
990
997
  code: z.literal("clash"),
991
- customerFirstName: z.string().nullable()
998
+ customerFirstName: z.string().nullable(),
999
+ clashKind: z.enum(["appointment", "arrangement_hold"]).optional()
992
1000
  }),
993
1001
  z.object({
994
1002
  code: z.literal("command_failed"),
@@ -1577,6 +1585,20 @@ const APPOINTMENT_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
1577
1585
  auth: "user",
1578
1586
  responseKind: "json"
1579
1587
  },
1588
+ listStaffServiceOnlineDetails: {
1589
+ path: "/sites/{siteId}/bookings/resources/{resourceId}/services/online-details",
1590
+ method: "GET",
1591
+ auth: "user",
1592
+ responseKind: "json",
1593
+ errors: []
1594
+ },
1595
+ setStaffServiceOnlineDetails: {
1596
+ path: "/sites/{siteId}/bookings/resources/{resourceId}/services/online-details",
1597
+ method: "PUT",
1598
+ auth: "user",
1599
+ responseKind: "json",
1600
+ errors: []
1601
+ },
1580
1602
  getServiceResources: {
1581
1603
  path: "/sites/{siteId}/bookings/services/{serviceId}/resources",
1582
1604
  method: "GET",
@@ -1974,6 +1996,18 @@ const EVENT_SERIES_REGISTRATION_ENDPOINT_DEFINITIONS = defineEndpointDefinitions
1974
1996
  "server:internal_error"
1975
1997
  ]
1976
1998
  },
1999
+ setEventAttendeesNoShow: {
2000
+ path: "/sites/{siteId}/bookings/attendees/no-show",
2001
+ method: "POST",
2002
+ auth: "user",
2003
+ responseKind: "json",
2004
+ errors: [
2005
+ "validation:invalid_input",
2006
+ "auth:forbidden",
2007
+ "resource:conflict",
2008
+ "server:internal_error"
2009
+ ]
2010
+ },
1977
2011
  listEventOfferingCombinationPrices: {
1978
2012
  path: "/sites/{siteId}/bookings/event-offerings/{eventOfferingId}/combination-prices",
1979
2013
  method: "GET",
@@ -3575,7 +3609,7 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3575
3609
  path: "/public/content/{siteId}/{type}/{slug}/preview",
3576
3610
  method: "GET",
3577
3611
  revalidate: publicReadFreshnessSeconds("getPublishedEntryPreview"),
3578
- tags: ["content-{siteId}-{type}-{slug}"],
3612
+ tags: [TAG_TEMPLATES.siteRoutableContent],
3579
3613
  auth: "public",
3580
3614
  responseKind: "json"
3581
3615
  },
@@ -3583,7 +3617,7 @@ const PUBLIC_READ_ENDPOINT_DEFINITIONS = defineEndpointDefinitions({
3583
3617
  path: "/public/content/{siteId}/{type}/entries",
3584
3618
  method: "GET",
3585
3619
  revalidate: publicReadFreshnessSeconds("listPublishedEntries"),
3586
- tags: ["content-{siteId}-{type}"],
3620
+ tags: [TAG_TEMPLATES.siteRoutableContent],
3587
3621
  auth: "public",
3588
3622
  responseKind: "json"
3589
3623
  },
@@ -7713,6 +7747,18 @@ const API_ENDPOINTS$1 = {
7713
7747
  auth: "admin",
7714
7748
  responseKind: "json"
7715
7749
  },
7750
+ adminSyncPriceOverride: {
7751
+ path: "/admin/billing/price-override",
7752
+ method: "PUT",
7753
+ tags: [
7754
+ "admin",
7755
+ "billing",
7756
+ "price-override"
7757
+ ],
7758
+ auth: "admin",
7759
+ responseKind: "json",
7760
+ errors: []
7761
+ },
7716
7762
  ...EVENT_MANAGEMENT_ENDPOINT_DEFINITIONS,
7717
7763
  getEventSeries: {
7718
7764
  path: "/sites/{siteId}/bookings/events/{eventId}/schedules/{seriesId}",
@@ -9872,6 +9918,27 @@ const API_ENDPOINTS$1 = {
9872
9918
  responseKind: "json",
9873
9919
  errors: []
9874
9920
  },
9921
+ portalEntryPreview: {
9922
+ path: "/portal/auth/entry/preview",
9923
+ method: "POST",
9924
+ auth: "public",
9925
+ responseKind: "json",
9926
+ errors: []
9927
+ },
9928
+ portalEntryRedeem: {
9929
+ path: "/portal/auth/entry/redeem",
9930
+ method: "POST",
9931
+ auth: "public",
9932
+ responseKind: "json",
9933
+ errors: []
9934
+ },
9935
+ portalEntryResend: {
9936
+ path: "/portal/auth/entry/resend",
9937
+ method: "POST",
9938
+ auth: "public",
9939
+ responseKind: "json",
9940
+ errors: []
9941
+ },
9875
9942
  portalLogout: {
9876
9943
  path: "/portal/auth/logout",
9877
9944
  method: "POST",
@@ -11224,7 +11291,7 @@ var SimpleCache = class {
11224
11291
  //#endregion
11225
11292
  //#region src/request-options.ts
11226
11293
  /** Every API client the SDK creates sends its version as `x-sdk-version`. */
11227
- const sdkRequestOptions = { sdkVersion: "0.176.0" };
11294
+ const sdkRequestOptions = { sdkVersion: "0.178.0" };
11228
11295
  //#endregion
11229
11296
  //#region src/client/error.ts
11230
11297
  let _Symbol$for;
@@ -11474,7 +11541,7 @@ const API_ENDPOINTS = Object.freeze({
11474
11541
  path: "/public/content/{siteId}/{type}/entries",
11475
11542
  method: "GET",
11476
11543
  revalidate: publicReadFreshnessSeconds("listPublishedEntries"),
11477
- tags: ["content-{siteId}-{type}"],
11544
+ tags: [TAG_TEMPLATES.siteRoutableContent],
11478
11545
  auth: "public",
11479
11546
  responseKind: "json"
11480
11547
  },
@@ -11482,7 +11549,7 @@ const API_ENDPOINTS = Object.freeze({
11482
11549
  path: "/public/content/{siteId}/{type}/{slug}/preview",
11483
11550
  method: "GET",
11484
11551
  revalidate: publicReadFreshnessSeconds("getPublishedEntryPreview"),
11485
- tags: ["content-{siteId}-{type}-{slug}"],
11552
+ tags: [TAG_TEMPLATES.siteRoutableContent],
11486
11553
  auth: "public",
11487
11554
  responseKind: "json"
11488
11555
  },
@@ -12643,13 +12710,27 @@ const defaultRiverbankClientDeps = {
12643
12710
  * const site = await client.getSite({ slug: 'my-site' });
12644
12711
  * ```
12645
12712
  */
12713
+ /**
12714
+ * A memory hit skips fetch, so Next never sees the read's tags: an ISR render would store old
12715
+ * content under a page no webhook can reach. Next's tagged fetch cache already covers these reads.
12716
+ */
12717
+ function isRunningInNextServer() {
12718
+ return typeof window === "undefined" && typeof process !== "undefined" && Boolean(process.env.NEXT_RUNTIME);
12719
+ }
12720
+ function resolveMemoryCachePolicy(config) {
12721
+ const enabled = config.cache?.enabled;
12722
+ return {
12723
+ cacheEnabled: enabled ?? true,
12724
+ servesFreshMemoryHits: enabled ?? !isRunningInNextServer()
12725
+ };
12726
+ }
12646
12727
  function createRiverbankClient(config) {
12647
12728
  return createRiverbankClientWithDeps(defaultRiverbankClientDeps, config);
12648
12729
  }
12649
12730
  function createRiverbankClientWithDeps(deps, config) {
12650
12731
  if (!config.baseUrl) throw new Error("baseUrl is required when creating a Riverbank client. Expected format: https://dashboard.example.com/api (must include /api path)");
12651
12732
  if (!config.baseUrl.endsWith("/api")) throw new Error(`baseUrl must end with '/api'. Received: ${config.baseUrl}. Expected format: https://dashboard.example.com/api`);
12652
- const cacheEnabled = config.cache?.enabled ?? true;
12733
+ const { cacheEnabled, servesFreshMemoryHits } = resolveMemoryCachePolicy(config);
12653
12734
  const cacheTTL = (config.cache?.ttl ?? 300) * 1e3;
12654
12735
  const cacheMaxSize = config.cache?.maxSize ?? 100;
12655
12736
  const resilienceEnabled = config.resilience?.enabled ?? true;
@@ -12798,7 +12879,7 @@ function createRiverbankClientWithDeps(deps, config) {
12798
12879
  durationMs: Date.now() - startTime,
12799
12880
  ...extra
12800
12881
  });
12801
- if (cacheEnabled && !options.force) {
12882
+ if (servesFreshMemoryHits && !options.force) {
12802
12883
  const fresh = cache.getFresh(cacheKey);
12803
12884
  if (fresh !== null) return emitStatus("cache", fresh, statusDetails({ cacheTier: "memory-fresh" }));
12804
12885
  }
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Nt as normalizeCurrencyCode, _n as parsePositiveCents, b as calendarWindowPageSchema, d as EVENT_BOOKING_RESPONSE_QUERY, et as beforeBookingQuestionsPresentationSchema, l as blockSiteTermsSchema, m as publicPassProductCollectionSchema, yn as toNonNegativeCents } from "./noop-CaQxI-Js.mjs";
2
+ import { Nt as normalizeCurrencyCode, b as calendarWindowPageSchema, d as EVENT_BOOKING_RESPONSE_QUERY, et as beforeBookingQuestionsPresentationSchema, l as blockSiteTermsSchema, m as publicPassProductCollectionSchema, xn as toNonNegativeCents, yn as parsePositiveCents } from "./noop-D11X-B6n.mjs";
3
3
  import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
4
4
  import { t as BEFORE_BOOKING_QUESTIONS_ROUTE } from "./bookingQuestions-BHq83mzS.mjs";
5
5
  import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ho as resolveWholeSeriesBookingPhase, Vo as orderedLiveRunSessions, do as canJoinEventWaitlistOnAnyMode, fo as formatEventRemainingPlaces, go as getEventAvailabilityStatus, vo as isEventFull, yi as resolveRuntimeEventDestination } from "./display-4HYOb-AK.mjs";
2
+ import { Ci as resolveRuntimeEventDestination, Co as isEventFull, Ko as orderedLiveRunSessions, _o as formatEventRemainingPlaces, go as canJoinEventWaitlistOnAnyMode, po as hasEventBookingClosedEarly, qo as resolveWholeSeriesBookingPhase, xo as getEventAvailabilityStatus } from "./display-D1oVR5Eh.mjs";
3
3
  import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
4
4
  //#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
5
5
  /**
@@ -138,9 +138,15 @@ function occurrenceCardAvailability(event, count) {
138
138
  status: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available"
139
139
  } : null;
140
140
  }
141
- /** Preserve projected closure reasons; only an open native run needs its clock rechecked. */
141
+ /** Preserve projected closure reasons; only an open native booking needs its clock rechecked. */
142
142
  function renderClockClosedCta(event, now) {
143
- if (!now || event.bookingScope !== "whole_series" || event.destination.kind !== "native") return null;
143
+ if (!now || event.destination.kind !== "native") return null;
144
+ if (event.bookingScope !== "whole_series") return hasEventBookingClosedEarly(event, now) ? {
145
+ label: "Registration closed",
146
+ href: resolveEventHref(event),
147
+ external: false,
148
+ hidden: true
149
+ } : null;
144
150
  const phase = resolveWholeSeriesBookingPhase(event.run, now);
145
151
  if (phase.kind === "open") return null;
146
152
  return {
@@ -149,6 +155,7 @@ function renderClockClosedCta(event, now) {
149
155
  case "cancelled": return "Cancelled";
150
156
  case "completed": return "Completed";
151
157
  case "in-progress":
158
+ case "bookings-closed":
152
159
  case "enrolment-closed":
153
160
  case "no-sessions": return "Registration closed";
154
161
  default: return assertNever(phase.reason);
@@ -156,7 +163,7 @@ function renderClockClosedCta(event, now) {
156
163
  })(),
157
164
  href: resolveEventHref(event),
158
165
  external: false,
159
- hidden: phase.reason !== "enrolment-closed"
166
+ hidden: phase.reason !== "enrolment-closed" && phase.reason !== "bookings-closed"
160
167
  };
161
168
  }
162
169
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Jt as formatDateTime$1, Kt as formatDate$1, Xt as formatTime, Yt as formatDateTimeRange, en as resolveBookingDisplayContext, fn as resolveBookingTimeZoneId, hn as toUtcIsoDateTimeString, ln as parseBookingLocalDate, mn as parseUtcIsoDateTimeString } from "./noop-CaQxI-Js.mjs";
2
+ import { Jt as formatDate$1, Xt as formatDateTime$1, Zt as formatDateTimeRange, _n as resolveBookingTimeZoneId, en as formatTime, fn as parseBookingLocalDate, hn as toUtcIsoDateTimeString, in as resolveBookingDisplayContext, mn as parseUtcIsoDateTimeString } from "./noop-D11X-B6n.mjs";
3
3
  //#region ../blocks/src/portal/dateFormatting.ts
4
4
  /** Optional API timestamps enter the display model here; invalid values never render a Date. */
5
5
  function readInstant(value) {