@riverbankcms/sdk 0.171.1 → 0.173.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 (220) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-ZlNEIvlU.d.ts} +1002 -140
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DBXPNc0h.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Sua-7CF1.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-B3gfKNI-.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-DScYSl03.d.ts → index-DutLU2d2.d.ts} +49 -38
  15. package/dist/_dts/{index-BQPJbOkU.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-Bysk4QPI.d.ts} +2862 -508
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
  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 +6 -6
  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/index.d.ts +8 -8
  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 +6 -2
  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/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
  53. package/dist/_dts/{types-JD-36x3P.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-BCzfYDW2.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-LHQMODqB.mjs} +14 -8
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-BewbU_cV.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +42 -35
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +23 -23
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-CaI6upCX.mjs} +12 -11
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-CoRUaYHY.mjs} +12 -11
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-Doe4KodB.mjs} +60 -25
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BmfyK7S5.mjs} +220 -81
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +847 -146
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-CdRPU6gp.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-D46Dmr7b.mjs} +1976 -532
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CrSZCZn1.mjs} +83 -12
  77. package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
  79. package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-D4DhWo9j.mjs} +37 -38
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-P8xcfKxq.mjs} +1 -1
  81. package/dist/client/bookability-SargNwlO.mjs +17 -0
  82. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-BM2s-NqR.mjs} +33 -29
  83. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  86. package/dist/client/{carousel-DeI76SEP.mjs → carousel-CQQ_m0KA.mjs} +2 -2
  87. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  88. package/dist/client/{cart-D_uxULCO.mjs → cart-0Q4fjw_K.mjs} +3 -3
  89. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  90. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-1J-3ftxF.mjs} +3 -3
  91. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  93. package/dist/client/client.mjs +183 -4
  94. package/dist/client/{context-Dzjv2CpA.mjs → context-D0KCgbOq.mjs} +94 -14
  95. package/dist/client/course-CmOuoZHN.mjs +237 -0
  96. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  97. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  98. package/dist/client/{display-ChgDe9Da.mjs → display-lL-YRApN.mjs} +4460 -888
  99. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +139 -16
  100. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  101. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-GuuElczW.mjs} +1316 -554
  102. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  103. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  104. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  105. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  106. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  107. package/dist/client/{form-ERv_X_oZ.mjs → form-DO6qKH3M.mjs} +3 -3
  108. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D12ljYiX.mjs} +4 -4
  109. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-C8QHaQOI.mjs} +3 -3
  110. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  111. package/dist/client/gifting/client.mjs +3 -3
  112. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  113. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs} +5 -5
  114. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs} +2 -2
  115. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  116. package/dist/client/{noop-poI1m2yW.mjs → noop-CN0o0yjH.mjs} +131 -12
  117. package/dist/client/portal/client.mjs +231 -117
  118. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  119. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  120. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  121. package/dist/client/{productList-HoFGQXFl.mjs → productList-CMx4-XlG.mjs} +3 -3
  122. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  123. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cdot3dMk.mjs} +2705 -2397
  124. package/dist/client/rendering/client.mjs +27 -27
  125. package/dist/client/rendering/islands.mjs +1 -1
  126. package/dist/client/rendering.mjs +38 -63
  127. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  128. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  129. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  130. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  131. package/dist/client/{shop-DXyeSNgi.mjs → shop-Cy6xXDM7.mjs} +3 -3
  132. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-oDR76k1q.mjs} +13 -12
  133. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  134. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  135. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-Brha4BSM.mjs} +13 -12
  136. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-CXhYl0DW.mjs} +218 -89
  137. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  140. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-CZeJwMxP.mjs} +11 -11
  141. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  142. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  143. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  144. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  145. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-CCAGQHsD.mjs} +6 -6
  146. package/dist/client/{view-DhEwiTJG.mjs → view-D6yebI4r.mjs} +223 -65
  147. package/dist/client/{view-C_brMDU2.mjs → view-Sw075FOY.mjs} +3 -3
  148. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  149. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  150. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  151. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-DG2rXUmo.mjs} +48 -36
  152. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +113 -416
  153. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI-CqZCfOaz.mjs} +5 -5
  154. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  155. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  156. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bv2HZ7JY.mjs} +313 -64
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +300 -174
  158. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +3246 -1079
  159. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  160. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  161. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-La6MerV_.mjs} +11994 -6013
  162. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  163. package/dist/preview-next/client/runtime.mjs +5 -4
  164. package/dist/preview-next/client/sdk-runtime-BkckHox4.mjs +6 -0
  165. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CPAHgGqI.mjs} +2 -2
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +20 -8
  167. package/dist/preview-next/container-responsive.css +215 -4
  168. package/dist/preview-next/keepAlive.mjs +1 -1
  169. package/dist/preview-next/middleware.mjs +1 -1
  170. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-CPV30ABr.mjs} +179 -0
  171. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  172. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  173. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  174. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Dge4sqel.mjs} +109 -20
  175. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  176. package/dist/server/{client-DCwLR0kQ.mjs → client-VVIQjC4r.mjs} +183 -4
  177. package/dist/server/config-template-validation.mjs +3 -0
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +3 -3
  180. package/dist/server/data/resolveBlockData.mjs +1 -1
  181. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  182. package/dist/server/index.mjs +4 -4
  183. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-BIJb3WAK.mjs} +19 -15
  184. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-DjTU19y7.mjs} +2 -2
  185. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  186. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  187. package/dist/server/navigation.mjs +1 -1
  188. package/dist/server/next.mjs +6 -6
  189. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  190. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +1 -1
  192. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-CytPhrI9.mjs} +1084 -351
  193. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +4 -3
  194. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-Bhx8bVe1.mjs} +1187 -902
  195. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +2 -2
  196. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  197. package/dist/server/prebuild.mjs +1 -1
  198. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  199. package/dist/server/{registry-CaeRTf4E.mjs → registry-BMCfcev6.mjs} +10282 -7366
  200. package/dist/server/rendering/components/pageShared.mjs +1 -1
  201. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  202. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  203. package/dist/server/rendering/server.mjs +3 -3
  204. package/dist/server/rendering.mjs +8 -8
  205. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData--yUbI-Ll.mjs} +2 -2
  206. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  207. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  208. package/dist/server/{schema-CxBsE9Dv.mjs → schema-D5Vfmqzw.mjs} +396 -2
  209. package/dist/server/server.mjs +3 -3
  210. package/dist/server/theme-bridge.mjs +2 -2
  211. package/dist/server/theme.mjs +2 -2
  212. package/dist/server/{validation-CvmhnkDr.mjs → validation-EgTtnTcY.mjs} +5 -5
  213. package/dist/server/{version-Clp2evCf.mjs → version-LjgU0Cq1.mjs} +1 -1
  214. package/dist/styles/index.css +1434 -15
  215. package/package.json +1 -1
  216. package/dist/client/cta-CP9l112u.mjs +0 -121
  217. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  218. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  219. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
  220. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
2
+ import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
@@ -1,11 +1,12 @@
1
1
  "use client";
2
- import { I as resolveEventRegistrationEventSource, ot as closedRunCopy } from "./shop.interactive-C0IjiWOs.mjs";
3
- import { Bi as resolveEventRegistrationScopedEvents, Ln as eventDateOptions, _n as bookingPresentation, as as orderedLiveRunSessions, lr as groupPublicEventsByRun, os as resolveWholeSeriesBookingPhase, rs as firstLiveRunSessionStartMs, zi as normalizeEventRegistrationPageSurfaceSubject } from "./display-ChgDe9Da.mjs";
4
- import { Ft as formatDate, in as toUtcIsoDateTimeString } from "./noop-poI1m2yW.mjs";
2
+ import { I as resolveEventRegistrationEventSource, ct as closedRunCopy } from "./shop.interactive-CXhYl0DW.mjs";
3
+ import { Ia as normalizeEventRegistrationPageSurfaceSubject, La as resolveEventRegistrationScopedEvents, Nr as eventDateOptions, cc as firstLiveRunSessionStartMs, dc as resolveWholeSeriesBookingPhase, oi as groupPublicEventsByRun, pr as bookingPresentation, uc as orderedLiveRunSessions } from "./display-lL-YRApN.mjs";
4
+ import { Rt as formatDate, sn as toUtcIsoDateTimeString } from "./noop-CN0o0yjH.mjs";
5
5
  import { N as assertNever } from "./creditProducts-BTRX4edc.mjs";
6
- import { r as boxStyleClassNames } from "./boxStyleClassNames-7MVCNWgc.mjs";
7
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
8
- import { n as StepIndicator$1, t as BookingPanelArrangement } from "./BookingPanelArrangement-wm6eeuin.mjs";
6
+ import { r as boxStyleClassNames } from "./boxStyleClassNames-Cahps5kR.mjs";
7
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
8
+ import { t as isBookableEvent } from "./bookability-SargNwlO.mjs";
9
+ import { n as StepIndicator$1, t as BookingPanelArrangement } from "./BookingPanelArrangement-Be704P85.mjs";
9
10
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
10
11
  import React from "react";
11
12
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -29,10 +30,18 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
29
30
  * booking.
30
31
  */
31
32
  function planWholeSeriesParentBooking(eligibleRuns) {
32
- const [first, ...rest] = eligibleRuns;
33
- return rest.length === 0 ? {
33
+ const [first, second, ...rest] = eligibleRuns;
34
+ if (!second) return {
34
35
  kind: "single",
35
36
  run: first
37
+ };
38
+ return eligibleRuns.every((group) => group.representative.allowsMultipleBooking) ? {
39
+ kind: "bookTogether",
40
+ runs: [
41
+ first,
42
+ second,
43
+ ...rest
44
+ ]
36
45
  } : {
37
46
  kind: "choice",
38
47
  runs: eligibleRuns
@@ -42,6 +51,45 @@ function isOrdinaryPublicEvent(event) {
42
51
  return event.bookingScope === "single_occurrence";
43
52
  }
44
53
  /**
54
+ * What a series' own page shows when its URL names no date.
55
+ *
56
+ * Two or more dates a visitor can book make a choice: the page lists every
57
+ * date whose booking is open and lets the visitor pick, so a full date still
58
+ * shows as full rather than vanishing. One bookable date isn't a choice, so the
59
+ * page books that date. With none, the first date speaks for the page and shows
60
+ * its own full or closed state.
61
+ *
62
+ * The caller passes every date it read for the series, not the cards a listing
63
+ * happened to show, so the one-date shortcut is decided on the complete set.
64
+ * "Has places" isn't enough on its own: only a date whose booking is open
65
+ * counts, and a drop-in date never does.
66
+ */
67
+ function planOrdinarySeriesSelection(events) {
68
+ const ordinary = events.filter(isOrdinaryPublicEvent);
69
+ const firstSeriesId = ordinary[0]?.seriesId;
70
+ if (!firstSeriesId || ordinary.some((event) => event.seriesId !== firstSeriesId)) return null;
71
+ const [first, second] = ordinary.filter(isBookableEvent);
72
+ if (first && second) {
73
+ const [a, b, ...rest] = [...ordinary].filter(isOpenForBooking).sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
74
+ if (a && b) return {
75
+ kind: "dateChoice",
76
+ dates: [
77
+ a,
78
+ b,
79
+ ...rest
80
+ ]
81
+ };
82
+ }
83
+ const event = first ?? ordinary[0];
84
+ return event ? {
85
+ kind: "occurrence",
86
+ event
87
+ } : null;
88
+ }
89
+ function isOpenForBooking(event) {
90
+ return event.requiresRegistration && event.bookingAvailability.kind === "open";
91
+ }
92
+ /**
45
93
  * Whether a parent Event page advertises this run.
46
94
  *
47
95
  * Visibility admission belongs to the scoped public read. Active, still-open
@@ -154,6 +202,7 @@ function planWholeSeriesRunSelection(input) {
154
202
  function selectionRepresentativeEvent(selection) {
155
203
  switch (selection.kind) {
156
204
  case "occurrence": return selection.event;
205
+ case "dateChoice": return selection.dates[0];
157
206
  case "wholeSeriesParent": return selection.eligibleRuns[0].representative;
158
207
  case "wholeSeriesParentUnavailable": return selection.informationalRun.representative;
159
208
  case "wholeSeriesRun": return selection.run.representative;
@@ -169,6 +218,7 @@ function resolveSelectionBookingClosedDetail(selection) {
169
218
  switch (selection.kind) {
170
219
  case "occurrence": return selection.event.bookingClosedDetail ?? null;
171
220
  case "wholeSeriesRun": return selection.run.representative.bookingClosedDetail ?? null;
221
+ case "dateChoice":
172
222
  case "wholeSeriesParent": return null;
173
223
  case "wholeSeriesParentUnavailable": return selection.bookingClosedDetail;
174
224
  }
@@ -392,6 +442,7 @@ function selectPagePanel(source, events) {
392
442
  eventSeriesId: source.subject.eventSeriesId,
393
443
  events
394
444
  });
445
+ if (!source.occurrenceContext && source.subject?.kind === "eventSeries") return planOrdinarySeriesSelection(events);
395
446
  return selectOccurrenceForPanel(events, source.occurrenceContext?.id);
396
447
  }
397
448
  /** The decided target is also retained for recovery when fresh booking is closed. */
@@ -415,6 +466,7 @@ function planEventBookingPanel({ selection, subject }, now) {
415
466
  const nonBookingPanel = planNonBookingPanel(selection);
416
467
  switch (selection.kind) {
417
468
  case "occurrence":
469
+ case "dateChoice":
418
470
  case "wholeSeriesRun": {
419
471
  const registration = selectionRegistrationTarget(selection, subject);
420
472
  if (nonBookingPanel) return {
@@ -431,10 +483,24 @@ function planEventBookingPanel({ selection, subject }, now) {
431
483
  registration
432
484
  };
433
485
  }
434
- case "wholeSeriesParent": return {
435
- ...nonBookingPanel ?? planWholeSeriesParentBooking(selection.eligibleRuns),
436
- registration: null
437
- };
486
+ case "wholeSeriesParent": {
487
+ if (nonBookingPanel) return {
488
+ ...nonBookingPanel,
489
+ registration: null
490
+ };
491
+ const panel = planWholeSeriesParentBooking(selection.eligibleRuns);
492
+ return panel.kind === "bookTogether" ? {
493
+ kind: "registration",
494
+ registration: {
495
+ events: panel.runs.map((run) => run.representative),
496
+ subject,
497
+ occurrenceContext: null
498
+ }
499
+ } : {
500
+ ...panel,
501
+ registration: null
502
+ };
503
+ }
438
504
  case "wholeSeriesParentUnavailable": return {
439
505
  ...nonBookingPanel ?? { kind: "unavailable" },
440
506
  registration: null
@@ -460,6 +526,11 @@ function selectionRegistrationTarget(selection, subject) {
460
526
  occurrenceContext: eventOccurrenceContext(selection.event),
461
527
  subject
462
528
  };
529
+ case "dateChoice": return {
530
+ events: [...selection.dates],
531
+ occurrenceContext: null,
532
+ subject
533
+ };
463
534
  case "wholeSeriesRun": return {
464
535
  events: [selection.run.representative],
465
536
  occurrenceContext: null,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { S as clsx } from "./ThemedButton-BMDHwnM6.mjs";
2
+ import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { d as buttonVariantIdSchema, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-B0hJldSt.mjs";
2
+ import { d as buttonVariantIdSchema, o as isVariantRole, r as asSpecialVariantId, t as DEFAULT_VARIANT_ALIAS_ID } from "./types-DjWUR_O6.mjs";
3
3
  import "react";
4
4
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../theme-core/src/buttons/affordanceSuppression.ts
@@ -1,27 +1,8 @@
1
1
  "use client";
2
- import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, T as paletteModeSchema, _ as PALETTE_TOKEN_NAMES, c as buttonEffectApplicationSchema, g as VARIANT_ROLES, m as parseOpaqueButtonColourToken, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, x as normalizePaletteHex, y as hexColorSchema } from "./types-B0hJldSt.mjs";
2
+ import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
3
+ import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, T as paletteModeSchema, _ as PALETTE_TOKEN_NAMES, c as buttonEffectApplicationSchema, g as VARIANT_ROLES, m as parseOpaqueButtonColourToken, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, x as normalizePaletteHex, y as hexColorSchema } from "./types-DjWUR_O6.mjs";
3
4
  import { t as SURFACE_TRANSPORT_KEY } from "./surfaceTransportMarker-BuwkYxsI.mjs";
4
5
  import { z } from "zod";
5
- //#region ../core/src/stable-json.ts
6
- function stableJsonStringify(value) {
7
- return JSON.stringify(sortStableJsonValue(value));
8
- }
9
- function sortStableJsonValue(value) {
10
- if (value === null) return null;
11
- if (typeof value === "string" || typeof value === "boolean") return value;
12
- if (typeof value === "number") {
13
- if (!Number.isFinite(value)) throw new TypeError("Stable JSON only supports finite numbers");
14
- return value;
15
- }
16
- if (Array.isArray(value)) return value.map(sortStableJsonValue);
17
- if (typeof value === "object") {
18
- const prototype = Object.getPrototypeOf(value);
19
- if (prototype !== Object.prototype && prototype !== null) throw new TypeError("Stable JSON only supports plain objects");
20
- return Object.fromEntries(Object.entries(value).sort(([left], [right]) => left < right ? -1 : left > right ? 1 : 0).map(([key, child]) => [key, sortStableJsonValue(child)]));
21
- }
22
- throw new TypeError(`Stable JSON does not support ${typeof value}`);
23
- }
24
- //#endregion
25
6
  //#region ../theme-core/src/palette/utils/colorConversion.ts
26
7
  const clamp01 = (x) => Math.max(0, Math.min(1, x));
27
8
  const mod = (a, n) => (a % n + n) % n;
@@ -1895,19 +1876,20 @@ function buttonStateAppearanceDeclarations(base, state, tokens, disabled = false
1895
1876
  ];
1896
1877
  }
1897
1878
  /** Surface paint is a context for the recipe, checked by the same colour owner. */
1898
- function surfaceButtonSystem(system, primaryToken) {
1899
- return primaryToken === void 0 ? system : {
1879
+ function surfaceButtonSystem(system, request) {
1880
+ return request === void 0 ? system : {
1900
1881
  ...system,
1901
- variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant, primaryToken) : variant)
1882
+ variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant, request) : variant)
1902
1883
  };
1903
1884
  }
1904
1885
  function withoutColourTransitions(effects) {
1905
1886
  return effects.filter((effect) => effect.effectId !== "background-on-hover" && effect.effectId !== "darken-background" && effect.effectId !== "lighten-background");
1906
1887
  }
1907
- function surfacePrimary(variant, token) {
1888
+ function surfacePrimary(variant, request) {
1908
1889
  const background = {
1909
1890
  type: "solid",
1910
- colorToken: token
1891
+ colorToken: request.primary,
1892
+ ...request.primaryText ? { foregroundToken: request.primaryText } : {}
1911
1893
  };
1912
1894
  return {
1913
1895
  ...variant,
@@ -2604,7 +2586,7 @@ function resolveTreatment(input) {
2604
2586
  foregroundCss: input.surface?.foregroundCss ?? surfaceForegroundValue(treatment.role)
2605
2587
  }
2606
2588
  };
2607
- case "solid": return resolveSolid(input, treatment.colorToken);
2589
+ case "solid": return resolveSolid(input, treatment.colorToken, treatment.foregroundToken);
2608
2590
  case "gradient": return resolveGradient(input, treatment);
2609
2591
  }
2610
2592
  }
@@ -2630,10 +2612,10 @@ function resolveFocusIndicator(colour) {
2630
2612
  };
2631
2613
  }
2632
2614
  }
2633
- function resolveSolid(input, backgroundToken) {
2615
+ function resolveSolid(input, backgroundToken, preferredForeground) {
2634
2616
  const backgroundHex = paletteHex(input, backgroundToken);
2635
2617
  if (!backgroundHex.ok) return backgroundHex;
2636
- const ink = resolveSolidInk(input, backgroundToken, backgroundHex.hex);
2618
+ const ink = resolveSolidInk(input, backgroundToken, backgroundHex.hex, preferredForeground);
2637
2619
  const boundary = input.surface ? validateButtonFillSeparation({
2638
2620
  ...input,
2639
2621
  buttonPaint: backgroundHex.hex,
@@ -2646,9 +2628,23 @@ function resolveSolid(input, backgroundToken) {
2646
2628
  colour: ink.colour
2647
2629
  };
2648
2630
  }
2649
- /** Preserve checked on-colours; a solid state's last resort belongs to its actual fill. */
2650
- function resolveSolidInk(input, backgroundToken, backgroundHex) {
2651
- const foregroundToken = unsafeAsOpaqueButtonColourToken(solidForegroundToken(backgroundToken));
2631
+ /**
2632
+ * One solid fill's colours as any button paints them, for chrome that dresses
2633
+ * itself as a button outside the variant CSS (the header's inverted CTA): the
2634
+ * requested label when it reads, else the fill's on-colour, else black or white.
2635
+ */
2636
+ function resolveSolidButtonColour(input, backgroundToken, preferredForeground) {
2637
+ return resolveSolid(input, backgroundToken, preferredForeground);
2638
+ }
2639
+ /** Preserve checked on-colours (a requested label colour first); a solid state's last resort belongs to its actual fill. */
2640
+ function resolveSolidInk(input, backgroundToken, backgroundHex, preferredForeground) {
2641
+ if (preferredForeground !== void 0) {
2642
+ const preferred = checkedSolidInk(input, backgroundToken, backgroundHex, preferredForeground);
2643
+ if (preferred) return preferred;
2644
+ }
2645
+ return checkedSolidInk(input, backgroundToken, backgroundHex, unsafeAsOpaqueButtonColourToken(solidForegroundToken(backgroundToken))) ?? blackOrWhiteSolidInk(backgroundToken, backgroundHex);
2646
+ }
2647
+ function checkedSolidInk(input, backgroundToken, backgroundHex, foregroundToken) {
2652
2648
  const candidate = input.palette[foregroundToken];
2653
2649
  if ((typeof candidate === "string" ? validateButtonTextContrast({
2654
2650
  ...input,
@@ -2666,6 +2662,9 @@ function resolveSolidInk(input, backgroundToken, backgroundHex) {
2666
2662
  foregroundCss: tokenCss(foregroundToken)
2667
2663
  }
2668
2664
  };
2665
+ return null;
2666
+ }
2667
+ function blackOrWhiteSolidInk(backgroundToken, backgroundHex) {
2669
2668
  const foregroundHex = pickBlackOrWhiteTextColor(backgroundHex);
2670
2669
  return {
2671
2670
  foregroundHex,
@@ -2868,7 +2867,7 @@ function resolveSurfaceButtonContext(input) {
2868
2867
  surface: context.surface,
2869
2868
  palette: input.palette,
2870
2869
  colourIndex: input.colourIndex,
2871
- buttonSystem: surfaceButtonSystem(input.buttonSystem, input.primaryToken)
2870
+ buttonSystem: surfaceButtonSystem(input.buttonSystem, input.primary)
2872
2871
  });
2873
2872
  }
2874
2873
  function knownSurfaceButtonContext(input) {
@@ -3831,7 +3830,7 @@ function resolveOwnedSurface(paint, context, measuredBackdrop) {
3831
3830
  const primaryButton = surfaceButtonRequest({
3832
3831
  kind: "paint",
3833
3832
  paint
3834
- }, context)?.primary;
3833
+ }, context);
3835
3834
  if (paint.kind === "solid" && resolved.kind === "known" && resolved.provenance.kind === "measured") return {
3836
3835
  ...decision,
3837
3836
  paint,
@@ -3905,7 +3904,7 @@ function surfaceButtons(paint, link, primaryToken, context, backgroundSamples) {
3905
3904
  colourIndex: context.colourIndex,
3906
3905
  buttonSystem: context.buttonSystem,
3907
3906
  fallbackToken: context.compositeBase,
3908
- primaryToken,
3907
+ primary: primaryToken,
3909
3908
  withoutButtonSystem: "reset"
3910
3909
  });
3911
3910
  }
@@ -3954,7 +3953,7 @@ function resolveSectionSurface(background, context) {
3954
3953
  surface,
3955
3954
  palette: revision.palette,
3956
3955
  buttonSystem: revision.buttonSystem,
3957
- primaryToken: sectionPrimaryButtonToken(background, context),
3956
+ primary: sectionPrimaryButtonToken(background, context),
3958
3957
  fallbackToken: context.compositeBase,
3959
3958
  withoutButtonSystem: "inherit"
3960
3959
  });
@@ -3978,7 +3977,7 @@ function resolveSectionSurface(background, context) {
3978
3977
  }
3979
3978
  function sectionPrimaryButtonToken(background, context) {
3980
3979
  if (background?.type !== "color" || typeof background.color !== "string") return void 0;
3981
- return context.buttonSystem?.surfaceContexts?.[background.color]?.primary;
3980
+ return context.buttonSystem?.surfaceContexts?.[background.color];
3982
3981
  }
3983
3982
  function surfaceDecorationColors(foreground, palette) {
3984
3983
  if (foreground.kind !== "known" || foreground.provenance.kind !== "measured") return void 0;
@@ -4370,4 +4369,4 @@ function mapSurfaceTreeChildren(value, map) {
4370
4369
  return isSurfaceTreeRecord(value) ? Object.fromEntries(Object.entries(value).map(([key, item]) => [key, map(item)])) : value;
4371
4370
  }
4372
4371
  //#endregion
4373
- export { _classPrivateFieldGet2 as $, ELEVATION_OFFSET as A, oklabToOklch as At, resolveTokenOrCssColorValue as B, buttonShadow as C, paletteValueKeySchema as Ct, paddingDeclarations as D, _classPrivateFieldInitSpec as Dt, materializeRuntimeButtonAppearance as E, preparePaletteColourIndex as Et, mapButtonRoleAppearances as F, rgbColorValue as G, borderColorStyle as H, mapButtonVisualAppearances as I, textColorValue as J, surfaceRoleForTextToken as K, isCssColorLiteral as L, generateShadowValue as M, oklchToHexGamut as Mt, PUBLIC_BUTTON_ROLES as N, rgbToHex as Nt, BORDER_WIDTH_MAP as O, featuresFromHex as Ot, defineButtonStyleRecipe as P, srgbToOklab as Pt, solveSurfaceInks as Q, resolveOnColorForThemeToken as R, buttonRadius as S, paletteValueKey as St, buttonTypographyDeclarations as T, contrastRatio as Tt, cssVarValue as U, backgroundColorStyle as V, mergeStyles as W, safeTokenOr as X, resolveSurfaceForeground as Y, surfaceInkPublication as Z, contextualButtonSurfaceResetStyles as _, surfaceInkStyle as _t, requireResolvedSurface as a, expandPalette as at, formatButtonColourContractError as b, resolveConcreteColorHex as bt, surfaceButtonRequest as c, DEFAULT_SURFACE_TEXT_COLOR as ct, toAccessibleColorSurfaceIntent as d, surfaceForegroundDeclarations as dt, _classPrivateFieldSet2 as et, compositeHex as f, surfaceForegroundInputFromResolved as ft, actionVariableFallback as g, surfaceInkDeclarations as gt, scrimTone as h, surfaceForegroundValueWithOpacity as ht, prepareThemeSurfaceRevision as i, inkReference as it, FONT_SIZE_MAP as j, oklabToSrgb as jt, DEFAULT_BUTTON_SIZES as k, hexToRgb as kt, surfaceDecorationColors as l, SURFACE_FOREGROUND_CSS_VARS as lt, minimumScrimOpacity as m, surfaceForegroundValue as mt, parseSurfaceTree as n, certifyPaint as nt, resolveSurface as o, getTextColorForBackground as ot, gradientScrimSamples as p, surfaceForegroundStyle as pt, textColorStyle as q, prepareSurfaceIndex as r, contrastThresholdByPolicy as rt, serializeSurfaceTree as s, planForegroundHover as st, parseResolvedSurface as t, HOVER_TEXT_THRESHOLD as tt, surfaceTransportContext as u, SURFACE_INK_CSS_VARS as ut, compileButtonColourStates as v, freezeOwnedThemeValue as vt, buttonStateAppearanceDeclarations as w, requirePaletteColorsFromEntries as wt, buttonBorder as x, resolveOpaqueSurfaceHex as xt, BUTTON_CONTRAST_POLICY as y, ownedThemeSnapshot as yt, resolveThemeColorReferenceValue as z };
4372
+ export { solveSurfaceInks as $, DEFAULT_BUTTON_SIZES as A, hexToRgb as At, resolveThemeColorReferenceValue as B, buttonRadius as C, paletteValueKey as Ct, materializeRuntimeButtonAppearance as D, preparePaletteColourIndex as Dt, buttonTypographyDeclarations as E, contrastRatio as Et, defineButtonStyleRecipe as F, srgbToOklab as Ft, mergeStyles as G, backgroundColorStyle as H, mapButtonRoleAppearances as I, textColorStyle as J, rgbColorValue as K, mapButtonVisualAppearances as L, FONT_SIZE_MAP as M, oklabToSrgb as Mt, generateShadowValue as N, oklchToHexGamut as Nt, paddingDeclarations as O, _classPrivateFieldInitSpec as Ot, PUBLIC_BUTTON_ROLES as P, rgbToHex as Pt, surfaceInkPublication as Q, isCssColorLiteral as R, buttonBorder as S, resolveOpaqueSurfaceHex as St, buttonStateAppearanceDeclarations as T, requirePaletteColorsFromEntries as Tt, borderColorStyle as U, resolveTokenOrCssColorValue as V, cssVarValue as W, resolveSurfaceForeground as X, textColorValue as Y, safeTokenOr as Z, contextualButtonSurfaceResetStyles as _, surfaceInkDeclarations as _t, requireResolvedSurface as a, inkReference as at, BUTTON_CONTRAST_POLICY as b, ownedThemeSnapshot as bt, surfaceButtonRequest as c, planForegroundHover as ct, toAccessibleColorSurfaceIntent as d, SURFACE_INK_CSS_VARS as dt, _classPrivateFieldGet2 as et, compositeHex as f, surfaceForegroundDeclarations as ft, actionVariableFallback as g, surfaceForegroundValueWithOpacity as gt, scrimTone as h, surfaceForegroundValue as ht, prepareThemeSurfaceRevision as i, contrastThresholdByPolicy as it, ELEVATION_OFFSET as j, oklabToOklch as jt, BORDER_WIDTH_MAP as k, featuresFromHex as kt, surfaceDecorationColors as l, DEFAULT_SURFACE_TEXT_COLOR as lt, minimumScrimOpacity as m, surfaceForegroundStyle as mt, parseSurfaceTree as n, HOVER_TEXT_THRESHOLD as nt, resolveSurface as o, expandPalette as ot, gradientScrimSamples as p, surfaceForegroundInputFromResolved as pt, surfaceRoleForTextToken as q, prepareSurfaceIndex as r, certifyPaint as rt, serializeSurfaceTree as s, getTextColorForBackground as st, parseResolvedSurface as t, _classPrivateFieldSet2 as tt, surfaceTransportContext as u, SURFACE_FOREGROUND_CSS_VARS as ut, compileButtonColourStates as v, surfaceInkStyle as vt, buttonShadow as w, paletteValueKeySchema as wt, formatButtonColourContractError as x, resolveConcreteColorHex as xt, resolveSolidButtonColour as y, freezeOwnedThemeValue as yt, resolveOnColorForThemeToken as z };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CH2-LJME.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
3
3
  //#region src/rendering/islands/enhancers/accordion.ts
4
4
  const decode = defineIslandPropsDecoder("accordion");
5
5
  function parseDefaultValues(value) {
@@ -0,0 +1,17 @@
1
+ "use client";
2
+ import { Xr as canJoinEventWaitlistOnAnyMode, ri as isEventFull } from "./display-lL-YRApN.mjs";
3
+ //#region ../blocks/src/system/runtime/nodes/events/domain/bookability.ts
4
+ /**
5
+ * Whether a public event has a registration path a visitor can take.
6
+ *
7
+ * Lifecycle admission comes from the public booking-availability contract;
8
+ * capacity comes from the shared event-domain helpers so uncapped, fallback,
9
+ * and hybrid attendance-mode cases agree with the registration runtime.
10
+ */
11
+ function isBookableEvent(event) {
12
+ if (!event.requiresRegistration) return false;
13
+ if (event.bookingAvailability.kind !== "open") return false;
14
+ return !isEventFull(event) || canJoinEventWaitlistOnAnyMode(event);
15
+ }
16
+ //#endregion
17
+ export { isBookableEvent as t };
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- import { $r as bookingPackageRequestKey, Ar as toSelectedCollectionOptionKind, Br as needsAppointmentQuestionsRefresh, Cr as prepareBookingSubmission, Dr as resolveBookingSiteId, Er as resolveBookingSelectedService, Es as unsafeAsSiteId, Fr as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, Ir as applyAppointmentBookingQuestionsEvent, Kr as restoreBookingQuestionsAnswers, Lr as appointmentQuestionsRefusal, Nr as projectSelectedAppointmentConsentIntoForm, Or as resolveDefaultBookingServiceId, Pr as resolveSelectedAppointmentConsent, Qr as bookingHasPackagePaymentChoices, Rr as deriveAppointmentBookingQuestions, Sr as parseBookingCurrencyInputToCents, Ti as resolveDateRuntimeContext, Tr as resolveBookingPaymentStep, Ur as decideBookingQuestionsRestoration, Vr as bookingQuestionsAnswerDraftSchema, Yr as BOOKING_FORM_DATA_RESERVED_KEYS, Zr as applyBookingPaymentAdmission, _n as bookingPresentation, ai as resolveBookingPaymentChoice, at as buildReviewedBookingPaymentViewModel, br as normalizeBookingFormConfig, ci as toBookingPurchasablePackages, dn as createSignInReturnDraftStore, dr as buildBookingFormInteractiveIslandProps, ei as bookingRequiresResourceSelection, fr as readOverrideServiceCategories, gr as getBookingSuccessCopy, hr as getBookingRedirectStateFromLocation, ii as resolveBookingPaymentAvailability, it as buildBookingPaymentSelectionViewModel, ji as leavePage, jr as formatCentsAsCurrencyInput, kr as selectedBookingCollectionOptionKind, l as formatValidity, li as getBookingServiceSlidingScale, ls as resolveBookingSignupOffer, mr as formatBookingSubmissionPreparationError, ni as resolveBookingPackagePaymentSelection, oi as resolveBookingPaymentMode, ot as paymentChoiceDetails, pr as deriveBookingFormViewState, qr as toBookingQuestionsAnswerDraft, ri as resolveBookingPackageSources, si as resolveBookingPurchasablePackages, st as paymentChoicePrice, ti as reconcileBookingPackagePurchase, wi as readRuntimeNow, wr as resolveAppointmentCheckoutVerificationState, xr as normalizeBookingServices, yr as isBookingServiceSlidingAmountInRange, zr as isAppointmentBookingQuestionsEvent } from "./display-ChgDe9Da.mjs";
3
- import { Ft as formatDate, Rt as formatDateTimeRange, U as isBookingRequirementConsentFieldId, Ut as resolveBookingDisplayContext, Vt as formatTimeZoneCityLabel, en as resolveBookingBusinessTimeZone, in as toUtcIsoDateTimeString, ln as formatCurrencyAmount, rn as parseUtcIsoDateTimeString, t as logger, tn as resolveBookingTimeZoneId, zt as formatTime } from "./noop-poI1m2yW.mjs";
2
+ import { $i as resolveBookingPackagePaymentSelection, Ai as projectSelectedAppointmentConsentIntoForm, Bi as decideBookingQuestionsRestoration, Ci as resolveBookingSelectedService, Di as toSelectedCollectionOptionKind, Ei as selectedBookingCollectionOptionKind, Fi as deriveAppointmentBookingQuestions, Ii as isAppointmentBookingQuestionsEvent, Ji as applyBookingPaymentAdmission, Ki as BOOKING_FORM_DATA_RESERVED_KEYS, Li as needsAppointmentQuestionsRefresh, Mi as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, Nc as unsafeAsSiteId, Ni as applyAppointmentBookingQuestionsEvent, Oa as leavePage, Oi as formatCentsAsCurrencyInput, Pi as appointmentQuestionsRefusal, Qi as reconcileBookingPackagePurchase, Ri as bookingQuestionsAnswerDraftSchema, Sa as resolveDateRuntimeContext, Si as resolveBookingPaymentStep, Ti as resolveDefaultBookingServiceId, Ui as restoreBookingQuestionsAnswers, Wi as toBookingQuestionsAnswerDraft, Xi as bookingPackageRequestKey, Yi as bookingHasPackagePaymentChoices, Zi as bookingRequiresResourceSelection, _i as normalizeBookingFormConfig, aa as toBookingPurchasablePackages, at as buildReviewedBookingPaymentViewModel, bi as prepareBookingSubmission, ci as buildBookingFormInteractiveIslandProps, di as formatBookingSubmissionPreparationError, ea as resolveBookingPackageSources, fi as getBookingRedirectStateFromLocation, gi as isBookingServiceSlidingAmountInRange, ia as resolveBookingPurchasablePackages, it as buildBookingPaymentSelectionViewModel, ji as resolveSelectedAppointmentConsent, l as formatValidity, li as readOverrideServiceCategories, mc as resolveBookingSignupOffer, na as resolveBookingPaymentChoice, oa as getBookingServiceSlidingScale, ot as paymentChoiceDetails, pi as getBookingSuccessCopy, pr as bookingPresentation, ra as resolveBookingPaymentMode, sr as createSignInReturnDraftStore, st as paymentChoicePrice, ta as resolveBookingPaymentAvailability, ui as deriveBookingFormViewState, vi as normalizeBookingServices, wi as resolveBookingSiteId, xa as readRuntimeNow, xi as resolveAppointmentCheckoutVerificationState, yi as parseBookingCurrencyInputToCents } from "./display-lL-YRApN.mjs";
3
+ import { Ht as formatTime, Kt as resolveBookingDisplayContext, Rt as formatDate, Vt as formatDateTimeRange, W as isBookingRequirementConsentFieldId, Wt as formatTimeZoneCityLabel, fn as formatCurrencyAmount, in as resolveBookingTimeZoneId, on as parseUtcIsoDateTimeString, rn as resolveBookingBusinessTimeZone, sn as toUtcIsoDateTimeString, t as logger } from "./noop-CN0o0yjH.mjs";
4
4
  import { F as unsafeAsAppointmentResourceId, I as unsafeAsAppointmentServiceId, S as formatCreditProductUnits, _ as clearWorkflowFeedback, g as okWith, m as err, o as checkBookingQuestionsAnswered, p as assertNever, v as reportWorkflowError, x as formatCreditProductBalance, y as reportWorkflowSuccess } from "./creditProducts-BTRX4edc.mjs";
5
- import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-DPGZArG9.mjs";
5
+ import { c as NavigationHandOffPanel, i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-CARUWQ_E.mjs";
6
6
  import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
7
- import { n as useBlockApi, t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
8
- import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
9
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-DqN3L-kl.mjs";
7
+ import { n as useBlockApi, t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
8
+ import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
9
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CwHqcqzP.mjs";
10
10
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
11
- import { t as CheckboxChoice } from "./CheckboxChoice-B65wFjqx.mjs";
11
+ import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
12
12
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
13
13
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
14
14
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
15
- import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-BlaCItmH.mjs";
16
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-C_aa_H69.mjs";
17
- import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-Blge9FJo.mjs";
18
- import { n as StepIndicator, t as BookingPanelArrangement } from "./BookingPanelArrangement-wm6eeuin.mjs";
19
- import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-ByHedoBi.mjs";
20
- import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-D0dcPsRE.mjs";
15
+ import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-BewbU_cV.mjs";
16
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-Cyy0meCH.mjs";
17
+ import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-LHQMODqB.mjs";
18
+ import { n as StepIndicator, t as BookingPanelArrangement } from "./BookingPanelArrangement-Be704P85.mjs";
19
+ import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-DfbSkWop.mjs";
20
+ import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-CL7KGRta.mjs";
21
21
  import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
23
  import { z } from "zod";
@@ -838,7 +838,7 @@ function resolveBookingStepVisibility(input, defaultServiceId, payment) {
838
838
  };
839
839
  }
840
840
  function needsBookingPaymentStep(input, payment) {
841
- if (input.form?.settings?.requiresApproval) return false;
841
+ if (payment.service?.requiresApproval) return false;
842
842
  return [
843
843
  bookingHasPackagePaymentChoices(payment.service),
844
844
  getBookingServiceSlidingScale(payment.service),
@@ -1789,6 +1789,8 @@ function useBookingFlowController(input) {
1789
1789
  ...latest,
1790
1790
  direction
1791
1791
  });
1792
+ latest.dispatch({ type: "feedback-cleared" });
1793
+ latest.clearFeedback();
1792
1794
  plan.events.forEach(latest.dispatch);
1793
1795
  return plan.result;
1794
1796
  }, [latestRef]);
@@ -1994,16 +1996,15 @@ function useHeadlessBookingFlow(options) {
1994
1996
  options.services
1995
1997
  ]);
1996
1998
  const [state, dispatch] = useReducer((previous, event) => bookingFlowReducer(previous, event, {
1997
- services: applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, previous.paymentChoices), Boolean(options.form?.settings?.requiresApproval), previous.unrestrictedHeldPackageServiceId),
1999
+ services: applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, previous.paymentChoices), previous.unrestrictedHeldPackageServiceId),
1998
2000
  defaultServiceId,
1999
2001
  nowIso: bookingNowIso
2000
2002
  }), initialState);
2001
2003
  const api = useBlockApi();
2002
2004
  const selectedServiceId = state.selectedServiceId ?? defaultServiceId;
2003
2005
  const selectedResourceId = state.selectedResourceId ?? defaultResourceId;
2004
- const services = useMemo(() => applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, state.paymentChoices), Boolean(options.form?.settings?.requiresApproval), state.unrestrictedHeldPackageServiceId), [
2006
+ const services = useMemo(() => applyBookingPaymentAdmission(applyBookingPaymentChoices(options.services, state.paymentChoices), state.unrestrictedHeldPackageServiceId), [
2005
2007
  options.services,
2006
- options.form?.settings?.requiresApproval,
2007
2008
  state.paymentChoices,
2008
2009
  state.unrestrictedHeldPackageServiceId
2009
2010
  ]);
@@ -2829,9 +2830,18 @@ function BookingOfferReview({ review, booking }) {
2829
2830
  });
2830
2831
  }
2831
2832
  function bookingPrimaryActionLabel(booking, isLastStep, summary) {
2833
+ if (isLastStep && booking.services.selected?.requiresApproval) return "Send request";
2832
2834
  return isLastStep && booking.review ? reviewedActionLabel(booking.review) : resolvePrimaryActionLabel(isLastStep, Boolean(summary));
2833
2835
  }
2834
2836
  function BookingSubmissionSummary({ booking, isLastStep, summary }) {
2837
+ if (isLastStep && booking.services.selected?.requiresApproval) return /* @__PURE__ */ jsxs("p", {
2838
+ className: "ab-text",
2839
+ children: [
2840
+ "This is a request for ",
2841
+ booking.services.selected.title,
2842
+ ". You’ll get an email once it’s accepted."
2843
+ ]
2844
+ });
2835
2845
  return isLastStep && booking.review ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx(BookingReviewIdentity, { booking }), /* @__PURE__ */ jsx(BookingOfferReview, {
2836
2846
  review: booking.review,
2837
2847
  booking
@@ -3368,12 +3378,12 @@ function HeadlessBookingDefaultForm({ booking, onSubmit, pageKind }) {
3368
3378
  errors: currentStep.errors,
3369
3379
  id: errorSummaryId
3370
3380
  }),
3381
+ /* @__PURE__ */ jsx(DefaultBookingDiscount, { booking }),
3382
+ /* @__PURE__ */ jsx(DefaultBookingFeedback, { booking }),
3371
3383
  /* @__PURE__ */ jsx(BookingFormSubmitActions, {
3372
3384
  booking,
3373
3385
  onSubmit
3374
- }),
3375
- /* @__PURE__ */ jsx(DefaultBookingDiscount, { booking }),
3376
- /* @__PURE__ */ jsx(DefaultBookingFeedback, { booking })
3386
+ })
3377
3387
  ]
3378
3388
  });
3379
3389
  }
@@ -3800,20 +3810,14 @@ function DefaultBookingDiscount({ booking }) {
3800
3810
  }
3801
3811
  function DefaultBookingFeedback({ booking }) {
3802
3812
  if (booking.feedback.kind !== "error") return null;
3803
- return /* @__PURE__ */ jsxs(FeedbackMessage, {
3813
+ return /* @__PURE__ */ jsx(FeedbackMessage, {
3804
3814
  tone: "error",
3805
3815
  className: "alert alert-error rb-mt-4",
3806
3816
  role: "alert",
3807
- children: [/* @__PURE__ */ jsx("p", {
3817
+ children: /* @__PURE__ */ jsx("p", {
3808
3818
  className: "ab-text",
3809
3819
  children: booking.feedback.message
3810
- }), /* @__PURE__ */ jsx(ThemedButton, {
3811
- type: "button",
3812
- variant: "secondary",
3813
- size: "sm",
3814
- label: "Dismiss",
3815
- onClick: booking.actions.clearFeedback
3816
- })]
3820
+ })
3817
3821
  });
3818
3822
  }
3819
3823
  /** Each field shows its own message, so the summary only says where to look. */
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as BookingFormClient } from "./booking-form.client-DDf8Lmo5.mjs";
3
- import { t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
4
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CH2-LJME.mjs";
2
+ import { t as BookingFormClient } from "./booking-form.client-BM2s-NqR.mjs";
3
+ import { t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CBUO-xuz.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DTET8f__.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/bookingForm.tsx
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { $ as resolveHeadlessEventRegistrationStatus, Di as createHostedBlockApiConfig, Jt as getSingleSelectedPricingOptionId, Q as resolveEventRegistrationSubmitPlan, Xr as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Y as deriveEventRegistrationSteps, Z as normalizeEventRegistrationMaxTickets, Zn as resolveRuntimeEventDestination, bn as resolveRegistrationDisplay, br as normalizeBookingFormConfig, et as resolveHeadlessEventRegistrationView, nt as toInternalPaymentSelection, tt as toHeadlessPaymentSelection, wi as readRuntimeNow, xr as normalizeBookingServices, zi as normalizeEventRegistrationPageSurfaceSubject } from "./display-ChgDe9Da.mjs";
3
- import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-DDf8Lmo5.mjs";
4
- import { R as publicEventSchema } from "./noop-poI1m2yW.mjs";
2
+ import { $ as resolveHeadlessEventRegistrationStatus, $n as getSingleSelectedPricingOptionId, Ia as normalizeEventRegistrationPageSurfaceSubject, Jr as resolveRuntimeEventDestination, Q as resolveEventRegistrationSubmitPlan, Y as deriveEventRegistrationSteps, Z as normalizeEventRegistrationMaxTickets, _i as normalizeBookingFormConfig, et as resolveHeadlessEventRegistrationView, gr as resolveRegistrationDisplay, nt as toInternalPaymentSelection, qi as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, tt as toHeadlessPaymentSelection, vi as normalizeBookingServices, wa as createHostedBlockApiConfig, xa as readRuntimeNow } from "./display-lL-YRApN.mjs";
3
+ import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-BM2s-NqR.mjs";
4
+ import { z as publicEventSchema } from "./noop-CN0o0yjH.mjs";
5
5
  import { p as assertNever } from "./creditProducts-BTRX4edc.mjs";
6
- import { n as useBlockApi, t as BlockApiProvider } from "./context-Dzjv2CpA.mjs";
7
- import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-BVxHCnxs.mjs";
6
+ import { n as useBlockApi, t as BlockApiProvider } from "./context-D0KCgbOq.mjs";
7
+ import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-DwMlJB2V.mjs";
8
8
  import * as React$1 from "react";
9
9
  import React, { useCallback, useEffect, useMemo, useReducer } from "react";
10
10
  //#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ho as itemRoleValues, Io as boxBackgroundOverlaySchema, Lo as boxBackgroundSchema, Ro as runtimeBoxBackgroundSchema, Uo as openCardRoleValue, Vo as cardVariantRoleValues, zo as boxlessCardVariantValue } from "./display-ChgDe9Da.mjs";
2
+ import { Bs as boxlessCardVariantValue, Hs as cardVariantRoleValues, Ls as boxBackgroundOverlaySchema, Rs as boxBackgroundSchema, Us as itemRoleValues, Ws as openCardRoleValue, zs as runtimeBoxBackgroundSchema } from "./display-lL-YRApN.mjs";
3
3
  import { z } from "zod";
4
4
  z.enum(itemRoleValues);
5
5
  z.enum(cardVariantRoleValues);
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CH2-LJME.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
3
3
  import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
4
- import { t as CarouselNodeClient } from "./carousel.client-YF4mUK5t.mjs";
4
+ import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { S as clsx } from "./ThemedButton-BMDHwnM6.mjs";
2
+ import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
3
3
  import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
4
4
  import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
5
5
  import React, { useCallback, useEffect, useRef, useState } from "react";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CH2-LJME.mjs";
3
- import { t as CartClient } from "./cart.client-BxSMse88.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-Jt4TzcAG.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
3
+ import { t as CartClient } from "./cart.client-BI0IaHX3.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-JCa_SRhP.mjs";
5
5
  //#region src/rendering/islands/enhancers/cart.tsx
6
6
  const decode = defineIslandPropsDecoder("cart");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { t as CartController } from "./shop-commerce--klkHNzu.mjs";
2
+ import { t as CartController } from "./shop-commerce-oDR76k1q.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/cart.client.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CH2-LJME.mjs";
3
- import { t as CheckoutClient } from "./checkout.client-x4Lkw8-E.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-Jt4TzcAG.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
3
+ import { t as CheckoutClient } from "./checkout.client-DOGYDlDk.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-JCa_SRhP.mjs";
5
5
  //#region src/rendering/islands/enhancers/checkout.tsx
6
6
  const decode = defineIslandPropsDecoder("checkout");
7
7
  const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");