@riverbankcms/sdk 0.158.0 → 0.159.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/README.md +21 -2
- package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-Cj1i1Yhh.d.ts} +1 -1
- package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-Cgzbv22M.d.ts} +6 -6
- package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-BC_FGc6b.d.ts} +2 -2
- package/dist/_dts/{client-B960v2gW.d.ts → client-BOK-YHVJ.d.ts} +23 -1
- package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-CsrYWxq_.d.ts} +2 -2
- package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-ClgMD-9g.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-C_IDuELl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-B7bhYSWx.d.ts} +5 -2
- package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → hosted-booking-appearance-ChGCQYdQ.d.ts} +15 -7
- package/dist/_dts/{index-Ba6RmuxX.d.ts → index-BZ4fb2zz.d.ts} +3 -3
- package/dist/_dts/{index-DCNu_8it.d.ts → index-CcaG6O13.d.ts} +4 -4
- package/dist/_dts/{index-DfkFWUxt.d.ts → index-Ci1PEk82.d.ts} +1 -1
- package/dist/_dts/{index-DaS_z6ir.d.ts → index-DMOfW1A7.d.ts} +1 -1
- package/dist/_dts/{index-DpgkhY-a.d.ts → index-Dt3XSGzY.d.ts} +2 -2
- package/dist/_dts/{index-DPfI2t5A.d.ts → index-DzUdUaJ-.d.ts} +2 -2
- package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-C1JI2pG0.d.ts} +7 -7
- package/dist/_dts/{navigation-n-eTVTIQ.d.ts → navigation-BnV_hOZy.d.ts} +20 -19
- package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-BtRUtrJa.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 +6 -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/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 +8 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BY7PgnDi.d.ts → types--oWXIfyz.d.ts} +7 -7
- package/dist/_dts/{types-BJrRUaY7.d.ts → types-CI9dYWJ8.d.ts} +2 -2
- package/dist/_dts/{types-maEnXL6Z.d.ts → types-CMFIZGUI.d.ts} +3 -3
- package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Ct-GL0eA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DKS8Ba30.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-Cg9v6d7Y.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-BoVCTUXy.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-BxRVCJG3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BI-kvwXf.mjs} +8 -8
- package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DIvnoN5l.mjs} +6 -6
- package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-BRMtEaa6.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-B8DzAUDa.mjs} +1 -1
- package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-Bo4qzQi0.mjs} +3 -3
- package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-D2vemnCx.mjs} +4 -4
- package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-e5XWtygG.mjs} +120 -88
- package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-dlapZ6mi.mjs} +1 -1
- package/dist/client/{Page-BmpeAwID.mjs → Page-Dqpv9Ggi.mjs} +16 -13
- package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-BrvKa_8H.mjs} +2 -2
- package/dist/client/{accordion-DeObOasQ.mjs → accordion-ByLpb4Dz.mjs} +1 -1
- package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BLndwxpx.mjs} +9 -9
- package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-CTxTEgHX.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-C8ef0vnT.mjs} +1 -1
- package/dist/client/{cart-BAXNbFux.mjs → cart-BpH6jkUO.mjs} +3 -3
- package/dist/client/{cart.client-BczxUF70.mjs → cart.client-DV78Td13.mjs} +1 -1
- package/dist/client/{checkout-C5NRhPeP.mjs → checkout-BJVb2RpL.mjs} +3 -3
- package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-CqGPXPSm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-CVsgML69.mjs → context-BRgBWthI.mjs} +1 -1
- package/dist/client/{cta-BWnUuJce.mjs → cta-D8ucLsvX.mjs} +1 -1
- package/dist/client/dateFormatting-LeKNQ-iX.mjs +61 -0
- package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-CjstiFPh.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-BaQJyI9x.mjs} +2 -2
- package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-CYNQYOsP.mjs} +2 -2
- package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-DDqSpN36.mjs} +31 -17
- package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-3vQtuC9X.mjs} +4 -4
- package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-CEJFMjqV.mjs} +4 -4
- package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-nGh47jef.mjs} +2 -2
- package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-BL3Ptb83.mjs} +4 -4
- package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-DDSO6KB2.mjs} +4 -4
- package/dist/client/{form-DVu3ZMjx.mjs → form-DjNLfy2Z.mjs} +3 -3
- package/dist/client/{form.client-QZUyABIY.mjs → form.client-Cj0By6ot.mjs} +3 -3
- package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-DyA9C5Hy.mjs} +1 -1
- package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-CZo0MPTA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-JjSq6Mzp.mjs} +2 -2
- package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-DRN1JePj.mjs} +2 -2
- package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-CuCvQdvp.mjs} +2 -2
- package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-B9srHHzZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-C2EgEBP1.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-CaldoFmi.mjs} +1 -1
- package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-hm7L17LM.mjs} +3 -3
- package/dist/client/{noop-DMFt3KdC.mjs → noop-M8FTSgm2.mjs} +2 -2
- package/dist/client/portal/client.mjs +10 -67
- package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-y86uwzEI.mjs} +1 -1
- package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-_JBndYZT.mjs} +1 -1
- package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-D-9fb2cW.mjs} +3 -3
- package/dist/client/{productList-DZH9_brv.mjs → productList-BSRlnwBW.mjs} +3 -3
- package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-DhbGL302.mjs} +3 -3
- package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BaX0hxf5.mjs} +83 -63
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cny2Ukb6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-96er7pIx.mjs} +1 -1
- package/dist/client/{shop-C7eL3B37.mjs → shop-CnIJfdZA.mjs} +3 -3
- package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-CsLwzq5O.mjs} +9 -9
- package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store--O8GRBwr.mjs} +1 -1
- package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-BcaJ-acA.mjs} +11 -10
- package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-BxL_bshW.mjs} +37 -3
- package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-VZjPOfCX.mjs} +2 -2
- package/dist/client/{timetableModel-D7PwpaBY.mjs → timetableModel-D09jPdue.mjs} +5 -5
- package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-pTXuY3jV.mjs} +2 -2
- package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-D14J-EhJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-o5sIVZ2u.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DJhFP_rg.mjs} +1 -1
- package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DMmNf2FP.mjs} +6 -6
- package/dist/client/{view-hJr_L4QC2.mjs → view-BgPql2yH2.mjs} +3 -3
- package/dist/client/{view-BPEa6Okm.mjs → view-D1R3Lk05.mjs} +13 -69
- package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-C0TsNqJc.mjs} +102 -37
- package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DADCj_ET.mjs} +67 -67
- package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-La40Dmmh.mjs} +3 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-406Hw9zY.mjs} +130 -130
- package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-CWN44I_B.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-BdwEZoo9.mjs} +111593 -111244
- package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-BVUKIYG0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-Cy9AKPy5.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-CRXaC2oL.mjs → siteStyleAccess-CFMmoMZb.mjs} +1 -1
- package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-Bhpzz2vO.mjs} +1 -1
- package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-DB6fb1pR.mjs} +4 -4
- package/dist/server/{bindings-C7DKLVx_.mjs → bindings-z2daXp-2.mjs} +1 -1
- package/dist/server/{blocks-jlIm0PWc.mjs → blocks-BaG8Qpaa.mjs} +64 -29
- package/dist/server/{client-CU4wlMLE.mjs → client-Cv-osXoU.mjs} +1 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-BNMDYCm8.mjs} +4 -4
- package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-CjA_F_AF.mjs} +2 -2
- package/dist/server/loadPage-jade28Xh.mjs +2 -0
- package/dist/server/metadata.mjs +2 -2
- package/dist/server/next.mjs +12 -11
- package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-CGodrtqi.mjs} +1 -1
- package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-DxRC724a.mjs} +73 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-C6bhjRKT.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-DZ5Fq_-r.mjs} +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-CbGDakvp.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-DK2YBNqy.mjs} +8 -6
- package/dist/server/{validation-Cm41pDUB.mjs → validation-BtHE2S_D.mjs} +2 -2
- package/dist/server/{version-Bo9C3McI.mjs → version-CNCdL6id.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as ok, E as err, s as runtimeMediaSchema, u as renderableMediaAssetSchema } from "./media-CcHwZkdJ.mjs";
|
|
2
2
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
3
|
-
import { $i as
|
|
4
|
-
import { g as validateManifestDraft, h as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-
|
|
5
|
-
import { C as resolvePageRouteTarget, D as parseStoredVariant, E as resolveLinkedEntryInlineFieldEligibility, S as resolveEntryRouteTarget, T as buildLinkedContentEditTarget, _ as renderedJoinLayout, b as defaultTransforms, f as buildPageRenderPlan, g as joinSlotKey, h as composePageJoins, m as toPresentationPage, p as toEditorPresentationPage, v as retargetJoinsAcrossOmissions, w as resolveRouteTarget } from "./prefetchBlockData-
|
|
3
|
+
import { $i as orderedLiveRunSessions, $n as listLookControl, $r as ChevronDownIcon, $t as formatTime, A as buildEventCalendarInteractiveIslandProps, At as resolveOfferingsRenderInput, Bn as staticHeaderChromeRuntime, Bt as formatEventPriceDisplay, C as membershipClassesLabel, Ca as publicEventPricingDisplay, Cn as publicEventsArraySchema, Cr as defineFragment, Ct as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, D as buildOfferingsCatalogueListing, Da as formatCurrencyAmount, Dn as FEATURE_CARD_ICON_TREATMENTS, Dr as resolveCardRoleForBoxStyles, Dt as resolveOfferingsPreviewGroupCta, E as publicRouteCandidatesSchema, Ea as resolvePricingOptionsPriceDisplay, En as blockBookingPaymentTermsSchema, Er as normalizeBoxStylesBorder, Et as offeringsListingFor, F as buildEventCollectionHydration, Fi as arrangementManifestFromVariants, Fr as when, Ft as getIconComponent, G as CardListLeadDate, Gn as buildFormInteractiveIslandProps, Gr as runTransforms, Gt as formatCalendarTitle, H as catalogueEventCardProps, I as buildEventCollectionListingDisplay, It as SpinnerNode, J as MediaNodeServer, Jn as defineInteractiveIslandMetaKeys, Jr as normalizeBlockContent, Jt as formatEventCompactDateRail, K as resolveCardListSchedule, Kn as buildInteractiveIslandProps, Kt as formatDate, L as eventCollectionDisplaySchemaShape, Li as resolveEffectiveArrangement, Lt as buildEventListWeek, M as eventListingBlockDefinition, Mn as composeHeaderSectionWrapperClassName, Mr as resolveBackgroundColorValue, Mt as ThemedButton, N as buildEventListingInteractiveIslandProps, Nn as markEditableSurfaceForwarding, Nr as ctaButton, Nt as ThemedButtonLink, Oa as parseCurrencyCode, On as resolveFeatureCardGeneratedIconSizePx, Ot as resolveOfferingsPreviewGroups, P as buildEventCollectionDisplay, Pn as splitPositioningClasses, Pr as el, Pt as ThemedDownloadLink, Qi as nextLiveRunSessionStartMs, Qn as listItemPresentation, Qr as ArrowDownIcon, Qt as formatEventTimeRange, R as eventCollectionHydrationSchema, Rt as formatEventPrice, S as membershipCardListContent, Sa as publicEventPricingCurrency, Si as bindingSchema, Sn as groupPublicEventsByRun, Sr as bodyCopyFragment, T as offeringsPreviewBlockDefinition, Ta as resolveExactOrFreePriceDisplay, Ti as PUBLIC_DOWNLOAD_MEDIA_TYPES, Tn as bookingConsentCarrierSchema, Tr as boxStyleClassNames, Tt as normalizeOfferingsPreviewItemLimit, U as listingEventCardProps, Ut as eventDateOptions, Vt as buildCalendarViewport, W as CardListContentPart, Wn as formBlockDefinition, Wt as eventLocalDateKey, X as ImagePresets, Xi as resolveDateRuntimeContext, Xn as defineClientOwnedBlockRuntime, Xr as parseBlockIconValue, Xt as formatEventHourLabel, Y as RichText, Yi as readRuntimeNow, Yn as createZodCodec, Yr as buildGeneratedBlockIconRenderAssetLookupFromUnknown, Yt as formatEventDateParts, Z as MediaPlaceholder, Zi as CANCELLED_SESSION_STATUS, Zn as defineProgressiveBlockRuntime, Zr as resolveBlockIconRenderValue, Zt as formatEventNextDateFact, _ as buildCheckoutInteractiveIslandProps, _a as toBookingTimeZone, _n as formatTotalCapacity, _r as ctaCopyFragment, aa as sameMailingListPlacementTargeting, ai as FileSpreadsheetIcon, an as formatDateKey, ar as clsx, at as setContextResolveImageUrlContext, b as buildShopInteractiveIslandProps, ba as formatBookingPriceDisplay, bn as isEventFull, br as isBlockButtonRole, c as newsletterBlockSubmissionMessage, ca as formatDateTimeRange, ci as PlusIcon, cn as getWeekCalendarDayTuple, cr as cardFragment, ct as getContainerClass, d as checkoutBlockDefinition, da as formatBookingCompactEnglishTime, di as parseInlineTextFromUnknown, dn as isToday, dr as blogFeaturedPostFragment, dt as buildEventRegistrationInteractiveIslandProps, ea as resolveWholeSeriesBookingPhase, ei as CircleMinusIcon, en as groupEventsByDate, er as listLookSlot, f as cartBlockDefinition, fa as getBookingLocalDateKey, fn as resolveRuntimeEventDestination, fr as singleButtonFragment, ft as bookingNowSchema, g as buildCartInteractiveIslandProps, ga as resolveBookingBusinessTimeZone, gn as formatEventRemainingPlaces, gr as testimonialsHeadingFragment, h as shopBlockDefinition, ha as parseLocalScheduleTime, hn as canJoinEventWaitlistOnAnyMode, hr as testimonialsCarouselFragment, i as newsletterSignupBlockDefinition, ia as parseMailingListPlacementTargeting, ii as FileAudioIcon, in as addDays, ir as Grid, it as getCurrentResolveImageUrlContext, j as buildEventCalendarListingDisplay, jt as ThemedAuthoredButton, k as eventCalendarBlockDefinition, kn as shouldReserveFeatureCardIconZone, kt as resolveOfferingsPreviewRunPath, l as giftingBlockDefinition, li as inlineTextToPlainText, ln as getWeekCalendarDays, lr as faqAccordionFragment, m as productListBlockDefinition, ma as parseBookingLocalDate, mn as browserReadAuthoritySchema, mr as formCopyFragment, n as normalizeLocationMapProps, na as parseMailingListRuntimeContext, ni as ClockIcon, nn as getLocalDateKey, nr as itemRole, nt as resolvePublicMediaUrl, o as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, oa as formatDate$1, oi as FileTextIcon, on as getDayOfWeek, or as richTextFragment, ot as sanitizeHref, p as productDetailBlockDefinition, pa as getLocalScheduleDate, pn as formatBookingSchedulePresentation, pr as formEmbedFragment, pt as previewStageSchema, q as selectCardListPresentation, qn as createInteractiveIslandCodec, qt as formatEventClockLabel, r as toLocationMapHydrationProps, ri as FileArchiveIcon, rn as getLocalMinuteOfDay, rt as buildResolveImageUrlContext, s as buildNewsletterFormInteractiveIslandProps, sa as formatDateRange, si as MinusIcon, sn as getOrderedDayNames, sr as headingFragment, st as getCardOrientation, t as buildGoogleMapsDirectionsUrl, ta as buildMailingListSignupBlockSourceRef, ti as CirclePlusIcon, tn as resolveEventTimeZone, tr as resolvedItemSurfaceProps, u as buildGiftingInteractiveIslandProps, ua as compareLocalScheduleDates, ui as isInlineTextEmpty, un as isSameCalendarDay, ur as faqHeadingFragment, ut as eventRegistrationBlockDefinition, v as buildProductDetailInteractiveIslandProps, va as toScheduledBookingDateTime, vn as getEventAvailability, vr as heroCtaRowFragment, vt as normalizeEventRegistrationPageSurfaceSubject, w as passCardListContent, wa as publicEventPricingType, wn as blockBookingConsentSchema, wt as buildOfferingsPreviewListing, x as shopProductPresentation, xa as isPublicEventPricingOptionDisplayable, xn as blockSiteTermsSchema, xr as heroCopyFragment, y as buildProductListInteractiveIslandProps, ya as toUtcIsoDateTimeString, yi as parseFieldDefinitions, yn as getEventAvailabilityStatus, yr as ctaRowFragment, yt as resolveEventRegistrationScopedEvents, z as eventCollectionSourceSchemaShape, zt as formatEventPriceAmount } from "./blocks-BaG8Qpaa.mjs";
|
|
4
|
+
import { g as validateManifestDraft, h as compileManifestContentContract, u as readSdkPreviewPublishedPlacement } from "./themeAdmission-DK2YBNqy.mjs";
|
|
5
|
+
import { C as resolvePageRouteTarget, D as parseStoredVariant, E as resolveLinkedEntryInlineFieldEligibility, S as resolveEntryRouteTarget, T as buildLinkedContentEditTarget, _ as renderedJoinLayout, b as defaultTransforms, f as buildPageRenderPlan, g as joinSlotKey, h as composePageJoins, m as toPresentationPage, p as toEditorPresentationPage, v as retargetJoinsAcrossOmissions, w as resolveRouteTarget } from "./prefetchBlockData-DZ5Fq_-r.mjs";
|
|
6
6
|
import { E as ICON_CONFIG, En as defaultThemeTokens, Jn as parseThemeColorToken, Jt as testimonialsCompositionTreatmentValues, Ln as getTextColorForBackground, N as generateDefaultButtonSystem, P as parseThemeButtonVariantId, R as parseThemeForPersistence, Rt as featureCardCompositionTreatmentValues, Vt as introCompositionTreatmentValues, Wt as offeringsPreviewCompositionTreatmentValues, cn as rgbColorValue, gn as resolveOnColorForThemeToken, hn as isCssColorLiteral, in as backgroundColorStyle, ln as textColorStyle, sn as mergeStyles, vn as resolveTokenOrCssColorValue } from "./schema-Bs735S27.mjs";
|
|
7
7
|
import { A as arrangementLookHooks } from "./siteChromeOverlayClearance-BangtD8A.mjs";
|
|
8
8
|
import { a as isRecord$4, i as isObjectRecord, t as RichTextDocSchema } from "./richTextSchema-YYc85FX4.mjs";
|
|
@@ -4665,7 +4665,7 @@ function resolveEventDetailsPresentation(input) {
|
|
|
4665
4665
|
//#region ../blocks/src/system/blocks/offerings-preview/scheduleSummary.ts
|
|
4666
4666
|
function deriveEventScheduleSummary(event) {
|
|
4667
4667
|
const occurrence = occurrenceFromEvent(event);
|
|
4668
|
-
return
|
|
4668
|
+
return compareLocalScheduleDates(getLocalScheduleDate(new Date(occurrence.endsAt), resolveBookingBusinessTimeZone(occurrence.timeZone)), getLocalScheduleDate(new Date(occurrence.startsAt), resolveBookingBusinessTimeZone(occurrence.timeZone))) > 0 ? {
|
|
4669
4669
|
kind: "multi-day-span",
|
|
4670
4670
|
occurrence
|
|
4671
4671
|
} : {
|
|
@@ -4673,23 +4673,18 @@ function deriveEventScheduleSummary(event) {
|
|
|
4673
4673
|
occurrence
|
|
4674
4674
|
};
|
|
4675
4675
|
}
|
|
4676
|
-
function derivePreviewRunSchedule(
|
|
4677
|
-
const sessions = orderedLiveRunSessions(
|
|
4676
|
+
function derivePreviewRunSchedule(event) {
|
|
4677
|
+
const sessions = orderedLiveRunSessions(event.run.sessions).filter(isValidOccurrence);
|
|
4678
4678
|
const first = sessions[0];
|
|
4679
4679
|
const last = sessions[sessions.length - 1];
|
|
4680
4680
|
if (!first || !last) return { kind: "no-live-sessions" };
|
|
4681
|
-
const
|
|
4682
|
-
const summary = sessions.length === 1 ? deriveEventScheduleSummary(first) :
|
|
4683
|
-
kind: "
|
|
4681
|
+
const authoredSummary = formatBookingSchedulePresentation("representative" in event ? event.representative : event);
|
|
4682
|
+
const summary = !authoredSummary && sessions.length === 1 ? deriveEventScheduleSummary(first) : {
|
|
4683
|
+
kind: "scheduled-run",
|
|
4684
4684
|
first,
|
|
4685
4685
|
last,
|
|
4686
4686
|
sessionCount: sessions.length,
|
|
4687
|
-
|
|
4688
|
-
} : {
|
|
4689
|
-
kind: "irregular-multi-session-run",
|
|
4690
|
-
first,
|
|
4691
|
-
last,
|
|
4692
|
-
sessionCount: sessions.length
|
|
4687
|
+
authoredSummary
|
|
4693
4688
|
};
|
|
4694
4689
|
return {
|
|
4695
4690
|
kind: "scheduled",
|
|
@@ -4705,59 +4700,9 @@ function occurrenceFromEvent(event) {
|
|
|
4705
4700
|
timeZone: event.timeZone
|
|
4706
4701
|
};
|
|
4707
4702
|
}
|
|
4708
|
-
function deriveFixedRecurrence(sessions) {
|
|
4709
|
-
const [first, second] = sessions;
|
|
4710
|
-
if (!first || !second) return null;
|
|
4711
|
-
if (!sessions.every((session) => sameLocalTime(first, session))) return null;
|
|
4712
|
-
const intervalDays = localDayNumber(second.startsAt, second.timeZone) - localDayNumber(first.startsAt, first.timeZone);
|
|
4713
|
-
if (intervalDays <= 0) return null;
|
|
4714
|
-
for (let index = 2; index < sessions.length; index += 1) {
|
|
4715
|
-
const previous = sessions[index - 1];
|
|
4716
|
-
const current = sessions[index];
|
|
4717
|
-
if (!previous || !current) return null;
|
|
4718
|
-
if (localDayNumber(current.startsAt, current.timeZone) - localDayNumber(previous.startsAt, previous.timeZone) !== intervalDays) return null;
|
|
4719
|
-
}
|
|
4720
|
-
if (intervalDays === 1) return "Every day";
|
|
4721
|
-
const weekday = localDateParts(first.startsAt, first.timeZone).weekday;
|
|
4722
|
-
if (intervalDays === 7) return `Every ${weekday}`;
|
|
4723
|
-
if (intervalDays % 7 === 0) return `Every ${intervalDays / 7} weeks on ${weekday}`;
|
|
4724
|
-
return `Every ${intervalDays} days`;
|
|
4725
|
-
}
|
|
4726
|
-
function sameLocalTime(reference, candidate) {
|
|
4727
|
-
const referenceStart = localDateParts(reference.startsAt, reference.timeZone);
|
|
4728
|
-
const candidateStart = localDateParts(candidate.startsAt, candidate.timeZone);
|
|
4729
|
-
const referenceEnd = localDateParts(reference.endsAt, reference.timeZone);
|
|
4730
|
-
const candidateEnd = localDateParts(candidate.endsAt, candidate.timeZone);
|
|
4731
|
-
return referenceStart.hour === candidateStart.hour && referenceStart.minute === candidateStart.minute && referenceEnd.hour === candidateEnd.hour && referenceEnd.minute === candidateEnd.minute;
|
|
4732
|
-
}
|
|
4733
4703
|
function isValidOccurrence(value) {
|
|
4734
4704
|
return Number.isFinite(Date.parse(value.startsAt)) && Number.isFinite(Date.parse(value.endsAt));
|
|
4735
4705
|
}
|
|
4736
|
-
function localDayNumber(isoTimestamp, timeZone) {
|
|
4737
|
-
const parts = localDateParts(isoTimestamp, timeZone);
|
|
4738
|
-
return Math.floor(Date.UTC(parts.year, parts.month - 1, parts.day) / 864e5);
|
|
4739
|
-
}
|
|
4740
|
-
function localDateParts(isoTimestamp, timeZone) {
|
|
4741
|
-
const parts = new Intl.DateTimeFormat("en-GB", {
|
|
4742
|
-
timeZone,
|
|
4743
|
-
year: "numeric",
|
|
4744
|
-
month: "numeric",
|
|
4745
|
-
day: "numeric",
|
|
4746
|
-
hour: "2-digit",
|
|
4747
|
-
minute: "2-digit",
|
|
4748
|
-
hourCycle: "h23",
|
|
4749
|
-
weekday: "long"
|
|
4750
|
-
}).formatToParts(new Date(isoTimestamp));
|
|
4751
|
-
const value = (type) => parts.find((part) => part.type === type)?.value ?? "";
|
|
4752
|
-
return {
|
|
4753
|
-
year: Number(value("year")),
|
|
4754
|
-
month: Number(value("month")),
|
|
4755
|
-
day: Number(value("day")),
|
|
4756
|
-
hour: Number(value("hour")),
|
|
4757
|
-
minute: Number(value("minute")),
|
|
4758
|
-
weekday: value("weekday")
|
|
4759
|
-
};
|
|
4760
|
-
}
|
|
4761
4706
|
//#endregion
|
|
4762
4707
|
//#region ../blocks/src/system/runtime/nodes/events/shared/eventCardListContent.ts
|
|
4763
4708
|
/** Live offering data only; editorial cards never acquire booking fields. */
|
|
@@ -4811,7 +4756,7 @@ function offeringLeadDate(event, startMs) {
|
|
|
4811
4756
|
};
|
|
4812
4757
|
}
|
|
4813
4758
|
function offeringSchedule(event, now) {
|
|
4814
|
-
const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event
|
|
4759
|
+
const run = event.bookingScope === "whole_series" ? derivePreviewRunSchedule(event) : null;
|
|
4815
4760
|
if (run?.kind === "no-live-sessions") return {
|
|
4816
4761
|
numeral: null,
|
|
4817
4762
|
schedule: null
|
|
@@ -4864,8 +4809,7 @@ function scheduleLine(summary, event, now) {
|
|
|
4864
4809
|
zone
|
|
4865
4810
|
}) : date(summary.occurrence.startsAt);
|
|
4866
4811
|
case "multi-day-span": return dates(summary.occurrence.startsAt, summary.occurrence.endsAt);
|
|
4867
|
-
case "
|
|
4868
|
-
case "irregular-multi-session-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.sessionCount} dates`;
|
|
4812
|
+
case "scheduled-run": return `${dates(summary.first.startsAt, summary.last.startsAt, "session")} · ${summary.authoredSummary?.text ?? `${summary.sessionCount} dates`}`;
|
|
4869
4813
|
}
|
|
4870
4814
|
}
|
|
4871
4815
|
function offeringAvailability(event) {
|
|
@@ -6182,7 +6126,7 @@ function FeaturedOfferingSummary({ item }) {
|
|
|
6182
6126
|
children: [
|
|
6183
6127
|
details.recurrence ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Repeats" }), /* @__PURE__ */ jsx("dd", { children: details.recurrence })] }) : null,
|
|
6184
6128
|
details.sessionCount ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Sessions" }), /* @__PURE__ */ jsx("dd", { children: details.sessionCount })] }) : null,
|
|
6185
|
-
/* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }),
|
|
6129
|
+
details.timeRange ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Time" }), /* @__PURE__ */ jsx("dd", { children: details.timeRange })] }) : null,
|
|
6186
6130
|
details.venue ? /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("dt", { children: "Venue" }), /* @__PURE__ */ jsx("dd", { children: details.venue })] }) : null
|
|
6187
6131
|
]
|
|
6188
6132
|
})]
|
|
@@ -6196,7 +6140,7 @@ function featuredSummaryDetails(item) {
|
|
|
6196
6140
|
deliveryMode: item.event.deliveryMode
|
|
6197
6141
|
});
|
|
6198
6142
|
case "run": {
|
|
6199
|
-
const schedule = derivePreviewRunSchedule(item.run
|
|
6143
|
+
const schedule = derivePreviewRunSchedule(item.run);
|
|
6200
6144
|
return schedule.kind === "scheduled" ? formatFeaturedSummary(schedule.summary, {
|
|
6201
6145
|
venue: item.run.representative.venue?.name ?? null,
|
|
6202
6146
|
siteTimeZone: item.run.representative.siteTimeZone,
|
|
@@ -6210,33 +6154,33 @@ function formatFeaturedSummary(summary, place) {
|
|
|
6210
6154
|
switch (summary.kind) {
|
|
6211
6155
|
case "single-occurrence": return detailsFromOccurrences({
|
|
6212
6156
|
first: summary.occurrence,
|
|
6213
|
-
|
|
6157
|
+
end: null,
|
|
6214
6158
|
place
|
|
6215
6159
|
});
|
|
6216
6160
|
case "multi-day-span": return detailsFromOccurrences({
|
|
6217
6161
|
first: summary.occurrence,
|
|
6218
|
-
|
|
6219
|
-
|
|
6220
|
-
|
|
6221
|
-
|
|
6222
|
-
|
|
6223
|
-
first: summary.first,
|
|
6224
|
-
last: summary.last,
|
|
6225
|
-
place,
|
|
6226
|
-
recurrence: summary.recurrenceLabel
|
|
6162
|
+
end: {
|
|
6163
|
+
dateTime: summary.occurrence.endsAt,
|
|
6164
|
+
timeZone: summary.occurrence.timeZone
|
|
6165
|
+
},
|
|
6166
|
+
place
|
|
6227
6167
|
});
|
|
6228
|
-
case "
|
|
6168
|
+
case "scheduled-run": return detailsFromOccurrences({
|
|
6229
6169
|
first: summary.first,
|
|
6230
|
-
|
|
6170
|
+
end: {
|
|
6171
|
+
dateTime: summary.last.startsAt,
|
|
6172
|
+
timeZone: summary.last.timeZone
|
|
6173
|
+
},
|
|
6231
6174
|
place,
|
|
6232
|
-
|
|
6175
|
+
recurrence: summary.authoredSummary ?? void 0,
|
|
6176
|
+
sessionCount: `${summary.sessionCount} date${summary.sessionCount === 1 ? "" : "s"}`
|
|
6233
6177
|
});
|
|
6234
6178
|
default: return assertNever$1(summary, "Unhandled offerings preview schedule summary");
|
|
6235
6179
|
}
|
|
6236
6180
|
}
|
|
6237
6181
|
function detailsFromOccurrences(input) {
|
|
6238
|
-
const { first,
|
|
6239
|
-
const endDateTime =
|
|
6182
|
+
const { first, end, place } = input;
|
|
6183
|
+
const endDateTime = end?.dateTime ?? first.startsAt;
|
|
6240
6184
|
const options = eventDateOptions({
|
|
6241
6185
|
timeZone: first.timeZone,
|
|
6242
6186
|
siteTimeZone: place.siteTimeZone,
|
|
@@ -6246,13 +6190,15 @@ function detailsFromOccurrences(input) {
|
|
|
6246
6190
|
timeZone,
|
|
6247
6191
|
locale: options.locale
|
|
6248
6192
|
});
|
|
6193
|
+
const startDate = summaryDate(first.startsAt, first.timeZone);
|
|
6194
|
+
const endDate = end ? summaryDate(end.dateTime, end.timeZone) : null;
|
|
6249
6195
|
return {
|
|
6250
|
-
startDate
|
|
6196
|
+
startDate,
|
|
6251
6197
|
startDateTime: first.startsAt,
|
|
6252
|
-
endDate:
|
|
6198
|
+
endDate: endDate === startDate ? null : endDate,
|
|
6253
6199
|
endDateTime,
|
|
6254
|
-
timeRange: formatEventTimeRange(first, options),
|
|
6255
|
-
recurrence: input.recurrence ?? null,
|
|
6200
|
+
timeRange: input.recurrence?.clock ? null : formatEventTimeRange(first, options),
|
|
6201
|
+
recurrence: input.recurrence?.text ?? null,
|
|
6256
6202
|
sessionCount: input.sessionCount ?? null,
|
|
6257
6203
|
venue: place.venue
|
|
6258
6204
|
};
|
|
@@ -6302,8 +6248,13 @@ function renderSingleOfferingCard(item, options) {
|
|
|
6302
6248
|
}, item.run.eventSeriesId);
|
|
6303
6249
|
}
|
|
6304
6250
|
}
|
|
6251
|
+
/** The authored clock replaces live time only when it was successfully formatted. */
|
|
6252
|
+
function formatRunScheduleTime(schedule, options) {
|
|
6253
|
+
const authored = schedule.summary.kind === "scheduled-run" ? schedule.summary.authoredSummary : null;
|
|
6254
|
+
return [authored?.text, authored?.clock ? null : formatEventTimeRange(schedule.firstSession, options)].filter(Boolean).join(" · ");
|
|
6255
|
+
}
|
|
6305
6256
|
function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
6306
|
-
const schedule = derivePreviewRunSchedule(group
|
|
6257
|
+
const schedule = derivePreviewRunSchedule(group);
|
|
6307
6258
|
if (schedule.kind === "no-live-sessions") return /* @__PURE__ */ jsx(RunWithoutLiveDates, {
|
|
6308
6259
|
group,
|
|
6309
6260
|
path
|
|
@@ -6315,7 +6266,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
6315
6266
|
deliveryMode: group.representative.deliveryMode
|
|
6316
6267
|
});
|
|
6317
6268
|
const dateRail = formatEventCompactDateRail(firstSession.startsAt, options);
|
|
6318
|
-
const timeRange =
|
|
6269
|
+
const timeRange = formatRunScheduleTime(schedule, options);
|
|
6319
6270
|
const price = formatEventPriceDisplay(group.representative.pricing);
|
|
6320
6271
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
6321
6272
|
return /* @__PURE__ */ jsxs("article", {
|
|
@@ -6389,7 +6340,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
6389
6340
|
});
|
|
6390
6341
|
}
|
|
6391
6342
|
function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText }) {
|
|
6392
|
-
const schedule = derivePreviewRunSchedule(group
|
|
6343
|
+
const schedule = derivePreviewRunSchedule(group);
|
|
6393
6344
|
if (schedule.kind === "no-live-sessions") return /* @__PURE__ */ jsx(RunWithoutLiveDates, {
|
|
6394
6345
|
group,
|
|
6395
6346
|
path
|
|
@@ -6401,7 +6352,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
|
|
|
6401
6352
|
deliveryMode: group.representative.deliveryMode
|
|
6402
6353
|
});
|
|
6403
6354
|
const formattedDate = formatEventCompactDateRail(firstSession.startsAt, options).label;
|
|
6404
|
-
const timeRange =
|
|
6355
|
+
const timeRange = formatRunScheduleTime(schedule, options);
|
|
6405
6356
|
const price = formatEventPriceDisplay(group.representative.pricing);
|
|
6406
6357
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
6407
6358
|
const description = group.representative.description;
|
|
@@ -6717,7 +6668,7 @@ function bookingActionContent(input) {
|
|
|
6717
6668
|
default: return assertNever$1(input.booking);
|
|
6718
6669
|
}
|
|
6719
6670
|
}
|
|
6720
|
-
function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "primary", showVenue = true, emptyMessage = "Regular schedule details will be added shortly." }) {
|
|
6671
|
+
function RecurringSchedule({ dateContext = resolveDateRuntimeContext(void 0), schedule, buttonText = "Book", buttonVariant = "primary", showVenue = true, emptyMessage = "Regular schedule details will be added shortly." }) {
|
|
6721
6672
|
const projection = schedule ?? {
|
|
6722
6673
|
items: [],
|
|
6723
6674
|
diagnostics: []
|
|
@@ -6727,8 +6678,28 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
6727
6678
|
"data-diagnostic-count": projection.diagnostics.length,
|
|
6728
6679
|
children: emptyMessage
|
|
6729
6680
|
});
|
|
6730
|
-
|
|
6731
|
-
|
|
6681
|
+
return /* @__PURE__ */ jsx("div", {
|
|
6682
|
+
className: "recurring-schedule",
|
|
6683
|
+
"data-diagnostic-count": projection.diagnostics.length,
|
|
6684
|
+
role: "list",
|
|
6685
|
+
children: projection.items.map((item) => /* @__PURE__ */ jsx(RecurringScheduleRow, {
|
|
6686
|
+
item,
|
|
6687
|
+
locale: dateContext.locale,
|
|
6688
|
+
buttonText: buttonText ?? "Book",
|
|
6689
|
+
buttonVariant: buttonVariant ?? "primary",
|
|
6690
|
+
showVenue: showVenue ?? true
|
|
6691
|
+
}, item.seriesId))
|
|
6692
|
+
});
|
|
6693
|
+
}
|
|
6694
|
+
function RecurringScheduleRow({ item, locale, buttonText, buttonVariant, showVenue }) {
|
|
6695
|
+
const startLabel = formatEventClockLabel(item.cadence.startTime, locale);
|
|
6696
|
+
const endLabel = formatEventClockLabel(item.cadence.endTime, locale);
|
|
6697
|
+
const description = `${item.title}, ${item.cadence.weekday} at ${startLabel}`;
|
|
6698
|
+
return /* @__PURE__ */ jsxs("article", {
|
|
6699
|
+
className: "recurring-schedule-row",
|
|
6700
|
+
role: "listitem",
|
|
6701
|
+
"aria-label": description,
|
|
6702
|
+
children: [
|
|
6732
6703
|
/* @__PURE__ */ jsx("p", {
|
|
6733
6704
|
className: "recurring-schedule-day",
|
|
6734
6705
|
children: item.cadence.weekday
|
|
@@ -6738,7 +6709,7 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
6738
6709
|
children: [
|
|
6739
6710
|
/* @__PURE__ */ jsx("time", {
|
|
6740
6711
|
dateTime: item.cadence.startTime,
|
|
6741
|
-
children:
|
|
6712
|
+
children: startLabel
|
|
6742
6713
|
}),
|
|
6743
6714
|
/* @__PURE__ */ jsx("span", {
|
|
6744
6715
|
"aria-hidden": "true",
|
|
@@ -6746,7 +6717,7 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
6746
6717
|
}),
|
|
6747
6718
|
/* @__PURE__ */ jsx("time", {
|
|
6748
6719
|
dateTime: item.cadence.endTime,
|
|
6749
|
-
children:
|
|
6720
|
+
children: endLabel
|
|
6750
6721
|
})
|
|
6751
6722
|
]
|
|
6752
6723
|
}),
|
|
@@ -6764,24 +6735,12 @@ function RecurringSchedule({ schedule, buttonText = "Book", buttonVariant = "pri
|
|
|
6764
6735
|
className: "recurring-schedule-action",
|
|
6765
6736
|
children: bookingActionContent({
|
|
6766
6737
|
booking: item.booking,
|
|
6767
|
-
buttonVariant
|
|
6768
|
-
buttonText
|
|
6769
|
-
accessibleName: `${buttonText
|
|
6738
|
+
buttonVariant,
|
|
6739
|
+
buttonText,
|
|
6740
|
+
accessibleName: `${buttonText} ${description}`
|
|
6770
6741
|
})
|
|
6771
6742
|
})
|
|
6772
|
-
]
|
|
6773
|
-
return /* @__PURE__ */ jsx("article", {
|
|
6774
|
-
className: "recurring-schedule-row",
|
|
6775
|
-
role: "listitem",
|
|
6776
|
-
"aria-label": `${item.title}, ${item.cadence.weekday} at ${item.cadence.startTime}`,
|
|
6777
|
-
children: rowContent
|
|
6778
|
-
});
|
|
6779
|
-
};
|
|
6780
|
-
return /* @__PURE__ */ jsx("div", {
|
|
6781
|
-
className: "recurring-schedule",
|
|
6782
|
-
"data-diagnostic-count": projection.diagnostics.length,
|
|
6783
|
-
role: "list",
|
|
6784
|
-
children: projection.items.map((item) => /* @__PURE__ */ jsx(React.Fragment, { children: renderRow(item) }, item.seriesId))
|
|
6743
|
+
]
|
|
6785
6744
|
});
|
|
6786
6745
|
}
|
|
6787
6746
|
//#endregion
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Or as parseBackgroundContent, qr as listBlockDescriptors } from "./blocks-BaG8Qpaa.mjs";
|
|
2
2
|
import { r as createDebugWriter } from "./debug-DXUyrE0T.mjs";
|
|
3
3
|
import { a as getJsonFromAi, i as resolveModelForPass, o as getJsonFromAiText, r as DEFAULT_MANIFEST_MODEL, t as convertHtmlToManifest } from "./three-pass-converter-CmmchOFC.mjs";
|
|
4
4
|
import { z } from "zod";
|
package/dist/server/prebuild.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prebuildCache } from "./prebuild-
|
|
1
|
+
import { t as prebuildCache } from "./prebuild-C6bhjRKT.mjs";
|
|
2
2
|
export { prebuildCache };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { D as ok, E as err, S as parseUserId, a as mediaSchema, b as parseSiteId, d as indexRenderableMediaAssets, f as resolveManagedMediaReference, g as parseApiKeyId, s as runtimeMediaSchema, u as renderableMediaAssetSchema, x as parseSiteTermsVersionId } from "./media-CcHwZkdJ.mjs";
|
|
2
2
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
3
|
-
import { Ar as
|
|
3
|
+
import { Ar as parseRuntimeBackgroundContent, B as calendarWindowQuerySchema, Bi as boundaryLayout, Br as lookLeadSlotTransform, Ci as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, Fi as arrangementManifestFromVariants, Fn as contentTransforms, Gi as parseCanonicalRuntimeBackground, Gr as runTransforms, Hi as sectionFactsForContent, Hn as uiTransforms, Hr as lookSkinSlotTransform, Ht as eventCalendarWeekStart, Ii as readStoredMode, In as mediaTransforms, Ir as standardImageShapeOptions, Ki as resolveSectionBackground, Kr as getBlockDefinition, Li as resolveEffectiveArrangement, Ln as headerRuntimeTransforms, Lr as BACKGROUND_POSITION_PRESET_VALUES, Lt as buildEventListWeek, Mr as resolveBackgroundColorValue, O as projectRecurringSchedule, Or as parseBackgroundContent, Pi as augmentManifest, Q as computeMediaTransformStyle, Ri as resolveModeArrangement, Rn as chromeLogoTransforms, Rr as getAnchorClasses, Si as bindingSchema, Ui as deriveSectionGround, Un as formattingTransforms, Ur as asPartialObject, V as resolveCalendarReadProfile, Vi as composeBoundary, Vn as resolveHeroTitleLength, Vr as lookQuoteLimitTransform, Wi as heroPhotoPaintsGround, Wr as createTransformRegistry, Xi as resolveDateRuntimeContext, Yi as readRuntimeNow, _t as resolveEventCalendarReadPlan, bi as previewCustomizeManifestCurationSchema, gi as fieldSchema, gt as eventCalendarListLayoutOptions, hi as blockCategoryEnum, ht as eventCalendarListLayoutCompatibleDisplayModeValues, jr as resolveSurfaceForegroundStyles, kr as parseBackgroundOverlay, lt as resolveEventSelection, mt as eventCalendarListGroupingDecision, pa as getLocalScheduleDate, ra as parseMailingListProviderScope, rr as standardAspectRatioOptions, wr as boxStylesTransforms, xi as NodeSchema, ya as toUtcIsoDateTimeString, zi as resolvePublishedLook, zn as layoutTransforms, zr as lookCarouselRegionTransform } from "./blocks-BaG8Qpaa.mjs";
|
|
4
4
|
import { d as SUPPORTED_LOADER_ENDPOINTS$1, n as parsePublicProductCategorySelector, r as isRecord$3 } from "./publicProducts-C3meXS2o.mjs";
|
|
5
5
|
import { En as defaultThemeTokens, Ht as makeBoundaryId, Qt as resolveSurface, jt as asSiteStyleId, kt as asLayoutVariantKey, lt as stripStaleTransitionStyleGroup, r as themeSchema, wt as asDesignBlockId } from "./schema-Bs735S27.mjs";
|
|
6
6
|
import { B as resolveEffectiveKnobs, C as getGradientPreset, H as cardListKnobBlocks, M as resolveItemSurface, N as resolveLookSlotSurfaces, S as gradientToCss, T as deriveSiteStyleBlockPolicy, V as cardListFamilyBlocks, j as arrangementSlotNames, w as parseGradientPresetId } from "./siteChromeOverlayClearance-BangtD8A.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, y as MissingBlockOverrideError } from "../overrides-
|
|
2
|
-
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-
|
|
3
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-
|
|
4
|
-
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-
|
|
1
|
+
import { n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, y as MissingBlockOverrideError } from "../overrides-DxRC724a.mjs";
|
|
2
|
+
import { n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE } from "../themeAdmission-DK2YBNqy.mjs";
|
|
3
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, r as Layout, t as BlockContent } from "../Block.shared-DB6fb1pR.mjs";
|
|
4
|
+
import { i as Page, n as collectUsedBlockKindsFromPageOutline, r as resolveBlockOverridesForPage, t as buildPageBlockKindIndex } from "../overrideResolution-CGodrtqi.mjs";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/rendering/components/Block.server.tsx
|
|
7
7
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { a as mediaSchema, f as resolveManagedMediaReference, h as parseMediaIdentifier, l as buildRenderableMediaAssetIndex, m as parseCanonicalMediaIdentifier, o as persistableMediaSchema, p as mediaIdentifierSchema, s as runtimeMediaSchema, u as renderableMediaAssetSchema } from "./media-CcHwZkdJ.mjs";
|
|
2
|
-
import { C as toBlocksMediaAssets, S as toBlocksImageResolveContextInput, _ as ThemeScope, b as PageRenderer, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as EditorPageRenderer, w as buildThemeRuntime, x as toBlocksPageRendererDataContext, y as MissingBlockOverrideError } from "./overrides-
|
|
3
|
-
import { $ as resolveImageSourceSetWithContext$1, Di as projectRepeaterGridLayoutForRendering$1, Ei as projectRepeaterGridLayout$1, Q as computeMediaTransformStyle, Y as RichText$2, et as resolveImageUrl$1,
|
|
4
|
-
import { _ as admitLayoutGridForPlan, n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as deriveFieldValidationPlan } from "./themeAdmission-
|
|
5
|
-
import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-
|
|
6
|
-
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-
|
|
7
|
-
import { t as loadPage } from "./loadPage-
|
|
8
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
2
|
+
import { C as toBlocksMediaAssets, S as toBlocksImageResolveContextInput, _ as ThemeScope, b as PageRenderer, d as toPageHydrationBootstrapConfig, n as defineBlockOverrides, r as defineLazyBlockOverride, t as defineBlockOverrideRegistrations, u as PageContent, v as EditorPageRenderer, w as buildThemeRuntime, x as toBlocksPageRendererDataContext, y as MissingBlockOverrideError } from "./overrides-DxRC724a.mjs";
|
|
3
|
+
import { $ as resolveImageSourceSetWithContext$1, Di as projectRepeaterGridLayoutForRendering$1, Ei as projectRepeaterGridLayout$1, Q as computeMediaTransformStyle, Y as RichText$2, et as resolveImageUrl$1, ot as sanitizeHref, rt as buildResolveImageUrlContext, tt as resolveImageUrlWithContext$1, vi as parseFieldDefinition } from "./blocks-BaG8Qpaa.mjs";
|
|
4
|
+
import { _ as admitLayoutGridForPlan, n as MissingSdkThemeError, t as MISSING_SDK_THEME_ERROR_CODE, v as deriveFieldValidationPlan } from "./themeAdmission-DK2YBNqy.mjs";
|
|
5
|
+
import { x as resolveAuthoredLinkHref } from "./prefetchBlockData-DZ5Fq_-r.mjs";
|
|
6
|
+
import { a as buildFooterRenderablePageOutline, i as UnsupportedOverrideOnlyLayoutChromeError, n as toBlockHydrationBootstrapConfig, r as Layout, t as BlockContent } from "./Block.shared-DB6fb1pR.mjs";
|
|
7
|
+
import { t as loadPage } from "./loadPage-CjA_F_AF.mjs";
|
|
8
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BNMDYCm8.mjs";
|
|
9
9
|
import "./bindings-Dgt_0goJ.mjs";
|
|
10
10
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
11
11
|
import "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as prefetchBlockData } from "./prefetchBlockData-
|
|
1
|
+
import { n as prefetchBlockData } from "./prefetchBlockData-DZ5Fq_-r.mjs";
|
|
2
2
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
3
|
//#region src/data/defineOwnDataProperty.ts
|
|
4
4
|
/** Define a string key as ordinary data without invoking legacy prototype setters. */
|
package/dist/server/routing.mjs
CHANGED
|
@@ -69,7 +69,7 @@ async function checkRedirectForPath(params) {
|
|
|
69
69
|
//#endregion
|
|
70
70
|
//#region src/routing/resolveRoute.ts
|
|
71
71
|
const defaultResolveRouteDeps = { loadPage: async (params) => {
|
|
72
|
-
const { loadPage } = await import("./loadPage-
|
|
72
|
+
const { loadPage } = await import("./loadPage-jade28Xh.mjs");
|
|
73
73
|
return loadPage(params);
|
|
74
74
|
} };
|
|
75
75
|
/**
|
package/dist/server/server.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as loadPage } from "./loadPage-
|
|
2
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
3
|
-
import { t as createRiverbankClient } from "./client-
|
|
1
|
+
import { t as loadPage } from "./loadPage-CjA_F_AF.mjs";
|
|
2
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BNMDYCm8.mjs";
|
|
3
|
+
import { t as createRiverbankClient } from "./client-Cv-osXoU.mjs";
|
|
4
4
|
export { createRiverbankClient, isEntryContent, isPageContent, isPageSurfaceContent, loadContent, loadPage };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { _ as parseContentVersionId, i as mediaPosterSchema, p as mediaIdentifierSchema, s as runtimeMediaSchema } from "./media-CcHwZkdJ.mjs";
|
|
2
|
-
import { Ai as
|
|
2
|
+
import { Ai as resolveRepeaterGridColumnFieldId, Di as projectRepeaterGridLayoutForRendering, Kr as getBlockDefinition, Mi as resolveRepeaterGridRowFieldId, Ni as resolveRepeaterGridSpanFieldId, Oi as buildRepeaterGridLayout, Xr as parseBlockIconValue, _i as normalizeSelectSource, a as sanitizeNewsletterSignupPublicContent, di as parseInlineTextFromUnknown, fi as plainTextToInlineText, ga as resolveBookingBusinessTimeZone, ji as resolveRepeaterGridColumnsForBreakpoint, ki as parseRepeaterGridInteger, li as inlineTextToPlainText, mi as PUBLIC_FILE_FIELD_KINDS, pi as DEFAULT_MEDIA_FIELD_KINDS, qi as isRecord$1, wi as linkSchema, ya as toUtcIsoDateTimeString, yi as parseFieldDefinitions } from "./blocks-BaG8Qpaa.mjs";
|
|
3
3
|
import { at as boxBackgroundSchema, ot as runtimeBoxBackgroundSchema } from "./schema-Bs735S27.mjs";
|
|
4
4
|
import { r as isRichTextDoc } from "./richTextSchema-YYc85FX4.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1073,19 +1073,21 @@ function isEmptyRichTextDoc(value) {
|
|
|
1073
1073
|
}
|
|
1074
1074
|
//#endregion
|
|
1075
1075
|
//#region ../blocks/src/system/manifest/fieldValidation/layoutGridRendering.ts
|
|
1076
|
-
function
|
|
1076
|
+
function invalidCoordinateIds(plan, items, itemIds) {
|
|
1077
1077
|
const ids = layoutGridCoordinateFieldIds(plan);
|
|
1078
|
-
return items.
|
|
1078
|
+
return items.flatMap((item, index) => {
|
|
1079
1079
|
const row = layoutGridRecord(item);
|
|
1080
|
-
return row !== null && resolveLayoutGridItemPlans(plan, row).some((field) => ids.includes(field.fieldId) && !fieldPlanToStrictObjectPropertyZod(field).safeParse(row[field.fieldId]).success);
|
|
1080
|
+
return row !== null && resolveLayoutGridItemPlans(plan, row).some((field) => ids.includes(field.fieldId) && !fieldPlanToStrictObjectPropertyZod(field).safeParse(row[field.fieldId]).success) ? [itemIds?.[index] ?? String(index)] : [];
|
|
1081
1081
|
});
|
|
1082
1082
|
}
|
|
1083
1083
|
/** Shared raw-coordinate admission for editor and public rendering; retains diagnostics. */
|
|
1084
1084
|
function admitLayoutGridForPlan(plan, value, rootValues, ids) {
|
|
1085
1085
|
const layout = buildLayoutGridForPlan(plan, value, rootValues, ids);
|
|
1086
|
-
|
|
1086
|
+
const invalidIds = invalidCoordinateIds(plan, value, ids);
|
|
1087
|
+
return layout && invalidIds.length > 0 ? {
|
|
1087
1088
|
...layout,
|
|
1088
|
-
hasInvalidItems: true
|
|
1089
|
+
hasInvalidItems: true,
|
|
1090
|
+
invalidCoordinateIds: invalidIds
|
|
1089
1091
|
} : layout;
|
|
1090
1092
|
}
|
|
1091
1093
|
function projectGrid(plan, value, rootValues) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as SDK_WORKFLOW_ENDPOINT_PATTERN, c as navigationLinkInputSchemaOptions, i as collectPortalLinkStats, l as footerModeSchema, o as SDK_WORKFLOW_ID_PATTERN, r as collectCartLinkStats, s as loaderFallbackScalarSchema, t as SUPPORTED_LOADER_ENDPOINTS, y as builtinTransformDefinitions } from "./prefetchBlockData-
|
|
1
|
+
import { Kr as getBlockDefinition, bi as previewCustomizeManifestCurationSchema, gi as fieldSchema, hi as blockCategoryEnum, xi as NodeSchema } from "./blocks-BaG8Qpaa.mjs";
|
|
2
|
+
import { a as SDK_WORKFLOW_ENDPOINT_PATTERN, c as navigationLinkInputSchemaOptions, i as collectPortalLinkStats, l as footerModeSchema, o as SDK_WORKFLOW_ID_PATTERN, r as collectCartLinkStats, s as loaderFallbackScalarSchema, t as SUPPORTED_LOADER_ENDPOINTS, y as builtinTransformDefinitions } from "./prefetchBlockData-DZ5Fq_-r.mjs";
|
|
3
3
|
import { a as ALLOWED_TRANSFORM_IDS_SET, r as ALLOWED_NODE_TYPES_SET, t as titleSourceValueSchema } from "./titleSourceSchema-DwKJfMYb.mjs";
|
|
4
4
|
import { n as collectBookingReservedFieldCollisions, t as APPOINTMENT_BOOKING_BLOCK_ID } from "./booking-form.reserved-fields-BWRF7509.mjs";
|
|
5
5
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
package/package.json
CHANGED