@riverbankcms/sdk 0.177.0 → 0.178.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-sYraeqm9.d.ts → BlocksIslandsHydrator-CrKsXtpD.d.ts} +1 -1
- package/dist/_dts/{Page-Bp7hTDTy.d.ts → Page-C9i27wZA.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CxkCCyKw.d.ts → SdkPreviewMode-DzGSR3jh.d.ts} +2 -2
- package/dist/_dts/{client-K6UhbL3t.d.ts → client-BnYN6XsH.d.ts} +31 -7
- package/dist/_dts/{content-types-BLAdIMyr.d.ts → content-types-CXj6lp3d.d.ts} +2 -2
- package/dist/_dts/{contracts-BG7yTZ6t.d.ts → contracts-BZLwkTwL.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DwMHeYmQ.d.ts → footerPageOutline-D_XbQW_o.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-X_WpGzZZ.d.ts → generatePageMetadata-ByEWwe9j.d.ts} +2 -2
- package/dist/_dts/{index-BpAW9AKB.d.ts → index-0HFgCnGz.d.ts} +1 -1
- package/dist/_dts/{index-CX9bp60k.d.ts → index-BE9dWIsr.d.ts} +3 -3
- package/dist/_dts/{index-Bygd2RCg.d.ts → index-CKDRr54L.d.ts} +4 -4
- package/dist/_dts/{index-BMGif2r3.d.ts → index-D9-N1d9v.d.ts} +1 -1
- package/dist/_dts/{index--n-wV8Xd.d.ts → index-DCa-8TEY.d.ts} +1 -1
- package/dist/_dts/{index-BLseXObg.d.ts → index-cTpvQg_Q.d.ts} +2 -2
- package/dist/_dts/{index-CBRbZJ6u.d.ts → index-nnEdgc3Z.d.ts} +2 -2
- package/dist/_dts/{loadContent-uhUThWaq.d.ts → loadContent-DYkVV6w4.d.ts} +7 -7
- package/dist/_dts/{request-Bf9YImJw.d.ts → request-B20VRWHH.d.ts} +491 -43
- package/dist/_dts/{resolveBlockData-D6M5NMZB.d.ts → resolveBlockData-C_aK5GIS.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DkzWvFbG.d.ts → resolvePageContent-YT6ndha1.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/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -2
- 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 +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +24 -12
- 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 +56 -4
- package/dist/_dts/sdk/src/portal/index.d.ts +95 -13
- 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/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- 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/rendering/themeAdmission.d.ts +1 -1
- 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/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BdZ5pJSk.d.ts → types-CMZ5mkpv.d.ts} +2 -2
- package/dist/_dts/{types-DgV8P2mz.d.ts → types-CYcd15BQ.d.ts} +7 -7
- package/dist/_dts/{types-C1l2Sm2h.d.ts → types-rm2M4LGx.d.ts} +3 -3
- package/dist/_dts/{validation-BtbZIT5f.d.ts → validation-BSxnRhyy.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CeYQQQs7.mjs → BlocksIslandsHydrator-D1n09bu-.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-CDDWrY_W.mjs → BookingMailingListNote-DSD4gS96.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-BShQSial.mjs → BookingPanelArrangement--EkA1ZQd.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-MbvIo2jS.mjs → BookingQuestionFields-B57oGPcj.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-C6CSVfEB.mjs → CalendarNavigationChevron-qXvsFYOg.mjs} +7 -7
- package/dist/client/{DemoBookingPortalAccess-C9Ggcfx3.mjs → DemoBookingPortalAccess-Olvrwi3Z.mjs} +3 -3
- package/dist/client/{EventCalendar.client-BSMuSqg0.mjs → EventCalendar.client-DwFNFb-0.mjs} +10 -10
- package/dist/client/{EventCombined.client-BTrmSyUB.mjs → EventCombined.client-Ffu-aVOb.mjs} +9 -9
- package/dist/client/{EventItem-B0WjGXsH.mjs → EventItem-b8tVkNHA.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-8Ij7vuxY.mjs → EventListWeekNavigation-BxnJW_Gf.mjs} +1 -1
- package/dist/client/{EventListing.client-CWk2NEwd.mjs → EventListing.client-ViCnrNg4.mjs} +3 -3
- package/dist/client/{EventListing.view-BEH4UbSL.mjs → EventListing.view-CdjiepMf.mjs} +7 -7
- package/dist/client/{EventRegistrationPayment-B2EikR3f.mjs → EventRegistrationPayment-BVd70XkH.mjs} +262 -24
- package/dist/client/{LocationMapActions-myIQIvQL.mjs → LocationMapActions-CiMtl1Ha.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BfsVyPvB.mjs → MapDrawingSvg-BCZa3dpf.mjs} +1 -1
- package/dist/client/{Page-C03rc6jw.mjs → Page-DqETUt-U.mjs} +12 -12
- package/dist/client/{SiteTermsAgreementField-BYACYP0T.mjs → SiteTermsAgreementField-DkFnbzf_.mjs} +2 -2
- package/dist/client/{StepIndicator-Bb7rPtSq.mjs → StepIndicator-JO2PS03n.mjs} +79 -32
- package/dist/client/{accordion-BfsOiweL.mjs → accordion-XgNxl0Wg.mjs} +1 -1
- package/dist/client/{booking-form.client-B8ohIj13.mjs → booking-form.client-ljJoDwuI.mjs} +13 -13
- package/dist/client/{bookingForm-CXsck2oH.mjs → bookingForm-DtEHwY4W.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B_hcuT06.mjs → boxStyleClassNames-BHoMAcun.mjs} +2 -2
- package/dist/client/{carousel-Cz5Ddbsx.mjs → carousel-B3UhbFu7.mjs} +1 -1
- package/dist/client/{cart-CTC2oS3p.mjs → cart-DzOJfYOR.mjs} +3 -3
- package/dist/client/{cart.client-c1YkTC-Q.mjs → cart.client-DBG77v-5.mjs} +1 -1
- package/dist/client/{checkout-BeW1ufaH.mjs → checkout-LmePoEgM.mjs} +3 -3
- package/dist/client/{checkout.client-BeU32khQ.mjs → checkout.client-DmgZuLBT.mjs} +1 -1
- package/dist/client/{checkoutUrls-DVfSUSKp.mjs → checkoutUrls-CMZI8o_V.mjs} +1 -1
- package/dist/client/client.mjs +59 -5
- package/dist/client/{context-R9p5c8IH.mjs → context-CJIz4FdL.mjs} +1 -1
- package/dist/client/{course-CUFVJEAc.mjs → course-DBEU9IA9.mjs} +11 -4
- package/dist/client/{dateFormatting-CF6FWCoo.mjs → dateFormatting-UoXqBh10.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-tZxIm3RL.mjs → demoPortalMagicLink-6CgFZNvu.mjs} +5 -4
- package/dist/client/{display-4HYOb-AK.mjs → display-D1oVR5Eh.mjs} +180 -15
- package/dist/client/{enhanceHeaderSection-DEYDI54E.mjs → enhanceHeaderSection-DaMo6len.mjs} +3 -3
- package/dist/client/{event-details.client-BwjBJP-f.mjs → event-details.client-BwASwKIq.mjs} +1 -1
- package/dist/client/{event-registration.client-DWvSODTI.mjs → event-registration.client-b6APrFQe.mjs} +118 -180
- package/dist/client/{eventCalendar-C9Pn9eeZ.mjs → eventCalendar-DJYz7yZf.mjs} +4 -4
- package/dist/client/{eventCombined-Bdhk0fp0.mjs → eventCombined-j9VCVgMW.mjs} +4 -4
- package/dist/client/{eventDetails-C2LfNW_o.mjs → eventDetails-BzGOVDI-.mjs} +2 -2
- package/dist/client/{eventListing-B-bJOQUk.mjs → eventListing-DWgpGuFM.mjs} +4 -4
- package/dist/client/{eventRegistration-CbdmUiDT.mjs → eventRegistration-DCinRot3.mjs} +4 -4
- package/dist/client/{form-BbUUt784.mjs → form-BBBtRwvy.mjs} +3 -3
- package/dist/client/{form.client-BVlz-9_t.mjs → form.client-CZeRQLGF.mjs} +4 -4
- package/dist/client/{form.parts-TB4UIrML.mjs → form.parts-DhGGv4_L.mjs} +1 -1
- package/dist/client/{formatDate-TDHhFjFN.mjs → formatDate-DVFVDcDW.mjs} +1 -1
- package/dist/client/gifting/client.mjs +6 -5
- package/dist/client/{gifting-CbNSrp7C.mjs → gifting-Di9-SpwW.mjs} +4 -4
- package/dist/client/{gifting.client-B__bGhFc.mjs → gifting.client-CjT5PrAZ.mjs} +4 -4
- package/dist/client/{gifting.parts-CTA1sDW6.mjs → gifting.parts-ffP6mjMd.mjs} +2 -2
- package/dist/client/{headerSection-5Wn9nUW_.mjs → headerSection-jjAvtSZk.mjs} +2 -2
- package/dist/client/{lookSurfaces-BwiNdgMU.mjs → lookSurfaces-C2VzJfyG.mjs} +1 -1
- package/dist/client/{newsletter-form.client-B17WYHxZ.mjs → newsletter-form.client-D45frHoa.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DN9wD1ZG.mjs → newsletter-form.parts-CHdg82ct.mjs} +1 -1
- package/dist/client/{newsletterForm-DLMlxInp.mjs → newsletterForm-tS465_vl.mjs} +3 -3
- package/dist/client/{noop-CaQxI-Js.mjs → noop-D11X-B6n.mjs} +123 -91
- package/dist/client/portal/client.mjs +344 -19
- package/dist/client/{product-detail.client-Di_anRGR.mjs → product-detail.client-DIWSeW7P.mjs} +1 -1
- package/dist/client/{product-list.client-Duhl6rtL.mjs → product-list.client-BRf14h_e.mjs} +1 -1
- package/dist/client/{productDetail-BgKmCwA8.mjs → productDetail-gxF5whea.mjs} +3 -3
- package/dist/client/{productList-C_wMKsYS.mjs → productList-B9t0XJrN.mjs} +3 -3
- package/dist/client/{propsDecoder-y3LvxaiG.mjs → propsDecoder-Db8wAmgr.mjs} +4 -4
- package/dist/client/{registry.server-CIWYKz1V.mjs → registry.server-Bn0gE0uP.mjs} +27 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-DkPBFb_a.mjs → richText-coerce-COnKrLO7.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BgO0rZce.mjs → routeIslandApiConfig-Bok1Oy50.mjs} +1 -1
- package/dist/client/{shop-CFbWlv_W.mjs → shop-D1oTPDxm.mjs} +3 -3
- package/dist/client/{shop-commerce-C-I29eaA.mjs → shop-commerce-DyMZLC0a.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DGcc7twO.mjs → shop-commerce-store-FODNS63D.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DOm7vx0X.mjs → shop-discount-apply.state-C4xcmFzZ.mjs} +2 -2
- package/dist/client/{shop.client-GHTWUKD6.mjs → shop.client-CRgRulfI.mjs} +12 -12
- package/dist/client/{shop.interactive-CxDJ8P2r.mjs → shop.interactive-D7wky1GL.mjs} +6 -33
- package/dist/client/{shopShared-Be9QJJpT.mjs → shopShared-Bd_hy9ZO.mjs} +2 -2
- package/dist/client/src-DqMbCjI1.mjs +3 -0
- package/dist/client/{src-xrjaKaCj.mjs → src-uwCpbHXG.mjs} +2 -1
- package/dist/client/{timetableModel--R0zVzZO.mjs → timetableModel-UlWfP1gh.mjs} +9 -9
- package/dist/client/{useAvailableSlots-BGu_2F50.mjs → useAvailableSlots-D-qoooLy.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-I_mXI9Yd.mjs → useDiscountCodeUi-B9DODAkj.mjs} +1 -1
- package/dist/client/{useEventPagination-DxIJ--JZ.mjs → useEventPagination-CQH2e9sQ.mjs} +7 -7
- package/dist/client/{view-BbzH5MQb.mjs → view-DNX59QwM.mjs} +10 -9
- package/dist/client/{view-3foOzGWR.mjs → view-bGU1ws-m.mjs} +3 -3
- package/dist/preview-next/client/{PageSectionToolbar-D6-jojqh.mjs → PageSectionToolbar-D-Le7O3o.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-BUVFKZ4k.mjs → PreviewEditorSidebar-DNy5j_ce.mjs} +15 -13
- package/dist/preview-next/client/{PreviewEditorUI-292pOiSt.mjs → PreviewEditorUI-CzJvgbqt.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-CW0Yzj3h.mjs → PreviewShell-xhJ6ca1i.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Dba7zoZK.mjs → SdkPreviewModeRuntime-BmYO1TdT.mjs} +5 -5
- package/dist/preview-next/client/{previewAssistantSlot-B-utyhbS.mjs → previewAssistantSlot-BN93X9o1.mjs} +1141 -596
- package/dist/preview-next/client/{previewChromeRoot-CCoGydUD.mjs → previewChromeRoot-C51RQseo.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DCpXVcA0.mjs → sdk-runtime-oeGquJM-.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-sjOvRAHY.mjs → siteStyleAccess-BGTAcPud.mjs} +1 -1
- package/dist/preview-next/client/src-EO5QoRlU.mjs +3 -0
- package/dist/preview-next/client/{src-DzXUmsyK.mjs → src-lX6heoDA.mjs} +2 -1
- package/dist/preview-next/client/{useAutosaveStatus-R1rZ9-IZ.mjs → useAutosaveStatus-BMGXjGZq.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BS7CANPv.mjs → useOpenBlockForSetup-CTDoR_gQ.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BSSbtz6A.mjs → route-contract-BtdzkSUg.mjs} +55 -1
- package/dist/server/{Block.shared-Dc3DX7Cf.mjs → Block.shared-Bp3OlOjj.mjs} +5 -5
- package/dist/server/{bindings-VGgS6UvF.mjs → bindings-DrbJuftt.mjs} +3 -3
- package/dist/server/{client-BPLLL22F.mjs → client-Bf06n9oj.mjs} +56 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/constants-Cj7hfbrA.mjs +41 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-CxASA3PE.mjs → loadContent-eaTY7RPg.mjs} +4 -4
- package/dist/server/{loadPage-CQgde5DN.mjs → loadPage-5iZefzDd.mjs} +2 -2
- package/dist/server/{navigation-iC_hXjJI.mjs → navigation-BcNfYYuu.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +56 -13
- package/dist/server/{overrideResolution-CkpwAHvW.mjs → overrideResolution-CUHtm7tW.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-CfSnAkCO.mjs → pageRenderPlan-GmPXForc.mjs} +13 -6
- package/dist/server/{pageRuntimeSupport-uz4gzBOo.mjs → pageRuntimeSupport-Dd8LFzfa.mjs} +1 -1
- package/dist/server/{pageShared-6z6JBU41.mjs → pageShared-tz-GVWft.mjs} +85 -37
- package/dist/server/portal-B4JVkdjc.mjs +783 -0
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-B4_Llisx.mjs → prebuild-JmsuYCIH.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CCiYV8_s.mjs → prefetchBlockData-Ce9DDwON.mjs} +2 -2
- package/dist/server/{registry-CXRXsFSx.mjs → registry-D12XF_h1.mjs} +466 -311
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-yfe8WLEA.mjs → resolveBlockData-D9yZIN3V.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-BvHio6QI.mjs → validation-CLq5cw6M.mjs} +3 -3
- package/dist/server/{version-SuFlio6n.mjs → version-oPbhAx8E.mjs} +1 -1
- package/dist/styles/index.css +19 -0
- package/package.json +1 -1
- package/dist/client/src-BozhJ43Z.mjs +0 -3
- package/dist/preview-next/client/src-LUhVXBEQ.mjs +0 -3
- package/dist/server/constants-hl17xz6x.mjs +0 -22
- package/dist/server/portal-BjVHMAUC.mjs +0 -371
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
3
|
+
import { bn as staticHeaderChromeRuntime } from "../shop.interactive-D7wky1GL.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
5
|
-
import { Ar as
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
8
|
-
import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, Nn as ICON_CONFIG, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-
|
|
9
|
-
import { f as Text } from "../timetableModel
|
|
10
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
11
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
5
|
+
import { Ar as MediaPlaceholder, Mr as mediaImageHostProps, Nr as renderAudio, Or as RichText, Pr as renderVideo, Rr as resolveMediaNodeResponsiveImage, jr as computeMediaTransformStyle, kr as ImagePresets } from "../display-D1oVR5Eh.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-ljJoDwuI.mjs";
|
|
7
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-b6APrFQe.mjs";
|
|
8
|
+
import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, Nn as ICON_CONFIG, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-Bn0gE0uP.mjs";
|
|
9
|
+
import { f as Text } from "../timetableModel-UlWfP1gh.mjs";
|
|
10
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-D-qoooLy.mjs";
|
|
11
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-CJIz4FdL.mjs";
|
|
12
12
|
import "../accessibleSurfaces-DN8it_Cx.mjs";
|
|
13
13
|
import { S as clsx } from "../ThemedButton-DuaYtnvG.mjs";
|
|
14
|
-
import { t as ShopClient } from "../shop.client-
|
|
14
|
+
import { t as ShopClient } from "../shop.client-CRgRulfI.mjs";
|
|
15
15
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
16
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
16
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-COnKrLO7.mjs";
|
|
17
17
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
18
18
|
import { t as CarouselNodeClient } from "../carousel.client-h65clfUO.mjs";
|
|
19
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
20
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
21
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
22
|
-
import { t as CartClient } from "../cart.client-
|
|
23
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
24
|
-
import { t as GiftingClient } from "../gifting.client-
|
|
25
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
26
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
27
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
28
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
29
|
-
import { t as FormNodeClient } from "../form.client-
|
|
30
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
31
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
19
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-BwASwKIq.mjs";
|
|
20
|
+
import { t as ProductListClient } from "../product-list.client-BRf14h_e.mjs";
|
|
21
|
+
import { t as ProductDetailClient } from "../product-detail.client-DIWSeW7P.mjs";
|
|
22
|
+
import { t as CartClient } from "../cart.client-DBG77v-5.mjs";
|
|
23
|
+
import { t as CheckoutClient } from "../checkout.client-DmgZuLBT.mjs";
|
|
24
|
+
import { t as GiftingClient } from "../gifting.client-CjT5PrAZ.mjs";
|
|
25
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DaMo6len.mjs";
|
|
26
|
+
import { t as EventListingClient } from "../EventListing.client-ViCnrNg4.mjs";
|
|
27
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-Ffu-aVOb.mjs";
|
|
28
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-DwFNFb-0.mjs";
|
|
29
|
+
import { t as FormNodeClient } from "../form.client-CZeRQLGF.mjs";
|
|
30
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-D45frHoa.mjs";
|
|
31
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-D1n09bu-.mjs";
|
|
32
32
|
import * as React$1 from "react";
|
|
33
33
|
import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
|
|
34
34
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { jn as unsafeAsContentEntryId } from "./shop.interactive-D7wky1GL.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import { $
|
|
5
|
-
import { Ft as EVENT_PRESET_VALUES, Pt as isRecord, dt as runtimeMediaSchema, hn as toUtcIsoDateTimeString, it as createRichTextDoc, lt as mediaSchema, rt as buildRichTextSchema, ut as persistableMediaSchema } from "./noop-
|
|
6
|
-
import { $ as projectRepeaterGridLayout$1, A as SUPPORTED_LOADER_ENDPOINTS, B as resolveRouteHrefForStage, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as renderBlock, G as siteHeaderManifest, H as getBlockDefinition, I as getDefaultComponentRegistry, J as compileManifestContentContract, K as blockDesignCapabilityMapFromDefinitions, L as resolveAuthoredLinkHref, N as planBlockDataRequests, O as MissingSdkThemeError, P as makeDefaultBlockComponent, Q as fieldPlanToZod, R as isRouteVisibleInStage, S as readInvalidBlockAdmission, T as siteBlockRenderContext, U as systemBlockDefinitions, V as allOutlineBlocks, W as siteFooterManifest, X as admitLayoutGridForPlan, Y as registeredManifestContentContract, Z as deriveFieldValidationPlan, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, ct as applyCompiledRuntimeFieldsToContent, d as buildThemeRuntime, dt as readPublishedBlockPlacement, et as projectRepeaterGridLayoutForRendering$1, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as isRecord$1, j as prefetchBlockDataWithFailures, k as requireSdkTheme, l as PageRenderer, lt as compileEditorModelRuntime, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as normalizeRepeaterGridSpan, o as ThemeScope, ot as parseListLook, p as applyBindingsToContent, q as admitTransportedRenderableManifestContent, r as renderWithOverrideOnlyRuntime, rt as resolveRepeaterGridAcceptedSpans, s as EditorPageRenderer, st as buildPageDesignEditorReadModel, t as Page, tt as flowRepeaterGridItems, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as normalizeRenderStage } from "./Page-
|
|
7
|
-
import { Bn as resolveRepeaterGridRowFieldId, Kn as isCanonicalRichTextDoc, Vn as resolveRepeaterGridSpanFieldId, zn as resolveRepeaterGridColumnFieldId, zt as parseFieldDefinition } from "./registry.server-
|
|
8
|
-
import { F as surfaceResolutionContextFromTheme, O as componentRuntimeRulesForSiteStyle, Q as parsePageDesignIntent, hn as asLayoutVariantKey, j as requireCuratedSiteStyle, k as designRuntimeRulesForSiteStyle, mn as asDesignBlockId, pn as asAppearancePresetId, w as buildInitialPolicyPageDesignIntent, wt as appearancePresets } from "./lookSurfaces-
|
|
9
|
-
import { l as parseBackgroundContent } from "./boxStyleClassNames-
|
|
4
|
+
import { $r as parseInlineTextFromUnknown, Ba as resolveDateRuntimeContext, Fr as resolveImageSourceSetWithContext$1, Ir as resolveImageUrl$1, Lr as resolveImageUrlWithContext$1, Or as RichText$2, Po as sanitizeHref, Zr as inlineTextToPlainText, ei as plainTextToInlineText, is as offeringLabelForPageSurfaceSubject, jr as computeMediaTransformStyle, vs as unsafeAsEventCategoryId, za as readRuntimeNow } from "./display-D1oVR5Eh.mjs";
|
|
5
|
+
import { Ft as EVENT_PRESET_VALUES, Pt as isRecord, dt as runtimeMediaSchema, hn as toUtcIsoDateTimeString, it as createRichTextDoc, lt as mediaSchema, rt as buildRichTextSchema, ut as persistableMediaSchema } from "./noop-D11X-B6n.mjs";
|
|
6
|
+
import { $ as projectRepeaterGridLayout$1, A as SUPPORTED_LOADER_ENDPOINTS, B as resolveRouteHrefForStage, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as renderBlock, G as siteHeaderManifest, H as getBlockDefinition, I as getDefaultComponentRegistry, J as compileManifestContentContract, K as blockDesignCapabilityMapFromDefinitions, L as resolveAuthoredLinkHref, N as planBlockDataRequests, O as MissingSdkThemeError, P as makeDefaultBlockComponent, Q as fieldPlanToZod, R as isRouteVisibleInStage, S as readInvalidBlockAdmission, T as siteBlockRenderContext, U as systemBlockDefinitions, V as allOutlineBlocks, W as siteFooterManifest, X as admitLayoutGridForPlan, Y as registeredManifestContentContract, Z as deriveFieldValidationPlan, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, ct as applyCompiledRuntimeFieldsToContent, d as buildThemeRuntime, dt as readPublishedBlockPlacement, et as projectRepeaterGridLayoutForRendering$1, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as isRecord$1, j as prefetchBlockDataWithFailures, k as requireSdkTheme, l as PageRenderer, lt as compileEditorModelRuntime, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as normalizeRepeaterGridSpan, o as ThemeScope, ot as parseListLook, p as applyBindingsToContent, q as admitTransportedRenderableManifestContent, r as renderWithOverrideOnlyRuntime, rt as resolveRepeaterGridAcceptedSpans, s as EditorPageRenderer, st as buildPageDesignEditorReadModel, t as Page, tt as flowRepeaterGridItems, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as normalizeRenderStage } from "./Page-DqETUt-U.mjs";
|
|
7
|
+
import { Bn as resolveRepeaterGridRowFieldId, Kn as isCanonicalRichTextDoc, Vn as resolveRepeaterGridSpanFieldId, zn as resolveRepeaterGridColumnFieldId, zt as parseFieldDefinition } from "./registry.server-Bn0gE0uP.mjs";
|
|
8
|
+
import { F as surfaceResolutionContextFromTheme, O as componentRuntimeRulesForSiteStyle, Q as parsePageDesignIntent, hn as asLayoutVariantKey, j as requireCuratedSiteStyle, k as designRuntimeRulesForSiteStyle, mn as asDesignBlockId, pn as asAppearancePresetId, w as buildInitialPolicyPageDesignIntent, wt as appearancePresets } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
9
|
+
import { l as parseBackgroundContent } from "./boxStyleClassNames-BHoMAcun.mjs";
|
|
10
10
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
11
11
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-B99AP7ai.mjs";
|
|
12
12
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { nt as RichTextDocSchema, t as logger } from "./noop-
|
|
2
|
+
import { nt as RichTextDocSchema, t as logger } from "./noop-D11X-B6n.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
4
4
|
function parseRichTextDoc(value) {
|
|
5
5
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Ha as createHostedBlockApiConfig } from "./display-D1oVR5Eh.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,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ShopClient } from "./shop.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Db8wAmgr.mjs";
|
|
3
|
+
import { t as ShopClient } from "./shop.client-CRgRulfI.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Bd_hy9ZO.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { u as getShopDisplayForItems } from "./shop.interactive-
|
|
3
|
-
import { _ as deriveCommerceCheckoutState, a as buildProductCardDisplay, c as formatCommercePrice, g as buildProductCartItem, o as buildProductDetailDisplay,
|
|
4
|
-
import { n as assertNever, o as clearWorkflowFeedback, s as reportWorkflowError } from "./noop-
|
|
5
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { u as getShopDisplayForItems } from "./shop.interactive-D7wky1GL.mjs";
|
|
3
|
+
import { Or as RichText, _ as deriveCommerceCheckoutState, a as buildProductCardDisplay, c as formatCommercePrice, g as buildProductCartItem, o as buildProductDetailDisplay, y as productItemKey } from "./display-D1oVR5Eh.mjs";
|
|
4
|
+
import { n as assertNever, o as clearWorkflowFeedback, s as reportWorkflowError } from "./noop-D11X-B6n.mjs";
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DkFnbzf_.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
7
7
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
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-
|
|
9
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
8
|
+
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-Olvrwi3Z.mjs";
|
|
9
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CMZI8o_V.mjs";
|
|
10
10
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
11
11
|
import { n as useTransientShopAddFeedback, r as consumeSearchParam, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
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-
|
|
15
|
-
import { a as
|
|
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-
|
|
13
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-COnKrLO7.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-bGU1ws-m.mjs";
|
|
15
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-6CgFZNvu.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-C4xcmFzZ.mjs";
|
|
17
17
|
import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
|
|
18
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
18
|
+
import { n as useCommerceCart } from "./shop-commerce-store-FODNS63D.mjs";
|
|
19
19
|
import * as React$1 from "react";
|
|
20
20
|
import { useEffect, useState } from "react";
|
|
21
21
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { b as reduceCommerceCart, h as buildPassCartItem, m as EMPTY_COMMERCE_CART_STATE, v as parseStoredCommerceCartState } from "./display-
|
|
2
|
+
import { b as reduceCommerceCart, h as buildPassCartItem, m as EMPTY_COMMERCE_CART_STATE, v as parseStoredCommerceCartState } from "./display-D1oVR5Eh.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as assertNever } from "./noop-
|
|
3
|
-
import { c as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { n as assertNever } from "./noop-D11X-B6n.mjs";
|
|
3
|
+
import { c as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-Olvrwi3Z.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,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as shopProductPresentation } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import { n as assertNever } from "./noop-
|
|
2
|
+
import { _ as shopProductPresentation } from "./shop.interactive-D7wky1GL.mjs";
|
|
3
|
+
import { Mi as getShopSuccessCopy, c as formatCommercePrice, l as formatInterval, t as appliedDiscountHint } from "./display-D1oVR5Eh.mjs";
|
|
4
|
+
import { n as assertNever } from "./noop-D11X-B6n.mjs";
|
|
5
5
|
import { T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-DkFnbzf_.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
8
8
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
|
-
import { a as useDiscountApply, i as isDiscountCodeRefusal, p as DiscountCodeDisclosure, t as BookingConfirmation, u as planDirectShopCheckoutRequest } from "./DemoBookingPortalAccess-
|
|
9
|
+
import { a as useDiscountApply, i as isDiscountCodeRefusal, p as DiscountCodeDisclosure, t as BookingConfirmation, u as planDirectShopCheckoutRequest } from "./DemoBookingPortalAccess-Olvrwi3Z.mjs";
|
|
10
10
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
12
|
import { i as consumeSearchParams, n as useTransientShopAddFeedback, t as ShopAddFeedback } from "./shop-add-feedback-DvC2kP1K.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-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-B9DODAkj.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-
|
|
19
|
-
import { a as
|
|
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-
|
|
18
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-bGU1ws-m.mjs";
|
|
19
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-6CgFZNvu.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-C4xcmFzZ.mjs";
|
|
21
21
|
import { t as CarouselNodeClient } from "./carousel.client-h65clfUO.mjs";
|
|
22
|
-
import { r as formatEntitlementEnd } from "./dateFormatting-
|
|
23
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
22
|
+
import { r as formatEntitlementEnd } from "./dateFormatting-UoXqBh10.mjs";
|
|
23
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-FODNS63D.mjs";
|
|
24
24
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
25
25
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
26
26
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as parseUuidBrand, f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { $a as eventRegistrationPageSurfaceSubjectSchema, $o as parseBrevoListId, Aa as eventCalendarDisplayModeSchema, Ao as isDecodeSuccess, Ar as MediaPlaceholder, At as toRegistrationEvents, Ba as resolveDateRuntimeContext, C as getEventSelectionMode, Ci as resolveRuntimeEventDestination, Cr as resolveRegistrationDisplay, D as registrationRoute, Da as columnOptionSchema, Do as createZodCodec, Ea as calendarTabViewsSchema, Eo as groupPublicEventsByRun, Er as closedRunCopy, Fa as weekStartSchema, Fn as formatBookingWhen, Go as nextLiveRunSessionStartMs, Ho as flexibleBalanceDueDay, Jo as resolveWholeSeriesRunLifecycle, La as blockButtonRoleSchema, Ma as filterAutoShowSchema, Mr as mediaImageHostProps, Mt as toWholeSeriesRegistrationEvents, Na as previewStageSchema, Nr as renderAudio, O as registrationStepLabel, Oa as eventButtonVariantSchema, Oo as defineClientOwnedBlockRuntime, Or as RichText, P as isRegistrationLocked, Pa as registrationButtonVariantSchema, Pr as renderVideo, Qa as defineInteractiveIslandMetaKeys, Qo as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Rr as resolveMediaNodeResponsiveImage, S as REGISTRATION_STEP_LABELS, So as getRemainingPlaces, Sr as registrationDisplaySchema, Ta as bookingNowSchema, Va as browserReadAuthoritySchema, Xa as buildInteractiveIslandProps, Ya as bookingPageKindSchema, Yo as parseMailingListRuntimeContext, Za as createInteractiveIslandCodec, Zo as DEFAULT_MAILING_LIST_PRIVACY_NOTE, _ as deriveCommerceCheckoutState, _s as parseEventSeriesId, as as EVENT_PRESET_VOCABULARY, br as bookingPresentation, ci as eventDateOptions, es as parseMailchimpAudienceId, gt as resolveEventRequiresPayment, i as buildPassesMembershipsDisplay, ja as eventLayoutSchema, jr as computeMediaTransformStyle, jt as toWholeSeriesRegistrationEvent, k as registrationStepLabelContext, ka as eventCalendarDefaultViewSchema, ko as defineProgressiveBlockRuntime, kr as ImagePresets, li as eventLocalDateKey, ls as publicEventPricingCurrency, mt as findPreSelectedEvent, n as buildCartDisplay, no as resolveEventRegistrationScopedEvents, ns as parseNewsletterListId, o as buildProductDetailDisplay, oi as eventCalendarWeekStart, os as formatBookingPriceDisplay, pi as formatEventCompactDateRail, qa as pageNavigationSchema, qn as withOccurrenceTitle, qo as resolveWholeSeriesBookingPhase, r as buildCheckoutDisplay, s as buildProductListDisplay, si as eventDateLocale, ss as formatEventPricing, to as resolveEventRegistrationChoices, ts as parseMailchimpInterestId, us as publicEventPricingDisplay, vo as formatRemainingPlaces, wo as selectEventCapacitySource, wr as shownVenue, x as resolveSelectedProduct, xr as placesLeftLabel, zn as formatRegistrationSchedule } from "./display-D1oVR5Eh.mjs";
|
|
4
|
+
import { At as publicEventLoaderQuerySchemaShape, C as eventCalendarListGroupingDecision, Ct as purchasablePublicMembershipProductSchema, Dt as eventScheduleScopeValues, E as eventListArrangementValues, G as publicEventDestinationSchema, Jt as formatDate, Kt as buildBookingUtcDateWindow, Ot as eventSurfacePresetValues, St as publicProductSchema, T as eventCalendarVariantMeaning, Yt as formatDateRange, _n as resolveBookingTimeZoneId, b as calendarWindowPageSchema, bt as publicMembershipProductSchema, dn as getLocalScheduleDate, en as formatTime, fn as parseBookingLocalDate, gn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, kt as eventSurfaceScopeValues, l as blockSiteTermsSchema, mn as parseUtcIsoDateTimeString, n as assertNever, q as publicEventSchema, rn as inferSiteDateLocale, wt as purchasablePublicPassProductSchema, xt as publicPassProductSchema } from "./noop-D11X-B6n.mjs";
|
|
5
5
|
import { S as getBookingInstalmentProtectedDepositAmountCents, T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
|
-
import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-
|
|
7
|
-
import { Bt as toNonEmptyReadonlyArray, Ot as assertNever$2, S as resolveModeArrangement, i as lookListPresentationSchemaShape, in as cardRoleSchema, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-
|
|
6
|
+
import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-uwCpbHXG.mjs";
|
|
7
|
+
import { Bt as toNonEmptyReadonlyArray, Ot as assertNever$2, S as resolveModeArrangement, i as lookListPresentationSchemaShape, in as cardRoleSchema, r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
8
8
|
import { S as clsx, h as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
9
|
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
10
10
|
import "react";
|
|
@@ -2525,33 +2525,6 @@ function isCancelledOrdinaryDate(event) {
|
|
|
2525
2525
|
return event.bookingScope === "single_occurrence" && (event.status === "cancelled" || event.bookingAvailability.kind === "closed" && (event.bookingAvailability.reason === "occurrence_cancelled" || event.bookingAvailability.reason === "series_cancelled"));
|
|
2526
2526
|
}
|
|
2527
2527
|
//#endregion
|
|
2528
|
-
//#region ../blocks/src/system/runtime/nodes/event-registration/closedRunCopy.ts
|
|
2529
|
-
const copy = {
|
|
2530
|
-
cancelled: {
|
|
2531
|
-
titleText: "These dates have been cancelled",
|
|
2532
|
-
bodyText: "These dates are no longer going ahead. If you had a place booked, the organiser will be in touch."
|
|
2533
|
-
},
|
|
2534
|
-
"in-progress": {
|
|
2535
|
-
titleText: "Bookings for these dates have closed",
|
|
2536
|
-
bodyText: "Booking closed when the first session began. The organiser may still be able to help if you would like to join."
|
|
2537
|
-
},
|
|
2538
|
-
completed: {
|
|
2539
|
-
titleText: "These dates have finished",
|
|
2540
|
-
bodyText: "The details are kept here for reference."
|
|
2541
|
-
},
|
|
2542
|
-
"enrolment-closed": {
|
|
2543
|
-
titleText: "Booking closed",
|
|
2544
|
-
bodyText: "Bookings are no longer being taken for these dates."
|
|
2545
|
-
},
|
|
2546
|
-
"no-sessions": {
|
|
2547
|
-
titleText: "No dates are currently scheduled",
|
|
2548
|
-
bodyText: "There are no dates to book at the moment. The organiser may add more, and anything already booked still stands."
|
|
2549
|
-
}
|
|
2550
|
-
};
|
|
2551
|
-
function closedRunCopy(reason) {
|
|
2552
|
-
return copy[reason];
|
|
2553
|
-
}
|
|
2554
|
-
//#endregion
|
|
2555
2528
|
//#region ../blocks/src/system/blocks/event-registration.shared.ts
|
|
2556
2529
|
/**
|
|
2557
2530
|
* Flat occurrence context passed from `PageRenderer.$root.occurrenceContext`.
|
|
@@ -3571,7 +3544,7 @@ function closedRegistrationCopy(source, events) {
|
|
|
3571
3544
|
if (hasCancelledRegistrationDate(events, source.occurrenceContext?.id)) return cancelledDateCopy;
|
|
3572
3545
|
const selectedRun = resolveSelectedWholeSeriesRun(events);
|
|
3573
3546
|
const phase = selectedRun ? resolveWholeSeriesBookingPhase(selectedRun.run, new Date(source.now)) : null;
|
|
3574
|
-
return phase?.kind === "closed" ? closedRunCopy(phase.reason) : null;
|
|
3547
|
+
return phase?.kind === "closed" ? closedRunCopy(phase.reason, selectedRun?.run) : null;
|
|
3575
3548
|
}
|
|
3576
3549
|
function buildEventRegistrationShellStepLabels(source, scopedSourceEvents) {
|
|
3577
3550
|
const selectedRun = resolveSelectedWholeSeriesRun(scopedSourceEvents);
|
|
@@ -4941,4 +4914,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
4941
4914
|
};
|
|
4942
4915
|
}
|
|
4943
4916
|
//#endregion
|
|
4944
|
-
export { resolveOfferingsPreviewGroups as $,
|
|
4917
|
+
export { resolveOfferingsPreviewGroups as $, buildEventListWeek as $t, formInteractiveIslandPropsCodec as A, parseContentVersionId as An, getEventIdentity as At, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as B, catalogueEventCardProps as Bt, newsletterFormInteractiveIslandPropsCodec as C, splitSiteChromePlacementClasses as Cn, combinedLookSchema as Ct, publicGiftingOffersResponseSchema as D, parseMailingListVisitorSelection as Dn, createInitialEventPaginationLoadState as Dt, giftingInteractiveIslandPropsCodec as E, parseMailingListPlacementTargeting as En, eventListingInteractiveIslandPropsCodec as Et, eventRegistrationInteractiveIslandPropsCodec as F, buildEventRuntimeFilters as Ft, groupOfferingRunsByCourse as G, resolveCardListSchedule as Gt, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as H, CardListContentPart as Ht, resolveEventRegistrationEventSource as I, getEventRuntimeFiltersKey as It, normalizeOfferingsPreviewItemLimit as J, EventQuickFacts as Jt, isOfferingsPreviewSourceKey as K, selectCardListPresentation as Kt, offeringNounForEvent as L, normalizeCsvIds as Lt, buildEventRegistrationInteractiveIslandProps as M, planEventPageOperation as Mt, displayButtonText as N, toEventPaginationLoadError as Nt, buildFormInteractiveIslandProps as O, DEFAULT_MAILING_LIST_TARGETING as On, eventPageOperationQuery as Ot, eventRegistrationBlockRuntime as P, toError as Pt, resolveOfferingsPreviewGroupCta as Q, Grid as Qt, DEFAULT_GROUP_CTA as R, normalizeCsvString as Rt, newsletterFormBlockRuntime as S, planSiteChromePlacement as Sn, recurringScheduleProjectionSchema as St, giftingBlockRuntime as T, assessMailingListTargeting as Tn, eventListingBlockRuntime as Tt, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as U, CardListLeadDate as Ut, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as V, listingEventCardProps as Vt, buildOfferingsPreviewListing as W, cardListPresentationSchemaShape as Wt, offeringsListingFor as X, getCardOrientation as Xt, offeringRunLifecycle as Y, quickFactSlots as Yt, readOfferingsGrouping as Z, getContainerClass as Zt, shopProductPresentation as _, headerChromeRuntimeContractSchema as _n, buildEventCalendarListingDisplay as _t, buildShopInteractiveIslandProps as a, formatEventDepositNote as an, bookingEntryProgress as at, buildNewsletterFormInteractiveIslandProps as b, staticHeaderChromeRuntime as bn, eventCalendarInteractiveIslandPropsCodec as bt, checkoutBlockRuntime as c, formatEventPriceDisplay as cn, formatBookingSchedulePresentation as ct, productDetailBlockRuntime as d, normalizeEventScheduleScope as dn, hasCancelledRegistrationDate as dt, eventListWeekDays as en, resolveOfferingsRenderInput as et, productDetailInteractiveIslandPropsCodec as f, normalizeEventStaffMemberId as fn, buildEventCombinedInteractiveIslandProps as ft, shopInteractiveIslandPropsCodec as g, resolveEventSelection as gn, buildEventCalendarInteractiveIslandProps as gt, shopBlockRuntime as h, normalizeEventVenueId as hn, eventCombinedInteractiveIslandPropsCodec as ht, buildProductListInteractiveIslandProps as i, formatCoursePrice as in, bookingEntry as it, buildEventRegistrationDisplayFromScopedEvents as j, unsafeAsContentEntryId as jn, getEventPaginationView as jt, formBlockRuntime as k, sameMailingListPlacementTargeting as kn, eventPaginationLoadReducer as kt, checkoutInteractiveIslandPropsCodec as l, formatEventStartingPrice as ln, occurrenceContextSchema as lt, productListInteractiveIslandPropsCodec as m, normalizeEventSurfaceScope as mn, eventCombinedBlockRuntime as mt, buildCheckoutInteractiveIslandProps as n, groupEventsByWeek as nn, bookingBarPlacement as nt, cartBlockRuntime as o, formatEventPrice as on, bookingPanelHeading as ot, productListBlockRuntime as p, normalizeEventSurfacePresets as pn, buildEventCombinedListingDisplay as pt, normalizeOfferingsPreviewContentForWrite as q, MediaNodeServer as qt, buildProductDetailInteractiveIslandProps as r, weekColumnDays as rn, bookingCardEntry as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceAmount as sn, courseTitleOf as st, buildCartInteractiveIslandProps as t, eventWeekGroupingContext as tn, DEFAULT_BOOKING_BUTTON_TEXT as tt, getShopDisplayForItems as u, normalizeEventCategoryIds as un, cancelledDateCopy as ut, publicProductsResponseSchema as v, isHeaderScrollRuntimeEnabled as vn, buildEventCalendarListingRender as vt, buildGiftingInteractiveIslandProps as w, buildMailingListSignupBlockSourceRef as wn, buildEventListingInteractiveIslandProps as wt, newsletterBlockSubmissionMessage as x, parseHeaderPositioning as xn, projectRecurringSchedule as xt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as y, resolveHeaderChromeRuntimeContract as yn, eventCalendarBlockRuntime as yt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as z, normalizeOptionalId as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CJIz4FdL.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-Bok1Oy50.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1663,11 +1663,12 @@ function renderCalendarFeedIcs(feed, timezoneGenerator) {
|
|
|
1663
1663
|
language: "EN"
|
|
1664
1664
|
},
|
|
1665
1665
|
timezone: feed.timezone === "UTC" ? null : {
|
|
1666
|
-
name:
|
|
1666
|
+
name: null,
|
|
1667
1667
|
generator: timezoneGenerator
|
|
1668
1668
|
},
|
|
1669
1669
|
url: feed.url ?? null
|
|
1670
1670
|
});
|
|
1671
|
+
if (feed.timezone !== "UTC") calendar.x("X-WR-TIMEZONE", feed.timezone);
|
|
1671
1672
|
const generatedAt = /* @__PURE__ */ new Date();
|
|
1672
1673
|
feed.entries.forEach((entry) => calendar.createEvent(calendarEvent(entry, generatedAt)));
|
|
1673
1674
|
return calendar.toString();
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { $r as parseInlineTextFromUnknown, Ba as resolveDateRuntimeContext, Co as isEventFull, Or as RichText, Qr as isInlineTextEmpty, Si as resolveEventTimeZone, _o as formatEventRemainingPlaces, ci as eventDateOptions, fi as formatEventClockLabel, vi as formatEventTimeRange, xi as groupEventsByDate, xo as getEventAvailabilityStatus } from "./display-D1oVR5Eh.mjs";
|
|
3
|
+
import { Jt as formatDate, an as formatBookingCompactEnglishTime, on as toScheduledBookingDateTime, pn as parseLocalScheduleTime } from "./noop-D11X-B6n.mjs";
|
|
4
4
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
5
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
6
|
-
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-
|
|
5
|
+
import { t as LocationMapActions } from "./LocationMapActions-CiMtl1Ha.mjs";
|
|
6
|
+
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-uwCpbHXG.mjs";
|
|
7
7
|
import { q as textColorStyle } from "./accessibleSurfaces-DN8it_Cx.mjs";
|
|
8
8
|
import { C as parseThemeButtonVariantId, S as clsx, i as ThemedButtonLink, n as ThemedAuthoredButton, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
9
|
-
import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-
|
|
10
|
-
import { l as formatEventTeacherLine } from "./EventItem-
|
|
11
|
-
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
12
|
-
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-
|
|
13
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
+
import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-DBEU9IA9.mjs";
|
|
10
|
+
import { l as formatEventTeacherLine } from "./EventItem-b8tVkNHA.mjs";
|
|
11
|
+
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-qXvsFYOg.mjs";
|
|
12
|
+
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-BCZa3dpf.mjs";
|
|
13
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-COnKrLO7.mjs";
|
|
14
14
|
import "react";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
16
|
//#region ../core/src/opening-hours.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Jt as formatDate$1, Ut as capitalize, _n as resolveBookingTimeZoneId, dn as getLocalScheduleDate, en as formatTime$1, fn as parseBookingLocalDate, ln as formatLocalScheduleDate, mn as parseUtcIsoDateTimeString, n as assertNever, sn as addLocalScheduleDays } from "./noop-D11X-B6n.mjs";
|
|
3
3
|
import { D as unsafeAsAppointmentResourceId } from "./creditProducts-BQ1t1erI.mjs";
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
4
|
+
import { n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
5
5
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
6
6
|
function clientPersonPhrases(noun) {
|
|
7
7
|
if (noun == null) return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { g as getAutoAppliedDiscountPreview, h as discountAvailabilityHasDiscounts, m as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { g as getAutoAppliedDiscountPreview, h as discountAvailabilityHasDiscounts, m as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-Olvrwi3Z.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { At as
|
|
3
|
-
import {
|
|
4
|
-
import { n as assertNever } from "./noop-
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
-
import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-
|
|
2
|
+
import { At as getEventIdentity, Dt as createInitialEventPaginationLoadState, It as getEventRuntimeFiltersKey, Lt as normalizeCsvIds, Mt as planEventPageOperation, Nt as toEventPaginationLoadError, Ot as eventPageOperationQuery, Pt as toError, Rt as normalizeCsvString, jt as getEventPaginationView, kt as eventPaginationLoadReducer, zt as normalizeOptionalId } from "./shop.interactive-D7wky1GL.mjs";
|
|
3
|
+
import { Ua as getBlockApiReadStage } from "./display-D1oVR5Eh.mjs";
|
|
4
|
+
import { n as assertNever } from "./noop-D11X-B6n.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-CJIz4FdL.mjs";
|
|
6
|
+
import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
7
7
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
8
|
-
import { r as EventItem } from "./EventItem-
|
|
9
|
-
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
8
|
+
import { r as EventItem } from "./EventItem-b8tVkNHA.mjs";
|
|
9
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-CdjiepMf.mjs";
|
|
10
10
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Ht as CardListContentPart, Jt as EventQuickFacts, an as formatEventDepositNote, cn as formatEventPriceDisplay, ct as formatBookingSchedulePresentation, in as formatCoursePrice, on as formatEventPrice, qt as MediaNodeServer, sn as formatEventPriceAmount } from "./shop.interactive-D7wky1GL.mjs";
|
|
3
|
+
import { Co as isEventFull, Er as closedRunCopy, Go as nextLiveRunSessionStartMs, Ko as orderedLiveRunSessions, Wo as CANCELLED_SESSION_STATUS, _i as formatEventRunDates, _o as formatEventRemainingPlaces, bi as formatTime, bo as getEventAvailability, ci as eventDateOptions, cs as isPublicEventPricingOptionDisplayable, fs as publicEventPricingType, ii as formatEventLocation, kr as ImagePresets, ls as publicEventPricingCurrency, mi as formatEventDateParts, mo as isBookableEvent, no as resolveEventRegistrationScopedEvents, os as formatBookingPriceDisplay, pi as formatEventCompactDateRail, ps as resolveExactOrFreePriceDisplay, qo as resolveWholeSeriesBookingPhase, ri as eventVenuePlace, rs as EVENT_ADDRESS_AFTER_BOOKING_LABEL, ti as eventOnlinePlace, us as publicEventPricingDisplay, vi as formatEventTimeRange, xo as getEventAvailabilityStatus, yo as formatTotalCapacity } from "./display-D1oVR5Eh.mjs";
|
|
4
|
+
import { Jt as formatDate, Yt as formatDateRange, Zt as formatDateTimeRange, cn as compareLocalScheduleDates, dn as getLocalScheduleDate, gn as resolveBookingBusinessTimeZone, hn as toUtcIsoDateTimeString, on as toScheduledBookingDateTime, un as getBookingLocalDateKey, vn as toBookingTimeZone } from "./noop-D11X-B6n.mjs";
|
|
5
5
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
6
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
7
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
8
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
9
|
-
import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-
|
|
10
|
-
import { n as MapDrawingSvg } from "./MapDrawingSvg-
|
|
7
|
+
import { t as LocationMapActions } from "./LocationMapActions-CiMtl1Ha.mjs";
|
|
8
|
+
import { r as listLookSlot } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
9
|
+
import { a as formatMoreDates, c as resolveEventLinkProps, i as formatCourseSessions, o as resolveEventCardBooking, t as eventDisplayTitle } from "./course-DBEU9IA9.mjs";
|
|
10
|
+
import { n as MapDrawingSvg } from "./MapDrawingSvg-BCZa3dpf.mjs";
|
|
11
11
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -62,8 +62,8 @@ function selectEventDetailsCandidate(events, requested, nowIso) {
|
|
|
62
62
|
* Sorting before deduplication means a duplicate occurrence keeps its earliest
|
|
63
63
|
* deterministic representation.
|
|
64
64
|
*/
|
|
65
|
-
function selectQuickDateEvents(events) {
|
|
66
|
-
return orderedUniqueEventOccurrences(events.filter((event) => event.bookingScope !== "whole_series" && isBookableEvent(event))).slice(0, 4);
|
|
65
|
+
function selectQuickDateEvents(events, now) {
|
|
66
|
+
return orderedUniqueEventOccurrences(events.filter((event) => event.bookingScope !== "whole_series" && isBookableEvent(event, now))).slice(0, 4);
|
|
67
67
|
}
|
|
68
68
|
/** Shared ordering and identity selection, independent of booking capacity. */
|
|
69
69
|
function orderedUniqueEventOccurrences(events) {
|
|
@@ -1083,6 +1083,7 @@ function bookingClosedReason(reason) {
|
|
|
1083
1083
|
case "cancelled": return "These dates have been cancelled.";
|
|
1084
1084
|
case "in-progress": return "Bookings closed when the first session began.";
|
|
1085
1085
|
case "completed": return "These dates have finished.";
|
|
1086
|
+
case "bookings-closed":
|
|
1086
1087
|
case "enrolment-closed": return "Bookings for these dates have closed.";
|
|
1087
1088
|
case "no-sessions": return "No dates are currently scheduled.";
|
|
1088
1089
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as membershipCardListContent, f as membershipClassesLabel, p as passCardListContent } from "./display-
|
|
3
|
-
import { r as listLookSlot } from "./lookSurfaces-
|
|
2
|
+
import { d as membershipCardListContent, f as membershipClassesLabel, p as passCardListContent } from "./display-D1oVR5Eh.mjs";
|
|
3
|
+
import { r as listLookSlot } from "./lookSurfaces-C2VzJfyG.mjs";
|
|
4
4
|
import { r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-b8tVkNHA.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/nodes/commerce/shared/view.tsx
|
package/dist/preview-next/client/{PageSectionToolbar-D6-jojqh.mjs → PageSectionToolbar-D-Le7O3o.mjs}
RENAMED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { r as __toESM, t as __commonJSMin } from "./rolldown-runtime-CE6sIgz8.mjs";
|
|
3
|
-
import { $
|
|
3
|
+
import { $i as readThemeScopeContext, $s as Spinner, Ac as __rest, Cc as usePortalContainer, Dc as __extends, Di as resolveImageUrlWithContext, E as selectedImageFromRenderableAsset, Ec as __awaiter, F as lookTilePosition, Fl as surfaceForegroundValue, Gl as normalizeRightAngle, Gs as unwrapResponse, Jl as resolveMediaTransformForAspect, Jo as getCuratedSiteStyle, Kl as formatAspectRatioToken, Ks as selectedCanvasBlockId, L as nextLookTilePin, Mc as __spreadArrays, Oc as __generator, Oi as resolveMediaStorageUrl, P as lookPositionLabel, Qa as RichTextDocSchema, Qc as useControllableState, S as pageDesignLookPosition, So as truncateInlineText, T as selectedImageFromMediaValue, Tc as __assign, Ti as computeMediaTransformStyle, Wc as useSize, Wl as isRotationDimensionSwap, Xl as getImageUrl, Xs as Callout, Yl as getDirectImageUrlForMediaAsset, _o as normalizeInlineTextMarks, _s as assertNever$1, ac as DialogHeader, bn as useEditorUiStore, bo as removeInlineTextMarkFromRange, cc as overlayScrimClass, co as applyInlineTextMarkToRange, dc as DialogContent, dl as useComposedRefs, do as inlineTextAccentTones, ec as Dialog, el as createContextScope, eo as richTextVariantCapabilities, es as gradientToCss, fc as DialogDescription, fd as unsafeAsMediaAssetId, fl as cn$2, fo as inlineTextEqual, fu as authoredValuesEqual, go as normalizeInlineText, hc as DialogTitle, i as usePreviewSidebarNavigation, il as Button, iu as mediaIdentifierSchema, j as usePreviewRenderBackgrounds, jc as __spreadArray, kc as __read, ki as SECTION_BACKGROUND_MIN_SOURCE_WIDTH, mc as DialogPortal, mo as inlineTextToPlainText, nc as DialogContent$1, nl as Primitive, ns as getGradientPreset, nu as resolveManagedMediaReference, o as usePreviewPageDesignEditorState, oc as DialogTitle$1, ol as useControlReadiness, on as getDashboardBaseUrl, pc as DialogOverlay, pd as unsafeAsPositiveByteCount, po as inlineTextHighlightTones, pu as generateUuidV4, ql as parseAspectRatioValue, rc as DialogDescription$1, ri as getBlockDefinition, rr as defaultBackgroundOverrideForMode, sl as cva, td as unsafeAsEditorBlockId, tl as composeEventHandlers, tr as backgroundColorTokens, uc as DialogClose, ud as assertNever, ur as rankBackgroundImagePoolItems, uu as asLayoutVariantKey, wi as getRichTextImageSize, x as cyclePageDesignBlockLook, xn as useEditorUiStoreInstance, xo as replaceInlineTextRange, yo as plainTextToInlineText } from "./previewAssistantSlot-BN93X9o1.mjs";
|
|
4
4
|
import { A as List, F as Info, G as FileSpreadsheet, Gt as err, I as Image, J as FileArchive, K as FilePlay, Kt as ok, L as ImageUp, M as Link$1, P as Italic$1, S as Palette, U as File, V as Highlighter, W as FileText, X as EyeOff, _t as Bold$1, a as Upload, c as Trash2, et as Crop, j as ListOrdered, n as X, pt as Check, q as FileHeadphone, s as TriangleAlert, xt as Archive, y as Pencil } from "./lucide-react-McYZeSMb.mjs";
|
|
5
|
-
import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-
|
|
6
|
-
import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-
|
|
5
|
+
import { At as useFieldDescribedBy, Dt as Input, E as usePreviewCompiledThemeOptional, G as TransferError, H as useMediaEditor, L as siteColourCss, S as planBlockToolbarPlacement, St as usePrevious, U as useMediaEditorOptional, W as useApiMediaUploader, _ as PreviewChromeFloatingControl, _t as Select, b as measureSiteTopChromeClearance, bt as SelectTrigger, ct as EditorCanvasChoiceChip, dt as EditorInsertionMarker, ft as EditorSelectionFrame, h as CustomizeBackgroundColorPicker, lt as EditorCanvasCycleChip, pt as CHOSEN_OPTION_CLASS, st as EditorCanvasChipRow, ut as EditorCanvasNameChip, vt as SelectContent, xt as SelectValue, y as readThemeCustomProperties, yt as SelectItem, zt as classifyKnownMimeType } from "./siteStyleAccess-BGTAcPud.mjs";
|
|
6
|
+
import { A as Tooltip, F as DropdownMenu, H as DropdownMenuTrigger, I as DropdownMenuContent, L as DropdownMenuItem, M as TooltipProvider, N as TooltipTrigger, P as Badge, a as blockNoticeAction, d as arrangementBackgroundControlFor, f as arrangementBlockControlsFor, j as TooltipContent, o as blockNoticeLabel, r as useBlockCustomizeControls, s as blockNoticeMessage, t as useOpenBlockForSetup, u as useBlockNotice } from "./useOpenBlockForSetup-CTDoR_gQ.mjs";
|
|
7
7
|
import * as React$1 from "react";
|
|
8
8
|
import React, { Component, createContext, createRef, forwardRef, useCallback, useContext, useDebugValue, useEffect, useId, useImperativeHandle, useLayoutEffect, useMemo, useRef, useState } from "react";
|
|
9
9
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|