@riverbankcms/sdk 0.164.0 → 0.165.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 (198) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CubPwupc.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
  2. package/dist/_dts/{Page-CDzsagB2.d.ts → Page-D6gp2Ipb.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -71
  4. package/dist/_dts/{client-CbeYTSry.d.ts → client-BkkExozE.d.ts} +1 -1
  5. package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
  6. package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-XRXhbLWP.d.ts} +4 -4
  7. package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
  9. package/dist/_dts/{index-D_pQO-AS.d.ts → index-B4ozSzFP.d.ts} +35642 -35443
  10. package/dist/_dts/{index-DYQFmf--.d.ts → index-BdkHhyf8.d.ts} +1 -1
  11. package/dist/_dts/{index-BZE-1azr.d.ts → index-CQfJhOEA.d.ts} +2 -2
  12. package/dist/_dts/{index-BpEbwDM7.d.ts → index-CRRiddNp.d.ts} +4 -4
  13. package/dist/_dts/{index-CjdIn9-_.d.ts → index-C_3kdrUb.d.ts} +2 -2
  14. package/dist/_dts/{index-JS8WYgD3.d.ts → index-DAPTSmBM.d.ts} +401 -569
  15. package/dist/_dts/{index-DriYVLfT.d.ts → index-DKNEgSOS.d.ts} +2 -2
  16. package/dist/_dts/{index-wegfy7lf.d.ts → index-RXkE3a7M.d.ts} +3 -3
  17. package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-B9vJMq3s.d.ts} +6 -6
  18. package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/index.d.ts +8 -8
  26. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  27. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  28. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  29. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  30. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  31. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  33. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  34. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  35. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  36. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  37. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  38. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  39. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  40. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  41. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  42. package/dist/_dts/sdk/src/server.d.ts +5 -5
  43. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  44. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  45. package/dist/_dts/{types-W40f2olO.d.ts → types-BDF73NzM.d.ts} +2 -2
  46. package/dist/_dts/{types-DiciZDrk.d.ts → types-Cl0nP6al.d.ts} +3 -3
  47. package/dist/_dts/{types-DubJnBnI.d.ts → types-mstFvhK4.d.ts} +7 -7
  48. package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-DVWqSvjK.d.ts} +4 -4
  49. package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
  50. package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
  51. package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
  52. package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
  53. package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
  54. package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
  55. package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
  56. package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
  57. package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -2
  58. package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-dILw2PN_.mjs} +11 -5
  59. package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
  60. package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
  61. package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
  62. package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +10 -10
  63. package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
  64. package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
  65. package/dist/client/{Page-Dub71o3c.mjs → Page-DUr2YhFR.mjs} +1521 -235
  66. package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-2fJqT_NR.mjs} +1 -1
  67. package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
  68. package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
  69. package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
  70. package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-Cfbo1bfh.mjs} +1 -1
  71. package/dist/client/{accordion-vCG_JC5t.mjs → accordion-3CYNWzTS.mjs} +1 -1
  72. package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
  73. package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-BSbWgLyx.mjs} +13 -13
  74. package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
  75. package/dist/client/bookings.mjs +5 -5
  76. package/dist/client/{carousel-FM1mkkL0.mjs → carousel-Cu5mcpO-.mjs} +2 -2
  77. package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
  78. package/dist/client/{cart-BDFhbh9j.mjs → cart-CDc6x9cR.mjs} +3 -3
  79. package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
  80. package/dist/client/{checkout-BibhwnTd.mjs → checkout-CkxPqSwD.mjs} +3 -3
  81. package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DJfomKQc.mjs} +1 -1
  82. package/dist/client/client.mjs +2 -2
  83. package/dist/client/{context-BNAM7NsW.mjs → context-CBV21-9L.mjs} +1 -1
  84. package/dist/client/{cta-ChiN1Vgg.mjs → cta-Bw-al3cs.mjs} +26 -2
  85. package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
  86. package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
  87. package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
  88. package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
  89. package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-QMqtIywj.mjs} +23 -14
  90. package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
  91. package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-BC7a709c.mjs} +4 -4
  92. package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-DL08GpUc.mjs} +2 -2
  93. package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-BfzuEQp_.mjs} +4 -4
  94. package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
  95. package/dist/client/{form-GXqjObPC.mjs → form-L-xZOBUS.mjs} +3 -3
  96. package/dist/client/{form.client-CoKNba2e.mjs → form.client-BtpK3TZW.mjs} +6 -6
  97. package/dist/client/{form.parts-magB_epJ.mjs → form.parts-Djos5Un4.mjs} +3 -3
  98. package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-DGmrm7YB.mjs} +1 -1
  99. package/dist/client/gifting/client.mjs +5 -5
  100. package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-f16OGkz-.mjs} +2 -2
  101. package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
  102. package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
  103. package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-DpHNZc7k.mjs} +8 -8
  104. package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-CLGH20PL.mjs} +2 -2
  105. package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
  106. package/dist/client/{noop-C2vZse15.mjs → noop-CQU7tiMg.mjs} +8 -4
  107. package/dist/client/portal/client.mjs +13 -13
  108. package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
  109. package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
  110. package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-BD42UOmG.mjs} +3 -3
  111. package/dist/client/{productList-Cc-PmbEe.mjs → productList-CSk8sXCl.mjs} +3 -3
  112. package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
  113. package/dist/client/{purchase-BMsWpx8y.mjs → purchase-BV5xfaZH.mjs} +1 -1
  114. package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CIKtTsCl.mjs} +189 -162
  115. package/dist/client/rendering/client.mjs +27 -27
  116. package/dist/client/rendering/islands.mjs +1 -1
  117. package/dist/client/rendering.mjs +7 -7
  118. package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-spWtx86G.mjs} +1 -1
  119. package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
  120. package/dist/client/{schema-DMUkBtIO.mjs → schema-BdSglH2X.mjs} +189 -20
  121. package/dist/client/{shop-DyXtB5TD.mjs → shop-DscvMz86.mjs} +3 -3
  122. package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
  123. package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
  124. package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-M3kNsVPi.mjs} +12 -12
  125. package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BGmkdIAZ.mjs} +251 -24
  126. package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-BdWp6LHa.mjs} +2 -2
  127. package/dist/client/{site-styles-BLHYJ8S7.mjs → site-styles-CWHmlVT5.mjs} +2612 -448
  128. package/dist/client/spam-protection.mjs +2 -2
  129. package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
  130. package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
  131. package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
  132. package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
  133. package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
  134. package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
  135. package/dist/client/{view-BnaOmrap.mjs → view-DXOuduIr.mjs} +4 -4
  136. package/dist/client/{view-vhKGFfC3.mjs → view-DlkCDfuN.mjs} +45 -32
  137. package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DManVJpc.mjs} +49 -39
  138. package/dist/preview-next/before-render.mjs +2 -2
  139. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
  140. package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
  141. package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
  142. package/dist/preview-next/client/{PreviewEditorSidebar-C3AQVxQt.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3566 -3197
  143. package/dist/preview-next/client/{PreviewEditorUI-C-1zDCR_.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
  144. package/dist/preview-next/client/{SdkPreviewModeRuntime-C6Rhm2NQ.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
  145. package/dist/preview-next/client/{SdkPreviewModeRuntime-B47yHFL0.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3811 -4882
  146. package/dist/preview-next/client/{siteStyleAccess-BiSyYyyr.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +8506 -13317
  147. package/dist/preview-next/client/{ThemedButton-g7NPrsGp.mjs → ThemedButton-Dc6aJ34Z.mjs} +214 -23
  148. package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
  149. package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
  150. package/dist/preview-next/client/{previewChromeSurface-Cjwxv90x.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
  151. package/dist/preview-next/client/{previewAuthStore-By_zfrS5.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +205988 -193500
  152. package/dist/preview-next/client/runtime.mjs +3 -3
  153. package/dist/preview-next/client/{sdk-runtime-BG2HYvQj.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
  154. package/dist/preview-next/keepAlive.mjs +3 -3
  155. package/dist/preview-next/middleware.mjs +2 -2
  156. package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-BBAJjFIz.mjs} +11 -8
  157. package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
  158. package/dist/preview-next/session.mjs +1 -1
  159. package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-ClFI3qpX.mjs} +4 -4
  160. package/dist/server/{bindings-BVJGgUT0.mjs → bindings-Bi8EoRZD.mjs} +2 -2
  161. package/dist/server/{client-CiKaE8ms.mjs → client-DfMDbZ41.mjs} +2 -2
  162. package/dist/server/config-validation.mjs +1 -1
  163. package/dist/server/config.mjs +2 -2
  164. package/dist/server/{effectiveNavLinkStyle-EDSdd_oK.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2353 -214
  165. package/dist/server/index.mjs +3 -3
  166. package/dist/server/{loadContent-BuintpdO.mjs → loadContent-dEEhQxL7.mjs} +4 -4
  167. package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
  168. package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-DBFBad8A.mjs} +2 -2
  169. package/dist/server/next/middleware.mjs +1 -1
  170. package/dist/server/next/revalidate.mjs +1 -1
  171. package/dist/server/next.mjs +11 -11
  172. package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
  173. package/dist/server/{overrides-DVemf-GV.mjs → overrides-DhF87Vsd.mjs} +294 -103
  174. package/dist/server/page-converter.mjs +1 -1
  175. package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-DaemmWQL.mjs} +1 -1
  176. package/dist/server/prebuild.mjs +1 -1
  177. package/dist/server/{prefetchBlockData-Bnbwoe5n.mjs → prefetchBlockData-FwcsT5H2.mjs} +293 -90
  178. package/dist/server/{publicProducts-D3Fc5TKk.mjs → publicProducts-Bz8loTRn.mjs} +13 -10
  179. package/dist/server/{registry-zjd1P2Dl.mjs → registry-Cdvz1OtL.mjs} +499 -374
  180. package/dist/server/rendering/server.mjs +4 -4
  181. package/dist/server/rendering.mjs +8 -8
  182. package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
  183. package/dist/server/routing.mjs +1 -1
  184. package/dist/server/{schema-BlTWmTSl.mjs → schema-uSA_x1Zh.mjs} +189 -20
  185. package/dist/server/server.mjs +3 -3
  186. package/dist/server/{site-styles-yHytcXIB.mjs → site-styles-CntHn2KI.mjs} +55 -30
  187. package/dist/server/{siteChromeOverlayClearance-D0uCNZ7E.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +2 -2
  188. package/dist/server/{src-cbbK3Bho.mjs → src-DsYPhTbs.mjs} +1009 -25
  189. package/dist/server/theme-bridge.mjs +1 -1
  190. package/dist/server/theme.mjs +1 -1
  191. package/dist/server/{themeAdmission-BdY8lP-K.mjs → themeAdmission-CSknYpxk.mjs} +2 -2
  192. package/dist/server/{validation-CGH-Xs4E.mjs → validation-DYxhLzqQ.mjs} +2 -2
  193. package/dist/server/{version-DoOG6F13.mjs → version-Beu4q-Gv.mjs} +1 -1
  194. package/dist/styles/index.css +914 -10
  195. package/package.json +1 -1
  196. package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
  197. package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
  198. package/dist/server/loadPage-BwjncpJf.mjs +0 -2
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use client";
3
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-DGbgGvdh.mjs";
3
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-2fJqT_NR.mjs";
4
4
  import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
5
- import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CRsKTQV-.mjs";
5
+ import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
6
6
  export { ProtectedSubmitButton, SpamProtectionWidget, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-1PJxc8KO.mjs";
3
- import { fn as textColorStyle, j as parseThemeButtonVariantId } from "./schema-DMUkBtIO.mjs";
3
+ import { j as parseThemeButtonVariantId, pn as textColorStyle } from "./schema-BdSglH2X.mjs";
4
4
  import { c as assertNever } from "./src-VIsPY-kw.mjs";
5
- import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-xqU4q63H.mjs";
6
- import { Dt as parseLocalScheduleTime, Et as parseBookingLocalDate, Mt as toScheduledBookingDateTime, St as formatBookingCompactEnglishTime, ut as formatDate } from "./noop-C2vZse15.mjs";
7
- import { t as LocationMapActions } from "./LocationMapActions-BsepG5Vv.mjs";
8
- import { n as resolveEventLinkProps } from "./cta-ChiN1Vgg.mjs";
9
- import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
10
- import { o as formatEventTeacherLine, r as EventItem } from "./EventItem-hrSyTApW.mjs";
11
- import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
12
- import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-R4JMT4yd.mjs";
13
- import { t as coerceRichTextDoc } from "./richText-coerce-WuMYrBm3.mjs";
5
+ import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-DManVJpc.mjs";
6
+ import { Dt as parseLocalScheduleTime, Et as parseBookingLocalDate, Mt as toScheduledBookingDateTime, St as formatBookingCompactEnglishTime, ut as formatDate } from "./noop-CQU7tiMg.mjs";
7
+ import { t as LocationMapActions } from "./LocationMapActions-zWQsJhE5.mjs";
8
+ import { r as resolveEventLinkProps } from "./cta-Bw-al3cs.mjs";
9
+ import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-YGzw2IPB.mjs";
10
+ import { o as formatEventTeacherLine, r as EventItem } from "./EventItem-dILw2PN_.mjs";
11
+ import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
12
+ import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-D1AO_o4h.mjs";
13
+ import { t as coerceRichTextDoc } from "./richText-coerce-spWtx86G.mjs";
14
14
  import "react";
15
15
  import { z } from "zod";
16
16
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { Cr as unsafeAsAppointmentResourceId } from "./schema-DMUkBtIO.mjs";
2
+ import { wr as unsafeAsAppointmentResourceId } from "./schema-BdSglH2X.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { At as resolveBookingTimeZoneId, Ct as formatLocalScheduleDate, Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, Tt as getLocalScheduleDate, mt as formatTime$1, ut as formatDate$1, yt as addLocalScheduleDays } from "./noop-C2vZse15.mjs";
5
- import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
4
+ import { At as resolveBookingTimeZoneId, Ct as formatLocalScheduleDate, Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, Tt as getLocalScheduleDate, mt as formatTime$1, ut as formatDate$1, yt as addLocalScheduleDays } from "./noop-CQU7tiMg.mjs";
5
+ import { n as useBlockApi } from "./context-CBV21-9L.mjs";
6
6
  import { useCallback, useEffect, useReducer, useRef } from "react";
7
7
  //#region ../blocks/src/utils/date-formatting.ts
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Nt as toUtcIsoDateTimeString } from "./noop-C2vZse15.mjs";
2
+ import { Nt as toUtcIsoDateTimeString } from "./noop-CQU7tiMg.mjs";
3
3
  import { useCallback, useEffect, useState } from "react";
4
4
  //#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
5
5
  const ANCHOR_CLOCK = { kind: "anchor" };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Mr as err, Nr as ok } from "./schema-DMUkBtIO.mjs";
2
+ import { Nr as err, Pr as ok } from "./schema-BdSglH2X.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
4
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-D2LyS_Bi.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
6
  import * as React$1 from "react";
7
7
  import { useCallback } from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
2
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-D2LyS_Bi.mjs";
3
3
  import { useEffect, useReducer, useRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
@@ -1,18 +1,13 @@
1
1
  "use client";
2
- import { Ft as normalizeCsvIds, It as normalizeCsvString, Lt as normalizeOptionalId, Pt as getEventRuntimeFiltersKey } from "./shop.interactive-BQdm441g.mjs";
2
+ import { Bt as toError, Ft as eventPaginationLoadReducer, Gt as normalizeOptionalId, Ht as getEventRuntimeFiltersKey, It as getEventIdentity, Lt as getEventPaginationView, Nt as createInitialEventPaginationLoadState, Pt as eventPageOperationQuery, Rt as planEventPageOperation, Ut as normalizeCsvIds, Wt as normalizeCsvString, zt as toEventPaginationLoadError } from "./shop.interactive-BGmkdIAZ.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
5
- import { r as EventItem } from "./EventItem-hrSyTApW.mjs";
6
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
7
- import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-Dd5QHIAf.mjs";
8
- import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
4
+ import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-DManVJpc.mjs";
5
+ import { r as EventItem } from "./EventItem-dILw2PN_.mjs";
6
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
7
+ import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-DtVbKVkt.mjs";
8
+ import { n as useBlockApi } from "./context-CBV21-9L.mjs";
9
9
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
- //#region ../blocks/src/system/runtime/hooks/loadStateError.ts
12
- function toError(error, fallbackMessage) {
13
- return error instanceof Error ? error : new Error(fallbackMessage);
14
- }
15
- //#endregion
16
11
  //#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
17
12
  const EMPTY_EVENT_FILTERS = Object.freeze({
18
13
  categories: [],
@@ -412,7 +407,8 @@ const EventPaginatedListView = ({ filters, emptyState, display, events, loading,
412
407
  const resolvedDisplay = {
413
408
  ...display,
414
409
  state: loading && events.length === 0 ? "loading" : events.length === 0 ? "empty" : "ready",
415
- events
410
+ events,
411
+ allLoaded: !hasMore
416
412
  };
417
413
  return /* @__PURE__ */ jsx(EventListingFrameView, {
418
414
  display: resolvedDisplay,
@@ -516,149 +512,6 @@ function EventListPaginationFooter({ display, loading, error, hasMore, loadMore,
516
512
  })] });
517
513
  }
518
514
  //#endregion
519
- //#region ../blocks/src/system/runtime/hooks/useEventPagination.state.ts
520
- function createInitialEventPaginationLoadState(events, scope) {
521
- return {
522
- kind: "ready",
523
- requestId: 0,
524
- page: {
525
- scope,
526
- events,
527
- hasMore: hasMoreEventPages(events, scope.pageSize)
528
- }
529
- };
530
- }
531
- function eventPaginationLoadReducer(state, action) {
532
- switch (action.type) {
533
- case "started": return {
534
- kind: "loading",
535
- requestId: state.requestId + 1,
536
- operation: action.operation
537
- };
538
- case "succeeded": return state.kind === "loading" && state.requestId === action.requestId ? {
539
- kind: "ready",
540
- requestId: state.requestId,
541
- page: acceptEventPage(state.operation, action.events)
542
- } : state;
543
- case "failed": return state.kind === "loading" && state.requestId === action.requestId ? {
544
- ...state,
545
- kind: "error",
546
- error: action.error
547
- } : state;
548
- case "synced": return {
549
- ...createInitialEventPaginationLoadState(action.events, action.scope),
550
- requestId: state.requestId + 1
551
- };
552
- default: return assertNever(action);
553
- }
554
- }
555
- function eventPageOperationScope(operation) {
556
- switch (operation.kind) {
557
- case "replace": return operation.scope;
558
- case "append": return operation.page.scope;
559
- default: return assertNever(operation);
560
- }
561
- }
562
- function eventPageOperationQuery(operation) {
563
- switch (operation.kind) {
564
- case "replace": return operation.scope.query;
565
- case "append": return operation.query;
566
- default: return assertNever(operation);
567
- }
568
- }
569
- function acceptEventPage(operation, events) {
570
- const scope = eventPageOperationScope(operation);
571
- const hasMore = hasMoreEventPages(events, scope.pageSize);
572
- switch (operation.kind) {
573
- case "replace": return {
574
- scope,
575
- events,
576
- hasMore
577
- };
578
- case "append": return {
579
- scope,
580
- events: mergeEventPaginationEvents(operation.page.events, events),
581
- hasMore
582
- };
583
- default: return assertNever(operation);
584
- }
585
- }
586
- /** Retry consumes the recorded operation. Load more is possible only from an accepted page. */
587
- function planEventPageOperation(state, scope, intent) {
588
- if (scope.query.seriesIds === "") return null;
589
- switch (intent) {
590
- case "replace": return {
591
- kind: "replace",
592
- scope
593
- };
594
- case "retry": return state.kind === "error" && eventPageOperationScope(state.operation).key === scope.key ? state.operation : null;
595
- case "append": {
596
- if (state.kind !== "ready" || state.page.scope.key !== scope.key || !state.page.hasMore) return null;
597
- const cursor = state.page.events.at(-1);
598
- return {
599
- kind: "append",
600
- page: state.page,
601
- query: {
602
- ...scope.query,
603
- afterStartsAt: cursor?.startsAt,
604
- afterId: cursor?.occurrenceId
605
- }
606
- };
607
- }
608
- default: return assertNever(intent);
609
- }
610
- }
611
- /** A changed scope is pending even before the effect starts its replacement request. */
612
- function getEventPaginationView(state, scope) {
613
- if ((state.kind === "ready" ? state.page.scope : eventPageOperationScope(state.operation)).key !== scope.key) return {
614
- events: [],
615
- loading: true,
616
- error: null,
617
- hasMore: false
618
- };
619
- switch (state.kind) {
620
- case "ready": return {
621
- ...state.page,
622
- loading: false,
623
- error: null
624
- };
625
- case "loading": return {
626
- ...getOperationPage(state.operation),
627
- loading: true,
628
- error: null
629
- };
630
- case "error": return {
631
- ...getOperationPage(state.operation),
632
- loading: false,
633
- error: state.error
634
- };
635
- default: return assertNever(state);
636
- }
637
- }
638
- function getOperationPage(operation) {
639
- switch (operation.kind) {
640
- case "replace": return {
641
- events: [],
642
- hasMore: false
643
- };
644
- case "append": return operation.page;
645
- default: return assertNever(operation);
646
- }
647
- }
648
- function getEventIdentity(event) {
649
- return event.occurrenceId || event.id;
650
- }
651
- function mergeEventPaginationEvents(existingEvents, newEvents) {
652
- const existingIds = new Set(existingEvents.map(getEventIdentity));
653
- return [...existingEvents, ...newEvents.filter((event) => !existingIds.has(getEventIdentity(event)))];
654
- }
655
- function toEventPaginationLoadError(error) {
656
- return toError(error, "Unknown error");
657
- }
658
- function hasMoreEventPages(events, pageSize) {
659
- return events.length >= pageSize;
660
- }
661
- //#endregion
662
515
  //#region ../blocks/src/system/runtime/hooks/useEventPagination.ts
663
516
  /**
664
517
  * Hook for paginated event loading with "load more" functionality
@@ -810,4 +663,4 @@ function useEventPagination({ initialEvents = [], fetchInitialOnMount = false, i
810
663
  };
811
664
  }
812
665
  //#endregion
813
- export { toError as a, useEventCollectionFilters as i, EventPaginatedListView as n, EventCardClient as r, useEventPagination as t };
666
+ export { useEventCollectionFilters as i, EventPaginatedListView as n, EventCardClient as r, useEventPagination as t };
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-BQdm441g.mjs";
3
- import { Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
4
- import { r as EventItem, t as CardListCollection } from "./EventItem-hrSyTApW.mjs";
5
- import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
2
+ import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-BGmkdIAZ.mjs";
3
+ import { Pr as listLookSlot } from "./wizardSteps-DManVJpc.mjs";
4
+ import { r as EventItem, t as CardListCollection } from "./EventItem-dILw2PN_.mjs";
5
+ import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.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/commerce/shared/view.tsx
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { Bt as CardListContentPart, Xt as formatEventPriceAmount, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _t as formatBookingSchedulePresentation } from "./shop.interactive-BQdm441g.mjs";
3
- import { b as formatCurrencyAmount } from "./purchase-BMsWpx8y.mjs";
2
+ import { Jt as CardListContentPart, Qt as MediaNodeServer, _t as formatBookingSchedulePresentation, an as formatEventPrice, on as formatEventPriceAmount, sn as formatEventPriceDisplay } from "./shop.interactive-BGmkdIAZ.mjs";
3
+ import { b as formatCurrencyAmount } from "./purchase-BV5xfaZH.mjs";
4
4
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
5
5
  import { c as assertNever } from "./src-VIsPY-kw.mjs";
6
- import { $r as formatBookingPriceDisplay, Br as CANCELLED_SESSION_STATUS, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Hr as orderedLiveRunSessions, On as getEventAvailabilityStatus, Pr as listLookSlot, Ur as resolveWholeSeriesBookingPhase, ai as publicEventPricingType, cn as eventDateOptions, mn as formatEventDateParts, ni as publicEventPricingCurrency, pn as formatEventCompactDateRail, ri as publicEventPricingDisplay, ti as isPublicEventPricingOptionDisplayable, wn as formatEventRemainingPlaces } from "./wizardSteps-xqU4q63H.mjs";
7
- import { Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Tt as getLocalScheduleDate, dt as formatDateRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, pt as formatDateTimeRange, ut as formatDate, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-C2vZse15.mjs";
8
- import { t as LocationMapActions } from "./LocationMapActions-BsepG5Vv.mjs";
9
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-ChiN1Vgg.mjs";
10
- import { n as MapDrawingSvg } from "./MapDrawingSvg-R4JMT4yd.mjs";
6
+ import { Br as CANCELLED_SESSION_STATUS, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Hr as orderedLiveRunSessions, On as getEventAvailabilityStatus, Pr as listLookSlot, Ur as resolveWholeSeriesBookingPhase, cn as eventDateOptions, ei as formatBookingPriceDisplay, ii as publicEventPricingDisplay, mn as formatEventDateParts, ni as isPublicEventPricingOptionDisplayable, oi as publicEventPricingType, pn as formatEventCompactDateRail, qt as ImagePresets, ri as publicEventPricingCurrency, wn as formatEventRemainingPlaces } from "./wizardSteps-DManVJpc.mjs";
7
+ import { Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Tt as getLocalScheduleDate, dt as formatDateRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, pt as formatDateTimeRange, ut as formatDate, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-CQU7tiMg.mjs";
8
+ import { t as LocationMapActions } from "./LocationMapActions-zWQsJhE5.mjs";
9
+ import { r as resolveEventLinkProps, t as resolveDatedSeriesCta } from "./cta-Bw-al3cs.mjs";
10
+ import { n as MapDrawingSvg } from "./MapDrawingSvg-D1AO_o4h.mjs";
11
11
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
12
12
  import "react";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";
@@ -311,7 +311,7 @@ function isValidOccurrence(value) {
311
311
  //#region ../blocks/src/system/runtime/nodes/events/shared/eventCardListContent.ts
312
312
  /** Live offering data only; editorial cards never acquire booking fields. */
313
313
  function eventCardListContent(event, context, buttonText) {
314
- const { content, external } = cardProjectionBase(event, buttonText, context.kind === "offering");
314
+ const { content, external } = cardProjectionBase(event, buttonText, context.kind === "offering", context.kind === "offering" ? context.upcomingDates ?? [] : []);
315
315
  switch (context.kind) {
316
316
  case "event-details": return {
317
317
  ...content,
@@ -330,8 +330,8 @@ function eventCardListContent(event, context, buttonText) {
330
330
  default: return assertNever(context);
331
331
  }
332
332
  }
333
- function cardProjectionBase(event, buttonText, offering) {
334
- const cta = offeringCardCta(event, buttonText, offering);
333
+ function cardProjectionBase(event, buttonText, offering, upcomingDates) {
334
+ const cta = offeringCardCta(event, buttonText, offering, upcomingDates);
335
335
  const places = offeringAvailability(event);
336
336
  return {
337
337
  external: cta.external,
@@ -441,8 +441,8 @@ function offeringFacts(event, places, offering) {
441
441
  }]
442
442
  ];
443
443
  }
444
- function offeringCardCta(event, buttonText, offering) {
445
- return resolveEventCta(event, offering && event.destination.kind === "external" ? void 0 : buttonText);
444
+ function offeringCardCta(event, buttonText, offering, upcomingDates) {
445
+ return resolveDatedSeriesCta(event, upcomingDates, offering && event.destination.kind === "external" ? void 0 : buttonText);
446
446
  }
447
447
  function offeringTypeChips(event, typeLabel) {
448
448
  return event.eventCategory ? [event.eventCategory.name] : typeLabel ? [typeLabel] : [];
@@ -508,26 +508,39 @@ function EventHeader({ selection, presentation, showCost }) {
508
508
  });
509
509
  return /* @__PURE__ */ jsxs("header", {
510
510
  ...listLookSlot(presentation, "frame"),
511
- children: [/* @__PURE__ */ jsxs("div", {
512
- ...listLookSlot(presentation, "copy"),
513
- children: [
514
- part("chips"),
515
- /* @__PURE__ */ jsx("h1", {
516
- ...listLookSlot(presentation, "headline"),
517
- children: item.title
518
- }),
519
- item.text ? /* @__PURE__ */ jsx("p", {
520
- ...listLookSlot(presentation, "lede"),
521
- children: item.text
522
- }) : null,
523
- /* @__PURE__ */ jsx("div", {
524
- "aria-label": "At a glance",
525
- children: part("facts")
526
- }),
527
- part("availability"),
528
- part("action")
529
- ]
530
- }), part("numeral")]
511
+ children: [
512
+ item.media ? /* @__PURE__ */ jsx("figure", {
513
+ ...listLookSlot(presentation, "item-media"),
514
+ children: /* @__PURE__ */ jsx(MediaNodeServer, {
515
+ value: item.media,
516
+ size: ImagePresets.full,
517
+ loading: "eager",
518
+ fetchPriority: "high",
519
+ ...listLookSlot(presentation, "photo")
520
+ })
521
+ }) : null,
522
+ /* @__PURE__ */ jsxs("div", {
523
+ ...listLookSlot(presentation, "copy"),
524
+ children: [
525
+ part("chips"),
526
+ /* @__PURE__ */ jsx("h1", {
527
+ ...listLookSlot(presentation, "headline"),
528
+ children: item.title
529
+ }),
530
+ item.text ? /* @__PURE__ */ jsx("p", {
531
+ ...listLookSlot(presentation, "lede"),
532
+ children: item.text
533
+ }) : null,
534
+ /* @__PURE__ */ jsx("div", {
535
+ "aria-label": "At a glance",
536
+ children: part("facts")
537
+ }),
538
+ part("availability"),
539
+ part("action")
540
+ ]
541
+ }),
542
+ part("numeral")
543
+ ]
531
544
  });
532
545
  }
533
546
  //#endregion
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import { l as buildCalendarViewport$1, n as calendarLinks, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
3
- import { $n as PUBLIC_BUTTON_ROLES, Ar as unsafeAsStorageBucketName, Dr as unsafeAsMediaAssetId, Mr as err, Nr as ok$1, Xt as parseResolvedSurface, dr as resolveManagedMediaReference, fn as textColorStyle, gn as opaqueSurfaceDeclarations, jr as unsafeAsStoragePath, pr as parseCanonicalMediaIdentifier, sn as backgroundColorStyle, sr as runtimeMediaSchema, un as mergeStyles, vr as parseEventOfferingId, yr as parseEventSeriesId } from "./schema-DMUkBtIO.mjs";
4
- import { _ as getBookingInstalmentPlanIntervalCount, a as checkoutCopy, b as formatCurrencyAmount, c as planCheckoutPaymentFlow, d as repriceBookingCollectionOptions, f as resolveAvailableBookingCollectionOptions, l as planFlexibleBalanceCreditFirst, m as getBookingLaterInstalments, o as getStripeMinimumChargeRequirement, p as resolveBookingCollectionOptionFacts, u as isBookingCollectionEquivalentToUpfront } from "./purchase-BMsWpx8y.mjs";
3
+ import { Mr as unsafeAsStoragePath, Nr as err, Or as unsafeAsMediaAssetId, Pr as ok$1, Zt as parseResolvedSurface, _n as opaqueSurfaceDeclarations, br as parseEventSeriesId, cn as backgroundColorStyle, cr as runtimeMediaSchema, dn as mergeStyles, er as PUBLIC_BUTTON_ROLES, fr as resolveManagedMediaReference, jr as unsafeAsStorageBucketName, mr as parseCanonicalMediaIdentifier, pn as textColorStyle, yr as parseEventOfferingId } from "./schema-BdSglH2X.mjs";
4
+ import { _ as getBookingInstalmentPlanIntervalCount, a as checkoutCopy, b as formatCurrencyAmount, c as planCheckoutPaymentFlow, d as repriceBookingCollectionOptions, f as resolveAvailableBookingCollectionOptions, l as planFlexibleBalanceCreditFirst, m as getBookingLaterInstalments, o as getStripeMinimumChargeRequirement, p as resolveBookingCollectionOptionFacts, u as isBookingCollectionEquivalentToUpfront } from "./purchase-BV5xfaZH.mjs";
5
5
  import { c as assertNever, t as assertNever$1 } from "./src-VIsPY-kw.mjs";
6
- import { At as resolveBookingTimeZoneId, Dt as parseLocalScheduleTime, K as blockBookingConsentSchema, Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, S as eventCalendarListLayoutValues, Tt as getLocalScheduleDate, X as blockBookingPaymentTermsSchema, Y as toBookingRequirementConsentField, _ as eventCalendarDefaultViewValues, _t as inferSiteDateLocale, dt as formatDateRange, ft as formatDateTime, ht as formatTimeRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, mt as formatTime$2, n as blockSiteTermsSchema, pt as formatDateTimeRange, ut as formatDate$2, v as eventCalendarDisplayModeValues, vt as resolveBookingDisplayContext, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-C2vZse15.mjs";
7
- import { u as arrangementSlotNames } from "./site-styles-BLHYJ8S7.mjs";
8
- import { C as clsx } from "./ThemedButton-BGVwNwE-.mjs";
9
- import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-CdqGYlWl.mjs";
6
+ import { At as resolveBookingTimeZoneId, Dt as parseLocalScheduleTime, K as blockBookingConsentSchema, Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, S as eventCalendarListLayoutValues, Tt as getLocalScheduleDate, X as blockBookingPaymentTermsSchema, Y as toBookingRequirementConsentField, _ as eventCalendarDefaultViewValues, _t as inferSiteDateLocale, dt as formatDateRange, ft as formatDateTime, ht as formatTimeRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, mt as formatTime$2, n as blockSiteTermsSchema, pt as formatDateTimeRange, ut as formatDate$2, v as eventCalendarDisplayModeValues, vt as resolveBookingDisplayContext, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-CQU7tiMg.mjs";
7
+ import { p as arrangementSlotNames } from "./site-styles-CWHmlVT5.mjs";
8
+ import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
9
+ import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-CwT6ZOm7.mjs";
10
10
  import React from "react";
11
11
  import { z } from "zod";
12
12
  import { Fragment, jsx } from "react/jsx-runtime";
@@ -358,6 +358,11 @@ function isRecord$6(value) {
358
358
  return typeof value === "object" && value !== null && !Array.isArray(value);
359
359
  }
360
360
  const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
361
+ /**
362
+ * Seeded into a new setup so every signup form carries a preferences/unsubscribe
363
+ * reassurance out of the box. Administrators can edit or clear it.
364
+ */
365
+ const DEFAULT_MAILING_LIST_PRIVACY_NOTE = "Change your preferences or unsubscribe at any time.";
361
366
  function parseMailingListProviderScope(value) {
362
367
  if (!isRecord$6(value)) return err("invalid_mailing_list_provider_scope");
363
368
  if (value.provider === "native") return ok$1({ provider: "native" });
@@ -818,18 +823,20 @@ function resolveDirectImagePathTarget(target) {
818
823
  case "bucket-scoped": return target.storagePath;
819
824
  }
820
825
  }
826
+ function buildDirectImageTransformQuery(options) {
827
+ const resize = options.resize ?? (options.width && options.height ? void 0 : "contain");
828
+ const params = new URLSearchParams();
829
+ if (options.width) params.set("width", String(options.width));
830
+ if (options.height) params.set("height", String(options.height));
831
+ if (options.quality) params.set("quality", String(options.quality));
832
+ if (resize) params.set("resize", resize);
833
+ return params.toString();
834
+ }
821
835
  function getDirectImageUrl(supabaseUrl, target, storageBucket = "media", options) {
822
836
  const baseUrl = supabaseUrl.replace(/\/$/, "");
823
837
  const encodedPath = encodeStoragePath(resolveDirectImagePathTarget(target));
824
838
  const isSvg = target.storagePath.toLowerCase().endsWith(".svg");
825
- if (options && !isSvg && (options.width || options.height)) {
826
- const params = new URLSearchParams();
827
- if (options.width) params.set("width", String(options.width));
828
- if (options.height) params.set("height", String(options.height));
829
- if (options.quality) params.set("quality", String(options.quality));
830
- if (options.resize) params.set("resize", options.resize);
831
- return `${baseUrl}/storage/v1/render/image/public/${storageBucket}/${encodedPath}?${params.toString()}`;
832
- }
839
+ if (options && !isSvg && (options.width || options.height)) return `${baseUrl}/storage/v1/render/image/public/${storageBucket}/${encodedPath}?${buildDirectImageTransformQuery(options)}`;
833
840
  return `${baseUrl}/storage/v1/object/public/${storageBucket}/${encodedPath}`;
834
841
  }
835
842
  function getDirectImageUrlForRelativePath(supabaseUrl, storagePath, siteId, storageBucket = "media", options) {
@@ -3899,14 +3906,31 @@ function mediaImageHostProps(props, style) {
3899
3906
  };
3900
3907
  }
3901
3908
  //#endregion
3902
- //#region ../blocks/src/primitives/content/components/RichText.tsx
3909
+ //#region ../blocks/src/primitives/content/richTextImageSize.ts
3903
3910
  function parseDimension(value) {
3904
- if (typeof value === "number" && Number.isFinite(value) && value > 0) return Math.round(value);
3905
- if (typeof value === "string" && value.trim().length > 0) {
3906
- const parsed = Number(value);
3907
- if (Number.isFinite(parsed) && parsed > 0) return Math.round(parsed);
3908
- }
3911
+ const parsed = typeof value === "number" || typeof value === "string" ? Number(value) : NaN;
3912
+ return Number.isFinite(parsed) && parsed > 0 ? Math.round(parsed) : void 0;
3909
3913
  }
3914
+ /** View and editor images must request the same resource to preserve browser cache reuse. */
3915
+ function getRichTextImageSize(attrs) {
3916
+ const width = parseDimension(attrs.width);
3917
+ const height = parseDimension(attrs.height);
3918
+ return {
3919
+ width,
3920
+ height,
3921
+ urlOptions: width ? {
3922
+ width,
3923
+ resize: "contain",
3924
+ quality: 85
3925
+ } : height ? {
3926
+ height,
3927
+ resize: "contain",
3928
+ quality: 85
3929
+ } : ImagePresets.full
3930
+ };
3931
+ }
3932
+ //#endregion
3933
+ //#region ../blocks/src/primitives/content/components/RichText.tsx
3910
3934
  function normalizeRel(target, rel) {
3911
3935
  const normalizedRel = rel?.trim();
3912
3936
  if (target !== "_blank") return normalizedRel && normalizedRel.length > 0 ? normalizedRel : void 0;
@@ -3982,36 +4006,22 @@ function renderSimpleNode(node, key, children, context) {
3982
4006
  default: return null;
3983
4007
  }
3984
4008
  }
3985
- function richTextImageOptions(width, height) {
3986
- if (width) return {
3987
- width,
3988
- resize: "contain",
3989
- quality: 85
3990
- };
3991
- if (height) return {
3992
- height,
3993
- resize: "contain",
3994
- quality: 85
3995
- };
3996
- return ImagePresets.full;
3997
- }
3998
- function resolveRichTextImageSource(attrs, width, height, context) {
4009
+ function resolveRichTextImageSource(attrs, context) {
3999
4010
  if (attrs.identifier !== void 0 && attrs.identifier !== null) {
4000
4011
  const parsed = parseCanonicalMediaIdentifier(attrs.identifier);
4001
4012
  if (!parsed.ok) return void 0;
4002
4013
  if (context?.mediaAssetIndex) return resolveImageUrlWithContext({
4003
4014
  type: "image",
4004
4015
  identifier: parsed.value
4005
- }, richTextImageOptions(width, height), context);
4016
+ }, getRichTextImageSize(attrs).urlOptions, context);
4006
4017
  return typeof attrs.src === "string" ? attrs.src.trim() || void 0 : void 0;
4007
4018
  }
4008
4019
  return typeof attrs.src === "string" ? attrs.src.trim() || void 0 : void 0;
4009
4020
  }
4010
4021
  function renderRichTextImage(node, key, context) {
4011
4022
  const attrs = node.attrs ?? {};
4012
- const width = parseDimension(attrs.width);
4013
- const height = parseDimension(attrs.height);
4014
- const src = resolveRichTextImageSource(attrs, width, height, context.imageResolveContext);
4023
+ const { width, height } = getRichTextImageSize(attrs);
4024
+ const src = resolveRichTextImageSource(attrs, context.imageResolveContext);
4015
4025
  if (!src) return null;
4016
4026
  return /* @__PURE__ */ jsx("img", {
4017
4027
  src,
@@ -6601,4 +6611,4 @@ function registrationStepLabel(step, context) {
6601
6611
  }
6602
6612
  }
6603
6613
  //#endregion
6604
- export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, formatBookingPriceDisplay as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, getBookingRedirectStateFromLocation as Bn, CANCELLED_SESSION_STATUS as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, isBookingServiceSlidingAmountInRange as Gn, parseMailingListRuntimeContext as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, getBookingSuccessCopy as Hn, orderedLiveRunSessions as Hr, shownVenue as Ht, toInternalPaymentSelection as I, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, parseBookingCurrencyInputToCents as Jn, parseMailingListProviderScope as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, normalizeBookingFormConfig as Kn, resolveBookingSignupOffer as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, deriveBookingFormViewState as Ln, itemRole as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, parseNewsletterListId as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, formatBookingCentsAsCurrencyInput as Rn, parseAspectRatioValue as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, getRegistrationSuccessCopy as Un, resolveWholeSeriesBookingPhase as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, getBookingServiceSlidingScale as Vn, nextLiveRunSessionStartMs as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, getShopSuccessCopy as Wn, resolveWholeSeriesRunLifecycle as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveAppointmentCheckoutVerificationState as Xn, parseMailchimpAudienceId as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, prepareBookingSubmission as Yn, parseBrevoListId as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingPaymentStep as Zn, parseMailchimpInterestId as Zr, renderAudio as Zt, shouldPromptForLogin as _, formatEventTimeRange as _n, BLOCK_BUTTON_ROLE_OPTIONS as _r, formatRegistrationSchedule as _t, registrationPresentation as a, publicEventPricingType as ai, buildCalendarViewport as an, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, resolveEventTimeZone as bn, readRuntimeNow as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, eventDateOptions as cn, columnOptionSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, formatDate$1 as dn, eventCalendarDisplayModeSchema as dr, areEntitlementsDisabledForTicketCount as dt, formatEventPricing as ei, resolveImageUrl as en, selectedBookingCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, formatEventClockLabel as fn, eventLayoutSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, formatEventNextDateFact as gn, weekStartSchema as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, formatEventHourLabel as hn, registrationButtonVariantSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, publicEventPricingStrategy as ii, sanitizeHref as in, BOOKING_FORM_DATA_RESERVED_KEYS as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, selectEventCapacitySource as jn, isDecodeSuccess as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, getRemainingPlaces as kn, defineClientOwnedBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, eventLocalDateKey as ln, eventButtonVariantSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, formatEventDateParts as mn, previewStageSchema as mr, formatDate as mt, getEventSelectionMode as n, publicEventPricingCurrency as ni, resolveMediaNodeResponsiveImage as nn, projectSelectedAppointmentConsentIntoForm as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, resolveExactOrFreePriceDisplay as oi, eventCalendarWeekStart as on, bookingNowSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, formatEventCompactDateRail as pn, filterAutoShowSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, normalizeBookingServices as qn, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as qr, ImagePresets as qt, panelShouldOpen as r, publicEventPricingDisplay as ri, resolvePublicMediaUrl as rn, resolveSelectedAppointmentConsent as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolvePricingOptionsPriceDisplay as si, eventDateLocale as sn, calendarTabViewsSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, isPublicEventPricingOptionDisplayable as ti, resolveImageUrlWithContext as tn, toSelectedCollectionOptionKind as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, formatCalendarTitle as un, eventCalendarDefaultViewSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, formatTime$1 as vn, blockButtonRoleSchema as vr, formatTime as vt, resolveRegistrationAdmission as w, formatEventRemainingPlaces as wn, defineInteractiveIslandMetaKeys as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, resolveRuntimeEventDestination as xn, resolveDateRuntimeContext as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, groupEventsByDate as yn, isBlockButtonRole as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, formatBookingSubmissionPreparationError as zn, isRecord$3 as zr, placesLeftLabel as zt };
6614
+ export { getEligibilityFlowFlags as $, resolveDefaultBookingServiceId as $n, parseNewsletterListId as $r, resolveImageSourceSetWithContext as $t, isEventRegistrationAvailable as A, isEventFull as An, defineProgressiveBlockRuntime as Ar, getTicketSelectionTotal as At, paymentChoiceDetails as B, getBookingRedirectStateFromLocation as Bn, CANCELLED_SESSION_STATUS as Br, registrationDisplaySchema as Bt, resolveGuestNextStepCheck as C, canJoinEventWaitlistOnAnyMode as Cn, createInteractiveIslandCodec as Cr, occurrenceTitleOverride as Ct, settledRemainingPlaces as D, getEventAvailability as Dn, resolveEventRegistrationScopedEvents as Dr, canRequestTicketOption as Dt, resolveRegistrationTicketContinuation as E, formatTotalCapacity as En, normalizeEventRegistrationPageSurfaceSubject as Er, formatPrice as Et, toHeadlessPaymentSelection as F, buildBookingFormInteractiveIslandProps as Fn, lookListPresentationSchemaShape as Fr, getRegistrationStartAt as Ft, resolveRegistrationTarget as G, isBookingServiceSlidingAmountInRange as Gn, parseMailingListRuntimeContext as Gr, getBlockApiReadStage as Gt, findPreSelectedEvent as H, getBookingSuccessCopy as Hn, orderedLiveRunSessions as Hr, shownVenue as Ht, toInternalPaymentSelection as I, readOverrideServiceCategories as In, resolvedItemSurfaceProps as Ir, toRegistrationEvents as It, beginWaitlistInvitation as J, parseBookingCurrencyInputToCents as Jn, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Jr, MediaPlaceholder as Jt, resolveRouteRequiresPayment as K, normalizeBookingFormConfig as Kn, resolveBookingSignupOffer as Kr, RichText as Kt, calculateEventRegistrationPreviewTotal as L, deriveBookingFormViewState as Ln, itemRole as Lr, toWholeSeriesRegistrationEvent as Lt, resolveEventRegistrationSubmitPlan as M, selectMostOpenCapacitySource as Mn, listItemPresentation as Mr, hasValidPricingOptionSelection as Mt, resolveHeadlessEventRegistrationStatus as N, groupPublicEventsByRun as Nn, listLookControl as Nr, normalizeTicketSelectionLines as Nt, visitorHoldsOwnPlace as O, getEventAvailabilityStatus as On, createZodCodec as Or, getSingleSelectedPricingOptionId as Ot, resolveHeadlessEventRegistrationView as P, bookingFormInteractiveIslandPropsCodec as Pn, listLookSlot as Pr, setTicketLineQuantity as Pt, getCurrentTicketSelection as Q, resolveBookingSiteId as Qn, parseMailchimpInterestId as Qr, renderVideo as Qt, buildBookingPaymentSelectionViewModel as R, formatBookingCentsAsCurrencyInput as Rn, parseAspectRatioValue as Rr, toWholeSeriesRegistrationEvents as Rt, planRegistrationDetailsContinuation as S, canJoinEventWaitlist as Sn, buildInteractiveIslandProps as Sr, getVisibleTicketTypes as St, resolveRegistrationAvailabilityBlocker as T, formatRemainingPlaces as Tn, eventRegistrationPageSurfaceSubjectSchema as Tr, withOccurrenceTitle as Tt, resolveDiscountContext as U, getRegistrationSuccessCopy as Un, resolveWholeSeriesBookingPhase as Ur, browserReadAuthoritySchema as Ut, paymentChoicePrice as V, getBookingServiceSlidingScale as Vn, nextLiveRunSessionStartMs as Vr, resolveRegistrationDisplay as Vt, resolveEventRequiresPayment as W, getShopSuccessCopy as Wn, resolveWholeSeriesRunLifecycle as Wr, createHostedBlockApiConfig as Wt, invitationSubmission as X, resolveAppointmentCheckoutVerificationState as Xn, parseBrevoListId as Xr, mediaImageHostProps as Xt, createRegistrationDraftData as Y, prepareBookingSubmission as Yn, parseMailingListProviderScope as Yr, computeMediaTransformStyle as Yt, formatCentsAsCurrencyInput as Z, resolveBookingPaymentStep as Zn, parseMailchimpAudienceId as Zr, renderAudio as Zt, shouldPromptForLogin as _, formatEventTimeRange as _n, BLOCK_BUTTON_ROLE_OPTIONS as _r, formatRegistrationSchedule as _t, registrationPresentation as a, publicEventPricingStrategy as ai, buildCalendarViewport as an, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as ar, resolveHeldTicketPlaces as at, placeCountCeiling as b, resolveEventTimeZone as bn, readRuntimeNow as br, getPortalSubjectEmail as bt, registrationStepLabelContext as c, resolvePricingOptionsPriceDisplay as ci, eventDateOptions as cn, columnOptionSchema as cr, confirmationPaymentRows as ct, decideEventChoice as d, formatDate$1 as dn, eventCalendarDisplayModeSchema as dr, areEntitlementsDisabledForTicketCount as dt, formatBookingPriceDisplay as ei, resolveImageUrl as en, selectedBookingCollectionOptionKind as er, getRegistrationOccurrenceId as et, getDeclinedPass as f, formatEventClockLabel as fn, eventLayoutSchema as fr, findSelectedTicketType as ft, decideEventRegistrationPayment as g, formatEventNextDateFact as gn, weekStartSchema as gr, formatPassCreditUsageLabel as gt, buildEventRegistrationPaymentOptionsViewModel as h, formatEventHourLabel as hn, registrationButtonVariantSchema as hr, formatEventDateTime as ht, registrationPaymentRoute as i, publicEventPricingDisplay as ii, sanitizeHref as in, BOOKING_FORM_DATA_RESERVED_KEYS as ir, parseCurrencyInputToCents as it, normalizeEventRegistrationMaxTickets as j, selectEventCapacitySource as jn, isDecodeSuccess as jr, getTicketTypeLineMax as jt, deriveEventRegistrationSteps as k, getRemainingPlaces as kn, defineClientOwnedBlockRuntime as kr, getTicketLineQuantity as kt, areEventRegistrationPaymentSelectionsEqual as l, eventLocalDateKey as ln, eventButtonVariantSchema as lr, resolveFinishedPresentation as lt, registrationFlowReducer as m, formatEventDateParts as mn, previewStageSchema as mr, formatDate as mt, getEventSelectionMode as n, isPublicEventPricingOptionDisplayable as ni, resolveMediaNodeResponsiveImage as nn, projectSelectedAppointmentConsentIntoForm as nr, getSlidingScaleSelectionMessage as nt, registrationRoute as o, publicEventPricingType as oi, eventCalendarWeekStart as on, bookingNowSchema as or, shouldLoadRegistrationOptions as ot, isRegistrationLocked as p, formatEventCompactDateRail as pn, filterAutoShowSchema as pr, formatBookingWhen as pt, toRegistrationRequestSubject as q, normalizeBookingServices as qn, DEFAULT_MAILING_LIST_PRIVACY_NOTE as qr, ImagePresets as qt, panelShouldOpen as r, publicEventPricingCurrency as ri, resolvePublicMediaUrl as rn, resolveSelectedAppointmentConsent as rr, getTicketSelectionRemainingPlaces as rt, registrationStepLabel as s, resolveExactOrFreePriceDisplay as si, eventDateLocale as sn, calendarTabViewsSchema as sr, validateFormData as st, REGISTRATION_STEP_LABELS as t, formatEventPricing as ti, resolveImageUrlWithContext as tn, toSelectedCollectionOptionKind as tr, getSlidingScaleForEvent as tt, createInitialRegistrationFlowState as u, formatCalendarTitle as un, eventCalendarDefaultViewSchema as ur, ENTITLEMENT_SINGLE_TICKET_TOOLTIP as ut, fullyBookedLabel as v, formatTime$1 as vn, blockButtonRoleSchema as vr, formatTime as vt, resolveRegistrationAdmission as w, formatEventRemainingPlaces as wn, defineInteractiveIslandMetaKeys as wr, transformRegistrationOptionsResponse as wt, planRegistrationDetailsCheck as x, resolveRuntimeEventDestination as xn, resolveDateRuntimeContext as xr, getTicketTypeAvailabilityLabel as xt, getTicketSelectionPurpose as y, groupEventsByDate as yn, isBlockButtonRole as yr, getImplicitSingleTicketType as yt, buildReviewedBookingPaymentViewModel as z, formatBookingSubmissionPreparationError as zn, isRecord$3 as zr, placesLeftLabel as zt };
@@ -1,6 +1,6 @@
1
1
  import "./constants-Bf-vqdKH.mjs";
2
- import "./route-contract-D5tHZEz5.mjs";
3
- import { i as resolvePreviewRuntimeSession, t as getPreviewSession } from "./session-P1R_ajT7.mjs";
2
+ import "./route-contract-BBAJjFIz.mjs";
3
+ import { i as resolvePreviewRuntimeSession, t as getPreviewSession } from "./session-DU6zpYUQ.mjs";
4
4
  import "./refresh-contract-uQ6BXgLJ.mjs";
5
5
  import { z } from "zod";
6
6
  import { jsx } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  import { t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { bi as checkBrowserStripeKey, n as ThemedButton, vi as SpinnerNode } from "./ThemedButton-g7NPrsGp.mjs";
3
+ import { Ci as SpinnerNode, Ti as checkBrowserStripeKey, n as ThemedButton } from "./ThemedButton-Dc6aJ34Z.mjs";
4
4
  import { useEffect, useRef, useState } from "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Mt as locationPinSchema } from "./lucide-react-CA9cpo0P.mjs";
2
+ import { It as locationPinSchema } from "./lucide-react-CqxuVAyz.mjs";
3
3
  import { createContext, useContext } from "react";
4
4
  import { jsx } from "react/jsx-runtime";
5
5
  //#region ../editor-blocks/src/widgets/location/editMapDecision.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import { r as __toESM } from "./rolldown-runtime-CE6sIgz8.mjs";
3
- import { Dt as sameMeaningfulAddress, E as Minus, Mt as locationPinSchema, k as LocateFixed, y as Plus } from "./lucide-react-CA9cpo0P.mjs";
4
- import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-QtSG2Bl-.mjs";
3
+ import { It as locationPinSchema, M as LocateFixed, O as Minus, jt as sameMeaningfulAddress, y as Plus } from "./lucide-react-CqxuVAyz.mjs";
4
+ import { a as NO_EDIT_MAP_OVERLAY, c as overlayFeatures, d as editMapResource, f as editMapStyleUrl, i as useOptionalLocationPickerEnvironment, l as EMPTY_EDIT_MAP_VIEW, m as moveEditingPin, o as midpoint, p as isPinArrow, s as overlayExtent, u as editMapInteraction } from "./LocationPickerEnvironment-Bp4BHLCL.mjs";
5
5
  import { useEffect, useEffectEvent, useMemo, useRef, useState } from "react";
6
6
  import { jsx, jsxs } from "react/jsx-runtime";
7
7
  import { createPortal } from "react-dom";