@riverbankcms/sdk 0.180.0 → 0.182.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 (232) hide show
  1. package/dist/_dts/{BlocksIslandsHydrator-DC_AvZwy.d.ts → BlocksIslandsHydrator-Bvw2bUif.d.ts} +1 -1
  2. package/dist/_dts/{Page-DQOxVtp3.d.ts → Page-B2EAT-bE.d.ts} +7 -7
  3. package/dist/_dts/{SdkPreviewMode-DrLgY9_f.d.ts → SdkPreviewMode-D0vww6rh.d.ts} +2 -2
  4. package/dist/_dts/{client-BP7VBRvs.d.ts → client-D6T430bk.d.ts} +56 -70
  5. package/dist/_dts/{content-types-1-K2qi__.d.ts → content-types-wZVWccC6.d.ts} +2 -2
  6. package/dist/_dts/{contracts-Dfqz0Tcu.d.ts → contracts-B-vtOcr8.d.ts} +3 -3
  7. package/dist/_dts/{generatePageMetadata-CSfAqmry.d.ts → generatePageMetadata-CxfwHE6z.d.ts} +2 -2
  8. package/dist/_dts/{index-BeM5Ylwf.d.ts → index-CEyYMhLJ.d.ts} +1 -2
  9. package/dist/_dts/{index-DQr358-m.d.ts → index-CQrb3Ccc.d.ts} +8 -8
  10. package/dist/_dts/{index-DCcxLa8p.d.ts → index-CciRW_w1.d.ts} +2 -2
  11. package/dist/_dts/{index-Blrw2oVk.d.ts → index-Cqxis-nv.d.ts} +1 -1
  12. package/dist/_dts/{index-CB5Csefo.d.ts → index-DIU-wL1M.d.ts} +2 -2
  13. package/dist/_dts/{index-DQBGwBPx.d.ts → index-DqPKdeTk.d.ts} +1 -1
  14. package/dist/_dts/{loadContent-BG2tLGXj.d.ts → loadContent-D0wrxiSp.d.ts} +7 -7
  15. package/dist/_dts/{request-P08l6mkr.d.ts → request-DEwxUSw8.d.ts} +2375 -883
  16. package/dist/_dts/{resolveBlockData-BDHc8lFs.d.ts → resolveBlockData-VaG_MYbN.d.ts} +5 -5
  17. package/dist/_dts/{resolvePageContent-Y3IZBbtL.d.ts → resolvePageContent-DTwklC_v.d.ts} +1 -1
  18. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  19. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client.d.ts +7 -7
  21. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  22. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  23. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  25. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  26. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  27. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  28. package/dist/_dts/sdk/src/index.d.ts +104 -8
  29. package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
  30. package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
  31. package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
  32. package/dist/_dts/sdk/src/next/index.d.ts +83 -52
  33. package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
  34. package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
  35. package/dist/_dts/sdk/src/portal/client.d.ts +43 -56
  36. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  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 +6 -6
  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 +1 -1
  53. package/dist/_dts/{serviceBookingOutline-BvtNagjw.d.ts → serviceBookingOutline-DtQuFlID.d.ts} +6 -6
  54. package/dist/_dts/{types-DpEAnP4F.d.ts → types-B3RjeBLV.d.ts} +2 -2
  55. package/dist/_dts/{types-HAy1-Jjo.d.ts → types-BvUSGQrw.d.ts} +3 -3
  56. package/dist/_dts/{types-BrK6SS5c.d.ts → types-CkRFtBqd.d.ts} +7 -7
  57. package/dist/_dts/{validation-D6q3tOBA.d.ts → validation-BZA3DhcV.d.ts} +4 -4
  58. package/dist/client/{BlocksIslandsHydrator-DJSmdNUJ.mjs → BlocksIslandsHydrator-CQMf0HdN.mjs} +19 -19
  59. package/dist/client/{BookingMailingListNote-CGxg37zx.mjs → BookingMailingListNote-7kdvuPow.mjs} +93 -18
  60. package/dist/client/{BookingQuestionFields-DXegGSnS.mjs → BookingQuestionFields-BJI7mZuV.mjs} +7 -87
  61. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  62. package/dist/client/{CalendarNavigationChevron-VfP50sYm.mjs → CalendarNavigationChevron-DPUD6wjy.mjs} +8 -8
  63. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  64. package/dist/client/{DemoBookingPortalAccess-0Ua44F1j.mjs → DemoBookingPortalAccess-8kwNF9HN.mjs} +9 -6
  65. package/dist/client/{EventCalendar.client-CrpiyDSP.mjs → EventCalendar.client-Dhb14bcC.mjs} +10 -10
  66. package/dist/client/{EventCombined.client-D0me9wnz.mjs → EventCombined.client-C1jEZBN9.mjs} +60 -10
  67. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  68. package/dist/client/{EventItem-CJITrGkF.mjs → EventItem-Bb0ppG2N.mjs} +9 -177
  69. package/dist/client/{EventListWeekNavigation-BlEm_xjq.mjs → EventListWeekNavigation-DMryCaNV.mjs} +1 -1
  70. package/dist/client/{EventListing.client-BNM_HuS0.mjs → EventListing.client-BuH5kKA3.mjs} +3 -3
  71. package/dist/client/{EventListing.view-CXfb7RRy.mjs → EventListing.view-DsqvuulZ.mjs} +8 -8
  72. package/dist/client/{EventRegistrationPayment-DiD9uYs6.mjs → EventRegistrationPayment-D4FvQSFF.mjs} +555 -502
  73. package/dist/client/{Page-bX7iy_MK.mjs → Page-sV6BJkXX.mjs} +550 -339
  74. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  75. package/dist/client/{SiteTermsAgreementField-BAdW5DvE.mjs → SiteTermsAgreementField-VfSd6JU-.mjs} +7 -11
  76. package/dist/client/{StepIndicator-DCfdcb7s.mjs → StepIndicator-B6o5B7g3.mjs} +1 -1
  77. package/dist/client/{StepIndicator-DCqorVne.mjs → StepIndicator-BTqO7cJl.mjs} +235 -26
  78. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  79. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-BogaGutk.mjs} +983 -634
  80. package/dist/client/{accordion-wofJY8xY.mjs → accordion-6cuswD_s.mjs} +1 -1
  81. package/dist/client/{booking-form.client-CYl9NrqS.mjs → booking-form.client-BOMe_SKi.mjs} +52 -29
  82. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  83. package/dist/client/{bookingForm-kgVWtuMe.mjs → bookingForm-DSCH-VHo.mjs} +4 -4
  84. package/dist/client/bookings.mjs +17 -11
  85. package/dist/client/{boxStyleClassNames-CQHWz5gJ.mjs → boxStyleClassNames-BFuqZCfz.mjs} +2 -2
  86. package/dist/client/{carousel-BE1dEFsD.mjs → carousel-CGyQVV1M.mjs} +2 -2
  87. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  88. package/dist/client/{cart-BsjsdGZE.mjs → cart-BYOe7MCh.mjs} +3 -3
  89. package/dist/client/{cart.client-DylGUWXY.mjs → cart.client-BKFkaXdV.mjs} +1 -1
  90. package/dist/client/{checkout-B5KxEUDr.mjs → checkout-Dwd7Di77.mjs} +3 -3
  91. package/dist/client/{checkout.client-C98fhch3.mjs → checkout.client-C25hpi-z.mjs} +1 -1
  92. package/dist/client/{checkoutUrls-BMLYTf38.mjs → checkoutUrls-tG788sw0.mjs} +1 -1
  93. package/dist/client/client.mjs +106 -43
  94. package/dist/client/{constants-PfYJsEZF.mjs → constants-DdxFG3Ic.mjs} +1 -2
  95. package/dist/client/{context-DtKdUdkO.mjs → context-Hi1RuYEM.mjs} +753 -373
  96. package/dist/client/{dateFormatting-BaGPvQS3.mjs → dateFormatting-C8vBCHuo.mjs} +15 -25
  97. package/dist/client/{demoPortalMagicLink-B8eDjhuG.mjs → demoPortalMagicLink-BAL5UIDG.mjs} +2 -3
  98. package/dist/client/{enhanceHeaderSection-DvhD-8eE.mjs → enhanceHeaderSection-Dv1Lr9kJ.mjs} +4 -5
  99. package/dist/client/{event-registration.client-Du9a_xAN.mjs → event-registration.client-dB_Z7bb-.mjs} +191 -210
  100. package/dist/client/{eventCalendar-Di9wDfzl.mjs → eventCalendar-CQnRA4Ww.mjs} +4 -4
  101. package/dist/client/{eventCombined-CNW6nBsB.mjs → eventCombined-BDOG1hVp.mjs} +4 -4
  102. package/dist/client/{eventListing-CQMxQ8By.mjs → eventListing-DSVmhy9n.mjs} +4 -4
  103. package/dist/client/{eventRegistration-CprS9k1D.mjs → eventRegistration-CD5mRtEH.mjs} +4 -4
  104. package/dist/client/{form-Zl1_8RJ6.mjs → form-DWnlEVSK.mjs} +3 -3
  105. package/dist/client/{form.client-TaMUys6I.mjs → form.client-D7zmeqNI.mjs} +5 -5
  106. package/dist/client/{form.parts-CpNPbPPM.mjs → form.parts-C-G6N_MK.mjs} +3 -3
  107. package/dist/client/gifting/client.mjs +32 -29
  108. package/dist/client/{gifting-DNVa7-Wj.mjs → gifting-Cn0jidP5.mjs} +4 -4
  109. package/dist/client/{gifting.client-CFUq3GVx.mjs → gifting.client-DVo1YFLs.mjs} +5 -5
  110. package/dist/client/{gifting.parts-CDQvxA4A.mjs → gifting.parts-Bak93gD2.mjs} +2 -2
  111. package/dist/client/{headerSection-Cg6083rn.mjs → headerSection-DjQuj_6v.mjs} +2 -2
  112. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  113. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  114. package/dist/client/{newsletter-form.client-VuL9I96G.mjs → newsletter-form.client-rIYPziZC.mjs} +7 -7
  115. package/dist/client/{newsletter-form.interactive-7Of3eYn0.mjs → newsletter-form.interactive-DVt3enLr.mjs} +181 -155
  116. package/dist/client/{newsletter-form.parts-OBqsfT24.mjs → newsletter-form.parts-CH6dGfdn.mjs} +2 -2
  117. package/dist/client/{newsletterForm-BkJe_RTv.mjs → newsletterForm-Cg8cBDHd.mjs} +3 -3
  118. package/dist/client/{lookSurfaces-gJ3OqPf9.mjs → noop-jesvJXEE.mjs} +403 -275
  119. package/dist/client/portal/client.mjs +12202 -7166
  120. package/dist/client/portalOrders-oEoTvzkW.mjs +596 -0
  121. package/dist/client/portalRoutes-ByyVZfVq.mjs +873 -0
  122. package/dist/client/{product-detail.client-B2hdxqJN.mjs → product-detail.client-5aHq-vuu.mjs} +1 -1
  123. package/dist/client/{product-list.client-CCEgu9rx.mjs → product-list.client-CyAk5rnC.mjs} +1 -1
  124. package/dist/client/{productDetail-CRX_ZRfS.mjs → productDetail-B8aZ2mqY.mjs} +3 -3
  125. package/dist/client/{productList-BAdJ6z5S.mjs → productList-BuLemmod.mjs} +3 -3
  126. package/dist/client/{propsDecoder-BLKAmX0S.mjs → propsDecoder-0Unsqn3R.mjs} +2 -2
  127. package/dist/client/{registry.server-Bj9cmHHF.mjs → registry.server-DzvtVVD0.mjs} +664 -434
  128. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  129. package/dist/client/rendering/client.mjs +26 -26
  130. package/dist/client/rendering/islands.mjs +1 -1
  131. package/dist/client/rendering.mjs +16 -8
  132. package/dist/client/{richText-coerce-Z45OLLEX.mjs → richText-coerce-Bnng7JFA.mjs} +2 -1
  133. package/dist/client/{routeIslandApiConfig-DHpTTK77.mjs → routeIslandApiConfig-BGfcc9sk.mjs} +1 -1
  134. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-DAPVRToN.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-nXT8VAMl.mjs} +1 -1
  136. package/dist/client/{shop-BKsgxm_-.mjs → shop-GuMqnDL-.mjs} +3 -3
  137. package/dist/client/{shop-commerce-Cbtk_kUW.mjs → shop-commerce-D5bDY1o1.mjs} +53 -16
  138. package/dist/client/{shop-commerce-store-B-rv2p5h.mjs → shop-commerce-store-B7sHnLwI.mjs} +22 -5
  139. package/dist/client/{shop-discount-apply.state-CiCDLNh7.mjs → shop-discount-apply.state-Dos2zdC2.mjs} +2 -2
  140. package/dist/client/{shop.client-Rnqa74Tk.mjs → shop.client-uvj5GDZb.mjs} +17 -39
  141. package/dist/client/{shopShared-BaBfhjCq.mjs → shopShared-3giNWE3H.mjs} +2 -2
  142. package/dist/client/spam-protection.mjs +1 -1
  143. package/dist/client/src-Al4ooTl_.mjs +164 -0
  144. package/dist/client/{src-o7WEvbK1.mjs → src-CmXh3JWs.mjs} +233 -91
  145. package/dist/client/{timetableModel-BOff1Kk5.mjs → timetableModel-GA-hn1qM.mjs} +11 -87
  146. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  147. package/dist/client/{useAvailableSlots-DQJNh10g.mjs → useAvailableSlots-CBneCxbG.mjs} +2 -3
  148. package/dist/client/{useDiscountCodeUi-BcFQRI_7.mjs → useDiscountCodeUi-D0kGF0C7.mjs} +1 -1
  149. package/dist/client/{useEventPagination-BvdcexDC.mjs → useEventPagination-xX8n_Tuu.mjs} +8 -8
  150. package/dist/client/{view-CTBwSpKv.mjs → view-DOyZc-DF.mjs} +4 -4
  151. package/dist/client/{wizardSteps-CWIQyRIw.mjs → wizardSteps-B952ify5.mjs} +1241 -295
  152. package/dist/preview-next/client/{PageSectionToolbar-CG6KwITA.mjs → PageSectionToolbar-BI3UCdpu.mjs} +3 -3
  153. package/dist/preview-next/client/{PreviewEditorSidebar-BGBqrC9m.mjs → PreviewEditorSidebar-jkfLVOgY.mjs} +12 -9
  154. package/dist/preview-next/client/{PreviewEditorUI-Bwkyx28x.mjs → PreviewEditorUI-DwJQs4hM.mjs} +4 -4
  155. package/dist/preview-next/client/{PreviewShell-DB1l6JNU.mjs → PreviewShell-BAxAkuz8.mjs} +5 -5
  156. package/dist/preview-next/client/{SdkPreviewModeRuntime-Bs6Cwzr3.mjs → SdkPreviewModeRuntime-0UVB-39f.mjs} +68 -17
  157. package/dist/preview-next/client/{previewAssistantSlot-T-oDD_Dd.mjs → previewAssistantSlot-BgiYk3PB.mjs} +7347 -3516
  158. package/dist/preview-next/client/{previewChromeRoot-BeukcDRy.mjs → previewChromeRoot-tieNdF3E.mjs} +1 -1
  159. package/dist/preview-next/client/runtime.mjs +3 -3
  160. package/dist/preview-next/client/{sdk-runtime-ceDW_9q2.mjs → sdk-runtime-DXb_Evl0.mjs} +2 -2
  161. package/dist/preview-next/client/{siteStyleAccess-CCB9bScO.mjs → siteStyleAccess-BlN0jt2c.mjs} +3 -3
  162. package/dist/preview-next/client/{useAutosaveStatus-D4o0CKq7.mjs → useAutosaveStatus-BUEPA4oL.mjs} +1 -1
  163. package/dist/preview-next/client/{useOpenBlockForSetup-Seccrvwu.mjs → useOpenBlockForSetup-BVfr5P--.mjs} +1 -1
  164. package/dist/preview-next/container-responsive.css +203 -174
  165. package/dist/preview-next/keepAlive.mjs +1 -1
  166. package/dist/preview-next/middleware.mjs +1 -1
  167. package/dist/preview-next/{route-contract-FwFj8zGL.mjs → route-contract-BHTBA48n.mjs} +90 -37
  168. package/dist/server/{Block.shared-D6WrRCxX.mjs → Block.shared-hGoyEdjJ.mjs} +5 -5
  169. package/dist/server/{ThemeScopeCore-BQzjDQ2q.mjs → ThemeScopeCore-BfUCTOwj.mjs} +160 -142
  170. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-Dskni4Xj.mjs} +94 -330
  171. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  172. package/dist/server/{bindings-CS6ih1Yc.mjs → bindings-DMJH4bvo.mjs} +7 -7
  173. package/dist/server/{client-m0ylCj_f.mjs → client-DrwlRNAH.mjs} +105 -42
  174. package/dist/server/config-validation.mjs +1 -1
  175. package/dist/server/config.mjs +2 -2
  176. package/dist/server/constants-CeMywaiD.mjs +1485 -0
  177. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  178. package/dist/server/data/resolveBlockData.mjs +1 -1
  179. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → expandPalette-ehuW8r2g.mjs} +745 -1229
  180. package/dist/server/index.mjs +3 -3
  181. package/dist/server/{loadContent-vgWMz1uD.mjs → loadContent-D0prFflT.mjs} +5 -4
  182. package/dist/server/{loadPage-CIOL3-9t.mjs → loadPage-CBLke9pJ.mjs} +3 -3
  183. package/dist/server/{lookMediaFrame-m-91jGGn.mjs → lookMediaFrame-H0fi4bJk.mjs} +38 -18
  184. package/dist/server/manifest.mjs +36 -25
  185. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  186. package/dist/server/media-BRmYrnzb.mjs +31 -0
  187. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  188. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-wrcuWmgp.mjs} +2 -2
  189. package/dist/server/navigation.mjs +1 -1
  190. package/dist/server/next.mjs +134 -81
  191. package/dist/server/{overrideResolution-BiHmsvTZ.mjs → overrideResolution-DUgCEH8z.mjs} +1 -1
  192. package/dist/server/page-converter.mjs +3 -3
  193. package/dist/server/{pageRenderPlan-DJo_obpi.mjs → pageRenderPlan-BHrmogsW.mjs} +165 -247
  194. package/dist/server/{pageRuntimeSupport-BnSuoHON.mjs → pageRuntimeSupport-D2-YMRei.mjs} +5 -5
  195. package/dist/server/{pageShared-BJuOzxzn.mjs → pageShared-CG8O31Eo.mjs} +3402 -3249
  196. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-CrPlbJEN.mjs} +3 -2
  197. package/dist/server/{portal-B4JVkdjc.mjs → portal-pG_uhsI2.mjs} +62 -46
  198. package/dist/server/portal.mjs +3 -3
  199. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  200. package/dist/server/{prebuild-Cr8p8T7V.mjs → prebuild-C8Amvzce.mjs} +1 -1
  201. package/dist/server/prebuild.mjs +1 -1
  202. package/dist/server/{prefetchBlockData-BZh57-ua.mjs → prefetchBlockData-BxUETRIZ.mjs} +4 -3
  203. package/dist/server/{registry-CvhFwbXJ.mjs → registry-Cc88-23f.mjs} +1514 -1190
  204. package/dist/server/rendering/components/pageShared.mjs +1 -1
  205. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  206. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  207. package/dist/server/rendering/server.mjs +4 -4
  208. package/dist/server/rendering.mjs +10 -9
  209. package/dist/server/{resolveBlockData-Cv_W1LVB.mjs → resolveBlockData-OG3KOkig.mjs} +2 -2
  210. package/dist/server/{responseMedia-KRKguBC5.mjs → responseMedia-IfH65QAH.mjs} +1 -1
  211. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  212. package/dist/server/server.mjs +3 -3
  213. package/dist/server/{servicePageContent-CRKbTm_7.mjs → servicePageContent-BcFuhhD7.mjs} +22 -21
  214. package/dist/server/theme-bridge.mjs +34 -8
  215. package/dist/server/theme.mjs +2 -2
  216. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  217. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  218. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  219. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  220. package/dist/server/{validation-DCl-FCk_.mjs → validation-BovmbS8N.mjs} +70 -17
  221. package/dist/server/{version-DT_R5JAR.mjs → version-hws4hgyX.mjs} +1 -1
  222. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  223. package/dist/styles/index.css +1098 -1885
  224. package/package.json +2 -1
  225. package/dist/_dts/index-B0_2-65A.d.ts +0 -101
  226. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  227. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  228. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  229. package/dist/client/formatDate-hhI1-tzt.mjs +0 -26
  230. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  231. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  232. package/dist/server/titleSourceSchema-Cu-3PRvv.mjs +0 -122
