@riverbankcms/sdk 0.171.1 → 0.172.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 (210) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-DtrzTJ77.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-DViYbakk.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-D-5OeDbT.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-DZBOzd3U.d.ts} +1 -2
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DS3DrYn_.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-C3QGPCUf.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-D9Q7VIul.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-R7NeFT1u.d.ts} +2 -2
  9. package/dist/_dts/{index-BQPJbOkU.d.ts → index-BnMavhoh.d.ts} +2 -2
  10. package/dist/_dts/{index-DScYSl03.d.ts → index-C0zjLMAW.d.ts} +49 -38
  11. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-CpOkfBt1.d.ts} +3 -3
  12. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-Da4UMgbs.d.ts} +2 -2
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-DkFV_1Bc.d.ts} +1 -1
  14. package/dist/_dts/{index-Sua-7CF1.d.ts → index-Dns7OHyl.d.ts} +1 -1
  15. package/dist/_dts/{index-B3gfKNI-.d.ts → index-MuMYjetm.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-DJmXHzfi.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-wQ28JWbr.d.ts} +1021 -247
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-C-IP53u9.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-Cc4zqaEC.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 +2 -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-BCzfYDW2.d.ts → types-CpjyP5I4.d.ts} +7 -7
  54. package/dist/_dts/{types-JD-36x3P.d.ts → types-DrinAfeW.d.ts} +3 -3
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-ZuZoGsZV.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-CIZ_fP5l.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-UFmQB1BE.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-VjRYhx1c.mjs} +6 -6
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-DpqnRo-t.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-CzOT8ZWo.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-CNckKZct.mjs} +7 -7
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CmZLVXOy.mjs} +6 -6
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-BU-SxLCn.mjs} +9 -9
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-f28VltfY.mjs} +8 -8
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-sKBofjiW.mjs} +40 -14
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-IAcax47T.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-BEtnRvZr.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BZ4l_rmT.mjs} +189 -73
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-BWb295cD.mjs} +9 -9
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-Hsj2HC_1.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-C7E7Lyfa.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-Ds1s3DuC.mjs} +1426 -486
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CSCyAaKY.mjs} +6 -6
  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-OsAseM7H.mjs} +36 -18
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-DgwFZJSx.mjs} +1 -1
  81. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-CKY9oksp.mjs} +33 -29
  82. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-CsHhcdSF.mjs} +4 -4
  83. package/dist/client/bookings.mjs +5 -5
  84. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-B1Z_TGAe.mjs} +1 -1
  85. package/dist/client/{carousel-DeI76SEP.mjs → carousel-0sw2Kc3a.mjs} +2 -2
  86. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  87. package/dist/client/{cart-D_uxULCO.mjs → cart-CPfvMDGJ.mjs} +3 -3
  88. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BJBPUTmg.mjs} +1 -1
  89. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-DU4JFjGT.mjs} +3 -3
  90. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-BbNCO4xa.mjs} +1 -1
  91. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-BQ3OlWlM.mjs} +1 -1
  92. package/dist/client/client.mjs +135 -4
  93. package/dist/client/{context-Dzjv2CpA.mjs → context-xNC1Cyjw.mjs} +14 -1
  94. package/dist/client/{cta-CP9l112u.mjs → cta-CNVQHLKs.mjs} +53 -11
  95. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-B6ea-egy.mjs} +1 -1
  96. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-BhjGxhX3.mjs} +1 -1
  97. package/dist/client/{display-ChgDe9Da.mjs → display-B5DfNb6A.mjs} +1869 -333
  98. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-BFcHLuqk.mjs} +139 -16
  99. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-WHT5GLn2.mjs} +1 -1
  100. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-CmnRKELC.mjs} +11 -11
  101. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-2NbdCyov.mjs} +4 -4
  102. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-D1lH1n2T.mjs} +4 -4
  103. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BHvnF2Tw.mjs} +2 -2
  104. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-EhSDk4UL.mjs} +4 -4
  105. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-z_0jN_KS.mjs} +4 -4
  106. package/dist/client/{form-ERv_X_oZ.mjs → form-BfChzSkS.mjs} +3 -3
  107. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D1zehtPk.mjs} +4 -4
  108. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-rMDlUQIv.mjs} +3 -3
  109. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-ymSVT9Y5.mjs} +1 -1
  110. package/dist/client/gifting/client.mjs +3 -3
  111. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BX9bQ84k.mjs} +2 -2
  112. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-DMbuJCtJ.mjs} +5 -5
  113. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-BxrVsoI0.mjs} +2 -2
  114. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-B_I3FJFS.mjs} +3 -3
  115. package/dist/client/{noop-poI1m2yW.mjs → noop-CamIX2yK.mjs} +17 -1
  116. package/dist/client/portal/client.mjs +231 -117
  117. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-qxuiYCof.mjs} +1 -1
  118. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-CDL-jihv.mjs} +1 -1
  119. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-B97m0uZy.mjs} +3 -3
  120. package/dist/client/{productList-HoFGQXFl.mjs → productList-DE4vSSG_.mjs} +3 -3
  121. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BTde6Syh.mjs} +3 -3
  122. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cn8XjRte.mjs} +1458 -1178
  123. package/dist/client/rendering/client.mjs +27 -27
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +22 -16
  126. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-Bcl3vTb4.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-BjRoLoMD.mjs} +1 -1
  128. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-B-lrAGhX.mjs} +1 -1
  129. package/dist/client/runtimeResponse-CPcA8xSm.mjs +3 -0
  130. package/dist/client/{shop-DXyeSNgi.mjs → shop-BC4H0oYT.mjs} +3 -3
  131. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-BsY7a71m.mjs} +12 -12
  132. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-BZ5j90HD.mjs} +1 -1
  133. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-WgGVGelc.mjs} +12 -12
  134. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-Bb67gPLL.mjs} +187 -81
  135. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-BE6TEk2A.mjs} +2 -2
  136. package/dist/client/spam-protection.mjs +1 -1
  137. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-Bbz_ECL5.mjs} +10 -10
  138. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  139. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-CdP14E_b.mjs} +2 -2
  140. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-DvOSso2l.mjs} +1 -1
  141. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-B4fRd2jy.mjs} +1 -1
  142. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-M3jC8lgP.mjs} +6 -6
  143. package/dist/client/{view-DhEwiTJG.mjs → view-B0TFnP4y.mjs} +198 -60
  144. package/dist/client/{view-C_brMDU2.mjs → view-DNNNbnNj.mjs} +3 -3
  145. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  146. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  147. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  148. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-D59tHj_L.mjs} +25 -20
  149. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-CjOIZlUk.mjs} +100 -70
  150. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI--kS9Cwsc.mjs} +5 -5
  151. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  152. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  153. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bi8-rclb.mjs} +311 -62
  154. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-CWTUw-3L.mjs} +301 -125
  155. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-CrgS3I8d.mjs} +584 -286
  156. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  157. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  158. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-Caofnr1Z.mjs} +7190 -4065
  159. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-CbAI_jSH.mjs} +1 -1
  160. package/dist/preview-next/client/runtime.mjs +5 -4
  161. package/dist/preview-next/client/sdk-runtime-DY65_hLk.mjs +6 -0
  162. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CakNU3lp.mjs} +2 -2
  163. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-CCEMkosU.mjs} +20 -8
  164. package/dist/preview-next/container-responsive.css +215 -4
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-DsKDQoVW.mjs} +131 -0
  168. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-D7Qy9F4a.mjs} +4 -4
  169. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  170. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  171. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Bp6OnR3n.mjs} +109 -20
  172. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  173. package/dist/server/{client-DCwLR0kQ.mjs → client-dROAfMRa.mjs} +133 -2
  174. package/dist/server/config-template-validation.mjs +3 -0
  175. package/dist/server/config-validation.mjs +1 -1
  176. package/dist/server/config.mjs +2 -2
  177. package/dist/server/data/resolveBlockData.mjs +1 -1
  178. package/dist/server/index.mjs +3 -3
  179. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-zOIrtqz-.mjs} +19 -14
  180. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-vwFiq1Rk.mjs} +2 -2
  181. package/dist/server/next.mjs +6 -6
  182. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  183. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-DjboggbB.mjs} +1 -1
  184. package/dist/server/page-converter.mjs +1 -1
  185. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-BR4t1rOw.mjs} +954 -337
  186. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-BKo6XVK-.mjs} +3 -2
  187. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-BJjptSGp.mjs} +1039 -853
  188. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-B18KDEue.mjs} +2 -2
  189. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-CntSkZQI.mjs} +1 -1
  190. package/dist/server/prebuild.mjs +1 -1
  191. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-BM9Ds0OQ.mjs} +2 -2
  192. package/dist/server/{registry-CaeRTf4E.mjs → registry-wYH0LH5f.mjs} +7257 -4959
  193. package/dist/server/rendering/components/pageShared.mjs +1 -1
  194. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  195. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  196. package/dist/server/rendering/server.mjs +3 -3
  197. package/dist/server/rendering.mjs +7 -7
  198. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData-Bu_p4HxZ.mjs} +2 -2
  199. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  200. package/dist/server/{schema-CxBsE9Dv.mjs → schema-BFOqYIMQ.mjs} +2 -1
  201. package/dist/server/server.mjs +3 -3
  202. package/dist/server/theme-bridge.mjs +2 -2
  203. package/dist/server/theme.mjs +2 -2
  204. package/dist/server/{validation-CvmhnkDr.mjs → validation-DAQdPDku.mjs} +4 -4
  205. package/dist/server/{version-Clp2evCf.mjs → version-DAB0O3yx.mjs} +1 -1
  206. package/dist/styles/index.css +1260 -15
  207. package/package.json +1 -1
  208. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  209. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  210. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
@@ -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,11 @@
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-Bb67gPLL.mjs";
3
+ import { Bi as normalizeEventRegistrationPageSurfaceSubject, Ln as eventDateOptions, Vi as resolveEventRegistrationScopedEvents, _n as bookingPresentation, ls as orderedLiveRunSessions, ss as firstLiveRunSessionStartMs, ur as groupPublicEventsByRun, us as resolveWholeSeriesBookingPhase } from "./display-B5DfNb6A.mjs";
4
+ import { It as formatDate, an as toUtcIsoDateTimeString } from "./noop-CamIX2yK.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-B1Z_TGAe.mjs";
7
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
8
+ import { n as StepIndicator$1, t as BookingPanelArrangement } from "./BookingPanelArrangement-DpqnRo-t.mjs";
9
9
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
10
10
  import React from "react";
11
11
  import { Fragment, jsx, jsxs } 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 "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,5 +1,5 @@
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 { 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
3
  import { t as SURFACE_TRANSPORT_KEY } from "./surfaceTransportMarker-BuwkYxsI.mjs";
4
4
  import { z } from "zod";
5
5
  //#region ../core/src/stable-json.ts
@@ -1895,19 +1895,20 @@ function buttonStateAppearanceDeclarations(base, state, tokens, disabled = false
1895
1895
  ];
1896
1896
  }
1897
1897
  /** 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 : {
1898
+ function surfaceButtonSystem(system, request) {
1899
+ return request === void 0 ? system : {
1900
1900
  ...system,
1901
- variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant, primaryToken) : variant)
1901
+ variants: system.variants.map((variant) => variant.id === "primary" ? surfacePrimary(variant, request) : variant)
1902
1902
  };
1903
1903
  }
1904
1904
  function withoutColourTransitions(effects) {
1905
1905
  return effects.filter((effect) => effect.effectId !== "background-on-hover" && effect.effectId !== "darken-background" && effect.effectId !== "lighten-background");
1906
1906
  }
1907
- function surfacePrimary(variant, token) {
1907
+ function surfacePrimary(variant, request) {
1908
1908
  const background = {
1909
1909
  type: "solid",
1910
- colorToken: token
1910
+ colorToken: request.primary,
1911
+ ...request.primaryText ? { foregroundToken: request.primaryText } : {}
1911
1912
  };
1912
1913
  return {
1913
1914
  ...variant,
@@ -2604,7 +2605,7 @@ function resolveTreatment(input) {
2604
2605
  foregroundCss: input.surface?.foregroundCss ?? surfaceForegroundValue(treatment.role)
2605
2606
  }
2606
2607
  };
2607
- case "solid": return resolveSolid(input, treatment.colorToken);
2608
+ case "solid": return resolveSolid(input, treatment.colorToken, treatment.foregroundToken);
2608
2609
  case "gradient": return resolveGradient(input, treatment);
2609
2610
  }
2610
2611
  }
@@ -2630,10 +2631,10 @@ function resolveFocusIndicator(colour) {
2630
2631
  };
2631
2632
  }
2632
2633
  }
2633
- function resolveSolid(input, backgroundToken) {
2634
+ function resolveSolid(input, backgroundToken, preferredForeground) {
2634
2635
  const backgroundHex = paletteHex(input, backgroundToken);
2635
2636
  if (!backgroundHex.ok) return backgroundHex;
2636
- const ink = resolveSolidInk(input, backgroundToken, backgroundHex.hex);
2637
+ const ink = resolveSolidInk(input, backgroundToken, backgroundHex.hex, preferredForeground);
2637
2638
  const boundary = input.surface ? validateButtonFillSeparation({
2638
2639
  ...input,
2639
2640
  buttonPaint: backgroundHex.hex,
@@ -2646,9 +2647,23 @@ function resolveSolid(input, backgroundToken) {
2646
2647
  colour: ink.colour
2647
2648
  };
2648
2649
  }
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));
2650
+ /**
2651
+ * One solid fill's colours as any button paints them, for chrome that dresses
2652
+ * itself as a button outside the variant CSS (the header's inverted CTA): the
2653
+ * requested label when it reads, else the fill's on-colour, else black or white.
2654
+ */
2655
+ function resolveSolidButtonColour(input, backgroundToken, preferredForeground) {
2656
+ return resolveSolid(input, backgroundToken, preferredForeground);
2657
+ }
2658
+ /** Preserve checked on-colours (a requested label colour first); a solid state's last resort belongs to its actual fill. */
2659
+ function resolveSolidInk(input, backgroundToken, backgroundHex, preferredForeground) {
2660
+ if (preferredForeground !== void 0) {
2661
+ const preferred = checkedSolidInk(input, backgroundToken, backgroundHex, preferredForeground);
2662
+ if (preferred) return preferred;
2663
+ }
2664
+ return checkedSolidInk(input, backgroundToken, backgroundHex, unsafeAsOpaqueButtonColourToken(solidForegroundToken(backgroundToken))) ?? blackOrWhiteSolidInk(backgroundToken, backgroundHex);
2665
+ }
2666
+ function checkedSolidInk(input, backgroundToken, backgroundHex, foregroundToken) {
2652
2667
  const candidate = input.palette[foregroundToken];
2653
2668
  if ((typeof candidate === "string" ? validateButtonTextContrast({
2654
2669
  ...input,
@@ -2666,6 +2681,9 @@ function resolveSolidInk(input, backgroundToken, backgroundHex) {
2666
2681
  foregroundCss: tokenCss(foregroundToken)
2667
2682
  }
2668
2683
  };
2684
+ return null;
2685
+ }
2686
+ function blackOrWhiteSolidInk(backgroundToken, backgroundHex) {
2669
2687
  const foregroundHex = pickBlackOrWhiteTextColor(backgroundHex);
2670
2688
  return {
2671
2689
  foregroundHex,
@@ -2868,7 +2886,7 @@ function resolveSurfaceButtonContext(input) {
2868
2886
  surface: context.surface,
2869
2887
  palette: input.palette,
2870
2888
  colourIndex: input.colourIndex,
2871
- buttonSystem: surfaceButtonSystem(input.buttonSystem, input.primaryToken)
2889
+ buttonSystem: surfaceButtonSystem(input.buttonSystem, input.primary)
2872
2890
  });
2873
2891
  }
2874
2892
  function knownSurfaceButtonContext(input) {
@@ -3831,7 +3849,7 @@ function resolveOwnedSurface(paint, context, measuredBackdrop) {
3831
3849
  const primaryButton = surfaceButtonRequest({
3832
3850
  kind: "paint",
3833
3851
  paint
3834
- }, context)?.primary;
3852
+ }, context);
3835
3853
  if (paint.kind === "solid" && resolved.kind === "known" && resolved.provenance.kind === "measured") return {
3836
3854
  ...decision,
3837
3855
  paint,
@@ -3905,7 +3923,7 @@ function surfaceButtons(paint, link, primaryToken, context, backgroundSamples) {
3905
3923
  colourIndex: context.colourIndex,
3906
3924
  buttonSystem: context.buttonSystem,
3907
3925
  fallbackToken: context.compositeBase,
3908
- primaryToken,
3926
+ primary: primaryToken,
3909
3927
  withoutButtonSystem: "reset"
3910
3928
  });
3911
3929
  }
@@ -3954,7 +3972,7 @@ function resolveSectionSurface(background, context) {
3954
3972
  surface,
3955
3973
  palette: revision.palette,
3956
3974
  buttonSystem: revision.buttonSystem,
3957
- primaryToken: sectionPrimaryButtonToken(background, context),
3975
+ primary: sectionPrimaryButtonToken(background, context),
3958
3976
  fallbackToken: context.compositeBase,
3959
3977
  withoutButtonSystem: "inherit"
3960
3978
  });
@@ -3978,7 +3996,7 @@ function resolveSectionSurface(background, context) {
3978
3996
  }
3979
3997
  function sectionPrimaryButtonToken(background, context) {
3980
3998
  if (background?.type !== "color" || typeof background.color !== "string") return void 0;
3981
- return context.buttonSystem?.surfaceContexts?.[background.color]?.primary;
3999
+ return context.buttonSystem?.surfaceContexts?.[background.color];
3982
4000
  }
3983
4001
  function surfaceDecorationColors(foreground, palette) {
3984
4002
  if (foreground.kind !== "known" || foreground.provenance.kind !== "measured") return void 0;
@@ -4370,4 +4388,4 @@ function mapSurfaceTreeChildren(value, map) {
4370
4388
  return isSurfaceTreeRecord(value) ? Object.fromEntries(Object.entries(value).map(([key, item]) => [key, map(item)])) : value;
4371
4389
  }
4372
4390
  //#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 };
4391
+ 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-BTde6Syh.mjs";
3
3
  //#region src/rendering/islands/enhancers/accordion.ts
4
4
  const decode = defineIslandPropsDecoder("accordion");
5
5
  function parseDefaultValues(value) {
@@ -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 { $r as bookingHasPackagePaymentChoices, Ar as selectedBookingCollectionOptionKind, Br as isAppointmentBookingQuestionsEvent, Cr as parseBookingCurrencyInputToCents, Dr as resolveBookingSelectedService, Ei as resolveDateRuntimeContext, Er as resolveBookingPaymentStep, Fr as resolveSelectedAppointmentConsent, Hr as bookingQuestionsAnswerDraftSchema, Ir as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, Jr as toBookingQuestionsAnswerDraft, Lr as applyAppointmentBookingQuestionsEvent, Mi as leavePage, Mr as formatCentsAsCurrencyInput, Ms as unsafeAsSiteId, Or as resolveBookingSiteId, Pr as projectSelectedAppointmentConsentIntoForm, Qr as applyBookingPaymentAdmission, Rr as appointmentQuestionsRefusal, Sr as normalizeBookingServices, Ti as readRuntimeNow, Tr as resolveAppointmentCheckoutVerificationState, Vr as needsAppointmentQuestionsRefresh, Wr as decideBookingQuestionsRestoration, Xr as BOOKING_FORM_DATA_RESERVED_KEYS, _n as bookingPresentation, _r as getBookingSuccessCopy, ai as resolveBookingPaymentAvailability, at as buildReviewedBookingPaymentViewModel, br as isBookingServiceSlidingAmountInRange, ci as resolveBookingPurchasablePackages, dn as createSignInReturnDraftStore, ei as bookingPackageRequestKey, fr as buildBookingFormInteractiveIslandProps, gr as getBookingRedirectStateFromLocation, hr as formatBookingSubmissionPreparationError, ii as resolveBookingPackageSources, it as buildBookingPaymentSelectionViewModel, jr as toSelectedCollectionOptionKind, kr as resolveDefaultBookingServiceId, l as formatValidity, li as toBookingPurchasablePackages, mr as deriveBookingFormViewState, ni as reconcileBookingPackagePurchase, oi as resolveBookingPaymentChoice, ot as paymentChoiceDetails, pr as readOverrideServiceCategories, ps as resolveBookingSignupOffer, qr as restoreBookingQuestionsAnswers, ri as resolveBookingPackagePaymentSelection, si as resolveBookingPaymentMode, st as paymentChoicePrice, ti as bookingRequiresResourceSelection, ui as getBookingServiceSlidingScale, wr as prepareBookingSubmission, xr as normalizeBookingFormConfig, zr as deriveAppointmentBookingQuestions } from "./display-B5DfNb6A.mjs";
3
+ import { Bt as formatTime, Ht as formatTimeZoneCityLabel, It as formatDate, W as isBookingRequirementConsentFieldId, Wt as resolveBookingDisplayContext, an as toUtcIsoDateTimeString, in as parseUtcIsoDateTimeString, nn as resolveBookingTimeZoneId, t as logger, tn as resolveBookingBusinessTimeZone, un as formatCurrencyAmount, zt as formatDateTimeRange } from "./noop-CamIX2yK.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, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-CmZLVXOy.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-xNC1Cyjw.mjs";
8
+ import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
9
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-BQ3OlWlM.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-CzOT8ZWo.mjs";
16
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-B4fRd2jy.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-VjRYhx1c.mjs";
18
+ import { n as StepIndicator, t as BookingPanelArrangement } from "./BookingPanelArrangement-DpqnRo-t.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-CdP14E_b.mjs";
20
+ import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-BhjGxhX3.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-CKY9oksp.mjs";
3
+ import { t as BlockApiProvider } from "./context-xNC1Cyjw.mjs";
4
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BTde6Syh.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-BjRoLoMD.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, Bi as normalizeEventRegistrationPageSurfaceSubject, Jt as getSingleSelectedPricingOptionId, Oi as createHostedBlockApiConfig, Q as resolveEventRegistrationSubmitPlan, Qn as resolveRuntimeEventDestination, Sr as normalizeBookingServices, Ti as readRuntimeNow, Y as deriveEventRegistrationSteps, Z as normalizeEventRegistrationMaxTickets, Zr as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, bn as resolveRegistrationDisplay, et as resolveHeadlessEventRegistrationView, nt as toInternalPaymentSelection, tt as toHeadlessPaymentSelection, xr as normalizeBookingFormConfig } from "./display-B5DfNb6A.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-CKY9oksp.mjs";
4
+ import { z as publicEventSchema } from "./noop-CamIX2yK.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-xNC1Cyjw.mjs";
7
+ import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-BWb295cD.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 { Bo as boxBackgroundOverlaySchema, Go as cardVariantRoleValues, Ho as runtimeBoxBackgroundSchema, Ko as itemRoleValues, Uo as boxlessCardVariantValue, Vo as boxBackgroundSchema, qo as openCardRoleValue } from "./display-B5DfNb6A.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-BTde6Syh.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-BTde6Syh.mjs";
3
+ import { t as CartClient } from "./cart.client-BJBPUTmg.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-BE6TEk2A.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-BsY7a71m.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-BTde6Syh.mjs";
3
+ import { t as CheckoutClient } from "./checkout.client-BbNCO4xa.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-BE6TEk2A.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");
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as CheckoutController } from "./shop-commerce--klkHNzu.mjs";
2
+ import { n as CheckoutController } from "./shop-commerce-BsY7a71m.mjs";
3
3
  import "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ai as canonicalUrl } from "./display-ChgDe9Da.mjs";
2
+ import { ji as canonicalUrl } from "./display-B5DfNb6A.mjs";
3
3
  //#region ../blocks/src/system/runtime/shared/utils/checkoutUrls.ts
4
4
  /**
5
5
  * Build return URLs for Stripe checkout redirect.