@riverbankcms/sdk 0.178.0 → 0.180.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 (221) hide show
  1. package/README.md +15 -8
  2. package/dist/_dts/{BlocksIslandsHydrator-CrKsXtpD.d.ts → BlocksIslandsHydrator-DC_AvZwy.d.ts} +1 -1
  3. package/dist/_dts/{Page-C9i27wZA.d.ts → Page-DQOxVtp3.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-DzGSR3jh.d.ts → SdkPreviewMode-DrLgY9_f.d.ts} +3 -2
  5. package/dist/_dts/{client-BnYN6XsH.d.ts → client-BP7VBRvs.d.ts} +281 -72
  6. package/dist/_dts/{content-types-CXj6lp3d.d.ts → content-types-1-K2qi__.d.ts} +2 -2
  7. package/dist/_dts/{contracts-BZLwkTwL.d.ts → contracts-Dfqz0Tcu.d.ts} +6 -116
  8. package/dist/_dts/{generatePageMetadata-ByEWwe9j.d.ts → generatePageMetadata-CSfAqmry.d.ts} +2 -2
  9. package/dist/_dts/{index-BE9dWIsr.d.ts → index-B0_2-65A.d.ts} +3 -3
  10. package/dist/_dts/{index-0HFgCnGz.d.ts → index-BeM5Ylwf.d.ts} +5 -3
  11. package/dist/_dts/{index-D9-N1d9v.d.ts → index-Blrw2oVk.d.ts} +1 -1
  12. package/dist/_dts/{index-cTpvQg_Q.d.ts → index-CB5Csefo.d.ts} +2 -2
  13. package/dist/_dts/{index-nnEdgc3Z.d.ts → index-DCcxLa8p.d.ts} +4 -2
  14. package/dist/_dts/{index-DCa-8TEY.d.ts → index-DQBGwBPx.d.ts} +1 -1
  15. package/dist/_dts/{index-CKDRr54L.d.ts → index-DQr358-m.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-DYkVV6w4.d.ts → loadContent-BG2tLGXj.d.ts} +15 -13
  17. package/dist/_dts/{request-B20VRWHH.d.ts → request-P08l6mkr.d.ts} +3641 -994
  18. package/dist/_dts/{resolveBlockData-C_aK5GIS.d.ts → resolveBlockData-BDHc8lFs.d.ts} +8 -5
  19. package/dist/_dts/resolvePageContent-Y3IZBbtL.d.ts +61 -0
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +3 -3
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  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/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +7 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +16 -8
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +3 -3
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +19 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/serviceBookingOutline-BvtNagjw.d.ts +583 -0
  55. package/dist/_dts/{types-CYcd15BQ.d.ts → types-BrK6SS5c.d.ts} +9 -7
  56. package/dist/_dts/{types-CMZ5mkpv.d.ts → types-DpEAnP4F.d.ts} +10 -39
  57. package/dist/_dts/{types-rm2M4LGx.d.ts → types-HAy1-Jjo.d.ts} +3 -3
  58. package/dist/_dts/{validation-BSxnRhyy.d.ts → validation-D6q3tOBA.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-D1n09bu-.mjs → BlocksIslandsHydrator-DJSmdNUJ.mjs} +17 -18
  60. package/dist/client/{BookingMailingListNote-DSD4gS96.mjs → BookingMailingListNote-CGxg37zx.mjs} +92 -60
  61. package/dist/client/{BookingQuestionFields-B57oGPcj.mjs → BookingQuestionFields-DXegGSnS.mjs} +26 -5
  62. package/dist/client/{CalendarNavigationChevron-qXvsFYOg.mjs → CalendarNavigationChevron-VfP50sYm.mjs} +42 -9
  63. package/dist/client/{CheckboxChoice-b-PJLEXe.mjs → CheckboxChoice-BZPLCgTU.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-Olvrwi3Z.mjs → DemoBookingPortalAccess-0Ua44F1j.mjs} +13 -8
  65. package/dist/client/{EventCalendar.client-DwFNFb-0.mjs → EventCalendar.client-CrpiyDSP.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-Ffu-aVOb.mjs → EventCombined.client-D0me9wnz.mjs} +10 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-B18VbNS_.mjs → EventEmbeddedCheckoutStep-BDnicDM6.mjs} +1 -1
  68. package/dist/client/{EventItem-b8tVkNHA.mjs → EventItem-CJITrGkF.mjs} +249 -8
  69. package/dist/client/{EventListWeekNavigation-BxnJW_Gf.mjs → EventListWeekNavigation-BlEm_xjq.mjs} +1 -1
  70. package/dist/client/{EventListing.client-ViCnrNg4.mjs → EventListing.client-BNM_HuS0.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CdjiepMf.mjs → EventListing.view-CXfb7RRy.mjs} +7 -16
  72. package/dist/client/{EventRegistrationPayment-BVd70XkH.mjs → EventRegistrationPayment-DiD9uYs6.mjs} +1439 -293
  73. package/dist/client/{Page-DqETUt-U.mjs → Page-bX7iy_MK.mjs} +24299 -20103
  74. package/dist/client/{ProtectedSubmitButton-C-ql101B.mjs → ProtectedSubmitButton-De6AzhE6.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-DkFnbzf_.mjs → SiteTermsAgreementField-BAdW5DvE.mjs} +23 -16
  76. package/dist/client/{BookingPanelArrangement--EkA1ZQd.mjs → StepIndicator-DCfdcb7s.mjs} +12 -12
  77. package/dist/client/{StepIndicator-JO2PS03n.mjs → StepIndicator-DCqorVne.mjs} +7 -7
  78. package/dist/client/{TabBarFragment-BqfRLojo.mjs → TabBarFragment-DlKQRhP4.mjs} +1 -1
  79. package/dist/client/{ThemedButton-DuaYtnvG.mjs → ThemedButton-CnSa7o-I.mjs} +66 -66
  80. package/dist/client/{accessibleSurfaces-DN8it_Cx.mjs → accessibleSurfaces-Wl8-_OVJ.mjs} +1 -1
  81. package/dist/client/{accordion-XgNxl0Wg.mjs → accordion-wofJY8xY.mjs} +1 -1
  82. package/dist/client/{booking-form.client-ljJoDwuI.mjs → booking-form.client-CYl9NrqS.mjs} +412 -79
  83. package/dist/client/{bookingForm-DtEHwY4W.mjs → bookingForm-kgVWtuMe.mjs} +4 -4
  84. package/dist/client/bookings.mjs +40 -10
  85. package/dist/client/{boxStyleClassNames-BHoMAcun.mjs → boxStyleClassNames-CQHWz5gJ.mjs} +19 -19
  86. package/dist/client/{carousel-B3UhbFu7.mjs → carousel-BE1dEFsD.mjs} +2 -2
  87. package/dist/client/{carousel.client-h65clfUO.mjs → carousel.client-DMtGYTTM.mjs} +1 -1
  88. package/dist/client/{cart-DzOJfYOR.mjs → cart-BsjsdGZE.mjs} +3 -3
  89. package/dist/client/{cart.client-DBG77v-5.mjs → cart.client-DylGUWXY.mjs} +1 -1
  90. package/dist/client/{checkout-LmePoEgM.mjs → checkout-B5KxEUDr.mjs} +3 -3
  91. package/dist/client/{checkout.client-DmgZuLBT.mjs → checkout.client-C98fhch3.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-CMZI8o_V.mjs → checkoutUrls-BMLYTf38.mjs} +1 -1
  93. package/dist/client/client.mjs +502 -341
  94. package/dist/client/constants-PfYJsEZF.mjs +101 -0
  95. package/dist/client/{context-CJIz4FdL.mjs → context-DtKdUdkO.mjs} +200 -27
  96. package/dist/client/{dateFormatting-UoXqBh10.mjs → dateFormatting-BaGPvQS3.mjs} +1 -1
  97. package/dist/client/{demoPortalMagicLink-6CgFZNvu.mjs → demoPortalMagicLink-B8eDjhuG.mjs} +1 -1
  98. package/dist/client/{enhanceHeaderSection-DaMo6len.mjs → enhanceHeaderSection-DvhD-8eE.mjs} +4 -4
  99. package/dist/client/{event-registration.client-b6APrFQe.mjs → event-registration.client-Du9a_xAN.mjs} +1982 -1519
  100. package/dist/client/{eventCalendar-DJYz7yZf.mjs → eventCalendar-Di9wDfzl.mjs} +4 -4
  101. package/dist/client/{eventCombined-j9VCVgMW.mjs → eventCombined-CNW6nBsB.mjs} +4 -4
  102. package/dist/client/{eventListing-DWgpGuFM.mjs → eventListing-CQMxQ8By.mjs} +4 -4
  103. package/dist/client/{eventRegistration-DCinRot3.mjs → eventRegistration-CprS9k1D.mjs} +4 -4
  104. package/dist/client/events-9LPvwbWp.mjs +28 -0
  105. package/dist/client/{form-BBBtRwvy.mjs → form-Zl1_8RJ6.mjs} +3 -3
  106. package/dist/client/{form.client-CZeRQLGF.mjs → form.client-TaMUys6I.mjs} +5 -5
  107. package/dist/client/{form.parts-DhGGv4_L.mjs → form.parts-CpNPbPPM.mjs} +3 -3
  108. package/dist/client/{formatDate-DVFVDcDW.mjs → formatDate-hhI1-tzt.mjs} +1 -1
  109. package/dist/client/gifting/client.mjs +6 -6
  110. package/dist/client/{gifting-Di9-SpwW.mjs → gifting-DNVa7-Wj.mjs} +4 -4
  111. package/dist/client/{gifting.client-CjT5PrAZ.mjs → gifting.client-CFUq3GVx.mjs} +5 -5
  112. package/dist/client/{gifting.parts-ffP6mjMd.mjs → gifting.parts-CDQvxA4A.mjs} +2 -2
  113. package/dist/client/{headerSection-jjAvtSZk.mjs → headerSection-Cg6083rn.mjs} +2 -2
  114. package/dist/client/{lookSurfaces-C2VzJfyG.mjs → lookSurfaces-gJ3OqPf9.mjs} +258 -86
  115. package/dist/client/{newsletter-form.client-D45frHoa.mjs → newsletter-form.client-VuL9I96G.mjs} +6 -6
  116. package/dist/client/{shop.interactive-D7wky1GL.mjs → newsletter-form.interactive-7Of3eYn0.mjs} +4023 -4029
  117. package/dist/client/{newsletter-form.parts-CHdg82ct.mjs → newsletter-form.parts-OBqsfT24.mjs} +2 -2
  118. package/dist/client/{newsletterForm-tS465_vl.mjs → newsletterForm-BkJe_RTv.mjs} +3 -3
  119. package/dist/client/portal/client.mjs +301 -117
  120. package/dist/client/{product-detail.client-DIWSeW7P.mjs → product-detail.client-B2hdxqJN.mjs} +1 -1
  121. package/dist/client/{product-list.client-BRf14h_e.mjs → product-list.client-CCEgu9rx.mjs} +1 -1
  122. package/dist/client/{productDetail-gxF5whea.mjs → productDetail-CRX_ZRfS.mjs} +3 -3
  123. package/dist/client/{productList-B9t0XJrN.mjs → productList-BAdJ6z5S.mjs} +3 -3
  124. package/dist/client/{propsDecoder-Db8wAmgr.mjs → propsDecoder-BLKAmX0S.mjs} +2 -48
  125. package/dist/client/{registry.server-Bn0gE0uP.mjs → registry.server-Bj9cmHHF.mjs} +10464 -9113
  126. package/dist/client/rendering/client.mjs +41 -27
  127. package/dist/client/rendering/islands.mjs +1 -1
  128. package/dist/client/rendering.mjs +23 -2836
  129. package/dist/client/{richText-coerce-COnKrLO7.mjs → richText-coerce-Z45OLLEX.mjs} +1 -1
  130. package/dist/client/{routeIslandApiConfig-Bok1Oy50.mjs → routeIslandApiConfig-DHpTTK77.mjs} +1 -1
  131. package/dist/client/runtimeResponse-D2j2-mOk.mjs +3 -0
  132. package/dist/client/{runtimeResponse-9v8q2NBc.mjs → runtimeResponse-DtWSfWSZ.mjs} +1 -1
  133. package/dist/client/{shop-D1oTPDxm.mjs → shop-BKsgxm_-.mjs} +3 -3
  134. package/dist/client/{shop-commerce-DyMZLC0a.mjs → shop-commerce-Cbtk_kUW.mjs} +14 -14
  135. package/dist/client/{shop-commerce-store-FODNS63D.mjs → shop-commerce-store-B-rv2p5h.mjs} +1 -1
  136. package/dist/client/{shop-discount-apply.state-C4xcmFzZ.mjs → shop-discount-apply.state-CiCDLNh7.mjs} +2 -2
  137. package/dist/client/{shop.client-CRgRulfI.mjs → shop.client-Rnqa74Tk.mjs} +14 -14
  138. package/dist/client/{shopShared-Bd_hy9ZO.mjs → shopShared-BaBfhjCq.mjs} +2 -2
  139. package/dist/client/spam-protection.mjs +1 -1
  140. package/dist/client/{noop-D11X-B6n.mjs → src-o7WEvbK1.mjs} +398 -308
  141. package/dist/client/{timetableModel-UlWfP1gh.mjs → timetableModel-BOff1Kk5.mjs} +259 -11
  142. package/dist/client/{types-DjWUR_O6.mjs → types-BEaKfam_.mjs} +65 -65
  143. package/dist/client/{useAvailableSlots-D-qoooLy.mjs → useAvailableSlots-DQJNh10g.mjs} +3 -23
  144. package/dist/client/useDiscountCodeUi-BcFQRI_7.mjs +196 -0
  145. package/dist/client/{useEventPagination-CQH2e9sQ.mjs → useEventPagination-BvdcexDC.mjs} +8 -8
  146. package/dist/client/{view-bGU1ws-m.mjs → view-CTBwSpKv.mjs} +4 -4
  147. package/dist/client/{display-D1oVR5Eh.mjs → wizardSteps-CWIQyRIw.mjs} +10263 -9078
  148. package/dist/preview-next/before-render.mjs +5 -3
  149. package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
  150. package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
  151. package/dist/preview-next/client/{PageSectionToolbar-D-Le7O3o.mjs → PageSectionToolbar-CG6KwITA.mjs} +4 -4
  152. package/dist/preview-next/client/{PreviewEditorSidebar-DNy5j_ce.mjs → PreviewEditorSidebar-BGBqrC9m.mjs} +8 -7
  153. package/dist/preview-next/client/{PreviewEditorUI-CzJvgbqt.mjs → PreviewEditorUI-Bwkyx28x.mjs} +5 -5
  154. package/dist/preview-next/client/{PreviewShell-xhJ6ca1i.mjs → PreviewShell-DB1l6JNU.mjs} +7 -7
  155. package/dist/preview-next/client/{SdkPreviewModeRuntime-BmYO1TdT.mjs → SdkPreviewModeRuntime-Bs6Cwzr3.mjs} +15 -7
  156. package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
  157. package/dist/preview-next/client/{previewAssistantSlot-BN93X9o1.mjs → previewAssistantSlot-T-oDD_Dd.mjs} +6252 -2461
  158. package/dist/preview-next/client/{previewChromeRoot-C51RQseo.mjs → previewChromeRoot-BeukcDRy.mjs} +1 -1
  159. package/dist/preview-next/client/runtime.mjs +3 -3
  160. package/dist/preview-next/client/{sdk-runtime-oeGquJM-.mjs → sdk-runtime-ceDW_9q2.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-BGTAcPud.mjs → siteStyleAccess-CCB9bScO.mjs} +35 -23
  162. package/dist/preview-next/client/{useAutosaveStatus-BMGXjGZq.mjs → useAutosaveStatus-D4o0CKq7.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-CTDoR_gQ.mjs → useOpenBlockForSetup-Seccrvwu.mjs} +2 -2
  164. package/dist/preview-next/container-responsive.css +103 -10
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-BtdzkSUg.mjs → route-contract-FwFj8zGL.mjs} +71 -10
  168. package/dist/server/{Block.shared-Bp3OlOjj.mjs → Block.shared-D6WrRCxX.mjs} +4 -4
  169. package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQzjDQ2q.mjs} +8 -1
  170. package/dist/server/{bindings-DrbJuftt.mjs → bindings-CS6ih1Yc.mjs} +37 -6
  171. package/dist/server/{client-Bf06n9oj.mjs → client-m0ylCj_f.mjs} +436 -526
  172. package/dist/server/config-validation.mjs +1 -1
  173. package/dist/server/config.mjs +2 -2
  174. package/dist/server/contentTypeResolver-B9vy8BrF.mjs +19 -0
  175. package/dist/server/data/dataLoaderContext.mjs +1 -1
  176. package/dist/server/data/resolveBlockData.mjs +1 -1
  177. package/dist/server/{dataLoaderContext-B3fXA54R.mjs → dataLoaderContext-lMRTfG5Z.mjs} +1 -0
  178. package/dist/server/error-f4g44bKx.mjs +387 -0
  179. package/dist/server/index.mjs +3 -2
  180. package/dist/server/loadContent-vgWMz1uD.mjs +694 -0
  181. package/dist/server/{loadPage-5iZefzDd.mjs → loadPage-CIOL3-9t.mjs} +22 -4
  182. package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-m-91jGGn.mjs} +36 -0
  183. package/dist/server/next.mjs +67 -94
  184. package/dist/server/{overrideResolution-CUHtm7tW.mjs → overrideResolution-BiHmsvTZ.mjs} +1 -1
  185. package/dist/server/page-converter.mjs +1 -1
  186. package/dist/server/{pageRenderPlan-GmPXForc.mjs → pageRenderPlan-DJo_obpi.mjs} +15 -8
  187. package/dist/server/{pageRuntimeSupport-Dd8LFzfa.mjs → pageRuntimeSupport-BnSuoHON.mjs} +54 -2
  188. package/dist/server/{pageShared-tz-GVWft.mjs → pageShared-BJuOzxzn.mjs} +554 -304
  189. package/dist/server/{prebuild-JmsuYCIH.mjs → prebuild-Cr8p8T7V.mjs} +5 -4
  190. package/dist/server/prebuild.mjs +1 -1
  191. package/dist/server/{prefetchBlockData-Ce9DDwON.mjs → prefetchBlockData-BZh57-ua.mjs} +5 -3
  192. package/dist/server/{registry-D12XF_h1.mjs → registry-CvhFwbXJ.mjs} +358 -95
  193. package/dist/server/rendering/components/pageShared.mjs +1 -1
  194. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  195. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  196. package/dist/server/rendering/server.mjs +5 -4
  197. package/dist/server/rendering.mjs +9 -8
  198. package/dist/server/{resolveBlockData-D9yZIN3V.mjs → resolveBlockData-Cv_W1LVB.mjs} +61 -34
  199. package/dist/server/resolvePageContent-BWKUZUIn.mjs +89 -0
  200. package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-KRKguBC5.mjs} +56 -1
  201. package/dist/server/routing.mjs +271 -57
  202. package/dist/server/server.mjs +3 -3
  203. package/dist/server/{loadContent-eaTY7RPg.mjs → servicePageContent-CRKbTm_7.mjs} +719 -459
  204. package/dist/server/theme-bridge.mjs +1 -1
  205. package/dist/server/{validation-CLq5cw6M.mjs → validation-DCl-FCk_.mjs} +4 -4
  206. package/dist/server/{version-oPbhAx8E.mjs → version-DT_R5JAR.mjs} +1 -1
  207. package/dist/styles/index.css +504 -27
  208. package/package.json +1 -1
  209. package/dist/_dts/footerPageOutline-D_XbQW_o.d.ts +0 -256
  210. package/dist/_dts/resolvePageContent-YT6ndha1.d.ts +0 -162
  211. package/dist/client/LocationMapActions-CiMtl1Ha.mjs +0 -62
  212. package/dist/client/MapDrawingSvg-BCZa3dpf.mjs +0 -200
  213. package/dist/client/constants-4o4_hl34.mjs +0 -6
  214. package/dist/client/course-DBEU9IA9.mjs +0 -244
  215. package/dist/client/duration-Q6_QNgiv.mjs +0 -37
  216. package/dist/client/event-details.client-BwASwKIq.mjs +0 -53
  217. package/dist/client/eventDetails-BzGOVDI-.mjs +0 -13
  218. package/dist/client/runtimeResponse-CVkM0dHy.mjs +0 -3
  219. package/dist/client/useDiscountCodeUi-B9DODAkj.mjs +0 -237
  220. package/dist/client/view-DNX59QwM.mjs +0 -1372
  221. package/dist/server/resolvePageContent-CAELMBEJ.mjs +0 -438
@@ -1,16 +1,16 @@
1
1
  import { Dt as parseThemeColorToken, Et as parseColorTokenParts, G as hexToRgb, R as contrastRatio, a as formatButtonColourContractError, at as surfaceForegroundValue, c as DEFAULT_BUTTON_SIZES, ct as surfaceInkStyle, d as generateShadowValue$1, et as SURFACE_INK_CSS_VARS, f as DEFAULT_VARIANT_ALIAS_ID, ft as cssVarValue, g as createStandardButtonSurfacePolicy, gt as textColorValue, h as buttonSizeNameSchema, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, j as expandPalette, mt as rgbColorValue, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, pt as mergeStyles, r as resolveSolidButtonColour, rt as surfaceForegroundInputFromResolved, s as BORDER_WIDTH_MAP, st as surfaceInkDeclarations, u as FONT_SIZE_MAP, ut as backgroundColorStyle, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { $ as resolveEventLinkProps, A as deriveEventScheduleSummary, B as MapPinIcon, C as EventHeader, D as OfferingCourseCards, E as EventListingFrameView, F as CardListCollection, G as buildMonthDay, H as eventDisplayTitleText, I as CardListItems, J as selectQuickDateEvents, K as resolveMonthSelectedDay, L as EventItem, M as createEditorPresentationPageReader, N as createPresentationPageReader, O as eventCardListContent, P as EmptyState, Q as resolveEventCta, R as eventCategoryBadge, S as lookPartShown, T as MonthLookView, U as formatCourseDatesAfter, V as eventDisplayTitle, W as formatCourseSessions, X as formatEventDuration, Y as formatEventTeacherLine, Z as resolveEventCardBooking, _ as publicAppointmentPricingSchema, a as joinSlotKey, at as defaultThemeTokens, b as resolvePageRouteTarget, c as buildLinkedContentEditTarget, et as parseStoredVariant, f as defaultTransforms, g as publicAppointmentLocationSchema, h as formatAppointmentPrice, i as composePageJoins, it as buildThemeTokens, j as derivePreviewRunSchedule, k as offeringDatesBySeries, m as formatAppointmentLocation, n as createPageRenderPlanReader, o as renderedJoinLayout, p as formatAppointmentDuration, q as formatEventQuickDate, s as retargetJoinsAcrossOmissions, u as resolveLinkedEntryInlineFieldEligibility, w as EVENT_REGISTRATION_ANCHOR_ID, x as resolveRouteTarget, y as resolveEntryRouteTarget, z as CalendarIcon } from "./pageRenderPlan-GmPXForc.mjs";
3
- import { $n as markEditableSurfaceForwarding, $o as getLocalMinuteOfDay, $r as formEmbedFragment, $s as publicEventPricingCurrency, $t as eventOnlinePlace, A as membershipClassesLabel, Aa as headerRootPaint, Ai as when, An as isOrdinaryPublicEvent, Ar as clsx, As as parseMailingListRuntimeContext, At as groupOfferingRunsByCourse, B as eventListingBlockDefinition, Ba as arrangementManifestFromVariants, Bi as FileAudioIcon, Bo as bindingSchema, Br as formatEventPrice, Bs as formatBookingCompactEnglishTime, Bt as ThemedButtonLink, C as buildCartInteractiveIslandProps, Cn as groupEventsByDate, Cr as listItemPresentation, Ct as normalizeEventRegistrationPageSurfaceSubject, D as buildShopInteractiveIslandProps, Dn as hasCancelledRegistrationDate, Dr as resolvedItemSurfaceProps, Ds as orderedLiveRunSessions, E as buildProductListInteractiveIslandProps, Ea as readOpeningToneProjection, En as cancelledDateCopy, Er as lookListPresentationSchemaShape, F as offeringsCatalogueShape, Fi as ChevronDownIcon, Fn as planWholeSeriesRunSelection, Fs as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Ft as resolveOfferingsPreviewGroupCta, G as eventCollectionDisplaySchemaShape, Gi as inlineTextToPlainText, Gn as isEventFull, Gt as eventListWeekDays, H as buildEventCollectionDisplay, Ha as resolveEffectiveArrangement, Hi as FileTextIcon, Hn as formatTotalCapacity, Ht as getIconComponent, I as eventCalendarBlockDefinition, Ii as CircleMinusIcon, In as resolveSelectionBookingClosedDetail, Is as formatDate$1, It as resolveOfferingsPreviewGroups, J as catalogueEventCardProps, Jn as resolveFeatureCardGeneratedIconSizePx, Jr as cardFragment, Js as resolveBookingBusinessTimeZone, K as eventCollectionHydrationSchema, Ki as isInlineTextEmpty, Kn as groupPublicEventsByRun, Kr as richTextFragment, Ks as parseLocalScheduleTime, Kt as eventWeekGroupingContext, L as buildEventCalendarInteractiveIslandProps, Li as CirclePlusIcon, Ln as selectionRepresentativeEvent, Lt as resolveOfferingsRenderInput, M as offeringsPreviewBlockDefinition, Ma as arrangementLookHooks, Mi as parseBlockIconValue, Mn as planOrdinarySeriesSelection, Ms as parseMailingListPlacementTargeting, Mt as offeringRunLifecycle, N as publicRouteCandidatesSchema, Ni as resolveBlockIconRenderValue, Nn as planWholeSeriesParentBooking, Ns as sameMailingListPlacementTargeting, Nt as offeringsListingFor, O as shopProductPresentation, Oa as headerNeedsPhotoShade, Oi as runTransforms, On as eventOccurrenceContext, Oo as anglePolygonCss, Or as itemRole, Os as resolveWholeSeriesBookingPhase, Ot as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, P as buildOfferingsCatalogueListing, Pi as ArrowDownIcon, Pn as planWholeSeriesParentSelection, Pt as readOfferingsGrouping, Q as cardListPresentationSchemaShape, Qa as requireCuratedSiteStyle, Qi as PUBLIC_DOWNLOAD_MEDIA_TYPES, Qn as composeHeaderSectionWrapperClassName, Qo as getLocalDateKey, Qr as singleButtonFragment, Qs as isPublicEventPricingOptionDisplayable, Qt as browserReadAuthoritySchema, R as buildEventCalendarListingDisplay, Ri as ClockIcon, Rr as formatCoursePrice, Rt as ThemedAuthoredButton, S as shopBlockDefinition, Sa as selectItemSurfacePresentation, Sn as formatTime, Sr as defineProgressiveBlockRuntime, Ss as unavailableReadinessFact, St as previewStageSchema, T as buildProductDetailInteractiveIslandProps, Ta as effectiveHeaderNavLinkStyle, Tn as bookingPageKindSchema, Tr as listLookSlot, Ts as CANCELLED_SESSION_STATUS, U as buildEventCollectionHydration, Ui as MinusIcon, Us as getBookingLocalDateKey, Ut as SpinnerNode, V as buildEventListingInteractiveIslandProps, Vi as FileSpreadsheetIcon, Vn as formatEventRemainingPlaces, Vr as formatEventPriceAmount, Vs as toScheduledBookingDateTime, Vt as ThemedDownloadLink, W as buildEventCollectionListingDisplay, Wi as PlusIcon, Wn as getEventAvailabilityStatus, Wt as buildEventListWeek, X as CardListContentPart, Xr as faqHeadingFragment, Y as listingEventCardProps, Yn as shouldReserveFeatureCardIconZone, Yr as faqAccordionFragment, Ys as toBookingTimeZone, Yt as resolveRuntimeEventDestination, Zi as parseFieldDefinitions, Zr as blogFeaturedPostFragment, Zs as formatBookingPriceDisplay, Zt as bookingPresentation, _ as buildGiftingInteractiveIslandProps, _a as themeButtonSelector, _i as resolveBackgroundColorValue, _n as formatEventHourLabel, _r as buildInteractiveIslandProps, _t as getContainerClass, a as LOCATION_MAP_LOADER_KEYS, ai as ctaRowFragment, an as closedDatesCopy, ao as generateDefaultCardSystem, ar as readRuntimeNow, as as getWeekCalendarDays, b as productDetailBlockDefinition, bi as bodyCopyFragment, bn as formatEventTimeRange, br as createZodCodec, bs as loadedReadinessFact, bt as resolveEventRegistrationEventSource, c as normalizeLocationMapSource, cn as buildCalendarViewport, co as generateNavLinkCSS, d as newsletterSignupBlockDefinition, di as resolveCardRoleForBoxStyles, do as resolveEffectPaint, dr as staticHeaderChromeRuntime, ds as blockBookingConsentSchema, ea as isObjectRecord, ec as publicEventPricingDisplay, ei as formCopyFragment, en as eventPlaceName, er as splitPositioningClasses, es as addDays, fn as formatCalendarTitle, fo as generateInteractiveChildInheritanceCSS, fs as bookingConsentCarrierSchema, ft as buildResolveImageUrlContext, g as giftingBlockDefinition, ga as parseThemeButtonVariantId, gn as formatEventDateParts, gr as buildFormInteractiveIslandProps, gt as getCardOrientation, h as newsletterBlockSubmissionMessage, hn as formatEventCompactDateRail, hr as formBlockDefinition, ht as EventQuickFacts, ia as eventReadinessLoaderKey, ic as formatCurrencyAmount, ii as heroCtaRowFragment, in as pageNavigationSchema, io as resolveCardRole, ir as teamMemberCardBiography, is as getWeekCalendarDayTuple, it as MediaPlaceholder, j as passCardListContent, ji as buildGeneratedBlockIconRenderAssetLookupFromUnknown, jn as planDropInPanel, jt as normalizeOfferingsPreviewItemLimit, k as membershipCardListContent, ka as headerRootIsTransparent, ki as el, kn as getPublicEventCanonicalPath, ko as transitionCatalogueEntries, kr as Grid, ks as buildMailingListSignupBlockSourceRef, kt as buildOfferingsPreviewListing, l as parseLocationMapLoaderResult, li as boxStyleClassNames, lo as generateEffectsCSS, ls as publicEventsArraySchema, lt as resolvePublicMediaUrl, m as buildNewsletterFormInteractiveIslandProps, mn as formatEventClockLabel, ms as sanitizeHref, mt as setContextResolveImageUrlContext, na as chosenString, nc as resolveExactOrFreePriceDisplay, ni as testimonialsHeadingFragment, nn as formatEventLocation, nr as parseTeamMemberSpecialties, ns as getDayOfWeek, nt as RichText, o as describeUnresolvedLocationMapLocation, oi as isBlockButtonRole, on as closedRunCopy, oo as generateFooterCss, or as resolveDateRuntimeContext, os as isSameCalendarDay, p as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, pn as formatDate, ps as beforeBookingQuestionsPresentationSchema, pt as getCurrentResolveImageUrlContext, q as eventCollectionSourceSchemaShape, qi as parseInlineTextFromUnknown, qn as FEATURE_CARD_ICON_TREATMENTS, qr as headingFragment, qs as toUtcIsoDateTimeString, r as normalizeBlockContent, ri as ctaCopyFragment, rn as blockSiteTermsSchema, rr as teamMemberBiography, rs as getOrderedDayNames, rt as ImagePresets, s as normalizeLocationMapProps, sa as eventReadinessResultSchema, si as heroCopyFragment, sn as closedDateCopy, so as buildTextContrastShadow, ss as isToday, t as getBlockDefinition, ta as isRecord$4, tc as publicEventPricingType, ti as testimonialsCarouselFragment, tn as eventVenuePlace, ts as formatDateKey, tt as MediaNodeServer, u as resolveLocationMapLocation, uc as TokenResolver, ui as normalizeBoxStylesBorder, un as eventDateOptions, uo as resolveEffectApplications, us as blockBookingPaymentTermsSchema, v as checkoutBlockDefinition, va as AFFORDANCE_SUPPRESS_CLASS, vi as ctaButton, vn as formatEventNextDateFact, vr as createInteractiveIslandCodec, vs as admitReadinessFacts, vt as eventRegistrationBlockDefinition, w as buildCheckoutInteractiveIslandProps, wa as authoredHeaderLinkForeground, wn as resolveEventTimeZone, wr as listLookControl, wt as resolveEventRegistrationScopedEvents, x as productListBlockDefinition, xi as defineFragment, xo as boundaryRuntimeMetricsForDecorativeTransition, xr as defineClientOwnedBlockRuntime, xs as pageTemplateFromEntry, xt as bookingNowSchema, y as cartBlockDefinition, ya as resolveHeaderRootForeground, yr as defineInteractiveIslandMetaKeys, ys as hiddenFromVisitors, yt as buildEventRegistrationInteractiveIslandProps, zi as FileArchiveIcon, zn as isBookableEvent, zr as formatEventDepositNote, zt as ThemedButton } from "./registry-D12XF_h1.mjs";
2
+ import { $ as formatEventDuration, A as OfferingCourseCards, B as EventItem, C as resolvePageRouteTarget, D as EVENT_REGISTRATION_ANCHOR_ID, E as EventHeader, F as createEditorPresentationPageReader, G as eventDisplayTitleText, H as CalendarIcon, I as createPresentationPageReader, J as buildMonthDay, K as formatCourseDatesAfter, L as EmptyState, M as offeringDatesBySeries, N as deriveEventScheduleSummary, O as MonthLookView, P as derivePreviewRunSchedule, Q as formatEventTeacherLine, R as CardListCollection, S as resolveEntryRouteTarget, T as lookPartShown, U as MapPinIcon, V as eventCategoryBadge, W as eventDisplayTitle, X as formatEventQuickDate, Y as resolveMonthSelectedDay, Z as selectQuickDateEvents, _ as publicAppointmentLocationSchema, a as joinSlotKey, ct as buildThemeTokens, d as resolveLinkedEntryInlineFieldEligibility, et as resolveEventCardBooking, g as formatAppointmentPrice, h as formatAppointmentLocation, i as composePageJoins, j as eventCardListContent, k as EventListingFrameView, l as buildLinkedContentEditTarget, lt as defaultThemeTokens, m as formatAppointmentDuration, n as createPageRenderPlanReader, nt as resolveEventLinkProps, o as renderedJoinLayout, p as defaultTransforms, q as formatCourseSessions, rt as parseStoredVariant, s as retargetJoinsAcrossOmissions, tt as resolveEventCta, v as publicAppointmentPricingSchema, w as resolveRouteTarget, z as CardListItems } from "./pageRenderPlan-DJo_obpi.mjs";
3
+ import { $i as PUBLIC_DOWNLOAD_MEDIA_TYPES, $n as composeHeaderSectionWrapperClassName, $r as singleButtonFragment, $s as getBookingLocalDateKey, $t as eventOnlinePlace, A as membershipClassesLabel, Aa as headerRootIsTransparent, Ai as el, An as isOrdinaryPublicEvent, Ar as Grid, At as groupOfferingRunsByCourse, B as eventListingBlockDefinition, Bi as FileArchiveIcon, Bn as isBookableEvent, Br as formatEventDepositNote, Bs as parseMailingListPlacementTargeting, Bt as ThemedButtonLink, C as buildCartInteractiveIslandProps, Ca as selectItemSurfacePresentation, Cn as groupEventsByDate, Cr as defineProgressiveBlockRuntime, Ct as normalizeEventRegistrationPageSurfaceSubject, D as buildShopInteractiveIslandProps, Da as readOpeningToneProjection, Dn as hasCancelledRegistrationDate, Dr as lookListPresentationSchemaShape, Ds as loadedReadinessFact, E as buildProductListInteractiveIslandProps, Ea as effectiveHeaderNavLinkStyle, En as cancelledDateCopy, Er as listLookSlot, Es as hiddenFromVisitors, F as offeringsCatalogueShape, Fi as ArrowDownIcon, Fn as planWholeSeriesRunSelection, Fo as anglePolygonCss, Fs as resolveWholeSeriesBookingPhase, Ft as resolveOfferingsPreviewGroupCta, G as eventCollectionDisplaySchemaShape, Gi as PlusIcon, Gn as getEventAvailabilityStatus, Gt as eventListWeekDays, H as buildEventCollectionDisplay, Hi as FileSpreadsheetIcon, Hn as formatEventRemainingPlaces, Hr as formatEventPriceAmount, Ht as getIconComponent, I as eventCalendarBlockDefinition, Ii as ChevronDownIcon, Io as transitionCatalogueEntries, Is as resolveWholeSeriesPaymentDates, It as resolveOfferingsPreviewGroups, J as catalogueEventCardProps, Ji as parseInlineTextFromUnknown, Jn as FEATURE_CARD_ICON_TREATMENTS, Jr as headingFragment, Js as formatBookingCompactEnglishTime, K as eventCollectionHydrationSchema, Ki as inlineTextToPlainText, Kn as isEventFull, Kt as eventWeekGroupingContext, L as buildEventCalendarInteractiveIslandProps, Li as CircleMinusIcon, Ln as resolveSelectionBookingClosedDetail, Ls as buildMailingListSignupBlockSourceRef, Lt as resolveOfferingsRenderInput, M as offeringsPreviewBlockDefinition, Mi as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Mn as planOrdinarySeriesSelection, Ms as CANCELLED_SESSION_STATUS, Mt as offeringRunLifecycle, N as publicRouteCandidatesSchema, Na as arrangementLookHooks, Ni as parseBlockIconValue, Nn as planWholeSeriesParentBooking, Nt as offeringsListingFor, O as shopProductPresentation, On as eventOccurrenceContext, Oo as boundaryRuntimeMetricsForDecorativeTransition, Or as resolvedItemSurfaceProps, Os as pageTemplateFromEntry, Ot as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, P as buildOfferingsCatalogueListing, Pi as resolveBlockIconRenderValue, Pn as planWholeSeriesParentSelection, Ps as orderedLiveRunSessions, Pt as readOfferingsGrouping, Q as cardListPresentationSchemaShape, Qi as parseFieldDefinitions, Qr as blogFeaturedPostFragment, Qs as formatLocalScheduleDate, Qt as browserReadAuthoritySchema, R as buildEventCalendarListingDisplay, Ri as CirclePlusIcon, Rn as selectionRepresentativeEvent, Rs as parseMailingListRuntimeContext, Rt as ThemedAuthoredButton, S as shopBlockDefinition, Si as defineFragment, Sn as formatTime, Sr as defineClientOwnedBlockRuntime, St as previewStageSchema, T as buildProductDetailInteractiveIslandProps, Ta as authoredHeaderLinkForeground, Tn as bookingPageKindSchema, Tr as listLookControl, Ts as admitReadinessFacts, U as buildEventCollectionHydration, Ua as resolveEffectiveArrangement, Ui as FileTextIcon, Un as formatTotalCapacity, Us as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Ut as SpinnerNode, V as buildEventListingInteractiveIslandProps, Va as arrangementManifestFromVariants, Vi as FileAudioIcon, Vr as formatEventPrice, Vs as sameMailingListPlacementTargeting, Vt as ThemedDownloadLink, W as buildEventCollectionListingDisplay, Wi as MinusIcon, Ws as formatDate$1, Wt as buildEventListWeek, X as CardListContentPart, Xn as shouldReserveFeatureCardIconZone, Xr as faqAccordionFragment, Xs as addLocalScheduleDays, Y as listingEventCardProps, Yn as resolveFeatureCardGeneratedIconSizePx, Yr as cardFragment, Ys as toScheduledBookingDateTime, Yt as resolveRuntimeEventDestination, Zr as faqHeadingFragment, Zt as bookingPresentation, _ as buildGiftingInteractiveIslandProps, _a as parseThemeButtonVariantId, _n as formatEventHourLabel, _o as generateInteractiveChildInheritanceCSS, _r as buildFormInteractiveIslandProps, _s as blockBookingPaymentTermsSchema, _t as getContainerClass, a as LOCATION_MAP_LOADER_KEYS, aa as eventReadinessLoaderKey, ac as toBookingTimeZone, ai as heroCtaRowFragment, an as closedDatesCopy, ar as teamMemberCardBiography, as as getLocalDateKey, b as productDetailBlockDefinition, ba as resolveHeaderRootForeground, bc as TokenResolver, bn as formatEventTimeRange, br as defineInteractiveIslandMetaKeys, bs as beforeBookingQuestionsPresentationSchema, bt as resolveEventRegistrationEventSource, c as normalizeLocationMapSource, ca as eventReadinessResultSchema, cc as isPublicEventPricingOptionDisplayable, ci as heroCopyFragment, cn as buildCalendarViewport, cs as formatDateKey, d as newsletterSignupBlockDefinition, dc as publicEventPricingType, di as normalizeBoxStylesBorder, do as generateFooterCss, ds as getWeekCalendarDayTuple, ec as getLocalScheduleDate, ei as formEmbedFragment, en as eventPlaceName, er as markEditableSurfaceForwarding, fc as resolveExactOrFreePriceDisplay, fi as resolveCardRoleForBoxStyles, fn as formatCalendarTitle, fo as buildTextContrastShadow, fr as staticHeaderChromeRuntime, fs as getWeekCalendarDays, ft as buildResolveImageUrlContext, g as giftingBlockDefinition, gn as formatEventDateParts, go as resolveEffectPaint, gr as formBlockDefinition, gs as publicEventsArraySchema, gt as getCardOrientation, h as newsletterBlockSubmissionMessage, hn as formatEventCompactDateRail, ho as resolveEffectApplications, ht as EventQuickFacts, ic as resolveBookingBusinessTimeZone, ii as ctaCopyFragment, in as pageNavigationSchema, ir as teamMemberBiography, it as MediaPlaceholder, j as passCardListContent, ja as headerRootPaint, ji as when, jn as planDropInPanel, jr as clsx, jt as normalizeOfferingsPreviewItemLimit, k as membershipCardListContent, ka as headerNeedsPhotoShade, ki as runTransforms, kn as getPublicEventCanonicalPath, kr as itemRole, ks as unavailableReadinessFact, kt as buildOfferingsPreviewListing, l as parseLocationMapLoaderResult, lc as publicEventPricingCurrency, lo as resolveCardRole, ls as getDayOfWeek, lt as resolvePublicMediaUrl, m as buildNewsletterFormInteractiveIslandProps, mc as formatCurrencyAmount, mn as formatEventClockLabel, mo as generateEffectsCSS, ms as isToday, mt as setContextResolveImageUrlContext, na as isRecord$4, nc as parseLocalScheduleTime, ni as testimonialsCarouselFragment, nn as formatEventLocation, nt as RichText, o as describeUnresolvedLocationMapLocation, oi as ctaRowFragment, on as closedRunCopy, or as readRuntimeNow, os as getLocalMinuteOfDay, p as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, pn as formatDate, po as generateNavLinkCSS, ps as isSameCalendarDay, pt as getCurrentResolveImageUrlContext, q as eventCollectionSourceSchemaShape, qi as isInlineTextEmpty, qn as groupPublicEventsByRun, qo as bindingSchema, qr as richTextFragment, r as normalizeBlockContent, ra as chosenString, rc as toUtcIsoDateTimeString, ri as testimonialsHeadingFragment, rn as blockSiteTermsSchema, ro as requireCuratedSiteStyle, rr as parseTeamMemberSpecialties, rt as ImagePresets, s as normalizeLocationMapProps, sc as formatBookingPriceDisplay, si as isBlockButtonRole, sn as closedDateCopy, sr as resolveDateRuntimeContext, ss as addDays, t as getBlockDefinition, ta as isObjectRecord, tc as parseBookingLocalDate, ti as formCopyFragment, tn as eventVenuePlace, tr as splitPositioningClasses, tt as MediaNodeServer, u as resolveLocationMapLocation, uc as publicEventPricingDisplay, ui as boxStyleClassNames, un as eventDateOptions, uo as generateDefaultCardSystem, us as getOrderedDayNames, v as checkoutBlockDefinition, va as themeButtonSelector, vi as resolveBackgroundColorValue, vn as formatEventNextDateFact, vr as buildInteractiveIslandProps, vs as blockBookingConsentSchema, vt as eventRegistrationBlockDefinition, w as buildCheckoutInteractiveIslandProps, wn as resolveEventTimeZone, wr as listItemPresentation, wt as resolveEventRegistrationScopedEvents, x as productListBlockDefinition, xi as bodyCopyFragment, xr as createZodCodec, xs as sanitizeHref, xt as bookingNowSchema, y as cartBlockDefinition, ya as AFFORDANCE_SUPPRESS_CLASS, yi as ctaButton, yr as createInteractiveIslandCodec, ys as bookingConsentCarrierSchema, yt as buildEventRegistrationInteractiveIslandProps, zi as ClockIcon, zr as formatCoursePrice, zt as ThemedButton } from "./registry-CvhFwbXJ.mjs";
4
4
  import { B as HOVER_TEXT_THRESHOLD, C as materializeRuntimeButtonAppearance, F as resolveSurfaceForeground, G as resolveConcreteColorHex, H as contrastThresholdByPolicy, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, N as freezeOwnedThemeValue, O as mapButtonVisualAppearances, P as ownedThemeSnapshot, S as buttonTypographyDeclarations, U as inkReference, V as certifyPaint, b as buttonShadow, f as compositeHex, g as actionVariableFallback, n as parseSurfaceTree, o as resolveSurface, s as serializeSurfaceTree, v as buttonBorder, w as paddingDeclarations, x as buttonStateAppearanceDeclarations, y as buttonRadius } from "./accessibleSurfaces-CM3QANtw.mjs";
5
5
  import { b as siteChromeBackgroundOverrideOwner, m as surfaceCardRoleValues, s as boxBackgroundSchema } from "./schema-BpsqaSSU.mjs";
6
6
  import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
7
7
  import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema } from "./mapLocation-BM5WX7FY.mjs";
8
- import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
9
- import { A as MQ_TABLET_ONLY, D as MQ_MD_UP, E as MQ_MD_DOWN, O as MQ_SM_DOWN, T as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, g as validateManifestDraft, k as MQ_SM_UP, m as compileManifestContentContract } from "./pageRuntimeSupport-Dd8LFzfa.mjs";
8
+ import { t as assertNever$3 } from "./assert-never-ku-PUn9U.mjs";
9
+ import { A as MQ_MD_UP, M as MQ_SM_UP, N as MQ_TABLET_ONLY, O as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as compileManifestContentContract, j as MQ_SM_DOWN, k as MQ_MD_DOWN, y as validateManifestDraft } from "./pageRuntimeSupport-BnSuoHON.mjs";
10
10
  import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
11
- import { M as opaqueSurfaceDeclarations, T as testimonialsCompositionTreatmentValues, j as opaqueSurfaceContextFromTheme, v as featureCardCompositionTreatmentValues, x as offeringsPreviewCompositionTreatmentValues, y as introCompositionTreatmentValues } from "./lookMediaFrame-CaH018pK.mjs";
12
- import { c as mergeHeaderNavTypographyPreference, l as readHeaderNavFontSizePreference } from "./bindings-DrbJuftt.mjs";
13
- import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as prefixSelector, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as escapeStyleContent, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, n as compileBlockCustomCssRules, o as toKebabCase, p as generateProgressCss, r as compileCustomCssRules, s as parseBlockCustomCssRules, t as ThemeScopeCore, u as generateBlockCustomVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-DFEM1a85.mjs";
11
+ import { M as opaqueSurfaceDeclarations, T as testimonialsCompositionTreatmentValues, j as opaqueSurfaceContextFromTheme, v as featureCardCompositionTreatmentValues, x as offeringsPreviewCompositionTreatmentValues, y as introCompositionTreatmentValues } from "./lookMediaFrame-m-91jGGn.mjs";
12
+ import { l as mergeHeaderNavTypographyPreference, u as readHeaderNavFontSizePreference } from "./bindings-CS6ih1Yc.mjs";
13
+ import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as prefixSelector, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as escapeStyleContent, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, n as compileBlockCustomCssRules, o as toKebabCase, p as generateProgressCss, r as compileCustomCssRules, s as parseBlockCustomCssRules, t as ThemeScopeCore, u as generateBlockCustomVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BQzjDQ2q.mjs";
14
14
  import { t as parseThemeForPersistence } from "./parseThemeForPersistence-DOsfofCy.mjs";
15
15
  import { n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
16
16
  import { t as getAtPath } from "./src-DHK4JUlp.mjs";
@@ -19,6 +19,58 @@ import React, { forwardRef } from "react";
19
19
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
20
20
  import { z } from "zod";
21
21
  import { IslandDelivery } from "#island-delivery";
22
+ //#region ../core/src/booking-instalments.ts
23
+ function isDepositBearingBookingInstalmentPlan(plan) {
24
+ switch (plan.kind) {
25
+ case "deposit_plus_one_remainder":
26
+ case "deposit_plus_scheduled_instalments": return true;
27
+ case "equal_scheduled_instalments": return false;
28
+ default: return assertNever$2(plan);
29
+ }
30
+ }
31
+ function getBookingInstalmentProtectedDepositAmountCents(plan) {
32
+ return isDepositBearingBookingInstalmentPlan(plan) ? plan.depositAmountCents : null;
33
+ }
34
+ function clampConfiguredAmount(amountCents, totalAmountCents) {
35
+ return Math.max(0, Math.min(amountCents, totalAmountCents));
36
+ }
37
+ function splitAmountWithRemainderInFirst(totalAmountCents, partCount) {
38
+ if (partCount <= 0) return [];
39
+ const baseAmountCents = Math.floor(totalAmountCents / partCount);
40
+ const remainderCents = totalAmountCents - baseAmountCents * partCount;
41
+ return Array.from({ length: partCount }, (_, index) => index === 0 ? baseAmountCents + remainderCents : baseAmountCents);
42
+ }
43
+ function addIntervalPreservingMonthAnchor(isoString, intervalCount, intervalUnit) {
44
+ const date = new Date(isoString);
45
+ if (!Number.isFinite(date.getTime())) return isoString;
46
+ switch (intervalUnit) {
47
+ case "day":
48
+ date.setUTCDate(date.getUTCDate() + intervalCount);
49
+ return date.toISOString();
50
+ case "week":
51
+ date.setUTCDate(date.getUTCDate() + intervalCount * 7);
52
+ return date.toISOString();
53
+ case "month": return addMonthsPreservingAnchorDay(date, intervalCount).toISOString();
54
+ default: return assertNever$2(intervalUnit);
55
+ }
56
+ }
57
+ function omitZeroAmountFutureRows(rows) {
58
+ if (rows.length <= 1) return rows;
59
+ const firstRow = rows[0];
60
+ if (firstRow === void 0) return [];
61
+ return [firstRow, ...rows.slice(1).filter((row) => row.amountCents > 0)];
62
+ }
63
+ function addMonthsPreservingAnchorDay(date, intervalCount) {
64
+ const anchorDay = date.getUTCDate();
65
+ const nextMonth = new Date(Date.UTC(date.getUTCFullYear(), date.getUTCMonth() + intervalCount, 1, date.getUTCHours(), date.getUTCMinutes(), date.getUTCSeconds(), date.getUTCMilliseconds()));
66
+ const lastDayOfTargetMonth = new Date(Date.UTC(nextMonth.getUTCFullYear(), nextMonth.getUTCMonth() + 1, 0)).getUTCDate();
67
+ nextMonth.setUTCDate(Math.min(anchorDay, lastDayOfTargetMonth));
68
+ return nextMonth;
69
+ }
70
+ function assertNever$2(value) {
71
+ throw new Error(`Unexpected value: ${String(value)}`);
72
+ }
73
+ //#endregion
22
74
  //#region ../core/src/appointment-service-categories.ts
23
75
  /**
24
76
  * Groups services under their categories.
@@ -160,6 +212,138 @@ function formatOpeningHoursRows(hours, options = {}) {
160
212
  }, []);
161
213
  }
162
214
  //#endregion
215
+ //#region ../commerce/src/utils/assertNever.ts
216
+ function assertNever$1(value, message) {
217
+ if (message) throw new Error(message);
218
+ throw new Error(`Unexpected value: ${String(value)}`);
219
+ }
220
+ //#endregion
221
+ //#region ../commerce/src/purchase/bookingInstalmentSchedule.ts
222
+ function resolveBookingInitialInstalmentAmountCents(input) {
223
+ const totalAmountCents = Math.max(0, input.totalAmountCents);
224
+ switch (input.plan.kind) {
225
+ case "deposit_plus_one_remainder":
226
+ case "deposit_plus_scheduled_instalments": return clampConfiguredAmount(input.plan.depositAmountCents, totalAmountCents);
227
+ case "equal_scheduled_instalments": return splitAmountWithRemainderInFirst(totalAmountCents, input.plan.instalmentCount)[0] ?? 0;
228
+ default: return assertNever$1(input.plan);
229
+ }
230
+ }
231
+ function buildBookingInstalmentSchedule(input) {
232
+ const totalAmountCents = Math.max(0, input.totalAmountCents);
233
+ switch (input.plan.kind) {
234
+ case "deposit_plus_one_remainder": {
235
+ const depositAmountCents = resolveBookingInitialInstalmentAmountCents(input);
236
+ const remainderAmountCents = Math.max(0, totalAmountCents - depositAmountCents);
237
+ return omitZeroAmountFutureRows([createScheduleRow({
238
+ sequence: 1,
239
+ stateAtBooking: "paid_today",
240
+ dueAt: input.anchorAt,
241
+ amountCents: depositAmountCents
242
+ }), createScheduleRow({
243
+ sequence: 2,
244
+ stateAtBooking: "scheduled",
245
+ dueAt: addIntervalPreservingMonthAnchor(input.anchorAt, input.plan.remainderDueCount, input.plan.intervalUnit),
246
+ amountCents: remainderAmountCents
247
+ })]);
248
+ }
249
+ case "deposit_plus_scheduled_instalments": {
250
+ const plan = input.plan;
251
+ const depositAmountCents = resolveBookingInitialInstalmentAmountCents(input);
252
+ const instalmentAmounts = splitAmountWithRemainderInFirst(Math.max(0, totalAmountCents - depositAmountCents), plan.instalmentCount);
253
+ return omitZeroAmountFutureRows([createScheduleRow({
254
+ sequence: 1,
255
+ stateAtBooking: "paid_today",
256
+ dueAt: input.anchorAt,
257
+ amountCents: depositAmountCents
258
+ }), ...instalmentAmounts.map((amountCents, index) => createScheduleRow({
259
+ sequence: index + 2,
260
+ stateAtBooking: "scheduled",
261
+ dueAt: addIntervalPreservingMonthAnchor(input.anchorAt, plan.intervalCount * (index + 1), plan.intervalUnit),
262
+ amountCents
263
+ }))]);
264
+ }
265
+ case "equal_scheduled_instalments": {
266
+ const plan = input.plan;
267
+ return omitZeroAmountFutureRows(splitAmountWithRemainderInFirst(totalAmountCents, plan.instalmentCount).map((amountCents, index) => createScheduleRow({
268
+ sequence: index + 1,
269
+ stateAtBooking: index === 0 ? "paid_today" : "scheduled",
270
+ dueAt: index === 0 ? input.anchorAt : addIntervalPreservingMonthAnchor(input.anchorAt, plan.intervalCount * index, plan.intervalUnit),
271
+ amountCents
272
+ })));
273
+ }
274
+ default: return assertNever$1(input.plan);
275
+ }
276
+ }
277
+ function createScheduleRow(input) {
278
+ return {
279
+ id: `payment-${input.sequence}`,
280
+ sequence: input.sequence,
281
+ stateAtBooking: input.stateAtBooking,
282
+ dueAt: input.dueAt,
283
+ amountCents: input.amountCents
284
+ };
285
+ }
286
+ /** Resolve real rows first: zero future payments do not extend the deadline. */
287
+ function canInstalmentPlanCompleteBefore(input) {
288
+ const deadline = Date.parse(input.deadline);
289
+ if (!Number.isFinite(Date.parse(input.now)) || !Number.isFinite(deadline)) return false;
290
+ return input.schedule.every((row) => Date.parse(row.dueAt) < deadline);
291
+ }
292
+ //#endregion
293
+ //#region ../commerce/src/purchase/bookingPaymentSelection.ts
294
+ function bookingCollectionWindow(option) {
295
+ const now = Date.parse(option.anchorAt);
296
+ const start = Date.parse(option.bookingStartAt ?? "");
297
+ return Number.isFinite(now) && Number.isFinite(start) && start > now ? {
298
+ now,
299
+ start
300
+ } : null;
301
+ }
302
+ /** Instalment due dates don't depend on the amount; this total keeps every row (zero rows are dropped). */
303
+ const SCHEDULE_DATES_TOTAL_CENTS = 1e9;
304
+ /**
305
+ * The date half of `canOfferBookingCollectionOption`, for a configured option
306
+ * before any total is known: whether its dates still allow it to be offered.
307
+ * Amount rules (Stripe minimums, a deposit below the total) are left out, so a
308
+ * `true` here is an offer the total may still refuse. Upfront and pay-directly
309
+ * options have no dates to miss.
310
+ */
311
+ function bookingCollectionDatesOpen(option, dates) {
312
+ if (option.kind === "upfront" || option.kind === "deferred_manual") return true;
313
+ const window = bookingCollectionWindow({
314
+ anchorAt: dates.nowIso,
315
+ bookingStartAt: dates.bookingStartAt
316
+ });
317
+ if (!window || dates.bookingStartAt === null) return false;
318
+ switch (option.kind) {
319
+ case "flexible_balance": {
320
+ const due = flexibleBalanceDueDay(option.config, dates.bookingStartAt, dates.timeZone);
321
+ const localDay = (at) => formatLocalScheduleDate(getLocalScheduleDate(new Date(at), dates.timeZone));
322
+ return due >= localDay(window.now) && due < localDay(window.start);
323
+ }
324
+ case "instalment_plan": {
325
+ const deadline = dates.instalmentCollectionDeadlineAt === void 0 ? dates.bookingStartAt : dates.instalmentCollectionDeadlineAt;
326
+ if (deadline === null) return false;
327
+ const schedule = buildBookingInstalmentSchedule({
328
+ anchorAt: dates.nowIso,
329
+ totalAmountCents: SCHEDULE_DATES_TOTAL_CENTS,
330
+ plan: option.plan
331
+ });
332
+ return canInstalmentPlanCompleteBefore({
333
+ now: dates.nowIso,
334
+ deadline,
335
+ schedule
336
+ }) && schedule.every((row) => row.stateAtBooking !== "scheduled" || Date.parse(row.dueAt) > window.now);
337
+ }
338
+ default: return assertNever$1(option);
339
+ }
340
+ }
341
+ /** Mirrors private.flexible_balance_due_day: fixed civil date, or local start minus calendar days. */
342
+ function flexibleBalanceDueDay(config, bookingStartAt, timeZone) {
343
+ const rule = config.dueDateRule;
344
+ return formatLocalScheduleDate(rule.kind === "fixed_calendar_date" ? parseBookingLocalDate(rule.dueAt.slice(0, 10)) : addLocalScheduleDays(getLocalScheduleDate(new Date(bookingStartAt), timeZone), -rule.daysBeforeStart));
345
+ }
346
+ //#endregion
163
347
  //#region ../calendar/src/lane-packing.ts
164
348
  /**
165
349
  * Assign lanes to a list of intervals.
@@ -4499,6 +4683,70 @@ function selectEventDetailsCandidate(events, requested, nowIso) {
4499
4683
  } : null;
4500
4684
  }
4501
4685
  //#endregion
4686
+ //#region ../blocks/src/system/runtime/nodes/events/domain/depositOffer.ts
4687
+ const NO_DEPOSIT = { kind: "none" };
4688
+ /**
4689
+ * The event page's deposit note for an event, decided on dates and the prices
4690
+ * shown. A course's dates come from its live sessions, as the server reads
4691
+ * them for the booking panel; a single date starts when it starts.
4692
+ */
4693
+ function resolvePublicEventDepositOffer(event, input) {
4694
+ const prices = paidPriceSpan(event.pricing);
4695
+ const terms = event.paymentTerms;
4696
+ const payInFullOffered = terms.allowedOptions.some((option) => option.kind === "upfront");
4697
+ const applies = (option) => prices !== null && (depositCents(option) ?? Infinity) < (payInFullOffered ? prices.highestCents : prices.lowestCents);
4698
+ const deposits = depositOptions(terms).filter(applies);
4699
+ if (!prices || deposits.length === 0) return NO_DEPOSIT;
4700
+ const dates = {
4701
+ ...input.sessions ? resolveWholeSeriesPaymentDates({
4702
+ sessions: input.sessions,
4703
+ paymentTerms: terms
4704
+ }) : { bookingStartAt: event.startsAt },
4705
+ timeZone: event.siteTimeZone,
4706
+ nowIso: input.nowIso
4707
+ };
4708
+ const open = deposits.find((option) => bookingCollectionDatesOpen(option, dates));
4709
+ if (!open) return terms.allowedOptions.some((option) => option.kind === "deferred_manual") ? NO_DEPOSIT : { kind: "paid_in_full" };
4710
+ return {
4711
+ kind: "deposit",
4712
+ amountCents: depositCents(open) ?? 0,
4713
+ currency: prices.currency,
4714
+ payInFullOffered,
4715
+ balanceDueDay: open.kind === "flexible_balance" && dates.bookingStartAt ? flexibleBalanceDueDay(open.config, dates.bookingStartAt, dates.timeZone) : null
4716
+ };
4717
+ }
4718
+ function depositOptions(paymentTerms) {
4719
+ return paymentTerms.allowedOptions.filter((option) => depositCents(option) !== null);
4720
+ }
4721
+ /** A deposit is an amount taken up front that's less than the whole; equal instalments have none. */
4722
+ function depositCents(option) {
4723
+ switch (option.kind) {
4724
+ case "flexible_balance": return positive(option.config.upfrontAmountCents);
4725
+ case "instalment_plan": return positive(getBookingInstalmentProtectedDepositAmountCents(option.plan));
4726
+ case "upfront":
4727
+ case "deferred_manual": return null;
4728
+ }
4729
+ }
4730
+ const positive = (amount) => amount !== null && amount > 0 ? amount : null;
4731
+ /** The cheapest and dearest paid place shown; null when nothing shown is paid. */
4732
+ function paidPriceSpan(pricing) {
4733
+ const display = publicEventPricingDisplay(pricing);
4734
+ const span = (lowestCents, highestCents) => highestCents > 0 ? {
4735
+ lowestCents: Math.max(lowestCents, 0),
4736
+ highestCents,
4737
+ currency: "currency" in display ? display.currency : ""
4738
+ } : null;
4739
+ switch (display.kind) {
4740
+ case "exact": return span(display.amount, display.amount);
4741
+ case "from": return span(display.amount, Infinity);
4742
+ case "range": return span(display.minAmount, display.maxAmount);
4743
+ case "mixed": return span(display.paidFromAmount, display.paidToAmount);
4744
+ case "free":
4745
+ case "unavailable":
4746
+ case "external": return null;
4747
+ }
4748
+ }
4749
+ //#endregion
4502
4750
  //#region ../blocks/src/system/runtime/shared/utils/bookingRoute.ts
4503
4751
  const BOOK_TARGET_PARAMS = {
4504
4752
  service: "service",
@@ -4730,201 +4978,6 @@ function StepIndicator$1({ currentStep, totalSteps, stepLabels, classPrefix, emi
4730
4978
  });
4731
4979
  }
4732
4980
  //#endregion
4733
- //#region ../blocks/src/system/runtime/nodes/svg.tsx
4734
- /**
4735
- * Strict SVG-`transform` validator.
4736
- *
4737
- * Accepts only a whitespace/comma-separated list of the geometric transform
4738
- * functions (`translate`/`rotate`/`scale`/`skewX`/`skewY`/`matrix`) whose
4739
- * arguments are plain numbers. This deliberately rejects anything else —
4740
- * `url(...)`, CSS functions, `javascript:`, angle/length units, stray letters —
4741
- * so a persisted custom-block tree can't smuggle an executable or exfiltrating
4742
- * value into the attribute.
4743
- */
4744
- const TRANSFORM_NUMBER = String.raw`-?(?:\d+\.?\d*|\.\d+)(?:e-?\d+)?`;
4745
- const TRANSFORM_ARGS = String.raw`${TRANSFORM_NUMBER}(?:[\s,]+${TRANSFORM_NUMBER})*`;
4746
- const TRANSFORM_FN = String.raw`(?:translate|rotate|scale|skewX|skewY|matrix)\(\s*${TRANSFORM_ARGS}\s*\)`;
4747
- const SAFE_TRANSFORM_RE = new RegExp(String.raw`^\s*${TRANSFORM_FN}(?:[\s,]*${TRANSFORM_FN})*\s*$`);
4748
- function safeTransform(value) {
4749
- if (typeof value !== "string") return void 0;
4750
- const trimmed = value.trim();
4751
- if (trimmed.length === 0) return void 0;
4752
- return SAFE_TRANSFORM_RE.test(trimmed) ? trimmed : void 0;
4753
- }
4754
- /**
4755
- * Turn paint props into a CSS style object. Colour values pass through as-is so
4756
- * they may reference theme tokens via `var()`, which only resolves in a CSS
4757
- * property context (not in a bare presentation attribute).
4758
- */
4759
- function paintStyle(shape) {
4760
- const style = {};
4761
- if (shape.fill !== void 0) style.fill = shape.fill;
4762
- if (shape.stroke !== void 0) style.stroke = shape.stroke;
4763
- if (shape.strokeWidth !== void 0) style.strokeWidth = shape.strokeWidth;
4764
- if (shape.fillOpacity !== void 0) style.fillOpacity = shape.fillOpacity;
4765
- if (shape.strokeOpacity !== void 0) style.strokeOpacity = shape.strokeOpacity;
4766
- if (shape.strokeLinecap !== void 0) style.strokeLinecap = shape.strokeLinecap;
4767
- if (shape.strokeLinejoin !== void 0) style.strokeLinejoin = shape.strokeLinejoin;
4768
- if (shape.strokeDasharray !== void 0) style.strokeDasharray = shape.strokeDasharray;
4769
- return style;
4770
- }
4771
- function renderShape(shape, key) {
4772
- const style = paintStyle(shape);
4773
- const transform = safeTransform(shape.transform);
4774
- switch (shape.kind) {
4775
- case "text": return /* @__PURE__ */ jsx("text", {
4776
- className: shape.className,
4777
- x: shape.x,
4778
- y: shape.y,
4779
- transform,
4780
- children: shape.text
4781
- }, key);
4782
- case "path": return /* @__PURE__ */ jsx("path", {
4783
- d: shape.d,
4784
- className: shape.className,
4785
- fillRule: shape.fillRule,
4786
- style,
4787
- transform
4788
- }, key);
4789
- case "ellipse": return /* @__PURE__ */ jsx("ellipse", {
4790
- cx: shape.cx,
4791
- cy: shape.cy,
4792
- rx: shape.rx,
4793
- ry: shape.ry,
4794
- style,
4795
- transform
4796
- }, key);
4797
- case "circle": return /* @__PURE__ */ jsx("circle", {
4798
- cx: shape.cx,
4799
- cy: shape.cy,
4800
- r: shape.r,
4801
- style,
4802
- transform
4803
- }, key);
4804
- case "rect": return /* @__PURE__ */ jsx("rect", {
4805
- x: shape.x,
4806
- y: shape.y,
4807
- className: shape.className,
4808
- width: shape.width,
4809
- height: shape.height,
4810
- rx: shape.rx,
4811
- ry: shape.ry,
4812
- style,
4813
- transform
4814
- }, key);
4815
- case "line": return /* @__PURE__ */ jsx("line", {
4816
- x1: shape.x1,
4817
- y1: shape.y1,
4818
- x2: shape.x2,
4819
- y2: shape.y2,
4820
- style,
4821
- transform
4822
- }, key);
4823
- default: return null;
4824
- }
4825
- }
4826
- const SvgNode = ({ blockId: _blockId, blockKind: _blockKind, blockContent: _blockContent, fragmentRegistry: _fragmentRegistry, pathBase: _pathBase, viewBox, width, height, className, style, ariaHidden = true, ariaLabel, shapes }) => {
4827
- return /* @__PURE__ */ jsx("svg", {
4828
- viewBox,
4829
- width,
4830
- height,
4831
- className,
4832
- style,
4833
- "aria-hidden": ariaHidden || void 0,
4834
- role: ariaLabel ? "img" : void 0,
4835
- "aria-label": ariaLabel,
4836
- xmlns: "http://www.w3.org/2000/svg",
4837
- fill: "none",
4838
- children: (Array.isArray(shapes) ? shapes : []).map((shape, index) => renderShape(shape, index))
4839
- });
4840
- };
4841
- //#endregion
4842
- //#region ../blocks/src/system/runtime/nodes/shared/MapDrawingSvg.tsx
4843
- const PIN_PATH = "M0 0C-3.5-9-13-15-13-25A13 13 0 1 1 13-25C13-15 3.5-9 0 0ZM0-20.5A4.5 4.5 0 1 0 0-29.5A4.5 4.5 0 1 0 0-20.5Z";
4844
- const commands = (points) => points.map(([x, y], index) => `${index ? "L" : "M"}${x} ${y}`).join(" ");
4845
- function pathShape(path) {
4846
- return path.kind === "polygon" ? {
4847
- kind: "path",
4848
- className: path.className,
4849
- fillRule: path.fillRule,
4850
- d: path.rings.map((ring) => `${commands(ring)} Z`).join(" ")
4851
- } : {
4852
- kind: "path",
4853
- className: path.className,
4854
- d: commands(path.points)
4855
- };
4856
- }
4857
- function labelShapes(label) {
4858
- const [x, y] = label.point, transform = `rotate(${label.angle} ${x} ${y})`;
4859
- return [label.haloClassName, label.className].map((className) => ({
4860
- kind: "text",
4861
- className,
4862
- x,
4863
- y,
4864
- transform,
4865
- text: label.text
4866
- }));
4867
- }
4868
- /** The drawing the renderer below would show, or null when there's nothing it can draw. */
4869
- function readableMapDrawing(drawing) {
4870
- const parsed = mapDrawingSchema.safeParse(drawing);
4871
- return parsed.success ? parsed.data : null;
4872
- }
4873
- /** Untrusted standalone callers retain boundary admission. */
4874
- function MapDrawingSvg(props) {
4875
- const drawing = readableMapDrawing(props.drawing);
4876
- return drawing ? /* @__PURE__ */ jsx(AdmittedMapDrawingSvg, {
4877
- ...props,
4878
- drawing
4879
- }) : null;
4880
- }
4881
- /** Render an already admitted value without allocating another validation copy. */
4882
- function AdmittedMapDrawingSvg(props) {
4883
- const drawing = props.drawing;
4884
- const name = props.wider ? "wider" : "neighbourhood", frame = drawing.frames[name];
4885
- const shapes = [
4886
- {
4887
- kind: "rect",
4888
- className: frame.backgroundClass,
4889
- x: 0,
4890
- y: 0,
4891
- width: 800,
4892
- height: 800
4893
- },
4894
- ...frame.paths.map(pathShape),
4895
- ...frame.labels.flatMap(labelShapes),
4896
- {
4897
- kind: "path",
4898
- className: frame.pin.className,
4899
- fillRule: "evenodd",
4900
- d: PIN_PATH,
4901
- transform: `translate(${frame.pin.point.join(" ")})`
4902
- }
4903
- ];
4904
- return /* @__PURE__ */ jsxs("figure", {
4905
- className: `rb-map-drawing ${props.className ?? ""}`.trim(),
4906
- children: [/* @__PURE__ */ jsx("div", {
4907
- className: "rb-map-drawing-crop",
4908
- style: cropHeightStyle(Math.max(255, props.height ?? 320), props.heightAs ?? "fixed"),
4909
- children: /* @__PURE__ */ jsx(SvgNode, {
4910
- className: `map-${name}`,
4911
- viewBox: frame.viewBox.join(" "),
4912
- shapes,
4913
- ariaHidden: false,
4914
- ariaLabel: props.label ? `Map showing ${props.label}` : "Map showing the arrival pin"
4915
- })
4916
- }), /* @__PURE__ */ jsxs("figcaption", { children: ["© ", /* @__PURE__ */ jsx("a", {
4917
- href: "https://www.openstreetmap.org/copyright",
4918
- target: "_blank",
4919
- rel: "noreferrer",
4920
- children: "OpenStreetMap contributors"
4921
- })] })]
4922
- });
4923
- }
4924
- function cropHeightStyle(height, heightAs) {
4925
- return heightAs === "minimum" ? { minHeight: height } : { height };
4926
- }
4927
- //#endregion
4928
4981
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
4929
4982
  /**
4930
4983
  * EventCard Component
@@ -4980,7 +5033,7 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
4980
5033
  formattedTime,
4981
5034
  hasImage,
4982
5035
  headingLevel: cardHeadingLevel,
4983
- mapSlot: resolveVenueMapSlot(event.venue, mapSlot),
5036
+ mapSlot,
4984
5037
  priceText,
4985
5038
  showMap,
4986
5039
  showSummary,
@@ -4992,13 +5045,6 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
4992
5045
  })]
4993
5046
  });
4994
5047
  };
4995
- function resolveVenueMapSlot(venue, override) {
4996
- return override ?? (venue?.drawing ? /* @__PURE__ */ jsx(MapDrawingSvg, {
4997
- drawing: venue.drawing,
4998
- label: venue.name,
4999
- height: 255
5000
- }) : null);
5001
- }
5002
5048
  function EventCardMedia(props) {
5003
5049
  if (props.lookPresentation.lookSlots !== void 0) return /* @__PURE__ */ jsx(EventLookDate, {
5004
5050
  event: props.event,
@@ -6015,6 +6061,201 @@ function LocationMapActions(props) {
6015
6061
  }) }) : null;
6016
6062
  }
6017
6063
  //#endregion
6064
+ //#region ../blocks/src/system/runtime/nodes/svg.tsx
6065
+ /**
6066
+ * Strict SVG-`transform` validator.
6067
+ *
6068
+ * Accepts only a whitespace/comma-separated list of the geometric transform
6069
+ * functions (`translate`/`rotate`/`scale`/`skewX`/`skewY`/`matrix`) whose
6070
+ * arguments are plain numbers. This deliberately rejects anything else —
6071
+ * `url(...)`, CSS functions, `javascript:`, angle/length units, stray letters —
6072
+ * so a persisted custom-block tree can't smuggle an executable or exfiltrating
6073
+ * value into the attribute.
6074
+ */
6075
+ const TRANSFORM_NUMBER = String.raw`-?(?:\d+\.?\d*|\.\d+)(?:e-?\d+)?`;
6076
+ const TRANSFORM_ARGS = String.raw`${TRANSFORM_NUMBER}(?:[\s,]+${TRANSFORM_NUMBER})*`;
6077
+ const TRANSFORM_FN = String.raw`(?:translate|rotate|scale|skewX|skewY|matrix)\(\s*${TRANSFORM_ARGS}\s*\)`;
6078
+ const SAFE_TRANSFORM_RE = new RegExp(String.raw`^\s*${TRANSFORM_FN}(?:[\s,]*${TRANSFORM_FN})*\s*$`);
6079
+ function safeTransform(value) {
6080
+ if (typeof value !== "string") return void 0;
6081
+ const trimmed = value.trim();
6082
+ if (trimmed.length === 0) return void 0;
6083
+ return SAFE_TRANSFORM_RE.test(trimmed) ? trimmed : void 0;
6084
+ }
6085
+ /**
6086
+ * Turn paint props into a CSS style object. Colour values pass through as-is so
6087
+ * they may reference theme tokens via `var()`, which only resolves in a CSS
6088
+ * property context (not in a bare presentation attribute).
6089
+ */
6090
+ function paintStyle(shape) {
6091
+ const style = {};
6092
+ if (shape.fill !== void 0) style.fill = shape.fill;
6093
+ if (shape.stroke !== void 0) style.stroke = shape.stroke;
6094
+ if (shape.strokeWidth !== void 0) style.strokeWidth = shape.strokeWidth;
6095
+ if (shape.fillOpacity !== void 0) style.fillOpacity = shape.fillOpacity;
6096
+ if (shape.strokeOpacity !== void 0) style.strokeOpacity = shape.strokeOpacity;
6097
+ if (shape.strokeLinecap !== void 0) style.strokeLinecap = shape.strokeLinecap;
6098
+ if (shape.strokeLinejoin !== void 0) style.strokeLinejoin = shape.strokeLinejoin;
6099
+ if (shape.strokeDasharray !== void 0) style.strokeDasharray = shape.strokeDasharray;
6100
+ return style;
6101
+ }
6102
+ function renderShape(shape, key) {
6103
+ const style = paintStyle(shape);
6104
+ const transform = safeTransform(shape.transform);
6105
+ switch (shape.kind) {
6106
+ case "text": return /* @__PURE__ */ jsx("text", {
6107
+ className: shape.className,
6108
+ x: shape.x,
6109
+ y: shape.y,
6110
+ transform,
6111
+ children: shape.text
6112
+ }, key);
6113
+ case "path": return /* @__PURE__ */ jsx("path", {
6114
+ d: shape.d,
6115
+ className: shape.className,
6116
+ fillRule: shape.fillRule,
6117
+ style,
6118
+ transform
6119
+ }, key);
6120
+ case "ellipse": return /* @__PURE__ */ jsx("ellipse", {
6121
+ cx: shape.cx,
6122
+ cy: shape.cy,
6123
+ rx: shape.rx,
6124
+ ry: shape.ry,
6125
+ style,
6126
+ transform
6127
+ }, key);
6128
+ case "circle": return /* @__PURE__ */ jsx("circle", {
6129
+ cx: shape.cx,
6130
+ cy: shape.cy,
6131
+ r: shape.r,
6132
+ style,
6133
+ transform
6134
+ }, key);
6135
+ case "rect": return /* @__PURE__ */ jsx("rect", {
6136
+ x: shape.x,
6137
+ y: shape.y,
6138
+ className: shape.className,
6139
+ width: shape.width,
6140
+ height: shape.height,
6141
+ rx: shape.rx,
6142
+ ry: shape.ry,
6143
+ style,
6144
+ transform
6145
+ }, key);
6146
+ case "line": return /* @__PURE__ */ jsx("line", {
6147
+ x1: shape.x1,
6148
+ y1: shape.y1,
6149
+ x2: shape.x2,
6150
+ y2: shape.y2,
6151
+ style,
6152
+ transform
6153
+ }, key);
6154
+ default: return null;
6155
+ }
6156
+ }
6157
+ const SvgNode = ({ blockId: _blockId, blockKind: _blockKind, blockContent: _blockContent, fragmentRegistry: _fragmentRegistry, pathBase: _pathBase, viewBox, width, height, className, style, ariaHidden = true, ariaLabel, shapes }) => {
6158
+ return /* @__PURE__ */ jsx("svg", {
6159
+ viewBox,
6160
+ width,
6161
+ height,
6162
+ className,
6163
+ style,
6164
+ "aria-hidden": ariaHidden || void 0,
6165
+ role: ariaLabel ? "img" : void 0,
6166
+ "aria-label": ariaLabel,
6167
+ xmlns: "http://www.w3.org/2000/svg",
6168
+ fill: "none",
6169
+ children: (Array.isArray(shapes) ? shapes : []).map((shape, index) => renderShape(shape, index))
6170
+ });
6171
+ };
6172
+ //#endregion
6173
+ //#region ../blocks/src/system/runtime/nodes/shared/MapDrawingSvg.tsx
6174
+ const PIN_PATH = "M0 0C-3.5-9-13-15-13-25A13 13 0 1 1 13-25C13-15 3.5-9 0 0ZM0-20.5A4.5 4.5 0 1 0 0-29.5A4.5 4.5 0 1 0 0-20.5Z";
6175
+ const commands = (points) => points.map(([x, y], index) => `${index ? "L" : "M"}${x} ${y}`).join(" ");
6176
+ function pathShape(path) {
6177
+ return path.kind === "polygon" ? {
6178
+ kind: "path",
6179
+ className: path.className,
6180
+ fillRule: path.fillRule,
6181
+ d: path.rings.map((ring) => `${commands(ring)} Z`).join(" ")
6182
+ } : {
6183
+ kind: "path",
6184
+ className: path.className,
6185
+ d: commands(path.points)
6186
+ };
6187
+ }
6188
+ function labelShapes(label) {
6189
+ const [x, y] = label.point, transform = `rotate(${label.angle} ${x} ${y})`;
6190
+ return [label.haloClassName, label.className].map((className) => ({
6191
+ kind: "text",
6192
+ className,
6193
+ x,
6194
+ y,
6195
+ transform,
6196
+ text: label.text
6197
+ }));
6198
+ }
6199
+ /** The drawing the renderer below would show, or null when there's nothing it can draw. */
6200
+ function readableMapDrawing(drawing) {
6201
+ const parsed = mapDrawingSchema.safeParse(drawing);
6202
+ return parsed.success ? parsed.data : null;
6203
+ }
6204
+ /** Untrusted standalone callers retain boundary admission. */
6205
+ function MapDrawingSvg(props) {
6206
+ const drawing = readableMapDrawing(props.drawing);
6207
+ return drawing ? /* @__PURE__ */ jsx(AdmittedMapDrawingSvg, {
6208
+ ...props,
6209
+ drawing
6210
+ }) : null;
6211
+ }
6212
+ /** Render an already admitted value without allocating another validation copy. */
6213
+ function AdmittedMapDrawingSvg(props) {
6214
+ const drawing = props.drawing;
6215
+ const name = props.wider ? "wider" : "neighbourhood", frame = drawing.frames[name];
6216
+ const shapes = [
6217
+ {
6218
+ kind: "rect",
6219
+ className: frame.backgroundClass,
6220
+ x: 0,
6221
+ y: 0,
6222
+ width: 800,
6223
+ height: 800
6224
+ },
6225
+ ...frame.paths.map(pathShape),
6226
+ ...frame.labels.flatMap(labelShapes),
6227
+ {
6228
+ kind: "path",
6229
+ className: frame.pin.className,
6230
+ fillRule: "evenodd",
6231
+ d: PIN_PATH,
6232
+ transform: `translate(${frame.pin.point.join(" ")})`
6233
+ }
6234
+ ];
6235
+ return /* @__PURE__ */ jsxs("figure", {
6236
+ className: `rb-map-drawing ${props.className ?? ""}`.trim(),
6237
+ children: [/* @__PURE__ */ jsx("div", {
6238
+ className: "rb-map-drawing-crop",
6239
+ style: cropHeightStyle(Math.max(255, props.height ?? 320), props.heightAs ?? "fixed"),
6240
+ children: /* @__PURE__ */ jsx(SvgNode, {
6241
+ className: `map-${name}`,
6242
+ viewBox: frame.viewBox.join(" "),
6243
+ shapes,
6244
+ ariaHidden: false,
6245
+ ariaLabel: props.label ? `Map showing ${props.label}` : "Map showing the arrival pin"
6246
+ })
6247
+ }), /* @__PURE__ */ jsxs("figcaption", { children: ["© ", /* @__PURE__ */ jsx("a", {
6248
+ href: "https://www.openstreetmap.org/copyright",
6249
+ target: "_blank",
6250
+ rel: "noreferrer",
6251
+ children: "OpenStreetMap contributors"
6252
+ })] })]
6253
+ });
6254
+ }
6255
+ function cropHeightStyle(height, heightAs) {
6256
+ return heightAs === "minimum" ? { minHeight: height } : { height };
6257
+ }
6258
+ //#endregion
6018
6259
  //#region ../blocks/src/system/runtime/nodes/location-map.view.tsx
6019
6260
  function OpeningHoursTable({ hours, lookLayout }) {
6020
6261
  if (!hours) return null;
@@ -7159,7 +7400,7 @@ function viewFromLayout(layout, toRows) {
7159
7400
  groups: allGroups
7160
7401
  };
7161
7402
  }
7162
- default: return assertNever$1(layout);
7403
+ default: return assertNever$3(layout);
7163
7404
  }
7164
7405
  }
7165
7406
  function buildAppointmentServicesView(input) {
@@ -7184,7 +7425,7 @@ function categoryViewToListing(view, toRows) {
7184
7425
  };
7185
7426
  case "all":
7186
7427
  case "fallback-all": return viewFromLayout(view.layout, toRows);
7187
- default: return assertNever$1(view);
7428
+ default: return assertNever$3(view);
7188
7429
  }
7189
7430
  }
7190
7431
  function AppointmentServiceRows({ rows, RowTitle }) {
@@ -7332,7 +7573,7 @@ function AppointmentServicesContent({ view, hasSectionHeading, idPrefix }) {
7332
7573
  hasSectionHeading,
7333
7574
  idPrefix
7334
7575
  });
7335
- default: return assertNever$1(view);
7576
+ default: return assertNever$3(view);
7336
7577
  }
7337
7578
  }
7338
7579
  function appointmentCardContent(row) {
@@ -7402,21 +7643,55 @@ const teamMemberCardSchema = z.object({
7402
7643
  photo: runtimeMediaSchema.refine((value) => value.type === "image").nullish(),
7403
7644
  summary: z.string().nullish(),
7404
7645
  profilePath: z.string().nullish(),
7405
- specialties: z.unknown().transform(parseTeamMemberSpecialties)
7646
+ specialties: z.unknown().transform(parseTeamMemberSpecialties),
7647
+ facts: z.array(z.object({
7648
+ label: z.string(),
7649
+ value: z.string()
7650
+ })).nullish()
7406
7651
  });
7407
- /** Staff and manual members meet at one boundary; Look data chooses biography length. */
7408
- function teamMemberCardContent(member, index, biographySource, cardBiography) {
7409
- const biography = cardBiography === "any" ? cardText(teamMemberCardBiography(member)) : biographySource === "profile" && member.profileBio ? member.profileBio : member.bio;
7410
- const href = sanitizeHref(member.profilePath);
7652
+ /**
7653
+ * Staff and manual members meet at one boundary, and this is the one place
7654
+ * that decides what a person's card says and where. Look data chooses the bio's
7655
+ * length, and whether the facts are the person's own quick facts (with the role
7656
+ * above the name, after the bio, and no link to a profile) or the role on its own.
7657
+ */
7658
+ function teamMemberCards(members, choices = {}) {
7411
7659
  return {
7660
+ items: members.map((member, index) => teamMemberCardContent(member, index, choices)),
7661
+ bodyParts: choices.teamFacts === "person" ? [
7662
+ "title",
7663
+ "text",
7664
+ "facts"
7665
+ ] : [
7666
+ "title",
7667
+ "facts",
7668
+ "text",
7669
+ "chips",
7670
+ "action"
7671
+ ]
7672
+ };
7673
+ }
7674
+ function teamMemberCardContent(member, index, choices) {
7675
+ const biography = cardBiographyFor(member, choices);
7676
+ const role = member.role ? [{
7677
+ label: "Role",
7678
+ value: member.role
7679
+ }] : [];
7680
+ const card = {
7412
7681
  id: member.id ?? `member-${index}`,
7413
7682
  title: member.name,
7414
7683
  media: member.photo,
7415
- ...typeof biography === "string" ? { text: biography } : { textDocument: biography ?? void 0 },
7416
- facts: member.role ? [{
7417
- label: "Role",
7418
- value: member.role
7419
- }] : [],
7684
+ ...typeof biography === "string" ? { text: biography } : { textDocument: biography ?? void 0 }
7685
+ };
7686
+ if (choices.teamFacts === "person") return {
7687
+ ...card,
7688
+ eyebrowFacts: role,
7689
+ facts: member.facts ?? []
7690
+ };
7691
+ const href = sanitizeHref(member.profilePath);
7692
+ return {
7693
+ ...card,
7694
+ facts: role,
7420
7695
  chips: member.specialties,
7421
7696
  ...href ? { action: {
7422
7697
  label: `About ${member.name}`,
@@ -7424,6 +7699,10 @@ function teamMemberCardContent(member, index, biographySource, cardBiography) {
7424
7699
  } } : {}
7425
7700
  };
7426
7701
  }
7702
+ function cardBiographyFor(member, choices) {
7703
+ if (choices.cardBiography === "any") return cardText(teamMemberCardBiography(member));
7704
+ return choices.biographySource === "profile" && member.profileBio ? member.profileBio : member.bio;
7705
+ }
7427
7706
  function cardText(biography) {
7428
7707
  if (!biography) return null;
7429
7708
  return biography.kind === "document" ? biography.document : biography.paragraphs.join("\n\n");
@@ -7498,18 +7777,13 @@ function TeamMembersNode(props) {
7498
7777
  ...about,
7499
7778
  props
7500
7779
  });
7780
+ const cards = teamMemberCards(parsed.data, props);
7501
7781
  return /* @__PURE__ */ jsx(CardListItems, {
7502
7782
  Carousel: props.Carousel,
7503
- items: parsed.data.map((member, index) => teamMemberCardContent(member, index, props.biographySource, props.cardBiography)),
7783
+ items: cards.items,
7504
7784
  presentation: {
7505
7785
  ...props,
7506
- bodyParts: [
7507
- "title",
7508
- "facts",
7509
- "text",
7510
- "chips",
7511
- "action"
7512
- ]
7786
+ bodyParts: cards.bodyParts
7513
7787
  },
7514
7788
  Title: props.sectionHeading?.trim() ? "h3" : "h2",
7515
7789
  carouselLabels: {
@@ -7766,6 +8040,13 @@ const bookingServiceSchema = z.object({
7766
8040
  buyPackage: z.boolean(),
7767
8041
  anyAvailable: z.boolean()
7768
8042
  }).optional(),
8043
+ onlinePayments: z.discriminatedUnion("kind", [z.object({ kind: z.literal("available") }), z.object({
8044
+ kind: z.literal("unavailable"),
8045
+ organiserContact: z.object({
8046
+ email: z.string().nullable(),
8047
+ phone: z.string().nullable()
8048
+ }).optional()
8049
+ })]).optional(),
7769
8050
  pricing: z.custom().optional(),
7770
8051
  priceAmount: z.number().nullable().optional(),
7771
8052
  priceCurrency: z.string().nullable().optional(),
@@ -8171,7 +8452,11 @@ function selectEventDetails(args) {
8171
8452
  selected,
8172
8453
  run,
8173
8454
  sessions: run.sessions,
8174
- timeZone
8455
+ timeZone,
8456
+ depositOffer: resolvePublicEventDepositOffer(selected, {
8457
+ nowIso: args.nowIso,
8458
+ sessions: run.sessions
8459
+ })
8175
8460
  };
8176
8461
  }
8177
8462
  if (!isOrdinaryEvent(selected)) return emptySelection(timeZone);
@@ -8180,7 +8465,8 @@ function selectEventDetails(args) {
8180
8465
  mode: mode === "selected" ? "selected" : "next",
8181
8466
  selected,
8182
8467
  otherDates: otherDates.filter(isOrdinaryEvent),
8183
- timeZone
8468
+ timeZone,
8469
+ depositOffer: resolvePublicEventDepositOffer(selected, { nowIso: args.nowIso })
8184
8470
  };
8185
8471
  }
8186
8472
  //#endregion
@@ -8298,7 +8584,8 @@ function formatTicketTypePrice(ticketType, currency) {
8298
8584
  return formatBookingPriceDisplay(resolveExactOrFreePriceDisplay(ticketType.priceAmount, currency), { decimals: "auto" });
8299
8585
  }
8300
8586
  function getDisplayablePricingOptions(event) {
8301
- return event.pricing.kind === "tiered" ? event.pricing.options.filter(isPublicEventPricingOptionDisplayable).sort((left, right) => left.sortOrder - right.sortOrder) : [];
8587
+ const roomPriceIds = event.rooms?.linkedOptionIds ?? [];
8588
+ return event.pricing.kind === "tiered" ? event.pricing.options.filter(isPublicEventPricingOptionDisplayable).filter((option) => !roomPriceIds.includes(option.id)).sort((left, right) => left.sortOrder - right.sortOrder) : [];
8302
8589
  }
8303
8590
  function TicketTypePriceList({ ticketTypes, currency }) {
8304
8591
  if (ticketTypes.length === 0) return null;
@@ -8618,7 +8905,8 @@ function EventVenueMap({ venue, drawing, showMap, mapHeight, mapClassName }) {
8618
8905
  });
8619
8906
  }
8620
8907
  /** One pricing projection governs the selected panel, including drop-in and whole-series behavior. */
8621
- function selectedEventPricing(event, showCost) {
8908
+ function selectedEventPricing(selection, showCost) {
8909
+ const event = selection.selected;
8622
8910
  const isDropIn = isDropInEvent(event);
8623
8911
  const wholeSeriesPricing = wholeSeriesPricingOf(event);
8624
8912
  const showEventCost = showCost && !isDropIn && wholeSeriesPricing === null;
@@ -8626,7 +8914,7 @@ function selectedEventPricing(event, showCost) {
8626
8914
  isDropIn,
8627
8915
  wholeSeriesPricingDisplay: showCost ? wholeSeriesPricing : null,
8628
8916
  eventCostLabel: showEventCost ? formatEventPrice(event) : null,
8629
- depositNote: showCost && !isDropIn ? paidDepositNote(event) : null,
8917
+ depositNote: showCost && !isDropIn && isPaid(event) ? formatEventDepositNote(selection.depositOffer) : null,
8630
8918
  eventPricingCurrency: publicEventPricingCurrency(event.pricing),
8631
8919
  ticketTypes: showEventCost && isPaid(event) ? getDisplayablePricingOptions(event) : []
8632
8920
  };
@@ -8634,14 +8922,13 @@ function selectedEventPricing(event, showCost) {
8634
8922
  const isDropInEvent = (event) => event.bookingScope === "single_occurrence" && event.requiresRegistration === false;
8635
8923
  const wholeSeriesPricingOf = (event) => event.bookingScope === "whole_series" && event.pricing.kind !== "external" ? event.pricing : null;
8636
8924
  const isPaid = (event) => publicEventPricingType(event.pricing) !== "free";
8637
- const paidDepositNote = (event) => isPaid(event) ? formatEventDepositNote(event.pricing, event.paymentTerms, event) : null;
8638
8925
  function SelectedEventDetailsView(props) {
8639
8926
  const { selection, showVenue, showMap, showOtherDates, showTitle, showDescription, showCapacity, mapHeight, mapClassName, acceptedItems } = props;
8640
8927
  const selected = selection.selected;
8641
8928
  const venue = showVenue ? selected.venue : void 0;
8642
8929
  const online = eventOnlinePlaceShown(selected, showVenue);
8643
8930
  const addressAfterBooking = addressAfterBookingShown(selected, showVenue);
8644
- const pricing = selectedEventPricing(selected, props.showCost);
8931
+ const pricing = selectedEventPricing(selection, props.showCost);
8645
8932
  return /* @__PURE__ */ jsxs("div", {
8646
8933
  className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
8647
8934
  children: [
@@ -8772,7 +9059,7 @@ function headerPanelContent(props) {
8772
9059
  const venue = props.showVenue ? selection.selected.venue : void 0;
8773
9060
  const online = eventOnlinePlaceShown(selection.selected, props.showVenue);
8774
9061
  const teamMembers = selection.selected.teamMembers ?? [];
8775
- const pricing = headerPanelPricing(props, selection.selected);
9062
+ const pricing = headerPanelPricing(props, selection);
8776
9063
  const scheduled = selection.kind === "wholeSeries" ? selection.sessions.length : selection.otherDates.length;
8777
9064
  return {
8778
9065
  venue,
@@ -8790,8 +9077,8 @@ function headerPanelContent(props) {
8790
9077
  * discount, or passes that also admit. Decided from the same projection
8791
9078
  * `EventPricingDetails` renders, so a panel is only drawn when it will show something.
8792
9079
  */
8793
- function headerPanelPricing(props, event) {
8794
- const pricing = selectedEventPricing(event, props.showCost ?? true);
9080
+ function headerPanelPricing(props, selection) {
9081
+ const pricing = selectedEventPricing(selection, props.showCost ?? true);
8795
9082
  if (pricing.isDropIn) return null;
8796
9083
  const detail = {
8797
9084
  ...pricing,
@@ -8818,40 +9105,8 @@ function withLookParts(props, arrangement) {
8818
9105
  }
8819
9106
  //#endregion
8820
9107
  //#region ../blocks/src/system/runtime/nodes/event-details.server.tsx
8821
- function eventDetailsIslandValue({ props, presentation, scopedEvents, subject }) {
8822
- return {
8823
- ...props.arrangement ? {
8824
- arrangement: props.arrangement,
8825
- entryTitle: props.entryTitle,
8826
- actionSize: props.actionSize,
8827
- lookSlots: props.lookSlots,
8828
- surfacePresentation: props.surfacePresentation,
8829
- panelHeading: props.panelHeading
8830
- } : {},
8831
- quickFacts: props.quickFacts,
8832
- occurrenceContext: props.occurrenceContext ?? null,
8833
- subject,
8834
- events: scopedEvents,
8835
- venueDrawing: props.venueDrawing ?? null,
8836
- showVenue: presentation.showVenue,
8837
- showMap: presentation.showMap,
8838
- showOtherDates: presentation.showOtherDates,
8839
- otherDatesLimit: props.otherDatesLimit,
8840
- showCost: presentation.showCost,
8841
- showTitle: presentation.showTitle,
8842
- showDescription: presentation.showDescription,
8843
- showCapacity: presentation.showCapacity,
8844
- showAcceptedPasses: presentation.showAcceptedPasses,
8845
- showAcceptedMemberships: presentation.showAcceptedMemberships,
8846
- sitePasses: props.sitePasses,
8847
- siteMemberships: props.siteMemberships,
8848
- autoApplyDiscount: presentation.autoApplyDiscount,
8849
- className: props.className,
8850
- now: props.now
8851
- };
8852
- }
8853
9108
  function EventDetailsSSR(props) {
8854
- const { blockId, occurrenceContext = null, subject, events = null, className, children } = props;
9109
+ const { occurrenceContext = null, subject, events = null, className, children } = props;
8855
9110
  const normalizedSubject = normalizeEventRegistrationPageSurfaceSubject(subject);
8856
9111
  const scopedEvents = events === null ? null : resolveEventRegistrationScopedEvents(events, {
8857
9112
  occurrenceContext,
@@ -8863,19 +9118,9 @@ function EventDetailsSSR(props) {
8863
9118
  occurrenceContext,
8864
9119
  subject: normalizedSubject
8865
9120
  });
8866
- return /* @__PURE__ */ jsxs(IslandRoot, {
8867
- kind: "event-details",
8868
- id: blockId,
8869
- attributes: {
8870
- className: `event-details ${className ?? ""}`.trim(),
8871
- "data-block": "event-details"
8872
- },
8873
- value: eventDetailsIslandValue({
8874
- props,
8875
- presentation,
8876
- scopedEvents,
8877
- subject: normalizedSubject
8878
- }),
9121
+ return /* @__PURE__ */ jsxs("div", {
9122
+ className: `event-details ${className ?? ""}`.trim(),
9123
+ "data-block": "event-details",
8879
9124
  children: [/* @__PURE__ */ jsx(EventDetailsView, {
8880
9125
  ...presentation,
8881
9126
  mapClassName: "venue-map event-details-map"
@@ -9204,7 +9449,7 @@ function OfferingsCatalogue(props) {
9204
9449
  groups: state.groups,
9205
9450
  shape
9206
9451
  });
9207
- default: return assertNever$1(state);
9452
+ default: return assertNever$3(state);
9208
9453
  }
9209
9454
  }
9210
9455
  /** The hook the single-offering layout hangs from; absent for several. */
@@ -9338,7 +9583,7 @@ function catalogueGroupItems(load) {
9338
9583
  }];
9339
9584
  case "empty":
9340
9585
  case "failed": return [];
9341
- default: return assertNever$1(load);
9586
+ default: return assertNever$3(load);
9342
9587
  }
9343
9588
  }
9344
9589
  //#endregion
@@ -9467,7 +9712,7 @@ function renderOfferingsPreview(props, listing, now) {
9467
9712
  states: listing.groups,
9468
9713
  now
9469
9714
  });
9470
- default: return assertNever$1(listing);
9715
+ default: return assertNever$3(listing);
9471
9716
  }
9472
9717
  }
9473
9718
  function listingMessage(reason, props) {
@@ -9509,7 +9754,7 @@ function renderOfferingGroupItems(presentation, items, options) {
9509
9754
  children: items.map((item) => renderOfferingCompactItem(item, options))
9510
9755
  })
9511
9756
  });
9512
- default: return assertNever$1(presentation, "Unhandled offerings preview presentation");
9757
+ default: return assertNever$3(presentation, "Unhandled offerings preview presentation");
9513
9758
  }
9514
9759
  }
9515
9760
  function FeaturedOfferingSummary({ item }) {
@@ -9562,7 +9807,7 @@ function featuredSummaryDetails(item) {
9562
9807
  deliveryMode: item.run.representative.deliveryMode
9563
9808
  }) : null;
9564
9809
  }
9565
- default: return assertNever$1(item, "Unhandled offerings preview item");
9810
+ default: return assertNever$3(item, "Unhandled offerings preview item");
9566
9811
  }
9567
9812
  }
9568
9813
  function formatFeaturedSummary(summary, place) {
@@ -9590,7 +9835,7 @@ function formatFeaturedSummary(summary, place) {
9590
9835
  recurrence: summary.authoredSummary ?? void 0,
9591
9836
  sessionCount: `${summary.sessionCount} date${summary.sessionCount === 1 ? "" : "s"}`
9592
9837
  });
9593
- default: return assertNever$1(summary, "Unhandled offerings preview schedule summary");
9838
+ default: return assertNever$3(summary, "Unhandled offerings preview schedule summary");
9594
9839
  }
9595
9840
  }
9596
9841
  function detailsFromOccurrences(input) {
@@ -9965,7 +10210,7 @@ function offeringGroupCards(state, props, dates) {
9965
10210
  });
9966
10211
  case "empty":
9967
10212
  case "failed": return /* @__PURE__ */ jsx(EmptyState, { message: listingMessage(state.kind, props) });
9968
- default: return assertNever$1(state);
10213
+ default: return assertNever$3(state);
9969
10214
  }
9970
10215
  }
9971
10216
  /** The existing booking projection owns prices, availability and sold-out/waitlist actions. */
@@ -10155,7 +10400,7 @@ function bookingActionContent(input) {
10155
10400
  children: input.buttonText
10156
10401
  });
10157
10402
  case "unavailable": return null;
10158
- default: return assertNever$1(input.booking);
10403
+ default: return assertNever$3(input.booking);
10159
10404
  }
10160
10405
  }
10161
10406
  function RecurringSchedule({ dateContext = resolveDateRuntimeContext(void 0), schedule, buttonText = "Book", buttonVariant = "primary", showVenue = true, emptyMessage = "Regular schedule details will be added shortly." }) {
@@ -12588,7 +12833,7 @@ function BookingEntryCard(props) {
12588
12833
  entry,
12589
12834
  ...rest
12590
12835
  });
12591
- default: return assertNever$1(entry);
12836
+ default: return assertNever$3(entry);
12592
12837
  }
12593
12838
  }
12594
12839
  //#endregion
@@ -13603,7 +13848,7 @@ function previewEditableTargetToPath(target) {
13603
13848
  case "current-entry-field":
13604
13849
  case "current-entry-metadata": return target.path;
13605
13850
  case "read-only": return;
13606
- default: return assertNever$1(target);
13851
+ default: return assertNever$3(target);
13607
13852
  }
13608
13853
  }
13609
13854
  function previewEditableTargetToFieldKey(target) {
@@ -14708,7 +14953,7 @@ function collectNestedPreviewFieldConstraintEntries(field, path) {
14708
14953
  case "text":
14709
14954
  case "time":
14710
14955
  case "url": return [];
14711
- default: return assertNever$1(field);
14956
+ default: return assertNever$3(field);
14712
14957
  }
14713
14958
  }
14714
14959
  /** Share the supplied snapshot with transforms and manifest bindings, including standalone components. */
@@ -15363,7 +15608,7 @@ function offeringsPreviewPhotoCount(listing) {
15363
15608
  case "by-date": return listing.items.filter(({ item }) => hasPhoto(item)).length;
15364
15609
  case "by-course": return listing.groups.reduce((count, load) => count + courseGroupPhotoCount(load), 0);
15365
15610
  case "by-type": return listing.groups.reduce((count, load) => count + groupPhotoCount(load), 0);
15366
- default: return assertNever$1(listing);
15611
+ default: return assertNever$3(listing);
15367
15612
  }
15368
15613
  }
15369
15614
  function groupPhotoCount(load) {
@@ -15371,14 +15616,14 @@ function groupPhotoCount(load) {
15371
15616
  case "empty":
15372
15617
  case "failed": return 0;
15373
15618
  case "items": return load.items.filter(hasPhoto).length;
15374
- default: return assertNever$1(load);
15619
+ default: return assertNever$3(load);
15375
15620
  }
15376
15621
  }
15377
15622
  function hasPhoto(item) {
15378
15623
  switch (item.kind) {
15379
15624
  case "event": return Boolean(item.event.presentation?.image);
15380
15625
  case "run": return Boolean(item.run.representative.presentation?.image);
15381
- default: return assertNever$1(item);
15626
+ default: return assertNever$3(item);
15382
15627
  }
15383
15628
  }
15384
15629
  function courseGroupPhotoCount(load) {
@@ -16205,6 +16450,10 @@ function requireEntryBlockOverride(entry, themeResources) {
16205
16450
  function pageEndingAttribute(flow, position) {
16206
16451
  return flow === "main" && (position === "last" || position === "only") ? "" : void 0;
16207
16452
  }
16453
+ /** The block's stored identifier, emitted as its section `id` so `#identifier` links land on it. */
16454
+ function blockAnchorId(block) {
16455
+ return block.identifier || void 0;
16456
+ }
16208
16457
  /**
16209
16458
  * Renders one planned block: its wrapper, style-group data attributes,
16210
16459
  * boundary reserve space and the join markup that follows it.
@@ -16254,6 +16503,7 @@ function renderPlanEntry(input) {
16254
16503
  after: joinAfter
16255
16504
  });
16256
16505
  const blockElement = /* @__PURE__ */ jsx("div", {
16506
+ id: blockAnchorId(block),
16257
16507
  className: wrapperClassName,
16258
16508
  ...arrangementHooksFromContent(renderableContent),
16259
16509
  "data-block": cleanKind,
@@ -16789,7 +17039,7 @@ function solvedInksForThemeRuntime(themeRuntime) {
16789
17039
  case "cms-theme": return "publish";
16790
17040
  case "responsive-only":
16791
17041
  case "none": return "withhold";
16792
- default: return assertNever$1(themeRuntime);
17042
+ default: return assertNever$3(themeRuntime);
16793
17043
  }
16794
17044
  }
16795
17045
  function renderWithSdkThemeRuntime({ themeRuntime, theme, children }) {
@@ -16804,7 +17054,7 @@ function renderWithSdkThemeRuntime({ themeRuntime, theme, children }) {
16804
17054
  children
16805
17055
  });
16806
17056
  case "none": return /* @__PURE__ */ jsx(Fragment, { children });
16807
- default: return assertNever$1(themeRuntime);
17057
+ default: return assertNever$3(themeRuntime);
16808
17058
  }
16809
17059
  }
16810
17060
  function renderWithOverrideOnlyRuntime({ runtime, children }) {
@@ -16814,7 +17064,7 @@ function renderWithOverrideOnlyRuntime({ runtime, children }) {
16814
17064
  children
16815
17065
  });
16816
17066
  case "none": return /* @__PURE__ */ jsx(Fragment, { children });
16817
- default: return assertNever$1(runtime);
17067
+ default: return assertNever$3(runtime);
16818
17068
  }
16819
17069
  }
16820
17070
  //#endregion