@@ -132,4 +132,4 @@ function buildRenderableMediaAssetIndex(assets) {
132
132
  return indexRenderableMediaAssets(assets.map((asset) => renderableMediaAssetSchema.parse(asset)));
133
133
  }
134
134
  //#endregion
135
- export { mediaIdentifierSchema as a, unsafeAsMediaAssetId as c, parseUuidBrand as d, err as f, resolveManagedMediaReference as i, unsafeAsStorageBucketName as l, renderableMediaAssetSchema as n, parseCanonicalMediaIdentifier as o, ok as p, indexRenderableMediaAssets as r, parseMediaIdentifier as s, buildRenderableMediaAssetIndex as t, unsafeAsStoragePath as u };
135
+ export { mediaIdentifierSchema as a, parseMediaAssetId as c, unsafeAsStoragePath as d, parseUuidBrand as f, resolveManagedMediaReference as i, unsafeAsMediaAssetId as l, ok as m, renderableMediaAssetSchema as n, parseCanonicalMediaIdentifier as o, err as p, indexRenderableMediaAssets as r, parseMediaIdentifier as s, buildRenderableMediaAssetIndex as t, unsafeAsStorageBucketName as u };
@@ -1,33 +1,33 @@
1
1
  "use client";
2
2
  "use client";
3
- import { mn as staticHeaderChromeRuntime } from "../newsletter-form.interactive-7Of3eYn0.mjs";
4
- import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
5
- import { $a as RichText, Co as renderVideo, Do as resolveMediaNodeResponsiveImage, So as renderAudio, bo as computeMediaTransformStyle, vo as ImagePresets, xo as mediaImageHostProps, yo as MediaPlaceholder } from "../wizardSteps-CWIQyRIw.mjs";
6
- import { n as BookingFormNodeClient } from "../booking-form.client-CYl9NrqS.mjs";
7
- import { t as EventRegistrationBlockClient } from "../event-registration.client-Du9a_xAN.mjs";
8
- import { h as Text } from "../timetableModel-BOff1Kk5.mjs";
9
- import { $ as WeeklySlotAvailabilityView, Dt as composeHeaderSectionWrapperClassName, Et as HeaderSectionFrame, Ft as resolveAccordionIconStyle, Ln as ICON_CONFIG, Mt as accordionItemPartSlots, Nt as accordionLookAttributes, Ot as markEditableSurfaceForwarding, Pt as accordionIconColorStyle, ft as LocationMapSSR, kt as splitPositioningClasses, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, wt as resolveEventDetailsPresentation, xt as EventDetailsView } from "../registry.server-Bj9cmHHF.mjs";
10
- import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-DtKdUdkO.mjs";
11
- import "../accessibleSurfaces-Wl8-_OVJ.mjs";
12
- import { S as clsx } from "../ThemedButton-CnSa7o-I.mjs";
3
+ import { gn as staticHeaderChromeRuntime } from "../newsletter-form.interactive-DVt3enLr.mjs";
4
+ import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BsOWd9lf.mjs";
5
+ import { Io as RichText, as as renderAudio, is as mediaImageHostProps, ns as MediaPlaceholder, os as renderVideo, rs as computeMediaTransformStyle, ts as ImagePresets, us as resolveMediaNodeResponsiveImage } from "../wizardSteps-B952ify5.mjs";
6
+ import { n as BookingFormNodeClient } from "../booking-form.client-BOMe_SKi.mjs";
7
+ import { t as EventRegistrationBlockClient } from "../event-registration.client-dB_Z7bb-.mjs";
8
+ import { h as Text } from "../timetableModel-GA-hn1qM.mjs";
9
+ import { At as splitPositioningClasses, Dt as HeaderSectionFrame, Ft as accordionIconColorStyle, It as resolveAccordionIconStyle, Nt as accordionItemPartSlots, Ot as composeHeaderSectionWrapperClassName, Pt as accordionLookAttributes, St as EventDetailsView, Tt as resolveEventDetailsPresentation, et as WeeklySlotAvailabilityView, kt as markEditableSurfaceForwarding, n as runtimeBackedBlockModes, pt as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, zn as ICON_CONFIG } from "../registry.server-DzvtVVD0.mjs";
10
+ import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-Hi1RuYEM.mjs";
11
+ import "../accessibleSurfaces-BogaGutk.mjs";
12
+ import { x as clsx } from "../ThemedButton-PFOhXktM.mjs";
13
13
  import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
