@riverbankcms/sdk 0.179.0 → 0.181.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 (240) hide show
  1. package/README.md +2 -2
  2. package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  3. package/dist/_dts/{Page-lWenra5i.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +3 -2
  5. package/dist/_dts/{client-qWn7xAwJ.d.ts → client-Chr9pNVW.d.ts} +288 -121
  6. package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-kjccgopX.d.ts} +2 -2
  7. package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-BodaiS00.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  9. package/dist/_dts/{index-DCiSHd-C.d.ts → index-Brl6_I2j.d.ts} +5 -4
  10. package/dist/_dts/{index-CaCum9mM.d.ts → index-CJkefwYh.d.ts} +2 -2
  11. package/dist/_dts/{index-7CDBZGb-.d.ts → index-D1WpKwQe.d.ts} +1 -1
  12. package/dist/_dts/{index-BU9uAkHB.d.ts → index-DG0OvBs0.d.ts} +8 -8
  13. package/dist/_dts/{index-BYnG_vF5.d.ts → index-Diqt0PvG.d.ts} +1 -1
  14. package/dist/_dts/{index-CZgJrhzT.d.ts → index-Dy50xUMK.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  16. package/dist/_dts/{request-BjKBCS7t.d.ts → request-CA0izds5.d.ts} +4561 -1390
  17. package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  29. package/dist/_dts/sdk/src/index.d.ts +104 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +84 -53
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  37. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  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 +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 +6 -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-YcsIjvn1.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +8 -7
  55. package/dist/_dts/{types-B7e6Lmo5.d.ts → types-CQrsP1x_.d.ts} +3 -3
  56. package/dist/_dts/{types-CT-KOxl_.d.ts → types-CgS3xLk8.d.ts} +7 -2
  57. package/dist/_dts/{types-BOxSq-Bq.d.ts → types-R65DKjPn.d.ts} +9 -8
  58. package/dist/_dts/{validation-Dz6qccue.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  60. package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-uWfR2kaG.mjs} +177 -70
  61. package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-CyNIKw6k.mjs} +23 -82
  62. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  63. package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  64. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +18 -10
  66. package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  68. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  69. package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CwzrjcRw.mjs} +8 -7
  70. package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  71. package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  72. package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-DZ0qMFF4.mjs} +8 -211
  73. package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +1657 -403
  74. package/dist/client/{Page-ChJ2TGVk.mjs → Page-C7mygH_f.mjs} +536 -287
  75. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  76. package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +27 -24
  77. package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  78. package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  79. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  80. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  81. package/dist/client/{accordion-B6SqU49k.mjs → accordion-CsW8U3ff.mjs} +1 -1
  82. package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-cBWM392H.mjs} +442 -86
  83. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  84. package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  85. package/dist/client/bookings.mjs +51 -15
  86. package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  87. package/dist/client/{carousel-C-YJliD-.mjs → carousel-DJoleFV3.mjs} +2 -2
  88. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  89. package/dist/client/{cart-acGFWK9R.mjs → cart-EO5o6uPH.mjs} +3 -3
  90. package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-D_gPw45z.mjs} +1 -1
  91. package/dist/client/{checkout-SEontwhy.mjs → checkout-NVfZW0kR.mjs} +3 -3
  92. package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  94. package/dist/client/client.mjs +306 -196
  95. package/dist/client/constants-CoOkvw__.mjs +100 -0
  96. package/dist/client/{context-DTrwaQtg.mjs → context-CRhn9qzS.mjs} +922 -388
  97. package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  98. package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  99. package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  100. package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-D7YYKySQ.mjs} +2084 -1640
  101. package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  102. package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  103. package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  104. package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  105. package/dist/client/{form-DyH2juYT.mjs → form-DM8Zbxbv.mjs} +3 -3
  106. package/dist/client/{form.client-DBwzkB0M.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  107. package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  108. package/dist/client/gifting/client.mjs +32 -29
  109. package/dist/client/{gifting-CIx4V378.mjs → gifting-DWIsqQru.mjs} +4 -4
  110. package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  111. package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  112. package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  113. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  114. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  115. package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  116. package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-RuM86VAv.mjs} +37 -44
  117. package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  118. package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  119. package/dist/client/{lookSurfaces-IqT_SVnX.mjs → noop-Dl4mZ-rr.mjs} +257 -49
  120. package/dist/client/portal/client.mjs +11779 -6745
  121. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  122. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  123. package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  124. package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  125. package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-BZJCfqat.mjs} +3 -3
  126. package/dist/client/{productList-DE9GEFoZ.mjs → productList-CiRs3mNb.mjs} +3 -3
  127. package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  128. package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-CDNNd8wC.mjs} +318 -235
  129. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  130. package/dist/client/rendering/client.mjs +26 -26
  131. package/dist/client/rendering/islands.mjs +1 -1
  132. package/dist/client/rendering.mjs +16 -8
  133. package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  134. package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  136. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  137. package/dist/client/{shop-C3wM0Hr4.mjs → shop-Rx_gEMK8.mjs} +3 -3
  138. package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  139. package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  140. package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  141. package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  142. package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  143. package/dist/client/spam-protection.mjs +1 -1
  144. package/dist/client/src-Al4ooTl_.mjs +164 -0
  145. package/dist/client/{src-CCtanNlD.mjs → src-ZSqRK3dD.mjs} +345 -92
  146. package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BQJrSK0K.mjs} +205 -80
  147. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  148. package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-Dm3lKJKR.mjs} +3 -24
  149. package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  150. package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  151. package/dist/client/{view-LJVHVqsy.mjs → view-CC_yQLSA.mjs} +4 -4
  152. package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-BliJOzEX.mjs} +2512 -675
  153. package/dist/preview-next/before-render.mjs +1 -0
  154. package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
  155. package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
  156. package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-BhL0uADo.mjs} +4 -4
  157. package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +8 -7
  158. package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-BS32G4V9.mjs} +5 -5
  159. package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-RL0WfZXD.mjs} +7 -7
  160. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +39 -7
  161. package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
  162. package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-CQyS8pcq.mjs} +10318 -3719
  163. package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  164. package/dist/preview-next/client/runtime.mjs +3 -3
  165. package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  166. package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-BlmbvbLN.mjs} +37 -25
  167. package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  168. package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +2 -2
  169. package/dist/preview-next/container-responsive.css +292 -170
  170. package/dist/preview-next/keepAlive.mjs +1 -1
  171. package/dist/preview-next/middleware.mjs +1 -1
  172. package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-R3PcMmax.mjs} +114 -37
  173. package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  174. package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQWsnGT6.mjs} +133 -120
  175. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  176. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  177. package/dist/server/{bindings-Bly0dRs7.mjs → bindings-DxojjtK3.mjs} +7 -7
  178. package/dist/server/{client-CGJ2ztYp.mjs → client-CDndhbYO.mjs} +1412 -1307
  179. package/dist/server/config-validation.mjs +1 -1
  180. package/dist/server/config.mjs +2 -2
  181. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  182. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  183. package/dist/server/data/resolveBlockData.mjs +1 -1
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-BKstMBmX.mjs} +7 -4
  186. package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-TFjgNG61.mjs} +74 -18
  188. package/dist/server/manifest.mjs +36 -25
  189. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  190. package/dist/server/media-BRmYrnzb.mjs +31 -0
  191. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  192. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  193. package/dist/server/navigation.mjs +1 -1
  194. package/dist/server/next.mjs +170 -104
  195. package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  196. package/dist/server/page-converter.mjs +3 -3
  197. package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-B7iULvKe.mjs} +15 -12
  198. package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BytMroxn.mjs} +9 -5
  199. package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-Dcs_XTIO.mjs} +836 -624
  200. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  201. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  202. package/dist/server/portal.mjs +3 -3
  203. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  204. package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-agaH-vZV.mjs} +1 -1
  205. package/dist/server/prebuild.mjs +1 -1
  206. package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-DwpRjqw4.mjs} +5 -3
  207. package/dist/server/{registry-DH1VrsCl.mjs → registry-DM9dHfDC.mjs} +582 -526
  208. package/dist/server/rendering/components/pageShared.mjs +1 -1
  209. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  210. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  211. package/dist/server/rendering/server.mjs +4 -4
  212. package/dist/server/rendering.mjs +10 -9
  213. package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-CinHGf8l.mjs} +39 -31
  214. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  215. package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
  216. package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-IfH65QAH.mjs} +57 -2
  217. package/dist/server/routing.mjs +1 -1
  218. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-BBBhOtdE.mjs} +31 -26
  221. package/dist/server/theme-bridge.mjs +3 -2
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  224. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  225. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  226. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  227. package/dist/server/{validation-3jOzYdPL.mjs → validation-DG5jX3jH.mjs} +70 -17
  228. package/dist/server/{version-8t0o6_jd.mjs → version-CipbxPHL.mjs} +1 -1
  229. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  230. package/dist/styles/index.css +3446 -3796
  231. package/package.json +2 -1
  232. package/dist/_dts/index-DVSipdrT.d.ts +0 -101
  233. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  234. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  235. package/dist/client/constants-4o4_hl34.mjs +0 -6
  236. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  237. package/dist/client/formatDate-CTEN7gxW.mjs +0 -26
  238. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  239. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  240. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1,26 +1,25 @@
1
1
  "use client";
2
- import { An as parseContentVersionId, Cn as formatEventStartingPrice, En as parseMailingListPlacementTargeting, Gt as cardListPresentationSchemaShape, P as occurrenceContextSchema, Qt as buildEventListWeek, Yt as quickFactSlots, ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, dt as isOfferingsPreviewSourceKey, fn as isHeaderScrollRuntimeEnabled, ft as normalizeOfferingsPreviewContentForWrite, gn as planSiteChromePlacement, gt as readOfferingsGrouping, hn as parseHeaderPositioning, ht as offeringsListingFor, it as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, jn as unsafeAsContentEntryId, kn as sameMailingListPlacementTargeting, ln as projectRecurringSchedule, m as combinedLookSchema, ot as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, pn as resolveHeaderChromeRuntimeContract, un as recurringScheduleProjectionSchema, ut as groupOfferingRunsByCourse, wn as buildMailingListSignupBlockSourceRef } from "./newsletter-form.interactive-DCO1lErD.mjs";
3
- import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { Ao as generateLookMediaFrameCss, Co as asPartialObject, Eo as inlineTextToPlainText, Ir as planWholeSeriesParentBooking, Lo as isRecord$8, Mo as parseBlockColorToken, No as readRuntimeNow, Oo as parseInlineTextFromUnknown, Or as normalizeEventRegistrationPageSurfaceSubject, Po as resolveDateRuntimeContext, Ra as isBlockButtonRole, So as sectionStateToneFromKind, To as runTransforms, Va as eventCalendarWeekStart, Vr as selectionRepresentativeEvent, _o as createImageShapeField, ao as MediaPlaceholder, as as offeringLabelForPageSurfaceSubject, bo as uiTransforms, go as systemCustomizeFacetDefinitionsForBlock, ho as resolveArrangementKnobs, jo as resolveLookMediaFrame, ko as plainTextToInlineText, oo as computeMediaTransformStyle, ss as formatBookingPriceDisplay, vo as heroTitleSizeOptions, wo as createTransformRegistry, xo as SECTION_STATE_KINDS, yo as createAspectRatioField, ys as unsafeAsEventCategoryId, zr as registrationDataForEventSelection } from "./wizardSteps-CNDsxeJH.mjs";
5
- import { $ as PUBLIC_FILE_FIELD_KINDS, C as publicEventPricingSchema, Dt as calendarWindowQuerySchema, Ft as locationValueSchema, G as isRichTextDoc, H as RichTextDocSchema, Ht as trimmedStringOrNull, Kt as formatDate, Lt as parseLocationValue, Mt as isRecord$9, N as eventCalendarListGroupingDecision, Nt as EVENT_PRESET_VALUES, O as bookingConsentCarrierSchema, Pt as WHOLE_SERIES_EVENT_PRESET_VALUES, Rt as projectPublicLocation, T as publicEventsArraySchema, U as buildRichTextSchema, V as resolveEventCalendarReadPlan, W as createRichTextDoc, Y as mediaSchema, Z as runtimeMediaSchema, b as publicPassProductCollectionSchema, dt as isArrangementMode, ft as tileTreatmentValues, ln as getLocalScheduleDate, mn as resolveBookingBusinessTimeZone, pn as toUtcIsoDateTimeString, st as eventListTreatmentValues, u as logger, v as resolveCalendarReadProfile, x as eventVenueDrawingSchema, y as publicMembershipProductCollectionSchema, zt as publicLocationSchema } from "./src-CCtanNlD.mjs";
6
- import { T as assertNever$4 } from "./creditProducts-BQ1t1erI.mjs";
7
- import { l as monthSlotParents } from "./CalendarNavigationChevron-Bbqij1XQ.mjs";
8
- import { $t as media, A as eventRegistrationBlockDefinition, An as lookQuoteLimitTransform, At as desktopOnlyDisplay, B as defineFragment, Bn as DEFAULT_MEDIA_FIELD_KINDS, Bt as SectionNode, C as teamReadiness, Cn as publicAppointmentPricingSchema, Ct as eventHeaderSlotParents, D as loadedReadinessFact, Dn as resolveBackgroundColorValue, E as hiddenFromVisitors, En as getAnchorClasses, F as augmentManifest, Fn as ACCORDION_TRIGGER_FONT_SCALE, G as parseFieldDefinitions, Gn as resolveRepeaterGridSpanFieldId, Gt as carousel, H as createSiteOptionSelectField, Hn as parseRepeaterGridInteger, Ht as bind, I as formEmbedFragment, In as ACCORDION_TRIGGER_LETTER_SPACING, It as PUBLIC_DOWNLOAD_MEDIA_TYPES, J as sectionHeaderLayoutNodes, Jt as form, K as withApiBindings, Kn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Kt as el, L as formCopyFragment, Ln as ICON_CONFIG, Lt as FEATURE_CARD_GENERATED_ICON_SIZE_PX, M as checkoutBlockDefinition, Mn as lookSlot, N as cartBlockDefinition, Nn as ACCORDION_OPEN_ACCENT_THICKNESS, O as pageTemplateFromEntry, On as lookCarouselRegionTransform, P as createBlockManifest, Pn as ACCORDION_SPACING_MAP, Q as backgroundFrame, Qt as link, R as buildFragmentDataLoaders, Rn as ICON_SIZE_PX, Rt as FEATURE_CARD_ICON_TREATMENTS, S as galleryReadiness, Sn as publicAppointmentLocationSchema, St as lookPartShown, T as admitReadinessFacts, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as buildAppointmentServicesView, U as normalizeSelectSource, Un as resolveRepeaterGridColumnFieldId, Ut as bookingForm, V as createSdkSelectField, Vn as isAcceptedRepeaterGridSpan, Vt as accordionList, W as parseFieldDefinition, Wn as resolveRepeaterGridRowFieldId, Wt as button, X as sectionContainer, Xn as isCanonicalRichTextDoc, Xt as icon, Y as styledContainer, Yn as publicMapLocationResultSchema, Yt as headerSection, Z as styledSection, Zt as inline, _ as cardListSectionActionFields, _n as eventScopeQueryKeys, _t as normalizeLocationMapProps, a as cardListSectionAction, an as text, at as eventDisplayFields, b as formDataSchema, bn as formatAppointmentLocation, bt as resolveLocationMapLocation, c as newsletterSignupBlockDefinition, cn as blockChecksForEvents, ct as containerStylesField, d as eventListingBlockDefinition, dn as eventReadinessQueryKeys, dt as createButtonVariantField, en as props, et as buildLoadedOfferingsPreviewListing, f as mapDrawingStyleBinding, fn as eventReadinessResultSchema, g as cardListPresentationBindings, gn as eventScopeQuery, gt as describeUnresolvedLocationMapLocation, h as cardListPhotoNumberFields, hn as eventScopeLoaderParam, ht as LOCATION_MAP_LOADER_KEYS, i as shopBlockDefinition, in as stack, it as emptyStateField, j as giftingBlockDefinition, jn as lookSkinSlotTransform, jt as mobileOnlyDisplay, k as unavailableReadinessFact, kn as lookLeadSlotTransform, l as sanitizeNewsletterSignupPublicContent, ln as eventReadinessLoaderKey, lt as sectionStylesField, m as cardListKnobFields, mn as eventDiscoveryFilterKeys, mt as LOCATION_MAP_LIMITS, nn as richText, nt as cardStylingFields, o as productListBlockDefinition, on as videoEmbed, ot as layoutField, p as eventCalendarBlockDefinition, pn as eventWeekReadScope, pt as LOCATION_MAP_DEFAULTS, q as sectionHeaderFields, qn as linkSchema, qt as fileDownload, rn as section, rt as columnsField, s as productDetailBlockDefinition, sn as when, st as cardStylesField, t as serverComponentRegistry, tn as repeat, tt as offeringCourseSlotParents, u as normalizeMailingListBlockContent, un as eventReadinessQuery, ut as createButtonGroup, v as normalizeCardListContent, vn as resolveEventScope, vt as normalizeLocationMapSource, w as testimonialsReadiness, wn as teamMemberCardBiographyFallback, wt as resolveEventDetailsPresentation, x as chosenString, xn as formatAppointmentPrice, y as formBlockDefinition, yn as formatAppointmentDuration, yt as parseLocationMapLoaderResult, z as composeFragments, zn as bindingSchema, zt as parseBlockIconValue } from "./registry.server-BPwV-0Pp.mjs";
9
- import { $ as navLinkHoverColorCandidate, A as componentRuntimeRulesForSiteStyle, At as appearancePresets, B as gradientToCss, Bt as featureCardCompositionTreatmentValues, C as resolvePublishedLook, Cn as asSiteStyleId, Ct as parseCanonicalRuntimeBackground, D as deriveSiteStyleBlockPolicy, Dt as defaultHeroImageSurfaceTreatment, E as buildInitialPolicyPageDesignIntent, Et as sectionSurfaceBase, F as requireCuratedSiteStyle, Ft as defineBlockDesignCapability, G as footerForegroundCandidates, Gt as testimonialsCompositionTreatmentValues, H as resolveCardRole, Ht as offeringsPreviewCompositionTreatmentValues, I as compilePageRuntimeFields, It as defineExactCatalog, J as generateNavLinkCSS, Jt as opaqueSurfaceDeclarations, K as getNavLinkPreset, Kt as toNonEmptyReadonlyArray, Lt as defineFrameCapability, M as designRuntimeRulesForSiteStyle, N as designRuntimeRulesForTheme, Nt as lookModes, O as filterLayoutProfilesForPolicy, Ot as stripStaleTransitionStyleGroup, P as getCuratedSiteStyle, Pt as assertNever$5, Q as generateInteractiveChildInheritanceCSS, Qt as TokenResolver, R as stripCompiledRuntimeStyleFields, Rt as defineNoBlockDesignCapability, S as resolveModeArrangement, Sn as asPageFlowPresetId, St as deriveSectionGround, T as applySiteStyleBlockPoliciesToPageDesignIntent, Tt as sectionForegroundBackground, U as generateDefaultCardSystem, Ut as plainFrame, V as getGradientPreset, Vt as introCompositionTreatmentValues, W as generateFooterCss, Wt as sectionBackgroundPaintValues, X as resolveEffectApplications, Xt as surfaceToneFromForegroundToken, Y as generateEffectsCSS, Yt as selectLogoVariant, Z as resolveEffectPaint, Zt as arrangementSlotNames, _ as resolveLookForBlock, _n as asHeaderStyleId, _t as spaciousBoundaryOption, a as resolvedItemSurfaceProps, an as customCssRuleSchema, at as resolvePageDesignBoundaryChoice, b as readStoredMode, bn as asDesignBlockId, bt as transitionCatalogueEntries, c as resolveLookSurfacePresentation, cn as runtimeBoxBackgroundSchema, ct as sectionShapeFromContent, d as arrangementLookHooks, dn as cardVariantRoleValues, dt as boundaryOptions, et as navLinkOwnsHoverForeground, f as arrangementStyleAvailability, ft as boundaryRuntimeMetricsForDecorativeTransition, g as resolveArrangementLookForBlock, gn as asHeaderLayoutId, gt as softBoundaryOption, h as getCompatibleBlockAppearancePresets, hn as parseGradientPresetId, ht as noneBoundaryOption, in as blockCustomCssRuleSchema, it as resolvePageDesignBlockLookChoice, j as componentRuntimeRulesForTheme, k as filterLookIdsForPolicy, kt as themeV2CompilerOwnedFieldNames, l as selectItemSurfacePresentation, lt as sectionShapeHook, m as compileArrangementLookRuntime, mn as surfaceCardRoleValues, mt as isDecorativeTransitionIntent, nn as themeSchema, nt as parsePageDesignIntent, o as itemRole, ot as pageDesignDecisionsV2Schema, p as automaticArrangementLook, pt as boundaryTreatmentForBoundaryOptionId, q as buildTextContrastShadow, qt as opaqueSurfaceContextFromTheme, rn as headerVariantValues, rt as rebasePageDesignIntentToSiteStyle, s as lookPresentationOnPalette, sn as boxBackgroundSchema, st as sectionShapeForGround, tn as sectionStylesOverrideSchema, tt as navLinkOwnsUnderline, u as arrangementAppearancePresets, ut as boundaryOptionForTransitionIntent, v as styleSectionBackgroundForColour, vn as siteChromeBackgroundOverrideOwner, vt as transitionIntentForTreatment, w as applyBlockContentVariantPolicy, wn as makeBoundaryId, wt as resolveSectionBackground, x as resolveEffectiveArrangement, xn as asLayoutVariantKey, xt as applyLookPhotoTreatment, y as arrangementManifestFromVariants, yn as asAppearancePresetId, yt as anglePolygonCss, z as surfaceResolutionContextFromTheme, zt as designIssueSeverityForPolicy } from "./lookSurfaces-IqT_SVnX.mjs";
2
+ import { $t as buildEventListWeek, An as sameMailingListPlacementTargeting, Dn as parseMailingListPlacementTargeting, Kt as cardListPresentationSchemaShape, Mn as unsafeAsContentEntryId, P as occurrenceContextSchema, Tn as buildMailingListSignupBlockSourceRef, Xt as quickFactSlots, _n as planSiteChromePlacement, _t as readOfferingsGrouping, at as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, dn as recurringScheduleProjectionSchema, dt as groupOfferingRunsByCourse, ft as isOfferingsPreviewSourceKey, gn as parseHeaderPositioning, gt as offeringsListingFor, jn as parseContentVersionId, lt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, m as combinedLookSchema, mn as resolveHeaderChromeRuntimeContract, pn as isHeaderScrollRuntimeEnabled, pt as normalizeOfferingsPreviewContentForWrite, st as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE, un as projectRecurringSchedule, wn as formatEventStartingPrice } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
4
+ import { A as eventCalendarListGroupingDecision, B as buildRichTextSchema, C as publicEventsArraySchema, Cn as toUtcIsoDateTimeString, E as bookingConsentCarrierSchema, H as isRichTextDoc, Hn as unsafeAsEventCategoryId, Ht as EVENT_PRESET_VALUES, It as calendarWindowQuerySchema, J as runtimeMediaSchema, Jt as publicLocationSchema, K as mediaSchema, Kt as parseLocationValue, Qt as trimmedStringOrNull, R as resolveEventCalendarReadPlan, Sn as parseUtcIsoDateTimeString, Ut as WHOLE_SERIES_EVENT_PRESET_VALUES, V as createRichTextDoc, Vt as isRecord$8, Wt as locationValueSchema, X as PUBLIC_FILE_FIELD_KINDS, _ as publicMembershipProductCollectionSchema, bn as parseBookingLocalDate, ct as isArrangementMode, g as resolveCalendarReadProfile, in as formatDateTime, it as eventListTreatmentValues, lt as tileTreatmentValues, nn as formatDate$1, qt as projectPublicLocation, v as publicPassProductCollectionSchema, wn as resolveBookingBusinessTimeZone, x as publicEventPricingSchema, y as eventVenueDrawingSchema, yn as getLocalScheduleDate, z as RichTextDocSchema } from "./src-ZSqRK3dD.mjs";
5
+ import { Ci as planWholeSeriesParentBooking, Ei as registrationDataForEventSelection, Eo as isBlockButtonRole, Jo as computeMediaTransformStyle, Oi as selectionRepresentativeEvent, Ss as resolveDateRuntimeContext, Ts as isRecord$9, _s as plainTextToInlineText, as as createImageShapeField, bs as parseBlockColorToken, cs as uiTransforms, ds as asPartialObject, fs as createTransformRegistry, gs as parseInlineTextFromUnknown, hi as normalizeEventRegistrationPageSurfaceSubject, ic as offeringLabelForPageSurfaceSubject, is as systemCustomizeFacetDefinitionsForBlock, ko as eventCalendarWeekStart, ls as SECTION_STATE_KINDS, ms as inlineTextToPlainText, oc as formatBookingPriceDisplay, os as heroTitleSizeOptions, ps as runTransforms, qo as MediaPlaceholder, rs as resolveArrangementKnobs, ss as createAspectRatioField, us as sectionStateToneFromKind, vs as generateLookMediaFrameCss, xs as readRuntimeNow, ys as resolveLookMediaFrame } from "./wizardSteps-BliJOzEX.mjs";
6
+ import { l as monthSlotParents } from "./CalendarNavigationChevron-BGCX3zwG.mjs";
7
+ import { h as assertNever$4 } from "./bookingCalendar--aWnqFDn.mjs";
8
+ import { $t as media, A as eventRegistrationBlockDefinition, An as lookQuoteLimitTransform, At as desktopOnlyDisplay, B as defineFragment, Bn as DEFAULT_MEDIA_FIELD_KINDS, Bt as SectionNode, C as teamReadiness, Cn as publicAppointmentPricingSchema, Ct as eventHeaderSlotParents, D as loadedReadinessFact, Dn as resolveBackgroundColorValue, E as hiddenFromVisitors, En as getAnchorClasses, F as augmentManifest, Fn as ACCORDION_TRIGGER_FONT_SCALE, G as parseFieldDefinitions, Gn as resolveRepeaterGridSpanFieldId, Gt as carousel, H as createSiteOptionSelectField, Hn as parseRepeaterGridInteger, Ht as bind, I as formEmbedFragment, In as ACCORDION_TRIGGER_LETTER_SPACING, It as PUBLIC_DOWNLOAD_MEDIA_TYPES, J as sectionHeaderLayoutNodes, Jt as form, K as withApiBindings, Kn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Kt as el, L as formCopyFragment, Ln as ICON_CONFIG, Lt as FEATURE_CARD_GENERATED_ICON_SIZE_PX, M as checkoutBlockDefinition, Mn as lookSlot, N as cartBlockDefinition, Nn as ACCORDION_OPEN_ACCENT_THICKNESS, O as pageTemplateFromEntry, On as lookCarouselRegionTransform, P as createBlockManifest, Pn as ACCORDION_SPACING_MAP, Q as backgroundFrame, Qt as link, R as buildFragmentDataLoaders, Rn as ICON_SIZE_PX, Rt as FEATURE_CARD_ICON_TREATMENTS, S as galleryReadiness, Sn as publicAppointmentLocationSchema, St as lookPartShown, T as admitReadinessFacts, Tn as BACKGROUND_POSITION_PRESET_VALUES, Tt as buildAppointmentServicesView, U as normalizeSelectSource, Un as resolveRepeaterGridColumnFieldId, Ut as bookingForm, V as createSdkSelectField, Vn as isAcceptedRepeaterGridSpan, Vt as accordionList, W as parseFieldDefinition, Wn as resolveRepeaterGridRowFieldId, Wt as button, X as sectionContainer, Xn as isCanonicalRichTextDoc, Xt as icon, Y as styledContainer, Yn as publicMapLocationResultSchema, Yt as headerSection, Z as styledSection, Zt as inline, _ as cardListSectionActionFields, _n as eventScopeQueryKeys, _t as normalizeLocationMapProps, a as cardListSectionAction, an as text, at as eventDisplayFields, b as formDataSchema, bn as formatAppointmentLocation, bt as resolveLocationMapLocation, c as newsletterSignupBlockDefinition, cn as blockChecksForEvents, ct as containerStylesField, d as eventListingBlockDefinition, dn as eventReadinessQueryKeys, dt as createButtonVariantField, en as props, et as buildLoadedOfferingsPreviewListing, f as mapDrawingStyleBinding, fn as eventReadinessResultSchema, g as cardListPresentationBindings, gn as eventScopeQuery, gt as describeUnresolvedLocationMapLocation, h as cardListPhotoNumberFields, hn as eventScopeLoaderParam, ht as LOCATION_MAP_LOADER_KEYS, i as shopBlockDefinition, in as stack, it as emptyStateField, j as giftingBlockDefinition, jn as lookSkinSlotTransform, jt as mobileOnlyDisplay, k as unavailableReadinessFact, kn as lookLeadSlotTransform, l as sanitizeNewsletterSignupPublicContent, ln as eventReadinessLoaderKey, lt as sectionStylesField, m as cardListKnobFields, mn as eventDiscoveryFilterKeys, mt as LOCATION_MAP_LIMITS, nn as richText, nt as cardStylingFields, o as productListBlockDefinition, on as videoEmbed, ot as layoutField, p as eventCalendarBlockDefinition, pn as eventWeekReadScope, pt as LOCATION_MAP_DEFAULTS, q as sectionHeaderFields, qn as linkSchema, qt as fileDownload, rn as section, rt as columnsField, s as productDetailBlockDefinition, sn as when, st as cardStylesField, t as serverComponentRegistry, tn as repeat, tt as offeringCourseSlotParents, u as normalizeMailingListBlockContent, un as eventReadinessQuery, ut as createButtonGroup, v as normalizeCardListContent, vn as resolveEventScope, vt as normalizeLocationMapSource, w as testimonialsReadiness, wn as teamMemberCardBiographyFallback, wt as resolveEventDetailsPresentation, x as chosenString, xn as formatAppointmentPrice, y as formBlockDefinition, yn as formatAppointmentDuration, yt as parseLocationMapLoaderResult, z as composeFragments, zn as bindingSchema, zt as parseBlockIconValue } from "./registry.server-CDNNd8wC.mjs";
9
+ import { $ as generateInteractiveChildInheritanceCSS, $t as TokenResolver, A as filterLookIdsForPolicy, At as themeV2CompilerOwnedFieldNames, B as surfaceResolutionContextFromTheme, Bt as designIssueSeverityForPolicy, C as resolveModeArrangement, Cn as asPageFlowPresetId, Ct as deriveSectionGround, D as buildInitialPolicyPageDesignIntent, Dt as sectionSurfaceBase, E as applySiteStyleBlockPoliciesToPageDesignIntent, Et as sectionForegroundBackground, F as getCuratedSiteStyle, Ft as assertNever$5, G as generateFooterCss, Gt as sectionBackgroundPaintValues, H as getGradientPreset, Ht as introCompositionTreatmentValues, I as requireCuratedSiteStyle, It as defineBlockDesignCapability, J as buildTextContrastShadow, Jt as opaqueSurfaceContextFromTheme, K as footerForegroundCandidates, Kt as testimonialsCompositionTreatmentValues, L as compilePageRuntimeFields, Lt as defineExactCatalog, M as componentRuntimeRulesForTheme, N as designRuntimeRulesForSiteStyle, O as deriveSiteStyleBlockPolicy, Ot as defaultHeroImageSurfaceTreatment, P as designRuntimeRulesForTheme, Pt as lookModes, Q as resolveEffectPaint, Qt as arrangementSlotNames, Rt as defineFrameCapability, S as resolveEffectiveArrangement, Sn as asLayoutVariantKey, St as applyLookPhotoTreatment, T as applyBlockContentVariantPolicy, Tn as makeBoundaryId, Tt as resolveSectionBackground, U as resolveCardRole, Ut as offeringsPreviewCompositionTreatmentValues, V as gradientToCss, Vt as featureCardCompositionTreatmentValues, W as generateDefaultCardSystem, Wt as plainFrame, X as generateEffectsCSS, Xt as selectLogoVariant, Y as generateNavLinkCSS, Yt as opaqueSurfaceDeclarations, Z as resolveEffectApplications, Zt as surfaceToneFromForegroundToken, _ as resolveArrangementLookForBlock, _n as asHeaderLayoutId, _t as softBoundaryOption, an as blockCustomCssRuleSchema, at as resolvePageDesignBlockLookChoice, b as arrangementManifestFromVariants, bn as asAppearancePresetId, bt as anglePolygonCss, c as lookPresentationOnPalette, cn as boxBackgroundSchema, ct as sectionShapeForGround, d as arrangementAppearancePresets, dt as boundaryOptionForTransitionIntent, et as navLinkHoverColorCandidate, f as arrangementLookHooks, fn as cardVariantRoleValues, ft as boundaryOptions, g as getCompatibleBlockAppearancePresets, gn as parseGradientPresetId, gt as noneBoundaryOption, h as compileArrangementLookRuntime, hn as surfaceCardRoleValues, ht as isDecorativeTransitionIntent, in as headerVariantValues, it as rebasePageDesignIntentToSiteStyle, j as componentRuntimeRulesForSiteStyle, jt as appearancePresets, k as filterLayoutProfilesForPolicy, kt as stripStaleTransitionStyleGroup, l as resolveLookSurfacePresentation, ln as runtimeBoxBackgroundSchema, lt as sectionShapeFromContent, m as automaticArrangementLook, mt as boundaryTreatmentForBoundaryOptionId, nn as sectionStylesOverrideSchema, nt as navLinkOwnsUnderline, o as resolvedItemSurfaceProps, on as customCssRuleSchema, ot as resolvePageDesignBoundaryChoice, p as arrangementStyleAvailability, pt as boundaryRuntimeMetricsForDecorativeTransition, q as getNavLinkPreset, qt as toNonEmptyReadonlyArray, rn as themeSchema, rt as parsePageDesignIntent, s as itemRole, st as pageDesignDecisionsV2Schema, t as logger, tt as navLinkOwnsHoverForeground, u as selectItemSurfacePresentation, ut as sectionShapeHook, v as resolveLookForBlock, vn as asHeaderStyleId, vt as spaciousBoundaryOption, w as resolvePublishedLook, wn as asSiteStyleId, wt as parseCanonicalRuntimeBackground, x as readStoredMode, xn as asDesignBlockId, xt as transitionCatalogueEntries, y as styleSectionBackgroundForColour, yn as siteChromeBackgroundOverrideOwner, yt as transitionIntentForTreatment, z as stripCompiledRuntimeStyleFields, zt as defineNoBlockDesignCapability } from "./noop-Dl4mZ-rr.mjs";
10
10
  import { T as parseThemeColorToken, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, w as parseColorTokenParts } from "./types-BEaKfam_.mjs";
11
- import { $ as solveSurfaceInks, A as DEFAULT_BUTTON_SIZES, C as buttonRadius, Ct as resolveOpaqueSurfaceHex, D as materializeRuntimeButtonAppearance, Dt as contrastRatio, E as buttonTypographyDeclarations, Ft as rgbToHex, G as mergeStyles, H as backgroundColorStyle, It as srgbToOklab, J as textColorValue, K as rgbColorValue, L as mapButtonVisualAppearances, M as FONT_SIZE_MAP, Mt as oklabToOklch, N as generateShadowValue$1, Nt as oklabToSrgb, O as paddingDeclarations, Pt as oklchToHexGamut, S as buttonBorder, St as resolveConcreteColorHex, T as buttonStateAppearanceDeclarations, U as borderColorStyle, W as cssVarValue, X as safeTokenOr, Y as resolveSurfaceForeground, Z as surfaceInkPublication, _t as surfaceInkDeclarations, at as inkReference, b as BUTTON_CONTRAST_POLICY, bt as freezeOwnedThemeValue, ct as planForegroundHover, dt as SURFACE_INK_CSS_VARS, f as compositeHex, ft as surfaceForegroundDeclarations, g as actionVariableFallback, gt as surfaceForegroundValueWithOpacity, ht as surfaceForegroundValue, it as contrastThresholdByPolicy, jt as hexToRgb, k as BORDER_WIDTH_MAP, l as surfaceDecorationColors, lt as DEFAULT_SURFACE_TEXT_COLOR, mt as surfaceForegroundStyle, n as parseSurfaceTree, nt as HOVER_TEXT_THRESHOLD, o as resolveSurface, ot as expandPalette, pt as surfaceForegroundInputFromResolved, q as textColorStyle, r as prepareSurfaceIndex, rt as certifyPaint, ut as SURFACE_FOREGROUND_CSS_VARS, v as compileButtonColourStates, vt as surfaceInkStyle, w as buttonShadow, x as formatButtonColourContractError, xt as ownedThemeSnapshot, y as resolveSolidButtonColour, yt as surfaceInkValue } from "./accessibleSurfaces-Wl8-_OVJ.mjs";
12
- import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-DEh45w16.mjs";
13
- import { C as parseThemeButtonVariantId, T as AFFORDANCE_SUPPRESS_CLASS, w as themeButtonSelector } from "./ThemedButton-CnSa7o-I.mjs";
11
+ import { $ as surfaceInkPublication, A as DEFAULT_BUTTON_SIZES, At as ORDINARY_TEXT_MIN_CONTRAST_RATIO, Bt as rgbToHex, C as buttonRadius, Ct as freezeOwnedThemeValue, D as materializeRuntimeButtonAppearance, E as buttonTypographyDeclarations, Et as resolveOpaqueSurfaceHex, G as mergeStyles, H as backgroundColorStyle, It as hexToRgb, J as textColorValue, K as rgbColorValue, L as mapButtonVisualAppearances, Lt as oklabToOklch, M as FONT_SIZE_MAP, N as generateShadowValue$1, Nt as solidPaint, O as paddingDeclarations, Q as safeTokenOr, Rt as oklabToSrgb, S as buttonBorder, St as surfaceInkValue, T as buttonStateAppearanceDeclarations, Tt as resolveConcreteColorHex, U as borderColorStyle, Vt as srgbToOklab, W as cssVarValue, X as staysInsideDeclaration, Y as callsCssLoadingFunction, Z as resolveSurfaceForeground, _t as surfaceForegroundStyle, at as HOVER_TEXT_THRESHOLD, b as BUTTON_CONTRAST_POLICY, bt as surfaceInkDeclarations, ct as inkReference, dt as planForegroundHover, f as compositeHex, ft as DEFAULT_SURFACE_TEXT_COLOR, g as actionVariableFallback, gt as surfaceForegroundInputFromResolved, ht as surfaceForegroundDeclarations, jt as contrastRatio, k as BORDER_WIDTH_MAP, l as surfaceDecorationColors, lt as expandPalette, mt as SURFACE_INK_CSS_VARS, n as parseSurfaceTree, nt as neutralInk, o as resolveSurface, ot as certifyPaint, pt as SURFACE_FOREGROUND_CSS_VARS, q as textColorStyle, r as prepareSurfaceIndex, st as contrastThresholdByPolicy, tt as solveSurfaceInks, v as compileButtonColourStates, vt as surfaceForegroundValue, w as buttonShadow, wt as ownedThemeSnapshot, x as formatButtonColourContractError, xt as surfaceInkStyle, y as resolveSolidButtonColour, yt as surfaceForegroundValueWithOpacity, zt as oklchToHexGamut } from "./accessibleSurfaces-n6kS6Hct.mjs";
12
+ import { _ as parseRuntimeBackgroundContent, a as hasFixedFrameBackgroundMotion, c as resolveItemCardRole, d as isSectionMinHeight, f as isSemanticSpacing, g as parseBackgroundOverlay, h as parseBackgroundContent, i as fixedFrameScopeClass, m as resolveSpacing, n as ROUNDED_CLASSES, o as normalizeBoxStylesBorder, p as resolveSectionMinHeight, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, t as RAISED_SHADOW_CLASS, u as SEMANTIC_SPACING_VALUES } from "./boxStyleClassNames-BpGVdLFD.mjs";
13
+ import { C as themeButtonSelector, S as parseThemeButtonVariantId, w as AFFORDANCE_SUPPRESS_CLASS } from "./ThemedButton-PFOhXktM.mjs";
14
14
  import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
15
15
  import { s as declarativeCarouselSlides } from "./carousel.shared-BFQ3kBEw.mjs";
16
- import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
16
+ import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
17
17
  import { n as eventAutoApplyDiscountPreviewSchema } from "./events-9LPvwbWp.mjs";
18
- import { t as formatDate$1 } from "./formatDate-CTEN7gxW.mjs";
19
- import { t as coerceRichTextDoc } from "./richText-coerce-NrRqDeOg.mjs";
20
- import { n as eventListSlotParents } from "./EventListing.view-hUDhNtMv.mjs";
21
- import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-Duhk1vnF.mjs";
18
+ import { t as coerceRichTextDoc } from "./richText-coerce-CQGE_wHV.mjs";
19
+ import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-CwzrjcRw.mjs";
20
+ import { n as eventListSlotParents } from "./EventListing.view-DZ0qMFF4.mjs";
22
21
  import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
23
- import { t as resolveBlocksPageMediaContext } from "./mediaAssets-B99AP7ai.mjs";
22
+ import { t as resolveBlocksPageMediaContext } from "./mediaAssets-COfQolI3.mjs";
24
23
  import * as React$1 from "react";
25
24
  import React from "react";
26
25
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -138,8 +137,8 @@ function walkAndCollectImageAttrs(value, out, location = "") {
138
137
  value.forEach((item, index) => walkAndCollectImageAttrs(item, out, `${location}[${index}]`));
139
138
  return;
140
139
  }
