@riverbankcms/sdk 0.165.0 → 0.166.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-CdsSMQEv.d.ts → BlocksIslandsHydrator-CPvN6RBW.d.ts} +1 -1
- package/dist/_dts/{Page-D6gp2Ipb.d.ts → Page-rW0xgQCA.d.ts} +18 -256
- package/dist/_dts/{SdkPreviewMode-DNXAvnet.d.ts → SdkPreviewMode-BWZh2WCk.d.ts} +26 -3
- package/dist/_dts/{client-BkkExozE.d.ts → client-D4BXQEZc.d.ts} +5 -1
- package/dist/_dts/{content-types-CXNAD7ef.d.ts → content-types-MUzta0l9.d.ts} +3 -3
- package/dist/_dts/{contracts-XRXhbLWP.d.ts → contracts-Cl9Xh1DO.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-BP2bJYdY.d.ts → footerPageOutline-4BgLKehl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DcMtbztV.d.ts → generatePageMetadata-BsmJ0qKh.d.ts} +2 -2
- package/dist/_dts/{index-RXkE3a7M.d.ts → index--qflsCiy.d.ts} +4 -3
- package/dist/_dts/{index-C_3kdrUb.d.ts → index-BgJ2aU5c.d.ts} +2 -2
- package/dist/_dts/{index-CQfJhOEA.d.ts → index-Bmboeb49.d.ts} +1 -1
- package/dist/_dts/{index-CRRiddNp.d.ts → index-DdcwPqQN.d.ts} +4 -4
- package/dist/_dts/{index-DKNEgSOS.d.ts → index-ahxQCUc7.d.ts} +2 -2
- package/dist/_dts/{index-BdkHhyf8.d.ts → index-kQ5xkM6X.d.ts} +1 -1
- package/dist/_dts/{index-DAPTSmBM.d.ts → index-mMMvLLAJ.d.ts} +2596 -2511
- package/dist/_dts/{index-B4ozSzFP.d.ts → index-wbBZ0awa.d.ts} +9248 -8251
- package/dist/_dts/{loadContent-B9vJMq3s.d.ts → loadContent-BG5IAV-V.d.ts} +9 -6
- package/dist/_dts/resolveBlockData-Cmcle_zV.d.ts +136 -0
- package/dist/_dts/{resolvePageContent-DIQyYUi-.d.ts → resolvePageContent-BRJUTFoH.d.ts} +3 -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 +9 -6
- 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 +20 -0
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +2 -0
- package/dist/_dts/sdk/src/data/types.d.ts +54 -0
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +9 -8
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +36 -48
- 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 +2 -0
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +3 -0
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +257 -0
- package/dist/_dts/sdk/src/rendering/index.d.ts +8 -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/{themeAdmission-D_qtGYAT.d.ts → sdk/src/rendering/themeAdmission.d.ts} +3 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +7 -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-Cl0nP6al.d.ts → types-BX3Y-EW3.d.ts} +3 -3
- package/dist/_dts/{types-mstFvhK4.d.ts → types-DF54stxv.d.ts} +8 -7
- package/dist/_dts/{types-BDF73NzM.d.ts → types-DuiHLiPo.d.ts} +2 -2
- package/dist/_dts/{validation-DVWqSvjK.d.ts → validation-Bxi0f81D.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CzKpH9Pm.mjs → BlocksIslandsHydrator-DwiRGtgh.mjs} +31 -24
- package/dist/client/{BookingMailingListNote-rUqsBN7L.mjs → BookingMailingListNote-DOWOZYlK.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-YGzw2IPB.mjs → CalendarNavigationChevron-5a0x0vcC.mjs} +7 -7
- package/dist/client/{CheckboxChoice-DlTC4J2a.mjs → CheckboxChoice-CZ-anOqV.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-D2LyS_Bi.mjs → DemoBookingPortalAccess-B2qLkPRB.mjs} +6 -6
- package/dist/client/{DemoPortalSignInLink-BaFg2Uit.mjs → DemoPortalSignInLink-B9YrzZt2.mjs} +1 -1
- package/dist/client/{EventCalendar.client-tRrhPscX.mjs → EventCalendar.client-BhADnDCg.mjs} +9 -9
- package/dist/client/{EventCombined.client-6cfAVtnZ.mjs → EventCombined.client-jik34zTb.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-CDNUpI0S.mjs → EventEmbeddedCheckoutStep-D_14yqAU.mjs} +27 -2
- package/dist/client/{EventItem-dILw2PN_.mjs → EventItem-CMKrtkT7.mjs} +26 -11
- package/dist/client/{EventListWeekNavigation-ClgLtjNY.mjs → EventListWeekNavigation-AGHjxy6C.mjs} +1 -1
- package/dist/client/{EventListing.client-BNueAHmU.mjs → EventListing.client-DZeDM0Qt.mjs} +3 -3
- package/dist/client/{EventListing.view-DtVbKVkt.mjs → EventListing.view-3BBRdNVa.mjs} +31 -20
- package/dist/client/{EventRegistrationPayment-CzkG0NSJ.mjs → EventRegistrationPayment-CpNcpga4.mjs} +108 -11
- package/dist/client/{LocationMapActions-zWQsJhE5.mjs → LocationMapActions-D5-H9ooQ.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-D1AO_o4h.mjs → MapDrawingSvg-C30geMl-.mjs} +1 -1
- package/dist/client/{Page-DUr2YhFR.mjs → Page-DNDZLRlB.mjs} +1894 -11322
- package/dist/client/{ProtectedSubmitButton-2fJqT_NR.mjs → ProtectedSubmitButton-8DuDw2ag.mjs} +1 -1
- package/dist/client/{StepIndicator-udNHcpOT.mjs → StepIndicator-Bin7YR0A.mjs} +3 -3
- package/dist/client/{TabBarFragment-C_kt-PXh.mjs → TabBarFragment-_IAthZVM.mjs} +1 -1
- package/dist/client/{ThemedButton-Cfbo1bfh.mjs → ThemedButton-8jUc02mZ.mjs} +64 -2
- package/dist/client/{accordion-3CYNWzTS.mjs → accordion-uVqNowRX.mjs} +1 -1
- package/dist/client/{booking-form.client-BSbWgLyx.mjs → booking-form.client-w-PvyWBv.mjs} +19 -14
- package/dist/client/{bookingForm-2MoFBWSt.mjs → bookingForm-DNMojb6A.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{carousel-Cu5mcpO-.mjs → carousel-C8kxI3Dm.mjs} +2 -2
- package/dist/client/{carousel.client-CQLV8_Al.mjs → carousel.client-BO7sCEpH.mjs} +1 -1
- package/dist/client/{cart-CDc6x9cR.mjs → cart-DCxjE3Is.mjs} +3 -3
- package/dist/client/{cart.client-BWS2r5Ef.mjs → cart.client-Ceeng8fB.mjs} +1 -1
- package/dist/client/{checkout-CkxPqSwD.mjs → checkout-B0EKbeVv.mjs} +3 -3
- package/dist/client/{checkout.client-DJfomKQc.mjs → checkout.client-DtPj3fYk.mjs} +1 -1
- package/dist/client/client.mjs +9465 -15
- package/dist/client/{context-CBV21-9L.mjs → context-n6IZigd3.mjs} +8 -6
- package/dist/client/{cta-Bw-al3cs.mjs → cta-CDeAwYoN.mjs} +45 -28
- package/dist/client/{dateFormatting-CFIUJ4Uf.mjs → dateFormatting-BWPzdeZE.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-D0veHJyi.mjs → demoPortalMagicLink-BdXu0fj-.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CEqqq92r.mjs → enhanceHeaderSection-VHfv8M6-.mjs} +3 -3
- package/dist/client/{event-details.client-Bk2kQ7ax.mjs → event-details.client-Cfr1_Cj4.mjs} +2 -2
- package/dist/client/{event-registration.client-QMqtIywj.mjs → event-registration.client-BhygihpQ.mjs} +33 -16
- package/dist/client/{eventCalendar-BTDTMosr.mjs → eventCalendar-B4XCL9u6.mjs} +4 -4
- package/dist/client/{eventCombined-BC7a709c.mjs → eventCombined-DVjz4wdf.mjs} +4 -4
- package/dist/client/{eventDetails-DL08GpUc.mjs → eventDetails-B0DA1Nw1.mjs} +2 -2
- package/dist/client/{eventListing-BfzuEQp_.mjs → eventListing-2-xjn2nz.mjs} +4 -4
- package/dist/client/{eventRegistration-Lfyzh1Ab.mjs → eventRegistration-ng4iGo9O.mjs} +4 -4
- package/dist/client/{form-L-xZOBUS.mjs → form-BeNQiZ2V.mjs} +3 -3
- package/dist/client/{form.client-BtpK3TZW.mjs → form.client-BFdCKlp7.mjs} +5 -5
- package/dist/client/{form.parts-Djos5Un4.mjs → form.parts-C7gLK3jh.mjs} +3 -3
- package/dist/client/{formatDate-DGmrm7YB.mjs → formatDate-CWfelfMt.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -4
- package/dist/client/{headerSection-f16OGkz-.mjs → headerSection-CalNAShx.mjs} +2 -2
- package/dist/client/{mediaAssets-DHAmrVIi.mjs → mediaAssets-DpPauppt.mjs} +1 -1
- package/dist/client/{mediaContext-CwT6ZOm7.mjs → mediaContext-BLo4NtjP.mjs} +25 -19
- package/dist/client/{newsletter-form.client-DpHNZc7k.mjs → newsletter-form.client-Dq7GHGXU.mjs} +6 -6
- package/dist/client/{newsletter-form.parts-CLGH20PL.mjs → newsletter-form.parts-BSMDYQiS.mjs} +2 -2
- package/dist/client/{newsletterForm-BEU0Ocu9.mjs → newsletterForm-snzZ4L6i.mjs} +3 -3
- package/dist/client/{noop-CQU7tiMg.mjs → noop-D-RG9eR3.mjs} +394 -168
- package/dist/client/portal/client.mjs +13 -14
- package/dist/client/{product-detail.client-Be-om1BT.mjs → product-detail.client-Gu0INDb7.mjs} +1 -1
- package/dist/client/{product-list.client-DR7hD5Vs.mjs → product-list.client-BmH40fNf.mjs} +1 -1
- package/dist/client/{productDetail-BD42UOmG.mjs → productDetail-DsPUmJ0z.mjs} +3 -3
- package/dist/client/{productList-CSk8sXCl.mjs → productList-DjGrjOwD.mjs} +3 -3
- package/dist/client/{propsDecoder-C_Y6VYnF.mjs → propsDecoder-kTVPMnfD.mjs} +4 -4
- package/dist/client/{registry.server-CIKtTsCl.mjs → registry.server-CKK_RXZo.mjs} +213 -314
- package/dist/client/rendering/client.mjs +29 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +70 -8
- package/dist/client/{richText-coerce-spWtx86G.mjs → richText-coerce-BcjTX-7h.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CROHPlYS.mjs → routeIslandApiConfig-CaXesATK.mjs} +1 -1
- package/dist/client/{shop-DscvMz86.mjs → shop-DLufMauE.mjs} +3 -3
- package/dist/client/{shop-commerce-CDUohm_2.mjs → shop-commerce-BxYYXLNK.mjs} +12 -12
- package/dist/client/{shop-commerce-store-B9nw4lRP.mjs → shop-commerce-store-Dp3Nl5YK.mjs} +1 -1
- package/dist/client/{shop.client-M3kNsVPi.mjs → shop.client-CBy9_alG.mjs} +13 -13
- package/dist/client/{shop.interactive-BGmkdIAZ.mjs → shop.interactive-BM0NRsFQ.mjs} +48 -34
- package/dist/client/{shopShared-BdWp6LHa.mjs → shopShared-lS23OQE-.mjs} +2 -2
- package/dist/client/site-styles-D8jEPGxA.mjs +3 -0
- package/dist/{preview-next/client/ThemedButton-Dc6aJ34Z.mjs → client/site-styles-DELkUk9s.mjs} +25468 -17264
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/src-DjnxOjXG.mjs +217 -0
- package/dist/client/surfaceTransportMarker-BXepAVF6.mjs +152 -0
- package/dist/client/{timetableModel-Dynh5-j4.mjs → timetableModel-DzRWikCU.mjs} +157 -139
- package/dist/client/types-sF-IrGQr.mjs +633 -0
- package/dist/client/{useAvailableSlots-Cw9paRPY.mjs → useAvailableSlots-C3LphWDX.mjs} +8 -5
- package/dist/client/{useBookingNowIso-C9SF2rC6.mjs → useBookingNowIso-Da-f9iHw.mjs} +1 -1
- package/dist/client/{useDiscountApply-B-QJfBg0.mjs → useDiscountApply-SLoWhcen.mjs} +3 -3
- package/dist/client/{useDiscountCodeUi-Uvum8q9d.mjs → useDiscountCodeUi-D6a2BJij.mjs} +1 -1
- package/dist/client/{useEventPagination-BfM3xk6j.mjs → useEventPagination-Ccr4TZlm.mjs} +9 -9
- package/dist/client/{view-DXOuduIr.mjs → view-8w4GA8rf.mjs} +4 -4
- package/dist/client/{view-DlkCDfuN.mjs → view-DAVEoe8A.mjs} +277 -227
- package/dist/client/{wizardSteps-DManVJpc.mjs → wizardSteps-DNpajrAH.mjs} +453 -141
- package/dist/preview-next/before-render.mjs +3 -140
- package/dist/preview-next/client/ArrangementLookControls-DY5TzhEa.mjs +31197 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-Die6Y25O.mjs → EventEmbeddedCheckoutStep-C_h1cMYm.mjs} +33 -4
- package/dist/preview-next/client/{LocationPickerEnvironment-Bp4BHLCL.mjs → LocationPickerEnvironment-D56RD3e_.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Cb0JhM9p.mjs → MapLibreEditMap-DFnyCckr.mjs} +2 -2
- package/dist/preview-next/client/PreviewEditorSidebar-DdnhmdFO.mjs +37049 -0
- package/dist/preview-next/client/{PreviewEditorUI-CxwlLBGw.mjs → PreviewEditorUI-C7ZmYE33.mjs} +45 -17
- package/dist/preview-next/client/PreviewShell-DnO38NaL.mjs +4707 -0
- package/dist/preview-next/client/SdkPreviewModeRuntime-D2OtoRMB.mjs +4258 -0
- package/dist/preview-next/client/SiteChromeCustomizeButton-eIu2RejJ.mjs +71144 -0
- package/dist/preview-next/client/ThemedButton-C0dgGJ5k.mjs +2006 -0
- package/dist/preview-next/client/{lucide-react-CqxuVAyz.mjs → lucide-react-CPBCf6QT.mjs} +15 -2
- package/dist/preview-next/client/previewAssistantSlot-Bp1AlAxx.mjs +110560 -0
- package/dist/preview-next/client/{previewChromeSurface-yuwnDP3B.mjs → previewChromeSurface-D2cREDJ5.mjs} +90 -28
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/sdk-runtime-DK0PUhLL.mjs +5 -0
- package/dist/preview-next/client/{editorStatusDecision-DR4BBKhy.mjs → useAutosaveStatus--Pw8vnef.mjs} +40 -3
- package/dist/preview-next/client/useBlockCustomizeControls-C1Rl73N4.mjs +2724 -0
- package/dist/preview-next/client/useOpenBlockForSetup-CL3842FM.mjs +28 -0
- package/dist/preview-next/keepAlive.mjs +25 -2
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-BBAJjFIz.mjs → route-contract-Bq7SUX3K.mjs} +132 -118
- package/dist/server/{Block.shared-ClFI3qpX.mjs → Block.shared-wXr7Iwhs.mjs} +7 -4
- package/dist/server/{src-DsYPhTbs.mjs → ThemeScopeCore-BI2mld9R.mjs} +178 -2532
- package/dist/server/accessibleSurfaces-CuN8U_iU.mjs +2102 -0
- package/dist/server/{bindings-Bi8EoRZD.mjs → bindings-DjdUq9FR.mjs} +2 -3
- package/dist/server/{publicProducts-Bz8loTRn.mjs → client-07UeMDzA.mjs} +2483 -351
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +33 -2
- package/dist/server/data/dataLoaderContext.mjs +2 -0
- package/dist/server/data/resolveBlockData.mjs +2 -0
- package/dist/server/data/types.mjs +1 -0
- package/dist/server/dataLoaderContext-B3fXA54R.mjs +47 -0
- package/dist/server/identity-Bn9OQiT1.mjs +6 -0
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-dEEhQxL7.mjs → loadContent-ClpaSlBb.mjs} +6 -5
- package/dist/server/{loadPage-DBFBad8A.mjs → loadPage-BwtVqpaA.mjs} +4 -2
- package/dist/server/manifest.mjs +1 -1
- package/dist/server/media-DnlczCMA.mjs +231 -0
- package/dist/server/mode-Cv_TG9gP.mjs +63 -0
- package/dist/server/next.mjs +11 -11
- package/dist/server/opaqueSurface-3YSDPtDe.mjs +54 -0
- package/dist/server/{overrideResolution-BIJbiXYc.mjs → overrideResolution-Du_w3LY4.mjs} +2 -1
- package/dist/server/overrides-CD4d-1w7.mjs +177 -0
- package/dist/server/page-converter.mjs +243 -91
- package/dist/server/pageRenderPlan-BShULdc2.mjs +4055 -0
- package/dist/server/{themeAdmission-CSknYpxk.mjs → pageRuntimeSupport-C4Dh5-mB.mjs} +13 -28
- package/dist/server/{overrides-DhF87Vsd.mjs → pageShared-HdKFBpaX.mjs} +3472 -1795
- package/dist/server/parseThemeForPersistence-CJMrEkze.mjs +52 -0
- package/dist/server/{prebuild-DaemmWQL.mjs → prebuild-Cl-bkaMA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/prefetchBlockData-C4yUmz-r.mjs +786 -0
- package/dist/server/publicProducts-W9hDRwjz.mjs +64 -0
- package/dist/server/{registry-Cdvz1OtL.mjs → registry-TFPJdGQi.mjs} +20624 -640
- package/dist/server/rendering/components/pageShared.mjs +2 -0
- package/dist/server/rendering/helpers/loadPage.mjs +2 -0
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +2 -0
- package/dist/server/rendering/server.mjs +5 -4
- package/dist/server/rendering/themeAdmission.mjs +2 -0
- package/dist/server/rendering.mjs +11 -10
- package/dist/server/repeaterFields-MIz7r1ez.mjs +9 -0
- package/dist/server/{resolveBlockData-CLpAJWWf.mjs → resolveBlockData-OHlOXlOE.mjs} +6 -48
- package/dist/server/resolveButtonColourStates-lry2ORwX.mjs +2672 -0
- package/dist/server/{richTextSchema-YYc85FX4.mjs → richTextSchema-Euhuj-7V.mjs} +26 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/schema-C2PqHrMo.mjs +2523 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +1031 -1
- package/dist/server/theme.mjs +2 -1
- package/dist/server/themeAdmission-DGSAlFUK.mjs +18 -0
- package/dist/server/{three-pass-converter-Chnb1XD-.mjs → three-pass-converter-_j2UE2tR.mjs} +1 -1
- package/dist/server/validation-CDd6m8Ry.mjs +140 -0
- package/dist/server/{validation-DYxhLzqQ.mjs → validation-DIBFZeMB.mjs} +419 -3
- package/dist/server/{version-Beu4q-Gv.mjs → version-DZWZM1H6.mjs} +1 -1
- package/dist/styles/index.css +14 -4
- package/package.json +39 -1
- package/dist/client/purchase-BV5xfaZH.mjs +0 -894
- package/dist/client/schema-BdSglH2X.mjs +0 -16084
- package/dist/client/site-styles-CWHmlVT5.mjs +0 -14503
- package/dist/client/src-VIsPY-kw.mjs +0 -62
- package/dist/preview-next/client/PreviewEditorSidebar-DEP3xD9K.mjs +0 -5810
- package/dist/preview-next/client/SdkPreviewModeRuntime-Cpe-XP8e.mjs +0 -3
- package/dist/preview-next/client/SdkPreviewModeRuntime-QDkMPASV.mjs +0 -8059
- package/dist/preview-next/client/SiteChromeCustomizeButton-1JaoGOKX.mjs +0 -9367
- package/dist/preview-next/client/previewSidebarNavigation-AXUj9-qQ.mjs +0 -224683
- package/dist/preview-next/client/result-BjJUoxUF.mjs +0 -16
- package/dist/preview-next/client/sdk-runtime-O-eA9-rV.mjs +0 -4
- package/dist/preview-next/refresh-contract-uQ6BXgLJ.mjs +0 -25
- package/dist/server/bindings-Dgt_0goJ.mjs +0 -17
- package/dist/server/client-DfMDbZ41.mjs +0 -2330
- package/dist/server/effectiveNavLinkStyle-BHIYPVG1.mjs +0 -13713
- package/dist/server/loadPage-CnVB-aeL.mjs +0 -2
- package/dist/server/prefetchBlockData-FwcsT5H2.mjs +0 -4359
- package/dist/server/schema-uSA_x1Zh.mjs +0 -16311
- package/dist/server/site-styles-CntHn2KI.mjs +0 -793
- package/dist/server/siteChromeOverlayClearance-DqP40Ka0.mjs +0 -802
|
@@ -1,36 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { fn as staticHeaderChromeRuntime } from "../shop.interactive-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import { t as
|
|
3
|
+
import { fn as staticHeaderChromeRuntime } from "../shop.interactive-BM0NRsFQ.mjs";
|
|
4
|
+
import { a as indexRenderableMediaAssets } from "../surfaceTransportMarker-BXepAVF6.mjs";
|
|
5
|
+
import { Jt as MediaPlaceholder, Kt as RichText, Qt as renderVideo, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zt as renderAudio, nn as resolveMediaNodeResponsiveImage, qt as ImagePresets } from "../wizardSteps-DNpajrAH.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-w-PvyWBv.mjs";
|
|
7
|
+
import { Rt as formatCurrencyAmount } from "../noop-D-RG9eR3.mjs";
|
|
8
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-C3LphWDX.mjs";
|
|
9
|
+
import { t as assertNever } from "../src-DjnxOjXG.mjs";
|
|
10
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-B2qLkPRB.mjs";
|
|
11
|
+
import { B as markEditableSurfaceForwarding, V as splitPositioningClasses, 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, z as composeHeaderSectionWrapperClassName } from "../registry.server-CKK_RXZo.mjs";
|
|
12
|
+
import { f as Text } from "../timetableModel-DzRWikCU.mjs";
|
|
13
|
+
import { t as EventRegistrationIslandClient } from "../event-registration.client-BhygihpQ.mjs";
|
|
14
|
+
import { ot as ICON_CONFIG } from "../site-styles-DELkUk9s.mjs";
|
|
15
|
+
import { C as clsx } from "../ThemedButton-8jUc02mZ.mjs";
|
|
16
|
+
import { t as ShopClient } from "../shop.client-CBy9_alG.mjs";
|
|
14
17
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
15
18
|
import { t as CarouselSlideContent } from "../carousel.shared-DBnWEJzo.mjs";
|
|
16
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
17
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
18
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-BSbWgLyx.mjs";
|
|
19
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-Cw9paRPY.mjs";
|
|
19
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-BcjTX-7h.mjs";
|
|
20
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-n6IZigd3.mjs";
|
|
20
21
|
import { t as createLucideIcon } from "../createLucideIcon-CIbxe9em.mjs";
|
|
21
|
-
import { t as CarouselNodeClient } from "../carousel.client-
|
|
22
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
23
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
24
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
25
|
-
import { t as CartClient } from "../cart.client-
|
|
26
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
27
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
28
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
29
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
30
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
31
|
-
import { t as FormNodeClient } from "../form.client-
|
|
32
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
33
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
22
|
+
import { t as CarouselNodeClient } from "../carousel.client-BO7sCEpH.mjs";
|
|
23
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-Cfr1_Cj4.mjs";
|
|
24
|
+
import { t as ProductListClient } from "../product-list.client-BmH40fNf.mjs";
|
|
25
|
+
import { t as ProductDetailClient } from "../product-detail.client-Gu0INDb7.mjs";
|
|
26
|
+
import { t as CartClient } from "../cart.client-Ceeng8fB.mjs";
|
|
27
|
+
import { t as CheckoutClient } from "../checkout.client-DtPj3fYk.mjs";
|
|
28
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-VHfv8M6-.mjs";
|
|
29
|
+
import { t as EventListingClient } from "../EventListing.client-DZeDM0Qt.mjs";
|
|
30
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-jik34zTb.mjs";
|
|
31
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-BhADnDCg.mjs";
|
|
32
|
+
import { t as FormNodeClient } from "../form.client-BFdCKlp7.mjs";
|
|
33
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-Dq7GHGXU.mjs";
|
|
34
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-DwiRGtgh.mjs";
|
|
34
35
|
import * as React$1 from "react";
|
|
35
36
|
import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
|
|
36
37
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Yt as computeMediaTransformStyle, br as
|
|
4
|
-
import {
|
|
5
|
-
import { A as
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
2
|
+
import { c as parseCanonicalMediaIdentifier, i as renderableMediaAssetSchema, l as parseMediaIdentifier, o as resolveManagedMediaReference, r as buildRenderableMediaAssetIndex, s as mediaIdentifierSchema } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
3
|
+
import { $t as resolveImageSourceSetWithContext$1, Kt as RichText$2, Lr as sanitizeHref, Yt as computeMediaTransformStyle, br as resolveDateRuntimeContext, en as resolveImageUrl$1, tn as resolveImageUrlWithContext$1, yr as readRuntimeNow } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { Pt as toUtcIsoDateTimeString, tt as isRecord } from "./noop-D-RG9eR3.mjs";
|
|
5
|
+
import { A as getDefaultComponentRegistry, B as admitLayoutGridForPlan, C as resolveSiteCustomBlocks, D as prefetchBlockDataWithFailures, E as requireSdkTheme, F as getBlockDefinition, I as siteFooterManifest, L as siteHeaderManifest, M as isRouteVisibleInStage, N as normalizeRenderStage, O as makeDefaultBlockComponent, P as resolveRouteHrefForStage, R as admitTransportedRenderableManifestContent, S as siteLocationRenderContext, T as MissingSdkThemeError, V as deriveFieldValidationPlan, W as readPublishedBlockPlacement, _ as invalidRenderableBlock, a as solvedInksForThemeRuntime, b as resolveSdkBlockManifest, c as MissingBlockOverrideError, d as buildThemeRuntime, f as parseBlocksTheme, g as collectMediaAssetSidecar, h as buildSiteRenderSupport, i as renderWithSdkThemeRuntime, j as resolveAuthoredLinkHref, k as renderBlock, l as PageRenderer, m as buildRenderablePageOutline, n as planLayoutThemeRuntime, o as ThemeScope, p as applyBindingsToContent, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, t as Page, u as toBlocksPageRendererDataContext, v as projectRenderablePageOutline, w as MISSING_SDK_THEME_ERROR_CODE, x as sanitizeSdkRuntimeBlockContent, y as readInvalidBlockAdmission, z as compileManifestContentContract } from "./Page-DNDZLRlB.mjs";
|
|
6
|
+
import { $t as projectRepeaterGridLayoutForRendering$1, Qt as projectRepeaterGridLayout$1, Xt as parseFieldDefinition } from "./registry.server-CKK_RXZo.mjs";
|
|
7
|
+
import { Ca as mediaSchema, Ta as runtimeMediaSchema, wa as persistableMediaSchema } from "./site-styles-DELkUk9s.mjs";
|
|
8
|
+
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-BLo4NtjP.mjs";
|
|
9
|
+
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-DpPauppt.mjs";
|
|
9
10
|
import "react";
|
|
11
|
+
import { z } from "zod";
|
|
10
12
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
13
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
12
14
|
//#region ../core/src/navigation-portal-labels.ts
|
|
@@ -20,6 +22,67 @@ const PORTAL_NAV_DEFAULT_LABELS = {
|
|
|
20
22
|
loggedIn: "My account"
|
|
21
23
|
};
|
|
22
24
|
//#endregion
|
|
25
|
+
//#region ../theme-core/src/footer/mode.ts
|
|
26
|
+
const footerModeSchema = z.enum([
|
|
27
|
+
"default",
|
|
28
|
+
"blocks",
|
|
29
|
+
"default+blocks",
|
|
30
|
+
"none"
|
|
31
|
+
]);
|
|
32
|
+
/** Reads only SDK footer intent; unrelated config and theme fields are not authorities. */
|
|
33
|
+
function resolveSdkFooterMode(config) {
|
|
34
|
+
const parsed = z.object({ layout: z.object({ footerMode: footerModeSchema.optional() }).optional() }).safeParse(config);
|
|
35
|
+
return parsed.success ? parsed.data.layout?.footerMode ?? "default" : "default";
|
|
36
|
+
}
|
|
37
|
+
z.object({
|
|
38
|
+
variant: z.enum([
|
|
39
|
+
"simple",
|
|
40
|
+
"columns",
|
|
41
|
+
"split",
|
|
42
|
+
"centred"
|
|
43
|
+
]),
|
|
44
|
+
showLogoText: z.boolean().optional(),
|
|
45
|
+
logo: z.object({
|
|
46
|
+
showLogo: z.boolean().optional(),
|
|
47
|
+
showLogoText: z.boolean().optional()
|
|
48
|
+
}).optional()
|
|
49
|
+
});
|
|
50
|
+
/**
|
|
51
|
+
* Resolve what to render for the footer given the current mode and whether the
|
|
52
|
+
* site is SDK-managed.
|
|
53
|
+
*
|
|
54
|
+
* Backwards compatible: missing/undefined mode is treated as 'default'.
|
|
55
|
+
*/
|
|
56
|
+
function resolveFooterRenderPlan(params) {
|
|
57
|
+
if (!params.isSdkSite) return {
|
|
58
|
+
mode: "default",
|
|
59
|
+
renderDefaultFooter: true,
|
|
60
|
+
renderFooterBlocks: false
|
|
61
|
+
};
|
|
62
|
+
switch (params.mode ?? "default") {
|
|
63
|
+
case "blocks": return {
|
|
64
|
+
mode: "blocks",
|
|
65
|
+
renderDefaultFooter: false,
|
|
66
|
+
renderFooterBlocks: true
|
|
67
|
+
};
|
|
68
|
+
case "default+blocks": return {
|
|
69
|
+
mode: "default+blocks",
|
|
70
|
+
renderDefaultFooter: true,
|
|
71
|
+
renderFooterBlocks: true
|
|
72
|
+
};
|
|
73
|
+
case "none": return {
|
|
74
|
+
mode: "none",
|
|
75
|
+
renderDefaultFooter: false,
|
|
76
|
+
renderFooterBlocks: false
|
|
77
|
+
};
|
|
78
|
+
default: return {
|
|
79
|
+
mode: "default",
|
|
80
|
+
renderDefaultFooter: true,
|
|
81
|
+
renderFooterBlocks: false
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
//#endregion
|
|
23
86
|
//#region ../blocks/src/primitives/content/primitives.tsx
|
|
24
87
|
const RichText$1 = RichText$2;
|
|
25
88
|
//#endregion
|
|
@@ -2181,7 +2244,6 @@ function isPageSurfaceResponse(response) {
|
|
|
2181
2244
|
function contentLocationSupport(response) {
|
|
2182
2245
|
return "page" in response ? response.locationMapSupport : void 0;
|
|
2183
2246
|
}
|
|
2184
|
-
BINDING_TRANSFORM_VALUES$1.join(", ");
|
|
2185
2247
|
//#endregion
|
|
2186
2248
|
//#region src/contracts/rendering.ts
|
|
2187
2249
|
const ImagePresets = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Q as RichTextDocSchema, t as logger } from "./noop-D-RG9eR3.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 { Wt as createHostedBlockApiConfig } from "./wizardSteps-
|
|
2
|
+
import { Wt as createHostedBlockApiConfig } from "./wizardSteps-DNpajrAH.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-kTVPMnfD.mjs";
|
|
3
|
+
import { t as ShopClient } from "./shop.client-CBy9_alG.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-lS23OQE-.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-
|
|
6
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { O as buildProductCartItem, b as buildProductDetailDisplay, j as productItemKey, k as deriveCommerceCheckoutState, u as getShopDisplayForItems, x as formatCommercePrice, y as buildProductCardDisplay } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { Kt as RichText } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-DjnxOjXG.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, n as DemoBookingPortalAccess, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "./DemoBookingPortalAccess-B2qLkPRB.mjs";
|
|
6
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
7
7
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
|
|
8
8
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, c as checkoutFormForDiscountUiState, d as planUnifiedCheckoutRequest, f as ShopAddFeedback, i as getDiscountApplyFeedback, l as planCartDiscountAvailabilityRequests, m as consumeSearchParam, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, s as aggregateCartDiscountUiState, t as useDiscountApply } from "./useDiscountApply-SLoWhcen.mjs";
|
|
10
10
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
11
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
12
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
13
|
-
import { n as useBlockApi } from "./context-
|
|
14
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
15
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
16
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
11
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-BcjTX-7h.mjs";
|
|
12
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-8w4GA8rf.mjs";
|
|
13
|
+
import { n as useBlockApi } from "./context-n6IZigd3.mjs";
|
|
14
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BdXu0fj-.mjs";
|
|
15
|
+
import { t as CarouselNodeClient } from "./carousel.client-BO7sCEpH.mjs";
|
|
16
|
+
import { n as useCommerceCart } from "./shop-commerce-store-Dp3Nl5YK.mjs";
|
|
17
17
|
import * as React$1 from "react";
|
|
18
18
|
import { useEffect, useState } from "react";
|
|
19
19
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-
|
|
2
|
+
import { A as parseStoredCommerceCartState, D as buildPassCartItem, E as EMPTY_COMMERCE_CART_STATE, M as reduceCommerceCart } from "./shop.interactive-BM0NRsFQ.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,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { S as formatInterval, _ as shopProductPresentation, x as formatCommercePrice } from "./shop.interactive-BM0NRsFQ.mjs";
|
|
3
|
+
import { Un as getShopSuccessCopy } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-B2qLkPRB.mjs";
|
|
6
|
+
import { r as ThemedButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
7
7
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-
|
|
9
|
+
import { a as initialDiscountApplyState, f as ShopAddFeedback, h as consumeSearchParams, i as getDiscountApplyFeedback, n as discountApplyReducer, o as isDiscountApplyInFlight, p as useTransientShopAddFeedback, r as getAppliedDiscountCode, t as useDiscountApply, u as planDirectShopCheckoutRequest } from "./useDiscountApply-SLoWhcen.mjs";
|
|
10
10
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
11
11
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
13
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-D6a2BJij.mjs";
|
|
14
14
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
15
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-
|
|
16
|
-
import { n as useBlockApi } from "./context-
|
|
17
|
-
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-
|
|
18
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
19
|
-
import { r as formatEntitlementEnd } from "./dateFormatting-
|
|
20
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
15
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, r as MembershipCardView } from "./view-8w4GA8rf.mjs";
|
|
16
|
+
import { n as useBlockApi } from "./context-n6IZigd3.mjs";
|
|
17
|
+
import { a as storeDemoBookingCheckoutReturn, i as readDemoBookingCheckoutReturnEmail } from "./demoPortalMagicLink-BdXu0fj-.mjs";
|
|
18
|
+
import { t as CarouselNodeClient } from "./carousel.client-BO7sCEpH.mjs";
|
|
19
|
+
import { r as formatEntitlementEnd } from "./dateFormatting-BWPzdeZE.mjs";
|
|
20
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-Dp3Nl5YK.mjs";
|
|
21
21
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
23
23
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import { h as ok, m as err, p as parseUuidBrand } from "./surfaceTransportMarker-BXepAVF6.mjs";
|
|
3
|
+
import { $r as formatBookingPriceDisplay, An as selectEventCapacitySource, Ar as isDecodeSuccess, Bt as registrationDisplaySchema, Cr as defineInteractiveIslandMetaKeys, Dr as createZodCodec, Er as resolveEventRegistrationScopedEvents, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mn as groupPublicEventsByRun, Nr as listLookSlot, Or as defineClientOwnedBlockRuntime, Pr as lookListPresentationSchemaShape, Qr as parseNewsletterListId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as createInteractiveIslandCodec, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseMailchimpAudienceId, Xt as mediaImageHostProps, Yr as parseBrevoListId, Yt as computeMediaTransformStyle, Zr as parseMailchimpInterestId, Zt as renderAudio, _r as blockButtonRoleSchema, _t as formatRegistrationSchedule, an as eventCalendarWeekStart, ar as bookingNowSchema, bn as resolveRuntimeEventDestination, br as resolveDateRuntimeContext, c as registrationStepLabelContext, cn as eventLocalDateKey, cr as eventButtonVariantSchema, dr as eventLayoutSchema, ei as formatEventPricing, fn as formatEventCompactDateRail, fr as filterAutoShowSchema, hr as weekStartSchema, jr as listItemPresentation, kr as defineProgressiveBlockRuntime, lr as eventCalendarDefaultViewSchema, mr as registrationButtonVariantSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventDateLocale, or as calendarTabViewsSchema, p as isRegistrationLocked, pr as previewStageSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, ri as publicEventPricingDisplay, s as registrationStepLabel, sn as eventDateOptions, sr as columnOptionSchema, t as REGISTRATION_STEP_LABELS, ui as parseEventSeriesId, ur as eventCalendarDisplayModeSchema, wn as formatRemainingPlaces, wr as eventRegistrationPageSurfaceSubjectSchema, xr as buildInteractiveIslandProps, zt as placesLeftLabel } from "./wizardSteps-DNpajrAH.mjs";
|
|
4
|
+
import { A as resolveEventCalendarReadPlan, At as resolveBookingBusinessTimeZone, B as normalizeEventVenueId, Dt as getLocalScheduleDate, F as normalizeEventScheduleScope, G as publicEventSchema, I as normalizeEventStaffMemberId, M as eventSurfaceScopeValues, Nt as parseUtcIsoDateTimeString, O as isEventCalendarListLayout, Ot as parseBookingLocalDate, P as normalizeEventCategoryIdsCsv, Pt as toUtcIsoDateTimeString, R as normalizeEventSurfacePresetsCsv, Rt as formatCurrencyAmount, St as buildBookingUtcDateWindow, T as eventListArrangementValues, U as publicEventDestinationSchema, V as normalizeIdList, W as publicEventLoaderQuerySchemaShape, b as eventCalendarListGroupingDecision, dt as formatDate, ft as formatDateRange, ht as formatTime, j as eventScheduleScopeValues, jt as resolveBookingTimeZoneId, m as calendarWindowPageSchema, n as blockSiteTermsSchema, vt as inferSiteDateLocale, w as eventCalendarVariantMeaning, z as normalizeEventSurfaceScope } from "./noop-D-RG9eR3.mjs";
|
|
5
|
+
import { t as assertNever, v as assertNever$1 } from "./src-DjnxOjXG.mjs";
|
|
6
|
+
import { Pr as assertNever$2, Rt as cardRoleSchema, b as resolveModeArrangement, ti as toNonEmptyReadonlyArray } from "./site-styles-DELkUk9s.mjs";
|
|
2
7
|
import { d as formatDateKey, l as buildCalendarViewport, r as groupItemsByDate } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { c as assertNever$2, t as assertNever$1 } from "./src-VIsPY-kw.mjs";
|
|
6
|
-
import { $r as parseNewsletterListId, Ar as defineProgressiveBlockRuntime, Bt as registrationDisplaySchema, Cr as createInteractiveIslandCodec, Dr as resolveEventRegistrationScopedEvents, Fr as lookListPresentationSchemaShape, Gr as parseMailingListRuntimeContext, H as findPreSelectedEvent, Ht as shownVenue, It as toRegistrationEvents, Jr as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, Jt as MediaPlaceholder, Kt as RichText, Lt as toWholeSeriesRegistrationEvent, Mr as listItemPresentation, Nn as groupPublicEventsByRun, Or as createZodCodec, Pr as listLookSlot, Qr as parseMailchimpInterestId, Qt as renderVideo, Rt as toWholeSeriesRegistrationEvents, Sr as buildInteractiveIslandProps, Tn as formatRemainingPlaces, Tr as eventRegistrationPageSurfaceSubjectSchema, Tt as withOccurrenceTitle, Ut as browserReadAuthoritySchema, Vr as nextLiveRunSessionStartMs, Vt as resolveRegistrationDisplay, W as resolveEventRequiresPayment, Wr as resolveWholeSeriesRunLifecycle, Xr as parseBrevoListId, Xt as mediaImageHostProps, Yt as computeMediaTransformStyle, Zr as parseMailchimpAudienceId, Zt as renderAudio, _t as formatRegistrationSchedule, c as registrationStepLabelContext, cn as eventDateOptions, cr as columnOptionSchema, dr as eventCalendarDisplayModeSchema, ei as formatBookingPriceDisplay, fr as eventLayoutSchema, gr as weekStartSchema, hr as registrationButtonVariantSchema, ii as publicEventPricingDisplay, jn as selectEventCapacitySource, jr as isDecodeSuccess, kr as defineClientOwnedBlockRuntime, ln as eventLocalDateKey, lr as eventButtonVariantSchema, mr as previewStageSchema, n as getEventSelectionMode, nn as resolveMediaNodeResponsiveImage, o as registrationRoute, on as eventCalendarWeekStart, or as bookingNowSchema, p as isRegistrationLocked, pn as formatEventCompactDateRail, pr as filterAutoShowSchema, pt as formatBookingWhen, qr as DEFAULT_MAILING_LIST_PRIVACY_NOTE, qt as ImagePresets, s as registrationStepLabel, sn as eventDateLocale, sr as calendarTabViewsSchema, t as REGISTRATION_STEP_LABELS, ti as formatEventPricing, ur as eventCalendarDefaultViewSchema, vr as blockButtonRoleSchema, wr as defineInteractiveIslandMetaKeys, xn as resolveRuntimeEventDestination, xr as resolveDateRuntimeContext, zt as placesLeftLabel } from "./wizardSteps-DManVJpc.mjs";
|
|
7
|
-
import { A as eventScheduleScopeValues, At as resolveBookingTimeZoneId, B as normalizeIdList, C as eventCalendarVariantMeaning, D as isEventCalendarListLayout, Et as parseBookingLocalDate, F as normalizeEventStaffMemberId, H as publicEventDestinationSchema, L as normalizeEventSurfacePresetsCsv, N as normalizeEventCategoryIdsCsv, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, P as normalizeEventScheduleScope, R as normalizeEventSurfaceScope, Tt as getLocalScheduleDate, U as publicEventLoaderQuerySchemaShape, W as publicEventSchema, _t as inferSiteDateLocale, bt as buildBookingUtcDateWindow, dt as formatDateRange, j as eventSurfaceScopeValues, k as resolveEventCalendarReadPlan, kt as resolveBookingBusinessTimeZone, mt as formatTime, n as blockSiteTermsSchema, p as calendarWindowPageSchema, ut as formatDate, w as eventListArrangementValues, y as eventCalendarListGroupingDecision, z as normalizeEventVenueId } from "./noop-CQU7tiMg.mjs";
|
|
8
|
-
import { y as resolveModeArrangement } from "./site-styles-CWHmlVT5.mjs";
|
|
9
|
-
import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
10
|
-
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-CwT6ZOm7.mjs";
|
|
8
|
+
import { C as clsx, g as ExternalLinkIcon, i as ThemedButtonLink, n as ThemedAuthoredButton } from "./ThemedButton-8jUc02mZ.mjs";
|
|
9
|
+
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-BLo4NtjP.mjs";
|
|
11
10
|
import { n as getCreditProductCreditUnit, t as deriveCreditProductLabels } from "./creditProducts-BOWi1QLp.mjs";
|
|
12
11
|
import "react";
|
|
13
12
|
import { z } from "zod";
|
|
@@ -16,6 +15,10 @@ import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
|
16
15
|
/** Server-resolved presentation context, never permission to perform a write. */
|
|
17
16
|
const blockInteractionContextSchema = z.discriminatedUnion("kind", [z.object({ kind: z.literal("live") }).strict(), z.object({ kind: z.literal("demo") }).strict()]);
|
|
18
17
|
//#endregion
|
|
18
|
+
//#region ../core/src/branded/content.ts
|
|
19
|
+
const unsafeAsContentVersionId = (id) => id;
|
|
20
|
+
const parseContentVersionId = (value) => parseUuidBrand(value, unsafeAsContentVersionId);
|
|
21
|
+
//#endregion
|
|
19
22
|
//#region ../core/src/mailing-list-targeting.ts
|
|
20
23
|
const DEFAULT_MAILING_LIST_TARGETING = { mode: "default" };
|
|
21
24
|
function sameMailingListPlacementTargeting(left, right) {
|
|
@@ -486,7 +489,7 @@ function planSiteChromePlacement(positioning) {
|
|
|
486
489
|
headerRootClassName: "rb-fixed rb-top-0 rb-left-0 rb-right-0",
|
|
487
490
|
standaloneShellClassName: "fixed left-0 right-0 top-0 z-40 w-full"
|
|
488
491
|
};
|
|
489
|
-
default: return assertNever(positioning);
|
|
492
|
+
default: return assertNever$2(positioning);
|
|
490
493
|
}
|
|
491
494
|
}
|
|
492
495
|
function splitSiteChromePlacementClasses(className) {
|
|
@@ -1157,8 +1160,6 @@ function normalizeCsvString(value) {
|
|
|
1157
1160
|
const ids = normalizeCsvIds(value);
|
|
1158
1161
|
return ids.length > 0 ? ids.join(",") : void 0;
|
|
1159
1162
|
}
|
|
1160
|
-
//#endregion
|
|
1161
|
-
//#region ../blocks/src/system/runtime/nodes/events/shared/listOptions.ts
|
|
1162
1163
|
const eventPageSizeValues = [
|
|
1163
1164
|
1,
|
|
1164
1165
|
2,
|
|
@@ -1170,7 +1171,8 @@ const eventPageSizeValues = [
|
|
|
1170
1171
|
12,
|
|
1171
1172
|
20,
|
|
1172
1173
|
24,
|
|
1173
|
-
30
|
|
1174
|
+
30,
|
|
1175
|
+
100
|
|
1174
1176
|
];
|
|
1175
1177
|
const eventPageSizeSchema = z.union([
|
|
1176
1178
|
z.literal(1),
|
|
@@ -1183,7 +1185,8 @@ const eventPageSizeSchema = z.union([
|
|
|
1183
1185
|
z.literal(12),
|
|
1184
1186
|
z.literal(20),
|
|
1185
1187
|
z.literal(24),
|
|
1186
|
-
z.literal(30)
|
|
1188
|
+
z.literal(30),
|
|
1189
|
+
z.literal(100)
|
|
1187
1190
|
]);
|
|
1188
1191
|
const eventPageSizeSet = new Set(eventPageSizeValues);
|
|
1189
1192
|
function resolveEventPageSize(value, fallback = 12) {
|
|
@@ -1294,21 +1297,21 @@ function eventPaginationLoadReducer(state, action) {
|
|
|
1294
1297
|
...createInitialEventPaginationLoadState(action.events, action.scope),
|
|
1295
1298
|
requestId: state.requestId + 1
|
|
1296
1299
|
};
|
|
1297
|
-
default: return assertNever
|
|
1300
|
+
default: return assertNever(action);
|
|
1298
1301
|
}
|
|
1299
1302
|
}
|
|
1300
1303
|
function eventPageOperationScope(operation) {
|
|
1301
1304
|
switch (operation.kind) {
|
|
1302
1305
|
case "replace": return operation.scope;
|
|
1303
1306
|
case "append": return operation.page.scope;
|
|
1304
|
-
default: return assertNever
|
|
1307
|
+
default: return assertNever(operation);
|
|
1305
1308
|
}
|
|
1306
1309
|
}
|
|
1307
1310
|
function eventPageOperationQuery(operation) {
|
|
1308
1311
|
switch (operation.kind) {
|
|
1309
1312
|
case "replace": return operation.scope.query;
|
|
1310
1313
|
case "append": return operation.query;
|
|
1311
|
-
default: return assertNever
|
|
1314
|
+
default: return assertNever(operation);
|
|
1312
1315
|
}
|
|
1313
1316
|
}
|
|
1314
1317
|
function acceptEventPage(operation, events) {
|
|
@@ -1325,7 +1328,7 @@ function acceptEventPage(operation, events) {
|
|
|
1325
1328
|
events: mergeEventPaginationEvents(operation.page.events, events),
|
|
1326
1329
|
hasMore
|
|
1327
1330
|
};
|
|
1328
|
-
default: return assertNever
|
|
1331
|
+
default: return assertNever(operation);
|
|
1329
1332
|
}
|
|
1330
1333
|
}
|
|
1331
1334
|
/** Retry consumes the recorded operation. Load more is possible only from an accepted page. */
|
|
@@ -1350,7 +1353,7 @@ function planEventPageOperation(state, scope, intent) {
|
|
|
1350
1353
|
}
|
|
1351
1354
|
};
|
|
1352
1355
|
}
|
|
1353
|
-
default: return assertNever
|
|
1356
|
+
default: return assertNever(intent);
|
|
1354
1357
|
}
|
|
1355
1358
|
}
|
|
1356
1359
|
/** A changed scope is pending even before the effect starts its replacement request. */
|
|
@@ -1377,7 +1380,7 @@ function getEventPaginationView(state, scope) {
|
|
|
1377
1380
|
loading: false,
|
|
1378
1381
|
error: state.error
|
|
1379
1382
|
};
|
|
1380
|
-
default: return assertNever
|
|
1383
|
+
default: return assertNever(state);
|
|
1381
1384
|
}
|
|
1382
1385
|
}
|
|
1383
1386
|
function getOperationPage(operation) {
|
|
@@ -1387,7 +1390,7 @@ function getOperationPage(operation) {
|
|
|
1387
1390
|
hasMore: false
|
|
1388
1391
|
};
|
|
1389
1392
|
case "append": return operation.page;
|
|
1390
|
-
default: return assertNever
|
|
1393
|
+
default: return assertNever(operation);
|
|
1391
1394
|
}
|
|
1392
1395
|
}
|
|
1393
1396
|
function getEventIdentity(event) {
|
|
@@ -1508,8 +1511,7 @@ function buildEventCollectionDisplay(source) {
|
|
|
1508
1511
|
lookSlots: source.lookSlots,
|
|
1509
1512
|
itemActionStyle: source.itemActionStyle,
|
|
1510
1513
|
itemRoles: source.itemRoles,
|
|
1511
|
-
|
|
1512
|
-
itemSurfaces: source.itemSurfaces,
|
|
1514
|
+
surfacePresentation: source.surfacePresentation,
|
|
1513
1515
|
...buildEventCollectionPresentationDisplay(source),
|
|
1514
1516
|
startOfWeek: eventCalendarWeekStart(resolveBookingBusinessTimeZone(source.bookingTimeZone ?? source.calendarWindow?.scope.timeZone), source.startOfWeek),
|
|
1515
1517
|
calendarTabViews: source.calendarTabViews ?? "both",
|
|
@@ -1598,8 +1600,7 @@ function buildEventCollectionListingDisplay(display, prefetchedEvents, className
|
|
|
1598
1600
|
lookSlots: display.lookSlots,
|
|
1599
1601
|
itemActionStyle: display.itemActionStyle,
|
|
1600
1602
|
itemRoles: display.itemRoles,
|
|
1601
|
-
|
|
1602
|
-
itemSurfaces: display.itemSurfaces,
|
|
1603
|
+
surfacePresentation: display.surfacePresentation,
|
|
1603
1604
|
state: initialEvents.length === 0 ? prefetchedEvents ? "empty" : "loading" : "ready",
|
|
1604
1605
|
listLayout: display.listLayout,
|
|
1605
1606
|
className,
|
|
@@ -2135,6 +2136,7 @@ function buildEventCalendarDisplay(source, effectiveListArrangementKey = source.
|
|
|
2135
2136
|
}),
|
|
2136
2137
|
...source.monthArrangement === void 0 ? {} : { monthArrangement: source.monthArrangement },
|
|
2137
2138
|
...calendarListGrouping(source),
|
|
2139
|
+
...weekListPaging(source),
|
|
2138
2140
|
...calendarRecurringWeekPresentation(source),
|
|
2139
2141
|
kind: "event-calendar",
|
|
2140
2142
|
displayMode: resolveEventCalendarReadPlan(source).mode,
|
|
@@ -2237,6 +2239,18 @@ function calendarListGrouping(source) {
|
|
|
2237
2239
|
arrangementLooks: source.lookSlots !== void 0
|
|
2238
2240
|
}).grouping === "week" ? { listBy: "week" } : {};
|
|
2239
2241
|
}
|
|
2242
|
+
/**
|
|
2243
|
+
* A week list shows its whole week: one read of the week, with no page size or "more events" action.
|
|
2244
|
+
* A week that fills the whole read can't prove it's complete, so its empty days stay blank rather
|
|
2245
|
+
* than say "Nothing on". Above the limit only the first sessions show (accepted: no studio runs 100 a week).
|
|
2246
|
+
*/
|
|
2247
|
+
function weekListPaging(source) {
|
|
2248
|
+
return calendarListGrouping(source).listBy === "week" ? {
|
|
2249
|
+
eventsPerPage: 100,
|
|
2250
|
+
paginationAction: { kind: "none" },
|
|
2251
|
+
sectionAction: void 0
|
|
2252
|
+
} : {};
|
|
2253
|
+
}
|
|
2240
2254
|
/** The week presentation owns the series projection and its independent header action. */
|
|
2241
2255
|
function calendarRecurringWeekPresentation(source) {
|
|
2242
2256
|
return {
|
|
@@ -2554,7 +2568,7 @@ function bookingPanelHeading(entry, display) {
|
|
|
2554
2568
|
title,
|
|
2555
2569
|
subtitle: entry.when
|
|
2556
2570
|
};
|
|
2557
|
-
default: return assertNever$
|
|
2571
|
+
default: return assertNever$1(entry);
|
|
2558
2572
|
}
|
|
2559
2573
|
}
|
|
2560
2574
|
const HIDDEN_BAR = {
|
|
@@ -2643,7 +2657,7 @@ function offeringsListingFor(arrangement) {
|
|
|
2643
2657
|
case "sequence":
|
|
2644
2658
|
case "plates":
|
|
2645
2659
|
case "stack": return "by-type";
|
|
2646
|
-
default: return assertNever$
|
|
2660
|
+
default: return assertNever$1(arrangement);
|
|
2647
2661
|
}
|
|
2648
2662
|
}
|
|
2649
2663
|
Object.fromEntries(OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS.map((definition) => [definition.sourceKey, {
|
|
@@ -2815,7 +2829,7 @@ function buildOfferingsPreviewListing(input) {
|
|
|
2815
2829
|
...load,
|
|
2816
2830
|
items: [selectOffering(load.items[0], input.now), ...load.items.slice(1).map((item) => selectOffering(item, input.now))]
|
|
2817
2831
|
};
|
|
2818
|
-
default: return assertNever$
|
|
2832
|
+
default: return assertNever$1(load);
|
|
2819
2833
|
}
|
|
2820
2834
|
}));
|
|
2821
2835
|
if (!groups) return { kind: "no-groups" };
|
|
@@ -2832,7 +2846,7 @@ function buildOfferingsPreviewListing(input) {
|
|
|
2832
2846
|
}));
|
|
2833
2847
|
case "empty":
|
|
2834
2848
|
case "failed": return [];
|
|
2835
|
-
default: return assertNever$
|
|
2849
|
+
default: return assertNever$1(load);
|
|
2836
2850
|
}
|
|
2837
2851
|
}).sort((left, right) => (left.item.nextStartMs ?? Infinity) - (right.item.nextStartMs ?? Infinity) || left.groupIndex - right.groupIndex || offeringItemTitle(left.item).localeCompare(offeringItemTitle(right.item))));
|
|
2838
2852
|
return items ? {
|
|
@@ -2936,10 +2950,10 @@ function preferredPathsForSource(source) {
|
|
|
2936
2950
|
case "workshop": return ["/workshops", "/workshop"];
|
|
2937
2951
|
case "retreat": return ["/retreats", "/retreat"];
|
|
2938
2952
|
case "performance": return ["/performances", "/performance"];
|
|
2939
|
-
default: return assertNever$
|
|
2953
|
+
default: return assertNever$1(source.preset, "Unhandled offerings preview event preset");
|
|
2940
2954
|
}
|
|
2941
2955
|
case "wholeSeries": return ["/courses", "/course"];
|
|
2942
|
-
default: return assertNever$
|
|
2956
|
+
default: return assertNever$1(source, "Unhandled offerings preview source");
|
|
2943
2957
|
}
|
|
2944
2958
|
}
|
|
2945
2959
|
function normalizeRoutePath(value) {
|
|
@@ -3734,7 +3748,7 @@ function newsletterPresetFields(fields) {
|
|
|
3734
3748
|
placeholder: "Company name"
|
|
3735
3749
|
}
|
|
3736
3750
|
];
|
|
3737
|
-
default: return assertNever$
|
|
3751
|
+
default: return assertNever$1(fields);
|
|
3738
3752
|
}
|
|
3739
3753
|
}
|
|
3740
3754
|
function withOptionalPhone(fields, includePhone) {
|
|
@@ -3958,7 +3972,7 @@ function projectNewsletterFormHydrationTarget(source) {
|
|
|
3958
3972
|
tag: "block-source",
|
|
3959
3973
|
sourceRef: null
|
|
3960
3974
|
};
|
|
3961
|
-
default: return assertNever$
|
|
3975
|
+
default: return assertNever$1(source.newsletterBlockSubmission);
|
|
3962
3976
|
}
|
|
3963
3977
|
case "signed-hosted-booking":
|
|
3964
3978
|
case "signed-footer": return {
|
|
@@ -3966,7 +3980,7 @@ function projectNewsletterFormHydrationTarget(source) {
|
|
|
3966
3980
|
sourceRef: source.sourceRef
|
|
3967
3981
|
};
|
|
3968
3982
|
case "preview": return { tag: "preview" };
|
|
3969
|
-
default: return assertNever$
|
|
3983
|
+
default: return assertNever$1(source);
|
|
3970
3984
|
}
|
|
3971
3985
|
}
|
|
3972
3986
|
function resolveRuntimeChoices(assessment) {
|
|
@@ -5048,4 +5062,4 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
5048
5062
|
};
|
|
5049
5063
|
}
|
|
5050
5064
|
//#endregion
|
|
5051
|
-
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, getCardOrientation as $t, parseStoredCommerceCartState as A, buildEventListingInteractiveIslandProps as At, giftingBlockRuntime as B, toError as Bt, membershipCardListContent as C, sameMailingListPlacementTargeting as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, eventPaginationLoadReducer as Ft, formInteractiveIslandPropsCodec as G, normalizeOptionalId as Gt, publicGiftingOffersResponseSchema as H, getEventRuntimeFiltersKey as Ht, newsletterBlockSubmissionMessage as I, getEventIdentity as It, displayButtonText as J, CardListContentPart as Jt, buildEventRegistrationDisplayFromScopedEvents as K, catalogueEventCardProps as Kt, newsletterFormBlockRuntime as L, getEventPaginationView as Lt, reduceCommerceCart as M, eventListingInteractiveIslandPropsCodec as Mt, publicProductsResponseSchema as N, createInitialEventPaginationLoadState as Nt, buildProductCartItem as O, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, eventPageOperationQuery as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, MediaNodeServer as Qt, newsletterFormInteractiveIslandPropsCodec as R, planEventPageOperation as Rt, formatInterval as S, DEFAULT_MAILING_LIST_TARGETING as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, normalizeCsvIds as Ut, giftingInteractiveIslandPropsCodec as V, buildEventRuntimeFilters as Vt, formBlockRuntime as W, normalizeCsvString as Wt, eventRegistrationInteractiveIslandPropsCodec as X, resolveCardListSchedule as Xt, eventRegistrationBlockRuntime as Y, CardListLeadDate as Yt, offeringNounForEvent as Z, selectCardListPresentation as Zt, shopProductPresentation as _, publicPassProductCollectionSchema as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, formatEventPrice as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, parseMailingListPlacementTargeting as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, resolveEventSelection as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, resolveHeaderChromeRuntimeContract as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getContainerClass as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, staticHeaderChromeRuntime as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, publicMembershipProductCollectionSchema as gn, bookingPanelHeading as gt, shopBlockRuntime as h, splitSiteChromePlacementClasses as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, weekColumnDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, eventListingBlockRuntime as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, headerChromeRuntimeContractSchema as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, planSiteChromePlacement as mn, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, buildEventListWeek as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, formatEventPriceAmount as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, parseHeaderPositioning as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, listingEventCardProps as qt, buildProductDetailInteractiveIslandProps as r, eventListWeekDays as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceDisplay as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, Grid as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, isHeaderScrollRuntimeEnabled as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, buildMailingListSignupBlockSourceRef as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, parseMailingListVisitorSelection as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, assessMailingListTargeting as yn, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, toEventPaginationLoadError as zt };
|
|
5065
|
+
export { OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as $, getCardOrientation as $t, parseStoredCommerceCartState as A, buildEventListingInteractiveIslandProps as At, giftingBlockRuntime as B, toError as Bt, membershipCardListContent as C, sameMailingListPlacementTargeting as Cn, buildEventCalendarInteractiveIslandProps as Ct, buildPassCartItem as D, eventCalendarInteractiveIslandPropsCodec as Dt, EMPTY_COMMERCE_CART_STATE as E, eventCalendarBlockRuntime as Et, buildNewsletterFormInteractiveIslandProps as F, eventPaginationLoadReducer as Ft, formInteractiveIslandPropsCodec as G, normalizeOptionalId as Gt, publicGiftingOffersResponseSchema as H, getEventRuntimeFiltersKey as Ht, newsletterBlockSubmissionMessage as I, getEventIdentity as It, displayButtonText as J, CardListContentPart as Jt, buildEventRegistrationDisplayFromScopedEvents as K, catalogueEventCardProps as Kt, newsletterFormBlockRuntime as L, getEventPaginationView as Lt, reduceCommerceCart as M, eventListingInteractiveIslandPropsCodec as Mt, publicProductsResponseSchema as N, createInitialEventPaginationLoadState as Nt, buildProductCartItem as O, projectRecurringSchedule as Ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as P, eventPageOperationQuery as Pt, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as Q, MediaNodeServer as Qt, newsletterFormInteractiveIslandPropsCodec as R, planEventPageOperation as Rt, formatInterval as S, DEFAULT_MAILING_LIST_TARGETING as Sn, eventCombinedInteractiveIslandPropsCodec as St, passCardListContent as T, buildEventCalendarListingRender as Tt, buildFormInteractiveIslandProps as U, normalizeCsvIds as Ut, giftingInteractiveIslandPropsCodec as V, buildEventRuntimeFilters as Vt, formBlockRuntime as W, normalizeCsvString as Wt, eventRegistrationInteractiveIslandPropsCodec as X, resolveCardListSchedule as Xt, eventRegistrationBlockRuntime as Y, CardListLeadDate as Yt, offeringNounForEvent as Z, selectCardListPresentation as Zt, shopProductPresentation as _, publicPassProductCollectionSchema as _n, formatBookingSchedulePresentation as _t, buildShopInteractiveIslandProps as a, formatEventPrice as an, normalizeOfferingsPreviewContentForWrite as at, buildProductDetailDisplay as b, parseMailingListPlacementTargeting as bn, buildEventCombinedListingDisplay as bt, checkoutBlockRuntime as c, resolveEventSelection as cn, resolveOfferingsPreviewGroupCta as ct, productDetailBlockRuntime as d, resolveHeaderChromeRuntimeContract as dn, DEFAULT_BOOKING_BUTTON_TEXT as dt, getContainerClass as en, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as et, productDetailInteractiveIslandPropsCodec as f, staticHeaderChromeRuntime as fn, bookingBarPlacement as ft, shopInteractiveIslandPropsCodec as g, publicMembershipProductCollectionSchema as gn, bookingPanelHeading as gt, shopBlockRuntime as h, splitSiteChromePlacementClasses as hn, bookingEntryProgress as ht, buildProductListInteractiveIslandProps as i, weekColumnDays as in, isOfferingsPreviewSourceKey as it, productItemKey as j, eventListingBlockRuntime as jt, deriveCommerceCheckoutState as k, recurringScheduleProjectionSchema as kt, checkoutInteractiveIslandPropsCodec as l, headerChromeRuntimeContractSchema as ln, resolveOfferingsPreviewGroups as lt, productListInteractiveIslandPropsCodec as m, planSiteChromePlacement as mn, bookingEntry as mt, buildCheckoutInteractiveIslandProps as n, buildEventListWeek as nn, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as nt, cartBlockRuntime as o, formatEventPriceAmount as on, normalizeOfferingsPreviewItemLimit as ot, productListBlockRuntime as p, parseHeaderPositioning as pn, bookingCardEntry as pt, buildEventRegistrationInteractiveIslandProps as q, listingEventCardProps as qt, buildProductDetailInteractiveIslandProps as r, eventListWeekDays as rn, buildOfferingsPreviewListing as rt, cartInteractiveIslandPropsCodec as s, formatEventPriceDisplay as sn, offeringsListingFor as st, buildCartInteractiveIslandProps as t, Grid as tn, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as tt, getShopDisplayForItems as u, isHeaderScrollRuntimeEnabled as un, resolveOfferingsRenderInput as ut, buildCartDisplay as v, buildMailingListSignupBlockSourceRef as vn, occurrenceContextSchema as vt, membershipClassesLabel as w, parseContentVersionId as wn, buildEventCalendarListingDisplay as wt, formatCommercePrice as x, parseMailingListVisitorSelection as xn, eventCombinedBlockRuntime as xt, buildProductCardDisplay as y, assessMailingListTargeting as yn, buildEventCombinedInteractiveIslandProps as yt, buildGiftingInteractiveIslandProps as z, toEventPaginationLoadError as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-n6IZigd3.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CaXesATK.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|