14
- import { t as coerceRichTextDoc } from "../richText-coerce-Z45OLLEX.mjs";
15
- import { t as ShopClient } from "../shop.client-Rnqa74Tk.mjs";
16
- import { o as getRuntimeTimeZone } from "../useAvailableSlots-DQJNh10g.mjs";
14
+ import { t as coerceRichTextDoc } from "../richText-coerce-Bnng7JFA.mjs";
15
+ import { t as ShopClient } from "../shop.client-uvj5GDZb.mjs";
16
+ import { n as EventCombinedIslandClient } from "../EventCombined.client-C1jEZBN9.mjs";
17
+ import { o as getRuntimeTimeZone } from "../useAvailableSlots-CBneCxbG.mjs";
17
18
  import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
18
- import { t as CarouselNodeClient } from "../carousel.client-DMtGYTTM.mjs";
19
- import { t as ProductListClient } from "../product-list.client-CCEgu9rx.mjs";
20
- import { t as ProductDetailClient } from "../product-detail.client-B2hdxqJN.mjs";
21
- import { t as CartClient } from "../cart.client-DylGUWXY.mjs";
22
- import { t as CheckoutClient } from "../checkout.client-C98fhch3.mjs";
23
- import { t as GiftingClient } from "../gifting.client-CFUq3GVx.mjs";
24
- import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DvhD-8eE.mjs";
25
- import { t as EventListingClient } from "../EventListing.client-BNM_HuS0.mjs";
26
- import { n as EventCombinedIslandClient } from "../EventCombined.client-D0me9wnz.mjs";
27
- import { t as EventCalendarClient } from "../EventCalendar.client-CrpiyDSP.mjs";
28
- import { t as FormNodeClient } from "../form.client-TaMUys6I.mjs";
29
- import { t as NewsletterFormClient } from "../newsletter-form.client-VuL9I96G.mjs";
30
- import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DJSmdNUJ.mjs";
19
+ import { t as CarouselNodeClient } from "../carousel.client-BtLwHefX.mjs";
20
+ import { t as ProductListClient } from "../product-list.client-CyAk5rnC.mjs";
21
+ import { t as ProductDetailClient } from "../product-detail.client-5aHq-vuu.mjs";
22
+ import { t as CartClient } from "../cart.client-BKFkaXdV.mjs";
23
+ import { t as CheckoutClient } from "../checkout.client-C25hpi-z.mjs";
24
+ import { t as GiftingClient } from "../gifting.client-DVo1YFLs.mjs";
25
+ import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-Dv1Lr9kJ.mjs";
26
+ import { t as EventListingClient } from "../EventListing.client-BuH5kKA3.mjs";
27
+ import { t as EventCalendarClient } from "../EventCalendar.client-Dhb14bcC.mjs";
28
+ import { t as FormNodeClient } from "../form.client-D7zmeqNI.mjs";
29
+ import { t as NewsletterFormClient } from "../newsletter-form.client-rIYPziZC.mjs";
30
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CQMf0HdN.mjs";
31
31
  import * as React$1 from "react";
32
32
  import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
33
33
  import { 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-DJSmdNUJ.mjs";
3
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CQMf0HdN.mjs";
4
4
  export { BlocksIslandsHydrator };
@@ -1,11 +1,12 @@
1
1
  "use client";
2
- import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
3
- import { $a as RichText$2, Eo as resolveImageUrlWithContext$1, Jo as resolveDateRuntimeContext, To as resolveImageUrl$1, Yo as sanitizeHref, bo as computeMediaTransformStyle, qo as readRuntimeNow, wo as resolveImageSourceSetWithContext$1 } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { X as persistableMediaSchema, Y as mediaSchema, Z as runtimeMediaSchema, vn as toUtcIsoDateTimeString } from "./src-o7WEvbK1.mjs";
5
- import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-bX7iy_MK.mjs";
6
- import { W as parseFieldDefinition } from "./registry.server-Bj9cmHHF.mjs";
7
- import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
8
- import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-B99AP7ai.mjs";
2
+ import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
3
+ import { Cn as toUtcIsoDateTimeString, J as runtimeMediaSchema, K as mediaSchema, q as persistableMediaSchema } from "./src-CmXh3JWs.mjs";
4
+ import { As as readRuntimeNow, Io as RichText$2, Ms as sanitizeHref, cs as resolveImageUrl$1, js as resolveDateRuntimeContext, ls as resolveImageUrlWithContext$1, rs as computeMediaTransformStyle, ss as resolveImageSourceSetWithContext$1 } from "./wizardSteps-B952ify5.mjs";
5
+ import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-ByyVZfVq.mjs";
6
+ import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-sV6BJkXX.mjs";
7
+ import { W as parseFieldDefinition } from "./registry.server-DzvtVVD0.mjs";
8
+ import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
9
+ import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-COfQolI3.mjs";
9
10
  import "react";
10
11
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
11
12
  import { z } from "zod";
@@ -214,6 +215,13 @@ function getRiverbankEnv() {
214
215
  };
215
216
  }
216
217
  //#endregion
218
+ //#region src/portal/constants.ts
219
+ /**
220
+ * Portal Authentication Constants
221
+ */
222
+ /** Default redirect path for callback */
223
+ const DEFAULT_PORTAL_REDIRECT = CUSTOMER_PORTAL_PATH;
224
+ //#endregion
217
225
  //#region src/navigation/index.ts
218
226
  /**
219
227
  * Get the fixed main navigation menu object.
@@ -252,7 +260,7 @@ function isCommerceEnabled(options) {
252
260
  return options?.commerceEnabled === true;
253
261
  }
254
262
  function resolvePortalHref(link) {
255
- return link.path?.trim() || "/portal";
263
+ return link.path?.trim() || DEFAULT_PORTAL_REDIRECT;
256
264
  }
257
265
  function resolveCheckoutHref(options) {
258
266
  if (options?.checkoutHref === null) return null;
@@ -1,5 +1,6 @@
1
1
  "use client";
2
- import { H as RichTextDocSchema, u as logger } from "./src-o7WEvbK1.mjs";
2
+ import { z as RichTextDocSchema } from "./src-CmXh3JWs.mjs";
3
+ import { t as logger } from "./noop-jesvJXEE.mjs";
3
4
  //#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
4
5
  function parseRichTextDoc(value) {
5
6
  const parsed = RichTextDocSchema.safeParse(value);
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Ca as createHostedBlockApiConfig } from "./wizardSteps-CWIQyRIw.mjs";
2
+ import { to as createHostedBlockApiConfig } from "./wizardSteps-B952ify5.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-Wl8-_OVJ.mjs";
2
+ import { n as parseSurfaceTree } from "./accessibleSurfaces-BogaGutk.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) {
@@ -1,3 +1,3 @@
1
1
  "use client";
2
- import { t as restoreRuntimeResponse } from "./runtimeResponse-DtWSfWSZ.mjs";
2
+ import { t as restoreRuntimeResponse } from "./runtimeResponse-DAPVRToN.mjs";
3
3
  export { restoreRuntimeResponse };
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as ShopClient } from "./shop.client-Rnqa74Tk.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-BLKAmX0S.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-BaBfhjCq.mjs";
2
+ import { t as ShopClient } from "./shop.client-uvj5GDZb.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder-0Unsqn3R.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-3giNWE3H.mjs";
5
5
  //#region src/rendering/islands/enhancers/shop.tsx
6
6
  const decode = defineIslandPropsDecoder("shop");
7
7
  const enhance = (root, props) => {
@@ -1,24 +1,61 @@
1
1
  "use client";
2
- import { J as getShopDisplayForItems } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { $a as RichText, Cr as formatCommercePrice, Mr as deriveCommerceCheckoutState, Pr as productItemKey, br as buildProductCardDisplay, jr as buildProductCartItem, xr as buildProductDetailDisplay } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-o7WEvbK1.mjs";
5
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BAdW5DvE.mjs";
6
- import { n as useBlockApi } from "./context-DtKdUdkO.mjs";
7
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
8
- import { t as coerceRichTextDoc } from "./richText-coerce-Z45OLLEX.mjs";
9
- import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
10
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-BMLYTf38.mjs";
11
- import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
12
- import { n as useTransientShopAddFeedback, r as consumeSearchParam, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.mjs";
2
+ import { Y as getShopDisplayForItems } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
+ import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-CmXh3JWs.mjs";
4
+ import { Io as RichText, Jr as buildProductCardDisplay, Yr as buildProductDetailDisplay, Zr as formatCommercePrice, ai as buildProductCartItem, ci as productItemKey, oi as deriveCommerceCheckoutState } from "./wizardSteps-B952ify5.mjs";
5
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-VfSd6JU-.mjs";
6
+ import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
7
+ import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
8
+ import { t as coerceRichTextDoc } from "./richText-coerce-Bnng7JFA.mjs";
9
+ import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-8kwNF9HN.mjs";
10
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-tG788sw0.mjs";
11
+ import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-B7sHnLwI.mjs";
12
+ import { t as consumeSearchParam } from "./urlParams-C2QHo1Pa.mjs";
13
13
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
14
- import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-CTBwSpKv.mjs";
15
- import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-B8eDjhuG.mjs";
16
- import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-CiCDLNh7.mjs";
17
- import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.mjs";
18
- import { n as useCommerceCart } from "./shop-commerce-store-B-rv2p5h.mjs";
14
+ import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-DOyZc-DF.mjs";
15
+ import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-BAL5UIDG.mjs";
16
+ import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-Dos2zdC2.mjs";
17
+ import { t as CarouselNodeClient } from "./carousel.client-BtLwHefX.mjs";
19
18
  import * as React$1 from "react";
20
19
  import { useEffect, useState } from "react";
21
20
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
21
+ //#region ../blocks/src/system/runtime/nodes/shop-add-feedback.tsx
22
+ const DEFAULT_TIMEOUT_MS = 2500;
23
+ function useTransientShopAddFeedback(timeoutMs = DEFAULT_TIMEOUT_MS) {
24
+ const [activeKey, setActiveKey] = React$1.useState(null);
25
+ React$1.useEffect(() => {
26
+ if (!activeKey) return;
27
+ const timeoutId = window.setTimeout(() => {
28
+ setActiveKey((current) => current === activeKey ? null : current);
29
+ }, timeoutMs);
30
+ return () => window.clearTimeout(timeoutId);
31
+ }, [activeKey, timeoutMs]);
32
+ return {
33
+ activeKey,
34
+ markAdded: setActiveKey,
35
+ clear: () => setActiveKey(null)
36
+ };
37
+ }
38
+ function ShopAddFeedback(props) {
39
+ if (!props.active) return null;
40
+ return /* @__PURE__ */ jsxs(FeedbackMessage, {
41
+ tone: "success",
42
+ className: "rb-caption status-muted",
43
+ role: "status",
44
+ live: "polite",
45
+ children: [
46
+ "Added ",
47
+ props.itemLabel,
48
+ " to cart.",
49
+ " ",
50
+ /* @__PURE__ */ jsx("a", {
51
+ href: "#shop-cart",
52
+ children: "View cart"
53
+ }),
54
+ "."
55
+ ]
56
+ });
57
+ }
58
+ //#endregion
22
59
  //#region ../blocks/src/system/runtime/nodes/shop-checkout.state.ts
23
60
  const initialShopCheckoutState = {
24
61
  form: {
@@ -1,6 +1,26 @@
1
1
  "use client";
2
- import { Ar as buildPassCartItem, Fr as reduceCommerceCart, Nr as parseStoredCommerceCartState, kr as EMPTY_COMMERCE_CART_STATE } from "./wizardSteps-CWIQyRIw.mjs";
2
+ import { ii as buildPassCartItem, li as reduceCommerceCart, ri as EMPTY_COMMERCE_CART_STATE, si as parseStoredCommerceCartState } from "./wizardSteps-B952ify5.mjs";
3
3
  import * as React$1 from "react";
4
+ //#region ../blocks/src/system/runtime/shared/utils/checkoutRoute.ts
5
+ function resolveDedicatedCheckoutTarget(pathname) {
6
+ const internalPublishedMatch = pathname.match(/^\/internal-sites\/([^/]+)\/([^/]+)\/published(?:\/.*)?$/);
7
+ if (internalPublishedMatch) {
8
+ const hostKey = internalPublishedMatch[1];
9
+ const siteIdentifier = internalPublishedMatch[2];
10
+ if (hostKey && siteIdentifier) return {
11
+ kind: "internal_published_preview",
12
+ hostKey,
13
+ siteIdentifier
14
+ };
15
+ }
16
+ return { kind: "public" };
17
+ }
18
+ function resolveDedicatedCheckoutPath(pathname) {
19
+ const target = resolveDedicatedCheckoutTarget(pathname);
20
+ if (target.kind === "internal_published_preview") return `/internal-sites/${target.hostKey}/${target.siteIdentifier}/published/checkout`;
21
+ return "/checkout";
22
+ }
23
+ //#endregion
4
24
  //#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
5
25
  const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
6
26
  const stores = /* @__PURE__ */ new Map();
@@ -76,9 +96,6 @@ function getStore(siteId) {
76
96
  stores.set(siteId, next);
77
97
  return next;
78
98
  }
79
- function addPassToCommerceCart(siteId, input) {
80
- getStore(siteId ?? "unknown").addPass(input);
81
- }
82
99
  function useCommerceCart(siteId) {
83
100
  const effectiveSiteId = siteId ?? "unknown";
84
101
  const store = React$1.useMemo(() => getStore(effectiveSiteId), [effectiveSiteId]);
@@ -92,4 +109,4 @@ function useCommerceCart(siteId) {
92
109
  };
93
110
  }
94
111
  //#endregion
95
- export { useCommerceCart as n, addPassToCommerceCart as t };
112
+ export { resolveDedicatedCheckoutPath as n, useCommerceCart as t };
@@ -1,6 +1,6 @@
1
1
  "use client";
2
- import { t as assertNever } from "./src-o7WEvbK1.mjs";
3
- import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
2
+ import { t as assertNever } from "./src-CmXh3JWs.mjs";
3
+ import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-8kwNF9HN.mjs";
4
4
  //#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
5
5
  const initialDiscountApplyState = {
6
6
  isOpen: false,
@@ -1,26 +1,25 @@
1
1
  "use client";
2
- import { tt as shopProductPresentation } from "./newsletter-form.interactive-7Of3eYn0.mjs";
3
- import { Cr as formatCommercePrice, gr as appliedDiscountHint, ui as getShopSuccessCopy, wr as formatInterval } from "./wizardSteps-CWIQyRIw.mjs";
4
- import { t as assertNever } from "./src-o7WEvbK1.mjs";
5
- import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
6
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BAdW5DvE.mjs";
7
- import { n as useBlockApi } from "./context-DtKdUdkO.mjs";
8
- import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
9
- import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-0Ua44F1j.mjs";
2
+ import { nt as shopProductPresentation } from "./newsletter-form.interactive-DVt3enLr.mjs";
3
+ import { t as assertNever } from "./src-CmXh3JWs.mjs";
4
+ import { Hi as getShopSuccessCopy, Qr as formatInterval, Wr as appliedDiscountHint, Zr as formatCommercePrice } from "./wizardSteps-B952ify5.mjs";
5
+ import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
6
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-VfSd6JU-.mjs";
7
+ import { n as useBlockApi } from "./context-Hi1RuYEM.mjs";
8
+ import { n as ThemedButton } from "./ThemedButton-PFOhXktM.mjs";
9
+ import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-8kwNF9HN.mjs";
10
10
  import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
11
11
  import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
12
- import { i as consumeSearchParams, n as useTransientShopAddFeedback, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.mjs";
12
+ import { n as consumeSearchParams } from "./urlParams-C2QHo1Pa.mjs";
13
13
  import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
14
14
  import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
15
15
  import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
16
- import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-BcFQRI_7.mjs";
16
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-D0kGF0C7.mjs";
17
17
  import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
18
- import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-CTBwSpKv.mjs";
19
- import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-B8eDjhuG.mjs";
20
- import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-CiCDLNh7.mjs";
21
- import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.mjs";
22
- import { r as formatEntitlementEnd } from "./dateFormatting-BaGPvQS3.mjs";
23
- import { t as addPassToCommerceCart } from "./shop-commerce-store-B-rv2p5h.mjs";
18
+ import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-DOyZc-DF.mjs";
19
+ import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-BAL5UIDG.mjs";
20
+ import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-Dos2zdC2.mjs";
21
+ import { t as CarouselNodeClient } from "./carousel.client-BtLwHefX.mjs";
22
+ import { n as formatEntitlementEnd } from "./dateFormatting-C8vBCHuo.mjs";
24
23
  import React, { useCallback, useEffect, useRef, useState } from "react";
25
24
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
26
25
  //#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
@@ -353,11 +352,7 @@ function PurchasablePassCard(props) {
353
352
  extraClassName: "shop__cta",
354
353
  label: props.action.label,
355
354
  onClick: buy
356
- })] }),
357
- feedback: /* @__PURE__ */ jsx(ShopAddFeedback, {
358
- active: props.feedbackActive,
359
- itemLabel: chosen ? `${product.name} with ${chosen.name}` : product.name
360
- })
355
+ })] })
361
356
  });
362
357
  }
363
358
  function checkoutProductLabel(checkout, totalCents = checkout.item.product.price) {
@@ -409,7 +404,6 @@ function PassesMembershipsController({ render }) {
409
404
  const api = useBlockApi();
410
405
  const [state, dispatch] = React.useReducer(shopPassesMembershipsReducer, initialShopPassesMembershipsState);
411
406
  const [discountApply, dispatchDiscountApply] = React.useReducer(discountApplyReducer, initialDiscountApplyState);
412
- const passAddFeedback = useTransientShopAddFeedback();
413
407
  const [modalPortalRoot, setModalPortalRoot] = useState(null);
414
408
  const [checkoutReturnEmail, setCheckoutReturnEmail] = useState(null);
415
409
  const shopRootRef = useRef(null);
@@ -439,27 +433,12 @@ function PassesMembershipsController({ render }) {
439
433
  });
440
434
  const discountApplyFeedback = getDiscountApplyFeedback(discountApply.status, formatCommercePrice);
441
435
  const handleBuyPass = useCallback((pass, teamMember) => {
442
- if (hydration.passPurchaseMode === "add_to_cart") {
443
- addPassToCommerceCart(api.config.siteId, {
444
- passId: pass.id,
445
- title: pass.name,
446
- ...teamMember ? { teamMember } : {},
447
- unitPriceCents: pass.price,
448
- currency: pass.currency
449
- });
450
- passAddFeedback.markAdded(pass.id);
451
- return;
452
- }
453
436
  dispatch({
454
437
  type: "openPassCheckout",
455
438
  pass,
456
439
  teamMember
457
440
  });
458
- }, [
459
- api.config.siteId,
460
- hydration.passPurchaseMode,
461
- passAddFeedback
462
- ]);
441
+ }, []);
463
442
  const handleSubscribe = useCallback((membership) => {
464
443
  dispatch({
465
444
  type: "openMembershipCheckout",
@@ -580,7 +559,6 @@ function PassesMembershipsController({ render }) {
580
559
  index,
581
560
  presentation: shopProductPresentation(hydration, passDisplay.id, index, display.passes.length),
582
561
  buttonVariant: hydration.buttonVariant,
583
- feedbackActive: passAddFeedback.activeKey === passDisplay.id,
584
562
  onBuy: handleBuyPass
585
563
  }, passDisplay.id);
586
564
  }),
@@ -1,7 +1,7 @@
1
1
  "use client";
2
- import { t as BlockApiProvider } from "./context-DtKdUdkO.mjs";
2
+ import { t as BlockApiProvider } from "./context-Hi1RuYEM.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DHpTTK77.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BGfcc9sk.mjs";
5
5
  import "react";
6
6
  import { jsx } from "react/jsx-runtime";
7
7
  //#region src/rendering/islands/enhancers/shopShared.tsx
@@ -1,6 +1,6 @@
1
1
  "use client";
2
2
  "use client";
3
- import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-De6AzhE6.mjs";
3
+ import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-BNnKuir8.mjs";
4
4
  import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
5
5
  import { i as hasSpamProtection, n as useSpamProtection, r as getChallengeUrl, t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
6
6
  export { ProtectedSubmitButton, SpamProtectionWidget, getChallengeUrl, hasSpamProtection, submissionProof, useSpamProtection };
@@ -0,0 +1,164 @@
1
+ "use client";
2
+ //#region ../path-utils/src/redirectPaths.ts
3
+ const REDIRECT_BASE_URL = "https://redirect.local";
4
+ const CONTROL_CHAR_PATTERN = /[\u0000-\u001F\u007F]/;
5
+ const ENCODED_SEPARATOR_PATTERN = /%(?:2f|5c|00|0d|0a|252f|255c|2500|250d|250a)/i;
6
+ function prevalidateInput(value) {
7
+ if (value === null || value === void 0) return {
8
+ ok: false,
9
+ error: { tag: "MISSING" }
10
+ };
11
+ if (typeof value !== "string") return {
12
+ ok: false,
13
+ error: { tag: "INVALID_PATH" }
14
+ };
15
+ const trimmed = value.trim();
16
+ if (!trimmed) return {
17
+ ok: false,
18
+ error: { tag: "EMPTY" }
19
+ };
20
+ if (CONTROL_CHAR_PATTERN.test(trimmed)) return {
21
+ ok: false,
22
+ error: { tag: "CONTROL_CHAR" }
23
+ };
24
+ if (trimmed.includes("\\")) return {
25
+ ok: false,
26
+ error: { tag: "BACKSLASH" }
27
+ };
28
+ return trimmed;
29
+ }
30
+ function isHttpUrl(value) {
31
+ return /^https?:\/\//i.test(value);
32
+ }
33
+ function isRootedPathname(pathname) {
34
+ return pathname.startsWith("/") && !pathname.startsWith("//");
35
+ }
36
+ function pathContainsEncodedSeparator(pathname) {
37
+ return ENCODED_SEPARATOR_PATTERN.test(pathname);
38
+ }
39
+ function parseRedirectPath(value, policy) {
40
+ const normalized = prevalidateInput(value);
41
+ if (typeof normalized !== "string") return normalized;
42
+ const base = policy.tag === "same-origin" ? policy.baseUrl instanceof URL ? policy.baseUrl : new URL(policy.baseUrl) : new URL(REDIRECT_BASE_URL);
43
+ if (!normalized.startsWith("/") && !isHttpUrl(normalized)) return {
44
+ ok: false,
45
+ error: { tag: "INVALID_PATH" }
46
+ };
47
+ if (policy.tag === "internal-only" && isHttpUrl(normalized)) return {
48
+ ok: false,
49
+ error: { tag: "EXTERNAL_URL" }
50
+ };
51
+ try {
52
+ const candidate = new URL(normalized, base.origin);
53
+ if (candidate.origin !== base.origin) return {
54
+ ok: false,
55
+ error: { tag: "EXTERNAL_URL" }
56
+ };
57
+ if (!isRootedPathname(candidate.pathname)) return {
58
+ ok: false,
59
+ error: { tag: "INVALID_PATH" }
60
+ };
61
+ if (pathContainsEncodedSeparator(candidate.pathname)) return {
62
+ ok: false,
63
+ error: { tag: "ENCODED_SEPARATOR" }
64
+ };
65
+ return {
66
+ ok: true,
67
+ value: `${candidate.pathname}${candidate.search}${candidate.hash}`
68
+ };
69
+ } catch {
70
+ return {
71
+ ok: false,
72
+ error: { tag: "INVALID_PATH" }
73
+ };
74
+ }
75
+ }
76
+ function parseInternalRedirectPath(value) {
77
+ return parseRedirectPath(value, { tag: "internal-only" });
78
+ }
79
+ //#endregion
80
+ //#region ../path-utils/src/safeAppPath.ts
81
+ function parseSafeAppPath(value) {
82
+ const result = parseInternalRedirectPath(value);
83
+ return result.ok ? {
84
+ ok: true,
85
+ value: result.value
86
+ } : result;
87
+ }
88
+ function assertSafeAppPath(value) {
89
+ const result = parseSafeAppPath(value);
90
+ if (!result.ok) throw new Error(`Expected a safe app path, got ${result.error.tag}`);
91
+ return result.value;
92
+ }
93
+ //#endregion
94
+ //#region ../path-utils/src/index.ts
95
+ const PATH_SEPARATOR_REGEX = /\./g;
96
+ const BRACKET_ACCESS_REGEX = /\[([^\]]+)\]/g;
97
+ /**
98
+ * Segments that would traverse or mutate the prototype chain.
99
+ *
100
+ * `setAtPath` creates nested objects along the path, so allowing these
101
+ * segments is a prototype-pollution vector. They are rejected everywhere a
102
+ * path is parsed (string or pre-parsed array form) — fail closed.
103
+ */
104
+ const UNSAFE_PATH_SEGMENTS = /* @__PURE__ */ new Set([
105
+ "__proto__",
106
+ "constructor",
107
+ "prototype"
108
+ ]);
109
+ var UnsafePathSegmentError = class extends Error {
110
+ constructor(segment) {
111
+ super(`Unsafe path segment: "${segment}"`);
112
+ this.name = "UnsafePathSegmentError";
113
+ this.segment = segment;
114
+ }
115
+ };
116
+ function assertSafePathSegments(segments) {
117
+ for (const segment of segments) if (typeof segment === "string" && UNSAFE_PATH_SEGMENTS.has(segment)) throw new UnsafePathSegmentError(segment);
118
+ }
119
+ function isRecord(value) {
120
+ return typeof value === "object" && value !== null && !Array.isArray(value);
121
+ }
122
+ function isPathContainer(value) {
123
+ return Array.isArray(value) || isRecord(value);
124
+ }
125
+ function getContainerValue(container, segment) {
126
+ if (typeof segment === "number") return Array.isArray(container) ? container[segment] : void 0;
127
+ if (segment in container) return Reflect.get(container, segment);
128
+ }
129
+ function parsePath(path) {
130
+ if (Array.isArray(path)) {
131
+ assertSafePathSegments(path);
132
+ return path;
133
+ }
134
+ const segments = [];
135
+ const parts = path.split(PATH_SEPARATOR_REGEX);
136
+ for (const raw of parts) {
137
+ if (!raw) continue;
138
+ const baseMatch = raw.match(/^[^\[]+/);
139
+ if (baseMatch !== null) {
140
+ const base = baseMatch[1] ?? baseMatch[0];
141
+ if (/^\d+$/.test(base)) segments.push(Number(base));
142
+ else segments.push(base);
143
+ }
144
+ const bracketMatches = raw.matchAll(BRACKET_ACCESS_REGEX);
145
+ for (const match of bracketMatches) {
146
+ const token = match[1] ?? "";
147
+ if (token.startsWith("\"") || token.startsWith("'")) segments.push(token.slice(1, -1));
148
+ else if (/^\d+$/.test(token)) segments.push(Number(token));
149
+ else segments.push(token);
150
+ }
151
+ if (baseMatch === null && !raw.includes("[")) segments.push(raw);
152
+ }
153
+ assertSafePathSegments(segments);
154
+ return segments;
155
+ }
156
+ function getAtPath(source, path) {
157
+ return parsePath(path).reduce((current, segment) => {
158
+ if (current === void 0 || current === null) return void 0;
159
+ if (!isPathContainer(current)) return void 0;
160
+ return getContainerValue(current, segment);
161
+ }, source);
162
+ }
163
+ //#endregion
164
+ export { assertSafeAppPath as n, getAtPath as t };