@riverbankcms/sdk 0.160.0 → 0.162.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.
- package/dist/_dts/{BlocksIslandsHydrator-CoqeotCL.d.ts → BlocksIslandsHydrator-PZUoA872.d.ts} +1 -1
- package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-CdQS6C7i.d.ts} +211 -9
- package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-CNGO-5f1.d.ts} +59 -92
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-uMMuPq9V.d.ts → client-DGa53rjL.d.ts} +11 -3
- package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-K9R7P-KF.d.ts} +2 -2
- package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-CyBaPaIq.d.ts} +17 -5
- package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B6jmKmon.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-iemoR3AN.d.ts} +2 -2
- package/dist/_dts/{index-BaaGBY1v.d.ts → index-8CN0Nd-Z.d.ts} +2 -2
- package/dist/_dts/{index-nVoi_74l.d.ts → index-BtnsA14K.d.ts} +10 -20
- package/dist/_dts/{index-lkpjIg5i.d.ts → index-C39F9KaB.d.ts} +13 -2
- package/dist/_dts/{index-C5xslEBn.d.ts → index-DEu85xBt.d.ts} +1 -1
- package/dist/_dts/{schema-D0bNcPWK.d.ts → index-DI2yaSPY.d.ts} +22873 -19918
- package/dist/_dts/{types-D8czmbQF.d.ts → index-Dbd0Sn0G.d.ts} +4356 -1827
- package/dist/_dts/{index-CEaKil7G.d.ts → index-Du1IRglc.d.ts} +2 -2
- package/dist/_dts/{index-DahMwisK.d.ts → index-Jlcq6w69.d.ts} +3 -3
- package/dist/_dts/{index-Bg64CkV-.d.ts → index-Wm62sXf2.d.ts} +4 -4
- package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-BPfAAZDW.d.ts} +13 -10
- package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-DWbrtKf8.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{types-DSgmJ15W.d.ts → types-CVv2H4AT.d.ts} +7 -7
- package/dist/_dts/{types-CFrYuXYP.d.ts → types-CfNG5koF.d.ts} +4 -2
- package/dist/_dts/{types-Dm-KW7nj.d.ts → types-ClZ-BQL_.d.ts} +3 -3
- package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BJ6Lf_Dr.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-COqlgWYU.mjs} +23 -21
- package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-CFYPDEHH.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-COBVxgHb.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-C7X9dJ8A.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-CvT0E9AR.mjs} +26 -10
- package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-EBOBN5dT.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-U6pKcntV.mjs} +16 -17
- package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-CNzwEHws.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-B9yAWV_k.mjs} +1 -1
- package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-M5rpaHxi.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-D4ieBLDY.mjs} +1 -1
- package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-B8F40Rmn.mjs} +3 -3
- package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-k4lhuCn5.mjs} +15 -6
- package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-C3g8_Hqb.mjs} +25 -13
- package/dist/client/LocationMapActions-CAjt7qVo.mjs +62 -0
- package/dist/client/MapDrawingSvg-_aIK2ojv.mjs +200 -0
- package/dist/client/{Page-7PkzO04N.mjs → Page-DJBIQBOw.mjs} +2555 -536
- package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CFacB1z6.mjs} +2 -2
- package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-BLsfQskO.mjs} +1 -1
- package/dist/client/ThemedButton-BWsDgjMC.mjs +2243 -0
- package/dist/client/{accordion-2m27DsIk.mjs → accordion-CtO2XF7M.mjs} +1 -1
- package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-RICCQ0h2.mjs} +137 -60
- package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-SvjLPx8i.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-D7nj9I0y.mjs → carousel-BR-zCD3O.mjs} +2 -2
- package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-CEWtoZd3.mjs} +1 -1
- package/dist/client/{cart-PN6yCw1H.mjs → cart-C6YpKbZZ.mjs} +3 -3
- package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-dC938WrX.mjs} +1 -1
- package/dist/client/{checkout-CsTwXVSb.mjs → checkout-Dy9RlREI.mjs} +3 -3
- package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-CefG0d2F.mjs} +1 -1
- package/dist/client/client.mjs +37 -71
- package/dist/client/{context-BLAvalAa.mjs → context-BFwxgZpB.mjs} +28 -1
- package/dist/client/{cta-CUXhX_D7.mjs → cta-DtA42Xio.mjs} +1 -1
- package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-yP1B7F0O.mjs} +39 -2
- package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-WOiT5Ryi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-Dh8c_Lq-.mjs} +3 -3
- package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-BFgsLqTj.mjs} +3 -17
- package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-BaXZ1-Ky.mjs} +16 -16
- package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-COLwF80U.mjs} +4 -4
- package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D3Ltwu03.mjs} +4 -4
- package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-CBrkimXu.mjs} +2 -2
- package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-CedKVA1S.mjs} +4 -4
- package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DkQQfR1b.mjs} +4 -4
- package/dist/client/{form-C-B5O_ko.mjs → form-XFy9uXSJ.mjs} +3 -3
- package/dist/client/{form.client-DoZVcl8d.mjs → form.client-B0iancFK.mjs} +4 -4
- package/dist/client/{form.parts-mttKpgif.mjs → form.parts-DMbolu9Y.mjs} +3 -3
- package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Jm5MQOCA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-WjlECjtV.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BkoW_PEn.mjs} +1 -1
- package/dist/client/{mediaContext-DThoeEBU.mjs → mediaContext-CNzWmoA4.mjs} +1 -1
- package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-D-XwJTjN.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-H92f30y0.mjs} +2 -2
- package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-DMuxzu6I.mjs} +3 -3
- package/dist/client/{noop-B610YKEx.mjs → noop-B3RNPVrt.mjs} +313 -3
- package/dist/client/portal/client.mjs +1116 -85
- package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-B3HuuykE.mjs} +1 -1
- package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-CzsDrHQO.mjs} +1 -1
- package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-CbBUVWgd.mjs} +3 -3
- package/dist/client/{productList-BKN4D-1z.mjs → productList-vqOKH2mh.mjs} +3 -3
- package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-CkSUep5a.mjs} +4 -28
- package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-cZ24QwtW.mjs} +607 -210
- package/dist/client/rendering/client.mjs +28 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +18 -9
- package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-DDcCKvBJ.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-DYBioANh.mjs} +1 -1
- package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-DNHLlze-.mjs} +7307 -8363
- package/dist/client/{shop-DZNC0VKk.mjs → shop-CF0dhnfH.mjs} +3 -3
- package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-DQznNBEo.mjs} +11 -11
- package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-Ba8zPlIg.mjs} +1 -1
- package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-DqfYoqWH.mjs} +12 -12
- package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CreQ0I7i.mjs} +38 -183
- package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-D-yh-P7g.mjs} +2 -2
- package/dist/client/site-styles-B9HgmY07.mjs +11619 -0
- package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-DCdVErTJ.mjs} +149 -8
- package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-Cvgdp2DH.mjs} +8 -11
- package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-DrTnGNzD.mjs} +1 -1
- package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-CULjnXGl.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-Gn_m7e0o.mjs} +1 -1
- package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CsysCF22.mjs} +8 -21
- package/dist/client/{view-CseyBW07.mjs → view-BpBjo9Te.mjs} +71 -59
- package/dist/client/{view-CkUn3Y0Y.mjs → view-DMyTchi7.mjs} +4 -4
- package/dist/client/wizardSteps-BO2OmMO9.mjs +6604 -0
- package/dist/preview-next/before-render.mjs +7 -6
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-DLsSmZbO.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-ChrW9VEo.mjs} +269 -1100
- package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-VaHvYtrA.mjs} +10 -190
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-Bz7jR6nl.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-DWwktlWs.mjs} +639 -536
- package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-CHKOWXxl.mjs} +1706 -692
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → previewAuthStore-C0VUwEHz.mjs} +81363 -136296
- package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dhyx2YrS.mjs} +1 -1
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-C2GWOCyj.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-DHyzUpv4.mjs +12833 -0
- package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-BeR2S8oG.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +2 -2
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{refresh-contract-CvmNqZ1Q.mjs → refresh-contract-uQ6BXgLJ.mjs} +5 -0
- package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-CkrFDMrl.mjs} +434 -203
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-DxvNGDig.mjs} +4 -4
- package/dist/server/{bindings-CFmJg5lm.mjs → bindings-BuhKvYkE.mjs} +2 -1
- package/dist/server/{client-DPsi0Dai.mjs → client-BobW6DOz.mjs} +39 -72
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-B-MKSt0p.mjs} +2060 -1680
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-CCG_3mbY.mjs} +14 -5
- package/dist/server/loadPage-Bk9HDh9K.mjs +2 -0
- package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-jntGoMrf.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-BBOlgn4Z.mjs} +1 -1
- package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-DByQwIyW.mjs} +803 -412
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-B_1vrSru.mjs → prebuild-DrwcTk2t.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-LfgxSJYE.mjs} +156 -89
- package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-8A3T5v4M.mjs} +685 -166
- package/dist/server/{registry-eFjKtEhF.mjs → registry-Digv02oV.mjs} +780 -1052
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-C23t8-77.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-C3dJ5UkL.mjs → schema-BiqpDRwB.mjs} +4805 -3561
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-DrkprQPL.mjs +755 -0
- package/dist/server/siteChromeOverlayClearance-BmKKkkbh.mjs +750 -0
- package/dist/server/{src-C5Mu-z0F.mjs → src-08GY1njw.mjs} +1060 -44
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-CSd_Vusz.mjs} +151 -53
- package/dist/server/{validation-B-Xar8QS.mjs → validation-DdUTkBOZ.mjs} +2 -2
- package/dist/server/{version-Bg7VHK3i.mjs → version-DdIOqIDe.mjs} +1 -1
- package/dist/styles/index.css +1029 -41
- package/package.json +1 -1
- package/dist/_dts/index-Blwl7yl6.d.ts +0 -13
- package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
- package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
- package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
- package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
- package/dist/server/loadPage-DUPP51C-.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
package/dist/client/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as PUBLIC_READ_ENDPOINT_DEFINITIONS, C as resolveSiteCustomBlocks, D as prefetchBlockDataWithFailures, E as requireSdkTheme, G as createInternalAPIClient, H as encodePublicProductCategorySelector, K as setSdkVersion, Q as unwrapResponse, S as siteLocationRenderContext, U as ApiRequestError, W as createBearerAPIClient, X as ApiEnvelopeError, Z as isApiError, et as TAG_TEMPLATES, g as collectMediaAssetSidecar, h as buildSiteRenderSupport, m as buildRenderablePageOutline, nt as isPublicReadEndpoint, q as isSupportedLoaderEndpoint, rt as publicReadFreshnessSeconds, t as Page, tt as getPublicReadCachePolicy, v as projectRenderablePageOutline } from "./Page-DJBIQBOw.mjs";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
//#region src/rendering/hooks/usePage.ts
|
|
5
5
|
/**
|
|
@@ -36,6 +36,7 @@ async function loadUsePageSuccess(input) {
|
|
|
36
36
|
resolvedData: prefetched.resolvedData,
|
|
37
37
|
dataContext: {
|
|
38
38
|
previewStage,
|
|
39
|
+
...siteLocationRenderContext(buildSiteRenderSupport(site, mediaAssets)),
|
|
39
40
|
prefetchedBlockData: prefetched,
|
|
40
41
|
loaderSnapshot: prefetched.loaderSnapshot,
|
|
41
42
|
loaderFailures: prefetched.loaderFailures
|
|
@@ -523,7 +524,7 @@ var SimpleCache = class {
|
|
|
523
524
|
* 1. This constant
|
|
524
525
|
* 2. The "version" field in package.json
|
|
525
526
|
*/
|
|
526
|
-
const SDK_VERSION = "0.
|
|
527
|
+
const SDK_VERSION = "0.162.0";
|
|
527
528
|
//#endregion
|
|
528
529
|
//#region src/client/error.ts
|
|
529
530
|
let _Symbol$for;
|
|
@@ -735,23 +736,14 @@ const PUBLIC_ENDPOINT_NAMES = [
|
|
|
735
736
|
"getPublicSitemapRoutes"
|
|
736
737
|
];
|
|
737
738
|
const API_ENDPOINTS = Object.freeze({
|
|
738
|
-
getSite:
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
tags: [
|
|
743
|
-
"riverbank:site",
|
|
744
|
-
"riverbank:site:id:{id}",
|
|
745
|
-
"riverbank:site:slug:{slug}",
|
|
746
|
-
"riverbank:site:domain:{domain}"
|
|
747
|
-
],
|
|
748
|
-
auth: "public",
|
|
749
|
-
responseKind: "json"
|
|
750
|
-
},
|
|
739
|
+
getSite: publicSiteReadDefinition(PUBLIC_READ_ENDPOINT_DEFINITIONS.getSite),
|
|
740
|
+
getRoutableContent: publicSiteReadDefinition(PUBLIC_READ_ENDPOINT_DEFINITIONS.getRoutableContent),
|
|
741
|
+
getPublicRoutableContent: publicSiteReadDefinition(PUBLIC_READ_ENDPOINT_DEFINITIONS.getPublicRoutableContent),
|
|
742
|
+
getPublicSitemapRoutes: publicSiteReadDefinition(PUBLIC_READ_ENDPOINT_DEFINITIONS.getPublicSitemapRoutes),
|
|
751
743
|
getContentByPath: {
|
|
752
744
|
path: "/sites/{siteId}/pages",
|
|
753
745
|
method: "GET",
|
|
754
|
-
tags: [
|
|
746
|
+
tags: [TAG_TEMPLATES.siteRoutableContent],
|
|
755
747
|
auth: "public",
|
|
756
748
|
responseKind: "json"
|
|
757
749
|
},
|
|
@@ -759,9 +751,9 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
759
751
|
path: "/sites/{siteId}/route-outcome",
|
|
760
752
|
method: "GET",
|
|
761
753
|
tags: [
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
754
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
755
|
+
TAG_TEMPLATES.siteRedirects,
|
|
756
|
+
TAG_TEMPLATES.siteRouteOutcomes
|
|
765
757
|
],
|
|
766
758
|
auth: "public",
|
|
767
759
|
responseKind: "json"
|
|
@@ -770,9 +762,9 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
770
762
|
path: "/sites/{siteId}/route-decision",
|
|
771
763
|
method: "GET",
|
|
772
764
|
tags: [
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
765
|
+
TAG_TEMPLATES.siteRoutableContent,
|
|
766
|
+
TAG_TEMPLATES.siteRedirects,
|
|
767
|
+
TAG_TEMPLATES.siteRouteOutcomes
|
|
776
768
|
],
|
|
777
769
|
auth: "public",
|
|
778
770
|
responseKind: "json"
|
|
@@ -797,7 +789,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
797
789
|
path: "/public/forms/{formId}",
|
|
798
790
|
method: "GET",
|
|
799
791
|
revalidate: publicReadFreshnessSeconds("getPublicFormById"),
|
|
800
|
-
tags: [
|
|
792
|
+
tags: [TAG_TEMPLATES.formById],
|
|
801
793
|
auth: "public",
|
|
802
794
|
responseKind: "json"
|
|
803
795
|
},
|
|
@@ -805,7 +797,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
805
797
|
path: "/public/sites/{siteId}/forms",
|
|
806
798
|
method: "GET",
|
|
807
799
|
revalidate: 60,
|
|
808
|
-
tags: [
|
|
800
|
+
tags: [TAG_TEMPLATES.siteForms],
|
|
809
801
|
auth: "public",
|
|
810
802
|
responseKind: "json"
|
|
811
803
|
},
|
|
@@ -813,7 +805,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
813
805
|
path: "/public/bookings/services",
|
|
814
806
|
method: "GET",
|
|
815
807
|
revalidate: publicReadFreshnessSeconds("getPublicBookingServices"),
|
|
816
|
-
tags: [
|
|
808
|
+
tags: [TAG_TEMPLATES.publicBookingServices],
|
|
817
809
|
auth: "public",
|
|
818
810
|
responseKind: "json"
|
|
819
811
|
},
|
|
@@ -821,7 +813,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
821
813
|
path: "/public/bookings/weekly-slot-availability",
|
|
822
814
|
method: "GET",
|
|
823
815
|
revalidate: publicReadFreshnessSeconds("getPublicWeeklySlotAvailability"),
|
|
824
|
-
tags: [
|
|
816
|
+
tags: [TAG_TEMPLATES.publicBookingAvailability, TAG_TEMPLATES.publicBookingServices],
|
|
825
817
|
auth: "public",
|
|
826
818
|
responseKind: "json"
|
|
827
819
|
},
|
|
@@ -835,7 +827,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
835
827
|
path: "/public/sites/{siteId}/events",
|
|
836
828
|
method: "GET",
|
|
837
829
|
revalidate: publicReadFreshnessSeconds("listPublicEvents"),
|
|
838
|
-
tags: [
|
|
830
|
+
tags: [TAG_TEMPLATES.publicEvents],
|
|
839
831
|
auth: "public",
|
|
840
832
|
responseKind: "json"
|
|
841
833
|
},
|
|
@@ -849,7 +841,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
849
841
|
path: "/public/sites/{siteId}/team-members",
|
|
850
842
|
method: "GET",
|
|
851
843
|
revalidate: publicReadFreshnessSeconds("listPublicTeamMembers"),
|
|
852
|
-
tags: [
|
|
844
|
+
tags: [TAG_TEMPLATES.publicTeamMembers],
|
|
853
845
|
auth: "public",
|
|
854
846
|
responseKind: "json"
|
|
855
847
|
},
|
|
@@ -857,7 +849,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
857
849
|
path: "/public/sites/{siteId}/products",
|
|
858
850
|
method: "GET",
|
|
859
851
|
revalidate: publicReadFreshnessSeconds("listPublicProducts"),
|
|
860
|
-
tags: [
|
|
852
|
+
tags: [TAG_TEMPLATES.publicProducts],
|
|
861
853
|
auth: "public",
|
|
862
854
|
responseKind: "json"
|
|
863
855
|
},
|
|
@@ -865,7 +857,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
865
857
|
path: "/public/sites/{siteId}/bookings/products/passes",
|
|
866
858
|
method: "GET",
|
|
867
859
|
revalidate: publicReadFreshnessSeconds("listPublicPasses"),
|
|
868
|
-
tags: [
|
|
860
|
+
tags: [TAG_TEMPLATES.publicPasses],
|
|
869
861
|
auth: "public",
|
|
870
862
|
responseKind: "json"
|
|
871
863
|
},
|
|
@@ -873,7 +865,7 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
873
865
|
path: "/public/sites/{siteId}/bookings/products/memberships",
|
|
874
866
|
method: "GET",
|
|
875
867
|
revalidate: publicReadFreshnessSeconds("listPublicMemberships"),
|
|
876
|
-
tags: [
|
|
868
|
+
tags: [TAG_TEMPLATES.publicMemberships],
|
|
877
869
|
auth: "public",
|
|
878
870
|
responseKind: "json"
|
|
879
871
|
},
|
|
@@ -881,48 +873,22 @@ const API_ENDPOINTS = Object.freeze({
|
|
|
881
873
|
path: "/public/sites/{siteId}/events/subroutes/resolve",
|
|
882
874
|
method: "GET",
|
|
883
875
|
revalidate: 60,
|
|
884
|
-
tags: [
|
|
885
|
-
auth: "public",
|
|
886
|
-
responseKind: "json"
|
|
887
|
-
},
|
|
888
|
-
checkRedirect: {
|
|
889
|
-
path: "/public/content/redirect",
|
|
890
|
-
method: "GET",
|
|
891
|
-
revalidate: 86400,
|
|
892
|
-
tags: ["redirect"],
|
|
893
|
-
auth: "public",
|
|
894
|
-
responseKind: "json"
|
|
895
|
-
},
|
|
896
|
-
getRoutableContent: {
|
|
897
|
-
path: "/sites/{siteId}/routable-content",
|
|
898
|
-
method: "GET",
|
|
899
|
-
revalidate: 60,
|
|
900
|
-
tags: ["riverbank:site:{siteId}:routable-content"],
|
|
901
|
-
auth: "user",
|
|
902
|
-
responseKind: "json"
|
|
903
|
-
},
|
|
904
|
-
getPublicRoutableContent: {
|
|
905
|
-
path: "/public/sites/{siteId}/routable-content",
|
|
906
|
-
method: "GET",
|
|
907
|
-
revalidate: 60,
|
|
908
|
-
tags: ["riverbank:site:{siteId}:routable-content"],
|
|
876
|
+
tags: [TAG_TEMPLATES.publicEvents, "event-subroute"],
|
|
909
877
|
auth: "public",
|
|
910
878
|
responseKind: "json"
|
|
911
879
|
},
|
|
912
|
-
|
|
913
|
-
path: "/public/sites/{siteId}/sitemap",
|
|
914
|
-
method: "GET",
|
|
915
|
-
revalidate: 60,
|
|
916
|
-
tags: [
|
|
917
|
-
"riverbank:site:{siteId}:routable-content",
|
|
918
|
-
"riverbank:site:{siteId}:settings",
|
|
919
|
-
"riverbank:site:{siteId}:public-events",
|
|
920
|
-
"riverbank:site:{siteId}:public-booking-services"
|
|
921
|
-
],
|
|
922
|
-
auth: "public",
|
|
923
|
-
responseKind: "json"
|
|
924
|
-
}
|
|
880
|
+
checkRedirect: publicSiteReadDefinition(PUBLIC_READ_ENDPOINT_DEFINITIONS.checkRedirect)
|
|
925
881
|
});
|
|
882
|
+
function publicSiteReadDefinition(definition) {
|
|
883
|
+
return {
|
|
884
|
+
path: definition.path,
|
|
885
|
+
method: definition.method,
|
|
886
|
+
revalidate: definition.revalidate,
|
|
887
|
+
tags: definition.tags,
|
|
888
|
+
auth: definition.auth,
|
|
889
|
+
responseKind: definition.responseKind
|
|
890
|
+
};
|
|
891
|
+
}
|
|
926
892
|
//#endregion
|
|
927
893
|
//#region src/client/runtimeCacheKeys.ts
|
|
928
894
|
function toNonEmptyString(value) {
|
|
@@ -2034,7 +2000,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
2034
2000
|
const result = await reader({
|
|
2035
2001
|
cacheKey: plan.cacheKey,
|
|
2036
2002
|
endpoint: plan.endpoint,
|
|
2037
|
-
payloadSchemaVersion:
|
|
2003
|
+
payloadSchemaVersion: 4
|
|
2038
2004
|
});
|
|
2039
2005
|
if (result.kind === "miss") return {
|
|
2040
2006
|
kind: "miss",
|
|
@@ -2083,7 +2049,7 @@ function createRiverbankClientWithDeps(deps, config) {
|
|
|
2083
2049
|
siteId: plan.siteId ?? getRuntimePayloadSiteId(payload),
|
|
2084
2050
|
freshTtlSec: plan.freshTtlSec,
|
|
2085
2051
|
staleTtlSec: plan.staleTtlSec,
|
|
2086
|
-
payloadSchemaVersion:
|
|
2052
|
+
payloadSchemaVersion: 4,
|
|
2087
2053
|
writeReason: "live_success"
|
|
2088
2054
|
});
|
|
2089
2055
|
} catch {}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-
|
|
2
|
+
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-B3RNPVrt.mjs";
|
|
3
3
|
import { createContext, useContext, useMemo } from "react";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -498,6 +498,18 @@ const PORTAL = {
|
|
|
498
498
|
authScope: "portal",
|
|
499
499
|
skipPreviewStage: true
|
|
500
500
|
},
|
|
501
|
+
listEventRescheduleDates: {
|
|
502
|
+
path: "/portal/events/{registrationId}/reschedule-dates",
|
|
503
|
+
method: "GET",
|
|
504
|
+
authScope: "portal",
|
|
505
|
+
skipPreviewStage: true
|
|
506
|
+
},
|
|
507
|
+
rescheduleEventRegistration: {
|
|
508
|
+
path: "/portal/events/{registrationId}/reschedule",
|
|
509
|
+
method: "POST",
|
|
510
|
+
authScope: "portal",
|
|
511
|
+
skipPreviewStage: true
|
|
512
|
+
},
|
|
501
513
|
transferEventRegistration: {
|
|
502
514
|
path: "/portal/events/{registrationId}/transfer",
|
|
503
515
|
method: "POST",
|
|
@@ -1237,6 +1249,21 @@ function createBlockApi(config) {
|
|
|
1237
1249
|
body: {}
|
|
1238
1250
|
})).result;
|
|
1239
1251
|
},
|
|
1252
|
+
async listEventRescheduleDates(registrationId, query) {
|
|
1253
|
+
const path = buildPath(PORTAL.listEventRescheduleDates.path, { registrationId });
|
|
1254
|
+
return request(PORTAL.listEventRescheduleDates, {
|
|
1255
|
+
path,
|
|
1256
|
+
query: { ...query },
|
|
1257
|
+
skipDedup: true
|
|
1258
|
+
});
|
|
1259
|
+
},
|
|
1260
|
+
async rescheduleEventRegistration(registrationId, data) {
|
|
1261
|
+
const path = buildPath(PORTAL.rescheduleEventRegistration.path, { registrationId });
|
|
1262
|
+
return (await request(PORTAL.rescheduleEventRegistration, {
|
|
1263
|
+
path,
|
|
1264
|
+
body: data
|
|
1265
|
+
})).result;
|
|
1266
|
+
},
|
|
1240
1267
|
async getEventGuests(registrationId) {
|
|
1241
1268
|
const path = buildPath(PORTAL.getEventGuests.path, { registrationId });
|
|
1242
1269
|
return (await request(PORTAL.getEventGuests, { path })).guests;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
-
import { An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, xn as resolveRuntimeEventDestination } from "./wizardSteps-
|
|
3
|
+
import { An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, xn as resolveRuntimeEventDestination } from "./wizardSteps-BO2OmMO9.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
5
5
|
/**
|
|
6
6
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, ft as formatDateTime$1, mt as formatTime, pt as formatDateTimeRange, ut as formatDate$1, vt as resolveBookingDisplayContext } from "./noop-B3RNPVrt.mjs";
|
|
3
3
|
//#region ../blocks/src/portal/dateFormatting.ts
|
|
4
4
|
/** Optional API timestamps enter the display model here; invalid values never render a Date. */
|
|
5
5
|
function readInstant(value) {
|
|
@@ -57,5 +57,42 @@ function isPast(value, now) {
|
|
|
57
57
|
const instant = readInstant(value);
|
|
58
58
|
return instant !== null && Date.parse(instant) < Date.parse(now);
|
|
59
59
|
}
|
|
60
|
+
/**
|
|
61
|
+
* Inside a change flow, dates carry their weekday and drop the year:
|
|
62
|
+
* "Thu 22 Oct, 6:30pm–7:30pm", "Thu 22 Oct", "6:30pm".
|
|
63
|
+
*/
|
|
64
|
+
function formatPortalSessionWithWeekday(start, end, facts, site) {
|
|
65
|
+
const { context, zone } = portalSessionDisplay(facts, site);
|
|
66
|
+
const startsAt = readInstant(start);
|
|
67
|
+
const endsAt = readInstant(end);
|
|
68
|
+
if (!startsAt) return "—";
|
|
69
|
+
const options = {
|
|
70
|
+
date: "short",
|
|
71
|
+
weekday: "short",
|
|
72
|
+
year: "omit",
|
|
73
|
+
zone
|
|
74
|
+
};
|
|
75
|
+
return endsAt && Date.parse(endsAt) >= Date.parse(startsAt) ? formatDateTimeRange({
|
|
76
|
+
start: startsAt,
|
|
77
|
+
end: endsAt
|
|
78
|
+
}, context, options) : formatDateTime$1(startsAt, context, options);
|
|
79
|
+
}
|
|
80
|
+
function formatPortalSessionDay(start, facts, site) {
|
|
81
|
+
const { context } = portalSessionDisplay(facts, site);
|
|
82
|
+
const startsAt = readInstant(start);
|
|
83
|
+
return startsAt ? formatDate$1({
|
|
84
|
+
kind: "instant",
|
|
85
|
+
value: startsAt
|
|
86
|
+
}, context, {
|
|
87
|
+
date: "short",
|
|
88
|
+
weekday: "short",
|
|
89
|
+
year: "omit"
|
|
90
|
+
}) : "—";
|
|
91
|
+
}
|
|
92
|
+
function formatPortalSessionTime(start, facts, site) {
|
|
93
|
+
const { context, zone } = portalSessionDisplay(facts, site);
|
|
94
|
+
const startsAt = readInstant(start);
|
|
95
|
+
return startsAt ? formatTime(startsAt, context, { zone }) : "—";
|
|
96
|
+
}
|
|
60
97
|
//#endregion
|
|
61
|
-
export {
|
|
98
|
+
export { formatPortalSessionDay as a, isPast as c, formatPortalSession as i, portalSessionDisplay as l, formatDateTime as n, formatPortalSessionTime as o, formatEntitlementEnd as r, formatPortalSessionWithWeekday as s, formatDate as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as BlockApiError } from "./context-
|
|
2
|
+
import { r as BlockApiError } from "./context-BFwxgZpB.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import {
|
|
2
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
|
+
import { nn as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-CreQ0I7i.mjs";
|
|
4
4
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
5
5
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
6
6
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
7
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
7
|
+
import { n as useCommerceCart } from "./shop-commerce-store-Ba8zPlIg.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { createPortal } from "react-dom";
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-
|
|
3
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-ClZCCzAm.mjs";
|
|
2
|
+
import { a as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-BpBjo9Te.mjs";
|
|
4
3
|
import "react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
5
|
//#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
|
|
@@ -15,6 +14,7 @@ function toEventDetailsClientProps(props) {
|
|
|
15
14
|
occurrenceContext: props.occurrenceContext,
|
|
16
15
|
subject: props.subject,
|
|
17
16
|
events: props.events ? [...props.events] : props.events,
|
|
17
|
+
venueDrawing: props.venueDrawing,
|
|
18
18
|
showVenue: props.showVenue,
|
|
19
19
|
showMap: props.showMap,
|
|
20
20
|
showOtherDates: props.showOtherDates,
|
|
@@ -32,17 +32,6 @@ function toEventDetailsClientProps(props) {
|
|
|
32
32
|
nowIso: props.nowIso
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
|
-
function ClientVenueMap({ venueName, location, className, height }) {
|
|
36
|
-
return /* @__PURE__ */ jsx("div", {
|
|
37
|
-
className: "event-details-map-wrap rb-w-full rb-ml-auto",
|
|
38
|
-
children: /* @__PURE__ */ jsx(LeafletStaticMap, {
|
|
39
|
-
location,
|
|
40
|
-
label: venueName,
|
|
41
|
-
className,
|
|
42
|
-
height
|
|
43
|
-
})
|
|
44
|
-
});
|
|
45
|
-
}
|
|
46
35
|
function EventDetailsClient(props) {
|
|
47
36
|
const { occurrenceContext = null, events = null, className, children } = props;
|
|
48
37
|
const presentation = resolveEventDetailsPresentation({
|
|
@@ -53,10 +42,7 @@ function EventDetailsClient(props) {
|
|
|
53
42
|
return /* @__PURE__ */ jsxs("div", {
|
|
54
43
|
className: `event-details ${className ?? ""}`.trim(),
|
|
55
44
|
"data-block": "event-details",
|
|
56
|
-
children: [/* @__PURE__ */ jsx(EventDetailsView, {
|
|
57
|
-
...presentation,
|
|
58
|
-
renderVenueMap: ClientVenueMap
|
|
59
|
-
}), children]
|
|
45
|
+
children: [/* @__PURE__ */ jsx(EventDetailsView, { ...presentation }), children]
|
|
60
46
|
});
|
|
61
47
|
}
|
|
62
48
|
function EventDetailsIslandClient(props) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-
|
|
2
|
+
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { A as isEventRegistrationAvailable, An as isEventFull, At as getTicketSelectionTotal, B as paymentChoiceDetails, Cn as canJoinEventWaitlistOnAnyMode, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Dt as canRequestTicketOption, Et as formatPrice, Ht as shownVenue,
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
-
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents,
|
|
7
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
4
|
+
import { A as isEventRegistrationAvailable, An as isEventFull, At as getTicketSelectionTotal, B as paymentChoiceDetails, Cn as canJoinEventWaitlistOnAnyMode, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Dt as canRequestTicketOption, Et as formatPrice, Ht as shownVenue, Mn as selectMostOpenCapacitySource, Nn as groupPublicEventsByRun, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlist, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, Un as getRegistrationSuccessCopy, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as publicEventPricingType, b as placeCountCeiling, c as registrationStepLabelContext, ct as confirmationPaymentRows, dt as areEntitlementsDisabledForTicketCount, gt as formatPassCreditUsageLabel, ht as formatEventDateTime, ii as publicEventPricingStrategy, j as normalizeEventRegistrationMaxTickets, jn as selectEventCapacitySource, jt as getTicketTypeLineMax, kn as getRemainingPlaces, kt as getTicketLineQuantity, l as areEventRegistrationPaymentSelectionsEqual, lt as resolveFinishedPresentation, mt as formatDate, n as getEventSelectionMode, ni as publicEventPricingCurrency, pt as formatBookingWhen, r as panelShouldOpen, s as registrationStepLabel, ut as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, v as fullyBookedLabel, vt as formatTime, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-CvT0E9AR.mjs";
|
|
6
|
+
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, Zt as formatEventPriceDisplay, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry } from "./shop.interactive-CreQ0I7i.mjs";
|
|
7
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-C3g8_Hqb.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
9
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-C7X9dJ8A.mjs";
|
|
10
10
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
11
11
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-
|
|
14
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
13
|
+
import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-EBOBN5dT.mjs";
|
|
14
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-Gn_m7e0o.mjs";
|
|
15
15
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
16
|
-
import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
16
|
+
import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-CFYPDEHH.mjs";
|
|
17
17
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
18
|
-
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
19
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
18
|
+
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-CFacB1z6.mjs";
|
|
19
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-BFwxgZpB.mjs";
|
|
20
20
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
21
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
22
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-
|
|
21
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-DrTnGNzD.mjs";
|
|
22
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-WOiT5Ryi.mjs";
|
|
23
23
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
24
24
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useReducer, useRef, useState } from "react";
|
|
25
25
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -3260,7 +3260,7 @@ function EventRegistrationMagicLinkModal(props) {
|
|
|
3260
3260
|
function EventRegistrationWholeScreen(props) {
|
|
3261
3261
|
const { wizard } = props;
|
|
3262
3262
|
switch (props.presentation.screen) {
|
|
3263
|
-
case "processing": return /* @__PURE__ */ jsx(RegistrationProcessing, {});
|
|
3263
|
+
case "processing": return /* @__PURE__ */ jsx(RegistrationProcessing, { selection: wizard.paymentSelection });
|
|
3264
3264
|
case "verifying": return /* @__PURE__ */ jsx(VerifyingPaymentStep, {});
|
|
3265
3265
|
case "verifyingTimeout": return /* @__PURE__ */ jsx(RegistrationVerificationTimeout, {
|
|
3266
3266
|
wizard,
|
|
@@ -3425,8 +3425,8 @@ function EventRegistrationSurface(props) {
|
|
|
3425
3425
|
}), /* @__PURE__ */ jsx(EventRegistrationMagicLinkModal, { wizard })]
|
|
3426
3426
|
});
|
|
3427
3427
|
}
|
|
3428
|
-
function RegistrationProcessing() {
|
|
3429
|
-
const label = "Confirming your booking";
|
|
3428
|
+
function RegistrationProcessing({ selection }) {
|
|
3429
|
+
const label = (selection.method === "stripe" ? selection.collectionOptionKind !== "deferred_manual" : selection.method === "pass_bundle" || selection.method === "membership_bundle") ? "Preparing your payment" : "Confirming your booking";
|
|
3430
3430
|
return /* @__PURE__ */ jsxs("div", {
|
|
3431
3431
|
className: "er-center",
|
|
3432
3432
|
role: "status",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-U6pKcntV.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DYBioANh.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-CNzwEHws.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DYBioANh.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-BFgsLqTj.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-B8F40Rmn.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DYBioANh.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventRegistrationIslandClient } from "./event-registration.client-
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as EventRegistrationIslandClient } from "./event-registration.client-BaXZ1-Ky.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DYBioANh.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-BFwxgZpB.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-B0iancFK.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
3
|
import { n as err, r as ok, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
4
|
+
import { Pr as listLookSlot } from "./wizardSteps-BO2OmMO9.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DMbolu9Y.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-BFwxgZpB.mjs";
|
|
8
8
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
9
9
|
import { useReducer, useRef, useState } from "react";
|
|
10
10
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import { Nr as listLookControl, Pr as listLookSlot } from "./wizardSteps-
|
|
4
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-BWsDgjMC.mjs";
|
|
3
|
+
import { Nr as listLookControl, Pr as listLookSlot } from "./wizardSteps-BO2OmMO9.mjs";
|
|
4
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-C7X9dJ8A.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/form.fields.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, ft as formatDateTime, ut as formatDate$1 } from "./noop-B3RNPVrt.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { W as formatGiftCardAmountLabel, i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-BWsDgjMC.mjs";
|
|
4
|
+
import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, t as logger, ut as formatDate } from "../noop-B3RNPVrt.mjs";
|
|
5
5
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
6
|
-
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-
|
|
6
|
+
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-BFwxgZpB.mjs";
|
|
7
7
|
import React from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
import { useRouter } from "next/navigation.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-CkSUep5a.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-Dh8c_Lq-.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { er as renderableMediaAssetSchema } from "./schema-DNHLlze-.mjs";
|
|
3
3
|
//#region src/rendering/mediaAssets.ts
|
|
4
4
|
function toBlocksMediaAssets(assets) {
|
|
5
5
|
if (!assets) return void 0;
|