@riverbankcms/sdk 0.174.0 → 0.175.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 (196) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-GqVX3I8E.d.ts → BlocksIslandsHydrator-hb2IWD8K.d.ts} +1 -1
  2. package/dist/_dts/{Page-BhUH31M-.d.ts → Page-BlY68ZF-.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DBn2x0UL.d.ts → SdkPreviewMode-CA8hU7hW.d.ts} +2 -2
  4. package/dist/_dts/{client-Cr-sOeSl.d.ts → client-B6tCvmG4.d.ts} +487 -11
  5. package/dist/_dts/{content-types-DKw1yJdN.d.ts → content-types-B9qryk4R.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CJ2O03nB.d.ts → contracts-DWoaRxj1.d.ts} +3 -3
  7. package/dist/_dts/{footerPageOutline-DoGHHKr_.d.ts → footerPageOutline-Djdrhp5s.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-CJGu4hoa.d.ts → generatePageMetadata-CFi0vxov.d.ts} +2 -2
  9. package/dist/_dts/{index--39uLjrr.d.ts → index-Bl5_pjmq.d.ts} +1 -1
  10. package/dist/_dts/{index-DQZ5L0Gb.d.ts → index-Btp5nIoz.d.ts} +2 -2
  11. package/dist/_dts/{index-Bq-488M7.d.ts → index-CQUzwOxO.d.ts} +1 -1
  12. package/dist/_dts/{index-DYlfdT1O.d.ts → index-DmhFb6R1.d.ts} +1 -1
  13. package/dist/_dts/{index-3GzargmS.d.ts → index-OtazQE3U.d.ts} +2 -2
  14. package/dist/_dts/{index-DYsP4k6S.d.ts → index-YRQulWB4.d.ts} +3 -3
  15. package/dist/_dts/{index-DdEi2iXd.d.ts → index-_pXaCO12.d.ts} +4 -4
  16. package/dist/_dts/{loadContent-BVPagYmy.d.ts → loadContent-Hcuvs4pz.d.ts} +7 -7
  17. package/dist/_dts/{request-Be1E-H-V.d.ts → request-BT8i_vH-.d.ts} +2070 -503
  18. package/dist/_dts/{resolveBlockData-D1pL25bD.d.ts → resolveBlockData-B-dJrunl.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-B4sbTf96.d.ts → resolvePageContent-CVLYWcoI.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  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 +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/gifting/client.d.ts +13 -1
  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 +3 -3
  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 +3 -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 +4 -4
  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 +2 -1
  54. package/dist/_dts/{types-Bm5_3VEd.d.ts → types-C0XZnjXz.d.ts} +3 -3
  55. package/dist/_dts/{types-5MeDI1w8.d.ts → types-CXL1QJSY.d.ts} +7 -7
  56. package/dist/_dts/{types-CVoCc_Ia.d.ts → types-OKzbqRBx.d.ts} +2 -2
  57. package/dist/_dts/{validation-lEtYD-Rh.d.ts → validation-Bxi66FtQ.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DkflFLGQ.mjs → BlocksIslandsHydrator-2xzlERTG.mjs} +17 -16
  59. package/dist/client/{BookingMailingListNote-CAyoiAGD.mjs → BookingMailingListNote-qsohSEdQ.mjs} +6 -6
  60. package/dist/client/{BookingPanelArrangement-C7yiJrxm.mjs → BookingPanelArrangement-DrdtON0q.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-CUFxBaTM.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-BPQU5Snc.mjs → CalendarNavigationChevron-Ch0w0Utn.mjs} +34 -9
  63. package/dist/client/DemoBookingPortalAccess-DGgsjqXK.mjs +545 -0
  64. package/dist/client/{EventCalendar.client-BiWQc28-.mjs → EventCalendar.client-Dg4PHFJJ.mjs} +15 -25
  65. package/dist/client/{EventCombined.client-B_ytWQtn.mjs → EventCombined.client-tky8JcnQ.mjs} +25 -17
  66. package/dist/client/{EventItem-C-mxXpX_.mjs → EventItem-BybMSKNL.mjs} +4 -3
  67. package/dist/client/{EventListWeekNavigation-Bm3Ap1Rd.mjs → EventListWeekNavigation-uvWRE5wi.mjs} +1 -1
  68. package/dist/client/{EventListing.client-Bs_8im5_.mjs → EventListing.client-DQx9dohz.mjs} +3 -3
  69. package/dist/client/{EventListing.view-CN7BjGgC.mjs → EventListing.view-r31k8Icz.mjs} +8 -7
  70. package/dist/client/{EventRegistrationPayment-DPkRcSdw.mjs → EventRegistrationPayment-BMmPDmSf.mjs} +664 -362
  71. package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-BecH-qhI.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BJzmFdcn.mjs} +18 -3
  73. package/dist/client/{Page--xJ23nA5.mjs → Page-CWN_8cLZ.mjs} +736 -1667
  74. package/dist/client/{DemoBookingPortalAccess-BnEgvJas.mjs → SiteTermsAgreementField-Dr5lj4oY.mjs} +4 -301
  75. package/dist/client/{StepIndicator-D391QRNc.mjs → StepIndicator-C7RJBOW3.mjs} +37 -249
  76. package/dist/client/{accordion-BQtTkDN8.mjs → accordion-uUi_N6mZ.mjs} +1 -1
  77. package/dist/client/{booking-form.client-D9M7TKGV.mjs → booking-form.client-CKHgxvsh.mjs} +229 -42
  78. package/dist/client/{bookingForm-BsOS0sl9.mjs → bookingForm-Bi74dmiS.mjs} +4 -4
  79. package/dist/client/bookings.mjs +22 -15
  80. package/dist/client/{boxStyleClassNames-CNDLpT06.mjs → boxStyleClassNames-C-gFwhnO.mjs} +3 -29
  81. package/dist/client/{carousel-CPsW-FPh.mjs → carousel-C0_BqMA0.mjs} +1 -1
  82. package/dist/client/{cart-CwElmocm.mjs → cart-BOHuppVu.mjs} +3 -3
  83. package/dist/client/{cart.client-RpqI56w8.mjs → cart.client-IfJE1zAp.mjs} +1 -1
  84. package/dist/client/{checkout-CfMgqY8H.mjs → checkout-C3Aj-aNa.mjs} +3 -3
  85. package/dist/client/{checkout.client-BpuPyOuJ.mjs → checkout.client-Tg9lfeYf.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-VeHY6WYj.mjs → checkoutUrls-OLqQdAXD.mjs} +1 -1
  87. package/dist/client/client.mjs +113 -21
  88. package/dist/client/{context-CNlesLfF.mjs → context-D8TpQXjX.mjs} +76 -58
  89. package/dist/client/{course-q1sA4Cj-.mjs → course-DHmeQAvq.mjs} +2 -2
  90. package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
  91. package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-ABCZWkpT.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-BdcuW_pa.mjs} +1 -1
  93. package/dist/client/display-DMqotaGU.mjs +11797 -0
  94. package/dist/client/{enhanceHeaderSection-BzjY6AiY.mjs → enhanceHeaderSection-Ciuhsk0E.mjs} +3 -3
  95. package/dist/client/{event-details.client-CseTWUFC.mjs → event-details.client-CJapNbTv.mjs} +1 -1
  96. package/dist/client/{event-registration.client-b5TLxntR.mjs → event-registration.client-CAdcpnLc.mjs} +295 -188
  97. package/dist/client/{eventCalendar-C-kJNIc9.mjs → eventCalendar-BlsD5R8M.mjs} +4 -4
  98. package/dist/client/{eventCombined-BgHJGhwE.mjs → eventCombined-B9Ly3024.mjs} +4 -4
  99. package/dist/client/{eventDetails-CAwbreD0.mjs → eventDetails-CbEGI4jO.mjs} +2 -2
  100. package/dist/client/{eventListing-_14atrj8.mjs → eventListing-ZSmvhWII.mjs} +4 -4
  101. package/dist/client/{eventRegistration-BOqSdstJ.mjs → eventRegistration-D-yUcIyO.mjs} +4 -4
  102. package/dist/client/{form-DfAB-llc.mjs → form-DG_YZSNn.mjs} +3 -3
  103. package/dist/client/{form.client-DN-I9_qC.mjs → form.client-BU6dM0-C.mjs} +4 -4
  104. package/dist/client/{form.parts-t2Q1neM6.mjs → form.parts-Db0Iq7nx.mjs} +1 -1
  105. package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-DFfWHpQB.mjs} +1 -1
  106. package/dist/client/gifting/client.mjs +5 -3
  107. package/dist/client/gifting-DMrsN4B4.mjs +28 -0
  108. package/dist/client/gifting.client-BVa2XYJB.mjs +404 -0
  109. package/dist/client/gifting.parts-C2u4Y-pf.mjs +86 -0
  110. package/dist/client/{headerSection-Dces54pb.mjs → headerSection-D91EzlOR.mjs} +2 -2
  111. package/dist/client/{display-D8MW2b0e.mjs → lookSurfaces-BDZLALxj.mjs} +3084 -12938
  112. package/dist/client/{newsletter-form.client-D_YFUlR2.mjs → newsletter-form.client-BMGRiRpo.mjs} +7 -5
  113. package/dist/client/{newsletter-form.parts-URO5Mn_I.mjs → newsletter-form.parts-D5UfUaD3.mjs} +3 -3
  114. package/dist/client/{newsletterForm-_c9fKIzS.mjs → newsletterForm-B_67sNwa.mjs} +3 -3
  115. package/dist/client/{noop-D5mFWXtN.mjs → noop-DF8_EiFt.mjs} +93 -28
  116. package/dist/client/portal/client.mjs +313 -148
  117. package/dist/client/{product-detail.client-CVW1UIxJ.mjs → product-detail.client-D-XNir0m.mjs} +1 -1
  118. package/dist/client/{product-list.client-CF9hO23G.mjs → product-list.client-BLfYQ-qi.mjs} +1 -1
  119. package/dist/client/{productDetail-C_qbmUuP.mjs → productDetail-W0_0lDGe.mjs} +3 -3
  120. package/dist/client/{productList-Df5qDD0z.mjs → productList-ayAtPJdb.mjs} +3 -3
  121. package/dist/client/{propsDecoder-BiEyK2ii.mjs → propsDecoder-ChYKWjLA.mjs} +4 -3
  122. package/dist/client/{registry.server-ClcfWpvM.mjs → registry.server-B1EEZkcr.mjs} +311 -262
  123. package/dist/client/rendering/client.mjs +25 -491
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +7 -7
  126. package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-CDAfpMQU.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-DAypPzSo.mjs → routeIslandApiConfig-CcGWvyht.mjs} +1 -1
  128. package/dist/client/{shop-gteEpeO5.mjs → shop-DbUUoHFJ.mjs} +3 -3
  129. package/dist/client/{shop-discount-apply.state-DidgH7ow.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
  130. package/dist/client/{shop-commerce-Bw4_BXQg.mjs → shop-commerce-aQqcDmyZ.mjs} +64 -32
  131. package/dist/client/{shop-commerce-store-Da6Ah-_4.mjs → shop-commerce-store-Cd7USpuY.mjs} +1 -1
  132. package/dist/client/shop-discount-apply.state-DGvPBmVP.mjs +83 -0
  133. package/dist/client/{shop.client-CbbdjWWd.mjs → shop.client-BNZ9M8cG.mjs} +56 -19
  134. package/dist/client/{shop.interactive-CKFORzux.mjs → shop.interactive-CJAINJr3.mjs} +118 -39
  135. package/dist/client/{shopShared-C7QjoywZ.mjs → shopShared-DwVAuGsx.mjs} +2 -2
  136. package/dist/client/{timetableModel-CtZiIj9q.mjs → timetableModel-DBTIFWTb.mjs} +11 -148
  137. package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BomyyKeo.mjs} +3 -3
  138. package/dist/client/{useDiscountCodeUi-BuLgof7O.mjs → useDiscountCodeUi-CCxHMWlU.mjs} +32 -17
  139. package/dist/client/{useEventPagination-B4VPtSEF.mjs → useEventPagination-Bjin_qaN.mjs} +7 -6
  140. package/dist/client/{view-CvlTplao.mjs → view-BTk470k0.mjs} +3 -2
  141. package/dist/client/{view-CxUpgcM6.mjs → view-Cw4EmEPv.mjs} +100 -32
  142. package/dist/preview-next/client/{PageSectionToolbar-BFbSrDbi.mjs → PageSectionToolbar-bq7gbKvn.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewEditorSidebar-BtpzqQ-i.mjs → PreviewEditorSidebar-DVsPNcos.mjs} +32 -29
  144. package/dist/preview-next/client/{PreviewEditorUI-z22h-CCY.mjs → PreviewEditorUI-B-pq3aZc.mjs} +4 -4
  145. package/dist/preview-next/client/{PreviewShell-BW3Qpoa_.mjs → PreviewShell-ChyjB96e.mjs} +5 -5
  146. package/dist/preview-next/client/{SdkPreviewModeRuntime-BvVeK1hR.mjs → SdkPreviewModeRuntime-D_czeC0l.mjs} +84 -101
  147. package/dist/preview-next/client/{previewAssistantSlot-BUqAh1FL.mjs → previewAssistantSlot-B61mZd81.mjs} +4981 -3275
  148. package/dist/preview-next/client/{previewChromeRoot-NCy5zHO8.mjs → previewChromeRoot-dwOn9XtM.mjs} +1 -1
  149. package/dist/preview-next/client/runtime.mjs +3 -3
  150. package/dist/preview-next/client/{sdk-runtime-CxmKDVGZ.mjs → sdk-runtime-DZDfOxoW.mjs} +2 -2
  151. package/dist/preview-next/client/{siteStyleAccess-B_UaDyJO.mjs → siteStyleAccess-BZDIC-fA.mjs} +529 -238
  152. package/dist/preview-next/client/{useAutosaveStatus-BqmWvPLY.mjs → useAutosaveStatus-BbzLMf-l.mjs} +1 -1
  153. package/dist/preview-next/client/{useOpenBlockForSetup-LAllV0rU.mjs → useOpenBlockForSetup-BEXcWQeI.mjs} +25 -5
  154. package/dist/preview-next/container-responsive.css +51 -3
  155. package/dist/preview-next/keepAlive.mjs +1 -1
  156. package/dist/preview-next/middleware.mjs +1 -1
  157. package/dist/preview-next/{route-contract-DV6SeCNv.mjs → route-contract-0gSlK9S0.mjs} +87 -12
  158. package/dist/server/{Block.shared-Ch2FKAvU.mjs → Block.shared-DeXXycg8.mjs} +4 -4
  159. package/dist/server/{ThemeScopeCore-DFvjDVzi.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
  160. package/dist/server/{bindings-CQg2lzZn.mjs → bindings-7L3pC5Os.mjs} +13 -34
  161. package/dist/server/{client-aYRTVneD.mjs → client-CgghATBm.mjs} +112 -20
  162. package/dist/server/config-validation.mjs +1 -1
  163. package/dist/server/config.mjs +2 -2
  164. package/dist/server/{customCss-BGB8gMVb.mjs → customCss-BZ8YSrQg.mjs} +1 -0
  165. package/dist/server/data/resolveBlockData.mjs +1 -1
  166. package/dist/server/index.mjs +2 -2
  167. package/dist/server/{loadContent-Cgpfr44e.mjs → loadContent-D7M5Vcug.mjs} +5 -5
  168. package/dist/server/{loadPage-RDk10NMP.mjs → loadPage-CiTId05y.mjs} +2 -2
  169. package/dist/server/{lookMediaFrame-CQtkvlDn.mjs → lookMediaFrame-CaH018pK.mjs} +129 -12
  170. package/dist/server/next.mjs +35 -9
  171. package/dist/server/{overrideResolution-VhhN94d8.mjs → overrideResolution-CJ3MRI5Q.mjs} +1 -1
  172. package/dist/server/page-converter.mjs +1 -1
  173. package/dist/server/{pageRenderPlan-CkFTsxkd.mjs → pageRenderPlan-Cuos4Xcd.mjs} +105 -357
  174. package/dist/server/{pageRuntimeSupport-CpAtzNxD.mjs → pageRuntimeSupport-CuVj3bkd.mjs} +4 -3
  175. package/dist/server/{pageShared-B8yLPjs0.mjs → pageShared-JxlV8_Bo.mjs} +1707 -1811
  176. package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
  177. package/dist/server/{prebuild-DOu6QceG.mjs → prebuild-BDhlJbAx.mjs} +1 -1
  178. package/dist/server/prebuild.mjs +1 -1
  179. package/dist/server/{prefetchBlockData-CfOXFKYG.mjs → prefetchBlockData-kERh_c0v.mjs} +2 -2
  180. package/dist/server/{registry-34rkAfaU.mjs → registry-cQ9N5W-n.mjs} +21091 -20209
  181. package/dist/server/rendering/components/pageShared.mjs +1 -1
  182. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  183. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  184. package/dist/server/rendering/server.mjs +3 -3
  185. package/dist/server/rendering.mjs +7 -7
  186. package/dist/server/{resolveBlockData-D7VeoWgr.mjs → resolveBlockData-CN4UmmTK.mjs} +1 -1
  187. package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
  188. package/dist/server/server.mjs +3 -3
  189. package/dist/server/theme-bridge.mjs +1 -1
  190. package/dist/server/theme.mjs +2 -2
  191. package/dist/server/{validation-CLVKoJrX.mjs → validation-3puM5SM8.mjs} +3 -3
  192. package/dist/server/{version-HVfdvBJ0.mjs → version-B8g-Wx57.mjs} +1 -1
  193. package/dist/styles/index.css +361 -57
  194. package/package.json +1 -1
  195. package/dist/client/bookability-CE637yDE.mjs +0 -17
  196. package/dist/client/useDiscountApply-BZU5DWZQ.mjs +0 -199
@@ -1,9 +1,10 @@
1
1
  "use client";
2
2
  import { d as parseUuidBrand, f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.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";
3
+ import { $o as publicEventPricingCurrency, $r as eventDateLocale, Ar as renderVideo, At as toWholeSeriesRegistrationEvent, Bo as parseMailingListRuntimeContext, C as getEventSelectionMode, Ca as eventLayoutSchema, Cr as shownVenue, D as registrationRoute, Da as weekStartSchema, Dr as computeMediaTransformStyle, Ea as registrationButtonVariantSchema, Er as MediaPlaceholder, Ga as eventRegistrationPageSurfaceSubjectSchema, Go as parseMailchimpAudienceId, Ha as buildInteractiveIslandProps, Ho as DEFAULT_MAILING_LIST_PRIVACY_NOTE, Io as nextLiveRunSessionStartMs, Ja as resolveEventRegistrationScopedEvents, Kn as withOccurrenceTitle, Ko as parseMailchimpInterestId, Ma as resolveDateRuntimeContext, Na as browserReadAuthoritySchema, No as flexibleBalanceDueDay, O as registrationStepLabel, Or as mediaImageHostProps, P as isRegistrationLocked, Pn as formatBookingWhen, Pr as resolveMediaNodeResponsiveImage, Qr as eventCalendarWeekStart, Rn as formatRegistrationSchedule, Ro as resolveWholeSeriesBookingPhase, S as REGISTRATION_STEP_LABELS, Sa as eventCalendarDisplayModeSchema, Sr as resolveRegistrationDisplay, Ta as previewStageSchema, Tr as ImagePresets, Ua as createInteractiveIslandCodec, Uo as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Va as bookingPageKindSchema, Wa as defineInteractiveIslandMetaKeys, Wo as parseBrevoListId, Xo as formatBookingPriceDisplay, Yo as EVENT_PRESET_VOCABULARY, Zo as formatEventPricing, _ as deriveCommerceCheckoutState, _a as bookingNowSchema, _o as groupPublicEventsByRun, ai as formatEventCompactDateRail, ba as eventButtonVariantSchema, bo as defineProgressiveBlockRuntime, br as placesLeftLabel, ei as eventDateOptions, es as publicEventPricingDisplay, hi as resolveRuntimeEventDestination, ho as selectEventCapacitySource, ht as resolveEventRequiresPayment, i as buildPassesMembershipsDisplay, jt as toWholeSeriesRegistrationEvents, k as registrationStepLabelContext, ka as blockButtonRoleSchema, kr as renderAudio, kt as toRegistrationEvents, lo as formatRemainingPlaces, n as buildCartDisplay, o as buildProductDetailDisplay, po as getRemainingPlaces, pt as findPreSelectedEvent, qa as resolveEventRegistrationChoices, qo as parseNewsletterListId, r as buildCheckoutDisplay, s as buildProductListDisplay, ss as parseEventSeriesId, ti as eventLocalDateKey, va as calendarTabViewsSchema, vo as createZodCodec, wa as filterAutoShowSchema, wr as RichText, x as resolveSelectedProduct, xa as eventCalendarDefaultViewSchema, xo as isDecodeSuccess, xr as registrationDisplaySchema, ya as columnOptionSchema, yo as defineClientOwnedBlockRuntime, yr as bookingPresentation, za as pageNavigationSchema, zo as resolveWholeSeriesRunLifecycle } from "./display-DMqotaGU.mjs";
4
+ import { At as publicEventLoaderQuerySchemaShape, C as eventCalendarListGroupingDecision, Ct as purchasablePublicMembershipProductSchema, Dt as eventScheduleScopeValues, E as eventListArrangementValues, G as publicEventDestinationSchema, Jt as formatDateRange, Ot as eventSurfacePresetValues, St as publicProductSchema, T as eventCalendarVariantMeaning, Zt as formatTime, b as calendarWindowPageSchema, bt as publicMembershipProductSchema, en as inferSiteDateLocale, fn as resolveBookingBusinessTimeZone, gn as toUtcIsoDateTimeString, hn as parseUtcIsoDateTimeString, in as buildBookingUtcDateWindow, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, kt as eventSurfaceScopeValues, l as blockSiteTermsSchema, ln as getLocalScheduleDate, n as assertNever, pn as resolveBookingTimeZoneId, q as publicEventSchema, qt as formatDate, un as parseBookingLocalDate, wt as purchasablePublicPassProductSchema, xt as publicPassProductSchema } from "./noop-DF8_EiFt.mjs";
5
+ import { S as getBookingInstalmentProtectedDepositAmountCents, T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
6
6
  import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-xrjaKaCj.mjs";
7
+ import { Bt as toNonEmptyReadonlyArray, Ot as assertNever$2, S as resolveModeArrangement, i as lookListPresentationSchemaShape, in as cardRoleSchema, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BDZLALxj.mjs";
7
8
  import { S as clsx, h as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-DuaYtnvG.mjs";
8
9
  import { n as getCurrentResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
9
10
  import "react";
@@ -398,7 +399,7 @@ function planSiteChromePlacement(positioning) {
398
399
  headerRootClassName: "rb-fixed rb-top-0 rb-left-0 rb-right-0",
399
400
  standaloneShellClassName: "fixed left-0 right-0 top-0 z-40 w-full"
400
401
  };
401
- default: return assertNever(positioning);
402
+ default: return assertNever$2(positioning);
402
403
  }
403
404
  }
404
405
  function splitSiteChromePlacementClasses(className) {
@@ -520,7 +521,7 @@ function normalizeEventStaffMemberId(value) {
520
521
  //#region ../blocks/src/system/runtime/nodes/events/domain/pricing.ts
521
522
  /**
522
523
  * Format event price for display.
523
- * @returns "Free", "£25", "£12–£25", "Free / £12–£25", "£220 for the course", etc.
524
+ * @returns "Free", "£25", "£12–£25", "Free or £12–£25", "£220 for the course", etc.
524
525
  *
525
526
  * Events render compact amounts (no trailing ".00"); the actual ADT→string
526
527
  * mapping lives in `formatBookingPriceDisplay` in @riverbankcms/core so all
@@ -591,6 +592,38 @@ function formatEventStartingPrice(pricing) {
591
592
  case "free": return "Free";
592
593
  }
593
594
  }
595
+ /**
596
+ * A short note on booking with a deposit, said next to the price so the
597
+ * option isn't first seen at checkout: "or a £40 deposit to book", or "with a
598
+ * £40 deposit to book" when paying in full isn't offered. Null when no option
599
+ * starts with a deposit (equal instalments have none).
600
+ */
601
+ function formatEventDepositNote(pricing, paymentTerms, start) {
602
+ const currency = publicEventPricingCurrency(pricing);
603
+ if (!currency) return null;
604
+ const deposit = paymentTerms.allowedOptions.map((option) => {
605
+ switch (option.kind) {
606
+ case "flexible_balance": return option.config.upfrontAmountCents;
607
+ case "instalment_plan": return getBookingInstalmentProtectedDepositAmountCents(option.plan);
608
+ case "upfront":
609
+ case "deferred_manual": return null;
610
+ }
611
+ }).find((amount) => amount !== null && amount > 0);
612
+ if (deposit === void 0) return null;
613
+ const payInFull = paymentTerms.allowedOptions.some((option) => option.kind === "upfront");
614
+ const flexible = paymentTerms.allowedOptions.find((option) => option.kind === "flexible_balance");
615
+ const dueBy = flexible && start ? `, the rest due by ${formatDueDay(flexibleBalanceDueDay(flexible.config, start.startsAt, start.timeZone))}` : "";
616
+ return `${payInFull ? "or" : "with"} a ${formatEventPriceAmount(deposit, currency)} deposit to book${dueBy}`;
617
+ }
618
+ /** A calendar day ("2026-11-12") as "12 Nov 2026"; it has no time zone to convert. */
619
+ function formatDueDay(day) {
620
+ return new Intl.DateTimeFormat("en-GB", {
621
+ day: "numeric",
622
+ month: "short",
623
+ year: "numeric",
624
+ timeZone: "UTC"
625
+ }).format(/* @__PURE__ */ new Date(`${day}T00:00:00Z`));
626
+ }
594
627
  //#endregion
595
628
  //#region ../blocks/src/system/runtime/nodes/events/domain/listWeek.ts
596
629
  /** Civil weeks use the site zone, including weeks containing a clock change. */
@@ -1400,21 +1433,21 @@ function eventPaginationLoadReducer(state, action) {
1400
1433
  ...createInitialEventPaginationLoadState(action.events, action.scope),
1401
1434
  requestId: state.requestId + 1
1402
1435
  };
1403
- default: return assertNever$1(action);
1436
+ default: return assertNever(action);
1404
1437
  }
1405
1438
  }
1406
1439
  function eventPageOperationScope(operation) {
1407
1440
  switch (operation.kind) {
1408
1441
  case "replace": return operation.scope;
1409
1442
  case "append": return operation.page.scope;
1410
- default: return assertNever$1(operation);
1443
+ default: return assertNever(operation);
1411
1444
  }
1412
1445
  }
1413
1446
  function eventPageOperationQuery(operation) {
1414
1447
  switch (operation.kind) {
1415
1448
  case "replace": return operation.scope.query;
1416
1449
  case "append": return operation.query;
1417
- default: return assertNever$1(operation);
1450
+ default: return assertNever(operation);
1418
1451
  }
1419
1452
  }
1420
1453
  function acceptEventPage(operation, events) {
@@ -1431,7 +1464,7 @@ function acceptEventPage(operation, events) {
1431
1464
  events: mergeEventPaginationEvents(operation.page.events, events),
1432
1465
  hasMore
1433
1466
  };
1434
- default: return assertNever$1(operation);
1467
+ default: return assertNever(operation);
1435
1468
  }
1436
1469
  }
1437
1470
  /** Retry consumes the recorded operation. Load more is possible only from an accepted page. */
@@ -1456,7 +1489,7 @@ function planEventPageOperation(state, scope, intent) {
1456
1489
  }
1457
1490
  };
1458
1491
  }
1459
- default: return assertNever$1(intent);
1492
+ default: return assertNever(intent);
1460
1493
  }
