@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,12 +1,15 @@
1
- import { C as buttonVisualStatesSchema, Dt as parseThemeColorToken, E as VARIANT_ROLES, Et as parseColorTokenParts, S as buttonVariantIdSchema, T as SYSTEM_BLOCK_KINDS, Tt as paletteModeSchema, W as featuresFromHex, _ as isVariantRole, at as surfaceForegroundValue, b as buttonPressOffsetSchema, ct as surfaceInkStyle, dt as borderColorStyle, f as DEFAULT_VARIANT_ALIAS_ID, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, it as surfaceForegroundStyle, j as expandPalette, l as ELEVATION_OFFSET, m as asSpecialVariantId, mt as rgbColorValue, pt as mergeStyles, rt as surfaceForegroundInputFromResolved, ut as backgroundColorStyle, v as unsafeAsOpaqueButtonColourToken, vt as blockColorTokenNames, wt as paletteColorsSchema, y as buttonEffectApplicationSchema, yt as hexColorSchema } from "./resolveButtonColourStates--6yJp9Tq.mjs";
2
- import { D as mapButtonRoleAppearances, E as defineButtonStyleRecipe, F as resolveSurfaceForeground, G as resolveConcreteColorHex, H as contrastThresholdByPolicy, J as paletteValueKeySchema, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, O as mapButtonVisualAppearances, T as PUBLIC_BUTTON_ROLES, W as planForegroundHover, Y as requirePaletteColorsFromEntries, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, h as scrimTone, i as prepareThemeSurfaceRevision, j as resolveThemeColorReferenceValue, l as surfaceDecorationColors, m as minimumScrimOpacity, o as resolveSurface, p as gradientScrimSamples, q as paletteValueKey, t as parseResolvedSurface, u as surfaceTransportContext } from "./accessibleSurfaces-CM3QANtw.mjs";
3
- import { C as asDesignBoundaryId, D as asSiteStyleId, E as asPageFlowPresetId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey, _ as isArrangementMode, b as asAppearancePresetId, d as arrangementModes, h as headingDecorationColorTokenValues, m as eyebrowTreatmentValues, p as eventListTreatmentValues, v as tileTreatmentValues, w as asDesignSystemTemplateId, x as asBoundaryOptionId, y as visibleHeadingDecorationFamilyValues } from "./customCss-BZ8YSrQg.mjs";
4
- import { _ as asHeaderStyleId, a as headerVariantValues, c as runtimeBoxBackgroundSchema, d as cardVariantRoleValues, f as itemRoleValues, g as asHeaderLayoutId, h as asFooterLookId, l as boxlessCardVariantValue, n as containerStylesOverrideSchema, o as boxBackgroundOverlaySchema, p as openCardRoleValue, r as sectionStylesOverrideSchema, s as boxBackgroundSchema, t as cardStylesOverrideSchema, u as cardRoleSchema, v as bookingPageLookIdValues } from "./schema-BpsqaSSU.mjs";
5
- import { C as ok$1, S as err, b as unsafeAsStoragePath, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind, v as unsafeAsMediaAssetId, x as parseUuidBrand, y as unsafeAsStorageBucketName } from "./media-luf7RF22.mjs";
6
- import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema, l as toLocationCoordinates, n as publicMapLocationResultSchema, o as parseLocationValue, r as publicVenueMapLocationSchema, s as projectPublicLocation, u as trimmedStringOrNull } from "./mapLocation-BM5WX7FY.mjs";
1
+ import { A as borderColorStyle, B as blockColorTokenNames, C as surfaceForegroundStyle, D as surfaceInkStyle, J as parseColorTokenParts, K as paletteColorsSchema, M as mergeStyles, N as rgbColorValue, P as textColorStyle, S as surfaceForegroundInputFromResolved, V as hexColorSchema, Y as parseThemeColorToken, c as buttonEffectApplicationSchema, d as buttonVariantIdSchema, f as buttonVisualStatesSchema, g as VARIANT_ROLES, h as SYSTEM_BLOCK_KINDS, k as backgroundColorStyle, l as buttonPressOffsetSchema, o as isVariantRole, q as paletteModeSchema, r as asSpecialVariantId, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, w as surfaceForegroundValue } from "./types-BKaBZFjD.mjs";
2
+ import { A as featuresFromHex, g as expandPalette, i as BUTTON_CONTRAST_POLICY, l as ELEVATION_OFFSET } from "./resolveButtonColourStates-B0O1IM16.mjs";
3
+ import { D as mapButtonRoleAppearances, E as defineButtonStyleRecipe, F as resolveSurfaceForeground, G as planForegroundHover, J as paletteValueKey, K as resolveConcreteColorHex, L as surfaceInkPublication, O as mapButtonVisualAppearances, T as PUBLIC_BUTTON_ROLES, U as contrastThresholdByPolicy, X as requirePaletteColorsFromEntries, Y as paletteValueKeySchema, c as surfaceButtonRequest, d as toAccessibleColorSurfaceIntent, h as scrimTone, i as prepareThemeSurfaceRevision, j as resolveThemeColorReferenceValue, l as surfaceDecorationColors, m as minimumScrimOpacity, o as resolveSurface, p as gradientScrimSamples, q as resolveOpaqueSurfaceHex, t as parseResolvedSurface, u as surfaceTransportContext } from "./accessibleSurfaces-WPzUAHp4.mjs";
4
+ import { A as makeBoundaryId, C as asBoundaryOptionId, D as asLayoutVariantKey, E as asDesignSystemTemplateId, O as asPageFlowPresetId, S as asAppearancePresetId, T as asDesignBoundaryId, _ as headingDecorationColorTokenValues, b as tileTreatmentValues, g as eyebrowTreatmentValues, h as eventListTreatmentValues, k as asSiteStyleId, p as arrangementModes, w as asDesignBlockId, x as visibleHeadingDecorationFamilyValues, y as isArrangementMode } from "./customCss-C9kgPHvr.mjs";
5
+ import { _ as asHeaderStyleId, a as headerVariantValues, c as runtimeBoxBackgroundSchema, d as cardVariantRoleValues, f as itemRoleValues, g as asHeaderLayoutId, h as asFooterLookId, l as boxlessCardVariantValue, n as containerStylesOverrideSchema, o as boxBackgroundOverlaySchema, p as openCardRoleValue, r as sectionStylesOverrideSchema, s as boxBackgroundSchema, t as cardStylesOverrideSchema, u as cardRoleSchema, v as bookingPageLookIdValues } from "./schema-CwfxQjc4.mjs";
6
+ import { a as parseUuidBrand, i as unsafeAsStoragePath, n as unsafeAsMediaAssetId, o as err, r as unsafeAsStorageBucketName, s as ok$1 } from "./media-BRmYrnzb.mjs";
7
+ import { c as parseAppointmentServiceId, f as parseEventOfferingId, n as bookingQuestionsSectionSchema, p as parseEventSeriesId, t as bookingQuestionsAnswersSchema, u as parseSiteTermsVersionId } from "./portalQuestions-oUyohgL9.mjs";
8
+ import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema, l as toLocationCoordinates, n as publicMapLocationResultSchema, o as parseLocationValue, r as publicVenueMapLocationSchema, s as projectPublicLocation, u as trimmedStringOrNull } from "./mapLocation-MDDSubTp.mjs";
7
9
  import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
8
- import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
9
- import { A as lookKnobBlocks, C as requireNonEmptyReadonlyArray, D as cardListBlockParts, E as toNonEmptyReadonlyArray, M as opaqueSurfaceDeclarations, O as cardListFamilyBlocks, T as testimonialsCompositionTreatmentValues, a as layoutProfileSupportsConstraints, b as noHeadingDecoration, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$1, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, k as cardListKnobBlocks, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, s as resolveEffectiveKnobs, u as isRecipeAppearancePreset, x as offeringsPreviewCompositionTreatmentValues } from "./lookMediaFrame-m-91jGGn.mjs";
10
+ import { i as NodeTreeSchema, l as RichTextDocSchema, m as sanitizeHref, n as isRecord$13, r as NodeSchema, t as isObjectRecord$1 } from "./typeGuards-CTW_9AXq.mjs";
11
+ import { c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind } from "./media-gvfIw3z8.mjs";
12
+ import { A as lookKnobBlocks, C as requireNonEmptyReadonlyArray, D as cardListBlockParts, E as toNonEmptyReadonlyArray, M as opaqueSurfaceDeclarations, O as cardListFamilyBlocks, T as testimonialsCompositionTreatmentValues, a as layoutProfileSupportsConstraints, b as noHeadingDecoration, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$1, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, k as cardListKnobBlocks, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, s as resolveEffectiveKnobs, u as isRecipeAppearancePreset, x as offeringsPreviewCompositionTreatmentValues } from "./lookMediaFrame-TFjgNG61.mjs";
10
13
  import React from "react";
11
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
15
  import { z } from "zod";
@@ -330,21 +333,6 @@ const buttonStyleSelectionSchema = z.discriminatedUnion("styleId", [
330
333
  /** Server-resolved presentation context, never permission to perform a write. */
331
334
  const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
332
335
  //#endregion
333
- //#region ../core/src/branded/events.ts
334
- const unsafeAsEventOfferingId = (id) => id;
335
- const unsafeAsEventSeriesId = (id) => id;
336
- const unsafeAsEventCategoryId$1 = (id) => id;
337
- const parseEventOfferingId = (value) => parseUuidBrand(value, unsafeAsEventOfferingId);
338
- const parseEventSeriesId = (value) => parseUuidBrand(value, unsafeAsEventSeriesId);
339
- //#endregion
340
- //#region ../core/src/branded/customers.ts
341
- const unsafeAsSiteTermsVersionId = (id) => id;
342
- const parseSiteTermsVersionId = (value) => parseUuidBrand(value, unsafeAsSiteTermsVersionId);
343
- //#endregion
344
- //#region ../core/src/branded/appointments.ts
345
- const unsafeAsAppointmentServiceId = (id) => id;
346
- const parseAppointmentServiceId = (value) => parseUuidBrand(value, unsafeAsAppointmentServiceId);
347
- //#endregion
348
336
  //#region ../core/src/branded/content.ts
349
337
  const unsafeAsContentEntryId = (id) => id;
350
338
  const unsafeAsContentVersionId = (id) => id;
@@ -689,7 +677,7 @@ function parseEventPageSurfaceDestinationMode(value) {
689
677
  return value === "cms-managed" || value === "system-managed" ? value : void 0;
690
678
  }
691
679
  function parseEventPageSurfaceSubject(value) {
692
- if (!isRecord$13(value)) return err({ kind: "notObject" });
680
+ if (!isRecord$12(value)) return err({ kind: "notObject" });
693
681
  const parsed = value.kind === "eventSeries" ? parseEventSeriesPageSurfaceSubject(value) : value.kind === "eventOffering" ? parseEventOfferingPageSurfaceSubject(value) : err({
694
682
  kind: "unsupportedSubject",
695
683
  subjectKind: value.kind
@@ -748,7 +736,7 @@ function parseEventSeriesIdList(values) {
748
736
  }
749
737
  return ok$1(parsed);
750
738
  }
751
- function isRecord$13(value) {
739
+ function isRecord$12(value) {
752
740
  return typeof value === "object" && value !== null && !Array.isArray(value);
753
741
  }
754
742
  /**
@@ -1430,7 +1418,7 @@ const publicProfileWeekdays = [
1430
1418
  "saturday",
1431
1419
  "sunday"
1432
1420
  ];
1433
- function isRecord$12(value) {
1421
+ function isRecord$11(value) {
1434
1422
  return typeof value === "object" && value !== null && !Array.isArray(value);
1435
1423
  }
1436
1424
  function trimmedOptionalString(value) {
@@ -1471,7 +1459,7 @@ function minutesSinceMidnight(value) {
1471
1459
  }
1472
1460
  function parseOpeningHoursDay(value, expectedWeekday, index) {
1473
1461
  const path = `openingHours.days.${index}`;
1474
- if (!isRecord$12(value) || value.weekday !== expectedWeekday) return err({
1462
+ if (!isRecord$11(value) || value.weekday !== expectedWeekday) return err({
1475
1463
  code: "invalid_weekdays",
1476
1464
  path,
1477
1465
  message: `Expected ${expectedWeekday} in calendar order.`
@@ -1488,7 +1476,7 @@ function parseOpeningHoursDay(value, expectedWeekday, index) {
1488
1476
  const intervals = [];
1489
1477
  for (const [intervalIndex, rawInterval] of value.intervals.entries()) {
1490
1478
  const intervalPath = `${path}.intervals.${intervalIndex}`;
1491
- if (!isRecord$12(rawInterval)) return err({
1479
+ if (!isRecord$11(rawInterval)) return err({
1492
1480
  code: "invalid_interval",
1493
1481
  path: intervalPath,
1494
1482
  message: "Opening interval is invalid."
@@ -1550,7 +1538,7 @@ function parseOpeningHoursWeek(rawDays) {
1550
1538
  ]);
1551
1539
  }
1552
1540
  function parseWeeklyOpeningHours(value) {
1553
- if (!isRecord$12(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err({
1541
+ if (!isRecord$11(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err({
1554
1542
  code: "invalid_weekdays",
1555
1543
  path: "openingHours.days",
1556
1544
  message: "Opening hours must include all seven weekdays."
@@ -1573,7 +1561,7 @@ function parseWeeklyOpeningHours(value) {
1573
1561
  }
1574
1562
  //#endregion
1575
1563
  //#region ../core/src/rich-text.ts
1576
- function isRecord$11(value) {
1564
+ function isRecord$10(value) {
1577
1565
  return typeof value === "object" && value !== null && !Array.isArray(value);
1578
1566
  }
1579
1567
  function hasOnlyKeys(value, allowed) {
@@ -1593,15 +1581,15 @@ function isDenseArrayOf(value, predicate) {
1593
1581
  return true;
1594
1582
  }
1595
1583
  function isTipTapMark(value) {
1596
- return isRecord$11(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$11(value.attrs));
1584
+ return isRecord$10(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$10(value.attrs));
1597
1585
  }
1598
1586
  function isTipTapNode(value) {
1599
- if (!isRecord$11(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$11(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
1587
+ if (!isRecord$10(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$10(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
1600
1588
  if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
1601
1589
  return value.text === void 0;
1602
1590
  }
1603
1591
  function isCanonicalRichTextDoc(value) {
1604
- return isRecord$11(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
1592
+ return isRecord$10(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
1605
1593
  }
1606
1594
  /** Whether a document contains non-whitespace text, including in nested nodes. */
1607
1595
  function richTextHasText(document) {
@@ -1693,10 +1681,10 @@ function presentVisitorSelection(selection, optionCount) {
1693
1681
  //#region ../core/src/mailing-list-targeting-parser.ts
1694
1682
  function parseMailingListPlacementTargeting(value) {
1695
1683
  if (value == null) return ok$1(DEFAULT_MAILING_LIST_TARGETING);
1696
- if (!isRecord$10(value)) return targetingError("shape");
1684
+ if (!isRecord$9(value)) return targetingError("shape");
1697
1685
  if (value.mode === "default") return ok$1({ mode: "default" });
1698
1686
  if (value.mode !== "custom") return targetingError("mode");
1699
- if (!isRecord$10(value.selection)) return targetingError("selection");
1687
+ if (!isRecord$9(value.selection)) return targetingError("selection");
1700
1688
  switch (value.provider) {
1701
1689
  case "native": return parseNativeTargeting(value.selection);
1702
1690
  case "brevo": return parseBrevoTargeting(value.selection);
@@ -1802,7 +1790,7 @@ function parseUniqueIds(value, parseId) {
1802
1790
  return id === null ? targetingError("targets") : parsed.value.includes(id) ? targetingError("duplicate_target") : ok$1([...parsed.value, id]);
1803
1791
  }, ok$1([]));
1804
1792
  }
1805
- function isRecord$10(value) {
1793
+ function isRecord$9(value) {
1806
1794
  return typeof value === "object" && value !== null && !Array.isArray(value);
1807
1795
  }
1808
1796
  function targetingError(field) {
@@ -1813,7 +1801,7 @@ function targetingError(field) {
1813
1801
  }
1814
1802
  //#endregion
1815
1803
  //#region ../core/src/mailing-list-setup.ts
1816
- function isRecord$9(value) {
1804
+ function isRecord$8(value) {
1817
1805
  return typeof value === "object" && value !== null && !Array.isArray(value);
1818
1806
  }
1819
1807
  const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
@@ -1823,7 +1811,7 @@ const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
1823
1811
  */
1824
1812
  const DEFAULT_MAILING_LIST_PRIVACY_NOTE = "Change your preferences or unsubscribe at any time.";
1825
1813
  function parseMailingListProviderScope(value) {
1826
- if (!isRecord$9(value)) return err("invalid_mailing_list_provider_scope");
1814
+ if (!isRecord$8(value)) return err("invalid_mailing_list_provider_scope");
1827
1815
  if (value.provider === "native") return ok$1({ provider: "native" });
1828
1816
  if (value.provider === "brevo") {
1829
1817
  const accountId = parseBrevoAccountId(value.accountId);
@@ -1851,7 +1839,7 @@ z.unknown().transform((value, ctx) => {
1851
1839
  return z.NEVER;
1852
1840
  });
1853
1841
  function parseMailingListGlobalForm(value) {
1854
- if (!isRecord$8(value)) return formError("shape");
1842
+ if (!isRecord$7(value)) return formError("shape");
1855
1843
  const fields = parseGlobalFields(value.fields);
1856
1844
  if (fields === null) return formError("fields");
1857
1845
  if (typeof value.includeOptionalPhone !== "boolean") return formError("includeOptionalPhone");
@@ -1870,7 +1858,7 @@ function parseMailingListGlobalForm(value) {
1870
1858
  });
1871
1859
  }
1872
1860
  function parseNewsletterAudience(value) {
1873
- if (!isRecord$8(value)) return err("invalid_newsletter_audience");
1861
+ if (!isRecord$7(value)) return err("invalid_newsletter_audience");
1874
1862
  if (value.kind === "general" && Object.keys(value).length === 1) return ok$1({ kind: "general" });
1875
1863
  if (value.kind !== "topic" || Object.keys(value).some((key) => key !== "kind" && key !== "topicId")) return err("invalid_newsletter_audience");
1876
1864
  const topicId = parseNewsletterListId(value.topicId);
@@ -1880,7 +1868,7 @@ function parseNewsletterAudience(value) {
1880
1868
  });
1881
1869
  }
1882
1870
  function parseGlobalFields(value) {
1883
- if (!isRecord$8(value) || typeof value.preset !== "string") return null;
1871
+ if (!isRecord$7(value) || typeof value.preset !== "string") return null;
1884
1872
  switch (value.preset) {
1885
1873
  case "emailOnly": return { preset: "emailOnly" };
1886
1874
  case "emailName": return isRequirement(value.name) ? {
@@ -1921,7 +1909,7 @@ function parseOptionalString(value) {
1921
1909
  function isRequirement(value) {
1922
1910
  return value === "required" || value === "optional";
1923
1911
  }
1924
- function isRecord$8(value) {
1912
+ function isRecord$7(value) {
1925
1913
  return typeof value === "object" && value !== null && !Array.isArray(value);
1926
1914
  }
1927
1915
  function formError(field) {
@@ -2040,7 +2028,7 @@ function assessMatchedChoices(matched, choices) {
2040
2028
  //#endregion
2041
2029
  //#region ../core/src/mailing-list-runtime.ts
2042
2030
  function parseMailingListRuntimeContext(value) {
2043
- if (!isRecord$7(value)) return invalidRuntimeContext();
2031
+ if (!isRecord$6(value)) return invalidRuntimeContext();
2044
2032
  if (value.tag === "not_configured") return ok$1({ tag: "not_configured" });
2045
2033
  if (value.tag !== "configured") return invalidRuntimeContext();
2046
2034
  return parseConfiguredRuntimeContext(value);
@@ -2064,7 +2052,7 @@ function parseBookingSignupOffer(value) {
2064
2052
  tag: "unavailable",
2065
2053
  reason: "disabled"
2066
2054
  };
2067
- if (!isRecord$7(value)) return null;
2055
+ if (!isRecord$6(value)) return null;
2068
2056
  if (value.tag === "offered") return { tag: "offered" };
2069
2057
  if (value.tag === "unavailable" && (value.reason === "disabled" || value.reason === "fields" || value.reason === "destination")) return {
2070
2058
  tag: "unavailable",
@@ -2073,7 +2061,7 @@ function parseBookingSignupOffer(value) {
2073
2061
  return null;
2074
2062
  }
2075
2063
  function parseRuntimeProvider(value) {
2076
- if (!isRecord$7(value)) return null;
2064
+ if (!isRecord$6(value)) return null;
2077
2065
  switch (value.provider) {
2078
2066
  case "native": return parseNativeRuntimeProvider(value);
2079
2067
  case "brevo": return parseBrevoRuntimeProvider(value);
@@ -2111,7 +2099,7 @@ function parseMailchimpRuntimeProvider(value) {
2111
2099
  } : null;
2112
2100
  }
2113
2101
  function parseMailchimpAudience(value) {
2114
- if (!isRecord$7(value) || !Array.isArray(value.interests)) return null;
2102
+ if (!isRecord$6(value) || !Array.isArray(value.interests)) return null;
2115
2103
  const id = parseMailchimpAudienceId(value.id);
2116
2104
  const name = parseName(value.name);
2117
2105
  const interests = Array.from(value.interests, parseMailchimpInterest);
@@ -2122,7 +2110,7 @@ function parseMailchimpAudience(value) {
2122
2110
  } : null;
2123
2111
  }
2124
2112
  function parseMailchimpInterest(value) {
2125
- if (!isRecord$7(value)) return null;
2113
+ if (!isRecord$6(value)) return null;
2126
2114
  const id = parseMailchimpInterestId(value.id);
2127
2115
  const name = parseName(value.name);
2128
2116
  const categoryName = parseName(value.categoryName);
@@ -2135,7 +2123,7 @@ function parseMailchimpInterest(value) {
2135
2123
  function parseNamedItems(value, parseId) {
2136
2124
  if (!Array.isArray(value)) return null;
2137
2125
  const items = Array.from(value, (item) => {
2138
- if (!isRecord$7(item)) return null;
2126
+ if (!isRecord$6(item)) return null;
2139
2127
  const id = parseId(item.id);
2140
2128
  const name = parseName(item.name);
2141
2129
  return id !== null && name !== null ? {
@@ -2150,7 +2138,7 @@ function parseName(value) {
2150
2138
  const name = value.trim();
2151
2139
  return name.length > 0 ? name : null;
2152
2140
  }
2153
- function isRecord$7(value) {
2141
+ function isRecord$6(value) {
2154
2142
  return typeof value === "object" && value !== null && !Array.isArray(value);
2155
2143
  }
2156
2144
  function invalidRuntimeContext() {
@@ -2431,11 +2419,11 @@ function parseRelativeStoragePath(value) {
2431
2419
  }
2432
2420
  //#endregion
2433
2421
  //#region ../media-core/src/typeGuards.ts
2434
- function isRecord$6(value) {
2422
+ function isRecord$5(value) {
2435
2423
  return Boolean(value) && typeof value === "object" && !Array.isArray(value);
2436
2424
  }
2437
2425
  function asRecord(value) {
2438
- return isRecord$6(value) ? value : void 0;
2426
+ return isRecord$5(value) ? value : void 0;
2439
2427
  }
2440
2428
  //#endregion
2441
2429
  //#region ../media-core/src/url.ts
@@ -3026,139 +3014,15 @@ const linkSchema = z.union([
3026
3014
  entryLinkSchema
3027
3015
  ]);
3028
3016
  //#endregion
3029
- //#region ../core/src/rich-text-href.ts
3030
- const SAFE_PROTOCOLS = /* @__PURE__ */ new Set([
3031
- "http:",
3032
- "https:",
3033
- "mailto:",
3034
- "tel:"
3035
- ]);
3036
- const CONTROL_CHARS_PATTERN = /[\u0000-\u001F\u007F]+/g;
3037
- function normalizeInput(value) {
3038
- return value.replace(CONTROL_CHARS_PATTERN, "").trim();
3039
- }
3040
- function decodeForSchemeCheck(value) {
3041
- try {
3042
- return decodeURIComponent(value);
3043
- } catch {
3044
- return value;
3045
- }
3046
- }
3047
- /**
3048
- * Returns a safe href for rich-text anchors, or null when the value should not be rendered.
3049
- *
3050
- * Policy:
3051
- * - Allow absolute URLs with protocols: http, https, mailto, tel.
3052
- * - Allow root-relative ("/path") and hash-only ("#section") links.
3053
- * - Reject protocol-relative URLs ("//example.com"), bare domains ("example.com"),
3054
- * backslashes, executable schemes (javascript/data/vbscript), malformed URLs, and empty values.
3055
- * - Preserve percent-encoding from the original normalized input.
3056
- */
3057
- function sanitizeHref(raw) {
3058
- if (typeof raw !== "string") return null;
3059
- const normalized = normalizeInput(raw);
3060
- if (!normalized) return null;
3061
- if (normalized.includes("\\") || normalized.startsWith("//")) return null;
3062
- if (normalized.startsWith("/")) return normalized;
3063
- if (normalized.startsWith("#")) return normalized;
3064
- return sanitizeAbsoluteHref(normalized);
3065
- }
3066
- function sanitizeAbsoluteHref(normalized) {
3067
- const schemeMatch = normalizeInput(decodeForSchemeCheck(normalized)).match(/^([a-zA-Z][a-zA-Z0-9+.-]*):/);
3068
- if (schemeMatch === null) return null;
3069
- const rawScheme = schemeMatch[1];
3070
- if (rawScheme === void 0 || rawScheme.length === 0) return null;
3071
- const protocol = `${rawScheme.toLowerCase()}:`;
3072
- if (!SAFE_PROTOCOLS.has(protocol)) return null;
3073
- try {
3074
- const parsed = new URL(normalized);
3075
- if (!SAFE_PROTOCOLS.has(parsed.protocol.toLowerCase())) return null;
3076
- } catch {
3077
- return null;
3078
- }
3079
- return normalized;
3080
- }
3081
- //#endregion
3082
3017
  //#region ../blocks/src/system/runtime/api/schemas/bookingQuestions.ts
3083
- const optionSchema = z.object({
3084
- value: z.string(),
3085
- label: z.string()
3086
- });
3087
- /** Everything a scalar question may carry besides its identity; all of it is optional. */
3088
- const scalarFieldDetails = z.object({
3089
- required: z.boolean(),
3090
- placeholder: z.string(),
3091
- helpText: z.string(),
3092
- options: z.array(optionSchema),
3093
- multiple: z.boolean(),
3094
- minLength: z.number(),
3095
- maxLength: z.number(),
3096
- pattern: z.string(),
3097
- min: z.number(),
3098
- max: z.number()
3099
- }).partial();
3100
- const scalarFieldSchema = z.object({
3101
- id: z.string().min(1),
3102
- label: z.string(),
3103
- type: z.enum([
3104
- "text",
3105
- "email",
3106
- "textarea",
3107
- "select",
3108
- "radio",
3109
- "checkbox",
3110
- "tel",
3111
- "url",
3112
- "number",
3113
- "date",
3114
- "time"
3115
- ]),
3116
- ...scalarFieldDetails.shape
3117
- });
3118
- const documentFieldSchema = z.object({
3119
- id: z.string().min(1),
3120
- label: z.string(),
3121
- type: z.literal("document_upload"),
3122
- required: z.boolean().optional(),
3123
- placeholder: z.string().optional(),
3124
- helpText: z.string().optional(),
3125
- allowedFileTypes: z.array(z.enum([
3126
- "pdf",
3127
- "image",
3128
- "docx"
3129
- ])),
3130
- maxBytes: z.number()
3131
- });
3132
- const fieldSchema$1 = z.union([scalarFieldSchema, documentFieldSchema]);
3133
- const sectionSchema = z.object({
3134
- id: z.string(),
3135
- title: z.string(),
3136
- description: z.string().optional(),
3137
- items: z.array(fieldSchema$1)
3138
- });
3139
- /** One answer as a booking flow holds it; also what drafts kept across a sign-in or payment return parse. */
3140
- const bookingQuestionsAnswerValueSchema = z.union([
3141
- z.string(),
3142
- z.number(),
3143
- z.boolean(),
3144
- z.null(),
3145
- z.array(z.string()),
3146
- z.object({
3147
- kind: z.literal("document_upload"),
3148
- fileName: z.string(),
3149
- mimeType: z.string(),
3150
- bytes: z.number(),
3151
- uploadId: z.string().optional()
3152
- })
3153
- ]);
3154
3018
  const setSchema = z.object({
3155
3019
  requirementId: z.string().min(1),
3156
3020
  sharingKey: z.string().min(1).optional(),
3157
3021
  title: z.string(),
3158
- sections: z.array(sectionSchema)
3022
+ sections: z.array(bookingQuestionsSectionSchema)
3159
3023
  });
3160
- z.array(sectionSchema);
3161
- const bookingQuestionAnswersSchema = z.record(z.string(), bookingQuestionsAnswerValueSchema);
3024
+ z.array(bookingQuestionsSectionSchema);
3025
+ const bookingQuestionAnswersSchema = bookingQuestionsAnswersSchema;
3162
3026
  /** The presentation a public catalogue or the authenticated read hands the booking flows. */
3163
3027
  const beforeBookingQuestionsPresentationSchema = z.discriminatedUnion("kind", [
3164
3028
  z.object({ kind: z.literal("none") }),
@@ -4765,66 +4629,6 @@ const blockSectionDeclarationShape = {
4765
4629
  lookField: z.string().min(1).optional()
4766
4630
  };
4767
4631
  //#endregion
4768
- //#region ../site-contracts/src/blocks/nodes.ts
4769
- const transformStepSchema = z.object({
4770
- id: z.string().min(1, "Transform requires an identifier"),
4771
- options: z.record(z.string(), z.unknown()).optional()
4772
- });
4773
- const bindingPathSchema = z.string().min(1, "Binding path is required").regex(/[A-Za-z0-9_\.$\[\]/-]+/, "Binding path contains invalid characters");
4774
- const bindingSchema = z.object({
4775
- from: bindingPathSchema,
4776
- fallback: z.unknown().optional(),
4777
- transforms: transformStepSchema.array().default([]),
4778
- pick: z.enum([
4779
- "value",
4780
- "collection",
4781
- "context"
4782
- ]).default("value"),
4783
- coerce: z.enum([
4784
- "number",
4785
- "boolean",
4786
- "string"
4787
- ]).optional()
4788
- });
4789
- const repeatSchema = z.object({
4790
- collection: bindingSchema,
4791
- itemName: z.string().min(1).default("item"),
4792
- indexName: z.string().min(1).default("index"),
4793
- limit: z.number().int().positive().optional(),
4794
- sortBy: z.object({
4795
- path: bindingPathSchema,
4796
- direction: z.enum(["asc", "desc"]).default("asc")
4797
- }).optional()
4798
- });
4799
- const conditionalAuthoringPresenceSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("visitor-only") }), z.object({
4800
- kind: z.literal("recover-empty-when-active"),
4801
- placeholder: z.string().min(1).optional()
4802
- })]);
4803
- const conditionSchema = z.object({
4804
- when: bindingSchema,
4805
- equals: z.unknown().optional(),
4806
- not: z.boolean().default(false),
4807
- authoringPresence: conditionalAuthoringPresenceSchema.default({ kind: "visitor-only" })
4808
- });
4809
- const dataScopeSchema = z.object({
4810
- name: z.string().min(1),
4811
- from: bindingSchema
4812
- });
4813
- const nodePropsSchema = z.record(z.string(), z.unknown()).default({});
4814
- const nodeSchema = z.object({
4815
- type: z.string().min(1, "Node type is required"),
4816
- key: z.string().optional(),
4817
- props: nodePropsSchema.optional(),
4818
- children: z.lazy(() => z.array(nodeSchema).default([])).optional(),
4819
- $bind: bindingSchema.optional(),
4820
- $repeat: repeatSchema.optional(),
4821
- $when: conditionSchema.optional(),
4822
- $scopes: dataScopeSchema.array().optional()
4823
- });
4824
- const nodeTreeSchema = z.union([z.array(nodeSchema), nodeSchema]);
4825
- const NodeSchema = nodeSchema;
4826
- const NodeTreeSchema = nodeTreeSchema;
4827
- //#endregion
4828
4632
  //#region ../theme-core/src/site-styles/appearancePresetCatalog.ts
4829
4633
  const appearancePresets = blockAppearancePresets;
4830
4634
  //#endregion
@@ -9586,8 +9390,8 @@ const gilt = {
9586
9390
  shadow: flatShadow,
9587
9391
  sizes: {
9588
9392
  sm: {
9589
- padding: "10px 20px",
9590
- fontSize: "text-base",
9393
+ padding: "8px 16px",
9394
+ fontSize: "text-15px",
9591
9395
  borderRadius: "rounded-lg"
9592
9396
  },
9593
9397
  md: {
@@ -9634,12 +9438,21 @@ const giltPrimaryHover = {
9634
9438
  const giltSecondary = {
9635
9439
  ...gilt,
9636
9440
  background: {
9637
- type: "solid",
9638
- colorToken: "text"
9639
- }
9441
+ type: "surface",
9442
+ role: "link"
9443
+ },
9444
+ border: { widthClass: "border" }
9640
9445
  };
9641
9446
  const giltSecondaryHover = {
9642
- ...giltSecondary,
9447
+ ...gilt,
9448
+ background: {
9449
+ type: "solid",
9450
+ colorToken: "text"
9451
+ },
9452
+ border: {
9453
+ widthClass: "border",
9454
+ boundaryInk: unsafeAsOpaqueButtonColourToken("text")
9455
+ },
9643
9456
  effects: [lift$1],
9644
9457
  contextualHover: {
9645
9458
  kind: "shade-shift",
@@ -19855,14 +19668,6 @@ const loomLooks = {
19855
19668
  treatment: "events-recurring-week",
19856
19669
  roleMap: loomRoles
19857
19670
  },
19858
- {
19859
- id: id("hero-framed-title"),
19860
- treatment: "hero-framed-title",
19861
- roleMap: {
19862
- ...loomRoles,
19863
- highlight: "deep"
19864
- }
19865
- },
19866
19671
  {
19867
19672
  id: id("testimonials-quote-cards"),
19868
19673
  treatment: "quote-cards",
@@ -23551,6 +23356,7 @@ const lanternLooks = {
23551
23356
  id: id("event-calendar-session-cards"),
23552
23357
  treatment: "tablets",
23553
23358
  removeKnobs: ["listColumns"],
23359
+ knobValues: { showPhotos: ["false"] },
23554
23360
  surfaceTints: { date: {
23555
23361
  source: "text",
23556
23362
  opacity: 8
@@ -24429,7 +24235,7 @@ const curatedSiteStyles = [
24429
24235
  compositionBudget: quietBudget,
24430
24236
  typography: fulcrumTypography,
24431
24237
  fontPairings: fulcrumFontPairings,
24432
- looks: withPriceLooks(withTeamLooks(fulcrumLooks, fulcrumRoles), fulcrumRoles),
24238
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(fulcrumLooks, fulcrumRoles), fulcrumRoles), fulcrumRoles),
24433
24239
  contentTemplateDefaults: { event: "event-header" },
24434
24240
  themeOverrides: {
24435
24241
  accordions: {
@@ -24490,10 +24296,10 @@ const curatedSiteStyles = [
24490
24296
  compositionBudget: expressiveBudget,
24491
24297
  typography: posterTypography,
24492
24298
  fontPairings: posterFontPairings,
24493
- looks: withPriceLooks(withTeamLooks(posterLooks, posterRoles), posterRoles, {
24299
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(posterLooks, posterRoles), posterRoles, {
24494
24300
  ...posterRoles,
24495
24301
  statement: "pop"
24496
- }),
24302
+ }), posterRoles, ["cta-text-in-panel", "faq-questions-in-panel"]),
24497
24303
  contentTemplateDefaults: { event: "event-header" },
24498
24304
  themeOverrides: {
24499
24305
  accordions: boldBorderedAccordionSystem,
@@ -24533,7 +24339,7 @@ const curatedSiteStyles = [
24533
24339
  compositionBudget: quietBudget,
24534
24340
  typography: lanternTypography,
24535
24341
  fontPairings: lanternFontPairings,
24536
- looks: withPriceLooks(withTeamLooks(lanternLooks, lanternRoles), lanternRoles),
24342
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(lanternLooks, lanternRoles), lanternRoles), lanternRoles),
24537
24343
  contentTemplateDefaults: { event: "event-header" },
24538
24344
  themeOverrides: {
24539
24345
  accordions: warmInsetAccordionSystem,
@@ -24576,7 +24382,13 @@ const curatedSiteStyles = [
24576
24382
  compositionBudget: quietBudget,
24577
24383
  typography: measureTypography,
24578
24384
  fontPairings: measureFontPairings,
24579
- looks: withPriceLooks(withTeamLooks(measureLooks, measureRoles), measureRoles),
24385
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(measureLooks, measureRoles), measureRoles), measureRoles, [
24386
+ "intro-large-photo-beside-text",
24387
+ "media-text-photo-to-edge",
24388
+ "image-gallery-moving-row",
24389
+ "cta-text-in-panel",
24390
+ "faq-questions-in-panel"
24391
+ ]),
24580
24392
  contentTemplateDefaults: { event: "event-header" },
24581
24393
  themeOverrides: {
24582
24394
  accordions: editorialDividedAccordionSystem,
@@ -24618,7 +24430,7 @@ const curatedSiteStyles = [
24618
24430
  typography: folioTypography,
24619
24431
  fontPairings: folioFontPairings,
24620
24432
  heroTypography: groundedSerifHeroTypography,
24621
- looks: withPriceLooks(withTeamLooks(folioLooks, folioRoles), folioRoles),
24433
+ looks: withSharedLooks(withPriceLooks(withTeamLooks(folioLooks, folioRoles), folioRoles), folioRoles, ["faq-questions-in-panel"]),
24622
24434
  contentTemplateDefaults: { event: "event-header" },
24623
24435
  themeOverrides: {
24624
24436
  accordions: editorialDividedAccordionSystem,
@@ -24690,7 +24502,7 @@ const curatedSiteStyles = [
24690
24502
  typography: loomTypography,
24691
24503
  fontPairings: loomFontPairings,
24692
24504
  heroTypography: groundedSerifHeroTypography,
24693
- looks: loomLooks,
24505
+ looks: withSharedLooks(loomLooks, loomRoles),
24694
24506
  contentTemplateDefaults: { event: "event-header" },
24695
24507
  themeOverrides: {
24696
24508
  accordions: editorialDividedAccordionSystem,
@@ -24758,7 +24570,7 @@ const curatedSiteStyles = [
24758
24570
  compositionBudget: balancedBudget,
24759
24571
  typography: poiseTypography,
24760
24572
  fontPairings: poiseFontPairings,
24761
- looks: poiseLooks,
24573
+ looks: withSharedLooks(poiseLooks, poiseRoles, ["faq-questions-in-panel"]),
24762
24574
  contentTemplateDefaults: { event: "event-header" },
24763
24575
  themeOverrides: {
24764
24576
  accordions: editorialDividedAccordionSystem,
@@ -24824,7 +24636,7 @@ const curatedSiteStyles = [
24824
24636
  },
24825
24637
  compositionBudget: balancedBudget,
24826
24638
  typography: havenTypography,
24827
- looks: havenLooks,
24639
+ looks: withSharedLooks(havenLooks, havenRoles, ["faq-questions-in-panel"]),
24828
24640
  contentTemplateDefaults: { event: "event-header" },
24829
24641
  themeOverrides: {
24830
24642
  accordions: editorialDividedAccordionSystem,
@@ -24886,7 +24698,7 @@ const curatedSiteStyles = [
24886
24698
  name: "Orbit",
24887
24699
  offering: {
24888
24700
  kind: "client",
24889
- siteSlugs: ["danu"]
24701
+ siteSlugs: ["danu", "south-west-twerk-school"]
24890
24702
  },
24891
24703
  description: "Round photos with a ring around them, three dots above each heading, white rounded cards and pill buttons, with arcs where your bands of colour begin and end. For dance schools, movement classes and community studios.",
24892
24704
  generationBrief: "Use warm, lively words in sentence case for the text, and keep headings short, because they are set in capitals. Say plainly who a class is for and that beginners are welcome, give real times, prices and places, and avoid fitness slogans and promises about results.",
@@ -25036,6 +24848,46 @@ function withTeamLooks(looks, roleMap) {
25036
24848
  ]
25037
24849
  };
25038
24850
  }
24851
+ function withSharedLooks(looks, roleMap, leaveOut = []) {
24852
+ const shared = [
24853
+ {
24854
+ id: id("intro-large-photo-beside-text"),
24855
+ treatment: "intro-photo-large",
24856
+ roleMap
24857
+ },
24858
+ {
24859
+ id: id("media-text-photo-to-edge"),
24860
+ treatment: "media-edge",
24861
+ roleMap
24862
+ },
24863
+ {
24864
+ id: id("form-beside-introduction-no-card"),
24865
+ treatment: "form-open",
24866
+ roleMap
24867
+ },
24868
+ {
24869
+ id: id("image-gallery-moving-row"),
24870
+ treatment: "gallery-moving",
24871
+ roleMap
24872
+ },
24873
+ {
24874
+ id: id("cta-text-in-panel"),
24875
+ treatment: "cta-panel",
24876
+ roleMap
24877
+ },
24878
+ {
24879
+ id: id("faq-questions-in-panel"),
24880
+ treatment: "faq-panel",
24881
+ itemRoles: { container: "highlight" },
24882
+ roleMap
24883
+ }
24884
+ ];
24885
+ const skipped = leaveOut.map(id);
24886
+ return {
24887
+ ...looks,
24888
+ offers: [...looks.offers, ...shared.filter((offer) => !skipped.includes(offer.id) && !looks.offers.some((own) => own.id === offer.id))]
24889
+ };
24890
+ }
25039
24891
  function withPriceLooks(looks, roleMap, featuredRoleMap = roleMap) {
25040
24892
  return {
25041
24893
  ...looks,
@@ -25547,7 +25399,8 @@ const arrangementLookHooks = [
25547
25399
  "data-shape",
25548
25400
  "data-list-group",
25549
25401
  "data-section-spacing",
25550
- "data-video-provider"
25402
+ "data-video-provider",
25403
+ "data-portal"
25551
25404
  ];
25552
25405
  const arrangementAppearancePresets = appearancePresets.filter(isArrangementAppearancePreset);
25553
25406
  function arrangementStyleAvailability(style, preset, capabilities) {
@@ -27216,24 +27069,6 @@ const eventsReadiness = {
27216
27069
  }
27217
27070
  };
27218
27071
  //#endregion
27219
- //#region ../blocks/src/lib/typeGuards.ts
27220
- /**
27221
- * Strict record guard: excludes null, primitives, and arrays.
27222
- */
27223
- function isRecord$5(value) {
27224
- return typeof value === "object" && value !== null && !Array.isArray(value);
27225
- }
27226
- /**
27227
- * Non-null object guard: includes arrays for behavior parity with legacy helpers.
27228
- *
27229
- * NOTE: This intentionally narrows to UnknownRecord for compatibility with existing
27230
- * callsites even though arrays pass at runtime. Follow-up cleanup should replace
27231
- * this API with a more precise predicate type and migrate consumers.
27232
- */
27233
- function isObjectRecord$1(value) {
27234
- return typeof value === "object" && value !== null;
27235
- }
27236
- //#endregion
27237
27072
  //#region ../blocks/src/system/registryStore.ts
27238
27073
  const REGISTRY_SYMBOL$1 = Symbol.for("@riverbankcms/blocks/system/definitions");
27239
27074
  const isBlocksTestRuntime$1 = typeof process !== "undefined" && typeof process.env !== "undefined" && process.env.RIVERBANK_BLOCKS_TEST === "1";
@@ -37695,7 +37530,7 @@ const headingClassFromAlignment = {
37695
37530
  summary: "Append text alignment class to a base heading class",
37696
37531
  run: (value, options) => {
37697
37532
  const alignClass = (typeof value === "string" && value === "center" ? "center" : "left") === "center" ? "rb-text-center" : "rb-text-left";
37698
- return `${options.base} ${alignClass}`.trim();
37533
+ return `${options.base ?? ""} ${alignClass}`.trim();
37699
37534
  }
37700
37535
  };
37701
37536
  const bodyClassFromAlignment = {
@@ -37704,7 +37539,7 @@ const bodyClassFromAlignment = {
37704
37539
  summary: "Append body alignment helper classes to a base class",
37705
37540
  run: (value, options) => {
37706
37541
  const extra = (typeof value === "string" && value === "center" ? "center" : "left") === "center" ? "rb-mx-auto rb-text-center" : "";
37707
- return `${options.base} ${extra}`.trim();
37542
+ return `${options.base ?? ""} ${extra}`.trim();
37708
37543
  }
37709
37544
  };
37710
37545
  const stackAlignFromAlignment = {
@@ -38701,16 +38536,16 @@ const interpolateRichTextTokensOptionsSchema = z.object({ tokens: z.array(suppor
38701
38536
  const richTextTokenPattern = /\{\{\s*([a-zA-Z0-9_]+)\s*\}\}/g;
38702
38537
  function getSiteName(context) {
38703
38538
  const viewModel = context.viewModel;
38704
- if (!isRecord$5(viewModel)) return null;
38539
+ if (!isRecord$13(viewModel)) return null;
38705
38540
  const site = viewModel.site;
38706
- if (isRecord$5(site) && typeof site.title === "string") {
38541
+ if (isRecord$13(site) && typeof site.title === "string") {
38707
38542
  const title = site.title.trim();
38708
38543
  return title.length > 0 ? title : null;
38709
38544
  }
38710
38545
  const root = viewModel.$root;
38711
- if (isRecord$5(root)) {
38546
+ if (isRecord$13(root)) {
38712
38547
  const rootSite = root.site;
38713
- if (isRecord$5(rootSite) && typeof rootSite.title === "string") {
38548
+ if (isRecord$13(rootSite) && typeof rootSite.title === "string") {
38714
38549
  const title = rootSite.title.trim();
38715
38550
  if (title.length > 0) return title;
38716
38551
  }
@@ -38732,7 +38567,7 @@ function replaceTokenText(input, allowedTokens, tokenValues) {
38732
38567
  });
38733
38568
  }
38734
38569
  function visitRichTextNode(node, allowedTokens, tokenValues) {
38735
- if (!isRecord$5(node)) return node;
38570
+ if (!isRecord$13(node)) return node;
38736
38571
  let changed = false;
38737
38572
  const nextNode = { ...node };
38738
38573
  if (nextNode.type === "text" && typeof nextNode.text === "string") {
@@ -38753,7 +38588,7 @@ function visitRichTextNode(node, allowedTokens, tokenValues) {
38753
38588
  return changed ? nextNode : node;
38754
38589
  }
38755
38590
  function interpolateRichTextTokens(value, options, context) {
38756
- if (typeof value !== "string" && !isRecord$5(value)) return value;
38591
+ if (typeof value !== "string" && !isRecord$13(value)) return value;
38757
38592
  const allowedTokens = new Set(options.tokens);
38758
38593
  const tokenValues = {
38759
38594
  year: () => formatDate$2({
@@ -42830,10 +42665,6 @@ const blockSiteTermsSchema = z.discriminatedUnion("kind", [z.object({ kind: z.li
42830
42665
  businessName: z.string(),
42831
42666
  href: z.string().min(1).nullable()
42832
42667
  })]);
42833
- z.object({
42834
- versionId,
42835
- alreadyAgreed: z.boolean()
42836
- });
42837
42668
  //#endregion
42838
42669
  //#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
42839
42670
  /** The name in a venue's place: its own, or the owner's word that the address follows the booking. */
@@ -43620,6 +43451,32 @@ function scheduleInput(event, occurrence) {
43620
43451
  };
43621
43452
  }
43622
43453
  //#endregion
43454
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationSelection.state.ts
43455
+ const SINGLE = { kind: "single" };
43456
+ function sameOffering(events) {
43457
+ const offerings = new Set(events.map((event) => event.registrationSubject.kind === "wholeSeries" ? event.registrationSubject.eventOfferingId : null));
43458
+ return offerings.size === 1 && !offerings.has(null);
43459
+ }
43460
+ function registrationSelectionMode(input) {
43461
+ const { events } = input;
43462
+ if (events.length < 2) return SINGLE;
43463
+ if (events.some((event) => event.rooms)) return SINGLE;
43464
+ if (!events.every((event) => event.allowsMultipleBooking)) return SINGLE;
43465
+ const firstSeriesId = events[0]?.seriesId;
43466
+ if (events.every((event) => event.registrationSubject.kind === "occurrence" && event.seriesId === firstSeriesId)) return {
43467
+ kind: "several",
43468
+ items: "dates"
43469
+ };
43470
+ return events.every((event) => event.registrationSubject.kind === "wholeSeries") && sameOffering(events) ? {
43471
+ kind: "several",
43472
+ items: "runs"
43473
+ } : SINGLE;
43474
+ }
43475
+ function selectionRowAvailability(event) {
43476
+ if (!isEventFull(event)) return "open";
43477
+ return canJoinEventWaitlistOnAnyMode(event) ? "waitlist" : "full";
43478
+ }
43479
+ //#endregion
43623
43480
  //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
43624
43481
  function toRegistrationEvent(event) {
43625
43482
  return {
@@ -43681,7 +43538,7 @@ function findPreSelectedEvent(input) {
43681
43538
  startsAt: occurrenceContext.startsAt,
43682
43539
  timeZone: occurrenceContext.timeZone
43683
43540
  }));
43684
- return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id) || getBookingLocalDateKey(toScheduledBookingDateTime({
43541
+ return input.scopedEvents.find((event) => eventMatchesOccurrenceId(event, occurrenceContext.id)) ?? input.scopedEvents.find((event) => getBookingLocalDateKey(toScheduledBookingDateTime({
43685
43542
  startsAt: event.startsAt,
43686
43543
  timeZone: event.timeZone
43687
43544
  })) === contextDate) ?? null;
@@ -43692,6 +43549,181 @@ function resolveEventRequiresPayment(input) {
43692
43549
  if (!input.event) return false;
43693
43550
  return publicEventPricingType(input.event.pricing) === "paid";
43694
43551
  }
43552
+ const unsupportedEventRegistrationPageSurfaceSubjectSchema = z.object({
43553
+ kind: z.literal("unsupported"),
43554
+ reason: z.enum([
43555
+ "unsupportedSubject",
43556
+ "invalidAppointmentServiceId",
43557
+ "invalidEventSeriesId",
43558
+ "invalidEventSeriesBookingScope",
43559
+ "invalidEventOfferingId",
43560
+ "invalidEventOfferingBookingScope",
43561
+ "invalidEventOfferingCatalogue"
43562
+ ])
43563
+ });
43564
+ const eventRegistrationPageSurfaceSubjectSchema = z.unknown().transform((value, ctx) => {
43565
+ const unsupported = z.safeParse(unsupportedEventRegistrationPageSurfaceSubjectSchema, value);
43566
+ if (unsupported.success) return unsupported.data;
43567
+ const parsed = parsePageSurfaceSubject(value);
43568
+ if (parsed.ok) return parsed.value.kind === "appointmentService" ? {
43569
+ kind: "unsupported",
43570
+ reason: "unsupportedSubject"
43571
+ } : parsed.value;
43572
+ ctx.addIssue({
43573
+ code: z.ZodIssueCode.custom,
43574
+ message: `Invalid event page-surface subject (${parsed.error.kind})`
43575
+ });
43576
+ return z.NEVER;
43577
+ });
43578
+ function parseEventRegistrationPageSurfaceSubject(value) {
43579
+ const parsed = parsePageSurfaceSubject(value);
43580
+ if (!parsed.ok) return parsed;
43581
+ return parsed.value.kind === "appointmentService" ? err({
43582
+ kind: "unsupportedSubject",
43583
+ subjectKind: parsed.value.kind
43584
+ }) : ok$1(parsed.value);
43585
+ }
43586
+ function normalizeEventRegistrationPageSurfaceSubject(value) {
43587
+ const parsed = parseEventRegistrationPageSurfaceSubject(value);
43588
+ if (parsed.ok) return parsed.value;
43589
+ switch (parsed.error.kind) {
43590
+ case "notObject": return null;
43591
+ case "invalidAppointmentServiceId": return {
43592
+ kind: "unsupported",
43593
+ reason: "invalidAppointmentServiceId"
43594
+ };
43595
+ case "unsupportedSubject": return {
43596
+ kind: "unsupported",
43597
+ reason: "unsupportedSubject"
43598
+ };
43599
+ case "invalidEventSeriesId": return {
43600
+ kind: "unsupported",
43601
+ reason: "invalidEventSeriesId"
43602
+ };
43603
+ case "invalidEventSeriesBookingScope": return {
43604
+ kind: "unsupported",
43605
+ reason: "invalidEventSeriesBookingScope"
43606
+ };
43607
+ case "invalidEventOfferingId": return {
43608
+ kind: "unsupported",
43609
+ reason: "invalidEventOfferingId"
43610
+ };
43611
+ case "invalidEventOfferingBookingScope": return {
43612
+ kind: "unsupported",
43613
+ reason: "invalidEventOfferingBookingScope"
43614
+ };
43615
+ case "invalidEventOfferingCatalogue": return {
43616
+ kind: "unsupported",
43617
+ reason: "invalidEventOfferingCatalogue"
43618
+ };
43619
+ }
43620
+ }
43621
+ function resolveEventRegistrationScope(context) {
43622
+ const occurrenceSeriesId = context.occurrenceContext?.seriesId;
43623
+ if (occurrenceSeriesId) return {
43624
+ kind: "occurrenceSeries",
43625
+ seriesId: occurrenceSeriesId
43626
+ };
43627
+ const subject = context.subject;
43628
+ switch (subject?.kind) {
43629
+ case "eventSeries": return {
43630
+ kind: "pageSurfaceSeries",
43631
+ seriesId: subject.eventSeriesId
43632
+ };
43633
+ case "eventOffering": return {
43634
+ kind: "pageSurfaceOffering",
43635
+ offeringId: subject.eventOfferingId,
43636
+ seriesIds: subject.catalogueEventSeriesIds
43637
+ };
43638
+ case "unsupported": return {
43639
+ kind: "unsupportedPageSurfaceSubject",
43640
+ reason: subject.reason
43641
+ };
43642
+ case void 0: return { kind: "unscoped" };
43643
+ }
43644
+ }
43645
+ function resolveEventRegistrationScopedEvents(events, context) {
43646
+ const scope = resolveEventRegistrationScope(context);
43647
+ switch (scope.kind) {
43648
+ case "occurrenceSeries":
43649
+ case "pageSurfaceSeries": return events.filter((event) => event.seriesId === scope.seriesId);
43650
+ case "pageSurfaceOffering": {
43651
+ const seriesIds = new Set(scope.seriesIds);
43652
+ return events.filter((event) => seriesIds.has(event.seriesId));
43653
+ }
43654
+ case "unsupportedPageSurfaceSubject": return [];
43655
+ case "unscoped": return [...events];
43656
+ }
43657
+ }
43658
+ /** Keep dated detail/recovery targets, but only invite bookings for future choices. */
43659
+ function resolveEventRegistrationChoices(events, context, now) {
43660
+ const scoped = resolveEventRegistrationScopedEvents(events, context);
43661
+ const runs = groupPublicEventsByRun(scoped);
43662
+ if (context.occurrenceContext || context.subject?.kind === "eventSeries" && context.subject.bookingScope === "whole_series" || runs.length === 1 && scoped.every((event) => event.bookingScope === "whole_series")) return scoped;
43663
+ const eligibleRunIds = new Set(runs.filter((group) => resolveWholeSeriesChooserEligibility(group, now).kind === "eligible").map((group) => group.eventSeriesId));
43664
+ return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : isUpcomingDateChoice(event, now));
43665
+ }
43666
+ /** A date a new booking can still choose: it hasn't started and its bookings haven't closed. */
43667
+ function isUpcomingDateChoice(event, now) {
43668
+ return Date.parse(event.startsAt) > now.getTime() && !hasEventBookingClosedEarly(event, now);
43669
+ }
43670
+ //#endregion
43671
+ //#region ../blocks/src/system/runtime/nodes/event-registration/registrationEntry.ts
43672
+ function decideRegistrationEntry(input) {
43673
+ const event = findPreSelectedEvent({
43674
+ scopedEvents: input.events,
43675
+ occurrenceContext: input.occurrenceContext
43676
+ });
43677
+ if (!input.occurrenceContext && !event) return {
43678
+ kind: "chooseEvent",
43679
+ choices: input.events
43680
+ };
43681
+ if (input.offer === "eventsAsGiven") return {
43682
+ kind: "pageDate",
43683
+ event,
43684
+ choices: input.events
43685
+ };
43686
+ if (!event) return {
43687
+ kind: "pageDate",
43688
+ event,
43689
+ choices: input.events
43690
+ };
43691
+ const moreDates = input.occurrenceContext ? addableDates(event, input) : [];
43692
+ const [first, ...rest] = moreDates;
43693
+ return first ? {
43694
+ kind: "pageDateAndMore",
43695
+ event,
43696
+ moreDates: [first, ...rest],
43697
+ choices: [event, ...moreDates]
43698
+ } : {
43699
+ kind: "pageDate",
43700
+ event,
43701
+ choices: [event]
43702
+ };
43703
+ }
43704
+ /**
43705
+ * The class's other dates a visitor could add to the page's date, as the
43706
+ * class's own page lists them, or none when the page's date books on its own:
43707
+ * a return to finish a booking, a date that can't be ticked, a class that
43708
+ * doesn't book several dates or has rooms, or no other date open to book.
43709
+ */
43710
+ function addableDates(pageDate, input) {
43711
+ if (input.arrival !== "none") return [];
43712
+ if (pageDate.registrationSubject.kind !== "occurrence") return [];
43713
+ if (selectionRowAvailability(pageDate) !== "open" || !isUpcomingDateChoice(pageDate, input.now)) return [];
43714
+ const others = input.events.filter((event) => event.selectionId !== pageDate.selectionId && event.seriesId === pageDate.seriesId && isUpcomingDateChoice(event, input.now));
43715
+ const mode = registrationSelectionMode({ events: [pageDate, ...others] });
43716
+ if (mode.kind !== "several" || mode.items !== "dates") return [];
43717
+ return others.some((event) => selectionRowAvailability(event) === "open") ? others : [];
43718
+ }
43719
+ /** Whether the route starts by choosing (and so Back and "Change dates" lead there). */
43720
+ function entryChoosesEvent(entry) {
43721
+ return entry.kind !== "pageDate";
43722
+ }
43723
+ /** The date this page is about, if it names one the events include. */
43724
+ function entryPageEvent(entry) {
43725
+ return entry.kind === "chooseEvent" ? null : entry.event;
43726
+ }
43695
43727
  //#endregion
43696
43728
  //#region ../blocks/src/system/runtime/nodes/event-registration/wizardSteps.ts
43697
43729
  function registrationRoute(input) {
@@ -44426,120 +44458,6 @@ function bookingCardDisplay(source, scopedSourceEvents, display) {
44426
44458
  buttonText: source.buttonText?.trim() ?? ""
44427
44459
  };
44428
44460
  }
44429
- const unsupportedEventRegistrationPageSurfaceSubjectSchema = z.object({
44430
- kind: z.literal("unsupported"),
44431
- reason: z.enum([
44432
- "unsupportedSubject",
44433
- "invalidAppointmentServiceId",
44434
- "invalidEventSeriesId",
44435
- "invalidEventSeriesBookingScope",
44436
- "invalidEventOfferingId",
44437
- "invalidEventOfferingBookingScope",
44438
- "invalidEventOfferingCatalogue"
44439
- ])
44440
- });
44441
- const eventRegistrationPageSurfaceSubjectSchema = z.unknown().transform((value, ctx) => {
44442
- const unsupported = z.safeParse(unsupportedEventRegistrationPageSurfaceSubjectSchema, value);
44443
- if (unsupported.success) return unsupported.data;
44444
- const parsed = parsePageSurfaceSubject(value);
44445
- if (parsed.ok) return parsed.value.kind === "appointmentService" ? {
44446
- kind: "unsupported",
44447
- reason: "unsupportedSubject"
44448
- } : parsed.value;
44449
- ctx.addIssue({
44450
- code: z.ZodIssueCode.custom,
44451
- message: `Invalid event page-surface subject (${parsed.error.kind})`
44452
- });
44453
- return z.NEVER;
44454
- });
44455
- function parseEventRegistrationPageSurfaceSubject(value) {
44456
- const parsed = parsePageSurfaceSubject(value);
44457
- if (!parsed.ok) return parsed;
44458
- return parsed.value.kind === "appointmentService" ? err({
44459
- kind: "unsupportedSubject",
44460
- subjectKind: parsed.value.kind
44461
- }) : ok$1(parsed.value);
44462
- }
44463
- function normalizeEventRegistrationPageSurfaceSubject(value) {
44464
- const parsed = parseEventRegistrationPageSurfaceSubject(value);
44465
- if (parsed.ok) return parsed.value;
44466
- switch (parsed.error.kind) {
44467
- case "notObject": return null;
44468
- case "invalidAppointmentServiceId": return {
44469
- kind: "unsupported",
44470
- reason: "invalidAppointmentServiceId"
44471
- };
44472
- case "unsupportedSubject": return {
44473
- kind: "unsupported",
44474
- reason: "unsupportedSubject"
44475
- };
44476
- case "invalidEventSeriesId": return {
44477
- kind: "unsupported",
44478
- reason: "invalidEventSeriesId"
44479
- };
44480
- case "invalidEventSeriesBookingScope": return {
44481
- kind: "unsupported",
44482
- reason: "invalidEventSeriesBookingScope"
44483
- };
44484
- case "invalidEventOfferingId": return {
44485
- kind: "unsupported",
44486
- reason: "invalidEventOfferingId"
44487
- };
44488
- case "invalidEventOfferingBookingScope": return {
44489
- kind: "unsupported",
44490
- reason: "invalidEventOfferingBookingScope"
44491
- };
44492
- case "invalidEventOfferingCatalogue": return {
44493
- kind: "unsupported",
44494
- reason: "invalidEventOfferingCatalogue"
44495
- };
44496
- }
44497
- }
44498
- function resolveEventRegistrationScope(context) {
44499
- const occurrenceSeriesId = context.occurrenceContext?.seriesId;
44500
- if (occurrenceSeriesId) return {
44501
- kind: "occurrenceSeries",
44502
- seriesId: occurrenceSeriesId
44503
- };
44504
- const subject = context.subject;
44505
- switch (subject?.kind) {
44506
- case "eventSeries": return {
44507
- kind: "pageSurfaceSeries",
44508
- seriesId: subject.eventSeriesId
44509
- };
44510
- case "eventOffering": return {
44511
- kind: "pageSurfaceOffering",
44512
- offeringId: subject.eventOfferingId,
44513
- seriesIds: subject.catalogueEventSeriesIds
44514
- };
44515
- case "unsupported": return {
44516
- kind: "unsupportedPageSurfaceSubject",
44517
- reason: subject.reason
44518
- };
44519
- case void 0: return { kind: "unscoped" };
44520
- }
44521
- }
44522
- function resolveEventRegistrationScopedEvents(events, context) {
44523
- const scope = resolveEventRegistrationScope(context);
44524
- switch (scope.kind) {
44525
- case "occurrenceSeries":
44526
- case "pageSurfaceSeries": return events.filter((event) => event.seriesId === scope.seriesId);
44527
- case "pageSurfaceOffering": {
44528
- const seriesIds = new Set(scope.seriesIds);
44529
- return events.filter((event) => seriesIds.has(event.seriesId));
44530
- }
44531
- case "unsupportedPageSurfaceSubject": return [];
44532
- case "unscoped": return [...events];
44533
- }
44534
- }
44535
- /** Keep dated detail/recovery targets, but only invite bookings for future choices. */
44536
- function resolveEventRegistrationChoices(events, context, now) {
44537
- const scoped = resolveEventRegistrationScopedEvents(events, context);
44538
- const runs = groupPublicEventsByRun(scoped);
44539
- if (context.occurrenceContext || context.subject?.kind === "eventSeries" && context.subject.bookingScope === "whole_series" || runs.length === 1 && scoped.every((event) => event.bookingScope === "whole_series")) return scoped;
44540
- const eligibleRunIds = new Set(runs.filter((group) => resolveWholeSeriesChooserEligibility(group, now).kind === "eligible").map((group) => group.eventSeriesId));
44541
- return scoped.filter((event) => event.bookingScope === "whole_series" ? eligibleRunIds.has(event.seriesId) : Date.parse(event.startsAt) > now.getTime() && !hasEventBookingClosedEarly(event, now));
44542
- }
44543
44461
  //#endregion
44544
44462
  //#region ../blocks/src/system/runtime/nodes/shared/contract-schemas.ts
44545
44463
  const bookingNowSchema = z.string().datetime({ offset: true }).transform(readRuntimeNow);
@@ -44754,20 +44672,23 @@ function buildEventRegistrationShellStepLabels(source, scopedSourceEvents) {
44754
44672
  }
44755
44673
  const scopedEvents = toScopedEventRegistrationEvents(scopedSourceEvents);
44756
44674
  if (scopedEvents.length === 0) return EVENT_REGISTRATION_GENERIC_SHELL_STEP_LABELS;
44757
- const preSelectedEvent = findPreSelectedEvent({
44758
- scopedEvents,
44759
- occurrenceContext: source.occurrenceContext
44675
+ const entry = decideRegistrationEntry({
44676
+ events: scopedEvents,
44677
+ occurrenceContext: source.occurrenceContext,
44678
+ offer: "addMoreDates",
44679
+ arrival: "none",
44680
+ now: new Date(source.now)
44760
44681
  });
44761
- const hasPreSelectedContext = Boolean(source.occurrenceContext || preSelectedEvent);
44762
- const needsPaymentStep = hasPreSelectedContext && preSelectedEvent ? resolveEventRequiresPayment({
44682
+ const pageEvent = entryPageEvent(entry);
44683
+ const needsPaymentStep = pageEvent ? resolveEventRequiresPayment({
44763
44684
  eligibility: null,
44764
44685
  selectedTicketType: null,
44765
- event: preSelectedEvent
44686
+ event: pageEvent
44766
44687
  }) : false;
44767
44688
  return shellStepLabels(registrationRoute({
44768
- chooseEvent: !hasPreSelectedContext,
44689
+ chooseEvent: entryChoosesEvent(entry),
44769
44690
  payment: needsPaymentStep ? "optionsAndPayment" : "none"
44770
- }), registrationStepLabelContext(scopedEvents, preSelectedEvent));
44691
+ }), registrationStepLabelContext(entry.choices, pageEvent));
44771
44692
  }
44772
44693
  function scopeEventRegistrationSourceEvents(source, eventSource) {
44773
44694
  return resolveEventRegistrationScopedEvents(eventSource.kind === "loaded" ? eventSource.events : [], {
@@ -52686,7 +52607,6 @@ const shopSourceSchema = z.object({
52686
52607
  membershipsHeading: z.string().optional(),
52687
52608
  buyButtonText: z.string().optional(),
52688
52609
  addButtonText: z.string().optional(),
52689
- passPurchaseMode: z.enum(["add_to_cart", "buy_now"]).optional(),
52690
52610
  subscribeButtonText: z.string().optional(),
52691
52611
  emptyStateText: z.string().optional(),
52692
52612
  checkoutButtonText: z.string().optional(),
@@ -52830,7 +52750,6 @@ const passesMembershipsHydrationSchema = z.object({
52830
52750
  presentation: z.object(cardListPresentationSchemaShape).optional(),
52831
52751
  featured: z.string().optional(),
52832
52752
  memberships: z.array(publicMembershipProductSchema),
52833
- passPurchaseMode: z.enum(["add_to_cart", "buy_now"]),
52834
52753
  buttonVariant: blockButtonRoleSchema,
52835
52754
  siteTerms: blockSiteTermsSchema.optional(),
52836
52755
  demoEmailSuppressed: z.boolean().optional()
@@ -52895,7 +52814,6 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
52895
52814
  render: createZodCodec(passesMembershipsRenderSchema)
52896
52815
  },
52897
52816
  buildRender: (source) => {
52898
- const passPurchaseMode = source.passPurchaseMode ?? "add_to_cart";
52899
52817
  const subscribeButtonText = source.subscribeButtonText ?? "Subscribe";
52900
52818
  const products = decideShopDisplayedCatalogue(source);
52901
52819
  const dateContext = source.dateContext ?? resolveDateRuntimeContext(void 0);
@@ -52908,7 +52826,7 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
52908
52826
  emptyMessage: source.emptyStateText,
52909
52827
  passesHeading: source.passesHeading,
52910
52828
  membershipsHeading: source.membershipsHeading,
52911
- passActionLabel: resolvePassBuyButtonText(source.buyButtonText, passPurchaseMode),
52829
+ passActionLabel: resolvePassBuyButtonText(source.buyButtonText),
52912
52830
  membershipActionLabel: subscribeButtonText,
52913
52831
  passes: products.passes,
52914
52832
  memberships: products.memberships,
@@ -52924,7 +52842,6 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
52924
52842
  timeZone: dateContext.timeZone
52925
52843
  },
52926
52844
  memberships: products.memberships,
52927
- passPurchaseMode,
52928
52845
  buttonVariant: source.buttonVariant ?? "primary",
52929
52846
  siteTerms: source.siteTerms,
52930
52847
  demoEmailSuppressed: source.demoEmailSuppressed
@@ -53110,9 +53027,9 @@ function buildCheckoutInteractiveIslandProps(props) {
53110
53027
  }
53111
53028
  });
53112
53029
  }
53113
- function resolvePassBuyButtonText(buyButtonText, passPurchaseMode) {
53114
- if (buyButtonText && buyButtonText.trim().length > 0) return buyButtonText;
53115
- return passPurchaseMode === "add_to_cart" ? "Add to cart" : "Buy Now";
53030
+ const DEFAULT_PASS_BUY_BUTTON_TEXT = "Buy pass";
53031
+ function resolvePassBuyButtonText(buyButtonText) {
53032
+ return buyButtonText?.trim() ? buyButtonText : DEFAULT_PASS_BUY_BUTTON_TEXT;
53116
53033
  }
53117
53034
  function shopCardListPresentation(source) {
53118
53035
  return cardListPresentationKeys.reduce((presentation, key) => ({
@@ -53305,26 +53222,9 @@ const shopBlockDefinition = {
53305
53222
  description: "The text on the button to buy a pass.",
53306
53223
  required: false,
53307
53224
  multiline: false,
53308
- defaultValue: "Add to cart",
53225
+ defaultValue: DEFAULT_PASS_BUY_BUTTON_TEXT,
53309
53226
  maxLength: 40
53310
53227
  },
53311
- {
53312
- id: "passPurchaseMode",
53313
- type: "select",
53314
- label: "When someone buys a pass",
53315
- description: "Add the pass to their cart, or take them straight to checkout.",
53316
- required: false,
53317
- multiple: false,
53318
- defaultValue: "add_to_cart",
53319
- options: [{
53320
- value: "add_to_cart",
53321
- label: "Add to cart"
53322
- }, {
53323
- value: "buy_now",
53324
- label: "Buy now"
53325
- }],
53326
- ui: { intent: "behavior" }
53327
- },
53328
53228
  {
53329
53229
  id: "subscribeButtonText",
53330
53230
  type: "text",
@@ -53426,11 +53326,7 @@ const shopBlockDefinition = {
53426
53326
  } },
53427
53327
  buyButtonText: { $bind: {
53428
53328
  from: "content.buyButtonText",
53429
- fallback: "Add to cart"
53430
- } },
53431
- passPurchaseMode: { $bind: {
53432
- from: "content.passPurchaseMode",
53433
- fallback: "add_to_cart"
53329
+ fallback: DEFAULT_PASS_BUY_BUTTON_TEXT
53434
53330
  } },
53435
53331
  subscribeButtonText: { $bind: {
53436
53332
  from: "content.subscribeButtonText",
@@ -56706,7 +56602,7 @@ function ensureSystemBlockDefinitionsRegistered() {
56706
56602
  //#region ../blocks/src/system/registry.ts
56707
56603
  function normalizeBlockContent(definition, content) {
56708
56604
  const normalizer = definition?.contentNormalizer;
56709
- if (!normalizer || !isRecord$5(content)) return content;
56605
+ if (!normalizer || !isRecord$13(content)) return content;
56710
56606
  const normalized = normalizer.normalize(content);
56711
56607
  const owned = new Set(normalizer.fieldIds);
56712
56608
  return {
@@ -56745,4 +56641,4 @@ function listBlockDescriptors() {
56745
56641
  }));
56746
56642
  }
56747
56643
  //#endregion
56748
- export { resolveCardListSchedule as $, componentRuntimeRulesForTheme as $a, PUBLIC_DOWNLOAD_MEDIA_TYPES as $i, composeHeaderSectionWrapperClassName as $n, validateManifestLookField as $o, singleButtonFragment as $r, getBookingLocalDateKey as $s, eventOnlinePlace as $t, membershipClassesLabel as A, headerRootIsTransparent as Aa, el as Ai, isOrdinaryPublicEvent as An, isDecorativeTransitionIntent as Ao, Grid as Ar, isRecord$6 as As, groupOfferingRunsByCourse as At, eventListingBlockDefinition as B, styleSectionBackgroundForColour as Ba, FileArchiveIcon as Bi, isBookableEvent as Bn, resolveSectionBackground as Bo, formatEventDepositNote as Br, parseMailingListPlacementTargeting as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, selectItemSurfacePresentation as Ca, lookCarouselRegionTransform as Ci, groupEventsByDate as Cn, sectionShapeForGround as Co, defineProgressiveBlockRuntime as Cr, linkSchema as Cs, normalizeEventRegistrationPageSurfaceSubject as Ct, buildShopInteractiveIslandProps as D, readOpeningToneProjection as Da, asPartialObject as Di, hasCancelledRegistrationDate as Dn, boundaryOptions as Do, lookListPresentationSchemaShape as Dr, loadedReadinessFact as Ds, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Dt, buildProductListInteractiveIslandProps as E, effectiveHeaderNavLinkStyle as Ea, lookSkinSlotTransform as Ei, cancelledDateCopy as En, boundaryOptionForTransitionIntent as Eo, listLookSlot as Er, hiddenFromVisitors as Es, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Et, offeringsCatalogueShape as F, automaticArrangementLook as Fa, ArrowDownIcon as Fi, planWholeSeriesRunSelection as Fn, anglePolygonCss as Fo, resolveDeclaredBlockDesignCapability as Fr, resolveWholeSeriesBookingPhase as Fs, resolveOfferingsPreviewGroupCta as Ft, eventCollectionDisplaySchemaShape as G, resolvePublishedLook as Ga, PlusIcon as Gi, getEventAvailabilityStatus as Gn, appearancePresets as Go, BACKGROUND_POSITION_PRESET_VALUES as Gr, formatDateRange as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, readStoredMode as Ha, FileSpreadsheetIcon as Hi, formatEventRemainingPlaces as Hn, defaultHeroImageSurfaceTreatment as Ho, formatEventPriceAmount as Hr, isCanonicalRichTextDoc as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, compileArrangementLookRuntime as Ia, ChevronDownIcon as Ii, registrationDataForEventSelection as In, transitionCatalogueEntries as Io, classPricesCopySchema as Ir, resolveWholeSeriesPaymentDates as Is, resolveOfferingsPreviewGroups as It, catalogueEventCardProps as J, buildInitialPolicyPageDesignIntent as Ja, parseInlineTextFromUnknown as Ji, FEATURE_CARD_ICON_TREATMENTS as Jn, DEFAULT_MEDIA_FIELD_KINDS as Jo, headingFragment as Jr, formatBookingCompactEnglishTime as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, applyBlockContentVariantPolicy as Ka, inlineTextToPlainText as Ki, isEventFull as Kn, NodeSchema as Ko, getAnchorClasses as Kr, formatDateTimeRange as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, getCompatibleBlockAppearancePresets as La, CircleMinusIcon as Li, resolveSelectionBookingClosedDetail as Ln, applyLookPhotoTreatment as Lo, classPricesDataSchema as Lr, buildMailingListSignupBlockSourceRef as Ls, resolveOfferingsRenderInput as Lt, offeringsPreviewBlockDefinition as M, arrangementAppearancePresets as Ma, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Mi, planOrdinarySeriesSelection as Mn, softBoundaryOption as Mo, heroMorePhotoCount as Mr, CANCELLED_SESSION_STATUS as Ms, offeringRunLifecycle as Mt, publicRouteCandidatesSchema as N, arrangementLookHooks as Na, parseBlockIconValue as Ni, planWholeSeriesParentBooking as Nn, spaciousBoundaryOption as No, morePhotosField as Nr, nextLiveRunSessionStartMs as Ns, offeringsListingFor as Nt, shopProductPresentation as O, heroPhotoPaintsGround as Oa, createTransformRegistry as Oi, eventOccurrenceContext as On, boundaryRuntimeMetricsForDecorativeTransition as Oo, resolvedItemSurfaceProps as Or, pageTemplateFromEntry as Os, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ot, buildOfferingsCatalogueListing as P, arrangementStyleAvailability as Pa, resolveBlockIconRenderValue as Pi, planWholeSeriesParentSelection as Pn, transitionIntentForTreatment as Po, blockDesignCapabilityMapFromDefinitions as Pr, orderedLiveRunSessions as Ps, readOfferingsGrouping as Pt, cardListPresentationSchemaShape as Q, componentRuntimeRulesForSiteStyle as Qa, parseFieldDefinitions as Qi, siteHeaderManifest as Qn, fieldSchema as Qo, blogFeaturedPostFragment as Qr, formatLocalScheduleDate as Qs, browserReadAuthoritySchema as Qt, buildEventCalendarListingDisplay as R, resolveArrangementLookForBlock as Ra, CirclePlusIcon as Ri, selectionRepresentativeEvent as Rn, deriveSectionGround as Ro, resolveClassPriceItems as Rr, parseMailingListRuntimeContext as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, resolveLookSurfacePresentation as Sa, defineFragment as Si, formatTime as Sn, pageDesignDecisionsV2Schema as So, defineClientOwnedBlockRuntime as Sr, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, authoredHeaderLinkForeground as Ta, lookQuoteLimitTransform as Ti, bookingPageKindSchema as Tn, sectionShapeHook as To, listLookControl as Tr, admitReadinessFacts as Ts, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Tt, buildEventCollectionHydration as U, resolveEffectiveArrangement as Ua, FileTextIcon as Ui, formatTotalCapacity as Un, stripStaleTransitionStyleGroup as Uo, formatEventPriceDisplay as Ur, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, arrangementManifestFromVariants as Va, FileAudioIcon as Vi, canJoinEventWaitlistOnAnyMode as Vn, sectionSurfaceBase as Vo, formatEventPrice as Vr, sameMailingListPlacementTargeting as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, resolveModeArrangement as Wa, MinusIcon as Wi, getEventAvailability as Wn, themeV2CompilerOwnedFieldNames as Wo, formatEventStartingPrice as Wr, formatDate$2 as Ws, buildEventListWeek as Wt, CardListContentPart as X, filterLayoutProfilesForPolicy as Xa, normalizeSelectSource as Xi, shouldReserveFeatureCardIconZone as Xn, blockSectionDeclarationShape as Xo, faqAccordionFragment as Xr, addLocalScheduleDays as Xs, formatBookingSchedulePresentation as Xt, listingEventCardProps as Y, deriveSiteStyleBlockPolicy as Ya, plainTextToInlineText as Yi, resolveFeatureCardGeneratedIconSizePx as Yn, blockCategoryEnum as Yo, cardFragment as Yr, toScheduledBookingDateTime as Ys, resolveRuntimeEventDestination as Yt, CardListLeadDate as Z, filterLookIdsForPolicy as Za, parseFieldDefinition as Zi, siteFooterManifest as Zn, builtInBlockKindsSchema as Zo, faqHeadingFragment as Zr, compareLocalScheduleDates as Zs, bookingPresentation as Zt, buildGiftingInteractiveIslandProps as _, parseThemeButtonVariantId as _a, unsafeAsEventCategoryId$1 as _c, resolveSurfaceForegroundStyles as _i, formatEventHourLabel as _n, generateInteractiveChildInheritanceCSS as _o, buildFormInteractiveIslandProps as _r, blockBookingPaymentTermsSchema as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventReadinessLoaderKey as aa, toBookingTimeZone as ac, heroCtaRowFragment as ai, closedDatesCopy as an, stripCompiledRuntimeStyleFields as ao, teamMemberCardBiography as ar, getLocalDateKey as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, resolveHeaderRootForeground as ba, TokenResolver as bc, isSemanticSpacing as bi, formatEventTimeRange as bn, resolvePageDesignBlockLookChoice as bo, defineInteractiveIslandMetaKeys as br, beforeBookingQuestionsPresentationSchema as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventReadinessResultSchema as ca, isPublicEventPricingOptionDisplayable as cc, heroCopyFragment as ci, buildCalendarViewport as cn, getGradientPreset as co, mediaTransforms as cr, formatDateKey as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, eventScopeQuery as da, publicEventPricingType as dc, normalizeBoxStylesBorder as di, eventLocalDateKey as dn, generateFooterCss as do, layoutTransforms as dr, getWeekCalendarDayTuple as ds, systemCustomizeFacetDefinitionsForBlock as dt, augmentManifest as ea, getLocalScheduleDate as ec, formEmbedFragment as ei, eventPlaceName as en, designRuntimeRulesForSiteStyle as eo, markEditableSurfaceForwarding as er, isAcceptedRepeaterGridSpan as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, eventScopeQueryKeys as fa, resolveExactOrFreePriceDisplay as fc, resolveCardRoleForBoxStyles as fi, formatCalendarTitle as fn, buildTextContrastShadow as fo, staticHeaderChromeRuntime as fr, getWeekCalendarDays as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, resolveEventCalendarReadPlan as ga, unsafeAsContentEntryId as gc, resolveSectionSurfaceForeground as gi, formatEventDateParts as gn, resolveEffectPaint as go, formBlockDefinition as gr, publicEventsArraySchema as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, eventCalendarListGroupingDecision as ha, parseContentVersionId as hc, parseRuntimeBackgroundContent as hi, formatEventCompactDateRail as hn, resolveEffectApplications as ho, formatDate$1 as hr, projectRecurringSchedule as hs, EventQuickFacts as ht, systemBlockDefinitions as i, blockChecksForEvents as ia, resolveBookingBusinessTimeZone as ic, ctaCopyFragment as ii, pageNavigationSchema as in, compilePageRuntimeFields as io, teamMemberBiography as ir, resolveRepeaterGridSpanFieldId as is, MediaPlaceholder as it, passCardListContent as j, headerRootPaint as ja, when as ji, planDropInPanel as jn, noneBoundaryOption as jo, clsx as jr, EVENT_PRESET_VALUES as js, normalizeOfferingsPreviewItemLimit as jt, membershipCardListContent as k, headerNeedsPhotoShade as ka, runTransforms as ki, getPublicEventCanonicalPath as kn, boundaryTreatmentForBoundaryOptionId as ko, itemRole as kr, unavailableReadinessFact as ks, buildOfferingsPreviewListing as kt, parseLocationMapLoaderResult as l, eventDiscoveryFilterKeys as la, publicEventPricingCurrency as lc, boxStylesTransforms as li, eventCalendarWeekStart as ln, resolveCardRole as lo, headerRuntimeTransforms as lr, getDayOfWeek as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, resolveCalendarReadProfile as ma, formatCurrencyAmount as mc, parseBackgroundOverlay as mi, formatEventClockLabel as mn, generateEffectsCSS as mo, formattingTransforms as mr, isToday as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, isRecord$5 as na, parseLocalScheduleTime as nc, testimonialsCarouselFragment as ni, formatEventLocation as nn, getCuratedSiteStyle as no, contentTransforms as nr, resolveRepeaterGridColumnFieldId as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventReadinessQuery as oa, offeringLabelForPageSurfaceSubject as oc, ctaRowFragment as oi, closedRunCopy as on, surfaceResolutionContextFromTheme as oo, readRuntimeNow as or, getLocalMinuteOfDay as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, resolveEventScope as pa, resolvePricingOptionsPriceDisplay as pc, parseBackgroundContent as pi, formatDate as pn, generateNavLinkCSS as po, uiTransforms as pr, isSameCalendarDay as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, applySiteStyleBlockPoliciesToPageDesignIntent as qa, isInlineTextEmpty as qi, groupPublicEventsByRun as qn, bindingSchema as qo, richTextFragment as qr, inferSiteDateLocale as qs, groupEventsByWeek as qt, normalizeBlockContent as r, chosenString as ra, toUtcIsoDateTimeString as rc, testimonialsHeadingFragment as ri, blockSiteTermsSchema as rn, requireCuratedSiteStyle as ro, parseTeamMemberSpecialties as rr, resolveRepeaterGridRowFieldId as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventReadinessQueryKeys as sa, formatBookingPriceDisplay as sc, isBlockButtonRole as si, closedDateCopy as sn, gradientToCss as so, resolveDateRuntimeContext as sr, addDays as ss, resolveImageUrl as st, getBlockDefinition as t, isObjectRecord$1 as ta, parseBookingLocalDate as tc, formCopyFragment as ti, eventVenuePlace as tn, designRuntimeRulesForTheme as to, splitPositioningClasses as tr, parseRepeaterGridInteger as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, eventScopeLoaderParam as ua, publicEventPricingDisplay as uc, boxStyleClassNames as ui, eventDateOptions as un, generateDefaultCardSystem as uo, chromeLogoTransforms as ur, getOrderedDayNames as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, themeButtonSelector as va, parseGradientPresetId as vc, resolveBackgroundColorValue as vi, formatEventNextDateFact as vn, parsePageDesignIntent as vo, buildInteractiveIslandProps as vr, blockBookingConsentSchema as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, parseListLook as wa, lookLeadSlotTransform as wi, resolveEventTimeZone as wn, sectionShapeFromContent as wo, listItemPresentation as wr, calendarWindowQuerySchema as ws, resolveEventRegistrationScopedEvents as wt, productListBlockDefinition as x, lookPresentationOnPalette as xa, bodyCopyFragment as xi, formatEventWeekdayTime as xn, resolvePageDesignBoundaryChoice as xo, createZodCodec as xr, sanitizeHref as xs, bookingNowSchema as xt, cartBlockDefinition as y, AFFORDANCE_SUPPRESS_CLASS as ya, arrangementSlotNames as yc, ctaButton as yi, formatEventRunDates as yn, rebasePageDesignIntentToSiteStyle as yo, createInteractiveIslandCodec as yr, bookingConsentCarrierSchema as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, resolveLookForBlock as za, ClockIcon as zi, hasEventBookingClosedEarly as zn, parseCanonicalRuntimeBackground as zo, formatCoursePrice as zr, parseMailingListProviderScope as zs, ThemedButton as zt };
56644
+ export { resolveCardListSchedule as $, designRuntimeRulesForTheme as $a, PUBLIC_DOWNLOAD_MEDIA_TYPES as $i, composeHeaderSectionWrapperClassName as $n, resolveRepeaterGridRowFieldId as $o, singleButtonFragment as $r, resolveBookingBusinessTimeZone as $s, eventOnlinePlace as $t, membershipClassesLabel as A, arrangementAppearancePresets as Aa, el as Ai, isOrdinaryPublicEvent as An, softBoundaryOption as Ao, Grid as Ar, resolveWholeSeriesBookingPhase as As, offeringRunLifecycle as At, eventListingBlockDefinition as B, readStoredMode as Ba, FileArchiveIcon as Bi, isBookableEvent as Bn, defaultHeroImageSurfaceTreatment as Bo, formatEventDepositNote as Br, formatDateRange as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, authoredHeaderLinkForeground as Ca, lookCarouselRegionTransform as Ci, groupEventsByDate as Cn, sectionShapeHook as Co, defineProgressiveBlockRuntime as Cr, pageTemplateFromEntry as Cs, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Ct, buildShopInteractiveIslandProps as D, headerNeedsPhotoShade as Da, asPartialObject as Di, hasCancelledRegistrationDate as Dn, boundaryTreatmentForBoundaryOptionId as Do, lookListPresentationSchemaShape as Dr, CANCELLED_SESSION_STATUS as Ds, buildOfferingsPreviewListing as Dt, buildProductListInteractiveIslandProps as E, heroPhotoPaintsGround as Ea, lookSkinSlotTransform as Ei, cancelledDateCopy as En, boundaryRuntimeMetricsForDecorativeTransition as Eo, listLookSlot as Er, EVENT_PRESET_VALUES as Es, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Et, offeringsCatalogueShape as F, getCompatibleBlockAppearancePresets as Fa, ArrowDownIcon as Fi, planWholeSeriesRunSelection as Fn, applyLookPhotoTreatment as Fo, resolveDeclaredBlockDesignCapability as Fr, parseMailingListPlacementTargeting as Fs, resolveOfferingsRenderInput as Ft, eventCollectionDisplaySchemaShape as G, applySiteStyleBlockPoliciesToPageDesignIntent as Ga, PlusIcon as Gi, getEventAvailabilityStatus as Gn, blockCategoryEnum as Go, BACKGROUND_POSITION_PRESET_VALUES as Gr, addLocalScheduleDays as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, resolveModeArrangement as Ha, FileSpreadsheetIcon as Hi, formatEventRemainingPlaces as Hn, themeV2CompilerOwnedFieldNames as Ho, formatEventPriceAmount as Hr, inferSiteDateLocale as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, resolveArrangementLookForBlock as Ia, ChevronDownIcon as Ii, registrationDataForEventSelection as In, deriveSectionGround as Io, classPricesCopySchema as Ir, sameMailingListPlacementTargeting as Is, normalizeEventRegistrationPageSurfaceSubject as It, catalogueEventCardProps as J, filterLayoutProfilesForPolicy as Ja, parseInlineTextFromUnknown as Ji, FEATURE_CARD_ICON_TREATMENTS as Jn, fieldSchema as Jo, headingFragment as Jr, getBookingLocalDateKey as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, buildInitialPolicyPageDesignIntent as Ka, inlineTextToPlainText as Ki, isEventFull as Kn, blockSectionDeclarationShape as Ko, getAnchorClasses as Kr, compareLocalScheduleDates as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, resolveLookForBlock as La, CircleMinusIcon as Li, resolveSelectionBookingClosedDetail as Ln, parseCanonicalRuntimeBackground as Lo, classPricesDataSchema as Lr, isCanonicalRichTextDoc as Ls, resolveEventRegistrationScopedEvents as Lt, offeringsPreviewBlockDefinition as M, arrangementStyleAvailability as Ma, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Mi, planOrdinarySeriesSelection as Mn, transitionIntentForTreatment as Mo, heroMorePhotoCount as Mr, buildMailingListSignupBlockSourceRef as Ms, readOfferingsGrouping as Mt, publicRouteCandidatesSchema as N, automaticArrangementLook as Na, parseBlockIconValue as Ni, planWholeSeriesParentBooking as Nn, anglePolygonCss as No, morePhotosField as Nr, parseMailingListRuntimeContext as Ns, resolveOfferingsPreviewGroupCta as Nt, shopProductPresentation as O, headerRootIsTransparent as Oa, createTransformRegistry as Oi, eventOccurrenceContext as On, isDecorativeTransitionIntent as Oo, resolvedItemSurfaceProps as Or, nextLiveRunSessionStartMs as Os, groupOfferingRunsByCourse as Ot, buildOfferingsCatalogueListing as P, compileArrangementLookRuntime as Pa, resolveBlockIconRenderValue as Pi, planWholeSeriesParentSelection as Pn, transitionCatalogueEntries as Po, blockDesignCapabilityMapFromDefinitions as Pr, parseMailingListProviderScope as Ps, resolveOfferingsPreviewGroups as Pt, cardListPresentationSchemaShape as Q, designRuntimeRulesForSiteStyle as Qa, parseFieldDefinitions as Qi, siteHeaderManifest as Qn, resolveRepeaterGridColumnFieldId as Qo, blogFeaturedPostFragment as Qr, toUtcIsoDateTimeString as Qs, browserReadAuthoritySchema as Qt, buildEventCalendarListingDisplay as R, styleSectionBackgroundForColour as Ra, CirclePlusIcon as Ri, selectionRepresentativeEvent as Rn, resolveSectionBackground as Ro, resolveClassPriceItems as Rr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, parseListLook as Sa, defineFragment as Si, formatTime as Sn, sectionShapeFromContent as So, defineClientOwnedBlockRuntime as Sr, loadedReadinessFact as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, readOpeningToneProjection as Ta, lookQuoteLimitTransform as Ti, bookingPageKindSchema as Tn, boundaryOptions as To, listLookControl as Tr, isRecord$5 as Ts, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Tt, buildEventCollectionHydration as U, resolvePublishedLook as Ua, FileTextIcon as Ui, formatTotalCapacity as Un, appearancePresets as Uo, formatEventPriceDisplay as Ur, formatBookingCompactEnglishTime as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, resolveEffectiveArrangement as Va, FileAudioIcon as Vi, canJoinEventWaitlistOnAnyMode as Vn, stripStaleTransitionStyleGroup as Vo, formatEventPrice as Vr, formatDateTimeRange as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, applyBlockContentVariantPolicy as Wa, MinusIcon as Wi, getEventAvailability as Wn, DEFAULT_MEDIA_FIELD_KINDS as Wo, formatEventStartingPrice as Wr, toScheduledBookingDateTime as Ws, buildEventListWeek as Wt, CardListContentPart as X, componentRuntimeRulesForSiteStyle as Xa, normalizeSelectSource as Xi, shouldReserveFeatureCardIconZone as Xn, isAcceptedRepeaterGridSpan as Xo, faqAccordionFragment as Xr, parseBookingLocalDate as Xs, formatBookingSchedulePresentation as Xt, listingEventCardProps as Y, filterLookIdsForPolicy as Ya, plainTextToInlineText as Yi, resolveFeatureCardGeneratedIconSizePx as Yn, validateManifestLookField as Yo, cardFragment as Yr, getLocalScheduleDate as Ys, resolveRuntimeEventDestination as Yt, CardListLeadDate as Z, componentRuntimeRulesForTheme as Za, parseFieldDefinition as Zi, siteFooterManifest as Zn, parseRepeaterGridInteger as Zo, faqHeadingFragment as Zr, parseLocalScheduleTime as Zs, bookingPresentation as Zt, buildGiftingInteractiveIslandProps as _, AFFORDANCE_SUPPRESS_CLASS as _a, resolveSurfaceForegroundStyles as _i, formatEventHourLabel as _n, rebasePageDesignIntentToSiteStyle as _o, buildFormInteractiveIslandProps as _r, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventReadinessQueryKeys as aa, publicEventPricingDisplay as ac, heroCtaRowFragment as ai, closedDatesCopy as an, gradientToCss as ao, teamMemberCardBiography as ar, getDayOfWeek as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, resolveLookSurfacePresentation as ba, isSemanticSpacing as bi, formatEventTimeRange as bn, pageDesignDecisionsV2Schema as bo, defineInteractiveIslandMetaKeys as br, admitReadinessFacts as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventScopeLoaderParam as ca, resolvePricingOptionsPriceDisplay as cc, heroCopyFragment as ci, buildCalendarViewport as cn, generateDefaultCardSystem as co, mediaTransforms as cr, getWeekCalendarDays as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, resolveEventScope as da, unsafeAsContentEntryId as dc, normalizeBoxStylesBorder as di, eventLocalDateKey as dn, generateNavLinkCSS as do, layoutTransforms as dr, projectRecurringSchedule as ds, systemCustomizeFacetDefinitionsForBlock as dt, augmentManifest as ea, toBookingTimeZone as ec, formEmbedFragment as ei, eventPlaceName as en, getCuratedSiteStyle as eo, markEditableSurfaceForwarding as er, resolveRepeaterGridSpanFieldId as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, resolveCalendarReadProfile as fa, parseGradientPresetId as fc, resolveCardRoleForBoxStyles as fi, formatCalendarTitle as fn, generateEffectsCSS as fo, staticHeaderChromeRuntime as fr, publicEventsArraySchema as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, themeButtonSelector as ga, resolveSectionSurfaceForeground as gi, formatEventDateParts as gn, parsePageDesignIntent as go, formBlockDefinition as gr, beforeBookingQuestionsPresentationSchema as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, parseThemeButtonVariantId as ha, parseRuntimeBackgroundContent as hi, formatEventCompactDateRail as hn, generateInteractiveChildInheritanceCSS as ho, formatDate$1 as hr, bookingConsentCarrierSchema as hs, EventQuickFacts as ht, systemBlockDefinitions as i, eventReadinessQuery as ia, publicEventPricingCurrency as ic, ctaCopyFragment as ii, pageNavigationSchema as in, surfaceResolutionContextFromTheme as io, teamMemberBiography as ir, formatDateKey as is, MediaPlaceholder as it, passCardListContent as j, arrangementLookHooks as ja, when as ji, planDropInPanel as jn, spaciousBoundaryOption as jo, clsx as jr, resolveWholeSeriesPaymentDates as js, offeringsListingFor as jt, membershipCardListContent as k, headerRootPaint as ka, runTransforms as ki, getPublicEventCanonicalPath as kn, noneBoundaryOption as ko, itemRole as kr, orderedLiveRunSessions as ks, normalizeOfferingsPreviewItemLimit as kt, parseLocationMapLoaderResult as l, eventScopeQuery as la, formatCurrencyAmount as lc, boxStylesTransforms as li, eventCalendarWeekStart as ln, generateFooterCss as lo, headerRuntimeTransforms as lr, isSameCalendarDay as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, resolveEventCalendarReadPlan as ma, TokenResolver as mc, parseBackgroundOverlay as mi, formatEventClockLabel as mn, resolveEffectPaint as mo, formattingTransforms as mr, blockBookingConsentSchema as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, blockChecksForEvents as na, formatBookingPriceDisplay as nc, testimonialsCarouselFragment as ni, formatEventLocation as nn, compilePageRuntimeFields as no, contentTransforms as nr, getLocalMinuteOfDay as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventReadinessResultSchema as oa, publicEventPricingType as oc, ctaRowFragment as oi, closedRunCopy as on, getGradientPreset as oo, readRuntimeNow as or, getOrderedDayNames as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, eventCalendarListGroupingDecision as pa, arrangementSlotNames as pc, parseBackgroundContent as pi, formatDate as pn, resolveEffectApplications as po, uiTransforms as pr, blockBookingPaymentTermsSchema as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, deriveSiteStyleBlockPolicy as qa, isInlineTextEmpty as qi, groupPublicEventsByRun as qn, builtInBlockKindsSchema as qo, richTextFragment as qr, formatLocalScheduleDate as qs, groupEventsByWeek as qt, normalizeBlockContent as r, eventReadinessLoaderKey as ra, isPublicEventPricingOptionDisplayable as rc, testimonialsHeadingFragment as ri, blockSiteTermsSchema as rn, stripCompiledRuntimeStyleFields as ro, parseTeamMemberSpecialties as rr, addDays as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventDiscoveryFilterKeys as sa, resolveExactOrFreePriceDisplay as sc, isBlockButtonRole as si, closedDateCopy as sn, resolveCardRole as so, resolveDateRuntimeContext as sr, getWeekCalendarDayTuple as ss, resolveImageUrl as st, getBlockDefinition as t, chosenString as ta, offeringLabelForPageSurfaceSubject as tc, formCopyFragment as ti, eventVenuePlace as tn, requireCuratedSiteStyle as to, splitPositioningClasses as tr, getLocalDateKey as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, eventScopeQueryKeys as ua, parseContentVersionId as uc, boxStyleClassNames as ui, eventDateOptions as un, buildTextContrastShadow as uo, chromeLogoTransforms as ur, isToday as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, resolveHeaderRootForeground as va, resolveBackgroundColorValue as vi, formatEventNextDateFact as vn, resolvePageDesignBlockLookChoice as vo, buildInteractiveIslandProps as vr, linkSchema as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, effectiveHeaderNavLinkStyle as wa, lookLeadSlotTransform as wi, resolveEventTimeZone as wn, boundaryOptionForTransitionIntent as wo, listItemPresentation as wr, unavailableReadinessFact as ws, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as wt, productListBlockDefinition as x, selectItemSurfacePresentation as xa, bodyCopyFragment as xi, formatEventWeekdayTime as xn, sectionShapeForGround as xo, createZodCodec as xr, hiddenFromVisitors as xs, bookingNowSchema as xt, cartBlockDefinition as y, lookPresentationOnPalette as ya, ctaButton as yi, formatEventRunDates as yn, resolvePageDesignBoundaryChoice as yo, createInteractiveIslandCodec as yr, calendarWindowQuerySchema as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, arrangementManifestFromVariants as za, ClockIcon as zi, hasEventBookingClosedEarly as zn, sectionSurfaceBase as zo, formatCoursePrice as zr, formatDate$2 as zs, ThemedButton as zt };