@riverbankcms/sdk 0.174.1 → 0.176.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (198) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-YRmc-Yxz.d.ts → BlocksIslandsHydrator-DvoTk7Py.d.ts} +1 -1
  2. package/dist/_dts/{Page-Du0zX1B-.d.ts → Page-D-l374tU.d.ts} +8 -16
  3. package/dist/_dts/{SdkPreviewMode-4L8v3FkY.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
  4. package/dist/_dts/{client-B1J6Akyf.d.ts → client-D4p0J1lK.d.ts} +487 -11
  5. package/dist/_dts/{content-types-CGGYI0u_.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
  6. package/dist/_dts/{contracts-CHMlw9hT.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
  7. package/dist/_dts/{footerPageOutline-DIHSU1Vr.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
  8. package/dist/_dts/{generatePageMetadata-JITXD6BU.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
  9. package/dist/_dts/{index-BLEKFHt1.d.ts → index-CKkkCgb6.d.ts} +1 -1
  10. package/dist/_dts/{index-yWDbUojb.d.ts → index-CoLcwjqJ.d.ts} +1 -1
  11. package/dist/_dts/{index-DpJm0NpL.d.ts → index-D-ai8IQd.d.ts} +4 -4
  12. package/dist/_dts/{index-CXZSy_9M.d.ts → index-DDsfmM4d.d.ts} +2 -2
  13. package/dist/_dts/{index-CF62FntA.d.ts → index-EJMo-KSo.d.ts} +2 -2
  14. package/dist/_dts/{index-D9ZYmGAJ.d.ts → index-ZKEDvLuN.d.ts} +1 -1
  15. package/dist/_dts/{index-BgOr1Xyz.d.ts → index-tcPtGdag.d.ts} +3 -3
  16. package/dist/_dts/{loadContent-M-s0p0rq.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
  17. package/dist/_dts/{request-BK-pHf0P.d.ts → request-B8jVdvgI.d.ts} +1993 -407
  18. package/dist/_dts/{resolveBlockData-DZAlnhwt.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-DXUCWJ3y.d.ts → resolvePageContent-Be4iL6-F.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 +5 -177
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
  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-CwmB2NHU.d.ts → types-BXMX4z2j.d.ts} +7 -7
  55. package/dist/_dts/{types-DjVNADXR.d.ts → types-DXY64Xh4.d.ts} +4 -4
  56. package/dist/_dts/{types-Dmow_FI6.d.ts → types-lwSgCWZ4.d.ts} +11 -2
  57. package/dist/_dts/{validation-h8t1HLlL.d.ts → validation-C5xp--Fu.d.ts} +7 -4
  58. package/dist/client/{BlocksIslandsHydrator-DRVx_XLi.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -16
  59. package/dist/client/{BookingMailingListNote-CwrMzj-k.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
  60. package/dist/client/{BookingPanelArrangement-C2_hFT6K.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
  61. package/dist/client/{BookingQuestionFields-DZMrGvBh.mjs → BookingQuestionFields-MbvIo2jS.mjs} +3 -3
  62. package/dist/client/{CalendarNavigationChevron-Az1-TIEI.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +36 -11
  63. package/dist/client/DemoBookingPortalAccess-C9Ggcfx3.mjs +545 -0
  64. package/dist/client/{EventCalendar.client-CDkkP-Lv.mjs → EventCalendar.client-BSMuSqg0.mjs} +15 -25
  65. package/dist/client/{EventCombined.client-DK3aaz62.mjs → EventCombined.client-BTrmSyUB.mjs} +25 -17
  66. package/dist/client/{EventItem-WeUipfIP.mjs → EventItem-B0WjGXsH.mjs} +4 -3
  67. package/dist/client/{EventListWeekNavigation-D3sbAeDo.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
  68. package/dist/client/{EventListing.client-DL3gGGmF.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
  69. package/dist/client/{EventListing.view-DKFImKOx.mjs → EventListing.view-BEH4UbSL.mjs} +18 -8
  70. package/dist/client/{EventRegistrationPayment-Dn9TpWyL.mjs → EventRegistrationPayment-B2EikR3f.mjs} +635 -359
  71. package/dist/client/{LocationMapActions-BJT7MqP2.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
  72. package/dist/client/{MapDrawingSvg-DCIwlON6.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -22
  73. package/dist/client/{Page-BpeP9xdt.mjs → Page-F3lhDvw1.mjs} +1036 -953
  74. package/dist/client/{DemoBookingPortalAccess-1p-pJ1lg.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +4 -301
  75. package/dist/client/{StepIndicator-CP6zrwkl.mjs → StepIndicator-Bb7rPtSq.mjs} +37 -12
  76. package/dist/client/{accordion-nR7D4m1a.mjs → accordion-BfsOiweL.mjs} +1 -1
  77. package/dist/client/{booking-form.client-Ce-mQZ7W.mjs → booking-form.client-B8ohIj13.mjs} +229 -42
  78. package/dist/client/{bookingForm-B-qT_AQB.mjs → bookingForm-CXsck2oH.mjs} +4 -4
  79. package/dist/client/bookings.mjs +22 -15
  80. package/dist/client/{boxStyleClassNames-CrE3TDpW.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -1
  81. package/dist/client/{carousel-CVUOatsY.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
  82. package/dist/client/{cart-DE0K6E0R.mjs → cart-CTC2oS3p.mjs} +3 -3
  83. package/dist/client/{cart.client-C23E6WQ5.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
  84. package/dist/client/{checkout-76cdHyPL.mjs → checkout-BeW1ufaH.mjs} +3 -3
  85. package/dist/client/{checkout.client-DJOzqb26.mjs → checkout.client-BeU32khQ.mjs} +1 -1
  86. package/dist/client/{checkoutUrls-CvIP5DCO.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
  87. package/dist/client/client.mjs +145 -21
  88. package/dist/client/{context-CNlesLfF.mjs → context-R9p5c8IH.mjs} +76 -58
  89. package/dist/client/{course-DHIrXqNT.mjs → course-CUFVJEAc.mjs} +2 -2
  90. package/dist/client/{creditProducts-KYMVIH3J.mjs → creditProducts-BQ1t1erI.mjs} +14 -61
  91. package/dist/client/{dateFormatting-B73Ll0s4.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
  92. package/dist/client/{demoPortalMagicLink-BVbLD4pi.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
  93. package/dist/client/display-4HYOb-AK.mjs +11844 -0
  94. package/dist/client/{enhanceHeaderSection-5GD5o4Mt.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
  95. package/dist/client/{event-details.client-D7Oz1q2L.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
  96. package/dist/client/{event-registration.client-zbuX36aA.mjs → event-registration.client-DWvSODTI.mjs} +176 -75
  97. package/dist/client/{eventCalendar-uZrksODt.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
  98. package/dist/client/{eventCombined-DxhvNAx8.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
  99. package/dist/client/{eventDetails-DCIH4BYG.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
  100. package/dist/client/{eventListing-B9KrnPvc.mjs → eventListing-B-bJOQUk.mjs} +4 -4
  101. package/dist/client/{eventRegistration-TjnURMKl.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
  102. package/dist/client/{form-CfqIAhfN.mjs → form-BbUUt784.mjs} +3 -3
  103. package/dist/client/{form.client-CL6fF0cW.mjs → form.client-BVlz-9_t.mjs} +4 -4
  104. package/dist/client/{form.parts-Bf-L66Gg.mjs → form.parts-TB4UIrML.mjs} +1 -1
  105. package/dist/client/{formatDate-Dp7POa9Y.mjs → formatDate-TDHhFjFN.mjs} +1 -1
  106. package/dist/client/gifting/client.mjs +5 -3
  107. package/dist/client/gifting-CbNSrp7C.mjs +28 -0
  108. package/dist/client/gifting.client-B__bGhFc.mjs +404 -0
  109. package/dist/client/gifting.parts-CTA1sDW6.mjs +86 -0
  110. package/dist/client/{headerSection-WVXtOcuW.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
  111. package/dist/client/{display-Cf_j5stk.mjs → lookSurfaces-BwiNdgMU.mjs} +2951 -14395
  112. package/dist/client/{newsletter-form.client-Bb7GAZpO.mjs → newsletter-form.client-B17WYHxZ.mjs} +7 -5
  113. package/dist/client/{newsletter-form.parts-BqOVRdIc.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +3 -3
  114. package/dist/client/{newsletterForm-DOVe-qY3.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
  115. package/dist/client/{noop-D5mFWXtN.mjs → noop-CaQxI-Js.mjs} +94 -36
  116. package/dist/client/portal/client.mjs +313 -148
  117. package/dist/client/{product-detail.client-CNzeFnFf.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
  118. package/dist/client/{product-list.client-LKpzC7pj.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
  119. package/dist/client/{productDetail-D2JNeEgx.mjs → productDetail-BgKmCwA8.mjs} +3 -3
  120. package/dist/client/{productList-DTgZXOEq.mjs → productList-C_wMKsYS.mjs} +3 -3
  121. package/dist/client/{propsDecoder-mpBQt2AT.mjs → propsDecoder-y3LvxaiG.mjs} +4 -3
  122. package/dist/client/{registry.server-DdTJyar2.mjs → registry.server-CIWYKz1V.mjs} +369 -246
  123. package/dist/client/rendering/client.mjs +25 -491
  124. package/dist/client/rendering/islands.mjs +1 -1
  125. package/dist/client/rendering.mjs +87 -21
  126. package/dist/client/{richText-coerce-C32cRQ03.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
  127. package/dist/client/{routeIslandApiConfig-8cfSgT0E.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
  128. package/dist/client/{shop-5LBhftWx.mjs → shop-CFbWlv_W.mjs} +3 -3
  129. package/dist/client/{shop-discount-apply.state-D0ifS6KX.mjs → shop-add-feedback-DvC2kP1K.mjs} +1 -78
  130. package/dist/client/{shop-commerce-DkValjZj.mjs → shop-commerce-C-I29eaA.mjs} +64 -32
  131. package/dist/client/{shop-commerce-store-BOmXFmk_.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
  132. package/dist/client/shop-discount-apply.state-DOm7vx0X.mjs +83 -0
  133. package/dist/client/{shop.client-BTtZqNmv.mjs → shop.client-GHTWUKD6.mjs} +56 -19
  134. package/dist/client/{shop.interactive-DNRqG4aX.mjs → shop.interactive-CxDJ8P2r.mjs} +113 -35
  135. package/dist/client/{shopShared-Nky6kPYr.mjs → shopShared-Be9QJJpT.mjs} +2 -2
  136. package/dist/client/{timetableModel-DZArznD_.mjs → timetableModel--R0zVzZO.mjs} +10 -10
  137. package/dist/client/{useAvailableSlots-CUVRD1nx.mjs → useAvailableSlots-BGu_2F50.mjs} +3 -3
  138. package/dist/client/{useDiscountCodeUi-d7viY_mu.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +32 -17
  139. package/dist/client/{useEventPagination-Da2JqxGC.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -6
  140. package/dist/client/{view-BvuYmQJ5.mjs → view-3foOzGWR.mjs} +3 -2
  141. package/dist/client/{view-D9ObkFtz.mjs → view-BbzH5MQb.mjs} +128 -32
  142. package/dist/preview-next/client/{PageSectionToolbar-DwxHT-2k.mjs → PageSectionToolbar-0xyUPWUB.mjs} +4 -4
  143. package/dist/preview-next/client/{PreviewEditorSidebar-D4SBxGU6.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +61 -55
  144. package/dist/preview-next/client/{PreviewEditorUI-D8mUct32.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
  145. package/dist/preview-next/client/{PreviewShell-L2AEdNUQ.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
  146. package/dist/preview-next/client/{SdkPreviewModeRuntime-bhVAU2D2.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +156 -143
  147. package/dist/preview-next/client/{previewAssistantSlot-Jpj_HDra.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +4535 -2913
  148. package/dist/preview-next/client/{previewChromeRoot-CYTDvx4u.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
  149. package/dist/preview-next/client/runtime.mjs +3 -3
  150. package/dist/preview-next/client/{sdk-runtime-CZHX6J_4.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
  151. package/dist/preview-next/client/{siteStyleAccess-DmGIG9Hk.mjs → siteStyleAccess-DbKozRSn.mjs} +527 -236
  152. package/dist/preview-next/client/{useAutosaveStatus-DQCyswQ-.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
  153. package/dist/preview-next/client/{useOpenBlockForSetup-LwE5yXvL.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +28 -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-BOuNcOcN.mjs → route-contract-BYezcMx5.mjs} +94 -12
  158. package/dist/server/{Block.shared-wfJfhs08.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
  159. package/dist/server/{ThemeScopeCore-BtrJNHTB.mjs → ThemeScopeCore-DFEM1a85.mjs} +16 -2
  160. package/dist/server/{bindings-P1CF2Gm6.mjs → bindings-VGgS6UvF.mjs} +13 -34
  161. package/dist/server/{client-CGtU5fHI.mjs → client-Bvag5OtW.mjs} +145 -22
  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-ChnkJSay.mjs → loadContent-CxASA3PE.mjs} +6 -9
  168. package/dist/server/{loadPage-DesHhgxj.mjs → loadPage-CQgde5DN.mjs} +2 -2
  169. package/dist/server/{lookMediaFrame-BBr0mkze.mjs → lookMediaFrame-CaH018pK.mjs} +24 -5
  170. package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
  171. package/dist/server/next.mjs +35 -9
  172. package/dist/server/{overrideResolution-DHEkHcZs.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
  173. package/dist/server/page-converter.mjs +1 -1
  174. package/dist/server/{pageRenderPlan-0jvm0RBk.mjs → pageRenderPlan-CfSnAkCO.mjs} +67 -40
  175. package/dist/server/{pageRuntimeSupport-8-f1Zr9e.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +7 -15
  176. package/dist/server/{pageShared-CuVFoV4z.mjs → pageShared-D23o5QgC.mjs} +1068 -891
  177. package/dist/server/{parseThemeForPersistence-Cwqb5pZx.mjs → parseThemeForPersistence-DOsfofCy.mjs} +1 -1
  178. package/dist/server/{prebuild-Bms_Y7wQ.mjs → prebuild-BuoXWT9y.mjs} +1 -1
  179. package/dist/server/prebuild.mjs +1 -1
  180. package/dist/server/{prefetchBlockData-5oC5kyHe.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
  181. package/dist/server/{registry-DmqxC8th.mjs → registry-CXRXsFSx.mjs} +19721 -19621
  182. package/dist/server/rendering/components/pageShared.mjs +1 -1
  183. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  184. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  185. package/dist/server/rendering/server.mjs +4 -4
  186. package/dist/server/rendering.mjs +7 -7
  187. package/dist/server/{resolveBlockData-EYogtwQc.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
  188. package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
  189. package/dist/server/{schema-CUDHMirj.mjs → schema-BpsqaSSU.mjs} +2 -2
  190. package/dist/server/server.mjs +3 -3
  191. package/dist/server/theme-bridge.mjs +1 -1
  192. package/dist/server/theme.mjs +2 -2
  193. package/dist/server/{validation-Bt_8IL1g.mjs → validation-CozQ7wE0.mjs} +4 -4
  194. package/dist/server/{version-DT_efohp.mjs → version-CgCWRFEY.mjs} +1 -1
  195. package/dist/styles/index.css +295 -37
  196. package/package.json +1 -1
  197. package/dist/client/useDiscountApply-BBnStWXU.mjs +0 -199
  198. package/dist/server/identity-DQD_8lNO.mjs +0 -6
@@ -1,34 +1,36 @@
1
1
  "use client";
2
- import { $ as resolveOfferingsRenderInput, $t as eventWeekGroupingContext, Bt as CardListContentPart, Cn as parseMailingListPlacementTargeting, Ct as eventListingBlockRuntime, D as publicGiftingOffersResponseSchema, Gt as MediaNodeServer, H as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, J as offeringRunLifecycle, Jt as getCardOrientation, Kt as EventQuickFacts, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroups, Qt as eventListWeekDays, Rt as catalogueEventCardProps, S as newsletterFormBlockRuntime, Sn as assessMailingListTargeting, St as buildEventListingInteractiveIslandProps, T as giftingBlockRuntime, Tn as DEFAULT_MAILING_LIST_TARGETING, U as buildOfferingsPreviewListing, W as groupOfferingRunsByCourse, X as readOfferingsGrouping, Xt as Grid, Y as offeringsListingFor, Yt as getContainerClass, Z as resolveOfferingsPreviewGroupCta, Zt as buildEventListWeek, _ as shopProductPresentation, _n as staticHeaderChromeRuntime, _t as eventCalendarBlockRuntime, a as buildShopInteractiveIslandProps, an as formatEventPriceDisplay, b as buildNewsletterFormInteractiveIslandProps, bn as splitSiteChromePlacementClasses, bt as recurringScheduleProjectionSchema, c as checkoutBlockRuntime, cn as normalizeEventScheduleScope, ct as occurrenceContextSchema, d as productDetailBlockRuntime, dn as normalizeEventSurfaceScope, dt as buildEventCombinedListingDisplay, fn as normalizeEventVenueId, ft as eventCombinedBlockRuntime, h as shopBlockRuntime, ht as buildEventCalendarListingDisplay, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, ln as normalizeEventStaffMemberId, mt as buildEventCalendarInteractiveIslandProps, n as buildCheckoutInteractiveIslandProps, nn as formatCoursePrice, o as cartBlockRuntime, on as formatEventStartingPrice, p as productListBlockRuntime, pn as resolveEventSelection, q as normalizeOfferingsPreviewItemLimit, r as buildProductDetailInteractiveIslandProps, rn as formatEventPrice, sn as normalizeEventCategoryIds, t as buildCartInteractiveIslandProps, un as normalizeEventSurfacePresets, ut as buildEventCombinedInteractiveIslandProps, v as publicProductsResponseSchema, w as buildGiftingInteractiveIslandProps, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, zt as listingEventCardProps } from "./shop.interactive-DNRqG4aX.mjs";
2
+ import { $ as resolveOfferingsPreviewGroups, $t as Grid, Ct as recurringScheduleProjectionSchema, D as publicGiftingOffersResponseSchema, Dn as parseMailingListPlacementTargeting, En as assessMailingListTargeting, Et as eventListingBlockRuntime, G as groupOfferingRunsByCourse, Ht as listingEventCardProps, J as normalizeOfferingsPreviewItemLimit, Jt as MediaNodeServer, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsPreviewGroupCta, Qt as getContainerClass, R as DEFAULT_GROUP_CTA, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Tt as buildEventListingInteractiveIslandProps, U as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Ut as CardListContentPart, Vt as catalogueEventCardProps, W as buildOfferingsPreviewListing, X as offeringsListingFor, Y as offeringRunLifecycle, Yt as EventQuickFacts, Z as readOfferingsGrouping, Zt as getCardOrientation, _ as shopProductPresentation, _n as resolveEventSelection, _t as buildEventCalendarInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as formatCoursePrice, b as buildNewsletterFormInteractiveIslandProps, bt as eventCalendarBlockRuntime, c as checkoutBlockRuntime, d as productDetailBlockRuntime, dn as normalizeEventCategoryIds, en as buildEventListWeek, et as resolveOfferingsRenderInput, fn as normalizeEventScheduleScope, gn as normalizeEventVenueId, h as shopBlockRuntime, hn as normalizeEventSurfaceScope, ht as eventCombinedBlockRuntime, i as buildProductListInteractiveIslandProps, k as formBlockRuntime, kn as DEFAULT_MAILING_LIST_TARGETING, ln as formatEventPriceDisplay, lt as occurrenceContextSchema, mn as normalizeEventSurfacePresets, mt as buildEventCombinedListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as eventWeekGroupingContext, o as cartBlockRuntime, p as productListBlockRuntime, pn as normalizeEventStaffMemberId, pt as buildEventCombinedInteractiveIslandProps, r as buildProductDetailInteractiveIslandProps, sn as formatEventPrice, t as buildCartInteractiveIslandProps, tn as eventListWeekDays, un as formatEventStartingPrice, v as publicProductsResponseSchema, vt as buildEventCalendarListingDisplay, w as buildGiftingInteractiveIslandProps, wn as splitSiteChromePlacementClasses, x as newsletterBlockSubmissionMessage, xn as staticHeaderChromeRuntime, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./shop.interactive-CxDJ8P2r.mjs";
3
3
  import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { $a as isBookableEvent, $r as formatEventCompactDateRail, Ac as sanitizeHref, Ba as normalizeEventRegistrationPageSurfaceSubject, Gr as buildCalendarViewport, Ha as resolveEventRegistrationScopedEvents, Jr as eventDateOptions, Rc as resolveWholeSeriesBookingPhase, Rr as asPartialObject, Sa as BLOCK_BUTTON_ROLE_OPTIONS, Xc as formatBookingPriceDisplay, Xo as compiledRuntimeStyleFieldNames, Xr as formatCalendarTitle, di as buildBookingFormInteractiveIslandProps, do as groupPublicEventsByRun, gc as cardVariantRoleValues, go as listItemPresentation, ii as formatEventTimeRange, il as resolvePricingOptionsPriceDisplay, jc as parseAspectRatioValue, kr as resolvePublicMediaUrl, li as resolveRuntimeEventDestination, oi as formatTime, pr as bookingPresentation, rc as arrangementSlotNames, rl as resolveExactOrFreePriceDisplay, si as groupEventsByDate, ti as formatEventHourLabel, vo as listLookSlot, vr as RichText, wa as isBlockButtonRole, yo as lookListPresentationSchemaShape, yr as ImagePresets } from "./display-Cf_j5stk.mjs";
5
- import { Bt as formatDate, C as normalizeEventCalendarDisplayMode$1, Ft as publicLocationSchema, It as toLocationCoordinates, Mt as normalizeLocationAddressText, Nt as parseLocationValue, O as arrangementModes, Pt as projectPublicLocation, Rt as trimmedStringOrNull, S as isEventCalendarListLayout, V as publicEventsArraySchema, Y as RichTextDocSchema, _ as eventCalendarListLayoutOptions, an as resolveBookingBusinessTimeZone, b as isEventCalendarDefaultView, ct as mediaTypeDiscriminants, it as runtimeMediaSchema, ln as toUtcIsoDateTimeString, o as publicMembershipProductCollectionSchema, ot as PUBLIC_FILE_FIELD_KINDS, p as calendarWindowPageSchema, s as publicPassProductCollectionSchema, st as isDisplayMediaKind, v as eventCalendarVariantMeaning, w as resolveEventCalendarReadPlan, x as isEventCalendarDisplayMode } from "./noop-D5mFWXtN.mjs";
6
- import { A as assertNever$1 } from "./creditProducts-KYMVIH3J.mjs";
4
+ import { Ao as parseAspectRatioValue, Fr as resolvePublicMediaUrl, Ho as resolveWholeSeriesBookingPhase, Ma as BLOCK_BUTTON_ROLE_OPTIONS, Pa as isBlockButtonRole, Qa as resolveEventRegistrationScopedEvents, Tr as ImagePresets, Wr as asPartialObject, Xa as normalizeEventRegistrationPageSurfaceSubject, _i as groupEventsByDate, cs as resolveExactOrFreePriceDisplay, di as formatEventHourLabel, ei as formatEventLocation, gi as formatTime, ii as eventDateOptions, ko as sanitizeHref, li as formatEventCompactDateRail, lo as isBookableEvent, ls as resolvePricingOptionsPriceDisplay, mi as formatEventTimeRange, oi as formatCalendarTitle, ti as buildCalendarViewport, ts as formatBookingPriceDisplay, wr as RichText, xi as buildBookingFormInteractiveIslandProps, xo as groupPublicEventsByRun, yi as resolveRuntimeEventDestination, yr as bookingPresentation } from "./display-4HYOb-AK.mjs";
5
+ import { A as normalizeEventCalendarDisplayMode$1, Bt as projectPublicLocation, D as isEventCalendarDefaultView, F as arrangementModes, Ht as toLocationCoordinates, J as publicEventsArraySchema, Kt as formatDate, O as isEventCalendarDisplayMode, Rt as normalizeLocationAddressText, T as eventCalendarVariantMeaning, Vt as publicLocationSchema, Wt as trimmedStringOrNull, b as calendarWindowPageSchema, dn as resolveBookingBusinessTimeZone, dt as runtimeMediaSchema, hn as toUtcIsoDateTimeString, ht as mediaTypeDiscriminants, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, m as publicPassProductCollectionSchema, mt as isDisplayMediaKind, nt as RichTextDocSchema, p as publicMembershipProductCollectionSchema, pt as PUBLIC_FILE_FIELD_KINDS, w as eventCalendarListLayoutOptions, zt as parseLocationValue } from "./noop-CaQxI-Js.mjs";
6
+ import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
7
7
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
8
8
  import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
9
- import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-DZArznD_.mjs";
9
+ import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel--R0zVzZO.mjs";
10
10
  import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
11
11
  import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, K as rgbColorValue, q as textColorStyle, s as serializeSurfaceTree } from "./accessibleSurfaces-DN8it_Cx.mjs";
12
12
  import { h as SYSTEM_BLOCK_KINDS } from "./types-DjWUR_O6.mjs";
13
- import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-CrE3TDpW.mjs";
13
+ import { N as compiledRuntimeStyleFieldNames, an as cardVariantRoleValues, i as lookListPresentationSchemaShape, qt as arrangementSlotNames, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.mjs";
14
+ import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles } from "./boxStyleClassNames-B_hcuT06.mjs";
14
15
  import { S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, g as FileArchiveIcon, i as ThemedButtonLink, l as SpinnerNode, p as CirclePlusIcon, r as ThemedButton, s as getIconComponent, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-DuaYtnvG.mjs";
15
- import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-D9ObkFtz.mjs";
16
- import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-DHIrXqNT.mjs";
17
- import { i as SvgNode, o as formatEventLocation } from "./MapDrawingSvg-DCIwlON6.mjs";
18
- import { n as CardListItems, r as EventItem } from "./EventItem-WeUipfIP.mjs";
19
- import { c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-Az1-TIEI.mjs";
20
- import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-DKFImKOx.mjs";
16
+ import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-BbzH5MQb.mjs";
17
+ import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-CUFVJEAc.mjs";
18
+ import { n as CardListItems, r as EventItem } from "./EventItem-B0WjGXsH.mjs";
19
+ import { c as MonthLookView, d as buildMonthDay, f as resolveMonthSelectedDay, i as WeekAgendaView, o as CombinedLookFrame, u as CalendarDayHeaders } from "./CalendarNavigationChevron-C6CSVfEB.mjs";
20
+ import { i as SvgNode } from "./MapDrawingSvg-BfsVyPvB.mjs";
21
+ import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BEH4UbSL.mjs";
21
22
  import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
22
23
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
23
- import { t as BookingPanelArrangement } from "./BookingPanelArrangement-C2_hFT6K.mjs";
24
+ import { t as BookingPanelArrangement } from "./BookingPanelArrangement-BShQSial.mjs";
24
25
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
25
26
  import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
26
- import { t as coerceRichTextDoc } from "./richText-coerce-C32cRQ03.mjs";
27
- import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BvuYmQJ5.mjs";
28
- import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D3sbAeDo.mjs";
29
- import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CP6zrwkl.mjs";
30
- import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Bf-L66Gg.mjs";
31
- import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-BqOVRdIc.mjs";
27
+ import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.mjs";
28
+ import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-3foOzGWR.mjs";
29
+ import { a as giftingEyebrow, n as GiftCardAmounts, o as giftingSlot, r as GiftingPanelHead } from "./gifting.parts-CTA1sDW6.mjs";
30
+ import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-8Ij7vuxY.mjs";
31
+ import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-Bb7rPtSq.mjs";
32
+ import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-TB4UIrML.mjs";
33
+ import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DN9wD1ZG.mjs";
32
34
  import React, { forwardRef } from "react";
33
35
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
34
36
  import { z } from "zod";
@@ -232,6 +234,21 @@ const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
232
234
  addressWithBooking: z.boolean().optional()
233
235
  }).readonly();
234
236
  //#endregion
237
+ //#region ../site-contracts/src/siteData/mapLocation.ts
238
+ /** Site and preview authority belong to transport, never to the selected source. */
239
+ const publicMapLocationParamsSchema = z.discriminatedUnion("source", [z.object({
240
+ source: z.literal("venue"),
241
+ venueId: z.string().uuid()
242
+ }), z.object({ source: z.literal("business_address") })]);
243
+ const publicMapLocationResultSchema = z.discriminatedUnion("kind", [
244
+ z.object({
245
+ kind: z.literal("shown"),
246
+ location: publicVenueMapLocationSchema
247
+ }),
248
+ z.object({ kind: z.literal("hidden") }),
249
+ z.object({ kind: z.literal("not_found") })
250
+ ]);
251
+ //#endregion
235
252
  //#region ../core/src/links.ts
236
253
  const nullableString = z.union([z.string().min(1), z.null()]);
237
254
  const RESOLVED_INTERNAL_LINK_ENTITY_TYPES = [
@@ -2163,6 +2180,17 @@ const LOCATION_MAP_LIMITS = {
2163
2180
  max: 600
2164
2181
  }
2165
2182
  };
2183
+ /** Each source has its own loader, so a venue map never asks for the business address. */
2184
+ const LOCATION_MAP_LOADER_KEYS = {
2185
+ venue: "venueMapLocation",
2186
+ business_address: "businessMapLocation"
2187
+ };
2188
+ /** Loader data crosses transport boundaries, so anything unrecognised counts as not loaded. */
2189
+ function parseLocationMapLoaderResult(value) {
2190
+ if (value === void 0 || value === null) return void 0;
2191
+ const parsed = publicMapLocationResultSchema.safeParse(value);
2192
+ return parsed.success ? parsed.data : void 0;
2193
+ }
2166
2194
  function normalizeNumber(value, fallback) {
2167
2195
  if (typeof value === "number" && Number.isFinite(value)) return value;
2168
2196
  if (typeof value === "string") {
@@ -2198,14 +2226,14 @@ function normalizeLocationMapSource(value) {
2198
2226
  function resolveLocationMapLocation(input) {
2199
2227
  const source = normalizeLocationMapSource(input.locationSource);
2200
2228
  if (source === "business_address") {
2201
- const locationValue = normalizeLocationMapValue(input.businessAddress, input.siteCountry);
2229
+ const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
2202
2230
  return locationValue ? {
2203
2231
  kind: "business_address",
2204
2232
  locationValue
2205
2233
  } : {
2206
2234
  kind: "unresolved",
2207
2235
  source,
2208
- reason: "missing_business_address"
2236
+ reason: unresolvedLoadReason(input.loaded, "missing_business_address")
2209
2237
  };
2210
2238
  }
2211
2239
  if (source === "venue") {
@@ -2215,15 +2243,16 @@ function resolveLocationMapLocation(input) {
2215
2243
  source,
2216
2244
  reason: "missing_venue_id"
2217
2245
  };
2218
- const locationValue = input.venuesById ? normalizeLocationMapValue(input.venuesById[venueId] ?? null, input.siteCountry) : null;
2246
+ const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
2219
2247
  return locationValue ? {
2220
2248
  kind: "venue",
2221
2249
  venueId,
2222
- locationValue
2250
+ locationValue,
2251
+ disclosure: loadedDisclosure(input.loaded)
2223
2252
  } : {
2224
2253
  kind: "unresolved",
2225
2254
  source,
2226
- reason: "missing_venue_location"
2255
+ reason: venueLoadReason(input.loaded)
2227
2256
  };
2228
2257
  }
2229
2258
  const locationValue = normalizeLocationMapValue(input.location, input.siteCountry);
@@ -2236,6 +2265,26 @@ function resolveLocationMapLocation(input) {
2236
2265
  reason: "missing_custom_location"
2237
2266
  };
2238
2267
  }
2268
+ function loadedLocationValue(loaded, siteCountry) {
2269
+ return loaded?.kind === "shown" ? normalizeLocationMapValue(loaded.location, siteCountry) : null;
2270
+ }
2271
+ function loadedDisclosure(loaded) {
2272
+ return loaded?.kind === "shown" && loaded.location.addressWithBooking ? "area" : "full";
2273
+ }
2274
+ function unresolvedLoadReason(loaded, missing) {
2275
+ switch (loaded?.kind) {
2276
+ case "hidden": return "hidden_business_address";
2277
+ case "pending": return "location_loading";
2278
+ case "failed": return "location_load_failed";
2279
+ case "shown":
2280
+ case "not_found":
2281
+ case void 0: return missing;
2282
+ }
2283
+ }
2284
+ /** Only the business address can be hidden; a venue that says so is simply unavailable. */
2285
+ function venueLoadReason(loaded) {
2286
+ return loaded?.kind === "hidden" ? "missing_venue_location" : unresolvedLoadReason(loaded, "missing_venue_location");
2287
+ }
2239
2288
  function describeUnresolvedLocationMapLocation(resolvedLocation) {
2240
2289
  if (resolvedLocation.kind !== "unresolved") return null;
2241
2290
  switch (resolvedLocation.reason) {
@@ -2243,11 +2292,20 @@ function describeUnresolvedLocationMapLocation(resolvedLocation) {
2243
2292
  case "missing_venue_id": return "Choose a venue to show this map.";
2244
2293
  case "missing_venue_location": return "The selected venue does not have location details yet.";
2245
2294
  case "missing_custom_location": return "Location details coming soon.";
2295
+ case "hidden_business_address": return "This map is hidden because your business address is hidden.";
2296
+ case "location_loading": return "Loading this map's location…";
2297
+ case "location_load_failed": return "We couldn't load this map's location. Reload the preview to try again.";
2246
2298
  }
2247
2299
  }
2248
2300
  function normalizeLocationMapProps(input) {
2249
2301
  const parsedHours = parseWeeklyOpeningHours(input.openingHours);
2250
- const resolvedLocation = resolveLocationMapLocation(input);
2302
+ const resolvedLocation = resolveLocationMapLocation({
2303
+ location: input.location,
2304
+ siteCountry: input.siteCountry,
2305
+ locationSource: input.locationSource,
2306
+ venueId: input.venueId,
2307
+ loaded: parseLocationMapLoaderResult(normalizeLocationMapSource(input.locationSource) === "venue" ? input.venueMapLocation : input.businessMapLocation)
2308
+ });
2251
2309
  const locationValue = resolvedLocation.kind === "unresolved" ? null : resolvedLocation.locationValue;
2252
2310
  const directionsLabel = normalizeLocationAddressText(input.directionsLabel) ?? LOCATION_MAP_DEFAULTS.directionsLabel;
2253
2311
  return {
@@ -2339,108 +2397,6 @@ function pageTemplateFromEntry(entry) {
2339
2397
  return entry?._contentTypeSlug === "product" ? { kind: "product" } : { kind: "page" };
2340
2398
  }
2341
2399
  //#endregion
2342
- //#region ../blocks/src/system/blocks/readiness.ts
2343
- const newsletterReadiness = {
2344
- needs: ["mailingList"],
2345
- assess: (content, facts, { interaction }) => {
2346
- if (interaction?.kind === "demo") return ready;
2347
- if (facts.mailingList.kind === "Unavailable") return unknownReadiness;
2348
- const targeting = parseMailingListPlacementTargeting(content.targeting ?? { mode: "default" });
2349
- if (!targeting.ok) return unknownReadiness;
2350
- const assessment = assessMailingListTargeting(facts.mailingList.value, targeting.value);
2351
- return assessment.tag === "available" ? ready : assessment.reason === "setup_missing" ? needsSetup("mailing_setup", {
2352
- kind: "manage",
2353
- target: "mailingLists"
2354
- }) : needsSetup("mailing_destination", {
2355
- kind: "field",
2356
- path: "targeting"
2357
- });
2358
- }
2359
- };
2360
- const formReadiness = {
2361
- needs: ["forms"],
2362
- assess: (content, facts) => {
2363
- const selection = chosenString(content.formSlug);
2364
- if (!selection) return needsSetup("form_not_chosen", {
2365
- kind: "field",
2366
- path: "formSlug"
2367
- });
2368
- const form = facts.forms.get(selection);
2369
- if (!form || form.kind === "Unavailable") return unknownReadiness;
2370
- return form.value ? ready : needsSetup("form_deleted", {
2371
- kind: "field",
2372
- path: "formSlug"
2373
- });
2374
- }
2375
- };
2376
- const testimonialsReadiness = {
2377
- needs: ["testimonials"],
2378
- assess: (_content, facts) => {
2379
- if (facts.testimonials.kind === "Unavailable") return unknownReadiness;
2380
- const { count, total } = facts.testimonials.value;
2381
- if (count > 0) return ready;
2382
- return needsSetup(total === "unknown" ? "testimonials_empty" : total > 0 ? "testimonials_unpublished" : "testimonials_none", {
2383
- kind: "manage",
2384
- target: "testimonials"
2385
- });
2386
- }
2387
- };
2388
- const teamReadiness = {
2389
- needs: ["team"],
2390
- assess: (content, facts) => {
2391
- if (content.source !== "site_staff") return Array.isArray(content.members) && content.members.length > 0 ? ready : needsSetup("members_empty", {
2392
- kind: "field",
2393
- path: "members"
2394
- });
2395
- if (facts.team.kind === "Unavailable") return unknownReadiness;
2396
- return facts.team.value > 0 ? ready : needsSetup("team_empty", {
2397
- kind: "manage",
2398
- target: "team"
2399
- });
2400
- }
2401
- };
2402
- const productReadiness = {
2403
- needs: ["template", "products"],
2404
- assess: (content, facts) => {
2405
- if (facts.template.kind === "Unavailable") return unknownReadiness;
2406
- if (facts.template.value.kind === "product") return ready;
2407
- const selection = chosenString(content.productSlug);
2408
- if (!selection) return needsSetup("product_not_chosen", {
2409
- kind: "field",
2410
- path: "productSlug"
2411
- });
2412
- const product = facts.products.get(selection);
2413
- if (!product || product.kind === "Unavailable") return unknownReadiness;
2414
- return product.value ? ready : needsSetup("product_gone", {
2415
- kind: "field",
2416
- path: "productSlug"
2417
- });
2418
- }
2419
- };
2420
- const galleryReadiness = {
2421
- needs: [],
2422
- assess: (content) => Array.isArray(content.images) && content.images.length > 0 ? ready : needsSetup("gallery_empty", {
2423
- kind: "field",
2424
- path: "images"
2425
- })
2426
- };
2427
- function chosenString(value) {
2428
- return typeof value === "string" && value.trim() ? value.trim() : null;
2429
- }
2430
- /** Absent settings retain the published behavior of existing blocks. */
2431
- const eventsReadiness = {
2432
- needs: ["events"],
2433
- assess: (content, facts, { blockId }) => {
2434
- if (content.emptyBehavior !== "hide") return ready;
2435
- const fact = blockId === null ? void 0 : facts.events.get(blockId);
2436
- if (!fact || fact.kind === "Unavailable") return unknownReadiness;
2437
- return fact.value ? ready : hiddenByChoice("events_empty", {
2438
- kind: "field",
2439
- path: "emptyBehavior"
2440
- });
2441
- }
2442
- };
2443
- //#endregion
2444
2400
  //#region ../blocks/src/system/blocks/events/shared/eventScope.ts
2445
2401
  /** Content fields that narrow a discovery (not hand-picked) event section. */
2446
2402
  const eventDiscoveryFilterKeys = [
@@ -2521,7 +2477,7 @@ const scopeParams = {
2521
2477
  } },
2522
2478
  ...eventScopeLoaderParams
2523
2479
  };
2524
- /** Combined renders two jobs; calendar-only variants never pay for the list seed. */
2480
+ /** Each mode reads only what it paints first; see resolveEventCalendarReadPlan. */
2525
2481
  const eventCalendarDataLoaders = {
2526
2482
  schedule: {
2527
2483
  endpoint: "listPublicRecurringSchedule",
@@ -2597,6 +2553,15 @@ const eventCalendarDataLoaders = {
2597
2553
  //#region ../blocks/src/system/blocks/events/eventReadiness.ts
2598
2554
  const eventReadinessResultSchema = z.union([z.array(z.unknown()), recurringScheduleProjectionSchema]).transform((result) => Array.isArray(result) ? result.length > 0 : result.items.length > 0);
2599
2555
  const eventReadinessQueryKeys = ["limit", ...eventScopeQueryKeys];
2556
+ /** A signup that stands in for events: shown only while the events it names have no dates coming up. */
2557
+ const SIGNUP_SHOWS_WHEN_NOTHING_COMING_UP = "nothing-coming-up";
2558
+ function showsWhenNothingComingUp(content) {
2559
+ return content.showWhen === SIGNUP_SHOWS_WHEN_NOTHING_COMING_UP;
2560
+ }
2561
+ /** Whether a block's visibility depends on the existence of events. Both fact producers ask this. */
2562
+ function blockChecksForEvents(content) {
2563
+ return content.emptyBehavior === "hide" || showsWhenNothingComingUp(content);
2564
+ }
2600
2565
  function eventReadinessLoaderKey(content) {
2601
2566
  return resolveEventCalendarReadPlan(content).mode === "week" ? "schedule" : "readinessEvents";
2602
2567
  }
@@ -2611,7 +2576,10 @@ function eventReadinessQuery(content) {
2611
2576
  };
2612
2577
  return {
2613
2578
  limit: "1",
2614
- ...eventScopeQuery(resolveEventScope(content))
2579
+ ...eventScopeQuery(resolveEventScope(showsWhenNothingComingUp(content) ? {
2580
+ ...content,
2581
+ eventSelection: "selected"
2582
+ } : content))
2615
2583
  };
2616
2584
  }
2617
2585
  /** A one-row existence read shares the public event selection and stage contracts. */
@@ -2647,6 +2615,118 @@ function normalizeEventEmptyBehavior(content) {
2647
2615
  };
2648
2616
  }
2649
2617
  //#endregion
2618
+ //#region ../blocks/src/system/blocks/readiness.ts
2619
+ const newsletterReadiness = {
2620
+ needs: ["mailingList", "events"],
2621
+ assess: (content, facts, { interaction, blockId }) => {
2622
+ if (interaction?.kind === "demo") return ready;
2623
+ if (facts.mailingList.kind === "Unavailable") return unknownReadiness;
2624
+ const targeting = parseMailingListPlacementTargeting(content.targeting ?? { mode: "default" });
2625
+ if (!targeting.ok) return unknownReadiness;
2626
+ const assessment = assessMailingListTargeting(facts.mailingList.value, targeting.value);
2627
+ return assessment.tag === "available" ? signupStandInReadiness(content, facts.events, blockId) : assessment.reason === "setup_missing" ? needsSetup("mailing_setup", {
2628
+ kind: "manage",
2629
+ target: "mailingLists"
2630
+ }) : needsSetup("mailing_destination", {
2631
+ kind: "field",
2632
+ path: "targeting"
2633
+ });
2634
+ }
2635
+ };
2636
+ /** Once its events have dates, a stand-in signup steps aside. If the check can't run, showing the signup is the safe side. */
2637
+ function signupStandInReadiness(content, events, blockId) {
2638
+ if (content.showWhen !== "nothing-coming-up") return ready;
2639
+ const fact = blockId === null ? void 0 : events.get(blockId);
2640
+ if (!fact || fact.kind === "Unavailable") return unknownReadiness;
2641
+ return fact.value ? hiddenByChoice("events_coming_up", {
2642
+ kind: "field",
2643
+ path: "showWhen"
2644
+ }) : ready;
2645
+ }
2646
+ const formReadiness = {
2647
+ needs: ["forms"],
2648
+ assess: (content, facts) => {
2649
+ const selection = chosenString(content.formSlug);
2650
+ if (!selection) return needsSetup("form_not_chosen", {
2651
+ kind: "field",
2652
+ path: "formSlug"
2653
+ });
2654
+ const form = facts.forms.get(selection);
2655
+ if (!form || form.kind === "Unavailable") return unknownReadiness;
2656
+ return form.value ? ready : needsSetup("form_deleted", {
2657
+ kind: "field",
2658
+ path: "formSlug"
2659
+ });
2660
+ }
2661
+ };
2662
+ const testimonialsReadiness = {
2663
+ needs: ["testimonials"],
2664
+ assess: (_content, facts) => {
2665
+ if (facts.testimonials.kind === "Unavailable") return unknownReadiness;
2666
+ const { count, total } = facts.testimonials.value;
2667
+ if (count > 0) return ready;
2668
+ return needsSetup(total === "unknown" ? "testimonials_empty" : total > 0 ? "testimonials_unpublished" : "testimonials_none", {
2669
+ kind: "manage",
2670
+ target: "testimonials"
2671
+ });
2672
+ }
2673
+ };
2674
+ const teamReadiness = {
2675
+ needs: ["team"],
2676
+ assess: (content, facts) => {
2677
+ if (content.source !== "site_staff") return Array.isArray(content.members) && content.members.length > 0 ? ready : needsSetup("members_empty", {
2678
+ kind: "field",
2679
+ path: "members"
2680
+ });
2681
+ if (facts.team.kind === "Unavailable") return unknownReadiness;
2682
+ return facts.team.value > 0 ? ready : needsSetup("team_empty", {
2683
+ kind: "manage",
2684
+ target: "team"
2685
+ });
2686
+ }
2687
+ };
2688
+ const productReadiness = {
2689
+ needs: ["template", "products"],
2690
+ assess: (content, facts) => {
2691
+ if (facts.template.kind === "Unavailable") return unknownReadiness;
2692
+ if (facts.template.value.kind === "product") return ready;
2693
+ const selection = chosenString(content.productSlug);
2694
+ if (!selection) return needsSetup("product_not_chosen", {
2695
+ kind: "field",
2696
+ path: "productSlug"
2697
+ });
2698
+ const product = facts.products.get(selection);
2699
+ if (!product || product.kind === "Unavailable") return unknownReadiness;
2700
+ return product.value ? ready : needsSetup("product_gone", {
2701
+ kind: "field",
2702
+ path: "productSlug"
2703
+ });
2704
+ }
2705
+ };
2706
+ const galleryReadiness = {
2707
+ needs: [],
2708
+ assess: (content) => Array.isArray(content.images) && content.images.length > 0 ? ready : needsSetup("gallery_empty", {
2709
+ kind: "field",
2710
+ path: "images"
2711
+ })
2712
+ };
2713
+ function chosenString(value) {
2714
+ return typeof value === "string" && value.trim() ? value.trim() : null;
2715
+ }
2716
+ /** Absent settings retain the published behavior of existing blocks. */
2717
+ const eventsReadiness = {
2718
+ needs: ["events"],
2719
+ assess: (content, facts, { blockId }) => {
2720
+ if (content.emptyBehavior !== "hide") return ready;
2721
+ const fact = blockId === null ? void 0 : facts.events.get(blockId);
2722
+ if (!fact || fact.kind === "Unavailable") return unknownReadiness;
2723
+ return fact.value ? ready : hiddenByChoice("events_empty", {
2724
+ kind: "field",
2725
+ path: "emptyBehavior"
2726
+ });
2727
+ }
2728
+ };
2729
+ //#endregion
2650
2730
  //#region ../blocks/src/system/manifest/augmentManifest.ts
2651
2731
  /**
2652
2732
  * Augments a block manifest with synthetic fields and other transformations.
@@ -4261,6 +4341,7 @@ const newsletterFormFragment = defineFragment({
4261
4341
  from: "targeting",
4262
4342
  fallback: { mode: "default" }
4263
4343
  } },
4344
+ topicsQuestion: { $bind: { from: "topicsQuestion" } },
4264
4345
  mailingList: { $bind: { from: "$root.mailingList" } },
4265
4346
  buttonVariant: { $bind: {
4266
4347
  from: "buttonVariant",
@@ -6521,9 +6602,11 @@ function buildOfferingsCatalogueListing(input) {
6521
6602
  reason: "failed"
6522
6603
  };
6523
6604
  const events = input.events;
6524
- const selected = resolveOfferingsPreviewGroups({ presets: input.presets }).map((group) => ({
6605
+ const named = resolveOfferingsPreviewGroups({ presets: input.presets });
6606
+ const others = events.filter((event) => !named.some((group) => matchesGroup(group, event)));
6607
+ const selected = (others.length > 0 ? [...named, otherEventsGroup(named.length > 0)] : named).map((group) => ({
6525
6608
  group,
6526
- items: events.filter((event) => matchesGroup(group, event)).map((event) => ({
6609
+ items: (group.source.kind === "otherEvents" ? others : events.filter((event) => matchesGroup(group, event))).map((event) => ({
6527
6610
  kind: "event",
6528
6611
  event
6529
6612
  }))
@@ -6556,9 +6639,28 @@ function countListedOfferings(listing) {
6556
6639
  default: return assertNever$1(listing);
6557
6640
  }
6558
6641
  }
6642
+ /**
6643
+ * Everything live that no named group claims, so a publicly listed event is
6644
+ * always on the page: the "Other events" category, or a type the site has
6645
+ * since stopped offering. It comes from the event's own type rather than from
6646
+ * page content, so existing sites get it without being edited.
6647
+ */
6648
+ function otherEventsGroup(besideNamedGroups) {
6649
+ return {
6650
+ source: { kind: "otherEvents" },
6651
+ sourceKey: "otherEvents",
6652
+ singularLabel: "Event",
6653
+ title: besideNamedGroups ? "Other events" : "Events",
6654
+ intro: null,
6655
+ hidden: false,
6656
+ presentation: "compact-list",
6657
+ cta: DEFAULT_GROUP_CTA
6658
+ };
6659
+ }
6559
6660
  function matchesGroup(group, event) {
6560
6661
  const source = group.source;
6561
6662
  switch (source.kind) {
6663
+ case "otherEvents": return false;
6562
6664
  case "eventPreset": return event.bookingScope === "single_occurrence" && event.eventPreset === source.preset;
6563
6665
  case "wholeSeries": return event.bookingScope === "whole_series";
6564
6666
  default: return assertNever$1(source);
@@ -7517,6 +7619,9 @@ const giftingBlockDefinition = {
7517
7619
  from: "content.successMessage",
7518
7620
  fallback: "Thanks. Your purchase is complete and your gift will be sent shortly."
7519
7621
  } },
7622
+ siteTerms: { $bind: { from: "$root.siteTerms" } },
7623
+ lookSlots: { $bind: { from: "content._lookSlots" } },
7624
+ surfacePresentation: { $bind: { from: "content._effectiveLook.surfacePresentation" } },
7520
7625
  offers: { $bind: { from: "data.offers" } }
7521
7626
  }))], { gap: "lg" })
7522
7627
  })]
@@ -7525,10 +7630,7 @@ const giftingBlockDefinition = {
7525
7630
  dataSchemas: { offers: publicGiftingOffersResponseSchema.optional() },
7526
7631
  dataLoaders: { offers: {
7527
7632
  endpoint: "listPublicGiftingOffers",
7528
- params: {
7529
- siteTerms: { $bind: { from: "$root.siteTerms" } },
7530
- siteId: { $bind: { from: "$root.siteId" } }
7531
- },
7633
+ params: { siteId: { $bind: { from: "$root.siteId" } } },
7532
7634
  mode: "server"
7533
7635
  } }
7534
7636
  };
@@ -7600,15 +7702,60 @@ const newsletterSignupManifest = createBlockManifest({
7600
7702
  fragment: newsletterFormFragment,
7601
7703
  fieldPriority: 1
7602
7704
  }],
7603
- additionalFields: [{
7604
- id: "archFrame",
7605
- type: "boolean",
7606
- label: "Arch frame",
7607
- ui: {
7608
- intent: "display",
7609
- hidden: true
7610
- }
7611
- }],
7705
+ additionalFields: [
7706
+ {
7707
+ id: "archFrame",
7708
+ type: "boolean",
7709
+ label: "Arch frame",
7710
+ ui: {
7711
+ intent: "display",
7712
+ hidden: true
7713
+ }
7714
+ },
7715
+ {
7716
+ id: "topicsQuestion",
7717
+ type: "text",
7718
+ label: "Question above the topics",
7719
+ description: "Used when people choose their own topics. Leave it empty for \"What would you like to hear about?\"",
7720
+ required: false,
7721
+ multiline: false,
7722
+ maxLength: 80,
7723
+ ui: { intent: "content" }
7724
+ },
7725
+ {
7726
+ id: "showWhen",
7727
+ type: "select",
7728
+ label: "When to show this",
7729
+ required: false,
7730
+ multiple: false,
7731
+ defaultValue: "always",
7732
+ options: [{
7733
+ value: "always",
7734
+ label: "Always"
7735
+ }, {
7736
+ value: SIGNUP_SHOWS_WHEN_NOTHING_COMING_UP,
7737
+ label: "Only when an event has no dates coming up"
7738
+ }],
7739
+ ui: { intent: "behavior" }
7740
+ },
7741
+ createSiteOptionSelectField({
7742
+ id: "selectedEventSeriesIds",
7743
+ label: "Which events",
7744
+ description: "This signup shows until any of these has a date coming up, then comes back once the dates have passed.",
7745
+ required: false,
7746
+ multiple: true,
7747
+ defaultValue: [],
7748
+ optionSource: "eventSeries",
7749
+ ui: {
7750
+ intent: "behavior",
7751
+ searchThreshold: 1,
7752
+ visibleWhen: {
7753
+ field: "showWhen",
7754
+ equals: SIGNUP_SHOWS_WHEN_NOTHING_COMING_UP
7755
+ }
7756
+ }
7757
+ })
7758
+ ],
7612
7759
  layout: stackedLayout,
7613
7760
  variants: {
7614
7761
  arch: archLayout,
@@ -7671,6 +7818,7 @@ const newsletterSignupBlockDefinition = {
7671
7818
  fieldIds: ["targeting"],
7672
7819
  normalize: normalizeMailingListBlockContent
7673
7820
  },
7821
+ dataLoaders: { readinessEvents: eventReadinessLoader },
7674
7822
  runtime: newsletterFormBlockRuntime
7675
7823
  };
7676
7824
  //#endregion
@@ -10718,119 +10866,91 @@ function CheckoutSSR({ blockId, siteId, apiBaseUrl, stage, demoEmailSuppressed,
10718
10866
  }
10719
10867
  //#endregion
10720
10868
  //#region ../blocks/src/system/runtime/nodes/gifting.server.tsx
10869
+ /** What shows until the island takes over: the same panel, with the details form still closed. */
10721
10870
  function GiftingSSR({ blockId, ...rest }) {
10722
10871
  const islandProps = buildGiftingInteractiveIslandProps(rest);
10723
- const offers = islandProps.render.hydration.offers;
10724
- const hasOffers = Boolean((offers?.giftCards.length ?? 0) > 0 || (offers?.vouchers.length ?? 0) > 0);
10872
+ const { display, hydration } = islandProps.render;
10873
+ const offers = hydration.offers;
10874
+ const giftCards = offers?.giftCards ?? [];
10875
+ const vouchers = offers?.vouchers ?? [];
10876
+ const hasOffers = giftCards.length > 0 || vouchers.length > 0;
10877
+ const eyebrow = giftingEyebrow(offers, {
10878
+ giftCards: display.giftCardsHeading,
10879
+ vouchers: display.vouchersHeading
10880
+ });
10725
10881
  return /* @__PURE__ */ jsx(IslandRoot, {
10726
10882
  kind: "gifting",
10727
10883
  id: blockId,
10728
10884
  as: "section",
10729
10885
  attributes: {
10730
10886
  className: rest.className ?? void 0,
10731
- "data-block": "gifting",
10732
- style: { color: "rgb(var(--tb-text, 17 24 39))" }
10887
+ "data-block": "gifting"
10733
10888
  },
10734
10889
  value: islandProps,
10735
10890
  children: /* @__PURE__ */ jsxs("div", {
10736
- className: "rb-grid",
10737
- style: { gap: "1.5rem" },
10738
- children: [/* @__PURE__ */ jsxs("div", {
10739
- className: "rb-grid",
10740
- style: { gap: "0.5rem" },
10741
- children: [/* @__PURE__ */ jsx("h2", {
10742
- style: {
10743
- fontSize: "clamp(1.75rem, 3vw, 2.5rem)",
10744
- fontWeight: 700,
10745
- margin: 0
10746
- },
10747
- children: islandProps.render.display.heading
10748
- }), islandProps.render.display.intro ? /* @__PURE__ */ jsx("p", {
10749
- style: {
10750
- margin: 0,
10751
- color: "rgb(var(--tb-text, 17 24 39) / 0.72)"
10752
- },
10753
- children: islandProps.render.display.intro
10754
- }) : null]
10891
+ className: "gifting-panel",
10892
+ ...giftingSlot(display, "panel"),
10893
+ children: [/* @__PURE__ */ jsx(GiftingPanelHead, {
10894
+ eyebrow,
10895
+ heading: display.heading,
10896
+ intro: display.intro,
10897
+ look: display
10755
10898
  }), hasOffers ? /* @__PURE__ */ jsxs("div", {
10756
- className: "rb-grid",
10757
- style: { gap: "1.5rem" },
10758
- children: [(offers?.giftCards.length ?? 0) > 0 ? /* @__PURE__ */ jsxs("div", {
10759
- className: "rb-grid",
10760
- style: { gap: "1rem" },
10761
- children: [/* @__PURE__ */ jsx("h3", {
10762
- style: {
10763
- margin: 0,
10764
- fontSize: "1.25rem",
10765
- fontWeight: 700
10766
- },
10767
- children: islandProps.render.display.giftCardsHeading
10768
- }), /* @__PURE__ */ jsx("div", {
10769
- className: "rb-grid",
10770
- style: { gap: "1rem" },
10771
- children: offers?.giftCards.map((offer) => /* @__PURE__ */ jsxs("article", {
10772
- style: {
10773
- border: "1px solid rgb(var(--tb-text, 17 24 39) / 0.12)",
10774
- borderRadius: "1rem",
10775
- padding: "1rem",
10776
- background: "rgb(var(--tb-surface, 255 255 255) / 0.92)"
10777
- },
10778
- children: [/* @__PURE__ */ jsx("h4", {
10779
- style: {
10780
- margin: 0,
10781
- fontSize: "1.05rem",
10782
- fontWeight: 700
10783
- },
10784
- children: offer.title
10785
- }), offer.description ? /* @__PURE__ */ jsx("p", {
10786
- style: {
10787
- margin: "0.5rem 0 0",
10788
- color: "rgb(var(--tb-text, 17 24 39) / 0.72)"
10789
- },
10790
- children: offer.description
10791
- }) : null]
10792
- }, offer.id))
10793
- })]
10794
- }) : null, (offers?.vouchers.length ?? 0) > 0 ? /* @__PURE__ */ jsxs("div", {
10795
- className: "rb-grid",
10796
- style: { gap: "1rem" },
10797
- children: [/* @__PURE__ */ jsx("h3", {
10798
- style: {
10799
- margin: 0,
10800
- fontSize: "1.25rem",
10801
- fontWeight: 700
10802
- },
10803
- children: islandProps.render.display.vouchersHeading
10804
- }), /* @__PURE__ */ jsx("div", {
10805
- className: "rb-grid",
10806
- style: { gap: "1rem" },
10807
- children: offers?.vouchers.map((offer) => /* @__PURE__ */ jsxs("article", {
10808
- style: {
10809
- border: "1px solid rgb(var(--tb-text, 17 24 39) / 0.12)",
10810
- borderRadius: "1rem",
10811
- padding: "1rem",
10812
- background: "rgb(var(--tb-surface, 255 255 255) / 0.92)"
10813
- },
10814
- children: [/* @__PURE__ */ jsx("h4", {
10815
- style: {
10816
- margin: 0,
10817
- fontSize: "1.05rem",
10818
- fontWeight: 700
10819
- },
10820
- children: offer.title
10821
- }), offer.description ? /* @__PURE__ */ jsx("p", {
10822
- style: {
10823
- margin: "0.5rem 0 0",
10824
- color: "rgb(var(--tb-text, 17 24 39) / 0.72)"
10825
- },
10826
- children: offer.description
10827
- }) : null]
10828
- }, offer.id))
10829
- })]
10830
- }) : null]
10899
+ className: "gifting-panel-offers",
10900
+ children: [giftCards.map((offer) => /* @__PURE__ */ jsxs("div", {
10901
+ className: "gifting-offer",
10902
+ "data-gift-offer": offer.id,
10903
+ children: [
10904
+ giftCards.length > 1 ? /* @__PURE__ */ jsx("h3", {
10905
+ className: "gifting-offer-title",
10906
+ children: offer.title
10907
+ }) : null,
10908
+ offer.description ? /* @__PURE__ */ jsx("p", {
10909
+ className: "gifting-offer-description",
10910
+ children: offer.description
10911
+ }) : null,
10912
+ /* @__PURE__ */ jsxs("div", {
10913
+ className: "gifting-offer-row",
10914
+ "data-gift-offer-row": "",
10915
+ children: [/* @__PURE__ */ jsx(GiftCardAmounts, {
10916
+ offer,
10917
+ currency: offers?.currency ?? "GBP",
10918
+ groupName: `amountChoice-${offer.id}`,
10919
+ look: display
10920
+ }), /* @__PURE__ */ jsx(ThemedButton, {
10921
+ ...giftingSlot(display, "action"),
10922
+ type: "button",
10923
+ variant: "primary",
10924
+ size: "md",
10925
+ extraClassName: "gifting-buy",
10926
+ label: "Buy a gift card"
10927
+ })]
10928
+ })
10929
+ ]
10930
+ }, offer.id)), vouchers.map((offer) => /* @__PURE__ */ jsxs("div", {
10931
+ className: "gifting-offer",
10932
+ children: [
10933
+ /* @__PURE__ */ jsx("h3", {
10934
+ className: "gifting-offer-title",
10935
+ children: offer.title
10936
+ }),
10937
+ offer.description ? /* @__PURE__ */ jsx("p", {
10938
+ className: "gifting-offer-description",
10939
+ children: offer.description
10940
+ }) : null,
10941
+ /* @__PURE__ */ jsx(ThemedButton, {
10942
+ ...giftingSlot(display, "action"),
10943
+ type: "button",
10944
+ variant: "primary",
10945
+ size: "md",
10946
+ extraClassName: "gifting-buy",
10947
+ label: "Buy this voucher"
10948
+ })
10949
+ ]
10950
+ }, offer.id))]
10831
10951
  }) : /* @__PURE__ */ jsx("p", {
10832
- style: { margin: 0 },
10833
- children: islandProps.render.display.emptyStateText
10952
+ className: "gifting-empty",
10953
+ children: display.emptyStateText
10834
10954
  })]
10835
10955
  })
10836
10956
  });
@@ -11483,7 +11603,10 @@ function NewsletterFormSSR(props) {
11483
11603
  className: "newsletter-form-fields",
11484
11604
  ...listLookSlot(display, "grid"),
11485
11605
  children: [
11486
- islandProps.render.hydration.choicePresentation === "visitor_choice" ? /* @__PURE__ */ jsx(NewsletterTopicChips, { choices: display.choices }) : null,
11606
+ islandProps.render.hydration.choicePresentation === "visitor_choice" ? /* @__PURE__ */ jsx(NewsletterTopicChips, {
11607
+ choices: display.choices,
11608
+ question: display.topicsQuestion
11609
+ }) : null,
11487
11610
  extraFields.length > 0 ? /* @__PURE__ */ jsx("div", {
11488
11611
  className: "newsletter-extra-fields",
11489
11612
  ...listLookSlot(display, "items"),
@@ -11719,4 +11842,4 @@ const serverComponentRegistry = {
11719
11842
  ...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
11720
11843
  };
11721
11844
  //#endregion
11722
- export { backgroundFrame as $, chosenString as $t, mapDrawingStyleBinding as A, ICON_SIZE_PX as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, isCanonicalRichTextDoc as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, createButtonGroup as Cn, repeat as Ct, shopBlockDefinition as D, ACCORDION_TRIGGER_FONT_SCALE as Dn, text as Dt, productListBlockDefinition as E, ACCORDION_SPACING_MAP as En, stack as Et, markEditableSurfaceForwarding as F, resolveRepeaterGridColumnFieldId as Fn, parseBlockIconValue as Ft, withApiBindings as G, eventReadinessQueryKeys as Gt, formDataSchema as H, augmentManifest as Ht, splitPositioningClasses as I, resolveRepeaterGridRowFieldId as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventDiscoveryFilterKeys as Jt, formCopyFragment as K, eventReadinessResultSchema as Kt, desktopOnlyDisplay as L, resolveRepeaterGridSpanFieldId as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, DEFAULT_MEDIA_FIELD_KINDS as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, isAcceptedRepeaterGridSpan as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, ACCORDION_TRIGGER_LETTER_SPACING as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, parseRepeaterGridInteger as Pn, normalizeCardListContent as Pt, sectionContainer as Q, resolveEventScope as Qt, mobileOnlyDisplay as R, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, getAnchorClasses as Sn, props as St, productDetailBlockDefinition as T, ACCORDION_OPEN_ACCENT_THICKNESS as Tn, section as Tt, createBlockManifest as U, eventReadinessLoaderKey as Ut, formBlockDefinition as V, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, eventReadinessQuery as Wt, styledSection as X, eventScopeQuery as Xt, resolveBackgroundColorValue as Y, eventScopeLoaderParam as Yt, styledContainer as Z, eventScopeQueryKeys as Zt, publicAppointmentLocationSchema as _, layoutField as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, loadedReadinessFact as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, sectionStylesField as bn, link as bt, HeaderSectionFrame as c, LOCATION_MAP_DEFAULTS as cn, lookSlot as ct, accordionIconColorStyle as d, normalizeLocationMapSource as dn, bookingForm as dt, galleryReadiness as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, resolveLocationMapLocation as fn, button as ft, formatAppointmentPrice as g, eventDisplayFields as gn, form as gt, formatAppointmentLocation as h, emptyStateField as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, hiddenFromVisitors as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, bindingSchema as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ICON_CONFIG as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_LIMITS as ln, accordionList as lt, formatAppointmentDuration as m, columnsField as mn, el as mt, runtimeBackedBlockModes as n, testimonialsReadiness as nn, defineFragment as nt, LocationMapSSR as o, pageTemplateFromEntry as on, lookQuoteLimitTransform as ot, SectionNode as p, cardStylingFields as pn, carousel as pt, sectionHeaderFields as q, eventWeekReadScope as qt, runtimeBackedBlockServerEntries as r, admitReadinessFacts as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, unavailableReadinessFact as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, teamReadiness as tn, composeFragments as tt, accordionLookAttributes as u, normalizeLocationMapProps as un, bind as ut, publicAppointmentPricingSchema as v, cardStylesField as vn, icon as vt, cartBlockDefinition as w, createButtonVariantField as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, BACKGROUND_POSITION_PRESET_VALUES as xn, media as xt, offeringCourseSlotParents as y, containerStylesField as yn, inline as yt, teamMemberCardBiographyFallback as z, linkSchema as zn, parseFieldDefinition as zt };
11845
+ export { backgroundFrame as $, eventDiscoveryFilterKeys as $t, mapDrawingStyleBinding as A, ACCORDION_SPACING_MAP as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, resolveRepeaterGridRowFieldId as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, containerStylesField as Cn, repeat as Ct, shopBlockDefinition as D, createButtonGroup as Dn, text as Dt, productListBlockDefinition as E, getAnchorClasses as En, stack as Et, markEditableSurfaceForwarding as F, bindingSchema as Fn, parseBlockIconValue as Ft, withApiBindings as G, publicMapLocationResultSchema as Gn, teamReadiness as Gt, formDataSchema as H, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Hn, augmentManifest as Ht, splitPositioningClasses as I, DEFAULT_MEDIA_FIELD_KINDS as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventReadinessLoaderKey as Jt, formCopyFragment as K, isCanonicalRichTextDoc as Kn, testimonialsReadiness as Kt, desktopOnlyDisplay as L, isAcceptedRepeaterGridSpan as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, ACCORDION_TRIGGER_LETTER_SPACING as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, ICON_CONFIG as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, createButtonVariantField as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, ICON_SIZE_PX as Pn, normalizeCardListContent as Pt, sectionContainer as Q, eventWeekReadScope as Qt, mobileOnlyDisplay as R, parseRepeaterGridInteger as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, cardStylesField as Sn, props as St, productDetailBlockDefinition as T, BACKGROUND_POSITION_PRESET_VALUES as Tn, section as Tt, createBlockManifest as U, linkSchema as Un, chosenString as Ut, formBlockDefinition as V, resolveRepeaterGridSpanFieldId as Vn, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, publicMapLocationParamsSchema as Wn, galleryReadiness as Wt, styledSection as X, eventReadinessQueryKeys as Xt, resolveBackgroundColorValue as Y, eventReadinessQuery as Yt, styledContainer as Z, eventReadinessResultSchema as Zt, publicAppointmentLocationSchema as _, cardStylingFields as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, hiddenFromVisitors as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, eventDisplayFields as bn, link as bt, HeaderSectionFrame as c, unavailableReadinessFact as cn, lookSlot as ct, accordionIconColorStyle as d, LOCATION_MAP_LOADER_KEYS as dn, bookingForm as dt, eventScopeLoaderParam as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, describeUnresolvedLocationMapLocation as fn, button as ft, formatAppointmentPrice as g, resolveLocationMapLocation as gn, form as gt, formatAppointmentLocation as h, parseLocationMapLoaderResult as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, admitReadinessFacts as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, ACCORDION_TRIGGER_FONT_SCALE as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ACCORDION_OPEN_ACCENT_THICKNESS as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_DEFAULTS as ln, accordionList as lt, formatAppointmentDuration as m, normalizeLocationMapSource as mn, el as mt, runtimeBackedBlockModes as n, eventScopeQueryKeys as nn, defineFragment as nt, LocationMapSSR as o, loadedReadinessFact as on, lookQuoteLimitTransform as ot, SectionNode as p, normalizeLocationMapProps as pn, carousel as pt, sectionHeaderFields as q, blockChecksForEvents as qt, runtimeBackedBlockServerEntries as r, resolveEventScope as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, pageTemplateFromEntry as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, eventScopeQuery as tn, composeFragments as tt, accordionLookAttributes as u, LOCATION_MAP_LIMITS as un, bind as ut, publicAppointmentPricingSchema as v, columnsField as vn, icon as vt, cartBlockDefinition as w, sectionStylesField as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, layoutField as xn, media as xt, offeringCourseSlotParents as y, emptyStateField as yn, inline as yt, teamMemberCardBiographyFallback as z, resolveRepeaterGridColumnFieldId as zn, parseFieldDefinition as zt };