@riverbankcms/sdk 0.171.1 → 0.173.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 (220) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-D-6cWDDC.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
  2. package/dist/_dts/{Page-4jkUDm4D.d.ts → Page-Bk99sJwV.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DEvzvovi.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
  4. package/dist/_dts/{client-CXPH5esD.d.ts → client-ZlNEIvlU.d.ts} +1002 -140
  5. package/dist/_dts/{content-types-DsCr4-ny.d.ts → content-types-DBXPNc0h.d.ts} +3 -3
  6. package/dist/_dts/{contracts-BlmXM7xP.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
  7. package/dist/_dts/{footerPageOutline-BA0DnxWU.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
  8. package/dist/_dts/{generatePageMetadata-B7IRJCFG.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
  9. package/dist/_dts/{index-BZ8-c4iQ.d.ts → index-BnatulTs.d.ts} +3 -3
  10. package/dist/_dts/{index-Sua-7CF1.d.ts → index-C611wjIL.d.ts} +1 -1
  11. package/dist/_dts/{index-C9_OTCFQ.d.ts → index-CJzs-yIJ.d.ts} +2 -2
  12. package/dist/_dts/{index-B3gfKNI-.d.ts → index-DW3eeNph.d.ts} +4 -4
  13. package/dist/_dts/{index-DlABXDte.d.ts → index-Dq_AboWN.d.ts} +1 -1
  14. package/dist/_dts/{index-DScYSl03.d.ts → index-DutLU2d2.d.ts} +49 -38
  15. package/dist/_dts/{index-BQPJbOkU.d.ts → index-KXh8FQ2s.d.ts} +2 -2
  16. package/dist/_dts/{loadContent-Dx4fW3Pa.d.ts → loadContent-Bde2y870.d.ts} +7 -7
  17. package/dist/_dts/{request-DUTkELQn.d.ts → request-Bysk4QPI.d.ts} +2862 -508
  18. package/dist/_dts/{resolveBlockData-Cze35i_N.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
  19. package/dist/_dts/{resolvePageContent-zf6-E-C3.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
  20. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  22. package/dist/_dts/sdk/src/client.d.ts +7 -7
  23. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  24. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  27. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  28. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  29. package/dist/_dts/sdk/src/index.d.ts +8 -8
  30. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  31. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  32. package/dist/_dts/sdk/src/navigation/index.d.ts +6 -2
  33. package/dist/_dts/sdk/src/next/index.d.ts +7 -7
  34. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  35. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  36. package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
  37. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  38. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  39. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  41. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  42. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  43. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  45. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  46. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  47. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  48. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  49. package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
  50. package/dist/_dts/sdk/src/server.d.ts +5 -5
  51. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  52. package/dist/_dts/sdk/src/theme/index.d.ts +18 -1
  53. package/dist/_dts/{types-JD-36x3P.d.ts → types-BoEk9ZON.d.ts} +3 -3
  54. package/dist/_dts/{types-BCzfYDW2.d.ts → types-BwitGNTl.d.ts} +7 -7
  55. package/dist/_dts/{types-CPHk5Voq.d.ts → types-kpp8XyXv.d.ts} +2 -2
  56. package/dist/_dts/{validation-0MyQlzWJ.d.ts → validation-ChftKX-o.d.ts} +4 -4
  57. package/dist/client/{BlocksIslandsHydrator-vTHQyBQF.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
  58. package/dist/client/{BookingMailingListNote-Blge9FJo.mjs → BookingMailingListNote-LHQMODqB.mjs} +14 -8
  59. package/dist/client/{BookingPanelArrangement-wm6eeuin.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
  60. package/dist/client/{BookingQuestionFields-BlaCItmH.mjs → BookingQuestionFields-BewbU_cV.mjs} +4 -4
  61. package/dist/client/{CalendarNavigationChevron-DRH9qFny.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +42 -35
  62. package/dist/client/{CheckboxChoice-B65wFjqx.mjs → CheckboxChoice-b-PJLEXe.mjs} +1 -1
  63. package/dist/client/{DemoBookingPortalAccess-DPGZArG9.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +23 -23
  64. package/dist/client/{EventCalendar.client-FGg6yCLH.mjs → EventCalendar.client-CaI6upCX.mjs} +12 -11
  65. package/dist/client/{EventCombined.client-218_Gqgp.mjs → EventCombined.client-CoRUaYHY.mjs} +12 -11
  66. package/dist/client/{EventEmbeddedCheckoutStep-DKKRCuta.mjs → EventEmbeddedCheckoutStep-B18VbNS_.mjs} +1 -1
  67. package/dist/client/{EventItem-DKdZSW_R.mjs → EventItem-Doe4KodB.mjs} +60 -25
  68. package/dist/client/{EventListWeekNavigation-DZJ5qBhg.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
  69. package/dist/client/{EventListing.client-CCdsrqHc.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
  70. package/dist/client/{EventListing.view-BVoHnVZA.mjs → EventListing.view-BmfyK7S5.mjs} +220 -81
  71. package/dist/client/{EventRegistrationPayment-BVxHCnxs.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +847 -146
  72. package/dist/client/{LocationMapActions-QahdLtdE.mjs → LocationMapActions-CdRPU6gp.mjs} +2 -2
  73. package/dist/client/{MapDrawingSvg-Dy6UMuIw.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
  74. package/dist/client/{Page-CT4HaEMr.mjs → Page-D46Dmr7b.mjs} +1976 -532
  75. package/dist/client/{ProtectedSubmitButton-AOUzjDK9.mjs → ProtectedSubmitButton-C-ql101B.mjs} +1 -1
  76. package/dist/client/{StepIndicator-DRJy4eU3.mjs → StepIndicator-CrSZCZn1.mjs} +83 -12
  77. package/dist/client/{TabBarFragment-CsAufYwT.mjs → TabBarFragment-BqfRLojo.mjs} +1 -1
  78. package/dist/client/{ThemedButton-BMDHwnM6.mjs → ThemedButton-DuaYtnvG.mjs} +1 -1
  79. package/dist/client/{accessibleSurfaces-BnyVRqdU.mjs → accessibleSurfaces-D4DhWo9j.mjs} +37 -38
  80. package/dist/client/{accordion-BOApxi9U.mjs → accordion-P8xcfKxq.mjs} +1 -1
  81. package/dist/client/bookability-SargNwlO.mjs +17 -0
  82. package/dist/client/{booking-form.client-DDf8Lmo5.mjs → booking-form.client-BM2s-NqR.mjs} +33 -29
  83. package/dist/client/{bookingForm-DWrgG-Xx.mjs → bookingForm-JnaZPZge.mjs} +4 -4
  84. package/dist/client/bookings.mjs +5 -5
  85. package/dist/client/{boxStyleClassNames-7MVCNWgc.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
  86. package/dist/client/{carousel-DeI76SEP.mjs → carousel-CQQ_m0KA.mjs} +2 -2
  87. package/dist/client/{carousel.client-YF4mUK5t.mjs → carousel.client-h65clfUO.mjs} +1 -1
  88. package/dist/client/{cart-D_uxULCO.mjs → cart-0Q4fjw_K.mjs} +3 -3
  89. package/dist/client/{cart.client-BxSMse88.mjs → cart.client-BI0IaHX3.mjs} +1 -1
  90. package/dist/client/{checkout-DIbh4g5e.mjs → checkout-1J-3ftxF.mjs} +3 -3
  91. package/dist/client/{checkout.client-x4Lkw8-E.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-DqN3L-kl.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
  93. package/dist/client/client.mjs +183 -4
  94. package/dist/client/{context-Dzjv2CpA.mjs → context-D0KCgbOq.mjs} +94 -14
  95. package/dist/client/course-CmOuoZHN.mjs +237 -0
  96. package/dist/client/{dateFormatting-BfurxGwg.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
  97. package/dist/client/{demoPortalMagicLink-D0dcPsRE.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
  98. package/dist/client/{display-ChgDe9Da.mjs → display-lL-YRApN.mjs} +4460 -888
  99. package/dist/client/{enhanceHeaderSection-BEjg_h_6.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +139 -16
  100. package/dist/client/{event-details.client-COmbQ3mc.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
  101. package/dist/client/{event-registration.client-BvQG3qEY.mjs → event-registration.client-GuuElczW.mjs} +1316 -554
  102. package/dist/client/{eventCalendar-DiitbUpV.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
  103. package/dist/client/{eventCombined-Da9Z8KDq.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
  104. package/dist/client/{eventDetails-Cf-kg7d6.mjs → eventDetails-BJpAD10-.mjs} +2 -2
  105. package/dist/client/{eventListing-xwXgVp7a.mjs → eventListing-jLB8iRqp.mjs} +4 -4
  106. package/dist/client/{eventRegistration-hlFYlgTA.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
  107. package/dist/client/{form-ERv_X_oZ.mjs → form-DO6qKH3M.mjs} +3 -3
  108. package/dist/client/{form.client-Cz24FYNj.mjs → form.client-D12ljYiX.mjs} +4 -4
  109. package/dist/client/{form.parts-DeaH4kIe.mjs → form.parts-C8QHaQOI.mjs} +3 -3
  110. package/dist/client/{formatDate-Cjouxh4Y.mjs → formatDate-BnhfIpCa.mjs} +1 -1
  111. package/dist/client/gifting/client.mjs +3 -3
  112. package/dist/client/{headerSection-CJvt0ZP4.mjs → headerSection-BtFWtoUm.mjs} +2 -2
  113. package/dist/client/{newsletter-form.client-WuGDEzdD.mjs → newsletter-form.client-oHrqM_Ao.mjs} +5 -5
  114. package/dist/client/{newsletter-form.parts-DhnW6tdB.mjs → newsletter-form.parts-D5U-FuVy.mjs} +2 -2
  115. package/dist/client/{newsletterForm-DxG7NV8U.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
  116. package/dist/client/{noop-poI1m2yW.mjs → noop-CN0o0yjH.mjs} +131 -12
  117. package/dist/client/portal/client.mjs +231 -117
  118. package/dist/client/{product-detail.client-DsSfbmdV.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
  119. package/dist/client/{product-list.client-Byzow88i.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
  120. package/dist/client/{productDetail-iXkmQpxG.mjs → productDetail-DaqM-LgL.mjs} +3 -3
  121. package/dist/client/{productList-HoFGQXFl.mjs → productList-CMx4-XlG.mjs} +3 -3
  122. package/dist/client/{propsDecoder-CH2-LJME.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
  123. package/dist/client/{registry.server-ed20Q7bV.mjs → registry.server-Cdot3dMk.mjs} +2705 -2397
  124. package/dist/client/rendering/client.mjs +27 -27
  125. package/dist/client/rendering/islands.mjs +1 -1
  126. package/dist/client/rendering.mjs +38 -63
  127. package/dist/client/{richText-coerce-CtoGLZ_e.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
  128. package/dist/client/{routeIslandApiConfig-CBUO-xuz.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
  129. package/dist/client/{runtimeResponse-3brbt2Jq.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
  130. package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
  131. package/dist/client/{shop-DXyeSNgi.mjs → shop-Cy6xXDM7.mjs} +3 -3
  132. package/dist/client/{shop-commerce--klkHNzu.mjs → shop-commerce-oDR76k1q.mjs} +13 -12
  133. package/dist/client/{shop-commerce-store-BdpIWdc4.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
  134. package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
  135. package/dist/client/{shop.client-Sv7QVDmj.mjs → shop.client-Brha4BSM.mjs} +13 -12
  136. package/dist/client/{shop.interactive-C0IjiWOs.mjs → shop.interactive-CXhYl0DW.mjs} +218 -89
  137. package/dist/client/{shopShared-Jt4TzcAG.mjs → shopShared-JCa_SRhP.mjs} +2 -2
  138. package/dist/client/spam-protection.mjs +1 -1
  139. package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
  140. package/dist/client/{timetableModel-BxbnEJCi.mjs → timetableModel-CZeJwMxP.mjs} +11 -11
  141. package/dist/client/{types-B0hJldSt.mjs → types-DjWUR_O6.mjs} +8 -2
  142. package/dist/client/{useAvailableSlots-ByHedoBi.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
  143. package/dist/client/{useDiscountApply-dToQs9oY.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
  144. package/dist/client/{useDiscountCodeUi-C_aa_H69.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
  145. package/dist/client/{useEventPagination--MFZBoJt.mjs → useEventPagination-CCAGQHsD.mjs} +6 -6
  146. package/dist/client/{view-DhEwiTJG.mjs → view-D6yebI4r.mjs} +223 -65
  147. package/dist/client/{view-C_brMDU2.mjs → view-Sw075FOY.mjs} +3 -3
  148. package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CKe4cjZ4.mjs → EventEmbeddedCheckoutStep-aRJjq4x8.mjs} +1 -1
  149. package/dist/preview-next/client/{LocationPickerEnvironment-OwAxA2C0.mjs → LocationPickerEnvironment-D4F_5rnr.mjs} +1 -1
  150. package/dist/preview-next/client/{MapLibreEditMap-CaUOTCSh.mjs → MapLibreEditMap-BKMNxSEJ.mjs} +2 -2
  151. package/dist/preview-next/client/{PageSectionToolbar-Dfi8Y3AI.mjs → PageSectionToolbar-DG2rXUmo.mjs} +48 -36
  152. package/dist/preview-next/client/{PreviewEditorSidebar-DJlX4sXP.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +113 -416
  153. package/dist/preview-next/client/{PreviewEditorUI-FVAibBlC.mjs → PreviewEditorUI-CqZCfOaz.mjs} +5 -5
  154. package/dist/preview-next/client/PreviewLayoutContext-Dy0LwcHc.mjs +26 -0
  155. package/dist/preview-next/client/PreviewQueryProvider-BgIucg_5.mjs +21 -0
  156. package/dist/preview-next/client/{PreviewShell-9eAon7Z8.mjs → PreviewShell-Bv2HZ7JY.mjs} +313 -64
  157. package/dist/preview-next/client/{SdkPreviewModeRuntime-Byf-KW1x.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +300 -174
  158. package/dist/preview-next/client/{SiteChromeCustomizeButton-eU-zMftO.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +3246 -1079
  159. package/dist/preview-next/client/{ThemedButton-CKYjeU_M.mjs → ThemedButton-CVYz7h68.mjs} +8 -2
  160. package/dist/preview-next/client/{lucide-react-X0DjcFij.mjs → lucide-react-BCNn8dEQ.mjs} +1 -1
  161. package/dist/preview-next/client/{previewAssistantSlot-3FZrzbK8.mjs → previewAssistantSlot-La6MerV_.mjs} +11994 -6013
  162. package/dist/preview-next/client/{previewChromeRoot-C4gyNQXE.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
  163. package/dist/preview-next/client/runtime.mjs +5 -4
  164. package/dist/preview-next/client/sdk-runtime-BkckHox4.mjs +6 -0
  165. package/dist/preview-next/client/{useAutosaveStatus-OIMkhbkP.mjs → useAutosaveStatus-CPAHgGqI.mjs} +2 -2
  166. package/dist/preview-next/client/{useOpenBlockForSetup-BNG9P9sM.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +20 -8
  167. package/dist/preview-next/container-responsive.css +215 -4
  168. package/dist/preview-next/keepAlive.mjs +1 -1
  169. package/dist/preview-next/middleware.mjs +1 -1
  170. package/dist/preview-next/{route-contract-BLY4ycq6.mjs → route-contract-CPV30ABr.mjs} +179 -0
  171. package/dist/server/{Block.shared-BC3jPIP4.mjs → Block.shared-BaMMstO1.mjs} +5 -5
  172. package/dist/server/{ThemeScopeCore-B7Ey6AWT.mjs → ThemeScopeCore-D1NTXZdX.mjs} +14 -9
  173. package/dist/server/{accessibleSurfaces-BxsHs-jf.mjs → accessibleSurfaces-Dbd2__Le.mjs} +12 -11
  174. package/dist/server/{bindings-xQ9v3zrn.mjs → bindings-Dge4sqel.mjs} +109 -20
  175. package/dist/server/{block-kinds-DkzOr19P.mjs → block-kinds-BCY9z3oB.mjs} +1 -0
  176. package/dist/server/{client-DCwLR0kQ.mjs → client-VVIQjC4r.mjs} +183 -4
  177. package/dist/server/config-template-validation.mjs +3 -0
  178. package/dist/server/config-validation.mjs +1 -1
  179. package/dist/server/config.mjs +3 -3
  180. package/dist/server/data/resolveBlockData.mjs +1 -1
  181. package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
  182. package/dist/server/index.mjs +4 -4
  183. package/dist/server/{loadContent-C4I3ltU_.mjs → loadContent-BIJb3WAK.mjs} +19 -15
  184. package/dist/server/{loadPage-COvxWN0r.mjs → loadPage-DjTU19y7.mjs} +2 -2
  185. package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
  186. package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
  187. package/dist/server/navigation.mjs +1 -1
  188. package/dist/server/next.mjs +6 -6
  189. package/dist/server/{opaqueSurface-QiUjZmEV.mjs → opaqueSurface-COEKXVwk.mjs} +2 -2
  190. package/dist/server/{overrideResolution-BqQg6Iws.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
  191. package/dist/server/page-converter.mjs +1 -1
  192. package/dist/server/{pageRenderPlan-CVCGTj5S.mjs → pageRenderPlan-CytPhrI9.mjs} +1084 -351
  193. package/dist/server/{pageRuntimeSupport-C7Be9suN.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +4 -3
  194. package/dist/server/{pageShared-H_bSBPLd.mjs → pageShared-Bhx8bVe1.mjs} +1187 -902
  195. package/dist/server/{parseThemeForPersistence-Bk0o95m6.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +2 -2
  196. package/dist/server/{prebuild-HQNOeCs9.mjs → prebuild-BjvFb0CA.mjs} +1 -1
  197. package/dist/server/prebuild.mjs +1 -1
  198. package/dist/server/{prefetchBlockData-CbRsnhta.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
  199. package/dist/server/{registry-CaeRTf4E.mjs → registry-BMCfcev6.mjs} +10282 -7366
  200. package/dist/server/rendering/components/pageShared.mjs +1 -1
  201. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  202. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  203. package/dist/server/rendering/server.mjs +3 -3
  204. package/dist/server/rendering.mjs +8 -8
  205. package/dist/server/{resolveBlockData-CUMjWbXQ.mjs → resolveBlockData--yUbI-Ll.mjs} +2 -2
  206. package/dist/server/{resolveButtonColourStates-euZnRMIu.mjs → resolveButtonColourStates-CCPUY9Xh.mjs} +32 -9
  207. package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
  208. package/dist/server/{schema-CxBsE9Dv.mjs → schema-D5Vfmqzw.mjs} +396 -2
  209. package/dist/server/server.mjs +3 -3
  210. package/dist/server/theme-bridge.mjs +2 -2
  211. package/dist/server/theme.mjs +2 -2
  212. package/dist/server/{validation-CvmhnkDr.mjs → validation-EgTtnTcY.mjs} +5 -5
  213. package/dist/server/{version-Clp2evCf.mjs → version-LjgU0Cq1.mjs} +1 -1
  214. package/dist/styles/index.css +1434 -15
  215. package/package.json +1 -1
  216. package/dist/client/cta-CP9l112u.mjs +0 -121
  217. package/dist/client/runtimeResponse-CTarP5K6.mjs +0 -3
  218. package/dist/preview-next/client/PreviewQueryProvider-BC0V7iAR.mjs +0 -43
  219. package/dist/preview-next/client/sdk-runtime-DtyRbz4E.mjs +0 -5
  220. package/dist/server/rich-text-CRcONdyM.mjs +0 -33
@@ -1,37 +1,37 @@
1
1
  "use client";
2
2
  "use client";
3
- import { ln as staticHeaderChromeRuntime } from "../shop.interactive-C0IjiWOs.mjs";
3
+ import { gn as staticHeaderChromeRuntime } from "../shop.interactive-CXhYl0DW.mjs";
4
4
  import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
5
- import { Cn as ImagePresets, Dn as renderAudio, En as mediaImageHostProps, Mn as resolveMediaNodeResponsiveImage, On as renderVideo, Sn as RichText, Tn as computeMediaTransformStyle, wn as MediaPlaceholder } from "../display-ChgDe9Da.mjs";
6
- import { n as BookingFormNodeClient } from "../booking-form.client-DDf8Lmo5.mjs";
7
- import { ln as formatCurrencyAmount } from "../noop-poI1m2yW.mjs";
5
+ import { Cr as renderAudio, Or as resolveMediaNodeResponsiveImage, Sr as mediaImageHostProps, br as MediaPlaceholder, vr as RichText, wr as renderVideo, xr as computeMediaTransformStyle, yr as ImagePresets } from "../display-lL-YRApN.mjs";
6
+ import { n as BookingFormNodeClient } from "../booking-form.client-BM2s-NqR.mjs";
7
+ import { fn as formatCurrencyAmount } from "../noop-CN0o0yjH.mjs";
8
8
  import { p as assertNever } from "../creditProducts-BTRX4edc.mjs";
9
- import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-DPGZArG9.mjs";
10
- import "../accessibleSurfaces-BnyVRqdU.mjs";
11
- import { B as markEditableSurfaceForwarding, V as splitPositioningClasses, _n as ICON_CONFIG, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes, z as composeHeaderSectionWrapperClassName } from "../registry.server-ed20Q7bV.mjs";
12
- import { f as Text } from "../timetableModel-BxbnEJCi.mjs";
13
- import { t as EventRegistrationBlockClient } from "../event-registration.client-BvQG3qEY.mjs";
14
- import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-Dzjv2CpA.mjs";
15
- import { S as clsx } from "../ThemedButton-BMDHwnM6.mjs";
16
- import { t as ShopClient } from "../shop.client-Sv7QVDmj.mjs";
9
+ import { t as EventRegistrationBlockClient } from "../event-registration.client-GuuElczW.mjs";
10
+ import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-CARUWQ_E.mjs";
11
+ import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, kn as ICON_CONFIG, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-Cdot3dMk.mjs";
12
+ import { f as Text } from "../timetableModel-CZeJwMxP.mjs";
13
+ import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-D0KCgbOq.mjs";
14
+ import "../accessibleSurfaces-D4DhWo9j.mjs";
15
+ import { S as clsx } from "../ThemedButton-DuaYtnvG.mjs";
16
+ import { t as ShopClient } from "../shop.client-Brha4BSM.mjs";
17
17
  import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
18
18
  import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
19
- import { t as coerceRichTextDoc } from "../richText-coerce-CtoGLZ_e.mjs";
20
- import { o as getRuntimeTimeZone } from "../useAvailableSlots-ByHedoBi.mjs";
19
+ import { t as coerceRichTextDoc } from "../richText-coerce-ByApwB4q.mjs";
20
+ import { o as getRuntimeTimeZone } from "../useAvailableSlots-DfbSkWop.mjs";
21
21
  import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
22
- import { t as CarouselNodeClient } from "../carousel.client-YF4mUK5t.mjs";
23
- import { t as EventDetailsIslandClient } from "../event-details.client-COmbQ3mc.mjs";
24
- import { t as ProductListClient } from "../product-list.client-Byzow88i.mjs";
25
- import { t as ProductDetailClient } from "../product-detail.client-DsSfbmdV.mjs";
26
- import { t as CartClient } from "../cart.client-BxSMse88.mjs";
27
- import { t as CheckoutClient } from "../checkout.client-x4Lkw8-E.mjs";
28
- import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-BEjg_h_6.mjs";
29
- import { t as EventListingClient } from "../EventListing.client-CCdsrqHc.mjs";
30
- import { n as EventCombinedIslandClient } from "../EventCombined.client-218_Gqgp.mjs";
31
- import { t as EventCalendarClient } from "../EventCalendar.client-FGg6yCLH.mjs";
32
- import { t as FormNodeClient } from "../form.client-Cz24FYNj.mjs";
33
- import { t as NewsletterFormClient } from "../newsletter-form.client-WuGDEzdD.mjs";
34
- import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-vTHQyBQF.mjs";
22
+ import { t as CarouselNodeClient } from "../carousel.client-h65clfUO.mjs";
23
+ import { t as EventDetailsIslandClient } from "../event-details.client-DH1-Jxsh.mjs";
24
+ import { t as ProductListClient } from "../product-list.client-DkSpw6WQ.mjs";
25
+ import { t as ProductDetailClient } from "../product-detail.client-d_sNCapC.mjs";
26
+ import { t as CartClient } from "../cart.client-BI0IaHX3.mjs";
27
+ import { t as CheckoutClient } from "../checkout.client-DOGYDlDk.mjs";
28
+ import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-B-eLGs2C.mjs";
29
+ import { t as EventListingClient } from "../EventListing.client-DvJ5tGTx.mjs";
30
+ import { n as EventCombinedIslandClient } from "../EventCombined.client-CoRUaYHY.mjs";
31
+ import { t as EventCalendarClient } from "../EventCalendar.client-CaI6upCX.mjs";
32
+ import { t as FormNodeClient } from "../form.client-D12ljYiX.mjs";
33
+ import { t as NewsletterFormClient } from "../newsletter-form.client-oHrqM_Ao.mjs";
34
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-BnUeSE3d.mjs";
35
35
  import * as React$1 from "react";
36
36
  import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
37
37
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,4 +1,4 @@
1
1
  "use client";
2
2
  "use client";
3
- import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-vTHQyBQF.mjs";
3
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-BnUeSE3d.mjs";
4
4
  export { BlocksIslandsHydrator };
@@ -1,50 +1,18 @@
1
1
  "use client";
2
- import { bn as unsafeAsContentEntryId } from "./shop.interactive-C0IjiWOs.mjs";
2
+ import { Dn as unsafeAsContentEntryId } from "./shop.interactive-CXhYl0DW.mjs";
3
3
  import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
4
- import { $o as sanitizeHref, An as resolveImageUrl$1, Ca as surfaceResolutionContextFromTheme, Jo as asDesignBlockId, Os as unsafeAsEventCategoryId, Ra as parsePageDesignIntent, Sn as RichText$2, Ti as resolveDateRuntimeContext, Tn as computeMediaTransformStyle, Yo as asLayoutVariantKey, _a as designRuntimeRulesForSiteStyle, fa as buildInitialPolicyPageDesignIntent, ga as componentRuntimeRulesForSiteStyle, jn as resolveImageUrlWithContext$1, kn as resolveImageSourceSetWithContext$1, lo as appearancePresets, qo as asAppearancePresetId, wi as readRuntimeNow, ya as requireCuratedSiteStyle } from "./display-ChgDe9Da.mjs";
5
- import { Ct as isRecord$1, J as buildRichTextSchema, Y as createRichTextDoc, et as mediaSchema, in as toUtcIsoDateTimeString, nt as runtimeMediaSchema, tt as persistableMediaSchema, wt as EVENT_PRESET_VALUES } from "./noop-poI1m2yW.mjs";
6
- import { $ as normalizeRepeaterGridSpan, B as systemBlockDefinitions, C as sanitizeSdkRuntimeBlockContent, D as MissingSdkThemeError, E as MISSING_SDK_THEME_ERROR_CODE, F as isRouteVisibleInStage, G as compileManifestContentContract, H as siteHeaderManifest, I as normalizeRenderStage, J as deriveFieldValidationPlan, K as registeredManifestContentContract, L as resolveRouteHrefForStage, M as renderBlock, N as getDefaultComponentRegistry, O as requireSdkTheme, P as resolveAuthoredLinkHref, Q as flowRepeaterGridItems, R as allOutlineBlocks, S as resolveSdkBlockManifest, T as resolveSiteCustomBlocks, U as blockDesignCapabilityMapFromDefinitions, V as siteFooterManifest, W as admitTransportedRenderableManifestContent, X as projectRepeaterGridLayout$1, Y as fieldPlanToZod, Z as projectRepeaterGridLayoutForRendering$1, _ as buildSiteRenderSupport, a as solvedInksForThemeRuntime, at as applyCompiledRuntimeFieldsToContent, b as projectRenderablePageOutline, c as MissingBlockOverrideError, ct as readPublishedBlockPlacement, d as buildThemeRuntime, et as resolveRepeaterGridAcceptedSpans, f as parseBlocksTheme, g as buildRenderablePageOutline, h as blockDesignInputsForDefinition, i as renderWithSdkThemeRuntime, it as buildPageDesignEditorReadModel, j as makeDefaultBlockComponent, k as prefetchBlockDataWithFailures, l as PageRenderer, m as resolveRuntimeJoinFacts, n as planLayoutThemeRuntime, o as ThemeScope, ot as compileEditorModelRuntime, p as applyBindingsToContent, q as admitLayoutGridForPlan, r as renderWithOverrideOnlyRuntime, rt as parseListLook, s as EditorPageRenderer, t as Page, tt as isRecord$2, u as toBlocksPageRendererDataContext, v as collectMediaAssetSidecar, w as siteLocationRenderContext, x as readInvalidBlockAdmission, y as invalidRenderableBlock$1, z as getBlockDefinition } from "./Page-CT4HaEMr.mjs";
7
- import { Cn as resolveRepeaterGridColumnFieldId, Rt as parseFieldDefinition, Tn as resolveRepeaterGridSpanFieldId, wn as resolveRepeaterGridRowFieldId } from "./registry.server-ed20Q7bV.mjs";
8
- import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText } from "./timetableModel-BxbnEJCi.mjs";
9
- import { l as parseBackgroundContent } from "./boxStyleClassNames-7MVCNWgc.mjs";
4
+ import { Dr as resolveImageUrlWithContext$1, Er as resolveImageUrl$1, Fc as unsafeAsEventCategoryId, Lo as parsePageDesignIntent, Qs as asLayoutVariantKey, Sa as resolveDateRuntimeContext, So as surfaceResolutionContextFromTheme, Tr as resolveImageSourceSetWithContext$1, Xs as asAppearancePresetId, Zs as asDesignBlockId, cs as appearancePresets, do as buildInitialPolicyPageDesignIntent, go as designRuntimeRulesForSiteStyle, ho as componentRuntimeRulesForSiteStyle, nc as sanitizeHref, vo as requireCuratedSiteStyle, vr as RichText$2, xa as readRuntimeNow, xc as offeringLabelForPageSurfaceSubject, xr as computeMediaTransformStyle } from "./display-lL-YRApN.mjs";
5
+ import { Dt as EVENT_PRESET_VALUES, Et as isRecord, X as createRichTextDoc, Y as buildRichTextSchema, nt as persistableMediaSchema, rt as runtimeMediaSchema, sn as toUtcIsoDateTimeString, tt as mediaSchema } from "./noop-CN0o0yjH.mjs";
6
+ import { $ as flowRepeaterGridItems, A as prefetchBlockDataWithFailures, B as getBlockDefinition, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as resolveAuthoredLinkHref, G as admitTransportedRenderableManifestContent, H as siteFooterManifest, I as isRouteVisibleInStage, J as admitLayoutGridForPlan, K as compileManifestContentContract, L as normalizeRenderStage, M as makeDefaultBlockComponent, N as renderBlock, O as MissingSdkThemeError, P as getDefaultComponentRegistry, Q as projectRepeaterGridLayoutForRendering$1, R as resolveRouteHrefForStage, S as readInvalidBlockAdmission, T as siteLocationRenderContext, U as siteHeaderManifest, V as systemBlockDefinitions, W as blockDesignCapabilityMapFromDefinitions, X as fieldPlanToZod, Y as deriveFieldValidationPlan, Z as projectRepeaterGridLayout$1, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, at as buildPageDesignEditorReadModel, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, d as buildThemeRuntime, et as normalizeRepeaterGridSpan, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as parseListLook, k as requireSdkTheme, l as PageRenderer, lt as readPublishedBlockPlacement, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as isRecord$1, o as ThemeScope, ot as applyCompiledRuntimeFieldsToContent, p as applyBindingsToContent, q as registeredManifestContentContract, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, st as compileEditorModelRuntime, t as Page, tt as resolveRepeaterGridAcceptedSpans, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as allOutlineBlocks } from "./Page-D46Dmr7b.mjs";
7
+ import { Bn as isCanonicalRichTextDoc, Fn as resolveRepeaterGridColumnFieldId, In as resolveRepeaterGridRowFieldId, Ln as resolveRepeaterGridSpanFieldId, zt as parseFieldDefinition } from "./registry.server-Cdot3dMk.mjs";
8
+ import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText } from "./timetableModel-CZeJwMxP.mjs";
9
+ import { l as parseBackgroundContent } from "./boxStyleClassNames-Cahps5kR.mjs";
10
10
  import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
11
11
  import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-B99AP7ai.mjs";
12
12
  import "react";
13
13
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
14
14
  import { z } from "zod";
15
15
  import { BlocksIslandsHydrator } from "#sdk-rendering-client";
16
- //#region ../core/src/rich-text.ts
17
- function isRecord(value) {
18
- return typeof value === "object" && value !== null && !Array.isArray(value);
19
- }
20
- function hasOnlyKeys(value, allowed) {
21
- return Object.keys(value).every((key) => allowed.has(key));
22
- }
23
- const rootKeys = /* @__PURE__ */ new Set(["type", "content"]);
24
- const nodeKeys = /* @__PURE__ */ new Set([
25
- "type",
26
- "content",
27
- "text",
28
- "attrs",
29
- "marks"
30
- ]);
31
- const markKeys = /* @__PURE__ */ new Set(["type", "attrs"]);
32
- function isDenseArrayOf(value, predicate) {
33
- for (let index = 0; index < value.length; index += 1) if (!(index in value) || !predicate(value[index])) return false;
34
- return true;
35
- }
36
- function isTipTapMark(value) {
37
- return isRecord(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord(value.attrs));
38
- }
39
- function isTipTapNode(value) {
40
- if (!isRecord(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
41
- if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
42
- return value.text === void 0;
43
- }
44
- function isCanonicalRichTextDoc(value) {
45
- return isRecord(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
46
- }
47
- //#endregion
48
16
  //#region ../core/src/navigation-portal-labels.ts
49
17
  /**
50
18
  * What a customer sign-in link in a site's menu says when the site hasn't set
@@ -646,7 +614,8 @@ function buildLogo(logo, fallbackAlt) {
646
614
  const result = {
647
615
  type: "image",
648
616
  src: logo.url,
649
- alt
617
+ alt,
618
+ logoFacts: logo.logoFacts
650
619
  };
651
620
  if (logo.width != null) result.width = logo.width;
652
621
  if (logo.height != null) result.height = logo.height;
@@ -1184,6 +1153,7 @@ const SYSTEM_BLOCK_KINDS = [
1184
1153
  "block.intro",
1185
1154
  "block.columns",
1186
1155
  "block.collection",
1156
+ "block.class-prices",
1187
1157
  "block.feature-cards",
1188
1158
  "block.media-text",
1189
1159
  "block.cta-full",
@@ -2186,9 +2156,9 @@ Object.freeze({
2186
2156
  */
2187
2157
  const SECTION_VALUES_CONTENT_KEY = "sections";
2188
2158
  function readStoredSectionValues(content) {
2189
- if (!isRecord$1(content)) return {};
2159
+ if (!isRecord(content)) return {};
2190
2160
  const sections = content[SECTION_VALUES_CONTENT_KEY];
2191
- return isRecord$1(sections) ? sections : {};
2161
+ return isRecord(sections) ? sections : {};
2192
2162
  }
2193
2163
  //#endregion
2194
2164
  //#region ../content-model/src/page-sections/facts.ts
@@ -3036,7 +3006,7 @@ function ensureFieldValue(field, raw, ctx) {
3036
3006
  return (Array.isArray(value) ? value : []).map((item) => ensureRepeaterItem(field, item, ctx));
3037
3007
  }
3038
3008
  function ensureRepeaterItem(field, value, ctx) {
3039
- const itemData = isRecord$1(value) ? value : {};
3009
+ const itemData = isRecord(value) ? value : {};
3040
3010
  const itemType = typeof itemData._type === "string" ? itemData._type : Object.keys(field.itemTypes ?? {})[0] ?? "";
3041
3011
  const fields = field.polymorphic ? field.itemTypes[itemType]?.fields ?? [] : getRepeaterChildFields(field);
3042
3012
  return {
@@ -3114,7 +3084,7 @@ function pageSectionBlockKind(kind) {
3114
3084
  /** Section Looks stored on the template anchor. Full pages only: booking pages always use the style's default (README decision 8). */
3115
3085
  function pageSectionLookOverrides(blocks) {
3116
3086
  const looks = blocks.find((block) => block.blockKind === PAGE_SECTIONS_ANCHOR_BLOCK_KIND)?.content?.looks;
3117
- return isRecord$2(looks) ? looks : {};
3087
+ return isRecord$1(looks) ? looks : {};
3118
3088
  }
3119
3089
  /** Pure, shared by public pages and preview. Empty values disappear before layout. */
3120
3090
  function compilePageSections(input, lookOverrides) {
@@ -3152,12 +3122,13 @@ function compilePageSections(input, lookOverrides) {
3152
3122
  }
3153
3123
  function buildContentTemplateRuntime(template, theme, contentForBlock) {
3154
3124
  const parsed = parseContentTemplateDesignIntent(template.designState);
3155
- if (parsed.kind !== "parsed" || theme === null) return {
3125
+ const intent = parsed.kind === "parsed" ? parsed.intent : parsed.kind === "absent" && theme?.siteStyleId !== void 0 ? buildInitialPolicyPageDesignIntent(theme.siteStyleId) : null;
3126
+ if (intent === null || theme === null) return {
3156
3127
  fieldsByBlockId: /* @__PURE__ */ new Map(),
3157
3128
  joins: []
3158
3129
  };
3159
3130
  const compiled = compileContentTemplateRuntimeFields({
3160
- intent: parsed.intent,
3131
+ intent,
3161
3132
  resolveJoinFacts: resolveRuntimeJoinFacts,
3162
3133
  surfaceResolutionContext: surfaceResolutionContextFromTheme(theme),
3163
3134
  blocks: template.blocks.map((block) => {
@@ -3198,7 +3169,7 @@ function readStringProperty(value, key) {
3198
3169
  return trimmed.length > 0 ? trimmed : null;
3199
3170
  }
3200
3171
  function readLiteralBindingString(value) {
3201
- if (!isRecord$2(value)) return null;
3172
+ if (!isRecord$1(value)) return null;
3202
3173
  if (value.source !== "literal") return null;
3203
3174
  const literal = value.value;
3204
3175
  if (typeof literal !== "string") return null;
@@ -3241,7 +3212,8 @@ const CONTENT_ENTRY_SUBJECT_BINDING_SCHEMA = {
3241
3212
  "status",
3242
3213
  "createdAt",
3243
3214
  "updatedAt",
3244
- "subject"
3215
+ "subject",
3216
+ "offeringLabel"
3245
3217
  ]
3246
3218
  };
3247
3219
  function buildContentEntryRenderableSurface({ entry, dateContext, subject, page }) {
@@ -3277,7 +3249,7 @@ function resolveRenderableSurfaceOutlineMetadata(surface, template) {
3277
3249
  function buildContentEntrySubjectBindingContext(entry, id, route, dateContext, subject) {
3278
3250
  return {
3279
3251
  dateContext,
3280
- fields: isRecord$2(entry.content) ? entry.content : {},
3252
+ fields: isRecord$1(entry.content) ? entry.content : {},
3281
3253
  meta: {
3282
3254
  ...subject === void 0 ? {} : { subject },
3283
3255
  id,
@@ -3286,6 +3258,7 @@ function buildContentEntrySubjectBindingContext(entry, id, route, dateContext, s
3286
3258
  path: route.path,
3287
3259
  publishAt: route.publishAt,
3288
3260
  status: route.status,
3261
+ offeringLabel: offeringLabelForPageSurfaceSubject(subject),
3289
3262
  ...entry.createdAt === void 0 ? {} : { createdAt: entry.createdAt },
3290
3263
  ...entry.updatedAt === void 0 ? {} : { updatedAt: entry.updatedAt }
3291
3264
  }
@@ -3304,8 +3277,8 @@ function buildContentEntryRouteRenderMetadata(entry, page) {
3304
3277
  };
3305
3278
  }
3306
3279
  function materializeTemplateBlockContent(input) {
3307
- const rawContent = isRecord$2(input.block.content) ? { ...input.block.content } : {};
3308
- return applyTemplateRuntimeFields(input.block.scope === "entry" && isRecord$2(input.block.bindings) ? applyBindingsToContent(rawContent, input.block.bindings, input.context) : rawContent, input.runtimeFields);
3280
+ const rawContent = isRecord$1(input.block.content) ? { ...input.block.content } : {};
3281
+ return applyTemplateRuntimeFields(input.block.scope === "entry" && isRecord$1(input.block.bindings) ? applyBindingsToContent(rawContent, input.block.bindings, input.context) : rawContent, input.runtimeFields);
3309
3282
  }
3310
3283
  /**
3311
3284
  * Admits materialized template content for rendering only.
@@ -3386,7 +3359,7 @@ function buildBlocksFromTemplateBlock({ block, context, entry, template, runtime
3386
3359
  slotKey
3387
3360
  }) ?? [];
3388
3361
  if (isSystemTemplateBlockKind(block.blockKind)) return [];
3389
- return [buildBlockFromTemplate(block, context, runtimeFields, resolveBlockContentContract(block.blockKind))];
3362
+ return buildBlockFromTemplate(block, context, runtimeFields, resolveBlockContentContract(block.blockKind));
3390
3363
  }
3391
3364
  function readEntrySlotKey(block) {
3392
3365
  if (block.blockKind !== "system.entry-slot" || block.scope !== "template") return null;
@@ -3399,15 +3372,17 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
3399
3372
  kind: block.blockKind,
3400
3373
  purpose: "content",
3401
3374
  publishedPlacement: null,
3402
- ...isRecord$2(block.bindings) ? { bindings: block.bindings } : {}
3375
+ ...isRecord$1(block.bindings) ? { bindings: block.bindings } : {}
3403
3376
  };
3404
- if (contract === null) return invalidRenderableBlock(base, { kind: "manifest_unavailable" });
3405
- const admission = admitMaterializedTemplateContent(materializeTemplateBlockContent({
3377
+ if (contract === null) return [invalidRenderableBlock(base, { kind: "manifest_unavailable" })];
3378
+ const materialized = materializeTemplateBlockContent({
3406
3379
  block,
3407
3380
  context,
3408
3381
  runtimeFields
3409
- }), contract);
3410
- return admission.ok ? {
3382
+ });
3383
+ if (block.scope === "entry" && isRecord$1(block.bindings) && isEntryBoundBlockEmpty(materialized, block.bindings, contract)) return [];
3384
+ const admission = admitMaterializedTemplateContent(materialized, contract);
3385
+ return [admission.ok ? {
3411
3386
  ...base,
3412
3387
  admission: {
3413
3388
  kind: "renderable",
@@ -3416,13 +3391,13 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
3416
3391
  } : invalidRenderableBlock(base, {
3417
3392
  kind: "invalid_manifest_content",
3418
3393
  error: admission.error
3419
- });
3394
+ })];
3420
3395
  }
3421
3396
  function applyTemplateRuntimeFields(content, runtimeFields) {
3422
3397
  return applyMissingImageBackgroundFallback(canonicalizeSectionBackground(runtimeFields !== null && runtimeFields !== void 0 ? applyCompiledRuntimeFieldsToContent(content, runtimeFields) : content));
3423
3398
  }
3424
3399
  function canonicalizeSectionBackground(content) {
3425
- const sectionStyles = isRecord$2(content._sectionStyles) ? content._sectionStyles : null;
3400
+ const sectionStyles = isRecord$1(content._sectionStyles) ? content._sectionStyles : null;
3426
3401
  if (sectionStyles === null || sectionStyles.background === void 0) return content;
3427
3402
  const background = parseBackgroundContent(sectionStyles.background);
3428
3403
  return background !== null ? {
@@ -3434,7 +3409,7 @@ function canonicalizeSectionBackground(content) {
3434
3409
  } : content;
3435
3410
  }
3436
3411
  function applyMissingImageBackgroundFallback(content) {
3437
- const sectionStyles = isRecord$2(content._sectionStyles) ? content._sectionStyles : null;
3412
+ const sectionStyles = isRecord$1(content._sectionStyles) ? content._sectionStyles : null;
3438
3413
  const background = parseBackgroundContent(sectionStyles?.background);
3439
3414
  if (sectionStyles === null || background?.type !== "image" || background.image !== null && background.image !== void 0) return content;
3440
3415
  const fallbackColor = resolveMissingImageFallbackColor(background);
@@ -3501,7 +3476,7 @@ function isPageTitleBlock(block, runtime) {
3501
3476
  return block.blockKind === "block.hero" && block.scope === "entry" && (isEntryTitleBinding(block.bindings?.headlineInline) || isEntryTitleBinding(block.bindings?.headline));
3502
3477
  }
3503
3478
  function isEntryTitleBinding(binding) {
3504
- if (!isRecord$2(binding)) return false;
3479
+ if (!isRecord$1(binding)) return false;
3505
3480
  return binding.source === "meta" && binding.path === "title" || binding.source === "transform" && isEntryTitleBinding(binding.input);
3506
3481
  }
3507
3482
  blockDesignCapabilityMapFromDefinitions(systemBlockDefinitions);
@@ -3620,7 +3595,7 @@ function admitEntrySlotBlock(block, customBlocks, previewStage) {
3620
3595
  ...entrySlotBlockIdentity(block, previewStage),
3621
3596
  kind: block.kind,
3622
3597
  purpose: block.purpose,
3623
- ...isRecord$2(block.bindings) ? { bindings: block.bindings } : {}
3598
+ ...isRecord$1(block.bindings) ? { bindings: block.bindings } : {}
3624
3599
  };
3625
3600
  const transportedAdmission = readInvalidBlockAdmission(block.admission);
3626
3601
  if (transportedAdmission) return invalidRenderableBlock$1(base, transportedAdmission.error);
@@ -3641,7 +3616,7 @@ function admitEntrySlotBlock(block, customBlocks, previewStage) {
3641
3616
  function entrySlotBlockIdentity(block, previewStage) {
3642
3617
  return {
3643
3618
  draftContentId: block.draftContentId ?? null,
3644
- publishedPlacement: previewStage === "preview" ? readPublishedBlockPlacement(block.publishedContentId, isRecord$2(block.publishedContent) && isRecord$2(block.publishedContent.data) ? block.publishedContent.data : null) : null
3619
+ publishedPlacement: previewStage === "preview" ? readPublishedBlockPlacement(block.publishedContentId, isRecord$1(block.publishedContent) && isRecord$1(block.publishedContent.data) ? block.publishedContent.data : null) : null
3645
3620
  };
3646
3621
  }
3647
3622
  //#endregion
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { q as RichTextDocSchema, t as logger } from "./noop-poI1m2yW.mjs";
2
+ import { J as RichTextDocSchema, t as logger } from "./noop-CN0o0yjH.mjs";
3
3
  //#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
4
4
  function parseRichTextDoc(value) {
5
5
  const parsed = RichTextDocSchema.safeParse(value);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Di as createHostedBlockApiConfig } from "./display-ChgDe9Da.mjs";
2
+ import { wa as createHostedBlockApiConfig } from "./display-lL-YRApN.mjs";
3
3
  //#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
4
4
  function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
5
5
  if (readAuthority) return createHostedBlockApiConfig({
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { n as parseSurfaceTree } from "./accessibleSurfaces-BnyVRqdU.mjs";
2
+ import { n as parseSurfaceTree } from "./accessibleSurfaces-D4DhWo9j.mjs";
3
3
  //#region ../site-renderer/src/runtimeResponse.ts
4
4
  /** Recreate owner-produced rendering values at a JSON boundary, never trust copied proofs. */
5
5
  function restoreRuntimeResponse(serialized) {
@@ -0,0 +1,3 @@
1
+ "use client";
2
+ import { t as restoreRuntimeResponse } from "./runtimeResponse-IkOwKZD0.mjs";
3
+ export { restoreRuntimeResponse };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as defineIslandPropsDecoder } from "./propsDecoder-CH2-LJME.mjs";
3
- import { t as ShopClient } from "./shop.client-Sv7QVDmj.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-Jt4TzcAG.mjs";
2
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-BZbUKstC.mjs";
3
+ import { t as ShopClient } from "./shop.client-Brha4BSM.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-JCa_SRhP.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,20 @@
1
1
  "use client";
2
- import { u as getShopDisplayForItems } from "./shop.interactive-C0IjiWOs.mjs";
3
- import { Sn as RichText, a as buildProductDetailDisplay, g as deriveCommerceCheckoutState, h as buildProductCartItem, i as buildProductCardDisplay, s as formatCommercePrice, v as productItemKey } from "./display-ChgDe9Da.mjs";
2
+ import { u as getShopDisplayForItems } from "./shop.interactive-CXhYl0DW.mjs";
3
+ import { a as buildProductDetailDisplay, g as deriveCommerceCheckoutState, h as buildProductCartItem, i as buildProductCardDisplay, s as formatCommercePrice, v as productItemKey, vr as RichText } from "./display-lL-YRApN.mjs";
4
4
  import { _ as clearWorkflowFeedback, p as assertNever, v as reportWorkflowError } from "./creditProducts-BTRX4edc.mjs";
5
- import { f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-DPGZArG9.mjs";
6
- import { n as useBlockApi } from "./context-Dzjv2CpA.mjs";
7
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
8
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-DqN3L-kl.mjs";
5
+ import { i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-CARUWQ_E.mjs";
6
+ import { n as useBlockApi } from "./context-D0KCgbOq.mjs";
7
+ import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
8
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CwHqcqzP.mjs";
9
9
  import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
10
- 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-dToQs9oY.mjs";
10
+ import { a as isDiscountApplyInFlight, c as consumeSearchParam, i as initialDiscountApplyState, n as getAppliedDiscountCode, o as ShopAddFeedback, r as getDiscountApplyFeedback, s as useTransientShopAddFeedback, t as discountApplyReducer } from "./shop-discount-apply.state-WsGb9DD8.mjs";
11
11
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
12
- import { t as coerceRichTextDoc } from "./richText-coerce-CtoGLZ_e.mjs";
13
- import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-C_brMDU2.mjs";
14
- import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-D0dcPsRE.mjs";
15
- import { t as CarouselNodeClient } from "./carousel.client-YF4mUK5t.mjs";
16
- import { n as useCommerceCart } from "./shop-commerce-store-BdpIWdc4.mjs";
12
+ import { t as coerceRichTextDoc } from "./richText-coerce-ByApwB4q.mjs";
13
+ import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-Sw075FOY.mjs";
14
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CL7KGRta.mjs";
15
+ import { c as planUnifiedCheckoutRequest, i as checkoutFormForDiscountUiState, n as useDiscountApply, o as planCartDiscountAvailabilityRequests, r as aggregateCartDiscountUiState } from "./useDiscountApply-Dq-wjb1d.mjs";
16
+ import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
17
+ import { n as useCommerceCart } from "./shop-commerce-store-DjoUpL3a.mjs";
17
18
  import * as React$1 from "react";
18
19
  import { useEffect, useState } from "react";
19
20
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { _ as parseStoredCommerceCartState, m as buildPassCartItem, p as EMPTY_COMMERCE_CART_STATE, y as reduceCommerceCart } from "./display-ChgDe9Da.mjs";
2
+ import { _ as parseStoredCommerceCartState, m as buildPassCartItem, p as EMPTY_COMMERCE_CART_STATE, y as reduceCommerceCart } from "./display-lL-YRApN.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;
@@ -0,0 +1,166 @@
1
+ "use client";
2
+ import { p as assertNever } from "./creditProducts-BTRX4edc.mjs";
3
+ import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
4
+ import { a as normalizeManualDiscountCode } from "./useDiscountApply-Dq-wjb1d.mjs";
5
+ import * as React$1 from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ //#region ../blocks/src/system/runtime/shared/utils/urlParams.ts
8
+ /**
9
+ * URL param helpers for client-side "return from redirect" flows.
10
+ *
11
+ * Used for flows like magic-link login or Stripe checkout return URLs where
12
+ * we want to:
13
+ * - read a query param once
14
+ * - remove it from the URL (so refresh doesn't re-trigger)
15
+ * - preserve hash fragments
16
+ */
17
+ /**
18
+ * Consume a query param from the current URL's search string.
19
+ *
20
+ * Returns the param value (if present) and removes it from the URL via
21
+ * history.replaceState, preserving hash.
22
+ */
23
+ function consumeSearchParam(paramName) {
24
+ const url = new URL(window.location.href);
25
+ const value = url.searchParams.get(paramName);
26
+ if (value === null) return null;
27
+ url.searchParams.delete(paramName);
28
+ const newUrl = url.pathname + (url.search ? url.search : "") + url.hash;
29
+ window.history.replaceState({}, "", newUrl);
30
+ return value;
31
+ }
32
+ /**
33
+ * Consume multiple query params from the current URL's search string.
34
+ *
35
+ * Returns a record of consumed values (missing params are null) and removes
36
+ * all provided params from the URL in a single replaceState call.
37
+ */
38
+ function consumeSearchParams(paramNames) {
39
+ const url = new URL(window.location.href);
40
+ const values = Object.fromEntries(paramNames.map((name) => [name, url.searchParams.get(name)]));
41
+ let changed = false;
42
+ for (const name of paramNames) if (url.searchParams.has(name)) {
43
+ url.searchParams.delete(name);
44
+ changed = true;
45
+ }
46
+ if (changed) {
47
+ const newUrl = url.pathname + (url.search ? url.search : "") + url.hash;
48
+ window.history.replaceState({}, "", newUrl);
49
+ }
50
+ return values;
51
+ }
52
+ //#endregion
53
+ //#region ../blocks/src/system/runtime/nodes/shop-add-feedback.tsx
54
+ const DEFAULT_TIMEOUT_MS = 2500;
55
+ function useTransientShopAddFeedback(timeoutMs = DEFAULT_TIMEOUT_MS) {
56
+ const [activeKey, setActiveKey] = React$1.useState(null);
57
+ React$1.useEffect(() => {
58
+ if (!activeKey) return;
59
+ const timeoutId = window.setTimeout(() => {
60
+ setActiveKey((current) => current === activeKey ? null : current);
61
+ }, timeoutMs);
62
+ return () => window.clearTimeout(timeoutId);
63
+ }, [activeKey, timeoutMs]);
64
+ return {
65
+ activeKey,
66
+ markAdded: setActiveKey,
67
+ clear: () => setActiveKey(null)
68
+ };
69
+ }
70
+ function ShopAddFeedback(props) {
71
+ if (!props.active) return null;
72
+ return /* @__PURE__ */ jsxs(FeedbackMessage, {
73
+ tone: "success",
74
+ className: "rb-caption status-muted",
75
+ role: "status",
76
+ live: "polite",
77
+ children: [
78
+ "Added ",
79
+ props.itemLabel,
80
+ " to cart.",
81
+ " ",
82
+ /* @__PURE__ */ jsx("a", {
83
+ href: "#shop-cart",
84
+ children: "View cart"
85
+ }),
86
+ "."
87
+ ]
88
+ });
89
+ }
90
+ //#endregion
91
+ //#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
92
+ const initialDiscountApplyState = {
93
+ isOpen: false,
94
+ draftCode: "",
95
+ status: { type: "idle" }
96
+ };
97
+ function discountApplyReducer(state, action) {
98
+ switch (action.type) {
99
+ case "open": return {
100
+ ...state,
101
+ isOpen: true
102
+ };
103
+ case "draftChanged": return {
104
+ ...state,
105
+ draftCode: action.draftCode,
106
+ status: { type: "idle" }
107
+ };
108
+ case "remove": return initialDiscountApplyState;
109
+ case "applyStarted": return {
110
+ ...state,
111
+ status: { type: "applying" }
112
+ };
113
+ case "applySucceeded": return {
114
+ ...state,
115
+ isOpen: true,
116
+ draftCode: action.discount.code,
117
+ status: {
118
+ type: "applied",
119
+ discount: action.discount
120
+ }
121
+ };
122
+ case "applyRejected": return {
123
+ ...state,
124
+ isOpen: true,
125
+ status: {
126
+ type: "rejected",
127
+ reason: action.reason,
128
+ message: action.message
129
+ }
130
+ };
131
+ case "resetApplied":
132
+ if (state.status.type !== "applied") return state;
133
+ return {
134
+ ...state,
135
+ status: { type: "idle" }
136
+ };
137
+ default: return assertNever(action);
138
+ }
139
+ }
140
+ function getAppliedDiscountCode(state) {
141
+ if (state.status.type !== "applied") return null;
142
+ return normalizeManualDiscountCode(state.status.discount.code);
143
+ }
144
+ function isDiscountApplyInFlight(state) {
145
+ return state.status.type === "applying";
146
+ }
147
+ function getDiscountApplyFeedback(status, formatPrice) {
148
+ switch (status.type) {
149
+ case "idle":
150
+ case "applying": return null;
151
+ case "applied": {
152
+ const savings = formatPrice(status.discount.discountCents, status.discount.currency);
153
+ return {
154
+ tone: "success",
155
+ message: `${status.discount.publicLabel} applied. You save ${savings}.`
156
+ };
157
+ }
158
+ case "rejected": return {
159
+ tone: "error",
160
+ message: status.message
161
+ };
162
+ default: return assertNever(status);
163
+ }
164
+ }
165
+ //#endregion
166
+ export { isDiscountApplyInFlight as a, consumeSearchParam as c, initialDiscountApplyState as i, consumeSearchParams as l, getAppliedDiscountCode as n, ShopAddFeedback as o, getDiscountApplyFeedback as r, useTransientShopAddFeedback as s, discountApplyReducer as t };
@@ -1,23 +1,24 @@
1
1
  "use client";
2
- import { _ as shopProductPresentation } from "./shop.interactive-C0IjiWOs.mjs";
3
- import { c as formatInterval, s as formatCommercePrice, vr as getShopSuccessCopy } from "./display-ChgDe9Da.mjs";
2
+ import { _ as shopProductPresentation } from "./shop.interactive-CXhYl0DW.mjs";
3
+ import { c as formatInterval, hi as getShopSuccessCopy, s as formatCommercePrice } from "./display-lL-YRApN.mjs";
4
4
  import { N as assertNever$1, p as assertNever } from "./creditProducts-BTRX4edc.mjs";
5
- import { f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-DPGZArG9.mjs";
6
- import { n as useBlockApi } from "./context-Dzjv2CpA.mjs";
7
- import { r as ThemedButton } from "./ThemedButton-BMDHwnM6.mjs";
5
+ import { i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-CARUWQ_E.mjs";
6
+ import { n as useBlockApi } from "./context-D0KCgbOq.mjs";
7
+ import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
8
8
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
9
9
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
10
- 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-dToQs9oY.mjs";
10
+ import { a as isDiscountApplyInFlight, i as initialDiscountApplyState, l as consumeSearchParams, n as getAppliedDiscountCode, o as ShopAddFeedback, r as getDiscountApplyFeedback, s as useTransientShopAddFeedback, t as discountApplyReducer } from "./shop-discount-apply.state-WsGb9DD8.mjs";
11
11
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
12
12
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
13
13
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
14
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-C_aa_H69.mjs";
14
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-Cyy0meCH.mjs";
15
15
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
16
- import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-C_brMDU2.mjs";
17
- import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-D0dcPsRE.mjs";
18
- import { t as CarouselNodeClient } from "./carousel.client-YF4mUK5t.mjs";
19
- import { r as formatEntitlementEnd } from "./dateFormatting-BfurxGwg.mjs";
20
- import { t as addPassToCommerceCart } from "./shop-commerce-store-BdpIWdc4.mjs";
16
+ import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-Sw075FOY.mjs";
17
+ import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-CL7KGRta.mjs";
18
+ import { n as useDiscountApply, s as planDirectShopCheckoutRequest } from "./useDiscountApply-Dq-wjb1d.mjs";
19
+ import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
20
+ import { r as formatEntitlementEnd } from "./dateFormatting-Dmfaczzq.mjs";
21
+ import { t as addPassToCommerceCart } from "./shop-commerce-store-DjoUpL3a.mjs";
21
22
  import React, { useCallback, useEffect, useRef, useState } from "react";
22
23
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
23
24
  //#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx