@riverbankcms/sdk 0.180.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 (232) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  2. package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +2 -2
  4. package/dist/_dts/{client-BP7VBRvs.d.ts → client-Chr9pNVW.d.ts} +58 -70
  5. package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-kjccgopX.d.ts} +2 -2
  6. package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-BodaiS00.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  8. package/dist/_dts/{index-BeM5Ylwf.d.ts → index-Brl6_I2j.d.ts} +1 -2
  9. package/dist/_dts/{index-CB5Csefo.d.ts → index-CJkefwYh.d.ts} +2 -2
  10. package/dist/_dts/{index-DQBGwBPx.d.ts → index-D1WpKwQe.d.ts} +1 -1
  11. package/dist/_dts/{index-DQr358-m.d.ts → index-DG0OvBs0.d.ts} +8 -8
  12. package/dist/_dts/{index-Blrw2oVk.d.ts → index-Diqt0PvG.d.ts} +1 -1
  13. package/dist/_dts/{index-DCcxLa8p.d.ts → index-Dy50xUMK.d.ts} +2 -2
  14. package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  15. package/dist/_dts/{request-P08l6mkr.d.ts → request-CA0izds5.d.ts} +2498 -1108
  16. package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  18. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  19. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client.d.ts +7 -7
  21. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  23. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  25. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  27. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  28. package/dist/_dts/sdk/src/index.d.ts +104 -8
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/next/index.d.ts +83 -52
  33. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  34. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  36. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +6 -6
  54. package/dist/_dts/{types-HAy1-Jjo.d.ts → types-CQrsP1x_.d.ts} +3 -3
  55. package/dist/_dts/{types-DpEAnP4F.d.ts → types-CgS3xLk8.d.ts} +2 -2
  56. package/dist/_dts/{types-BrK6SS5c.d.ts → types-R65DKjPn.d.ts} +7 -7
  57. package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  59. package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-uWfR2kaG.mjs} +93 -18
  60. package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-CyNIKw6k.mjs} +7 -87
  61. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  62. package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  63. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +9 -6
  65. package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  68. package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-CwzrjcRw.mjs} +6 -6
  69. package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DZ0qMFF4.mjs} +6 -6
  72. package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +700 -514
  73. package/dist/client/{Page-bX7iy_MK.mjs → Page-C7mygH_f.mjs} +389 -248
  74. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +7 -11
  76. package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  77. package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  78. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  79. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  80. package/dist/client/{accordion-wofJY8xY.mjs → accordion-CsW8U3ff.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-cBWM392H.mjs} +52 -29
  82. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  83. package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  84. package/dist/client/bookings.mjs +17 -11
  85. package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  86. package/dist/client/{carousel-BE1dEFsD.mjs → carousel-DJoleFV3.mjs} +2 -2
  87. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  88. package/dist/client/{cart-BsjsdGZE.mjs → cart-EO5o6uPH.mjs} +3 -3
  89. package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-D_gPw45z.mjs} +1 -1
  90. package/dist/client/{checkout-B5KxEUDr.mjs → checkout-NVfZW0kR.mjs} +3 -3
  91. package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  93. package/dist/client/client.mjs +87 -43
  94. package/dist/client/{constants-PfYJsEZF.mjs → constants-CoOkvw__.mjs} +1 -2
  95. package/dist/client/{context-DtKdUdkO.mjs → context-CRhn9qzS.mjs} +732 -370
  96. package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  97. package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  98. package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  99. package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-D7YYKySQ.mjs} +191 -210
  100. package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  101. package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  102. package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  103. package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  104. package/dist/client/{form-Zl1_8RJ6.mjs → form-DM8Zbxbv.mjs} +3 -3
  105. package/dist/client/{form.client-TaMUys6I.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  106. package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  107. package/dist/client/gifting/client.mjs +32 -29
  108. package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-DWIsqQru.mjs} +4 -4
  109. package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  110. package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  111. package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  112. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  113. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  114. package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  115. package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-RuM86VAv.mjs} +23 -24
  116. package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  117. package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  118. package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-Dl4mZ-rr.mjs} +167 -49
  119. package/dist/client/portal/client.mjs +13040 -8190
  120. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  121. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  122. package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  123. package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  124. package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-BZJCfqat.mjs} +3 -3
  125. package/dist/client/{productList-BAdJ6z5S.mjs → productList-CiRs3mNb.mjs} +3 -3
  126. package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  127. package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-CDNNd8wC.mjs} +247 -203
  128. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  129. package/dist/client/rendering/client.mjs +26 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +16 -8
  132. package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  133. package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  136. package/dist/client/{shop-BKsgxm_-.mjs → shop-Rx_gEMK8.mjs} +3 -3
  137. package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  138. package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  139. package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  140. package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  141. package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-Al4ooTl_.mjs +164 -0
  144. package/dist/client/{src-o7WEvbK1.mjs → src-ZSqRK3dD.mjs} +228 -90
  145. package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-BQJrSK0K.mjs} +9 -78
  146. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  147. package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-Dm3lKJKR.mjs} +2 -3
  148. package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  149. package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  150. package/dist/client/{view-CTBwSpKv.mjs → view-CC_yQLSA.mjs} +4 -4
  151. package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-BliJOzEX.mjs} +953 -279
  152. package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BhL0uADo.mjs} +3 -3
  153. package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +5 -5
  154. package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-BS32G4V9.mjs} +4 -4
  155. package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-RL0WfZXD.mjs} +5 -5
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +29 -5
  157. package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-CQyS8pcq.mjs} +5011 -2074
  158. package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  159. package/dist/preview-next/client/runtime.mjs +3 -3
  160. package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlmbvbLN.mjs} +3 -3
  162. package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +1 -1
  164. package/dist/preview-next/container-responsive.css +203 -174
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-R3PcMmax.mjs} +71 -37
  168. package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  169. package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BQWsnGT6.mjs} +126 -120
  170. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  171. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  172. package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DxojjtK3.mjs} +7 -7
  173. package/dist/server/{client-m0ylCj_f.mjs → client-CDndhbYO.mjs} +86 -42
  174. package/dist/server/config-validation.mjs +1 -1
  175. package/dist/server/config.mjs +2 -2
  176. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  177. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  178. package/dist/server/data/resolveBlockData.mjs +1 -1
  179. package/dist/server/index.mjs +3 -3
  180. package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-BKstMBmX.mjs} +5 -4
  181. package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  182. package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-TFjgNG61.mjs} +38 -18
  183. package/dist/server/manifest.mjs +36 -25
  184. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  185. package/dist/server/media-BRmYrnzb.mjs +31 -0
  186. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  187. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  188. package/dist/server/navigation.mjs +1 -1
  189. package/dist/server/next.mjs +134 -81
  190. package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +3 -3
  192. package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-B7iULvKe.mjs} +8 -7
  193. package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-BytMroxn.mjs} +5 -5
  194. package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-Dcs_XTIO.mjs} +243 -323
  195. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  196. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  197. package/dist/server/portal.mjs +3 -3
  198. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  199. package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-agaH-vZV.mjs} +1 -1
  200. package/dist/server/prebuild.mjs +1 -1
  201. package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-DwpRjqw4.mjs} +4 -3
  202. package/dist/server/{registry-CvhFwbXJ.mjs → registry-DM9dHfDC.mjs} +345 -449
  203. package/dist/server/rendering/components/pageShared.mjs +1 -1
  204. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  205. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  206. package/dist/server/rendering/server.mjs +4 -4
  207. package/dist/server/rendering.mjs +10 -9
  208. package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-CinHGf8l.mjs} +2 -2
  209. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  210. package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
  211. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BBBhOtdE.mjs} +21 -20
  214. package/dist/server/theme-bridge.mjs +3 -2
  215. package/dist/server/theme.mjs +2 -2
  216. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  217. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  218. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  219. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  220. package/dist/server/{validation-DCl-FCk_.mjs → validation-DG5jX3jH.mjs} +70 -17
  221. package/dist/server/{version-DT_R5JAR.mjs → version-CipbxPHL.mjs} +1 -1
  222. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  223. package/dist/styles/index.css +1013 -1840
  224. package/package.json +2 -1
  225. package/dist/_dts/index-B0_2-65A.d.ts +0 -101
  226. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  227. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  228. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  229. package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
  230. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  231. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  232. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -1,17 +1,19 @@
1
- import { Dt as parseThemeColorToken, Et as parseColorTokenParts, G as hexToRgb, R as contrastRatio, a as formatButtonColourContractError, at as surfaceForegroundValue, c as DEFAULT_BUTTON_SIZES, ct as surfaceInkStyle, d as generateShadowValue$1, et as SURFACE_INK_CSS_VARS, f as DEFAULT_VARIANT_ALIAS_ID, ft as cssVarValue, g as createStandardButtonSurfacePolicy, gt as textColorValue, h as buttonSizeNameSchema, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, j as expandPalette, mt as rgbColorValue, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, pt as mergeStyles, r as resolveSolidButtonColour, rt as surfaceForegroundInputFromResolved, s as BORDER_WIDTH_MAP, st as surfaceInkDeclarations, u as FONT_SIZE_MAP, ut as backgroundColorStyle, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { $ as formatEventDuration, A as OfferingCourseCards, B as EventItem, C as resolvePageRouteTarget, D as EVENT_REGISTRATION_ANCHOR_ID, E as EventHeader, F as createEditorPresentationPageReader, G as eventDisplayTitleText, H as CalendarIcon, I as createPresentationPageReader, J as buildMonthDay, K as formatCourseDatesAfter, L as EmptyState, M as offeringDatesBySeries, N as deriveEventScheduleSummary, O as MonthLookView, P as derivePreviewRunSchedule, Q as formatEventTeacherLine, R as CardListCollection, S as resolveEntryRouteTarget, T as lookPartShown, U as MapPinIcon, V as eventCategoryBadge, W as eventDisplayTitle, X as formatEventQuickDate, Y as resolveMonthSelectedDay, Z as selectQuickDateEvents, _ as publicAppointmentLocationSchema, a as joinSlotKey, ct as buildThemeTokens, d as resolveLinkedEntryInlineFieldEligibility, et as resolveEventCardBooking, g as formatAppointmentPrice, h as formatAppointmentLocation, i as composePageJoins, j as eventCardListContent, k as EventListingFrameView, l as buildLinkedContentEditTarget, lt as defaultThemeTokens, m as formatAppointmentDuration, n as createPageRenderPlanReader, nt as resolveEventLinkProps, o as renderedJoinLayout, p as defaultTransforms, q as formatCourseSessions, rt as parseStoredVariant, s as retargetJoinsAcrossOmissions, tt as resolveEventCta, v as publicAppointmentPricingSchema, w as resolveRouteTarget, z as CardListItems } from "./pageRenderPlan-DJo_obpi.mjs";
3
- import { $i as PUBLIC_DOWNLOAD_MEDIA_TYPES, $n as composeHeaderSectionWrapperClassName, $r as singleButtonFragment, $s as getBookingLocalDateKey, $t as eventOnlinePlace, A as membershipClassesLabel, Aa as headerRootIsTransparent, Ai as el, An as isOrdinaryPublicEvent, Ar as Grid, At as groupOfferingRunsByCourse, B as eventListingBlockDefinition, Bi as FileArchiveIcon, Bn as isBookableEvent, Br as formatEventDepositNote, Bs as parseMailingListPlacementTargeting, Bt as ThemedButtonLink, C as buildCartInteractiveIslandProps, Ca as selectItemSurfacePresentation, Cn as groupEventsByDate, Cr as defineProgressiveBlockRuntime, Ct as normalizeEventRegistrationPageSurfaceSubject, D as buildShopInteractiveIslandProps, Da as readOpeningToneProjection, Dn as hasCancelledRegistrationDate, Dr as lookListPresentationSchemaShape, Ds as loadedReadinessFact, E as buildProductListInteractiveIslandProps, Ea as effectiveHeaderNavLinkStyle, En as cancelledDateCopy, Er as listLookSlot, Es as hiddenFromVisitors, F as offeringsCatalogueShape, Fi as ArrowDownIcon, Fn as planWholeSeriesRunSelection, Fo as anglePolygonCss, Fs as resolveWholeSeriesBookingPhase, Ft as resolveOfferingsPreviewGroupCta, G as eventCollectionDisplaySchemaShape, Gi as PlusIcon, Gn as getEventAvailabilityStatus, Gt as eventListWeekDays, H as buildEventCollectionDisplay, Hi as FileSpreadsheetIcon, Hn as formatEventRemainingPlaces, Hr as formatEventPriceAmount, Ht as getIconComponent, I as eventCalendarBlockDefinition, Ii as ChevronDownIcon, Io as transitionCatalogueEntries, Is as resolveWholeSeriesPaymentDates, It as resolveOfferingsPreviewGroups, J as catalogueEventCardProps, Ji as parseInlineTextFromUnknown, Jn as FEATURE_CARD_ICON_TREATMENTS, Jr as headingFragment, Js as formatBookingCompactEnglishTime, K as eventCollectionHydrationSchema, Ki as inlineTextToPlainText, Kn as isEventFull, Kt as eventWeekGroupingContext, L as buildEventCalendarInteractiveIslandProps, Li as CircleMinusIcon, Ln as resolveSelectionBookingClosedDetail, Ls as buildMailingListSignupBlockSourceRef, Lt as resolveOfferingsRenderInput, M as offeringsPreviewBlockDefinition, Mi as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Mn as planOrdinarySeriesSelection, Ms as CANCELLED_SESSION_STATUS, Mt as offeringRunLifecycle, N as publicRouteCandidatesSchema, Na as arrangementLookHooks, Ni as parseBlockIconValue, Nn as planWholeSeriesParentBooking, Nt as offeringsListingFor, O as shopProductPresentation, On as eventOccurrenceContext, Oo as boundaryRuntimeMetricsForDecorativeTransition, Or as resolvedItemSurfaceProps, Os as pageTemplateFromEntry, Ot as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, P as buildOfferingsCatalogueListing, Pi as resolveBlockIconRenderValue, Pn as planWholeSeriesParentSelection, Ps as orderedLiveRunSessions, Pt as readOfferingsGrouping, Q as cardListPresentationSchemaShape, Qi as parseFieldDefinitions, Qr as blogFeaturedPostFragment, Qs as formatLocalScheduleDate, Qt as browserReadAuthoritySchema, R as buildEventCalendarListingDisplay, Ri as CirclePlusIcon, Rn as selectionRepresentativeEvent, Rs as parseMailingListRuntimeContext, Rt as ThemedAuthoredButton, S as shopBlockDefinition, Si as defineFragment, Sn as formatTime, Sr as defineClientOwnedBlockRuntime, St as previewStageSchema, T as buildProductDetailInteractiveIslandProps, Ta as authoredHeaderLinkForeground, Tn as bookingPageKindSchema, Tr as listLookControl, Ts as admitReadinessFacts, U as buildEventCollectionHydration, Ua as resolveEffectiveArrangement, Ui as FileTextIcon, Un as formatTotalCapacity, Us as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Ut as SpinnerNode, V as buildEventListingInteractiveIslandProps, Va as arrangementManifestFromVariants, Vi as FileAudioIcon, Vr as formatEventPrice, Vs as sameMailingListPlacementTargeting, Vt as ThemedDownloadLink, W as buildEventCollectionListingDisplay, Wi as MinusIcon, Ws as formatDate$1, Wt as buildEventListWeek, X as CardListContentPart, Xn as shouldReserveFeatureCardIconZone, Xr as faqAccordionFragment, Xs as addLocalScheduleDays, Y as listingEventCardProps, Yn as resolveFeatureCardGeneratedIconSizePx, Yr as cardFragment, Ys as toScheduledBookingDateTime, Yt as resolveRuntimeEventDestination, Zr as faqHeadingFragment, Zt as bookingPresentation, _ as buildGiftingInteractiveIslandProps, _a as parseThemeButtonVariantId, _n as formatEventHourLabel, _o as generateInteractiveChildInheritanceCSS, _r as buildFormInteractiveIslandProps, _s as blockBookingPaymentTermsSchema, _t as getContainerClass, a as LOCATION_MAP_LOADER_KEYS, aa as eventReadinessLoaderKey, ac as toBookingTimeZone, ai as heroCtaRowFragment, an as closedDatesCopy, ar as teamMemberCardBiography, as as getLocalDateKey, b as productDetailBlockDefinition, ba as resolveHeaderRootForeground, bc as TokenResolver, bn as formatEventTimeRange, br as defineInteractiveIslandMetaKeys, bs as beforeBookingQuestionsPresentationSchema, bt as resolveEventRegistrationEventSource, c as normalizeLocationMapSource, ca as eventReadinessResultSchema, cc as isPublicEventPricingOptionDisplayable, ci as heroCopyFragment, cn as buildCalendarViewport, cs as formatDateKey, d as newsletterSignupBlockDefinition, dc as publicEventPricingType, di as normalizeBoxStylesBorder, do as generateFooterCss, ds as getWeekCalendarDayTuple, ec as getLocalScheduleDate, ei as formEmbedFragment, en as eventPlaceName, er as markEditableSurfaceForwarding, fc as resolveExactOrFreePriceDisplay, fi as resolveCardRoleForBoxStyles, fn as formatCalendarTitle, fo as buildTextContrastShadow, fr as staticHeaderChromeRuntime, fs as getWeekCalendarDays, ft as buildResolveImageUrlContext, g as giftingBlockDefinition, gn as formatEventDateParts, go as resolveEffectPaint, gr as formBlockDefinition, gs as publicEventsArraySchema, gt as getCardOrientation, h as newsletterBlockSubmissionMessage, hn as formatEventCompactDateRail, ho as resolveEffectApplications, ht as EventQuickFacts, ic as resolveBookingBusinessTimeZone, ii as ctaCopyFragment, in as pageNavigationSchema, ir as teamMemberBiography, it as MediaPlaceholder, j as passCardListContent, ja as headerRootPaint, ji as when, jn as planDropInPanel, jr as clsx, jt as normalizeOfferingsPreviewItemLimit, k as membershipCardListContent, ka as headerNeedsPhotoShade, ki as runTransforms, kn as getPublicEventCanonicalPath, kr as itemRole, ks as unavailableReadinessFact, kt as buildOfferingsPreviewListing, l as parseLocationMapLoaderResult, lc as publicEventPricingCurrency, lo as resolveCardRole, ls as getDayOfWeek, lt as resolvePublicMediaUrl, m as buildNewsletterFormInteractiveIslandProps, mc as formatCurrencyAmount, mn as formatEventClockLabel, mo as generateEffectsCSS, ms as isToday, mt as setContextResolveImageUrlContext, na as isRecord$4, nc as parseLocalScheduleTime, ni as testimonialsCarouselFragment, nn as formatEventLocation, nt as RichText, o as describeUnresolvedLocationMapLocation, oi as ctaRowFragment, on as closedRunCopy, or as readRuntimeNow, os as getLocalMinuteOfDay, p as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, pn as formatDate, po as generateNavLinkCSS, ps as isSameCalendarDay, pt as getCurrentResolveImageUrlContext, q as eventCollectionSourceSchemaShape, qi as isInlineTextEmpty, qn as groupPublicEventsByRun, qo as bindingSchema, qr as richTextFragment, r as normalizeBlockContent, ra as chosenString, rc as toUtcIsoDateTimeString, ri as testimonialsHeadingFragment, rn as blockSiteTermsSchema, ro as requireCuratedSiteStyle, rr as parseTeamMemberSpecialties, rt as ImagePresets, s as normalizeLocationMapProps, sc as formatBookingPriceDisplay, si as isBlockButtonRole, sn as closedDateCopy, sr as resolveDateRuntimeContext, ss as addDays, t as getBlockDefinition, ta as isObjectRecord, tc as parseBookingLocalDate, ti as formCopyFragment, tn as eventVenuePlace, tr as splitPositioningClasses, tt as MediaNodeServer, u as resolveLocationMapLocation, uc as publicEventPricingDisplay, ui as boxStyleClassNames, un as eventDateOptions, uo as generateDefaultCardSystem, us as getOrderedDayNames, v as checkoutBlockDefinition, va as themeButtonSelector, vi as resolveBackgroundColorValue, vn as formatEventNextDateFact, vr as buildInteractiveIslandProps, vs as blockBookingConsentSchema, vt as eventRegistrationBlockDefinition, w as buildCheckoutInteractiveIslandProps, wn as resolveEventTimeZone, wr as listItemPresentation, wt as resolveEventRegistrationScopedEvents, x as productListBlockDefinition, xi as bodyCopyFragment, xr as createZodCodec, xs as sanitizeHref, xt as bookingNowSchema, y as cartBlockDefinition, ya as AFFORDANCE_SUPPRESS_CLASS, yi as ctaButton, yr as createInteractiveIslandCodec, ys as bookingConsentCarrierSchema, yt as buildEventRegistrationInteractiveIslandProps, zi as ClockIcon, zr as formatCoursePrice, zt as ThemedButton } from "./registry-CvhFwbXJ.mjs";
4
- import { B as HOVER_TEXT_THRESHOLD, C as materializeRuntimeButtonAppearance, F as resolveSurfaceForeground, G as resolveConcreteColorHex, H as contrastThresholdByPolicy, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, N as freezeOwnedThemeValue, O as mapButtonVisualAppearances, P as ownedThemeSnapshot, S as buttonTypographyDeclarations, U as inkReference, V as certifyPaint, b as buttonShadow, f as compositeHex, g as actionVariableFallback, n as parseSurfaceTree, o as resolveSurface, s as serializeSurfaceTree, v as buttonBorder, w as paddingDeclarations, x as buttonStateAppearanceDeclarations, y as buttonRadius } from "./accessibleSurfaces-CM3QANtw.mjs";
5
- import { b as siteChromeBackgroundOverrideOwner, m as surfaceCardRoleValues, s as boxBackgroundSchema } from "./schema-BpsqaSSU.mjs";
6
- import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
7
- import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema } from "./mapLocation-BM5WX7FY.mjs";
1
+ import { D as surfaceInkStyle, E as surfaceInkDeclarations, F as textColorValue, J as parseColorTokenParts, L as callsCssLoadingFunction, M as mergeStyles, N as rgbColorValue, P as textColorStyle, R as staysInsideDeclaration, S as surfaceForegroundInputFromResolved, Y as parseThemeColorToken, a as createStandardButtonSurfacePolicy, i as buttonSizeNameSchema, j as cssVarValue, k as backgroundColorStyle, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, w as surfaceForegroundValue, x as surfaceForegroundDeclarations, y as SURFACE_INK_CSS_VARS } from "./types-BKaBZFjD.mjs";
2
+ import { C as contrastRatio, a as formatButtonColourContractError, c as DEFAULT_BUTTON_SIZES, d as generateShadowValue$1, g as expandPalette, i as BUTTON_CONTRAST_POLICY, j as hexToRgb, n as compileButtonColourStates, r as resolveSolidButtonColour, s as BORDER_WIDTH_MAP, u as FONT_SIZE_MAP } from "./resolveButtonColourStates-B0O1IM16.mjs";
3
+ import { $ as formatEventDuration, A as OfferingCourseCards, B as EventItem, C as resolvePageRouteTarget, D as EVENT_REGISTRATION_ANCHOR_ID, E as EventHeader, F as createEditorPresentationPageReader, G as eventDisplayTitleText, H as CalendarIcon, I as createPresentationPageReader, J as buildMonthDay, K as formatCourseDatesAfter, L as EmptyState, M as offeringDatesBySeries, N as deriveEventScheduleSummary, O as MonthLookView, P as derivePreviewRunSchedule, Q as formatEventTeacherLine, R as CardListCollection, S as resolveEntryRouteTarget, T as lookPartShown, U as MapPinIcon, V as eventCategoryBadge, W as eventDisplayTitle, X as formatEventQuickDate, Y as resolveMonthSelectedDay, Z as selectQuickDateEvents, _ as publicAppointmentLocationSchema, a as joinSlotKey, ct as buildThemeTokens, d as resolveLinkedEntryInlineFieldEligibility, et as resolveEventCardBooking, g as formatAppointmentPrice, h as formatAppointmentLocation, i as composePageJoins, j as eventCardListContent, k as EventListingFrameView, l as buildLinkedContentEditTarget, lt as defaultThemeTokens, m as formatAppointmentDuration, n as createPageRenderPlanReader, nt as resolveEventLinkProps, o as renderedJoinLayout, p as defaultTransforms, q as formatCourseSessions, rt as parseStoredVariant, s as retargetJoinsAcrossOmissions, tt as resolveEventCta, v as publicAppointmentPricingSchema, w as resolveRouteTarget, z as CardListItems } from "./pageRenderPlan-B7iULvKe.mjs";
4
+ import { $i as PUBLIC_DOWNLOAD_MEDIA_TYPES, $n as composeHeaderSectionWrapperClassName, $r as singleButtonFragment, $s as resolveBookingBusinessTimeZone, $t as eventOnlinePlace, A as membershipClassesLabel, Ai as el, An as isOrdinaryPublicEvent, Ar as Grid, As as resolveWholeSeriesBookingPhase, At as offeringRunLifecycle, B as eventListingBlockDefinition, Bi as FileArchiveIcon, Bn as isBookableEvent, Br as formatEventDepositNote, Bt as ThemedButtonLink, C as buildCartInteractiveIslandProps, Ca as authoredHeaderLinkForeground, Cn as groupEventsByDate, Cr as defineProgressiveBlockRuntime, Cs as pageTemplateFromEntry, D as buildShopInteractiveIslandProps, Da as headerNeedsPhotoShade, Dn as hasCancelledRegistrationDate, Dr as lookListPresentationSchemaShape, Ds as CANCELLED_SESSION_STATUS, Dt as buildOfferingsPreviewListing, E as buildProductListInteractiveIslandProps, En as cancelledDateCopy, Eo as boundaryRuntimeMetricsForDecorativeTransition, Er as listLookSlot, Et as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, F as offeringsCatalogueShape, Fi as ArrowDownIcon, Fn as planWholeSeriesRunSelection, Fs as parseMailingListPlacementTargeting, Ft as resolveOfferingsRenderInput, G as eventCollectionDisplaySchemaShape, Gi as PlusIcon, Gn as getEventAvailabilityStatus, Gs as addLocalScheduleDays, Gt as eventListWeekDays, H as buildEventCollectionDisplay, Hi as FileSpreadsheetIcon, Hn as formatEventRemainingPlaces, Hr as formatEventPriceAmount, Ht as getIconComponent, I as eventCalendarBlockDefinition, Ii as ChevronDownIcon, Is as sameMailingListPlacementTargeting, It as normalizeEventRegistrationPageSurfaceSubject, J as catalogueEventCardProps, Ji as parseInlineTextFromUnknown, Jn as FEATURE_CARD_ICON_TREATMENTS, Jr as headingFragment, Js as getBookingLocalDateKey, K as eventCollectionHydrationSchema, Ki as inlineTextToPlainText, Kn as isEventFull, Kt as eventWeekGroupingContext, L as buildEventCalendarInteractiveIslandProps, Li as CircleMinusIcon, Ln as resolveSelectionBookingClosedDetail, Lt as resolveEventRegistrationScopedEvents, M as offeringsPreviewBlockDefinition, Mi as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Mn as planOrdinarySeriesSelection, Ms as buildMailingListSignupBlockSourceRef, Mt as readOfferingsGrouping, N as publicRouteCandidatesSchema, Ni as parseBlockIconValue, Nn as planWholeSeriesParentBooking, No as anglePolygonCss, Ns as parseMailingListRuntimeContext, Nt as resolveOfferingsPreviewGroupCta, O as shopProductPresentation, Oa as headerRootIsTransparent, On as eventOccurrenceContext, Or as resolvedItemSurfaceProps, Ot as groupOfferingRunsByCourse, P as buildOfferingsCatalogueListing, Pi as resolveBlockIconRenderValue, Pn as planWholeSeriesParentSelection, Po as transitionCatalogueEntries, Pt as resolveOfferingsPreviewGroups, Q as cardListPresentationSchemaShape, Qi as parseFieldDefinitions, Qr as blogFeaturedPostFragment, Qs as toUtcIsoDateTimeString, Qt as browserReadAuthoritySchema, R as buildEventCalendarListingDisplay, Ri as CirclePlusIcon, Rn as selectionRepresentativeEvent, Rs as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Rt as ThemedAuthoredButton, S as shopBlockDefinition, Si as defineFragment, Sn as formatTime, Sr as defineClientOwnedBlockRuntime, Ss as loadedReadinessFact, St as previewStageSchema, T as buildProductDetailInteractiveIslandProps, Ta as readOpeningToneProjection, Tn as bookingPageKindSchema, Tr as listLookControl, U as buildEventCollectionHydration, Ui as FileTextIcon, Un as formatTotalCapacity, Us as formatBookingCompactEnglishTime, Ut as SpinnerNode, V as buildEventListingInteractiveIslandProps, Va as resolveEffectiveArrangement, Vi as FileAudioIcon, Vr as formatEventPrice, Vt as ThemedDownloadLink, W as buildEventCollectionListingDisplay, Wi as MinusIcon, Ws as toScheduledBookingDateTime, Wt as buildEventListWeek, X as CardListContentPart, Xn as shouldReserveFeatureCardIconZone, Xr as faqAccordionFragment, Xs as parseBookingLocalDate, Y as listingEventCardProps, Yn as resolveFeatureCardGeneratedIconSizePx, Yr as cardFragment, Ys as getLocalScheduleDate, Yt as resolveRuntimeEventDestination, Zr as faqHeadingFragment, Zs as parseLocalScheduleTime, Zt as bookingPresentation, _ as buildGiftingInteractiveIslandProps, _a as AFFORDANCE_SUPPRESS_CLASS, _n as formatEventHourLabel, _r as buildFormInteractiveIslandProps, _t as getContainerClass, a as LOCATION_MAP_LOADER_KEYS, ac as publicEventPricingDisplay, ai as heroCtaRowFragment, an as closedDatesCopy, ar as teamMemberCardBiography, as as getDayOfWeek, b as productDetailBlockDefinition, bn as formatEventTimeRange, br as defineInteractiveIslandMetaKeys, bs as admitReadinessFacts, bt as resolveEventRegistrationEventSource, c as normalizeLocationMapSource, ci as heroCopyFragment, cn as buildCalendarViewport, co as generateDefaultCardSystem, cs as getWeekCalendarDays, d as newsletterSignupBlockDefinition, di as normalizeBoxStylesBorder, do as generateNavLinkCSS, ec as toBookingTimeZone, ei as formEmbedFragment, en as eventPlaceName, er as markEditableSurfaceForwarding, fi as resolveCardRoleForBoxStyles, fn as formatCalendarTitle, fo as generateEffectsCSS, fr as staticHeaderChromeRuntime, fs as publicEventsArraySchema, ft as buildResolveImageUrlContext, g as giftingBlockDefinition, ga as themeButtonSelector, gn as formatEventDateParts, gr as formBlockDefinition, gs as beforeBookingQuestionsPresentationSchema, gt as getCardOrientation, h as newsletterBlockSubmissionMessage, ha as parseThemeButtonVariantId, hn as formatEventCompactDateRail, ho as generateInteractiveChildInheritanceCSS, hs as bookingConsentCarrierSchema, ht as EventQuickFacts, ic as publicEventPricingCurrency, ii as ctaCopyFragment, in as pageNavigationSchema, ir as teamMemberBiography, is as formatDateKey, it as MediaPlaceholder, j as passCardListContent, ja as arrangementLookHooks, ji as when, jn as planDropInPanel, jr as clsx, js as resolveWholeSeriesPaymentDates, jt as offeringsListingFor, k as membershipCardListContent, ka as headerRootPaint, ki as runTransforms, kn as getPublicEventCanonicalPath, kr as itemRole, ks as orderedLiveRunSessions, kt as normalizeOfferingsPreviewItemLimit, l as parseLocationMapLoaderResult, lc as formatCurrencyAmount, lo as generateFooterCss, ls as isSameCalendarDay, lt as resolvePublicMediaUrl, m as buildNewsletterFormInteractiveIslandProps, mc as TokenResolver, mn as formatEventClockLabel, mo as resolveEffectPaint, ms as blockBookingConsentSchema, mt as setContextResolveImageUrlContext, nc as formatBookingPriceDisplay, ni as testimonialsCarouselFragment, nn as formatEventLocation, ns as getLocalMinuteOfDay, nt as RichText, o as describeUnresolvedLocationMapLocation, oa as eventReadinessResultSchema, oc as publicEventPricingType, oi as ctaRowFragment, on as closedRunCopy, or as readRuntimeNow, os as getOrderedDayNames, p as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, pn as formatDate, po as resolveEffectApplications, ps as blockBookingPaymentTermsSchema, pt as getCurrentResolveImageUrlContext, q as eventCollectionSourceSchemaShape, qi as isInlineTextEmpty, qn as groupPublicEventsByRun, qr as richTextFragment, qs as formatLocalScheduleDate, r as normalizeBlockContent, ra as eventReadinessLoaderKey, rc as isPublicEventPricingOptionDisplayable, ri as testimonialsHeadingFragment, rn as blockSiteTermsSchema, rr as parseTeamMemberSpecialties, rs as addDays, rt as ImagePresets, s as normalizeLocationMapProps, sc as resolveExactOrFreePriceDisplay, si as isBlockButtonRole, sn as closedDateCopy, so as resolveCardRole, sr as resolveDateRuntimeContext, ss as getWeekCalendarDayTuple, t as getBlockDefinition, ta as chosenString, ti as formCopyFragment, tn as eventVenuePlace, to as requireCuratedSiteStyle, tr as splitPositioningClasses, ts as getLocalDateKey, tt as MediaNodeServer, u as resolveLocationMapLocation, ui as boxStyleClassNames, un as eventDateOptions, uo as buildTextContrastShadow, us as isToday, v as checkoutBlockDefinition, va as resolveHeaderRootForeground, vi as resolveBackgroundColorValue, vn as formatEventNextDateFact, vr as buildInteractiveIslandProps, vt as eventRegistrationBlockDefinition, w as buildCheckoutInteractiveIslandProps, wa as effectiveHeaderNavLinkStyle, wn as resolveEventTimeZone, wr as listItemPresentation, ws as unavailableReadinessFact, x as productListBlockDefinition, xa as selectItemSurfacePresentation, xi as bodyCopyFragment, xr as createZodCodec, xs as hiddenFromVisitors, xt as bookingNowSchema, y as cartBlockDefinition, yi as ctaButton, yr as createInteractiveIslandCodec, yt as buildEventRegistrationInteractiveIslandProps, za as arrangementManifestFromVariants, zi as ClockIcon, zr as formatCoursePrice, zs as formatDate$1, zt as ThemedButton } from "./registry-DM9dHfDC.mjs";
5
+ import { C as materializeRuntimeButtonAppearance, F as resolveSurfaceForeground, H as certifyPaint, K as resolveConcreteColorHex, L as surfaceInkPublication, N as freezeOwnedThemeValue, O as mapButtonVisualAppearances, P as ownedThemeSnapshot, S as buttonTypographyDeclarations, U as contrastThresholdByPolicy, V as HOVER_TEXT_THRESHOLD, W as inkReference, b as buttonShadow, f as compositeHex, g as actionVariableFallback, n as parseSurfaceTree, o as resolveSurface, q as resolveOpaqueSurfaceHex, s as serializeSurfaceTree, v as buttonBorder, w as paddingDeclarations, x as buttonStateAppearanceDeclarations, y as buttonRadius } from "./accessibleSurfaces-WPzUAHp4.mjs";
6
+ import { b as siteChromeBackgroundOverrideOwner, m as surfaceCardRoleValues, s as boxBackgroundSchema } from "./schema-CwfxQjc4.mjs";
7
+ import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema } from "./mapLocation-MDDSubTp.mjs";
8
8
  import { t as assertNever$3 } from "./assert-never-ku-PUn9U.mjs";
9
- import { A as MQ_MD_UP, M as MQ_SM_UP, N as MQ_TABLET_ONLY, O as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as compileManifestContentContract, j as MQ_SM_DOWN, k as MQ_MD_DOWN, y as validateManifestDraft } from "./pageRuntimeSupport-BnSuoHON.mjs";
10
- import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
11
- import { M as opaqueSurfaceDeclarations, T as testimonialsCompositionTreatmentValues, j as opaqueSurfaceContextFromTheme, v as featureCardCompositionTreatmentValues, x as offeringsPreviewCompositionTreatmentValues, y as introCompositionTreatmentValues } from "./lookMediaFrame-m-91jGGn.mjs";
12
- import { l as mergeHeaderNavTypographyPreference, u as readHeaderNavFontSizePreference } from "./bindings-CS6ih1Yc.mjs";
13
- import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as prefixSelector, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as escapeStyleContent, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, n as compileBlockCustomCssRules, o as toKebabCase, p as generateProgressCss, r as compileCustomCssRules, s as parseBlockCustomCssRules, t as ThemeScopeCore, u as generateBlockCustomVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BQzjDQ2q.mjs";
14
- import { t as parseThemeForPersistence } from "./parseThemeForPersistence-DOsfofCy.mjs";
9
+ import { A as MQ_MD_UP, M as MQ_SM_UP, N as MQ_TABLET_ONLY, O as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as compileManifestContentContract, j as MQ_SM_DOWN, k as MQ_MD_DOWN, y as validateManifestDraft } from "./pageRuntimeSupport-BytMroxn.mjs";
10
+ import { a as bindingSchema, l as RichTextDocSchema, m as sanitizeHref, n as isRecord$4, t as isObjectRecord } from "./typeGuards-CTW_9AXq.mjs";
11
+ import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-gvfIw3z8.mjs";
12
+ import { M as opaqueSurfaceDeclarations, T as testimonialsCompositionTreatmentValues, j as opaqueSurfaceContextFromTheme, v as featureCardCompositionTreatmentValues, x as offeringsPreviewCompositionTreatmentValues, y as introCompositionTreatmentValues } from "./lookMediaFrame-TFjgNG61.mjs";
13
+ import { l as mergeHeaderNavTypographyPreference, u as readHeaderNavFontSizePreference } from "./bindings-DxojjtK3.mjs";
14
+ import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as escapeStyleContent, b as INPUT_GROUP_SELECTOR, c as parseBlockCustomCssRules, d as generateBlockCustomVarsCss, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as compileCustomCssRules, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, o as prefixSelector, p as generateProgressCss, r as compileBlockCustomCssRules, s as toKebabCase, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-BQWsnGT6.mjs";
15
+ import { c as ACCORDION_SPACING_MAP, d as ICON_CONFIG, f as ICON_SIZE_PX, i as getNodeProps, l as ACCORDION_TRIGGER_FONT_SCALE, n as getVideoEmbed, r as getVideoEmbedLoadingStrategy, s as ACCORDION_OPEN_ACCENT_THICKNESS, t as VIDEO_ASPECT_RATIO_PATTERN, u as ACCORDION_TRIGGER_LETTER_SPACING } from "./video-Cdr3wh-q.mjs";
16
+ import { t as parseThemeForPersistence } from "./parseThemeForPersistence-Bihl4W5K.mjs";
15
17
  import { n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
16
18
  import { t as getAtPath } from "./src-DHK4JUlp.mjs";
17
19
  import * as React$1 from "react";
@@ -19,6 +21,14 @@ import React, { forwardRef } from "react";
19
21
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
20
22
  import { z } from "zod";
21
23
  import { IslandDelivery } from "#island-delivery";
24
+ //#region ../core/src/booking-flexible-balance.ts
25
+ function clampFlexibleBalanceConfiguredAmount(amountCents, totalAmountCents) {
26
+ return Math.max(0, Math.min(amountCents, totalAmountCents));
27
+ }
28
+ function resolveFlexibleBalanceInitialPaymentCents(input) {
29
+ return clampFlexibleBalanceConfiguredAmount(input.config.upfrontAmountCents, input.totalAmountCents);
30
+ }
31
+ //#endregion
22
32
  //#region ../core/src/booking-instalments.ts
23
33
  function isDepositBearingBookingInstalmentPlan(plan) {
24
34
  switch (plan.kind) {
@@ -28,6 +38,9 @@ function isDepositBearingBookingInstalmentPlan(plan) {
28
38
  default: return assertNever$2(plan);
29
39
  }
30
40
  }
41
+ function getBookingInstalmentDepositRefundability(plan) {
42
+ return isDepositBearingBookingInstalmentPlan(plan) ? plan.depositRefundability : null;
43
+ }
31
44
  function getBookingInstalmentProtectedDepositAmountCents(plan) {
32
45
  return isDepositBearingBookingInstalmentPlan(plan) ? plan.depositAmountCents : null;
33
46
  }
@@ -291,6 +304,71 @@ function canInstalmentPlanCompleteBefore(input) {
291
304
  }
292
305
  //#endregion
293
306
  //#region ../commerce/src/purchase/bookingPaymentSelection.ts
307
+ function resolveBookingCollectionOptionFacts(input) {
308
+ const money = {
309
+ totalCents: input.totalCents,
310
+ anchorAt: input.anchorAt,
311
+ bookingStartAt: input.bookingStartAt,
312
+ timeZone: input.timeZone ?? "UTC"
313
+ };
314
+ switch (input.option.kind) {
315
+ case "upfront": return {
316
+ ...money,
317
+ kind: "upfront",
318
+ dueNowCents: input.totalCents
319
+ };
320
+ case "deferred_manual": return {
321
+ ...money,
322
+ kind: "deferred_manual",
323
+ dueNowCents: 0
324
+ };
325
+ case "instalment_plan": {
326
+ const schedule = buildBookingInstalmentSchedule({
327
+ anchorAt: input.anchorAt,
328
+ totalAmountCents: input.totalCents,
329
+ plan: input.option.plan
330
+ });
331
+ return {
332
+ ...money,
333
+ kind: "instalment_plan",
334
+ plan: input.option.plan,
335
+ schedule,
336
+ dueNowCents: schedule[0]?.amountCents ?? 0,
337
+ depositRefundability: getBookingInstalmentDepositRefundability(input.option.plan)
338
+ };
339
+ }
340
+ case "flexible_balance": {
341
+ const dueNowCents = resolveFlexibleBalanceInitialPaymentCents({
342
+ totalAmountCents: input.totalCents,
343
+ config: input.option.config
344
+ });
345
+ return {
346
+ ...money,
347
+ kind: "flexible_balance",
348
+ config: input.option.config,
349
+ dueNowCents,
350
+ remainingBalanceCents: Math.max(0, input.totalCents - dueNowCents),
351
+ balanceDueDay: flexibleBalanceDueDay(input.option.config, input.bookingStartAt ?? input.anchorAt, money.timeZone)
352
+ };
353
+ }
354
+ default: return assertNever$1(input.option);
355
+ }
356
+ }
357
+ /** The one date rule: whether an option's due dates still fall between now and the booking (or the owner's deadline). */
358
+ function collectionDatesOpen(option, deadline) {
359
+ if (option.kind === "upfront" || option.kind === "deferred_manual") return true;
360
+ const window = bookingCollectionWindow(option);
361
+ if (!window) return false;
362
+ if (option.kind === "flexible_balance") {
363
+ const localDay = (at) => formatLocalScheduleDate(getLocalScheduleDate(new Date(at), option.timeZone));
364
+ return option.balanceDueDay >= localDay(window.now) && option.balanceDueDay < localDay(window.start);
365
+ }
366
+ return deadline !== null && canInstalmentPlanCompleteBefore({
367
+ now: option.anchorAt,
368
+ deadline,
369
+ schedule: option.schedule
370
+ }) && option.schedule.every((row) => row.stateAtBooking !== "scheduled" || Date.parse(row.dueAt) > window.now);
371
+ }
294
372
  function bookingCollectionWindow(option) {
295
373
  const now = Date.parse(option.anchorAt);
296
374
  const start = Date.parse(option.bookingStartAt ?? "");
@@ -310,33 +388,17 @@ const SCHEDULE_DATES_TOTAL_CENTS = 1e9;
310
388
  */
311
389
  function bookingCollectionDatesOpen(option, dates) {
312
390
  if (option.kind === "upfront" || option.kind === "deferred_manual") return true;
313
- const window = bookingCollectionWindow({
391
+ if (!bookingCollectionWindow({
314
392
  anchorAt: dates.nowIso,
315
393
  bookingStartAt: dates.bookingStartAt
316
- });
317
- if (!window || dates.bookingStartAt === null) return false;
318
- switch (option.kind) {
319
- case "flexible_balance": {
320
- const due = flexibleBalanceDueDay(option.config, dates.bookingStartAt, dates.timeZone);
321
- const localDay = (at) => formatLocalScheduleDate(getLocalScheduleDate(new Date(at), dates.timeZone));
322
- return due >= localDay(window.now) && due < localDay(window.start);
323
- }
324
- case "instalment_plan": {
325
- const deadline = dates.instalmentCollectionDeadlineAt === void 0 ? dates.bookingStartAt : dates.instalmentCollectionDeadlineAt;
326
- if (deadline === null) return false;
327
- const schedule = buildBookingInstalmentSchedule({
328
- anchorAt: dates.nowIso,
329
- totalAmountCents: SCHEDULE_DATES_TOTAL_CENTS,
330
- plan: option.plan
331
- });
332
- return canInstalmentPlanCompleteBefore({
333
- now: dates.nowIso,
334
- deadline,
335
- schedule
336
- }) && schedule.every((row) => row.stateAtBooking !== "scheduled" || Date.parse(row.dueAt) > window.now);
337
- }
338
- default: return assertNever$1(option);
339
- }
394
+ })) return false;
395
+ return collectionDatesOpen(resolveBookingCollectionOptionFacts({
396
+ option,
397
+ totalCents: SCHEDULE_DATES_TOTAL_CENTS,
398
+ anchorAt: dates.nowIso,
399
+ bookingStartAt: dates.bookingStartAt,
400
+ timeZone: dates.timeZone
401
+ }), dates.instalmentCollectionDeadlineAt === void 0 ? dates.bookingStartAt : dates.instalmentCollectionDeadlineAt);
340
402
  }
341
403
  /** Mirrors private.flexible_balance_due_day: fixed civil date, or local start minus calendar days. */
342
404
  function flexibleBalanceDueDay(config, bookingStartAt, timeZone) {
@@ -1779,75 +1841,6 @@ function buttonRingDefaults(variant) {
1779
1841
  };
1780
1842
  }
1781
1843
  //#endregion
1782
- //#region ../theme-core/src/accordions/types.ts
1783
- /**
1784
- * Icon configuration mapping icon styles to Lucide icons and behavior
1785
- * Used by both CSS generation (for rotation) and component rendering (for icon selection)
1786
- */
1787
- const ICON_CONFIG = {
1788
- "plus-minus": {
1789
- closedIcon: "Plus",
1790
- openIcon: "Minus",
1791
- rotation: 0
1792
- },
1793
- "chevron": {
1794
- closedIcon: "ChevronDown",
1795
- rotation: 180
1796
- },
1797
- "caret": {
1798
- closedIcon: "ChevronDown",
1799
- rotation: 180
1800
- },
1801
- "arrow": {
1802
- closedIcon: "ArrowDown",
1803
- rotation: 180
1804
- },
1805
- "circle-plus-minus": {
1806
- closedIcon: "CirclePlus",
1807
- openIcon: "CircleMinus",
1808
- rotation: 0
1809
- }
1810
- };
1811
- /**
1812
- * Icon size mapping (px values for CSS and Lucide React)
1813
- */
1814
- const ICON_SIZE_PX = {
1815
- sm: "16px",
1816
- md: "20px",
1817
- lg: "24px"
1818
- };
1819
- /**
1820
- * Spacing map for accordion content padding
1821
- */
1822
- const ACCORDION_SPACING_MAP = {
1823
- none: "0",
1824
- compact: "0.75rem",
1825
- cozy: "1rem",
1826
- medium: "1.25rem",
1827
- comfortable: "1.5rem",
1828
- spacious: "2rem"
1829
- };
1830
- /**
1831
- * Question (trigger) font-size by scale step. Kept as self-contained clamps
1832
- * rather than the heading-scale CSS vars so question size stays predictable
1833
- * even when a theme configures very large headings.
1834
- */
1835
- const ACCORDION_TRIGGER_FONT_SCALE = {
1836
- body: "clamp(0.95rem, var(--fs-body), 1.0625rem)",
1837
- md: "clamp(1.0625rem, 0.98rem + 0.45vw, 1.3rem)",
1838
- lg: "clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem)"
1839
- };
1840
- const ACCORDION_TRIGGER_LETTER_SPACING = {
1841
- normal: "0",
1842
- tight: "-0.01em",
1843
- wide: "0.04em"
1844
- };
1845
- const ACCORDION_OPEN_ACCENT_THICKNESS = {
1846
- thin: "2px",
1847
- medium: "3px",
1848
- thick: "4px"
1849
- };
1850
- //#endregion
1851
1844
  //#region ../theme-core/src/styles/border.ts
1852
1845
  /**
1853
1846
  * Border width mapping from Tailwind class names to px values
@@ -3720,7 +3713,7 @@ function generateEventCalendarCss(_params) {
3720
3713
  //#endregion
3721
3714
  //#region ../theme-core/src/blockOverrides.ts
3722
3715
  const BLOCK_PREFIX = "block.";
3723
- function isPlainObject$1(value) {
3716
+ function isPlainObject(value) {
3724
3717
  return typeof value === "object" && value !== null && !Array.isArray(value);
3725
3718
  }
3726
3719
  function isUnknownArray(value) {
@@ -3728,7 +3721,7 @@ function isUnknownArray(value) {
3728
3721
  }
3729
3722
  function cloneValue(value) {
3730
3723
  if (isUnknownArray(value)) return value.map((item) => cloneValue(item));
3731
- if (isPlainObject$1(value)) {
3724
+ if (isPlainObject(value)) {
3732
3725
  const cloned = {};
3733
3726
  for (const [key, child] of Object.entries(value)) cloned[key] = cloneValue(child);
3734
3727
  return cloned;
@@ -3738,7 +3731,7 @@ function cloneValue(value) {
3738
3731
  function mergeDeep(defaultValue, overrideValue) {
3739
3732
  if (overrideValue === void 0) return cloneValue(defaultValue);
3740
3733
  if (overrideValue === null) return null;
3741
- if (isPlainObject$1(defaultValue) && isPlainObject$1(overrideValue)) {
3734
+ if (isPlainObject(defaultValue) && isPlainObject(overrideValue)) {
3742
3735
  const merged = {};
3743
3736
  const keys = /* @__PURE__ */ new Set([...Object.keys(defaultValue), ...Object.keys(overrideValue)]);
3744
3737
  for (const key of keys) merged[key] = mergeDeep(defaultValue[key], overrideValue[key]);
@@ -3795,7 +3788,7 @@ function mergeContentWithBlockStyleOverrides(content, theme, blockKind) {
3795
3788
  */
3796
3789
  function applyHeadingDecorationSignature(target, themeDecoration) {
3797
3790
  const existing = target["_sectionStyles"];
3798
- const existingObj = isPlainObject$1(existing) ? existing : void 0;
3791
+ const existingObj = isPlainObject(existing) ? existing : void 0;
3799
3792
  const rawOverride = existingObj?.["headingDecorationOverride"];
3800
3793
  const effective = resolveEffectiveHeadingDecoration(themeDecoration, rawOverride === "site-default" || rawOverride === "off" ? rawOverride : void 0);
3801
3794
  if (effective.kind === "none") {
@@ -3815,9 +3808,9 @@ function applyStyleOverride(target, key, defaults) {
3815
3808
  target[key] = mergeStyleOverride(defaults, target[key]);
3816
3809
  }
3817
3810
  function mergeStyleOverride(defaultValue, contentValue) {
3818
- if (!isPlainObject$1(defaultValue) || !isPlainObject$1(contentValue)) return mergeDeep(defaultValue, contentValue);
3811
+ if (!isPlainObject(defaultValue) || !isPlainObject(contentValue)) return mergeDeep(defaultValue, contentValue);
3819
3812
  const merged = mergeDeep(defaultValue, contentValue);
3820
- if (!isPlainObject$1(merged)) return merged;
3813
+ if (!isPlainObject(merged)) return merged;
3821
3814
  return {
3822
3815
  ...merged,
3823
3816
  background: mergeBoxBackground(defaultValue.background, contentValue.background)
@@ -5732,6 +5725,94 @@ function carouselContents(props) {
5732
5725
  return props.mode === "arrangement" ? React.Children.toArray(props.slides.map(({ content }) => content)) : React.Children.toArray(props.children).filter(Boolean);
5733
5726
  }
5734
5727
  //#endregion
5728
+ //#region ../blocks/src/system/runtime/inlineStyleGuard.ts
5729
+ /**
5730
+ * Server rendering writes a `style` object as one attribute string, joining
5731
+ * declarations with `;` and leaving each value as it is. A value that holds a
5732
+ * `;` (or a brace) therefore adds declarations nobody wrote, so a bound value
5733
+ * such as an aspect ratio of `1;position:fixed` would escape its property.
5734
+ *
5735
+ * Content can reach a node's `style` through bindings in first-party layouts
5736
+ * as well as custom ones (issue 1185), so the resolver passes every node's
5737
+ * resolved `style` through here before rendering. React also throws while
5738
+ * rendering a `style` that is not an object, which would fail the whole page.
5739
+ *
5740
+ * A value that calls `url()` or `image-set()` is dropped as well. Content is
5741
+ * not a safe place to take an address from (a custom block's author also
5742
+ * writes its field defaults), and no layout puts a file in a node's `style`:
5743
+ * images and video go through media nodes, which the platform serves.
5744
+ */
5745
+ /**
5746
+ * `linear-gradient(...);` pasted with its semicolon is the same value without
5747
+ * it, so trailing semicolons and the space around the value are trimmed away
5748
+ * rather than costing the owner their background.
5749
+ */
5750
+ const withoutTrailingSemicolons = (value) => value.trim().replace(/(?:\s*;)+$/, "");
5751
+ function stringDropReason(value) {
5752
+ if (!staysInsideDeclaration(value)) return "adds-declarations";
5753
+ return callsCssLoadingFunction(value) ? "loads-a-file" : null;
5754
+ }
5755
+ function judgeDeclaration(property, value) {
5756
+ if (value === null || value === void 0) return { skipped: true };
5757
+ if (typeof value === "number") return Number.isFinite(value) ? { kept: [property, value] } : { dropped: {
5758
+ property,
5759
+ reason: "not-a-value"
5760
+ } };
5761
+ if (typeof value !== "string") return { dropped: {
5762
+ property,
5763
+ reason: "not-a-value"
5764
+ } };
5765
+ const trimmed = withoutTrailingSemicolons(value);
5766
+ const reason = stringDropReason(trimmed);
5767
+ return reason === null ? { kept: [property, trimmed] } : { dropped: {
5768
+ property,
5769
+ reason
5770
+ } };
5771
+ }
5772
+ /** Which declarations of `style` render, and which are left out and why. */
5773
+ function decideInlineStyle(style) {
5774
+ if (!isRecord$4(style)) return {
5775
+ style: void 0,
5776
+ dropped: []
5777
+ };
5778
+ const judged = Object.entries(style).map(([property, value]) => judgeDeclaration(property, value));
5779
+ return {
5780
+ style: Object.fromEntries(judged.flatMap((entry) => "kept" in entry ? [entry.kept] : [])),
5781
+ dropped: judged.flatMap((entry) => "dropped" in entry ? [entry.dropped] : [])
5782
+ };
5783
+ }
5784
+ //#endregion
5785
+ //#region ../blocks/src/system/runtime/inlineStyleReport.ts
5786
+ /**
5787
+ * The effect half of the inline style guard: the resolver renders the style
5788
+ * `decideInlineStyle` allows and says what was left out (issue 1185).
5789
+ *
5790
+ * A dropped declaration is otherwise invisible. The owner sees a background
5791
+ * that isn't there, and the line logged here is how support finds out why, so
5792
+ * it is written in production too.
5793
+ */
5794
+ /**
5795
+ * Drops already reported by this process, as `property:reason`. A page of
5796
+ * repeated cards would otherwise log the same line for every card.
5797
+ */
5798
+ const reportedDrops = /* @__PURE__ */ new Set();
5799
+ function reportDrops(dropped, nodeType) {
5800
+ dropped.filter(({ property, reason }) => !reportedDrops.has(`${property}:${reason}`)).forEach(({ property, reason }) => {
5801
+ reportedDrops.add(`${property}:${reason}`);
5802
+ console.warn("[block-system] Left a style declaration out of the page", {
5803
+ nodeType,
5804
+ property,
5805
+ reason
5806
+ });
5807
+ });
5808
+ }
5809
+ /** The style a node renders with, after warning once per property and reason about anything left out. */
5810
+ function renderedInlineStyle(style, nodeType) {
5811
+ const decision = decideInlineStyle(style);
5812
+ reportDrops(decision.dropped, nodeType);
5813
+ return decision.style;
5814
+ }
5815
+ //#endregion
5735
5816
  //#region ../blocks/src/primitives/layout/Section.tsx
5736
5817
  const Section = forwardRef(function Section({ as: Comp = "section", children, background, className = "", style, "data-slot": dataSlot, "data-arrangement": dataArrangement, "data-look": dataLook, "data-surface": dataSurface }, ref) {
5737
5818
  return /* @__PURE__ */ jsx(Comp, {
@@ -6613,162 +6694,6 @@ function FileDownloadNode({ value, title, description, buttonLabel, buttonVarian
6613
6694
  });
6614
6695
  }
6615
6696
  //#endregion
6616
- //#region ../blocks/src/lib/video.ts
6617
- /**
6618
- * Parse a video URL and extract provider and video ID.
6619
- * Uses URL constructor for safe parsing.
6620
- *
6621
- * @param url - Video URL to parse
6622
- * @returns VideoInfo if valid, null otherwise
6623
- *
6624
- * Supported formats:
6625
- * - YouTube: youtube.com/watch?v=ID, youtu.be/ID, youtube.com/embed/ID
6626
- * - Vimeo: vimeo.com/ID, player.vimeo.com/video/ID
6627
- * - Instagram: instagram.com/p/SHORTCODE, instagram.com/reel/SHORTCODE, instagram.com/tv/SHORTCODE
6628
- */
6629
- function parseVideoUrl(url) {
6630
- if (!url || typeof url !== "string") return null;
6631
- try {
6632
- const parsed = new URL(url);
6633
- const hostname = parsed.hostname.toLowerCase().replace(/^www\./, "");
6634
- if (hostname === "youtube.com" || hostname === "m.youtube.com" || hostname === "youtu.be" || hostname === "youtube-nocookie.com") {
6635
- const id = extractYouTubeId(parsed);
6636
- if (id) return {
6637
- provider: "youtube",
6638
- id,
6639
- url
6640
- };
6641
- }
6642
- if (hostname === "vimeo.com" || hostname === "player.vimeo.com") {
6643
- const id = extractVimeoId(parsed);
6644
- if (id) return {
6645
- provider: "vimeo",
6646
- id,
6647
- url
6648
- };
6649
- }
6650
- if (hostname === "instagram.com" || hostname === "m.instagram.com" || hostname === "instagr.am") {
6651
- const instagram = extractInstagramShortcode(parsed);
6652
- if (instagram) return {
6653
- provider: "instagram",
6654
- id: instagram.shortcode,
6655
- kind: instagram.kind,
6656
- url
6657
- };
6658
- }
6659
- return null;
6660
- } catch {
6661
- return null;
6662
- }
6663
- }
6664
- /**
6665
- * Extract YouTube video ID from parsed URL.
6666
- */
6667
- function extractYouTubeId(url) {
6668
- if (url.hostname.toLowerCase().replace(/^www\./, "") === "youtu.be") {
6669
- const id = url.pathname.slice(1).split("/")[0] ?? "";
6670
- return isValidYouTubeId(id) ? id : null;
6671
- }
6672
- const vParam = url.searchParams.get("v");
6673
- if (vParam && isValidYouTubeId(vParam)) return vParam;
6674
- const shortsId = url.pathname.match(/^\/shorts\/([^/?]+)/)?.[1];
6675
- if (shortsId && isValidYouTubeId(shortsId)) return shortsId;
6676
- const embedId = url.pathname.match(/^\/embed\/([^/?]+)/)?.[1];
6677
- if (embedId && isValidYouTubeId(embedId)) return embedId;
6678
- const vId = url.pathname.match(/^\/v\/([^/?]+)/)?.[1];
6679
- if (vId && isValidYouTubeId(vId)) return vId;
6680
- return null;
6681
- }
6682
- /**
6683
- * Validate YouTube video ID format.
6684
- * YouTube IDs are 11 characters, alphanumeric plus - and _
6685
- */
6686
- function isValidYouTubeId(id) {
6687
- return /^[a-zA-Z0-9_-]{11}$/.test(id);
6688
- }
6689
- /**
6690
- * Extract Vimeo video ID from parsed URL.
6691
- */
6692
- function extractVimeoId(url) {
6693
- const playerId = url.pathname.match(/^\/video\/(\d+)/)?.[1];
6694
- if (playerId) return playerId;
6695
- const pathId = url.pathname.match(/^\/(\d+)/)?.[1];
6696
- if (pathId) return pathId;
6697
- return null;
6698
- }
6699
- function extractInstagramShortcode(url) {
6700
- const match = url.pathname.match(/^\/(p|reel|reels|tv)\/([^/?#]+)/);
6701
- const rawKind = match?.[1];
6702
- const shortcode = match?.[2];
6703
- if (!rawKind || !shortcode) return null;
6704
- const normalizedKind = rawKind === "reels" ? "reel" : rawKind;
6705
- if (normalizedKind !== "p" && normalizedKind !== "reel" && normalizedKind !== "tv") return null;
6706
- const kind = normalizedKind;
6707
- if (!isValidInstagramShortcode(shortcode)) return null;
6708
- return {
6709
- kind,
6710
- shortcode
6711
- };
6712
- }
6713
- function isValidInstagramShortcode(shortcode) {
6714
- return /^[a-zA-Z0-9_-]{5,}$/.test(shortcode);
6715
- }
6716
- /**
6717
- * Generate privacy-enhanced embed URL for a video.
6718
- *
6719
- * @param info - VideoInfo from parseVideoUrl
6720
- * @returns Embed URL suitable for iframe src
6721
- */
6722
- function getEmbedUrl(info) {
6723
- switch (info.provider) {
6724
- case "youtube": return `https://www.youtube-nocookie.com/embed/${info.id}`;
6725
- case "vimeo": return `https://player.vimeo.com/video/${info.id}`;
6726
- case "instagram": return `https://www.instagram.com/${info.kind ?? "p"}/${info.id}/embed`;
6727
- }
6728
- return info.provider;
6729
- }
6730
- /**
6731
- * Generate thumbnail URL for a video.
6732
- *
6733
- * @param info - VideoInfo from parseVideoUrl
6734
- * @returns Thumbnail image URL
6735
- *
6736
- * Note: YouTube maxresdefault.jpg may 404 for some videos.
6737
- * Consider using hqdefault.jpg as a more reliable fallback.
6738
- */
6739
- function getThumbnailUrl(info) {
6740
- switch (info.provider) {
6741
- case "youtube": return `https://img.youtube.com/vi/${info.id}/maxresdefault.jpg`;
6742
- case "vimeo": return `https://vumbnail.com/${info.id}.jpg`;
6743
- case "instagram": return "";
6744
- }
6745
- return info.provider;
6746
- }
6747
- function getVideoEmbedLoadingStrategy(provider) {
6748
- switch (provider) {
6749
- case "youtube":
6750
- case "vimeo": return "native-lazy";
6751
- case "instagram": return "defer-until-near-viewport";
6752
- }
6753
- return provider;
6754
- }
6755
- /**
6756
- * Parse URL and get complete embed information.
6757
- * Convenience function that combines parseVideoUrl with embed/thumbnail URLs.
6758
- *
6759
- * @param url - Video URL to parse
6760
- * @returns EmbedInfo if valid, null otherwise
6761
- */
6762
- function getVideoEmbed(url) {
6763
- const info = parseVideoUrl(url);
6764
- if (!info) return null;
6765
- return {
6766
- ...info,
6767
- embedUrl: getEmbedUrl(info),
6768
- thumbnailUrl: getThumbnailUrl(info)
6769
- };
6770
- }
6771
- //#endregion
6772
6697
  //#region ../blocks/src/system/runtime/nodes/video-embed.tsx
6773
6698
  /**
6774
6699
  * Video embed node component.
@@ -6849,10 +6774,10 @@ function getAspectRatio(propAspectRatio, style) {
6849
6774
  return normalizeAspectRatio(propAspectRatio) ?? normalizeAspectRatio(styleAspectRatio) ?? "16/9";
6850
6775
  }
6851
6776
  function normalizeAspectRatio(value) {
6852
- if (typeof value === "number") return value;
6777
+ if (typeof value === "number") return Number.isFinite(value) && value > 0 ? value : void 0;
6853
6778
  if (typeof value === "string") {
6854
6779
  const trimmed = value.trim();
6855
- return trimmed.length > 0 ? trimmed : void 0;
6780
+ return VIDEO_ASPECT_RATIO_PATTERN.test(trimmed) ? trimmed : void 0;
6856
6781
  }
6857
6782
  if (value && typeof value === "object" && "value" in value) return normalizeAspectRatio(value.value);
6858
6783
  }
@@ -12460,7 +12385,8 @@ function resolveBookingPanelSelection(source) {
12460
12385
  }, events);
12461
12386
  return selection ? {
12462
12387
  selection,
12463
- subject
12388
+ subject,
12389
+ pageEvents: events
12464
12390
  } : null;
12465
12391
  }
12466
12392
  function selectPagePanel(source, events) {
@@ -12496,7 +12422,7 @@ function selectOccurrenceForPanel(events, occurrenceId) {
12496
12422
  event
12497
12423
  } : null;
12498
12424
  }
12499
- function planEventBookingPanel({ selection, subject }, now) {
12425
+ function planEventBookingPanel({ selection, subject, pageEvents }, now) {
12500
12426
  if (isCancelledDateSelection(selection)) return {
12501
12427
  kind: "cancelled",
12502
12428
  registration: null
@@ -12506,7 +12432,7 @@ function planEventBookingPanel({ selection, subject }, now) {
12506
12432
  case "occurrence":
12507
12433
  case "dateChoice":
12508
12434
  case "wholeSeriesRun": {
12509
- const registration = selectionRegistrationTarget(selection, subject);
12435
+ const registration = selectionRegistrationTarget(selection, subject, pageEvents);
12510
12436
  if (nonBookingPanel) return {
12511
12437
  ...nonBookingPanel,
12512
12438
  registration
@@ -12570,10 +12496,14 @@ function planNonBookingPanel(selection) {
12570
12496
  detail
12571
12497
  } : null;
12572
12498
  }
12573
- function selectionRegistrationTarget(selection, subject) {
12499
+ /**
12500
+ * A date's own page hands over its series' other dates as well as its own:
12501
+ * the wizard decides whether the visitor can add them (`decideRegistrationEntry`).
12502
+ */
12503
+ function selectionRegistrationTarget(selection, subject, pageEvents) {
12574
12504
  switch (selection.kind) {
12575
12505
  case "occurrence": return {
12576
- events: [selection.event],
12506
+ events: seriesDates(selection.event, pageEvents),
12577
12507
  occurrenceContext: eventOccurrenceContext(selection.event),
12578
12508
  subject
12579
12509
  };
@@ -12589,6 +12519,9 @@ function selectionRegistrationTarget(selection, subject) {
12589
12519
  };
12590
12520
  }
12591
12521
  }
12522
+ function seriesDates(pageDate, pageEvents) {
12523
+ return [pageDate, ...pageEvents.filter((event) => isOrdinaryPublicEvent(event) && event.seriesId === pageDate.seriesId && event.occurrenceId !== pageDate.occurrenceId)];
12524
+ }
12592
12525
  /**
12593
12526
  * Every run the course page admits, not just those still taking bookings. An
12594
12527
  * invitation emailed for a run links here, and stays good after that run closes.
@@ -13915,7 +13848,7 @@ function stripNumericPathSegments(path) {
13915
13848
  }
13916
13849
  const lookOwnedPathCache = /* @__PURE__ */ new WeakMap();
13917
13850
  function lookOwnedPathsOf(content) {
13918
- if (!isPlainObject(content)) return [];
13851
+ if (!isRecord$4(content)) return [];
13919
13852
  const cached = lookOwnedPathCache.get(content);
13920
13853
  if (cached) return cached;
13921
13854
  const value = content._lookOwnedPaths;
@@ -13946,7 +13879,7 @@ function contentFieldSegments(fromPath, context) {
13946
13879
  if (first === "content") return rest;
13947
13880
  const named = findNamedScope(context, first);
13948
13881
  if (named) return scopedContentSegments(named, rest);
13949
- const innermost = [...context.scopes].reverse().find((entry) => isPlainObject(entry.value) || Array.isArray(entry.value));
13882
+ const innermost = [...context.scopes].reverse().find((entry) => isRecord$4(entry.value) || Array.isArray(entry.value));
13950
13883
  if (!innermost || first in context.viewModel) return void 0;
13951
13884
  return innermost.name === "content" ? [first, ...rest] : scopedContentSegments(innermost, [first, ...rest]);
13952
13885
  }
@@ -13990,29 +13923,23 @@ function readFromSource(source, segments) {
13990
13923
  }, source);
13991
13924
  }
13992
13925
  /**
13993
- * Type guard for plain objects.
13994
- */
13995
- function isPlainObject(value) {
13996
- return typeof value === "object" && value !== null && !Array.isArray(value);
13997
- }
13998
- /**
13999
13926
  * Validates and converts a route entry from the viewModel.
14000
13927
  */
14001
13928
  function parseRouteEntry(routeId, value) {
14002
13929
  if (typeof routeId !== "string" || routeId.length === 0) return null;
14003
13930
  if (typeof value === "string") return [routeId, value];
14004
- if (isPlainObject(value)) return [routeId, value];
13931
+ if (isRecord$4(value)) return [routeId, value];
14005
13932
  return null;
14006
13933
  }
14007
13934
  /**
14008
13935
  * Extracts route map from $root.routes in the viewModel.
14009
13936
  */
14010
13937
  function extractRouteMapFromViewModel(viewModel) {
14011
- if (!isPlainObject(viewModel)) return void 0;
13938
+ if (!isRecord$4(viewModel)) return void 0;
14012
13939
  const root = viewModel.$root;
14013
- if (!isPlainObject(root)) return void 0;
13940
+ if (!isRecord$4(root)) return void 0;
14014
13941
  const routes = root.routes;
14015
- if (!isPlainObject(routes)) return void 0;
13942
+ if (!isRecord$4(routes)) return void 0;
14016
13943
  const entries = Object.entries(routes).map(([routeId, value]) => parseRouteEntry(routeId, value)).filter((entry) => entry !== null);
14017
13944
  if (entries.length === 0) return void 0;
14018
13945
  return Object.fromEntries(entries);
@@ -14021,22 +13948,22 @@ function extractRouteMapFromViewModel(viewModel) {
14021
13948
  * Extracts pagesByIdentifier from $root.pagesByIdentifier in the viewModel.
14022
13949
  */
14023
13950
  function extractPagesByIdentifierFromViewModel(viewModel) {
14024
- if (!isPlainObject(viewModel)) return void 0;
13951
+ if (!isRecord$4(viewModel)) return void 0;
14025
13952
  const root = viewModel.$root;
14026
- if (!isPlainObject(root)) return void 0;
13953
+ if (!isRecord$4(root)) return void 0;
14027
13954
  const pagesByIdentifier = root.pagesByIdentifier;
14028
- if (!isPlainObject(pagesByIdentifier)) return void 0;
13955
+ if (!isRecord$4(pagesByIdentifier)) return void 0;
14029
13956
  return pagesByIdentifier;
14030
13957
  }
14031
13958
  /**
14032
13959
  * Extracts entriesByIdentifier from $root.entriesByIdentifier in the viewModel.
14033
13960
  */
14034
13961
  function extractEntriesByIdentifierFromViewModel(viewModel) {
14035
- if (!isPlainObject(viewModel)) return void 0;
13962
+ if (!isRecord$4(viewModel)) return void 0;
14036
13963
  const root = viewModel.$root;
14037
- if (!isPlainObject(root)) return void 0;
13964
+ if (!isRecord$4(root)) return void 0;
14038
13965
  const entriesByIdentifier = root.entriesByIdentifier;
14039
- if (!isPlainObject(entriesByIdentifier)) return void 0;
13966
+ if (!isRecord$4(entriesByIdentifier)) return void 0;
14040
13967
  return entriesByIdentifier;
14041
13968
  }
14042
13969
  /**
@@ -14058,7 +13985,7 @@ function applyTransformsAndFallback(value, binding, context) {
14058
13985
  const routeMap = context.routes ?? extractRouteMapFromViewModel(context.viewModel);
14059
13986
  const pagesByIdentifier = context.pagesByIdentifier ?? extractPagesByIdentifierFromViewModel(context.viewModel);
14060
13987
  const entriesByIdentifier = context.entriesByIdentifier ?? extractEntriesByIdentifierFromViewModel(context.viewModel);
14061
- const stage = (isPlainObject(context.viewModel.$root) ? context.viewModel.$root : null)?.previewStage === "preview" ? "preview" : "published";
13988
+ const stage = (isRecord$4(context.viewModel.$root) ? context.viewModel.$root : null)?.previewStage === "preview" ? "preview" : "published";
14062
13989
  const transformed = runTransforms(value, binding.transforms?.map((step) => ({
14063
13990
  id: step.id,
14064
13991
  options: step.options
@@ -14090,15 +14017,15 @@ function resolveTransformData(context, bindingPath) {
14090
14017
  const [first] = splitPath(bindingPath);
14091
14018
  if (typeof first === "string" && first !== "$root") {
14092
14019
  const namedScope = findNamedScope(context, first);
14093
- if (namedScope && isPlainObject(namedScope.value)) return namedScope.value;
14020
+ if (namedScope && isRecord$4(namedScope.value)) return namedScope.value;
14094
14021
  }
14095
14022
  for (let i = context.scopes.length - 1; i >= 0; i -= 1) {
14096
14023
  const scope = context.scopes[i];
14097
- if (scope && isPlainObject(scope.value)) return scope.value;
14024
+ if (scope && isRecord$4(scope.value)) return scope.value;
14098
14025
  }
14099
14026
  const content = context.viewModel.content;
14100
- if (isPlainObject(content)) return content;
14101
- if (isPlainObject(context.viewModel)) return context.viewModel;
14027
+ if (isRecord$4(content)) return content;
14028
+ if (isRecord$4(context.viewModel)) return context.viewModel;
14102
14029
  }
14103
14030
  function coerceBindingValue(value, binding) {
14104
14031
  const mode = binding.coerce;
@@ -14185,7 +14112,7 @@ function richTextSelfPresence(node) {
14185
14112
  }
14186
14113
  }
14187
14114
  function hasResolvableRichTextImageSource(node) {
14188
- const attrs = isPlainObject(node.attrs) ? node.attrs : {};
14115
+ const attrs = isRecord$4(node.attrs) ? node.attrs : {};
14189
14116
  return hasNonBlankStringAttr(attrs, "src") || hasNonBlankStringAttr(attrs, "identifier");
14190
14117
  }
14191
14118
  function hasNonBlankStringAttr(attrs, key) {
@@ -14386,7 +14313,7 @@ function getNestedBinding(bindings, path) {
14386
14313
  const segments = path.split(".");
14387
14314
  let current = bindings;
14388
14315
  for (const segment of segments) {
14389
- if (!isPlainObject(current)) return void 0;
14316
+ if (!isRecord$4(current)) return void 0;
14390
14317
  current = current[segment];
14391
14318
  }
14392
14319
  return current;
@@ -14409,7 +14336,7 @@ function resolveBindingToEditorPath(fieldName, bindings, editableRouteMetadataFi
14409
14336
  };
14410
14337
  const binding = bindings[fieldName] ?? getNestedBinding(bindings, fieldName);
14411
14338
  if (!binding) return null;
14412
- if (isPlainObject(binding) && "source" in binding) {
14339
+ if (isRecord$4(binding) && "source" in binding) {
14413
14340
  const source = binding.source;
14414
14341
  if (source === "field" && "path" in binding) {
14415
14342
  const path = binding.path;
@@ -14426,7 +14353,7 @@ function resolveBindingToEditorPath(fieldName, bindings, editableRouteMetadataFi
14426
14353
  if (!Array.isArray(options)) return null;
14427
14354
  for (const option of options) {
14428
14355
  if (typeof option === "string") return `content.${option}`;
14429
- if (isPlainObject(option) && "source" in option) {
14356
+ if (isRecord$4(option) && "source" in option) {
14430
14357
  const optSource = option.source;
14431
14358
  if (optSource === "field" && "path" in option) {
14432
14359
  const path = option.path;
@@ -14478,7 +14405,7 @@ function derivePreviewTextEditableTarget(parsedBinding, context) {
14478
14405
  };
14479
14406
  }
14480
14407
  const root = context.viewModel?.$root;
14481
- if (isPlainObject(root) && root.contentEntry != null && context.pathBase) return {
14408
+ if (isRecord$4(root) && root.contentEntry != null && context.pathBase) return {
14482
14409
  kind: "read-only",
14483
14410
  reason: "entry-template-block-field"
14484
14411
  };
@@ -14537,7 +14464,7 @@ function injectMediaSlotPath(props, node, parsedBinding, context) {
14537
14464
  if (resolveBindingToEditorPath(fieldPath, context.blockBindings, context.editableRouteMetadataFieldIds)) return props;
14538
14465
  }
14539
14466
  const root = context.viewModel?.$root;
14540
- if (isPlainObject(root) && root.contentEntry != null && context.pathBase) return props;
14467
+ if (isRecord$4(root) && root.contentEntry != null && context.pathBase) return props;
14541
14468
  return {
14542
14469
  ...props,
14543
14470
  fieldPath
@@ -14655,7 +14582,7 @@ function resolveNode(node, context, indexFallback) {
14655
14582
  const parsedBinding = node.$bind ? parseBinding(node.$bind, "$bind") : void 0;
14656
14583
  const bindingValue = parsedBinding ? resolveBindingValue(parsedBinding, scopeContext) : void 0;
14657
14584
  let props = resolveProps(getNodeProps(node), scopeContext, bindingValue);
14658
- props = injectEditorPath(props, node, parsedBinding, scopeContext);
14585
+ props = injectEditorPath(guardResolvedStyle(props, node.type), node, parsedBinding, scopeContext);
14659
14586
  props = injectMediaSlotPath(props, node, parsedBinding, scopeContext);
14660
14587
  const headingDecorationPlan = planHeadingDecoration({
14661
14588
  node,
@@ -14740,19 +14667,12 @@ function resolveProps(props, context, bindingValue) {
14740
14667
  if (bindingValue !== void 0) resolved.value = bindingValue;
14741
14668
  return resolved;
14742
14669
  }
14743
- function getNodeProps(node) {
14744
- const raw = node;
14745
- const legacy = {};
14746
- for (const [key, value] of Object.entries(raw)) {
14747
- if (key === "type" || key === "key" || key === "children" || key === "props") continue;
14748
- if (key.startsWith("$")) continue;
14749
- legacy[key] = value;
14750
- }
14751
- const props = isPlainObject(node.props) ? node.props : {};
14752
- return {
14753
- ...legacy,
14754
- ...props
14755
- };
14670
+ /** A node's resolved `style` reaches the DOM only through the inline style guard. */
14671
+ function guardResolvedStyle(props, nodeType) {
14672
+ return "style" in props ? {
14673
+ ...props,
14674
+ style: renderedInlineStyle(props.style, nodeType)
14675
+ } : props;
14756
14676
  }
14757
14677
  /**
14758
14678
  * Main entry point for resolving node definitions into React elements.
@@ -14783,12 +14703,12 @@ function bindItemSurfacePresentation(node, context) {
14783
14703
  const slot = resolveProps({ "data-slot": declared }, context, void 0)["data-slot"];
14784
14704
  if (!["item", "lead"].includes(String(slot))) return context;
14785
14705
  const content = context.blockContent;
14786
- if (!isPlainObject(content) || !isPlainObject(content._effectiveLook)) return context;
14706
+ if (!isRecord$4(content) || !isRecord$4(content._effectiveLook)) return context;
14787
14707
  const look = content._effectiveLook;
14788
14708
  if (!look.surfacePresentation) return context;
14789
14709
  const itemScope = context.scopes.reduce((found, scope) => scope.repeater ? scope : found, void 0);
14790
14710
  const repeater = itemScope?.repeater;
14791
- const featured = isPlainObject(itemScope?.value) && itemScope.value.featured === true;
14711
+ const featured = isRecord$4(itemScope?.value) && itemScope.value.featured === true;
14792
14712
  const role = repeater ? itemRole(repeater.index, repeater.count, look.itemRoles, featured) : void 0;
14793
14713
  return {
14794
14714
  ...context,
@@ -14798,14 +14718,14 @@ function bindItemSurfacePresentation(node, context) {
14798
14718
  function arrangementSlotProps(props, context) {
14799
14719
  const content = context.blockContent;
14800
14720
  const slot = props["data-slot"];
14801
- if (typeof slot !== "string" || !isPlainObject(content) || !isPlainObject(content._effectiveLook)) return {};
14721
+ if (typeof slot !== "string" || !isRecord$4(content) || !isRecord$4(content._effectiveLook)) return {};
14802
14722
  const look = content._effectiveLook;
14803
14723
  const surface = (context.surfacePresentation ?? look.surfacePresentation)?.slots[slot];
14804
14724
  return surface ? resolvedItemSurfaceProps(surface, slot, props.style) : { "data-surface": "section" };
14805
14725
  }
14806
14726
  function arrangementMediaPlaceholder(node, context) {
14807
14727
  const content = context.blockContent;
14808
- if (!isPlainObject(content) || content._lookAudience !== "authoring" || content.showPhotos === false) return null;
14728
+ if (!isRecord$4(content) || content._lookAudience !== "authoring" || content.showPhotos === false) return null;
14809
14729
  const from = arrangementPlaceholderMediaPath(node);
14810
14730
  if (!from) return null;
14811
14731
  const fieldPath = arrangementPlaceholderFieldPath(from, context);