@riverbankcms/sdk 0.183.0 → 0.185.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 (236) hide show
  1. package/README.md +34 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
  3. package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
  5. package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
  6. package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
  7. package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
  9. package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
  10. package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
  11. package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
  12. package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
  13. package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
  14. package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
  16. package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
  17. package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  29. package/dist/_dts/sdk/src/index.d.ts +7 -7
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +36 -1
  54. package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
  55. package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
  56. package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
  57. package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
  58. package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
  60. package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
  61. package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
  62. package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
  63. package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
  64. package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
  66. package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
  67. package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
  68. package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
  69. package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
  70. package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
  71. package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
  72. package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
  73. package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
  74. package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
  75. package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
  76. package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
  77. package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
  78. package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
  79. package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
  80. package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
  81. package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
  82. package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
  83. package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
  84. package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
  85. package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
  86. package/dist/client/bookings.mjs +5 -5
  87. package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
  88. package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
  89. package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
  90. package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
  91. package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
  92. package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
  93. package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
  94. package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
  95. package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
  96. package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
  97. package/dist/client/client.mjs +61 -48
  98. package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
  99. package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
  100. package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
  101. package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
  102. package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
  103. package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
  104. package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
  105. package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
  106. package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
  107. package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
  108. package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
  109. package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
  110. package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
  111. package/dist/client/gifting/client.mjs +8 -8
  112. package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
  113. package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
  114. package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
  115. package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
  116. package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
  117. package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
  118. package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
  119. package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
  120. package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
  121. package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
  122. package/dist/client/portal/client.mjs +999 -81
  123. package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
  124. package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
  125. package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
  126. package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
  127. package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
  128. package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
  129. package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
  130. package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
  131. package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
  132. package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
  133. package/dist/client/rendering/client.mjs +28 -27
  134. package/dist/client/rendering/islands.mjs +1 -1
  135. package/dist/client/rendering.mjs +5 -5
  136. package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
  137. package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
  138. package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
  139. package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
  140. package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
  141. package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
  142. package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
  143. package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
  144. package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
  145. package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
  146. package/dist/client/spam-protection.mjs +1 -1
  147. package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
  148. package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
  149. package/dist/client/src-CXOxpNtj.mjs +3 -0
  150. package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
  151. package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
  152. package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
  153. package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
  154. package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
  155. package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
  156. package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
  157. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
  158. package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
  159. package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
  160. package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
  161. package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
  162. package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
  163. package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
  164. package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
  165. package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
  166. package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
  167. package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
  168. package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
  169. package/dist/preview-next/client/runtime.mjs +3 -3
  170. package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
  171. package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
  172. package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
  173. package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
  174. package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
  175. package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
  176. package/dist/preview-next/container-responsive.css +158 -3
  177. package/dist/preview-next/keepAlive.mjs +1 -1
  178. package/dist/preview-next/middleware.mjs +1 -1
  179. package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
  180. package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
  181. package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
  182. package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
  183. package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
  184. package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
  185. package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
  186. package/dist/server/config-validation.mjs +1 -1
  187. package/dist/server/config.mjs +2 -2
  188. package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
  189. package/dist/server/data/resolveBlockData.mjs +1 -1
  190. package/dist/server/index.mjs +3 -3
  191. package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
  192. package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
  193. package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
  194. package/dist/server/manifest.mjs +2 -2
  195. package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
  196. package/dist/server/navigation.mjs +1 -1
  197. package/dist/server/next.mjs +9 -9
  198. package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
  199. package/dist/server/page-converter.mjs +17 -4
  200. package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
  201. package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
  202. package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
  203. package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
  204. package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
  205. package/dist/server/portal.mjs +3 -3
  206. package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
  207. package/dist/server/prebuild.mjs +1 -1
  208. package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
  209. package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
  210. package/dist/server/rendering/components/pageShared.mjs +1 -1
  211. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  212. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  213. package/dist/server/rendering/server.mjs +4 -4
  214. package/dist/server/rendering.mjs +9 -9
  215. package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
  216. package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
  217. package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
  218. package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
  221. package/dist/server/theme-bridge.mjs +5 -4
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
  224. package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
  225. package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
  226. package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
  227. package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
  228. package/dist/styles/index.css +684 -181
  229. package/package.json +1 -1
  230. package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
  231. package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
  232. package/dist/client/src-DqMbCjI1.mjs +0 -3
  233. package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
  234. package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
  235. package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
  236. package/dist/server/media-gvfIw3z8.mjs +0 -216
@@ -1,25 +1,25 @@
1
1
  "use client";