141
- if (!isRecord$8(value)) return;
142
- if (value.type === "image" && isRecord$8(value.attrs)) out.push({
140
+ if (!isRecord$9(value)) return;
141
+ if (value.type === "image" && isRecord$9(value.attrs)) out.push({
143
142
  attrs: value.attrs,
144
143
  location: location ? `${location}.attrs` : "attrs"
145
144
  });
@@ -196,6 +195,7 @@ function toPublicBookingServiceCatalogueItem(service, categoryId) {
196
195
  requiresApproval: service.requiresApproval,
197
196
  ...service.onlinePaymentMode === void 0 ? {} : { onlinePaymentMode: service.onlinePaymentMode },
198
197
  ...service.onlinePaymentChoices === void 0 ? {} : { onlinePaymentChoices: service.onlinePaymentChoices },
198
+ ...service.onlinePayments === void 0 ? {} : { onlinePayments: service.onlinePayments },
199
199
  id: service.id,
200
200
  asksSiteTerms: service.asksSiteTerms,
201
201
  siteId: service.siteId,
@@ -2356,7 +2356,7 @@ function arrangementContentFacts(content) {
2356
2356
  featured,
2357
2357
  outcome: typeof content.outcome === "string" && content.outcome.length > 0,
2358
2358
  figure: typeof content.figure === "string" && content.figure.trim().length > 0,
2359
- entrance: isRecord$9(content.entrancePhoto)
2359
+ entrance: isRecord$8(content.entrancePhoto)
2360
2360
  },
2361
2361
  settings: { "listed-by-week": content.listBy === "week" }
2362
2362
  }
@@ -2371,10 +2371,10 @@ function lookFillPartsFromContent(content) {
2371
2371
  }
2372
2372
  /** The content stage owns media presence for every arrangement consumer. */
2373
2373
  function arrangementPhotoCount(content) {
2374
- if (Array.isArray(content.cards)) return content.cards.filter((card) => isRecord$9(card) && isRecord$9(card.media)).length;
2375
- if (Array.isArray(content.members)) return content.members.filter((member) => isRecord$9(member) && isRecord$9(member.photo)).length;
2376
- if (Array.isArray(content.images)) return content.images.filter((item) => isRecord$9(item) && isRecord$9(item.image)).length;
2377
- if (isRecord$9(content.media) || isRecord$9(content.entrancePhoto)) return 1;
2374
+ if (Array.isArray(content.cards)) return content.cards.filter((card) => isRecord$8(card) && isRecord$8(card.media)).length;
2375
+ if (Array.isArray(content.members)) return content.members.filter((member) => isRecord$8(member) && isRecord$8(member.photo)).length;
2376
+ if (Array.isArray(content.images)) return content.images.filter((item) => isRecord$8(item) && isRecord$8(item.image)).length;
2377
+ if (isRecord$8(content.media) || isRecord$8(content.entrancePhoto)) return 1;
2378
2378
  return storedSectionPhoto(content) === null ? 0 : 1;
2379
2379
  }
2380
2380
  /** Both rendering and join matching ask the publication-fallback owner. */
@@ -4713,6 +4713,13 @@ const opaquePanels = [
4713
4713
  token: "surface"
4714
4714
  }
4715
4715
  },
4716
+ {
4717
+ selector: ":where([data-block='event-registration']) .er-room-photos",
4718
+ paint: {
4719
+ kind: "solid",
4720
+ token: "surface"
4721
+ }
4722
+ },
4716
4723
  {
4717
4724
  selector: ":where([data-block='event-calendar']) .event-agenda-card",
4718
4725
  paint: {
@@ -7136,6 +7143,108 @@ function toHeroLineHeight(lineHeight) {
7136
7143
  }[lineHeight];
7137
7144
  }
7138
7145
  //#endregion
7146
+ //#region ../theme-core/src/status/statusTones.ts
7147
+ /**
7148
+ * Status tones: the quiet tinted chips and notices that say a booking is
7149
+ * confirmed (ok), needs something from the customer (attention) or has gone
7150
+ * wrong (problem).
7151
+ *
7152
+ * Every site's palette is different, and a status colour that reads well as a
7153
+ * border is often too light to read as text on its own tint (a yellow warning
7154
+ * on cream, say). So the tone's ink is measured per palette: we start from the
7155
+ * status colour and move it towards the palette's text colour until it clears
7156
+ * ordinary-text contrast on the tint. The hue survives where it can, and the
7157
+ * text always stays readable.
7158
+ *
7159
+ * Tones never carry meaning by colour alone; the components that use them pair
7160
+ * each tone with a glyph and words.
7161
+ */
7162
+ const statusToneNames = [
7163
+ "ok",
7164
+ "attention",
7165
+ "problem"
7166
+ ];
7167
+ /** The palette role each tone is drawn from. */
7168
+ const TONE_SOURCE = {
7169
+ ok: "success",
7170
+ attention: "warning",
7171
+ problem: "destructive"
7172
+ };
7173
+ /** How strongly the status colour tints the ground behind the tone's text. */
7174
+ const TINT_ALPHA = .12;
7175
+ /** Steps from the status colour towards the text colour, tried in order. */
7176
+ const INK_STEPS = [
7177
+ 0,
7178
+ .2,
7179
+ .4,
7180
+ .55,
7181
+ .7,
7182
+ .85,
7183
+ 1
7184
+ ];
7185
+ /**
7186
+ * The tone for one status colour over a ground. When no step towards the
7187
+ * palette's text clears the tint, the ink solver's measured neutral (black or
7188
+ * white) does, so the text is always readable. Pure, so the per-palette sweep
7189
+ * can check every result.
7190
+ */
7191
+ function decideStatusTone(input) {
7192
+ const { statusHex, groundHex, textHex } = input;
7193
+ const background = compositeHex(statusHex, TINT_ALPHA, groundHex);
7194
+ return {
7195
+ background,
7196
+ text: INK_STEPS.map((step) => step === 0 ? statusHex : compositeHex(textHex, step, statusHex)).find((ink) => contrastRatio(ink, background) >= 4.5) ?? measuredNeutral(background),
7197
+ border: statusHex
7198
+ };
7199
+ }
7200
+ /** Black or white, whichever reads on the tint; the tint is opaque, so one always clears. */
7201
+ function measuredNeutral(background) {
7202
+ const ink = neutralInk(solidPaint(background), ORDINARY_TEXT_MIN_CONTRAST_RATIO);
7203
+ return ink.kind === "ink" ? ink.hex : "#000000";
7204
+ }
7205
+ /** Every tone for a palette, over its page background, or null when the palette can't be read. */
7206
+ function decideStatusTones(palette) {
7207
+ const groundHex = resolveConcreteColorHex("background", palette);
7208
+ const textHex = resolveConcreteColorHex("text", palette);
7209
+ if (!groundHex || !textHex) return null;
7210
+ const tone = (name) => {
7211
+ const statusHex = resolveConcreteColorHex(TONE_SOURCE[name], palette);
7212
+ return statusHex ? decideStatusTone({
7213
+ statusHex,
7214
+ groundHex,
7215
+ textHex
7216
+ }) : null;
7217
+ };
7218
+ const ok = tone("ok");
7219
+ const attention = tone("attention");
7220
+ const problem = tone("problem");
7221
+ return ok && attention && problem ? {
7222
+ ok,
7223
+ attention,
7224
+ problem
7225
+ } : null;
7226
+ }
7227
+ /**
7228
+ * The `--rb-tone-*` declarations for a palette. Without a readable palette the
7229
+ * tones fall back to the plain text colour on the surface, which is always
7230
+ * legible (the glyph and words still carry the meaning).
7231
+ */
7232
+ function statusToneDeclarations(palette) {
7233
+ const tones = decideStatusTones(palette);
7234
+ return statusToneNames.flatMap((name) => {
7235
+ const tone = tones?.[name];
7236
+ return tone ? [
7237
+ `--rb-tone-${name}-bg: ${tone.background};`,
7238
+ `--rb-tone-${name}-text: ${tone.text};`,
7239
+ `--rb-tone-${name}-border: ${tone.border};`
7240
+ ] : [
7241
+ `--rb-tone-${name}-bg: transparent;`,
7242
+ `--rb-tone-${name}-text: currentColor;`,
7243
+ `--rb-tone-${name}-border: currentColor;`
7244
+ ];
7245
+ });
7246
+ }
7247
+ //#endregion
7139
7248
  //#region ../theme-core/src/status/generateStatusCss.ts
7140
7249
  /**
7141
7250
  * Corner radius map - derives alert border-radius from theme.corners
@@ -7163,6 +7272,7 @@ const CORNER_MAP = {
7163
7272
  function generateStatusCss({ themeId, theme, palette }) {
7164
7273
  const root = `:where([data-theme-scope="${themeId}"])`;
7165
7274
  return [
7275
+ generateStatusToneCss(root, palette),
7166
7276
  generateStatusTextCss(root),
7167
7277
  generateAlertCss(root, CORNER_MAP[theme.corners], palette),
7168
7278
  generateFieldNoteCss(root),
@@ -7170,6 +7280,13 @@ function generateStatusCss({ themeId, theme, palette }) {
7170
7280
  generateButtonLinkCss(root)
7171
7281
  ].join("\n\n");
7172
7282
  }
7283
+ /** Measured status tones (see statusTones.ts) for chips and notices. */
7284
+ function generateStatusToneCss(root, palette) {
7285
+ return `/* Status tones */
7286
+ ${root} {
7287
+ ${statusToneDeclarations(palette).join("\n ")}
7288
+ }`;
7289
+ }
7173
7290
  function generateStatusTextCss(root) {
7174
7291
  return `/* Status text indicators */
7175
7292
  ${root} .status-error { color: rgb(var(--tb-destructive)); }
@@ -7876,120 +7993,6 @@ ${`:where([data-theme-scope="${themeId}"]) :where([data-block="form"])`} {
7876
7993
  `;
7877
7994
  }
7878
7995
  //#endregion
7879
- //#region ../theme-core/src/runtime/themeCssVarNames.ts
7880
- const THEME_RADIUS_CSS_VARS = {
7881
- block: "--rb-block-radius",
7882
- button: "--rb-button-radius",
7883
- input: "--rb-input-radius",
7884
- panel: "--rb-panel-radius",
7885
- legacyCard: "--radius-card",
7886
- legacyControl: "--radius-control"
7887
- };
7888
- //#endregion
7889
- //#region ../theme-core/src/blocks/vars/customer-portal.ts
7890
- /**
7891
- * Generate CSS variables for the customer-portal block.
7892
- *
7893
- * Variables defined:
7894
- * - Container styling (background, border, shadow)
7895
- * - Input and form control styling
7896
- * - Tab navigation colors
7897
- * - Status badges (success, warning, error, info, default)
7898
- * - Progress indicators for credit bars
7899
- * - Card styling
7900
- * - Alert/notification styling
7901
- *
7902
- * Note: Buttons use theme button classes (primary, secondary) - no custom button vars needed.
7903
- */
7904
- function generateCustomerPortalVars({ themeId, surface }) {
7905
- const root = `:where([data-theme-scope="${themeId}"]) :where([data-block="customer-portal"])`;
7906
- return `
7907
- ${root} {${customerPortalVars}
7908
- }
7909
- ${root} .cp-login {
7910
- ${surfaceInkDeclarations(surfaceInkPublication(surface ? resolveSurfaceForeground({
7911
- type: "color",
7912
- color: "surface"
7913
- }, surface.palette) : { kind: "unmeasured-paint" }, surface?.solvedInks ?? "withhold")).join("\n ")}
7914
- }
7915
- `;
7916
- }
7917
- const customerPortalVars = `
7918
- /* Container */
7919
- --cp-bg: rgb(var(--tb-surface));
7920
- --cp-text: rgb(var(--tb-text));
7921
- --cp-muted: rgb(var(--tb-mutedText));
7922
- --cp-border: rgb(var(--tb-border));
7923
- --cp-shadow: var(--shadow-elev);
7924
- --cp-primary: rgb(var(--tb-primary));
7925
- --cp-primary-hover: rgb(var(--tb-primary-700, var(--tb-primary)));
7926
- --cp-error: rgb(var(--tb-destructive));
7927
- --cp-card-radius: var(${THEME_RADIUS_CSS_VARS.block}, var(${THEME_RADIUS_CSS_VARS.legacyCard}, 0.75rem));
7928
- --cp-control-radius: var(${THEME_RADIUS_CSS_VARS.input}, var(${THEME_RADIUS_CSS_VARS.legacyControl}, 0.5rem));
7929
-
7930
- /* Shared tab bar (underline style) */
7931
- --rb-tab-border-width: 1px;
7932
- --rb-tab-border-color: rgb(var(--tb-border));
7933
- --rb-tab-active-border-width: 2px;
7934
- --rb-tab-active-color: rgb(var(--tb-primary));
7935
- --rb-tab-text: rgb(var(--tb-text));
7936
- --rb-tab-opacity: 0.7;
7937
-
7938
- /* Badge - Success (active, confirmed) */
7939
- --cp-badge-success-bg: rgb(var(--tb-success) / 0.1);
7940
- --cp-badge-success-text: rgb(var(--tb-success));
7941
-
7942
- /* Badge - Warning (paused, low credits, waitlist) */
7943
- --cp-badge-warning-bg: rgb(var(--tb-warning) / 0.1);
7944
- --cp-badge-warning-text: rgb(var(--tb-warning));
7945
-
7946
- /* Badge - Error (canceled, expired, past_due) */
7947
- --cp-badge-error-bg: rgb(var(--tb-destructive) / 0.1);
7948
- --cp-badge-error-text: rgb(var(--tb-destructive));
7949
-
7950
- /* Badge - Info (trialing, scheduled) */
7951
- --cp-badge-info-bg: rgb(var(--tb-primary) / 0.1);
7952
- --cp-badge-info-text: rgb(var(--tb-primary));
7953
-
7954
- /* Badge - Default (neutral states) */
7955
- --cp-badge-default-bg: rgb(var(--tb-mutedText) / 0.1);
7956
- --cp-badge-default-text: rgb(var(--tb-mutedText));
7957
-
7958
- /* Progress bar (for credit display) */
7959
- --cp-progress-bg: rgb(var(--tb-border));
7960
- --cp-progress-fill: rgb(var(--tb-primary));
7961
-
7962
- /* Card styling */
7963
- --cp-card-bg: rgb(var(--tb-surface));
7964
- --cp-card-border: rgb(var(--tb-border));
7965
-
7966
- /* Alert/notification */
7967
- --cp-alert-success-bg: rgb(var(--tb-success) / 0.1);
7968
- --cp-alert-success-text: rgb(var(--tb-success));
7969
- --cp-alert-success-border: rgb(var(--tb-success));
7970
- --cp-alert-error-bg: rgb(var(--tb-destructive) / 0.1);
7971
- --cp-alert-error-text: rgb(var(--tb-destructive));
7972
- --cp-alert-error-border: rgb(var(--tb-destructive));
7973
-
7974
- /* Modal (shared rb-modal classes) */
7975
- --rb-modal-overlay-bg: rgb(var(--tb-text, 0 0 0) / 0.35);
7976
- --rb-modal-bg: var(--cp-card-bg);
7977
- --rb-modal-text: var(--cp-text);
7978
- --rb-modal-heading: var(--cp-text);
7979
- --rb-modal-link: var(--cp-primary);
7980
- --rb-modal-supporting: var(--cp-muted);
7981
- --rb-modal-border: var(--cp-card-border);
7982
- --rb-modal-shadow: var(--shadow-lg, var(--shadow-elev));
7983
- --rb-modal-radius: var(--cp-card-radius);
7984
- --rb-modal-max-width: 560px;
7985
-
7986
- /* Header */
7987
- --cp-header-bg: transparent;
7988
- --cp-header-border: rgb(var(--tb-border));
7989
-
7990
- /* Section */
7991
- --cp-section-bg: transparent;`;
7992
- //#endregion
7993
7996
  //#region ../theme-core/src/blocks/vars/testimonials.ts
7994
7997
  const QUOTE_SCALE_SIZE = {
7995
7998
  sm: "2.5rem",
@@ -8084,7 +8087,6 @@ blockVarRegistry.set("event-spotlight", generateEventSpotlightVars);
8084
8087
  blockVarRegistry.set("event-combined", generateEventCombinedVars);
8085
8088
  blockVarRegistry.set("appointment-booking", generateAppointmentBookingVars);
8086
8089
  blockVarRegistry.set("form", generateFormBlockVars);
8087
- blockVarRegistry.set("customer-portal", generateCustomerPortalVars);
8088
8090
  blockVarRegistry.set("testimonials", generateTestimonialsVars);
8089
8091
  /**
8090
8092
  * Generate all Tier 3 block-specific CSS variables.
@@ -8123,7 +8125,7 @@ function generateBlockCustomVarsCss(themeId, blockCustomVars) {
8123
8125
  //#endregion
8124
8126
  //#region ../theme-core/src/blockOverrides.ts
8125
8127
  const BLOCK_PREFIX = "block.";
8126
- function isPlainObject$4(value) {
8128
+ function isPlainObject$3(value) {
8127
8129
  return typeof value === "object" && value !== null && !Array.isArray(value);
8128
8130
  }
8129
8131
  function isUnknownArray$3(value) {
@@ -8131,7 +8133,7 @@ function isUnknownArray$3(value) {
8131
8133
  }
8132
8134
  function cloneValue(value) {
8133
8135
  if (isUnknownArray$3(value)) return value.map((item) => cloneValue(item));
8134
- if (isPlainObject$4(value)) {
8136
+ if (isPlainObject$3(value)) {
8135
8137
  const cloned = {};
8136
8138
  for (const [key, child] of Object.entries(value)) cloned[key] = cloneValue(child);
8137
8139
  return cloned;
@@ -8141,7 +8143,7 @@ function cloneValue(value) {
8141
8143
  function mergeDeep(defaultValue, overrideValue) {
8142
8144
  if (overrideValue === void 0) return cloneValue(defaultValue);
8143
8145
  if (overrideValue === null) return null;
8144
- if (isPlainObject$4(defaultValue) && isPlainObject$4(overrideValue)) {
8146
+ if (isPlainObject$3(defaultValue) && isPlainObject$3(overrideValue)) {
8145
8147
  const merged = {};
8146
8148
  const keys = /* @__PURE__ */ new Set([...Object.keys(defaultValue), ...Object.keys(overrideValue)]);
8147
8149
  for (const key of keys) merged[key] = mergeDeep(defaultValue[key], overrideValue[key]);
@@ -8198,7 +8200,7 @@ function mergeContentWithBlockStyleOverrides(content, theme, blockKind) {
8198
8200
  */
8199
8201
  function applyHeadingDecorationSignature(target, themeDecoration) {
8200
8202
  const existing = target["_sectionStyles"];
8201
- const existingObj = isPlainObject$4(existing) ? existing : void 0;
8203
+ const existingObj = isPlainObject$3(existing) ? existing : void 0;
8202
8204
  const rawOverride = existingObj?.["headingDecorationOverride"];
8203
8205
  const effective = resolveEffectiveHeadingDecoration(themeDecoration, rawOverride === "site-default" || rawOverride === "off" ? rawOverride : void 0);
8204
8206
  if (effective.kind === "none") {
@@ -8218,9 +8220,9 @@ function applyStyleOverride(target, key, defaults) {
8218
8220
  target[key] = mergeStyleOverride(defaults, target[key]);
8219
8221
  }
8220
8222
  function mergeStyleOverride(defaultValue, contentValue) {
8221
- if (!isPlainObject$4(defaultValue) || !isPlainObject$4(contentValue)) return mergeDeep(defaultValue, contentValue);
8223
+ if (!isPlainObject$3(defaultValue) || !isPlainObject$3(contentValue)) return mergeDeep(defaultValue, contentValue);
8222
8224
  const merged = mergeDeep(defaultValue, contentValue);
8223
- if (!isPlainObject$4(merged)) return merged;
8225
+ if (!isPlainObject$3(merged)) return merged;
8224
8226
  return {
8225
8227
  ...merged,
8226
8228
  background: mergeBoxBackground(defaultValue.background, contentValue.background)
@@ -8486,6 +8488,16 @@ function indent(str, spaces) {
8486
8488
  return str.split("\n").map((line) => line ? pad + line : line).join("\n");
8487
8489
  }
8488
8490
  //#endregion
8491
+ //#region ../theme-core/src/runtime/themeCssVarNames.ts
8492
+ const THEME_RADIUS_CSS_VARS = {
8493
+ block: "--rb-block-radius",
8494
+ button: "--rb-button-radius",
8495
+ input: "--rb-input-radius",
8496
+ panel: "--rb-panel-radius",
8497
+ legacyCard: "--radius-card",
8498
+ legacyControl: "--radius-control"
8499
+ };
8500
+ //#endregion
8489
8501
  //#region ../theme-core/src/runtime/buildThemeRuntime.ts
8490
8502
  function buildThemeRuntime$1(theme, options) {
8491
8503
  const hydrated = hydrateTheme(theme);
@@ -9152,6 +9164,182 @@ function typeBasedLayout(itemTypesMap, options) {
9152
9164
  });
9153
9165
  }
9154
9166
  //#endregion
9167
+ //#region ../blocks/src/system/node/nodeProps.ts
9168
+ /**
9169
+ * Which values on a node definition become its component's props.
9170
+ *
9171
+ * The resolver renders these and the custom-block gate checks them, so both
9172
+ * read them from here: if the two ever disagreed, a value could reach the DOM
9173
+ * without being checked (issue 1185).
9174
+ */
9175
+ /** Keys that describe the node itself. `$`-prefixed keys are directives. */
9176
+ const NODE_STRUCTURE_KEYS = /* @__PURE__ */ new Set([
9177
+ "type",
9178
+ "key",
9179
+ "children",
9180
+ "props"
9181
+ ]);
9182
+ /** `Object.hasOwn`, which this package's target library doesn't declare. */
9183
+ const hasOwn = (record, key) => Object.prototype.hasOwnProperty.call(record, key);
9184
+ /**
9185
+ * A node's props in render order. Older manifests put props at the top level of
9186
+ * the node rather than under `props`; those still render, and a key under
9187
+ * `props` wins over the same key at the top level.
9188
+ */
9189
+ function nodePropEntries(node) {
9190
+ const props = isRecord$5(node.props) ? node.props : {};
9191
+ return [...Object.entries(node).filter(([key]) => !NODE_STRUCTURE_KEYS.has(key) && !key.startsWith("$") && !hasOwn(props, key)).map(([key, value]) => [
9192
+ key,
9193
+ value,
9194
+ "node"
9195
+ ]), ...Object.entries(props).map(([key, value]) => [
9196
+ key,
9197
+ value,
9198
+ "props"
9199
+ ])];
9200
+ }
9201
+ /** The props the resolver hands to a node's component, before bindings resolve. */
9202
+ function getNodeProps(node) {
9203
+ return Object.fromEntries(nodePropEntries(node).map(([key, value]) => [key, value]));
9204
+ }
9205
+ //#endregion
9206
+ //#region ../theme-core/src/buttons/parseThemeForPersistence.ts
9207
+ /**
9208
+ * Proves that every persisted button variant compiles against the theme's
9209
+ * concrete palette. Public rendering may still recover from malformed
9210
+ * external/runtime input, but persistence boundaries must reject it.
9211
+ */
9212
+ function parseThemeForPersistence(value) {
9213
+ const parsed = themeSchema.safeParse(value);
9214
+ if (!parsed.success) return {
9215
+ ok: false,
9216
+ error: {
9217
+ kind: "invalid-theme-schema",
9218
+ issues: parsed.error.issues
9219
+ }
9220
+ };
9221
+ const parsedTheme = parsed.data;
9222
+ const theme = parsedTheme.buttons && !parsedTheme.buttons.surfacePolicy ? {
9223
+ ...parsedTheme,
9224
+ buttons: {
9225
+ ...parsedTheme.buttons,
9226
+ surfacePolicy: createStandardButtonSurfacePolicy()
9227
+ }
9228
+ } : parsedTheme;
9229
+ if (!theme.buttons) return {
9230
+ ok: true,
9231
+ value: theme
9232
+ };
9233
+ const palette = expandPalette(theme.palette);
9234
+ for (const variant of theme.buttons.variants) {
9235
+ const result = compileButtonColourStates({
9236
+ variant,
9237
+ global: theme.buttons.global,
9238
+ palette
9239
+ });
9240
+ if (!result.ok) return {
9241
+ ok: false,
9242
+ error: {
9243
+ kind: "invalid-button-colour-contract",
9244
+ variantId: variant.id,
9245
+ cause: result.error
9246
+ }
9247
+ };
9248
+ }
9249
+ return {
9250
+ ok: true,
9251
+ value: theme
9252
+ };
9253
+ }
9254
+ //#endregion
9255
+ //#region ../blocks/src/system/runtime/inlineStyleGuard.ts
9256
+ /**
9257
+ * Server rendering writes a `style` object as one attribute string, joining
9258
+ * declarations with `;` and leaving each value as it is. A value that holds a
9259
+ * `;` (or a brace) therefore adds declarations nobody wrote, so a bound value
9260
+ * such as an aspect ratio of `1;position:fixed` would escape its property.
9261
+ *
9262
+ * Content can reach a node's `style` through bindings in first-party layouts
9263
+ * as well as custom ones (issue 1185), so the resolver passes every node's
9264
+ * resolved `style` through here before rendering. React also throws while
9265
+ * rendering a `style` that is not an object, which would fail the whole page.
9266
+ *
9267
+ * A value that calls `url()` or `image-set()` is dropped as well. Content is
9268
+ * not a safe place to take an address from (a custom block's author also
9269
+ * writes its field defaults), and no layout puts a file in a node's `style`:
9270
+ * images and video go through media nodes, which the platform serves.
9271
+ */
9272
+ /**
9273
+ * `linear-gradient(...);` pasted with its semicolon is the same value without
9274
+ * it, so trailing semicolons and the space around the value are trimmed away
9275
+ * rather than costing the owner their background.
9276
+ */
9277
+ const withoutTrailingSemicolons = (value) => value.trim().replace(/(?:\s*;)+$/, "");
9278
+ function stringDropReason(value) {
9279
+ if (!staysInsideDeclaration(value)) return "adds-declarations";
9280
+ return callsCssLoadingFunction(value) ? "loads-a-file" : null;
9281
+ }
9282
+ function judgeDeclaration(property, value) {
9283
+ if (value === null || value === void 0) return { skipped: true };
9284
+ if (typeof value === "number") return Number.isFinite(value) ? { kept: [property, value] } : { dropped: {
9285
+ property,
9286
+ reason: "not-a-value"
9287
+ } };
9288
+ if (typeof value !== "string") return { dropped: {
9289
+ property,
9290
+ reason: "not-a-value"
9291
+ } };
9292
+ const trimmed = withoutTrailingSemicolons(value);
9293
+ const reason = stringDropReason(trimmed);
9294
+ return reason === null ? { kept: [property, trimmed] } : { dropped: {
9295
+ property,
9296
+ reason
9297
+ } };
9298
+ }
9299
+ /** Which declarations of `style` render, and which are left out and why. */
9300
+ function decideInlineStyle(style) {
9301
+ if (!isRecord$5(style)) return {
9302
+ style: void 0,
9303
+ dropped: []
9304
+ };
9305
+ const judged = Object.entries(style).map(([property, value]) => judgeDeclaration(property, value));
9306
+ return {
9307
+ style: Object.fromEntries(judged.flatMap((entry) => "kept" in entry ? [entry.kept] : [])),
9308
+ dropped: judged.flatMap((entry) => "dropped" in entry ? [entry.dropped] : [])
9309
+ };
9310
+ }
9311
+ //#endregion
9312
+ //#region ../blocks/src/system/runtime/inlineStyleReport.ts
9313
+ /**
9314
+ * The effect half of the inline style guard: the resolver renders the style
9315
+ * `decideInlineStyle` allows and says what was left out (issue 1185).
9316
+ *
9317
+ * A dropped declaration is otherwise invisible. The owner sees a background
9318
+ * that isn't there, and the line logged here is how support finds out why, so
9319
+ * it is written in production too.
9320
+ */
9321
+ /**
9322
+ * Drops already reported by this process, as `property:reason`. A page of
9323
+ * repeated cards would otherwise log the same line for every card.
9324
+ */
9325
+ const reportedDrops = /* @__PURE__ */ new Set();
9326
+ function reportDrops(dropped, nodeType) {
9327
+ dropped.filter(({ property, reason }) => !reportedDrops.has(`${property}:${reason}`)).forEach(({ property, reason }) => {
9328
+ reportedDrops.add(`${property}:${reason}`);
9329
+ console.warn("[block-system] Left a style declaration out of the page", {
9330
+ nodeType,
9331
+ property,
9332
+ reason
9333
+ });
9334
+ });
9335
+ }
9336
+ /** The style a node renders with, after warning once per property and reason about anything left out. */
9337
+ function renderedInlineStyle(style, nodeType) {
9338
+ const decision = decideInlineStyle(style);
9339
+ reportDrops(decision.dropped, nodeType);
9340
+ return decision.style;
9341
+ }
9342
+ //#endregion
9155
9343
  //#region ../blocks/src/system/data/linkedContentEntries.ts
9156
9344
  const LINKED_CONTENT_ENTRY_META_KEY = "__rbLinkedContentEntry";
9157
9345
  function coerceLinkedContentEntriesPayload(payload) {
@@ -9554,6 +9742,29 @@ const offeringsPreviewDatesReadEnabled = {
9554
9742
  }
9555
9743
  };
9556
9744
  //#endregion
9745
+ //#region ../blocks/src/bindings/formatDate.ts
9746
+ /** Admit stored civil dates or offset-aware instants before core projection. */
9747
+ function formatDate(value, context, options) {
9748
+ if (typeof value !== "string" || !value) return null;
9749
+ if (/^\d{4}-\d{2}-\d{2}$/u.test(value)) try {
9750
+ return formatDate$1({
9751
+ kind: "civil",
9752
+ value: parseBookingLocalDate(value)
9753
+ }, context, options);
9754
+ } catch {
9755
+ return null;
9756
+ }
9757
+ const instant = parseUtcIsoDateTimeString(value);
9758
+ if (!instant.ok) return null;
9759
+ return options.includeTime ? formatDateTime(instant.value, context, {
9760
+ date: options.date,
9761
+ zone: "omit"
9762
+ }) : formatDate$1({
9763
+ kind: "instant",
9764
+ value: instant.value
9765
+ }, context, options);
9766
+ }
9767
+ //#endregion
9557
9768
  //#region ../blocks/src/system/transforms/registry/formatting.ts
9558
9769
  const uppercaseTransform = {
9559
9770
  id: "string.uppercase",
@@ -9572,7 +9783,7 @@ const dateFormatShort = {
9572
9783
  id: "date.formatShort",
9573
9784
  kind: "formatter",
9574
9785
  summary: "Format ISO date string into short human-readable label",
9575
- run: (value, _options, context) => formatDate$1(value, context.dateContext, { date: "short" })
9786
+ run: (value, _options, context) => formatDate(value, context.dateContext, { date: "short" })
9576
9787
  };
9577
9788
  const arrayLengthTransform = {
9578
9789
  id: "array.length",
@@ -10988,7 +11199,7 @@ function interpolateRichTextTokens(value, options, context) {
10988
11199
  if (typeof value !== "string" && !isRecord$5(value)) return value;
10989
11200
  const allowedTokens = new Set(options.tokens);
10990
11201
  const tokenValues = {
10991
- year: () => formatDate({
11202
+ year: () => formatDate$1({
10992
11203
  kind: "instant",
10993
11204
  value: readRuntimeNow(context.now)
10994
11205
  }, context.dateContext, {
@@ -11282,55 +11493,6 @@ function headingDecoration({ bindFrom = defaultBindFrom, className } = {}) {
11282
11493
  } } })], when(`${bindFrom}.family`));
11283
11494
  }
11284
11495
  //#endregion
11285
- //#region ../theme-core/src/buttons/parseThemeForPersistence.ts
11286
- /**
11287
- * Proves that every persisted button variant compiles against the theme's
11288
- * concrete palette. Public rendering may still recover from malformed
11289
- * external/runtime input, but persistence boundaries must reject it.
11290
- */
11291
- function parseThemeForPersistence(value) {
11292
- const parsed = themeSchema.safeParse(value);
11293
- if (!parsed.success) return {
11294
- ok: false,
11295
- error: {
11296
- kind: "invalid-theme-schema",
11297
- issues: parsed.error.issues
11298
- }
11299
- };
11300
- const parsedTheme = parsed.data;
11301
- const theme = parsedTheme.buttons && !parsedTheme.buttons.surfacePolicy ? {
11302
- ...parsedTheme,
11303
- buttons: {
11304
- ...parsedTheme.buttons,
11305
- surfacePolicy: createStandardButtonSurfacePolicy()
11306
- }
11307
- } : parsedTheme;
11308
- if (!theme.buttons) return {
11309
- ok: true,
11310
- value: theme
11311
- };
11312
- const palette = expandPalette(theme.palette);
11313
- for (const variant of theme.buttons.variants) {
11314
- const result = compileButtonColourStates({
11315
- variant,
11316
- global: theme.buttons.global,
11317
- palette
11318
- });
11319
- if (!result.ok) return {
11320
- ok: false,
11321
- error: {
11322
- kind: "invalid-button-colour-contract",
11323
- variantId: variant.id,
11324
- cause: result.error
11325
- }
11326
- };
11327
- }
11328
- return {
11329
- ok: true,
11330
- value: theme
11331
- };
11332
- }
11333
- //#endregion
11334
11496
  //#region ../blocks/src/structure/pageRegions.ts
11335
11497
  function outlineRegions(page) {
11336
11498
  return [{
@@ -14140,7 +14302,7 @@ function stripNumericPathSegments(path) {
14140
14302
  }
14141
14303
  const lookOwnedPathCache = /* @__PURE__ */ new WeakMap();
14142
14304
  function lookOwnedPathsOf(content) {
14143
- if (!isPlainObject$3(content)) return [];
14305
+ if (!isRecord$5(content)) return [];
14144
14306
  const cached = lookOwnedPathCache.get(content);
14145
14307
  if (cached) return cached;
14146
14308
  const value = content._lookOwnedPaths;
@@ -14171,7 +14333,7 @@ function contentFieldSegments(fromPath, context) {
14171
14333
  if (first === "content") return rest;
14172
14334
  const named = findNamedScope(context, first);
14173
14335
  if (named) return scopedContentSegments(named, rest);
14174
- const innermost = [...context.scopes].reverse().find((entry) => isPlainObject$3(entry.value) || Array.isArray(entry.value));
14336
+ const innermost = [...context.scopes].reverse().find((entry) => isRecord$5(entry.value) || Array.isArray(entry.value));
14175
14337
  if (!innermost || first in context.viewModel) return void 0;
14176
14338
  return innermost.name === "content" ? [first, ...rest] : scopedContentSegments(innermost, [first, ...rest]);
14177
14339
  }
@@ -14215,29 +14377,23 @@ function readFromSource$1(source, segments) {
14215
14377
  }, source);
14216
14378
  }
14217
14379
  /**
14218
- * Type guard for plain objects.
14219
- */
14220
- function isPlainObject$3(value) {
14221
- return typeof value === "object" && value !== null && !Array.isArray(value);
14222
- }
14223
- /**
14224
14380
  * Validates and converts a route entry from the viewModel.
14225
14381
  */
14226
14382
  function parseRouteEntry(routeId, value) {
14227
14383
  if (typeof routeId !== "string" || routeId.length === 0) return null;
14228
14384
  if (typeof value === "string") return [routeId, value];
14229
- if (isPlainObject$3(value)) return [routeId, value];
14385
+ if (isRecord$5(value)) return [routeId, value];
14230
14386
  return null;
14231
14387
  }
14232
14388
  /**
14233
14389
  * Extracts route map from $root.routes in the viewModel.
14234
14390
  */
14235
14391
  function extractRouteMapFromViewModel(viewModel) {
14236
- if (!isPlainObject$3(viewModel)) return void 0;
14392
+ if (!isRecord$5(viewModel)) return void 0;
14237
14393
  const root = viewModel.$root;
14238
- if (!isPlainObject$3(root)) return void 0;
14394
+ if (!isRecord$5(root)) return void 0;
14239
14395
  const routes = root.routes;
14240
- if (!isPlainObject$3(routes)) return void 0;
14396
+ if (!isRecord$5(routes)) return void 0;
14241
14397
  const entries = Object.entries(routes).map(([routeId, value]) => parseRouteEntry(routeId, value)).filter((entry) => entry !== null);
14242
14398
  if (entries.length === 0) return void 0;
14243
14399
  return Object.fromEntries(entries);
@@ -14246,22 +14402,22 @@ function extractRouteMapFromViewModel(viewModel) {
14246
14402
  * Extracts pagesByIdentifier from $root.pagesByIdentifier in the viewModel.
14247
14403
  */
14248
14404
  function extractPagesByIdentifierFromViewModel(viewModel) {
14249
- if (!isPlainObject$3(viewModel)) return void 0;
14405
+ if (!isRecord$5(viewModel)) return void 0;
14250
14406
  const root = viewModel.$root;
14251
- if (!isPlainObject$3(root)) return void 0;
14407
+ if (!isRecord$5(root)) return void 0;
14252
14408
  const pagesByIdentifier = root.pagesByIdentifier;
14253
- if (!isPlainObject$3(pagesByIdentifier)) return void 0;
14409
+ if (!isRecord$5(pagesByIdentifier)) return void 0;
14254
14410
  return pagesByIdentifier;
14255
14411
  }
14256
14412
  /**
14257
14413
  * Extracts entriesByIdentifier from $root.entriesByIdentifier in the viewModel.
14258
14414
  */
14259
14415
  function extractEntriesByIdentifierFromViewModel(viewModel) {
14260
- if (!isPlainObject$3(viewModel)) return void 0;
14416
+ if (!isRecord$5(viewModel)) return void 0;
14261
14417
  const root = viewModel.$root;
14262
- if (!isPlainObject$3(root)) return void 0;
14418
+ if (!isRecord$5(root)) return void 0;
14263
14419
  const entriesByIdentifier = root.entriesByIdentifier;
14264
- if (!isPlainObject$3(entriesByIdentifier)) return void 0;
14420
+ if (!isRecord$5(entriesByIdentifier)) return void 0;
14265
14421
  return entriesByIdentifier;
14266
14422
  }
14267
14423
  /**
@@ -14283,7 +14439,7 @@ function applyTransformsAndFallback(value, binding, context) {
14283
14439
  const routeMap = context.routes ?? extractRouteMapFromViewModel(context.viewModel);
14284
14440
  const pagesByIdentifier = context.pagesByIdentifier ?? extractPagesByIdentifierFromViewModel(context.viewModel);
14285
14441
  const entriesByIdentifier = context.entriesByIdentifier ?? extractEntriesByIdentifierFromViewModel(context.viewModel);
14286
- const stage = (isPlainObject$3(context.viewModel.$root) ? context.viewModel.$root : null)?.previewStage === "preview" ? "preview" : "published";
14442
+ const stage = (isRecord$5(context.viewModel.$root) ? context.viewModel.$root : null)?.previewStage === "preview" ? "preview" : "published";
14287
14443
  const transformed = runTransforms(value, binding.transforms?.map((step) => ({
14288
14444
  id: step.id,
14289
14445
  options: step.options
@@ -14315,15 +14471,15 @@ function resolveTransformData(context, bindingPath) {
14315
14471
  const [first] = splitPath$1(bindingPath);
14316
14472
  if (typeof first === "string" && first !== "$root") {
14317
14473
  const namedScope = findNamedScope(context, first);
14318
- if (namedScope && isPlainObject$3(namedScope.value)) return namedScope.value;
14474
+ if (namedScope && isRecord$5(namedScope.value)) return namedScope.value;
14319
14475
  }
14320
14476
  for (let i = context.scopes.length - 1; i >= 0; i -= 1) {
14321
14477
  const scope = context.scopes[i];
14322
- if (scope && isPlainObject$3(scope.value)) return scope.value;
14478
+ if (scope && isRecord$5(scope.value)) return scope.value;
14323
14479
  }
14324
14480
  const content = context.viewModel.content;
14325
- if (isPlainObject$3(content)) return content;
14326
- if (isPlainObject$3(context.viewModel)) return context.viewModel;
14481
+ if (isRecord$5(content)) return content;
14482
+ if (isRecord$5(context.viewModel)) return context.viewModel;
14327
14483
  }
14328
14484
  function coerceBindingValue(value, binding) {
14329
14485
  const mode = binding.coerce;
@@ -14410,7 +14566,7 @@ function richTextSelfPresence(node) {
14410
14566
  }
14411
14567
  }
14412
14568
  function hasResolvableRichTextImageSource(node) {
14413
- const attrs = isPlainObject$3(node.attrs) ? node.attrs : {};
14569
+ const attrs = isRecord$5(node.attrs) ? node.attrs : {};
14414
14570
  return hasNonBlankStringAttr(attrs, "src") || hasNonBlankStringAttr(attrs, "identifier");
14415
14571
  }
14416
14572
  function hasNonBlankStringAttr(attrs, key) {
@@ -14611,7 +14767,7 @@ function getNestedBinding(bindings, path) {
14611
14767
  const segments = path.split(".");
14612
14768
  let current = bindings;
14613
14769
  for (const segment of segments) {
14614
- if (!isPlainObject$3(current)) return void 0;
14770
+ if (!isRecord$5(current)) return void 0;
14615
14771
  current = current[segment];
14616
14772
  }
14617
14773
  return current;
@@ -14634,7 +14790,7 @@ function resolveBindingToEditorPath(fieldName, bindings, editableRouteMetadataFi
14634
14790
  };
14635
14791
  const binding = bindings[fieldName] ?? getNestedBinding(bindings, fieldName);
14636
14792
  if (!binding) return null;
14637
- if (isPlainObject$3(binding) && "source" in binding) {
14793
+ if (isRecord$5(binding) && "source" in binding) {
14638
14794
  const source = binding.source;
14639
14795
  if (source === "field" && "path" in binding) {
14640
14796
  const path = binding.path;
@@ -14651,7 +14807,7 @@ function resolveBindingToEditorPath(fieldName, bindings, editableRouteMetadataFi
14651
14807
  if (!Array.isArray(options)) return null;
14652
14808
  for (const option of options) {
14653
14809
  if (typeof option === "string") return `content.${option}`;
14654
- if (isPlainObject$3(option) && "source" in option) {
14810
+ if (isRecord$5(option) && "source" in option) {
14655
14811
  const optSource = option.source;
14656
14812
  if (optSource === "field" && "path" in option) {
14657
14813
  const path = option.path;
@@ -14703,7 +14859,7 @@ function derivePreviewTextEditableTarget(parsedBinding, context) {
14703
14859
  };
14704
14860
  }
14705
14861
  const root = context.viewModel?.$root;
14706
- if (isPlainObject$3(root) && root.contentEntry != null && context.pathBase) return {
14862
+ if (isRecord$5(root) && root.contentEntry != null && context.pathBase) return {
14707
14863
  kind: "read-only",
14708
14864
  reason: "entry-template-block-field"
14709
14865
  };
@@ -14762,7 +14918,7 @@ function injectMediaSlotPath(props, node, parsedBinding, context) {
14762
14918
  if (resolveBindingToEditorPath(fieldPath, context.blockBindings, context.editableRouteMetadataFieldIds)) return props;
14763
14919
  }
14764
14920
  const root = context.viewModel?.$root;
14765
- if (isPlainObject$3(root) && root.contentEntry != null && context.pathBase) return props;
14921
+ if (isRecord$5(root) && root.contentEntry != null && context.pathBase) return props;
14766
14922
  return {
14767
14923
  ...props,
14768
14924
  fieldPath
@@ -14880,7 +15036,7 @@ function resolveNode(node, context, indexFallback) {
14880
15036
  const parsedBinding = node.$bind ? parseBinding(node.$bind, "$bind") : void 0;
14881
15037
  const bindingValue = parsedBinding ? resolveBindingValue$1(parsedBinding, scopeContext) : void 0;
14882
15038
  let props = resolveProps(getNodeProps(node), scopeContext, bindingValue);
14883
- props = injectEditorPath(props, node, parsedBinding, scopeContext);
15039
+ props = injectEditorPath(guardResolvedStyle(props, node.type), node, parsedBinding, scopeContext);
14884
15040
  props = injectMediaSlotPath(props, node, parsedBinding, scopeContext);
14885
15041
  const headingDecorationPlan = planHeadingDecoration({
14886
15042
  node,
@@ -14965,19 +15121,12 @@ function resolveProps(props, context, bindingValue) {
14965
15121
  if (bindingValue !== void 0) resolved.value = bindingValue;
14966
15122
  return resolved;
14967
15123
  }
14968
- function getNodeProps(node) {
14969
- const raw = node;
14970
- const legacy = {};
14971
- for (const [key, value] of Object.entries(raw)) {
14972
- if (key === "type" || key === "key" || key === "children" || key === "props") continue;
14973
- if (key.startsWith("$")) continue;
14974
- legacy[key] = value;
14975
- }
14976
- const props = isPlainObject$3(node.props) ? node.props : {};
14977
- return {
14978
- ...legacy,
14979
- ...props
14980
- };
15124
+ /** A node's resolved `style` reaches the DOM only through the inline style guard. */
15125
+ function guardResolvedStyle(props, nodeType) {
15126
+ return "style" in props ? {
15127
+ ...props,
15128
+ style: renderedInlineStyle(props.style, nodeType)
15129
+ } : props;
14981
15130
  }
14982
15131
  /**
14983
15132
  * Main entry point for resolving node definitions into React elements.
@@ -15008,12 +15157,12 @@ function bindItemSurfacePresentation(node, context) {
15008
15157
  const slot = resolveProps({ "data-slot": declared }, context, void 0)["data-slot"];
15009
15158
  if (!["item", "lead"].includes(String(slot))) return context;
15010
15159
  const content = context.blockContent;
15011
- if (!isPlainObject$3(content) || !isPlainObject$3(content._effectiveLook)) return context;
15160
+ if (!isRecord$5(content) || !isRecord$5(content._effectiveLook)) return context;
15012
15161
  const look = content._effectiveLook;
15013
15162
  if (!look.surfacePresentation) return context;
15014
15163
  const itemScope = context.scopes.reduce((found, scope) => scope.repeater ? scope : found, void 0);
15015
15164
  const repeater = itemScope?.repeater;
15016
- const featured = isPlainObject$3(itemScope?.value) && itemScope.value.featured === true;
15165
+ const featured = isRecord$5(itemScope?.value) && itemScope.value.featured === true;
15017
15166
  const role = repeater ? itemRole(repeater.index, repeater.count, look.itemRoles, featured) : void 0;
15018
15167
  return {
15019
15168
  ...context,
@@ -15023,14 +15172,14 @@ function bindItemSurfacePresentation(node, context) {
15023
15172
  function arrangementSlotProps(props, context) {
15024
15173
  const content = context.blockContent;
15025
15174
  const slot = props["data-slot"];
15026
- if (typeof slot !== "string" || !isPlainObject$3(content) || !isPlainObject$3(content._effectiveLook)) return {};
15175
+ if (typeof slot !== "string" || !isRecord$5(content) || !isRecord$5(content._effectiveLook)) return {};
15027
15176
  const look = content._effectiveLook;
15028
15177
  const surface = (context.surfacePresentation ?? look.surfacePresentation)?.slots[slot];
15029
15178
  return surface ? resolvedItemSurfaceProps(surface, slot, props.style) : { "data-surface": "section" };
15030
15179
  }
15031
15180
  function arrangementMediaPlaceholder(node, context) {
15032
15181
  const content = context.blockContent;
15033
- if (!isPlainObject$3(content) || content._lookAudience !== "authoring" || content.showPhotos === false) return null;
15182
+ if (!isRecord$5(content) || content._lookAudience !== "authoring" || content.showPhotos === false) return null;
15034
15183
  const from = arrangementPlaceholderMediaPath(node);
15035
15184
  if (!from) return null;
15036
15185
  const fieldPath = arrangementPlaceholderFieldPath(from, context);
@@ -17570,6 +17719,7 @@ function presentPublicBlock(block) {
17570
17719
  id: block.id,
17571
17720
  kind: block.kind,
17572
17721
  purpose: block.purpose,
17722
+ ...block.identifier ? { identifier: block.identifier } : {},
17573
17723
  ...block.contentVersionId ? { contentVersionId: block.contentVersionId } : {},
17574
17724
  ...block.draftContentId !== void 0 ? { draftContentId: block.draftContentId } : {},
17575
17725
  publishedPlacement: block.publishedPlacement,
@@ -21381,9 +21531,11 @@ const carouselCardsLayout = (arrangement) => arrangementCardsLayout(el("carousel
21381
21531
  }]
21382
21532
  }]));
21383
21533
  const leadSupportLayout = arrangementCardsLayout(el("div", lookSlot("items"), [leadCard]));
21534
+ const comingUpCardHook = { "data-has-coming-up": { $bind: { from: "card.comingUp" } } };
21384
21535
  const indexRow = el("li", {
21385
21536
  ...lookSlot("item"),
21386
- ...featuredCardHook
21537
+ ...featuredCardHook,
21538
+ ...comingUpCardHook
21387
21539
  }, [
21388
21540
  el("div", {
21389
21541
  ...lookSlot("numeral"),
@@ -21518,6 +21670,21 @@ const featureCardsBlockDefinition = { manifest: createBlockManifest({
21518
21670
  }
21519
21671
  }
21520
21672
  },
21673
+ {
21674
+ id: "comingUp",
21675
+ type: "boolean",
21676
+ label: "Coming up",
21677
+ description: "For something that hasn't happened yet. On a timeline, these come after a Now marker and are drawn in outline.",
21678
+ required: false,
21679
+ defaultValue: false,
21680
+ ui: {
21681
+ intent: "content",
21682
+ visibleWhen: {
21683
+ field: "$root.blockLook",
21684
+ equals: "feature-cards-timeline"
21685
+ }
21686
+ }
21687
+ },
21521
21688
  {
21522
21689
  id: "label",
21523
21690
  type: "text",
@@ -25541,7 +25708,11 @@ const teamMemberDataSchema = z.object({
25541
25708
  photo: teamMemberPhotoSchema,
25542
25709
  profilePath: z.string().nullable(),
25543
25710
  specialties: z.array(z.string()).optional(),
25544
- profileBio: RichTextDocSchema.nullable().optional()
25711
+ profileBio: RichTextDocSchema.nullable().optional(),
25712
+ facts: z.array(z.object({
25713
+ label: z.string(),
25714
+ value: z.string()
25715
+ })).readonly().optional()
25545
25716
  });
25546
25717
  const teamMembersDataSchema = z.array(teamMemberDataSchema);
25547
25718
  const dynamicSourceWhen = { equals: "site_staff" };
@@ -25712,6 +25883,7 @@ const cardListVariant = styledSection({
25712
25883
  el("team-members", {
25713
25884
  ...cardListPresentationBindings,
25714
25885
  biographySource: { $bind: { from: "content._effectiveLook.look.structure.teamBiography" } },
25886
+ teamFacts: { $bind: { from: "content._effectiveLook.look.structure.teamFacts" } },
25715
25887
  onePerson: { $bind: { from: "content.onePerson" } },
25716
25888
  cardBiography: { $bind: { from: "content.cardBiography" } },
25717
25889
  source: { $bind: {
@@ -28898,6 +29070,10 @@ function requireEntryBlockOverride(entry, themeResources) {
28898
29070
  function pageEndingAttribute(flow, position) {
28899
29071
  return flow === "main" && (position === "last" || position === "only") ? "" : void 0;
28900
29072
  }
29073
+ /** The block's stored identifier, emitted as its section `id` so `#identifier` links land on it. */
29074
+ function blockAnchorId(block) {
29075
+ return block.identifier || void 0;
29076
+ }
28901
29077
  /**
28902
29078
  * Renders one planned block: its wrapper, style-group data attributes,
28903
29079
  * boundary reserve space and the join markup that follows it.
@@ -28947,6 +29123,7 @@ function renderPlanEntry(input) {
28947
29123
  after: joinAfter
28948
29124
  });
28949
29125
  const blockElement = /* @__PURE__ */ jsx("div", {
29126
+ id: blockAnchorId(block),
28950
29127
  className: wrapperClassName,
28951
29128
  ...arrangementHooksFromContent(renderableContent),
28952
29129
  "data-block": cleanKind,
@@ -29926,11 +30103,15 @@ function nonEmptyUnique(item) {
29926
30103
  });
29927
30104
  }
29928
30105
  const eventCategoryIdSchema = uuidSchema.transform(unsafeAsEventCategoryId);
29929
- const applicabilitySchema = z.discriminatedUnion("subject", [z.object({ subject: z.literal("service") }).strict(), z.object({
29930
- subject: z.literal("event"),
29931
- presets: z.union([z.literal("all"), nonEmptyUnique(z.enum(EVENT_PRESET_VALUES))]),
29932
- categories: z.union([z.literal("all"), nonEmptyUnique(eventCategoryIdSchema)])
29933
- }).strict()]);
30106
+ const applicabilitySchema = z.discriminatedUnion("subject", [
30107
+ z.object({ subject: z.literal("service") }).strict(),
30108
+ z.object({ subject: z.literal("team-member") }).strict(),
30109
+ z.object({
30110
+ subject: z.literal("event"),
30111
+ presets: z.union([z.literal("all"), nonEmptyUnique(z.enum(EVENT_PRESET_VALUES))]),
30112
+ categories: z.union([z.literal("all"), nonEmptyUnique(eventCategoryIdSchema)])
30113
+ }).strict()
30114
+ ]);
29934
30115
  function isActiveSection(definition) {
29935
30116
  return definition.state.kind === "active";
29936
30117
  }
@@ -30213,7 +30394,7 @@ function readSectionValue(stored, kind) {
30213
30394
  //#region ../content-model/src/page-sections/applicability.ts
30214
30395
  /** Whether one applicability covers a subject with these facts. */
30215
30396
  function appliesTo(applicability, facts) {
30216
- if (applicability.subject === "service" || facts.subject === "service") return applicability.subject === facts.subject;
30397
+ if (applicability.subject !== "event" || facts.subject !== "event") return applicability.subject === facts.subject;
30217
30398
  const presetMatches = applicability.presets === "all" || applicability.presets.includes(facts.preset);
30218
30399
  const categoryMatches = applicability.categories === "all" || facts.categoryId !== null && applicability.categories.includes(facts.categoryId);
30219
30400
  return presetMatches && categoryMatches;
@@ -30242,9 +30423,9 @@ Object.freeze({
30242
30423
  */
30243
30424
  const SECTION_VALUES_CONTENT_KEY = "sections";
30244
30425
  function readStoredSectionValues(content) {
30245
- if (!isRecord$9(content)) return {};
30426
+ if (!isRecord$8(content)) return {};
30246
30427
  const sections = content[SECTION_VALUES_CONTENT_KEY];
30247
- return isRecord$9(sections) ? sections : {};
30428
+ return isRecord$8(sections) ? sections : {};
30248
30429
  }
30249
30430
  //#endregion
30250
30431
  //#region ../content-model/src/page-sections/facts.ts
@@ -30643,8 +30824,8 @@ function applyTransform(name, value, dateContext) {
30643
30824
  if (!name) return value;
30644
30825
  switch (name) {
30645
30826
  case TRANSFORMS.RICHTEXT_FIRST_PARAGRAPH: return extractFirstParagraph(value);
30646
- case TRANSFORMS.DATE_FORMAT_SHORT: return formatDate$1(value, dateContext, { date: "short" });
30647
- case TRANSFORMS.DATE_FORMAT_LONG: return formatDate$1(value, dateContext, {
30827
+ case TRANSFORMS.DATE_FORMAT_SHORT: return formatDate(value, dateContext, { date: "short" });
30828
+ case TRANSFORMS.DATE_FORMAT_LONG: return formatDate(value, dateContext, {
30648
30829
  date: "long",
30649
30830
  includeTime: true
30650
30831
  });
@@ -31526,7 +31707,7 @@ function ensureFieldValue(field, raw, ctx) {
31526
31707
  return (Array.isArray(value) ? value : []).map((item) => ensureRepeaterItem(field, item, ctx));
31527
31708
  }
31528
31709
  function ensureRepeaterItem(field, value, ctx) {
31529
- const itemData = isRecord$9(value) ? value : {};
31710
+ const itemData = isRecord$8(value) ? value : {};
31530
31711
  const itemType = typeof itemData._type === "string" ? itemData._type : Object.keys(field.itemTypes ?? {})[0] ?? "";
31531
31712
  const fields = field.polymorphic ? field.itemTypes[itemType]?.fields ?? [] : getRepeaterChildFields(field);
31532
31713
  return {
@@ -32946,7 +33127,7 @@ function toEntrySubrouteContext(entrySubrouteData) {
32946
33127
  kind: "event-run",
32947
33128
  run: {
32948
33129
  ...entrySubrouteData.run,
32949
- name: null
33130
+ name: entrySubrouteData.run.name ?? null
32950
33131
  }
32951
33132
  };
32952
33133
  const occurrence = toOccurrenceContextFromEntrySubroute(entrySubrouteData);
@@ -33303,6 +33484,61 @@ function validateDataLoaderValue(input) {
33303
33484
  };
33304
33485
  }
33305
33486
  //#endregion
33487
+ //#region src/client/frameworkSignal.ts
33488
+ /**
33489
+ * Next.js stops or redirects a render by throwing an error with a known `digest`: a `no-store` fetch
33490
+ * during a static or ISR render ("Dynamic server usage"), `redirect()`, `notFound()` and a few
33491
+ * prerender bailouts. These aren't failures. Next has to receive them unchanged, or it can't switch the
33492
+ * route to dynamic rendering, redirect or show the not-found page, and the render fails instead.
33493
+ *
33494
+ * The SDK client doesn't import Next, so this matches the same digests as Next's own `unstable_rethrow`
33495
+ * (next/dist/client/components/unstable-rethrow.js), including a signal wrapped as an error's `cause`.
33496
+ */
33497
+ const SIGNAL_DIGESTS = /* @__PURE__ */ new Set([
33498
+ "DYNAMIC_SERVER_USAGE",
33499
+ "BAILOUT_TO_CLIENT_SIDE_RENDERING",
33500
+ "HANGING_PROMISE_REJECTION",
33501
+ "NEXT_PRERENDER_INTERRUPTED"
33502
+ ]);
33503
+ const SIGNAL_DIGEST_PREFIXES = ["NEXT_REDIRECT;", "NEXT_HTTP_ERROR_FALLBACK;"];
33504
+ function hasSignalDigest(error) {
33505
+ if (typeof error !== "object" || error === null || !("digest" in error)) return false;
33506
+ const { digest } = error;
33507
+ return typeof digest === "string" && (SIGNAL_DIGESTS.has(digest) || SIGNAL_DIGEST_PREFIXES.some((prefix) => digest.startsWith(prefix)));
33508
+ }
33509
+ /** The framework signal this error is or wraps, if any. */
33510
+ function findFrameworkSignal(error, depth = 0) {
33511
+ if (hasSignalDigest(error)) return error;
33512
+ if (depth < 5 && error instanceof Error && "cause" in error) return findFrameworkSignal(error.cause, depth + 1);
33513
+ }
33514
+ /** Re-throws a framework signal unchanged, so no SDK error handling retries, wraps or swallows it. */
33515
+ function rethrowFrameworkSignal(error) {
33516
+ const signal = findFrameworkSignal(error);
33517
+ if (signal !== void 0) throw signal;
33518
+ }
33519
+ const NEXT_DYNAMIC_USAGE_MESSAGE = "[Riverbank] Next.js stopped a prerender because a page read used a no-store fetch. Create the client with createRiverbankClient from @riverbankcms/sdk/next, which reads pages with Next's cache, or mark the route as dynamic.";
33520
+ function isDynamicServerUsage(signal) {
33521
+ return typeof signal === "object" && signal !== null && "digest" in signal && signal.digest === "DYNAMIC_SERVER_USAGE";
33522
+ }
33523
+ /**
33524
+ * The client's rethrow. The same as rethrowFrameworkSignal, but the first time a request is stopped
33525
+ * for dynamic server usage it also says how to fix it: a /server client used in a static or ISR route.
33526
+ */
33527
+ function createClientSignalRethrow(warn) {
33528
+ const warned = /* @__PURE__ */ new Set();
33529
+ return (error) => {
33530
+ const signal = findFrameworkSignal(error);
33531
+ if (signal === void 0) return;
33532
+ if (isDynamicServerUsage(signal) && !warned.has("[Riverbank] Next.js stopped a prerender because a page read used a no-store fetch. Create the client with createRiverbankClient from @riverbankcms/sdk/next, which reads pages with Next's cache, or mark the route as dynamic.")) {
33533
+ warned.add(NEXT_DYNAMIC_USAGE_MESSAGE);
33534
+ warn(NEXT_DYNAMIC_USAGE_MESSAGE);
33535
+ }
33536
+ throw signal;
33537
+ };
33538
+ }
33539
+ /** The client's rethrow, warning once per process through console.warn. */
33540
+ const rethrowClientFrameworkSignal = createClientSignalRethrow((message) => console.warn(message));
33541
+ //#endregion
33306
33542
  //#region src/data/executeCodeLoaders.ts
33307
33543
  const systemBlockKindSet = new Set(SYSTEM_BLOCK_KINDS);
33308
33544
  function isBlockKind(value) {
@@ -33320,6 +33556,41 @@ function toFailureBase(context, loaderKey) {
33320
33556
  };
33321
33557
  }
33322
33558
  /**
33559
+ * One host loader's closed outcome. Its own failure becomes a value, but redirect(), notFound() or a
33560
+ * dynamic read inside it is a Next render signal, which must reach Next rather than become a failure.
33561
+ */
33562
+ async function runLoader(loader, loaderContext, loaderKey) {
33563
+ const settled = await Promise.resolve().then(() => loader(loaderContext)).then((output) => ({
33564
+ ran: true,
33565
+ output
33566
+ }), (error) => {
33567
+ rethrowFrameworkSignal(error);
33568
+ return { ran: false };
33569
+ });
33570
+ if (!settled.ran) return {
33571
+ ok: false,
33572
+ failure: {
33573
+ kind: "execution-failed",
33574
+ ...toFailureBase(loaderContext, loaderKey)
33575
+ }
33576
+ };
33577
+ const validation = validateDataLoaderValue(settled.output);
33578
+ if (!validation.ok) return {
33579
+ ok: false,
33580
+ failure: {
33581
+ kind: "invalid-result",
33582
+ ...toFailureBase(loaderContext, loaderKey),
33583
+ validationIssueKind: validation.issue.kind
33584
+ }
33585
+ };
33586
+ return {
33587
+ ok: true,
33588
+ blockId: loaderContext.blockId,
33589
+ loaderKey,
33590
+ value: validation.value
33591
+ };
33592
+ }
33593
+ /**
33323
33594
  * Runs all matching host loaders concurrently. The function returns closed
33324
33595
  * outcomes and never logs; warning ownership belongs to the shared resolver.
33325
33596
  */
@@ -33340,35 +33611,7 @@ async function executeCodeLoaders(page, context, overrides) {
33340
33611
  previewStage: context.previewStage,
33341
33612
  searchParams: context.searchParams
33342
33613
  });
33343
- tasks.push((async () => {
33344
- let output;
33345
- try {
33346
- output = await loader(loaderContext);
33347
- } catch {
33348
- return {
33349
- ok: false,
33350
- failure: {
33351
- kind: "execution-failed",
33352
- ...toFailureBase(loaderContext, loaderKey)
33353
- }
33354
- };
33355
- }
33356
- const validation = validateDataLoaderValue(output);
33357
- if (!validation.ok) return {
33358
- ok: false,
33359
- failure: {
33360
- kind: "invalid-result",
33361
- ...toFailureBase(loaderContext, loaderKey),
33362
- validationIssueKind: validation.issue.kind
33363
- }
33364
- };
33365
- return {
33366
- ok: true,
33367
- blockId,
33368
- loaderKey,
33369
- value: validation.value
33370
- };
33371
- })());
33614
+ tasks.push(runLoader(loader, loaderContext, loaderKey));
33372
33615
  }
33373
33616
  }
33374
33617
  const outcomes = await Promise.all(tasks);
@@ -33728,6 +33971,7 @@ function sdkPrefetchOptions(normalize, context, client, options) {
33728
33971
  },
33729
33972
  isValidEndpoint: isSupportedLoaderEndpoint,
33730
33973
  onError: (error, { block, loader }) => {
33974
+ rethrowFrameworkSignal(error);
33731
33975
  console.warn("[prefetchBlockData] failed to prefetch block data", {
33732
33976
  block,
33733
33977
  loader,
@@ -33938,9 +34182,11 @@ function readTransportedBlockHeader(block) {
33938
34182
  if (typeof block.id !== "string" && block.id !== null) throw new Error(`Invalid block id in page: expected string or null, got ${typeof block.id}`);
33939
34183
  if (typeof block.kind !== "string") throw new Error(`Invalid block kind in page: expected string, got ${typeof block.kind}`);
33940
34184
  if (typeof block.purpose !== "string") throw new Error(`Invalid block purpose in page: expected string, got ${typeof block.purpose}`);
34185
+ const identifier = readBlockContentId(block.identifier, "block identifier");
33941
34186
  if (block.contentVersionId !== void 0 && block.contentVersionId !== null && typeof block.contentVersionId !== "string") throw new Error(`Invalid content version id in page: expected string or null, got ${typeof block.contentVersionId}`);
33942
34187
  return {
33943
34188
  id: block.id,
34189
+ ...identifier ? { identifier } : {},
33944
34190
  ...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
33945
34191
  kind: block.kind,
33946
34192
  purpose: block.purpose
@@ -33965,6 +34211,7 @@ function buildRenderablePageOutline(input) {
33965
34211
  function projectRenderablePageOutline(page) {
33966
34212
  return mapOutlineRegions(page, (blocks) => blocks.flatMap((block) => block.admission.kind === "renderable" ? [{
33967
34213
  id: block.id,
34214
+ ...block.identifier ? { identifier: block.identifier } : {},
33968
34215
  draftContentId: block.draftContentId ?? null,
33969
34216
  publishedPlacement: block.publishedPlacement,
33970
34217
  ...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
@@ -33977,6 +34224,7 @@ function projectRenderablePageOutline(page) {
33977
34224
  function admitSdkRuntimePageBlock(block, customBlocks) {
33978
34225
  const base = {
33979
34226
  id: block.id,
34227
+ ...block.identifier ? { identifier: block.identifier } : {},
33980
34228
  draftContentId: block.draftContentId,
33981
34229
  publishedPlacement: block.publishedPlacement,
33982
34230
  ...block.contentVersionId !== void 0 ? { contentVersionId: block.contentVersionId } : {},
@@ -34292,6 +34540,7 @@ function toContentTemplate(template) {
34292
34540
  function admitEntrySlotBlock(block, customBlocks, previewStage) {
34293
34541
  const base = {
34294
34542
  id: block.id ?? block.blockId ?? null,
34543
+ ...block.identifier ? { identifier: block.identifier } : {},
34295
34544
  contentVersionId: block.contentVersionId,
34296
34545
  ...entrySlotBlockIdentity(block, previewStage),
34297
34546
  kind: block.kind,
@@ -35045,4 +35294,4 @@ function Page(props) {
35045
35294
  return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(HydratorWithContextProps, { ...toPageHydrationBootstrapConfig(props) }), /* @__PURE__ */ jsx(PageContent, { ...props })] });
35046
35295
  }
35047
35296
  //#endregion
35048
- export { planBlockDataRequests as $, materializeEntriesMedia as A, BOOKING_PAGE_BLOCK_IDS as B, siteBlockRenderContext as C, resolveBlockDataWithDeps as D, createBlockDataLoadPolicy as E, MissingSdkThemeError as F, bookingPageIdentity as G, bookingPageFacts as H, requireSdkTheme as I, createPublicBlockContentContractResolver as J, plainTextDoc as K, parseServicePageContent as L, RiverbankApiError as M, attachResilienceStatusToError as N, SUPPORTED_LOADER_ENDPOINTS as O, MISSING_SDK_THEME_ERROR_CODE as P, bookingSectionBlocks as Q, SERVICE_BOOKING_BLOCK_IDS as R, projectRenderablePageOutline as S, DEFAULT_RESOLVE_BLOCK_DATA_DEPS as T, bookingPageSeedData as U, bookingDetailEvents as V, buildBookingPageOutline as W, bookingHero as X, bookingDescription as Y, bookingPageDesign as Z, loadContentFromContentResponse as _, solvedInksForThemeRuntime as a, admitLayoutGridForPlan as at, buildSiteRenderSupport as b, MissingBlockOverrideError as c, projectRepeaterGridLayoutForRendering as ct, buildThemeRuntime as d, isRouteVisibleInStage as dt, getBlockDefinition as et, parseBlocksTheme as f, normalizeRenderStage as ft, loadContent as g, isPageSurfaceContent as h, isSupportedLoaderEndpoint$1 as ht, renderWithSdkThemeRuntime as i, renderBlock as it, normalizeDataLoaderSearchParams as j, prefetchBlockDataWithFailures as k, PageRenderer as l, getDefaultComponentRegistry as lt, isPageContent as m, encodePublicProductCategorySelector as mt, planLayoutThemeRuntime as n, siteHeaderManifest as nt, ThemeScope as o, deriveFieldValidationPlan as ot, isEntryContent as p, resolveRouteHrefForStage as pt, buildCodeOwnedPageBlocks as q, renderWithOverrideOnlyRuntime as r, makeDefaultBlockComponent as rt, EditorPageRenderer as s, projectRepeaterGridLayout as st, Page as t, siteFooterManifest as tt, toBlocksPageRendererDataContext as u, resolveAuthoredLinkHref as ut, loadContentFromContentResponseWithDeps as v, resolveSiteCustomBlocks as w, collectMediaAssetSidecar as x, buildRenderablePageOutline as y, buildServiceBookingOutline as z };
35297
+ export { bookingPageDesign as $, materializeEntriesMedia as A, SERVICE_BOOKING_BLOCK_IDS as B, siteBlockRenderContext as C, resolveBlockDataWithDeps as D, createBlockDataLoadPolicy as E, attachResilienceStatusToError as F, bookingPageSeedData as G, BOOKING_PAGE_BLOCK_IDS as H, MISSING_SDK_THEME_ERROR_CODE as I, plainTextDoc as J, buildBookingPageOutline as K, MissingSdkThemeError as L, rethrowClientFrameworkSignal as M, normalizeDataLoaderSearchParams as N, SUPPORTED_LOADER_ENDPOINTS as O, RiverbankApiError as P, bookingHero as Q, requireSdkTheme as R, projectRenderablePageOutline as S, DEFAULT_RESOLVE_BLOCK_DATA_DEPS as T, bookingDetailEvents as U, buildServiceBookingOutline as V, bookingPageFacts as W, createPublicBlockContentContractResolver as X, buildCodeOwnedPageBlocks as Y, bookingDescription as Z, loadContentFromContentResponse as _, isSupportedLoaderEndpoint$1 as _t, solvedInksForThemeRuntime as a, makeDefaultBlockComponent as at, buildSiteRenderSupport as b, MissingBlockOverrideError as c, deriveFieldValidationPlan as ct, buildThemeRuntime as d, getDefaultComponentRegistry as dt, bookingSectionBlocks as et, parseBlocksTheme as f, resolveAuthoredLinkHref as ft, loadContent as g, encodePublicProductCategorySelector as gt, isPageSurfaceContent as h, resolveRouteHrefForStage as ht, renderWithSdkThemeRuntime as i, siteHeaderManifest as it, findFrameworkSignal as j, prefetchBlockDataWithFailures as k, PageRenderer as l, projectRepeaterGridLayout as lt, isPageContent as m, normalizeRenderStage as mt, planLayoutThemeRuntime as n, getBlockDefinition as nt, ThemeScope as o, renderBlock as ot, isEntryContent as p, isRouteVisibleInStage as pt, bookingPageIdentity as q, renderWithOverrideOnlyRuntime as r, siteFooterManifest as rt, EditorPageRenderer as s, admitLayoutGridForPlan as st, Page as t, planBlockDataRequests as tt, toBlocksPageRendererDataContext as u, projectRepeaterGridLayoutForRendering as ut, loadContentFromContentResponseWithDeps as v, resolveSiteCustomBlocks as w, collectMediaAssetSidecar as x, buildRenderablePageOutline as y, parseServicePageContent as z };