@riverbankcms/sdk 0.172.0 → 0.174.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 (215) hide show
  1. package/README.md +6 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DtrzTJ77.d.ts → BlocksIslandsHydrator-GqVX3I8E.d.ts} +1 -1
  3. package/dist/_dts/{Page-DViYbakk.d.ts → Page-BhUH31M-.d.ts} +27 -16
  4. package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DBn2x0UL.d.ts} +14 -7
  5. package/dist/_dts/{client-DZBOzd3U.d.ts → client-Cr-sOeSl.d.ts} +1002 -139
  6. package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DKw1yJdN.d.ts} +2 -2
  7. package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-CJ2O03nB.d.ts} +6 -4
  8. package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-DoGHHKr_.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-CJGu4hoa.d.ts} +2 -2
  10. package/dist/_dts/{index-Dns7OHyl.d.ts → index--39uLjrr.d.ts} +1 -1
  11. package/dist/_dts/{index-Da4UMgbs.d.ts → index-3GzargmS.d.ts} +2 -2
  12. package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Bq-488M7.d.ts} +1 -1
  13. package/dist/_dts/{index-BnMavhoh.d.ts → index-DQZ5L0Gb.d.ts} +2 -2
  14. package/dist/_dts/{index-C0zjLMAW.d.ts → index-DYlfdT1O.d.ts} +2 -1
  15. package/dist/_dts/{index-CpOkfBt1.d.ts → index-DYsP4k6S.d.ts} +3 -3
  16. package/dist/_dts/{index-MuMYjetm.d.ts → index-DdEi2iXd.d.ts} +4 -4
  17. package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-BVPagYmy.d.ts} +11 -11
  18. package/dist/_dts/{request-wQ28JWbr.d.ts → request-Be1E-H-V.d.ts} +4892 -1720
  19. package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-D1pL25bD.d.ts} +5 -5
  20. package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-B4sbTf96.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +9 -9
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  28. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  29. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  30. package/dist/_dts/sdk/src/index.d.ts +8 -8
  31. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  33. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  34. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  35. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  36. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  37. package/dist/_dts/sdk/src/portal/client.d.ts +4 -2
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +13 -8
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +36 -204
  54. package/dist/_dts/{types-CpjyP5I4.d.ts → types-5MeDI1w8.d.ts} +7 -7
  55. package/dist/_dts/{types-DrinAfeW.d.ts → types-Bm5_3VEd.d.ts} +3 -3
  56. package/dist/_dts/{types-ZuZoGsZV.d.ts → types-CVoCc_Ia.d.ts} +2 -2
  57. package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-lEtYD-Rh.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-DkflFLGQ.mjs} +17 -17
  59. package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-CAyoiAGD.mjs} +18 -12
  60. package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-C7yiJrxm.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BPQU5Snc.mjs} +41 -34
  63. package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-BnEgvJas.mjs} +22 -22
  64. package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-BiWQc28-.mjs} +11 -10
  65. package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-B_ytWQtn.mjs} +10 -9
  66. package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-C-mxXpX_.mjs} +25 -16
  67. package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-Bm3Ap1Rd.mjs} +1 -1
  68. package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-Bs_8im5_.mjs} +3 -3
  69. package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-CN7BjGgC.mjs} +37 -14
  70. package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DPkRcSdw.mjs} +848 -146
  71. package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
  73. package/dist/client/{Page-Ds1s3DuC.mjs → Page--xJ23nA5.mjs} +1160 -521
  74. package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-D391QRNc.mjs} +85 -13
  75. package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-DN8it_Cx.mjs} +36 -27
  76. package/dist/client/{accordion-DgwFZJSx.mjs → accordion-BQtTkDN8.mjs} +1 -1
  77. package/dist/client/bookability-CE637yDE.mjs +17 -0
  78. package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-D9M7TKGV.mjs} +362 -47
  79. package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-BsOS0sl9.mjs} +4 -4
  80. package/dist/client/bookings.mjs +6 -6
  81. package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-CNDLpT06.mjs} +1 -1
  82. package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CPsW-FPh.mjs} +1 -1
  83. package/dist/client/{cart-CPfvMDGJ.mjs → cart-CwElmocm.mjs} +3 -3
  84. package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-RpqI56w8.mjs} +1 -1
  85. package/dist/client/{checkout-DU4JFjGT.mjs → checkout-CfMgqY8H.mjs} +3 -3
  86. package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-BpuPyOuJ.mjs} +1 -1
  87. package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-VeHY6WYj.mjs} +1 -1
  88. package/dist/client/client.mjs +206 -7
  89. package/dist/client/{context-xNC1Cyjw.mjs → context-CNlesLfF.mjs} +81 -14
  90. package/dist/client/{cta-CNVQHLKs.mjs → course-q1sA4Cj-.mjs} +77 -3
  91. package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
  92. package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
  93. package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
  94. package/dist/client/{display-B5DfNb6A.mjs → display-D8MW2b0e.mjs} +3076 -819
  95. package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-BzjY6AiY.mjs} +3 -3
  96. package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-CseTWUFC.mjs} +1 -1
  97. package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-b5TLxntR.mjs} +1315 -553
  98. package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-C-kJNIc9.mjs} +4 -4
  99. package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BgHJGhwE.mjs} +4 -4
  100. package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-CAwbreD0.mjs} +2 -2
  101. package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-_14atrj8.mjs} +4 -4
  102. package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-BOqSdstJ.mjs} +4 -4
  103. package/dist/client/{form-BfChzSkS.mjs → form-DfAB-llc.mjs} +3 -3
  104. package/dist/client/{form.client-D1zehtPk.mjs → form.client-DN-I9_qC.mjs} +6 -6
  105. package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-t2Q1neM6.mjs} +1 -1
  106. package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
  107. package/dist/client/gifting/client.mjs +2 -2
  108. package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-Dces54pb.mjs} +2 -2
  109. package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-D_YFUlR2.mjs} +9 -7
  110. package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-URO5Mn_I.mjs} +1 -1
  111. package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-_c9fKIzS.mjs} +3 -3
  112. package/dist/client/{noop-CamIX2yK.mjs → noop-D5mFWXtN.mjs} +139 -12
  113. package/dist/client/portal/client.mjs +346 -272
  114. package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-CVW1UIxJ.mjs} +1 -1
  115. package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-CF9hO23G.mjs} +1 -1
  116. package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-C_qbmUuP.mjs} +3 -3
  117. package/dist/client/{productList-DE4vSSG_.mjs → productList-Df5qDD0z.mjs} +3 -3
  118. package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BiEyK2ii.mjs} +3 -3
  119. package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-ClcfWpvM.mjs} +93 -63
  120. package/dist/client/rendering/client.mjs +26 -26
  121. package/dist/client/rendering/islands.mjs +1 -1
  122. package/dist/client/rendering.mjs +34 -61
  123. package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
  124. package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DAypPzSo.mjs} +1 -1
  125. package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
  126. package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
  127. package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-Bw4_BXQg.mjs} +12 -11
  128. package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-Da6Ah-_4.mjs} +1 -1
  129. package/dist/client/shop-discount-apply.state-DidgH7ow.mjs +166 -0
  130. package/dist/client/{shop-BC4H0oYT.mjs → shop-gteEpeO5.mjs} +3 -3
  131. package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-CbbdjWWd.mjs} +13 -12
  132. package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CKFORzux.mjs} +45 -29
  133. package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-C7QjoywZ.mjs} +2 -2
  134. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  135. package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CtZiIj9q.mjs} +25 -15
  136. package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-CUVRD1nx.mjs} +39 -8
  137. package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-BZU5DWZQ.mjs} +4 -167
  138. package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-BuLgof7O.mjs} +1 -1
  139. package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-B4VPtSEF.mjs} +6 -6
  140. package/dist/client/{view-DNNNbnNj.mjs → view-CvlTplao.mjs} +2 -2
  141. package/dist/client/{view-B0TFnP4y.mjs → view-CxUpgcM6.mjs} +56 -34
  142. package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
  143. package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
  144. package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-BFbSrDbi.mjs} +80 -160
  145. package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BtpzqQ-i.mjs} +780 -1634
  146. package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-z22h-CCY.mjs} +29 -26
  147. package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-BW3Qpoa_.mjs} +52 -32
  148. package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BvVeK1hR.mjs} +47 -69
  149. package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
  150. package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-BUqAh1FL.mjs} +98429 -46667
  151. package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-NCy5zHO8.mjs} +1 -1
  152. package/dist/preview-next/client/runtime.mjs +3 -3
  153. package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-CxmKDVGZ.mjs} +2 -2
  154. package/dist/preview-next/client/siteStyleAccess-B_UaDyJO.mjs +9356 -0
  155. package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-BqmWvPLY.mjs} +2 -2
  156. package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-LAllV0rU.mjs} +8 -4
  157. package/dist/preview-next/container-responsive.css +117 -32
  158. package/dist/preview-next/keepAlive.mjs +1 -1
  159. package/dist/preview-next/middleware.mjs +1 -1
  160. package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-DV6SeCNv.mjs} +200 -2
  161. package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-Ch2FKAvU.mjs} +11 -6
  162. package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-DFvjDVzi.mjs} +23 -6
  163. package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
  164. package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-CQg2lzZn.mjs} +6 -4
  165. package/dist/server/{client-dROAfMRa.mjs → client-aYRTVneD.mjs} +205 -6
  166. package/dist/server/config-validation.mjs +1 -1
  167. package/dist/server/config.mjs +2 -2
  168. package/dist/server/customCss-BGB8gMVb.mjs +210 -0
  169. package/dist/server/data/resolveBlockData.mjs +1 -1
  170. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  171. package/dist/server/index.mjs +3 -3
  172. package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-Cgpfr44e.mjs} +8 -10
  173. package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-RDk10NMP.mjs} +3 -3
  174. package/dist/server/lookMediaFrame-CQtkvlDn.mjs +2528 -0
  175. package/dist/server/manifest.mjs +2 -2
  176. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  177. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  178. package/dist/server/navigation.mjs +1 -1
  179. package/dist/server/next.mjs +9 -8
  180. package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-VhhN94d8.mjs} +3 -4
  181. package/dist/server/page-converter.mjs +2 -2
  182. package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CkFTsxkd.mjs} +166 -42
  183. package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-CpAtzNxD.mjs} +15 -7
  184. package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-B8yLPjs0.mjs} +531 -117
  185. package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
  186. package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
  187. package/dist/server/portal.mjs +1 -1
  188. package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-DOu6QceG.mjs} +1 -1
  189. package/dist/server/prebuild.mjs +1 -1
  190. package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-CfOXFKYG.mjs} +3 -3
  191. package/dist/server/{registry-wYH0LH5f.mjs → registry-34rkAfaU.mjs} +1409 -3314
  192. package/dist/server/rendering/components/pageShared.mjs +1 -1
  193. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  194. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -2
  195. package/dist/server/rendering/server.mjs +3 -3
  196. package/dist/server/rendering.mjs +8 -8
  197. package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData-D7VeoWgr.mjs} +1 -1
  198. package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
  199. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  200. package/dist/server/{schema-BFOqYIMQ.mjs → schema-CUDHMirj.mjs} +440 -154
  201. package/dist/server/server.mjs +3 -3
  202. package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
  203. package/dist/server/theme-bridge.mjs +21 -15
  204. package/dist/server/theme.mjs +2 -2
  205. package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
  206. package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
  207. package/dist/server/{validation-DAQdPDku.mjs → validation-CLVKoJrX.mjs} +5 -5
  208. package/dist/server/{version-DAB0O3yx.mjs → version-HVfdvBJ0.mjs} +1 -1
  209. package/dist/styles/index.css +1038 -200
  210. package/package.json +1 -1
  211. package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
  212. package/dist/preview-next/client/SiteChromeCustomizeButton-CrgS3I8d.mjs +0 -53534
  213. package/dist/server/customCss-QymcmOZ-.mjs +0 -97
  214. package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
  215. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import { d as parseUuidBrand, f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
3
- import { Ci as blockButtonRoleSchema, Cn as ImagePresets, Cs as formatEventPricing, D as registrationStepLabel, Di as browserReadAuthoritySchema, Dn as renderAudio, E as registrationRoute, Ei as resolveDateRuntimeContext, En as mediaImageHostProps, Eo as toNonEmptyReadonlyArray, Es as publicEventPricingDisplay, Fi as bookingPageKindSchema, Fn as eventCalendarWeekStart, Gi as isDecodeSuccess, Hi as createZodCodec, Hn as formatEventCompactDateRail, Ii as buildInteractiveIslandProps, In as eventDateLocale, Ji as listLookSlot, Ki as listItemPresentation, Kt as withOccurrenceTitle, Li as createInteractiveIslandCodec, Ln as eventDateOptions, Mn as resolveMediaNodeResponsiveImage, N as isRegistrationLocked, Ni as pageNavigationSchema, Ns as parseEventSeriesId, O as registrationStepLabelContext, On as renderVideo, Pt as formatBookingWhen, Qn as resolveRuntimeEventDestination, Ri as defineInteractiveIslandMetaKeys, Rn as eventLocalDateKey, Rt as formatRegistrationSchedule, S as getEventSelectionMode, Sn as RichText, Ss as formatBookingPriceDisplay, Tn as computeMediaTransformStyle, Ui as defineClientOwnedBlockRuntime, Vi as resolveEventRegistrationScopedEvents, Wi as defineProgressiveBlockRuntime, Wo as cardRoleSchema, Yi as lookListPresentationSchemaShape, _i as eventLayoutSchema, _n as bookingPresentation, _s as parseMailchimpAudienceId, a as buildProductDetailDisplay, b as resolveSelectedProduct, bi as registrationButtonVariantSchema, bn as resolveRegistrationDisplay, cr as selectEventCapacitySource, cs as nextLiveRunSessionStartMs, ct as findPreSelectedEvent, di as bookingNowSchema, ds as resolveWholeSeriesRunLifecycle, fi as calendarTabViewsSchema, fs as parseMailingListRuntimeContext, g as deriveCommerceCheckoutState, gi as eventCalendarDisplayModeSchema, gs as parseBrevoListId, hi as eventCalendarDefaultViewSchema, ho as assertNever, hs as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, in as toWholeSeriesRegistrationEvents, mi as eventButtonVariantSchema, ms as DEFAULT_MAILING_LIST_PRIVACY_NOTE, n as buildCheckoutDisplay, nn as toRegistrationEvents, nr as formatRemainingPlaces, o as buildProductListDisplay, or as getRemainingPlaces, pa as resolveModeArrangement, pi as columnOptionSchema, r as buildPassesMembershipsDisplay, rn as toWholeSeriesRegistrationEvent, t as buildCartDisplay, ur as groupPublicEventsByRun, us as resolveWholeSeriesBookingPhase, ut as resolveEventRequiresPayment, vi as filterAutoShowSchema, vn as placesLeftLabel, vs as parseMailchimpInterestId, wn as MediaPlaceholder, x as REGISTRATION_STEP_LABELS, xi as weekStartSchema, xn as shownVenue, xs as EVENT_PRESET_VOCABULARY, yi as previewStageSchema, yn as registrationDisplaySchema, ys as parseNewsletterListId, zi as eventRegistrationPageSurfaceSubjectSchema } from "./display-B5DfNb6A.mjs";
4
- import { $t as parseBookingLocalDate, Bt as formatTime, Ct as publicEventLoaderQuerySchemaShape, It as formatDate, L as publicEventDestinationSchema, Lt as formatDateRange, Qt as getLocalScheduleDate, S as isEventCalendarListLayout, St as eventSurfaceScopeValues, Ut as inferSiteDateLocale, _t as purchasablePublicPassProductSchema, an as toUtcIsoDateTimeString, bt as eventScheduleScopeValues, g as eventCalendarListGroupingDecision, gt as purchasablePublicMembershipProductSchema, ht as publicProductSchema, in as parseUtcIsoDateTimeString, mt as publicPassProductSchema, n as blockSiteTermsSchema, nn as resolveBookingTimeZoneId, p as calendarWindowPageSchema, pt as publicMembershipProductSchema, qt as buildBookingUtcDateWindow, tn as resolveBookingBusinessTimeZone, v as eventCalendarVariantMeaning, w as resolveEventCalendarReadPlan, xt as eventSurfacePresetValues, y as eventListArrangementValues, z as publicEventSchema } from "./noop-CamIX2yK.mjs";
5
- import { N as assertNever$2, p as assertNever$1 } from "./creditProducts-BTRX4edc.mjs";
3
+ import { Aa as pageNavigationSchema, Ba as defineClientOwnedBlockRuntime, Ca as resolveDateRuntimeContext, Cr as renderAudio, Ct as toRegistrationEvents, D as registrationStepLabel, E as registrationRoute, Ec as formatEventPricing, Fa as defineInteractiveIslandMetaKeys, Ga as listLookSlot, Ha as isDecodeSuccess, Ia as eventRegistrationPageSurfaceSubjectSchema, Ic as parseEventSeriesId, Jr as resolveRuntimeEventDestination, Ka as lookListPresentationSchemaShape, Ma as bookingPageKindSchema, Mr as eventDateLocale, N as isRegistrationLocked, Na as buildInteractiveIslandProps, Nn as formatRegistrationSchedule, Nr as eventDateOptions, O as registrationStepLabelContext, Or as resolveMediaNodeResponsiveImage, Pa as createInteractiveIslandCodec, Pr as eventLocalDateKey, Qr as formatRemainingPlaces, Ra as resolveEventRegistrationScopedEvents, Rr as formatEventCompactDateRail, S as getEventSelectionMode, Sc as parseNewsletterListId, Sr as mediaImageHostProps, Tc as formatBookingPriceDisplay, Ts as toNonEmptyReadonlyArray, Tt as toWholeSeriesRegistrationEvents, Ua as listItemPresentation, Us as cardRoleSchema, Va as defineProgressiveBlockRuntime, Vn as withOccurrenceTitle, _a as registrationButtonVariantSchema, _c as DEFAULT_MAILING_LIST_PRIVACY_NOTE, _r as shownVenue, a as buildProductDetailDisplay, b as resolveSelectedProduct, ba as blockButtonRoleSchema, bc as parseMailchimpAudienceId, br as MediaPlaceholder, ca as bookingNowSchema, da as eventButtonVariantSchema, dc as nextLiveRunSessionStartMs, do as resolveModeArrangement, dt as resolveEventRequiresPayment, fa as eventCalendarDefaultViewSchema, g as deriveCommerceCheckoutState, ga as previewStageSchema, gr as resolveRegistrationDisplay, ha as filterAutoShowSchema, hc as parseMailingListRuntimeContext, hr as registrationDisplaySchema, ii as selectEventCapacitySource, jr as eventCalendarWeekStart, kc as publicEventPricingDisplay, kn as formatBookingWhen, la as calendarTabViewsSchema, lt as findPreSelectedEvent, ma as eventLayoutSchema, mc as resolveWholeSeriesRunLifecycle, mr as placesLeftLabel, n as buildCheckoutDisplay, ni as getRemainingPlaces, o as buildProductListDisplay, oi as groupPublicEventsByRun, pa as eventCalendarDisplayModeSchema, pc as resolveWholeSeriesBookingPhase, pr as bookingPresentation, ps as assertNever, r as buildPassesMembershipsDisplay, t as buildCartDisplay, ua as columnOptionSchema, va as weekStartSchema, vc as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, vr as RichText, wa as browserReadAuthoritySchema, wc as EVENT_PRESET_VOCABULARY, wr as renderVideo, wt as toWholeSeriesRegistrationEvent, x as REGISTRATION_STEP_LABELS, xc as parseMailchimpInterestId, xr as computeMediaTransformStyle, yc as parseBrevoListId, yr as ImagePresets, za as createZodCodec } from "./display-D8MW2b0e.mjs";
4
+ import { B as publicEventSchema, Bt as formatDate, Ct as publicEventLoaderQuerySchemaShape, R as publicEventDestinationSchema, S as isEventCalendarListLayout, St as eventSurfaceScopeValues, Vt as formatDateRange, Wt as formatTime, Zt as buildBookingUtcDateWindow, _t as purchasablePublicPassProductSchema, an as resolveBookingBusinessTimeZone, bt as eventScheduleScopeValues, cn as parseUtcIsoDateTimeString, g as eventCalendarListGroupingDecision, gt as purchasablePublicMembershipProductSchema, ht as publicProductSchema, ln as toUtcIsoDateTimeString, mt as publicPassProductSchema, n as blockSiteTermsSchema, nn as getLocalScheduleDate, on as resolveBookingTimeZoneId, p as calendarWindowPageSchema, pt as publicMembershipProductSchema, qt as inferSiteDateLocale, rn as parseBookingLocalDate, v as eventCalendarVariantMeaning, w as resolveEventCalendarReadPlan, xt as eventSurfacePresetValues, y as eventListArrangementValues } from "./noop-D5mFWXtN.mjs";
5
+ import { A as assertNever$2, p as assertNever$1 } from "./creditProducts-KYMVIH3J.mjs";
6
6
  import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-xrjaKaCj.mjs";
7
7
  import { S as clsx, h as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-DuaYtnvG.mjs";
8
8
  import { n as getCurrentResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
@@ -520,7 +520,7 @@ function normalizeEventStaffMemberId(value) {
520
520
  //#region ../blocks/src/system/runtime/nodes/events/domain/pricing.ts
521
521
  /**
522
522
  * Format event price for display.
523
- * @returns "Free", "£25", "£12–£25", "Free / £12–£25", "Course (From £40)", etc.
523
+ * @returns "Free", "£25", "£12–£25", "Free / £12–£25", "£220 for the course", etc.
524
524
  *
525
525
  * Events render compact amounts (no trailing ".00"); the actual ADT→string
526
526
  * mapping lives in `formatBookingPriceDisplay` in @riverbankcms/core so all
@@ -528,8 +528,16 @@ function normalizeEventStaffMemberId(value) {
528
528
  */
529
529
  function formatEventPrice(event) {
530
530
  const label = formatEventPricing(event.pricing, { decimals: "auto" });
531
- if (event.bookingScope !== "whole_series") return label;
532
- return publicEventPricingDisplay(event.pricing).kind === "free" ? "Course" : `Course (${label})`;
531
+ return event.bookingScope === "whole_series" ? formatCoursePrice(event.pricing) : label;
532
+ }
533
+ /**
534
+ * A course's price, said for the whole course: one booking covers every
535
+ * session, so "£72 for the course" rather than a bare "£72" next to one
536
+ * session's length.
537
+ */
538
+ function formatCoursePrice(pricing) {
539
+ const label = formatEventPricing(pricing, { decimals: "auto" });
540
+ return publicEventPricingDisplay(pricing).kind === "free" ? label : `${label} for the course`;
533
541
  }
534
542
  /**
535
543
  * Format an event's price directly from its pricing value (without the full
@@ -959,9 +967,16 @@ function selectCardListPresentation(source) {
959
967
  [key]: source[key]
960
968
  }), {});
961
969
  }
962
- /** Actual date rows own availability; a missing batch still uses the summary. */
970
+ /**
971
+ * Date rows that carry places own availability; a course's rows don't, since
972
+ * its places belong to the whole course. A missing batch still uses the summary.
973
+ */
963
974
  function resolveCardListSchedule(item, mode) {
964
- return mode === "next-dates" && item.dates?.length ? {
975
+ if (mode !== "next-dates" || !item.dates?.length) return {
976
+ part: "schedule",
977
+ item
978
+ };
979
+ return item.dates.some((date) => date.places) ? {
965
980
  part: "dates",
966
981
  item: {
967
982
  ...item,
@@ -969,7 +984,7 @@ function resolveCardListSchedule(item, mode) {
969
984
  availability: null
970
985
  }
971
986
  } : {
972
- part: "schedule",
987
+ part: "dates",
973
988
  item
974
989
  };
975
990
  }
@@ -1019,9 +1034,9 @@ const partRenderers = {
1019
1034
  ...listLookSlot(presentation, "schedule"),
1020
1035
  children: item.schedule
1021
1036
  }) : null,
1022
- dates: ({ item, presentation }) => item.dates?.length ? /* @__PURE__ */ jsx("ul", {
1037
+ dates: ({ item, presentation }) => item.dates?.length ? /* @__PURE__ */ jsxs("ul", {
1023
1038
  ...listLookSlot(presentation, "dates"),
1024
- children: item.dates.map((date, index) => /* @__PURE__ */ jsxs("li", {
1039
+ children: [item.dates.map((date, index) => /* @__PURE__ */ jsxs("li", {
1025
1040
  ...listLookSlot(presentation, "date"),
1026
1041
  children: [
1027
1042
  /* @__PURE__ */ jsx("time", {
@@ -1040,7 +1055,10 @@ const partRenderers = {
1040
1055
  extraClassName: "rb-card-list-date-booking"
1041
1056
  }) : null
1042
1057
  ]
1043
- }, `${date.startsAt}-${index}`))
1058
+ }, `${date.startsAt}-${index}`)), item.datesMore ? /* @__PURE__ */ jsx("li", {
1059
+ "data-dates-more": true,
1060
+ children: item.datesMore
1061
+ }) : null]
1044
1062
  }) : null,
1045
1063
  availability: ({ item, presentation }) => item.availability ? /* @__PURE__ */ jsx("p", {
1046
1064
  ...listLookSlot(presentation, "availability"),
@@ -1095,6 +1113,11 @@ function CardListTitle({ item, presentation, Title = "h3" }) {
1095
1113
  })
1096
1114
  }) : item.title
1097
1115
  }),
1116
+ item.subtitle ? /* @__PURE__ */ jsx("p", {
1117
+ className: "rb-card-list-subtitle rb-caption",
1118
+ "data-card-subtitle": true,
1119
+ children: item.subtitle
1120
+ }) : null,
1098
1121
  /* @__PURE__ */ jsx(EventQuickFacts, {
1099
1122
  facts: item.quickFacts,
1100
1123
  context: "card"
@@ -2819,22 +2842,15 @@ const OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS = [
2819
2842
  const OFFERINGS_PREVIEW_EVENT_PRESETS = OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => definition.preset);
2820
2843
  const OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS = [...OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => definition.sourceKey), "course"];
2821
2844
  const OFFERINGS_PREVIEW_SOURCE_KEYS = OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS;
2822
- function offeringsListingFor(arrangement) {
2823
- switch (arrangement) {
2824
- case "course-groups": return "by-course";
2825
- case "next-cards": return "next-per-type";
2826
- case "slides":
2827
- case "track": return "by-date";
2828
- case "legacy":
2829
- case "cards":
2830
- case "lead-support":
2831
- case "index":
2832
- case "sequence":
2833
- case "plates":
2834
- case "stack":
2835
- case "type-columns": return "by-type";
2836
- default: return assertNever$2(arrangement);
2837
- }
2845
+ /** Reads a stored or effective knob value; anything else means the default, grouped by kind. */
2846
+ function readOfferingsGrouping(value) {
2847
+ return value === "one-list" ? "one-list" : "by-kind";
2848
+ }
2849
+ /** Grouping owns merging; specialised Looks retain their own selection policy. */
2850
+ function offeringsListingFor(grouping, arrangement) {
2851
+ if (arrangement === "course-groups") return "by-course";
2852
+ if (arrangement === "next-cards") return "next-per-type";
2853
+ return grouping === "one-list" ? "by-date" : "by-type";
2838
2854
  }
2839
2855
  Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.sourceKey, {
2840
2856
  kind: "eventPreset",
@@ -4846,4 +4862,4 @@ function shopProductPresentation(hydration, productId, index, count) {
4846
4862
  };
4847
4863
  }
4848
4864
  //#endregion
4849
- export { DEFAULT_BOOKING_BUTTON_TEXT as $, groupEventsByWeek as $t, formInteractiveIslandPropsCodec as A, toEventPaginationLoadError as At, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as B, CardListLeadDate as Bt, newsletterFormInteractiveIslandPropsCodec as C, DEFAULT_MAILING_LIST_TARGETING as Cn, eventListingInteractiveIslandPropsCodec as Ct, publicGiftingOffersResponseSchema as D, getEventIdentity as Dt, giftingInteractiveIslandPropsCodec as E, unsafeAsContentEntryId as En, eventPaginationLoadReducer as Et, eventRegistrationInteractiveIslandPropsCodec as F, normalizeCsvString as Ft, isOfferingsPreviewSourceKey as G, EventQuickFacts as Gt, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as H, resolveCardListSchedule as Ht, resolveEventRegistrationEventSource as I, normalizeOptionalId as It, offeringRunLifecycle as J, getContainerClass as Jt, normalizeOfferingsPreviewContentForWrite as K, quickFactSlots as Kt, offeringNounForEvent as L, catalogueEventCardProps as Lt, buildEventRegistrationInteractiveIslandProps as M, buildEventRuntimeFilters as Mt, displayButtonText as N, getEventRuntimeFiltersKey as Nt, buildFormInteractiveIslandProps as O, getEventPaginationView as Ot, eventRegistrationBlockRuntime as P, normalizeCsvIds as Pt, resolveOfferingsRenderInput as Q, eventWeekGroupingContext as Qt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as R, listingEventCardProps as Rt, newsletterFormBlockRuntime as S, parseMailingListVisitorSelection as Sn, eventListingBlockRuntime as St, giftingBlockRuntime as T, parseContentVersionId as Tn, eventPageOperationQuery as Tt, buildOfferingsPreviewListing as U, selectCardListPresentation as Ut, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as V, cardListPresentationSchemaShape as Vt, groupOfferingRunsByCourse as W, MediaNodeServer as Wt, resolveOfferingsPreviewGroupCta as X, buildEventListWeek as Xt, offeringsListingFor as Y, Grid as Yt, resolveOfferingsPreviewGroups as Z, eventListWeekDays as Zt, shopProductPresentation as _, planSiteChromePlacement as _n, eventCalendarInteractiveIslandPropsCodec as _t, buildShopInteractiveIslandProps as a, normalizeEventCategoryIds as an, courseTitleOf as at, buildNewsletterFormInteractiveIslandProps as b, assessMailingListTargeting as bn, combinedLookSchema as bt, checkoutBlockRuntime as c, normalizeEventSurfacePresets as cn, closedRunCopy as ct, productDetailBlockRuntime as d, resolveEventSelection as dn, eventCombinedBlockRuntime as dt, weekColumnDays as en, bookingBarPlacement as et, productDetailInteractiveIslandPropsCodec as f, headerChromeRuntimeContractSchema as fn, eventCombinedInteractiveIslandPropsCodec as ft, shopInteractiveIslandPropsCodec as g, parseHeaderPositioning as gn, eventCalendarBlockRuntime as gt, shopBlockRuntime as h, staticHeaderChromeRuntime as hn, buildEventCalendarListingRender as ht, buildProductListInteractiveIslandProps as i, formatEventStartingPrice as in, bookingPanelHeading as it, buildEventRegistrationDisplayFromScopedEvents as j, toError as jt, formBlockRuntime as k, planEventPageOperation as kt, checkoutInteractiveIslandPropsCodec as l, normalizeEventSurfaceScope as ln, buildEventCombinedInteractiveIslandProps as lt, productListInteractiveIslandPropsCodec as m, resolveHeaderChromeRuntimeContract as mn, buildEventCalendarListingDisplay as mt, buildCheckoutInteractiveIslandProps as n, formatEventPriceAmount as nn, bookingEntry as nt, cartBlockRuntime as o, normalizeEventScheduleScope as on, formatBookingSchedulePresentation as ot, productListBlockRuntime as p, isHeaderScrollRuntimeEnabled as pn, buildEventCalendarInteractiveIslandProps as pt, normalizeOfferingsPreviewItemLimit as q, getCardOrientation as qt, buildProductDetailInteractiveIslandProps as r, formatEventPriceDisplay as rn, bookingEntryProgress as rt, cartInteractiveIslandPropsCodec as s, normalizeEventStaffMemberId as sn, occurrenceContextSchema as st, buildCartInteractiveIslandProps as t, formatEventPrice as tn, bookingCardEntry as tt, getShopDisplayForItems as u, normalizeEventVenueId as un, buildEventCombinedListingDisplay as ut, publicProductsResponseSchema as v, splitSiteChromePlacementClasses as vn, projectRecurringSchedule as vt, buildGiftingInteractiveIslandProps as w, sameMailingListPlacementTargeting as wn, createInitialEventPaginationLoadState as wt, newsletterBlockSubmissionMessage as x, parseMailingListPlacementTargeting as xn, buildEventListingInteractiveIslandProps as xt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as y, buildMailingListSignupBlockSourceRef as yn, recurringScheduleProjectionSchema as yt, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as z, CardListContentPart as zt };
4865
+ export { resolveOfferingsRenderInput as $, eventWeekGroupingContext as $t, formInteractiveIslandPropsCodec as A, planEventPageOperation as At, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as B, CardListContentPart as Bt, newsletterFormInteractiveIslandPropsCodec as C, parseMailingListPlacementTargeting as Cn, eventListingBlockRuntime as Ct, publicGiftingOffersResponseSchema as D, parseContentVersionId as Dn, eventPaginationLoadReducer as Dt, giftingInteractiveIslandPropsCodec as E, sameMailingListPlacementTargeting as En, eventPageOperationQuery as Et, eventRegistrationInteractiveIslandPropsCodec as F, normalizeCsvIds as Ft, isOfferingsPreviewSourceKey as G, MediaNodeServer as Gt, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as H, cardListPresentationSchemaShape as Ht, resolveEventRegistrationEventSource as I, normalizeCsvString as It, offeringRunLifecycle as J, getCardOrientation as Jt, normalizeOfferingsPreviewContentForWrite as K, EventQuickFacts as Kt, offeringNounForEvent as L, normalizeOptionalId as Lt, buildEventRegistrationInteractiveIslandProps as M, toError as Mt, displayButtonText as N, buildEventRuntimeFilters as Nt, buildFormInteractiveIslandProps as O, unsafeAsContentEntryId as On, getEventIdentity as Ot, eventRegistrationBlockRuntime as P, getEventRuntimeFiltersKey as Pt, resolveOfferingsPreviewGroups as Q, eventListWeekDays as Qt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as R, catalogueEventCardProps as Rt, newsletterFormBlockRuntime as S, assessMailingListTargeting as Sn, buildEventListingInteractiveIslandProps as St, giftingBlockRuntime as T, DEFAULT_MAILING_LIST_TARGETING as Tn, createInitialEventPaginationLoadState as Tt, buildOfferingsPreviewListing as U, resolveCardListSchedule as Ut, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as V, CardListLeadDate as Vt, groupOfferingRunsByCourse as W, selectCardListPresentation as Wt, readOfferingsGrouping as X, Grid as Xt, offeringsListingFor as Y, getContainerClass as Yt, resolveOfferingsPreviewGroupCta as Z, buildEventListWeek as Zt, shopProductPresentation as _, staticHeaderChromeRuntime as _n, eventCalendarBlockRuntime as _t, buildShopInteractiveIslandProps as a, formatEventPriceDisplay as an, bookingPanelHeading as at, buildNewsletterFormInteractiveIslandProps as b, splitSiteChromePlacementClasses as bn, recurringScheduleProjectionSchema as bt, checkoutBlockRuntime as c, normalizeEventScheduleScope as cn, occurrenceContextSchema as ct, productDetailBlockRuntime as d, normalizeEventSurfaceScope as dn, buildEventCombinedListingDisplay as dt, groupEventsByWeek as en, DEFAULT_BOOKING_BUTTON_TEXT as et, productDetailInteractiveIslandPropsCodec as f, normalizeEventVenueId as fn, eventCombinedBlockRuntime as ft, shopInteractiveIslandPropsCodec as g, resolveHeaderChromeRuntimeContract as gn, buildEventCalendarListingRender as gt, shopBlockRuntime as h, isHeaderScrollRuntimeEnabled as hn, buildEventCalendarListingDisplay as ht, buildProductListInteractiveIslandProps as i, formatEventPriceAmount as in, bookingEntryProgress as it, buildEventRegistrationDisplayFromScopedEvents as j, toEventPaginationLoadError as jt, formBlockRuntime as k, getEventPaginationView as kt, checkoutInteractiveIslandPropsCodec as l, normalizeEventStaffMemberId as ln, closedRunCopy as lt, productListInteractiveIslandPropsCodec as m, headerChromeRuntimeContractSchema as mn, buildEventCalendarInteractiveIslandProps as mt, buildCheckoutInteractiveIslandProps as n, formatCoursePrice as nn, bookingCardEntry as nt, cartBlockRuntime as o, formatEventStartingPrice as on, courseTitleOf as ot, productListBlockRuntime as p, resolveEventSelection as pn, eventCombinedInteractiveIslandPropsCodec as pt, normalizeOfferingsPreviewItemLimit as q, quickFactSlots as qt, buildProductDetailInteractiveIslandProps as r, formatEventPrice as rn, bookingEntry as rt, cartInteractiveIslandPropsCodec as s, normalizeEventCategoryIds as sn, formatBookingSchedulePresentation as st, buildCartInteractiveIslandProps as t, weekColumnDays as tn, bookingBarPlacement as tt, getShopDisplayForItems as u, normalizeEventSurfacePresets as un, buildEventCombinedInteractiveIslandProps as ut, publicProductsResponseSchema as v, parseHeaderPositioning as vn, eventCalendarInteractiveIslandPropsCodec as vt, buildGiftingInteractiveIslandProps as w, parseMailingListVisitorSelection as wn, eventListingInteractiveIslandPropsCodec as wt, newsletterBlockSubmissionMessage as x, buildMailingListSignupBlockSourceRef as xn, combinedLookSchema as xt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as y, planSiteChromePlacement as yn, projectRecurringSchedule as yt, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as z, listingEventCardProps as zt };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-xNC1Cyjw.mjs";
2
+ import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BjRoLoMD.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DAypPzSo.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -0,0 +1,22 @@
1
+ "use client";
2
+ //#region ../core/src/stable-json.ts
3
+ function stableJsonStringify(value) {
4
+ return JSON.stringify(sortStableJsonValue(value));
5
+ }
6
+ function sortStableJsonValue(value) {
7
+ if (value === null) return null;
8
+ if (typeof value === "string" || typeof value === "boolean") return value;
9
+ if (typeof value === "number") {
10
+ if (!Number.isFinite(value)) throw new TypeError("Stable JSON only supports finite numbers");
11
+ return value;
12
+ }
13
+ if (Array.isArray(value)) return value.map(sortStableJsonValue);
14
+ if (typeof value === "object") {
15
+ const prototype = Object.getPrototypeOf(value);
16
+ if (prototype !== Object.prototype && prototype !== null) throw new TypeError("Stable JSON only supports plain objects");
17
+ return Object.fromEntries(Object.entries(value).sort(([left], [right]) => left < right ? -1 : left > right ? 1 : 0).map(([key, child]) => [key, sortStableJsonValue(child)]));
18
+ }
19
+ throw new TypeError(`Stable JSON does not support ${typeof value}`);
20
+ }
21
+ //#endregion
22
+ export { stableJsonStringify as t };
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { Ei as resolveDateRuntimeContext, Ln as eventDateOptions, Sn as RichText, Vn as formatEventClockLabel, Xn as groupEventsByDate, Zn as resolveEventTimeZone, ar as getEventAvailabilityStatus, qn as formatEventTimeRange, sr as isEventFull, tr as formatEventRemainingPlaces } from "./display-B5DfNb6A.mjs";
3
- import { Gt as formatBookingCompactEnglishTime, It as formatDate, Kt as toScheduledBookingDateTime, en as parseLocalScheduleTime } from "./noop-CamIX2yK.mjs";
4
- import { N as assertNever } from "./creditProducts-BTRX4edc.mjs";
5
- import { t as LocationMapActions } from "./LocationMapActions-Hsj2HC_1.mjs";
6
- import { J as textColorStyle } from "./accessibleSurfaces-OsAseM7H.mjs";
2
+ import { Ca as resolveDateRuntimeContext, Kr as groupEventsByDate, Lr as formatEventClockLabel, Nr as eventDateOptions, Ur as formatEventTimeRange, Zr as formatEventRemainingPlaces, qr as resolveEventTimeZone, ri as isEventFull, ti as getEventAvailabilityStatus, vr as RichText } from "./display-D8MW2b0e.mjs";
3
+ import { Bt as formatDate, Xt as toScheduledBookingDateTime, Yt as formatBookingCompactEnglishTime, in as parseLocalScheduleTime } from "./noop-D5mFWXtN.mjs";
4
+ import { A as assertNever } from "./creditProducts-KYMVIH3J.mjs";
5
+ import { t as LocationMapActions } from "./LocationMapActions-BJT7MqP2.mjs";
7
6
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-xrjaKaCj.mjs";
7
+ import { q as textColorStyle } from "./accessibleSurfaces-DN8it_Cx.mjs";
8
8
  import { C as parseThemeButtonVariantId, S as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
9
- import { r as resolveEventLinkProps } from "./cta-CNVQHLKs.mjs";
10
- import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-C7E7Lyfa.mjs";
11
- import { l as formatEventTeacherLine } from "./EventItem-sKBofjiW.mjs";
12
- import { t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CNckKZct.mjs";
13
- import { t as coerceRichTextDoc } from "./richText-coerce-Bcl3vTb4.mjs";
9
+ import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-q1sA4Cj-.mjs";
10
+ import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-DCIwlON6.mjs";
11
+ import { l as formatEventTeacherLine } from "./EventItem-C-mxXpX_.mjs";
12
+ import { t as CalendarNavigationChevron } from "./CalendarNavigationChevron-BPQU5Snc.mjs";
13
+ import { t as coerceRichTextDoc } from "./richText-coerce-C32cRQ03.mjs";
14
14
  import "react";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
16
  import { z } from "zod";
@@ -24,6 +24,15 @@ const openingHoursWeekdayLabels = {
24
24
  saturday: "Saturday",
25
25
  sunday: "Sunday"
26
26
  };
27
+ const shortWeekdayLabels = {
28
+ monday: "Mon",
29
+ tuesday: "Tue",
30
+ wednesday: "Wed",
31
+ thursday: "Thu",
32
+ friday: "Fri",
33
+ saturday: "Sat",
34
+ sunday: "Sun"
35
+ };
27
36
  function formatOpeningHoursTime(value) {
28
37
  const time = parseLocalScheduleTime(value);
29
38
  return formatBookingCompactEnglishTime(toScheduledBookingDateTime({
@@ -35,14 +44,15 @@ function formatOpeningHoursTime(value) {
35
44
  function formatDayHours(day) {
36
45
  return day.kind === "closed" ? "Closed" : day.intervals.map((interval) => `${formatOpeningHoursTime(interval.opensAt)} to ${formatOpeningHoursTime(interval.closesAt)}`).join(", ");
37
46
  }
38
- function weekdayRangeLabel(weekdays) {
47
+ function weekdayRangeLabel(weekdays, style) {
39
48
  const first = weekdays[0];
40
49
  const last = weekdays[weekdays.length - 1];
41
50
  if (!first || !last) return "";
42
- return first === last ? openingHoursWeekdayLabels[first] : `${openingHoursWeekdayLabels[first]} to ${openingHoursWeekdayLabels[last]}`;
51
+ const labels = style === "short" ? shortWeekdayLabels : openingHoursWeekdayLabels;
52
+ return first === last ? labels[first] : `${labels[first]}${style === "short" ? "–" : " to "}${labels[last]}`;
43
53
  }
44
54
  /** Monday-first table rows; only adjacent days with identical ranges are grouped. */
45
- function formatOpeningHoursRows(hours) {
55
+ function formatOpeningHoursRows(hours, options = {}) {
46
56
  return (hours?.days ?? []).reduce((rows, day) => {
47
57
  const text = formatDayHours(day);
48
58
  const previous = rows[rows.length - 1];
@@ -50,7 +60,7 @@ function formatOpeningHoursRows(hours) {
50
60
  const row = {
51
61
  kind: day.kind,
52
62
  weekdays,
53
- label: weekdayRangeLabel(weekdays),
63
+ label: weekdayRangeLabel(weekdays, options.labels ?? "full"),
54
64
  hours: text
55
65
  };
56
66
  return weekdays.length > 1 ? [...rows.slice(0, -1), row] : [...rows, row];
@@ -698,7 +708,7 @@ const WeekBoardCard = ({ event, showCapacity, calendarTimeZone }) => {
698
708
  children: [
699
709
  /* @__PURE__ */ jsx("span", {
700
710
  className: "event-week-board-card-title",
701
- children: event.title
711
+ children: eventDisplayTitleText(event)
702
712
  }),
703
713
  /* @__PURE__ */ jsx("span", {
704
714
  className: "event-week-board-card-time",
@@ -1,8 +1,28 @@
1
1
  "use client";
2
- import { $t as parseBookingLocalDate, Bt as formatTime$1, It as formatDate$1, Jt as addLocalScheduleDays, Qt as getLocalScheduleDate, Xt as formatLocalScheduleDate, in as parseUtcIsoDateTimeString, nn as resolveBookingTimeZoneId } from "./noop-CamIX2yK.mjs";
3
- import { F as unsafeAsAppointmentResourceId, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
4
- import { n as useBlockApi } from "./context-xNC1Cyjw.mjs";
2
+ import { Bt as formatDate$1, Lt as capitalize, Qt as addLocalScheduleDays, Wt as formatTime$1, cn as parseUtcIsoDateTimeString, en as formatLocalScheduleDate, nn as getLocalScheduleDate, on as resolveBookingTimeZoneId, rn as parseBookingLocalDate } from "./noop-D5mFWXtN.mjs";
3
+ import { M as unsafeAsAppointmentResourceId, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
4
+ import { n as useBlockApi } from "./context-CNlesLfF.mjs";
5
5
  import { useCallback, useEffect, useReducer, useRef } from "react";
6
+ function clientPersonPhrases(noun) {
7
+ if (noun == null) return {
8
+ label: "Who with",
9
+ chooseAnother: "Choose someone else",
10
+ anyone: "Anyone who's free",
11
+ chooseYours: "Choose who you'd like to see",
12
+ withName: (name) => `With ${name}`,
13
+ listLabel: () => "With"
14
+ };
15
+ const singularLabel = capitalize(noun.singular);
16
+ return {
17
+ label: singularLabel,
18
+ chooseAnother: `Choose another ${noun.singular}`,
19
+ anyone: `Any ${noun.singular}`,
20
+ chooseYours: `Choose your ${noun.singular}`,
21
+ withName: (name) => `${singularLabel}: ${name}`,
22
+ listLabel: (count) => count === 1 ? singularLabel : capitalize(noun.plural)
23
+ };
24
+ }
25
+ //#endregion
6
26
  //#region ../blocks/src/utils/date-formatting.ts
7
27
  /**
8
28
  * Resolve the browser/runtime timezone for booking surfaces.
@@ -153,10 +173,8 @@ function getAvailableDatesError(state) {
153
173
  return state.tag === "error" ? state.message : null;
154
174
  }
155
175
  function mergeAvailableDates(previous, action) {
156
- const availableDates = action.append ? new Set(previous.availableDates) : /* @__PURE__ */ new Set();
157
- for (const date of action.dates) availableDates.add(date);
158
176
  return {
159
- availableDates,
177
+ availableDates: /* @__PURE__ */ new Set([...action.append ? previous.availableDates : [], ...action.dates]),
160
178
  hasMore: action.hasMore,
161
179
  loadedRange: {
162
180
  start: action.append && previous.loadedRange ? previous.loadedRange.start : action.startDate,
@@ -204,6 +222,19 @@ function availableDatesReducer(state, action) {
204
222
  */
205
223
  const AVAILABILITY_REFRESH_INTERVAL_MS$1 = 3e4;
206
224
  const AVAILABILITY_REFRESH_JITTER_MS$1 = 5e3;
225
+ async function readAvailableDatesRange(api, query) {
226
+ const page = await api.getAvailableDates(query);
227
+ if (!page.nextStartDate || page.nextStartDate > query.endDate || page.nextStartDate <= query.startDate) return page;
228
+ const rest = await readAvailableDatesRange(api, {
229
+ ...query,
230
+ startDate: page.nextStartDate
231
+ });
232
+ return {
233
+ ...rest,
234
+ startDate: page.startDate,
235
+ dates: [...page.dates, ...rest.dates]
236
+ };
237
+ }
207
238
  /**
208
239
  * Fetches dates with availability for a service
209
240
  *
@@ -238,7 +269,7 @@ function useAvailableDates({ serviceId, resourceId, timezone, initialDays = 30 }
238
269
  if (mode === "refresh") dispatch({ type: "refresh-started" });
239
270
  else dispatch({ type: "load-started" });
240
271
  try {
241
- const data = await api.getAvailableDates({
272
+ const data = await readAvailableDatesRange(api, {
242
273
  serviceId,
243
274
  startDate,
244
275
  endDate,
@@ -459,4 +490,4 @@ function useAvailableSlots({ serviceId, resourceId, selectedDate, timezone }) {
459
490
  };
460
491
  }
461
492
  //#endregion
462
- export { formatTime as a, formatDatePillParts as i, useAvailableDates as n, getRuntimeTimeZone as o, formatDate as r, useAvailableSlots as t };
493
+ export { formatTime as a, formatDatePillParts as i, useAvailableDates as n, getRuntimeTimeZone as o, formatDate as r, clientPersonPhrases as s, useAvailableSlots as t };
@@ -1,95 +1,7 @@
1
1
  "use client";
2
2
  import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
3
- import { p as assertNever } from "./creditProducts-BTRX4edc.mjs";
4
- import { d as getAutoAppliedDiscountPreview, l as discountAvailabilityAllowsManualEntry, u as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-CmZLVXOy.mjs";
5
- import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
- import * as React$1 from "react";
3
+ import { d as discountAvailabilityHasDiscounts, f as getAutoAppliedDiscountPreview, u as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-BnEgvJas.mjs";
7
4
  import { useCallback } from "react";
8
- import { jsx, jsxs } from "react/jsx-runtime";
9
- //#region ../blocks/src/system/runtime/shared/utils/urlParams.ts
10
- /**
11
- * URL param helpers for client-side "return from redirect" flows.
12
- *
13
- * Used for flows like magic-link login or Stripe checkout return URLs where
14
- * we want to:
15
- * - read a query param once
16
- * - remove it from the URL (so refresh doesn't re-trigger)
17
- * - preserve hash fragments
18
- */
19
- /**
20
- * Consume a query param from the current URL's search string.
21
- *
22
- * Returns the param value (if present) and removes it from the URL via
23
- * history.replaceState, preserving hash.
24
- */
25
- function consumeSearchParam(paramName) {
26
- const url = new URL(window.location.href);
27
- const value = url.searchParams.get(paramName);
28
- if (value === null) return null;
29
- url.searchParams.delete(paramName);
30
- const newUrl = url.pathname + (url.search ? url.search : "") + url.hash;
31
- window.history.replaceState({}, "", newUrl);
32
- return value;
33
- }
34
- /**
35
- * Consume multiple query params from the current URL's search string.
36
- *
37
- * Returns a record of consumed values (missing params are null) and removes
38
- * all provided params from the URL in a single replaceState call.
39
- */
40
- function consumeSearchParams(paramNames) {
41
- const url = new URL(window.location.href);
42
- const values = Object.fromEntries(paramNames.map((name) => [name, url.searchParams.get(name)]));
43
- let changed = false;
44
- for (const name of paramNames) if (url.searchParams.has(name)) {
45
- url.searchParams.delete(name);
46
- changed = true;
47
- }
48
- if (changed) {
49
- const newUrl = url.pathname + (url.search ? url.search : "") + url.hash;
50
- window.history.replaceState({}, "", newUrl);
51
- }
52
- return values;
53
- }
54
- //#endregion
55
- //#region ../blocks/src/system/runtime/nodes/shop-add-feedback.tsx
56
- const DEFAULT_TIMEOUT_MS = 2500;
57
- function useTransientShopAddFeedback(timeoutMs = DEFAULT_TIMEOUT_MS) {
58
- const [activeKey, setActiveKey] = React$1.useState(null);
59
- React$1.useEffect(() => {
60
- if (!activeKey) return;
61
- const timeoutId = window.setTimeout(() => {
62
- setActiveKey((current) => current === activeKey ? null : current);
63
- }, timeoutMs);
64
- return () => window.clearTimeout(timeoutId);
65
- }, [activeKey, timeoutMs]);
66
- return {
67
- activeKey,
68
- markAdded: setActiveKey,
69
- clear: () => setActiveKey(null)
70
- };
71
- }
72
- function ShopAddFeedback(props) {
73
- if (!props.active) return null;
74
- return /* @__PURE__ */ jsxs(FeedbackMessage, {
75
- tone: "success",
76
- className: "rb-caption status-muted",
77
- role: "status",
78
- live: "polite",
79
- children: [
80
- "Added ",
81
- props.itemLabel,
82
- " to cart.",
83
- " ",
84
- /* @__PURE__ */ jsx("a", {
85
- href: "#shop-cart",
86
- children: "View cart"
87
- }),
88
- "."
89
- ]
90
- });
91
- }
92
- //#endregion
93
5
  //#region ../blocks/src/system/runtime/nodes/shop-checkout-form.ts
94
6
  const EMAIL_PATTERN = /^[^\s@]+@[^\s@]+\.[^\s@]+$/;
95
7
  function normalizeManualDiscountCode(raw) {
@@ -219,81 +131,6 @@ function checkoutFormForDiscountUiState(form, discountUiState) {
219
131
  };
220
132
  }
221
133
  //#endregion
222
- //#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
223
- const initialDiscountApplyState = {
224
- isOpen: false,
225
- draftCode: "",
226
- status: { type: "idle" }
227
- };
228
- function discountApplyReducer(state, action) {
229
- switch (action.type) {
230
- case "open": return {
231
- ...state,
232
- isOpen: true
233
- };
234
- case "draftChanged": return {
235
- ...state,
236
- draftCode: action.draftCode,
237
- status: { type: "idle" }
238
- };
239
- case "remove": return initialDiscountApplyState;
240
- case "applyStarted": return {
241
- ...state,
242
- status: { type: "applying" }
243
- };
244
- case "applySucceeded": return {
245
- ...state,
246
- isOpen: true,
247
- draftCode: action.discount.code,
248
- status: {
249
- type: "applied",
250
- discount: action.discount
251
- }
252
- };
253
- case "applyRejected": return {
254
- ...state,
255
- isOpen: true,
256
- status: {
257
- type: "rejected",
258
- reason: action.reason,
259
- message: action.message
260
- }
261
- };
262
- case "resetApplied":
263
- if (state.status.type !== "applied") return state;
264
- return {
265
- ...state,
266
- status: { type: "idle" }
267
- };
268
- default: return assertNever(action);
269
- }
270
- }
271
- function getAppliedDiscountCode(state) {
272
- if (state.status.type !== "applied") return null;
273
- return normalizeManualDiscountCode(state.status.discount.code);
274
- }
275
- function isDiscountApplyInFlight(state) {
276
- return state.status.type === "applying";
277
- }
278
- function getDiscountApplyFeedback(status, formatPrice) {
279
- switch (status.type) {
280
- case "idle":
281
- case "applying": return null;
282
- case "applied": {
283
- const savings = formatPrice(status.discount.discountCents, status.discount.currency);
284
- return {
285
- tone: "success",
286
- message: `${status.discount.publicLabel} applied. You save ${savings}.`
287
- };
288
- }
289
- case "rejected": return {
290
- tone: "error",
291
- message: status.message
292
- };
293
- default: return assertNever(status);
294
- }
295
- }
296
- //#endregion
297
134
  //#region ../blocks/src/system/runtime/nodes/useDiscountApply.ts
298
135
  const DISCOUNT_APPLY_MESSAGES = {
299
136
  emptyCode: "Enter a discount code first.",
@@ -346,8 +183,8 @@ function useDiscountApply(options) {
346
183
  }
347
184
  options.dispatch({
348
185
  type: "applyRejected",
349
- reason: result.reason,
350
- message: result.message
186
+ reason: result.type === "rejected" ? result.reason : "unavailable",
187
+ message: result.type === "rejected" ? result.message : DISCOUNT_APPLY_MESSAGES.unavailable
351
188
  });
352
189
  } catch {
353
190
  options.dispatch({
@@ -359,4 +196,4 @@ function useDiscountApply(options) {
359
196
  }, [options]);
360
197
  }
361
198
  //#endregion
362
- export { initialDiscountApplyState as a, checkoutFormForDiscountUiState as c, planUnifiedCheckoutRequest as d, ShopAddFeedback as f, consumeSearchParams as h, getDiscountApplyFeedback as i, planCartDiscountAvailabilityRequests as l, consumeSearchParam as m, discountApplyReducer as n, isDiscountApplyInFlight as o, useTransientShopAddFeedback as p, getAppliedDiscountCode as r, aggregateCartDiscountUiState as s, useDiscountApply as t, planDirectShopCheckoutRequest as u };
199
+ export { normalizeManualDiscountCode as a, planUnifiedCheckoutRequest as c, checkoutFormForDiscountUiState as i, useDiscountApply as n, planCartDiscountAvailabilityRequests as o, aggregateCartDiscountUiState as r, planDirectShopCheckoutRequest as s, DISCOUNT_APPLY_MESSAGES as t };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { d as getAutoAppliedDiscountPreview, l as discountAvailabilityAllowsManualEntry, u as discountAvailabilityHasDiscounts } from "./DemoBookingPortalAccess-CmZLVXOy.mjs";
2
+ import { d as discountAvailabilityHasDiscounts, f as getAutoAppliedDiscountPreview, u as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-BnEgvJas.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,11 +1,11 @@
1
1
  "use client";
2
- import { At as toEventPaginationLoadError, Dt as getEventIdentity, Et as eventPaginationLoadReducer, Ft as normalizeCsvString, It as normalizeOptionalId, Nt as getEventRuntimeFiltersKey, Ot as getEventPaginationView, Pt as normalizeCsvIds, Tt as eventPageOperationQuery, jt as toError, kt as planEventPageOperation, wt as createInitialEventPaginationLoadState } from "./shop.interactive-Bb67gPLL.mjs";
3
- import { Ji as listLookSlot, Ki as listItemPresentation, ki as getBlockApiReadStage } from "./display-B5DfNb6A.mjs";
4
- import { p as assertNever } from "./creditProducts-BTRX4edc.mjs";
5
- import { n as useBlockApi } from "./context-xNC1Cyjw.mjs";
2
+ import { At as planEventPageOperation, Dt as eventPaginationLoadReducer, Et as eventPageOperationQuery, Ft as normalizeCsvIds, It as normalizeCsvString, Lt as normalizeOptionalId, Mt as toError, Ot as getEventIdentity, Pt as getEventRuntimeFiltersKey, Tt as createInitialEventPaginationLoadState, jt as toEventPaginationLoadError, kt as getEventPaginationView } from "./shop.interactive-CKFORzux.mjs";
3
+ import { Ea as getBlockApiReadStage, Ga as listLookSlot, Ua as listItemPresentation } from "./display-D8MW2b0e.mjs";
4
+ import { p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
5
+ import { n as useBlockApi } from "./context-CNlesLfF.mjs";
6
6
  import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
7
- import { r as EventItem } from "./EventItem-sKBofjiW.mjs";
8
- import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BZ4l_rmT.mjs";
7
+ import { r as EventItem } from "./EventItem-C-mxXpX_.mjs";
8
+ import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-CN7BjGgC.mjs";
9
9
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Ji as listLookSlot, d as membershipClassesLabel, f as passCardListContent, u as membershipCardListContent } from "./display-B5DfNb6A.mjs";
2
+ import { Ga as listLookSlot, d as membershipClassesLabel, f as passCardListContent, u as membershipCardListContent } from "./display-D8MW2b0e.mjs";
3
3
  import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
4
- import { r as EventItem, t as CardListCollection } from "./EventItem-sKBofjiW.mjs";
4
+ import { r as EventItem, t as CardListCollection } from "./EventItem-C-mxXpX_.mjs";
5
5
  import React from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx