@riverbankcms/sdk 0.164.0 → 0.166.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 (252) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CubPwupc.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
  2. package/dist/_dts/{Page-CDzsagB2.d.ts → Page-rW0xgQCA.d.ts} +18 -256
  3. package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +107 -72
  4. package/dist/_dts/{client-CbeYTSry.d.ts → client-D4BXQEZc.d.ts} +5 -1
  5. package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-MUzta0l9.d.ts} +3 -3
  6. package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
  7. package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
  9. package/dist/_dts/{index-wegfy7lf.d.ts → index--qflsCiy.d.ts} +4 -3
  10. package/dist/_dts/{index-CjdIn9-_.d.ts → index-BgJ2aU5c.d.ts} +2 -2
  11. package/dist/_dts/{index-BZE-1azr.d.ts → index-Bmboeb49.d.ts} +2 -2
  12. package/dist/_dts/{index-BpEbwDM7.d.ts → index-DdcwPqQN.d.ts} +4 -4
  13. package/dist/_dts/{index-DriYVLfT.d.ts → index-ahxQCUc7.d.ts} +2 -2
  14. package/dist/_dts/{index-DYQFmf--.d.ts → index-kQ5xkM6X.d.ts} +1 -1
  15. package/dist/_dts/{index-JS8WYgD3.d.ts → index-mMMvLLAJ.d.ts} +2996 -3079
  16. package/dist/_dts/{index-D_pQO-AS.d.ts → index-wbBZ0awa.d.ts} +49398 -48202
  17. package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
  18. package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
  19. package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-BRJUTFoH.d.ts} +3 -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 +9 -6
  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 +20 -0
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
  28. package/dist/_dts/sdk/src/data/types.d.ts +54 -0
  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 +9 -8
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
  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 +2 -0
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +257 -0
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  48. package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +7 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-DiciZDrk.d.ts → types-BX3Y-EW3.d.ts} +3 -3
  54. package/dist/_dts/{types-DubJnBnI.d.ts → types-DF54stxv.d.ts} +8 -7
  55. package/dist/_dts/{types-W40f2olO.d.ts → types-DuiHLiPo.d.ts} +2 -2
  56. package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-Bxi0f81D.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
  58. package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
  59. package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
  60. package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
  61. package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
  62. package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
  63. package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-BhADnDCg.mjs} +17 -10
  64. package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
  65. package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
  66. package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-CMKrtkT7.mjs} +33 -12
  67. package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
  68. package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
  69. package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-3BBRdNVa.mjs} +70 -15
  70. package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
  71. package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
  72. package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
  73. package/dist/client/{Page-Dub71o3c.mjs → Page-DNDZLRlB.mjs} +3388 -11530
  74. package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
  75. package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
  76. package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
  77. package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
  79. package/dist/client/{accordion-vCG_JC5t.mjs → accordion-uVqNowRX.mjs} +1 -1
  80. package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
  82. package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-DNMojb6A.mjs} +4 -4
  83. package/dist/client/bookings.mjs +6 -6
  84. package/dist/client/{carousel-FM1mkkL0.mjs → carousel-C8kxI3Dm.mjs} +2 -2
  85. package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
  86. package/dist/client/{cart-BDFhbh9j.mjs → cart-DCxjE3Is.mjs} +3 -3
  87. package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-Ceeng8fB.mjs} +1 -1
  88. package/dist/client/{checkout-BibhwnTd.mjs → checkout-B0EKbeVv.mjs} +3 -3
  89. package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
  90. package/dist/client/client.mjs +9465 -15
  91. package/dist/client/{context-BNAM7NsW.mjs → context-n6IZigd3.mjs} +8 -6
  92. package/dist/client/cta-CDeAwYoN.mjs +121 -0
  93. package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
  94. package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
  95. package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
  96. package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
  97. package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-BhygihpQ.mjs} +43 -17
  98. package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
  99. package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
  100. package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
  101. package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-2-xjn2nz.mjs} +4 -4
  102. package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
  103. package/dist/client/{form-GXqjObPC.mjs → form-BeNQiZ2V.mjs} +3 -3
  104. package/dist/client/{form.client-CoKNba2e.mjs → form.client-BFdCKlp7.mjs} +7 -7
  105. package/dist/client/{form.parts-magB_epJ.mjs → form.parts-C7gLK3jh.mjs} +3 -3
  106. package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-CWfelfMt.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +4 -5
  108. package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-CalNAShx.mjs} +2 -2
  109. package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DpPauppt.mjs} +1 -1
  110. package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
  111. package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-Dq7GHGXU.mjs} +9 -9
  112. package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
  113. package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
  114. package/dist/client/{noop-C2vZse15.mjs → noop-D-RG9eR3.mjs} +399 -169
  115. package/dist/client/portal/client.mjs +13 -14
  116. package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
  117. package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-BmH40fNf.mjs} +1 -1
  118. package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
  119. package/dist/client/{productList-Cc-PmbEe.mjs → productList-DjGrjOwD.mjs} +3 -3
  120. package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
  121. package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CKK_RXZo.mjs} +350 -424
  122. package/dist/client/rendering/client.mjs +29 -28
  123. package/dist/client/rendering/islands.mjs +1 -1
  124. package/dist/client/rendering.mjs +70 -8
  125. package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
  126. package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
  127. package/dist/client/{shop-DyXtB5TD.mjs → shop-DLufMauE.mjs} +3 -3
  128. package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
  129. package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
  130. package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-CBy9_alG.mjs} +13 -13
  131. package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BM0NRsFQ.mjs} +265 -24
  132. package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-lS23OQE-.mjs} +2 -2
  133. package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
  134. package/dist/{preview-next/client/ThemedButton-g7NPrsGp.mjs → client/site-styles-DELkUk9s.mjs} +25654 -17259
  135. package/dist/client/spam-protection.mjs +2 -2
  136. package/dist/client/src-DjnxOjXG.mjs +217 -0
  137. package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
  138. package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-DzRWikCU.mjs} +157 -139
  139. package/dist/client/types-sF-IrGQr.mjs +633 -0
  140. package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
  141. package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
  142. package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
  143. package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
  144. package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-Ccr4TZlm.mjs} +12 -159
  145. package/dist/client/{view-BnaOmrap.mjs → view-8w4GA8rf.mjs} +4 -4
  146. package/dist/client/{view-vhKGFfC3.mjs → view-DAVEoe8A.mjs} +310 -247
  147. package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DNpajrAH.mjs} +495 -173
  148. package/dist/preview-next/before-render.mjs +4 -141
  149. package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
  150. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
  151. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
  152. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
  153. package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
  154. package/dist/preview-next/client/PreviewEditorUI-C7ZmYE33.mjs +1189 -0
  155. package/dist/preview-next/client/PreviewShell-DnO38NaL.mjs +4707 -0
  156. package/dist/preview-next/client/SdkPreviewModeRuntime-D2OtoRMB.mjs +4258 -0
  157. package/dist/preview-next/client/SiteChromeCustomizeButton-eIu2RejJ.mjs +71144 -0
  158. package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
  159. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
  160. package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
  161. package/dist/preview-next/client/previewChromeSurface-D2cREDJ5.mjs +190 -0
  162. package/dist/preview-next/client/runtime.mjs +3 -3
  163. package/dist/preview-next/client/sdk-runtime-DK0PUhLL.mjs +5 -0
  164. package/dist/preview-next/client/useAutosaveStatus--Pw8vnef.mjs +138 -0
  165. package/dist/preview-next/client/useBlockCustomizeControls-C1Rl73N4.mjs +2724 -0
  166. package/dist/preview-next/client/useOpenBlockForSetup-CL3842FM.mjs +28 -0
  167. package/dist/preview-next/keepAlive.mjs +27 -4
  168. package/dist/preview-next/middleware.mjs +2 -2
  169. package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-Bq7SUX3K.mjs} +143 -126
  170. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  171. package/dist/preview-next/session.mjs +1 -1
  172. package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
  173. package/dist/server/{src-cbbK3Bho.mjs → ThemeScopeCore-BI2mld9R.mjs} +1153 -2523
  174. package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
  175. package/dist/server/{bindings-BVJGgUT0.mjs → bindings-DjdUq9FR.mjs} +2 -3
  176. package/dist/server/{publicProducts-D3Fc5TKk.mjs → client-07UeMDzA.mjs} +2492 -357
  177. package/dist/server/config-validation.mjs +1 -1
  178. package/dist/server/config.mjs +33 -2
  179. package/dist/server/data/dataLoaderContext.mjs +2 -0
  180. package/dist/server/data/resolveBlockData.mjs +2 -0
  181. package/dist/server/data/types.mjs +1 -0
  182. package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
  183. package/dist/server/identity-Bn9OQiT1.mjs +6 -0
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BuintpdO.mjs → loadContent-ClpaSlBb.mjs} +6 -5
  186. package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-BwtVqpaA.mjs} +4 -2
  187. package/dist/server/manifest.mjs +1 -1
  188. package/dist/server/media-DnlczCMA.mjs +231 -0
  189. package/dist/server/mode-Cv_TG9gP.mjs +63 -0
  190. package/dist/server/next/middleware.mjs +1 -1
  191. package/dist/server/next/revalidate.mjs +1 -1
  192. package/dist/server/next.mjs +13 -13
  193. package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
  194. package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-Du_w3LY4.mjs} +2 -1
  195. package/dist/server/overrides-CD4d-1w7.mjs +177 -0
  196. package/dist/server/page-converter.mjs +243 -91
  197. package/dist/server/pageRenderPlan-BShULdc2.mjs +4055 -0
  198. package/dist/server/{themeAdmission-BdY8lP-K.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
  199. package/dist/server/{overrides-DVemf-GV.mjs → pageShared-HdKFBpaX.mjs} +3594 -1726
  200. package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
  201. package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-Cl-bkaMA.mjs} +1 -1
  202. package/dist/server/prebuild.mjs +1 -1
  203. package/dist/server/prefetchBlockData-C4yUmz-r.mjs +786 -0
  204. package/dist/server/publicProducts-W9hDRwjz.mjs +64 -0
  205. package/dist/server/{registry-zjd1P2Dl.mjs → registry-TFPJdGQi.mjs} +20901 -792
  206. package/dist/server/rendering/components/pageShared.mjs +2 -0
  207. package/dist/server/rendering/helpers/loadPage.mjs +2 -0
  208. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
  209. package/dist/server/rendering/server.mjs +5 -4
  210. package/dist/server/rendering/themeAdmission.mjs +2 -0
  211. package/dist/server/rendering.mjs +11 -10
  212. package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
  213. package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-OHlOXlOE.mjs} +6 -48
  214. package/dist/server/resolveButtonColourStates-lry2ORwX.mjs +2672 -0
  215. package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
  216. package/dist/server/routing.mjs +1 -1
  217. package/dist/server/schema-C2PqHrMo.mjs +2523 -0
  218. package/dist/server/server.mjs +3 -3
  219. package/dist/server/theme-bridge.mjs +1031 -1
  220. package/dist/server/theme.mjs +2 -1
  221. package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
  222. package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
  223. package/dist/server/validation-CDd6m8Ry.mjs +140 -0
  224. package/dist/server/{validation-CGH-Xs4E.mjs → validation-DIBFZeMB.mjs} +419 -3
  225. package/dist/server/{version-DoOG6F13.mjs → version-DZWZM1H6.mjs} +1 -1
  226. package/dist/styles/index.css +924 -10
  227. package/package.json +39 -1
  228. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  229. package/dist/client/cta-ChiN1Vgg.mjs +0 -80
  230. package/dist/client/purchase-BMsWpx8y.mjs +0 -894
  231. package/dist/client/schema-DMUkBtIO.mjs +0 -15915
  232. package/dist/client/site-styles-BLHYJ8S7.mjs +0 -12339
  233. package/dist/client/src-VIsPY-kw.mjs +0 -62
  234. package/dist/preview-next/client/PreviewEditorSidebar-C3AQVxQt.mjs +0 -5441
  235. package/dist/preview-next/client/PreviewEditorUI-C-1zDCR_.mjs +0 -756
  236. package/dist/preview-next/client/SdkPreviewModeRuntime-B47yHFL0.mjs +0 -9130
  237. package/dist/preview-next/client/SdkPreviewModeRuntime-C6Rhm2NQ.mjs +0 -3
  238. package/dist/preview-next/client/previewAuthStore-By_zfrS5.mjs +0 -212195
  239. package/dist/preview-next/client/previewChromeSurface-Cjwxv90x.mjs +0 -85
  240. package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
  241. package/dist/preview-next/client/sdk-runtime-BG2HYvQj.mjs +0 -4
  242. package/dist/preview-next/client/siteStyleAccess-BiSyYyyr.mjs +0 -14178
  243. package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
  244. package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
  245. package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
  246. package/dist/server/client-CiKaE8ms.mjs +0 -2330
  247. package/dist/server/effectiveNavLinkStyle-EDSdd_oK.mjs +0 -11574
  248. package/dist/server/loadPage-BwjncpJf.mjs +0 -2
  249. package/dist/server/prefetchBlockData-Bnbwoe5n.mjs +0 -4156
  250. package/dist/server/schema-BlTWmTSl.mjs +0 -16142
  251. package/dist/server/site-styles-yHytcXIB.mjs +0 -768
  252. package/dist/server/siteChromeOverlayClearance-D0uCNZ7E.mjs +0 -802
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-C2vZse15.mjs";
2
+ import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, m as calendarWindowPageSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema } from "./noop-D-RG9eR3.mjs";
3
3
  import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
4
4
  import { createContext, useContext, useMemo } from "react";
5
5
  import { z } from "zod";
@@ -1304,17 +1304,19 @@ function protectedFormBody({ authorization, ...data }) {
1304
1304
  };
1305
1305
  }
1306
1306
  //#endregion
1307
+ //#region ../blocks/src/system/runtime/api/blockApiContext.ts
1308
+ function getGlobalContext() {
1309
+ if (!globalThis.__RIVERBANK_BLOCK_API_CONTEXT__) globalThis.__RIVERBANK_BLOCK_API_CONTEXT__ = createContext(null);
1310
+ return globalThis.__RIVERBANK_BLOCK_API_CONTEXT__;
1311
+ }
1312
+ const BlockApiContext = getGlobalContext();
1313
+ //#endregion
1307
1314
  //#region ../blocks/src/system/runtime/api/context.tsx
1308
1315
  /**
1309
1316
  * Block API React Context
1310
1317
  *
1311
1318
  * Provider and hook for accessing the Block API Client in React components.
1312
1319
  */
1313
- function getGlobalContext() {
1314
- if (!globalThis.__RIVERBANK_BLOCK_API_CONTEXT__) globalThis.__RIVERBANK_BLOCK_API_CONTEXT__ = createContext(null);
1315
- return globalThis.__RIVERBANK_BLOCK_API_CONTEXT__;
1316
- }
1317
- const BlockApiContext = getGlobalContext();
1318
1320
  /**
1319
1321
  * Provider for Block API Client
1320
1322
  *
@@ -0,0 +1,121 @@
1
+ "use client";
2
+ import { Cn as formatEventRemainingPlaces, Dn as getEventAvailabilityStatus, Sn as canJoinEventWaitlistOnAnyMode, bn as resolveRuntimeEventDestination, kn as isEventFull } from "./wizardSteps-DNpajrAH.mjs";
3
+ import { v as assertNever } from "./src-DjnxOjXG.mjs";
4
+ //#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
5
+ /**
6
+ * Booking call-to-action resolution for events: where an event links to and
7
+ * what the button says. Sold-out and waitlist decisions come from capacity.ts
8
+ * so cards, rows and the wizard never disagree.
9
+ */
10
+ function closedEventBookingLabel(reason) {
11
+ switch (reason) {
12
+ case "occurrence_cancelled":
13
+ case "series_cancelled": return "Cancelled";
14
+ case "occurrence_completed":
15
+ case "series_completed": return "Completed";
16
+ case "series_draft":
17
+ case "series_archived":
18
+ case "parent_archived":
19
+ case "parent_inconsistent":
20
+ case "already_started":
21
+ case "enrollment_closed": return "Registration closed";
22
+ default: return assertNever(reason);
23
+ }
24
+ }
25
+ function resolveEventHref(event) {
26
+ const destination = resolveRuntimeEventDestination(event);
27
+ return destination.kind === "external" ? destination.url : destination.path;
28
+ }
29
+ function resolveEventLinkProps(event) {
30
+ const href = resolveEventHref(event);
31
+ return resolveRuntimeEventDestination(event).kind === "external" ? {
32
+ href,
33
+ target: "_blank",
34
+ rel: "noopener noreferrer"
35
+ } : { href };
36
+ }
37
+ /**
38
+ * Resolve the CTA state for an event.
39
+ * Shared by EventCard and EventCompactRow to keep sold-out, registration-closed,
40
+ * and course-specific defaults consistent.
41
+ */
42
+ function resolveEventCta(event, buttonText) {
43
+ const isSoldOut = isEventFull(event);
44
+ const isExternal = resolveRuntimeEventDestination(event).kind === "external";
45
+ const href = resolveEventHref(event);
46
+ if (event.bookingAvailability.kind === "closed") {
47
+ const linksToClosedWholeSeriesDetails = event.bookingAvailability.reason === "enrollment_closed" && !isExternal;
48
+ return {
49
+ label: closedEventBookingLabel(event.bookingAvailability.reason),
50
+ href,
51
+ external: isExternal,
52
+ hidden: !linksToClosedWholeSeriesDetails
53
+ };
54
+ }
55
+ if (!isExternal && isSoldOut) {
56
+ if (canJoinEventWaitlistOnAnyMode(event)) return {
57
+ label: "Join waitlist",
58
+ href,
59
+ external: false,
60
+ hidden: false
61
+ };
62
+ return {
63
+ label: "Sold out",
64
+ href,
65
+ external: false,
66
+ hidden: true
67
+ };
68
+ }
69
+ return destinationCta(event, buttonText);
70
+ }
71
+ function destinationCta(event, buttonText) {
72
+ const destination = resolveRuntimeEventDestination(event);
73
+ return {
74
+ label: buttonText ?? (destination.kind === "external" ? destination.label : "Book"),
75
+ href: resolveEventHref(event),
76
+ external: destination.kind === "external",
77
+ hidden: false
78
+ };
79
+ }
80
+ /**
81
+ * A bounded date strip cannot prove a series sold out. Its destination owns date selection,
82
+ * so the card offers that destination and leaves capacity with the individual date rows.
83
+ * Whole-series bookings still have one shared capacity, as do ordinary occurrence cards.
84
+ */
85
+ function resolveEventCardBooking(event, scope, buttonText) {
86
+ if (scope === "series" && event.bookingScope === "single_occurrence") return {
87
+ cta: seriesBookingClosed(event) ? resolveEventCta(event, buttonText) : destinationCta(event, buttonText),
88
+ availability: null
89
+ };
90
+ return {
91
+ cta: resolveEventCta(event, buttonText),
92
+ availability: occurrenceCardAvailability(event)
93
+ };
94
+ }
95
+ /** Only a series-wide closure closes its card; a cancelled or started date says nothing about later dates. */
96
+ function seriesBookingClosed(event) {
97
+ if (event.bookingAvailability.kind !== "closed") return false;
98
+ switch (event.bookingAvailability.reason) {
99
+ case "occurrence_cancelled":
100
+ case "occurrence_completed":
101
+ case "already_started": return false;
102
+ case "series_cancelled":
103
+ case "series_completed":
104
+ case "series_draft":
105
+ case "series_archived":
106
+ case "parent_archived":
107
+ case "parent_inconsistent":
108
+ case "enrollment_closed": return true;
109
+ default: return assertNever(event.bookingAvailability.reason);
110
+ }
111
+ }
112
+ function occurrenceCardAvailability(event) {
113
+ const label = formatEventRemainingPlaces(event, { full: "Sold out" });
114
+ const availability = getEventAvailabilityStatus(event);
115
+ return label ? {
116
+ label,
117
+ status: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available"
118
+ } : null;
119
+ }
120
+ //#endregion
121
+ export { resolveEventCta as n, resolveEventLinkProps as r, resolveEventCardBooking as t };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, ft as formatDateTime$1, mt as formatTime, pt as formatDateTimeRange, ut as formatDate$1, vt as resolveBookingDisplayContext } from "./noop-C2vZse15.mjs";
2
+ import { Nt as parseUtcIsoDateTimeString, Pt as toUtcIsoDateTimeString, dt as formatDate$1, ht as formatTime, jt as resolveBookingTimeZoneId, mt as formatDateTimeRange, pt as formatDateTime$1, yt as resolveBookingDisplayContext } from "./noop-D-RG9eR3.mjs";
3
3
  //#region ../blocks/src/portal/dateFormatting.ts