1461
1494
  }
1462
1495
  /** A changed scope is pending even before the effect starts its replacement request. */
@@ -1483,7 +1516,7 @@ function getEventPaginationView(state, scope) {
1483
1516
  loading: false,
1484
1517
  error: state.error
1485
1518
  };
1486
- default: return assertNever$1(state);
1519
+ default: return assertNever(state);
1487
1520
  }
1488
1521
  }
1489
1522
  function getOperationPage(operation) {
@@ -1493,7 +1526,7 @@ function getOperationPage(operation) {
1493
1526
  hasMore: false
1494
1527
  };
1495
1528
  case "append": return operation.page;
1496
- default: return assertNever$1(operation);
1529
+ default: return assertNever(operation);
1497
1530
  }
1498
1531
  }
1499
1532
  function getEventIdentity(event) {
@@ -2325,7 +2358,7 @@ const eventCalendarBlockRuntime = defineProgressiveBlockRuntime({
2325
2358
  display: display.listBy === "week" ? {
2326
2359
  ...display,
2327
2360
  events: eventListWindowEvents(display.events, buildEventListWeek(hydration.calendarContext.initialToday, display.startOfWeek, hydration.calendarContext.timeZone))
2328
- } : plan.jobs === "list" || plan.jobs === "both" ? firstListPage(display) : display,
2361
+ } : plan.jobs === "list" ? firstListPage(display) : display,
2329
2362
  hydration
2330
2363
  };
2331
2364
  }
@@ -2384,7 +2417,7 @@ function weekListPaging(source) {
2384
2417
  /**
2385
2418
  * A list seed is its first page: the list slices to one page before its pager sees the events,
2386
2419
  * and the pager reads later pages from the server after the last one it holds. The rest of the
2387
- * read would only be sent to the browser and dropped. The calendar tab has its own window.
2420
+ * read would only be sent to the browser and dropped. A combined calendar tab reads its own months.
2388
2421
  */
2389
2422
  function firstListPage(display) {
2390
2423
  return display.events.length > display.eventsPerPage ? {
@@ -2478,6 +2511,20 @@ function buildEventCombinedInteractiveIslandProps(props) {
2478
2511
  });
2479
2512
  }
2480
2513
  //#endregion
2514
+ //#region ../blocks/src/system/runtime/nodes/event-registration/cancelledDate.ts
2515
+ const cancelledDateCopy = {
2516
+ titleText: "This event has been cancelled",
2517
+ bodyText: "This date is no longer going ahead. If you had a place booked, the organiser will be in touch."
2518
+ };
2519
+ /** A selected cancelled date stays informational, including when its data was recovered in the browser. */
2520
+ function hasCancelledRegistrationDate(events, occurrenceId) {
2521
+ const dates = occurrenceId ? events.filter((event) => event.occurrenceId === occurrenceId) : events;
2522
+ return dates.length > 0 && dates.every(isCancelledOrdinaryDate);
2523
+ }
2524
+ function isCancelledOrdinaryDate(event) {
2525
+ return event.bookingScope === "single_occurrence" && (event.status === "cancelled" || event.bookingAvailability.kind === "closed" && (event.bookingAvailability.reason === "occurrence_cancelled" || event.bookingAvailability.reason === "series_cancelled"));
2526
+ }
2527
+ //#endregion
2481
2528
  //#region ../blocks/src/system/runtime/nodes/event-registration/closedRunCopy.ts
2482
2529
  const copy = {
2483
2530
  cancelled: {
@@ -2490,7 +2537,7 @@ const copy = {
2490
2537
  },
2491
2538
  completed: {
2492
2539
  titleText: "These dates have finished",
2493
- bodyText: "These dates have all taken place. The details are kept here for reference."
2540
+ bodyText: "The details are kept here for reference."
2494
2541
  },
2495
2542
  "enrolment-closed": {
2496
2543
  titleText: "Booking closed",
@@ -2764,7 +2811,7 @@ function bookingPanelHeading(entry, display) {
2764
2811
  title,
2765
2812
  subtitle: entry.when
2766
2813
  };
2767
- default: return assertNever$2(entry);
2814
+ default: return assertNever$1(entry);
2768
2815
  }
2769
2816
  }
2770
2817
  const HIDDEN_BAR = {
@@ -2866,6 +2913,7 @@ function sourceKeyForOfferingPreviewSource(source) {
2866
2913
  switch (source.kind) {
2867
2914
  case "eventPreset": return sourceKeyForEventPreset(source.preset);
2868
2915
  case "wholeSeries": return "course";
2916
+ case "otherEvents": return "otherEvents";
2869
2917
  }
2870
2918
  }
2871
2919
  function normalizeOfferingsPreviewItemLimit(value) {
@@ -3030,7 +3078,7 @@ function buildOfferingsPreviewListing(input) {
3030
3078
  ...load,
3031
3079
  items: [selectOffering(load.items[0], input.now), ...load.items.slice(1).map((item) => selectOffering(item, input.now))]
3032
3080
  };
3033
- default: return assertNever$2(load);
3081
+ default: return assertNever$1(load);
3034
3082
  }
3035
3083
  }));
3036
3084
  if (!groups) return loads.length > 0 ? {
@@ -3050,7 +3098,7 @@ function buildOfferingsPreviewListing(input) {
3050
3098
  }));
3051
3099
  case "empty":
3052
3100
  case "failed": return [];
3053
- default: return assertNever$2(load);
3101
+ default: return assertNever$1(load);
3054
3102
  }
3055
3103
  }).sort((left, right) => (left.item.nextStartMs ?? Infinity) - (right.item.nextStartMs ?? Infinity) || left.groupIndex - right.groupIndex || offeringItemTitle(left.item).localeCompare(offeringItemTitle(right.item))));
3056
3104
  return items ? {
@@ -3159,10 +3207,11 @@ function preferredPathsForSource(source) {
3159
3207
  case "workshop": return ["/workshops", "/workshop"];
3160
3208
  case "retreat": return ["/retreats", "/retreat"];
3161
3209
  case "performance": return ["/performances", "/performance"];
3162
- default: return assertNever$2(source.preset, "Unhandled offerings preview event preset");
3210
+ default: return assertNever$1(source.preset, "Unhandled offerings preview event preset");
3163
3211
  }
3164
3212
  case "wholeSeries": return ["/courses", "/course"];
3165
- default: return assertNever$2(source, "Unhandled offerings preview source");
3213
+ case "otherEvents": return ["/events", "/event"];
3214
+ default: return assertNever$1(source, "Unhandled offerings preview source");
3166
3215
  }
