@riverbankcms/sdk 0.182.0 → 0.183.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 (226) hide show
  1. package/CHANGELOG.md +79 -0
  2. package/README.md +49 -3
  3. package/dist/_dts/{BlocksIslandsHydrator-Bvw2bUif.d.ts → BlocksIslandsHydrator-X1_G96iN.d.ts} +1 -1
  4. package/dist/_dts/{Page-B2EAT-bE.d.ts → Page-CEqZJZEE.d.ts} +7 -7
  5. package/dist/_dts/{SdkPreviewMode-D0vww6rh.d.ts → SdkPreviewMode-DQejfbXL.d.ts} +2 -2
  6. package/dist/_dts/{client-D6T430bk.d.ts → client-B_B_amKD.d.ts} +2 -1
  7. package/dist/_dts/{content-types-wZVWccC6.d.ts → content-types-Dhx5Ocvx.d.ts} +9 -16
  8. package/dist/_dts/{contracts-B-vtOcr8.d.ts → contracts-FeOnfoa1.d.ts} +3 -3
  9. package/dist/_dts/{generatePageMetadata-CxfwHE6z.d.ts → generatePageMetadata-m70J6tit.d.ts} +2 -2
  10. package/dist/_dts/{index-CEyYMhLJ.d.ts → index-BOpUh8kO.d.ts} +1 -1
  11. package/dist/_dts/{index-DIU-wL1M.d.ts → index-Bizdaxji.d.ts} +2 -2
  12. package/dist/_dts/{index-Cqxis-nv.d.ts → index-BxCmCit0.d.ts} +1 -1
  13. package/dist/_dts/{index-CQrb3Ccc.d.ts → index-CjAkEWAp.d.ts} +4 -4
  14. package/dist/_dts/{index-DqPKdeTk.d.ts → index-iuFrbIjt.d.ts} +1 -1
  15. package/dist/_dts/{index-CciRW_w1.d.ts → index-liuhlOX7.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-D0wrxiSp.d.ts → loadContent-D4wrTIIw.d.ts} +7 -7
  17. package/dist/_dts/{request-DEwxUSw8.d.ts → request-Gn0O1blj.d.ts} +24912 -23733
  18. package/dist/_dts/{resolveBlockData-VaG_MYbN.d.ts → resolveBlockData-D5duwuqS.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DTwklC_v.d.ts → resolvePageContent-xzJ3c9Na.d.ts} +1 -1
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +7 -7
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  38. package/dist/_dts/sdk/src/portal/index.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 +2 -2
  50. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  51. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  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 +91 -2
  55. package/dist/_dts/{serviceBookingOutline-DtQuFlID.d.ts → serviceBookingOutline-B1gyJon_.d.ts} +7 -7
  56. package/dist/_dts/{types-B3RjeBLV.d.ts → types-BoITy0rA.d.ts} +41 -4
  57. package/dist/_dts/{types-BvUSGQrw.d.ts → types-DBNuMtSk.d.ts} +16 -5
  58. package/dist/_dts/{types-CkRFtBqd.d.ts → types-DHMcuoeQ.d.ts} +7 -7
  59. package/dist/_dts/{validation-BZA3DhcV.d.ts → validation-BIPO-XlE.d.ts} +4 -4
  60. package/dist/client/{BlocksIslandsHydrator-CQMf0HdN.mjs → BlocksIslandsHydrator-Ct8slgRk.mjs} +22 -18
  61. package/dist/client/{BookingMailingListNote-7kdvuPow.mjs → BookingMailingListNote-qqTxGGS4.mjs} +7 -7
  62. package/dist/client/{BookingQuestionFields-BJI7mZuV.mjs → BookingQuestionFields-DCh9MUIF.mjs} +2 -2
  63. package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-RcdaStG7.mjs} +1 -1
  64. package/dist/client/{CalendarNavigationChevron-DPUD6wjy.mjs → CalendarNavigationChevron-D7Wt-Oaa.mjs} +25 -8
  65. package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-BdGxZWeg.mjs} +1 -1
  66. package/dist/client/{DemoBookingPortalAccess-8kwNF9HN.mjs → DemoBookingPortalAccess-HFVkoOac.mjs} +5 -5
  67. package/dist/client/{EventCalendar.client-Dhb14bcC.mjs → EventCalendar.client-BtkJW8bA.mjs} +10 -10
  68. package/dist/client/{EventCombined.client-C1jEZBN9.mjs → EventCombined.client-DxaGjFFS.mjs} +9 -9
  69. package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-B2c5dR49.mjs} +1 -1
  70. package/dist/client/{EventItem-Bb0ppG2N.mjs → EventItem-Fr2qi2C2.mjs} +29 -14
  71. package/dist/client/{EventListWeekNavigation-DMryCaNV.mjs → EventListWeekNavigation-BRMaq0ky.mjs} +1 -1
  72. package/dist/client/{EventListing.client-BuH5kKA3.mjs → EventListing.client-BhGxfbjt.mjs} +3 -3
  73. package/dist/client/{EventListing.view-DsqvuulZ.mjs → EventListing.view-COuEJzbO.mjs} +6 -6
  74. package/dist/client/{EventRegistrationPayment-D4FvQSFF.mjs → EventRegistrationPayment-BTLYhVxD.mjs} +21 -42
  75. package/dist/client/{Page-sV6BJkXX.mjs → Page-CgbQZP5g.mjs} +2786 -927
  76. package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-BG7my0Qf.mjs} +1 -1
  77. package/dist/client/{SiteTermsAgreementField-VfSd6JU-.mjs → SiteTermsAgreementField-DQNkfNLA.mjs} +3 -3
  78. package/dist/client/{StepIndicator-B6o5B7g3.mjs → StepIndicator-DvPekKeM.mjs} +1 -1
  79. package/dist/client/{StepIndicator-BTqO7cJl.mjs → StepIndicator-DyXoI3ob.mjs} +7 -7
  80. package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-Bc9DBbVp.mjs} +42 -9
  81. package/dist/client/{accessibleSurfaces-BogaGutk.mjs → accessibleSurfaces-wj4Rloo5.mjs} +336 -119
  82. package/dist/client/{accordion-6cuswD_s.mjs → accordion-BVXfjnh-.mjs} +1 -1
  83. package/dist/client/{booking-form.client-BOMe_SKi.mjs → booking-form.client-DycPGtke.mjs} +191 -71
  84. package/dist/client/{bookingForm-DSCH-VHo.mjs → bookingForm-DrWSUqL3.mjs} +4 -4
  85. package/dist/client/bookings.mjs +5 -5
  86. package/dist/client/{boxStyleClassNames-BFuqZCfz.mjs → boxStyleClassNames-CduDRcIk.mjs} +2 -2
  87. package/dist/client/buttonParts-CJEtVOUy.mjs +1511 -0
  88. package/dist/client/{carousel-CGyQVV1M.mjs → carousel-DyCLMP8s.mjs} +2 -2
  89. package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DffP_Nv0.mjs} +1 -1
  90. package/dist/client/{cart-BYOe7MCh.mjs → cart-BuEp_cj4.mjs} +3 -3
  91. package/dist/client/{cart.client-BKFkaXdV.mjs → cart.client-CAO39uDG.mjs} +1 -1
  92. package/dist/client/{checkout-Dwd7Di77.mjs → checkout-BoxzT64s.mjs} +3 -3
  93. package/dist/client/{checkout.client-C25hpi-z.mjs → checkout.client-IGUy7XOx.mjs} +1 -1
  94. package/dist/client/{checkoutUrls-tG788sw0.mjs → checkoutUrls-D0UsiFmm.mjs} +1 -1
  95. package/dist/client/client.mjs +446 -93
  96. package/dist/client/{constants-DdxFG3Ic.mjs → constants-C_8AxMdm.mjs} +1 -1
  97. package/dist/client/{context-Hi1RuYEM.mjs → context-D1L0pe__.mjs} +2 -2
  98. package/dist/client/{dateFormatting-C8vBCHuo.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
  99. package/dist/client/{demoPortalMagicLink-BAL5UIDG.mjs → demoPortalMagicLink-BunFTnIq.mjs} +1 -1
  100. package/dist/client/{enhanceHeaderSection-Dv1Lr9kJ.mjs → enhanceHeaderSection-CtLAG651.mjs} +4 -4
  101. package/dist/client/{event-registration.client-dB_Z7bb-.mjs → event-registration.client-DiSxkBUP.mjs} +15 -15
  102. package/dist/client/{eventCalendar-CQnRA4Ww.mjs → eventCalendar-DUnhwZ1o.mjs} +4 -4
  103. package/dist/client/{eventCombined-BDOG1hVp.mjs → eventCombined-BvBQo0nF.mjs} +4 -4
  104. package/dist/client/{eventListing-DSVmhy9n.mjs → eventListing-aTLifOX7.mjs} +4 -4
  105. package/dist/client/{eventRegistration-CD5mRtEH.mjs → eventRegistration-DFd7pr09.mjs} +4 -4
  106. package/dist/client/{form-DWnlEVSK.mjs → form-Dikmc2AO.mjs} +3 -3
  107. package/dist/client/{form.client-D7zmeqNI.mjs → form.client-zHaQK5I9.mjs} +5 -5
  108. package/dist/client/{form.parts-C-G6N_MK.mjs → form.parts-BLl9n8TH.mjs} +3 -3
  109. package/dist/client/gifting/client.mjs +16 -9
  110. package/dist/client/{gifting-Cn0jidP5.mjs → gifting-CufPM38H.mjs} +4 -4
  111. package/dist/client/{gifting.client-DVo1YFLs.mjs → gifting.client--N1GaSY8.mjs} +155 -84
  112. package/dist/client/gifting.interactive-D9MK4HkV.mjs +157 -0
  113. package/dist/client/gifting.parts-CRtiRzo-.mjs +119 -0
  114. package/dist/client/{headerSection-DjQuj_6v.mjs → headerSection-BIaBpmk3.mjs} +2 -2
  115. package/dist/client/{noop-jesvJXEE.mjs → islands-DJDLGQEm.mjs} +14007 -6685
  116. package/dist/client/{newsletter-form.client-rIYPziZC.mjs → newsletter-form.client-wg_JHTxm.mjs} +6 -6
  117. package/dist/client/{newsletter-form.interactive-DVt3enLr.mjs → newsletter-form.interactive-hzpkW9NQ.mjs} +226 -195
  118. package/dist/client/{newsletter-form.parts-CH6dGfdn.mjs → newsletter-form.parts-CgzpSv9p.mjs} +2 -2
  119. package/dist/client/{newsletterForm-Cg8cBDHd.mjs → newsletterForm-CvxLiEBT.mjs} +3 -3
  120. package/dist/client/portal/client.mjs +31 -27
  121. package/dist/client/{portalOrders-oEoTvzkW.mjs → portalOrders-tCxS04g0.mjs} +3 -2
  122. package/dist/client/{portalRoutes-ByyVZfVq.mjs → portalRoutes-DTHlWg_F.mjs} +22 -7
  123. package/dist/client/{product-detail.client-5aHq-vuu.mjs → product-detail.client-22Q7zgjN.mjs} +1 -1
  124. package/dist/client/{product-list.client-CyAk5rnC.mjs → product-list.client-DFWYvK8z.mjs} +1 -1
  125. package/dist/client/{productDetail-B8aZ2mqY.mjs → productDetail-DhZAwo60.mjs} +3 -3
  126. package/dist/client/{productList-BuLemmod.mjs → productList-BiVpbZK2.mjs} +3 -3
  127. package/dist/client/{propsDecoder-0Unsqn3R.mjs → propsDecoder-DFYqKnLy.mjs} +4 -2
  128. package/dist/client/{registry.server-DzvtVVD0.mjs → registry.server-C3OBRg7x.mjs} +2027 -781
  129. package/dist/client/rendering/client.mjs +29 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +5 -5
  132. package/dist/client/{richText-coerce-Bnng7JFA.mjs → richText-coerce-ms477Z08.mjs} +2 -2
  133. package/dist/client/{routeIslandApiConfig-BGfcc9sk.mjs → routeIslandApiConfig-B6nQeqvH.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DAPVRToN.mjs → runtimeResponse-BYqsV1Kb.mjs} +1 -1
  135. package/dist/client/runtimeResponse-CUX_lldL.mjs +3 -0
  136. package/dist/client/{shop-commerce-D5bDY1o1.mjs → shop-commerce-DVsIcPaI.mjs} +16 -15
  137. package/dist/client/{shop-commerce-store-B7sHnLwI.mjs → shop-commerce-store-7mO6KY7_.mjs} +1 -1
  138. package/dist/client/{shop-discount-apply.state-Dos2zdC2.mjs → shop-discount-apply.state-L1Vge8tG.mjs} +2 -2
  139. package/dist/client/{shop-GuMqnDL-.mjs → shop-xt4dQ3HH.mjs} +3 -3
  140. package/dist/client/{shop.client-uvj5GDZb.mjs → shop.client-DNJfD3VQ.mjs} +28 -17
  141. package/dist/client/{shopShared-3giNWE3H.mjs → shopShared-DS8t6749.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/{src-CmXh3JWs.mjs → src-Do_s2lqH.mjs} +11 -18
  144. package/dist/client/{timetableModel-GA-hn1qM.mjs → timetableModel-Dy3nNfTG.mjs} +11 -8
  145. package/dist/client/{useAvailableSlots-CBneCxbG.mjs → useAvailableSlots-DcjtDpUu.mjs} +2 -2
  146. package/dist/client/{useDiscountCodeUi-D0kGF0C7.mjs → useDiscountCodeUi-DvdFFWOT.mjs} +1 -1
  147. package/dist/client/{useEventPagination-xX8n_Tuu.mjs → useEventPagination-Cq-7sU5_.mjs} +8 -8
  148. package/dist/client/{view-DOyZc-DF.mjs → view-4gnPcpWJ.mjs} +24 -9
  149. package/dist/client/{wizardSteps-B952ify5.mjs → wizardSteps-DDvL3iza.mjs} +76 -159
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CLqSRUpt.mjs} +1 -1
  151. package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-CIdAg-Tm.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-Bm85jX35.mjs} +2 -2
  153. package/dist/preview-next/client/{PageSectionToolbar-BI3UCdpu.mjs → PageSectionToolbar-D8srnz9R.mjs} +445 -18
  154. package/dist/preview-next/client/{PreviewEditorSidebar-jkfLVOgY.mjs → PreviewEditorSidebar-DVpk5cqp.mjs} +3864 -1943
  155. package/dist/preview-next/client/{PreviewEditorUI-DwJQs4hM.mjs → PreviewEditorUI-XoTtHSFH.mjs} +11 -36
  156. package/dist/preview-next/client/{PreviewShell-BAxAkuz8.mjs → PreviewShell-VQHsRg2u.mjs} +40 -35
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-0UVB-39f.mjs → SdkPreviewModeRuntime-CLdF9f6o.mjs} +12 -8
  158. package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-ORNN4x-3.mjs} +782 -16
  159. package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-eAi3tDAr.mjs} +11 -1
  160. package/dist/preview-next/client/{previewAssistantSlot-BgiYk3PB.mjs → previewAssistantSlot-CqH91EwA.mjs} +17988 -6757
  161. package/dist/preview-next/client/{previewChromeRoot-tieNdF3E.mjs → previewChromeRoot-B3ySEu6p.mjs} +3 -90
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/{sdk-runtime-DXb_Evl0.mjs → sdk-runtime-CdpSupcr.mjs} +2 -2
  164. package/dist/preview-next/client/{siteStyleAccess-BlN0jt2c.mjs → siteStyleAccess-C6eOP6QW.mjs} +35 -6
  165. package/dist/preview-next/client/{useAutosaveStatus-BUEPA4oL.mjs → useAutosaveStatus-BhPg4e-r.mjs} +49 -3
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BVfr5P--.mjs → useOpenBlockForSetup-BaWUF9D7.mjs} +2007 -448
  167. package/dist/preview-next/container-responsive.css +320 -0
  168. package/dist/preview-next/editor-chrome.css +23 -2
  169. package/dist/preview-next/keepAlive.mjs +1 -1
  170. package/dist/preview-next/middleware.mjs +1 -1
  171. package/dist/preview-next/{route-contract-BHTBA48n.mjs → route-contract-Ch0X99vE.mjs} +163 -17
  172. package/dist/server/{Block.shared-hGoyEdjJ.mjs → Block.shared-B2FmczLO.mjs} +5 -5
  173. package/dist/server/{ThemeScopeCore-BfUCTOwj.mjs → ThemeScopeCore-DtAyv9qA.mjs} +17 -7
  174. package/dist/server/{accessibleSurfaces-Dskni4Xj.mjs → accessibleSurfaces-BtPqb76u.mjs} +418 -31
  175. package/dist/server/{accordions-By_0Ykks.mjs → accordions-vzdZ2Wt1.mjs} +1 -1
  176. package/dist/server/{bindings-DMJH4bvo.mjs → bindings-B_9JuU66.mjs} +7 -7
  177. package/dist/server/{client-DrwlRNAH.mjs → client-DC7cjiSw.mjs} +469 -92
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +2 -2
  180. package/dist/server/{constants-CeMywaiD.mjs → constants-d6nPNJpe.mjs} +22 -6
  181. package/dist/server/{customCss-C9kgPHvr.mjs → customCss-rtIfEYwQ.mjs} +1 -18
  182. package/dist/server/data/resolveBlockData.mjs +1 -1
  183. package/dist/server/{expandPalette-ehuW8r2g.mjs → expandPalette-DxPrNOAB.mjs} +182 -90
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-D0prFflT.mjs → loadContent-hb27HYic.mjs} +11 -10
  186. package/dist/server/{loadPage-CBLke9pJ.mjs → loadPage-JToD8wDD.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-H0fi4bJk.mjs → lookMediaFrame-CTsycLLK.mjs} +94 -39
  188. package/dist/server/manifest.mjs +2 -2
  189. package/dist/server/{navigation-wrcuWmgp.mjs → navigation-B2WhGofA.mjs} +1 -1
  190. package/dist/server/navigation.mjs +1 -1
  191. package/dist/server/next.mjs +8 -8
  192. package/dist/server/{overrideResolution-DUgCEH8z.mjs → overrideResolution-vD5KTClL.mjs} +1 -1
  193. package/dist/server/page-converter.mjs +3 -3
  194. package/dist/server/{pageRenderPlan-BHrmogsW.mjs → pageRenderPlan-CdqJ1NQZ.mjs} +86 -97
  195. package/dist/server/{pageRuntimeSupport-D2-YMRei.mjs → pageRuntimeSupport-CAhr4oOf.mjs} +3 -3
  196. package/dist/server/{pageShared-CG8O31Eo.mjs → pageShared-m80Xu2pd.mjs} +429 -247
  197. package/dist/server/{parseThemeForPersistence-CrPlbJEN.mjs → parseThemeForPersistence-CRwOZfpa.mjs} +3 -3
  198. package/dist/server/{portal-pG_uhsI2.mjs → portal-B2wCQno_.mjs} +1 -1
  199. package/dist/server/portal.mjs +2 -2
  200. package/dist/server/{prebuild-C8Amvzce.mjs → prebuild-BWIkFaXq.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BxUETRIZ.mjs → prefetchBlockData-D1PHU-K9.mjs} +3 -3
  203. package/dist/server/{registry-Cc88-23f.mjs → registry-KtsOsAzY.mjs} +20113 -9774
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +9 -9
  209. package/dist/server/{resolveBlockData-OG3KOkig.mjs → resolveBlockData-sjIDJYl7.mjs} +1 -1
  210. package/dist/server/{schema-CwfxQjc4.mjs → schema-BBEqquBM.mjs} +44 -28
  211. package/dist/server/server.mjs +3 -3
  212. package/dist/server/{servicePageContent-BcFuhhD7.mjs → servicePageContent-ChEZDRwU.mjs} +37 -14
  213. package/dist/server/theme-bridge.mjs +3 -3
  214. package/dist/server/theme.mjs +2 -2
  215. package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-DKCIBeb1.mjs} +2 -2
  216. package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-DybHErxH.mjs} +4 -4
  217. package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
  218. package/dist/server/{types-BKaBZFjD.mjs → types-vyz09w64.mjs} +479 -8
  219. package/dist/server/{validation-BovmbS8N.mjs → validation-Cvi-1TZZ.mjs} +13 -9
  220. package/dist/server/{version-hws4hgyX.mjs → version-B-icAIV1.mjs} +1 -1
  221. package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
  222. package/dist/styles/index.css +2482 -108
  223. package/package.json +1 -1
  224. package/dist/client/gifting.parts-Bak93gD2.mjs +0 -86
  225. package/dist/client/runtimeResponse-nXT8VAMl.mjs +0 -3
  226. package/dist/client/types-BEaKfam_.mjs +0 -778
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { Kt as toError, Ot as buildEventRuntimeFilters, kt as getEventRuntimeFiltersKey, s as eventListingBlockRuntime } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
- import { Ft as calendarMonthDate, d as calendarQueryKey, f as calendarWindowBounds, h as planCalendarMonthRanges, l as calendarMonthKey, nn as formatDate, p as calendarWindowMonths$1, u as calendarPageResponseError, yn as getLocalScheduleDate } from "./src-CmXh3JWs.mjs";
4
- import { $o as groupEventsByDate, Bo as eventDateOptions, Lo as buildCalendarViewport, Qo as formatTime, Ro as eventCalendarWeekStart, no as getBlockApiReadStage } from "./wizardSteps-B952ify5.mjs";
5
- import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-DPUD6wjy.mjs";
6
- import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
7
- import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
8
- import { n as ThemedButton, x as clsx } from "./ThemedButton-PFOhXktM.mjs";
2
+ import { At as getEventRuntimeFiltersKey, kt as buildEventRuntimeFilters, qt as toError, s as eventListingBlockRuntime } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
3
+ import { Ft as calendarMonthDate, d as calendarQueryKey, f as calendarWindowBounds, h as planCalendarMonthRanges, l as calendarMonthKey, nn as formatDate, p as calendarWindowMonths$1, u as calendarPageResponseError, yn as getLocalScheduleDate } from "./src-Do_s2lqH.mjs";
4
+ import { $o as groupEventsByDate, Bo as eventDateOptions, Lo as buildCalendarViewport, Qo as formatTime, Ro as eventCalendarWeekStart, no as getBlockApiReadStage } from "./wizardSteps-DDvL3iza.mjs";
5
+ import { a as AgendaEventCard, c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, r as CalendarLoadFailure, s as combinedClassName, t as CalendarNavigationChevron, u as CalendarDayHeaders } from "./CalendarNavigationChevron-D7Wt-Oaa.mjs";
6
+ import { n as useBlockApi } from "./context-D1L0pe__.mjs";
7
+ import { d as listLookSlot } from "./islands-DJDLGQEm.mjs";
8
+ import { n as ThemedButton, x as clsx } from "./ThemedButton-Bc9DBbVp.mjs";
9
9
  import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-uwCpbHXG.mjs";
