@riverbankcms/sdk 0.163.0 → 0.164.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 (195) hide show
  1. package/README.md +12 -1
  2. package/dist/_dts/{BlocksIslandsHydrator-DYPGA_qh.d.ts → BlocksIslandsHydrator-CubPwupc.d.ts} +1 -1
  3. package/dist/_dts/{Page-zwnvFBPu.d.ts → Page-CDzsagB2.d.ts} +15 -12
  4. package/dist/_dts/{SdkPreviewMode-DukuJzGr.d.ts → SdkPreviewMode-CPRQbRCI.d.ts} +2 -3
  5. package/dist/_dts/{client-Chh3bnXC.d.ts → client-CbeYTSry.d.ts} +13 -41
  6. package/dist/_dts/{content-types-Bbzqw9J2.d.ts → content-types--uYRIcIF.d.ts} +2 -2
  7. package/dist/_dts/{contracts-GJ1kGBsi.d.ts → contracts-DJQYAOsv.d.ts} +5 -4
  8. package/dist/_dts/{footerPageOutline-BNMKhyvo.d.ts → footerPageOutline-CKkhBwgJ.d.ts} +6 -6
  9. package/dist/_dts/{generatePageMetadata-Ce0m1P3B.d.ts → generatePageMetadata--qd7NCIA.d.ts} +2 -2
  10. package/dist/_dts/{index-CdSNXLOx.d.ts → index-BZE-1azr.d.ts} +1 -1
  11. package/dist/_dts/{index-C3mJvn27.d.ts → index-BpEbwDM7.d.ts} +4 -4
  12. package/dist/_dts/index-CXsnaCGe.d.ts +10 -0
  13. package/dist/_dts/{index-rhMSu0oY.d.ts → index-CjdIn9-_.d.ts} +2 -2
  14. package/dist/_dts/{index-DRxgeK8L.d.ts → index-DYQFmf--.d.ts} +2 -2
  15. package/dist/_dts/{index-CyQhZuhM.d.ts → index-D_pQO-AS.d.ts} +21803 -21487
  16. package/dist/_dts/{index-FstkyqQB.d.ts → index-DriYVLfT.d.ts} +2 -2
  17. package/dist/_dts/{index-CaL0nKkl.d.ts → index-JS8WYgD3.d.ts} +31245 -31027
  18. package/dist/_dts/{index-G2p-HOrK.d.ts → index-wegfy7lf.d.ts} +3 -3
  19. package/dist/_dts/{loadContent-DiLZoInK.d.ts → loadContent-DUi94Qfk.d.ts} +15 -30
  20. package/dist/_dts/{resolvePageContent-CWUnipv8.d.ts → resolvePageContent-JDE0ry6T.d.ts} +2 -2
  21. package/dist/_dts/sdk/src/bookings/index.d.ts +3 -4
  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 +7 -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/spam-protection/index.d.ts +32 -52
  46. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  47. package/dist/_dts/{types-DFOqkClJ.d.ts → types-DiciZDrk.d.ts} +3 -3
  48. package/dist/_dts/{types-CalL7aKP.d.ts → types-DubJnBnI.d.ts} +7 -7
  49. package/dist/_dts/{types-BmtrA45p.d.ts → types-W40f2olO.d.ts} +3 -2
  50. package/dist/_dts/{validation-G8MRoIhq.d.ts → validation-BF4_zNkR.d.ts} +4 -4
  51. package/dist/client/{BlocksIslandsHydrator-DLCXwe30.mjs → BlocksIslandsHydrator-64hFxF02.mjs} +20 -20
  52. package/dist/client/{BookingMailingListNote-BV5-50F0.mjs → BookingMailingListNote-CSQyFm9J.mjs} +1 -1
  53. package/dist/client/{CalendarNavigationChevron-CVLAHdZG.mjs → CalendarNavigationChevron-Bvkx8Z7Y.mjs} +6 -6
  54. package/dist/client/{CheckboxChoice-Dtgp3OU8.mjs → CheckboxChoice-3PhxDxgR.mjs} +1 -1
  55. package/dist/client/{DemoBookingPortalAccess-B3caCnTT.mjs → DemoBookingPortalAccess-pt2xXBQp.mjs} +5 -5
  56. package/dist/client/{DemoPortalSignInLink-Ct8JMKW0.mjs → DemoPortalSignInLink-Qw780EfW.mjs} +1 -1
  57. package/dist/client/{EventCalendar.client-ffa6920T.mjs → EventCalendar.client-DWoboRW5.mjs} +9 -9
  58. package/dist/client/{EventCombined.client-zm0W2G79.mjs → EventCombined.client-C98ucpcP.mjs} +8 -8
  59. package/dist/client/{EventEmbeddedCheckoutStep-CPPE2rWS.mjs → EventEmbeddedCheckoutStep-DHRlFfkp.mjs} +2 -1
  60. package/dist/client/{EventItem-CND3mfra.mjs → EventItem-hrSyTApW.mjs} +20 -16
  61. package/dist/client/{EventListWeekNavigation-D8QdxL_f.mjs → EventListWeekNavigation-C3t7H13W.mjs} +1 -1
  62. package/dist/client/{EventListing.client-CaoRZUI9.mjs → EventListing.client-Cp11sBX_.mjs} +3 -3
  63. package/dist/client/{EventListing.view-BfnOmxYD.mjs → EventListing.view-Dd5QHIAf.mjs} +7 -7
  64. package/dist/client/{EventRegistrationPayment-Dfu3RSL2.mjs → EventRegistrationPayment-ByT88VHR.mjs} +18 -22
  65. package/dist/client/{LocationMapActions-wlyxASdT.mjs → LocationMapActions-BsepG5Vv.mjs} +2 -2
  66. package/dist/client/{MapDrawingSvg-B9oKSitp.mjs → MapDrawingSvg-R4JMT4yd.mjs} +1 -1
  67. package/dist/client/{Page-BEF9HrAy.mjs → Page-Dub71o3c.mjs} +444 -199
  68. package/dist/client/ProtectedSubmitButton-DGbgGvdh.mjs +14 -0
  69. package/dist/client/SpamProtectionWidget-CRsKTQV-.mjs +139 -0
  70. package/dist/client/{StepIndicator-Bjx4faaw.mjs → StepIndicator-Bp7MyutT.mjs} +2 -2
  71. package/dist/client/{TabBarFragment-Cu7k_VSl.mjs → TabBarFragment-C4WJyybx.mjs} +1 -1
  72. package/dist/client/{ThemedButton-DclwabI7.mjs → ThemedButton-BGVwNwE-.mjs} +2 -898
  73. package/dist/client/{accordion-lzM2nSZB.mjs → accordion-vCG_JC5t.mjs} +1 -1
  74. package/dist/client/altchaProtection-BWchRM3v.mjs +12 -0
  75. package/dist/client/{booking-form.client-Bll4QwBi.mjs → booking-form.client-CHTbcZJM.mjs} +23 -56
  76. package/dist/client/{bookingForm-Cq5fQ-vo.mjs → bookingForm-BxbUbzUr.mjs} +4 -4
  77. package/dist/client/bookings.mjs +23 -32
  78. package/dist/client/{carousel-CxerQwIx.mjs → carousel-FM1mkkL0.mjs} +2 -2
  79. package/dist/client/{carousel.client-CVUXq8Mb.mjs → carousel.client-ChoLiWwD.mjs} +1 -1
  80. package/dist/client/{cart-X-m0isoI.mjs → cart-BDFhbh9j.mjs} +3 -3
  81. package/dist/client/{cart.client-CJbzWIl0.mjs → cart.client-x3HOke6T.mjs} +1 -1
  82. package/dist/client/{checkout-Gd0O_fGH.mjs → checkout-BibhwnTd.mjs} +3 -3
  83. package/dist/client/{checkout.client-Baee6Jsm.mjs → checkout.client-CE4jUi0G.mjs} +1 -1
  84. package/dist/client/client.mjs +216 -109
  85. package/dist/client/{context-Bg0SFWcM.mjs → context-BNAM7NsW.mjs} +17 -3
  86. package/dist/client/{cta-HffyM4MA.mjs → cta-ChiN1Vgg.mjs} +1 -1
  87. package/dist/client/{dateFormatting-CV45BH5M.mjs → dateFormatting-QwBSo0hK.mjs} +1 -1
  88. package/dist/client/{demoPortalMagicLink-CDWheSjI.mjs → demoPortalMagicLink-NwKJk6gn.mjs} +1 -1
  89. package/dist/client/{enhanceHeaderSection-BqVDXL0D.mjs → enhanceHeaderSection-D4zqEBDl.mjs} +3 -3
  90. package/dist/client/{event-details.client-SFtS9OkF.mjs → event-details.client-jFyFjOIC.mjs} +1 -1
  91. package/dist/client/{event-registration.client-CguNVIFY.mjs → event-registration.client-BK_jVv3R.mjs} +37 -55
  92. package/dist/client/{eventCalendar-DSGG35jd.mjs → eventCalendar-DSkzejQh.mjs} +4 -4
  93. package/dist/client/{eventCombined-Oe-PiChx.mjs → eventCombined-BG-BEaYh.mjs} +4 -4
  94. package/dist/client/{eventDetails-BhcTT6P3.mjs → eventDetails-BhIwXAKe.mjs} +2 -2
  95. package/dist/client/{eventListing-BS0kBEgI.mjs → eventListing-DQtyO1Xj.mjs} +4 -4
  96. package/dist/client/{eventRegistration-B82SHv7j.mjs → eventRegistration-DRTz8X0M.mjs} +4 -4
  97. package/dist/client/{form-DAIUrVXb.mjs → form-GXqjObPC.mjs} +3 -3
  98. package/dist/client/{form.client-BoAkhoh_.mjs → form.client-CoKNba2e.mjs} +33 -24
  99. package/dist/client/{form.parts-1VnasOK8.mjs → form.parts-magB_epJ.mjs} +6 -5
  100. package/dist/client/{formatDate-BKil_Psb.mjs → formatDate-BiloOyjS.mjs} +1 -1
  101. package/dist/client/gifting/client.mjs +4 -3
  102. package/dist/client/{headerSection-CyuHk8Ei.mjs → headerSection-BMQCPHT3.mjs} +2 -2
  103. package/dist/client/{mediaAssets-CGJE1Omu.mjs → mediaAssets-BX-vWwQc.mjs} +1 -1
  104. package/dist/client/{mediaContext-DIkX2S-X.mjs → mediaContext-CdqGYlWl.mjs} +1 -1
  105. package/dist/client/{newsletter-form.client-CCdyHx0B.mjs → newsletter-form.client-8orCez1z.mjs} +99 -84
  106. package/dist/client/{newsletter-form.parts-Dl8AjsXW.mjs → newsletter-form.parts-D8NgHY_F.mjs} +11 -7
  107. package/dist/client/{newsletterForm-qFWLZJui.mjs → newsletterForm-BhBNsS3n.mjs} +3 -3
  108. package/dist/client/{noop-4XFGzJpT.mjs → noop-C2vZse15.mjs} +3 -3
  109. package/dist/client/portal/client.mjs +13 -12
  110. package/dist/client/{product-detail.client-Tq4S99ce.mjs → product-detail.client-CQ0k0fbH.mjs} +1 -1
  111. package/dist/client/{product-list.client-CuL5jB1w.mjs → product-list.client-Xlr1P0x9.mjs} +1 -1
  112. package/dist/client/{productDetail-BRqgcotZ.mjs → productDetail-BsCao6X4.mjs} +3 -3
  113. package/dist/client/{productList-EK9Um-oh.mjs → productList-Cc-PmbEe.mjs} +3 -3
  114. package/dist/client/{propsDecoder-VD4arFq1.mjs → propsDecoder-DikkDJ9x.mjs} +3 -3
  115. package/dist/client/protection-C0PoH1lT.mjs +104 -0
  116. package/dist/client/purchase-BMsWpx8y.mjs +894 -0
  117. package/dist/client/{registry.server-qYbsatxH.mjs → registry.server-BpLZo3bC.mjs} +27 -24
  118. package/dist/client/rendering/client.mjs +27 -26
  119. package/dist/client/rendering/islands.mjs +1 -1
  120. package/dist/client/rendering.mjs +11 -7
  121. package/dist/client/{richText-coerce-CW8CFk8v.mjs → richText-coerce-WuMYrBm3.mjs} +1 -1
  122. package/dist/client/{routeIslandApiConfig-CnZ_1ol2.mjs → routeIslandApiConfig-DNx6b07x.mjs} +1 -1
  123. package/dist/client/{schema-BFwQDvJL.mjs → schema-DMUkBtIO.mjs} +2385 -2364
  124. package/dist/client/{shop-CTUaT57E.mjs → shop-DyXtB5TD.mjs} +3 -3
  125. package/dist/client/{shop-commerce-store-15UII0y3.mjs → shop-commerce-store-CbBsS1kD.mjs} +1 -1
  126. package/dist/client/{shop-commerce-BWwbsm_-.mjs → shop-commerce-xjWH7-Ym.mjs} +11 -11
  127. package/dist/client/{shop.client-UWgdmJBm.mjs → shop.client-QOKqQPgK.mjs} +12 -12
  128. package/dist/client/{shop.interactive-Cf_kASpd.mjs → shop.interactive-BQdm441g.mjs} +24 -14
  129. package/dist/client/{shopShared-Bi8d584P.mjs → shopShared-CyW6MU48.mjs} +2 -2
  130. package/dist/client/{site-styles-dy54AUdz.mjs → site-styles-BLHYJ8S7.mjs} +20 -15
  131. package/dist/client/spam-protection.mjs +4 -69
  132. package/dist/client/{timetableModel-Bi8ruFgB.mjs → timetableModel-BgdkhRuA.mjs} +10 -10
  133. package/dist/client/{useAvailableSlots-DiLbDqM3.mjs → useAvailableSlots-wmdo6uZ8.mjs} +3 -3
  134. package/dist/client/{useBookingNowIso-CWIiqPd0.mjs → useBookingNowIso-CUExAee1.mjs} +1 -1
  135. package/dist/client/{useDiscountApply-ChtszhF9.mjs → useDiscountApply-BRM-OoTN.mjs} +2 -2
  136. package/dist/client/{useDiscountCodeUi-B0Z7n2tZ.mjs → useDiscountCodeUi-BEIvL31G.mjs} +1 -1
  137. package/dist/client/{useEventPagination-DRrATQHQ.mjs → useEventPagination-Dk3g64we.mjs} +6 -6
  138. package/dist/client/{view-yUIfWX3S.mjs → view-BnaOmrap.mjs} +4 -4
  139. package/dist/client/{view-OvsxzgxP.mjs → view-vhKGFfC3.mjs} +7 -7
  140. package/dist/client/{wizardSteps-kbONzKUv.mjs → wizardSteps-xqU4q63H.mjs} +14 -14
  141. package/dist/preview-next/before-render.mjs +1 -1
  142. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-DzoFjIqB.mjs → EventEmbeddedCheckoutStep-43wIAWr4.mjs} +1 -1
  143. package/dist/preview-next/client/{PreviewEditorSidebar-BhgPyyUW.mjs → PreviewEditorSidebar-C3AQVxQt.mjs} +68 -68
  144. package/dist/preview-next/client/{PreviewEditorUI-lndKKBtB.mjs → PreviewEditorUI-C-1zDCR_.mjs} +3 -3
  145. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bk7On_EM.mjs → SdkPreviewModeRuntime-B47yHFL0.mjs} +240 -177
  146. package/dist/preview-next/client/{SdkPreviewModeRuntime-DCDDXDlt.mjs → SdkPreviewModeRuntime-C6Rhm2NQ.mjs} +1 -1
  147. package/dist/preview-next/client/{ThemedButton-nUnE3iMv.mjs → ThemedButton-g7NPrsGp.mjs} +60 -45
  148. package/dist/preview-next/client/{previewAuthStore-DHtSQIBE.mjs → previewAuthStore-By_zfrS5.mjs} +102570 -102217
  149. package/dist/preview-next/client/{previewChromeSurface-CxQ6dZ8D.mjs → previewChromeSurface-Cjwxv90x.mjs} +1 -1
  150. package/dist/preview-next/client/runtime.mjs +3 -3
  151. package/dist/preview-next/client/{sdk-runtime-DSZv7Vfm.mjs → sdk-runtime-BG2HYvQj.mjs} +1 -1
  152. package/dist/preview-next/client/{siteStyleAccess-Chq5KKKh.mjs → siteStyleAccess-BiSyYyyr.mjs} +3541 -3525
  153. package/dist/preview-next/client/{spinner-CjxE3uws.mjs → spinner-DnWpeDp2.mjs} +1 -1
  154. package/dist/preview-next/keepAlive.mjs +1 -1
  155. package/dist/preview-next/middleware.mjs +1 -1
  156. package/dist/preview-next/{route-contract-CxCstfkP.mjs → route-contract-D5tHZEz5.mjs} +31 -42
  157. package/dist/server/{Block.shared-Dz9k8vCX.mjs → Block.shared-Iy7g11iP.mjs} +5 -4
  158. package/dist/server/{bindings-S-gCHhj5.mjs → bindings-BVJGgUT0.mjs} +2 -2
  159. package/dist/server/{client-C2Q56xqV.mjs → client-CiKaE8ms.mjs} +215 -109
  160. package/dist/server/config-validation.mjs +1 -1
  161. package/dist/server/config.mjs +2 -2
  162. package/dist/server/{effectiveNavLinkStyle-DLzJPcDL.mjs → effectiveNavLinkStyle-EDSdd_oK.mjs} +14 -8
  163. package/dist/server/index.mjs +3 -3
  164. package/dist/server/{loadContent-D7ItMsEl.mjs → loadContent-BuintpdO.mjs} +6 -4
  165. package/dist/server/loadPage-BwjncpJf.mjs +2 -0
  166. package/dist/server/{loadPage-DaPiPYUL.mjs → loadPage-Dk4wea8M.mjs} +3 -2
  167. package/dist/server/next.mjs +9 -9
  168. package/dist/server/{overrideResolution-anoB3Kbn.mjs → overrideResolution-BDiQWM7D.mjs} +1 -1
  169. package/dist/server/{overrides-W1Cc6srh.mjs → overrides-DVemf-GV.mjs} +66 -46
  170. package/dist/server/page-converter.mjs +1 -1
  171. package/dist/server/{prebuild-BF9yNfCS.mjs → prebuild-DubLNgRH.mjs} +1 -1
  172. package/dist/server/prebuild.mjs +1 -1
  173. package/dist/server/{prefetchBlockData-Cn9k3DW6.mjs → prefetchBlockData-Bnbwoe5n.mjs} +48 -27
  174. package/dist/server/{publicProducts-BVcJ6TG7.mjs → publicProducts-D3Fc5TKk.mjs} +76 -70
  175. package/dist/server/{registry-4ZF3bUuJ.mjs → registry-zjd1P2Dl.mjs} +34 -21
  176. package/dist/server/rendering/server.mjs +4 -4
  177. package/dist/server/rendering.mjs +8 -8
  178. package/dist/server/{resolveBlockData-BKQ1Fc0M.mjs → resolveBlockData-CZJ--nH6.mjs} +1 -1
  179. package/dist/server/routing.mjs +1 -1
  180. package/dist/server/{schema-DgrigZq9.mjs → schema-BlTWmTSl.mjs} +58 -37
  181. package/dist/server/server.mjs +3 -3
  182. package/dist/server/{site-styles-CxE9F3hj.mjs → site-styles-yHytcXIB.mjs} +9 -10
  183. package/dist/server/{siteChromeOverlayClearance-OhS6f830.mjs → siteChromeOverlayClearance-D0uCNZ7E.mjs} +32 -36
  184. package/dist/server/{src-C44_fMy5.mjs → src-cbbK3Bho.mjs} +286 -71
  185. package/dist/server/theme-bridge.mjs +1 -1
  186. package/dist/server/theme.mjs +1 -1
  187. package/dist/server/{themeAdmission-CVc04B9m.mjs → themeAdmission-BdY8lP-K.mjs} +3 -2
  188. package/dist/server/{validation-BrbY0nxR.mjs → validation-CGH-Xs4E.mjs} +2 -2
  189. package/dist/server/{version-BBSk8uM6.mjs → version-DoOG6F13.mjs} +1 -1
  190. package/dist/styles/index.css +262 -65
  191. package/package.json +2 -3
  192. package/dist/_dts/AltchaWidget-COIYJ7DF.d.ts +0 -33
  193. package/dist/_dts/index-D2y4Iy-d.d.ts +0 -77
  194. package/dist/client/src-BNZzXgWu.mjs +0 -102
  195. package/dist/server/loadPage-D2qvYV5g.mjs +0 -2
@@ -1,7 +1,7 @@
1
1
  "use client";
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";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-DikkDJ9x.mjs";
3
+ import { t as ShopClient } from "./shop.client-QOKqQPgK.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-CyW6MU48.mjs";
5
5
  //#region src/rendering/islands/enhancers/shop.tsx
6
6
  const decode = defineIslandPropsDecoder("shop");
7
7
  const enhance = (root, props) => {
@@ -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-Cf_kASpd.mjs";
2
+ import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-BQdm441g.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,19 +1,19 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
2
+ 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-BQdm441g.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-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";
4
+ import { Kt as RichText } from "./wizardSteps-xqU4q63H.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
6
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BGVwNwE-.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-ChtszhF9.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-BRM-OoTN.mjs";
10
10
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.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";
11
+ import { t as coerceRichTextDoc } from "./richText-coerce-WuMYrBm3.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-BnaOmrap.mjs";
13
+ import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
14
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-NwKJk6gn.mjs";
15
+ import { t as CarouselNodeClient } from "./carousel.client-ChoLiWwD.mjs";
16
+ import { n as useCommerceCart } from "./shop-commerce-store-CbBsS1kD.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,23 +1,23 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
2
+ import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-BQdm441g.mjs";
3
3
  import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.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";
4
+ import { Wn as getShopSuccessCopy } from "./wizardSteps-xqU4q63H.mjs";
5
+ import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
6
+ import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.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-ChtszhF9.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-BRM-OoTN.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-B0Z7n2tZ.mjs";
13
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BEIvL31G.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-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";
15
+ import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-BnaOmrap.mjs";
16
+ import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
17
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-NwKJk6gn.mjs";
18
+ import { t as CarouselNodeClient } from "./carousel.client-ChoLiWwD.mjs";
19
+ import { r as formatEntitlementEnd } from "./dateFormatting-QwBSo0hK.mjs";
20
+ import { t as addPassToCommerceCart } from "./shop-commerce-store-CbBsS1kD.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,16 +1,21 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, l as buildCalendarViewport } from "./src-1PJxc8KO.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";
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-DMUkBtIO.mjs";
4
+ import { b as formatCurrencyAmount } from "./purchase-BMsWpx8y.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-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";
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-xqU4q63H.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-C2vZse15.mjs";
8
+ import { g as resolveModeArrangement } from "./site-styles-BLHYJ8S7.mjs";
9
+ import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-BGVwNwE-.mjs";
10
+ import { n as getCurrentResolveImageUrlContext } from "./mediaContext-CdqGYlWl.mjs";
10
11
  import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
11
12
  import "react";
12
13
  import { z } from "zod";
13
14
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
15
+ //#region ../core/src/block-interaction-context.ts
16
+ /** Server-resolved presentation context, never permission to perform a write. */
17
+ const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
18
+ //#endregion
14
19
  //#region ../core/src/mailing-list-targeting.ts
15
20
  const DEFAULT_MAILING_LIST_TARGETING = { mode: "default" };
16
21
  function sameMailingListPlacementTargeting(left, right) {
@@ -2920,7 +2925,6 @@ const eventRegistrationCommonSchemaShape = {
2920
2925
  successMessage: z.string().optional(),
2921
2926
  buttonVariant: registrationButtonVariantSchema.optional(),
2922
2927
  host: bookingHostSchema.optional(),
2923
- spamProtectionEnabled: z.boolean().optional(),
2924
2928
  supportEmail: z.string().optional(),
2925
2929
  sitePasses: publicPassProductCollectionSchema.nullable().optional(),
2926
2930
  siteMemberships: publicMembershipProductCollectionSchema.nullable().optional(),
@@ -3110,7 +3114,6 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
3110
3114
  successMessage: source.successMessage,
3111
3115
  buttonVariant: source.buttonVariant,
3112
3116
  host: source.host ?? "overlay",
3113
- spamProtectionEnabled: source.spamProtectionEnabled,
3114
3117
  supportEmail: source.supportEmail,
3115
3118
  sitePasses: source.sitePasses ?? null,
3116
3119
  siteMemberships: source.siteMemberships ?? null,
@@ -3524,6 +3527,7 @@ function withOptionalPhone(fields, includePhone) {
3524
3527
  }
3525
3528
  //#endregion
3526
3529
  //#region ../blocks/src/system/runtime/nodes/newsletter-form.interactive.ts
3530
+ const NEWSLETTER_DEMO_MESSAGE = "This is a demo. No signup has been saved.";
3527
3531
  const NEWSLETTER_SIGNUPS_PAUSED_MESSAGE = "We can’t accept signups right now. Please try again later.";
3528
3532
  function newsletterBlockSubmissionMessage(target) {
3529
3533
  if (target.tag === "block-source") return target.sourceRef ? null : NEWSLETTER_SIGNUPS_PAUSED_MESSAGE;
@@ -3581,6 +3585,7 @@ const newsletterSourceCommonSchema = z.object({
3581
3585
  siteId: z.string().optional(),
3582
3586
  apiBaseUrl: z.string().optional(),
3583
3587
  mailingList: mailingListContextSchema.optional(),
3588
+ interactionContext: blockInteractionContextSchema.optional(),
3584
3589
  targeting: mailingListTargetingSchema.optional(),
3585
3590
  buttonVariant: newsletterButtonVariantSchema.nullable().optional(),
3586
3591
  spamProtectionEnabled: z.boolean().optional(),
@@ -3637,6 +3642,7 @@ const newsletterHydrationSchema = z.object({
3637
3642
  token: signedMailingListSourceTokenSchema
3638
3643
  })
3639
3644
  }),
3645
+ z.object({ tag: z.literal("demo") }),
3640
3646
  z.object({ tag: z.literal("preview") }),
3641
3647
  z.object({
3642
3648
  tag: z.literal("unpublished-preview"),
@@ -3665,24 +3671,27 @@ const newsletterIslandMetaCodec = createZodCodec(z.object({
3665
3671
  apiBaseUrl: z.string().optional()
3666
3672
  }));
3667
3673
  const newsletterIslandMetaKeys = defineInteractiveIslandMetaKeys("siteId", "apiBaseUrl");
3668
- function buildNewsletterDisplay(source) {
3669
- const context = source.mailingList;
3670
- const form = context?.tag === "configured" ? context.form : {
3674
+ function newsletterGlobalForm(context) {
3675
+ return context?.tag === "configured" ? context.form : {
3671
3676
  fields: { preset: "emailOnly" },
3672
3677
  includeOptionalPhone: false,
3673
3678
  buttonLabel: "Subscribe",
3674
3679
  successMessage: DEFAULT_MAILING_LIST_SUCCESS_MESSAGE,
3675
3680
  privacyNote: null
3676
3681
  };
3682
+ }
3683
+ function buildNewsletterDisplay(source) {
3684
+ const context = source.mailingList;
3685
+ const form = newsletterGlobalForm(context);
3677
3686
  const assessment = assessMailingListTargeting(context, source.targeting ?? { mode: "default" });
3678
3687
  const choices = resolveRuntimeChoices(assessment);
3679
3688
  return {
3680
3689
  kind: "newsletter-form",
3681
3690
  ...source.lookSlots ? { lookSlots: source.lookSlots } : {},
3682
- availability: assessment.tag === "available" ? "ready" : "unavailable",
3691
+ availability: source.interactionContext?.kind === "demo" || assessment.tag === "available" ? "ready" : "unavailable",
3683
3692
  className: source.className ?? null,
3684
3693
  buttonLabel: form.buttonLabel,
3685
- successMessage: form.successMessage,
3694
+ successMessage: source.interactionContext?.kind === "demo" ? NEWSLETTER_DEMO_MESSAGE : form.successMessage,
3686
3695
  buttonVariant: source.buttonVariant ?? "primary",
3687
3696
  privacyNote: form.privacyNote,
3688
3697
  fields: getGlobalFormFields(form, source),
@@ -3705,12 +3714,13 @@ const newsletterFormBlockRuntime = defineProgressiveBlockRuntime({
3705
3714
  setupRevision: source.mailingList?.tag === "configured" ? source.mailingList.revision : null,
3706
3715
  choiceProvider: targeting.mode === "custom" ? targeting.provider : null,
3707
3716
  choicePresentation: presentation.tag,
3708
- spamProtectionEnabled: source.spamProtectionEnabled
3717
+ spamProtectionEnabled: source.interactionContext?.kind === "demo" ? false : source.spamProtectionEnabled
3709
3718
  }
3710
3719
  };
3711
3720
  }
3712
3721
  });
3713
3722
  function projectNewsletterFormHydrationTarget(source) {
3723
+ if (source.interactionContext?.kind === "demo") return { tag: "demo" };
3714
3724
  switch (source.source) {
3715
3725
  case "block": switch (source.newsletterBlockSubmission.tag) {
3716
3726
  case "unpublished-form":
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-Bg0SFWcM.mjs";
2
+ import { t as BlockApiProvider } from "./context-BNAM7NsW.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CnZ_1ol2.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DNx6b07x.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { $ as generateInteractiveChildInheritanceCSS, $n as requirePaletteColorsFromEntries, Bt as makeBoundaryId, Ct as asDesignBoundaryId, Dt as asPageFlowPresetId, Et as asLayoutVariantKey, Fn as planForegroundHover, G as headerInteractionPaletteValues, Gt as requireNonEmptyReadonlyArray, H as cardRoleValues, Hn as scrimTone, In as TokenResolver, It as flushPanelFrame, J as logoSizePolicyValues, Jn as hexColorSchema, K as headerInteractionQuietPalette, Kn as featuresFromHex, On as surfaceToneFromForegroundToken, Ot as asSiteStyleId, Q as generateBaseInteractiveCSS, Qn as paletteValueKeySchema, Qt as resolveSurface, St as asDesignBlockId, Tt as asDesignSystemTemplateId, Ut as panelFrame, V as cardRoleSchema, Vn as gradientScrimSamples, Vt as noHeadingDecoration, Wn as resolveConcreteColorHex, Wt as plainFrame, X as buttonStyleSelectionSchema, Xn as paletteModeSchema, Y as defaultButtonStyleSelectionFor, Yn as paletteColorsSchema, Z as generateEffectsCSS, Zn as paletteValueKey, _r as parseEditorSessionGeneration, _t as arrangementModes, an as surfaceForegroundInputFromResolved, at as navLinkHoverColorCandidate, bt as asBlockOrderIndex, ct as navEffectPolicy, er as unsafeAsOpaqueButtonColourToken, et as NAV_LINK_BORDER_RADIUS_MAP, ft as runtimeBoxBackgroundSchema, gt as themeV2RuntimeStyleFieldNames, hn as rgbColorValue, it as NAV_LINK_TEXT_SIZE_MAP, jt as defineExactCatalog, kn as resolveSurfaceForeground, kt as assertNever, mt as siteChromeBackgroundOverrideOwner, n as headerPositioningValues, nr as themeColorShadeSteps, nt as NAV_LINK_PADDING_MAP, ot as navLinkOwnsHoverForeground, q as brandDisplayModeValues, rt as NAV_LINK_PADDING_X_MAP, sn as surfaceForegroundValue, st as navLinkOwnsUnderline, tr as parseThemeColorToken, tt as NAV_LINK_LETTER_SPACING_MAP, vt as asAppearancePresetId, wt as asDesignPageId, xt as asBoundaryOptionId, yt as asBlockContentVersionId, zn as expandPalette, zt as isArrangementMode } from "./schema-BFwQDvJL.mjs";
2
+ import { $ as generateInteractiveChildInheritanceCSS, Bt as makeBoundaryId, Ct as asDesignBoundaryId, Dn as planForegroundHover, Dt as asPageFlowPresetId, Et as asLayoutVariantKey, Fn as surfaceForegroundInputFromResolved, G as headerInteractionPaletteValues, Gn as paletteModeSchema, Gt as requireNonEmptyReadonlyArray, H as cardRoleValues, It as flushPanelFrame, J as logoSizePolicyValues, Jn as requirePaletteColorsFromEntries, K as headerInteractionQuietPalette, Kn as paletteValueKey, Ln as surfaceForegroundValue, On as TokenResolver, Ot as asSiteStyleId, Q as generateBaseInteractiveCSS, Qt as resolveSurface, St as asDesignBlockId, Tn as expandPalette, Tt as asDesignSystemTemplateId, Un as hexColorSchema, Ut as panelFrame, V as cardRoleSchema, Vn as resolveConcreteColorHex, Vt as noHeadingDecoration, Wn as paletteColorsSchema, Wt as plainFrame, X as buttonStyleSelectionSchema, Xn as featuresFromHex, Y as defaultButtonStyleSelectionFor, Z as generateEffectsCSS, _r as parseEditorSessionGeneration, _t as arrangementModes, at as navLinkHoverColorCandidate, bt as asBlockOrderIndex, ct as navEffectPolicy, dn as rgbColorValue, er as unsafeAsOpaqueButtonColourToken, et as NAV_LINK_BORDER_RADIUS_MAP, ft as runtimeBoxBackgroundSchema, gt as themeV2RuntimeStyleFieldNames, it as NAV_LINK_TEXT_SIZE_MAP, jt as defineExactCatalog, kt as assertNever, mt as siteChromeBackgroundOverrideOwner, n as headerPositioningValues, nn as scrimTone, nr as themeColorShadeSteps, nt as NAV_LINK_PADDING_MAP, ot as navLinkOwnsHoverForeground, q as brandDisplayModeValues, qn as paletteValueKeySchema, rt as NAV_LINK_PADDING_X_MAP, st as navLinkOwnsUnderline, tn as gradientScrimSamples, tr as parseThemeColorToken, tt as NAV_LINK_LETTER_SPACING_MAP, vn as surfaceToneFromForegroundToken, vt as asAppearancePresetId, wt as asDesignPageId, xt as asBoundaryOptionId, yn as resolveSurfaceForeground, yt as asBlockContentVersionId, zt as isArrangementMode } from "./schema-DMUkBtIO.mjs";
3
3
  import { z } from "zod";
4
4
  //#region ../theme-core/src/site-styles/appearancePresetTypes.ts
5
5
  /** Block supply is capability, never a second Look catalogue. */
@@ -1584,19 +1584,17 @@ function parseCanonicalRuntimeBackground(content) {
1584
1584
  if (!background) return { kind: "none" };
1585
1585
  const parsed = runtimeBoxBackgroundSchema.safeParse(background);
1586
1586
  if (!parsed.success) return { kind: "none" };
1587
- const painted = applyLookPhotoTreatment(content, parsed.data);
1588
- return painted.contentOwner === "page-design-editor" ? {
1587
+ return parsed.data.contentOwner === "page-design-editor" ? {
1589
1588
  kind: "page-design-override",
1590
- background: painted
1589
+ background: parsed.data
1591
1590
  } : {
1592
1591
  kind: "block-authored",
1593
- background: painted
1592
+ background: parsed.data
1594
1593
  };
1595
1594
  }
1596
1595
  /** The Look owns shading and ink together; authored image/crop stay intact. */
1597
- function applyLookPhotoTreatment(content, background) {
1598
- const structure = readRecord(readRecord(readRecord(content._effectiveLook)?.look)?.structure);
1599
- if (background.type !== "image" || structure?.photoTreatment !== "text-overlay") return background;
1596
+ function applyLookPhotoTreatment(background, treatment) {
1597
+ if (background.type !== "image" || treatment !== "text-overlay") return background;
1600
1598
  return {
1601
1599
  ...background,
1602
1600
  overlay: {
@@ -7437,7 +7435,6 @@ z.object({
7437
7435
  fields: nonEmptyRuntimeStyleFieldNamesSchema,
7438
7436
  authority: styleAuthoritySchema
7439
7437
  }).strict();
7440
- asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
7441
7438
  /**
7442
7439
  * Curated library of gradient presets.
7443
7440
  * All gradients use theme color tokens, so they adapt to the site's palette.
@@ -8388,6 +8385,7 @@ const loomLooks = {
8388
8385
  "band"
8389
8386
  ]
8390
8387
  },
8388
+ defaultJoin: noneBoundaryOption.id,
8391
8389
  offers: [
8392
8390
  {
8393
8391
  id: id("event-details-panel"),
@@ -8415,7 +8413,8 @@ const loomLooks = {
8415
8413
  {
8416
8414
  id: id("team-members-tall-portraits"),
8417
8415
  treatment: "team-tall-portraits",
8418
- roleMap: loomRoles
8416
+ roleMap: loomRoles,
8417
+ itemRoles: { items: "card" }
8419
8418
  },
8420
8419
  {
8421
8420
  id: id("shop-price-cards-featured"),
@@ -8493,7 +8492,8 @@ const loomLooks = {
8493
8492
  {
8494
8493
  id: id("location-map-beside-address"),
8495
8494
  treatment: "map-beside-address",
8496
- roleMap: loomRoles
8495
+ roleMap: loomRoles,
8496
+ slotRoles: { panel: "card" }
8497
8497
  },
8498
8498
  {
8499
8499
  id: id("event-calendar-month-grid"),
@@ -11414,7 +11414,7 @@ const curatedSiteStyles = [
11414
11414
  navWeight: "semibold",
11415
11415
  navLinkWeight: "semibold",
11416
11416
  navTypography: "plain",
11417
- border: "bottom",
11417
+ border: "none",
11418
11418
  shadow: { kind: "explicit-none" },
11419
11419
  frame: { kind: "none" },
11420
11420
  logo: {
@@ -11844,11 +11844,11 @@ function itemSurfaceSpec(role, ground, style) {
11844
11844
  return spec;
11845
11845
  }
11846
11846
  /** Fixed standalone slots and collection slots share the role resolver. */
11847
- function resolveLookSlotSurfaces(look, roles, surfaces) {
11847
+ function resolveLookSlotSurfaces({ look, slotRoles }, roles, surfaces) {
11848
11848
  const arrangement = Object.values(look.structure.byMode)[0];
11849
11849
  const container = arrangement === "compact" ? "panel" : look.target === "events" ? "list" : "items";
11850
11850
  const entries = [
11851
- ...Object.entries(look.structure.slotRoles ?? {}).map(([slot, role]) => [slot, surfaces[role]]),
11851
+ ...Object.entries(slotRoles).map(([slot, role]) => [slot, surfaces[role]]),
11852
11852
  ...roles.container ? [[container, surfaces[roles.container]]] : [],
11853
11853
  ...roles.items ? [
11854
11854
  ["item", surfaces[roles.items]],
@@ -11859,6 +11859,7 @@ function resolveLookSlotSurfaces(look, roles, surfaces) {
11859
11859
  ];
11860
11860
  return Object.fromEntries(entries);
11861
11861
  }
11862
+ asPageFlowPresetId("flow:quiet"), noneBoundaryOption.id, asPageFlowPresetId("flow:balanced"), softBoundaryOption.id, asPageFlowPresetId("flow:expressive"), spaciousBoundaryOption.id;
11862
11863
  //#endregion
11863
11864
  //#region ../theme-core/src/site-styles/resolver.ts
11864
11865
  const blockDesignFallback = {
@@ -12096,6 +12097,10 @@ function glassStateEffects(opacity) {
12096
12097
  function readOpeningForegroundProjection(header) {
12097
12098
  return header?.__runtimeOpeningForeground ?? null;
12098
12099
  }
12100
+ /** Decided by the foreground compiler, independently of scrolling behavior. */
12101
+ function readOpeningToneProjection(header) {
12102
+ return header.__runtimeOpeningTone ?? null;
12103
+ }
12099
12104
  //#endregion
12100
12105
  //#region ../theme-core/src/header/effectiveNavLinkStyle.ts
12101
12106
  function effectiveHeaderNavLinkStyle(header, contrastTreatment = null, navTextSize = null) {
@@ -12331,4 +12336,4 @@ bookingPageLookIdValues.map((value) => {
12331
12336
  30
12332
12337
  ].flatMap((o) => [o, -o])];
12333
12338
  //#endregion
12334
- export { composeBoundary as A, defineBlockDesignMetadata as B, generateFooterCss as C, headerNeedsPhotoShade as D, generateNavLinkCSS as E, deriveSectionGround as F, cardListFamilyBlocks as H, heroPhotoPaintsGround as I, parseCanonicalRuntimeBackground as L, boundaryRuntimeMetricsForDecorativeTransition as M, anglePolygonCss as N, headerRootPaint as O, transitionCatalogueEntries as P, resolveSectionBackground as R, parseGradientPresetId as S, buildTextContrastShadow as T, cardListKnobBlocks as U, resolveEffectiveKnobs as V, deriveSiteStyleBlockPolicy as _, readOpeningForegroundProjection as a, gradientToCss as b, arrangementLookHooks as c, resolveLookSlotSurfaces as d, arrangementManifestFromVariants as f, resolvePublishedLook as g, resolveModeArrangement as h, transparentHeaderForegroundInput as i, sectionFactsForContent as j, boundaryLayout as k, arrangementSlotNames as l, resolveEffectiveArrangement as m, headerForegroundCandidates as n, mergeHeaderNavTypographyPreference as o, readStoredMode as p, headerLeafTextColor as r, readHeaderNavFontSizePreference as s, effectiveHeaderNavLinkStyle as t, resolveItemSurface as u, requireCuratedSiteStyle as v, footerForegroundCandidates as w, getGradientPreset as x, compiledRuntimeStyleFieldNames as y, sectionForegroundBackground as z };
12339
+ export { boundaryLayout as A, resolveSectionBackground as B, parseGradientPresetId as C, generateNavLinkCSS as D, buildTextContrastShadow as E, transitionCatalogueEntries as F, cardListKnobBlocks as G, defineBlockDesignMetadata as H, applyLookPhotoTreatment as I, deriveSectionGround as L, sectionFactsForContent as M, boundaryRuntimeMetricsForDecorativeTransition as N, headerNeedsPhotoShade as O, anglePolygonCss as P, heroPhotoPaintsGround as R, getGradientPreset as S, footerForegroundCandidates as T, resolveEffectiveKnobs as U, sectionForegroundBackground as V, cardListFamilyBlocks as W, resolvePublishedLook as _, readOpeningForegroundProjection as a, compiledRuntimeStyleFieldNames as b, readHeaderNavFontSizePreference as c, resolveItemSurface as d, resolveLookSlotSurfaces as f, resolveModeArrangement as g, resolveEffectiveArrangement as h, transparentHeaderForegroundInput as i, composeBoundary as j, headerRootPaint as k, arrangementLookHooks as l, readStoredMode as m, headerForegroundCandidates as n, readOpeningToneProjection as o, arrangementManifestFromVariants as p, headerLeafTextColor as r, mergeHeaderNavTypographyPreference as s, effectiveHeaderNavLinkStyle as t, arrangementSlotNames as u, deriveSiteStyleBlockPolicy as v, generateFooterCss as w, gradientToCss as x, requireCuratedSiteStyle as y, parseCanonicalRuntimeBackground as z };
@@ -1,71 +1,6 @@
1
1
  "use client";
2
2
  "use client";
3
- import { i as AltchaWidget, n as hasSpamProtection, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
4
- import { useCallback, useMemo, useState } from "react";
5
- import { jsx } from "react/jsx-runtime";
6
- //#region src/spam-protection/index.tsx
7
- /**
8
- * React hook for spam protection integration.
9
- *
10
- * Provides a pre-configured ALTCHA widget and solution state management.
11
- *
12
- * @example
13
- * ```tsx
14
- * import { useSpamProtection, getChallengeUrl } from '@riverbankcms/sdk/spam-protection'
15
- *
16
- * function ContactForm() {
17
- * const { solution, isReady, Widget } = useSpamProtection(getChallengeUrl())
18
- *
19
- * const handleSubmit = async (e) => {
20
- * e.preventDefault()
21
- * if (!isReady) return
22
- *
23
- * const formData = new FormData(e.target)
24
- * formData.set('altcha-solution', solution)
25
- * // Submit form...
26
- * }
27
- *
28
- * return (
29
- * <form onSubmit={handleSubmit}>
30
- * {/* form fields *\/}
31
- * <Widget />
32
- * <button type="submit" disabled={!isReady}>Submit</button>
33
- * </form>
34
- * )
35
- * }
36
- * ```
37
- */
38
- function useSpamProtection(challengeUrl, options = {}) {
39
- const { auto = true, hidelogo = false, className } = options;
40
- const [solution, setSolution] = useState(null);
41
- const handleSolutionChange = useCallback((newSolution) => {
42
- setSolution(newSolution);
43
- }, []);
44
- const reset = useCallback(() => {
45
- setSolution(null);
46
- }, []);
47
- return {
48
- solution,
49
- isReady: solution !== null,
50
- reset,
51
- Widget: useMemo(() => {
52
- return function SpamProtectionWidget() {
53
- return /* @__PURE__ */ jsx(AltchaWidget, {
54
- challengeUrl,
55
- onSolutionChange: handleSolutionChange,
56
- auto,
57
- hidelogo,
58
- className
59
- });
60
- };
61
- }, [
62
- challengeUrl,
63
- handleSolutionChange,
64
- auto,
65
- hidelogo,
66
- className
67
- ])
68
- };
69
- }
70
- //#endregion
71
- export { AltchaWidget, getChallengeUrl, hasSpamProtection, useSpamProtection };
3
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-DGbgGvdh.mjs";
4
+ import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
5
+ import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CRsKTQV-.mjs";
6
+ export { ProtectedSubmitButton, SpamProtectionWidget, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-1PJxc8KO.mjs";
3
- import { gn as textColorStyle, j as parseThemeButtonVariantId } from "./schema-BFwQDvJL.mjs";
4
- import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
3
+ import { fn as textColorStyle, j as parseThemeButtonVariantId } from "./schema-DMUkBtIO.mjs";
5
4
  import { c as assertNever } from "./src-VIsPY-kw.mjs";
6
- import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-kbONzKUv.mjs";
7
- import { Dt as parseLocalScheduleTime, Et as parseBookingLocalDate, Mt as toScheduledBookingDateTime, St as formatBookingCompactEnglishTime, ut as formatDate } from "./noop-4XFGzJpT.mjs";
8
- import { t as LocationMapActions } from "./LocationMapActions-wlyxASdT.mjs";
9
- import { n as resolveEventLinkProps } from "./cta-HffyM4MA.mjs";
10
- import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-CVLAHdZG.mjs";
11
- import { o as formatEventTeacherLine, r as EventItem } from "./EventItem-CND3mfra.mjs";
12
- import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-B9oKSitp.mjs";
13
- import { t as coerceRichTextDoc } from "./richText-coerce-CW8CFk8v.mjs";
5
+ import { An as isEventFull, Kt as RichText, Mr as listItemPresentation, On as getEventAvailabilityStatus, Pr as listLookSlot, _n as formatEventTimeRange, bn as resolveEventTimeZone, cn as eventDateOptions, fn as formatEventClockLabel, vn as formatTime, wn as formatEventRemainingPlaces, xr as resolveDateRuntimeContext, yn as groupEventsByDate } from "./wizardSteps-xqU4q63H.mjs";
6
+ import { Dt as parseLocalScheduleTime, Et as parseBookingLocalDate, Mt as toScheduledBookingDateTime, St as formatBookingCompactEnglishTime, ut as formatDate } from "./noop-C2vZse15.mjs";
7
+ import { t as LocationMapActions } from "./LocationMapActions-BsepG5Vv.mjs";
8
+ import { n as resolveEventLinkProps } from "./cta-ChiN1Vgg.mjs";
9
+ import { a as buildMonthDay, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-Bvkx8Z7Y.mjs";
10
+ import { o as formatEventTeacherLine, r as EventItem } from "./EventItem-hrSyTApW.mjs";
11
+ import { C as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
12
+ import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-R4JMT4yd.mjs";
13
+ import { t as coerceRichTextDoc } from "./richText-coerce-WuMYrBm3.mjs";
14
14
  import "react";
15
15
  import { z } from "zod";
16
16
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { Cr as unsafeAsAppointmentResourceId } from "./schema-BFwQDvJL.mjs";
2
+ import { Cr as unsafeAsAppointmentResourceId } from "./schema-DMUkBtIO.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { At as resolveBookingTimeZoneId, Ct as formatLocalScheduleDate, Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, Tt as getLocalScheduleDate, mt as formatTime$1, ut as formatDate$1, yt as addLocalScheduleDays } from "./noop-4XFGzJpT.mjs";
5
- import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
4
+ import { At as resolveBookingTimeZoneId, Ct as formatLocalScheduleDate, Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, Tt as getLocalScheduleDate, mt as formatTime$1, ut as formatDate$1, yt as addLocalScheduleDays } from "./noop-C2vZse15.mjs";
5
+ import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
6
6
  import { useCallback, useEffect, useReducer, useRef } from "react";
7
7
  //#region ../blocks/src/utils/date-formatting.ts
8
8
  /**
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Nt as toUtcIsoDateTimeString } from "./noop-4XFGzJpT.mjs";
2
+ import { Nt as toUtcIsoDateTimeString } from "./noop-C2vZse15.mjs";
3
3
  import { useCallback, useEffect, useState } from "react";
4
4
  //#region ../blocks/src/system/runtime/hooks/useBookingNowIso.ts
5
5
  const ANCHOR_CLOCK = { kind: "anchor" };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { Mr as err, Nr as ok } from "./schema-BFwQDvJL.mjs";
2
+ import { Mr as err, Nr as ok } from "./schema-DMUkBtIO.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-B3caCnTT.mjs";
4
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
5
5
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
6
6
  import * as React$1 from "react";
7
7
  import { useCallback } from "react";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-B3caCnTT.mjs";
2
+ import { c as discountAvailabilityAllowsManualEntry, l as discountAvailabilityHasDiscounts, u as getAutoAppliedDiscountPreview } from "./DemoBookingPortalAccess-pt2xXBQp.mjs";
3
3
  import { useEffect, useReducer, useRef } from "react";
4
4
  import { jsx, jsxs } from "react/jsx-runtime";
5
5
  //#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
2
+ import { Ft as normalizeCsvIds, It as normalizeCsvString, Lt as normalizeOptionalId, Pt as getEventRuntimeFiltersKey } from "./shop.interactive-BQdm441g.mjs";
3
3
  import { t as assertNever } from "./src-VIsPY-kw.mjs";
4
- import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-kbONzKUv.mjs";
5
- import { Ft as normalizeCsvIds, It as normalizeCsvString, Lt as normalizeOptionalId, Pt as getEventRuntimeFiltersKey } from "./shop.interactive-Cf_kASpd.mjs";
6
- import { r as EventItem } from "./EventItem-CND3mfra.mjs";
7
- import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-BfnOmxYD.mjs";
8
- import { n as useBlockApi } from "./context-Bg0SFWcM.mjs";
4
+ import { Gt as getBlockApiReadStage, Mr as listItemPresentation, Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
5
+ import { r as EventItem } from "./EventItem-hrSyTApW.mjs";
6
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
7
+ import { i as EventCard, n as EmptyState, r as EventCompactRow, t as EventListingFrameView } from "./EventListing.view-Dd5QHIAf.mjs";
8
+ import { n as useBlockApi } from "./context-BNAM7NsW.mjs";
9
9
  import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
10
10
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../blocks/src/system/runtime/hooks/loadStateError.ts
@@ -1,8 +1,8 @@
1
1
  "use client";
2
- import { r as ThemedButton } from "./ThemedButton-DclwabI7.mjs";
3
- import { Pr as listLookSlot } from "./wizardSteps-kbONzKUv.mjs";
4
- import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-Cf_kASpd.mjs";
5
- import { r as EventItem, t as CardListCollection } from "./EventItem-CND3mfra.mjs";
2
+ import { C as membershipCardListContent, T as passCardListContent, w as membershipClassesLabel } from "./shop.interactive-BQdm441g.mjs";
3
+ import { Pr as listLookSlot } from "./wizardSteps-xqU4q63H.mjs";
4
+ import { r as EventItem, t as CardListCollection } from "./EventItem-hrSyTApW.mjs";
5
+ import { r as ThemedButton } from "./ThemedButton-BGVwNwE-.mjs";
6
6
  import React from "react";
7
7
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
8
8
  //#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- import { U as formatCurrencyAmount } from "./ThemedButton-DclwabI7.mjs";
2
+ import { Bt as CardListContentPart, Xt as formatEventPriceAmount, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _t as formatBookingSchedulePresentation } from "./shop.interactive-BQdm441g.mjs";
3
+ import { b as formatCurrencyAmount } from "./purchase-BMsWpx8y.mjs";
3
4
  import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
4
5
  import { c as assertNever } from "./src-VIsPY-kw.mjs";
5
- import { $r as formatBookingPriceDisplay, Br as CANCELLED_SESSION_STATUS, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Hr as orderedLiveRunSessions, On as getEventAvailabilityStatus, Pr as listLookSlot, Ur as resolveWholeSeriesBookingPhase, ai as publicEventPricingType, cn as eventDateOptions, mn as formatEventDateParts, ni as publicEventPricingCurrency, pn as formatEventCompactDateRail, ri as publicEventPricingDisplay, ti as isPublicEventPricingOptionDisplayable, wn as formatEventRemainingPlaces } from "./wizardSteps-kbONzKUv.mjs";
6
- import { Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Tt as getLocalScheduleDate, dt as formatDateRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, pt as formatDateTimeRange, ut as formatDate, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-4XFGzJpT.mjs";
7
- import { t as LocationMapActions } from "./LocationMapActions-wlyxASdT.mjs";
8
- import { Bt as CardListContentPart, Xt as formatEventPriceAmount, Yt as formatEventPrice, Zt as formatEventPriceDisplay, _t as formatBookingSchedulePresentation } from "./shop.interactive-Cf_kASpd.mjs";
9
- import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-HffyM4MA.mjs";
10
- import { n as MapDrawingSvg } from "./MapDrawingSvg-B9oKSitp.mjs";
6
+ import { $r as formatBookingPriceDisplay, Br as CANCELLED_SESSION_STATUS, Dr as resolveEventRegistrationScopedEvents, En as formatTotalCapacity, Hr as orderedLiveRunSessions, On as getEventAvailabilityStatus, Pr as listLookSlot, Ur as resolveWholeSeriesBookingPhase, ai as publicEventPricingType, cn as eventDateOptions, mn as formatEventDateParts, ni as publicEventPricingCurrency, pn as formatEventCompactDateRail, ri as publicEventPricingDisplay, ti as isPublicEventPricingOptionDisplayable, wn as formatEventRemainingPlaces } from "./wizardSteps-xqU4q63H.mjs";
7
+ import { Mt as toScheduledBookingDateTime, Nt as toUtcIsoDateTimeString, Tt as getLocalScheduleDate, dt as formatDateRange, jt as toBookingTimeZone, kt as resolveBookingBusinessTimeZone, pt as formatDateTimeRange, ut as formatDate, wt as getBookingLocalDateKey, xt as compareLocalScheduleDates } from "./noop-C2vZse15.mjs";
8
+ import { t as LocationMapActions } from "./LocationMapActions-BsepG5Vv.mjs";
9
+ import { n as resolveEventLinkProps, t as resolveEventCta } from "./cta-ChiN1Vgg.mjs";
10
+ import { n as MapDrawingSvg } from "./MapDrawingSvg-R4JMT4yd.mjs";
11
11
  import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
12
12
  import "react";
13
13
  import { jsx, jsxs } from "react/jsx-runtime";