@riverbankcms/sdk 0.161.0 → 0.162.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 (187) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
  2. package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-CdQS6C7i.d.ts} +8 -8
  3. package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +58 -91
  4. package/dist/_dts/{client-Ep0jI9eE.d.ts → client-DGa53rjL.d.ts} +11 -3
  5. package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
  6. package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-CyBaPaIq.d.ts} +13 -4
  7. package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
  9. package/dist/_dts/{index-ylivB7Jj.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
  10. package/dist/_dts/{index-CSsfq6KG.d.ts → index-BtnsA14K.d.ts} +9 -5
  11. package/dist/_dts/{index-BVkP8f70.d.ts → index-C39F9KaB.d.ts} +13 -2
  12. package/dist/_dts/{index-KPrWM0KF.d.ts → index-DEu85xBt.d.ts} +1 -1
  13. package/dist/_dts/{schema-BHu0PYWl.d.ts → index-DI2yaSPY.d.ts} +4099 -3343
  14. package/dist/_dts/{types-BR1Yboa9.d.ts → index-Dbd0Sn0G.d.ts} +3300 -1691
  15. package/dist/_dts/{index-CF6Cjs7b.d.ts → index-Du1IRglc.d.ts} +2 -2
  16. package/dist/_dts/{index-D_8uz4OP.d.ts → index-Jlcq6w69.d.ts} +3 -3
  17. package/dist/_dts/{index-DvKQA6AZ.d.ts → index-Wm62sXf2.d.ts} +4 -4
  18. package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-BPfAAZDW.d.ts} +10 -7
  19. package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-DWbrtKf8.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 +6 -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/index.d.ts +8 -8
  27. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  28. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  29. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  30. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  31. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  32. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  33. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  34. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  35. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  36. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  38. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  39. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  40. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  42. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  43. package/dist/_dts/sdk/src/server.d.ts +5 -5
  44. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  45. package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CVv2H4AT.d.ts} +7 -7
  46. package/dist/_dts/{types-D02ngcUH.d.ts → types-CfNG5koF.d.ts} +2 -2
  47. package/dist/_dts/{types-CJXTCF_F.d.ts → types-ClZ-BQL_.d.ts} +3 -3
  48. package/dist/_dts/{validation-BaV565gb.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
  49. package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +20 -19
  50. package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
  51. package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
  52. package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
  53. package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
  54. package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
  55. package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
  56. package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
  57. package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
  58. package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-M5rpaHxi.mjs} +4 -4
  59. package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
  60. package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
  61. package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-k4lhuCn5.mjs} +14 -21
  62. package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +10 -10
  63. package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
  64. package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-_aIK2ojv.mjs} +2 -70
  65. package/dist/client/{Page-Bf2nPACI.mjs → Page-DJBIQBOw.mjs} +1762 -254
  66. package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
  67. package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
  68. package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-BWsDgjMC.mjs} +1 -1
  69. package/dist/client/{accordion-TcimLLRQ.mjs → accordion-CtO2XF7M.mjs} +1 -1
  70. package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
  71. package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
  72. package/dist/client/bookings.mjs +5 -5
  73. package/dist/client/{carousel-CGAk6j0m.mjs → carousel-BR-zCD3O.mjs} +2 -2
  74. package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
  75. package/dist/client/{cart-D_h3rAZ2.mjs → cart-C6YpKbZZ.mjs} +3 -3
  76. package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-dC938WrX.mjs} +1 -1
  77. package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Dy9RlREI.mjs} +3 -3
  78. package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-CefG0d2F.mjs} +1 -1
  79. package/dist/client/client.mjs +34 -69
  80. package/dist/client/{context-9ZfMb6GA.mjs → context-BFwxgZpB.mjs} +28 -1
  81. package/dist/client/{cta-D-ZqL7-e.mjs → cta-DtA42Xio.mjs} +1 -1
  82. package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
  83. package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
  84. package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
  85. package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-BFgsLqTj.mjs} +2 -1
  86. package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-BaXZ1-Ky.mjs} +13 -13
  87. package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-COLwF80U.mjs} +4 -4
  88. package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
  89. package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-CBrkimXu.mjs} +2 -2
  90. package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-CedKVA1S.mjs} +4 -4
  91. package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
  92. package/dist/client/{form-QZhtdFHA.mjs → form-XFy9uXSJ.mjs} +3 -3
  93. package/dist/client/{form.client-CgvPACwG.mjs → form.client-B0iancFK.mjs} +4 -4
  94. package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-DMbolu9Y.mjs} +3 -3
  95. package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
  96. package/dist/client/gifting/client.mjs +3 -3
  97. package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-WjlECjtV.mjs} +2 -2
  98. package/dist/client/{mediaAssets-BvjcAZpS.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
  99. package/dist/client/mediaContext-CNzWmoA4.mjs +136 -0
  100. package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
  101. package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
  102. package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
  103. package/dist/client/{noop-B7H6gCbj.mjs → noop-B3RNPVrt.mjs} +19 -3
  104. package/dist/client/portal/client.mjs +1116 -85
  105. package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
  106. package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
  107. package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-CbBUVWgd.mjs} +3 -3
  108. package/dist/client/{productList-DEo8Bqoe.mjs → productList-vqOKH2mh.mjs} +3 -3
  109. package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-CkSUep5a.mjs} +4 -3
  110. package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-cZ24QwtW.mjs} +272 -68
  111. package/dist/client/rendering/client.mjs +27 -26
  112. package/dist/client/rendering/islands.mjs +1 -1
  113. package/dist/client/rendering.mjs +10 -7
  114. package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
  115. package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
  116. package/dist/client/{schema-C-m8XHuW.mjs → schema-DNHLlze-.mjs} +4575 -4311
  117. package/dist/client/{shop-RGWa43H7.mjs → shop-CF0dhnfH.mjs} +3 -3
  118. package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
  119. package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
  120. package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-DqfYoqWH.mjs} +12 -12
  121. package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-CreQ0I7i.mjs} +38 -31
  122. package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-D-yh-P7g.mjs} +2 -2
  123. package/dist/client/{mediaContext-jPeJ2PmJ.mjs → site-styles-B9HgmY07.mjs} +1329 -511
  124. package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-DCdVErTJ.mjs} +10 -9
  125. package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
  126. package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
  127. package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
  128. package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
  129. package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-CsysCF22.mjs} +6 -6
  130. package/dist/client/{view-Dj_FZHmg.mjs → view-BpBjo9Te.mjs} +64 -55
  131. package/dist/client/{view-BUh4LnLS.mjs → view-DMyTchi7.mjs} +4 -4
  132. package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-BO2OmMO9.mjs} +59 -53
  133. package/dist/preview-next/before-render.mjs +3 -3
  134. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +1 -1
  135. package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +164 -1042
  136. package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-VaHvYtrA.mjs} +9 -190
  137. package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
  138. package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +220 -130
  139. package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-CHKOWXxl.mjs} +608 -333
  140. package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-C0VUwEHz.mjs} +158752 -162808
  141. package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
  142. package/dist/preview-next/client/runtime.mjs +3 -3
  143. package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
  144. package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
  145. package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-BeR2S8oG.mjs} +1 -1
  146. package/dist/preview-next/keepAlive.mjs +2 -2
  147. package/dist/preview-next/middleware.mjs +1 -1
  148. package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
  149. package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CkrFDMrl.mjs} +394 -200
  150. package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-DxvNGDig.mjs} +4 -4
  151. package/dist/server/{bindings-C5YpKuKt.mjs → bindings-BuhKvYkE.mjs} +2 -2
  152. package/dist/server/{client-Cv26lZQ4.mjs → client-BobW6DOz.mjs} +34 -69
  153. package/dist/server/config-validation.mjs +1 -1
  154. package/dist/server/config.mjs +2 -2
  155. package/dist/server/{effectiveNavLinkStyle-CGvGr3yD.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +1127 -144
  156. package/dist/server/index.mjs +3 -3
  157. package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-CCG_3mbY.mjs} +7 -4
  158. package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
  159. package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-jntGoMrf.mjs} +2 -2
  160. package/dist/server/next.mjs +9 -9
  161. package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
  162. package/dist/server/{overrides-D1fiPOKF.mjs → overrides-DByQwIyW.mjs} +264 -168
  163. package/dist/server/page-converter.mjs +1 -1
  164. package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-DrwcTk2t.mjs} +1 -1
  165. package/dist/server/prebuild.mjs +1 -1
  166. package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-LfgxSJYE.mjs} +31 -10
  167. package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-8A3T5v4M.mjs} +647 -166
  168. package/dist/server/{registry-BVfCqaCq.mjs → registry-Digv02oV.mjs} +308 -36
  169. package/dist/server/rendering/server.mjs +4 -4
  170. package/dist/server/rendering.mjs +8 -8
  171. package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
  172. package/dist/server/routing.mjs +1 -1
  173. package/dist/server/{schema-CD4peO7m.mjs → schema-BiqpDRwB.mjs} +2813 -2549
  174. package/dist/server/server.mjs +3 -3
  175. package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-DrkprQPL.mjs} +81 -113
  176. package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-BmKKkkbh.mjs} +2 -2
  177. package/dist/server/{src-ILxc6pid.mjs → src-08GY1njw.mjs} +902 -44
  178. package/dist/server/theme-bridge.mjs +1 -1
  179. package/dist/server/theme.mjs +1 -1
  180. package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CSd_Vusz.mjs} +36 -29
  181. package/dist/server/{validation-B1ieVemg.mjs → validation-DdUTkBOZ.mjs} +2 -2
  182. package/dist/server/{version-BQK44wFg.mjs → version-DdIOqIDe.mjs} +1 -1
  183. package/dist/styles/index.css +872 -41
  184. package/package.json +1 -1
  185. package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
  186. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
  187. package/dist/server/loadPage--DXBwI8V.mjs +0 -2
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, v as isToday } from "./src-1PJxc8KO.mjs";
3
- import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
3
+ import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
4
4
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
5
- import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
6
- import { lt as formatDate } from "./noop-B7H6gCbj.mjs";
7
- import { Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
8
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
9
- import { i as formatEventTeacherLine } from "./EventItem-BEx-qiDE.mjs";
5
+ import { An as isEventFull, bn as resolveEventTimeZone, cn as eventDateOptions, vn as formatTime, wn as formatEventRemainingPlaces, yn as groupEventsByDate } from "./wizardSteps-BO2OmMO9.mjs";
6
+ import { ut as formatDate } from "./noop-B3RNPVrt.mjs";
7
+ import { Yt as formatEventPrice } from "./shop.interactive-CreQ0I7i.mjs";
8
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-DtA42Xio.mjs";
9
+ import { i as formatEventTeacherLine } from "./EventItem-M5rpaHxi.mjs";
10
10
  import "react";
11
11
  import { jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { C as clsx } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { C as clsx } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import React from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/CheckboxChoice.tsx
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-B7H6gCbj.mjs";
5
- import { t as CheckboxChoice } from "./CheckboxChoice-DWexRLf6.mjs";
4
+ import { r as verifiedSiteTermsAcceptanceSchema } from "./noop-B3RNPVrt.mjs";
5
+ import { t as CheckboxChoice } from "./CheckboxChoice-C7X9dJ8A.mjs";
6
6
  import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
7
7
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
8
- import { n as useBlockApi, r as BlockApiError } from "./context-9ZfMb6GA.mjs";
9
- import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BxkSS9fx.mjs";
8
+ import { n as useBlockApi, r as BlockApiError } from "./context-BFwxgZpB.mjs";
9
+ import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-WOiT5Ryi.mjs";
10
10
  import React, { useCallback, useEffect, useId, useMemo, useReducer } from "react";
11
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
12
12
  //#region ../core/src/site-terms.ts
@@ -167,6 +167,13 @@ function siteTermsSubmission(view) {
167
167
  },
168
168
  agreed: view.checked
169
169
  };
170
+ case "accepted_in_flow": return {
171
+ shown: {
172
+ kind: "checkbox",
173
+ versionId: view.terms.version.id
174
+ },
175
+ agreed: true
176
+ };
170
177
  case "already_agreed": return {
171
178
  shown: {
172
179
  kind: "already_agreed_line",
@@ -240,13 +247,15 @@ function decideSiteTermsPresentation(input) {
240
247
  const acceptance = input.identity !== null && input.state.identity === input.identity ? input.state.acceptance : null;
241
248
  const context = siteTermsCheckoutContext(input.context);
242
249
  const applicability = context.targetKey !== null && input.state.requiredTarget === context.targetKey ? { kind: "server_requirement" } : context;
243
- const commerceView = decideSiteTermsAgreement({
250
+ const purchaseView = decideSiteTermsAgreement({
244
251
  terms,
245
252
  acceptance,
246
253
  tickedVersionId: input.state.tickedVersionId,
247
254
  kind: "purchase"
248
255
  });
249
- const view = siteTermsApplicabilityApplies(applicability) ? commerceView : { kind: "nothing" };
256
+ const applicable = siteTermsApplicabilityApplies(applicability);
257
+ const view = applicable ? purchaseView : { kind: "nothing" };
258
+ const commerceView = commerceTermsView(input.context, applicable, purchaseView);
250
259
  return {
251
260
  projectionKey,
252
261
  targetKey: context.targetKey,
@@ -255,6 +264,13 @@ function decideSiteTermsPresentation(input) {
255
264
  commerceView
256
265
  };
257
266
  }
267
+ /** A secondary purchase reuses evidence already collected by the applicable event box. */
268
+ function commerceTermsView(context, applicable, purchaseView) {
269
+ return context.kind === "event" && applicable && purchaseView.kind === "checkbox" && purchaseView.checked ? {
270
+ kind: "accepted_in_flow",
271
+ terms: purchaseView.terms
272
+ } : purchaseView;
273
+ }
258
274
  //#endregion
259
275
  //#region ../blocks/src/system/runtime/hooks/useSiteTermsAgreement.state.ts
260
276
  const initialSiteTermsAgreementState = {
@@ -484,8 +500,8 @@ function useSiteTermsAgreement(options) {
484
500
  commerceView,
485
501
  onChange: useCallback((checked) => dispatch({
486
502
  kind: "ticked",
487
- versionId: checked && commerceView.kind === "checkbox" ? commerceView.terms.version.id : null
488
- }), [commerceView]),
503
+ versionId: checked ? versionId : null
504
+ }), [versionId]),
489
505
  requireAgreement: useCallback((surface = "primary") => {
490
506
  if (!siteTermsAgreementOutstanding(surface === "commerce" ? commerceView : view)) return true;
491
507
  dispatch({
@@ -505,7 +521,7 @@ function useSiteTermsAgreement(options) {
505
521
  function SiteTermsAgreementField(props) {
506
522
  const id = useId();
507
523
  const view = props.agreement;
508
- if (view.kind === "nothing") return null;
524
+ if (view.kind === "nothing" || view.kind === "accepted_in_flow") return null;
509
525
  const link = view.terms.href === null ? /* @__PURE__ */ jsx("span", { children: "booking terms" }) : /* @__PURE__ */ jsx("a", {
510
526
  className: "form-check-link",
511
527
  href: view.terms.href,
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/DemoPortalSignInLink.tsx
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
3
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
4
- import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { g as resolveCalendarReadProfile } from "./noop-B7H6gCbj.mjs";
6
- import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-V2ifvGGy.mjs";
7
- import { Et as buildEventCalendarListingRender, Pt as buildEventRuntimeFilters, Yt as buildEventListWeek } from "./shop.interactive-CVqLAU53.mjs";
8
- import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-PeCiL82X.mjs";
9
- import { i as useEventCollectionFilters } from "./useEventPagination-CLAS0upd.mjs";
10
- import { n as EventListingController } from "./EventListing.client-D3uySdGP.mjs";
11
- import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-B5bmQ03b.mjs";
3
+ import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
4
+ import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-BO2OmMO9.mjs";
5
+ import { g as resolveCalendarReadProfile } from "./noop-B3RNPVrt.mjs";
6
+ import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-DCdVErTJ.mjs";
7
+ import { Jt as buildEventListWeek, Nt as buildEventRuntimeFilters, Tt as buildEventCalendarListingRender } from "./shop.interactive-CreQ0I7i.mjs";
8
+ import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-COBVxgHb.mjs";
9
+ import { i as useEventCollectionFilters } from "./useEventPagination-CsysCF22.mjs";
10
+ import { n as EventListingController } from "./EventListing.client-B8F40Rmn.mjs";
11
+ import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-CNzwEHws.mjs";
12
12
  import React, { useEffect, useMemo, useState } from "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
14
  //#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookClient.tsx
@@ -173,15 +173,14 @@ function hourToTickPercent(hour, hours) {
173
173
  //#region ../blocks/src/system/runtime/nodes/events/EventCalendar.client.tsx
174
174
  const EventCalendarClient = ({ render }) => {
175
175
  const { display } = render;
176
- if (display.displayMode === "week") return /* @__PURE__ */ jsx(CalendarRecurringWeek, { display });
177
- if (display.displayMode === "combined") return /* @__PURE__ */ jsx(EventCalendarCombinedClient, { render });
178
- if (display.displayMode === "list") {
179
- if (display.listBy === "week") return /* @__PURE__ */ jsx(EventCalendarWeekListClient, { render });
180
- return /* @__PURE__ */ jsx(EventListingController, { render: buildEventCalendarListingRender(render) });
176
+ switch (display.displayMode) {
177
+ case "week": return /* @__PURE__ */ jsx(CalendarRecurringWeek, { display });
178
+ case "combined": return /* @__PURE__ */ jsx(EventCalendarCombinedClient, { render });
179
+ case "list": return display.listBy === "week" ? /* @__PURE__ */ jsx(EventCalendarWeekListClient, { render }) : /* @__PURE__ */ jsx(EventListingController, { render: buildEventCalendarListingRender(render) });
180
+ case "timetable": return /* @__PURE__ */ jsx(EventCalendarTimetableClient, { render });
181
+ case "week-board": return /* @__PURE__ */ jsx(EventCalendarWeekBoardClient, { render });
182
+ case "calendar": return /* @__PURE__ */ jsx(EventCalendarGridClient, { render });
181
183
  }
182
- if (display.displayMode === "timetable") return /* @__PURE__ */ jsx(EventCalendarTimetableClient, { render });
183
- if (display.displayMode === "week-board") return /* @__PURE__ */ jsx(EventCalendarWeekBoardClient, { render });
184
- return /* @__PURE__ */ jsx(EventCalendarGridClient, { render });
185
184
  };
186
185
  function EventCalendarCombinedClient({ render }) {
187
186
  const { display, hydration } = render;
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
3
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
4
- import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { Ct as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, lt as formatDate, s as calendarMonthDate, u as calendarQueryKey } from "./noop-B7H6gCbj.mjs";
6
- import { Ft as getEventRuntimeFiltersKey, Mt as eventListingBlockRuntime, Pt as buildEventRuntimeFilters } from "./shop.interactive-CVqLAU53.mjs";
7
- import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-PeCiL82X.mjs";
3
+ import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
4
+ import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-BO2OmMO9.mjs";
5
+ import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-B3RNPVrt.mjs";
6
+ import { Nt as buildEventRuntimeFilters, Pt as getEventRuntimeFiltersKey, jt as eventListingBlockRuntime } from "./shop.interactive-CreQ0I7i.mjs";
7
+ import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-COBVxgHb.mjs";
8
8
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
9
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
10
- import { t as TabBarFragment } from "./TabBarFragment-Bkgz67gt.mjs";
11
- import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
12
- import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-CLAS0upd.mjs";
10
+ import { t as TabBarFragment } from "./TabBarFragment-BLsfQskO.mjs";
11
+ import { n as useBlockApi } from "./context-BFwxgZpB.mjs";
12
+ import { a as toError, i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-CsysCF22.mjs";
13
13
  import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
14
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
15
  //#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { r as ThemedButton, u as SpinnerNode, w as checkBrowserStripeKey } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { r as ThemedButton, u as SpinnerNode, w as checkBrowserStripeKey } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import { useEffect, useRef, useState } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region \0rolldown/runtime.js
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
3
- import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-BkZc-hKH.mjs";
4
- import { Ht as CardListLeadDate, Ut as resolveCardListSchedule, Vt as CardListContentPart, Wt as selectCardListPresentation, Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
5
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
2
+ import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
3
+ import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-BO2OmMO9.mjs";
4
+ import { Bt as CardListContentPart, Ht as resolveCardListSchedule, Ut as selectCardListPresentation, Vt as CardListLeadDate, Yt as formatEventPrice } from "./shop.interactive-CreQ0I7i.mjs";
5
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-DtA42Xio.mjs";
6
6
  import React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
2
+ import { Pr as listLookSlot } from "./wizardSteps-BO2OmMO9.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Pt as buildEventRuntimeFilters } from "./shop.interactive-CVqLAU53.mjs";
3
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-CyH5tA6Y.mjs";
4
- import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-CLAS0upd.mjs";
2
+ import { Nt as buildEventRuntimeFilters } from "./shop.interactive-CreQ0I7i.mjs";
3
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D4ieBLDY.mjs";
4
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-CsysCF22.mjs";
5
5
  import { useMemo } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { hn as getTextColorForBackground, in as resolveOnColorForThemeToken, mt as normalizeCardRole, nt as boxBackgroundSchema, on as resolveTokenOrCssColorValue, rn as isCssColorLiteral, rt as runtimeBoxBackgroundSchema, tt as boxBackgroundOverlaySchema } from "./schema-C-m8XHuW.mjs";
3
- import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
4
- import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { r as MapDrawingSvg, t as LocationMapActions } from "./LocationMapActions-Wsr83Q7q.mjs";
6
- import { Gt as MediaNodeServer, Xt as formatEventPrice } from "./shop.interactive-CVqLAU53.mjs";
7
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-D-ZqL7-e.mjs";
8
- import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-BEx-qiDE.mjs";
2
+ import { U as normalizeCardRole, ct as boxBackgroundOverlaySchema, gn as resolveTokenOrCssColorValue, jn as getTextColorForBackground, lt as boxBackgroundSchema, mn as resolveOnColorForThemeToken, pn as isCssColorLiteral, ut as runtimeBoxBackgroundSchema } from "./schema-DNHLlze-.mjs";
3
+ import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
4
+ import { Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-BO2OmMO9.mjs";
5
+ import { Wt as MediaNodeServer, Yt as formatEventPrice } from "./shop.interactive-CreQ0I7i.mjs";
6
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-DtA42Xio.mjs";
7
+ import { i as formatEventTeacherLine, r as EventItem } from "./EventItem-M5rpaHxi.mjs";
8
+ import { n as MapDrawingSvg } from "./MapDrawingSvg-_aIK2ojv.mjs";
9
9
  import "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../blocks/src/system/transforms/registry/core.ts
@@ -590,20 +590,13 @@ function EventCardVenue(props) {
590
590
  if (!venue) return null;
591
591
  return /* @__PURE__ */ jsxs("div", {
592
592
  className: "rb-mb-3",
593
- children: [
594
- /* @__PURE__ */ jsxs("div", {
595
- className: "rb-flex rb-items-center rb-gap-2 rb-caption",
596
- children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), venue.address ? ` · ${venue.address}` : null] })]
597
- }),
598
- props.allowMap ? /* @__PURE__ */ jsx(LocationMapActions, {
599
- location: venue.location,
600
- addressText: venue.address
601
- }) : null,
602
- props.showMap && props.allowMap && venue.location && props.mapSlot && /* @__PURE__ */ jsx("div", {
603
- className: "rb-mt-2",
604
- children: props.mapSlot
605
- })
606
- ]
593
+ children: [/* @__PURE__ */ jsxs("div", {
594
+ className: "rb-flex rb-items-center rb-gap-2 rb-caption",
595
+ children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsxs("span", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), venue.address ? ` · ${venue.address}` : null] })]
596
+ }), props.showMap && props.allowMap && venue.location && props.mapSlot && /* @__PURE__ */ jsx("div", {
597
+ className: "rb-mt-2",
598
+ children: props.mapSlot
599
+ })]
607
600
  });
608
601
  }
609
602
  function EventCardFooter(props) {
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { D as parseEventRegistrationErrorReason, E as eventRegistrationErrors, T as eventRegistrationErrorEndsCommand } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { D as parseEventRegistrationErrorReason, E as eventRegistrationErrors, T as eventRegistrationErrorEndsCommand } from "./ThemedButton-BWsDgjMC.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, Dr as resolveEventRegistrationScopedEvents, E as resolveRegistrationTicketContinuation, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, Kr as resolveBookingSignupOffer, L as calculateEventRegistrationPreviewTotal, M as resolveEventRegistrationSubmitPlan, Mt as hasValidPricingOptionSelection, Nt as normalizeTicketSelectionLines, O as visitorHoldsOwnPlace, Ot as getSingleSelectedPricingOptionId, Q as getCurrentTicketSelection, Rt as toWholeSeriesRegistrationEvents, S as planRegistrationDetailsContinuation, St as getVisibleTicketTypes, U as resolveDiscountContext, W as resolveEventRequiresPayment, X as invitationSubmission, Y as createRegistrationDraftData, Z as formatCentsAsCurrencyInput, a as registrationPresentation, at as resolveHeldTicketPlaces, bt as getPortalSubjectEmail, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, ft as findSelectedTicketType, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, ii as publicEventPricingStrategy, it as parseCurrencyInputToCents, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as validateFormData, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, wt as transformRegistrationOptionsResponse, x as planRegistrationDetailsCheck, y as getTicketSelectionPurpose, yt as getImplicitSingleTicketType } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { Dt as resolveBookingBusinessTimeZone, ht as inferSiteDateLocale } from "./noop-B7H6gCbj.mjs";
6
- import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
4
+ import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, Dr as resolveEventRegistrationScopedEvents, E as resolveRegistrationTicketContinuation, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, Kr as resolveBookingSignupOffer, L as calculateEventRegistrationPreviewTotal, M as resolveEventRegistrationSubmitPlan, Mt as hasValidPricingOptionSelection, Nt as normalizeTicketSelectionLines, O as visitorHoldsOwnPlace, Ot as getSingleSelectedPricingOptionId, Q as getCurrentTicketSelection, Rt as toWholeSeriesRegistrationEvents, S as planRegistrationDetailsContinuation, St as getVisibleTicketTypes, U as resolveDiscountContext, W as resolveEventRequiresPayment, X as invitationSubmission, Y as createRegistrationDraftData, Z as formatCentsAsCurrencyInput, a as registrationPresentation, at as resolveHeldTicketPlaces, bt as getPortalSubjectEmail, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, ft as findSelectedTicketType, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, ii as publicEventPricingStrategy, it as parseCurrencyInputToCents, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as validateFormData, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, wt as transformRegistrationOptionsResponse, x as planRegistrationDetailsCheck, y as getTicketSelectionPurpose, yt as getImplicitSingleTicketType } from "./wizardSteps-BO2OmMO9.mjs";
5
+ import { _t as inferSiteDateLocale, kt as resolveBookingBusinessTimeZone } from "./noop-B3RNPVrt.mjs";
6
+ import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-CvT0E9AR.mjs";
7
7
  import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
8
- import { t as useDiscountCodeUi } from "./useDiscountCodeUi-BimJbFC7.mjs";
9
- import { r as usePolling } from "./BookingMailingListNote-BDpxmn1p.mjs";
8
+ import { t as useDiscountCodeUi } from "./useDiscountCodeUi-Gn_m7e0o.mjs";
9
+ import { r as usePolling } from "./BookingMailingListNote-CFYPDEHH.mjs";
10
10
  import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
11
- import { n as useBlockApi, r as BlockApiError } from "./context-9ZfMb6GA.mjs";
12
- import { t as useBookingNowIso } from "./useBookingNowIso-Ch30jino.mjs";
13
- import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BxkSS9fx.mjs";
11
+ import { n as useBlockApi, r as BlockApiError } from "./context-BFwxgZpB.mjs";
12
+ import { t as useBookingNowIso } from "./useBookingNowIso-DrTnGNzD.mjs";
13
+ import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-WOiT5Ryi.mjs";
14
14
  import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
15
15
  import { z } from "zod";
16
16
  import { jsx } from "react/jsx-runtime";
@@ -2429,7 +2429,7 @@ function resolveWizardPaymentView(input) {
2429
2429
  }
2430
2430
  //#endregion
2431
2431
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
2432
- const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-CgMZ9TeU.mjs"));
2432
+ const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-B9yAWV_k.mjs"));
2433
2433
  /** The one Stripe mount, shared by the standard wizard and headless arrangements. */
2434
2434
  function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
2435
2435
  if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
@@ -0,0 +1,62 @@
1
+ "use client";
2
+ import { i as ThemedButtonLink } from "./ThemedButton-BWsDgjMC.mjs";
3
+ import { it as normalizeLocationAddressText } from "./noop-B3RNPVrt.mjs";
4
+ import "react";
5
+ import { jsx, jsxs } from "react/jsx-runtime";
6
+ //#region ../core/src/locationLinks.ts
7
+ /** Both outbound actions use the arrival pin, never match evidence. */
8
+ function locationMapLinks(input) {
9
+ const target = input.location != null ? `${input.location.lat},${input.location.lng}` : normalizeLocationAddressText(input.addressText);
10
+ if (target === null) return {
11
+ directions: null,
12
+ googleMaps: null
13
+ };
14
+ const directions = new URL("https://www.google.com/maps/dir/");
15
+ directions.searchParams.set("api", "1");
16
+ directions.searchParams.set("destination", target);
17
+ const search = new URL("https://www.google.com/maps/search/");
18
+ search.searchParams.set("api", "1");
19
+ search.searchParams.set("query", target);
20
+ return {
21
+ directions: directions.toString(),
22
+ googleMaps: search.toString()
23
+ };
24
+ }
25
+ //#endregion
26
+ //#region ../blocks/src/system/runtime/nodes/shared/LocationMapActions.tsx
27
+ /**
28
+ * `compact` (event details) is one plain Google Maps text link under the venue;
29
+ * `block` (the map block) leads with a secondary directions button and keeps
30
+ * the same Google Maps text link beside it.
31
+ */
32
+ function LocationMapActions(props) {
33
+ const links = locationMapLinks(props);
34
+ const directionsLabel = props.directionsLabel ?? "Get directions";
35
+ const googleMapsLabel = props.googleMapsLabel ?? "Open in Google Maps";
36
+ if (props.layout === "block") return /* @__PURE__ */ jsxs("div", {
37
+ className: "rb-location-map-actions",
38
+ children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
39
+ href: links.directions,
40
+ target: "_blank",
41
+ rel: "noreferrer",
42
+ variant: "secondary",
43
+ size: "sm",
44
+ label: directionsLabel
45
+ }) : null, links.googleMaps ? /* @__PURE__ */ jsx("a", {
46
+ className: "rb-location-map-link",
47
+ href: links.googleMaps,
48
+ target: "_blank",
49
+ rel: "noreferrer",
50
+ children: googleMapsLabel
51
+ }) : null]
52
+ });
53
+ return links.googleMaps ? /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("a", {
54
+ className: "rb-location-map-link",
55
+ href: links.googleMaps,
56
+ target: "_blank",
57
+ rel: "noreferrer",
58
+ children: googleMapsLabel
59
+ }) }) : null;
60
+ }
61
+ //#endregion
62
+ export { LocationMapActions as t };
@@ -1,28 +1,7 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink } from "./ThemedButton-CnyL3s1A.mjs";
3
- import { ct as mapDrawingSchema, rt as normalizeLocationAddressText } from "./noop-B7H6gCbj.mjs";
2
+ import { lt as mapDrawingSchema } from "./noop-B3RNPVrt.mjs";
4
3
  import "react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
6
- //#region ../core/src/locationLinks.ts
7
- /** Both outbound actions use the arrival pin, never match evidence. */
8
- function locationMapLinks(input) {
9
- const target = input.location != null ? `${input.location.lat},${input.location.lng}` : normalizeLocationAddressText(input.addressText);
10
- if (target === null) return {
11
- directions: null,
12
- googleMaps: null
13
- };
14
- const directions = new URL("https://www.google.com/maps/dir/");
15
- directions.searchParams.set("api", "1");
16
- directions.searchParams.set("destination", target);
17
- const search = new URL("https://www.google.com/maps/search/");
18
- search.searchParams.set("api", "1");
19
- search.searchParams.set("query", target);
20
- return {
21
- directions: directions.toString(),
22
- googleMaps: search.toString()
23
- };
24
- }
25
- //#endregion
26
5
  //#region ../blocks/src/system/runtime/nodes/svg.tsx
27
6
  /**
28
7
  * Strict SVG-`transform` validator.
@@ -218,51 +197,4 @@ function cropHeightStyle(height, heightAs) {
218
197
  return heightAs === "minimum" ? { minHeight: height } : { height };
219
198
  }
220
199
  //#endregion
221
- //#region ../blocks/src/system/runtime/nodes/shared/LocationMapActions.tsx
222
- /**
223
- * `compact` (event details, cards and modals) keeps two small ghost buttons;
224
- * `block` (the map block) leads with a secondary directions button and keeps
225
- * Google Maps as a plain text link beside it.
226
- */
227
- function LocationMapActions(props) {
228
- const links = locationMapLinks(props);
229
- const directionsLabel = props.directionsLabel ?? "Get directions";
230
- const googleMapsLabel = props.googleMapsLabel ?? "Open in Google Maps";
231
- if (props.layout === "block") return /* @__PURE__ */ jsxs("div", {
232
- className: "rb-location-map-actions",
233
- children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
234
- href: links.directions,
235
- target: "_blank",
236
- rel: "noreferrer",
237
- variant: "secondary",
238
- size: "sm",
239
- label: directionsLabel
240
- }) : null, links.googleMaps ? /* @__PURE__ */ jsx("a", {
241
- className: "rb-location-map-link",
242
- href: links.googleMaps,
243
- target: "_blank",
244
- rel: "noreferrer",
245
- children: googleMapsLabel
246
- }) : null]
247
- });
248
- return /* @__PURE__ */ jsxs("div", {
249
- className: "rb-flex rb-flex-wrap rb-gap-2",
250
- children: [links.directions ? /* @__PURE__ */ jsx(ThemedButtonLink, {
251
- href: links.directions,
252
- target: "_blank",
253
- rel: "noreferrer",
254
- variant: "ghost",
255
- size: "sm",
256
- label: directionsLabel
257
- }) : null, links.googleMaps ? /* @__PURE__ */ jsx(ThemedButtonLink, {
258
- href: links.googleMaps,
259
- target: "_blank",
260
- rel: "noreferrer",
261
- variant: "ghost",
262
- size: "sm",
263
- label: googleMapsLabel
264
- }) : null]
265
- });
266
- }
267
- //#endregion
268
- export { SvgNode as a, readableMapDrawing as i, AdmittedMapDrawingSvg as n, MapDrawingSvg as r, LocationMapActions as t };
200
+ export { SvgNode as i, MapDrawingSvg as n, readableMapDrawing as r, AdmittedMapDrawingSvg as t };