@riverbankcms/sdk 0.165.0 → 0.166.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (241) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-CdsSMQEv.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
  2. package/dist/_dts/{Page-D6gp2Ipb.d.ts → Page-rW0xgQCA.d.ts} +18 -256
  3. package/dist/_dts/{SdkPreviewMode-DNXAvnet.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +26 -3
  4. package/dist/_dts/{client-BkkExozE.d.ts → client-D4BXQEZc.d.ts} +5 -1
  5. package/dist/_dts/{content-types-CXNAD7ef.d.ts → content-types-MUzta0l9.d.ts} +3 -3
  6. package/dist/_dts/{contracts-XRXhbLWP.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
  7. package/dist/_dts/{footerPageOutline-BP2bJYdY.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-DcMtbztV.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
  9. package/dist/_dts/{index-RXkE3a7M.d.ts → index--qflsCiy.d.ts} +4 -3
  10. package/dist/_dts/{index-C_3kdrUb.d.ts → index-BgJ2aU5c.d.ts} +2 -2
  11. package/dist/_dts/{index-CQfJhOEA.d.ts → index-Bmboeb49.d.ts} +1 -1
  12. package/dist/_dts/{index-CRRiddNp.d.ts → index-DdcwPqQN.d.ts} +4 -4
  13. package/dist/_dts/{index-DKNEgSOS.d.ts → index-ahxQCUc7.d.ts} +2 -2
  14. package/dist/_dts/{index-BdkHhyf8.d.ts → index-kQ5xkM6X.d.ts} +1 -1
  15. package/dist/_dts/{index-DAPTSmBM.d.ts → index-mMMvLLAJ.d.ts} +2596 -2511
  16. package/dist/_dts/{index-B4ozSzFP.d.ts → index-wbBZ0awa.d.ts} +9248 -8251
  17. package/dist/_dts/{loadContent-B9vJMq3s.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
  18. package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
  19. package/dist/_dts/{resolvePageContent-DIQyYUi-.d.ts → resolvePageContent-BRJUTFoH.d.ts} +3 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +9 -6
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +20 -0
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
  28. package/dist/_dts/sdk/src/data/types.d.ts +54 -0
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +9 -8
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +2 -0
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +257 -0
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +8 -7
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  48. package/dist/_dts/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +7 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  53. package/dist/_dts/{types-Cl0nP6al.d.ts → types-BX3Y-EW3.d.ts} +3 -3
  54. package/dist/_dts/{types-mstFvhK4.d.ts → types-DF54stxv.d.ts} +8 -7
  55. package/dist/_dts/{types-BDF73NzM.d.ts → types-DuiHLiPo.d.ts} +2 -2
  56. package/dist/_dts/{validation-DVWqSvjK.d.ts → validation-Bxi0f81D.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-CzKpH9Pm.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
  58. package/dist/client/{BookingMailingListNote-rUqsBN7L.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
  59. package/dist/client/{CalendarNavigationChevron-YGzw2IPB.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
  60. package/dist/client/{CheckboxChoice-DlTC4J2a.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
  61. package/dist/client/{DemoBookingPortalAccess-D2LyS_Bi.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
  62. package/dist/client/{DemoPortalSignInLink-BaFg2Uit.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
  63. package/dist/client/{EventCalendar.client-tRrhPscX.mjs → EventCalendar.client-BhADnDCg.mjs} +9 -9
  64. package/dist/client/{EventCombined.client-6cfAVtnZ.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
  65. package/dist/client/{EventEmbeddedCheckoutStep-CDNUpI0S.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
  66. package/dist/client/{EventItem-dILw2PN_.mjs → EventItem-CMKrtkT7.mjs} +26 -11
  67. package/dist/client/{EventListWeekNavigation-ClgLtjNY.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
  68. package/dist/client/{EventListing.client-BNueAHmU.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
  69. package/dist/client/{EventListing.view-DtVbKVkt.mjs → EventListing.view-3BBRdNVa.mjs} +31 -20
  70. package/dist/client/{EventRegistrationPayment-CzkG0NSJ.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
  71. package/dist/client/{LocationMapActions-zWQsJhE5.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
  72. package/dist/client/{MapDrawingSvg-D1AO_o4h.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
  73. package/dist/client/{Page-DUr2YhFR.mjs → Page-DNDZLRlB.mjs} +1894 -11322
  74. package/dist/client/{ProtectedSubmitButton-2fJqT_NR.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
  75. package/dist/client/{StepIndicator-udNHcpOT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
  76. package/dist/client/{TabBarFragment-C_kt-PXh.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
  77. package/dist/client/{ThemedButton-Cfbo1bfh.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
  78. package/dist/client/{accordion-3CYNWzTS.mjs → accordion-uVqNowRX.mjs} +1 -1
  79. package/dist/client/{booking-form.client-BSbWgLyx.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
  80. package/dist/client/{bookingForm-2MoFBWSt.mjs → bookingForm-DNMojb6A.mjs} +4 -4
  81. package/dist/client/bookings.mjs +6 -6
  82. package/dist/client/{carousel-Cu5mcpO-.mjs → carousel-C8kxI3Dm.mjs} +2 -2
  83. package/dist/client/{carousel.client-CQLV8_Al.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
  84. package/dist/client/{cart-CDc6x9cR.mjs → cart-DCxjE3Is.mjs} +3 -3
  85. package/dist/client/{cart.client-BWS2r5Ef.mjs → cart.client-Ceeng8fB.mjs} +1 -1
  86. package/dist/client/{checkout-CkxPqSwD.mjs → checkout-B0EKbeVv.mjs} +3 -3
  87. package/dist/client/{checkout.client-DJfomKQc.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
  88. package/dist/client/client.mjs +9465 -15
  89. package/dist/client/{context-CBV21-9L.mjs → context-n6IZigd3.mjs} +8 -6
  90. package/dist/client/{cta-Bw-al3cs.mjs → cta-CDeAwYoN.mjs} +45 -28
  91. package/dist/client/{dateFormatting-CFIUJ4Uf.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-D0veHJyi.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
  93. package/dist/client/{enhanceHeaderSection-CEqqq92r.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
  94. package/dist/client/{event-details.client-Bk2kQ7ax.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
  95. package/dist/client/{event-registration.client-QMqtIywj.mjs → event-registration.client-BhygihpQ.mjs} +33 -16
  96. package/dist/client/{eventCalendar-BTDTMosr.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
  97. package/dist/client/{eventCombined-BC7a709c.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
  98. package/dist/client/{eventDetails-DL08GpUc.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
  99. package/dist/client/{eventListing-BfzuEQp_.mjs → eventListing-2-xjn2nz.mjs} +4 -4
  100. package/dist/client/{eventRegistration-Lfyzh1Ab.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
  101. package/dist/client/{form-L-xZOBUS.mjs → form-BeNQiZ2V.mjs} +3 -3
  102. package/dist/client/{form.client-BtpK3TZW.mjs → form.client-BFdCKlp7.mjs} +5 -5
  103. package/dist/client/{form.parts-Djos5Un4.mjs → form.parts-C7gLK3jh.mjs} +3 -3
  104. package/dist/client/{formatDate-DGmrm7YB.mjs → formatDate-CWfelfMt.mjs} +1 -1
  105. package/dist/client/gifting/client.mjs +3 -4
  106. package/dist/client/{headerSection-f16OGkz-.mjs → headerSection-CalNAShx.mjs} +2 -2
  107. package/dist/client/{mediaAssets-DHAmrVIi.mjs → mediaAssets-DpPauppt.mjs} +1 -1
  108. package/dist/client/{mediaContext-CwT6ZOm7.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
  109. package/dist/client/{newsletter-form.client-DpHNZc7k.mjs → newsletter-form.client-Dq7GHGXU.mjs} +6 -6
  110. package/dist/client/{newsletter-form.parts-CLGH20PL.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
  111. package/dist/client/{newsletterForm-BEU0Ocu9.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
  112. package/dist/client/{noop-CQU7tiMg.mjs → noop-D-RG9eR3.mjs} +394 -168
  113. package/dist/client/portal/client.mjs +13 -14
  114. package/dist/client/{product-detail.client-Be-om1BT.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
  115. package/dist/client/{product-list.client-DR7hD5Vs.mjs → product-list.client-BmH40fNf.mjs} +1 -1
  116. package/dist/client/{productDetail-BD42UOmG.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
  117. package/dist/client/{productList-CSk8sXCl.mjs → productList-DjGrjOwD.mjs} +3 -3
  118. package/dist/client/{propsDecoder-C_Y6VYnF.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
  119. package/dist/client/{registry.server-CIKtTsCl.mjs → registry.server-CKK_RXZo.mjs} +213 -314
  120. package/dist/client/rendering/client.mjs +29 -28
  121. package/dist/client/rendering/islands.mjs +1 -1
  122. package/dist/client/rendering.mjs +70 -8
  123. package/dist/client/{richText-coerce-spWtx86G.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
  124. package/dist/client/{routeIslandApiConfig-CROHPlYS.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
  125. package/dist/client/{shop-DscvMz86.mjs → shop-DLufMauE.mjs} +3 -3
  126. package/dist/client/{shop-commerce-CDUohm_2.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
  127. package/dist/client/{shop-commerce-store-B9nw4lRP.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
  128. package/dist/client/{shop.client-M3kNsVPi.mjs → shop.client-CBy9_alG.mjs} +13 -13
  129. package/dist/client/{shop.interactive-BGmkdIAZ.mjs → shop.interactive-BM0NRsFQ.mjs} +48 -34
  130. package/dist/client/{shopShared-BdWp6LHa.mjs → shopShared-lS23OQE-.mjs} +2 -2
  131. package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
  132. package/dist/{preview-next/client/ThemedButton-Dc6aJ34Z.mjs → client/site-styles-DELkUk9s.mjs} +25468 -17264
  133. package/dist/client/spam-protection.mjs +1 -1
  134. package/dist/client/src-DjnxOjXG.mjs +217 -0
  135. package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
  136. package/dist/client/{timetableModel-Dynh5-j4.mjs → timetableModel-DzRWikCU.mjs} +157 -139
  137. package/dist/client/types-sF-IrGQr.mjs +633 -0
  138. package/dist/client/{useAvailableSlots-Cw9paRPY.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
  139. package/dist/client/{useBookingNowIso-C9SF2rC6.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
  140. package/dist/client/{useDiscountApply-B-QJfBg0.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
  141. package/dist/client/{useDiscountCodeUi-Uvum8q9d.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
  142. package/dist/client/{useEventPagination-BfM3xk6j.mjs → useEventPagination-Ccr4TZlm.mjs} +9 -9
  143. package/dist/client/{view-DXOuduIr.mjs → view-8w4GA8rf.mjs} +4 -4
  144. package/dist/client/{view-DlkCDfuN.mjs → view-DAVEoe8A.mjs} +277 -227
  145. package/dist/client/{wizardSteps-DManVJpc.mjs → wizardSteps-DNpajrAH.mjs} +453 -141
  146. package/dist/preview-next/before-render.mjs +3 -140
  147. package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
  148. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-Die6Y25O.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
  149. package/dist/preview-next/client/{LocationPickerEnvironment-Bp4BHLCL.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
  150. package/dist/preview-next/client/{MapLibreEditMap-Cb0JhM9p.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
  151. package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
  152. package/dist/preview-next/client/{PreviewEditorUI-CxwlLBGw.mjs → PreviewEditorUI-C7ZmYE33.mjs} +45 -17
  153. package/dist/preview-next/client/PreviewShell-DnO38NaL.mjs +4707 -0
  154. package/dist/preview-next/client/SdkPreviewModeRuntime-D2OtoRMB.mjs +4258 -0
  155. package/dist/preview-next/client/SiteChromeCustomizeButton-eIu2RejJ.mjs +71144 -0
  156. package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
  157. package/dist/preview-next/client/{lucide-react-CqxuVAyz.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
  158. package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
  159. package/dist/preview-next/client/{previewChromeSurface-yuwnDP3B.mjs → previewChromeSurface-D2cREDJ5.mjs} +90 -28
  160. package/dist/preview-next/client/runtime.mjs +3 -3
  161. package/dist/preview-next/client/sdk-runtime-DK0PUhLL.mjs +5 -0
  162. package/dist/preview-next/client/{editorStatusDecision-DR4BBKhy.mjs → useAutosaveStatus--Pw8vnef.mjs} +40 -3
  163. package/dist/preview-next/client/useBlockCustomizeControls-C1Rl73N4.mjs +2724 -0
  164. package/dist/preview-next/client/useOpenBlockForSetup-CL3842FM.mjs +28 -0
  165. package/dist/preview-next/keepAlive.mjs +25 -2
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-BBAJjFIz.mjs → route-contract-Bq7SUX3K.mjs} +132 -118
  168. package/dist/server/{Block.shared-ClFI3qpX.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
  169. package/dist/server/{src-DsYPhTbs.mjs → ThemeScopeCore-BI2mld9R.mjs} +178 -2532
  170. package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
  171. package/dist/server/{bindings-Bi8EoRZD.mjs → bindings-DjdUq9FR.mjs} +2 -3
  172. package/dist/server/{publicProducts-Bz8loTRn.mjs → client-07UeMDzA.mjs} +2483 -351
  173. package/dist/server/config-validation.mjs +1 -1
  174. package/dist/server/config.mjs +33 -2
  175. package/dist/server/data/dataLoaderContext.mjs +2 -0
  176. package/dist/server/data/resolveBlockData.mjs +2 -0
  177. package/dist/server/data/types.mjs +1 -0
  178. package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
  179. package/dist/server/identity-Bn9OQiT1.mjs +6 -0
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/{loadContent-dEEhQxL7.mjs → loadContent-ClpaSlBb.mjs} +6 -5
  182. package/dist/server/{loadPage-DBFBad8A.mjs → loadPage-BwtVqpaA.mjs} +4 -2
  183. package/dist/server/manifest.mjs +1 -1
  184. package/dist/server/media-DnlczCMA.mjs +231 -0
  185. package/dist/server/mode-Cv_TG9gP.mjs +63 -0
  186. package/dist/server/next.mjs +11 -11
  187. package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
  188. package/dist/server/{overrideResolution-BIJbiXYc.mjs → overrideResolution-Du_w3LY4.mjs} +2 -1
  189. package/dist/server/overrides-CD4d-1w7.mjs +177 -0
  190. package/dist/server/page-converter.mjs +243 -91
  191. package/dist/server/pageRenderPlan-BShULdc2.mjs +4055 -0
  192. package/dist/server/{themeAdmission-CSknYpxk.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
  193. package/dist/server/{overrides-DhF87Vsd.mjs → pageShared-HdKFBpaX.mjs} +3472 -1795
  194. package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
  195. package/dist/server/{prebuild-DaemmWQL.mjs → prebuild-Cl-bkaMA.mjs} +1 -1
  196. package/dist/server/prebuild.mjs +1 -1
  197. package/dist/server/prefetchBlockData-C4yUmz-r.mjs +786 -0
  198. package/dist/server/publicProducts-W9hDRwjz.mjs +64 -0
  199. package/dist/server/{registry-Cdvz1OtL.mjs → registry-TFPJdGQi.mjs} +20624 -640
  200. package/dist/server/rendering/components/pageShared.mjs +2 -0
  201. package/dist/server/rendering/helpers/loadPage.mjs +2 -0
  202. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
  203. package/dist/server/rendering/server.mjs +5 -4
  204. package/dist/server/rendering/themeAdmission.mjs +2 -0
  205. package/dist/server/rendering.mjs +11 -10
  206. package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
  207. package/dist/server/{resolveBlockData-CLpAJWWf.mjs → resolveBlockData-OHlOXlOE.mjs} +6 -48
  208. package/dist/server/resolveButtonColourStates-lry2ORwX.mjs +2672 -0
  209. package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
  210. package/dist/server/routing.mjs +1 -1
  211. package/dist/server/schema-C2PqHrMo.mjs +2523 -0
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/theme-bridge.mjs +1031 -1
  214. package/dist/server/theme.mjs +2 -1
  215. package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
  216. package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
  217. package/dist/server/validation-CDd6m8Ry.mjs +140 -0
  218. package/dist/server/{validation-DYxhLzqQ.mjs → validation-DIBFZeMB.mjs} +419 -3
  219. package/dist/server/{version-Beu4q-Gv.mjs → version-DZWZM1H6.mjs} +1 -1
  220. package/dist/styles/index.css +14 -4
  221. package/package.json +39 -1
  222. package/dist/client/purchase-BV5xfaZH.mjs +0 -894
  223. package/dist/client/schema-BdSglH2X.mjs +0 -16084
  224. package/dist/client/site-styles-CWHmlVT5.mjs +0 -14503
  225. package/dist/client/src-VIsPY-kw.mjs +0 -62
  226. package/dist/preview-next/client/PreviewEditorSidebar-DEP3xD9K.mjs +0 -5810
  227. package/dist/preview-next/client/SdkPreviewModeRuntime-Cpe-XP8e.mjs +0 -3
  228. package/dist/preview-next/client/SdkPreviewModeRuntime-QDkMPASV.mjs +0 -8059
  229. package/dist/preview-next/client/SiteChromeCustomizeButton-1JaoGOKX.mjs +0 -9367
  230. package/dist/preview-next/client/previewSidebarNavigation-AXUj9-qQ.mjs +0 -224683
  231. package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
  232. package/dist/preview-next/client/sdk-runtime-O-eA9-rV.mjs +0 -4
  233. package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
  234. package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
  235. package/dist/server/client-DfMDbZ41.mjs +0 -2330
  236. package/dist/server/effectiveNavLinkStyle-BHIYPVG1.mjs +0 -13713
  237. package/dist/server/loadPage-CnVB-aeL.mjs +0 -2
  238. package/dist/server/prefetchBlockData-FwcsT5H2.mjs +0 -4359
  239. package/dist/server/schema-uSA_x1Zh.mjs +0 -16311
  240. package/dist/server/site-styles-CntHn2KI.mjs +0 -793
  241. package/dist/server/siteChromeOverlayClearance-DqP40Ka0.mjs +0 -802
@@ -1,14 +1,14 @@
1
1
  "use client";
2
+ import { Tt as buildEventCalendarListingRender, Vt as buildEventRuntimeFilters, nn as buildEventListWeek, rn as eventListWeekDays } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { mn as formatEventHourLabel, vn as groupEventsByDate } from "./wizardSteps-DNpajrAH.mjs";
4
+ import { _ as resolveCalendarReadProfile } from "./noop-D-RG9eR3.mjs";
5
+ import { a as CalendarRecurringWeek, i as buildWeekBoardViewProps, n as WeekBoardView, p as MonthLookView, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-DzRWikCU.mjs";
2
6
  import { d as formatDateKey, m as getOrderedDayNames } from "./src-1PJxc8KO.mjs";
3
- import { Tt as buildEventCalendarListingRender, Vt as buildEventRuntimeFilters, nn as buildEventListWeek, rn as eventListWeekDays } from "./shop.interactive-BGmkdIAZ.mjs";
4
- import { hn as formatEventHourLabel, yn as groupEventsByDate } from "./wizardSteps-DManVJpc.mjs";
5
- import { g as resolveCalendarReadProfile } from "./noop-CQU7tiMg.mjs";
6
- import { a as MonthLookView, i as buildWeekBoardViewProps, n as WeekBoardView, o as CalendarRecurringWeek, r as buildWeekBoardNavigationState, t as buildTimetableModel } from "./timetableModel-Dynh5-j4.mjs";
7
- import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-YGzw2IPB.mjs";
8
- import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
9
- import { i as useEventCollectionFilters } from "./useEventPagination-BfM3xk6j.mjs";
10
- import { n as EventListingController } from "./EventListing.client-BNueAHmU.mjs";
11
- import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-6cfAVtnZ.mjs";
7
+ import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
8
+ import { i as CalendarDayHeaders, n as WeekAgendaView, o as resolveMonthSelectedDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-5a0x0vcC.mjs";
9
+ import { i as useEventCollectionFilters } from "./useEventPagination-Ccr4TZlm.mjs";
10
+ import { n as EventListingController } from "./EventListing.client-DZeDM0Qt.mjs";
11
+ import { a as CalendarDayCell, c as EventModalProvider, i as useHydrationReady, l as useEventModal, o as useCalendarEvents, r as EventModals, s as useCalendarViewport, t as EventCombinedClient, u as useCalendarToday } from "./EventCombined.client-jik34zTb.mjs";
12
12
  import React, { useEffect, useMemo, useState } from "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
14
  //#region ../blocks/src/system/runtime/nodes/events/shared/MonthLookClient.tsx
@@ -1,15 +1,15 @@
1
1
  "use client";
2
+ import { Bt as toError, Ht as getEventRuntimeFiltersKey, Vt as buildEventRuntimeFilters, jt as eventListingBlockRuntime } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { Gt as getBlockApiReadStage, _n as formatTime, an as eventCalendarWeekStart, in as buildCalendarViewport, sn as eventDateOptions, vn as groupEventsByDate } from "./wizardSteps-DNpajrAH.mjs";
4
+ import { Dt as getLocalScheduleDate, c as calendarMonthDate, d as calendarQueryKey, dt as formatDate, f as calendarWindowBounds, g as planCalendarMonthRanges, l as calendarMonthKey, p as calendarWindowMonths$1, u as calendarPageResponseError } from "./noop-D-RG9eR3.mjs";
2
5
  import { _ as isSameCalendarDay, c as addMonths, d as formatDateKey, m as getOrderedDayNames, y as shiftCalendarAnchorDate } from "./src-1PJxc8KO.mjs";
3
- import { Bt as toError, Ht as getEventRuntimeFiltersKey, Vt as buildEventRuntimeFilters, jt as eventListingBlockRuntime } from "./shop.interactive-BGmkdIAZ.mjs";
4
- import { Gt as getBlockApiReadStage, an as buildCalendarViewport, cn as eventDateOptions, on as eventCalendarWeekStart, vn as formatTime, yn as groupEventsByDate } from "./wizardSteps-DManVJpc.mjs";
5
- import { Tt as getLocalScheduleDate, c as calendarMonthKey, d as calendarWindowBounds, f as calendarWindowMonths$1, h as planCalendarMonthRanges, l as calendarPageResponseError, s as calendarMonthDate, u as calendarQueryKey, ut as formatDate } from "./noop-CQU7tiMg.mjs";
6
- import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-YGzw2IPB.mjs";
7
- import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
6
+ import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
7
+ import { a as buildMonthDay, i as CalendarDayHeaders, n as WeekAgendaView, r as AgendaEventCard, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-5a0x0vcC.mjs";
8
8
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
9
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
10
- import { t as TabBarFragment } from "./TabBarFragment-C_kt-PXh.mjs";
11
- import { n as useBlockApi } from "./context-CBV21-9L.mjs";
12
- import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-BfM3xk6j.mjs";
10
+ import { t as TabBarFragment } from "./TabBarFragment-_IAthZVM.mjs";
11
+ import { n as useBlockApi } from "./context-n6IZigd3.mjs";
12
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, r as EventCardClient, t as useEventPagination } from "./useEventPagination-Ccr4TZlm.mjs";
13
13
  import React, { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState } from "react";
14
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
15
  //#region ../blocks/src/system/runtime/hooks/useCalendarToday.ts
@@ -1,11 +1,36 @@
1
1
  "use client";
2
- import { t as checkBrowserStripeKey } from "./purchase-BV5xfaZH.mjs";
3
- import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-Cfbo1bfh.mjs";
2
+ import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-8jUc02mZ.mjs";
4
3
  import { useEffect, useRef, useState } from "react";
5
4
  import { jsx, jsxs } from "react/jsx-runtime";
6
5
  //#region \0rolldown/runtime.js
7
6
  var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
8
7
  //#endregion
8
+ //#region ../commerce/src/purchase/checkoutPresentation.ts
9
+ function publishableKeyMode(publishableKey) {
10
+ if (publishableKey.startsWith("pk_live_")) return "live";
11
+ if (publishableKey.startsWith("pk_test_")) return "test";
12
+ return null;
13
+ }
14
+ function checkBrowserStripeKey(publishableKey, livemode) {
15
+ const key = publishableKey?.trim();
16
+ if (!key) return {
17
+ tag: "unavailable",
18
+ reason: "missing_key"
19
+ };
20
+ const mode = publishableKeyMode(key);
21
+ if (mode === null) return {
22
+ tag: "unavailable",
23
+ reason: "invalid_key"
24
+ };
25
+ return mode === (livemode ? "live" : "test") ? {
26
+ tag: "ready",
27
+ publishableKey: key
28
+ } : {
29
+ tag: "unavailable",
30
+ reason: "mode_mismatch"
31
+ };
32
+ }
33
+ //#endregion
9
34
  //#region ../../node_modules/.pnpm/@stripe+stripe-js@9.17.0/node_modules/@stripe/stripe-js/dist/pure.js
10
35
  var require_pure$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
11
36
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { Jt as CardListContentPart, Xt as resolveCardListSchedule, Yt as CardListLeadDate, Zt as selectCardListPresentation, an as formatEventPrice } from "./shop.interactive-BGmkdIAZ.mjs";
3
- import { Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, pn as formatEventCompactDateRail, wn as formatEventRemainingPlaces } from "./wizardSteps-DManVJpc.mjs";
4
- import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-Bw-al3cs.mjs";
5
- import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-Cfbo1bfh.mjs";
2
+ import { Jt as CardListContentPart, Xt as resolveCardListSchedule, Yt as CardListLeadDate, Zt as selectCardListPresentation, an as formatEventPrice } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { Cn as formatEventRemainingPlaces, Dn as getEventAvailabilityStatus, Nr as listLookSlot, fn as formatEventCompactDateRail, gn as formatEventTimeRange, jr as listItemPresentation, sn as eventDateOptions } from "./wizardSteps-DNpajrAH.mjs";
4
+ import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
5
+ import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-CDeAwYoN.mjs";
6
6
  import React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region ../blocks/src/system/runtime/nodes/events/domain/people.ts
@@ -468,14 +468,29 @@ function cardListSlides(items, presentation, Title = "h3") {
468
468
  }));
469
469
  }
470
470
  function leadItemPresentation(presentation, index, count) {
471
- const resolved = listItemPresentation(presentation, index, count);
471
+ return listItemPresentation(presentation, index, count);
472
+ }
473
+ /** These parents describe the JSX above, independently of any Look or style. */
474
+ function eventItemSlotParents(arrangement) {
475
+ const root = arrangement === "grid" ? "item" : "row";
476
+ return {
477
+ date: root,
478
+ availability: arrangement === "grid" ? "item-body" : "what",
479
+ "item-body": root,
480
+ what: root
481
+ };
482
+ }
483
+ function cardItemSlotParents(arrangement) {
484
+ const body = arrangement === "index" || arrangement === "sequence" ? "item" : "item-body";
472
485
  return {
473
- ...resolved,
474
- itemSurfaces: {
475
- ...resolved.itemSurfaces,
476
- ...resolved.itemSurfaces?.item ? { lead: resolved.itemSurfaces.item } : {}
477
- }
486
+ item: "items",
487
+ lead: "items",
488
+ "item-body": "item",
489
+ "item-media": "item",
490
+ dates: body,
491
+ date: arrangement === "slides" || arrangement === "track" ? "item-media" : "dates",
492
+ availability: body
478
493
  };
479
494
  }
480
495
  //#endregion
481
- export { MapPinIcon as a, CalendarIcon as i, CardListItems as n, formatEventTeacherLine as o, EventItem as r, CardListCollection as t };
496
+ export { eventItemSlotParents as a, formatEventTeacherLine as c, cardItemSlotParents as i, CardListItems as n, CalendarIcon as o, EventItem as r, MapPinIcon as s, CardListCollection as t };
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Pr as listLookSlot } from "./wizardSteps-DManVJpc.mjs";
2
+ import { Nr as listLookSlot } from "./wizardSteps-DNpajrAH.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/events/shared/EventListWeekNavigation.tsx
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Vt as buildEventRuntimeFilters } from "./shop.interactive-BGmkdIAZ.mjs";
3
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-ClgLtjNY.mjs";
4
- import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-BfM3xk6j.mjs";
2
+ import { Vt as buildEventRuntimeFilters } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-AGHjxy6C.mjs";
4
+ import { i as useEventCollectionFilters, n as EventPaginatedListView, t as useEventPagination } from "./useEventPagination-Ccr4TZlm.mjs";
5
5
  import { useMemo } from "react";
6
6
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
7
  //#region ../blocks/src/system/runtime/nodes/events/EventListing.client.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { Qt as MediaNodeServer, an as formatEventPrice, in as weekColumnDays } from "./shop.interactive-BGmkdIAZ.mjs";
3
- import { Dn as getTextColorForBackground, W as normalizeCardRole, an as resolveOnColorForThemeToken, dt as boxBackgroundSchema, ft as runtimeBoxBackgroundSchema, in as isCssColorLiteral, sn as resolveTokenOrCssColorValue, ut as boxBackgroundOverlaySchema } from "./schema-BdSglH2X.mjs";
4
- import { Ir as resolvedItemSurfaceProps, Mr as listItemPresentation, Pr as listLookSlot, _n as formatEventTimeRange, cn as eventDateOptions, dn as formatDate, gn as formatEventNextDateFact, ln as eventLocalDateKey, pn as formatEventCompactDateRail, qt as ImagePresets, wn as formatEventRemainingPlaces } from "./wizardSteps-DManVJpc.mjs";
5
- import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveDatedSeriesCta } from "./cta-Bw-al3cs.mjs";
6
- import { a as MapPinIcon, i as CalendarIcon, o as formatEventTeacherLine, r as EventItem } from "./EventItem-dILw2PN_.mjs";
7
- import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-Cfbo1bfh.mjs";
8
- import { n as MapDrawingSvg } from "./MapDrawingSvg-D1AO_o4h.mjs";
2
+ import { Qt as MediaNodeServer, an as formatEventPrice, in as weekColumnDays } from "./shop.interactive-BM0NRsFQ.mjs";
3
+ import { Nr as listLookSlot, cn as eventLocalDateKey, fn as formatEventCompactDateRail, gn as formatEventTimeRange, hn as formatEventNextDateFact, jr as listItemPresentation, qt as ImagePresets, sn as eventDateOptions, un as formatDate } from "./wizardSteps-DNpajrAH.mjs";
4
+ import { Bt as normalizeCardRole, Jn as boxBackgroundSchema, Yn as runtimeBoxBackgroundSchema, _i as isCssColorLiteral, bi as resolveTokenOrCssColorValue, qn as boxBackgroundOverlaySchema, vi as resolveOnColorForThemeToken, zi as getTextColorForBackground } from "./site-styles-DELkUk9s.mjs";
5
+ import { h as ClockIcon, i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
6
+ import { n as resolveEventCta, r as resolveEventLinkProps, t as resolveEventCardBooking } from "./cta-CDeAwYoN.mjs";
7
+ import { c as formatEventTeacherLine, o as CalendarIcon, r as EventItem, s as MapPinIcon } from "./EventItem-CMKrtkT7.mjs";
8
+ import { n as MapDrawingSvg } from "./MapDrawingSvg-C30geMl-.mjs";
9
9
  import "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../blocks/src/system/transforms/registry/core.ts
@@ -374,7 +374,7 @@ function eventCardCategoryBadge(category) {
374
374
  *
375
375
  * This component is server-safe (uses no client APIs like Intl).
376
376
  */
377
- const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, itemSurfaces, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext, upcomingDates }) => {
377
+ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", buttonText, showVenue = true, showMap = true, mapSlot, allowMap = true, lookSlots, surfacePresentation, showCapacity = true, showImage = true, showCategory = true, showSummary = true, orientation = "vertical", presentation, headingLevel, imageResolveContext }) => {
378
378
  const { presentationClass, cardHeadingLevel, formattedDate, formattedTime, cta, cardClass, title, summary, image, category, categoryBadge, hasImage, dateFact, priceText, teacherLine, capacityText, orientationClass } = eventCardFacts({
379
379
  event,
380
380
  presentation,
@@ -384,20 +384,19 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
384
384
  showCategory,
385
385
  showImage,
386
386
  showCapacity,
387
- orientation,
388
- upcomingDates
387
+ orientation
389
388
  });
390
389
  return /* @__PURE__ */ jsxs("article", {
391
390
  ...listLookSlot({
392
391
  lookSlots,
393
- itemSurfaces
392
+ surfacePresentation
394
393
  }, "item"),
395
394
  className: `${cardClass} group rb-flex rb-flex-col rb-h-full ${orientationClass}${presentationClass}`,
396
395
  "data-orientation": orientation,
397
396
  children: [/* @__PURE__ */ jsx(EventCardMedia, {
398
397
  lookPresentation: {
399
398
  lookSlots,
400
- itemSurfaces
399
+ surfacePresentation
401
400
  },
402
401
  event,
403
402
  categoryBadge,
@@ -408,7 +407,7 @@ const EventCard = ({ event, cardRole = "default", buttonVariant = "primary", but
408
407
  imageResolveContext
409
408
  }), /* @__PURE__ */ jsx(EventCardContent, {
410
409
  lookSlots,
411
- itemSurfaces,
410
+ surfacePresentation,
412
411
  allowMap,
413
412
  buttonVariant,
414
413
  capacityText,
@@ -654,13 +653,14 @@ function EventLookDate({ event, ...presentation }) {
654
653
  })]
655
654
  });
656
655
  }
657
- function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation, upcomingDates }) {
656
+ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRole, showCategory, showImage, showCapacity, orientation }) {
658
657
  const { presentation: cardPresentation, presentationClass, headingLevel: cardHeadingLevel } = resolveEventCardOptions({
659
658
  presentation,
660
659
  headingLevel
661
660
  });
662
661
  const { formattedDate, formattedTime } = formatEventCardWhen(event);
663
- const cta = resolveDatedSeriesCta(event, upcomingDates ?? [], buttonText);
662
+ const booking = resolveEventCardBooking(event, presentation === "catalogue" ? "series" : "occurrence", buttonText);
663
+ const { cta } = booking;
664
664
  const cardClass = boxStyleClassNames({ role: cardRole }, { baseClass: "event-card" });
665
665
  const title = event.title;
666
666
  const summary = event.presentation?.summary ?? event.description;
@@ -687,7 +687,7 @@ function eventCardFacts({ event, presentation, headingLevel, buttonText, cardRol
687
687
  }),
688
688
  priceText: resolveEventCardPrice(event, cardPresentation),
689
689
  teacherLine: formatEventTeacherLine(event),
690
- capacityText: showCapacity ? formatEventRemainingPlaces(event, { full: "Sold out" }) : null,
690
+ capacityText: showCapacity && booking.availability ? booking.availability.label : null,
691
691
  orientationClass: eventCardOrientationClass(orientation)
692
692
  };
693
693
  }
@@ -907,7 +907,6 @@ function EventListBody({ display, renderEventCard, footer }) {
907
907
  }
908
908
  /** All seven days of the shown week; a day known to be empty says so, and a wholly empty week never reaches here. */
909
909
  function WeekColumns({ display, week }) {
910
- const todayMark = display.itemSurfaces?.today;
911
910
  return /* @__PURE__ */ jsx("ol", {
912
911
  ...listLookSlot(display, "list"),
913
912
  children: weekColumnDays(week, display.events, display.allLoaded === true).map((day) => /* @__PURE__ */ jsxs("li", {
@@ -928,8 +927,7 @@ function WeekColumns({ display, week }) {
928
927
  }),
929
928
  " ",
930
929
  /* @__PURE__ */ jsx("span", {
931
- ...listLookSlot(display, "group-date"),
932
- ...day.isToday && todayMark !== void 0 && display.lookSlots?.["group-date"] !== void 0 ? resolvedItemSurfaceProps(todayMark, "group-date") : {},
930
+ ...listLookSlot(display, "group-date", day.isToday ? "today" : void 0),
933
931
  children: day.label.day
934
932
  })
935
933
  ]
@@ -947,5 +945,18 @@ function WeekColumns({ display, week }) {
947
945
  function hasArrangementPanel(display) {
948
946
  return display.state === "ready" && display.lookSlots !== void 0 && display.listLayout === "compact";
949
947
  }
948
+ /** Nearest slot parents in EventListBody and WeekColumns. */
949
+ function eventListSlotParents(arrangement) {
950
+ return {
951
+ list: arrangement === "compact" ? "panel" : null,
952
+ panel: null,
953
+ group: "list",
954
+ "group-label": "group",
955
+ "group-date": "group-label",
956
+ item: "list",
957
+ row: arrangement === "week-columns" || arrangement === "day-groups" ? "group" : "list",
958
+ "row-continued": "list"
959
+ };
960
+ }
950
961
  //#endregion
951
- export { createTransformRegistry as C, asPartialObject as S, SEMANTIC_SPACING_VALUES as _, RAISED_SHADOW_CLASS as a, resolveSectionMinHeight as b, fixedFrameScopeClass as c, resolveCardRoleForBoxStyles as d, resolveItemCardRole as f, DEFAULT_SECTION_SPACING as g, parseRuntimeBackgroundContent as h, EventCard as i, hasFixedFrameBackgroundMotion as l, parseBackgroundOverlay as m, EmptyState as n, ROUNDED_CLASSES as o, parseBackgroundContent as p, EventCompactRow as r, boxStyleClassNames as s, EventListingFrameView as t, normalizeBoxStylesBorder as u, isSectionMinHeight as v, runTransforms as w, resolveSpacing as x, isSemanticSpacing as y };
962
+ export { asPartialObject as C, resolveSpacing as S, runTransforms as T, DEFAULT_SECTION_SPACING as _, EventCard as a, isSemanticSpacing as b, boxStyleClassNames as c, normalizeBoxStylesBorder as d, resolveCardRoleForBoxStyles as f, parseRuntimeBackgroundContent as g, parseBackgroundOverlay as h, EventCompactRow as i, fixedFrameScopeClass as l, parseBackgroundContent as m, eventListSlotParents as n, RAISED_SHADOW_CLASS as o, resolveItemCardRole as p, EmptyState as r, ROUNDED_CLASSES as s, EventListingFrameView as t, hasFixedFrameBackgroundMotion as u, SEMANTIC_SPACING_VALUES as v, createTransformRegistry as w, resolveSectionMinHeight as x, isSectionMinHeight as y };
@@ -1,19 +1,115 @@
1
1
  "use client";
2
- import { i as parseEventRegistrationErrorReason, n as eventRegistrationErrorEndsCommand, r as eventRegistrationErrors } from "./purchase-BV5xfaZH.mjs";
3
- import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, Dr as resolveEventRegistrationScopedEvents, E as resolveRegistrationTicketContinuation, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, Kr as resolveBookingSignupOffer, L as calculateEventRegistrationPreviewTotal, M as resolveEventRegistrationSubmitPlan, Mt as hasValidPricingOptionSelection, Nt as normalizeTicketSelectionLines, O as visitorHoldsOwnPlace, Ot as getSingleSelectedPricingOptionId, Q as getCurrentTicketSelection, Rt as toWholeSeriesRegistrationEvents, S as planRegistrationDetailsContinuation, St as getVisibleTicketTypes, U as resolveDiscountContext, W as resolveEventRequiresPayment, X as invitationSubmission, Y as createRegistrationDraftData, Z as formatCentsAsCurrencyInput, a as registrationPresentation, ai as publicEventPricingStrategy, at as resolveHeldTicketPlaces, bt as getPortalSubjectEmail, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, ft as findSelectedTicketType, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, it as parseCurrencyInputToCents, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as validateFormData, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, wt as transformRegistrationOptionsResponse, x as planRegistrationDetailsCheck, y as getTicketSelectionPurpose, yt as getImplicitSingleTicketType } from "./wizardSteps-DManVJpc.mjs";
5
- import { _t as inferSiteDateLocale, kt as resolveBookingBusinessTimeZone } from "./noop-CQU7tiMg.mjs";
6
- import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-D2LyS_Bi.mjs";
2
+ import { $ as getEligibilityFlowFlags, At as getTicketSelectionTotal, C as resolveGuestNextStepCheck, E as resolveRegistrationTicketContinuation, Er as resolveEventRegistrationScopedEvents, Ft as getRegistrationStartAt, G as resolveRegistrationTarget, H as findPreSelectedEvent, It as toRegistrationEvents, J as beginWaitlistInvitation, K as resolveRouteRequiresPayment, Kr as resolveBookingSignupOffer, L as calculateEventRegistrationPreviewTotal, M as resolveEventRegistrationSubmitPlan, Mt as hasValidPricingOptionSelection, Nt as normalizeTicketSelectionLines, O as visitorHoldsOwnPlace, Ot as getSingleSelectedPricingOptionId, Q as getCurrentTicketSelection, Rt as toWholeSeriesRegistrationEvents, S as planRegistrationDetailsContinuation, St as getVisibleTicketTypes, U as resolveDiscountContext, W as resolveEventRequiresPayment, X as invitationSubmission, Y as createRegistrationDraftData, Z as formatCentsAsCurrencyInput, a as registrationPresentation, at as resolveHeldTicketPlaces, bt as getPortalSubjectEmail, d as decideEventChoice, et as getRegistrationOccurrenceId, f as getDeclinedPass, ft as findSelectedTicketType, g as decideEventRegistrationPayment, h as buildEventRegistrationPaymentOptionsViewModel, i as registrationPaymentRoute, ii as publicEventPricingStrategy, it as parseCurrencyInputToCents, m as registrationFlowReducer, nt as getSlidingScaleSelectionMessage, o as registrationRoute, ot as shouldLoadRegistrationOptions, p as isRegistrationLocked, q as toRegistrationRequestSubject, rt as getTicketSelectionRemainingPlaces, st as validateFormData, tt as getSlidingScaleForEvent, u as createInitialRegistrationFlowState, w as resolveRegistrationAdmission, wt as transformRegistrationOptionsResponse, x as planRegistrationDetailsCheck, y as getTicketSelectionPurpose, yt as getImplicitSingleTicketType } from "./wizardSteps-DNpajrAH.mjs";
3
+ import { At as resolveBookingBusinessTimeZone, vt as inferSiteDateLocale } from "./noop-D-RG9eR3.mjs";
4
+ import { t as assertNever } from "./src-DjnxOjXG.mjs";
5
+ import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-B2qLkPRB.mjs";
7
6
  import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
8
- import { t as useDiscountCodeUi } from "./useDiscountCodeUi-Uvum8q9d.mjs";
9
- import { r as usePolling } from "./BookingMailingListNote-rUqsBN7L.mjs";
7
+ import { t as useDiscountCodeUi } from "./useDiscountCodeUi-D6a2BJij.mjs";
8
+ import { r as usePolling } from "./BookingMailingListNote-DOWOZYlK.mjs";
10
9
  import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
11
- import { n as useBlockApi, r as BlockApiError } from "./context-CBV21-9L.mjs";
12
- import { t as useBookingNowIso } from "./useBookingNowIso-C9SF2rC6.mjs";
13
- import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-D0veHJyi.mjs";
10
+ import { n as useBlockApi, r as BlockApiError } from "./context-n6IZigd3.mjs";
11
+ import { t as useBookingNowIso } from "./useBookingNowIso-Da-f9iHw.mjs";
12
+ import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-BdXu0fj-.mjs";
14
13
  import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
15
14
  import { z } from "zod";
16
15
  import { jsx } from "react/jsx-runtime";
16
+ //#region ../commerce/src/purchase/event-registration-errors.ts
17
+ const eventRegistrationErrors = {
18
+ registrationClosed: {
19
+ endsCommand: false,
20
+ message: "Booking is currently closed for this event. Please contact the organiser if you’d like to find out more.",
21
+ action: "none"
22
+ },
23
+ paymentInvestigationRequired: {
24
+ endsCommand: false,
25
+ message: "We still can’t confirm your payment. Please don’t make another payment. Contact the organiser so they can check your booking.",
26
+ action: "none"
27
+ },
28
+ paymentProviderUnavailable: {
29
+ endsCommand: false,
30
+ message: "We couldn’t reach the payment provider. Please try again in a minute.",
31
+ action: "retry"
32
+ },
33
+ paymentHostUnavailable: {
34
+ endsCommand: false,
35
+ message: "Card payments aren’t available on this web address yet. Please contact the organiser to book.",
36
+ action: "none"
37
+ },
38
+ paymentPageUnavailable: {
39
+ endsCommand: false,
40
+ message: "We couldn’t open the payment page. Please refresh this page and try again. If this keeps happening, contact the organiser for help.",
41
+ action: "retry"
42
+ },
43
+ paymentUnavailable: {
44
+ endsCommand: false,
45
+ message: "Online payment is not available for this event right now. Please contact the organiser for help with booking.",
46
+ action: "none"
47
+ },
48
+ capacityChanged: {
49
+ endsCommand: false,
50
+ message: "Sorry, there aren’t enough places left for your selection. Please check the available places and choose again.",
51
+ action: "places"
52
+ },
53
+ selectionChanged: {
54
+ endsCommand: false,
55
+ message: "The booking options for this event have changed. Please check the latest options and choose your places again.",
56
+ action: "places"
57
+ },
58
+ paymentSetupFailed: {
59
+ endsCommand: true,
60
+ message: "We couldn't set up payment for this booking, so your place hasn't been reserved and you haven't been charged. Please try again in a few minutes, or contact the organiser if it keeps happening.",
61
+ action: "retry"
62
+ },
63
+ registrationAttemptEnded: {
64
+ endsCommand: true,
65
+ message: "That booking attempt has ended, so we couldn't finish it. You haven't been charged. Please start your booking again.",
66
+ action: "start"
67
+ },
68
+ registrationPreparationChanged: {
69
+ endsCommand: true,
70
+ message: "The booking options for this event have changed. Please check the latest options and choose your places again.",
71
+ action: "places"
72
+ },
73
+ registrationAlreadyExists: {
74
+ endsCommand: false,
75
+ message: "You already have a booking for this event. Please check your bookings to see its status. If you need help, contact the organiser.",
76
+ action: "portal"
77
+ },
78
+ holdExpired: {
79
+ endsCommand: false,
80
+ message: "Your reservation has timed out. Please check availability and choose your places again.",
81
+ action: "start"
82
+ },
83
+ waitlistUnavailable: {
84
+ endsCommand: false,
85
+ message: "Sorry, the waiting list place offered in this invitation is no longer available. Please check the event for available places or contact the organiser for help.",
86
+ action: "event"
87
+ },
88
+ paymentContextMismatch: {
89
+ endsCommand: false,
90
+ message: "The payment options for this event have changed. Please check the latest options before continuing.",
91
+ action: "payment-options"
92
+ },
93
+ idempotencyConflict: {
94
+ endsCommand: false,
95
+ message: "You’ve already started booking this event. Please finish in the other tab if it’s still open, or check your booking status before starting again.",
96
+ action: "portal"
97
+ },
98
+ invalidCommitInput: {
99
+ endsCommand: false,
100
+ message: "We couldn’t accept your booking details. Please check the information you entered and try again. If this keeps happening, contact the organiser for help.",
101
+ action: "details"
102
+ }
103
+ };
104
+ function parseEventRegistrationErrorReason(value) {
105
+ return typeof value === "string" && Object.prototype.hasOwnProperty.call(eventRegistrationErrors, value) ? value : null;
106
+ }
107
+ /** Only a server-confirmed refusal ends an identity; transport uncertainty retains it. */
108
+ function eventRegistrationErrorEndsCommand(value) {
109
+ const reason = parseEventRegistrationErrorReason(value);
110
+ return reason !== null && eventRegistrationErrors[reason].endsCommand;
111
+ }
112
+ //#endregion
17
113
  //#region ../blocks/src/system/runtime/shared/utils/portalLogout.ts
18
114
  /**
19
115
  * Portal Logout Utility
@@ -2386,6 +2482,7 @@ function resolveWizardDirectPaymentOptions(input) {
2386
2482
  approvedPaymentOptions: eligibility.paymentOptions,
2387
2483
  paymentTerms: eligibility.paymentTerms,
2388
2484
  currency: eligibility.currency,
2485
+ instalmentCollectionDeadlineAt: eligibility.instalmentCollectionDeadlineAt,
2389
2486
  quotedSubtotalCents: input.ticketSelectionSubtotalCents ?? eligibility.price,
2390
2487
  totalPriceCents: calculateEventRegistrationPreviewTotal({
2391
2488
  subtotalCents: input.ticketSelectionSubtotalCents ?? eligibility.price,
@@ -2425,7 +2522,7 @@ function resolveWizardPaymentView(input) {
2425
2522
  }
2426
2523
  //#endregion
2427
2524
  //#region ../blocks/src/system/runtime/nodes/event-registration/EventRegistrationPayment.tsx
2428
- const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-CDNUpI0S.mjs"));
2525
+ const Payment = lazy(() => import("./EventEmbeddedCheckoutStep-D_14yqAU.mjs"));
2429
2526
  /** The one Stripe mount, shared by the standard wizard and headless arrangements. */
2430
2527
  function EventPaymentMount({ state, onComplete, onRetry, onBack, buttonVariant }) {
2431
2528
  if (state.kind === "abandoning") return /* @__PURE__ */ jsx("p", {
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { it as normalizeLocationAddressText } from "./noop-CQU7tiMg.mjs";
3
- import { i as ThemedButtonLink } from "./ThemedButton-Cfbo1bfh.mjs";
2
+ import { at as normalizeLocationAddressText } from "./noop-D-RG9eR3.mjs";
3
+ import { i as ThemedButtonLink } from "./ThemedButton-8jUc02mZ.mjs";
4
4
  import "react";
5
5
  import { jsx, jsxs } from "react/jsx-runtime";
6
6
  //#region ../core/src/locationLinks.ts
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { lt as mapDrawingSchema } from "./noop-CQU7tiMg.mjs";
2
+ import { ut as mapDrawingSchema } from "./noop-D-RG9eR3.mjs";
3
3
  import "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/nodes/svg.tsx