@riverbankcms/sdk 0.172.0 → 0.174.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 (215) hide show
  1. package/README.md +6 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
  3. package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
  4. package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
  5. package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
  6. package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
  7. package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
  8. package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
  10. package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
  11. package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
  12. package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
  13. package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
  14. package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
  15. package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
  16. package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
  17. package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
  18. package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
  19. package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-B4sbTf96.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +9 -9
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/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 +6 -2
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  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 +4 -2
  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 +13 -8
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  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 +36 -204
  54. package/dist/_dts/{types-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
  55. package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
  56. package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
  57. package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
  59. package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
  60. package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
  63. package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
  64. package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
  65. package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
  66. package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
  67. package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
  68. package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
  69. package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
  70. package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
  71. package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
  73. package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
  74. package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
  75. package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
  76. package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
  77. package/dist/client/bookability-CE637yDE.mjs +17 -0
  78. package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
  79. package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
  80. package/dist/client/bookings.mjs +6 -6
  81. package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
  82. package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
  83. package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
  84. package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
  85. package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
  86. package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
  87. package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
  88. package/dist/client/client.mjs +206 -7
  89. package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
  90. package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
  91. package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
  92. package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
  93. package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
  94. package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
  95. package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
  96. package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
  97. package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
  98. package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
  99. package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
  100. package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
  101. package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
  102. package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
  103. package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
  104. package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
  105. package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
  106. package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +2 -2
  108. package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
  109. package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
  110. package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
  111. package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
  112. package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
  113. package/dist/client/portal/client.mjs +346 -272
  114. package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
  115. package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
  116. package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
  117. package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
  118. package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
  119. package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
  120. package/dist/client/rendering/client.mjs +26 -26
  121. package/dist/client/rendering/islands.mjs +1 -1
  122. package/dist/client/rendering.mjs +34 -61
  123. package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
  124. package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
  125. package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
  126. package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
  127. package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
  128. package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
  129. package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
  130. package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
  131. package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
  132. package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
  133. package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
  134. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  135. package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
  136. package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
  137. package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
  138. package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
  139. package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
  140. package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
  141. package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
  142. package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
  143. package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
  144. package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
  145. package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
  146. package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
  147. package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
  148. package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
  149. package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
  150. package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
  151. package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
  152. package/dist/preview-next/client/runtime.mjs +3 -3
  153. package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
  154. package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
  155. package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
  156. package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
  157. package/dist/preview-next/container-responsive.css +117 -32
  158. package/dist/preview-next/keepAlive.mjs +1 -1
  159. package/dist/preview-next/middleware.mjs +1 -1
  160. package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-DV6SeCNv.mjs} +200 -2
  161. package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
  162. package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
  163. package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
  164. package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
  165. package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/customCss-BGB8gMVb.mjs +210 -0
  169. package/dist/server/data/resolveBlockData.mjs +1 -1
  170. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  171. package/dist/server/index.mjs +3 -3
  172. package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-Cgpfr44e.mjs} +8 -10
  173. package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
  174. package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
  175. package/dist/server/manifest.mjs +2 -2
  176. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  177. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  178. package/dist/server/navigation.mjs +1 -1
  179. package/dist/server/next.mjs +9 -8
  180. package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
  181. package/dist/server/page-converter.mjs +2 -2
  182. package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
  183. package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
  184. package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
  185. package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
  186. package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
  187. package/dist/server/portal.mjs +1 -1
  188. package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
  189. package/dist/server/prebuild.mjs +1 -1
  190. package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
  191. package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
  192. package/dist/server/rendering/components/pageShared.mjs +1 -1
  193. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  194. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -2
  195. package/dist/server/rendering/server.mjs +3 -3
  196. package/dist/server/rendering.mjs +8 -8
  197. package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
  198. package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
  199. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  200. package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
  201. package/dist/server/server.mjs +3 -3
  202. package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
  203. package/dist/server/theme-bridge.mjs +21 -15
  204. package/dist/server/theme.mjs +2 -2
  205. package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
  206. package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
  207. package/dist/server/{validation-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
  208. package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
  209. package/dist/styles/index.css +1038 -200
  210. package/package.json +1 -1
  211. package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
  212. package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
  213. package/dist/server/customCss-QymcmOZ-.mjs +0 -97
  214. package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
  215. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,5 +1,5 @@
1
- import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES } from "./titleSourceSchema-DwKJfMYb.mjs";
2
- import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-Bsfdy_ZV.mjs";
1
+ import { i as ALLOWED_TRANSFORM_IDS, n as ALLOWED_NODE_TYPES } from "./titleSourceSchema-Cu-3PRvv.mjs";
2
+ import { _ as formatThemeSummaryForPrompt, a as collectValidationErrors, c as llmAtRuleSchema, d as llmMediaAtRuleSchema, f as llmNestedRuleSchema, g as normalizeLlmMediaAtRule, h as normalizeLlmCssRule, l as llmCustomBlockSchema, m as normalizeDeclarationsArrayToRecord, n as validateManifestOutput, o as formatValidationFeedback, p as llmThemePatchOpSchema, s as htmlToManifestOutputSchema, t as convertHtmlToManifest, u as llmCustomCssRuleSchema, v as summarizeThemeForLLM } from "./three-pass-converter-39SXCCnh.mjs";
3
3
  //#region src/manifest/prompt/knowledge-base.ts
4
4
  /**
5
5
  * LLM Knowledge Base for HTML-to-Manifest Conversion
@@ -179,7 +179,7 @@ const aspectCropSchema = z.object({
179
179
  hotspot: z.preprocess((value) => value == null ? void 0 : value, hotspotSchema.optional()),
180
180
  rotation: z.preprocess((value) => value == null ? void 0 : value, rotationSchema.optional())
181
181
  });
182
- const transformSchema = z.object({
182
+ const mediaTransformSchema = z.object({
183
183
  aspectCrops: z.preprocess((value) => {
184
184
  if (!value || typeof value !== "object" || Array.isArray(value)) return;
185
185
  return value;
@@ -203,7 +203,7 @@ const mediaUsageShape = {
203
203
  width: z.number().optional(),
204
204
  height: z.number().optional(),
205
205
  poster: mediaPosterSchema.optional(),
206
- transform: transformSchema.optional()
206
+ transform: mediaTransformSchema.optional()
207
207
  };
208
208
  const environmentExclusions = {
209
209
  assetId: z.never().optional(),
@@ -195,6 +195,7 @@ function buildLogoViewModel(logo, fallbackTitle) {
195
195
  if (!logo.url && !logo.storagePath) return null;
196
196
  return {
197
197
  type: "image",
198
+ logoFacts: logo.logoFacts,
198
199
  src: logo.url ?? "",
199
200
  alt: resolveAltText(logo.alt, fallbackTitle),
200
201
  assetId: logo.assetId ?? void 0,
@@ -571,7 +572,8 @@ function buildLogo(logo, fallbackAlt) {
571
572
  const result = {
572
573
  type: "image",
573
574
  src: logo.url,
574
- alt
575
+ alt,
576
+ logoFacts: logo.logoFacts
575
577
  };
576
578
  if (logo.width != null) result.width = logo.width;
577
579
  if (logo.height != null) result.height = logo.height;
@@ -1,2 +1,2 @@
1
- import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-DAwbICEL.mjs";
1
+ import { _ as transformToNavItems, a as buildLogoVariants, c as buildMenuViewModel, d as getNavigationByLocation, f as getPrimaryNavItems, g as resolveNavigationLinkHref, h as isNavLink, i as buildLogo, l as getFooterNavigation, m as isNavDropdown, n as buildFooterMenu, o as buildLogoViewModel, p as getPrimaryNavigation, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent, u as getFooterNavigationByRole } from "./navigation-iC_hXjJI.mjs";
2
2
  export { buildChromeLogoContent, buildFooterMenu, buildFooterMenuForRole, buildLogo, buildLogoVariants, buildLogoViewModel, buildMenu, buildMenuViewModel, getFooterNavigation, getFooterNavigationByRole, getNavigationByLocation, getPrimaryNavItems, getPrimaryNavigation, isNavDropdown, isNavLink, resolveNavigationLinkHref, transformToNavItems };
@@ -1,16 +1,16 @@
1
- import { As as inferSiteDateLocale, Bs as toUtcIsoDateTimeString, Rs as resolveBookingBusinessTimeZone } from "./registry-wYH0LH5f.mjs";
2
- import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-BJjptSGp.mjs";
3
- import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-dROAfMRa.mjs";
4
- import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-zOIrtqz-.mjs";
1
+ import { As as resolveBookingBusinessTimeZone, Ms as toUtcIsoDateTimeString, Ss as inferSiteDateLocale } from "./registry-34rkAfaU.mjs";
2
+ import { i as defaultLayoutThemeRuntime, l as ThemeScope, n as toPageHydrationBootstrapConfig, r as defaultCatchAllThemeRuntime } from "./pageShared-B8yLPjs0.mjs";
3
+ import { _ as createBearerAPIClient, h as RiverbankApiError, m as CircuitOpenError, p as sdkRequestOptions, t as createRiverbankClient, v as ApiRequestError, y as unwrapResponse } from "./client-aYRTVneD.mjs";
4
+ import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-Cgpfr44e.mjs";
5
5
  import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DGSAlFUK.mjs";
6
6
  import { r as normalizeDataLoaderSearchParams } from "./dataLoaderContext-B3fXA54R.mjs";
7
7
  import { l as isPreviewMode, o as normalizeSdkRenderingMode, s as themeRuntimeForRendering } from "./overrides-CD4d-1w7.mjs";
8
8
  import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
9
- import { t as getPortalToken } from "./portal-Ce1Prfl3.mjs";
9
+ import { t as getPortalToken } from "./portal-BjVHMAUC.mjs";
10
10
  import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
11
- import { t as SDK_VERSION } from "./version-DAB0O3yx.mjs";
11
+ import { t as SDK_VERSION } from "./version-HVfdvBJ0.mjs";
12
12
  import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
13
- import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-DjboggbB.mjs";
13
+ import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-VhhN94d8.mjs";
14
14
  import "react";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
@@ -1204,7 +1204,8 @@ async function loadPortalPageHost(options, path, searchParams) {
1204
1204
  portalToken: getPortalToken(await cookies()),
1205
1205
  callbackPath: options.portal?.callbackPath,
1206
1206
  demoEmailSuppressed: site.demoEmailSuppressed === true,
1207
- siteTitle: site.site.title
1207
+ siteTitle: site.site.title,
1208
+ businessPerson: site.bookingPerson ?? null
1208
1209
  }
1209
1210
  };
1210
1211
  }
@@ -1,4 +1,4 @@
1
- import { t as PageContent } from "./pageShared-BJjptSGp.mjs";
1
+ import { t as PageContent } from "./pageShared-B8yLPjs0.mjs";
2
2
  import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
3
3
  import { i as lazyBlockOverrideSymbol } from "./overrides-CD4d-1w7.mjs";
4
4
  import { jsx } from "react/jsx-runtime";
@@ -66,11 +66,10 @@ function selectOverrideKeysForUsedKinds(usedKinds, entries) {
66
66
  return selectedKeys;
67
67
  }
68
68
  function isLazyRegistration(registration) {
69
- return isRecord(registration) && registration[lazyBlockOverrideSymbol] === true;
69
+ return isRecord(registration) && lazyBlockOverrideSymbol in registration && registration[lazyBlockOverrideSymbol] === true;
70
70
  }
71
71
  async function resolveOverrideComponent(registration) {
72
- if (isLazyRegistration(registration)) return registration.load();
73
- return registration;
72
+ return isLazyRegistration(registration) ? registration.load() : registration;
74
73
  }
75
74
  /**
76
75
  * Resolve only override registrations used by the current page or template.
@@ -1,8 +1,8 @@
1
- import { Hr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-wYH0LH5f.mjs";
1
+ import { Wr as parseBackgroundContent, n as listBlockDescriptors } from "./registry-34rkAfaU.mjs";
2
2
  import { i as createRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
3
3
  import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
4
4
  import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
5
- import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-Bsfdy_ZV.mjs";
5
+ import { i as getJsonFromAiText, r as getJsonFromAi, t as convertHtmlToManifest } from "./three-pass-converter-39SXCCnh.mjs";
6
6
  import { z } from "zod";
7
7
  //#region ../blocks/src/assistantSectionCatalog.ts
8
8
  const words = (text) => createRichTextDoc([text]);
@@ -1,10 +1,11 @@
1
- import { Dt as parseThemeColorToken, G as hexToRgb, J as oklchToHexGamut, K as oklabToOklch, P as getTextColorForBackground, R as contrastRatio, X as rgbToHex, Z as srgbToOklab, q as oklabToSrgb } from "./resolveButtonColourStates-CCPUY9Xh.mjs";
2
- import { $r as lookLeadSlotTransform, $s as parseGradientPresetId, Aa as styleSectionBackgroundForColour, Ai as eventReadinessLoaderKey, Bi as eventCalendarListGroupingDecision, Bn as resolveHeroTitleLength, Bs as toUtcIsoDateTimeString, Co as parseCanonicalRuntimeBackground, Do as themeV2CompilerOwnedFieldNames, Ds as formatDate, Eo as stripStaleTransitionStyleGroup, Fa as resolvePublishedLook, Fi as eventScopeLoaderParam, Fn as mediaTransforms, Fs as getLocalScheduleDate, Gr as resolveSectionSurfaceForeground, Gt as eventDateOptions, Hi as resolveEventCalendarReadPlan, Hn as formattingTransforms, Ho as cardListKnobBlocks, Hr as parseBackgroundContent, Hs as formatBookingPriceDisplay, Ht as weekColumnDays, I as combinedLookSchema, Ii as eventScopeQuery, In as headerRuntimeTransforms, Is as parseBookingLocalDate, J as CardListLeadDate, Ja as getGradientPreset, Js as resolvePricingOptionsPriceDisplay, Ki as formatDateKey, Kr as resolveSurfaceForegroundStyles, Kt as eventLocalDateKey, La as deriveSiteStyleBlockPolicy, Li as eventScopeQueryKeys, Ln as chromeLogoTransforms, Ma as readStoredMode, Mi as eventReadinessQueryKeys, Na as resolveEffectiveArrangement, Nn as readRuntimeNow, Ns as compareLocalScheduleDates, Os as formatDateRange, Pa as resolveModeArrangement, Pi as eventDiscoveryFilterKeys, Pt as ThemedButtonLink, Q as MediaNodeServer, Qi as isToday, Qn as listItemPresentation, Qr as lookCarouselRegionTransform, Ri as resolveEventScope, Rn as layoutTransforms, Rr as boxStylesTransforms, Rs as resolveBookingBusinessTimeZone, Rt as buildEventListWeek, Sa as arrangementAppearancePresets, So as deriveSectionGround, To as sectionSurfaceBase, Tt as groupOfferingRunsByCourse, Ur as parseBackgroundOverlay, Vi as eventCalendarListLayoutOptions, Vn as uiTransforms, Vo as cardListFamilyBlocks, Vt as groupEventsByWeek, Wr as parseRuntimeBackgroundContent, Wt as eventCalendarWeekStart, X as resolveCardListSchedule, Xt as formatEventCompactDateRail, Yr as isSemanticSpacing, Z as selectCardListPresentation, Zt as formatEventDateParts, _r as formatEventPriceDisplay, an as resolveEventTimeZone, br as getAnchorClasses, ca as eventCalendarListLayoutCompatibleDisplayModeValues, co as sectionShapeFromContent, dn as formatEventRemainingPlaces, ec as arrangementSlotNames, ei as lookQuoteLimitTransform, en as formatEventRunDates, er as listLookSlot, et as ImagePresets, fn as formatTotalCapacity, fo as boundaryRuntimeMetricsForDecorativeTransition, fr as classPricesCopySchema, fs as nextLiveRunSessionStartMs, ga as resolveLookSurfacePresentation, ha as lookPresentationOnPalette, hn as isEventFull, hr as formatEventPrice, in as groupEventsByDate, ir as standardAspectRatioOptions, ja as arrangementManifestFromVariants, ji as eventReadinessQuery, jo as assertNever, ki as augmentManifest, kn as contentTransforms, ko as resolveEffectiveKnobs, ks as formatDateTimeRange, lo as sectionShapeHook, lr as standardImageShapeOptions, mi as ClockIcon, mn as getEventAvailabilityStatus, mr as resolveClassPriceItems, ms as resolveWholeSeriesBookingPhase, ni as asPartialObject, nn as formatEventWeekdayTime, nt as computeMediaTransformStyle, on as resolveRuntimeEventDestination, pn as getEventAvailability, pr as classPricesDataSchema, ps as orderedLiveRunSessions, q as CardListContentPart, qa as gradientToCss, qr as resolveBackgroundColorValue, qs as resolveExactOrFreePriceDisplay, ri as createTransformRegistry, rn as formatTime, sn as formatBookingSchedulePresentation, so as sectionShapeForGround, sr as heroMorePhotoCount, t as getBlockDefinition, ti as lookSkinSlotTransform, tn as formatEventTimeRange, ua as isObjectRecord, un as canJoinEventWaitlistOnAnyMode, ut as EventQuickFacts, vn as closedRunCopy, vr as formatEventStartingPrice, wo as resolveSectionBackground, xa as heroPhotoPaintsGround, xo as applyLookPhotoTreatment, xr as heroTitleSizeOptions, yr as BACKGROUND_POSITION_PRESET_VALUES, zi as resolveCalendarReadProfile } from "./registry-wYH0LH5f.mjs";
3
- import { A as resolveOnColorForThemeToken, M as resolveTokenOrCssColorValue, W as resolveConcreteColorHex, k as isCssColorLiteral, n as parseSurfaceTree } from "./accessibleSurfaces-Dbd2__Le.mjs";
4
- import { I as asSiteStyleId, L as makeBoundaryId, P as asLayoutVariantKey, j as asDesignBlockId } from "./schema-BFOqYIMQ.mjs";
5
- import { o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
6
- import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
1
+ import { Dt as parseThemeColorToken, G as hexToRgb, J as oklchToHexGamut, K as oklabToOklch, P as getTextColorForBackground, R as contrastRatio, X as rgbToHex, Z as srgbToOklab, q as oklabToSrgb } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
+ import { $n as listItemPresentation, An as contentTransforms, Ao as sectionSurfaceBase, As as resolveBookingBusinessTimeZone, Ba as resolveEffectiveArrangement, Bi as resolveEventScope, Br as boxStylesTransforms, Bs as resolvePricingOptionsPriceDisplay, Cr as heroTitleSizeOptions, Do as deriveSectionGround, Ds as getLocalScheduleDate, Eo as applyLookPhotoTreatment, Ft as ThemedButtonLink, Gr as parseBackgroundOverlay, Gs as parseGradientPresetId, Gt as eventCalendarWeekStart, Ha as resolvePublishedLook, Hi as eventCalendarListGroupingDecision, Hn as uiTransforms, Ht as groupEventsByWeek, I as combinedLookSchema, Ii as eventDiscoveryFilterKeys, In as mediaTransforms, J as CardListLeadDate, Ji as formatDateKey, Jr as resolveSurfaceForegroundStyles, Kr as parseRuntimeBackgroundContent, Ks as arrangementSlotNames, Kt as eventDateOptions, La as styleSectionBackgroundForColour, Li as eventScopeLoaderParam, Ln as headerRuntimeTransforms, Mi as eventReadinessLoaderKey, Mo as themeV2CompilerOwnedFieldNames, Ms as toUtcIsoDateTimeString, Ni as eventReadinessQuery, Oo as parseCanonicalRuntimeBackground, Os as parseBookingLocalDate, Pi as eventReadinessQueryKeys, Pn as readRuntimeNow, Ps as formatBookingPriceDisplay, Q as MediaNodeServer, Qt as formatEventDateParts, Ra as arrangementManifestFromVariants, Ri as eventScopeQuery, Rn as chromeLogoTransforms, Sr as getAnchorClasses, Ta as heroPhotoPaintsGround, Ts as compareLocalScheduleDates, Tt as groupOfferingRunsByCourse, Ui as eventCalendarListLayoutOptions, Un as formattingTransforms, Ut as weekColumnDays, Va as resolveModeArrangement, Vi as resolveCalendarReadProfile, Vn as resolveHeroTitleLength, Wa as deriveSiteStyleBlockPolicy, Wi as resolveEventCalendarReadPlan, Wr as parseBackgroundContent, X as resolveCardListSchedule, Yr as resolveBackgroundColorValue, Z as selectCardListPresentation, Zr as isSemanticSpacing, Zt as formatEventCompactDateRail, _n as formatTotalCapacity, _o as boundaryRuntimeMetricsForDecorativeTransition, _r as formatEventPrice, ai as createTransformRegistry, an as groupEventsByDate, ar as standardAspectRatioOptions, as as resolveWholeSeriesBookingPhase, bn as isEventFull, br as formatEventStartingPrice, bs as formatDateRange, cn as formatBookingSchedulePresentation, cr as heroMorePhotoCount, ea as isToday, ei as lookCarouselRegionTransform, eo as gradientToCss, et as ImagePresets, fa as isObjectRecord, fo as sectionShapeForGround, gi as ClockIcon, gn as formatEventRemainingPlaces, gr as formatCoursePrice, hn as canJoinEventWaitlistOnAnyMode, hr as resolveClassPriceItems, ii as asPartialObject, in as formatTime, is as orderedLiveRunSessions, ji as augmentManifest, jo as stripStaleTransitionStyleGroup, ka as arrangementAppearancePresets, ko as resolveSectionBackground, mo as sectionShapeHook, mr as classPricesDataSchema, ni as lookQuoteLimitTransform, nn as formatEventTimeRange, nt as computeMediaTransformStyle, on as resolveEventTimeZone, pn as closedRunCopy, po as sectionShapeFromContent, pr as classPricesCopySchema, q as CardListContentPart, qr as resolveSectionSurfaceForeground, qt as eventLocalDateKey, ri as lookSkinSlotTransform, rn as formatEventWeekdayTime, rs as nextLiveRunSessionStartMs, sn as resolveRuntimeEventDestination, t as getBlockDefinition, ti as lookLeadSlotTransform, tn as formatEventRunDates, to as getGradientPreset, tr as listLookSlot, ua as eventCalendarListLayoutCompatibleDisplayModeValues, ur as standardImageShapeOptions, ut as EventQuickFacts, va as lookPresentationOnPalette, vn as getEventAvailability, xr as BACKGROUND_POSITION_PRESET_VALUES, xs as formatDateTimeRange, ya as resolveLookSurfacePresentation, yn as getEventAvailabilityStatus, yr as formatEventPriceDisplay, ys as formatDate, za as readStoredMode, zi as eventScopeQueryKeys, zn as layoutTransforms, zs as resolveExactOrFreePriceDisplay, zt as buildEventListWeek } from "./registry-34rkAfaU.mjs";
3
+ import { A as resolveOnColorForThemeToken, G as resolveConcreteColorHex, M as resolveTokenOrCssColorValue, k as isCssColorLiteral, n as parseSurfaceTree } from "./accessibleSurfaces-CM3QANtw.mjs";
4
+ import { D as asSiteStyleId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey } from "./customCss-BGB8gMVb.mjs";
5
+ import { o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
6
+ import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
7
7
  import { o as isRecord$2 } from "./richTextSchema-QLaQrbII.mjs";
8
+ import { A as cardListFamilyBlocks, f as assertNever$1, j as cardListKnobBlocks, s as resolveEffectiveKnobs } from "./lookMediaFrame-CQtkvlDn.mjs";
8
9
  import { i as outlineRegions, n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
9
10
  import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
10
11
  import React from "react";
@@ -533,7 +534,7 @@ function boundaryEndpointForSectionContent(content) {
533
534
  kind: "unpainted",
534
535
  reason: "media"
535
536
  };
536
- default: return assertNever(effective, "Unhandled section background type");
537
+ default: return assertNever$1(effective, "Unhandled section background type");
537
538
  }
538
539
  }
539
540
  /**
@@ -670,7 +671,7 @@ function boundaryLayout(intent, composition) {
670
671
  shape: composition.from
671
672
  }
672
673
  };
673
- default: return assertNever(composition, "Unhandled boundary composition");
674
+ default: return assertNever$1(composition, "Unhandled boundary composition");
674
675
  }
675
676
  }
676
677
  function requireThemeColorToken(value) {
@@ -839,7 +840,7 @@ function closedEventBookingLabel(reason) {
839
840
  case "parent_inconsistent":
840
841
  case "already_started":
841
842
  case "enrollment_closed": return "Registration closed";
842
- default: return assertNever$1(reason);
843
+ default: return assertNever(reason);
843
844
  }
844
845
  }
845
846
  function resolveEventHref(event) {
@@ -944,7 +945,7 @@ function seriesBookingClosed(event) {
944
945
  case "parent_archived":
945
946
  case "parent_inconsistent":
946
947
  case "enrollment_closed": return true;
947
- default: return assertNever$1(event.bookingAvailability.reason);
948
+ default: return assertNever(event.bookingAvailability.reason);
948
949
  }
949
950
  }
950
951
  function occurrenceCardAvailability(event, count) {
@@ -971,7 +972,7 @@ function renderClockClosedCta(event, now) {
971
972
  case "in-progress":
972
973
  case "enrolment-closed":
973
974
  case "no-sessions": return "Registration closed";
974
- default: return assertNever$1(phase.reason);
975
+ default: return assertNever(phase.reason);
975
976
  }
976
977
  })(),
977
978
  href: resolveEventHref(event),
@@ -1071,6 +1072,80 @@ function resolveMonthSelectedDay(input) {
1071
1072
  return occupied.find((key) => key >= todayKey) ?? occupied[0] ?? formatDateKey(input.viewDate);
1072
1073
  }
1073
1074
  //#endregion
1075
+ //#region ../blocks/src/system/runtime/nodes/events/domain/course.ts
1076
+ function eventDisplayTitle(event) {
1077
+ const run = event.bookingScope === "whole_series" ? event.run : void 0;
1078
+ const courseTitle = run?.courseTitle?.trim();
1079
+ if (!courseTitle) return {
1080
+ title: event.title,
1081
+ runName: null
1082
+ };
1083
+ const runName = run?.runName?.trim();
1084
+ return {
1085
+ title: courseTitle,
1086
+ runName: runName && runName !== courseTitle ? runName : null
1087
+ };
1088
+ }
1089
+ /**
1090
+ * Complete name for one dated occurrence: calendar cells, tooltips, modal
1091
+ * headings and accessible labels. A title authored on the occurrence itself
1092
+ * wins over the course and run name, which only describe the run as a whole.
1093
+ */
1094
+ function eventDisplayTitleText(event) {
1095
+ const occurrenceTitle = event.occurrenceTitle?.trim();
1096
+ if (occurrenceTitle) return occurrenceTitle;
1097
+ const { title, runName } = eventDisplayTitle(event);
1098
+ return runName ? `${title}: ${runName}` : title;
1099
+ }
1100
+ const WEEK_MS = 10080 * 60 * 1e3;
1101
+ /** A clock change moves a weekly session by an hour against UTC. */
1102
+ const CLOCK_CHANGE_MS = 3600 * 1e3;
1103
+ function sessionMinutes(session) {
1104
+ return Math.round((Date.parse(session.endsAt) - Date.parse(session.startsAt)) / 6e4);
1105
+ }
1106
+ function isWeekly(sessions) {
1107
+ return sessions.slice(1).every((session, index) => {
1108
+ const previous = sessions[index];
1109
+ return previous !== void 0 && Math.abs(Date.parse(session.startsAt) - Date.parse(previous.startsAt) - WEEK_MS) <= CLOCK_CHANGE_MS;
1110
+ });
1111
+ }
1112
+ /** "1 hour", "3 hours", "45 minutes", "1 hour 30 minutes". */
1113
+ function formatSessionLength(minutes) {
1114
+ if (!Number.isFinite(minutes) || minutes <= 0) return null;
1115
+ const hours = Math.floor(minutes / 60);
1116
+ const rest = minutes % 60;
1117
+ return [hours ? `${hours} hour${hours === 1 ? "" : "s"}` : null, rest ? `${rest} minute${rest === 1 ? "" : "s"}` : null].filter(Boolean).join(" ");
1118
+ }
1119
+ /**
1120
+ * A course's sessions in one line, from the run's complete schedule rather
1121
+ * than whichever occurrence rows were loaded: "6 weekly sessions, 1 hour
1122
+ * each". The cadence and length are only stated when every session shares
1123
+ * them. A one-session course has nothing to add to its date and time.
1124
+ */
1125
+ function formatCourseSessions(event) {
1126
+ if (event.bookingScope !== "whole_series" || !event.run) return null;
1127
+ const sessions = orderedLiveRunSessions(event.run.sessions);
1128
+ if (sessions.length < 2) return null;
1129
+ const lengths = new Set(sessions.map(sessionMinutes));
1130
+ const [onlyLength] = lengths;
1131
+ const length = lengths.size === 1 && onlyLength !== void 0 ? formatSessionLength(onlyLength) : null;
1132
+ const count = `${sessions.length} ${isWeekly(sessions) ? "weekly " : ""}sessions`;
1133
+ return length ? `${count}, ${length} each` : count;
1134
+ }
1135
+ /** The dates a card doesn't list: "and 5 more". */
1136
+ function formatMoreDates(remaining) {
1137
+ return remaining > 0 ? `and ${remaining} more` : null;
1138
+ }
1139
+ /**
1140
+ * For a card that shows one course session's date: how many of the course's
1141
+ * sessions come after it ("and 5 more"), or null for anything else.
1142
+ */
1143
+ function formatCourseDatesAfter(event) {
1144
+ if (event.bookingScope !== "whole_series" || !event.run) return null;
1145
+ const shownMs = Date.parse(event.startsAt);
1146
+ return formatMoreDates(orderedLiveRunSessions(event.run.sessions).filter((session) => Date.parse(session.startsAt) > shownMs).length);
1147
+ }
1148
+ //#endregion
1074
1149
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCardIcons.tsx
1075
1150
  function MapPinIcon({ className, size = 16, strokeWidth = 2 }) {
1076
1151
  return /* @__PURE__ */ jsxs("svg", {
@@ -1242,7 +1317,8 @@ function eventItemFacts(props) {
1242
1317
  ...props.eventRows === "day-schedule" ? { count: "always" } : {}
1243
1318
  }) : null,
1244
1319
  availability: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available",
1245
- description: props.event.presentation?.summary ?? props.event.description
1320
+ description: props.event.presentation?.summary ?? props.event.description,
1321
+ title: eventDisplayTitle(props.event)
1246
1322
  };
1247
1323
  }
1248
1324
  /** Rows with a rail keep pricing in the details and time in the action rail. */
@@ -1347,16 +1423,24 @@ function renderEventItemContentPart({ part, props, facts }) {
1347
1423
  })
1348
1424
  ]
1349
1425
  });
1350
- case "title": return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("h3", {
1351
- ...listLookSlot(props, "item-title"),
1352
- children: /* @__PURE__ */ jsx("a", {
1353
- ...facts.link,
1354
- children: props.event.title
1426
+ case "title": return /* @__PURE__ */ jsxs(Fragment, { children: [
1427
+ /* @__PURE__ */ jsx("h3", {
1428
+ ...listLookSlot(props, "item-title"),
1429
+ children: /* @__PURE__ */ jsx("a", {
1430
+ ...facts.link,
1431
+ children: facts.title.title
1432
+ })
1433
+ }),
1434
+ facts.title.runName ? /* @__PURE__ */ jsx("p", {
1435
+ className: "rb-card-list-subtitle rb-caption",
1436
+ "data-card-subtitle": true,
1437
+ children: facts.title.runName
1438
+ }) : null,
1439
+ props.eventRows === "day-schedule" ? null : /* @__PURE__ */ jsx(EventQuickFacts, {
1440
+ facts: props.event.facts,
1441
+ context: "card"
1355
1442
  })
1356
- }), props.eventRows === "day-schedule" ? null : /* @__PURE__ */ jsx(EventQuickFacts, {
1357
- facts: props.event.facts,
1358
- context: "card"
1359
- })] });
1443
+ ] });
1360
1444
  case "time": return /* @__PURE__ */ jsxs("p", {
1361
1445
  ...listLookSlot(props, "time"),
1362
1446
  children: [hasActionRail(props.arrangement) ? /* @__PURE__ */ jsx(ClockIcon, { "aria-hidden": "true" }) : null, props.arrangement === "week-groups" ? formatEventWeekdayTime(props.event) : facts.time]
@@ -1380,7 +1464,7 @@ function renderEventItemContentPart({ part, props, facts }) {
1380
1464
  part: "text",
1381
1465
  item: {
1382
1466
  id: props.event.id,
1383
- title: props.event.title,
1467
+ title: facts.title.title,
1384
1468
  text: facts.description
1385
1469
  },
1386
1470
  presentation: props
@@ -1408,7 +1492,7 @@ function renderEventItemImage(props, link) {
1408
1492
  part: "media",
1409
1493
  item: {
1410
1494
  id: props.event.id,
1411
- title: props.event.title,
1495
+ title: eventDisplayTitle(props.event).title,
1412
1496
  media: props.event.presentation?.image,
1413
1497
  titleLink: link,
1414
1498
  newTabHint: link.target === "_blank"
@@ -1759,11 +1843,28 @@ function offeringDatesBySeries(events, now, booking) {
1759
1843
  const groups = events.reduce((result, event) => new Map([...result, [event.seriesId, [...result.get(event.seriesId) ?? [], event]]]), /* @__PURE__ */ new Map());
1760
1844
  return new Map([...groups].map(([seriesId, occurrences]) => [seriesId, orderedUniqueEventOccurrences(occurrences.filter((event) => event.bookingScope !== "whole_series" && Date.parse(event.startsAt) >= now.getTime())).slice(0, 3).map((event) => offeringDateRow(event, event, occurrencePlaces(event), booking))]));
1761
1845
  }
1762
- /** Whole-series sessions share the run's capacity, so every row shows the run's decided availability. */
1763
- function offeringRunDates(event, now, places) {
1764
- if (event.bookingScope !== "whole_series") return [];
1846
+ /**
1847
+ * A course's dates on a card: its first upcoming session, then how many more
1848
+ * follow ("and 5 more"). One booking covers every session, so the places left
1849
+ * belong to the course: the card says them once, from its own booking decision,
1850
+ * never per date.
1851
+ */
1852
+ function offeringRunDates(event, now) {
1853
+ if (event.bookingScope !== "whole_series") return {
1854
+ dates: [],
1855
+ datesMore: null
1856
+ };
1765
1857
  const nextStart = nextLiveRunSessionStartMs(event.run.sessions, now);
1766
- return nextStart === null ? [] : orderedLiveRunSessions(event.run.sessions).filter((session) => Date.parse(session.startsAt) >= nextStart).slice(0, 3).map((session) => offeringDateRow(session, event, places));
1858
+ const upcoming = nextStart === null ? [] : orderedLiveRunSessions(event.run.sessions).filter((session) => Date.parse(session.startsAt) >= nextStart);
1859
+ const [first] = upcoming;
1860
+ if (!first) return {
1861
+ dates: [],
1862
+ datesMore: null
1863
+ };
1864
+ return {
1865
+ dates: [offeringDateRow(first, event, null)],
1866
+ datesMore: formatMoreDates(upcoming.length - 1)
1867
+ };
1767
1868
  }
1768
1869
  function offeringDateRow(session, event, places, booking) {
1769
1870
  const options = eventDateOptions({
@@ -1809,20 +1910,22 @@ function eventCardListContent(event, context, buttonText) {
1809
1910
  leadDate: offeringLeadDate(event, context.nextStartMs),
1810
1911
  newTabHint: external,
1811
1912
  ...offeringSchedule(event, context.now),
1812
- ...event.bookingScope === "whole_series" ? { dates: offeringRunDates(event, context.now, content.availability) } : {}
1913
+ ...event.bookingScope === "whole_series" ? offeringRunDates(event, context.now) : {}
1813
1914
  };
1814
- default: return assertNever$1(context);
1915
+ default: return assertNever(context);
1815
1916
  }
1816
1917
  }
1817
1918
  function cardProjectionBase(event, buttonText, context) {
1818
1919
  const offering = context.kind !== "event-details";
1819
1920
  const { cta, availability: places, closed } = cardBooking(event, buttonText, context);
1820
1921
  const titleLink = resolveEventLinkProps(event);
1922
+ const { title, runName } = eventDisplayTitle(event);
1821
1923
  return {
1822
1924
  external: cta.external,
1823
1925
  content: {
1824
1926
  id: event.occurrenceId || event.id,
1825
- title: event.title,
1927
+ title,
1928
+ subtitle: runName,
1826
1929
  ...titleLink.href ? { titleLink } : {},
1827
1930
  quickFacts: event.facts,
1828
1931
  text: event.presentation?.summary ?? event.description,
@@ -1843,7 +1946,7 @@ function cardBooking(event, buttonText, context) {
1843
1946
  now: context.now,
1844
1947
  count: context.count
1845
1948
  });
1846
- default: return assertNever$1(context);
1949
+ default: return assertNever(context);
1847
1950
  }
1848
1951
  }
1849
1952
  function offeringLeadDate(event, startMs) {
@@ -1920,12 +2023,19 @@ function scheduleLine(summary, event, now) {
1920
2023
  }
1921
2024
  }
1922
2025
  }
2026
+ /**
2027
+ * A course's facts are said for the whole course ("6 weekly sessions, 1 hour
2028
+ * each", "£72 for the course"), so one session's length never sits beside
2029
+ * the price of all of them.
2030
+ */
1923
2031
  function offeringFacts(event, places, offering) {
2032
+ const course = event.bookingScope === "whole_series";
2033
+ const sessions = formatCourseSessions(event);
1924
2034
  return [
1925
- ...Math.round((Date.parse(event.endsAt) - Date.parse(event.startsAt)) / 6e4) > 0 && (!offering || event.bookingScope === "whole_series") ? [{
2035
+ ...sessions ? [{
1926
2036
  label: "Length",
1927
- value: formatEventDuration(event, "readable")
1928
- }] : [],
2037
+ value: sessions
2038
+ }] : lengthFact(event, !offering || course),
1929
2039
  ...offering && event.venue ? [{
1930
2040
  label: "Venue",
1931
2041
  value: event.venue.name
@@ -1937,10 +2047,17 @@ function offeringFacts(event, places, offering) {
1937
2047
  }] : [],
1938
2048
  ...offering && event.pricing.kind === "external" ? [] : [{
1939
2049
  label: "Price",
1940
- value: formatEventPriceDisplay(event.pricing)
2050
+ value: course ? formatCoursePrice(event.pricing) : formatEventPriceDisplay(event.pricing)
1941
2051
  }]
1942
2052
  ];
1943
2053
  }
2054
+ function lengthFact(event, shown) {
2055
+ const minutes = Math.round((Date.parse(event.endsAt) - Date.parse(event.startsAt)) / 6e4);
2056
+ return shown && minutes > 0 ? [{
2057
+ label: "Length",
2058
+ value: formatEventDuration(event, "readable")
2059
+ }] : [];
2060
+ }
1944
2061
  function offeringTypeChips(event, typeLabel) {
1945
2062
  return event.eventCategory ? [event.eventCategory.name] : typeLabel ? [typeLabel] : [];
1946
2063
  }
@@ -2390,7 +2507,7 @@ function MonthEvent({ event, timeZone, locale, presentation }) {
2390
2507
  " ",
2391
2508
  /* @__PURE__ */ jsx("span", {
2392
2509
  ...listLookSlot(presentation, "what"),
2393
- children: event.title
2510
+ children: eventDisplayTitleText(event)
2394
2511
  })
2395
2512
  ]
2396
2513
  });
@@ -2861,6 +2978,13 @@ const columnCounts = [
2861
2978
  ];
2862
2979
  const systemCustomizeFacetDefinitions = [
2863
2980
  eventCalendarListLayoutFacet,
2981
+ fixedKnob("block.offerings-preview", "grouping", "Grouping", [{
2982
+ value: "by-kind",
2983
+ label: "Grouped by kind"
2984
+ }, {
2985
+ value: "one-list",
2986
+ label: "One list"
2987
+ }], "by-kind"),
2864
2988
  fixedKnob("block.offerings-preview", "dates", "Dates", [{
2865
2989
  value: "summary",
2866
2990
  label: "Summary"
@@ -3577,7 +3701,7 @@ function formatAppointmentLocation(location) {
3577
3701
  const venue = formatVenue(location.venue);
3578
3702
  return venue ? `${venue} or online` : "In person or online";
3579
3703
  }
3580
- default: return assertNever$1(location);
3704
+ default: return assertNever(location);
3581
3705
  }
3582
3706
  }
3583
3707
  function formatVenue(venue) {
@@ -3623,7 +3747,7 @@ function appointmentPricingDisplay(pricing) {
3623
3747
  maxAmount: pricing.slidingMaxAmount,
3624
3748
  currency: pricing.currency
3625
3749
  };
3626
- default: return assertNever$1(pricing.pricingStrategy);
3750
+ default: return assertNever(pricing.pricingStrategy);
3627
3751
  }
3628
3752
  }
3629
3753
  //#endregion
@@ -3683,7 +3807,7 @@ function serviceDetailsFacts(service) {
3683
3807
  value: describePublicRefundPolicy(service.cancellationPolicy.refunds)
3684
3808
  },
3685
3809
  ...practitioners.length ? [{
3686
- label: practitioners.length === 1 ? "Practitioner" : "Practitioners",
3810
+ label: "With",
3687
3811
  value: practitioners.map((person) => person.roleLabel ? `${person.name}, ${person.roleLabel}` : person.name).join("; ")
3688
3812
  }] : []
3689
3813
  ];
@@ -4010,7 +4134,7 @@ function resolveLinkedContentEditSupport(contentType) {
4010
4134
  kind: "unsupported-domain-backed",
4011
4135
  reason: metadata.reason
4012
4136
  };
4013
- default: return assertNever$1(metadata);
4137
+ default: return assertNever(metadata);
4014
4138
  }
4015
4139
  }
4016
4140
  function contentTypeKeyToLabel(key) {
@@ -4236,7 +4360,7 @@ function sourceLabel(source) {
4236
4360
  case "managed-database": return "DB";
4237
4361
  case "sdk-synced": return "SDK-synced DB";
4238
4362
  case "sdk-config": return "SDK config";
4239
- default: return assertNever$1(source);
4363
+ default: return assertNever(source);
4240
4364
  }
4241
4365
  }
4242
4366
  //#endregion
@@ -4894,4 +5018,4 @@ function plannedSlotParents(entry, look) {
4894
5018
  return arrangementSlotParentsForManifest(entry.definition.manifest, look.look.target, arrangement, look.look.structure.eventRows);
4895
5019
  }
4896
5020
  //#endregion
4897
- export { selectBlockContent as $, offeringDatesBySeries as A, CalendarIcon as B, systemCustomizeFacetDefinitionsForBlock as C, EventListingFrameView as D, MonthLookView as E, EmptyState as F, selectQuickDateEvents as G, buildMonthDay as H, CardListCollection as I, resolveEventCardBooking as J, formatEventTeacherLine as K, CardListItems as L, derivePreviewRunSchedule as M, createEditorPresentationPageReader as N, OfferingCourseCards as O, createPresentationPageReader as P, parseStoredVariant as Q, EventItem as R, lookPartShown as S, EVENT_REGISTRATION_ANCHOR_ID as T, resolveMonthSelectedDay as U, MapPinIcon as V, formatEventQuickDate as W, resolveEventLinkProps as X, resolveEventCta as Y, isBookableEvent as Z, publicAppointmentPricingSchema as _, joinSlotKey as a, resolvePageRouteTarget as b, buildLinkedContentEditTarget as c, builtinTransformDefinitions as d, lookFillPartsFromContent as et, defaultTransforms as f, publicAppointmentLocationSchema as g, formatAppointmentPrice as h, composePageJoins as i, deriveEventScheduleSummary as j, eventCardListContent as k, coerceLinkedContentEntriesPayload as l, formatAppointmentLocation as m, createPageRenderPlanReader as n, buildThemeTokens as nt, renderedJoinLayout as o, formatAppointmentDuration as p, formatEventDuration as q, planArrangementContent as r, defaultThemeTokens as rt, retargetJoinsAcrossOmissions as s, buildPageRenderPlan as t, resolveRuntimeSection as tt, resolveLinkedEntryInlineFieldEligibility as u, resolveAuthoredLinkHref as v, EventHeader as w, resolveRouteTarget as x, resolveEntryRouteTarget as y, eventCategoryBadge as z };
5021
+ export { resolveEventCta as $, offeringDatesBySeries as A, CalendarIcon as B, systemCustomizeFacetDefinitionsForBlock as C, EventListingFrameView as D, MonthLookView as E, EmptyState as F, formatCourseSessions as G, eventDisplayTitle as H, CardListCollection as I, formatEventQuickDate as J, buildMonthDay as K, CardListItems as L, derivePreviewRunSchedule as M, createEditorPresentationPageReader as N, OfferingCourseCards as O, createPresentationPageReader as P, resolveEventCardBooking as Q, EventItem as R, lookPartShown as S, EVENT_REGISTRATION_ANCHOR_ID as T, eventDisplayTitleText as U, MapPinIcon as V, formatCourseDatesAfter as W, formatEventTeacherLine as X, selectQuickDateEvents as Y, formatEventDuration as Z, publicAppointmentPricingSchema as _, joinSlotKey as a, resolveRuntimeSection as at, resolvePageRouteTarget as b, buildLinkedContentEditTarget as c, builtinTransformDefinitions as d, resolveEventLinkProps as et, defaultTransforms as f, publicAppointmentLocationSchema as g, formatAppointmentPrice as h, composePageJoins as i, lookFillPartsFromContent as it, deriveEventScheduleSummary as j, eventCardListContent as k, coerceLinkedContentEntriesPayload as l, formatAppointmentLocation as m, createPageRenderPlanReader as n, parseStoredVariant as nt, renderedJoinLayout as o, buildThemeTokens as ot, formatAppointmentDuration as p, resolveMonthSelectedDay as q, planArrangementContent as r, selectBlockContent as rt, retargetJoinsAcrossOmissions as s, defaultThemeTokens as st, buildPageRenderPlan as t, isBookableEvent as tt, resolveLinkedEntryInlineFieldEligibility as u, resolveAuthoredLinkHref as v, EventHeader as w, resolveRouteTarget as x, resolveEntryRouteTarget as y, eventCategoryBadge as z };
@@ -1,6 +1,6 @@
1
- import { $o as resolveRepeaterGridColumnFieldId, Bs as toUtcIsoDateTimeString, Ci as parseInlineTextFromUnknown, Cs as projectPublicLocation, Di as parseFieldDefinitions, Go as DEFAULT_MEDIA_FIELD_KINDS, Qo as parseRepeaterGridInteger, Rs as resolveBookingBusinessTimeZone, Ti as normalizeSelectSource, Ts as trimmedStringOrNull, Xs as parseContentVersionId, Zo as isAcceptedRepeaterGridSpan, ci as parseBlockIconValue, cs as isRecord$1, es as resolveRepeaterGridRowFieldId, l as sanitizeNewsletterSignupPublicContent, sa as linkSchema, t as getBlockDefinition, ts as resolveRepeaterGridSpanFieldId, wi as plainTextToInlineText, ws as publicLocationSchema, xi as inlineTextToPlainText, xs as locationValueSchema } from "./registry-wYH0LH5f.mjs";
2
- import { c as runtimeBoxBackgroundSchema, s as boxBackgroundSchema } from "./schema-BFOqYIMQ.mjs";
3
- import { f as PUBLIC_FILE_FIELD_KINDS, h as mediaIdentifierSchema, i as mediaSchema, o as runtimeMediaSchema } from "./media-Brn9FW5s.mjs";
1
+ import { $o as isRecord$1, As as resolveBookingBusinessTimeZone, Ci as inlineTextToPlainText, Di as normalizeSelectSource, Ei as plainTextToInlineText, Go as resolveRepeaterGridRowFieldId, Ho as isAcceptedRepeaterGridSpan, Hs as parseContentVersionId, Io as DEFAULT_MEDIA_FIELD_KINDS, Ko as resolveRepeaterGridSpanFieldId, Ms as toUtcIsoDateTimeString, Ti as parseInlineTextFromUnknown, Uo as parseRepeaterGridInteger, Wo as resolveRepeaterGridColumnFieldId, _s as trimmedStringOrNull, gs as publicLocationSchema, hs as projectPublicLocation, ki as parseFieldDefinitions, l as sanitizeNewsletterSignupPublicContent, la as linkSchema, ps as locationValueSchema, t as getBlockDefinition, ui as parseBlockIconValue } from "./registry-34rkAfaU.mjs";
2
+ import { c as runtimeBoxBackgroundSchema, s as boxBackgroundSchema } from "./schema-CUDHMirj.mjs";
3
+ import { f as PUBLIC_FILE_FIELD_KINDS, h as mediaIdentifierSchema, i as mediaSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
4
4
  import { a as isRichTextDoc } from "./richTextSchema-QLaQrbII.mjs";
5
5
  import { t as getFlattenedRepeaterFields } from "./repeaterFields-MIz7r1ez.mjs";
6
6
  import { n as mapOutlineBlocks, r as mapOutlineRegions } from "./pageRegions-BaeEF2MU.mjs";
@@ -1749,6 +1749,14 @@ function resolveSiteCustomBlocks(site) {
1749
1749
  }
1750
1750
  //#endregion
1751
1751
  //#region src/rendering/helpers/pageRuntimeSupport.ts
1752
+ /** The booking-related site runtime, with its defaults. */
1753
+ function siteBookingRenderSupport(site) {
1754
+ return {
1755
+ bookingOfferingPresets: site.bookingOfferingPresets ?? [],
1756
+ bookingTimeZone: resolveBookingBusinessTimeZone(site.bookingTimeZone),
1757
+ businessPerson: site.bookingPerson ?? null
1758
+ };
1759
+ }
1752
1760
  function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
1753
1761
  const customBlocks = resolveSiteCustomBlocks(site);
1754
1762
  return {
@@ -1758,14 +1766,13 @@ function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
1758
1766
  venuesById: locationMapSupport.venuesById
1759
1767
  } : site.site,
1760
1768
  sdkConfig: site.sdkConfig ?? null,
1761
- bookingOfferingPresets: site.bookingOfferingPresets ?? [],
1762
1769
  openingHours: site.businessDetails?.openingHours ?? null,
1763
1770
  siteTerms: site.siteTerms,
1764
1771
  mailingList: site.mailingList,
1765
1772
  interactionContext: site.interactionContext,
1766
1773
  businessLocationPermission: site.site.businessLocationPermission,
1767
1774
  businessAddressVisibility: site.businessDetails?.addressVisibility ?? "hidden",
1768
- bookingTimeZone: resolveBookingBusinessTimeZone(site.bookingTimeZone),
1775
+ ...siteBookingRenderSupport(site),
1769
1776
  now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
1770
1777
  ...customBlocks ? { customBlocks } : {},
1771
1778
  supabaseUrl: site.supabaseUrl,
@@ -1776,8 +1783,9 @@ function buildSiteRenderSupport(site, mediaAssets, locationMapSupport) {
1776
1783
  };
1777
1784
  }
1778
1785
  /** Only already-permitted projections reach the block runtime. */
1779
- function siteLocationRenderContext(support) {
1786
+ function siteBlockRenderContext(support) {
1780
1787
  return {
1788
+ businessPerson: support.businessPerson,
1781
1789
  businessLocationPermission: support.site.businessLocationPermission,
1782
1790
  businessAddressVisibility: support.businessAddressVisibility ?? "hidden",
1783
1791
  businessLocation: support.site.businessLocation ?? null,
@@ -1923,4 +1931,4 @@ function sanitizeNullableSdkRuntimeBlockContent(blockKind, content) {
1923
1931
  return content ? sanitizeSdkRuntimeBlockContent(blockKind, content) : null;
1924
1932
  }
1925
1933
  //#endregion
1926
- export { MQ_TABLET_ONLY as A, normalizeRepeaterGridSpan as C, MQ_MD_UP as D, MQ_MD_DOWN as E, MQ_SM_DOWN as O, flowRepeaterGridItems as S, MQ_LG_UP as T, admitLayoutGridForPlan as _, invalidRenderableBlock as a, projectRepeaterGridLayout as b, readSdkPreviewPublishedPlacement as c, siteLocationRenderContext as d, resolveSiteCustomBlocks as f, validateManifestDraft as g, registeredManifestContentContract as h, collectMediaAssetSidecar as i, readPublishedBlockPlacement as j, MQ_SM_UP as k, resolveSdkBlockManifest as l, compileManifestContentContract as m, buildRenderablePageOutline as n, projectRenderablePageOutline as o, admitTransportedRenderableManifestContent as p, buildSiteRenderSupport as r, readInvalidBlockAdmission as s, buildPageOutline as t, sanitizeSdkRuntimeBlockContent as u, deriveFieldValidationPlan as v, resolveRepeaterGridAcceptedSpans as w, projectRepeaterGridLayoutForRendering as x, fieldPlanToZod as y };
1934
+ export { MQ_TABLET_ONLY as A, normalizeRepeaterGridSpan as C, MQ_MD_UP as D, MQ_MD_DOWN as E, MQ_SM_DOWN as O, flowRepeaterGridItems as S, MQ_LG_UP as T, admitLayoutGridForPlan as _, invalidRenderableBlock as a, projectRepeaterGridLayout as b, readSdkPreviewPublishedPlacement as c, siteBlockRenderContext as d, resolveSiteCustomBlocks as f, validateManifestDraft as g, registeredManifestContentContract as h, collectMediaAssetSidecar as i, readPublishedBlockPlacement as j, MQ_SM_UP as k, resolveSdkBlockManifest as l, compileManifestContentContract as m, buildRenderablePageOutline as n, projectRenderablePageOutline as o, admitTransportedRenderableManifestContent as p, buildSiteRenderSupport as r, readInvalidBlockAdmission as s, buildPageOutline as t, sanitizeSdkRuntimeBlockContent as u, deriveFieldValidationPlan as v, resolveRepeaterGridAcceptedSpans as w, projectRepeaterGridLayoutForRendering as x, fieldPlanToZod as y };