@riverbankcms/sdk 0.161.0 → 0.163.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 (193) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/_dts/{BlocksIslandsHydrator-Bx4kLiTA.d.ts → BlocksIslandsHydrator-DYPGA_qh.d.ts} +1 -1
  3. package/dist/_dts/{Page-Dm7_P13o.d.ts → Page-zwnvFBPu.d.ts} +8 -8
  4. package/dist/_dts/{SdkPreviewMode-D7HdWWwF.d.ts → SdkPreviewMode-DukuJzGr.d.ts} +58 -91
  5. package/dist/_dts/{client-Ep0jI9eE.d.ts → client-Chh3bnXC.d.ts} +11 -3
  6. package/dist/_dts/{content-types-BgAzCrBc.d.ts → content-types-Bbzqw9J2.d.ts} +2 -2
  7. package/dist/_dts/{contracts-DUiOnj9e.d.ts → contracts-GJ1kGBsi.d.ts} +13 -4
  8. package/dist/_dts/{footerPageOutline-B-uXamTG.d.ts → footerPageOutline-BNMKhyvo.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-BDkZYEcS.d.ts → generatePageMetadata-Ce0m1P3B.d.ts} +2 -2
  10. package/dist/_dts/{index-DvKQA6AZ.d.ts → index-C3mJvn27.d.ts} +4 -4
  11. package/dist/_dts/{schema-BHu0PYWl.d.ts → index-CaL0nKkl.d.ts} +4166 -3355
  12. package/dist/_dts/{index-KPrWM0KF.d.ts → index-CdSNXLOx.d.ts} +1 -1
  13. package/dist/_dts/{types-BR1Yboa9.d.ts → index-CyQhZuhM.d.ts} +3347 -1692
  14. package/dist/_dts/{index-BVkP8f70.d.ts → index-D2y4Iy-d.d.ts} +13 -2
  15. package/dist/_dts/{index-CSsfq6KG.d.ts → index-DRxgeK8L.d.ts} +11 -6
  16. package/dist/_dts/{index-CF6Cjs7b.d.ts → index-FstkyqQB.d.ts} +2 -2
  17. package/dist/_dts/{index-D_8uz4OP.d.ts → index-G2p-HOrK.d.ts} +3 -3
  18. package/dist/_dts/{index-ylivB7Jj.d.ts → index-rhMSu0oY.d.ts} +2 -2
  19. package/dist/_dts/{loadContent-DTjKOO-T.d.ts → loadContent-DiLZoInK.d.ts} +10 -7
  20. package/dist/_dts/{resolvePageContent-C1vA5c5w.d.ts → resolvePageContent-CWUnipv8.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  23. package/dist/_dts/sdk/src/client.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  25. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  27. package/dist/_dts/sdk/src/index.d.ts +8 -8
  28. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  29. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  30. package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
  31. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  32. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  33. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  34. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  35. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  36. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  37. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  38. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  39. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  40. package/dist/_dts/sdk/src/rendering/index.d.ts +13 -7
  41. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  43. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  44. package/dist/_dts/sdk/src/server.d.ts +5 -5
  45. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  46. package/dist/_dts/{types-D02ngcUH.d.ts → types-BmtrA45p.d.ts} +2 -2
  47. package/dist/_dts/{types-ZGUiHpDE.d.ts → types-CalL7aKP.d.ts} +7 -7
  48. package/dist/_dts/{types-CJXTCF_F.d.ts → types-DFOqkClJ.d.ts} +3 -3
  49. package/dist/_dts/{validation-BaV565gb.d.ts → validation-G8MRoIhq.d.ts} +4 -4
  50. package/dist/client/{BlocksIslandsHydrator-DTExCJsb.mjs → BlocksIslandsHydrator-DLCXwe30.mjs} +20 -19
  51. package/dist/client/{BookingMailingListNote-BDpxmn1p.mjs → BookingMailingListNote-BV5-50F0.mjs} +1 -1
  52. package/dist/client/{CalendarNavigationChevron-PeCiL82X.mjs → CalendarNavigationChevron-CVLAHdZG.mjs} +6 -6
  53. package/dist/client/{CheckboxChoice-DWexRLf6.mjs → CheckboxChoice-Dtgp3OU8.mjs} +1 -1
  54. package/dist/client/{DemoBookingPortalAccess-3zmIqakW.mjs → DemoBookingPortalAccess-B3caCnTT.mjs} +26 -10
  55. package/dist/client/{DemoPortalSignInLink-GHi-8BW5.mjs → DemoPortalSignInLink-Ct8JMKW0.mjs} +1 -1
  56. package/dist/client/{EventCalendar.client-BxQLY5cX.mjs → EventCalendar.client-ffa6920T.mjs} +16 -17
  57. package/dist/client/{EventCombined.client-B5bmQ03b.mjs → EventCombined.client-zm0W2G79.mjs} +8 -8
  58. package/dist/client/{EventEmbeddedCheckoutStep-CgMZ9TeU.mjs → EventEmbeddedCheckoutStep-CPPE2rWS.mjs} +1 -1
  59. package/dist/client/{EventItem-BEx-qiDE.mjs → EventItem-CND3mfra.mjs} +91 -15
  60. package/dist/client/{EventListWeekNavigation-CyH5tA6Y.mjs → EventListWeekNavigation-D8QdxL_f.mjs} +1 -1
  61. package/dist/client/{EventListing.client-D3uySdGP.mjs → EventListing.client-CaoRZUI9.mjs} +3 -3
  62. package/dist/client/{EventListing.view-9RFrBejr.mjs → EventListing.view-BfnOmxYD.mjs} +14 -70
  63. package/dist/client/{EventRegistrationPayment-CG2tQx8K.mjs → EventRegistrationPayment-Dfu3RSL2.mjs} +10 -10
  64. package/dist/client/LocationMapActions-wlyxASdT.mjs +62 -0
  65. package/dist/client/{LocationMapActions-Wsr83Q7q.mjs → MapDrawingSvg-B9oKSitp.mjs} +2 -70
  66. package/dist/client/{Page-Bf2nPACI.mjs → Page-BEF9HrAy.mjs} +2333 -492
  67. package/dist/client/{StepIndicator-CZweb1vs.mjs → StepIndicator-Bjx4faaw.mjs} +2 -2
  68. package/dist/client/{TabBarFragment-Bkgz67gt.mjs → TabBarFragment-Cu7k_VSl.mjs} +1 -1
  69. package/dist/client/{ThemedButton-CnyL3s1A.mjs → ThemedButton-DclwabI7.mjs} +1 -1
  70. package/dist/client/{accordion-TcimLLRQ.mjs → accordion-lzM2nSZB.mjs} +1 -1
  71. package/dist/client/{booking-form.client-q-RpJ4aF.mjs → booking-form.client-Bll4QwBi.mjs} +137 -60
  72. package/dist/client/{bookingForm-DjGfk3Wj.mjs → bookingForm-Cq5fQ-vo.mjs} +4 -4
  73. package/dist/client/bookings.mjs +5 -5
  74. package/dist/client/{carousel-CGAk6j0m.mjs → carousel-CxerQwIx.mjs} +2 -2
  75. package/dist/client/{carousel.client-ArlGmYWV.mjs → carousel.client-CVUXq8Mb.mjs} +1 -1
  76. package/dist/client/{cart-D_h3rAZ2.mjs → cart-X-m0isoI.mjs} +3 -3
  77. package/dist/client/{cart.client-DHOxZbJ7.mjs → cart.client-CJbzWIl0.mjs} +1 -1
  78. package/dist/client/{checkout-tC-3CzuM.mjs → checkout-Gd0O_fGH.mjs} +3 -3
  79. package/dist/client/{checkout.client-DsBb2Pkm.mjs → checkout.client-Baee6Jsm.mjs} +1 -1
  80. package/dist/client/client.mjs +34 -69
  81. package/dist/client/{context-9ZfMb6GA.mjs → context-Bg0SFWcM.mjs} +28 -1
  82. package/dist/client/{cta-D-ZqL7-e.mjs → cta-HffyM4MA.mjs} +1 -1
  83. package/dist/client/{dateFormatting-BCwLqYpW.mjs → dateFormatting-CV45BH5M.mjs} +39 -2
  84. package/dist/client/{demoPortalMagicLink-BxkSS9fx.mjs → demoPortalMagicLink-CDWheSjI.mjs} +1 -1
  85. package/dist/client/{enhanceHeaderSection-xg6to91E.mjs → enhanceHeaderSection-BqVDXL0D.mjs} +3 -3
  86. package/dist/client/{event-details.client-C670TgRd.mjs → event-details.client-SFtS9OkF.mjs} +2 -1
  87. package/dist/client/{event-registration.client-C6GApWTB.mjs → event-registration.client-CguNVIFY.mjs} +13 -13
  88. package/dist/client/{eventCalendar-CWc0dg9i.mjs → eventCalendar-DSGG35jd.mjs} +4 -4
  89. package/dist/client/{eventCombined-D4DbOrvQ.mjs → eventCombined-Oe-PiChx.mjs} +4 -4
  90. package/dist/client/{eventDetails-C2DfmbC0.mjs → eventDetails-BhcTT6P3.mjs} +2 -2
  91. package/dist/client/{eventListing-C_yXmHyz.mjs → eventListing-BS0kBEgI.mjs} +4 -4
  92. package/dist/client/{eventRegistration-DJuaCB-O.mjs → eventRegistration-B82SHv7j.mjs} +4 -4
  93. package/dist/client/{form-QZhtdFHA.mjs → form-DAIUrVXb.mjs} +3 -3
  94. package/dist/client/{form.client-CgvPACwG.mjs → form.client-BoAkhoh_.mjs} +4 -4
  95. package/dist/client/{form.parts-2uI0-5N-.mjs → form.parts-1VnasOK8.mjs} +3 -3
  96. package/dist/client/{formatDate-Danr0Nk4.mjs → formatDate-BKil_Psb.mjs} +1 -1
  97. package/dist/client/gifting/client.mjs +3 -3
  98. package/dist/client/{headerSection-DJdlLdvZ.mjs → headerSection-CyuHk8Ei.mjs} +2 -2
  99. package/dist/client/mediaAssets-CGJE1Omu.mjs +43 -0
  100. package/dist/client/mediaContext-DIkX2S-X.mjs +136 -0
  101. package/dist/client/{newsletter-form.client-Cbepz2KU.mjs → newsletter-form.client-CCdyHx0B.mjs} +5 -5
  102. package/dist/client/{newsletter-form.parts-DN8oMCQ0.mjs → newsletter-form.parts-Dl8AjsXW.mjs} +2 -2
  103. package/dist/client/{newsletterForm-wjLtW-wq.mjs → newsletterForm-qFWLZJui.mjs} +3 -3
  104. package/dist/client/{noop-B7H6gCbj.mjs → noop-4XFGzJpT.mjs} +19 -3
  105. package/dist/client/portal/client.mjs +1116 -85
  106. package/dist/client/{product-detail.client-CYTR165c.mjs → product-detail.client-Tq4S99ce.mjs} +1 -1
  107. package/dist/client/{product-list.client-B4vTvag8.mjs → product-list.client-CuL5jB1w.mjs} +1 -1
  108. package/dist/client/{productDetail-k8LEMSWn.mjs → productDetail-BRqgcotZ.mjs} +3 -3
  109. package/dist/client/{productList-DEo8Bqoe.mjs → productList-EK9Um-oh.mjs} +3 -3
  110. package/dist/client/{propsDecoder-G0j0HXBO.mjs → propsDecoder-VD4arFq1.mjs} +4 -3
  111. package/dist/client/{registry.server-BTmSXE3D.mjs → registry.server-qYbsatxH.mjs} +272 -68
  112. package/dist/client/rendering/client.mjs +26 -26
  113. package/dist/client/rendering/islands.mjs +1 -1
  114. package/dist/client/rendering.mjs +22 -19
  115. package/dist/client/{richText-coerce-B19taoH6.mjs → richText-coerce-CW8CFk8v.mjs} +1 -1
  116. package/dist/client/{routeIslandApiConfig-Chu5BHra.mjs → routeIslandApiConfig-CnZ_1ol2.mjs} +1 -1
  117. package/dist/client/{schema-C-m8XHuW.mjs → schema-BFwQDvJL.mjs} +4561 -3948
  118. package/dist/client/{shop-RGWa43H7.mjs → shop-CTUaT57E.mjs} +3 -3
  119. package/dist/client/{shop-commerce-TJYCBO_H.mjs → shop-commerce-BWwbsm_-.mjs} +11 -11
  120. package/dist/client/{shop-commerce-store-CjCcUB_o.mjs → shop-commerce-store-15UII0y3.mjs} +1 -1
  121. package/dist/client/{shop.client-tsKfZw1W.mjs → shop.client-UWgdmJBm.mjs} +12 -12
  122. package/dist/client/{shop.interactive-CVqLAU53.mjs → shop.interactive-Cf_kASpd.mjs} +76 -51
  123. package/dist/client/{shopShared-C3lHMz_R.mjs → shopShared-Bi8d584P.mjs} +2 -2
  124. package/dist/{server/effectiveNavLinkStyle-CGvGr3yD.mjs → client/site-styles-dy54AUdz.mjs} +2781 -331
  125. package/dist/client/{timetableModel-V2ifvGGy.mjs → timetableModel-Bi8ruFgB.mjs} +10 -9
  126. package/dist/client/{useAvailableSlots-D1X69-pN.mjs → useAvailableSlots-DiLbDqM3.mjs} +8 -11
  127. package/dist/client/{useBookingNowIso-Ch30jino.mjs → useBookingNowIso-CWIiqPd0.mjs} +1 -1
  128. package/dist/client/{useDiscountApply-Bwzr1RjV.mjs → useDiscountApply-ChtszhF9.mjs} +2 -2
  129. package/dist/client/{useDiscountCodeUi-BimJbFC7.mjs → useDiscountCodeUi-B0Z7n2tZ.mjs} +1 -1
  130. package/dist/client/{useEventPagination-CLAS0upd.mjs → useEventPagination-DRrATQHQ.mjs} +6 -6
  131. package/dist/client/{view-Dj_FZHmg.mjs → view-OvsxzgxP.mjs} +64 -55
  132. package/dist/client/{view-BUh4LnLS.mjs → view-yUIfWX3S.mjs} +4 -4
  133. package/dist/client/{wizardSteps-BkZc-hKH.mjs → wizardSteps-kbONzKUv.mjs} +59 -53
  134. package/dist/preview-next/before-render.mjs +3 -3
  135. package/dist/preview-next/chrome.css +1 -1
  136. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CwerMfzn.mjs → EventEmbeddedCheckoutStep-DzoFjIqB.mjs} +1 -1
  137. package/dist/preview-next/client/{PreviewEditorSidebar-Dvq-RW9-.mjs → PreviewEditorSidebar-BhgPyyUW.mjs} +170 -1046
  138. package/dist/preview-next/client/{PreviewEditorUI-BdFjS39R.mjs → PreviewEditorUI-lndKKBtB.mjs} +157 -313
  139. package/dist/preview-next/client/{SdkPreviewModeRuntime-BEfHln1E.mjs → SdkPreviewModeRuntime-Bk7On_EM.mjs} +351 -1386
  140. package/dist/preview-next/client/{SdkPreviewModeRuntime-CjkGh1IG.mjs → SdkPreviewModeRuntime-DCDDXDlt.mjs} +1 -1
  141. package/dist/preview-next/client/{ThemedButton-b14Bv03E.mjs → ThemedButton-nUnE3iMv.mjs} +1010 -398
  142. package/dist/preview-next/client/{SiteChromeCustomizeContext-CDbxk_qZ.mjs → previewAuthStore-DHtSQIBE.mjs} +159416 -162308
  143. package/dist/preview-next/client/{previewChromeSurface-Dd1_mNIg.mjs → previewChromeSurface-CxQ6dZ8D.mjs} +1 -1
  144. package/dist/preview-next/client/runtime.mjs +3 -3
  145. package/dist/preview-next/client/{sdk-runtime-B-CXyGVb.mjs → sdk-runtime-DSZv7Vfm.mjs} +1 -1
  146. package/dist/preview-next/client/siteStyleAccess-Chq5KKKh.mjs +14162 -0
  147. package/dist/preview-next/client/{spinner-CGxS8Ns-.mjs → spinner-CjxE3uws.mjs} +1 -1
  148. package/dist/preview-next/edit-map.css +37 -0
  149. package/dist/preview-next/keepAlive.mjs +2 -2
  150. package/dist/preview-next/maplibre-gl.css +1 -0
  151. package/dist/preview-next/middleware.mjs +1 -1
  152. package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
  153. package/dist/preview-next/{route-contract-hLg-yjQN.mjs → route-contract-CxCstfkP.mjs} +403 -200
  154. package/dist/preview-next/upload-structure.css +18 -0
  155. package/dist/server/{Block.shared-CeTd2saO.mjs → Block.shared-Dz9k8vCX.mjs} +16 -16
  156. package/dist/server/{bindings-C5YpKuKt.mjs → bindings-S-gCHhj5.mjs} +2 -2
  157. package/dist/server/{client-Cv26lZQ4.mjs → client-C2Q56xqV.mjs} +34 -69
  158. package/dist/server/config-validation.mjs +1 -1
  159. package/dist/server/config.mjs +2 -2
  160. package/dist/{client/mediaContext-jPeJ2PmJ.mjs → server/effectiveNavLinkStyle-DLzJPcDL.mjs} +1977 -1210
  161. package/dist/server/index.mjs +3 -3
  162. package/dist/server/{loadContent-C8a0b-cC.mjs → loadContent-D7ItMsEl.mjs} +7 -4
  163. package/dist/server/loadPage-D2qvYV5g.mjs +2 -0
  164. package/dist/server/{loadPage-BW7dklu3.mjs → loadPage-DaPiPYUL.mjs} +2 -2
  165. package/dist/server/next.mjs +9 -9
  166. package/dist/server/{overrideResolution-tIuqmJB3.mjs → overrideResolution-anoB3Kbn.mjs} +1 -1
  167. package/dist/server/{overrides-D1fiPOKF.mjs → overrides-W1Cc6srh.mjs} +434 -241
  168. package/dist/server/page-converter.mjs +1 -1
  169. package/dist/server/{prebuild--fO0E2tr.mjs → prebuild-BF9yNfCS.mjs} +1 -1
  170. package/dist/server/prebuild.mjs +1 -1
  171. package/dist/server/{prefetchBlockData-CqJnokWJ.mjs → prefetchBlockData-Cn9k3DW6.mjs} +36 -11
  172. package/dist/server/{publicProducts-CvvZ4JIe.mjs → publicProducts-BVcJ6TG7.mjs} +656 -166
  173. package/dist/server/{registry-BVfCqaCq.mjs → registry-4ZF3bUuJ.mjs} +401 -74
  174. package/dist/server/rendering/server.mjs +4 -4
  175. package/dist/server/rendering.mjs +8 -8
  176. package/dist/server/{resolveBlockData-DPNvhXEz.mjs → resolveBlockData-BKQ1Fc0M.mjs} +1 -1
  177. package/dist/server/routing.mjs +1 -1
  178. package/dist/server/{schema-CD4peO7m.mjs → schema-DgrigZq9.mjs} +7748 -7135
  179. package/dist/server/server.mjs +3 -3
  180. package/dist/server/{site-styles-H-EvTJiW.mjs → site-styles-CxE9F3hj.mjs} +99 -117
  181. package/dist/server/{siteChromeOverlayClearance-DNC2k1U0.mjs → siteChromeOverlayClearance-OhS6f830.mjs} +161 -105
  182. package/dist/server/{src-ILxc6pid.mjs → src-C44_fMy5.mjs} +1190 -147
  183. package/dist/server/theme-bridge.mjs +1 -1
  184. package/dist/server/theme.mjs +1 -1
  185. package/dist/server/{themeAdmission-BNHIXiUj.mjs → themeAdmission-CVc04B9m.mjs} +36 -29
  186. package/dist/server/{validation-B1ieVemg.mjs → validation-BrbY0nxR.mjs} +2 -2
  187. package/dist/server/{version-BQK44wFg.mjs → version-BBSk8uM6.mjs} +1 -1
  188. package/dist/styles/index.css +1034 -113
  189. package/package.json +1 -1
  190. package/dist/_dts/index-BQDBQvdu.d.ts +0 -13
  191. package/dist/client/mediaAssets-BvjcAZpS.mjs +0 -16
  192. package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +0 -5812
  193. package/dist/server/loadPage--DXBwI8V.mjs +0 -2
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
3
- import { t as ShopClient } from "./shop.client-tsKfZw1W.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-C3lHMz_R.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-VD4arFq1.mjs";
3
+ import { t as ShopClient } from "./shop.client-UWgdmJBm.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-Bi8d584P.mjs";
5
5
  //#region src/rendering/islands/enhancers/shop.tsx
6
6
  const decode = defineIslandPropsDecoder("shop");
7
7
  const enhance = (root, props) => {
@@ -1,19 +1,19 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
3
3
  import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Kt as RichText } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
6
- import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-CVqLAU53.mjs";
4
+ import { Kt as RichText } from "./wizardSteps-kbONzKUv.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-B3caCnTT.mjs";
6
+ import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-Cf_kASpd.mjs";
7
7
  import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
8
8
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
9
- import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-Bwzr1RjV.mjs";
9
+ import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-ChtszhF9.mjs";
10
10
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
11
- import { t as coerceRichTextDoc } from "./richText-coerce-B19taoH6.mjs";
12
- import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-BUh4LnLS.mjs";
13
- import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
14
- import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BxkSS9fx.mjs";
15
- import { t as CarouselNodeClient } from "./carousel.client-ArlGmYWV.mjs";
16
- import { n as useCommerceCart } from "./shop-commerce-store-CjCcUB_o.mjs";
11
+ import { t as coerceRichTextDoc } from "./richText-coerce-CW8CFk8v.mjs";
12
+ import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-yUIfWX3S.mjs";
13
+ import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
14
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CDWheSjI.mjs";
15
+ import { t as CarouselNodeClient } from "./carousel.client-CVUXq8Mb.mjs";
16
+ import { n as useCommerceCart } from "./shop-commerce-store-15UII0y3.mjs";
17
17
  import * as React$1 from "react";
18
18
  import { useEffect, useState } from "react";
19
19
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-CVqLAU53.mjs";
2
+ import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-Cf_kASpd.mjs";
3
3
  import * as React$1 from "react";
4
4
  //#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
5
5
  const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
@@ -1,23 +1,23 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
2
+ import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
3
3
  import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Wn as getShopSuccessCopy } from "./wizardSteps-BkZc-hKH.mjs";
5
- import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-3zmIqakW.mjs";
6
- import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-CVqLAU53.mjs";
4
+ import { Wn as getShopSuccessCopy } from "./wizardSteps-kbONzKUv.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-B3caCnTT.mjs";
6
+ import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-Cf_kASpd.mjs";
7
7
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
8
8
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
9
- import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-Bwzr1RjV.mjs";
9
+ import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-ChtszhF9.mjs";
10
10
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
11
11
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
12
12
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
13
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BimJbFC7.mjs";
13
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-B0Z7n2tZ.mjs";
14
14
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
15
- import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-BUh4LnLS.mjs";
16
- import { n as useBlockApi } from "./context-9ZfMb6GA.mjs";
17
- import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BxkSS9fx.mjs";
18
- import { t as CarouselNodeClient } from "./carousel.client-ArlGmYWV.mjs";
19
- import { r as formatEntitlementEnd } from "./dateFormatting-BCwLqYpW.mjs";
20
- import { t as addPassToCommerceCart } from "./shop-commerce-store-CjCcUB_o.mjs";
15
+ import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-yUIfWX3S.mjs";
16
+ import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
17
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CDWheSjI.mjs";
18
+ import { t as CarouselNodeClient } from "./carousel.client-CVUXq8Mb.mjs";
19
+ import { r as formatEntitlementEnd } from "./dateFormatting-CV45BH5M.mjs";
20
+ import { t as addPassToCommerceCart } from "./shop-commerce-store-15UII0y3.mjs";
21
21
  import React, { useCallback, useEffect, useRef, useState } from "react";
22
22
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
23
  //#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
@@ -1,11 +1,12 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, l as buildCalendarViewport } from "./src-1PJxc8KO.mjs";
3
- import { Dt as assertNever, Gt as toNonEmptyReadonlyArray, ar as parseContentVersionId, br as err, dt as cardRoleSchema, sr as parseEventSeriesId, xr as ok } from "./schema-C-m8XHuW.mjs";
4
- import { C as clsx, U as formatCurrencyAmount, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-CnyL3s1A.mjs";
3
+ import { Jt as toNonEmptyReadonlyArray, Mr as err, Nr as ok, V as cardRoleSchema, gr as parseContentVersionId, kt as assertNever, yr as parseEventSeriesId } from "./schema-BFwQDvJL.mjs";
4
+ import { C as clsx, U as formatCurrencyAmount, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-DclwabI7.mjs";
5
5
  import { c as assertNever$1 } from "./src-VIsPY-kw.mjs";
6
- import { $r as formatBookingPriceDisplay, Ar as defineProgressiveBlockRuntime, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fr as lookListPresentationSchemaShape, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mr as listItemPresentation, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, ei as formatEventPricing, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, jn as selectEventCapacitySource, jr as isDecodeSuccess, kr as defineClientOwnedBlockRuntime, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zt as placesLeftLabel } from "./wizardSteps-BkZc-hKH.mjs";
7
- import { A as eventScheduleScopeValues, B as normalizeIdList, C as eventCalendarVariantMeaning, Ct as getLocalScheduleDate, D as isEventCalendarListLayout, Dt as resolveBookingBusinessTimeZone, Et as parseUtcIsoDateTimeString, F as normalizeEventStaffMemberId, H as publicEventLoaderQuerySchemaShape, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Ot as resolveBookingTimeZoneId, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, U as publicEventSchema, V as publicEventDestinationSchema, ht as inferSiteDateLocale, j as eventSurfaceScopeValues, jt as toUtcIsoDateTimeString, k as resolveEventCalendarReadPlan, n as blockSiteTermsSchema, p as calendarWindowPageSchema, pt as formatTime, ut as formatDateRange, vt as buildBookingUtcDateWindow, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-B7H6gCbj.mjs";
8
- import { n as getCurrentResolveImageUrlContext, x as resolveModeArrangement } from "./mediaContext-jPeJ2PmJ.mjs";
6
+ import { $r as formatBookingPriceDisplay, Ar as defineProgressiveBlockRuntime, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fr as lookListPresentationSchemaShape, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mr as listItemPresentation, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, ei as formatEventPricing, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, jn as selectEventCapacitySource, jr as isDecodeSuccess, kr as defineClientOwnedBlockRuntime, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zt as placesLeftLabel } from "./wizardSteps-kbONzKUv.mjs";
7
+ import { A as eventScheduleScopeValues, At as resolveBookingTimeZoneId, B as normalizeIdList, C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, F as normalizeEventStaffMemberId, H as publicEventDestinationSchema, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, Tt as getLocalScheduleDate, U as publicEventLoaderQuerySchemaShape, W as publicEventSchema, _t as inferSiteDateLocale, bt as buildBookingUtcDateWindow, dt as formatDateRange, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, kt as resolveBookingBusinessTimeZone, mt as formatTime, n as blockSiteTermsSchema, p as calendarWindowPageSchema, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-4XFGzJpT.mjs";
8
+ import { h as resolveModeArrangement } from "./site-styles-dy54AUdz.mjs";
9
+ import { n as getCurrentResolveImageUrlContext } from "./mediaContext-DIkX2S-X.mjs";
9
10
  import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
10
11
  import "react";
11
12
  import { z } from "zod";
@@ -301,10 +302,14 @@ function assessCustomTargeting(catalog, targeting) {
301
302
  }
302
303
  }
303
304
  }
305
+ /** Shared choice availability decision for both runtime catalogues and captured document facts. */
306
+ function missingMailingListTargetingChoiceIds(targeting, choices) {
307
+ const available = new Set(choices.map((choice) => choice.id));
308
+ return mailingListTargetingChoiceIds(targeting).filter((id) => !available.has(id));
309
+ }
304
310
  function assessMatchedChoices(matched, choices) {
305
311
  const selected = new Set(mailingListTargetingChoiceIds(matched.targeting));
306
- const available = new Set(choices.map((item) => item.id));
307
- const missingIds = [...selected].filter((id) => !available.has(id));
312
+ const missingIds = missingMailingListTargetingChoiceIds(matched.targeting, choices);
308
313
  const value = {
309
314
  mode: "custom",
310
315
  ...matched,
@@ -827,17 +832,7 @@ function resolveCardListSchedule(item, mode) {
827
832
  }
828
833
  /** Each part owns optional-content collapse once, for calendar and catalogue items. */
829
834
  const partRenderers = {
830
- title: ({ item, presentation, Title = "h3" }) => /* @__PURE__ */ jsx(Title, {
831
- ...listLookSlot(presentation, "item-title"),
832
- children: item.titleLink || item.href ? /* @__PURE__ */ jsx("a", {
833
- ...item.titleLink,
834
- href: item.titleLink?.href ?? item.href ?? void 0,
835
- children: /* @__PURE__ */ jsx(LinkedLabel, {
836
- label: item.title,
837
- newTabHint: item.newTabHint
838
- })
839
- }) : item.title
840
- }),
835
+ title: CardListTitle,
841
836
  text: ({ item, presentation }) => item.textDocument ? /* @__PURE__ */ jsx(RichText, {
842
837
  doc: item.textDocument,
843
838
  ...listLookSlot(presentation, "item-text"),
@@ -846,14 +841,7 @@ const partRenderers = {
846
841
  ...listLookSlot(presentation, "item-text"),
847
842
  children: item.text
848
843
  }) : null,
849
- media: ({ item, presentation }) => item.media ? /* @__PURE__ */ jsx("div", {
850
- ...listLookSlot(presentation, "item-media"),
851
- children: /* @__PURE__ */ jsx(MediaNodeServer, {
852
- value: item.media,
853
- size: ImagePresets.card,
854
- ...listLookSlot(presentation, "photo")
855
- })
856
- }) : null,
844
+ media: CardListMedia,
857
845
  facts: ({ item, presentation }) => item.facts?.length ? /* @__PURE__ */ jsx("dl", {
858
846
  ...listLookSlot(presentation, "facts"),
859
847
  children: item.facts.map(({ label, value }) => /* @__PURE__ */ jsxs("div", {
@@ -892,14 +880,23 @@ const partRenderers = {
892
880
  ...listLookSlot(presentation, "dates"),
893
881
  children: item.dates.map((date, index) => /* @__PURE__ */ jsxs("li", {
894
882
  ...listLookSlot(presentation, "date"),
895
- children: [/* @__PURE__ */ jsx("time", {
896
- dateTime: date.startsAt,
897
- children: date.label
898
- }), date.places ? /* @__PURE__ */ jsx("span", {
899
- ...listLookSlot(presentation, "date-places"),
900
- "data-availability": date.places.status,
901
- children: date.places.label
902
- }) : null]
883
+ children: [
884
+ /* @__PURE__ */ jsx("time", {
885
+ dateTime: date.startsAt,
886
+ children: date.label
887
+ }),
888
+ date.places ? /* @__PURE__ */ jsx("span", {
889
+ ...listLookSlot(presentation, "date-places"),
890
+ "data-availability": date.places.status,
891
+ children: date.places.label
892
+ }) : null,
893
+ date.booking ? /* @__PURE__ */ jsx(ThemedButtonLink, {
894
+ ...date.booking,
895
+ variant: presentation.buttonVariant ?? "primary",
896
+ size: "sm",
897
+ extraClassName: "rb-card-list-date-booking"
898
+ }) : null
899
+ ]
903
900
  }, `${date.startsAt}-${index}`))
904
901
  }) : null,
905
902
  availability: ({ item, presentation }) => item.availability ? /* @__PURE__ */ jsx("p", {
@@ -932,6 +929,41 @@ const partRenderers = {
932
929
  children: props.actionNode
933
930
  })
934
931
  };
932
+ /** Title and photo share the same destination and external-link behavior. */
933
+ function cardListItemLink(item) {
934
+ return item.titleLink ?? (item.href ? { href: item.href } : null);
935
+ }
936
+ function CardListTitle({ item, presentation, Title = "h3" }) {
937
+ const link = cardListItemLink(item);
938
+ return /* @__PURE__ */ jsx(Title, {
939
+ ...listLookSlot(presentation, "item-title"),
940
+ children: link ? /* @__PURE__ */ jsx("a", {
941
+ ...link,
942
+ children: /* @__PURE__ */ jsx(LinkedLabel, {
943
+ label: item.title,
944
+ newTabHint: item.newTabHint
945
+ })
946
+ }) : item.title
947
+ });
948
+ }
949
+ function CardListMedia({ item, presentation }) {
950
+ if (!item.media) return null;
951
+ const link = cardListItemLink(item);
952
+ const photo = /* @__PURE__ */ jsx(MediaNodeServer, {
953
+ value: item.media,
954
+ size: ImagePresets.card,
955
+ ...listLookSlot(presentation, "photo")
956
+ });
957
+ return /* @__PURE__ */ jsx("div", {
958
+ ...listLookSlot(presentation, "item-media"),
959
+ children: link ? /* @__PURE__ */ jsx("a", {
960
+ ...link,
961
+ className: "rb-block rb-h-full",
962
+ "aria-label": `${item.title}${item.newTabHint ? " (opens in a new tab)" : ""}`,
963
+ children: photo
964
+ }) : photo
965
+ });
966
+ }
935
967
  function CardListContentPart({ part, ...props }) {
936
968
  return partRenderers[part](props);
937
969
  }
@@ -1274,7 +1306,7 @@ function buildEventCollectionListDisplay(source) {
1274
1306
  events: Array.isArray(source.events) ? [...source.events] : [],
1275
1307
  listLayout: source.listLayout ?? "stack",
1276
1308
  listColumns: source.listColumns ?? "3",
1277
- eventsPerPage: source.lookSlots !== void 0 && source.listLayout === "compact" ? 3 : resolveEventCalendarListPageSize({ eventsPerPage: source.eventsPerPage }),
1309
+ eventsPerPage: resolveEventCalendarListPageSize({ eventsPerPage: source.eventsPerPage ?? (source.lookSlots !== void 0 && source.listLayout === "compact" ? "3" : void 0) }),
1278
1310
  paginationAction,
1279
1311
  sectionAction: paginationAction.kind === "seeAllLink" ? {
1280
1312
  href: paginationAction.href,
@@ -2670,14 +2702,6 @@ function resolveAutoCtaPath(source, routes) {
2670
2702
  }
2671
2703
  return routeByNormalizedPath.get("/offerings") ?? null;
2672
2704
  }
2673
- function resolveOfferingsPreviewRunPath(run, routes) {
2674
- const routeIds = [run.eventSeriesId, run.eventOfferingId];
2675
- for (const entityId of routeIds) {
2676
- const path = normalizeRoutePath((routes ?? []).find((candidate) => candidate.entityId === entityId)?.path);
2677
- if (path) return path;
2678
- }
2679
- return null;
2680
- }
2681
2705
  function preferredPathsForSource(source) {
2682
2706
  switch (source.kind) {
2683
2707
  case "eventPreset": switch (source.preset) {
@@ -4492,7 +4516,7 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
4492
4516
  buildRender: (source) => {
4493
4517
  const passPurchaseMode = source.passPurchaseMode ?? "add_to_cart";
4494
4518
  const subscribeButtonText = source.subscribeButtonText ?? "Subscribe";
4495
- const products = shopDisplayedProducts(source);
4519
+ const products = decideShopDisplayedCatalogue(source);
4496
4520
  const dateContext = source.dateContext ?? resolveDateRuntimeContext(void 0);
4497
4521
  return {
4498
4522
  display: buildPassesMembershipsDisplay({
@@ -4765,16 +4789,17 @@ function shopCardListPresentation(source) {
4765
4789
  [key]: source[key]
4766
4790
  }), {});
4767
4791
  }
4768
- function shopDisplayedProducts(source) {
4792
+ function decideShopDisplayedCatalogue(source) {
4793
+ const passes = source.showPasses === false ? [] : source.passes ?? [];
4794
+ const memberships = source.showMemberships === false ? [] : source.memberships ?? [];
4769
4795
  return {
4770
- passes: source.showPasses === false ? [] : source.passes ?? [],
4771
- memberships: source.showMemberships === false ? [] : source.memberships ?? []
4796
+ passes,
4797
+ memberships,
4798
+ featured: [...passes, ...memberships].some(({ id }) => id === source.featured) ? source.featured ?? null : null
4772
4799
  };
4773
4800
  }
4774
4801
  function shopFeaturedProduct(source, products) {
4775
- const selectedId = source.featured;
4776
- const visible = [...products.passes, ...products.memberships].some(({ id }) => id === selectedId);
4777
- return source.lookSlots && source.itemRoles?.featured && selectedId && visible ? { featured: selectedId } : {};
4802
+ return source.lookSlots && source.itemRoles?.featured && products.featured !== null ? { featured: products.featured } : {};
4778
4803
  }
4779
4804
  /** Server and hydrated cards share the same decided role and featured marker. */
4780
4805
  function shopProductPresentation(hydration, productId, index, count) {
@@ -4786,4 +4811,4 @@ function shopProductPresentation(hydration, productId, index, count) {
4786
4811
  };
4787
4812
  }
4788
4813
  //#endregion
4789
- export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, resolveEventSelection as $t, parseStoredCommerceCartState as A, recurringScheduleProjectionSchema as At, giftingBlockRuntime as B, listingEventCardProps as Bt, membershipCardListContent as C, eventCombinedInteractiveIslandPropsCodec as Ct, buildPassCartItem as D, eventCalendarBlockRuntime as Dt, EMPTY_COMMERCE_CART_STATE as E, buildEventCalendarListingRender as Et, buildNewsletterFormInteractiveIslandProps as F, getEventRuntimeFiltersKey as Ft, formInteractiveIslandPropsCodec as G, MediaNodeServer as Gt, publicGiftingOffersResponseSchema as H, CardListLeadDate as Ht, newsletterBlockSubmissionMessage as I, normalizeCsvIds as It, displayButtonText as J, Grid as Jt, buildEventRegistrationDisplayFromScopedEvents as K, getCardOrientation as Kt, newsletterFormBlockRuntime as L, normalizeCsvString as Lt, reduceCommerceCart as M, eventListingBlockRuntime as Mt, publicProductsResponseSchema as N, eventListingInteractiveIslandPropsCodec as Nt, buildProductCartItem as O, eventCalendarInteractiveIslandPropsCodec as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, buildEventRuntimeFilters as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, formatEventPriceDisplay as Qt, newsletterFormInteractiveIslandPropsCodec as R, normalizeOptionalId as Rt, formatInterval as S, eventCombinedBlockRuntime as St, passCardListContent as T, buildEventCalendarListingDisplay as Tt, buildFormInteractiveIslandProps as U, resolveCardListSchedule as Ut, giftingInteractiveIslandPropsCodec as V, CardListContentPart as Vt, formBlockRuntime as W, selectCardListPresentation as Wt, eventRegistrationInteractiveIslandPropsCodec as X, formatEventPrice as Xt, eventRegistrationBlockRuntime as Y, buildEventListWeek as Yt, offeringNounForEvent as Z, formatEventPriceAmount as Zt, shopProductPresentation as _, bookingPanelHeading as _t, buildShopInteractiveIslandProps as a, planSiteChromePlacement as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, buildEventCombinedInteractiveIslandProps as bt, checkoutBlockRuntime as c, publicPassProductCollectionSchema as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, parseMailingListPlacementTargeting as dn, resolveOfferingsRenderInput as dt, headerChromeRuntimeContractSchema as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, parseMailingListVisitorSelection as fn, DEFAULT_BOOKING_BUTTON_TEXT as ft, shopInteractiveIslandPropsCodec as g, bookingEntryProgress as gt, shopBlockRuntime as h, bookingEntry as ht, buildProductListInteractiveIslandProps as i, parseHeaderPositioning as in, isOfferingsPreviewSourceKey as it, productItemKey as j, buildEventListingInteractiveIslandProps as jt, deriveCommerceCheckoutState as k, projectRecurringSchedule as kt, checkoutInteractiveIslandPropsCodec as l, buildMailingListSignupBlockSourceRef as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, sameMailingListPlacementTargeting as mn, bookingCardEntry as mt, buildCheckoutInteractiveIslandProps as n, resolveHeaderChromeRuntimeContract as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, splitSiteChromePlacementClasses as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, DEFAULT_MAILING_LIST_TARGETING as pn, bookingBarPlacement as pt, buildEventRegistrationInteractiveIslandProps as q, getContainerClass as qt, buildProductDetailInteractiveIslandProps as r, staticHeaderChromeRuntime as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, publicMembershipProductCollectionSchema as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, isHeaderScrollRuntimeEnabled as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, assessMailingListTargeting as un, resolveOfferingsPreviewRunPath as ut, buildCartDisplay as v, formatBookingSchedulePresentation as vt, membershipClassesLabel as w, buildEventCalendarInteractiveIslandProps as wt, formatCommercePrice as x, buildEventCombinedListingDisplay as xt, buildProductCardDisplay as y, occurrenceContextSchema as yt, buildGiftingInteractiveIslandProps as z, catalogueEventCardProps as zt };
4814
+ export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, headerChromeRuntimeContractSchema as $t, parseStoredCommerceCartState as A, buildEventListingInteractiveIslandProps as At, giftingBlockRuntime as B, CardListContentPart as Bt, membershipCardListContent as C, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, normalizeCsvIds as Ft, formInteractiveIslandPropsCodec as G, getCardOrientation as Gt, publicGiftingOffersResponseSchema as H, resolveCardListSchedule as Ht, newsletterBlockSubmissionMessage as I, normalizeCsvString as It, displayButtonText as J, buildEventListWeek as Jt, buildEventRegistrationDisplayFromScopedEvents as K, getContainerClass as Kt, newsletterFormBlockRuntime as L, normalizeOptionalId as Lt, reduceCommerceCart as M, eventListingInteractiveIslandPropsCodec as Mt, publicProductsResponseSchema as N, buildEventRuntimeFilters as Nt, buildProductCartItem as O, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, getEventRuntimeFiltersKey as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, resolveEventSelection as Qt, newsletterFormInteractiveIslandPropsCodec as R, catalogueEventCardProps as Rt, formatInterval as S, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, selectCardListPresentation as Ut, giftingInteractiveIslandPropsCodec as V, CardListLeadDate as Vt, formBlockRuntime as W, MediaNodeServer as Wt, eventRegistrationInteractiveIslandPropsCodec as X, formatEventPriceAmount as Xt, eventRegistrationBlockRuntime as Y, formatEventPrice as Yt, offeringNounForEvent as Z, formatEventPriceDisplay as Zt, shopProductPresentation as _, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, splitSiteChromePlacementClasses as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, buildMailingListSignupBlockSourceRef as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, parseMailingListVisitorSelection as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, isHeaderScrollRuntimeEnabled as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, DEFAULT_MAILING_LIST_TARGETING as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, bookingPanelHeading as gt, shopBlockRuntime as h, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, planSiteChromePlacement as in, isOfferingsPreviewSourceKey as it, productItemKey as j, eventListingBlockRuntime as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, assessMailingListTargeting as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, staticHeaderChromeRuntime as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, publicMembershipProductCollectionSchema as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, sameMailingListPlacementTargeting as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, Grid as qt, buildProductDetailInteractiveIslandProps as r, parseHeaderPositioning as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, publicPassProductCollectionSchema as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, resolveHeaderChromeRuntimeContract as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, parseMailingListPlacementTargeting as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, occurrenceContextSchema as vt, membershipClassesLabel as w, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, listingEventCardProps as zt };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-9ZfMb6GA.mjs";
2
+ import { t as BlockApiProvider } from "./context-Bg0SFWcM.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Chu5BHra.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CnZ_1ol2.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx