@riverbankcms/sdk 0.175.0 → 0.176.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-hb2IWD8K.d.ts → BlocksIslandsHydrator-DvoTk7Py.d.ts} +1 -1
- package/dist/_dts/{Page-BlY68ZF-.d.ts → Page-D-l374tU.d.ts} +8 -16
- package/dist/_dts/{SdkPreviewMode-CA8hU7hW.d.ts → SdkPreviewMode-22DdQAj5.d.ts} +2 -2
- package/dist/_dts/{client-B6tCvmG4.d.ts → client-D4p0J1lK.d.ts} +1 -1
- package/dist/_dts/{content-types-B9qryk4R.d.ts → content-types-0WWR6dC4.d.ts} +2 -2
- package/dist/_dts/{contracts-DWoaRxj1.d.ts → contracts-f_ZG_SwY.d.ts} +8 -8
- package/dist/_dts/{footerPageOutline-Djdrhp5s.d.ts → footerPageOutline-DSeZvOaj.d.ts} +85 -8
- package/dist/_dts/{generatePageMetadata-CFi0vxov.d.ts → generatePageMetadata-BlitPA2D.d.ts} +2 -2
- package/dist/_dts/{index-CQUzwOxO.d.ts → index-CKkkCgb6.d.ts} +1 -1
- package/dist/_dts/{index-Bl5_pjmq.d.ts → index-CoLcwjqJ.d.ts} +1 -1
- package/dist/_dts/{index-_pXaCO12.d.ts → index-D-ai8IQd.d.ts} +4 -4
- package/dist/_dts/{index-OtazQE3U.d.ts → index-DDsfmM4d.d.ts} +2 -2
- package/dist/_dts/{index-Btp5nIoz.d.ts → index-EJMo-KSo.d.ts} +2 -2
- package/dist/_dts/{index-DmhFb6R1.d.ts → index-ZKEDvLuN.d.ts} +1 -1
- package/dist/_dts/{index-YRQulWB4.d.ts → index-tcPtGdag.d.ts} +3 -3
- package/dist/_dts/{loadContent-Hcuvs4pz.d.ts → loadContent-Ci932ORy.d.ts} +7 -7
- package/dist/_dts/{request-BT8i_vH-.d.ts → request-B8jVdvgI.d.ts} +374 -24
- package/dist/_dts/{resolveBlockData-B-dJrunl.d.ts → resolveBlockData-DrSMuD76.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CVLYWcoI.d.ts → resolvePageContent-Be4iL6-F.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +5 -177
- package/dist/_dts/sdk/src/rendering/index.d.ts +7 -7
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +3 -3
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-CXL1QJSY.d.ts → types-BXMX4z2j.d.ts} +7 -7
- package/dist/_dts/{types-C0XZnjXz.d.ts → types-DXY64Xh4.d.ts} +4 -4
- package/dist/_dts/{types-OKzbqRBx.d.ts → types-lwSgCWZ4.d.ts} +11 -2
- package/dist/_dts/{validation-Bxi66FtQ.d.ts → validation-C5xp--Fu.d.ts} +7 -4
- package/dist/client/{BlocksIslandsHydrator-2xzlERTG.mjs → BlocksIslandsHydrator-CeYQQQs7.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qsohSEdQ.mjs → BookingMailingListNote-CDDWrY_W.mjs} +6 -6
- package/dist/client/{BookingPanelArrangement-DrdtON0q.mjs → BookingPanelArrangement-BShQSial.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CUFxBaTM.mjs → BookingQuestionFields-MbvIo2jS.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-Ch0w0Utn.mjs → CalendarNavigationChevron-C6CSVfEB.mjs} +9 -9
- package/dist/client/{DemoBookingPortalAccess-DGgsjqXK.mjs → DemoBookingPortalAccess-C9Ggcfx3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dg4PHFJJ.mjs → EventCalendar.client-BSMuSqg0.mjs} +9 -9
- package/dist/client/{EventCombined.client-tky8JcnQ.mjs → EventCombined.client-BTrmSyUB.mjs} +8 -8
- package/dist/client/{EventItem-BybMSKNL.mjs → EventItem-B0WjGXsH.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-uvWRE5wi.mjs → EventListWeekNavigation-8Ij7vuxY.mjs} +1 -1
- package/dist/client/{EventListing.client-DQx9dohz.mjs → EventListing.client-CWk2NEwd.mjs} +3 -3
- package/dist/client/{EventListing.view-r31k8Icz.mjs → EventListing.view-BEH4UbSL.mjs} +17 -8
- package/dist/client/{EventRegistrationPayment-BMmPDmSf.mjs → EventRegistrationPayment-B2EikR3f.mjs} +9 -9
- package/dist/client/{LocationMapActions-BecH-qhI.mjs → LocationMapActions-myIQIvQL.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-BJzmFdcn.mjs → MapDrawingSvg-BfsVyPvB.mjs} +2 -37
- package/dist/client/{Page-CWN_8cLZ.mjs → Page-F3lhDvw1.mjs} +329 -268
- package/dist/client/{SiteTermsAgreementField-Dr5lj4oY.mjs → SiteTermsAgreementField-BYACYP0T.mjs} +2 -2
- package/dist/client/{StepIndicator-C7RJBOW3.mjs → StepIndicator-Bb7rPtSq.mjs} +5 -5
- package/dist/client/{accordion-uUi_N6mZ.mjs → accordion-BfsOiweL.mjs} +1 -1
- package/dist/client/{booking-form.client-CKHgxvsh.mjs → booking-form.client-B8ohIj13.mjs} +13 -13
- package/dist/client/{bookingForm-Bi74dmiS.mjs → bookingForm-CXsck2oH.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-C-gFwhnO.mjs → boxStyleClassNames-B_hcuT06.mjs} +2 -2
- package/dist/client/{carousel-C0_BqMA0.mjs → carousel-Cz5Ddbsx.mjs} +1 -1
- package/dist/client/{cart-BOHuppVu.mjs → cart-CTC2oS3p.mjs} +3 -3
- package/dist/client/{cart.client-IfJE1zAp.mjs → cart.client-c1YkTC-Q.mjs} +1 -1
- package/dist/client/{checkout-C3Aj-aNa.mjs → checkout-BeW1ufaH.mjs} +3 -3
- package/dist/client/{checkout.client-Tg9lfeYf.mjs → checkout.client-BeU32khQ.mjs} +1 -1
- package/dist/client/{checkoutUrls-OLqQdAXD.mjs → checkoutUrls-DVfSUSKp.mjs} +1 -1
- package/dist/client/client.mjs +36 -3
- package/dist/client/{context-D8TpQXjX.mjs → context-R9p5c8IH.mjs} +1 -1
- package/dist/client/{course-DHmeQAvq.mjs → course-CUFVJEAc.mjs} +1 -1
- package/dist/client/{dateFormatting-ABCZWkpT.mjs → dateFormatting-CF6FWCoo.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BdcuW_pa.mjs → demoPortalMagicLink-tZxIm3RL.mjs} +1 -1
- package/dist/client/{display-DMqotaGU.mjs → display-4HYOb-AK.mjs} +51 -4
- package/dist/client/{enhanceHeaderSection-Ciuhsk0E.mjs → enhanceHeaderSection-DEYDI54E.mjs} +3 -3
- package/dist/client/{event-details.client-CJapNbTv.mjs → event-details.client-BwjBJP-f.mjs} +1 -1
- package/dist/client/{event-registration.client-CAdcpnLc.mjs → event-registration.client-DWvSODTI.mjs} +11 -11
- package/dist/client/{eventCalendar-BlsD5R8M.mjs → eventCalendar-C9Pn9eeZ.mjs} +4 -4
- package/dist/client/{eventCombined-B9Ly3024.mjs → eventCombined-Bdhk0fp0.mjs} +4 -4
- package/dist/client/{eventDetails-CbEGI4jO.mjs → eventDetails-C2LfNW_o.mjs} +2 -2
- package/dist/client/{eventListing-ZSmvhWII.mjs → eventListing-B-bJOQUk.mjs} +4 -4
- package/dist/client/{eventRegistration-D-yUcIyO.mjs → eventRegistration-CbdmUiDT.mjs} +4 -4
- package/dist/client/{form-DG_YZSNn.mjs → form-BbUUt784.mjs} +3 -3
- package/dist/client/{form.client-BU6dM0-C.mjs → form.client-BVlz-9_t.mjs} +4 -4
- package/dist/client/{form.parts-Db0Iq7nx.mjs → form.parts-TB4UIrML.mjs} +1 -1
- package/dist/client/{formatDate-DFfWHpQB.mjs → formatDate-TDHhFjFN.mjs} +1 -1
- package/dist/client/gifting/client.mjs +4 -4
- package/dist/client/{gifting-DMrsN4B4.mjs → gifting-CbNSrp7C.mjs} +4 -4
- package/dist/client/{gifting.client-BVa2XYJB.mjs → gifting.client-B__bGhFc.mjs} +4 -4
- package/dist/client/{gifting.parts-C2u4Y-pf.mjs → gifting.parts-CTA1sDW6.mjs} +2 -2
- package/dist/client/{headerSection-D91EzlOR.mjs → headerSection-5Wn9nUW_.mjs} +2 -2
- package/dist/client/{lookSurfaces-BDZLALxj.mjs → lookSurfaces-BwiNdgMU.mjs} +1 -1
- package/dist/client/{newsletter-form.client-BMGRiRpo.mjs → newsletter-form.client-B17WYHxZ.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-D5UfUaD3.mjs → newsletter-form.parts-DN9wD1ZG.mjs} +1 -1
- package/dist/client/{newsletterForm-B_67sNwa.mjs → newsletterForm-DLMlxInp.mjs} +3 -3
- package/dist/client/{noop-DF8_EiFt.mjs → noop-CaQxI-Js.mjs} +2 -9
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-D-XNir0m.mjs → product-detail.client-Di_anRGR.mjs} +1 -1
- package/dist/client/{product-list.client-BLfYQ-qi.mjs → product-list.client-Duhl6rtL.mjs} +1 -1
- package/dist/client/{productDetail-W0_0lDGe.mjs → productDetail-BgKmCwA8.mjs} +3 -3
- package/dist/client/{productList-ayAtPJdb.mjs → productList-C_wMKsYS.mjs} +3 -3
- package/dist/client/{propsDecoder-ChYKWjLA.mjs → propsDecoder-y3LvxaiG.mjs} +4 -4
- package/dist/client/{registry.server-B1EEZkcr.mjs → registry.server-CIWYKz1V.mjs} +83 -27
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +87 -22
- package/dist/client/{richText-coerce-CDAfpMQU.mjs → richText-coerce-DkPBFb_a.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CcGWvyht.mjs → routeIslandApiConfig-BgO0rZce.mjs} +1 -1
- package/dist/client/{shop-DbUUoHFJ.mjs → shop-CFbWlv_W.mjs} +3 -3
- package/dist/client/{shop-commerce-aQqcDmyZ.mjs → shop-commerce-C-I29eaA.mjs} +12 -12
- package/dist/client/{shop-commerce-store-Cd7USpuY.mjs → shop-commerce-store-DGcc7twO.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-DGvPBmVP.mjs → shop-discount-apply.state-DOm7vx0X.mjs} +2 -2
- package/dist/client/{shop.client-BNZ9M8cG.mjs → shop.client-GHTWUKD6.mjs} +12 -12
- package/dist/client/{shop.interactive-CJAINJr3.mjs → shop.interactive-CxDJ8P2r.mjs} +3 -3
- package/dist/client/{shopShared-DwVAuGsx.mjs → shopShared-Be9QJJpT.mjs} +2 -2
- package/dist/client/{timetableModel-DBTIFWTb.mjs → timetableModel--R0zVzZO.mjs} +8 -8
- package/dist/client/{useAvailableSlots-BomyyKeo.mjs → useAvailableSlots-BGu_2F50.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-CCxHMWlU.mjs → useDiscountCodeUi-I_mXI9Yd.mjs} +1 -1
- package/dist/client/{useEventPagination-Bjin_qaN.mjs → useEventPagination-DxIJ--JZ.mjs} +7 -7
- package/dist/client/{view-BTk470k0.mjs → view-3foOzGWR.mjs} +3 -3
- package/dist/client/{view-Cw4EmEPv.mjs → view-BbzH5MQb.mjs} +61 -34
- package/dist/preview-next/client/{PageSectionToolbar-bq7gbKvn.mjs → PageSectionToolbar-0xyUPWUB.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-DVsPNcos.mjs → PreviewEditorSidebar-D8vUzXtI.mjs} +38 -35
- package/dist/preview-next/client/{PreviewEditorUI-B-pq3aZc.mjs → PreviewEditorUI-CRjS4gAu.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-ChyjB96e.mjs → PreviewShell-BvdBdeH_.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-D_czeC0l.mjs → SdkPreviewModeRuntime-DWTyKbFj.mjs} +77 -47
- package/dist/preview-next/client/{previewAssistantSlot-B61mZd81.mjs → previewAssistantSlot-BqY2TTcZ.mjs} +436 -278
- package/dist/preview-next/client/{previewChromeRoot-dwOn9XtM.mjs → previewChromeRoot-BuRYe2iL.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DZDfOxoW.mjs → sdk-runtime-BnK5kH9f.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BZDIC-fA.mjs → siteStyleAccess-DbKozRSn.mjs} +1 -1
- package/dist/preview-next/client/{useAutosaveStatus-BbzLMf-l.mjs → useAutosaveStatus-D9s6dyMW.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-BEXcWQeI.mjs → useOpenBlockForSetup-Ce4WCxpT.mjs} +16 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-0gSlK9S0.mjs → route-contract-BYezcMx5.mjs} +8 -0
- package/dist/server/{Block.shared-DeXXycg8.mjs → Block.shared-Cn7gg13_.mjs} +84 -16
- package/dist/server/{bindings-7L3pC5Os.mjs → bindings-VGgS6UvF.mjs} +3 -3
- package/dist/server/{client-CgghATBm.mjs → client-Bvag5OtW.mjs} +35 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-D7M5Vcug.mjs → loadContent-CxASA3PE.mjs} +5 -8
- package/dist/server/{loadPage-CiTId05y.mjs → loadPage-CQgde5DN.mjs} +2 -2
- package/dist/server/mapLocation-BM5WX7FY.mjs +315 -0
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-CJ3MRI5Q.mjs → overrideResolution-BqVLO4gX.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-Cuos4Xcd.mjs → pageRenderPlan-CfSnAkCO.mjs} +10 -41
- package/dist/server/{pageRuntimeSupport-CuVj3bkd.mjs → pageRuntimeSupport-uz4gzBOo.mjs} +4 -13
- package/dist/server/{pageShared-JxlV8_Bo.mjs → pageShared-D23o5QgC.mjs} +111 -66
- package/dist/server/{prebuild-BDhlJbAx.mjs → prebuild-BuoXWT9y.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-kERh_c0v.mjs → prefetchBlockData-CCiYV8_s.mjs} +21 -6
- package/dist/server/{registry-cQ9N5W-n.mjs → registry-CXRXsFSx.mjs} +346 -513
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-CN4UmmTK.mjs → resolveBlockData-yfe8WLEA.mjs} +1 -1
- package/dist/server/{responseMedia-DpBC1hTM.mjs → responseMedia-F-ElH2Rd.mjs} +1 -0
- package/dist/server/server.mjs +3 -3
- package/dist/server/{validation-3puM5SM8.mjs → validation-CozQ7wE0.mjs} +4 -4
- package/dist/server/{version-B8g-Wx57.mjs → version-CgCWRFEY.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/identity-DQD_8lNO.mjs +0 -6
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { Dt as parseThemeColorToken, Et as parseColorTokenParts, G as hexToRgb, R as contrastRatio, a as formatButtonColourContractError, at as surfaceForegroundValue, c as DEFAULT_BUTTON_SIZES, ct as surfaceInkStyle, d as generateShadowValue$1, et as SURFACE_INK_CSS_VARS, f as DEFAULT_VARIANT_ALIAS_ID, ft as cssVarValue, g as createStandardButtonSurfacePolicy, gt as textColorValue, h as buttonSizeNameSchema, ht as textColorStyle, i as BUTTON_CONTRAST_POLICY, j as expandPalette, mt as rgbColorValue, n as compileButtonColourStates, nt as surfaceForegroundDeclarations, pt as mergeStyles, r as resolveSolidButtonColour, rt as surfaceForegroundInputFromResolved, s as BORDER_WIDTH_MAP, st as surfaceInkDeclarations, u as FONT_SIZE_MAP, ut as backgroundColorStyle, v as unsafeAsOpaqueButtonColourToken } from "./resolveButtonColourStates--6yJp9Tq.mjs";
|
|
2
|
-
import { $ as
|
|
3
|
-
import { $ as
|
|
2
|
+
import { $ as resolveEventLinkProps, A as deriveEventScheduleSummary, B as MapPinIcon, C as EventHeader, D as OfferingCourseCards, E as EventListingFrameView, F as CardListCollection, G as buildMonthDay, H as eventDisplayTitleText, I as CardListItems, J as selectQuickDateEvents, K as resolveMonthSelectedDay, L as EventItem, M as createEditorPresentationPageReader, N as createPresentationPageReader, O as eventCardListContent, P as EmptyState, Q as resolveEventCta, R as eventCategoryBadge, S as lookPartShown, T as MonthLookView, U as formatCourseDatesAfter, V as eventDisplayTitle, W as formatCourseSessions, X as formatEventDuration, Y as formatEventTeacherLine, Z as resolveEventCardBooking, _ as publicAppointmentPricingSchema, a as joinSlotKey, at as defaultThemeTokens, b as resolvePageRouteTarget, c as buildLinkedContentEditTarget, et as parseStoredVariant, f as defaultTransforms, g as publicAppointmentLocationSchema, h as formatAppointmentPrice, i as composePageJoins, it as buildThemeTokens, j as derivePreviewRunSchedule, k as offeringDatesBySeries, m as formatAppointmentLocation, n as createPageRenderPlanReader, o as renderedJoinLayout, p as formatAppointmentDuration, q as formatEventQuickDate, s as retargetJoinsAcrossOmissions, u as resolveLinkedEntryInlineFieldEligibility, w as EVENT_REGISTRATION_ANCHOR_ID, x as resolveRouteTarget, y as resolveEntryRouteTarget, z as CalendarIcon } from "./pageRenderPlan-CfSnAkCO.mjs";
|
|
3
|
+
import { $i as chosenString, $n as parseTeamMemberSpecialties, $o as getDayOfWeek, $r as testimonialsHeadingFragment, $s as resolveExactOrFreePriceDisplay, $t as formatCalendarTitle, A as membershipClassesLabel, Ai as resolveBlockIconRenderValue, An as planOrdinarySeriesSelection, As as sameMailingListPlacementTargeting, At as groupOfferingRunsByCourse, B as eventListingBlockDefinition, Bi as MinusIcon, Bs as getBookingLocalDateKey, Bt as ThemedButtonLink, C as buildCartInteractiveIslandProps, Ca as readOpeningToneProjection, Cn as bookingPageKindSchema, Cr as lookListPresentationSchemaShape, Ct as normalizeEventRegistrationPageSurfaceSubject, D as buildShopInteractiveIslandProps, Da as headerRootPaint, Di as when, Dn as getPublicEventCanonicalPath, Dr as clsx, Ds as parseMailingListRuntimeContext, E as buildProductListInteractiveIslandProps, Ea as headerRootIsTransparent, Ei as el, En as eventOccurrenceContext, Eo as transitionCatalogueEntries, Er as Grid, Es as buildMailingListSignupBlockSourceRef, F as offeringsCatalogueShape, Fi as ClockIcon, Fn as selectionRepresentativeEvent, Fr as formatCoursePrice, Ft as resolveOfferingsPreviewGroupCta, G as eventCollectionDisplaySchemaShape, Gn as resolveFeatureCardGeneratedIconSizePx, Gr as cardFragment, Gs as toBookingTimeZone, Gt as eventListWeekDays, H as buildEventCollectionDisplay, Hi as inlineTextToPlainText, Hn as isEventFull, Ht as getIconComponent, I as eventCalendarBlockDefinition, Ii as FileArchiveIcon, In as isBookableEvent, Ir as formatEventDepositNote, It as resolveOfferingsPreviewGroups, J as catalogueEventCardProps, Ji as parseFieldDefinitions, Jr as blogFeaturedPostFragment, Js as formatBookingPriceDisplay, K as eventCollectionHydrationSchema, Kn as shouldReserveFeatureCardIconZone, Kr as faqAccordionFragment, Ks as toUtcIsoDateTimeString, Kt as eventWeekGroupingContext, L as buildEventCalendarInteractiveIslandProps, La as arrangementManifestFromVariants, Li as FileAudioIcon, Lo as bindingSchema, Lr as formatEventPrice, Ls as formatBookingCompactEnglishTime, Lt as resolveOfferingsRenderInput, M as offeringsPreviewBlockDefinition, Mi as ChevronDownIcon, Mn as planWholeSeriesParentSelection, Ms as EVENT_ADDRESS_AFTER_BOOKING_LABEL, Mt as offeringRunLifecycle, N as publicRouteCandidatesSchema, Ni as CircleMinusIcon, Nn as planWholeSeriesRunSelection, Ns as formatDate$1, Nt as offeringsListingFor, O as shopProductPresentation, Oi as buildGeneratedBlockIconRenderAssetLookupFromUnknown, On as isOrdinaryPublicEvent, Ot as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, P as buildOfferingsCatalogueListing, Pi as CirclePlusIcon, Pn as resolveSelectionBookingClosedDetail, Pt as readOfferingsGrouping, Q as cardListPresentationSchemaShape, Qi as isRecord$4, Qo as formatDateKey, Qr as testimonialsCarouselFragment, Qs as publicEventPricingType, R as buildEventCalendarListingDisplay, Ri as FileSpreadsheetIcon, Rn as formatEventRemainingPlaces, Rr as formatEventPriceAmount, Rs as toScheduledBookingDateTime, Rt as ThemedAuthoredButton, S as shopBlockDefinition, Sa as effectiveHeaderNavLinkStyle, Sn as closedRunCopy, Sr as listLookSlot, Ss as CANCELLED_SESSION_STATUS, St as previewStageSchema, T as buildProductDetailInteractiveIslandProps, Ta as headerNeedsPhotoShade, Ti as runTransforms, Tn as hasCancelledRegistrationDate, To as anglePolygonCss, Tr as itemRole, Ts as resolveWholeSeriesBookingPhase, U as buildEventCollectionHydration, Ui as isInlineTextEmpty, Un as groupPublicEventsByRun, Ur as richTextFragment, Us as parseLocalScheduleTime, Ut as SpinnerNode, V as buildEventListingInteractiveIslandProps, Vi as PlusIcon, Vn as getEventAvailabilityStatus, Vt as ThemedDownloadLink, W as buildEventCollectionListingDisplay, Wi as parseInlineTextFromUnknown, Wn as FEATURE_CARD_ICON_TREATMENTS, Wr as headingFragment, Ws as resolveBookingBusinessTimeZone, Wt as buildEventListWeek, X as CardListContentPart, Xn as markEditableSurfaceForwarding, Xo as getLocalMinuteOfDay, Xr as formEmbedFragment, Xs as publicEventPricingCurrency, Y as listingEventCardProps, Ya as requireCuratedSiteStyle, Yi as PUBLIC_DOWNLOAD_MEDIA_TYPES, Yn as composeHeaderSectionWrapperClassName, Yo as getLocalDateKey, Yr as singleButtonFragment, Ys as isPublicEventPricingOptionDisplayable, Yt as buildCalendarViewport, Zi as isObjectRecord, Zn as splitPositioningClasses, Zo as addDays, Zr as formCopyFragment, Zs as publicEventPricingDisplay, Zt as eventDateOptions, _ as buildGiftingInteractiveIslandProps, _i as bodyCopyFragment, _n as eventPlaceName, _r as createZodCodec, _s as loadedReadinessFact, _t as getContainerClass, a as LOCATION_MAP_LOADER_KEYS, an as formatEventNextDateFact, ao as generateNavLinkCSS, b as productDetailBlockDefinition, bn as blockSiteTermsSchema, br as listItemPresentation, bt as resolveEventRegistrationEventSource, c as normalizeLocationMapSource, ci as resolveCardRoleForBoxStyles, co as resolveEffectPaint, cr as staticHeaderChromeRuntime, cs as blockBookingConsentSchema, d as newsletterSignupBlockDefinition, dn as resolveEventTimeZone, ds as sanitizeHref, ei as ctaCopyFragment, en as formatDate, er as teamMemberBiography, es as getOrderedDayNames, fn as resolveRuntimeEventDestination, fr as formBlockDefinition, ft as buildResolveImageUrlContext, g as giftingBlockDefinition, ga as resolveHeaderRootForeground, gn as eventOnlinePlace, gr as defineInteractiveIslandMetaKeys, gs as hiddenFromVisitors, gt as getCardOrientation, h as newsletterBlockSubmissionMessage, ha as AFFORDANCE_SUPPRESS_CLASS, hi as ctaButton, hn as browserReadAuthoritySchema, hr as createInteractiveIslandCodec, hs as admitReadinessFacts, ht as EventQuickFacts, ia as eventReadinessResultSchema, ii as heroCopyFragment, in as formatEventHourLabel, io as buildTextContrastShadow, is as isToday, it as MediaPlaceholder, j as passCardListContent, ji as ArrowDownIcon, jn as planWholeSeriesParentBooking, jt as normalizeOfferingsPreviewItemLimit, k as membershipCardListContent, ka as arrangementLookHooks, ki as parseBlockIconValue, kn as planDropInPanel, ks as parseMailingListPlacementTargeting, kt as buildOfferingsPreviewListing, l as parseLocationMapLoaderResult, ln as formatTime, lo as generateInteractiveChildInheritanceCSS, ls as bookingConsentCarrierSchema, lt as resolvePublicMediaUrl, m as buildNewsletterFormInteractiveIslandProps, ma as themeButtonSelector, mi as resolveBackgroundColorValue, mn as bookingPresentation, mr as buildInteractiveIslandProps, mt as setContextResolveImageUrlContext, ni as ctaRowFragment, nn as formatEventCompactDateRail, no as generateDefaultCardSystem, nr as readRuntimeNow, ns as getWeekCalendarDays, nt as RichText, o as describeUnresolvedLocationMapLocation, oi as boxStyleClassNames, oo as generateEffectsCSS, os as publicEventsArraySchema, p as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, pa as parseThemeButtonVariantId, pr as buildFormInteractiveIslandProps, pt as getCurrentResolveImageUrlContext, q as eventCollectionSourceSchemaShape, qr as faqHeadingFragment, r as normalizeBlockContent, ri as isBlockButtonRole, rn as formatEventDateParts, ro as generateFooterCss, rr as resolveDateRuntimeContext, rs as isSameCalendarDay, rt as ImagePresets, s as normalizeLocationMapProps, sc as TokenResolver, si as normalizeBoxStylesBorder, sn as formatEventTimeRange, so as resolveEffectApplications, ss as blockBookingPaymentTermsSchema, t as getBlockDefinition, ta as eventReadinessLoaderKey, tc as formatCurrencyAmount, ti as heroCtaRowFragment, tn as formatEventClockLabel, to as resolveCardRole, tr as teamMemberCardBiography, ts as getWeekCalendarDayTuple, tt as MediaNodeServer, u as resolveLocationMapLocation, un as groupEventsByDate, us as beforeBookingQuestionsPresentationSchema, v as checkoutBlockDefinition, vi as defineFragment, vn as eventVenuePlace, vo as boundaryRuntimeMetricsForDecorativeTransition, vr as defineClientOwnedBlockRuntime, vs as pageTemplateFromEntry, vt as eventRegistrationBlockDefinition, w as buildCheckoutInteractiveIslandProps, wn as cancelledDateCopy, wr as resolvedItemSurfaceProps, ws as orderedLiveRunSessions, wt as resolveEventRegistrationScopedEvents, x as productListBlockDefinition, xa as authoredHeaderLinkForeground, xn as pageNavigationSchema, xr as listLookControl, xt as bookingNowSchema, y as cartBlockDefinition, ya as selectItemSurfacePresentation, yn as formatEventLocation, yr as defineProgressiveBlockRuntime, ys as unavailableReadinessFact, yt as buildEventRegistrationInteractiveIslandProps, za as resolveEffectiveArrangement, zi as FileTextIcon, zn as formatTotalCapacity, zt as ThemedButton } from "./registry-CXRXsFSx.mjs";
|
|
4
4
|
import { B as HOVER_TEXT_THRESHOLD, C as materializeRuntimeButtonAppearance, F as resolveSurfaceForeground, G as resolveConcreteColorHex, H as contrastThresholdByPolicy, K as resolveOpaqueSurfaceHex, L as surfaceInkPublication, N as freezeOwnedThemeValue, O as mapButtonVisualAppearances, P as ownedThemeSnapshot, S as buttonTypographyDeclarations, U as inkReference, V as certifyPaint, b as buttonShadow, f as compositeHex, g as actionVariableFallback, n as parseSurfaceTree, o as resolveSurface, s as serializeSurfaceTree, v as buttonBorder, w as paddingDeclarations, x as buttonStateAppearanceDeclarations, y as buttonRadius } from "./accessibleSurfaces-CM3QANtw.mjs";
|
|
5
5
|
import { b as siteChromeBackgroundOverrideOwner, m as surfaceCardRoleValues, s as boxBackgroundSchema } from "./schema-BpsqaSSU.mjs";
|
|
6
6
|
import { l as renderableMediaAssetSchema, o as runtimeMediaSchema } from "./media-luf7RF22.mjs";
|
|
7
|
+
import { a as normalizeLocationAddressText, d as mapDrawingSchema } from "./mapLocation-BM5WX7FY.mjs";
|
|
7
8
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
8
|
-
import { A as MQ_TABLET_ONLY, D as MQ_MD_UP, E as MQ_MD_DOWN, O as MQ_SM_DOWN, T as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, g as validateManifestDraft, k as MQ_SM_UP, m as compileManifestContentContract } from "./pageRuntimeSupport-
|
|
9
|
+
import { A as MQ_TABLET_ONLY, D as MQ_MD_UP, E as MQ_MD_DOWN, O as MQ_SM_DOWN, T as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, g as validateManifestDraft, k as MQ_SM_UP, m as compileManifestContentContract } from "./pageRuntimeSupport-uz4gzBOo.mjs";
|
|
9
10
|
import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
|
|
10
11
|
import { M as opaqueSurfaceDeclarations, T as testimonialsCompositionTreatmentValues, j as opaqueSurfaceContextFromTheme, v as featureCardCompositionTreatmentValues, x as offeringsPreviewCompositionTreatmentValues, y as introCompositionTreatmentValues } from "./lookMediaFrame-CaH018pK.mjs";
|
|
11
|
-
import { c as mergeHeaderNavTypographyPreference, l as readHeaderNavFontSizePreference } from "./bindings-
|
|
12
|
+
import { c as mergeHeaderNavTypographyPreference, l as readHeaderNavFontSizePreference } from "./bindings-VGgS6UvF.mjs";
|
|
12
13
|
import { A as generateShadowCssVars, C as INPUT_ERROR_BORDER_COLOR_VAR, D as RESOLVED_BUTTON_DISABLED_DECLARATIONS, E as generateOpaquePanelCss, M as cardBorderDeclarations, N as cardDecorationPseudoRules, O as resolvedButtonColourDeclarations, S as INPUT_EDGE_COLOR_VAR, T as generateCheckableCss, _ as getResponsiveScopeSpec, a as prefixSelector, b as INPUT_GROUP_SELECTOR, c as parseCustomCssRules, d as THEME_RADIUS_CSS_VARS, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as escapeStyleContent, j as renderCssDeclarations, k as resolvedButtonFocusDeclarations, l as generateAllBlockVarsCss, m as generateStatusCss, n as compileBlockCustomCssRules, o as toKebabCase, p as generateProgressCss, r as compileCustomCssRules, s as parseBlockCustomCssRules, t as ThemeScopeCore, u as generateBlockCustomVarsCss, v as INPUT_GROUP_ERROR_SELECTOR, w as inputEdgeColorValue, x as generateInputGroupCss, y as INPUT_GROUP_FOCUS_SELECTOR } from "./ThemeScopeCore-DFEM1a85.mjs";
|
|
13
14
|
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-DOsfofCy.mjs";
|
|
14
15
|
import { n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
@@ -5120,7 +5121,7 @@ function EventCardContent(props) {
|
|
|
5120
5121
|
}
|
|
5121
5122
|
function EventCardVenue(props) {
|
|
5122
5123
|
const venue = props.showVenue ? props.event.venue : null;
|
|
5123
|
-
if (!venue) return null;
|
|
5124
|
+
if (!venue) return props.showVenue && props.event.addressAfterBooking ? /* @__PURE__ */ jsx(AddressAfterBookingLine, {}) : null;
|
|
5124
5125
|
const { place } = eventVenuePlace(venue);
|
|
5125
5126
|
return /* @__PURE__ */ jsxs("div", {
|
|
5126
5127
|
className: "rb-mb-3",
|
|
@@ -5133,6 +5134,15 @@ function EventCardVenue(props) {
|
|
|
5133
5134
|
})]
|
|
5134
5135
|
});
|
|
5135
5136
|
}
|
|
5137
|
+
function AddressAfterBookingLine() {
|
|
5138
|
+
return /* @__PURE__ */ jsx("div", {
|
|
5139
|
+
className: "rb-mb-3",
|
|
5140
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
5141
|
+
className: "rb-flex rb-items-center rb-gap-2 rb-caption",
|
|
5142
|
+
children: [/* @__PURE__ */ jsx(MapPinIcon, { className: "rb-shrink-0" }), /* @__PURE__ */ jsx("span", { children: EVENT_ADDRESS_AFTER_BOOKING_LABEL })]
|
|
5143
|
+
})
|
|
5144
|
+
});
|
|
5145
|
+
}
|
|
5136
5146
|
function EventCardFooter(props) {
|
|
5137
5147
|
return /* @__PURE__ */ jsxs("div", {
|
|
5138
5148
|
...listLookSlot(props, "item-actions"),
|
|
@@ -8352,7 +8362,7 @@ function EventPricingDetails({ isDropIn, wholeSeriesPricingDisplay, acceptedItem
|
|
|
8352
8362
|
})
|
|
8353
8363
|
}) : null;
|
|
8354
8364
|
}
|
|
8355
|
-
function EventFacts({ selection, selected, venue, online, teamMembers, pricing, showCapacity, lookSlots }) {
|
|
8365
|
+
function EventFacts({ selection, selected, venue, online, addressAfterBooking, teamMembers, pricing, showCapacity, lookSlots }) {
|
|
8356
8366
|
const { date, timeRange } = formatEventDateParts({
|
|
8357
8367
|
startsAt: selected.startsAt,
|
|
8358
8368
|
endsAt: selected.endsAt,
|
|
@@ -8376,7 +8386,8 @@ function EventFacts({ selection, selected, venue, online, teamMembers, pricing,
|
|
|
8376
8386
|
] }),
|
|
8377
8387
|
/* @__PURE__ */ jsx(EventVenueFact, {
|
|
8378
8388
|
venue,
|
|
8379
|
-
online
|
|
8389
|
+
online,
|
|
8390
|
+
addressAfterBooking
|
|
8380
8391
|
}),
|
|
8381
8392
|
/* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
|
|
8382
8393
|
showCapacity && selected.capacity != null ? /* @__PURE__ */ jsxs("div", {
|
|
@@ -8395,25 +8406,43 @@ function EventFacts({ selection, selected, venue, online, teamMembers, pricing,
|
|
|
8395
8406
|
});
|
|
8396
8407
|
}
|
|
8397
8408
|
const eventOnlinePlaceShown = (event, showVenue) => showVenue ? eventOnlinePlace(event) : null;
|
|
8409
|
+
const hasEventPlaceFact = (event, showVenue) => showVenue && (Boolean(event.venue) || eventOnlinePlace(event) !== null || event.addressAfterBooking === true);
|
|
8410
|
+
const addressAfterBookingShown = (event, showVenue) => showVenue && event.addressAfterBooking === true;
|
|
8411
|
+
/** Where a venue would go: online, the owner's word that the address follows the booking, or nothing at all. */
|
|
8412
|
+
function EventPlaceWithoutVenue({ online, addressAfterBooking }) {
|
|
8413
|
+
if (!online && !addressAfterBooking) return null;
|
|
8414
|
+
if (!online) return /* @__PURE__ */ jsxs("div", {
|
|
8415
|
+
className: "rb-mt-6",
|
|
8416
|
+
children: [/* @__PURE__ */ jsx("div", {
|
|
8417
|
+
className: "rb-label rb-mb-2",
|
|
8418
|
+
children: "Venue"
|
|
8419
|
+
}), /* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: EVENT_ADDRESS_AFTER_BOOKING_LABEL }) })]
|
|
8420
|
+
});
|
|
8421
|
+
return /* @__PURE__ */ jsxs("div", {
|
|
8422
|
+
className: "rb-mt-6",
|
|
8423
|
+
children: [
|
|
8424
|
+
/* @__PURE__ */ jsx("div", {
|
|
8425
|
+
className: "rb-label rb-mb-2",
|
|
8426
|
+
children: "Venue"
|
|
8427
|
+
}),
|
|
8428
|
+
/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
|
|
8429
|
+
addressAfterBooking ? /* @__PURE__ */ jsxs("p", {
|
|
8430
|
+
className: "rb-caption",
|
|
8431
|
+
children: [EVENT_ADDRESS_AFTER_BOOKING_LABEL, "."]
|
|
8432
|
+
}) : null,
|
|
8433
|
+
online.note ? /* @__PURE__ */ jsx("p", {
|
|
8434
|
+
className: "rb-caption",
|
|
8435
|
+
children: online.note
|
|
8436
|
+
}) : null
|
|
8437
|
+
]
|
|
8438
|
+
});
|
|
8439
|
+
}
|
|
8398
8440
|
/** An online event says so where a venue would go; a hybrid one adds it under the venue. */
|
|
8399
|
-
function EventVenueFact({ venue, online }) {
|
|
8400
|
-
if (!venue) {
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
children: [
|
|
8405
|
-
/* @__PURE__ */ jsx("div", {
|
|
8406
|
-
className: "rb-label rb-mb-2",
|
|
8407
|
-
children: "Venue"
|
|
8408
|
-
}),
|
|
8409
|
-
/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
|
|
8410
|
-
online.note ? /* @__PURE__ */ jsx("p", {
|
|
8411
|
-
className: "rb-caption",
|
|
8412
|
-
children: online.note
|
|
8413
|
-
}) : null
|
|
8414
|
-
]
|
|
8415
|
-
});
|
|
8416
|
-
}
|
|
8441
|
+
function EventVenueFact({ venue, online, addressAfterBooking }) {
|
|
8442
|
+
if (!venue) return /* @__PURE__ */ jsx(EventPlaceWithoutVenue, {
|
|
8443
|
+
online,
|
|
8444
|
+
addressAfterBooking
|
|
8445
|
+
});
|
|
8417
8446
|
const { place, addressWithBooking } = eventVenuePlace(venue);
|
|
8418
8447
|
return /* @__PURE__ */ jsxs("div", {
|
|
8419
8448
|
className: "rb-mt-6",
|
|
@@ -8610,6 +8639,7 @@ function SelectedEventDetailsView(props) {
|
|
|
8610
8639
|
const selected = selection.selected;
|
|
8611
8640
|
const venue = showVenue ? selected.venue : void 0;
|
|
8612
8641
|
const online = eventOnlinePlaceShown(selected, showVenue);
|
|
8642
|
+
const addressAfterBooking = addressAfterBookingShown(selected, showVenue);
|
|
8613
8643
|
const pricing = selectedEventPricing(selected, props.showCost);
|
|
8614
8644
|
return /* @__PURE__ */ jsxs("div", {
|
|
8615
8645
|
className: "rb-flex rb-flex-col rb-gap-6 rb-text-left",
|
|
@@ -8628,6 +8658,7 @@ function SelectedEventDetailsView(props) {
|
|
|
8628
8658
|
selected,
|
|
8629
8659
|
venue,
|
|
8630
8660
|
online,
|
|
8661
|
+
addressAfterBooking,
|
|
8631
8662
|
showCapacity,
|
|
8632
8663
|
teamMembers: selected.teamMembers ?? [],
|
|
8633
8664
|
pricing: /* @__PURE__ */ jsx(EventPricingDetails, {
|
|
@@ -8720,13 +8751,14 @@ function EventHeaderPanel(props) {
|
|
|
8720
8751
|
})
|
|
8721
8752
|
});
|
|
8722
8753
|
}
|
|
8723
|
-
function HeaderPanelFacts({ venue, online, teamMembers, pricing }) {
|
|
8754
|
+
function HeaderPanelFacts({ venue, online, addressAfterBooking, teamMembers, pricing }) {
|
|
8724
8755
|
return /* @__PURE__ */ jsxs("div", {
|
|
8725
8756
|
className: "rb-flex rb-flex-col rb-gap-4",
|
|
8726
8757
|
children: [
|
|
8727
8758
|
/* @__PURE__ */ jsx(EventVenueFact, {
|
|
8728
8759
|
venue,
|
|
8729
|
-
online
|
|
8760
|
+
online,
|
|
8761
|
+
addressAfterBooking
|
|
8730
8762
|
}),
|
|
8731
8763
|
/* @__PURE__ */ jsx(EventTeacherFacts, { teamMembers }),
|
|
8732
8764
|
pricing ? /* @__PURE__ */ jsx(EventPricingDetails, { ...pricing }) : null
|
|
@@ -8744,10 +8776,11 @@ function headerPanelContent(props) {
|
|
|
8744
8776
|
return {
|
|
8745
8777
|
venue,
|
|
8746
8778
|
online,
|
|
8779
|
+
addressAfterBooking: addressAfterBookingShown(selection.selected, props.showVenue),
|
|
8747
8780
|
teamMembers,
|
|
8748
8781
|
pricing,
|
|
8749
8782
|
hasMap: Boolean(props.showMap && venue && props.selectedVenueDrawing),
|
|
8750
|
-
hasFacts:
|
|
8783
|
+
hasFacts: hasEventPlaceFact(selection.selected, props.showVenue) || teamMembers.length > 0 || pricing !== null,
|
|
8751
8784
|
hasDates: props.showOtherDates && scheduled > 0
|
|
8752
8785
|
};
|
|
8753
8786
|
}
|
|
@@ -11008,6 +11041,7 @@ function AgendaModalCard({ event, showCapacity, calendarTimeZone, onClick }) {
|
|
|
11008
11041
|
const capacity = showCapacity ? formatEventRemainingPlaces(event) : null;
|
|
11009
11042
|
const isFull = isEventFull(event);
|
|
11010
11043
|
const teacherLine = formatEventTeacherLine(event);
|
|
11044
|
+
const placeName = eventPlaceName(event);
|
|
11011
11045
|
const timeZone = resolveEventTimeZone(event, calendarTimeZone);
|
|
11012
11046
|
return /* @__PURE__ */ jsxs("button", {
|
|
11013
11047
|
type: "button",
|
|
@@ -11034,9 +11068,9 @@ function AgendaModalCard({ event, showCapacity, calendarTimeZone, onClick }) {
|
|
|
11034
11068
|
}), /* @__PURE__ */ jsxs("div", {
|
|
11035
11069
|
className: "event-agenda-card-details status-muted",
|
|
11036
11070
|
children: [
|
|
11037
|
-
|
|
11071
|
+
placeName && /* @__PURE__ */ jsxs("span", {
|
|
11038
11072
|
className: "event-agenda-card-venue",
|
|
11039
|
-
children: [/* @__PURE__ */ jsx(LocationIcon, {}),
|
|
11073
|
+
children: [/* @__PURE__ */ jsx(LocationIcon, {}), placeName]
|
|
11040
11074
|
}),
|
|
11041
11075
|
teacherLine && /* @__PURE__ */ jsx("span", {
|
|
11042
11076
|
className: "event-agenda-card-teacher",
|
|
@@ -14967,6 +15001,11 @@ function authoringMessage(reason) {
|
|
|
14967
15001
|
case "missing-layout": return reason.isCustom ? `No renderer available for block kind "${reason.blockKind}". This custom block has no layout/variants, so it must be rendered via blockOverrides["${reason.blockKind}"].` : `No renderer available for block kind "${reason.blockKind}".`;
|
|
14968
15002
|
case "hidden-business-location": return "This map is hidden because your business address is hidden.";
|
|
14969
15003
|
case "unresolved-location":
|
|
15004
|
+
if (reason.locationReason === "location_loading" || reason.locationReason === "location_load_failed") return describeUnresolvedLocationMapLocation({
|
|
15005
|
+
kind: "unresolved",
|
|
15006
|
+
source: reason.source,
|
|
15007
|
+
reason: reason.locationReason
|
|
15008
|
+
}) ?? "";
|
|
14970
15009
|
if (reason.source === "business_address") return "Business address details are not configured yet.";
|
|
14971
15010
|
return reason.source === "venue" ? "This map is hidden on your site until the venue has a location." : "This map is hidden on your site until you choose a place.";
|
|
14972
15011
|
case "editor-unpreviewable":
|
|
@@ -15146,11 +15185,7 @@ function buildPageRendererRootRuntime(dataContext) {
|
|
|
15146
15185
|
};
|
|
15147
15186
|
}
|
|
15148
15187
|
function publicLocationRuntime(context) {
|
|
15149
|
-
return {
|
|
15150
|
-
businessAddress: context?.businessLocation ?? null,
|
|
15151
|
-
venuesById: context?.venuesById ?? {},
|
|
15152
|
-
siteCountry: context?.siteCountry ?? null
|
|
15153
|
-
};
|
|
15188
|
+
return { siteCountry: context?.siteCountry ?? null };
|
|
15154
15189
|
}
|
|
15155
15190
|
function resolveDemoEmailSuppression(dataContext) {
|
|
15156
15191
|
return dataContext?.demoEmailSuppressed === true;
|
|
@@ -15580,11 +15615,10 @@ function createPageRenderPreparationReader() {
|
|
|
15580
15615
|
};
|
|
15581
15616
|
}
|
|
15582
15617
|
function preparePageRenderEntries(input, previous = null) {
|
|
15583
|
-
const
|
|
15584
|
-
const prepared = admission.entries.map((entry) => [entry, readPreparedPlanEntry(entry, input, previous, admission.permission)]);
|
|
15618
|
+
const prepared = preparationAdmission(input).entries.map((entry) => [entry, readPreparedPlanEntry(entry, input, previous)]);
|
|
15585
15619
|
const entries = prepared.map(([, value]) => value);
|
|
15586
15620
|
const constructionFailures = entries.filter((candidate) => candidate.prepared.kind === "render-threw").map((candidate) => candidate.entry);
|
|
15587
|
-
const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location" && !(candidate.prepared.kind === "content" && candidate.prepared.publicVisibility === "omitted"));
|
|
15621
|
+
const survivors = input.audience === "authoring" ? entries : entries.filter((candidate) => candidate.prepared.kind !== "render-threw" && candidate.prepared.kind !== "unresolved-location" && candidate.prepared.kind !== "hidden-business-location" && !(candidate.prepared.kind === "content" && candidate.prepared.publicVisibility === "omitted"));
|
|
15588
15622
|
const surviving = new Set(survivors);
|
|
15589
15623
|
const survivingByEntry = new Map(prepared.filter(([, candidate]) => surviving.has(candidate)));
|
|
15590
15624
|
const regions = {
|
|
@@ -15617,47 +15651,61 @@ function preparationAdmission(input) {
|
|
|
15617
15651
|
mailingList: input.dataContext?.mailingList,
|
|
15618
15652
|
template: input.dataContext?.template ?? pageTemplateFromEntry(input.dataContext?.contentEntry)
|
|
15619
15653
|
});
|
|
15620
|
-
|
|
15621
|
-
return {
|
|
15622
|
-
permission,
|
|
15623
|
-
entries: input.plan.entries.filter((entry) => input.audience === "authoring" || !entryHiddenFromVisitors(entry, facts, input.dataContext?.interactionContext)).filter((entry) => isPublicSourcePermitted(entry, permission) || input.audience === "authoring" && permission.kind === "hidden")
|
|
15624
|
-
};
|
|
15654
|
+
return { entries: input.plan.entries.filter((entry) => input.audience === "authoring" || !entryHiddenFromVisitors(entry, facts, input.dataContext?.interactionContext)) };
|
|
15625
15655
|
}
|
|
15626
|
-
function readPreparedPlanEntry(entry, input, previous
|
|
15656
|
+
function readPreparedPlanEntry(entry, input, previous) {
|
|
15627
15657
|
const cached = previous?.byEntry.get(entry);
|
|
15628
15658
|
if (cached && previous && samePreparationSettings(previous.input, input) && sameBlockRenderDataContext(previous.input.dataContext, input.dataContext, entry.block.id)) return cached;
|
|
15629
|
-
return preparedPlanEntry(entry, prepareSourceEntry(entry, input
|
|
15659
|
+
return preparedPlanEntry(entry, prepareSourceEntry(entry, input));
|
|
15630
15660
|
}
|
|
15631
15661
|
function samePreparationSettings(previous, current) {
|
|
15632
15662
|
return previous.audience === current.audience && previous.routeMap === current.routeMap && previous.themeResources === current.themeResources && previous.imageResolveContext === current.imageResolveContext;
|
|
15633
15663
|
}
|
|
15634
|
-
/**
|
|
15635
|
-
|
|
15636
|
-
|
|
15637
|
-
|
|
15638
|
-
|
|
15639
|
-
|
|
15664
|
+
/**
|
|
15665
|
+
* A map's place is decided before constructing the block or its hydration props,
|
|
15666
|
+
* so a map with nothing to show touches no override, wrapper or authored detail.
|
|
15667
|
+
* Anything short of a loaded place leaves visitors with no map at all.
|
|
15668
|
+
*/
|
|
15669
|
+
function prepareSourceEntry(entry, input) {
|
|
15640
15670
|
if (entry.block.kind === "block.location-map") {
|
|
15641
15671
|
const content = entry.renderableContent;
|
|
15672
|
+
const locationSource = typeof content.locationSource === "string" ? content.locationSource : null;
|
|
15642
15673
|
const resolved = resolveLocationMapLocation({
|
|
15643
15674
|
location: content.location,
|
|
15644
|
-
locationSource
|
|
15675
|
+
locationSource,
|
|
15645
15676
|
venueId: typeof content.venueId === "string" ? content.venueId : null,
|
|
15646
|
-
|
|
15647
|
-
venuesById: input.dataContext?.venuesById
|
|
15677
|
+
loaded: readLocationMapLoad(entry.block.id, normalizeLocationMapSource(locationSource), input.dataContext)
|
|
15648
15678
|
});
|
|
15649
|
-
if (resolved.kind === "unresolved") return {
|
|
15679
|
+
if (resolved.kind === "unresolved") return resolved.reason === "hidden_business_address" ? {
|
|
15680
|
+
kind: "hidden-business-location",
|
|
15681
|
+
businessDetailsHref: input.dataContext?.authoringBusinessDetailsHref ?? null
|
|
15682
|
+
} : {
|
|
15650
15683
|
kind: "unresolved-location",
|
|
15651
|
-
source: resolved.source
|
|
15684
|
+
source: resolved.source,
|
|
15685
|
+
reason: resolved.reason
|
|
15652
15686
|
};
|
|
15687
|
+
if (resolved.kind === "venue" && resolved.disclosure === "area") return prepareEntry(withoutEntrancePhoto(entry), input);
|
|
15653
15688
|
}
|
|
15654
15689
|
return prepareEntry(entry, input);
|
|
15655
15690
|
}
|
|
15656
|
-
/**
|
|
15657
|
-
function
|
|
15658
|
-
|
|
15659
|
-
|
|
15660
|
-
|
|
15691
|
+
/** A photo of the entrance gives away a place whose address is only shared with a booking. */
|
|
15692
|
+
function withoutEntrancePhoto(entry) {
|
|
15693
|
+
const { entrancePhoto: _withheld, ...content } = entry.renderableContent;
|
|
15694
|
+
return {
|
|
15695
|
+
...entry,
|
|
15696
|
+
renderableContent: content
|
|
15697
|
+
};
|
|
15698
|
+
}
|
|
15699
|
+
/** A custom place is in the content. The other sources read only this block's own loader. */
|
|
15700
|
+
function readLocationMapLoad(blockId, source, dataContext) {
|
|
15701
|
+
if (source === "custom" || !blockId) return void 0;
|
|
15702
|
+
const key = LOCATION_MAP_LOADER_KEYS[source];
|
|
15703
|
+
const failure = dataContext?.loaderFailures?.[blockId]?.[key];
|
|
15704
|
+
if (failure) return locationMapLoadFromFailure(failure);
|
|
15705
|
+
return parseLocationMapLoaderResult(dataContext?.resolvedData?.[blockId]?.[key]);
|
|
15706
|
+
}
|
|
15707
|
+
function locationMapLoadFromFailure(failure) {
|
|
15708
|
+
return { kind: failure.pending ? "pending" : "failed" };
|
|
15661
15709
|
}
|
|
15662
15710
|
function entryHiddenFromVisitors(entry, facts, interaction) {
|
|
15663
15711
|
return entry.kind === "renderable" && entry.definition.readiness !== void 0 && hiddenFromVisitors(entry.definition.readiness.assess(entry.renderableContent, facts, {
|
|
@@ -16295,7 +16343,8 @@ function preparationDiagnostic(prepared, blockKind) {
|
|
|
16295
16343
|
reason: {
|
|
16296
16344
|
kind: prepared.kind,
|
|
16297
16345
|
blockKind,
|
|
16298
|
-
source: prepared.source
|
|
16346
|
+
source: prepared.source,
|
|
16347
|
+
locationReason: prepared.reason
|
|
16299
16348
|
},
|
|
16300
16349
|
outcome: "invalidPlaceholder"
|
|
16301
16350
|
};
|
|
@@ -16762,10 +16811,6 @@ function buildPageIdentityRenderContext(dataContext) {
|
|
|
16762
16811
|
now: dataContext.now,
|
|
16763
16812
|
siteName: dataContext.siteName,
|
|
16764
16813
|
businessPerson: dataContext.businessPerson ?? null,
|
|
16765
|
-
businessLocationPermission: dataContext.businessLocationPermission,
|
|
16766
|
-
businessAddressVisibility: dataContext.businessAddressVisibility,
|
|
16767
|
-
businessLocation: dataContext.businessLocation,
|
|
16768
|
-
venuesById: dataContext.venuesById,
|
|
16769
16814
|
siteCountry: dataContext.siteCountry,
|
|
16770
16815
|
pathname: dataContext.pathname
|
|
16771
16816
|
};
|
package/dist/server/prebuild.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as prebuildCache } from "./prebuild-
|
|
1
|
+
import { t as prebuildCache } from "./prebuild-BuoXWT9y.mjs";
|
|
2
2
|
export { prebuildCache };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { a as SUPPORTED_LOADER_ENDPOINTS$1, i as parsePublicProductCategorySelector, n as materializeLoaderMedia } from "./responseMedia-
|
|
1
|
+
import { at as defaultThemeTokens, f as defaultTransforms, l as coerceLinkedContentEntriesPayload, r as planArrangementContent, tt as selectBlockContent } from "./pageRenderPlan-CfSnAkCO.mjs";
|
|
2
|
+
import { Ks as toUtcIsoDateTimeString, Lo as bindingSchema, Ti as runTransforms, Zi as isObjectRecord, as as projectRecurringSchedule, ms as calendarWindowQuerySchema, nr as readRuntimeNow, rr as resolveDateRuntimeContext, t as getBlockDefinition } from "./registry-CXRXsFSx.mjs";
|
|
3
|
+
import { a as SUPPORTED_LOADER_ENDPOINTS$1, i as parsePublicProductCategorySelector, n as materializeLoaderMedia } from "./responseMedia-F-ElH2Rd.mjs";
|
|
4
4
|
import { t as assertNever } from "./assert-never-ku-PUn9U.mjs";
|
|
5
5
|
import { t as allOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
6
6
|
//#region ../blocks/src/system/data/utils.ts
|
|
@@ -383,9 +383,10 @@ function projectLoaderOutcomes(blocks, outcomes) {
|
|
|
383
383
|
return values.length ? [[block.id, Object.fromEntries(values)]] : [];
|
|
384
384
|
})),
|
|
385
385
|
loaderFailures: Object.fromEntries(blocks.flatMap((block) => {
|
|
386
|
-
const values = outcomes.flatMap((outcome) => outcome.request.blockId === block.id && outcome.kind
|
|
386
|
+
const values = outcomes.flatMap((outcome) => outcome.request.blockId === block.id && outcome.kind !== "loaded" ? [[outcome.request.key, {
|
|
387
387
|
endpoint: outcome.request.endpoint,
|
|
388
|
-
params: outcome.request.params
|
|
388
|
+
params: outcome.request.params,
|
|
389
|
+
...outcome.kind === "pending" ? { pending: true } : {}
|
|
389
390
|
}]] : []);
|
|
390
391
|
return values.length ? [[block.id, Object.fromEntries(values)]] : [];
|
|
391
392
|
}))
|
|
@@ -537,6 +538,7 @@ const loaderAdapters = {
|
|
|
537
538
|
}),
|
|
538
539
|
listPublicRecurringSchedule,
|
|
539
540
|
getPublicEventDetails,
|
|
541
|
+
getPublicMapLocation,
|
|
540
542
|
listPublicRouteCandidates,
|
|
541
543
|
listPublicTeamMembers,
|
|
542
544
|
listPublicProducts,
|
|
@@ -637,6 +639,19 @@ async function listPublicEvents({ client, params }) {
|
|
|
637
639
|
async function listPublicRecurringSchedule(input) {
|
|
638
640
|
return projectRecurringSchedule(await listPublicEvents(input));
|
|
639
641
|
}
|
|
642
|
+
async function getPublicMapLocation({ client, params }) {
|
|
643
|
+
const siteId = requireStringParam(params, "siteId", "getPublicMapLocation");
|
|
644
|
+
const stage = readStringParam(params, "stage");
|
|
645
|
+
const source = requireStringParam(params, "source", "getPublicMapLocation");
|
|
646
|
+
return await client.getPublicMapLocation({
|
|
647
|
+
siteId,
|
|
648
|
+
...stage ? { stage } : {},
|
|
649
|
+
...source === "venue" ? {
|
|
650
|
+
source,
|
|
651
|
+
venueId: requireStringParam(params, "venueId", "getPublicMapLocation")
|
|
652
|
+
} : { source: "business_address" }
|
|
653
|
+
});
|
|
654
|
+
}
|
|
640
655
|
async function getPublicEventDetails({ client, params }) {
|
|
641
656
|
return await client.getPublicEventDetails({
|
|
642
657
|
siteId: requireStringParam(params, "siteId", "getPublicEventDetails"),
|
|
@@ -755,4 +770,4 @@ function sdkCustomLoaders(block) {
|
|
|
755
770
|
}])) : void 0;
|
|
756
771
|
}
|
|
757
772
|
//#endregion
|
|
758
|
-
export { prefetchBlockDataWithFailures as n, SUPPORTED_LOADER_ENDPOINTS as t };
|
|
773
|
+
export { prefetchBlockDataWithFailures as n, planBlockDataRequests as r, SUPPORTED_LOADER_ENDPOINTS as t };
|