2
- import { A as bookingPanelHeading, D as bookingCardEntry, E as bookingBarPlacement, M as cancelledDateCopy, N as hasCancelledRegistrationDate, O as bookingEntry, T as DEFAULT_BOOKING_BUTTON_TEXT, Tn as formatEventPriceDisplay, b as displayButtonText, j as courseTitleOf, k as bookingEntryProgress, v as buildEventRegistrationDisplayFromScopedEvents, w as offeringNounForEvent, y as buildEventRegistrationInteractiveIslandProps } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
3
- import { An as formatCurrencyAmount, t as assertNever } from "./src-Do_s2lqH.mjs";
4
- import { An as selectionConfirmationHint, Ao as isEventFull, B as closedAdmissionLabel, Bn as severalConfirmationSentence, Br as placesLeftLabel, Co as canJoinEventWaitlistOnAnyMode, Dn as runPricingChoice, Do as getEventAvailability, Dr as getTicketSelectionTotal, Ea as formatPrice, En as runNeedsPricingChoice, Er as getTicketLineQuantity, Fn as selectionItemsLabel, In as selectionPlacesLabel, Is as INCOMPATIBLE_ATTENDANCE_MESSAGE, It as ADD_A_PLACE, Jt as confirmationPaymentRows, K as registrationStopsHere, Kn as combinationOfferLine, Ln as selectionPlacesNote, Mn as selectionEntitlementNote, Mo as selectMostOpenCapacitySource, Nn as selectionIncludes, On as runUnitPriceCents, Or as getTicketTypeLineMax, Rn as selectionRowAvailability, Rs as setRoomChoicePeople, So as canJoinEventWaitlist, Ta as formatCentsAsCurrencyInput, Tn as runChoiceUsable, U as placeCountCeiling, Ur as shownVenue, V as fullyBookedLabel, Vi as getRegistrationSuccessCopy, Y as resolveRegistrationAvailabilityBlocker, Yt as resolveFinishedPresentation, Z as settledRemainingPlaces, Zn as selectionItemName, _n as SEVERAL_BOOKINGS_ACCOUNT_NOTE, ar as formatRunScheduleLines, bc as publicEventPricingStrategy, bi as resolveEventRegistrationScopedEvents, c as registrationStepLabelContext, dr as occurrenceTitleOverride, dt as paymentChoiceDetails, et as isEventRegistrationAvailable, ft as paymentChoicePrice, gn as SELECTION_LIMIT_NOTE, ir as formatRegistrationSchedule, jn as selectionConsentLabel, jo as selectEventCapacitySource, jr as setTicketLineQuantity, kn as selectionAtLimit, ko as getRemainingPlaces, l as areEventRegistrationPaymentSelectionsEqual, lo as bookingPresentation, lr as getTicketTypeAvailabilityLabel, n as getEventSelectionMode, nr as formatDate, or as formatTime, pr as withOccurrenceTitle, qn as combinationOffersOf, r as panelShouldOpen, rr as formatEventDateTime, s as registrationStepLabel, tr as formatBookingWhen, tt as normalizeEventRegistrationMaxTickets, ur as getVisibleTicketTypes, vc as publicEventPricingCurrency, wr as canRequestTicketOption, xc as publicEventPricingType, yn as canToggleSelectionItem, yt as entryChoosesEvent, z as shouldPromptForLogin } from "./wizardSteps-DDvL3iza.mjs";
5
- import { i as portalPath } from "./portalRoutes-DTHlWg_F.mjs";
6
- import { n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DQNkfNLA.mjs";
7
- import { a as ONE_DATE_FUNDING_LOAD_FAILED, c as planEventRegistrationSurface, i as summaryExplainsMoreThanTheOption, l as registrationAdmissionSurface, o as SELECTION_FUNDING_LOAD_FAILED, r as useEventRegistrationWizard, s as useEventRegistrationRecoveryRequest, t as EventPaymentMount, u as resolveEventRegistrationClientSurface } from "./EventRegistrationPayment-BTLYhVxD.mjs";
8
- import { n as useBlockApi } from "./context-D1L0pe__.mjs";
9
- import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-Bc9DBbVp.mjs";
10
- import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-C_8AxMdm.mjs";
11
- 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-DyXoI3ob.mjs";
12
- import { m as DiscountCodeDisclosure, p as NavigationHandOffPanel, t as BookingConfirmation } from "./DemoBookingPortalAccess-HFVkoOac.mjs";
2
+ import { A as bookingPanelHeading, D as bookingCardEntry, E as bookingBarPlacement, M as cancelledRegistrationCopy, O as bookingEntry, T as DEFAULT_BOOKING_BUTTON_TEXT, Tn as formatEventPriceDisplay, b as displayButtonText, j as courseTitleOf, k as bookingEntryProgress, v as buildEventRegistrationDisplayFromScopedEvents, w as offeringNounForEvent, y as buildEventRegistrationInteractiveIslandProps } from "./newsletter-form.interactive-DpcfRbI_.mjs";
3
+ import { An as formatCurrencyAmount, t as assertNever } from "./src-CJf3u16T.mjs";
4
+ import { An as selectionAtLimit, B as closedAdmissionLabel, Bs as setRoomChoicePeople, Da as formatPrice, Dn as runNeedsPricingChoice, Dr as getTicketLineQuantity, Ea as formatCentsAsCurrencyInput, En as runChoiceUsable, Hi as getRegistrationSuccessCopy, In as selectionItemsLabel, Jn as combinationOffersOf, Ln as selectionPlacesLabel, Lt as ADD_A_PLACE, Mn as selectionConsentLabel, Mo as isEventFull, Mr as setTicketLineQuantity, Nn as selectionEntitlementNote, No as selectEventCapacitySource, On as runPricingChoice, Or as getTicketSelectionTotal, Pn as selectionIncludes, Po as selectMostOpenCapacitySource, Q as settledRemainingPlaces, Qn as selectionItemName, Rn as selectionPlacesNote, Rs as INCOMPATIBLE_ATTENDANCE_MESSAGE, Sc as publicEventPricingCurrency, Tc as publicEventPricingType, To as canJoinEventWaitlistOnAnyMode, Tr as canRequestTicketOption, U as placeCountCeiling, Us as eventRegistrationErrors, V as fullyBookedLabel, Vn as severalConfirmationSentence, Vr as placesLeftLabel, Vs as defaultEventRegistrationErrorAppearance, Wr as shownVenue, X as resolveRegistrationAvailabilityBlocker, Xt as resolveFinishedPresentation, Yt as confirmationPaymentRows, _n as SELECTION_LIMIT_NOTE, ar as formatRegistrationSchedule, bn as canToggleSelectionItem, bt as entryChoosesEvent, c as registrationStepLabelContext, dr as getVisibleTicketTypes, fr as occurrenceTitleOverride, ft as paymentChoiceDetails, ir as formatEventDateTime, jn as selectionConfirmationHint, jo as getRemainingPlaces, kn as runUnitPriceCents, ko as getEventAvailability, kr as getTicketTypeLineMax, l as areEventRegistrationPaymentSelectionsEqual, mr as withOccurrenceTitle, n as getEventSelectionMode, nr as formatBookingWhen, nt as normalizeEventRegistrationMaxTickets, or as formatRunScheduleLines, pt as paymentChoicePrice, q as registrationStopsHere, qn as combinationOfferLine, r as panelShouldOpen, rr as formatDate, s as registrationStepLabel, sr as formatTime, tt as isEventRegistrationAvailable, uo as bookingPresentation, ur as getTicketTypeAvailabilityLabel, vn as SEVERAL_BOOKINGS_ACCOUNT_NOTE, wc as publicEventPricingStrategy, wo as canJoinEventWaitlist, xi as resolveEventRegistrationScopedEvents, z as shouldPromptForLogin, zn as selectionRowAvailability } from "./wizardSteps-BbroaNkT.mjs";
5
+ import { i as portalPath } from "./portalRoutes-D3Ttfv5x.mjs";
6
+ import { n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
7
+ import { a as ONE_DATE_FUNDING_LOAD_FAILED, c as planEventRegistrationSurface, i as summaryExplainsMoreThanTheOption, l as registrationAdmissionSurface, o as SELECTION_FUNDING_LOAD_FAILED, r as useEventRegistrationWizard, s as useEventRegistrationRecoveryRequest, t as EventPaymentMount, u as resolveEventRegistrationClientSurface } from "./EventRegistrationPayment-CARdr15t.mjs";
8
+ import { n as useBlockApi } from "./context-CG77Keax.mjs";
9
+ import { D as SpinnerNode, n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
10
+ import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-yA1RJGXD.mjs";
11
+ 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-Cb3NMw-Y.mjs";
12
+ import { m as DiscountCodeDisclosure, p as NavigationHandOffPanel, t as BookingConfirmation } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
13
13
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
14
- import { t as CheckboxChoice } from "./CheckboxChoice-BdGxZWeg.mjs";
14
+ import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
15
15
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
16
16
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
17
17
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
18
- import { a as MagicLinkForm, n as OrganiserContactLine, o as BookingConsentAgreement, p as PaymentChoiceRows, r as BookingQuestionSections, t as BookingMailingListNote } from "./BookingMailingListNote-qqTxGGS4.mjs";
19
- import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-DvdFFWOT.mjs";
18
+ import { i as BookingQuestionSections, m as PaymentChoiceRows, n as BookingNextStep, o as MagicLinkForm, r as OrganiserContactLine, s as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-D_khdttF.mjs";
19
+ import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-DMtTHqex.mjs";
20
20
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
21
21
  import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
22
- import { t as CalendarAction } from "./CalendarAction-RcdaStG7.mjs";
22
+ import { t as CalendarAction } from "./CalendarAction-C-AbMmct.mjs";
23
23
  import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
24
24
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
25
25
  import { createPortal } from "react-dom";
@@ -1216,33 +1216,51 @@ function RoomChooserSummary(props) {
1216
1216
  /**
1217
1217
  * Error Step
1218
1218
  *
1219
- * Displays an error message with a retry button when registration fails.
1219
+ * Displays the catalogue’s refusal and the next step available to the booker.
1220
1220
  */
1221
1221
  const labels = {
1222
1222
  none: "",
1223
1223
  retry: "Try again",
1224
1224
  places: "Choose places",
1225
1225
  start: "Start again",
1226
- details: "Check my details",
1226
+ details: "Back to my details",
1227
1227
  "payment-options": "View payment options",
1228
1228
  portal: "View my bookings",
1229
1229
  event: "View event"
1230
1230
  };
1231
- const ErrorStep = ({ message, onRetry, action = "retry", canJoinWaitlist = false }) => {
1231
+ const ErrorStep = ({ message, heading = defaultEventRegistrationErrorAppearance.heading, tone = defaultEventRegistrationErrorAppearance.tone, organiserContact, onRetry, action = "retry", canJoinWaitlist = false }) => {
1232
1232
  const offerWaitlist = action === "places" && canJoinWaitlist;
1233
1233
  return /* @__PURE__ */ jsx(TerminalPanel, {
1234
- tone: "error",
1234
+ tone,
1235
1235
  className: "er-center",
1236
1236
  titleClassName: "er-title--lg er-message",
1237
1237
  icon: /* @__PURE__ */ jsx(StateIcon, {
1238
- variant: "error",
1239
- children: /* @__PURE__ */ jsx(CrossIcon, {})
1238
+ variant: tone,
1239
+ children: tone === "error" ? /* @__PURE__ */ jsx(CrossIcon, {}) : /* @__PURE__ */ jsx("svg", {
1240
+ fill: "none",
1241
+ stroke: "currentColor",
1242
+ viewBox: "0 0 24 24",
1243
+ "aria-hidden": "true",
1244
+ children: tone === "info" ? /* @__PURE__ */ jsx("path", {
1245
+ strokeLinecap: "round",
1246
+ strokeLinejoin: "round",
1247
+ strokeWidth: 2,
1248
+ d: "M12 8h.01M11 12h1v4h1"
1249
+ }) : /* @__PURE__ */ jsx("path", {
1250
+ strokeLinecap: "round",
1251
+ strokeLinejoin: "round",
1252
+ strokeWidth: 2,
1253
+ d: "M12 8v4m0 4h.01"
1254
+ })
1255
+ })
1240
1256
  }),
1241
- title: "We couldn’t complete your booking",
1257
+ title: heading,
1242
1258
  body: /* @__PURE__ */ jsx("p", {
1243
1259
  className: "er-text--muted er-message",
1244
1260
  children: offerWaitlist ? "Sorry, this event is now full. You can join the waiting list, and we’ll email you if a place becomes available." : message
1245
1261
  }),
1262
+ secondaryBody: organiserContact && (organiserContact.email || organiserContact.phone) ? /* @__PURE__ */ jsx(OrganiserContactLine, { contact: organiserContact }) : void 0,
1263
+ secondaryBodyClassName: action === "none" ? void 0 : "er-terminal-help",
1246
1264
  actions: action === "none" ? void 0 : action === "portal" ? /* @__PURE__ */ jsx("a", {
1247
1265
  href: portalPath({ page: "bookings" }),
1248
1266
  className: "er-retry-btn",
@@ -3241,7 +3259,8 @@ function QuestionsSection(props) {
3241
3259
  answerMode: bookingQuestions.answerMode,
3242
3260
  onAnswerModeChange: bookingQuestions.chooseAnswerMode,
3243
3261
  signInEmail: props.signInEmail.trim() || void 0,
3244
- signInReturnPath: bookingQuestions.signInReturnPath
3262
+ signInReturnPath: bookingQuestions.signInReturnPath,
3263
+ severalPeople: props.severalPeople
3245
3264
  });
3246
3265
  }
3247
3266
  /** One run's questions and agreement, headed with the run's name. */
@@ -3259,7 +3278,8 @@ function RunRequirementsBlock(props) {
3259
3278
  }),
3260
3279
  section.bookingQuestions ? /* @__PURE__ */ jsx(QuestionsSection, {
3261
3280
  bookingQuestions: section.bookingQuestions,
3262
- signInEmail: props.signInEmail
3281
+ signInEmail: props.signInEmail,
3282
+ severalPeople: props.severalPeople
3263
3283
  }) : null,
3264
3284
  section.consent ? /* @__PURE__ */ jsx(EventConsentField, {
3265
3285
  consent: section.consent,
@@ -3276,7 +3296,8 @@ function QuestionsAndAgreement(props) {
3276
3296
  return /* @__PURE__ */ jsxs(Fragment, { children: [
3277
3297
  bookingQuestions ? /* @__PURE__ */ jsx(QuestionsSection, {
3278
3298
  bookingQuestions,
3279
- signInEmail: formData.email
3299
+ signInEmail: formData.email,
3300
+ severalPeople: props.severalPeople
3280
3301
  }) : null,
3281
3302
  consent ? /* @__PURE__ */ jsx(EventConsentField, {
3282
3303
  consent,
@@ -3291,7 +3312,8 @@ function QuestionsAndAgreement(props) {
3291
3312
  props.runRequirements?.map((section) => /* @__PURE__ */ jsx(RunRequirementsBlock, {
3292
3313
  section,
3293
3314
  idBase: props.idBase,
3294
- signInEmail: formData.email
3315
+ signInEmail: formData.email,
3316
+ severalPeople: props.severalPeople
3295
3317
  }, section.seriesId)),
3296
3318
  props.siteTerms,
3297
3319
  props.questionsMessage ? /* @__PURE__ */ jsx("p", {
@@ -3405,7 +3427,8 @@ const AttendeeDetailsStep = ({ formData, onChange, errors, emailLocked = false,
3405
3427
  bookingQuestions,
3406
3428
  runRequirements,
3407
3429
  questionsMessage,
3408
- siteTerms
3430
+ siteTerms,
3431
+ severalPeople: ticketsCount > 1
3409
3432
  })
3410
3433
  ] }),
3411
3434
  guestDetailsChangeHandler && /* @__PURE__ */ jsx(GuestDetailsSection, {
@@ -3592,6 +3615,48 @@ function SeveralBookingsNote({ several }) {
3592
3615
  children: SEVERAL_BOOKINGS_ACCOUNT_NOTE
3593
3616
  }) : null;
3594
3617
  }
3618
+ /** Where to see the booking again; a waiting-list place isn't a booking yet, and a demo has its own portal button. */
3619
+ function SuccessNextStep({ context, variant, demo }) {
3620
+ return context === "booking" && variant === "success" && !demo ? /* @__PURE__ */ jsx(BookingNextStep, {
3621
+ target: { kind: "bookings" },
3622
+ className: "er-center"
3623
+ }) : null;
3624
+ }
3625
+ function SuccessIcon({ variant }) {
3626
+ return /* @__PURE__ */ jsx(StateIcon, {
3627
+ variant,
3628
+ children: /* @__PURE__ */ jsx("svg", {
3629
+ fill: "none",
3630
+ stroke: "currentColor",
3631
+ viewBox: "0 0 24 24",
3632
+ children: variant === "info" ? /* @__PURE__ */ jsxs(Fragment, { children: [
3633
+ /* @__PURE__ */ jsx("path", {
3634
+ strokeLinecap: "round",
3635
+ strokeLinejoin: "round",
3636
+ strokeWidth: 2,
3637
+ d: "M12 8h.01"
3638
+ }),
3639
+ /* @__PURE__ */ jsx("path", {
3640
+ strokeLinecap: "round",
3641
+ strokeLinejoin: "round",
3642
+ strokeWidth: 2,
3643
+ d: "M11 12h1v4h1"
3644
+ }),
3645
+ /* @__PURE__ */ jsx("path", {
3646
+ strokeLinecap: "round",
3647
+ strokeLinejoin: "round",
3648
+ strokeWidth: 2,
3649
+ d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"
3650
+ })
3651
+ ] }) : /* @__PURE__ */ jsx("path", {
3652
+ strokeLinecap: "round",
3653
+ strokeLinejoin: "round",
3654
+ strokeWidth: 2,
3655
+ d: "M5 13l4 4L19 7"
3656
+ })
3657
+ })
3658
+ });
3659
+ }
3595
3660
  function defaultHeading(variant, several) {
3596
3661
  if (variant === "info") return "You’re already booked";
3597
3662
  return several ? "You’re booked" : "You’re booked!";
@@ -3605,44 +3670,12 @@ const SuccessStep = ({ title, copy, variant = "success", mailingListSignupNote,
3605
3670
  const heading = title ?? defaultHeading(variant, several);
3606
3671
  return /* @__PURE__ */ jsxs(Fragment, { children: [
3607
3672
  /* @__PURE__ */ jsx(TerminalPanel, {
3608
- tone: variant === "info" ? "info" : "success",
3673
+ tone: variant,
3609
3674
  className: "er-center",
3610
3675
  iconClassName: "er-icon",
3611
3676
  titleClassName: "er-title--lg er-message",
3612
3677
  bodyClassName: "er-text--muted",
3613
- icon: /* @__PURE__ */ jsx(StateIcon, {
3614
- variant: variant === "info" ? "info" : "success",
3615
- children: /* @__PURE__ */ jsx("svg", {
3616
- fill: "none",
3617
- stroke: "currentColor",
3618
- viewBox: "0 0 24 24",
3619
- children: variant === "info" ? /* @__PURE__ */ jsxs(Fragment, { children: [
3620
- /* @__PURE__ */ jsx("path", {
3621
- strokeLinecap: "round",
3622
- strokeLinejoin: "round",
3623
- strokeWidth: 2,
3624
- d: "M12 8h.01"
3625
- }),
3626
- /* @__PURE__ */ jsx("path", {
3627
- strokeLinecap: "round",
3628
- strokeLinejoin: "round",
3629
- strokeWidth: 2,
3630
- d: "M11 12h1v4h1"
3631
- }),
3632
- /* @__PURE__ */ jsx("path", {
3633
- strokeLinecap: "round",
3634
- strokeLinejoin: "round",
3635
- strokeWidth: 2,
3636
- d: "M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10z"
3637
- })
3638
- ] }) : /* @__PURE__ */ jsx("path", {
3639
- strokeLinecap: "round",
3640
- strokeLinejoin: "round",
3641
- strokeWidth: 2,
3642
- d: "M5 13l4 4L19 7"
3643
- })
3644
- })
3645
- }),
3678
+ icon: /* @__PURE__ */ jsx(SuccessIcon, { variant }),
3646
3679
  title: heading,
3647
3680
  body: /* @__PURE__ */ jsx(BookingConfirmation, {
3648
3681
  demoEmailSuppressed,
@@ -3661,7 +3694,12 @@ const SuccessStep = ({ title, copy, variant = "success", mailingListSignupNote,
3661
3694
  payment
3662
3695
  }),
3663
3696
  /* @__PURE__ */ jsx(SeveralBookingsNote, { several }),
3664
- /* @__PURE__ */ jsx(CalendarAction, { calendar })
3697
+ /* @__PURE__ */ jsx(CalendarAction, { calendar }),
3698
+ /* @__PURE__ */ jsx(SuccessNextStep, {
3699
+ context,
3700
+ variant,
3701
+ demo: demoEmailSuppressed
3702
+ })
3665
3703
  ] });
3666
3704
  };
3667
3705
  //#endregion
@@ -3699,7 +3737,7 @@ const VerifyingPaymentStep = () => {
3699
3737
  * Displays when the payment was definitively declined/failed.
3700
3738
  * Provides a retry option that returns to payment selection with form state preserved.
3701
3739
  */
3702
- const PaymentFailedStep = ({ onRetry }) => {
3740
+ const PaymentFailedStep = ({ onRetry, organiserContact }) => {
3703
3741
  return /* @__PURE__ */ jsx(TerminalPanel, {
3704
3742
  tone: "error",
3705
3743
  className: "er-center",
@@ -3709,10 +3747,10 @@ const PaymentFailedStep = ({ onRetry }) => {
3709
3747
  children: /* @__PURE__ */ jsx(CrossIcon, {})
3710
3748
  }),
3711
3749
  title: "Your payment didn’t go through",
3712
- body: /* @__PURE__ */ jsx("p", {
3750
+ body: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", {
3713
3751
  className: "er-text--muted er-message",
3714
3752
  children: "Please try again or choose another payment option. If this keeps happening, contact the organiser for help."
3715
- }),
3753
+ }), organiserContact && (organiserContact.email || organiserContact.phone) ? /* @__PURE__ */ jsx(OrganiserContactLine, { contact: organiserContact }) : null] }),
3716
3754
  actions: /* @__PURE__ */ jsx("button", {
3717
3755
  type: "button",
3718
3756
  onClick: onRetry,
@@ -3734,7 +3772,7 @@ const PaymentFailedStep = ({ onRetry }) => {
3734
3772
  * - "Check Again" button to restart polling
3735
3773
  * - Contact support option for user reassurance
3736
3774
  */
3737
- const VerifyingTimeoutStep = ({ onCheckAgain, supportEmail, title = "We’re checking your payment", buttonVariant = "primary", message = "Your booking is not confirmed yet. Please don’t make another booking while we check. You can check your payment status again in a moment." }) => {
3775
+ const VerifyingTimeoutStep = ({ onCheckAgain, organiserContact, supportEmail, title = "We’re checking your payment", buttonVariant = "primary", message = "Your booking is not confirmed yet. Please don’t make another booking while we check. You can check your payment status again in a moment." }) => {
3738
3776
  return /* @__PURE__ */ jsx(TerminalPanel, {
3739
3777
  tone: "warning",
3740
3778
  className: "er-center",
@@ -3744,10 +3782,10 @@ const VerifyingTimeoutStep = ({ onCheckAgain, supportEmail, title = "We’re che
3744
3782
  children: /* @__PURE__ */ jsx(ClockIcon, {})
3745
3783
  }),
3746
3784
  title,
3747
- body: /* @__PURE__ */ jsx("p", {
3785
+ body: /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("p", {
3748
3786
  className: "er-text--muted er-message",
3749
- children: onCheckAgain ? message : "We still can’t confirm your payment. Please don’t make another payment. Contact the organiser so they can check your booking."
3750
- }),
3787
+ children: onCheckAgain ? message : eventRegistrationErrors.paymentInvestigationRequired.message
3788
+ }), organiserContact && (organiserContact.email || organiserContact.phone) ? /* @__PURE__ */ jsx(OrganiserContactLine, { contact: organiserContact }) : null] }),
3751
3789
  actions: onCheckAgain ? /* @__PURE__ */ jsx(ThemedButton, {
3752
3790
  type: "button",
3753
3791
  variant: buttonVariant,
@@ -3755,7 +3793,7 @@ const VerifyingTimeoutStep = ({ onCheckAgain, supportEmail, title = "We’re che
3755
3793
  onClick: onCheckAgain,
3756
3794
  label: "Check payment status"
3757
3795
  }) : void 0,
3758
- secondaryBody: supportEmail ? /* @__PURE__ */ jsxs("p", {
3796
+ secondaryBody: !organiserContact && supportEmail ? /* @__PURE__ */ jsxs("p", {
3759
3797
  className: "er-text er-text--muted er-message",
3760
3798
  children: [
3761
3799
  "If you were charged but don't receive a confirmation email, please",
@@ -3825,7 +3863,7 @@ function heroMembership(wizard) {
3825
3863
  }
3826
3864
  /** The event's consent, with its checkbox worded for every item being booked. */
3827
3865
  function selectionConsent(wizard) {
3828
- const consent = (wizard.selectedEvent ?? wizard.preSelectedEvent)?.consent ?? null;
3866
+ const consent = wizard.bookingConsent;
3829
3867
  if (!consent) return null;
3830
3868
  return {
3831
3869
  ...consent,
@@ -4351,6 +4389,7 @@ function EventRegistrationWholeScreen(props) {
4351
4389
  buttonVariant: props.buttonVariant
4352
4390
  });
4353
4391
  case "paymentFailed": return /* @__PURE__ */ jsx(PaymentFailedStep, {
4392
+ organiserContact: wizard.organiserContact,
4354
4393
  message: wizard.errorMessage,
4355
4394
  onRetry: () => wizard.setStep("select-payment")
4356
4395
  });
@@ -4552,6 +4591,7 @@ function RegistrationProcessing({ selection, takesPayment }) {
4552
4591
  function RegistrationVerificationTimeout({ wizard, supportEmail, buttonVariant }) {
4553
4592
  const timedOut = wizard.verification.status === "timeout";
4554
4593
  return /* @__PURE__ */ jsx(VerifyingTimeoutStep, {
4594
+ organiserContact: wizard.organiserContact,
4555
4595
  onCheckAgain: timedOut ? wizard.verification.retry : wizard.verification.retryReturn,
4556
4596
  title: timedOut ? void 0 : "We’re checking your payment",
4557
4597
  message: timedOut ? void 0 : wizard.errorMessage,
@@ -4573,6 +4613,9 @@ function RegistrationError({ wizard }) {
4573
4613
  const admission = wizard.admission;
4574
4614
  return /* @__PURE__ */ jsx(ErrorStep, {
4575
4615
  message: wizard.errorMessage,
4616
+ heading: wizard.errorHeading,
4617
+ tone: wizard.errorTone,
4618
+ organiserContact: wizard.organiserContact,
4576
4619
  action: wizard.errorAction,
4577
4620
  canJoinWaitlist: admission.kind === "waitlist",
4578
4621
  onRetry: wizard.handleRetry
@@ -5009,9 +5052,10 @@ const EventRegistrationClient = (clientProps) => {
5009
5052
  subject: clientProps.subject
5010
5053
  })
5011
5054
  });
5012
- if (hasCancelledRegistrationDate(clientProps.events ?? [], clientProps.occurrenceContext?.id)) return /* @__PURE__ */ jsx(RegistrationClosedState, {
5013
- title: cancelledDateCopy.titleText,
5014
- body: cancelledDateCopy.bodyText
5055
+ const cancelled = cancelledRegistrationCopy(clientProps.events ?? [], clientProps.occurrenceContext?.id);
5056
+ if (cancelled) return /* @__PURE__ */ jsx(RegistrationClosedState, {
5057
+ title: cancelled.titleText,
5058
+ body: cancelled.bodyText
5015
5059
  });
5016
5060
  switch (surface) {
5017
5061
  case "wizard": return /* @__PURE__ */ jsx(EventRegistrationWizard, { ...clientProps });
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-D1L0pe__.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
4
- import { t as EventCalendarClient } from "./EventCalendar.client-BtkJW8bA.mjs";
2
+ import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
4
+ import { t as EventCalendarClient } from "./EventCalendar.client-By7e9nyF.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-B6nQeqvH.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.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-D1L0pe__.mjs";
3
- import { n as EventCombinedIslandClient } from "./EventCombined.client-DxaGjFFS.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
2
+ import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
3
+ import { n as EventCombinedIslandClient } from "./EventCombined.client-BdRZXB14.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-B6nQeqvH.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCombined.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-D1L0pe__.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
4
- import { t as EventListingClient } from "./EventListing.client-BhGxfbjt.mjs";
2
+ import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
4
+ import { t as EventListingClient } from "./EventListing.client-BEGiiFnO.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-B6nQeqvH.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventListing.tsx
@@ -1,14 +1,15 @@
1
1
  "use client";
2
- import { n as EventRegistrationIslandClient } from "./event-registration.client-DiSxkBUP.mjs";
3
- import { t as BlockApiProvider } from "./context-D1L0pe__.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
2
+ import { n as EventRegistrationIslandClient } from "./event-registration.client-Ckb4aDE9.mjs";
3
+ import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
5
+ import { t as resolveFormPortalToken } from "./portalSession-0XhXyTxT.mjs";
5
6
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-B6nQeqvH.mjs";
7
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
7
8
  import "react";
8
9
  import { jsx } from "react/jsx-runtime";
9
10
  //#region src/rendering/islands/enhancers/eventRegistration.tsx
10
11
  const decode = defineIslandPropsDecoder("event-registration");
11
- const enhance = (root, props) => {
12
+ const enhance = async (root, props) => {
12
13
  const { siteId, apiBaseUrl, stage, portalToken, previewToken } = props;
13
14
  if (!siteId) throw new Error("[sdk:islands] event-registration requires siteId");
14
15
  if (!apiBaseUrl) throw new Error("[sdk:islands] event-registration requires apiBaseUrl");
@@ -17,7 +18,7 @@ const enhance = (root, props) => {
17
18
  ...buildRouteIslandApiConfig({
18
19
  readAuthority: props.readAuthority,
19
20
  apiBaseUrl,
20
- portalToken,
21
+ portalToken: await resolveFormPortalToken(portalToken),
21
22
  previewToken,
22
23
  siteId,
23
24
  stage
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-D1L0pe__.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
4
- import { t as FormNodeClient } from "./form.client-zHaQK5I9.mjs";
2
+ import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
4
+ import { t as FormNodeClient } from "./form.client-Whi43oio.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 { n as err, r as ok, t as assertNever } from "./src-Do_s2lqH.mjs";
3
- import { n as useBlockApi } from "./context-D1L0pe__.mjs";
4
- import { d as listLookSlot } from "./islands-DJDLGQEm.mjs";
5
- import { x as clsx } from "./ThemedButton-Bc9DBbVp.mjs";
2
+ import { n as err, r as ok, t as assertNever } from "./src-CJf3u16T.mjs";
3
+ import { n as useBlockApi } from "./context-CG77Keax.mjs";
4
+ import { d as listLookSlot } from "./islands-C95FyxUF.mjs";
5
+ import { O as clsx } from "./ThemedButton-C4rCsPCt.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
7
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-BLl9n8TH.mjs";
7
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-BgsWo2Me.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 { d as listLookSlot, u as listLookControl } from "./islands-DJDLGQEm.mjs";
3
- import { t as CheckboxChoice } from "./CheckboxChoice-BdGxZWeg.mjs";
4
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-BG7my0Qf.mjs";
2
+ import { d as listLookSlot, u as listLookControl } from "./islands-C95FyxUF.mjs";
3
+ import { t as CheckboxChoice } from "./CheckboxChoice-CTMIII37.mjs";
4
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-CY6u5sQa.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,14 +1,14 @@
1
1
  "use client";
2
2
  "use client";
3
- import { Cn as toUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, jn as formatGiftCardAmountLabel, nn as formatDate } from "../src-Do_s2lqH.mjs";
4
- import { i as portalPath } from "../portalRoutes-DTHlWg_F.mjs";
5
- import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-D1L0pe__.mjs";
6
- import { c as logger } from "../islands-DJDLGQEm.mjs";
7
- import { n as ThemedButton, r as ThemedButtonLink } from "../ThemedButton-Bc9DBbVp.mjs";
3
+ import { Cn as toUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, jn as formatGiftCardAmountLabel, nn as formatDate } from "../src-CJf3u16T.mjs";
4
+ import { i as portalPath } from "../portalRoutes-D3Ttfv5x.mjs";
5
+ import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-CG77Keax.mjs";
6
+ import { c as logger } from "../islands-C95FyxUF.mjs";
7
+ import { n as ThemedButton, r as ThemedButtonLink } from "../ThemedButton-C4rCsPCt.mjs";
8
8
  import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
9
- import { c as readChosenGiftAmounts } from "../gifting.parts-CRtiRzo-.mjs";
10
- import { t as PORTAL_CALLBACK_PATH } from "../demoPortalMagicLink-BunFTnIq.mjs";
11
- import { t as GiftingClient } from "../gifting.client--N1GaSY8.mjs";
9
+ import { u as readChosenGiftAmounts } from "../gifting.parts-_mgGOcbA.mjs";
10
+ import { t as PORTAL_CALLBACK_PATH } from "../demoPortalMagicLink-CgzNiOQ0.mjs";
11
+ import { t as GiftingClient } from "../gifting.client-CraWj4I4.mjs";
12
12
  import React from "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
14
  import { useRouter } from "next/navigation";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-D1L0pe__.mjs";
3
- import { c as readChosenGiftAmounts } from "./gifting.parts-CRtiRzo-.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DFYqKnLy.mjs";
5
- import { t as GiftingClient } from "./gifting.client--N1GaSY8.mjs";
2
+ import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
3
+ import { u as readChosenGiftAmounts } from "./gifting.parts-_mgGOcbA.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
5
+ import { t as GiftingClient } from "./gifting.client-CraWj4I4.mjs";
6
6
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";