3167
3216
  }
3168
3217
  function normalizeRoutePath(value) {
@@ -3217,7 +3266,7 @@ function offeringKindForEvent(event) {
3217
3266
  }
3218
3267
  function presetKind(preset) {
3219
3268
  const source = sourceFromPresetSummary(preset);
3220
- if (!source) return null;
3269
+ if (!source || source.kind === "otherEvents") return null;
3221
3270
  return source.kind === "wholeSeries" ? "course" : source.preset;
3222
3271
  }
3223
3272
  /**
@@ -3492,17 +3541,12 @@ const eventRegistrationIslandMetaCodec = createZodCodec(z.object({
3492
3541
  }));
3493
3542
  const eventRegistrationIslandMetaKeys = defineInteractiveIslandMetaKeys("siteId", "apiBaseUrl", "portalToken", "previewToken", "readAuthority", "stage");
3494
3543
  function buildEventRegistrationDisplayFromScopedEvents(source, scopedSourceEvents, display) {
3495
- const selectedRun = resolveSelectedWholeSeriesRun(scopedSourceEvents);
3496
- const phase = selectedRun ? resolveWholeSeriesBookingPhase(selectedRun.run, new Date(source.now)) : null;
3497
- if (phase?.kind === "closed") return {
3498
- kind: "event-registration",
3499
- state: "registration-closed",
3500
- className: eventRegistrationRootClassName(source) ?? null,
3501
- ...closedRunCopy(phase.reason)
3502
- };
3503
- const card = bookingCardDisplay(source, scopedSourceEvents, display);
3544
+ const closed = closedRegistrationDisplay(source, scopedSourceEvents);
3545
+ if (closed) return closed;
3546
+ const choices = resolveEventRegistrationChoices(scopedSourceEvents, source, new Date(source.now));
3547
+ const card = bookingCardDisplay(source, choices, display);
3504
3548
  if (card) return card;
3505
- const stepLabels = buildEventRegistrationShellStepLabels(source, scopedSourceEvents);
3549
+ const stepLabels = buildEventRegistrationShellStepLabels(source, choices);
3506
3550
  return {
3507
3551
  kind: "event-registration",
3508
3552
  state: "generic-shell",
@@ -3513,6 +3557,22 @@ function buildEventRegistrationDisplayFromScopedEvents(source, scopedSourceEvent
3513
3557
  summaryButtonText: source.buttonText?.trim() || "Register"
3514
3558
  };
3515
3559
  }
3560
+ /** Cancelled dates and closed course runs share the informational display. */
3561
+ function closedRegistrationDisplay(source, events) {
3562
+ const copy = closedRegistrationCopy(source, events);
3563
+ return copy ? {
3564
+ kind: "event-registration",
3565
+ state: "registration-closed",
3566
+ className: eventRegistrationRootClassName(source) ?? null,
3567
+ ...copy
3568
+ } : null;
3569
+ }
3570
+ function closedRegistrationCopy(source, events) {
3571
+ if (hasCancelledRegistrationDate(events, source.occurrenceContext?.id)) return cancelledDateCopy;
3572
+ const selectedRun = resolveSelectedWholeSeriesRun(events);
3573
+ const phase = selectedRun ? resolveWholeSeriesBookingPhase(selectedRun.run, new Date(source.now)) : null;
3574
+ return phase?.kind === "closed" ? closedRunCopy(phase.reason) : null;
3575
+ }
3516
3576
  function buildEventRegistrationShellStepLabels(source, scopedSourceEvents) {
3517
3577
  const selectedRun = resolveSelectedWholeSeriesRun(scopedSourceEvents);
3518
3578
  if (selectedRun) {
@@ -3836,6 +3896,8 @@ const publicGiftingOffersResponseSchema = z.object({
3836
3896
  vouchers: z.array(publicVoucherOfferSchema)
3837
3897
  });
3838
3898
  const giftingSourceSchema = z.object({
3899
+ lookSlots: lookListPresentationSchemaShape.lookSlots,
3900
+ surfacePresentation: lookListPresentationSchemaShape.surfacePresentation,
3839
3901
  siteTerms: blockSiteTermsSchema.optional(),
3840
3902
  siteId: z.string().optional(),
3841
3903
  apiBaseUrl: z.string().optional(),
@@ -3850,6 +3912,8 @@ const giftingSourceSchema = z.object({
3850
3912
  successMessage: z.string().nullable().optional()
3851
3913
  });
3852
3914
  const giftingDisplaySchema = z.object({
3915
+ lookSlots: lookListPresentationSchemaShape.lookSlots,
3916
+ surfacePresentation: lookListPresentationSchemaShape.surfacePresentation,
3853
3917
  kind: z.literal("gifting"),
3854
3918
  state: z.literal("ready"),
3855
3919
  className: z.string().nullable(),
@@ -3874,9 +3938,17 @@ const giftingIslandMetaCodec = createZodCodec(z.object({
3874
3938
  apiBaseUrl: z.string().optional()
3875
3939
  }));
3876
3940
  const giftingIslandMetaKeys = defineInteractiveIslandMetaKeys("siteId", "apiBaseUrl");
3941
+ /** The Look's slot hooks and surfaces, carried only when the block has a Look. */
3942
+ function giftingLookPresentation({ lookSlots, surfacePresentation }) {
3943
+ return {
3944
+ ...lookSlots ? { lookSlots } : {},
3945
+ ...surfacePresentation ? { surfacePresentation } : {}
3946
+ };
3947
+ }
3877
3948
  function buildGiftingDisplay(source) {
3878
3949
  return {
3879
3950
  kind: "gifting",
3951
+ ...giftingLookPresentation(source),
3880
3952
  state: "ready",
3881
3953
  className: source.className ?? null,
3882
3954
  heading: source.heading?.trim() || "Gift cards & vouchers",
@@ -3995,7 +4067,7 @@ function newsletterPresetFields(fields) {
3995
4067
  placeholder: "Company name"
3996
4068
  }
3997
4069
  ];
3998
- default: return assertNever$2(fields);
4070
+ default: return assertNever$1(fields);
3999
4071
  }
4000
4072
  }
4001
4073
  function withOptionalPhone(fields, includePhone) {
@@ -4070,6 +4142,7 @@ const newsletterSourceCommonSchema = z.object({
4070
4142
  mailingList: mailingListContextSchema.optional(),
4071
4143
  interactionContext: blockInteractionContextSchema.optional(),
4072
4144
  targeting: mailingListTargetingSchema.optional(),
4145
+ topicsQuestion: z.string().nullable().optional(),
4073
4146
  buttonVariant: newsletterButtonVariantSchema.nullable().optional(),
4074
4147
  spamProtectionEnabled: z.boolean().optional(),
4075
4148
  className: z.string().nullable().optional()
@@ -4110,7 +4183,8 @@ const newsletterDisplaySchema = z.object({
4110
4183
  choices: z.array(z.object({
4111
4184
  id: z.string(),
4112
4185
  label: z.string()
4113
- }))
4186
+ })),
4187
+ topicsQuestion: z.string()
4114
4188
  });
4115
4189
  const newsletterHydrationSchema = z.object({
4116
4190
  target: z.discriminatedUnion("tag", [
@@ -4163,6 +4237,10 @@ function newsletterGlobalForm(context) {
4163
4237
  privacyNote: null
4164
4238
  };
4165
4239
  }
4240
+ const DEFAULT_TOPICS_QUESTION = "What would you like to hear about?";
4241
+ function newsletterTopicsQuestion(authored) {
4242
+ return authored?.trim() || DEFAULT_TOPICS_QUESTION;
4243
+ }
4166
4244
  function buildNewsletterDisplay(source) {
4167
4245
  const context = source.mailingList;
4168
4246
  const form = newsletterGlobalForm(context);
@@ -4178,7 +4256,8 @@ function buildNewsletterDisplay(source) {
4178
4256
  buttonVariant: source.buttonVariant ?? "primary",
4179
4257
  privacyNote: newsletterPrivacyNote(source.source, form.privacyNote),
4180
4258
  fields: getGlobalFormFields(form, source),
4181
- choices
4259
+ choices,
4260
+ topicsQuestion: newsletterTopicsQuestion(source.topicsQuestion)
4182
4261
  };
4183
4262
  }
4184
4263
  const newsletterFormBlockRuntime = defineProgressiveBlockRuntime({
@@ -4219,7 +4298,7 @@ function projectNewsletterFormHydrationTarget(source) {
4219
4298
  tag: "block-source",
4220
4299
  sourceRef: null
4221
4300
  };
4222
- default: return assertNever$2(source.newsletterBlockSubmission);
4301
+ default: return assertNever$1(source.newsletterBlockSubmission);
4223
4302
  }
4224
4303
  case "signed-hosted-booking":
4225
4304
  case "signed-footer": return {
@@ -4227,7 +4306,7 @@ function projectNewsletterFormHydrationTarget(source) {
4227
4306
  sourceRef: source.sourceRef
4228
4307
  };
4229
4308
  case "preview": return { tag: "preview" };
4230
- default: return assertNever$2(source);
4309
+ default: return assertNever$1(source);
4231
4310
  }
4232
4311
  }
4233
4312
  function resolveRuntimeChoices(assessment) {
@@ -4275,9 +4354,9 @@ function parseRequiredMailingListSignedSourceToken(value) {
4275
4354
  if (!parsed) throw new Error("Mailing-list signup signed source ref requires token");
4276
4355
  return parsed;
4277
4356
  }
4278
- /** Hosted signup always explains preferences, alongside any owner-authored note. */
4357
+ /** Hosted signup always says people can leave, using the owner's note when it already does. */
4279
4358
  function newsletterPrivacyNote(source, privacyNote) {
4280
- return source !== "signed-hosted-booking" || privacyNote?.includes("Change your preferences or unsubscribe at any time.") ? privacyNote : [privacyNote, DEFAULT_MAILING_LIST_PRIVACY_NOTE].filter(Boolean).join(" ");
4359
+ return source !== "signed-hosted-booking" || /unsubscribe/i.test(privacyNote ?? "") ? privacyNote : [privacyNote, DEFAULT_MAILING_LIST_PRIVACY_NOTE].filter(Boolean).join(" ");
4281
4360
  }
4282
4361
  //#endregion
4283
4362
  //#region ../blocks/src/system/blocks/products/shared.ts
@@ -4862,4 +4941,4 @@ function shopProductPresentation(hydration, productId, index, count) {
4862
4941
  };
4863
4942
  }
4864
4943
  //#endregion
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 };
4944
+ export { resolveOfferingsPreviewGroups as $, Grid as $t, formInteractiveIslandPropsCodec as A, sameMailingListPlacementTargeting as An, eventPaginationLoadReducer as At, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as B, normalizeOptionalId as Bt, newsletterFormInteractiveIslandPropsCodec as C, planSiteChromePlacement as Cn, recurringScheduleProjectionSchema as Ct, publicGiftingOffersResponseSchema as D, parseMailingListPlacementTargeting as Dn, eventListingInteractiveIslandPropsCodec as Dt, giftingInteractiveIslandPropsCodec as E, assessMailingListTargeting as En, eventListingBlockRuntime as Et, eventRegistrationInteractiveIslandPropsCodec as F, toError as Ft, groupOfferingRunsByCourse as G, cardListPresentationSchemaShape as Gt, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as H, listingEventCardProps as Ht, resolveEventRegistrationEventSource as I, buildEventRuntimeFilters as It, normalizeOfferingsPreviewItemLimit as J, MediaNodeServer as Jt, isOfferingsPreviewSourceKey as K, resolveCardListSchedule as Kt, offeringNounForEvent as L, getEventRuntimeFiltersKey as Lt, buildEventRegistrationInteractiveIslandProps as M, unsafeAsContentEntryId as Mn, getEventPaginationView as Mt, displayButtonText as N, planEventPageOperation as Nt, buildFormInteractiveIslandProps as O, parseMailingListVisitorSelection as On, createInitialEventPaginationLoadState as Ot, eventRegistrationBlockRuntime as P, toEventPaginationLoadError as Pt, resolveOfferingsPreviewGroupCta as Q, getContainerClass as Qt, DEFAULT_GROUP_CTA as R, normalizeCsvIds as Rt, newsletterFormBlockRuntime as S, parseHeaderPositioning as Sn, projectRecurringSchedule as St, giftingBlockRuntime as T, buildMailingListSignupBlockSourceRef as Tn, buildEventListingInteractiveIslandProps as Tt, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as U, CardListContentPart as Ut, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as V, catalogueEventCardProps as Vt, buildOfferingsPreviewListing as W, CardListLeadDate as Wt, offeringsListingFor as X, quickFactSlots as Xt, offeringRunLifecycle as Y, EventQuickFacts as Yt, readOfferingsGrouping as Z, getCardOrientation as Zt, shopProductPresentation as _, resolveEventSelection as _n, buildEventCalendarInteractiveIslandProps as _t, buildShopInteractiveIslandProps as a, formatCoursePrice as an, bookingEntryProgress as at, buildNewsletterFormInteractiveIslandProps as b, resolveHeaderChromeRuntimeContract as bn, eventCalendarBlockRuntime as bt, checkoutBlockRuntime as c, formatEventPriceAmount as cn, formatBookingSchedulePresentation as ct, productDetailBlockRuntime as d, normalizeEventCategoryIds as dn, cancelledDateCopy as dt, buildEventListWeek as en, resolveOfferingsRenderInput as et, productDetailInteractiveIslandPropsCodec as f, normalizeEventScheduleScope as fn, hasCancelledRegistrationDate as ft, shopInteractiveIslandPropsCodec as g, normalizeEventVenueId as gn, eventCombinedInteractiveIslandPropsCodec as gt, shopBlockRuntime as h, normalizeEventSurfaceScope as hn, eventCombinedBlockRuntime as ht, buildProductListInteractiveIslandProps as i, weekColumnDays as in, bookingEntry as it, buildEventRegistrationDisplayFromScopedEvents as j, parseContentVersionId as jn, getEventIdentity as jt, formBlockRuntime as k, DEFAULT_MAILING_LIST_TARGETING as kn, eventPageOperationQuery as kt, checkoutInteractiveIslandPropsCodec as l, formatEventPriceDisplay as ln, occurrenceContextSchema as lt, productListInteractiveIslandPropsCodec as m, normalizeEventSurfacePresets as mn, buildEventCombinedListingDisplay as mt, buildCheckoutInteractiveIslandProps as n, eventWeekGroupingContext as nn, bookingBarPlacement as nt, cartBlockRuntime as o, formatEventDepositNote as on, bookingPanelHeading as ot, productListBlockRuntime as p, normalizeEventStaffMemberId as pn, buildEventCombinedInteractiveIslandProps as pt, normalizeOfferingsPreviewContentForWrite as q, selectCardListPresentation as qt, buildProductDetailInteractiveIslandProps as r, groupEventsByWeek as rn, bookingCardEntry as rt, cartInteractiveIslandPropsCodec as s, formatEventPrice as sn, courseTitleOf as st, buildCartInteractiveIslandProps as t, eventListWeekDays as tn, DEFAULT_BOOKING_BUTTON_TEXT as tt, getShopDisplayForItems as u, formatEventStartingPrice as un, closedRunCopy as ut, publicProductsResponseSchema as v, headerChromeRuntimeContractSchema as vn, buildEventCalendarListingDisplay as vt, buildGiftingInteractiveIslandProps as w, splitSiteChromePlacementClasses as wn, combinedLookSchema as wt, newsletterBlockSubmissionMessage as x, staticHeaderChromeRuntime as xn, eventCalendarInteractiveIslandPropsCodec as xt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as y, isHeaderScrollRuntimeEnabled as yn, buildEventCalendarListingRender as yt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as z, normalizeCsvString as zt };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
2
+ import { t as BlockApiProvider } from "./context-D8TpQXjX.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DAypPzSo.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CcGWvyht.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -1,19 +1,18 @@
1
1
  "use client";
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";
2
+ import { Jr as isInlineTextEmpty, Ma as resolveDateRuntimeContext, Yr as parseInlineTextFromUnknown, co as formatEventRemainingPlaces, ei as eventDateOptions, fo as getEventAvailabilityStatus, ii as formatEventClockLabel, mi as resolveEventTimeZone, mo as isEventFull, pi as groupEventsByDate, ui as formatEventTimeRange, wr as RichText } from "./display-DMqotaGU.mjs";
3
+ import { dn as parseLocalScheduleTime, nn as formatBookingCompactEnglishTime, qt as formatDate, rn as toScheduledBookingDateTime } from "./noop-DF8_EiFt.mjs";
4
+ import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
5
+ import { t as LocationMapActions } from "./LocationMapActions-BecH-qhI.mjs";
6
6
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-xrjaKaCj.mjs";
7
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 { 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";
9
+ import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-DHmeQAvq.mjs";
10
+ import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-BJzmFdcn.mjs";
11
+ import { l as formatEventTeacherLine } from "./EventItem-BybMSKNL.mjs";
12
+ import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Ch0w0Utn.mjs";
13
+ import { t as coerceRichTextDoc } from "./richText-coerce-CDAfpMQU.mjs";
14
14
  import "react";
15
15
  import { jsx, jsxs } from "react/jsx-runtime";
16
- import { z } from "zod";
17
16
  //#region ../core/src/opening-hours.ts
18
17
  const openingHoursWeekdayLabels = {
19
18
  monday: "Monday",
@@ -66,142 +65,6 @@ function formatOpeningHoursRows(hours, options = {}) {
66
65
  return weekdays.length > 1 ? [...rows.slice(0, -1), row] : [...rows, row];
67
66
  }, []);
68
67
  }
69
- const inlineTextMarkSchema = z.discriminatedUnion("kind", [
70
- z.object({ kind: z.literal("strong") }),
71
- z.object({ kind: z.literal("emphasis") }),
72
- z.object({
73
- kind: z.literal("accent"),
74
- tone: z.enum([
75
- "accent",
76
- "brand",
77
- "contrast"
78
- ])
79
- }),
80
- z.object({
81
- kind: z.literal("highlight"),
82
- tone: z.enum([
83
- "soft",
84
- "accent",
85
- "brand"
86
- ])
87
- })
88
- ]);
89
- const inlineTextRunSchema = z.object({
90
- text: z.string(),
91
- marks: z.array(inlineTextMarkSchema).optional()
92
- });
93
- z.array(inlineTextRunSchema);
94
- const MARK_ORDER = {
95
- strong: 0,
96
- emphasis: 1,
97
- accent: 2,
98
- highlight: 3
99
- };
100
- function plainTextToInlineText(value) {
101
- return normalizeInlineText(value.length > 0 ? [{ text: value }] : []);
102
- }
103
- function inlineTextToPlainText(value) {
104
- return value.map((run) => run.text).join("");
105
- }
106
- function isInlineTextEmpty(value) {
107
- return inlineTextToPlainText(value).trim().length === 0;
108
- }
109
- function coerceInlineTextWithFallback(value, fallbackPlainText) {
110
- const parsed = parseInlineTextFromUnknown(value);
111
- if (parsed.ok && !isInlineTextEmpty(parsed.value)) return parsed.value;
112
- if (fallbackPlainText && fallbackPlainText.length > 0) return plainTextToInlineText(fallbackPlainText);
113
- return parsed.ok ? parsed.value : [];
114
- }
115
- function parseInlineTextFromUnknown(value) {
116
- if (!Array.isArray(value)) return {
117
- ok: false,
118
- error: { kind: "not-array" }
119
- };
120
- const runs = [];
121
- for (let index = 0; index < value.length; index += 1) {
122
- const parsed = inlineTextRunSchema.safeParse(value[index]);
123
- if (!parsed.success) return {
124
- ok: false,
125
- error: {
126
- kind: "invalid-run",
127
- index
128
- }
129
- };
130
- runs.push(parsed.data);
131
- }
132
- return {
133
- ok: true,
134
- value: normalizeInlineText(runs)
135
- };
136
- }
137
- function normalizeInlineText(value) {
138
- const normalized = [];
139
- for (const run of value) {
140
- if (run.text.length === 0) continue;
141
- const marks = normalizeInlineTextMarks(run.marks ?? []);
142
- const nextRun = marks.length > 0 ? {
143
- text: run.text,
144
- marks
145
- } : { text: run.text };
146
- const previous = normalized[normalized.length - 1];
147
- if (previous && inlineTextMarksEqual(previous.marks ?? [], nextRun.marks ?? [])) {
148
- normalized[normalized.length - 1] = previous.marks && previous.marks.length > 0 ? {
149
- text: previous.text + nextRun.text,
150
- marks: previous.marks
151
- } : { text: previous.text + nextRun.text };
152
- continue;
153
- }
154
- normalized.push(nextRun);
155
- }
156
- return normalized;
157
- }
158
- function normalizeInlineTextMarks(marks) {
159
- let strong = null;
160
- let emphasis = null;
161
- let accent = null;
162
- let highlight = null;
163
- for (const mark of marks) switch (mark.kind) {
164
- case "strong":
165
- strong = { kind: "strong" };
166
- break;
167
- case "emphasis":
168
- emphasis = { kind: "emphasis" };
169
- break;
170
- case "accent":
171
- accent = {
172
- kind: "accent",
173
- tone: mark.tone
174
- };
175
- break;
176
- case "highlight":
177
- highlight = {
178
- kind: "highlight",
179
- tone: mark.tone
180
- };
181
- break;
182
- }
183
- return [
184
- strong,
185
- emphasis,
186
- accent,
187
- highlight
188
- ].filter((mark) => mark !== null).sort((left, right) => MARK_ORDER[left.kind] - MARK_ORDER[right.kind]);
189
- }
190
- function inlineTextMarksEqual(left, right) {
191
- const normalizedLeft = normalizeInlineTextMarks(left);
192
- const normalizedRight = normalizeInlineTextMarks(right);
193
- if (normalizedLeft.length !== normalizedRight.length) return false;
194
- return normalizedLeft.every((mark, index) => inlineTextMarkEqual(mark, normalizedRight[index]));
195
- }
196
- function inlineTextMarkEqual(left, right) {
197
- if (!right || left.kind !== right.kind) return false;
198
- switch (left.kind) {
199
- case "strong":
200
- case "emphasis": return true;
201
- case "accent": return right.kind === "accent" && left.tone === right.tone;
202
- case "highlight": return right.kind === "highlight" && left.tone === right.tone;
203
- }
204
- }
205
68
  //#endregion
206
69
  //#region ../path-utils/src/index.ts
207
70
  const PATH_SEPARATOR_REGEX = /\./g;
@@ -782,7 +645,7 @@ const WeekBoardLoadError = ({ navigation, buttonVariant }) => {
782
645
  return /* @__PURE__ */ jsxs("div", {
783
646
  className: "event-week-board-error",
784
647
  role: "status",
785
- children: [/* @__PURE__ */ jsx("p", { children: "Failed to load events" }), /* @__PURE__ */ jsx(ThemedButton, {
648
+ children: [/* @__PURE__ */ jsx("p", { children: CALENDAR_LOAD_FAILURE_MESSAGE }), /* @__PURE__ */ jsx(ThemedButton, {
786
649
  type: "button",
787
650
  variant: buttonVariant,
788
651
  size: "sm",
@@ -981,4 +844,4 @@ function formatDayLabel(date, timeZone, options) {
981
844
  }), options);
982
845
  }
983
846
  //#endregion
984
- export { CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d, Text as f, plainTextToInlineText as g, parseInlineTextFromUnknown as h, buildWeekBoardViewProps as i, RichTextNode as l, inlineTextToPlainText as m, WeekBoardView as n, RecurringSchedule as o, coerceInlineTextWithFallback as p, buildWeekBoardNavigationState as r, ButtonNode as s, buildTimetableModel as t, TextNode as u };
847
+ export { CalendarRecurringWeek as a, LinkNode as c, LocationMapView as d, Text as f, buildWeekBoardViewProps as i, RichTextNode as l, WeekBoardView as n, RecurringSchedule as o, buildWeekBoardNavigationState as r, ButtonNode as s, buildTimetableModel as t, TextNode as u };
@@ -1,7 +1,7 @@
1
1
  "use client";
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";
2
+ import { Wt as capitalize, Zt as formatTime$1, an as addLocalScheduleDays, hn as parseUtcIsoDateTimeString, ln as getLocalScheduleDate, n as assertNever, pn as resolveBookingTimeZoneId, qt as formatDate$1, sn as formatLocalScheduleDate, un as parseBookingLocalDate } from "./noop-DF8_EiFt.mjs";
3
+ import { D as unsafeAsAppointmentResourceId } from "./creditProducts-BQ1t1erI.mjs";
4
+ import { n as useBlockApi } from "./context-D8TpQXjX.mjs";
5
5
  import { useCallback, useEffect, useReducer, useRef } from "react";
6
6
  function clientPersonPhrases(noun) {
7
7
  if (noun == null) return {