@riverbankcms/sdk 0.175.0 → 0.176.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-hb2IWD8K.d.ts → BlocksIslandsHydrator-DvoTk7Py.d.ts} +1 -1
- package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-D-l374tU.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
- package/dist/_dts/{client-B6tCvmG4.d.ts → client-D4p0J1lK.d.ts} +1 -1
- package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
- package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
- package/dist/_dts/{index-CQUzwOxO.d.ts → index-CKkkCgb6.d.ts} +1 -1
- package/dist/_dts/{index-Bl5_pjmq.d.ts → index-CoLcwjqJ.d.ts} +1 -1
- package/dist/_dts/{index-_pXaCO12.d.ts → index-D-ai8IQd.d.ts} +4 -4
- package/dist/_dts/{index-OtazQE3U.d.ts → index-DDsfmM4d.d.ts} +2 -2
- package/dist/_dts/{index-Btp5nIoz.d.ts → index-EJMo-KSo.d.ts} +2 -2
- package/dist/_dts/{index-DmhFb6R1.d.ts → index-ZKEDvLuN.d.ts} +1 -1
- package/dist/_dts/{index-YRQulWB4.d.ts → index-tcPtGdag.d.ts} +3 -3
- package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
- package/dist/_dts/{request-BT8i_vH-.d.ts → request-B8jVdvgI.d.ts} +374 -24
- package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-Be4iL6-F.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 -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 +3 -3
- 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/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 +5 -177
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- 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-CXL1QJSY.d.ts → types-BXMX4z2j.d.ts} +7 -7
- package/dist/_dts/{types-C0XZnjXz.d.ts → types-DXY64Xh4.d.ts} +4 -4
- package/dist/_dts/{types-OKzbqRBx.d.ts → types-lwSgCWZ4.d.ts} +11 -2
- package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-C5xp--Fu.d.ts} +7 -4
- package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
- package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
- package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
- package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
- package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
- package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
- package/dist/client/{Page-CWN_8cLZ.mjs → Page-F3lhDvw1.mjs} +329 -268
- package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
- package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
- package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
- package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
- package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +36 -3
- package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
- package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
- package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
- package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
- package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -4
- package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
- package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
- package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
- package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
- package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
- package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
- package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -22
- package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
- package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
- package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
- package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
- package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
- package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
- package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
- package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
- package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
- package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
- package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-0xyUPWUB.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +38 -35
- package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +77 -47
- package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +436 -278
- package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-DbKozRSn.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +16 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BYezcMx5.mjs} +8 -0
- package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
- package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
- package/dist/server/{client-CgghATBm.mjs → client-Bvag5OtW.mjs} +35 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
- package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
- package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
- package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-D23o5QgC.mjs} +111 -66
- package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-BuoXWT9y.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
- 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 +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-3puM5SM8.mjs → validation-CozQ7wE0.mjs} +4 -4
- package/dist/server/{version-B8g-Wx57.mjs → version-CgCWRFEY.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { xn as staticHeaderChromeRuntime } from "../shop.interactive-
|
|
3
|
+
import { xn as staticHeaderChromeRuntime } from "../shop.interactive-CxDJ8P2r.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
5
|
-
import { Ar as renderVideo, Dr as computeMediaTransformStyle, Er as MediaPlaceholder, Or as mediaImageHostProps, Pr as resolveMediaNodeResponsiveImage, Tr as ImagePresets, kr as renderAudio, wr as RichText } from "../display-
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
8
|
-
import {
|
|
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 renderVideo, Dr as computeMediaTransformStyle, Er as MediaPlaceholder, Or as mediaImageHostProps, Pr as resolveMediaNodeResponsiveImage, Tr as ImagePresets, kr as renderAudio, wr as RichText } from "../display-4HYOb-AK.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-B8ohIj13.mjs";
|
|
7
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-DWvSODTI.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-CIWYKz1V.mjs";
|
|
9
|
+
import { f as Text } from "../timetableModel--R0zVzZO.mjs";
|
|
10
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-BGu_2F50.mjs";
|
|
11
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-R9p5c8IH.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-GHTWUKD6.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-DkPBFb_a.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-BwjBJP-f.mjs";
|
|
20
|
+
import { t as ProductListClient } from "../product-list.client-Duhl6rtL.mjs";
|
|
21
|
+
import { t as ProductDetailClient } from "../product-detail.client-Di_anRGR.mjs";
|
|
22
|
+
import { t as CartClient } from "../cart.client-c1YkTC-Q.mjs";
|
|
23
|
+
import { t as CheckoutClient } from "../checkout.client-BeU32khQ.mjs";
|
|
24
|
+
import { t as GiftingClient } from "../gifting.client-B__bGhFc.mjs";
|
|
25
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DEYDI54E.mjs";
|
|
26
|
+
import { t as EventListingClient } from "../EventListing.client-CWk2NEwd.mjs";
|
|
27
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-BTrmSyUB.mjs";
|
|
28
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-BSMuSqg0.mjs";
|
|
29
|
+
import { t as FormNodeClient } from "../form.client-BVlz-9_t.mjs";
|
|
30
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-B17WYHxZ.mjs";
|
|
31
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CeYQQQs7.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 { Mn as unsafeAsContentEntryId } from "./shop.interactive-
|
|
2
|
+
import { Mn as unsafeAsContentEntryId } from "./shop.interactive-CxDJ8P2r.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 { Dr as computeMediaTransformStyle,
|
|
5
|
-
import { Ft as EVENT_PRESET_VALUES, Pt as isRecord, dt as runtimeMediaSchema,
|
|
6
|
-
import { $ as
|
|
7
|
-
import {
|
|
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 { $o as offeringLabelForPageSurfaceSubject, Dr as computeMediaTransformStyle, Fa as readRuntimeNow, Ia as resolveDateRuntimeContext, Mr as resolveImageUrl$1, Nr as resolveImageUrlWithContext$1, Xr as plainTextToInlineText, Yr as parseInlineTextFromUnknown, jr as resolveImageSourceSetWithContext$1, ko as sanitizeHref, ps as unsafeAsEventCategoryId, qr as inlineTextToPlainText, wr as RichText$2 } from "./display-4HYOb-AK.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-CaQxI-Js.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-F3lhDvw1.mjs";
|
|
7
|
+
import { Bn as resolveRepeaterGridRowFieldId, Kn as isCanonicalRichTextDoc, Vn as resolveRepeaterGridSpanFieldId, zn as resolveRepeaterGridColumnFieldId, zt as parseFieldDefinition } from "./registry.server-CIWYKz1V.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-BwiNdgMU.mjs";
|
|
9
|
+
import { l as parseBackgroundContent } from "./boxStyleClassNames-B_hcuT06.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";
|
|
@@ -671,6 +671,36 @@ function buildFooterRenderablePageOutline(siteData, blocks) {
|
|
|
671
671
|
customBlocks: resolveSiteCustomBlocks(siteData)
|
|
672
672
|
});
|
|
673
673
|
}
|
|
674
|
+
function footerLoaderInputs(siteData, options) {
|
|
675
|
+
return {
|
|
676
|
+
page: projectRenderablePageOutline(buildFooterRenderablePageOutline(siteData, siteData.footerBlocks ?? [])),
|
|
677
|
+
context: {
|
|
678
|
+
siteId: siteData.site.id,
|
|
679
|
+
previewStage: options.previewStage ?? "published",
|
|
680
|
+
root: {
|
|
681
|
+
now: toUtcIsoDateTimeString((/* @__PURE__ */ new Date()).toISOString()),
|
|
682
|
+
bookingTimeZone: siteData.bookingTimeZone
|
|
683
|
+
}
|
|
684
|
+
}
|
|
685
|
+
};
|
|
686
|
+
}
|
|
687
|
+
/**
|
|
688
|
+
* Run the loaders of a site's footer blocks, for a footer `PageRenderer`.
|
|
689
|
+
*
|
|
690
|
+
* A custom footer callback calls this itself and passes the result in its data
|
|
691
|
+
* context, or hands it to `Layout` as `footerBlockData`. Without it, a map in the
|
|
692
|
+
* footer that needs a venue or the business address is left out for visitors.
|
|
693
|
+
*/
|
|
694
|
+
async function prefetchFooterBlockData(client, siteData, options = {}) {
|
|
695
|
+
const { page, context } = footerLoaderInputs(siteData, options);
|
|
696
|
+
return prefetchBlockDataWithFailures(page, context, client, { customBlocks: resolveSiteCustomBlocks(siteData) });
|
|
697
|
+
}
|
|
698
|
+
/** Whether a footer needs `prefetchFooterBlockData`, for the warning `Layout` gives when it can't run it. */
|
|
699
|
+
function footerBlocksNeedLoaders(siteData, options = {}) {
|
|
700
|
+
const { page, context } = footerLoaderInputs(siteData, options);
|
|
701
|
+
const supported = SUPPORTED_LOADER_ENDPOINTS;
|
|
702
|
+
return planBlockDataRequests(page, context, { isValidEndpoint: (endpoint) => supported.includes(endpoint) }).blocks.some((block) => block.requests.length > 0);
|
|
703
|
+
}
|
|
674
704
|
//#endregion
|
|
675
705
|
//#region src/rendering/components/Layout.tsx
|
|
676
706
|
/**
|
|
@@ -761,7 +791,7 @@ async function Layout(props) {
|
|
|
761
791
|
const header = props.header ?? true;
|
|
762
792
|
const footer = props.footer ?? true;
|
|
763
793
|
const siteData = await resolveLayoutSiteData(props);
|
|
764
|
-
const { site, navigation, layout, routes
|
|
794
|
+
const { site, navigation, layout, routes } = siteData;
|
|
765
795
|
const navigationOptions = {
|
|
766
796
|
hasPortalSession,
|
|
767
797
|
previewStage,
|
|
@@ -787,7 +817,8 @@ async function Layout(props) {
|
|
|
787
817
|
legalFooterMenu: legalFooterMenuViewModel,
|
|
788
818
|
...chromeLogoContent,
|
|
789
819
|
site,
|
|
790
|
-
routes
|
|
820
|
+
routes,
|
|
821
|
+
footerBlocks: await prepareFooterBlocks(props, siteData, previewStage)
|
|
791
822
|
};
|
|
792
823
|
if (isOverrideOnlyLayout(props)) return renderOverrideOnlyLayout(props, {
|
|
793
824
|
header: props.header ?? true,
|
|
@@ -823,10 +854,9 @@ async function Layout(props) {
|
|
|
823
854
|
} : theme;
|
|
824
855
|
const blocksThemeWithVariant = themeWithVariant;
|
|
825
856
|
const blocksTheme = theme;
|
|
826
|
-
const apiBaseUrl = resolveLayoutApiBaseUrl();
|
|
827
857
|
const sharedViewModelOverrides = {
|
|
828
858
|
$root: buildLayoutRootContext(siteData, {
|
|
829
|
-
apiBaseUrl,
|
|
859
|
+
apiBaseUrl: resolveLayoutApiBaseUrl(),
|
|
830
860
|
previewStage,
|
|
831
861
|
theme: themeWithVariant
|
|
832
862
|
}),
|
|
@@ -861,17 +891,16 @@ async function Layout(props) {
|
|
|
861
891
|
isSdkSite: Boolean(site.is_sdk_site),
|
|
862
892
|
mode: resolveSdkFooterMode(siteData.sdkConfig)
|
|
863
893
|
});
|
|
864
|
-
const
|
|
894
|
+
const footerBlocks = customFooterData.footerBlocks;
|
|
895
|
+
const footerBlocksElement = footerBlocks ? /* @__PURE__ */ jsx(PageRenderer, {
|
|
865
896
|
theme,
|
|
866
897
|
themeTokens: builtThemeRuntime.tokens,
|
|
867
898
|
headingScope: "region",
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
apiBaseUrl,
|
|
872
|
-
previewStage,
|
|
899
|
+
...footerBlocks,
|
|
900
|
+
dataContext: {
|
|
901
|
+
...footerBlocks.dataContext,
|
|
873
902
|
theme: themeWithVariant
|
|
874
|
-
}
|
|
903
|
+
},
|
|
875
904
|
sdkConfig: siteData.sdkConfig ?? null
|
|
876
905
|
}) : null;
|
|
877
906
|
if (footerPlan.renderFooterBlocks && !footerBlocksElement && true) console.debug("[sdk] Footer mode renders blocks, but footerBlocks is empty/missing", {
|
|
@@ -901,6 +930,44 @@ async function Layout(props) {
|
|
|
901
930
|
] })
|
|
902
931
|
});
|
|
903
932
|
}
|
|
933
|
+
/** Footer data is loaded once here, for the built-in footer and a custom callback alike. */
|
|
934
|
+
async function prepareFooterBlocks(props, siteData, previewStage) {
|
|
935
|
+
const footer = props.footer ?? true;
|
|
936
|
+
const blocks = siteData.footerBlocks ?? [];
|
|
937
|
+
if (footer === false || blocks.length === 0) return null;
|
|
938
|
+
if (footer === true && !siteRendersFooterBlocks(siteData)) return null;
|
|
939
|
+
return {
|
|
940
|
+
page: buildFooterRenderablePageOutline(siteData, blocks),
|
|
941
|
+
routeMap: siteData.routes,
|
|
942
|
+
dataContext: {
|
|
943
|
+
...buildLayoutRootContext(siteData, {
|
|
944
|
+
apiBaseUrl: resolveLayoutApiBaseUrl(),
|
|
945
|
+
previewStage
|
|
946
|
+
}),
|
|
947
|
+
...footerLoaderContext(await resolveFooterBlockData(props, siteData, previewStage))
|
|
948
|
+
}
|
|
949
|
+
};
|
|
950
|
+
}
|
|
951
|
+
function siteRendersFooterBlocks(siteData) {
|
|
952
|
+
return resolveFooterRenderPlan({
|
|
953
|
+
isSdkSite: Boolean(siteData.site.is_sdk_site),
|
|
954
|
+
mode: resolveSdkFooterMode(siteData.sdkConfig)
|
|
955
|
+
}).renderFooterBlocks;
|
|
956
|
+
}
|
|
957
|
+
function footerLoaderContext(data) {
|
|
958
|
+
return data ? {
|
|
959
|
+
resolvedData: data.resolvedData,
|
|
960
|
+
loaderFailures: data.loaderFailures,
|
|
961
|
+
loaderSnapshot: data.loaderSnapshot,
|
|
962
|
+
prefetchedBlockData: data
|
|
963
|
+
} : {};
|
|
964
|
+
}
|
|
965
|
+
/** Requiring a client would break every `siteData` caller, so an unloaded footer block is left out instead. */
|
|
966
|
+
async function resolveFooterBlockData(props, siteData, previewStage) {
|
|
967
|
+
if (props.footerBlockData) return props.footerBlockData;
|
|
968
|
+
if (props.client) return prefetchFooterBlockData(props.client, siteData, { previewStage });
|
|
969
|
+
if (footerBlocksNeedLoaders(siteData, { previewStage })) console.warn("[sdk] Layout has footer blocks that load data, but no client or footerBlockData, so they will not show. Pass client, or footerBlockData from prefetchFooterBlockData.");
|
|
970
|
+
}
|
|
904
971
|
/** Shared public facts for SDK chrome; no customer acceptance is present. */
|
|
905
972
|
function buildLayoutRootContext(siteData, input) {
|
|
906
973
|
return {
|
|
@@ -916,6 +983,7 @@ function buildLayoutRootContext(siteData, input) {
|
|
|
916
983
|
siteTerms: siteData.siteTerms,
|
|
917
984
|
mailingList: siteData.mailingList,
|
|
918
985
|
interactionContext: siteData.interactionContext,
|
|
986
|
+
siteCountry: siteData.site.siteCountry ?? null,
|
|
919
987
|
theme: input.theme
|
|
920
988
|
};
|
|
921
989
|
}
|
|
@@ -3763,7 +3831,7 @@ async function loadContentFromContentResponseWithDeps(deps, params) {
|
|
|
3763
3831
|
const { client, siteId, site, contentResponse, preview = false, dataLoaderOverrides, searchParams } = params;
|
|
3764
3832
|
const previewStage = preview ? "preview" : "published";
|
|
3765
3833
|
const blockDataPolicy = createBlockDataLoadPolicy(dataLoaderOverrides, normalizeDataLoaderSearchParams(searchParams));
|
|
3766
|
-
const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets)
|
|
3834
|
+
const support = buildSiteRenderSupport(site, collectMediaAssetSidecar(contentResponse.mediaAssets));
|
|
3767
3835
|
const templateContentSupport = toTemplateContentRenderSupport(support, siteId);
|
|
3768
3836
|
if (isEntryResponse(contentResponse)) {
|
|
3769
3837
|
const entryData = contentResponse.entry;
|
|
@@ -3986,9 +4054,6 @@ function isEntryResponse(response) {
|
|
|
3986
4054
|
function isPageSurfaceResponse(response) {
|
|
3987
4055
|
return response.type === "pageSurface";
|
|
3988
4056
|
}
|
|
3989
|
-
function contentLocationSupport(response) {
|
|
3990
|
-
return "page" in response ? response.locationMapSupport : void 0;
|
|
3991
|
-
}
|
|
3992
4057
|
//#endregion
|
|
3993
4058
|
//#region src/contracts/rendering.ts
|
|
3994
4059
|
const ImagePresets = {
|
|
@@ -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-CaQxI-Js.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 { Ra as createHostedBlockApiConfig } from "./display-4HYOb-AK.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-y3LvxaiG.mjs";
|
|
3
|
+
import { t as ShopClient } from "./shop.client-GHTWUKD6.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-Be9QJJpT.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, wr as RichText, y as productItemKey } from "./display-
|
|
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-CxDJ8P2r.mjs";
|
|
3
|
+
import { _ as deriveCommerceCheckoutState, a as buildProductCardDisplay, c as formatCommercePrice, g as buildProductCartItem, o as buildProductDetailDisplay, wr as RichText, y as productItemKey } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { n as assertNever, o as clearWorkflowFeedback, s as reportWorkflowError } from "./noop-CaQxI-Js.mjs";
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BYACYP0T.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.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-C9Ggcfx3.mjs";
|
|
9
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-DVfSUSKp.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 storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
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-DkPBFb_a.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-3foOzGWR.mjs";
|
|
15
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-tZxIm3RL.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-DOm7vx0X.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-DGcc7twO.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-4HYOb-AK.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-CaQxI-Js.mjs";
|
|
3
|
+
import { c as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-C9Ggcfx3.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 { c as formatCommercePrice, l as formatInterval, t as appliedDiscountHint
|
|
4
|
-
import { n as assertNever } from "./noop-
|
|
2
|
+
import { _ as shopProductPresentation } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { Oi as getShopSuccessCopy, c as formatCommercePrice, l as formatInterval, t as appliedDiscountHint } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { n as assertNever } from "./noop-CaQxI-Js.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-BYACYP0T.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.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-C9Ggcfx3.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-I_mXI9Yd.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 storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
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-3foOzGWR.mjs";
|
|
19
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-tZxIm3RL.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-DOm7vx0X.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-CF6FWCoo.mjs";
|
|
23
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-DGcc7twO.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 { At as publicEventLoaderQuerySchemaShape, C as eventCalendarListGroupingDecision, Ct as purchasablePublicMembershipProductSchema, Dt as eventScheduleScopeValues, E as eventListArrangementValues, G as publicEventDestinationSchema,
|
|
3
|
+
import { Aa as registrationButtonVariantSchema, Ar as renderVideo, At as toWholeSeriesRegistrationEvent, Bo as nextLiveRunSessionStartMs, C as getEventSelectionMode, Ca as columnOptionSchema, Co as defineClientOwnedBlockRuntime, Cr as shownVenue, D as registrationRoute, Da as eventLayoutSchema, Dr as computeMediaTransformStyle, Ea as eventCalendarDisplayModeSchema, Er as MediaPlaceholder, Ga as bookingPageKindSchema, Ho as resolveWholeSeriesBookingPhase, Ia as resolveDateRuntimeContext, Ja as defineInteractiveIslandMetaKeys, Jo as parseBrevoListId, Ka as buildInteractiveIslandProps, Kn as withOccurrenceTitle, Ko as DEFAULT_MAILING_LIST_PRIVACY_NOTE, La as browserReadAuthoritySchema, Lo as flexibleBalanceDueDay, Na as blockButtonRoleSchema, O as registrationStepLabel, Oa as filterAutoShowSchema, Or as mediaImageHostProps, P as isRegistrationLocked, Pn as formatBookingWhen, Pr as resolveMediaNodeResponsiveImage, Qa as resolveEventRegistrationScopedEvents, Rn as formatRegistrationSchedule, S as REGISTRATION_STEP_LABELS, Sa as calendarTabViewsSchema, So as createZodCodec, Sr as resolveRegistrationDisplay, Ta as eventCalendarDefaultViewSchema, To as isDecodeSuccess, Tr as ImagePresets, Ua as pageNavigationSchema, Uo as resolveWholeSeriesRunLifecycle, Wo as parseMailingListRuntimeContext, Xo as parseMailchimpInterestId, Ya as eventRegistrationPageSurfaceSubjectSchema, Yo as parseMailchimpAudienceId, Za as resolveEventRegistrationChoices, Zo as parseNewsletterListId, _ as deriveCommerceCheckoutState, _o as getRemainingPlaces, ai as eventLocalDateKey, as as publicEventPricingDisplay, br as placesLeftLabel, es as EVENT_PRESET_VOCABULARY, fs as parseEventSeriesId, ht as resolveEventRequiresPayment, i as buildPassesMembershipsDisplay, ii as eventDateOptions, is as publicEventPricingCurrency, ja as weekStartSchema, jt as toWholeSeriesRegistrationEvents, k as registrationStepLabelContext, ka as previewStageSchema, kr as renderAudio, kt as toRegistrationEvents, li as formatEventCompactDateRail, n as buildCartDisplay, ni as eventCalendarWeekStart, ns as formatEventPricing, o as buildProductDetailDisplay, po as formatRemainingPlaces, pt as findPreSelectedEvent, qa as createInteractiveIslandCodec, qo as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, r as buildCheckoutDisplay, ri as eventDateLocale, s as buildProductListDisplay, ts as formatBookingPriceDisplay, wa as eventButtonVariantSchema, wo as defineProgressiveBlockRuntime, wr as RichText, x as resolveSelectedProduct, xa as bookingNowSchema, xo as groupPublicEventsByRun, xr as registrationDisplaySchema, yi as resolveRuntimeEventDestination, yo as selectEventCapacitySource, yr as bookingPresentation } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { $t as inferSiteDateLocale, At as publicEventLoaderQuerySchemaShape, C as eventCalendarListGroupingDecision, Ct as purchasablePublicMembershipProductSchema, Dt as eventScheduleScopeValues, E as eventListArrangementValues, G as publicEventDestinationSchema, Kt as formatDate, Ot as eventSurfacePresetValues, St as publicProductSchema, T as eventCalendarVariantMeaning, Xt as formatTime, b as calendarWindowPageSchema, bt as publicMembershipProductSchema, cn as getLocalScheduleDate, dn as resolveBookingBusinessTimeZone, fn as resolveBookingTimeZoneId, hn as toUtcIsoDateTimeString, j as resolveEventCalendarReadPlan, k as isEventCalendarListLayout, kt as eventSurfaceScopeValues, l as blockSiteTermsSchema, ln as parseBookingLocalDate, mn as parseUtcIsoDateTimeString, n as assertNever, q as publicEventSchema, qt as formatDateRange, rn as buildBookingUtcDateWindow, wt as purchasablePublicPassProductSchema, xt as publicPassProductSchema } from "./noop-CaQxI-Js.mjs";
|
|
5
5
|
import { S as getBookingInstalmentProtectedDepositAmountCents, T as assertNever$1 } from "./creditProducts-BQ1t1erI.mjs";
|
|
6
6
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, l as buildCalendarViewport, r as groupItemsByDate, s as addDays } from "./src-xrjaKaCj.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-
|
|
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-BwiNdgMU.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-R9p5c8IH.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-BgO0rZce.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { Ia as resolveDateRuntimeContext, Jr as isInlineTextEmpty, Yr as parseInlineTextFromUnknown, _i as groupEventsByDate, ci as formatEventClockLabel, fo as formatEventRemainingPlaces, go as getEventAvailabilityStatus, ii as eventDateOptions, mi as formatEventTimeRange, vi as resolveEventTimeZone, vo as isEventFull, wr as RichText } from "./display-4HYOb-AK.mjs";
|
|
3
|
+
import { Kt as formatDate, nn as toScheduledBookingDateTime, tn as formatBookingCompactEnglishTime, un as parseLocalScheduleTime } from "./noop-CaQxI-Js.mjs";
|
|
4
4
|
import { T as assertNever } from "./creditProducts-BQ1t1erI.mjs";
|
|
5
|
-
import { t as LocationMapActions } from "./LocationMapActions-
|
|
5
|
+
import { t as LocationMapActions } from "./LocationMapActions-myIQIvQL.mjs";
|
|
6
6
|
import { d as formatDateKey, f as getDayOfWeek, i as buildTimetableModel$1, v as isToday } from "./src-xrjaKaCj.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 {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
+
import { c as resolveEventLinkProps, n as eventDisplayTitleText } from "./course-CUFVJEAc.mjs";
|
|
10
|
+
import { l as formatEventTeacherLine } from "./EventItem-B0WjGXsH.mjs";
|
|
11
|
+
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-C6CSVfEB.mjs";
|
|
12
|
+
import { r as readableMapDrawing, t as AdmittedMapDrawingSvg } from "./MapDrawingSvg-BfsVyPvB.mjs";
|
|
13
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-DkPBFb_a.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 { Kt as formatDate$1, Ut as capitalize, Xt as formatTime$1, cn as getLocalScheduleDate, fn as resolveBookingTimeZoneId, in as addLocalScheduleDays, ln as parseBookingLocalDate, mn as parseUtcIsoDateTimeString, n as assertNever, on as formatLocalScheduleDate } from "./noop-CaQxI-Js.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-R9p5c8IH.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-C9Ggcfx3.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 eventPaginationLoadReducer, Bt as normalizeOptionalId, Ft as toError, Lt as getEventRuntimeFiltersKey, Mt as getEventPaginationView, Nt as planEventPageOperation, Ot as createInitialEventPaginationLoadState, Pt as toEventPaginationLoadError, Rt as normalizeCsvIds, jt as getEventIdentity, kt as eventPageOperationQuery, zt as normalizeCsvString } from "./shop.interactive-
|
|
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 eventPaginationLoadReducer, Bt as normalizeOptionalId, Ft as toError, Lt as getEventRuntimeFiltersKey, Mt as getEventPaginationView, Nt as planEventPageOperation, Ot as createInitialEventPaginationLoadState, Pt as toEventPaginationLoadError, Rt as normalizeCsvIds, jt as getEventIdentity, kt as eventPageOperationQuery, zt as normalizeCsvString } from "./shop.interactive-CxDJ8P2r.mjs";
|
|
3
|
+
import { za as getBlockApiReadStage } from "./display-4HYOb-AK.mjs";
|
|
4
|
+
import { n as assertNever } from "./noop-CaQxI-Js.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-R9p5c8IH.mjs";
|
|
6
|
+
import { r as listLookSlot, t as listItemPresentation } from "./lookSurfaces-BwiNdgMU.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-B0WjGXsH.mjs";
|
|
9
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BEH4UbSL.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,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-4HYOb-AK.mjs";
|
|
3
|
+
import { r as listLookSlot } from "./lookSurfaces-BwiNdgMU.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-B0WjGXsH.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
|