10
- import { u as eventDisplayTitleText } from "./EventItem-Bb0ppG2N.mjs";
10
+ import { u as eventDisplayTitleText } from "./EventItem-Fr2qi2C2.mjs";
11
11
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
12
12
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
13
- import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-xX8n_Tuu.mjs";
13
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-Cq-7sU5_.mjs";
14
14
  import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
15
15
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
16
16
  //#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
2
+ import { b as SpinnerNode, n as ThemedButton } from "./ThemedButton-Bc9DBbVp.mjs";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region \0rolldown/runtime.js
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { $t as resolveCardListSchedule, Sn as formatEventPrice, Xt as CardListContentPart, Zt as CardListLeadDate, en as selectCardListPresentation, tn as EventQuickFacts } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
- import { Bo as eventDateOptions, Go as formatEventCompactDateRail, Oo as getEventAvailabilityStatus, Qs as orderedLiveRunSessions, Xo as formatEventTimeRange, Zo as formatEventWeekdayTime, _o as resolveEventCta, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-B952ify5.mjs";
4
- import { i as listLookSlot, n as listItemPresentation } from "./noop-jesvJXEE.mjs";
5
- import { F as resolveOnColorForThemeToken, L as resolveTokenOrCssColorValue, P as isCssColorLiteral, it as pickBlackOrWhiteTextColor } from "./accessibleSurfaces-BogaGutk.mjs";
6
- import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
2
+ import { Cn as formatEventPrice, Qt as CardListLeadDate, Zt as CardListContentPart, en as resolveCardListSchedule, nn as EventQuickFacts, tn as selectCardListPresentation } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
3
+ import { $s as orderedLiveRunSessions, Bo as eventDateOptions, Go as formatEventCompactDateRail, Oo as getEventAvailabilityStatus, Xo as formatEventTimeRange, Zo as formatEventWeekdayTime, _o as resolveEventCta, vo as resolveEventPageLink, wo as formatEventRemainingPlaces } from "./wizardSteps-DDvL3iza.mjs";
4
+ import { d as listLookSlot, l as listItemPresentation } from "./islands-DJDLGQEm.mjs";
5
+ import { I as resolveTokenOrCssColorValue, N as isCssColorLiteral, P as resolveOnColorForThemeToken, rt as pickBlackOrWhiteTextColor } from "./accessibleSurfaces-wj4Rloo5.mjs";
6
+ import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-Bc9DBbVp.mjs";
7
7
  import React from "react";
8
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
9
9
  //#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
@@ -257,7 +257,7 @@ function eventItemFacts(props) {
257
257
  time,
258
258
  price,
259
259
  link: resolveEventPageLink(props.event),
260
- meta: eventItemMeta(props, {
260
+ metaParts: eventItemMetaParts(props, {
261
261
  time,
262
262
  price
263
263
  }),
@@ -272,7 +272,7 @@ function eventItemFacts(props) {
272
272
  };
273
273
  }
274
274
  /** Rows with a rail keep pricing in the details and time in the action rail. */
275
- function eventItemMeta(props, formatted) {
275
+ function eventItemMetaParts(props, formatted) {
276
276
  const parts = props.parts ?? eventItemParts[props.arrangement];
277
277
  const venue = props.showVenue !== false ? props.event.venue?.name : null;
278
278
  const teacher = formatEventTeacherLine(props.event);
@@ -287,8 +287,9 @@ function eventItemMeta(props, formatted) {
287
287
  time,
288
288
  teacher,
289
289
  venue
290
- ]).filter(Boolean).join(" · ");
290
+ ]).filter((part) => Boolean(part));
291
291
  }
292
+ const META_SEPARATOR = " · ";
292
293
  /**
293
294
  * Keep one RSC component boundary per item. Re-forwarding shared presentation
294
295
  * props through layout/part components multiplies React's development debug
@@ -422,20 +423,34 @@ function renderEventItemContentPart({ part, props, facts }) {
422
423
  case "action": return renderEventItemAction(props, facts);
423
424
  }
424
425
  }
426
+ /**
427
+ * Without the part slots the line is one run of text, as it always was. With them, each part and each
428
+ * separator is an element, so a skin can put a part on its own line or drop a separator that would dangle.
429
+ */
425
430
  function renderEventItemMeta({ props, facts }) {
426
431
  const places = (props.parts ?? eventItemParts[props.arrangement]).includes("places") ? null : facts.places;
427
- return facts.meta || places ? /* @__PURE__ */ jsxs("p", {
432
+ const { metaParts } = facts;
433
+ if (metaParts.length === 0 && !places) return null;
434
+ const slotted = props.lookSlots?.separator !== void 0;
435
+ const separator = (key) => slotted ? /* @__PURE__ */ jsx("span", {
436
+ ...listLookSlot(props, "separator"),
437
+ children: META_SEPARATOR
438
+ }, key) : META_SEPARATOR;
439
+ const line = slotted ? metaParts.map((part, index) => /* @__PURE__ */ jsxs(React.Fragment, { children: [index > 0 ? separator(`separator-${index}`) : null, /* @__PURE__ */ jsx("span", {
440
+ ...listLookSlot(props, "meta-part"),
441
+ children: part
442
+ })] }, `part-${index}`)) : metaParts.join(META_SEPARATOR);
443
+ return /* @__PURE__ */ jsxs("p", {
428
444
  ...listLookSlot(props, "item-meta"),
429
445
  children: [
430
446
  facts.venueIcon ? /* @__PURE__ */ jsx(MapPinIcon, {}) : null,
431
- facts.meta,
432
- facts.meta && places ? " · " : null,
433
- places ? /* @__PURE__ */ jsx("span", {
447
+ line,
448
+ places ? /* @__PURE__ */ jsxs(Fragment, { children: [metaParts.length > 0 ? separator("separator-places") : null, /* @__PURE__ */ jsx("span", {
434
449
  "data-event-places": true,
435
450
  children: places
436
- }) : null
451
+ })] }) : null
437
452
  ]
438
- }) : null;
453
+ });
439
454
  }
440
455
  function renderEventItemImage(props, link) {
441
456
  return /* @__PURE__ */ jsx(CardListContentPart, {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as listLookSlot } from "./noop-jesvJXEE.mjs";
2
+ import { d as listLookSlot } from "./islands-DJDLGQEm.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Ot as buildEventRuntimeFilters } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-DMryCaNV.mjs";
4
- import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-xX8n_Tuu.mjs";
2
+ import { kt as buildEventRuntimeFilters } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
3
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-BRMaq0ky.mjs";
4
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-Cq-7sU5_.mjs";
5
5
  import { useMemo } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { Sn as formatEventPrice, cn as groupEventsByWeek, ln as weekColumnDays, rn as MediaNodeServer, tn as EventQuickFacts } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
- import { $o as groupEventsByDate, Bo as eventDateOptions, Go as formatEventCompactDateRail, Jo as formatEventNextDateFact, Uo as formatDate, Vo as eventLocalDateKey, Xo as formatEventTimeRange, _o as resolveEventCta, fo as eventVenuePlace, go as resolveEventCardBooking, ts as ImagePresets, uc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, vo as resolveEventPageLink } from "./wizardSteps-B952ify5.mjs";
4
- import { i as listLookSlot, n as listItemPresentation } from "./noop-jesvJXEE.mjs";
5
- import { r as boxStyleClassNames } from "./boxStyleClassNames-BFuqZCfz.mjs";
6
- import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
7
- import { c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-Bb0ppG2N.mjs";
2
+ import { Cn as formatEventPrice, in as MediaNodeServer, ln as groupEventsByWeek, nn as EventQuickFacts, un as weekColumnDays } from "./newsletter-form.interactive-hzpkW9NQ.mjs";
3
+ import { $o as groupEventsByDate, Bo as eventDateOptions, Go as formatEventCompactDateRail, Jo as formatEventNextDateFact, Uo as formatDate, Vo as eventLocalDateKey, Xo as formatEventTimeRange, _o as resolveEventCta, dc as EVENT_ADDRESS_AFTER_BOOKING_LABEL, fo as eventVenuePlace, go as resolveEventCardBooking, ts as ImagePresets, vo as resolveEventPageLink } from "./wizardSteps-DDvL3iza.mjs";
4
+ import { d as listLookSlot, l as listItemPresentation } from "./islands-DJDLGQEm.mjs";
5
+ import { r as boxStyleClassNames } from "./boxStyleClassNames-CduDRcIk.mjs";
6
+ import { f as ClockIcon, r as ThemedButtonLink } from "./ThemedButton-Bc9DBbVp.mjs";
7
+ import { c as MapPinIcon, d as formatCourseDatesAfter, f as formatCourseSessions, l as eventDisplayTitle, m as formatEventTeacherLine, o as eventCategoryBadge, r as EventItem, s as CalendarIcon } from "./EventItem-Fr2qi2C2.mjs";
8
8
  import "react";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
@@ -1,19 +1,19 @@
1
1
  "use client";
2
2
  import { m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
3
- import { An as formatCurrencyAmount, St as roomChoicesSchema, dn as inferSiteDateLocale, t as assertNever, wn as resolveBookingBusinessTimeZone, xt as reviewedRoomsSchema } from "./src-CmXh3JWs.mjs";
4
- import { $n as serverPricedTotalCents, $s as resolveWholeSeriesBookingPhase, $t as toWholeSeriesRegistrationEvents, A as ownCoverPaysEveryDate, Ar as normalizeTicketSelectionLines, At as resolveEventRequiresPayment, Bs as eventRegistrationRefusalMessage, Bt as defaultTicketOptions, C as currentSelectionFundingLookup, Cn as primarySelectionItem, Cr as withRegistrationAvailability, Ct as beginWaitlistInvitation, D as fundingOptionPick, Dt as buildRegistrationSelectionRequest, E as fundingOptionKey, Et as withOfferedEvent, F as selectionFundingRequest, Ft as validateFormData, G as planRegistrationDetailsContinuation, Gn as combinationHintCopy, Gt as selectRoomOffer, H as getTicketSelectionPurpose, Hn as severalRunsChoiceMessage, Hs as planCheckoutPaymentFlow, Ht as presentRoomChooser, I as buildEventRegistrationPaymentOptionsViewModel, Is as decideSelectionAttendance, J as resolveRegistrationAdmission, Jn as combinationWorking, Ks as getStripeMinimumChargeRequirement, Kt as isSameWaitlistClaim, L as buildSelectionCollectionOptions, Lt as bookingLines, M as selectionFundingBasis, Mt as resolveRouteRequiresPayment, N as selectionFundingFetchWanted, Ni as groupPublicEventsByRun, Nn as selectionIncludes, Nt as toRegistrationRequestSubject, O as initialSelectionFundingLookup, P as selectionFundingReducer, Pn as selectionItemPrice, Pt as registrationQuestionsMessage, Q as visitorHoldsOwnPlace, Qn as selectionPreviewLines, Qs as orderedLiveRunSessions, R as decideEventRegistrationPayment, Rs as eventRegistrationErrorEndsCommand, Rt as dayOptionsOf, S as chosenFundingOption, Sn as planSelectionPrice, Sr as shouldLoadRegistrationOptions, St as entryStart, T as fundingMoneyDates, Tr as getSingleSelectedPricingOptionId, Tt as invitationBooking, Un as summariseSelectionPayment, Ut as roomChoiceMessage, Vn as severalItemsOf, Vs as parseEventRegistrationErrorReason, Vt as isRoomChoiceRefusal, W as planRegistrationDetailsCheck, Wn as toggleSelectionItem, Wr as appliedDiscountHint, Wt as roomSubmission, X as resolveRegistrationTicketContinuation, Xn as selectionCombinationHint, Xt as getRegistrationStartAt, Yn as paymentCaption, Zr as formatCommercePrice, Zt as toRegistrationEvents, _ as pickCollections, _c as publicEventPricingCurrency, _r as getSlidingScaleForEvent, _t as bookingOccurrenceContext, a as registrationPresentation, an as buildSelectionRequirementsSubmission, ao as leavePage, b as selectionPaysNothing, ba as formatPrice, bi as resolveEventRegistrationScopedEvents, bn as effectiveSelection, br as parseCurrencyInputToCents, bt as entryPageEvent, cn as deriveRunRequirements, cr as getPortalSubjectEmail, ct as calculateEventRegistrationPreviewTotal, d as decideEventChoice, dn as runsKeepingAnswers, dt as paymentChoiceDetails, en as EVENT_SIGN_IN_FORM_ID, er as findSelectedTicketType, f as isRegistrationLocked, fi as closedDatesCopy, fn as toRunRequirementsSnapshots, fr as transformRegistrationOptionsResponse, ft as paymentChoicePrice, g as paymentOptionFor, gr as getRegistrationOccurrenceId, gt as restorableBrowserDraftCode, h as moneyCollections, ha as needsBookingQuestionsRefresh, hi as closedDateCopy, hn as ATTENDANCE_CHOICE_MESSAGE, hr as getCurrentTicketSelection, ht as registrationBrowserDraftSchema, i as registrationPaymentRoute, in as toEventSignInDraft, j as selectionDatesQuote, jt as resolveRegistrationTarget, k as lookupChosenOption, kr as hasValidPricingOptionSelection, kt as resolveDiscountContext, ln as nextRunToRead, m as collectionsOf, ma as deriveBookingQuestions, mn as paymentReturnRestoration, mt as registrationBrowserDraft, nn as eventSignInEnds, nt as resolveEventRegistrationSubmitPlan, o as registrationRoute, on as checkRunRequirements, p as registrationFlowReducer, pi as closedRunCopy, pn as withoutKeptAnswers, q as resolveGuestNextStepCheck, qn as combinationOffersOf, qt as toWaitlistClaimResolveFailure, rc as resolveBookingSignupOffer, rn as eventSignInRestoration, ro as PAGE_NAVIGATION, sn as decideSelectionRequirementsLayout, so as requestSignIn, sr as getImplicitSingleTicketType, tn as eventSignInDraftStore, tr as formatBookingWhen, u as createInitialRegistrationFlowState, un as runFieldErrors, ur as getVisibleTicketTypes, v as runsSelectionPaymentRequest, va as toBookingQuestionsPaymentSnapshot, vn as attendanceChoicePending, vr as getSlidingScaleSelectionMessage, vt as decideRegistrationEntry, w as fundingChoice, wn as quoteReductions, wt as invitationSubmission, x as cardStepServesDates, xn as incompleteRunChoiceMessage, xr as resolveHeldTicketPlaces, xt as entrySelectionMode, y as selectionItemLabels, yi as resolveEventRegistrationChoices, yn as canToggleSelectionItem, yr as getTicketSelectionRemainingPlaces, yt as entryChoosesEvent, zn as selectionTicketInputs, zs as eventRegistrationErrors, zt as decideRoomStay } from "./wizardSteps-B952ify5.mjs";
5
- import { i as portalPath } from "./portalRoutes-ByyVZfVq.mjs";
3
+ import { An as formatCurrencyAmount, St as roomChoicesSchema, dn as inferSiteDateLocale, t as assertNever, wn as resolveBookingBusinessTimeZone, xt as reviewedRoomsSchema } from "./src-Do_s2lqH.mjs";
4
+ import { $n as serverPricedTotalCents, $s as orderedLiveRunSessions, $t as toWholeSeriesRegistrationEvents, A as ownCoverPaysEveryDate, Ar as normalizeTicketSelectionLines, At as resolveEventRequiresPayment, Bs as eventRegistrationErrors, Bt as defaultTicketOptions, C as currentSelectionFundingLookup, Ca as toBookingQuestionsPaymentSnapshot, Cn as primarySelectionItem, Cr as withRegistrationAvailability, Ct as beginWaitlistInvitation, D as fundingOptionPick, Dt as buildRegistrationSelectionRequest, E as fundingOptionKey, Ea as formatPrice, Et as withOfferedEvent, F as selectionFundingRequest, Ft as validateFormData, G as planRegistrationDetailsContinuation, Gn as combinationHintCopy, Gt as selectRoomOffer, H as getTicketSelectionPurpose, Hn as severalRunsChoiceMessage, Hs as parseEventRegistrationErrorReason, Ht as presentRoomChooser, I as buildEventRegistrationPaymentOptionsViewModel, J as resolveRegistrationAdmission, Jn as combinationWorking, Kt as isSameWaitlistClaim, L as buildSelectionCollectionOptions, Ls as decideSelectionAttendance, Lt as bookingLines, M as selectionFundingBasis, Mt as resolveRouteRequiresPayment, N as selectionFundingFetchWanted, Ni as groupPublicEventsByRun, Nn as selectionIncludes, Nt as toRegistrationRequestSubject, O as initialSelectionFundingLookup, P as selectionFundingReducer, Pn as selectionItemPrice, Pt as registrationQuestionsMessage, Q as visitorHoldsOwnPlace, Qn as selectionPreviewLines, R as decideEventRegistrationPayment, Rt as dayOptionsOf, S as chosenFundingOption, Sn as planSelectionPrice, Sr as shouldLoadRegistrationOptions, St as entryStart, T as fundingMoneyDates, Tr as getSingleSelectedPricingOptionId, Tt as invitationBooking, Un as summariseSelectionPayment, Us as planCheckoutPaymentFlow, Ut as roomChoiceMessage, Vn as severalItemsOf, Vs as eventRegistrationRefusalMessage, Vt as isRoomChoiceRefusal, W as planRegistrationDetailsCheck, Wn as toggleSelectionItem, Wr as appliedDiscountHint, Wt as roomSubmission, X as resolveRegistrationTicketContinuation, Xn as selectionCombinationHint, Xt as getRegistrationStartAt, Yn as paymentCaption, Zr as formatCommercePrice, Zt as toRegistrationEvents, _ as pickCollections, _r as getSlidingScaleForEvent, _t as bookingOccurrenceContext, a as registrationPresentation, an as buildSelectionRequirementsSubmission, ao as leavePage, b as selectionPaysNothing, ba as needsBookingQuestionsRefresh, bi as resolveEventRegistrationScopedEvents, bn as effectiveSelection, br as parseCurrencyInputToCents, bt as entryPageEvent, cn as deriveRunRequirements, cr as getPortalSubjectEmail, ct as calculateEventRegistrationPreviewTotal, d as decideEventChoice, dn as runsKeepingAnswers, dt as paymentChoiceDetails, ec as resolveWholeSeriesBookingPhase, en as EVENT_SIGN_IN_FORM_ID, er as findSelectedTicketType, f as isRegistrationLocked, fi as closedDatesCopy, fn as toRunRequirementsSnapshots, fr as transformRegistrationOptionsResponse, ft as paymentChoicePrice, g as paymentOptionFor, gr as getRegistrationOccurrenceId, gt as createBookingBrowserDraftStore, h as moneyCollections, hi as closedDateCopy, hn as ATTENDANCE_CHOICE_MESSAGE, hr as getCurrentTicketSelection, ht as restorableBrowserDraftCode, i as registrationPaymentRoute, ic as resolveBookingSignupOffer, in as toEventSignInDraft, j as selectionDatesQuote, jt as resolveRegistrationTarget, k as lookupChosenOption, kr as hasValidPricingOptionSelection, kt as resolveDiscountContext, ln as nextRunToRead, m as collectionsOf, ma as bookingQuestionsOwnerOf, mn as paymentReturnRestoration, mt as registrationBrowserDraftSchema, nn as eventSignInEnds, nt as resolveEventRegistrationSubmitPlan, o as registrationRoute, on as checkRunRequirements, p as registrationFlowReducer, pi as closedRunCopy, pn as withoutKeptAnswers, pt as registrationBrowserDraft, q as resolveGuestNextStepCheck, qn as combinationOffersOf, qs as getStripeMinimumChargeRequirement, qt as toWaitlistClaimResolveFailure, rn as eventSignInRestoration, ro as PAGE_NAVIGATION, sn as decideSelectionRequirementsLayout, so as requestSignIn, sr as getImplicitSingleTicketType, tn as eventSignInDraftStore, tr as formatBookingWhen, u as createInitialRegistrationFlowState, un as runFieldErrors, ur as getVisibleTicketTypes, v as runsSelectionPaymentRequest, va as deriveBookingQuestions, vc as publicEventPricingCurrency, vn as attendanceChoicePending, vr as getSlidingScaleSelectionMessage, vt as decideRegistrationEntry, w as fundingChoice, wn as quoteReductions, wt as invitationSubmission, x as cardStepServesDates, xn as incompleteRunChoiceMessage, xr as resolveHeldTicketPlaces, xt as entrySelectionMode, y as selectionItemLabels, ya as isBookingQuestionsOwner, yi as resolveEventRegistrationChoices, yn as canToggleSelectionItem, yr as getTicketSelectionRemainingPlaces, yt as entryChoosesEvent, zn as selectionTicketInputs, zs as eventRegistrationErrorEndsCommand, zt as decideRoomStay } from "./wizardSteps-DDvL3iza.mjs";
5
+ import { i as portalPath } from "./portalRoutes-DTHlWg_F.mjs";
6
6
  import { c as checkBookingQuestionsAnswered } from "./bookingCalendar--aWnqFDn.mjs";
7
- import { i as useSiteTermsAgreement, r as siteTermsFailureKind } from "./SiteTermsAgreementField-VfSd6JU-.mjs";
7
+ import { i as useSiteTermsAgreement, r as siteTermsFailureKind } from "./SiteTermsAgreementField-DQNkfNLA.mjs";
8
8
  import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
9
- import { s as indefiniteArticle } from "./BookingQuestionFields-BJI7mZuV.mjs";
10
- import { i as BlockApiError, n as useBlockApi } from "./context-Hi1RuYEM.mjs";
11
- import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, r as paidInFullNote, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-DdxFG3Ic.mjs";
9
+ import { s as indefiniteArticle } from "./BookingQuestionFields-DCh9MUIF.mjs";
10
+ import { i as BlockApiError, n as useBlockApi } from "./context-D1L0pe__.mjs";
11
+ import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, r as paidInFullNote, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-C_8AxMdm.mjs";
12
12
  import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
13
- import { i as discountEmailProblem } from "./DemoBookingPortalAccess-8kwNF9HN.mjs";
14
- import { c as parseBookingSubmissionFailure, d as useSignInReturn, f as useBookingQuestionsRefresh, l as useBookingNowIso, s as usePolling, u as portalSessionIdentity } from "./BookingMailingListNote-7kdvuPow.mjs";
15
- import { t as useDiscountCodeUi } from "./useDiscountCodeUi-D0kGF0C7.mjs";
16
- import { s as storeDemoBookingPass } from "./demoPortalMagicLink-BAL5UIDG.mjs";
13
+ import { i as discountEmailProblem } from "./DemoBookingPortalAccess-HFVkoOac.mjs";
14
+ import { c as parseBookingSubmissionFailure, d as useSignInReturn, f as useBookingQuestionsRefresh, l as useBookingNowIso, s as usePolling, u as portalSessionIdentity } from "./BookingMailingListNote-qqTxGGS4.mjs";
15
+ import { t as useDiscountCodeUi } from "./useDiscountCodeUi-DvdFFWOT.mjs";
16
+ import { s as storeDemoBookingPass } from "./demoPortalMagicLink-BunFTnIq.mjs";
17
17
  import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
18
18
  import { jsx } from "react/jsx-runtime";
19
19
  import { z } from "zod";
@@ -455,36 +455,10 @@ function receiveHandOff(outcome, receive) {
455
455
  //#region ../blocks/src/system/runtime/nodes/event-registration/sessionStorage.ts
456
456
  const STORAGE_PREFIX = "riverbank:event-registration:";
457
457
  const STALE_THRESHOLD_MS = 1440 * 60 * 1e3;
458
- const browserDraftEntry = z.object({
459
- version: z.literal(1),
460
- timestamp: z.number().finite(),
461
- draft: registrationBrowserDraftSchema
462
- });
463
- /** This tab's unfinished form is scoped to the site and booking surface, not a checkout attempt. */
464
- function saveRegistrationBrowserDraft(scope, draft) {
465
- try {
466
- const entry = browserDraftEntry.parse({
467
- version: 1,
468
- timestamp: Date.now(),
469
- draft
470
- });
471
- sessionStorage.setItem(`riverbank:event-draft:${scope}`, JSON.stringify(entry));
472
- } catch {}
473
- }
474
- function getRegistrationBrowserDraft(scope) {
475
- try {
476
- const stored = sessionStorage.getItem(`riverbank:event-draft:${scope}`);
477
- const entry = browserDraftEntry.safeParse(stored ? JSON.parse(stored) : null);
478
- if (entry.success && Date.now() - entry.data.timestamp <= 108e5) return entry.data.draft;
479
- clearRegistrationBrowserDraft(scope);
480
- } catch {}
481
- return null;
482
- }
483
- function clearRegistrationBrowserDraft(scope) {
484
- try {
485
- sessionStorage.removeItem(`riverbank:event-draft:${scope}`);
486
- } catch {}
487
- }
458
+ const browserDraftStore = createBookingBrowserDraftStore("riverbank:event-draft:", registrationBrowserDraftSchema);
459
+ const saveRegistrationBrowserDraft = browserDraftStore.save;
460
+ const getRegistrationBrowserDraft = browserDraftStore.read;
461
+ const clearRegistrationBrowserDraft = browserDraftStore.clear;
488
462
  const paymentSelection = z.discriminatedUnion("method", [
489
463
  z.object({ method: z.literal("free") }),
490
464
  z.object({
@@ -648,7 +622,12 @@ function useRegistrationBrowserDraft(input) {
648
622
  /** Called once the code is known, which is later in the wizard than the restore above. */
649
623
  function useSaveRegistrationBrowserDraft(input) {
650
624
  const { ready } = input;
625
+ const owner = useRef(bookingQuestionsOwnerOf(input.identity));
651
626
  useEffect(() => {
627
+ if (!isBookingQuestionsOwner(owner.current, input.identity)) {
628
+ clearRegistrationBrowserDraft(input.scope);
629
+ return;
630
+ }
652
631
  if (!ready) return;
653
632
  if (input.flow.step === "success" || input.flow.step === "payment") {
654
633
  clearRegistrationBrowserDraft(input.scope);
@@ -5248,7 +5227,7 @@ function availableCreditCents(state, currency) {
5248
5227
  }
5249
5228
  //#endregion
5250
5229
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
5251
- const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-BGkbUhuw.mjs"));
5230
+ const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-B2c5dR49.mjs"));
5252
5231
  /** The one Stripe mount, shared by the standard wizard and headless arrangements. */
5253
5232
  function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
5254
5233
  if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {