@riverbankcms/sdk 0.170.0 → 0.171.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 (219) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-B2i5CY_X.d.ts → BlocksIslandsHydrator-xuFmD41p.d.ts} +1 -1
  3. package/dist/_dts/{Page-BSZjbeRK.d.ts → Page-4fzXy8H9.d.ts} +13 -11
  4. package/dist/_dts/{SdkPreviewMode-BZpPBMcu.d.ts → SdkPreviewMode-BlHgMsc8.d.ts} +4 -3
  5. package/dist/_dts/{client-x82SZgwK.d.ts → client-BPoU758C.d.ts} +32 -1
  6. package/dist/_dts/{content-types-CODkxsZy.d.ts → content-types-TnkhoSls.d.ts} +3 -3
  7. package/dist/_dts/{contracts-Lyfhmbjf.d.ts → contracts-7wrMA79U.d.ts} +5 -3
  8. package/dist/_dts/{footerPageOutline-BShG2GAV.d.ts → footerPageOutline-DaOsPQ_Q.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-DLhUW3xK.d.ts → generatePageMetadata-D9aDEzKK.d.ts} +2 -2
  10. package/dist/_dts/{index-BisbMZTW.d.ts → index-585vn6qb.d.ts} +72 -36
  11. package/dist/_dts/{index-B7Mq5M6P.d.ts → index-CZKSUcDs.d.ts} +4 -4
  12. package/dist/_dts/{index-B82pqQAC.d.ts → index-Cbw0IiY7.d.ts} +2 -2
  13. package/dist/_dts/{index-DXc_ewhR.d.ts → index-ChNbrcgD.d.ts} +1 -1
  14. package/dist/_dts/{index-C3rMEJ5a.d.ts → index-DDKJfaLY.d.ts} +2 -2
  15. package/dist/_dts/{index-CCugONHM.d.ts → index-DNCDENic.d.ts} +1 -1
  16. package/dist/_dts/{index-CstY6ZMa.d.ts → index-W9R3Bnf2.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-BoqtbbhP.d.ts → loadContent-DPyNAJym.d.ts} +7 -7
  18. package/dist/_dts/{request-CJ_ClHLv.d.ts → request-jXTRN1Y4.d.ts} +3554 -1370
  19. package/dist/_dts/{resolveBlockData-DFExYkJ4.d.ts → resolveBlockData-BbvE-gsZ.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-D-WvpC_d.d.ts → resolvePageContent-BBgih00D.d.ts} +2 -2
  21. package/dist/_dts/{runtime-BY8DQBbT.d.ts → runtime-BEoNgYbd.d.ts} +2 -2
  22. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  24. package/dist/_dts/sdk/src/client.d.ts +7 -7
  25. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  26. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  29. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  30. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  31. package/dist/_dts/sdk/src/index.d.ts +8 -8
  32. package/dist/_dts/sdk/src/manifest/index.d.ts +7 -7
  33. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  35. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  36. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  37. package/dist/_dts/sdk/src/page-converter/index.d.ts +4 -4
  38. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  39. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  40. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  42. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  44. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  46. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  47. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  48. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  49. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  52. package/dist/_dts/sdk/src/server.d.ts +5 -5
  53. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  54. package/dist/_dts/sdk/src/theme/index.d.ts +4740 -3
  55. package/dist/_dts/{types-CbjK5ZLy.d.ts → types-BXuVxDYo.d.ts} +2 -2
  56. package/dist/_dts/{types-CpuxuS40.d.ts → types-DEAKoDNi.d.ts} +3 -3
  57. package/dist/_dts/{types-990t4t99.d.ts → types-kWvBwYK6.d.ts} +7 -7
  58. package/dist/_dts/{validation-BN95LiS0.d.ts → validation-BAO0_ntM.d.ts} +17 -17
  59. package/dist/client/{BlocksIslandsHydrator-B1Tkg-ZW.mjs → BlocksIslandsHydrator-DfMsMIej.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-Br1VyHkP.mjs → BookingMailingListNote-aaSicywS.mjs} +7 -7
  61. package/dist/client/{StepIndicator-BK0GEDoP.mjs → BookingPanelArrangement-OgftZ9QC.mjs} +16 -4
  62. package/dist/client/{BookingQuestionFields-LLGCWjvU.mjs → BookingQuestionFields-BlaCItmH.mjs} +5 -5
  63. package/dist/client/{CalendarNavigationChevron-CH7z2m47.mjs → CalendarNavigationChevron-iMWrY6Hz.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-W_uiRgDK.mjs → CheckboxChoice-B65wFjqx.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-Cilv5zdS.mjs → DemoBookingPortalAccess-BCumOTLY.mjs} +7 -7
  66. package/dist/client/{EventCalendar.client-LXUHJEi7.mjs → EventCalendar.client-kh7mkYnW.mjs} +9 -9
  67. package/dist/client/{EventCombined.client-DpugEJLB.mjs → EventCombined.client-DXD5i0Ar.mjs} +8 -8
  68. package/dist/client/{EventEmbeddedCheckoutStep-Cf-HRHtb.mjs → EventEmbeddedCheckoutStep-DKKRCuta.mjs} +1 -1
  69. package/dist/client/{EventItem-gFuZn-dE.mjs → EventItem-BnwcoFQN.mjs} +10 -7
  70. package/dist/client/{EventListWeekNavigation-D-kLg1jQ.mjs → EventListWeekNavigation-DuG6z02f.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BNACUaxV.mjs → EventListing.client-18yfHrcr.mjs} +3 -3
  72. package/dist/client/{EventListing.view-CtVfe3VG.mjs → EventListing.view-BM7rTVSL.mjs} +42 -396
  73. package/dist/client/{EventRegistrationPayment-CqH3hE-k.mjs → EventRegistrationPayment-D5J3DR0x.mjs} +13 -13
  74. package/dist/client/{LocationMapActions-BFp2uQQQ.mjs → LocationMapActions-QahdLtdE.mjs} +2 -2
  75. package/dist/client/{MapDrawingSvg-DDWfmgpA.mjs → MapDrawingSvg-Dy6UMuIw.mjs} +1 -1
  76. package/dist/client/{Page-PW4Ojv9r.mjs → Page-DH2sm4Cf.mjs} +2696 -2426
  77. package/dist/client/{ProtectedSubmitButton-C3H26pN9.mjs → ProtectedSubmitButton-AOUzjDK9.mjs} +1 -1
  78. package/dist/client/StepIndicator-CsRlU46Y.mjs +894 -0
  79. package/dist/client/{TabBarFragment-DkVKtK5a.mjs → TabBarFragment-CsAufYwT.mjs} +1 -1
  80. package/dist/client/{ThemedButton-BdnEwA38.mjs → ThemedButton-BMDHwnM6.mjs} +1 -1
  81. package/dist/client/{accessibleSurfaces-_7jkuinl.mjs → accessibleSurfaces-Bbn1-jJ8.mjs} +52 -2
  82. package/dist/client/{accordion-DMItWylU.mjs → accordion-DT4MD3Np.mjs} +1 -1
  83. package/dist/client/{booking-form.client-wd71DG19.mjs → booking-form.client-DdqNQNCa.mjs} +79 -42
  84. package/dist/client/{bookingForm-Cyr2qeS1.mjs → bookingForm-CLN396HU.mjs} +4 -4
  85. package/dist/client/bookings.mjs +6 -6
  86. package/dist/client/boxStyleClassNames-iLF_3KX9.mjs +369 -0
  87. package/dist/client/{carousel-B5-Hzzif.mjs → carousel-DFLomCGm.mjs} +2 -2
  88. package/dist/client/{carousel.client-eSSr1oYA.mjs → carousel.client-YF4mUK5t.mjs} +1 -1
  89. package/dist/client/{cart-wlRXnOjO.mjs → cart-BozMM5NK.mjs} +3 -3
  90. package/dist/client/{cart.client-CfpnxTUZ.mjs → cart.client-CqOOxPbW.mjs} +1 -1
  91. package/dist/client/{checkout-Dnu9W8IA.mjs → checkout-CTWF5nbB.mjs} +3 -3
  92. package/dist/client/{checkout.client-ovtyXyn0.mjs → checkout.client-CpqxN8e0.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-CY8qywXl.mjs → checkoutUrls-Ccg6yfjq.mjs} +1 -1
  94. package/dist/client/client.mjs +640 -218
  95. package/dist/client/{context-Xhf81Q-c.mjs → context-Dzjv2CpA.mjs} +10 -1
  96. package/dist/client/{creditProducts-CMOmhWm2.mjs → creditProducts-BTRX4edc.mjs} +54 -23
  97. package/dist/client/{cta-CfuyGqXL.mjs → cta-pzQkBLgS.mjs} +2 -2
  98. package/dist/client/{dateFormatting-Bv6kjUW3.mjs → dateFormatting-BfurxGwg.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-DQtwf_s2.mjs → demoPortalMagicLink-D0dcPsRE.mjs} +1 -1
  100. package/dist/client/{display-DDNmyb0z.mjs → display-Cl6mgSJa.mjs} +3186 -81
  101. package/dist/client/{enhanceHeaderSection-D7gRy-pL.mjs → enhanceHeaderSection-CJCl0HJC.mjs} +4 -4
  102. package/dist/client/{event-details.client-DZZaoCUc.mjs → event-details.client-Pn9Kxh3I.mjs} +3 -2
  103. package/dist/client/{event-registration.client-CLBdHUfd.mjs → event-registration.client-BAmBdWXE.mjs} +48 -34
  104. package/dist/client/{eventCalendar-B4VbblGN.mjs → eventCalendar-C5Bh2L8L.mjs} +4 -4
  105. package/dist/client/{eventCombined-e2AvbA0u.mjs → eventCombined-dELKxxIe.mjs} +4 -4
  106. package/dist/client/{eventDetails-DIJYMzVg.mjs → eventDetails-Do9D_fJ_.mjs} +2 -2
  107. package/dist/client/{eventListing-C0bpAR1t.mjs → eventListing-B2HTUWLq.mjs} +4 -4
  108. package/dist/client/{eventRegistration-DyseP_sY.mjs → eventRegistration-ByOJnqGc.mjs} +4 -4
  109. package/dist/client/{form-Cfl8d6qc.mjs → form-DX70QG-J.mjs} +3 -3
  110. package/dist/client/{form.client-D3_RF29v.mjs → form.client-CJoqBrS6.mjs} +5 -5
  111. package/dist/client/{form.parts-DWLf_3PF.mjs → form.parts-DTof9pL3.mjs} +3 -3
  112. package/dist/client/{formatDate-BGlhrmhF.mjs → formatDate-Cjouxh4Y.mjs} +1 -1
  113. package/dist/client/gifting/client.mjs +3 -3
  114. package/dist/client/{headerSection-CyNGt23J.mjs → headerSection-CJuPX_1K.mjs} +2 -2
  115. package/dist/client/{newsletter-form.client-IfLup4o0.mjs → newsletter-form.client-CqzNjOft.mjs} +6 -6
  116. package/dist/client/{newsletter-form.parts-DDD-LRyW.mjs → newsletter-form.parts-DjJsFms2.mjs} +2 -2
  117. package/dist/client/{newsletterForm-Bn7HVbuq.mjs → newsletterForm-D1MHoPbh.mjs} +3 -3
  118. package/dist/client/{noop-B_f7RqLD.mjs → noop-poI1m2yW.mjs} +69 -2
  119. package/dist/client/portal/client.mjs +294 -48
  120. package/dist/client/{product-detail.client-BXeLqkCE.mjs → product-detail.client-DOQ7El1d.mjs} +1 -1
  121. package/dist/client/{product-list.client-C627X8DQ.mjs → product-list.client-CmxOZbzL.mjs} +1 -1
  122. package/dist/client/{productDetail-B-K_hd7Y.mjs → productDetail-BN3zv5sa.mjs} +3 -3
  123. package/dist/client/{productList-BNZAsfaP.mjs → productList-GN_Id4bF.mjs} +3 -3
  124. package/dist/client/{propsDecoder-Dc8j5i79.mjs → propsDecoder-BdmzM3D5.mjs} +8 -4
  125. package/dist/client/{registry.server-CBg2M6Uj.mjs → registry.server-BOyra8CA.mjs} +1015 -926
  126. package/dist/client/rendering/client.mjs +57 -32
  127. package/dist/client/rendering/islands.mjs +1 -1
  128. package/dist/client/rendering.mjs +1956 -191
  129. package/dist/client/{richText-coerce-BTurYEao.mjs → richText-coerce-CtoGLZ_e.mjs} +1 -1
  130. package/dist/client/{routeIslandApiConfig-DFjRKvzM.mjs → routeIslandApiConfig-DnaJ8PQc.mjs} +1 -1
  131. package/dist/client/{runtimeResponse-D2LT--Gj.mjs → runtimeResponse-B1-cyLXt.mjs} +1 -1
  132. package/dist/client/{runtimeResponse-BGU8sMZY.mjs → runtimeResponse-BN8PoIVp.mjs} +1 -1
  133. package/dist/client/{shop-PgmiVKSV.mjs → shop-LjBLDBqF.mjs} +3 -3
  134. package/dist/client/{shop-commerce-DkgvZAQS.mjs → shop-commerce-B8aZTdRJ.mjs} +13 -13
  135. package/dist/client/{shop-commerce-store-D9CHihQv.mjs → shop-commerce-store-C1FtHYl7.mjs} +1 -1
  136. package/dist/client/{shop.client-DDFRt6OU.mjs → shop.client-D0qZ3KZp.mjs} +13 -13
  137. package/dist/client/{shop.interactive-BH0xDlMF.mjs → shop.interactive-DAKyWK1B.mjs} +89 -19
  138. package/dist/client/{shopShared-BEfD0e4m.mjs → shopShared-CztcSe9i.mjs} +2 -2
  139. package/dist/client/spam-protection.mjs +1 -1
  140. package/dist/client/{timetableModel-GsDrJxxw.mjs → timetableModel-D1jDTbms.mjs} +11 -11
  141. package/dist/client/{types-5fOsPIpL.mjs → types-B0hJldSt.mjs} +2 -0
  142. package/dist/client/{useAvailableSlots-GP8tnAVW.mjs → useAvailableSlots-ByHedoBi.mjs} +4 -8
  143. package/dist/client/{useDiscountApply-Cq07nTyG.mjs → useDiscountApply-CHGYDxdM.mjs} +2 -2
  144. package/dist/client/{useDiscountCodeUi-CD82QX5i.mjs → useDiscountCodeUi-Dew9UAEy.mjs} +1 -1
  145. package/dist/client/{useEventPagination-DGl4Jeuz.mjs → useEventPagination-BpC7-ksE.mjs} +7 -7
  146. package/dist/client/{view-oToSpu1N.mjs → view-BxeiAL3c.mjs} +121 -28
  147. package/dist/client/{view-CgComegl.mjs → view-ShYH3WXh.mjs} +3 -3
  148. package/dist/preview-next/before-render.mjs +33 -13
  149. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-8-qtHjpb.mjs → EventEmbeddedCheckoutStep-CKe4cjZ4.mjs} +1 -1
  150. package/dist/preview-next/client/{LocationPickerEnvironment-CwxRbAs2.mjs → LocationPickerEnvironment-lW2aLGWd.mjs} +1 -1
  151. package/dist/preview-next/client/{MapLibreEditMap-CKjYUp_E.mjs → MapLibreEditMap-C9InQJpd.mjs} +2 -2
  152. package/dist/preview-next/client/{ArrangementLookControls-DJQrgD5f.mjs → PageSectionToolbar-DsSqwrMS.mjs} +392 -11
  153. package/dist/preview-next/client/{PreviewEditorSidebar-DWU6X6Y-.mjs → PreviewEditorSidebar-BEEWzXnU.mjs} +3264 -3199
  154. package/dist/preview-next/client/{PreviewEditorUI-C-X0ptC3.mjs → PreviewEditorUI-C86Out4V.mjs} +5 -6
  155. package/dist/preview-next/client/{PreviewShell-C1WUNsj9.mjs → PreviewShell-CBWYjBvQ.mjs} +20 -10
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cs2QFT7k.mjs → SdkPreviewModeRuntime-o-mVqWLx.mjs} +88 -394
  157. package/dist/preview-next/client/{SiteChromeCustomizeButton-CcZ_ERvZ.mjs → SiteChromeCustomizeButton-H_ciMNHA.mjs} +1155 -330
  158. package/dist/preview-next/client/{ThemedButton-BQU45t-E.mjs → ThemedButton-CKYjeU_M.mjs} +2 -0
  159. package/dist/preview-next/client/{lucide-react-DbC1o6_9.mjs → lucide-react-DygTyy7K.mjs} +1 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-CSs9S8wr.mjs → previewAssistantSlot-CuOcsG_N.mjs} +3558 -2230
  161. package/dist/preview-next/client/{previewChromeRoot-B2OTurZH.mjs → previewChromeRoot-DPeV7KaP.mjs} +1 -1
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-CBIwYDyi.mjs → sdk-runtime-zTTFZ4MM.mjs} +2 -2
  164. package/dist/preview-next/client/{useAutosaveStatus-DoWvGNPA.mjs → useAutosaveStatus-DNA1Q4L1.mjs} +2 -2
  165. package/dist/preview-next/client/{useBlockCustomizeControls-WOs8Atje.mjs → useOpenBlockForSetup-BdnMlHC6.mjs} +28 -3
  166. package/dist/preview-next/container-responsive.css +43 -0
  167. package/dist/preview-next/keepAlive.mjs +1 -1
  168. package/dist/preview-next/middleware.mjs +1 -1
  169. package/dist/preview-next/{route-contract-BLYaenrK.mjs → route-contract-CtSgU8UZ.mjs} +547 -188
  170. package/dist/server/{Block.shared-Dx4j9CJT.mjs → Block.shared-ifgaBglp.mjs} +4 -4
  171. package/dist/server/{ThemeScopeCore-B0IfeNNZ.mjs → ThemeScopeCore-DGDOH6OU.mjs} +3 -3
  172. package/dist/server/{accessibleSurfaces-D0q5tLSW.mjs → accessibleSurfaces-BuPNCWAK.mjs} +52 -2
  173. package/dist/server/bindings-CiYpie1M.mjs +1802 -0
  174. package/dist/server/{block-kinds-CdI7NvAW.mjs → block-kinds-DkzOr19P.mjs} +2 -0
  175. package/dist/server/{client-Djjv-NuA.mjs → client-ngWuFsmN.mjs} +638 -216
  176. package/dist/server/config-template-validation.mjs +30 -4
  177. package/dist/server/config-validation.mjs +1 -1
  178. package/dist/server/config.mjs +3 -34
  179. package/dist/server/data/resolveBlockData.mjs +1 -1
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/loadContent-DeLQeJAZ.mjs +2310 -0
  182. package/dist/server/{loadPage-QXSdPSYY.mjs → loadPage-D4J747FQ.mjs} +2 -2
  183. package/dist/server/manifest.mjs +1 -1
  184. package/dist/server/next.mjs +8 -6
  185. package/dist/server/{opaqueSurface-Yltv_u7r.mjs → opaqueSurface-ukEz1BaM.mjs} +2 -2
  186. package/dist/server/{overrideResolution-CMNx5tQg.mjs → overrideResolution-DSuVkpqm.mjs} +3 -2
  187. package/dist/server/page-converter.mjs +3 -3
  188. package/dist/server/pageRegions-BaeEF2MU.mjs +30 -0
  189. package/dist/server/{pageRenderPlan-Bv6NbFeM.mjs → pageRenderPlan-DFv3h4Ib.mjs} +306 -287
  190. package/dist/server/{pageRuntimeSupport-B2laBtff.mjs → pageRuntimeSupport-yHaRNWMj.mjs} +48 -35
  191. package/dist/server/{pageShared-CE9EBNSH.mjs → pageShared-CAZD0LcY.mjs} +848 -315
  192. package/dist/server/parseThemeForPersistence-Dl7LIBJq.mjs +52 -0
  193. package/dist/server/{prebuild-FBA6Y1K7.mjs → prebuild-BKOCND3b.mjs} +1 -1
  194. package/dist/server/prebuild.mjs +1 -1
  195. package/dist/server/{prefetchBlockData-yL2hB2l_.mjs → prefetchBlockData-GIoExi8A.mjs} +4 -3
  196. package/dist/server/{registry-Djrj9gWy.mjs → registry-BogXzcOD.mjs} +4000 -1989
  197. package/dist/server/rendering/components/pageShared.mjs +1 -1
  198. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  199. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  200. package/dist/server/rendering/server.mjs +3 -3
  201. package/dist/server/rendering.mjs +7 -7
  202. package/dist/server/{resolveBlockData-CyeIjmqx.mjs → resolveBlockData-CT4YSBve.mjs} +4 -3
  203. package/dist/server/{resolveButtonColourStates-Cn6j8Ee0.mjs → resolveButtonColourStates-DVISOQD9.mjs} +2 -0
  204. package/dist/server/rich-text-CRcONdyM.mjs +33 -0
  205. package/dist/server/{richTextSchema-DQ2NBP0n.mjs → richTextSchema-QLaQrbII.mjs} +31 -2
  206. package/dist/server/{parseThemeForPersistence-BebSeE17.mjs → schema-C92Q8y0-.mjs} +463 -53
  207. package/dist/server/server.mjs +3 -3
  208. package/dist/server/theme-bridge.mjs +2 -2
  209. package/dist/server/theme.mjs +2 -1
  210. package/dist/server/{three-pass-converter-CQWdnfjV.mjs → three-pass-converter-Bsfdy_ZV.mjs} +11 -8
  211. package/dist/server/{validation-Dh8htd6l.mjs → validation-vSBCWU3w.mjs} +9 -9
  212. package/dist/server/{version-LMwnoksN.mjs → version-Cw5vFmUY.mjs} +1 -1
  213. package/dist/styles/index.css +408 -10
  214. package/package.json +1 -1
  215. package/dist/client/StepIndicator-CR7_0yu4.mjs +0 -432
  216. package/dist/preview-next/client/useOpenBlockForSetup-CipKCK2O.mjs +0 -28
  217. package/dist/server/bindings-C1-MNwwS.mjs +0 -257
  218. package/dist/server/headerVariant-8O5MvxIU.mjs +0 -464
  219. package/dist/server/loadContent-DhraQ_Fi.mjs +0 -578
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { an as staticHeaderChromeRuntime } from "./shop.interactive-BH0xDlMF.mjs";
3
- import { t as buildCartDisplay } from "./display-DDNmyb0z.mjs";
4
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
2
+ import { ln as staticHeaderChromeRuntime } from "./shop.interactive-DAKyWK1B.mjs";
3
+ import { t as buildCartDisplay } from "./display-Cl6mgSJa.mjs";
4
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
5
5
  import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
6
6
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
7
7
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
8
- import { n as useCommerceCart } from "./shop-commerce-store-D9CHihQv.mjs";
8
+ import { n as useCommerceCart } from "./shop-commerce-store-C1FtHYl7.mjs";
9
9
  import * as React$1 from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  import { createPortal } from "react-dom";
@@ -1,11 +1,12 @@
1
1
  "use client";
2
- import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-oToSpu1N.mjs";
2
+ import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-BxeiAL3c.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
6
6
  function toEventDetailsClientProps(props) {
7
7
  return {
8
8
  arrangement: props.arrangement,
9
+ quickFacts: props.quickFacts,
9
10
  entryTitle: props.entryTitle,
10
11
  actionSize: props.actionSize,
11
12
  lookSlots: props.lookSlots,
@@ -29,7 +30,7 @@ function toEventDetailsClientProps(props) {
29
30
  siteMemberships: props.siteMemberships ? { memberships: [...props.siteMemberships.memberships] } : props.siteMemberships,
30
31
  autoApplyDiscount: props.autoApplyDiscount ?? null,
31
32
  className: props.className,
32
- nowIso: props.nowIso
33
+ now: props.now
33
34
  };
34
35
  }
35
36
  function EventDetailsClient(props) {
@@ -1,22 +1,22 @@
1
1
  "use client";
2
- import { $ as bookingEntry, I as offeringNounForEvent, Jt as formatEventPriceDisplay, N as displayButtonText, Q as bookingCardEntry, X as DEFAULT_BOOKING_BUTTON_TEXT, Z as bookingBarPlacement, et as bookingEntryProgress, j as buildEventRegistrationDisplayFromScopedEvents, nt as courseTitleOf, tt as bookingPanelHeading } from "./shop.interactive-BH0xDlMF.mjs";
3
- import { $n as canJoinEventWaitlistOnAnyMode, $t as getTicketTypeLineMax, At as confirmationPaymentRows, B as placeCountCeiling, Bt as formatTime, C as panelShouldOpen, D as registrationStepLabel, Fo as publicEventPricingType, Ft as formatBookingWhen, G as resolveRegistrationAvailabilityBlocker, Gt as occurrenceTitleOverride, It as formatDate, Jt as formatPrice, L as shouldPromptForLogin, Lt as formatEventDateTime, Mo as publicEventPricingCurrency, Mt as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, Nt as areEntitlementsDisabledForTicketCount, O as registrationStepLabelContext, Po as publicEventPricingStrategy, Qn as canJoinEventWaitlist, Qt as getTicketSelectionTotal, R as fullyBookedLabel, Ri as resolveEventRegistrationScopedEvents, Rt as formatPassCreditUsageLabel, S as getEventSelectionMode, Sn as shownVenue, Ut as getTicketTypeAvailabilityLabel, Wt as getVisibleTicketTypes, X as isEventRegistrationAvailable, Yt as canRequestTicketOption, Z as normalizeEventRegistrationMaxTickets, Zt as getTicketLineQuantity, ar as getRemainingPlaces, cr as selectMostOpenCapacitySource, jt as resolveFinishedPresentation, k as areEventRegistrationPaymentSelectionsEqual, lr as groupPublicEventsByRun, nn as setTicketLineQuantity, or as isEventFull, ot as paymentChoiceDetails, q as settledRemainingPlaces, qt as withOccurrenceTitle, rr as getEventAvailability, sr as selectEventCapacitySource, st as paymentChoicePrice, vr as getRegistrationSuccessCopy, yn as placesLeftLabel, zt as formatRegistrationSchedule } from "./display-DDNmyb0z.mjs";
4
- import { h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
- import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-Cilv5zdS.mjs";
6
- import { n as useBlockApi } from "./context-Xhf81Q-c.mjs";
7
- import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-CqH3hE-k.mjs";
8
- import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
2
+ import { $ as bookingCardEntry, L as offeringNounForEvent, M as buildEventRegistrationInteractiveIslandProps, N as displayButtonText, Q as bookingBarPlacement, Qt as formatEventPriceDisplay, Z as DEFAULT_BOOKING_BUTTON_TEXT, et as bookingEntry, j as buildEventRegistrationDisplayFromScopedEvents, nt as bookingPanelHeading, rt as courseTitleOf, tt as bookingEntryProgress } from "./shop.interactive-DAKyWK1B.mjs";
3
+ import { $n as canJoinEventWaitlistOnAnyMode, At as resolveFinishedPresentation, B as placeCountCeiling, Bi as resolveEventRegistrationScopedEvents, C as panelShouldOpen, D as registrationStepLabel, Ft as formatDate, G as resolveRegistrationAvailabilityBlocker, Ht as getTicketTypeAvailabilityLabel, It as formatEventDateTime, Kt as withOccurrenceTitle, L as shouldPromptForLogin, Lt as formatPassCreditUsageLabel, Mr as formatPrice, Mt as areEntitlementsDisabledForTicketCount, O as registrationStepLabelContext, Pt as formatBookingWhen, Qn as canJoinEventWaitlist, R as fullyBookedLabel, Rt as formatRegistrationSchedule, S as getEventSelectionMode, Ss as publicEventPricingType, Ut as getVisibleTicketTypes, Wt as occurrenceTitleOverride, X as isEventRegistrationAvailable, Xt as getTicketSelectionTotal, Yt as getTicketLineQuantity, Z as normalizeEventRegistrationMaxTickets, Zt as getTicketTypeLineMax, _n as bookingPresentation, _r as getRegistrationSuccessCopy, ar as getRemainingPlaces, cr as selectMostOpenCapacitySource, en as setTicketLineQuantity, jr as formatCentsAsCurrencyInput, jt as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, k as areEventRegistrationPaymentSelectionsEqual, kt as confirmationPaymentRows, lr as groupPublicEventsByRun, or as isEventFull, ot as paymentChoiceDetails, q as settledRemainingPlaces, qt as canRequestTicketOption, rr as getEventAvailability, sr as selectEventCapacitySource, st as paymentChoicePrice, vn as placesLeftLabel, xn as shownVenue, xs as publicEventPricingStrategy, ys as publicEventPricingCurrency, zt as formatTime } from "./display-Cl6mgSJa.mjs";
4
+ import { S as formatCreditProductUnits, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
5
+ import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-BCumOTLY.mjs";
6
+ import { n as useBlockApi } from "./context-Dzjv2CpA.mjs";
7
+ import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-D5J3DR0x.mjs";
8
+ import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
9
+ import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CsRlU46Y.mjs";
9
10
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
10
- import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
11
+ import { t as CheckboxChoice } from "./CheckboxChoice-B65wFjqx.mjs";
11
12
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
12
13
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
13
14
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
14
- import { i as useBookingNowIso } from "./BookingQuestionFields-LLGCWjvU.mjs";
15
- import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-CD82QX5i.mjs";
15
+ import { i as useBookingNowIso } from "./BookingQuestionFields-BlaCItmH.mjs";
16
+ import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-Dew9UAEy.mjs";
16
17
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
17
- import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-Br1VyHkP.mjs";
18
+ import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-aaSicywS.mjs";
18
19
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
19
- import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-CR7_0yu4.mjs";
20
20
  import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
21
21
  import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -528,12 +528,12 @@ function getSelectedPassCreditsRemaining(wizard) {
528
528
  function resolveEntitlementSummaryCopy(method, passCreditsRemaining) {
529
529
  switch (method) {
530
530
  case "pass": return {
531
- productPrice: "1 credit",
531
+ productPrice: formatCreditProductUnits("event_pass", 1),
532
532
  pricingNote: formatPassCreditUsageLabel(passCreditsRemaining)
533
533
  };
534
534
  case "pass_bundle": return {
535
535
  productPrice: null,
536
- pricingNote: "1 pass credit"
536
+ pricingNote: formatPassCreditUsageLabel(null)
537
537
  };
538
538
  case "membership": return {
539
539
  productPrice: "Included",
@@ -601,11 +601,15 @@ function DeclinedPassRow(props) {
601
601
  children: /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
602
602
  className: "er-summary-bar-product-name",
603
603
  children: props.passName
604
- }), /* @__PURE__ */ jsx("button", {
604
+ }), /* @__PURE__ */ jsxs("button", {
605
605
  type: "button",
606
606
  className: "er-summary-bar-pass-escape",
607
607
  onClick: props.onUsePass,
608
- children: "Use 1 credit instead"
608
+ children: [
609
+ "Use ",
610
+ formatCreditProductUnits("event_pass", 1),
611
+ " from your pass instead"
612
+ ]
609
613
  })] })
610
614
  });
611
615
  }
@@ -1383,7 +1387,7 @@ function TicketCounter(props) {
1383
1387
  onClick: () => onTicketsChange(stepNumber(ticketsCount, -1, { min: minAllowed })),
1384
1388
  disabled: ticketsCount <= minAllowed,
1385
1389
  className: "er-counter-btn",
1386
- children: "-"
1390
+ children: "−"
1387
1391
  }),
1388
1392
  /* @__PURE__ */ jsx("span", {
1389
1393
  className: "er-counter-value",
@@ -1415,7 +1419,7 @@ function TicketCounterLimit(props) {
1415
1419
  }
1416
1420
  function BookingUnitSessionHint(props) {
1417
1421
  const count = props.bookingUnit.includedSessionCount;
1418
- return props.bookingUnit.kind === "place" && count ? /* @__PURE__ */ jsxs("p", {
1422
+ return props.bookingUnit.kind === "place" && count && count > 1 ? /* @__PURE__ */ jsxs("p", {
1419
1423
  className: "er-text er-text--muted",
1420
1424
  children: [
1421
1425
  "Every place includes all ",
@@ -1439,10 +1443,6 @@ function BookingQuantityPrompt(props) {
1439
1443
  ]
1440
1444
  });
1441
1445
  }
1442
- function formatCurrencyInputAmount(amount) {
1443
- const major = amount / 100;
1444
- return Number.isInteger(major) ? String(major) : major.toFixed(2);
1445
- }
1446
1446
  function SlidingScaleAmountField(props) {
1447
1447
  const minLabel = formatPrice(props.slidingScale.minAmount, props.currency);
1448
1448
  const maxLabel = formatPrice(props.slidingScale.maxAmount, props.currency);
@@ -1458,8 +1458,8 @@ function SlidingScaleAmountField(props) {
1458
1458
  /* @__PURE__ */ jsx("input", {
1459
1459
  id: "er-sliding-amount",
1460
1460
  type: "number",
1461
- min: formatCurrencyInputAmount(props.slidingScale.minAmount),
1462
- max: formatCurrencyInputAmount(props.slidingScale.maxAmount),
1461
+ min: formatCentsAsCurrencyInput(props.slidingScale.minAmount),
1462
+ max: formatCentsAsCurrencyInput(props.slidingScale.maxAmount),
1463
1463
  step: "0.01",
1464
1464
  inputMode: "decimal",
1465
1465
  className: "form-input",
@@ -2397,8 +2397,8 @@ function ownedPassChoices(eligibility) {
2397
2397
  productName: pass.passName
2398
2398
  },
2399
2399
  label: pass.passName,
2400
- details: [`${pass.creditsRemaining} credit${pass.creditsRemaining !== 1 ? "s" : ""} left`],
2401
- price: "1 credit"
2400
+ details: [`${formatCreditProductUnits("event_pass", pass.creditsRemaining)} left`],
2401
+ price: formatCreditProductUnits("event_pass", 1)
2402
2402
  }));
2403
2403
  }
2404
2404
  function ownedMembershipChoices(eligibility) {
@@ -3714,6 +3714,18 @@ function waitForRetry(milliseconds, signal) {
3714
3714
  }
3715
3715
  //#endregion
3716
3716
  //#region ../blocks/src/system/runtime/nodes/event-registration.client.tsx
3717
+ /** Editor rendering uses the same panel as SSR; closed panels retain a recovery-only island. */
3718
+ function EventRegistrationBlockClient(props) {
3719
+ const selection = resolveBookingPanelSelection(props);
3720
+ if (!selection) return /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...props });
3721
+ const panel = planEventBookingPanel(selection, new Date(props.now));
3722
+ const registration = registrationSourceForPanel(props, panel);
3723
+ return /* @__PURE__ */ jsx(EventBookingPanelView, {
3724
+ panel,
3725
+ pageKind: props.pageKind ?? "fullPage",
3726
+ children: registration ? /* @__PURE__ */ jsx(EventRegistrationIslandClient, { ...buildEventRegistrationInteractiveIslandProps(registration) }) : null
3727
+ });
3728
+ }
3717
3729
  function toEventRegistrationClientProps(props, display) {
3718
3730
  return {
3719
3731
  ...props.render.hydration,
@@ -3764,7 +3776,7 @@ const EventRegistrationIslandClient = (props) => {
3764
3776
  const recoveryRequest = useEventRegistrationRecoveryRequest();
3765
3777
  const display = props.render.display;
3766
3778
  const surface = registrationAdmissionSurface({
3767
- availability: display.state === "registration-closed" ? "closed" : "open",
3779
+ availability: props.render.hydration.admission === "recoveryOnly" ? "empty" : display.state === "registration-closed" ? "closed" : "open",
3768
3780
  recoveryRequested: recoveryRequest !== "none"
3769
3781
  });
3770
3782
  switch (surface) {
@@ -3797,7 +3809,10 @@ function RecoverableEventRegistrationClient({ props, display, recoveryRequest })
3797
3809
  default: return assertNever(recoveryRequest);
3798
3810
  }
3799
3811
  switch (recovery.kind) {
3800
- case "loading": return /* @__PURE__ */ jsx(LoadingEventRegistrationSource, { display });
3812
+ case "loading": return /* @__PURE__ */ jsx(LoadingEventRegistrationSource, {
3813
+ display,
3814
+ pageKind: props.render.hydration.pageKind
3815
+ });
3801
3816
  case "exhausted": return /* @__PURE__ */ jsx(UnavailableEventRegistrationSource, {
3802
3817
  retry: recovery.retry,
3803
3818
  buttonVariant: props.render.hydration.buttonVariant
@@ -3810,21 +3825,20 @@ function RecoverableEventRegistrationClient({ props, display, recoveryRequest })
3810
3825
  default: return assertNever(recovery);
3811
3826
  }
3812
3827
  }
3813
- function LoadingEventRegistrationSource({ display }) {
3828
+ function LoadingEventRegistrationSource({ display, pageKind }) {
3814
3829
  return /* @__PURE__ */ jsxs("div", {
3815
3830
  id: EVENT_REGISTRATION_ANCHOR_ID,
3816
3831
  className: "rb-reg-surface er-container er-registration-shell",
3817
3832
  "aria-busy": "true",
3818
3833
  role: "status",
3819
3834
  children: [
3820
- /* @__PURE__ */ jsx("p", {
3835
+ bookingPresentation(pageKind).showShellHeading ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", {
3821
3836
  className: "er-registration-shell__eyebrow",
3822
3837
  children: "Registration"
3823
- }),
3824
- /* @__PURE__ */ jsx("h3", {
3838
+ }), /* @__PURE__ */ jsx("h3", {
3825
3839
  className: "er-title er-registration-shell__title",
3826
3840
  children: display.state === "generic-shell" ? display.titleText : "Event registration"
3827
- }),
3841
+ })] }) : null,
3828
3842
  /* @__PURE__ */ jsx("p", {
3829
3843
  className: "er-text er-text--muted",
3830
3844
  children: "Loading event dates…"
@@ -3872,4 +3886,4 @@ function RecoveredEventRegistrationClient({ props, display, events: recoveredEve
3872
3886
  });
3873
3887
  }
3874
3888
  //#endregion
3875
- export { EventRegistrationIslandClient as t };
3889
+ export { EventRegistrationIslandClient as n, EventRegistrationBlockClient as t };
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
- import { t as EventCalendarClient } from "./EventCalendar.client-LXUHJEi7.mjs";
2
+ import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
4
+ import { t as EventCalendarClient } from "./EventCalendar.client-kh7mkYnW.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCalendar.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
- import { n as EventCombinedIslandClient } from "./EventCombined.client-DpugEJLB.mjs";
2
+ import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
4
+ import { n as EventCombinedIslandClient } from "./EventCombined.client-DXD5i0Ar.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCombined.tsx
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
3
- import { t as EventDetailsIslandClient } from "./event-details.client-DZZaoCUc.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
3
+ import { t as EventDetailsIslandClient } from "./event-details.client-Pn9Kxh3I.mjs";
4
4
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
- import { t as EventListingClient } from "./EventListing.client-BNACUaxV.mjs";
2
+ import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
4
+ import { t as EventListingClient } from "./EventListing.client-18yfHrcr.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventListing.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as EventRegistrationIslandClient } from "./event-registration.client-CLBdHUfd.mjs";
3
- import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
2
+ import { n as EventRegistrationIslandClient } from "./event-registration.client-BAmBdWXE.mjs";
3
+ import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DnaJ8PQc.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventRegistration.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
- import { t as FormNodeClient } from "./form.client-D3_RF29v.mjs";
2
+ import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
4
+ import { t as FormNodeClient } from "./form.client-CJoqBrS6.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
7
7
  import "react";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { Gi as listLookSlot } from "./display-DDNmyb0z.mjs";
3
- import { _ as ok, g as err, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
4
- import { n as useBlockApi } from "./context-Xhf81Q-c.mjs";
5
- import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
2
+ import { qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
3
+ import { h as ok, m as err, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
4
+ import { n as useBlockApi } from "./context-Dzjv2CpA.mjs";
5
+ import { S as clsx } from "./ThemedButton-BMDHwnM6.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
7
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DWLf_3PF.mjs";
7
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DTof9pL3.mjs";
8
8
  import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
9
9
  import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
10
10
  import { useReducer, useRef } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Gi as listLookSlot, Wi as listLookControl } from "./display-DDNmyb0z.mjs";
3
- import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
4
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
2
+ import { Ki as listLookControl, qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
3
+ import { t as CheckboxChoice } from "./CheckboxChoice-B65wFjqx.mjs";
4
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-AOUzjDK9.mjs";
5
5
  import "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/form.fields.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Mt as formatDate$1, Pt as formatDateTime, Yt as parseBookingLocalDate, en as parseUtcIsoDateTimeString } from "./noop-B_f7RqLD.mjs";
2
+ import { Ft as formatDate$1, Lt as formatDateTime, Qt as parseBookingLocalDate, rn as parseUtcIsoDateTimeString } from "./noop-poI1m2yW.mjs";
3
3
  //#region ../blocks/src/bindings/formatDate.ts
4
4
  /** Admit stored civil dates or offset-aware instants before core projection. */
5
5
  function formatDate(value, context, options) {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  "use client";
3
- import { Mt as formatDate, Qt as resolveBookingTimeZoneId, sn as formatGiftCardAmountLabel, t as logger, tn as toUtcIsoDateTimeString } from "../noop-B_f7RqLD.mjs";
4
- import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-Xhf81Q-c.mjs";
5
- import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BdnEwA38.mjs";
3
+ import { Ft as formatDate, in as toUtcIsoDateTimeString, t as logger, tn as resolveBookingTimeZoneId, un as formatGiftCardAmountLabel } from "../noop-poI1m2yW.mjs";
4
+ import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-Dzjv2CpA.mjs";
5
+ import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BMDHwnM6.mjs";
6
6
  import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
7
7
  import React from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
3
- import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-D7gRy-pL.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
3
+ import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-CJCl0HJC.mjs";
4
4
  //#region src/rendering/islands/enhancers/headerSection.ts
5
5
  const decode = defineIslandPropsDecoder("headerSection");
6
6
  const enhance = (root, props) => {
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { fn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-BH0xDlMF.mjs";
3
- import { Gi as listLookSlot } from "./display-DDNmyb0z.mjs";
4
- import { M as assertNever$1, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
5
- import { i as BlockApiError, n as useBlockApi } from "./context-Xhf81Q-c.mjs";
6
- import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
2
+ import { gn as parseMailingListVisitorSelection, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-DAKyWK1B.mjs";
3
+ import { qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
4
+ import { N as assertNever$1, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
5
+ import { i as BlockApiError, n as useBlockApi } from "./context-Dzjv2CpA.mjs";
6
+ import { S as clsx } from "./ThemedButton-BMDHwnM6.mjs";
7
7
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
8
- import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DDD-LRyW.mjs";
8
+ import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DjJsFms2.mjs";
9
9
  import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
10
10
  import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
11
11
  import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Gi as listLookSlot } from "./display-DDNmyb0z.mjs";
2
+ import { qi as listLookSlot } from "./display-Cl6mgSJa.mjs";
3
3
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
4
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C3H26pN9.mjs";
4
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-AOUzjDK9.mjs";
5
5
  import "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/newsletter-form.parts.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
4
- import { t as NewsletterFormClient } from "./newsletter-form.client-IfLup4o0.mjs";
2
+ import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BdmzM3D5.mjs";
4
+ import { t as NewsletterFormClient } from "./newsletter-form.client-CqzNjOft.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
7
7
  import "react";
@@ -994,6 +994,15 @@ function decideLocationSourcePermission(source, businessAddressVisibility) {
994
994
  }
995
995
  //#endregion
996
996
  //#region ../core/src/event-series-behaviour.ts
997
+ const EVENT_PRESET_VALUES = [
998
+ "event",
999
+ "class",
1000
+ "course",
1001
+ "term",
1002
+ "workshop",
1003
+ "retreat",
1004
+ "performance"
1005
+ ];
997
1006
  const WHOLE_SERIES_EVENT_PRESET_VALUES = ["course", "term"];
998
1007
  const SURFACE_EVENT_PRESET_VALUES = [
999
1008
  "class",
@@ -1428,7 +1437,61 @@ const RichTextDocSchema = z.object({
1428
1437
  * guard aligned with this detailed Zod validator.
1429
1438
  */
1430
1439
  function isRichTextDoc(value) {
1431
- return RichTextDocSchema.safeParse(value).success;
1440
+ return z.safeParse(RichTextDocSchema, value).success;
1441
+ }
1442
+ /**
1443
+ * Build a canonical {@link RichTextDoc} from plain-text paragraphs.
1444
+ *
1445
+ * Single source of truth for constructing a TipTap doc from strings.
1446
+ * Used by:
1447
+ * - `@riverbankcms/dummy-content` (fixture body generators)
1448
+ * - `@riverbankcms/content-model` (default template `cta-full` content)
1449
+ *
1450
+ * Empty strings produce a paragraph with no `content` array — matching
1451
+ * the TipTap convention for empty paragraphs. The shape is exactly what
1452
+ * {@link RichTextDocSchema} validates, so the type and runtime check
1453
+ * never drift from the constructor.
1454
+ */
1455
+ function createRichTextDoc(paragraphs) {
1456
+ return {
1457
+ type: "doc",
1458
+ content: paragraphs.map((text) => text ? {
1459
+ type: "paragraph",
1460
+ content: [{
1461
+ type: "text",
1462
+ text
1463
+ }]
1464
+ } : { type: "paragraph" })
1465
+ };
1466
+ }
1467
+ /**
1468
+ * Build Zod validation schema for rich text fields
1469
+ *
1470
+ * @param options - Optional configuration
1471
+ * @param options.required - If true, validates that content is not empty
1472
+ * @param options.label - Field label for error messages (defaults to 'This field')
1473
+ * @returns Zod schema for rich text validation
1474
+ *
1475
+ * @example
1476
+ * // Basic usage
1477
+ * const schema = buildRichTextSchema()
1478
+ *
1479
+ * @example
1480
+ * // Required field with custom label
1481
+ * const schema = buildRichTextSchema({ required: true, label: 'Description' })
1482
+ */
1483
+ function buildRichTextSchema(options) {
1484
+ if (options?.required === true) {
1485
+ const label = options.label ?? "This field";
1486
+ return RichTextDocSchema.refine((val) => {
1487
+ const content = val.content;
1488
+ if (!Array.isArray(content) || content.length === 0) return false;
1489
+ const first = content[0];
1490
+ if (content.length === 1 && isRecord(first) && first.type === "paragraph" && (!("content" in first) || first.content == null)) return false;
1491
+ return true;
1492
+ }, { message: `${label} is required` });
1493
+ }
1494
+ return RichTextDocSchema;
1432
1495
  }
1433
1496
  //#endregion
1434
1497
  //#region ../blocks/src/system/runtime/api/schemas/bookingQuestions.ts
@@ -1904,6 +1967,10 @@ const publicEventBaseSchema = z.object({
1904
1967
  occurrenceId: z.string(),
1905
1968
  seriesId: z.string(),
1906
1969
  title: z.string(),
1970
+ facts: z.array(z.object({
1971
+ label: z.string(),
1972
+ value: z.string()
1973
+ })).optional(),
1907
1974
  description: z.string().nullable(),
1908
1975
  content: z.object({ body: RichTextDocSchema.nullable().optional() }).optional(),
1909
1976
  presentation: z.object({
@@ -2287,4 +2354,4 @@ const logger = {
2287
2354
  withFields: (_) => logger
2288
2355
  };
2289
2356
  //#endregion
2290
- export { persistableMediaSchema as $, toBookingTimeZone as $t, eyebrowTreatmentValues as A, trimmedStringOrNull as At, blockBookingPaymentTermsSchema as B, resolveBookingDisplayContext as Bt, normalizeEventCalendarDisplayMode as C, decideLocationSourcePermission as Ct, accordionIconSetValues as D, projectPublicLocation as Dt, accordionIconMotionValues as E, parseLocationValue as Et, visibleHeadingDecorationFamilyValues as F, formatDateTimeRange as Ft, beforeBookingQuestionsPresentationSchema as G, compareLocalScheduleDates as Gt, bookingConsentCarrierSchema as H, toScheduledBookingDateTime as Ht, eventVenueDrawingSchema as I, formatTime as It, isRichTextDoc as J, getLocalScheduleDate as Jt, bookingQuestionsAnswerValueSchema as K, formatLocalScheduleDate as Kt, publicEventDestinationSchema as L, formatTimeRange as Lt, headingDecorationOverrideValues as M, formatDate as Mt, isArrangementMode as N, formatDateRange as Nt, arrangementModes as O, publicLocationSchema as Ot, tileTreatmentValues as P, formatDateTime as Pt, mediaSchema as Q, resolveBookingTimeZoneId as Qt, publicEventSchema as R, formatTimeZoneCityLabel as Rt, isEventCalendarListLayout as S, WHOLE_SERIES_EVENT_PRESET_VALUES as St, accordionIconColorTokenValues as T, normalizeLocationAddressText as Tt, isBookingRequirementConsentFieldId as U, buildBookingUtcDateWindow as Ut, blockBookingConsentSchema as V, formatBookingCompactEnglishTime as Vt, toBookingRequirementConsentField as W, addLocalScheduleDays as Wt, externalMediaSchema as X, parseLocalScheduleTime as Xt, assetMediaSchema as Y, parseBookingLocalDate as Yt, imageMediaSchema as Z, resolveBookingBusinessTimeZone as Zt, eventCalendarListLayoutOptions as _, eventScheduleScopeValues as _t, eventAutoApplyDiscountPreviewSchema as a, toNonNegativeCents as an, normalizeCurrencyCode as at, isEventCalendarDefaultView as b, publicEventLoaderQuerySchemaShape as bt, calendarMonthKey as c, eventCalendarListLayoutCompatibleDisplayModeValues as ct, calendarWindowBounds as d, publicPassProductSchema as dt, parseUtcIsoDateTimeString as en, runtimeMediaSchema as et, calendarWindowMonths as f, publicProductSchema as ft, eventCalendarListGroupingDecision as g, calendarWindowQuerySchema as gt, resolveCalendarReadProfile as h, calendarMonthDate as ht, EVENT_BOOKING_ARRIVAL_QUERY as i, parsePositiveMoneyInputToCents as in, mediaTypeDiscriminants as it, headingDecorationColorTokenValues as j, mapDrawingSchema as jt, eventListTreatmentValues as k, toLocationCoordinates as kt, calendarPageResponseError as l, eventCalendarListLayoutValues as lt, planCalendarMonthRanges as m, purchasablePublicPassProductSchema as mt, blockSiteTermsSchema as n, validateBookingPaymentOptionKinds as nn, PUBLIC_FILE_FIELD_KINDS as nt, publicMembershipProductCollectionSchema as o, formatCurrencyAmount as on, eventCalendarDefaultViewValues as ot, calendarWindowPageSchema as p, purchasablePublicMembershipProductSchema as pt, RichTextDocSchema as q, getBookingLocalDateKey as qt, verifiedSiteTermsAcceptanceSchema as r, parsePositiveCents as rn, isDisplayMediaKind as rt, publicPassProductCollectionSchema as s, formatGiftCardAmountLabel as sn, eventCalendarDisplayModeValues as st, logger as t, toUtcIsoDateTimeString as tn, videoMediaSchema as tt, calendarQueryKey as u, publicMembershipProductSchema as ut, eventCalendarVariantMeaning as v, eventSurfacePresetValues as vt, resolveEventCalendarReadPlan as w, locationValueSchema as wt, isEventCalendarDisplayMode as x, isRecord as xt, eventListArrangementValues as y, eventSurfaceScopeValues as yt, publicEventsArraySchema as z, inferSiteDateLocale as zt };
2357
+ export { imageMediaSchema as $, parseLocalScheduleTime as $t, eyebrowTreatmentValues as A, projectPublicLocation as At, blockBookingPaymentTermsSchema as B, formatTimeRange as Bt, normalizeEventCalendarDisplayMode as C, isRecord as Ct, accordionIconSetValues as D, locationValueSchema as Dt, accordionIconMotionValues as E, decideLocationSourcePermission as Et, visibleHeadingDecorationFamilyValues as F, formatDate as Ft, beforeBookingQuestionsPresentationSchema as G, toScheduledBookingDateTime as Gt, bookingConsentCarrierSchema as H, inferSiteDateLocale as Ht, eventVenueDrawingSchema as I, formatDateRange as It, buildRichTextSchema as J, compareLocalScheduleDates as Jt, bookingQuestionsAnswerValueSchema as K, buildBookingUtcDateWindow as Kt, publicEventDestinationSchema as L, formatDateTime as Lt, headingDecorationOverrideValues as M, toLocationCoordinates as Mt, isArrangementMode as N, trimmedStringOrNull as Nt, arrangementModes as O, normalizeLocationAddressText as Ot, tileTreatmentValues as P, mapDrawingSchema as Pt, externalMediaSchema as Q, parseBookingLocalDate as Qt, publicEventSchema as R, formatDateTimeRange as Rt, isEventCalendarListLayout as S, publicEventLoaderQuerySchemaShape as St, accordionIconColorTokenValues as T, WHOLE_SERIES_EVENT_PRESET_VALUES as Tt, isBookingRequirementConsentFieldId as U, resolveBookingDisplayContext as Ut, blockBookingConsentSchema as V, formatTimeZoneCityLabel as Vt, toBookingRequirementConsentField as W, formatBookingCompactEnglishTime as Wt, isRichTextDoc as X, getBookingLocalDateKey as Xt, createRichTextDoc as Y, formatLocalScheduleDate as Yt, assetMediaSchema as Z, getLocalScheduleDate as Zt, eventCalendarListLayoutOptions as _, calendarMonthDate as _t, eventAutoApplyDiscountPreviewSchema as a, validateBookingPaymentOptionKinds as an, isDisplayMediaKind as at, isEventCalendarDefaultView as b, eventSurfacePresetValues as bt, calendarMonthKey as c, toNonNegativeCents as cn, eventCalendarDefaultViewValues as ct, calendarWindowBounds as d, eventCalendarListLayoutValues as dt, resolveBookingBusinessTimeZone as en, mediaSchema as et, calendarWindowMonths as f, publicMembershipProductSchema as ft, eventCalendarListGroupingDecision as g, purchasablePublicPassProductSchema as gt, resolveCalendarReadProfile as h, purchasablePublicMembershipProductSchema as ht, EVENT_BOOKING_ARRIVAL_QUERY as i, toUtcIsoDateTimeString as in, PUBLIC_FILE_FIELD_KINDS as it, headingDecorationColorTokenValues as j, publicLocationSchema as jt, eventListTreatmentValues as k, parseLocationValue as kt, calendarPageResponseError as l, formatCurrencyAmount as ln, eventCalendarDisplayModeValues as lt, planCalendarMonthRanges as m, publicProductSchema as mt, blockSiteTermsSchema as n, toBookingTimeZone as nn, runtimeMediaSchema as nt, publicMembershipProductCollectionSchema as o, parsePositiveCents as on, mediaTypeDiscriminants as ot, calendarWindowPageSchema as p, publicPassProductSchema as pt, RichTextDocSchema as q, addLocalScheduleDays as qt, verifiedSiteTermsAcceptanceSchema as r, parseUtcIsoDateTimeString as rn, videoMediaSchema as rt, publicPassProductCollectionSchema as s, parsePositiveMoneyInputToCents as sn, normalizeCurrencyCode as st, logger as t, resolveBookingTimeZoneId as tn, persistableMediaSchema as tt, calendarQueryKey as u, formatGiftCardAmountLabel as un, eventCalendarListLayoutCompatibleDisplayModeValues as ut, eventCalendarVariantMeaning as v, calendarWindowQuerySchema as vt, resolveEventCalendarReadPlan as w, EVENT_PRESET_VALUES as wt, isEventCalendarDisplayMode as x, eventSurfaceScopeValues as xt, eventListArrangementValues as y, eventScheduleScopeValues as yt, publicEventsArraySchema as z, formatTime as zt };