4
4
  /** Optional API timestamps enter the display model here; invalid values never render a Date. */
5
5
  function readInstant(value) {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as BlockApiError } from "./context-BNAM7NsW.mjs";
2
+ import { r as BlockApiError } from "./context-n6IZigd3.mjs";
3
3
  //#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
4
4
  const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
5
5
  const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
- import { nn as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-BQdm441g.mjs";
3
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
2
+ import { fn as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
4
4
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
5
5
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
6
6
  import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
7
- import { n as useCommerceCart } from "./shop-commerce-store-CbBsS1kD.mjs";
7
+ import { n as useCommerceCart } from "./shop-commerce-store-Dp3Nl5YK.mjs";
8
8
  import * as React$1 from "react";
9
9
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
10
  import { createPortal } from "react-dom";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { a as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-vhKGFfC3.mjs";
2
+ import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-DAVEoe8A.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
@@ -9,7 +9,7 @@ function toEventDetailsClientProps(props) {
9
9
  entryTitle: props.entryTitle,
10
10
  actionSize: props.actionSize,
11
11
  lookSlots: props.lookSlots,
12
- itemSurfaces: props.itemSurfaces,
12
+ surfacePresentation: props.surfacePresentation,
13
13
  panelHeading: props.panelHeading,
14
14
  occurrenceContext: props.occurrenceContext,
15
15
  subject: props.subject,
@@ -1,28 +1,45 @@
1
1
  "use client";
2
- import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, Zt as formatEventPriceDisplay, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry } from "./shop.interactive-BQdm441g.mjs";
3
- import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { A as isEventRegistrationAvailable, An as isEventFull, At as getTicketSelectionTotal, B as paymentChoiceDetails, Cn as canJoinEventWaitlistOnAnyMode, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Dt as canRequestTicketOption, Et as formatPrice, Ht as shownVenue, Mn as selectMostOpenCapacitySource, Nn as groupPublicEventsByRun, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlist, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, Un as getRegistrationSuccessCopy, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as publicEventPricingType, b as placeCountCeiling, c as registrationStepLabelContext, ct as confirmationPaymentRows, dt as areEntitlementsDisabledForTicketCount, gt as formatPassCreditUsageLabel, ht as formatEventDateTime, ii as publicEventPricingStrategy, j as normalizeEventRegistrationMaxTickets, jn as selectEventCapacitySource, jt as getTicketTypeLineMax, kn as getRemainingPlaces, kt as getTicketLineQuantity, l as areEventRegistrationPaymentSelectionsEqual, lt as resolveFinishedPresentation, mt as formatDate, n as getEventSelectionMode, ni as publicEventPricingCurrency, pt as formatBookingWhen, r as panelShouldOpen, s as registrationStepLabel, ut as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, v as fullyBookedLabel, vt as formatTime, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-xqU4q63H.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
6
- import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-BGVwNwE-.mjs";
7
- import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-ByT88VHR.mjs";
2
+ import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry, sn as formatEventPriceDisplay } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { A as isEventRegistrationAvailable, An as selectEventCapacitySource, At as getTicketSelectionTotal, B as paymentChoiceDetails, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dt as canRequestTicketOption, En as getEventAvailability, Er as resolveEventRegistrationScopedEvents, Et as formatPrice, Hn as getRegistrationSuccessCopy, Ht as shownVenue, Mn as groupPublicEventsByRun, On as getRemainingPlaces, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlistOnAnyMode, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as publicEventPricingType, b as placeCountCeiling, c as registrationStepLabelContext, ct as confirmationPaymentRows, dt as areEntitlementsDisabledForTicketCount, gt as formatPassCreditUsageLabel, ht as formatEventDateTime, ii as publicEventPricingStrategy, j as normalizeEventRegistrationMaxTickets, jn as selectMostOpenCapacitySource, jt as getTicketTypeLineMax, kn as isEventFull, kt as getTicketLineQuantity, l as areEventRegistrationPaymentSelectionsEqual, lt as resolveFinishedPresentation, mt as formatDate, n as getEventSelectionMode, ni as publicEventPricingCurrency, pt as formatBookingWhen, r as panelShouldOpen, s as registrationStepLabel, ut as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, v as fullyBookedLabel, vt as formatTime, xn as canJoinEventWaitlist, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-DNpajrAH.mjs";
4
+ import { t as assertNever } from "./src-DjnxOjXG.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-B2qLkPRB.mjs";
6
+ import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-8jUc02mZ.mjs";
7
+ import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-CpNcpga4.mjs";
8
8
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
- import { t as CheckboxChoice } from "./CheckboxChoice-3PhxDxgR.mjs";
9
+ import { t as CheckboxChoice } from "./CheckboxChoice-CZ-anOqV.mjs";
10
10
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
11
11
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
12
12
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
13
- import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-Qw780EfW.mjs";
14
- import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-BEIvL31G.mjs";
13
+ import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-B9YrzZt2.mjs";
14
+ import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-D6a2BJij.mjs";
15
15
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
16
- import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-CSQyFm9J.mjs";
16
+ import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-DOWOZYlK.mjs";
17
17
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
18
- import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Bp7MyutT.mjs";
19
- import { n as useBlockApi, r as BlockApiError } from "./context-BNAM7NsW.mjs";
20
- import { t as useBookingNowIso } from "./useBookingNowIso-CUExAee1.mjs";
21
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-NwKJk6gn.mjs";
18
+ import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-Bin7YR0A.mjs";
19
+ import { n as useBlockApi, r as BlockApiError } from "./context-n6IZigd3.mjs";
20
+ import { t as useBookingNowIso } from "./useBookingNowIso-Da-f9iHw.mjs";
21
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-BdXu0fj-.mjs";
22
22
  import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
23
23
  import React, { useCallback, useEffect, useId, useLayoutEffect, useReducer, useRef, useState } from "react";
24
24
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
25
25
  import { createPortal } from "react-dom";
26
+ //#region ../core/src/number-input.ts
27
+ function clampToBounds(value, bounds) {
28
+ const floor = bounds.min ?? Number.NEGATIVE_INFINITY;
29
+ const ceiling = bounds.max ?? Number.POSITIVE_INFINITY;
30
+ return Math.min(ceiling, Math.max(floor, value));
31
+ }
32
+ /** Decimal places in a step, so 0.5 steps don't drift into 1.4999999. */
33
+ function stepPrecision(step) {
34
+ const [, decimals = ""] = String(step).split(".");
35
+ return decimals.length;
36
+ }
37
+ /** One press of − or +: moves by `step` and stays inside the bounds. */
38
+ function stepNumber(value, direction, bounds = {}) {
39
+ const step = bounds.step ?? 1;
40
+ return clampToBounds(Number((value + direction * step).toFixed(stepPrecision(step))), bounds);
41
+ }
42
+ //#endregion
26
43
  //#region ../blocks/src/system/runtime/shared/components/ClockIcon.tsx
27
44
  function ClockIcon({ className, strokeWidth = 2 }) {
28
45
  return /* @__PURE__ */ jsx("svg", {
@@ -150,10 +167,19 @@ function measureBar(card, bar, cardNear, panelOpen) {
150
167
  bottom: rect.bottom
151
168
  } : null,
152
169
  viewportHeight: viewportHeight(),
153
- barHeight: bar?.offsetHeight ?? 0,
170
+ barHeight: barStripHeight(bar),
154
171
  reducedMotion: window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? false
155
172
  });
156
173
  }
174
+ /**
175
+ * The bar's height plus the inset a site style may set below it, so the push
176
+ * and the hand-over travel the whole way off screen. Zero inset is today's bar.
177
+ */
178
+ function barStripHeight(bar) {
179
+ if (!bar) return 0;
180
+ const inset = Number.parseFloat(window.getComputedStyle(bar).bottom);
181
+ return bar.offsetHeight + (Number.isFinite(inset) && inset > 0 ? inset : 0);
182
+ }
157
183
  /** Writes the push straight onto the bar, so following the scroll never re-renders. */
158
184
  function applyPush(bar, push) {
159
185
  if (!bar) return;
@@ -1536,7 +1562,7 @@ function TicketCounter(props) {
1536
1562
  /* @__PURE__ */ jsx("button", {
1537
1563
  type: "button",
1538
1564
  "aria-label": `Decrease ${label}`,
1539
- onClick: () => onTicketsChange(Math.max(minAllowed, ticketsCount - 1)),
1565
+ onClick: () => onTicketsChange(stepNumber(ticketsCount, -1, { min: minAllowed })),
1540
1566
  disabled: ticketsCount <= minAllowed,
1541
1567
  className: "er-counter-btn",
1542
1568
  children: "-"
@@ -1548,7 +1574,7 @@ function TicketCounter(props) {
1548
1574
  /* @__PURE__ */ jsx("button", {
1549
1575
  type: "button",
1550
1576
  "aria-label": `Increase ${label}`,
1551
- onClick: () => onTicketsChange(Math.min(maxAllowed, ticketsCount + 1)),
1577
+ onClick: () => onTicketsChange(stepNumber(ticketsCount, 1, { max: maxAllowed })),
1552
1578
  disabled: ticketsCount >= maxAllowed,
1553
1579
  className: "er-counter-btn",
1554
1580
  children: "+"
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
- import { t as EventCalendarClient } from "./EventCalendar.client-DWoboRW5.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
3
+ import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
4
+ import { t as EventCalendarClient } from "./EventCalendar.client-BhADnDCg.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCalendar.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
- import { n as EventCombinedIslandClient } from "./EventCombined.client-C98ucpcP.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
3
+ import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
4
+ import { n as EventCombinedIslandClient } from "./EventCombined.client-jik34zTb.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventCombined.tsx
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as EventDetailsIslandClient } from "./event-details.client-jFyFjOIC.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
3
+ import { t as EventDetailsIslandClient } from "./event-details.client-Cfr1_Cj4.mjs";
4
4
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
- import { t as EventListingClient } from "./EventListing.client-Cp11sBX_.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
3
+ import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
4
+ import { t as EventListingClient } from "./EventListing.client-DZeDM0Qt.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventListing.tsx
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as EventRegistrationIslandClient } from "./event-registration.client-BK_jVv3R.mjs";
4
- import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
2
+ import { t as EventRegistrationIslandClient } from "./event-registration.client-BhygihpQ.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
4
+ import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
6
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
7
7
  import "react";
8
8
  import { jsx } from "react/jsx-runtime";
9
9
  //#region src/rendering/islands/enhancers/eventRegistration.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
- import { t as FormNodeClient } from "./form.client-CoKNba2e.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
3
+ import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
4
+ import { t as FormNodeClient } from "./form.client-BFdCKlp7.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { n as err, r as ok, t as assertNever } from "./src-VIsPY-kw.mjs";
3
- import { Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
4
- import { C as clsx } from "./ThemedButton-BGVwNwE-.mjs";
2
+ import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
3
+ import { n as err, r as ok, t as assertNever } from "./src-DjnxOjXG.mjs";
4
+ import { C as clsx } from "./ThemedButton-8jUc02mZ.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-magB_epJ.mjs";
7
- import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
8
- import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CRsKTQV-.mjs";
9
- import { t as useAltchaProtection } from "./altchaProtection-BWchRM3v.mjs";
6
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-C7gLK3jh.mjs";
7
+ import { n as useBlockApi } from "./context-n6IZigd3.mjs";
8
+ import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
9
+ import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
10
10
  import { useReducer, useRef } from "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../blocks/src/system/runtime/hooks/useFormSubmission.state.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Nr as listLookControl, Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
3
- import { t as CheckboxChoice } from "./CheckboxChoice-3PhxDxgR.mjs";
4
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-DGbgGvdh.mjs";
2
+ import { Mr as listLookControl, Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
3
+ import { t as CheckboxChoice } from "./CheckboxChoice-CZ-anOqV.mjs";
4
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-8DuDw2ag.mjs";
5
5
  import "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/form.fields.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, ft as formatDateTime, ut as formatDate$1 } from "./noop-C2vZse15.mjs";
2
+ import { Nt as parseUtcIsoDateTimeString, Ot as parseBookingLocalDate, dt as formatDate$1, pt as formatDateTime } from "./noop-D-RG9eR3.mjs";
3
3
  //#region ../blocks/src/bindings/formatDate.ts
4
4
  /** Admit stored civil dates or offset-aware instants before core projection. */
5
5
  function formatDate(value, context, options) {
@@ -1,13 +1,12 @@
1
1
  "use client";
2
2
  "use client";
3
- import { x as formatGiftCardAmountLabel } from "../purchase-BMsWpx8y.mjs";
4
- import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, t as logger, ut as formatDate } from "../noop-C2vZse15.mjs";
5
- import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BGVwNwE-.mjs";
3
+ import { Pt as toUtcIsoDateTimeString, dt as formatDate, jt as resolveBookingTimeZoneId, t as logger, zt as formatGiftCardAmountLabel } from "../noop-D-RG9eR3.mjs";
4
+ import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-8jUc02mZ.mjs";
6
5
  import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
7
- import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-BNAM7NsW.mjs";
6
+ import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-n6IZigd3.mjs";
8
7
  import React from "react";
9
8
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
10
- import { useRouter } from "next/navigation.js";
9
+ import { useRouter } from "next/navigation";
11
10
  //#region ../core/src/gift-expiry.ts
12
11
  /** Gifts expire at an exclusive boundary; vouchers include their end instant. */
13
12
  function formatGiftExpiryDate(expiresAt, context, kind = "gift_card") {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-D4zqEBDl.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
3
+ import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-VHfv8M6-.mjs";
4
4
  //#region src/rendering/islands/enhancers/headerSection.ts
5
5
  const decode = defineIslandPropsDecoder("headerSection");
6
6
  const enhance = (root, props) => {
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { lr as renderableMediaAssetSchema } from "./schema-DMUkBtIO.mjs";
2
+ import { i as renderableMediaAssetSchema } from "./surfaceTransportMarker-BXepAVF6.mjs";
3
3
  //#region src/rendering/mediaAssets.ts
4
4
  function toBlocksMediaAssets(assets) {
5
5
  if (!assets) return void 0;
@@ -1,5 +1,29 @@
1
1
  "use client";
2
- import { cr as buildRenderableMediaAssetIndex } from "./schema-DMUkBtIO.mjs";
2
+ import { r as buildRenderableMediaAssetIndex } from "./surfaceTransportMarker-BXepAVF6.mjs";
3
+ //#region ../blocks/src/system/runtime/nodes/mediaContextStore.ts
4
+ /**
5
+ * Client-side context storage.
6
+ * Safe because browsers are single-threaded per tab.
7
+ *
8
+ * IMPORTANT: This must be shared across bundles.
9
+ * SDK preview mode can load multiple independently-bundled entrypoints
10
+ * (e.g. `@riverbankcms/sdk/rendering` + `@riverbankcms/sdk/preview-next/client`),
11
+ * which can otherwise each get their own module-scoped singleton.
12
+ *
13
+ * It lives in its own module, with no runtime imports, so the dashboard test
14
+ * lanes can create the shared global before their global-leak snapshots
15
+ * without loading the rest of the renderer.
16
+ */
17
+ const RB_MEDIA_CONTEXT_KEY = Symbol.for("riverbankcms.blocks.mediaContext");
18
+ function getClientContextStore() {
19
+ const g = globalThis;
20
+ const existing = g[RB_MEDIA_CONTEXT_KEY];
21
+ if (existing && typeof existing === "object") return existing;
22
+ const next = {};
23
+ g[RB_MEDIA_CONTEXT_KEY] = next;
24
+ return next;
25
+ }
26
+ //#endregion
3
27
  //#region ../blocks/src/system/runtime/nodes/mediaContext.ts
4
28
  function buildMediaAssetIndex(assets) {
5
29
  return buildRenderableMediaAssetIndex(assets);
@@ -42,24 +66,6 @@ function getServerStorage() {
42
66
  }
43
67
  }
44
68
  /**
45
- * Client-side context storage.
46
- * Safe because browsers are single-threaded per tab.
47
- *
48
- * IMPORTANT: This must be shared across bundles.
49
- * SDK preview mode can load multiple independently-bundled entrypoints
50
- * (e.g. `@riverbankcms/sdk/rendering` + `@riverbankcms/sdk/preview-next/client`),
51
- * which can otherwise each get their own module-scoped singleton.
52
- */
53
- const RB_MEDIA_CONTEXT_KEY = Symbol.for("riverbankcms.blocks.mediaContext");
54
- function getClientContextStore() {
55
- const g = globalThis;
56
- const existing = g[RB_MEDIA_CONTEXT_KEY];
57
- if (existing && typeof existing === "object") return existing;
58
- const next = {};
59
- g[RB_MEDIA_CONTEXT_KEY] = next;
60
- return next;
61
- }
62
- /**
63
69
  * Get the current media context.
64
70
  * Server-side: Uses AsyncLocalStorage for request isolation.
65
71
  * Client-side: Uses module-level state (safe in single-threaded browser).
@@ -1,14 +1,14 @@
1
1
  "use client";
2
- import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, dn as parseMailingListVisitorSelection } from "./shop.interactive-BQdm441g.mjs";
3
- import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
5
- import { C as clsx } from "./ThemedButton-BGVwNwE-.mjs";
2
+ import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, xn as parseMailingListVisitorSelection } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
4
+ import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
5
+ import { C as clsx } from "./ThemedButton-8jUc02mZ.mjs";
6
6
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
7
- import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D8NgHY_F.mjs";
8
- import { n as useBlockApi, r as BlockApiError } from "./context-BNAM7NsW.mjs";
7
+ import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-BSMDYQiS.mjs";
8
+ import { n as useBlockApi, r as BlockApiError } from "./context-n6IZigd3.mjs";
9
9
  import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
10
- import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CRsKTQV-.mjs";
11
- import { t as useAltchaProtection } from "./altchaProtection-BWchRM3v.mjs";
10
+ import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
11
+ import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
12
12
  import { useEffect, useReducer, useRef } from "react";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
14
14
  //#region ../blocks/src/system/runtime/nodes/newsletter-form.client.state.ts
@@ -95,7 +95,7 @@ function resolveNewsletterSubmitTarget(input) {
95
95
  tag: "unavailable",
96
96
  reason: "missing_block_source"
97
97
  };
98
- case "signed-footer-source": return publishedSourceTarget(input.sourceRef);
98
+ case "signed-source": return publishedSourceTarget(input.sourceRef);
99
99
  case "preview": return {
100
100
  tag: "unavailable",
101
101
  reason: "preview_only_source"
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
2
+ import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
3
3
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
4
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-DGbgGvdh.mjs";
4
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-8DuDw2ag.mjs";
5
5
  import "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/newsletter-form.parts.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
- import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
4
- import { t as NewsletterFormClient } from "./newsletter-form.client-8orCez1z.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-kTVPMnfD.mjs";
3
+ import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
4
+ import { t as NewsletterFormClient } from "./newsletter-form.client-Dq7GHGXU.mjs";
5
5
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
6
6
  import "react";
7
7
  import { jsx } from "react/jsx-runtime";