@riverbankcms/sdk 0.179.0 → 0.181.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 (240) hide show
  1. package/README.md +2 -2
  2. package/dist/_dts/{BlocksIslandsHydrator-DKwgs95u.d.ts → BlocksIslandsHydrator-CVCasDPz.d.ts} +1 -1
  3. package/dist/_dts/{Page-lWenra5i.d.ts → Page-Dtj2Ui3S.d.ts} +7 -7
  4. package/dist/_dts/{SdkPreviewMode-BRxhRw4I.d.ts → SdkPreviewMode-D1f_60WW.d.ts} +3 -2
  5. package/dist/_dts/{client-qWn7xAwJ.d.ts → client-Chr9pNVW.d.ts} +288 -121
  6. package/dist/_dts/{content-types-DL6GIvTm.d.ts → content-types-kjccgopX.d.ts} +2 -2
  7. package/dist/_dts/{contracts-CzWyAiJj.d.ts → contracts-BodaiS00.d.ts} +3 -3
  8. package/dist/_dts/{generatePageMetadata-CBKd0cJ4.d.ts → generatePageMetadata-BS6kaJFp.d.ts} +2 -2
  9. package/dist/_dts/{index-DCiSHd-C.d.ts → index-Brl6_I2j.d.ts} +5 -4
  10. package/dist/_dts/{index-CaCum9mM.d.ts → index-CJkefwYh.d.ts} +2 -2
  11. package/dist/_dts/{index-7CDBZGb-.d.ts → index-D1WpKwQe.d.ts} +1 -1
  12. package/dist/_dts/{index-BU9uAkHB.d.ts → index-DG0OvBs0.d.ts} +8 -8
  13. package/dist/_dts/{index-BYnG_vF5.d.ts → index-Diqt0PvG.d.ts} +1 -1
  14. package/dist/_dts/{index-CZgJrhzT.d.ts → index-Dy50xUMK.d.ts} +2 -2
  15. package/dist/_dts/{loadContent-CPKbFQyq.d.ts → loadContent-BgxshKrA.d.ts} +7 -7
  16. package/dist/_dts/{request-BjKBCS7t.d.ts → request-CA0izds5.d.ts} +4561 -1390
  17. package/dist/_dts/{resolveBlockData-DupbMCup.d.ts → resolveBlockData-ChQmwEd3.d.ts} +5 -5
  18. package/dist/_dts/{resolvePageContent-BqNyCHi8.d.ts → resolvePageContent-BvGyvblj.d.ts} +1 -1
  19. package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
  20. package/dist/_dts/sdk/src/client/types.d.ts +2 -2
  21. package/dist/_dts/sdk/src/client.d.ts +7 -7
  22. package/dist/_dts/sdk/src/config/index.d.ts +6 -6
  23. package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
  24. package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
  25. package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
  26. package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
  27. package/dist/_dts/sdk/src/data/types.d.ts +2 -2
  28. package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
  29. package/dist/_dts/sdk/src/index.d.ts +104 -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 +3 -3
  33. package/dist/_dts/sdk/src/next/index.d.ts +84 -53
  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 +43 -56
  37. package/dist/_dts/sdk/src/portal/index.d.ts +3 -18
  38. package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
  39. package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
  40. package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
  41. package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
  42. package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
  43. package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
  44. package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
  45. package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
  46. package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
  47. package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
  48. package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
  49. package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
  50. package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
  51. package/dist/_dts/sdk/src/server.d.ts +5 -5
  52. package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
  53. package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
  54. package/dist/_dts/{serviceBookingOutline-YcsIjvn1.d.ts → serviceBookingOutline-BgFbJQhU.d.ts} +8 -7
  55. package/dist/_dts/{types-B7e6Lmo5.d.ts → types-CQrsP1x_.d.ts} +3 -3
  56. package/dist/_dts/{types-CT-KOxl_.d.ts → types-CgS3xLk8.d.ts} +7 -2
  57. package/dist/_dts/{types-BOxSq-Bq.d.ts → types-R65DKjPn.d.ts} +9 -8
  58. package/dist/_dts/{validation-Dz6qccue.d.ts → validation-6LTIbuBA.d.ts} +4 -4
  59. package/dist/client/{BlocksIslandsHydrator-1XifJg6V.mjs → BlocksIslandsHydrator-DqZPz6oW.mjs} +19 -19
  60. package/dist/client/{BookingMailingListNote-BsbEgagJ.mjs → BookingMailingListNote-uWfR2kaG.mjs} +177 -70
  61. package/dist/client/{BookingQuestionFields-C8IbeLHj.mjs → BookingQuestionFields-CyNIKw6k.mjs} +23 -82
  62. package/dist/client/CalendarAction-D_Glwvz2.mjs +105 -0
  63. package/dist/client/{CalendarNavigationChevron-Bbqij1XQ.mjs → CalendarNavigationChevron-BGCX3zwG.mjs} +6 -6
  64. package/dist/client/{CheckboxChoice-BZPLCgTU.mjs → CheckboxChoice-C8i4NraK.mjs} +1 -1
  65. package/dist/client/{DemoBookingPortalAccess-uA9H8LIL.mjs → DemoBookingPortalAccess-DFLPyuqe.mjs} +18 -10
  66. package/dist/client/{EventCalendar.client-yoSI77ov.mjs → EventCalendar.client-zDL4-t-B.mjs} +10 -10
  67. package/dist/client/{EventCombined.client-HeCNlliq.mjs → EventCombined.client-uciDKLID.mjs} +60 -10
  68. package/dist/client/{EventEmbeddedCheckoutStep-BDnicDM6.mjs → EventEmbeddedCheckoutStep-BGkbUhuw.mjs} +1 -1
  69. package/dist/client/{EventItem-Duhk1vnF.mjs → EventItem-CwzrjcRw.mjs} +8 -7
  70. package/dist/client/{EventListWeekNavigation-BiutEqPK.mjs → EventListWeekNavigation-ChvcnPma.mjs} +1 -1
  71. package/dist/client/{EventListing.client-B5ln77jG.mjs → EventListing.client-DA57Qoyx.mjs} +3 -3
  72. package/dist/client/{EventListing.view-hUDhNtMv.mjs → EventListing.view-DZ0qMFF4.mjs} +8 -211
  73. package/dist/client/{EventRegistrationPayment-DqtX1vB2.mjs → EventRegistrationPayment-DSqCJL8E.mjs} +1657 -403
  74. package/dist/client/{Page-ChJ2TGVk.mjs → Page-C7mygH_f.mjs} +536 -287
  75. package/dist/client/{ProtectedSubmitButton-De6AzhE6.mjs → ProtectedSubmitButton-BNnKuir8.mjs} +1 -1
  76. package/dist/client/{SiteTermsAgreementField-CDBU31xW.mjs → SiteTermsAgreementField-B4z-e4Wq.mjs} +27 -24
  77. package/dist/client/{StepIndicator-JQA-VuEH.mjs → StepIndicator-Dn_DY4oY.mjs} +1 -1
  78. package/dist/client/{StepIndicator-2Dl9zon2.mjs → StepIndicator-atfDU82W.mjs} +21 -13
  79. package/dist/client/{ThemedButton-CnSa7o-I.mjs → ThemedButton-PFOhXktM.mjs} +1 -33
  80. package/dist/client/{accessibleSurfaces-Wl8-_OVJ.mjs → accessibleSurfaces-n6kS6Hct.mjs} +77 -1
  81. package/dist/client/{accordion-B6SqU49k.mjs → accordion-CsW8U3ff.mjs} +1 -1
  82. package/dist/client/{booking-form.client-DrEOjQ3N.mjs → booking-form.client-cBWM392H.mjs} +442 -86
  83. package/dist/client/bookingCalendar--aWnqFDn.mjs +180 -0
  84. package/dist/client/{bookingForm-drZBwEZW.mjs → bookingForm-DgySpp6C.mjs} +4 -4
  85. package/dist/client/bookings.mjs +51 -15
  86. package/dist/client/{boxStyleClassNames-DEh45w16.mjs → boxStyleClassNames-BpGVdLFD.mjs} +2 -2
  87. package/dist/client/{carousel-C-YJliD-.mjs → carousel-DJoleFV3.mjs} +2 -2
  88. package/dist/client/{carousel.client-DMtGYTTM.mjs → carousel.client-BtLwHefX.mjs} +1 -1
  89. package/dist/client/{cart-acGFWK9R.mjs → cart-EO5o6uPH.mjs} +3 -3
  90. package/dist/client/{cart.client-BzlOGP2j.mjs → cart.client-D_gPw45z.mjs} +1 -1
  91. package/dist/client/{checkout-SEontwhy.mjs → checkout-NVfZW0kR.mjs} +3 -3
  92. package/dist/client/{checkout.client-C0Qvh-d4.mjs → checkout.client-DD3JuqOy.mjs} +1 -1
  93. package/dist/client/{checkoutUrls-yUKeq1N9.mjs → checkoutUrls-z2gXvlGw.mjs} +1 -1
  94. package/dist/client/client.mjs +306 -196
  95. package/dist/client/constants-CoOkvw__.mjs +100 -0
  96. package/dist/client/{context-DTrwaQtg.mjs → context-CRhn9qzS.mjs} +922 -388
  97. package/dist/client/{dateFormatting-Cg8E1r9l.mjs → dateFormatting-BnWB4L1s.mjs} +15 -25
  98. package/dist/client/{demoPortalMagicLink-D0kOJYOX.mjs → demoPortalMagicLink-CWDGSTBu.mjs} +2 -3
  99. package/dist/client/{enhanceHeaderSection-DyrpZ7ks.mjs → enhanceHeaderSection-tdP_-Z9o.mjs} +4 -5
  100. package/dist/client/{event-registration.client-RLZQWi2V.mjs → event-registration.client-D7YYKySQ.mjs} +2084 -1640
  101. package/dist/client/{eventCalendar-CphYnImh.mjs → eventCalendar-CsAfu5d0.mjs} +4 -4
  102. package/dist/client/{eventCombined-BvqjASB_.mjs → eventCombined-VXJB5CoS.mjs} +4 -4
  103. package/dist/client/{eventListing-BaNAoC_M.mjs → eventListing-B3KIZNfY.mjs} +4 -4
  104. package/dist/client/{eventRegistration-COMHoRl6.mjs → eventRegistration-BP-dEk1c.mjs} +4 -4
  105. package/dist/client/{form-DyH2juYT.mjs → form-DM8Zbxbv.mjs} +3 -3
  106. package/dist/client/{form.client-DBwzkB0M.mjs → form.client-e2z_Tlgk.mjs} +5 -5
  107. package/dist/client/{form.parts-CY4kX3mh.mjs → form.parts-Ctljy1a3.mjs} +3 -3
  108. package/dist/client/gifting/client.mjs +32 -29
  109. package/dist/client/{gifting-CIx4V378.mjs → gifting-DWIsqQru.mjs} +4 -4
  110. package/dist/client/{gifting.client-BEVPpzJM.mjs → gifting.client-QsSWF0uA.mjs} +5 -5
  111. package/dist/client/{gifting.parts-VnORjnZK.mjs → gifting.parts-CedLgwa_.mjs} +2 -2
  112. package/dist/client/{headerSection-DGcJfRS8.mjs → headerSection-DAkRkwb-.mjs} +2 -2
  113. package/dist/client/{mediaAssets-B99AP7ai.mjs → mediaAssets-COfQolI3.mjs} +1 -1
  114. package/dist/client/{mediaContext-Fusweriw.mjs → mediaContext-DzvnjYXm.mjs} +1 -1
  115. package/dist/client/{newsletter-form.client-BvEDkjiD.mjs → newsletter-form.client-WYja9-WN.mjs} +7 -7
  116. package/dist/client/{newsletter-form.interactive-DCO1lErD.mjs → newsletter-form.interactive-RuM86VAv.mjs} +37 -44
  117. package/dist/client/{newsletter-form.parts-BIy4IUT3.mjs → newsletter-form.parts-2petDnWv.mjs} +2 -2
  118. package/dist/client/{newsletterForm-CoTXDNFS.mjs → newsletterForm-BUbXdA_e.mjs} +3 -3
  119. package/dist/client/{lookSurfaces-IqT_SVnX.mjs → noop-Dl4mZ-rr.mjs} +257 -49
  120. package/dist/client/portal/client.mjs +11779 -6745
  121. package/dist/client/portalOrders-COGn4BKG.mjs +596 -0
  122. package/dist/client/portalRoutes-D72yvtDh.mjs +862 -0
  123. package/dist/client/{product-detail.client-YHQ2aKX1.mjs → product-detail.client-pOAryevt.mjs} +1 -1
  124. package/dist/client/{product-list.client-DxoZw1vF.mjs → product-list.client-CcUpUiud.mjs} +1 -1
  125. package/dist/client/{productDetail-DjuFvkey.mjs → productDetail-BZJCfqat.mjs} +3 -3
  126. package/dist/client/{productList-DE9GEFoZ.mjs → productList-CiRs3mNb.mjs} +3 -3
  127. package/dist/client/{propsDecoder-Cyag_HOs.mjs → propsDecoder--uHW4tFM.mjs} +2 -2
  128. package/dist/client/{registry.server-BPwV-0Pp.mjs → registry.server-CDNNd8wC.mjs} +318 -235
  129. package/dist/client/{renderableMediaAssetAdmission-BlfqYLJW.mjs → renderableMediaAssetAdmission-BsOWd9lf.mjs} +1 -1
  130. package/dist/client/rendering/client.mjs +26 -26
  131. package/dist/client/rendering/islands.mjs +1 -1
  132. package/dist/client/rendering.mjs +16 -8
  133. package/dist/client/{richText-coerce-NrRqDeOg.mjs → richText-coerce-CQGE_wHV.mjs} +2 -1
  134. package/dist/client/{routeIslandApiConfig-BWq5gKFK.mjs → routeIslandApiConfig-BtCg87-N.mjs} +1 -1
  135. package/dist/client/{runtimeResponse-D2j2-mOk.mjs → runtimeResponse-DL_ARBpa.mjs} +1 -1
  136. package/dist/client/{runtimeResponse-DtWSfWSZ.mjs → runtimeResponse-Ds9cmBUf.mjs} +1 -1
  137. package/dist/client/{shop-C3wM0Hr4.mjs → shop-Rx_gEMK8.mjs} +3 -3
  138. package/dist/client/{shop-commerce-34YvcpbX.mjs → shop-commerce-D8evQnMT.mjs} +53 -16
  139. package/dist/client/{shop-commerce-store-B7xHksOs.mjs → shop-commerce-store-C9PcsSTj.mjs} +22 -5
  140. package/dist/client/{shop-discount-apply.state-BiBnozfO.mjs → shop-discount-apply.state-D5CtGfJI.mjs} +2 -2
  141. package/dist/client/{shop.client-C0v88nLd.mjs → shop.client-D4lzQ9oY.mjs} +17 -39
  142. package/dist/client/{shopShared-Ct-BRNez.mjs → shopShared-BVbq7Nm-.mjs} +2 -2
  143. package/dist/client/spam-protection.mjs +1 -1
  144. package/dist/client/src-Al4ooTl_.mjs +164 -0
  145. package/dist/client/{src-CCtanNlD.mjs → src-ZSqRK3dD.mjs} +345 -92
  146. package/dist/client/{timetableModel-lhE29TNT.mjs → timetableModel-BQJrSK0K.mjs} +205 -80
  147. package/dist/client/{shop-add-feedback-DvC2kP1K.mjs → urlParams-C2QHo1Pa.mjs} +1 -42
  148. package/dist/client/{useAvailableSlots-BelJviOT.mjs → useAvailableSlots-Dm3lKJKR.mjs} +3 -24
  149. package/dist/client/{useDiscountCodeUi-rQRE1-Ho.mjs → useDiscountCodeUi-klgfGn7f.mjs} +1 -1
  150. package/dist/client/{useEventPagination-C4rS2Xxl.mjs → useEventPagination-Jnjt7_ly.mjs} +8 -8
  151. package/dist/client/{view-LJVHVqsy.mjs → view-CC_yQLSA.mjs} +4 -4
  152. package/dist/client/{wizardSteps-CNDsxeJH.mjs → wizardSteps-BliJOzEX.mjs} +2512 -675
  153. package/dist/preview-next/before-render.mjs +1 -0
  154. package/dist/preview-next/client/{LocationPickerEnvironment-BHAT81Wx.mjs → LocationPickerEnvironment-BW3dRFIv.mjs} +1 -1
  155. package/dist/preview-next/client/{MapLibreEditMap-B52hkdIZ.mjs → MapLibreEditMap-Db9BHyXh.mjs} +2 -2
  156. package/dist/preview-next/client/{PageSectionToolbar-C4TtBPN-.mjs → PageSectionToolbar-BhL0uADo.mjs} +4 -4
  157. package/dist/preview-next/client/{PreviewEditorSidebar-D6fkE59-.mjs → PreviewEditorSidebar-Ct8eIm0i.mjs} +8 -7
  158. package/dist/preview-next/client/{PreviewEditorUI-amcDlj0O.mjs → PreviewEditorUI-BS32G4V9.mjs} +5 -5
  159. package/dist/preview-next/client/{PreviewShell-DeQjx4zk.mjs → PreviewShell-RL0WfZXD.mjs} +7 -7
  160. package/dist/preview-next/client/{SdkPreviewModeRuntime-Cx0SXnoX.mjs → SdkPreviewModeRuntime-MK_gHeGy.mjs} +39 -7
  161. package/dist/preview-next/client/{lucide-react-McYZeSMb.mjs → lucide-react-00FF_oar.mjs} +13 -1
  162. package/dist/preview-next/client/{previewAssistantSlot-aqpU34WI.mjs → previewAssistantSlot-CQyS8pcq.mjs} +10318 -3719
  163. package/dist/preview-next/client/{previewChromeRoot-D3Gy_Rs0.mjs → previewChromeRoot-BSxp3Mfu.mjs} +1 -1
  164. package/dist/preview-next/client/runtime.mjs +3 -3
  165. package/dist/preview-next/client/{sdk-runtime-Dzx_RrN7.mjs → sdk-runtime-DKnTzy74.mjs} +2 -2
  166. package/dist/preview-next/client/{siteStyleAccess-LHedw83e.mjs → siteStyleAccess-BlmbvbLN.mjs} +37 -25
  167. package/dist/preview-next/client/{useAutosaveStatus-DpSd9aVk.mjs → useAutosaveStatus-D-7GwZOQ.mjs} +1 -1
  168. package/dist/preview-next/client/{useOpenBlockForSetup-BGZn5AT1.mjs → useOpenBlockForSetup-BNZtGM5g.mjs} +2 -2
  169. package/dist/preview-next/container-responsive.css +292 -170
  170. package/dist/preview-next/keepAlive.mjs +1 -1
  171. package/dist/preview-next/middleware.mjs +1 -1
  172. package/dist/preview-next/{route-contract-DnL-FgSV.mjs → route-contract-R3PcMmax.mjs} +114 -37
  173. package/dist/server/{Block.shared-BEbq6EwO.mjs → Block.shared-CniF9tSu.mjs} +5 -5
  174. package/dist/server/{ThemeScopeCore-DFEM1a85.mjs → ThemeScopeCore-BQWsnGT6.mjs} +133 -120
  175. package/dist/server/{accessibleSurfaces-CM3QANtw.mjs → accessibleSurfaces-WPzUAHp4.mjs} +33 -2
  176. package/dist/server/accordions-By_0Ykks.mjs +111 -0
  177. package/dist/server/{bindings-Bly0dRs7.mjs → bindings-DxojjtK3.mjs} +7 -7
  178. package/dist/server/{client-CGJ2ztYp.mjs → client-CDndhbYO.mjs} +1412 -1307
  179. package/dist/server/config-validation.mjs +1 -1
  180. package/dist/server/config.mjs +2 -2
  181. package/dist/server/constants-VyF5nEhL.mjs +1474 -0
  182. package/dist/server/{customCss-BZ8YSrQg.mjs → customCss-C9kgPHvr.mjs} +41 -5
  183. package/dist/server/data/resolveBlockData.mjs +1 -1
  184. package/dist/server/index.mjs +3 -3
  185. package/dist/server/{loadContent-BkK1w3QQ.mjs → loadContent-BKstMBmX.mjs} +7 -4
  186. package/dist/server/{loadPage-DTLe0FEs.mjs → loadPage-IgNnZaqr.mjs} +3 -3
  187. package/dist/server/{lookMediaFrame-CaH018pK.mjs → lookMediaFrame-TFjgNG61.mjs} +74 -18
  188. package/dist/server/manifest.mjs +36 -25
  189. package/dist/server/{mapLocation-BM5WX7FY.mjs → mapLocation-MDDSubTp.mjs} +1 -1
  190. package/dist/server/media-BRmYrnzb.mjs +31 -0
  191. package/dist/server/{media-luf7RF22.mjs → media-gvfIw3z8.mjs} +2 -31
  192. package/dist/server/{navigation-BcNfYYuu.mjs → navigation-quBYlSKD.mjs} +2 -2
  193. package/dist/server/navigation.mjs +1 -1
  194. package/dist/server/next.mjs +170 -104
  195. package/dist/server/{overrideResolution-Uy9Zp2Ks.mjs → overrideResolution-CCaAPpIa.mjs} +1 -1
  196. package/dist/server/page-converter.mjs +3 -3
  197. package/dist/server/{pageRenderPlan-JzxBnqfV.mjs → pageRenderPlan-B7iULvKe.mjs} +15 -12
  198. package/dist/server/{pageRuntimeSupport-DyNSd2Yj.mjs → pageRuntimeSupport-BytMroxn.mjs} +9 -5
  199. package/dist/server/{pageShared-DU4ETFPS.mjs → pageShared-Dcs_XTIO.mjs} +836 -624
  200. package/dist/server/{parseThemeForPersistence-DOsfofCy.mjs → parseThemeForPersistence-Bihl4W5K.mjs} +3 -2
  201. package/dist/server/{portal-B4JVkdjc.mjs → portal-CMW_b9mG.mjs} +62 -46
  202. package/dist/server/portal.mjs +3 -3
  203. package/dist/server/portalQuestions-oUyohgL9.mjs +225 -0
  204. package/dist/server/{prebuild-8jNtDXmS.mjs → prebuild-agaH-vZV.mjs} +1 -1
  205. package/dist/server/prebuild.mjs +1 -1
  206. package/dist/server/{prefetchBlockData-xeMG42aw.mjs → prefetchBlockData-DwpRjqw4.mjs} +5 -3
  207. package/dist/server/{registry-DH1VrsCl.mjs → registry-DM9dHfDC.mjs} +582 -526
  208. package/dist/server/rendering/components/pageShared.mjs +1 -1
  209. package/dist/server/rendering/helpers/loadPage.mjs +1 -1
  210. package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
  211. package/dist/server/rendering/server.mjs +4 -4
  212. package/dist/server/rendering.mjs +10 -9
  213. package/dist/server/{resolveBlockData-BN8tweTx.mjs → resolveBlockData-CinHGf8l.mjs} +39 -31
  214. package/dist/server/{resolveButtonColourStates--6yJp9Tq.mjs → resolveButtonColourStates-B0O1IM16.mjs} +2 -1028
  215. package/dist/server/{resolvePageContent-DnM16_f9.mjs → resolvePageContent-BWKUZUIn.mjs} +1 -1
  216. package/dist/server/{responseMedia-F-ElH2Rd.mjs → responseMedia-IfH65QAH.mjs} +57 -2
  217. package/dist/server/routing.mjs +1 -1
  218. package/dist/server/{schema-BpsqaSSU.mjs → schema-CwfxQjc4.mjs} +10 -113
  219. package/dist/server/server.mjs +3 -3
  220. package/dist/server/{servicePageContent-B-FezJmH.mjs → servicePageContent-BBBhOtdE.mjs} +31 -26
  221. package/dist/server/theme-bridge.mjs +3 -2
  222. package/dist/server/theme.mjs +2 -2
  223. package/dist/server/{three-pass-converter-39SXCCnh.mjs → three-pass-converter-DPaUPTfl.mjs} +34 -16
  224. package/dist/server/titleSourceSchema-NhK6azFS.mjs +2018 -0
  225. package/dist/server/typeGuards-CTW_9AXq.mjs +413 -0
  226. package/dist/server/types-BKaBZFjD.mjs +1085 -0
  227. package/dist/server/{validation-3jOzYdPL.mjs → validation-DG5jX3jH.mjs} +70 -17
  228. package/dist/server/{version-8t0o6_jd.mjs → version-CipbxPHL.mjs} +1 -1
  229. package/dist/server/video-Cdr3wh-q.mjs +272 -0
  230. package/dist/styles/index.css +3446 -3796
  231. package/package.json +2 -1
  232. package/dist/_dts/index-DVSipdrT.d.ts +0 -101
  233. package/dist/client/TabBarFragment-DlKQRhP4.mjs +0 -56
  234. package/dist/client/checkoutRoute-DKlZRNZD.mjs +0 -22
  235. package/dist/client/constants-4o4_hl34.mjs +0 -6
  236. package/dist/client/creditProducts-BQ1t1erI.mjs +0 -266
  237. package/dist/client/formatDate-CTEN7gxW.mjs +0 -26
  238. package/dist/server/constants-Cj7hfbrA.mjs +0 -41
  239. package/dist/server/richTextSchema-QLaQrbII.mjs +0 -212
  240. 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-DCO1lErD.mjs";
4
- import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
5
- import { ao as MediaPlaceholder, co as renderAudio, io as ImagePresets, lo as renderVideo, oo as computeMediaTransformStyle, po as resolveMediaNodeResponsiveImage, so as mediaImageHostProps, za as RichText } from "../wizardSteps-CNDsxeJH.mjs";
6
- import { n as BookingFormNodeClient } from "../booking-form.client-DrEOjQ3N.mjs";
7
- import { t as EventRegistrationBlockClient } from "../event-registration.client-RLZQWi2V.mjs";
8
- import { p as Text } from "../timetableModel-lhE29TNT.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-BPwV-0Pp.mjs";
10
- import { o as getRuntimeTimeZone } from "../useAvailableSlots-BelJviOT.mjs";
11
- import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-DTrwaQtg.mjs";
12
- import "../accessibleSurfaces-Wl8-_OVJ.mjs";
13
- import { S as clsx } from "../ThemedButton-CnSa7o-I.mjs";
3
+ import { hn as staticHeaderChromeRuntime } from "../newsletter-form.interactive-RuM86VAv.mjs";
4
+ import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BsOWd9lf.mjs";
5
+ import { Do as RichText, Jo as computeMediaTransformStyle, Ko as ImagePresets, Xo as renderAudio, Yo as mediaImageHostProps, Zo as renderVideo, qo as MediaPlaceholder, ts as resolveMediaNodeResponsiveImage } from "../wizardSteps-BliJOzEX.mjs";
6
+ import { n as BookingFormNodeClient } from "../booking-form.client-cBWM392H.mjs";
7
+ import { t as EventRegistrationBlockClient } from "../event-registration.client-D7YYKySQ.mjs";
8
+ import { h as Text } from "../timetableModel-BQJrSK0K.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-CDNNd8wC.mjs";
10
+ import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-CRhn9qzS.mjs";
11
+ import "../accessibleSurfaces-n6kS6Hct.mjs";
12
+ import { x as clsx } from "../ThemedButton-PFOhXktM.mjs";
14
13
  import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
15
- import { t as coerceRichTextDoc } from "../richText-coerce-NrRqDeOg.mjs";
16
- import { t as ShopClient } from "../shop.client-C0v88nLd.mjs";
14
+ import { t as coerceRichTextDoc } from "../richText-coerce-CQGE_wHV.mjs";
15
+ import { t as ShopClient } from "../shop.client-D4lzQ9oY.mjs";
16
+ import { n as EventCombinedIslandClient } from "../EventCombined.client-uciDKLID.mjs";
17
+ import { o as getRuntimeTimeZone } from "../useAvailableSlots-Dm3lKJKR.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-DxoZw1vF.mjs";
20
- import { t as ProductDetailClient } from "../product-detail.client-YHQ2aKX1.mjs";
21
- import { t as CartClient } from "../cart.client-BzlOGP2j.mjs";
22
- import { t as CheckoutClient } from "../checkout.client-C0Qvh-d4.mjs";
23
- import { t as GiftingClient } from "../gifting.client-BEVPpzJM.mjs";
24
- import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DyrpZ7ks.mjs";
25
- import { t as EventListingClient } from "../EventListing.client-B5ln77jG.mjs";
26
- import { n as EventCombinedIslandClient } from "../EventCombined.client-HeCNlliq.mjs";
27
- import { t as EventCalendarClient } from "../EventCalendar.client-yoSI77ov.mjs";
28
- import { t as FormNodeClient } from "../form.client-DBwzkB0M.mjs";
29
- import { t as NewsletterFormClient } from "../newsletter-form.client-BvEDkjiD.mjs";
30
- import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-1XifJg6V.mjs";
19
+ import { t as CarouselNodeClient } from "../carousel.client-BtLwHefX.mjs";
20
+ import { t as ProductListClient } from "../product-list.client-CcUpUiud.mjs";
21
+ import { t as ProductDetailClient } from "../product-detail.client-pOAryevt.mjs";
22
+ import { t as CartClient } from "../cart.client-D_gPw45z.mjs";
23
+ import { t as CheckoutClient } from "../checkout.client-DD3JuqOy.mjs";
24
+ import { t as GiftingClient } from "../gifting.client-QsSWF0uA.mjs";
25
+ import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-tdP_-Z9o.mjs";
26
+ import { t as EventListingClient } from "../EventListing.client-DA57Qoyx.mjs";
27
+ import { t as EventCalendarClient } from "../EventCalendar.client-zDL4-t-B.mjs";
28
+ import { t as FormNodeClient } from "../form.client-e2z_Tlgk.mjs";
29
+ import { t as NewsletterFormClient } from "../newsletter-form.client-WYja9-WN.mjs";
30
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DqZPz6oW.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-1XifJg6V.mjs";
3
+ import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DqZPz6oW.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 { Fo as sanitizeHref, No as readRuntimeNow, Po as resolveDateRuntimeContext, do as resolveImageUrl$1, fo as resolveImageUrlWithContext$1, oo as computeMediaTransformStyle, uo as resolveImageSourceSetWithContext$1, za as RichText$2 } from "./wizardSteps-CNDsxeJH.mjs";
4
- import { X as persistableMediaSchema, Y as mediaSchema, Z as runtimeMediaSchema, pn as toUtcIsoDateTimeString } from "./src-CCtanNlD.mjs";
5
- import { $ as planBlockDataRequests, B as BOOKING_PAGE_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, F as MissingSdkThemeError, G as bookingPageIdentity, H as bookingPageFacts, I as requireSdkTheme, J as createPublicBlockContentContractResolver, K as plainTextDoc, L as parseServicePageContent, O as SUPPORTED_LOADER_ENDPOINTS, P as MISSING_SDK_THEME_ERROR_CODE, Q as bookingSectionBlocks, R as SERVICE_BOOKING_BLOCK_IDS, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingPageSeedData, V as bookingDetailEvents, W as buildBookingPageOutline, X as bookingHero, Y as bookingDescription, Z as bookingPageDesign, a as solvedInksForThemeRuntime, at as admitLayoutGridForPlan, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as projectRepeaterGridLayoutForRendering$1, d as buildThemeRuntime, dt as isRouteVisibleInStage, et as getBlockDefinition, f as parseBlocksTheme, ft as normalizeRenderStage, g as loadContent, h as isPageSurfaceContent, i as renderWithSdkThemeRuntime, it as renderBlock, j as normalizeDataLoaderSearchParams, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as getDefaultComponentRegistry, m as isPageContent, n as planLayoutThemeRuntime, nt as siteHeaderManifest, o as ThemeScope, ot as deriveFieldValidationPlan, p as isEntryContent, pt as resolveRouteHrefForStage, q as buildCodeOwnedPageBlocks, r as renderWithOverrideOnlyRuntime, rt as makeDefaultBlockComponent, s as EditorPageRenderer, st as projectRepeaterGridLayout$1, t as Page, tt as siteFooterManifest, u as toBlocksPageRendererDataContext, ut as resolveAuthoredLinkHref, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as buildServiceBookingOutline } from "./Page-ChJ2TGVk.mjs";
6
- import { W as parseFieldDefinition } from "./registry.server-BPwV-0Pp.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-ZSqRK3dD.mjs";
4
+ import { $o as resolveImageUrl$1, Cs as sanitizeHref, Do as RichText$2, Jo as computeMediaTransformStyle, Qo as resolveImageSourceSetWithContext$1, Ss as resolveDateRuntimeContext, es as resolveImageUrlWithContext$1, xs as readRuntimeNow } from "./wizardSteps-BliJOzEX.mjs";
5
+ import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-D72yvtDh.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-C7mygH_f.mjs";
7
+ import { W as parseFieldDefinition } from "./registry.server-CDNNd8wC.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-CCtanNlD.mjs";
2
+ import { z as RichTextDocSchema } from "./src-ZSqRK3dD.mjs";
3
+ import { t as logger } from "./noop-Dl4mZ-rr.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 { la as createHostedBlockApiConfig } from "./wizardSteps-CNDsxeJH.mjs";
2
+ import { Za as createHostedBlockApiConfig } from "./wizardSteps-BliJOzEX.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,3 +1,3 @@
1
1
  "use client";
2
- import { t as restoreRuntimeResponse } from "./runtimeResponse-DtWSfWSZ.mjs";
2
+ import { t as restoreRuntimeResponse } from "./runtimeResponse-Ds9cmBUf.mjs";
3
3
  export { restoreRuntimeResponse };
@@ -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-n6kS6Hct.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,7 +1,7 @@
1
1
  "use client";
2
- import { t as ShopClient } from "./shop.client-C0v88nLd.mjs";
3
- import { t as defineIslandPropsDecoder } from "./propsDecoder-Cyag_HOs.mjs";
4
- import { t as mountShopBlockIsland } from "./shopShared-Ct-BRNez.mjs";
2
+ import { t as ShopClient } from "./shop.client-D4lzQ9oY.mjs";
3
+ import { t as defineIslandPropsDecoder } from "./propsDecoder--uHW4tFM.mjs";
4
+ import { t as mountShopBlockIsland } from "./shopShared-BVbq7Nm-.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-DCO1lErD.mjs";
3
- import { cr as buildProductDetailDisplay, sr as buildProductCardDisplay, ur as formatCommercePrice, vr as buildProductCartItem, xr as productItemKey, yr as deriveCommerceCheckoutState, za as RichText } from "./wizardSteps-CNDsxeJH.mjs";
4
- import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-CCtanNlD.mjs";
5
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-CDBU31xW.mjs";
6
- import { n as useBlockApi } from "./context-DTrwaQtg.mjs";
7
- import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
8
- import { t as coerceRichTextDoc } from "./richText-coerce-NrRqDeOg.mjs";
9
- import { a as useDiscountApply, d as planUnifiedCheckoutRequest, i as isDiscountCodeRefusal, l as planCartDiscountAvailabilityRequests, n as DemoBookingPortalAccess, o as aggregateCartDiscountUiState, p as DiscountCodeDisclosure, s as checkoutFormForDiscountUiState } from "./DemoBookingPortalAccess-uA9H8LIL.mjs";
10
- import { t as buildCheckoutReturnUrls } from "./checkoutUrls-yUKeq1N9.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-RuM86VAv.mjs";
3
+ import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-ZSqRK3dD.mjs";
4
+ import { Do as RichText, Jr as buildProductCardDisplay, Yr as buildProductDetailDisplay, Zr as formatCommercePrice, ai as buildProductCartItem, ci as productItemKey, oi as deriveCommerceCheckoutState } from "./wizardSteps-BliJOzEX.mjs";
5
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-B4z-e4Wq.mjs";
6
+ import { n as useBlockApi } from "./context-CRhn9qzS.mjs";
7
+ import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-PFOhXktM.mjs";
8
+ import { t as coerceRichTextDoc } from "./richText-coerce-CQGE_wHV.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-DFLPyuqe.mjs";
10
+ import { t as buildCheckoutReturnUrls } from "./checkoutUrls-z2gXvlGw.mjs";
11
+ import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-C9PcsSTj.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-LJVHVqsy.mjs";
15
- import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-D0kOJYOX.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-BiBnozfO.mjs";
17
- import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.mjs";
18
- import { n as useCommerceCart } from "./shop-commerce-store-B7xHksOs.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-CC_yQLSA.mjs";
15
+ import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-CWDGSTBu.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-D5CtGfJI.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 { Sr as reduceCommerceCart, _r as buildPassCartItem, br as parseStoredCommerceCartState, gr as EMPTY_COMMERCE_CART_STATE } from "./wizardSteps-CNDsxeJH.mjs";
2
+ import { ii as buildPassCartItem, li as reduceCommerceCart, ri as EMPTY_COMMERCE_CART_STATE, si as parseStoredCommerceCartState } from "./wizardSteps-BliJOzEX.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-CCtanNlD.mjs";
3
- import { c as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-uA9H8LIL.mjs";
2
+ import { t as assertNever } from "./src-ZSqRK3dD.mjs";
3
+ import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-DFLPyuqe.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-DCO1lErD.mjs";
3
- import { Zr as getShopSuccessCopy, dr as formatInterval, rr as appliedDiscountHint, ur as formatCommercePrice } from "./wizardSteps-CNDsxeJH.mjs";
4
- import { t as assertNever } from "./src-CCtanNlD.mjs";
5
- import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
6
- import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-CDBU31xW.mjs";
7
- import { n as useBlockApi } from "./context-DTrwaQtg.mjs";
8
- import { r as ThemedButton } from "./ThemedButton-CnSa7o-I.mjs";
9
- import { a as useDiscountApply, i as isDiscountCodeRefusal, p as DiscountCodeDisclosure, t as BookingConfirmation, u as planDirectShopCheckoutRequest } from "./DemoBookingPortalAccess-uA9H8LIL.mjs";
2
+ import { nt as shopProductPresentation } from "./newsletter-form.interactive-RuM86VAv.mjs";
3
+ import { t as assertNever } from "./src-ZSqRK3dD.mjs";
4
+ import { Qr as formatInterval, Ri as getShopSuccessCopy, Wr as appliedDiscountHint, Zr as formatCommercePrice } from "./wizardSteps-BliJOzEX.mjs";
5
+ import { h as assertNever$1 } from "./bookingCalendar--aWnqFDn.mjs";
6
+ import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-B4z-e4Wq.mjs";
7
+ import { n as useBlockApi } from "./context-CRhn9qzS.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-DFLPyuqe.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-rQRE1-Ho.mjs";
16
+ import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-klgfGn7f.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-LJVHVqsy.mjs";
19
- import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-D0kOJYOX.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-BiBnozfO.mjs";
21
- import { t as CarouselNodeClient } from "./carousel.client-DMtGYTTM.mjs";
22
- import { r as formatEntitlementEnd } from "./dateFormatting-Cg8E1r9l.mjs";
23
- import { t as addPassToCommerceCart } from "./shop-commerce-store-B7xHksOs.mjs";
18
+ import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-CC_yQLSA.mjs";
19
+ import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-CWDGSTBu.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-D5CtGfJI.mjs";
21
+ import { t as CarouselNodeClient } from "./carousel.client-BtLwHefX.mjs";
22
+ import { n as formatEntitlementEnd } from "./dateFormatting-BnWB4L1s.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-DTrwaQtg.mjs";
2
+ import { t as BlockApiProvider } from "./context-CRhn9qzS.mjs";
3
3
  import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
4
- import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BWq5gKFK.mjs";
4
+ import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-BtCg87-N.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 };