@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
|
@@ -3,6 +3,7 @@ import { D as mapButtonRoleAppearances, E as defineButtonStyleRecipe, F as resol
|
|
|
3
3
|
import { C as asDesignBoundaryId, D as asSiteStyleId, E as asPageFlowPresetId, O as makeBoundaryId, S as asDesignBlockId, T as asLayoutVariantKey, _ as isArrangementMode, b as asAppearancePresetId, d as arrangementModes, h as headingDecorationColorTokenValues, m as eyebrowTreatmentValues, p as eventListTreatmentValues, v as tileTreatmentValues, w as asDesignSystemTemplateId, x as asBoundaryOptionId, y as visibleHeadingDecorationFamilyValues } from "./customCss-BZ8YSrQg.mjs";
|
|
4
4
|
import { _ as asHeaderStyleId, a as headerVariantValues, c as runtimeBoxBackgroundSchema, d as cardVariantRoleValues, f as itemRoleValues, g as asHeaderLayoutId, h as asFooterLookId, l as boxlessCardVariantValue, n as containerStylesOverrideSchema, o as boxBackgroundOverlaySchema, p as openCardRoleValue, r as sectionStylesOverrideSchema, s as boxBackgroundSchema, t as cardStylesOverrideSchema, u as cardRoleSchema, v as bookingPageLookIdValues } from "./schema-BpsqaSSU.mjs";
|
|
5
5
|
import { C as ok$1, S as err, b as unsafeAsStoragePath, c as buildRenderableMediaAssetIndex, d as resolveManagedMediaReference, f as PUBLIC_FILE_FIELD_KINDS, g as parseCanonicalMediaIdentifier, m as mediaTypeDiscriminants, o as runtimeMediaSchema, p as isDisplayMediaKind, v as unsafeAsMediaAssetId, x as parseUuidBrand, y as unsafeAsStorageBucketName } from "./media-luf7RF22.mjs";
|
|
6
|
+
import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema, l as toLocationCoordinates, n as publicMapLocationResultSchema, o as parseLocationValue, r as publicVenueMapLocationSchema, s as projectPublicLocation, u as trimmedStringOrNull } from "./mapLocation-BM5WX7FY.mjs";
|
|
6
7
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
7
8
|
import { n as RichTextDocSchema } from "./richTextSchema-QLaQrbII.mjs";
|
|
8
9
|
import { A as lookKnobBlocks, C as requireNonEmptyReadonlyArray, D as cardListBlockParts, E as toNonEmptyReadonlyArray, M as opaqueSurfaceDeclarations, O as cardListFamilyBlocks, T as testimonialsCompositionTreatmentValues, a as layoutProfileSupportsConstraints, b as noHeadingDecoration, c as isArrangementAppearancePreset, d as lookModes, f as assertNever$2, g as defineNoBlockDesignCapability, h as defineFrameCapability, i as blockAppearancePresets, k as cardListKnobBlocks, l as isLookSettingFact, m as defineExactCatalog, n as resolveLookMediaFrame, o as resolveBlockAppearancePresetDesign, p as defineBlockDesignCapability, r as arrangementLookFits, s as resolveEffectiveKnobs, u as isRecipeAppearancePreset, x as offeringsPreviewCompositionTreatmentValues } from "./lookMediaFrame-CaH018pK.mjs";
|
|
@@ -1369,298 +1370,9 @@ function formatTimeZoneCityLabel(timeZone) {
|
|
|
1369
1370
|
return timeZone.startsWith("Etc/") ? "local time" : `${timeZone.split("/").slice(-1)[0]?.replace(/_/gu, " ") ?? timeZone} time`;
|
|
1370
1371
|
}
|
|
1371
1372
|
//#endregion
|
|
1372
|
-
//#region ../core/src/
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
const DRAWING_DECODE_LIMITS = {
|
|
1376
|
-
pathsPerFeature: 2048,
|
|
1377
|
-
verticesPerPath: 8192,
|
|
1378
|
-
verticesPerFeature: 32768,
|
|
1379
|
-
featuresPerLayer: 1e4,
|
|
1380
|
-
featuresPerTile: 16e3,
|
|
1381
|
-
featuresPerAttempt: 6e4,
|
|
1382
|
-
verticesPerAttempt: 1e6
|
|
1383
|
-
};
|
|
1384
|
-
/**
|
|
1385
|
-
* The two fixed framings. Neighbourhood draws 1 m per view-box unit, wider 4 m, so the same stroke and label
|
|
1386
|
-
* sizes read well in both. The wider view leaves out buildings, distant paths and small green patches, which turn to
|
|
1387
|
-
* noise at that scale. `minParkArea` is in square view-box units. Labels go to the nearest streets first, with a
|
|
1388
|
-
* minor street counted as `minorLabelDistance` times further away than it is, so the wider view names main roads.
|
|
1389
|
-
*/
|
|
1390
|
-
const FRAMINGS = [{
|
|
1391
|
-
name: "neighbourhood",
|
|
1392
|
-
radiusMeters: 400,
|
|
1393
|
-
zoom: 15,
|
|
1394
|
-
roads: [
|
|
1395
|
-
"major",
|
|
1396
|
-
"minor",
|
|
1397
|
-
"path"
|
|
1398
|
-
],
|
|
1399
|
-
maxPathDistance: 800,
|
|
1400
|
-
buildings: true,
|
|
1401
|
-
minParkArea: .3,
|
|
1402
|
-
maxLabels: 6,
|
|
1403
|
-
minorLabelDistance: 1.5
|
|
1404
|
-
}, {
|
|
1405
|
-
name: "wider",
|
|
1406
|
-
radiusMeters: 1600,
|
|
1407
|
-
zoom: 14,
|
|
1408
|
-
roads: [
|
|
1409
|
-
"major",
|
|
1410
|
-
"minor",
|
|
1411
|
-
"path"
|
|
1412
|
-
],
|
|
1413
|
-
maxPathDistance: 100,
|
|
1414
|
-
buildings: false,
|
|
1415
|
-
minParkArea: 40,
|
|
1416
|
-
maxLabels: 5,
|
|
1417
|
-
minorLabelDistance: 4
|
|
1418
|
-
}];
|
|
1419
|
-
const tilePoint = z.tuple([z.number().finite().min(-8192).max(12288), z.number().finite().min(-8192).max(12288)]).readonly();
|
|
1420
|
-
const paths = z.array(z.array(tilePoint).min(2).max(DRAWING_DECODE_LIMITS.verticesPerPath).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly();
|
|
1421
|
-
const featureFields = {
|
|
1422
|
-
kind: z.string().max(80),
|
|
1423
|
-
name: z.string().trim().max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/).nullish().transform((value) => value === void 0 || value === null || value === "" ? null : value),
|
|
1424
|
-
sortRank: z.number().finite().min(-1e4).max(1e4).default(0),
|
|
1425
|
-
paths: paths.refine((value) => value.reduce((n, path) => n + path.length, 0) <= DRAWING_DECODE_LIMITS.verticesPerFeature)
|
|
1426
|
-
};
|
|
1427
|
-
const feature = z.discriminatedUnion("geometry", [z.strictObject({
|
|
1428
|
-
...featureFields,
|
|
1429
|
-
layer: z.literal("roads"),
|
|
1430
|
-
geometry: z.literal("line")
|
|
1431
|
-
}).readonly(), z.strictObject({
|
|
1432
|
-
...featureFields,
|
|
1433
|
-
layer: z.enum([
|
|
1434
|
-
"earth",
|
|
1435
|
-
"water",
|
|
1436
|
-
"landuse",
|
|
1437
|
-
"buildings"
|
|
1438
|
-
]),
|
|
1439
|
-
geometry: z.literal("polygon")
|
|
1440
|
-
}).refine((value) => value.paths.every((ring) => ring.length >= 3)).readonly()]);
|
|
1441
|
-
const tile = z.strictObject({
|
|
1442
|
-
z: z.union([z.literal(14), z.literal(15)]),
|
|
1443
|
-
x: z.number().int().nonnegative(),
|
|
1444
|
-
y: z.number().int().nonnegative(),
|
|
1445
|
-
extent: z.literal(4096),
|
|
1446
|
-
features: z.array(feature).max(DRAWING_DECODE_LIMITS.featuresPerTile).readonly()
|
|
1447
|
-
}).refine((value) => value.x < 2 ** value.z && value.y < 2 ** value.z).readonly();
|
|
1448
|
-
z.strictObject({
|
|
1449
|
-
buildId: z.string().regex(/^\d{8}$/),
|
|
1450
|
-
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
1451
|
-
pin: z.lazy(() => locationPinSchema),
|
|
1452
|
-
tiles: z.array(tile).min(1).max(96).readonly()
|
|
1453
|
-
}).superRefine((value, ctx) => {
|
|
1454
|
-
const features = value.tiles.flatMap((item) => item.features);
|
|
1455
|
-
if (features.length > DRAWING_DECODE_LIMITS.featuresPerAttempt || features.reduce((sum, item) => sum + item.paths.reduce((count, path) => count + path.length, 0), 0) > DRAWING_DECODE_LIMITS.verticesPerAttempt) ctx.addIssue({
|
|
1456
|
-
code: "custom",
|
|
1457
|
-
message: "Decoded geometry exceeds the attempt budget."
|
|
1458
|
-
});
|
|
1459
|
-
}).readonly();
|
|
1460
|
-
const point = z.tuple([z.number().min(0).max(800), z.number().min(0).max(800)]).readonly();
|
|
1461
|
-
const polygon = z.strictObject({
|
|
1462
|
-
kind: z.literal("polygon"),
|
|
1463
|
-
fillRule: z.literal("evenodd"),
|
|
1464
|
-
className: z.enum([
|
|
1465
|
-
"map-land",
|
|
1466
|
-
"map-water",
|
|
1467
|
-
"map-park",
|
|
1468
|
-
"map-building"
|
|
1469
|
-
]),
|
|
1470
|
-
rings: z.array(z.array(point).min(3).max(8192).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly()
|
|
1471
|
-
}).readonly();
|
|
1472
|
-
const line = z.strictObject({
|
|
1473
|
-
kind: z.literal("line"),
|
|
1474
|
-
className: z.enum([
|
|
1475
|
-
"map-road-major-casing",
|
|
1476
|
-
"map-road-major",
|
|
1477
|
-
"map-road-minor-casing",
|
|
1478
|
-
"map-road-minor",
|
|
1479
|
-
"map-road-path"
|
|
1480
|
-
]),
|
|
1481
|
-
points: z.array(point).min(2).max(8192).readonly()
|
|
1482
|
-
}).readonly();
|
|
1483
|
-
const drawingPathSchema = z.discriminatedUnion("kind", [polygon, line]);
|
|
1484
|
-
const label$1 = z.strictObject({
|
|
1485
|
-
className: z.literal("map-label"),
|
|
1486
|
-
haloClassName: z.literal("map-label-halo"),
|
|
1487
|
-
text: z.string().trim().min(1).max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/),
|
|
1488
|
-
point,
|
|
1489
|
-
angle: z.number().min(-90).max(90)
|
|
1490
|
-
}).readonly();
|
|
1491
|
-
const drawingFrameSchema = z.strictObject({
|
|
1492
|
-
radiusMeters: z.union([z.literal(FRAMINGS[0].radiusMeters), z.literal(FRAMINGS[1].radiusMeters)]),
|
|
1493
|
-
viewBox: z.tuple([
|
|
1494
|
-
z.literal(0),
|
|
1495
|
-
z.literal(0),
|
|
1496
|
-
z.literal(800),
|
|
1497
|
-
z.literal(800)
|
|
1498
|
-
]).readonly(),
|
|
1499
|
-
backgroundClass: z.literal("map-water"),
|
|
1500
|
-
paths: z.array(drawingPathSchema).max(1800).readonly(),
|
|
1501
|
-
labels: z.array(label$1).max(12).readonly(),
|
|
1502
|
-
pin: z.strictObject({
|
|
1503
|
-
className: z.literal("map-pin"),
|
|
1504
|
-
point: z.tuple([z.literal(400), z.literal(400)]).readonly()
|
|
1505
|
-
}).readonly()
|
|
1506
|
-
}).superRefine((value, ctx) => {
|
|
1507
|
-
if (value.paths.reduce((sum, path) => sum + (path.kind === "line" ? path.points.length : path.rings.reduce((n, ring) => n + ring.length, 0)), 0) > 5e4) ctx.addIssue({
|
|
1508
|
-
code: "custom",
|
|
1509
|
-
message: "Drawing exceeds its vertex budget."
|
|
1510
|
-
});
|
|
1511
|
-
}).readonly();
|
|
1512
|
-
const mapDrawingSchema = z.strictObject({
|
|
1513
|
-
schemaVersion: z.literal(2),
|
|
1514
|
-
generatorVersion: z.literal(3),
|
|
1515
|
-
buildId: z.string().regex(/^\d{8}$/),
|
|
1516
|
-
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
1517
|
-
frames: z.strictObject({
|
|
1518
|
-
neighbourhood: drawingFrameSchema,
|
|
1519
|
-
wider: drawingFrameSchema
|
|
1520
|
-
}).readonly()
|
|
1521
|
-
}).refine((value) => value.frames.neighbourhood.radiusMeters === FRAMINGS[0].radiusMeters && value.frames.wider.radiusMeters === FRAMINGS[1].radiusMeters).refine((value) => new TextEncoder().encode(JSON.stringify(value)).byteLength <= MAX_DRAWING_BYTES, { error: "Drawing exceeds its byte budget." }).readonly();
|
|
1522
|
-
//#endregion
|
|
1523
|
-
//#region ../core/src/string.ts
|
|
1524
|
-
/**
|
|
1525
|
-
* Trim a user-entered string and collapse blank values to null.
|
|
1526
|
-
*/
|
|
1527
|
-
function trimmedStringOrNull(value) {
|
|
1528
|
-
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
1529
|
-
return trimmed.length > 0 ? trimmed : null;
|
|
1530
|
-
}
|
|
1531
|
-
//#endregion
|
|
1532
|
-
//#region ../core/src/location.ts
|
|
1533
|
-
/** One complete, finite, bounded arrival pin; zero is a valid coordinate. */
|
|
1534
|
-
const locationPinSchema = z.strictObject({
|
|
1535
|
-
lat: z.number().min(-90).max(90),
|
|
1536
|
-
lng: z.number().min(-180).max(180)
|
|
1537
|
-
}).readonly().brand();
|
|
1538
|
-
const addressPart = z.string().trim().max(200).nullish().transform((value) => trimmedStringOrNull(value));
|
|
1539
|
-
/** Building identifies the place; unit/floor refine it without moving it. */
|
|
1540
|
-
const locationAddressSchema = z.strictObject({
|
|
1541
|
-
building: addressPart,
|
|
1542
|
-
unit: addressPart,
|
|
1543
|
-
floor: addressPart,
|
|
1544
|
-
street: addressPart,
|
|
1545
|
-
locality: addressPart,
|
|
1546
|
-
region: addressPart,
|
|
1547
|
-
postalCode: addressPart,
|
|
1548
|
-
country: addressPart.transform((value) => value?.length === 2 ? value.toUpperCase() : value)
|
|
1549
|
-
}).readonly().transform((address) => Object.values(address).some((part) => part !== null) ? address : null);
|
|
1550
|
-
const locationAddressMatchSchema = z.strictObject({
|
|
1551
|
-
point: locationPinSchema,
|
|
1552
|
-
precision: z.enum([
|
|
1553
|
-
"building",
|
|
1554
|
-
"street",
|
|
1555
|
-
"area",
|
|
1556
|
-
"unknown"
|
|
1557
|
-
]),
|
|
1558
|
-
placeId: z.string().trim().max(1024).regex(/^[a-z][a-z0-9-]*:\S+$/),
|
|
1559
|
-
attribution: z.array(z.strictObject({
|
|
1560
|
-
text: z.string().trim().min(1).max(500),
|
|
1561
|
-
url: z.url().max(2048).refine((value) => /^https?:\/\//.test(value))
|
|
1562
|
-
}).readonly()).min(1).max(4).readonly()
|
|
1563
|
-
}).readonly();
|
|
1564
|
-
const locationValueSchema = z.strictObject({
|
|
1565
|
-
address: locationAddressSchema.nullable().default(null),
|
|
1566
|
-
pin: locationPinSchema.nullable().default(null),
|
|
1567
|
-
doorNote: z.string().trim().max(1e3).nullish().transform(trimmedStringOrNull),
|
|
1568
|
-
addressMatch: locationAddressMatchSchema.nullable().default(null),
|
|
1569
|
-
addressCheckSettled: z.literal(true).optional(),
|
|
1570
|
-
ownerConfirmedPinAndAddress: z.boolean().default(false)
|
|
1571
|
-
}).superRefine((value, context) => {
|
|
1572
|
-
if (value.address === null && value.pin === null) context.addIssue({
|
|
1573
|
-
code: "custom",
|
|
1574
|
-
path: ["address"],
|
|
1575
|
-
message: "Use null to remove a location."
|
|
1576
|
-
});
|
|
1577
|
-
if (value.address === null && value.addressMatch !== null) context.addIssue({
|
|
1578
|
-
code: "custom",
|
|
1579
|
-
path: ["addressMatch"],
|
|
1580
|
-
message: "Address evidence requires an address."
|
|
1581
|
-
});
|
|
1582
|
-
if (value.address === null && value.addressCheckSettled) context.addIssue({
|
|
1583
|
-
code: "custom",
|
|
1584
|
-
path: ["addressCheckSettled"],
|
|
1585
|
-
message: "A settled address check requires an address."
|
|
1586
|
-
});
|
|
1587
|
-
if (value.ownerConfirmedPinAndAddress && (value.address === null || value.pin === null)) context.addIssue({
|
|
1588
|
-
code: "custom",
|
|
1589
|
-
path: ["ownerConfirmedPinAndAddress"],
|
|
1590
|
-
message: "Confirmation requires both address and pin."
|
|
1591
|
-
});
|
|
1592
|
-
}).readonly();
|
|
1593
|
-
/** API/DB ingress parses once. Removed locations are represented by null. */
|
|
1594
|
-
function parseLocationValue(input) {
|
|
1595
|
-
const parsed = locationValueSchema.nullable().safeParse(input);
|
|
1596
|
-
return parsed.success ? ok$1(parsed.data) : err({
|
|
1597
|
-
kind: "invalid_location",
|
|
1598
|
-
issues: parsed.error.issues
|
|
1599
|
-
});
|
|
1600
|
-
}
|
|
1601
|
-
/** One display formatter: a known matching site country is redundant. */
|
|
1602
|
-
function formatLocationAddress(address, siteCountry) {
|
|
1603
|
-
if (address === null) return null;
|
|
1604
|
-
return [
|
|
1605
|
-
address.building,
|
|
1606
|
-
address.street,
|
|
1607
|
-
address.unit,
|
|
1608
|
-
address.floor,
|
|
1609
|
-
address.locality,
|
|
1610
|
-
address.region,
|
|
1611
|
-
address.postalCode,
|
|
1612
|
-
sameLocationCountry(address.country, siteCountry) ? null : address.country
|
|
1613
|
-
].filter((part) => part !== null).join(", ") || null;
|
|
1614
|
-
}
|
|
1615
|
-
const regionNames = new Intl.DisplayNames(["en"], { type: "region" });
|
|
1616
|
-
const countryIdentity = (country) => {
|
|
1617
|
-
const text = country.trim();
|
|
1618
|
-
const code = text.toUpperCase() === "UK" ? "GB" : text.toUpperCase();
|
|
1619
|
-
return (code.length === 2 && /^[A-Z]{2}$/.test(code) ? regionNames.of(code) ?? text : text).toLowerCase();
|
|
1620
|
-
};
|
|
1621
|
-
function sameLocationCountry(country, siteCountry) {
|
|
1622
|
-
return country !== null && Boolean(siteCountry?.trim()) && countryIdentity(country) === countryIdentity(siteCountry ?? "");
|
|
1623
|
-
}
|
|
1624
|
-
const publicLocationSchema = z.strictObject({
|
|
1625
|
-
drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
|
|
1626
|
-
address: locationAddressSchema.nullable(),
|
|
1627
|
-
displayAddress: z.string().nullable().default(null),
|
|
1628
|
-
pin: locationPinSchema.nullable(),
|
|
1629
|
-
doorNote: z.string().max(1e3).nullable(),
|
|
1630
|
-
attribution: z.array(locationAddressMatchSchema.unwrap().shape.attribution.unwrap().element).max(4).readonly()
|
|
1631
|
-
}).readonly();
|
|
1632
|
-
/** Permission belongs to the resource/source owner before this projection. */
|
|
1633
|
-
function projectPublicLocation(location, siteCountry) {
|
|
1634
|
-
return {
|
|
1635
|
-
address: location.address,
|
|
1636
|
-
displayAddress: formatLocationAddress(location.address, siteCountry),
|
|
1637
|
-
pin: location.pin,
|
|
1638
|
-
doorNote: location.doorNote,
|
|
1639
|
-
attribution: location.addressMatch?.attribution ?? []
|
|
1640
|
-
};
|
|
1641
|
-
}
|
|
1642
|
-
function normalizeLocationAddressText(value) {
|
|
1643
|
-
if (typeof value !== "string") return null;
|
|
1644
|
-
return trimmedStringOrNull(value);
|
|
1645
|
-
}
|
|
1646
|
-
function hasLocationCoordinates(value) {
|
|
1647
|
-
return value != null && typeof value.lat === "number" && Number.isFinite(value.lat) && Math.abs(value.lat) <= 90 && typeof value.lng === "number" && Number.isFinite(value.lng) && Math.abs(value.lng) <= 180;
|
|
1648
|
-
}
|
|
1649
|
-
function toLocationCoordinates(value) {
|
|
1650
|
-
if (!hasLocationCoordinates(value)) return null;
|
|
1651
|
-
return {
|
|
1652
|
-
lat: value.lat,
|
|
1653
|
-
lng: value.lng
|
|
1654
|
-
};
|
|
1655
|
-
}
|
|
1656
|
-
/** Decide permission before loading or projecting the selected source. */
|
|
1657
|
-
function decideLocationSourcePermission(source, businessAddressVisibility) {
|
|
1658
|
-
if (source === "business_address" && businessAddressVisibility === void 0) return { kind: "unresolved" };
|
|
1659
|
-
return source === "business_address" && businessAddressVisibility === "hidden" ? { kind: "hidden" } : {
|
|
1660
|
-
kind: "permitted",
|
|
1661
|
-
source
|
|
1662
|
-
};
|
|
1663
|
-
}
|
|
1373
|
+
//#region ../core/src/venue-location.ts
|
|
1374
|
+
/** The owner's option and what visitors read are the same words, so the option says what you'll see. */
|
|
1375
|
+
const EVENT_ADDRESS_AFTER_BOOKING_LABEL = "Address shared after booking";
|
|
1664
1376
|
//#endregion
|
|
1665
1377
|
//#region ../core/src/public-profile.ts
|
|
1666
1378
|
const publicProfileWeekdays = [
|
|
@@ -3118,14 +2830,6 @@ const publicMembershipProductSchema = z.discriminatedUnion("purchaseAvailability
|
|
|
3118
2830
|
unavailabilityReason: z.literal("online_payments_unavailable")
|
|
3119
2831
|
})]);
|
|
3120
2832
|
//#endregion
|
|
3121
|
-
//#region ../site-contracts/src/siteData/venues.ts
|
|
3122
|
-
/** Additive map DTO; hidden venues retain only their public name and area. */
|
|
3123
|
-
const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
|
|
3124
|
-
name: z.string().optional(),
|
|
3125
|
-
area: z.string().nullable().optional(),
|
|
3126
|
-
addressWithBooking: z.boolean().optional()
|
|
3127
|
-
}).readonly();
|
|
3128
|
-
//#endregion
|
|
3129
2833
|
//#region ../site-contracts/src/siteData/eventVocabulary.ts
|
|
3130
2834
|
const eventCalendarDisplayModeValues = [
|
|
3131
2835
|
"combined",
|
|
@@ -3772,6 +3476,7 @@ const publicEventBaseSchema = z.object({
|
|
|
3772
3476
|
"online",
|
|
3773
3477
|
"hybrid"
|
|
3774
3478
|
]),
|
|
3479
|
+
addressAfterBooking: z.literal(true).optional(),
|
|
3775
3480
|
attendanceModes: z.array(publicEventAttendanceModeAvailabilitySchema),
|
|
3776
3481
|
startsAt: z.string(),
|
|
3777
3482
|
endsAt: z.string(),
|
|
@@ -42541,6 +42246,49 @@ z.object({
|
|
|
42541
42246
|
alreadyAgreed: z.boolean()
|
|
42542
42247
|
});
|
|
42543
42248
|
//#endregion
|
|
42249
|
+
//#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
|
|
42250
|
+
/** The name in a venue's place: its own, or the owner's word that the address follows the booking. */
|
|
42251
|
+
function eventPlaceName(event) {
|
|
42252
|
+
return event.venue?.name ?? (event.addressAfterBooking ? "Address shared after booking" : null);
|
|
42253
|
+
}
|
|
42254
|
+
function formatHybridLocation(event) {
|
|
42255
|
+
if (event.venue) return `${event.venue.name} + online`;
|
|
42256
|
+
return event.addressAfterBooking ? "In person or online, address shared after booking" : "In person or online";
|
|
42257
|
+
}
|
|
42258
|
+
function formatEventLocation(event) {
|
|
42259
|
+
switch (event.deliveryMode) {
|
|
42260
|
+
case "online": return "Online";
|
|
42261
|
+
case "hybrid": return formatHybridLocation(event);
|
|
42262
|
+
case "in_person": return eventPlaceName(event) ?? "In person";
|
|
42263
|
+
}
|
|
42264
|
+
}
|
|
42265
|
+
/** The line under the venue name. A booked-only venue shows its area, and the address follows the booking. */
|
|
42266
|
+
function eventVenuePlace(venue) {
|
|
42267
|
+
if (venue.addressWithBooking) return {
|
|
42268
|
+
place: venue.area ?? null,
|
|
42269
|
+
addressWithBooking: true
|
|
42270
|
+
};
|
|
42271
|
+
return {
|
|
42272
|
+
place: venue.address,
|
|
42273
|
+
addressWithBooking: false
|
|
42274
|
+
};
|
|
42275
|
+
}
|
|
42276
|
+
/**
|
|
42277
|
+
* Where an online or hybrid event happens, for the place a venue would go.
|
|
42278
|
+
*
|
|
42279
|
+
* Booking here sends a confirmation email that carries the joining link (the
|
|
42280
|
+
* link is required for an online event people book here), so the note only
|
|
42281
|
+
* promises it when the visitor books on this site. Null for in-person events.
|
|
42282
|
+
*/
|
|
42283
|
+
function eventOnlinePlace(event) {
|
|
42284
|
+
if (event.deliveryMode === "in_person") return null;
|
|
42285
|
+
const bookedHere = event.requiresRegistration && event.destination.kind !== "external";
|
|
42286
|
+
return {
|
|
42287
|
+
mode: event.deliveryMode,
|
|
42288
|
+
note: bookedHere ? "The joining link comes with your booking confirmation." : null
|
|
42289
|
+
};
|
|
42290
|
+
}
|
|
42291
|
+
//#endregion
|
|
42544
42292
|
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationDisplay.ts
|
|
42545
42293
|
const registrationDisplaySchema = z.object({
|
|
42546
42294
|
venue: z.enum(["shown", "hidden"]),
|
|
@@ -42554,7 +42302,7 @@ function resolveRegistrationDisplay(source) {
|
|
|
42554
42302
|
}
|
|
42555
42303
|
/** Venue stays in domain data; views receive only the permitted presentation. */
|
|
42556
42304
|
function shownVenue(event, display) {
|
|
42557
|
-
return display.venue === "shown" ? event
|
|
42305
|
+
return display.venue === "shown" ? eventPlaceName(event) : null;
|
|
42558
42306
|
}
|
|
42559
42307
|
/** Full/waitlist explanations remain visible even when optional counts are hidden. */
|
|
42560
42308
|
function placesLeftLabel(source, display, wording = {}) {
|
|
@@ -55129,6 +54877,17 @@ const LOCATION_MAP_LIMITS = {
|
|
|
55129
54877
|
max: 600
|
|
55130
54878
|
}
|
|
55131
54879
|
};
|
|
54880
|
+
/** Each source has its own loader, so a venue map never asks for the business address. */
|
|
54881
|
+
const LOCATION_MAP_LOADER_KEYS = {
|
|
54882
|
+
venue: "venueMapLocation",
|
|
54883
|
+
business_address: "businessMapLocation"
|
|
54884
|
+
};
|
|
54885
|
+
/** Loader data crosses transport boundaries, so anything unrecognised counts as not loaded. */
|
|
54886
|
+
function parseLocationMapLoaderResult(value) {
|
|
54887
|
+
if (value === void 0 || value === null) return void 0;
|
|
54888
|
+
const parsed = publicMapLocationResultSchema.safeParse(value);
|
|
54889
|
+
return parsed.success ? parsed.data : void 0;
|
|
54890
|
+
}
|
|
55132
54891
|
function normalizeNumber(value, fallback) {
|
|
55133
54892
|
if (typeof value === "number" && Number.isFinite(value)) return value;
|
|
55134
54893
|
if (typeof value === "string") {
|
|
@@ -55164,14 +54923,14 @@ function normalizeLocationMapSource(value) {
|
|
|
55164
54923
|
function resolveLocationMapLocation(input) {
|
|
55165
54924
|
const source = normalizeLocationMapSource(input.locationSource);
|
|
55166
54925
|
if (source === "business_address") {
|
|
55167
|
-
const locationValue =
|
|
54926
|
+
const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
|
|
55168
54927
|
return locationValue ? {
|
|
55169
54928
|
kind: "business_address",
|
|
55170
54929
|
locationValue
|
|
55171
54930
|
} : {
|
|
55172
54931
|
kind: "unresolved",
|
|
55173
54932
|
source,
|
|
55174
|
-
reason: "missing_business_address"
|
|
54933
|
+
reason: unresolvedLoadReason(input.loaded, "missing_business_address")
|
|
55175
54934
|
};
|
|
55176
54935
|
}
|
|
55177
54936
|
if (source === "venue") {
|
|
@@ -55181,15 +54940,16 @@ function resolveLocationMapLocation(input) {
|
|
|
55181
54940
|
source,
|
|
55182
54941
|
reason: "missing_venue_id"
|
|
55183
54942
|
};
|
|
55184
|
-
const locationValue =
|
|
54943
|
+
const locationValue = loadedLocationValue(input.loaded, input.siteCountry);
|
|
55185
54944
|
return locationValue ? {
|
|
55186
54945
|
kind: "venue",
|
|
55187
54946
|
venueId,
|
|
55188
|
-
locationValue
|
|
54947
|
+
locationValue,
|
|
54948
|
+
disclosure: loadedDisclosure(input.loaded)
|
|
55189
54949
|
} : {
|
|
55190
54950
|
kind: "unresolved",
|
|
55191
54951
|
source,
|
|
55192
|
-
reason:
|
|
54952
|
+
reason: venueLoadReason(input.loaded)
|
|
55193
54953
|
};
|
|
55194
54954
|
}
|
|
55195
54955
|
const locationValue = normalizeLocationMapValue(input.location, input.siteCountry);
|
|
@@ -55202,6 +54962,26 @@ function resolveLocationMapLocation(input) {
|
|
|
55202
54962
|
reason: "missing_custom_location"
|
|
55203
54963
|
};
|
|
55204
54964
|
}
|
|
54965
|
+
function loadedLocationValue(loaded, siteCountry) {
|
|
54966
|
+
return loaded?.kind === "shown" ? normalizeLocationMapValue(loaded.location, siteCountry) : null;
|
|
54967
|
+
}
|
|
54968
|
+
function loadedDisclosure(loaded) {
|
|
54969
|
+
return loaded?.kind === "shown" && loaded.location.addressWithBooking ? "area" : "full";
|
|
54970
|
+
}
|
|
54971
|
+
function unresolvedLoadReason(loaded, missing) {
|
|
54972
|
+
switch (loaded?.kind) {
|
|
54973
|
+
case "hidden": return "hidden_business_address";
|
|
54974
|
+
case "pending": return "location_loading";
|
|
54975
|
+
case "failed": return "location_load_failed";
|
|
54976
|
+
case "shown":
|
|
54977
|
+
case "not_found":
|
|
54978
|
+
case void 0: return missing;
|
|
54979
|
+
}
|
|
54980
|
+
}
|
|
54981
|
+
/** Only the business address can be hidden; a venue that says so is simply unavailable. */
|
|
54982
|
+
function venueLoadReason(loaded) {
|
|
54983
|
+
return loaded?.kind === "hidden" ? "missing_venue_location" : unresolvedLoadReason(loaded, "missing_venue_location");
|
|
54984
|
+
}
|
|
55205
54985
|
function describeUnresolvedLocationMapLocation(resolvedLocation) {
|
|
55206
54986
|
if (resolvedLocation.kind !== "unresolved") return null;
|
|
55207
54987
|
switch (resolvedLocation.reason) {
|
|
@@ -55209,11 +54989,20 @@ function describeUnresolvedLocationMapLocation(resolvedLocation) {
|
|
|
55209
54989
|
case "missing_venue_id": return "Choose a venue to show this map.";
|
|
55210
54990
|
case "missing_venue_location": return "The selected venue does not have location details yet.";
|
|
55211
54991
|
case "missing_custom_location": return "Location details coming soon.";
|
|
54992
|
+
case "hidden_business_address": return "This map is hidden because your business address is hidden.";
|
|
54993
|
+
case "location_loading": return "Loading this map's location…";
|
|
54994
|
+
case "location_load_failed": return "We couldn't load this map's location. Reload the preview to try again.";
|
|
55212
54995
|
}
|
|
55213
54996
|
}
|
|
55214
54997
|
function normalizeLocationMapProps(input) {
|
|
55215
54998
|
const parsedHours = parseWeeklyOpeningHours(input.openingHours);
|
|
55216
|
-
const resolvedLocation = resolveLocationMapLocation(
|
|
54999
|
+
const resolvedLocation = resolveLocationMapLocation({
|
|
55000
|
+
location: input.location,
|
|
55001
|
+
siteCountry: input.siteCountry,
|
|
55002
|
+
locationSource: input.locationSource,
|
|
55003
|
+
venueId: input.venueId,
|
|
55004
|
+
loaded: parseLocationMapLoaderResult(normalizeLocationMapSource(input.locationSource) === "venue" ? input.venueMapLocation : input.businessMapLocation)
|
|
55005
|
+
});
|
|
55217
55006
|
const locationValue = resolvedLocation.kind === "unresolved" ? null : resolvedLocation.locationValue;
|
|
55218
55007
|
const directionsLabel = normalizeLocationAddressText(input.directionsLabel) ?? LOCATION_MAP_DEFAULTS.directionsLabel;
|
|
55219
55008
|
return {
|
|
@@ -55324,10 +55113,6 @@ const locationMapNodeProps = {
|
|
|
55324
55113
|
from: "content.location",
|
|
55325
55114
|
fallback: null
|
|
55326
55115
|
} },
|
|
55327
|
-
businessAddress: { $bind: {
|
|
55328
|
-
from: "$root.site.businessAddress",
|
|
55329
|
-
fallback: null
|
|
55330
|
-
} },
|
|
55331
55116
|
locationSource: { $bind: {
|
|
55332
55117
|
from: "content.locationSource",
|
|
55333
55118
|
fallback: "custom"
|
|
@@ -55336,8 +55121,12 @@ const locationMapNodeProps = {
|
|
|
55336
55121
|
from: "content.venueId",
|
|
55337
55122
|
fallback: null
|
|
55338
55123
|
} },
|
|
55339
|
-
|
|
55340
|
-
from:
|
|
55124
|
+
venueMapLocation: { $bind: {
|
|
55125
|
+
from: `data.${LOCATION_MAP_LOADER_KEYS.venue}`,
|
|
55126
|
+
fallback: null
|
|
55127
|
+
} },
|
|
55128
|
+
businessMapLocation: { $bind: {
|
|
55129
|
+
from: `data.${LOCATION_MAP_LOADER_KEYS.business_address}`,
|
|
55341
55130
|
fallback: null
|
|
55342
55131
|
} },
|
|
55343
55132
|
wider: { $bind: {
|
|
@@ -55385,212 +55174,256 @@ const arrangedLayout = (body) => styledSection({
|
|
|
55385
55174
|
...lookSlot("heading")
|
|
55386
55175
|
}, bind("content.heading"))], when("content.heading")), ...body])
|
|
55387
55176
|
});
|
|
55388
|
-
const
|
|
55389
|
-
|
|
55390
|
-
|
|
55391
|
-
|
|
55392
|
-
|
|
55393
|
-
|
|
55394
|
-
|
|
55395
|
-
|
|
55396
|
-
|
|
55397
|
-
|
|
55398
|
-
|
|
55399
|
-
|
|
55400
|
-
|
|
55401
|
-
|
|
55402
|
-
|
|
55403
|
-
|
|
55404
|
-
|
|
55405
|
-
|
|
55406
|
-
|
|
55407
|
-
|
|
55408
|
-
|
|
55409
|
-
|
|
55410
|
-
|
|
55411
|
-
|
|
55412
|
-
|
|
55413
|
-
|
|
55414
|
-
|
|
55415
|
-
|
|
55416
|
-
|
|
55417
|
-
|
|
55418
|
-
|
|
55419
|
-
|
|
55420
|
-
|
|
55421
|
-
|
|
55422
|
-
|
|
55423
|
-
|
|
55424
|
-
|
|
55425
|
-
|
|
55426
|
-
|
|
55427
|
-
|
|
55428
|
-
|
|
55429
|
-
|
|
55430
|
-
|
|
55431
|
-
|
|
55432
|
-
|
|
55433
|
-
|
|
55434
|
-
|
|
55435
|
-
|
|
55436
|
-
label: "A different place"
|
|
55437
|
-
}
|
|
55438
|
-
],
|
|
55439
|
-
ui: {
|
|
55440
|
-
intent: "content",
|
|
55441
|
-
widget: "locationSourceSelect"
|
|
55177
|
+
const locationMapManifest = createBlockManifest({
|
|
55178
|
+
variantMeaning: {
|
|
55179
|
+
kind: "arrangement",
|
|
55180
|
+
lookOnlyKeys: ["map-and-details", "photo-and-details"]
|
|
55181
|
+
},
|
|
55182
|
+
id: "block.location-map",
|
|
55183
|
+
title: "Map",
|
|
55184
|
+
titleSource: "heading",
|
|
55185
|
+
description: "Shows where you are on a map, with a button for directions.",
|
|
55186
|
+
category: "text-and-images",
|
|
55187
|
+
contentSource: { kind: "inline" },
|
|
55188
|
+
tags: [
|
|
55189
|
+
"map",
|
|
55190
|
+
"location",
|
|
55191
|
+
"address",
|
|
55192
|
+
"directions"
|
|
55193
|
+
],
|
|
55194
|
+
icon: "MapPin",
|
|
55195
|
+
styleTokens: {
|
|
55196
|
+
background: "surface",
|
|
55197
|
+
typography: "body",
|
|
55198
|
+
spacing: "md"
|
|
55199
|
+
},
|
|
55200
|
+
additionalFields: [
|
|
55201
|
+
parseFieldDefinition({
|
|
55202
|
+
id: "heading",
|
|
55203
|
+
type: "text",
|
|
55204
|
+
label: "Heading",
|
|
55205
|
+
required: false,
|
|
55206
|
+
maxLength: 120
|
|
55207
|
+
}),
|
|
55208
|
+
parseFieldDefinition({
|
|
55209
|
+
id: "locationSource",
|
|
55210
|
+
type: "select",
|
|
55211
|
+
label: "Which place?",
|
|
55212
|
+
defaultValue: "custom",
|
|
55213
|
+
options: [
|
|
55214
|
+
{
|
|
55215
|
+
value: "business_address",
|
|
55216
|
+
label: "Your business address"
|
|
55217
|
+
},
|
|
55218
|
+
{
|
|
55219
|
+
value: "venue",
|
|
55220
|
+
label: "One of your venues"
|
|
55221
|
+
},
|
|
55222
|
+
{
|
|
55223
|
+
value: "custom",
|
|
55224
|
+
label: "A different place"
|
|
55442
55225
|
}
|
|
55443
|
-
|
|
55444
|
-
|
|
55445
|
-
|
|
55446
|
-
|
|
55447
|
-
|
|
55448
|
-
|
|
55449
|
-
|
|
55450
|
-
|
|
55451
|
-
|
|
55452
|
-
|
|
55453
|
-
|
|
55454
|
-
|
|
55455
|
-
|
|
55226
|
+
],
|
|
55227
|
+
ui: {
|
|
55228
|
+
intent: "content",
|
|
55229
|
+
widget: "locationSourceSelect"
|
|
55230
|
+
}
|
|
55231
|
+
}),
|
|
55232
|
+
createSiteOptionSelectField({
|
|
55233
|
+
id: "venueId",
|
|
55234
|
+
label: "Venue",
|
|
55235
|
+
required: false,
|
|
55236
|
+
multiple: false,
|
|
55237
|
+
optionSource: "venues",
|
|
55238
|
+
ui: {
|
|
55239
|
+
intent: "content",
|
|
55240
|
+
visibleWhen: {
|
|
55241
|
+
field: "locationSource",
|
|
55242
|
+
equals: "venue"
|
|
55456
55243
|
}
|
|
55457
|
-
}
|
|
55458
|
-
|
|
55459
|
-
|
|
55460
|
-
|
|
55461
|
-
|
|
55462
|
-
|
|
55463
|
-
|
|
55464
|
-
|
|
55465
|
-
|
|
55466
|
-
|
|
55467
|
-
|
|
55468
|
-
|
|
55469
|
-
|
|
55470
|
-
|
|
55471
|
-
|
|
55244
|
+
}
|
|
55245
|
+
}),
|
|
55246
|
+
parseFieldDefinition({
|
|
55247
|
+
id: "location",
|
|
55248
|
+
type: "group",
|
|
55249
|
+
label: "Location",
|
|
55250
|
+
description: "Enter the address and place the map pin.",
|
|
55251
|
+
required: false,
|
|
55252
|
+
ui: {
|
|
55253
|
+
widget: "locationPicker",
|
|
55254
|
+
valueContract: "location",
|
|
55255
|
+
intent: "content",
|
|
55256
|
+
visibleWhen: {
|
|
55257
|
+
field: "locationSource",
|
|
55258
|
+
equals: "custom"
|
|
55259
|
+
}
|
|
55260
|
+
},
|
|
55261
|
+
schema: { fields: [
|
|
55262
|
+
{
|
|
55263
|
+
id: "addressText",
|
|
55264
|
+
type: "text",
|
|
55265
|
+
label: "Address",
|
|
55266
|
+
required: true,
|
|
55267
|
+
multiline: true,
|
|
55268
|
+
maxLength: 240
|
|
55472
55269
|
},
|
|
55473
|
-
|
|
55474
|
-
|
|
55475
|
-
|
|
55476
|
-
|
|
55477
|
-
|
|
55478
|
-
|
|
55479
|
-
|
|
55480
|
-
|
|
55481
|
-
|
|
55482
|
-
|
|
55483
|
-
|
|
55484
|
-
|
|
55485
|
-
|
|
55486
|
-
|
|
55487
|
-
|
|
55488
|
-
|
|
55489
|
-
|
|
55490
|
-
},
|
|
55491
|
-
{
|
|
55492
|
-
id: "lng",
|
|
55493
|
-
type: "number",
|
|
55494
|
-
label: "Longitude",
|
|
55495
|
-
required: true,
|
|
55496
|
-
min: -180,
|
|
55497
|
-
max: 180,
|
|
55498
|
-
step: 1e-6
|
|
55499
|
-
}
|
|
55500
|
-
] }
|
|
55501
|
-
}),
|
|
55502
|
-
parseFieldDefinition({
|
|
55503
|
-
id: "entrancePhoto",
|
|
55504
|
-
type: "media",
|
|
55505
|
-
label: "Entrance photo",
|
|
55506
|
-
description: "A photo of the door or the way in. It shows when this section uses the “Entrance photo beside the details” Look.",
|
|
55507
|
-
required: false,
|
|
55508
|
-
mediaKinds: ["image"],
|
|
55509
|
-
ui: { intent: "content" }
|
|
55510
|
-
}),
|
|
55511
|
-
parseFieldDefinition({
|
|
55512
|
-
id: "showOpeningHours",
|
|
55513
|
-
type: "boolean",
|
|
55514
|
-
label: "Show opening hours",
|
|
55515
|
-
defaultValue: true,
|
|
55516
|
-
ui: { intent: "behavior" }
|
|
55517
|
-
}),
|
|
55518
|
-
parseFieldDefinition({
|
|
55519
|
-
id: "showAddressText",
|
|
55520
|
-
type: "boolean",
|
|
55521
|
-
label: "Show the address",
|
|
55522
|
-
defaultValue: true,
|
|
55523
|
-
ui: { intent: "behavior" }
|
|
55524
|
-
}),
|
|
55525
|
-
parseFieldDefinition({
|
|
55526
|
-
id: "showDirections",
|
|
55527
|
-
type: "boolean",
|
|
55528
|
-
label: "Show directions button",
|
|
55529
|
-
defaultValue: true,
|
|
55530
|
-
ui: { intent: "behavior" }
|
|
55531
|
-
}),
|
|
55532
|
-
parseFieldDefinition({
|
|
55533
|
-
id: "directionsLabel",
|
|
55534
|
-
type: "text",
|
|
55535
|
-
label: "Directions button label",
|
|
55536
|
-
defaultValue: LOCATION_MAP_DEFAULTS.directionsLabel,
|
|
55537
|
-
maxLength: 60,
|
|
55538
|
-
ui: {
|
|
55539
|
-
intent: "behavior",
|
|
55540
|
-
visibleWhen: {
|
|
55541
|
-
field: "showDirections",
|
|
55542
|
-
equals: true
|
|
55543
|
-
}
|
|
55270
|
+
{
|
|
55271
|
+
id: "lat",
|
|
55272
|
+
type: "number",
|
|
55273
|
+
label: "Latitude",
|
|
55274
|
+
required: true,
|
|
55275
|
+
min: -90,
|
|
55276
|
+
max: 90,
|
|
55277
|
+
step: 1e-6
|
|
55278
|
+
},
|
|
55279
|
+
{
|
|
55280
|
+
id: "lng",
|
|
55281
|
+
type: "number",
|
|
55282
|
+
label: "Longitude",
|
|
55283
|
+
required: true,
|
|
55284
|
+
min: -180,
|
|
55285
|
+
max: 180,
|
|
55286
|
+
step: 1e-6
|
|
55544
55287
|
}
|
|
55545
|
-
}
|
|
55546
|
-
|
|
55547
|
-
|
|
55548
|
-
|
|
55549
|
-
|
|
55550
|
-
|
|
55551
|
-
|
|
55552
|
-
|
|
55553
|
-
|
|
55554
|
-
|
|
55555
|
-
|
|
55556
|
-
|
|
55557
|
-
|
|
55558
|
-
|
|
55559
|
-
|
|
55560
|
-
|
|
55561
|
-
|
|
55562
|
-
|
|
55563
|
-
|
|
55564
|
-
|
|
55565
|
-
|
|
55566
|
-
|
|
55567
|
-
|
|
55568
|
-
|
|
55569
|
-
|
|
55570
|
-
|
|
55571
|
-
|
|
55572
|
-
|
|
55573
|
-
|
|
55288
|
+
] }
|
|
55289
|
+
}),
|
|
55290
|
+
parseFieldDefinition({
|
|
55291
|
+
id: "entrancePhoto",
|
|
55292
|
+
type: "media",
|
|
55293
|
+
label: "Entrance photo",
|
|
55294
|
+
description: "A photo of the door or the way in. It shows when this section uses the “Entrance photo beside the details” Look.",
|
|
55295
|
+
required: false,
|
|
55296
|
+
mediaKinds: ["image"],
|
|
55297
|
+
ui: { intent: "content" }
|
|
55298
|
+
}),
|
|
55299
|
+
parseFieldDefinition({
|
|
55300
|
+
id: "showOpeningHours",
|
|
55301
|
+
type: "boolean",
|
|
55302
|
+
label: "Show opening hours",
|
|
55303
|
+
defaultValue: true,
|
|
55304
|
+
ui: { intent: "behavior" }
|
|
55305
|
+
}),
|
|
55306
|
+
parseFieldDefinition({
|
|
55307
|
+
id: "showAddressText",
|
|
55308
|
+
type: "boolean",
|
|
55309
|
+
label: "Show the address",
|
|
55310
|
+
defaultValue: true,
|
|
55311
|
+
ui: { intent: "behavior" }
|
|
55312
|
+
}),
|
|
55313
|
+
parseFieldDefinition({
|
|
55314
|
+
id: "showDirections",
|
|
55315
|
+
type: "boolean",
|
|
55316
|
+
label: "Show directions button",
|
|
55317
|
+
defaultValue: true,
|
|
55318
|
+
ui: { intent: "behavior" }
|
|
55319
|
+
}),
|
|
55320
|
+
parseFieldDefinition({
|
|
55321
|
+
id: "directionsLabel",
|
|
55322
|
+
type: "text",
|
|
55323
|
+
label: "Directions button label",
|
|
55324
|
+
defaultValue: LOCATION_MAP_DEFAULTS.directionsLabel,
|
|
55325
|
+
maxLength: 60,
|
|
55326
|
+
ui: {
|
|
55327
|
+
intent: "behavior",
|
|
55328
|
+
visibleWhen: {
|
|
55329
|
+
field: "showDirections",
|
|
55330
|
+
equals: true
|
|
55574
55331
|
}
|
|
55575
|
-
}
|
|
55576
|
-
],
|
|
55577
|
-
layout: styledSection({
|
|
55578
|
-
baseClass: "",
|
|
55579
|
-
spacing: "comfortable",
|
|
55580
|
-
children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", locationMapNodeProps)], { gap: "md" })
|
|
55332
|
+
}
|
|
55581
55333
|
}),
|
|
55582
|
-
|
|
55583
|
-
|
|
55584
|
-
|
|
55585
|
-
|
|
55586
|
-
|
|
55587
|
-
|
|
55588
|
-
|
|
55589
|
-
|
|
55590
|
-
|
|
55591
|
-
|
|
55592
|
-
|
|
55334
|
+
parseFieldDefinition({
|
|
55335
|
+
id: "wider",
|
|
55336
|
+
type: "boolean",
|
|
55337
|
+
label: "Show a wider area",
|
|
55338
|
+
defaultValue: false,
|
|
55339
|
+
ui: { intent: "behavior" }
|
|
55340
|
+
}),
|
|
55341
|
+
parseFieldDefinition({
|
|
55342
|
+
id: "googleMapsLabel",
|
|
55343
|
+
type: "text",
|
|
55344
|
+
label: "Google Maps button label",
|
|
55345
|
+
defaultValue: "Open in Google Maps",
|
|
55346
|
+
maxLength: 60,
|
|
55347
|
+
ui: { intent: "behavior" }
|
|
55348
|
+
}),
|
|
55349
|
+
parseFieldDefinition({
|
|
55350
|
+
id: "heightPx",
|
|
55351
|
+
type: "number",
|
|
55352
|
+
label: "Map height",
|
|
55353
|
+
defaultValue: LOCATION_MAP_DEFAULTS.heightPx,
|
|
55354
|
+
min: LOCATION_MAP_LIMITS.heightPx.min,
|
|
55355
|
+
max: LOCATION_MAP_LIMITS.heightPx.max,
|
|
55356
|
+
step: 10,
|
|
55357
|
+
ui: {
|
|
55358
|
+
intent: "display",
|
|
55359
|
+
widget: "slider",
|
|
55360
|
+
showValue: true,
|
|
55361
|
+
valueUnit: "pixels"
|
|
55362
|
+
}
|
|
55363
|
+
})
|
|
55364
|
+
],
|
|
55365
|
+
layout: styledSection({
|
|
55366
|
+
baseClass: "",
|
|
55367
|
+
spacing: "comfortable",
|
|
55368
|
+
children: sectionContainer([text({ as: "h2" }, bind("content.heading"), when("content.heading")), el("location-map", locationMapNodeProps)], { gap: "md" })
|
|
55593
55369
|
}),
|
|
55370
|
+
variants: {
|
|
55371
|
+
"map-and-details": arrangedLayout([el("location-map", {
|
|
55372
|
+
...locationMapNodeProps,
|
|
55373
|
+
...lookPresentationProps
|
|
55374
|
+
})]),
|
|
55375
|
+
"photo-and-details": arrangedLayout([el("div", lookSlot("frame"), [el("div", lookSlot("media"), [media(lookSlot("photo"), bind("content.entrancePhoto"), when("content.entrancePhoto"))], when("content.entrancePhoto")), el("location-map", {
|
|
55376
|
+
...locationMapNodeProps,
|
|
55377
|
+
...lookPresentationProps,
|
|
55378
|
+
showMap: false
|
|
55379
|
+
})])])
|
|
55380
|
+
}
|
|
55381
|
+
});
|
|
55382
|
+
function mapLocationLoaderWhen(source) {
|
|
55383
|
+
return { $bind: {
|
|
55384
|
+
from: "content.locationSource",
|
|
55385
|
+
fallback: false,
|
|
55386
|
+
transforms: [{
|
|
55387
|
+
id: "value.equals",
|
|
55388
|
+
options: { value: source }
|
|
55389
|
+
}]
|
|
55390
|
+
} };
|
|
55391
|
+
}
|
|
55392
|
+
const mapLocationLoaderRoot = {
|
|
55393
|
+
siteId: { $bind: { from: "$root.siteId" } },
|
|
55394
|
+
stage: { $bind: {
|
|
55395
|
+
from: "$root.previewStage",
|
|
55396
|
+
fallback: "published"
|
|
55397
|
+
} }
|
|
55398
|
+
};
|
|
55399
|
+
const locationMapBlockDefinition = {
|
|
55400
|
+
manifest: locationMapManifest,
|
|
55401
|
+
dataSchemas: {
|
|
55402
|
+
[LOCATION_MAP_LOADER_KEYS.venue]: publicMapLocationResultSchema.optional(),
|
|
55403
|
+
[LOCATION_MAP_LOADER_KEYS.business_address]: publicMapLocationResultSchema.optional()
|
|
55404
|
+
},
|
|
55405
|
+
dataLoaders: {
|
|
55406
|
+
[LOCATION_MAP_LOADER_KEYS.venue]: {
|
|
55407
|
+
endpoint: "getPublicMapLocation",
|
|
55408
|
+
when: mapLocationLoaderWhen("venue"),
|
|
55409
|
+
params: {
|
|
55410
|
+
...mapLocationLoaderRoot,
|
|
55411
|
+
source: "venue",
|
|
55412
|
+
venueId: { $bind: { from: "content.venueId" } }
|
|
55413
|
+
},
|
|
55414
|
+
requiredParams: ["venueId"],
|
|
55415
|
+
mode: "server"
|
|
55416
|
+
},
|
|
55417
|
+
[LOCATION_MAP_LOADER_KEYS.business_address]: {
|
|
55418
|
+
endpoint: "getPublicMapLocation",
|
|
55419
|
+
when: mapLocationLoaderWhen("business_address"),
|
|
55420
|
+
params: {
|
|
55421
|
+
...mapLocationLoaderRoot,
|
|
55422
|
+
source: "business_address"
|
|
55423
|
+
},
|
|
55424
|
+
mode: "server"
|
|
55425
|
+
}
|
|
55426
|
+
},
|
|
55594
55427
|
contentNormalizer: {
|
|
55595
55428
|
fieldIds: [
|
|
55596
55429
|
"heading",
|
|
@@ -56494,4 +56327,4 @@ function listBlockDescriptors() {
|
|
|
56494
56327
|
}));
|
|
56495
56328
|
}
|
|
56496
56329
|
//#endregion
|
|
56497
|
-
export { RichText as $, generateEffectsCSS as $a, eventScopeLoaderParam as $i, chromeLogoTransforms as $n, publicEventsArraySchema as $o, boxStyleClassNames as $r, resolvePricingOptionsPriceDisplay as $s, formatEventCompactDateRail as $t, publicRouteCandidatesSchema as A, arrangementManifestFromVariants as Aa, FileAudioIcon as Ai, canJoinEventWaitlistOnAnyMode as An, bindingSchema as Ao, formatEventPrice as Ar, trimmedStringOrNull as As, offeringsListingFor as At, buildEventCollectionHydration as B, designRuntimeRulesForSiteStyle as Ba, parseFieldDefinition as Bi, siteFooterManifest as Bn, resolveRepeaterGridRowFieldId as Bo, faqHeadingFragment as Br, getLocalScheduleDate as Bs, SpinnerNode as Bt, buildProductListInteractiveIslandProps as C, arrangementStyleAvailability as Ca, resolveBlockIconRenderValue as Ci, planOrdinarySeriesSelection as Cn, resolveSectionBackground as Co, blockDesignCapabilityMapFromDefinitions as Cr, sameMailingListPlacementTargeting as Cs, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Ct, membershipClassesLabel as D, resolveArrangementLookForBlock as Da, CirclePlusIcon as Di, resolveSelectionBookingClosedDetail as Dn, themeV2CompilerOwnedFieldNames as Do, resolveClassPriceItems as Dr, normalizeLocationAddressText as Ds, groupOfferingRunsByCourse as Dt, membershipCardListContent as E, getCompatibleBlockAppearancePresets as Ea, CircleMinusIcon as Ei, planWholeSeriesRunSelection as En, stripStaleTransitionStyleGroup as Eo, classPricesDataSchema as Er, locationValueSchema as Es, buildOfferingsPreviewListing as Et, buildEventCalendarListingDisplay as F, buildInitialPolicyPageDesignIntent as Fa, inlineTextToPlainText as Fi, isEventFull as Fn, fieldSchema as Fo, getAnchorClasses as Fr, inferSiteDateLocale as Fs, ThemedAuthoredButton as Ft, catalogueEventCardProps as G, surfaceResolutionContextFromTheme as Ga, isRecord$5 as Gi, contentTransforms as Gn, formatDateKey as Go, testimonialsCarouselFragment as Gr, toUtcIsoDateTimeString as Gs, weekColumnDays as Gt, eventCollectionDisplaySchemaShape as H, requireCuratedSiteStyle as Ha, PUBLIC_DOWNLOAD_MEDIA_TYPES as Hi, composeHeaderSectionWrapperClassName as Hn, getLocalDateKey as Ho, singleButtonFragment as Hr, parseLocalScheduleTime as Hs, eventListWeekDays as Ht, combinedLookSchema as I, deriveSiteStyleBlockPolicy as Ia, isInlineTextEmpty as Ii, groupPublicEventsByRun as In, validateManifestLookField as Io, richTextFragment as Ir, formatBookingCompactEnglishTime as Is, ThemedButton as It, CardListLeadDate as J, resolveCardRole as Ja, eventReadinessLoaderKey as Ji, teamMemberCardBiography as Jn, getWeekCalendarDayTuple as Jo, heroCtaRowFragment as Jr, isPublicEventPricingOptionDisplayable as Js, eventDateOptions as Jt, listingEventCardProps as K, gradientToCss as Ka, chosenString as Ki, parseTeamMemberSpecialties as Kn, getDayOfWeek as Ko, testimonialsHeadingFragment as Kr, offeringLabelForPageSurfaceSubject as Ks, buildCalendarViewport as Kt, eventListingBlockDefinition as L, filterLayoutProfilesForPolicy as La, parseInlineTextFromUnknown as Li, FEATURE_CARD_ICON_TREATMENTS as Ln, isAcceptedRepeaterGridSpan as Lo, headingFragment as Lr, toScheduledBookingDateTime as Ls, ThemedButtonLink as Lt, offeringsCatalogueShape as M, resolveEffectiveArrangement as Ma, FileTextIcon as Mi, formatTotalCapacity as Mn, blockCategoryEnum as Mo, formatEventPriceDisplay as Mr, formatDate$2 as Ms, resolveOfferingsPreviewGroupCta as Mt, eventCalendarBlockDefinition as N, resolveModeArrangement as Na, MinusIcon as Ni, getEventAvailability as Nn, blockSectionDeclarationShape as No, formatEventStartingPrice as Nr, formatDateRange as Ns, resolveOfferingsPreviewGroups as Nt, passCardListContent as O, resolveLookForBlock as Oa, ClockIcon as Oi, selectionRepresentativeEvent as On, appearancePresets as Oo, formatCoursePrice as Or, projectPublicLocation as Os, normalizeOfferingsPreviewItemLimit as Ot, buildEventCalendarInteractiveIslandProps as P, resolvePublishedLook as Pa, PlusIcon as Pi, getEventAvailabilityStatus as Pn, builtInBlockKindsSchema as Po, BACKGROUND_POSITION_PRESET_VALUES as Pr, formatDateTimeRange as Ps, resolveOfferingsRenderInput as Pt, MediaNodeServer as Q, generateNavLinkCSS as Qa, eventDiscoveryFilterKeys as Qi, headerRuntimeTransforms as Qn, projectRecurringSchedule as Qo, boxStylesTransforms as Qr, resolveExactOrFreePriceDisplay as Qs, formatEventClockLabel as Qt, buildEventListingInteractiveIslandProps as R, filterLookIdsForPolicy as Ra, plainTextToInlineText as Ri, resolveFeatureCardGeneratedIconSizePx as Rn, parseRepeaterGridInteger as Ro, cardFragment as Rr, compareLocalScheduleDates as Rs, ThemedDownloadLink as Rt, buildProductDetailInteractiveIslandProps as S, arrangementLookHooks as Sa, parseBlockIconValue as Si, planDropInPanel as Sn, parseCanonicalRuntimeBackground as So, morePhotosField as Sr, parseMailingListPlacementTargeting as Ss, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as St, shopProductPresentation as T, compileArrangementLookRuntime as Ta, ChevronDownIcon as Ti, planWholeSeriesParentSelection as Tn, defaultHeroImageSurfaceTreatment as To, classPricesCopySchema as Tr, decideLocationSourcePermission as Ts, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Tt, eventCollectionHydrationSchema as U, compilePageRuntimeFields as Ua, augmentManifest as Ui, markEditableSurfaceForwarding as Un, getLocalMinuteOfDay as Uo, formEmbedFragment as Ur, resolveBookingBusinessTimeZone as Us, eventWeekGroupingContext as Ut, buildEventCollectionListingDisplay as V, getCuratedSiteStyle as Va, parseFieldDefinitions as Vi, siteHeaderManifest as Vn, resolveRepeaterGridSpanFieldId as Vo, blogFeaturedPostFragment as Vr, parseBookingLocalDate as Vs, buildEventListWeek as Vt, eventCollectionSourceSchemaShape as W, stripCompiledRuntimeStyleFields as Wa, isObjectRecord$1 as Wi, splitPositioningClasses as Wn, addDays as Wo, formCopyFragment as Wr, toBookingTimeZone as Ws, groupEventsByWeek as Wt, resolveCardListSchedule as X, generateFooterCss as Xa, eventReadinessQueryKeys as Xi, resolveDateRuntimeContext as Xn, isSameCalendarDay as Xo, isBlockButtonRole as Xr, publicEventPricingDisplay as Xs, formatCalendarTitle as Xt, cardListPresentationSchemaShape as Y, generateDefaultCardSystem as Ya, eventReadinessQuery as Yi, readRuntimeNow as Yn, getWeekCalendarDays as Yo, ctaRowFragment as Yr, publicEventPricingCurrency as Ys, eventLocalDateKey as Yt, selectCardListPresentation as Z, buildTextContrastShadow as Za, eventReadinessResultSchema as Zi, mediaTransforms as Zn, isToday as Zo, heroCopyFragment as Zr, publicEventPricingType as Zs, formatDate as Zt, productDetailBlockDefinition as _, heroPhotoPaintsGround as _a, createTransformRegistry as _i, cancelledDateCopy as _n, transitionIntentForTreatment as _o, resolvedItemSurfaceProps as _r, orderedLiveRunSessions as _s, resolveEventRegistrationEventSource as _t, normalizeLocationMapProps as a, resolveEventCalendarReadPlan as aa, arrangementSlotNames as ac, resolveSectionSurfaceForeground as ai, formatEventWeekdayTime as an, resolvePageDesignBoundaryChoice as ao, formBlockDefinition as ar, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as as, resolveImageUrlWithContext as at, buildCartInteractiveIslandProps as b, headerRootPaint as ba, when as bi, getPublicEventCanonicalPath as bn, applyLookPhotoTreatment as bo, clsx as br, parseMailingListRuntimeContext as bs, normalizeEventRegistrationPageSurfaceSubject as bt, newsletterSignupBlockDefinition as c, AFFORDANCE_SUPPRESS_CLASS as ca, ctaButton as ci, resolveEventTimeZone as cn, sectionShapeHook as co, createInteractiveIslandCodec as cr, admitReadinessFacts as cs, systemCustomizeFacetDefinitionsForBlock as ct, buildNewsletterFormInteractiveIslandProps as d, resolveLookSurfacePresentation as da, defineFragment as di, bookingPresentation as dn, boundaryRuntimeMetricsForDecorativeTransition as do, defineClientOwnedBlockRuntime as dr, pageTemplateFromEntry as ds, setContextResolveImageUrlContext as dt, eventScopeQuery as ea, formatCurrencyAmount as ec, normalizeBoxStylesBorder as ei, formatEventDateParts as en, resolveEffectApplications as eo, layoutTransforms as er, blockBookingPaymentTermsSchema as es, ImagePresets as et, newsletterBlockSubmissionMessage as f, selectItemSurfacePresentation as fa, lookCarouselRegionTransform as fi, browserReadAuthoritySchema as fn, boundaryTreatmentForBoundaryOptionId as fo, defineProgressiveBlockRuntime as fr, unavailableReadinessFact as fs, EventQuickFacts as ft, cartBlockDefinition as g, readOpeningToneProjection as ga, asPartialObject as gi, bookingPageKindSchema as gn, spaciousBoundaryOption as go, lookListPresentationSchemaShape as gr, nextLiveRunSessionStartMs as gs, buildEventRegistrationInteractiveIslandProps as gt, checkoutBlockDefinition as h, effectiveHeaderNavLinkStyle as ha, lookSkinSlotTransform as hi, closedRunCopy as hn, softBoundaryOption as ho, listLookSlot as hr, CANCELLED_SESSION_STATUS as hs, eventRegistrationBlockDefinition as ht, systemBlockDefinitions as i, eventCalendarListGroupingDecision as ia, parseGradientPresetId as ic, parseRuntimeBackgroundContent as ii, formatEventTimeRange as in, resolvePageDesignBlockLookChoice as io, formatDate$1 as ir, sanitizeHref as is, resolveImageUrl as it, buildOfferingsCatalogueListing as j, readStoredMode as ja, FileSpreadsheetIcon as ji, formatEventRemainingPlaces as jn, DEFAULT_MEDIA_FIELD_KINDS as jo, formatEventPriceAmount as jr, mapDrawingSchema as js, readOfferingsGrouping as jt, offeringsPreviewBlockDefinition as k, styleSectionBackgroundForColour as ka, FileArchiveIcon as ki, isBookableEvent as kn, NodeSchema as ko, formatEventDepositNote as kr, publicLocationSchema as ks, offeringRunLifecycle as kt, sanitizeNewsletterSignupPublicContent as l, resolveHeaderRootForeground as la, isSemanticSpacing as li, resolveRuntimeEventDestination as ln, boundaryOptionForTransitionIntent as lo, defineInteractiveIslandMetaKeys as lr, hiddenFromVisitors as ls, buildResolveImageUrlContext as lt, buildGiftingInteractiveIslandProps as m, authoredHeaderLinkForeground as ma, lookQuoteLimitTransform as mi, pageNavigationSchema as mn, noneBoundaryOption as mo, listLookControl as mr, EVENT_PRESET_VALUES as ms, getContainerClass as mt, listBlockDescriptors as n, resolveEventScope as na, unsafeAsContentEntryId as nc, parseBackgroundContent as ni, formatEventNextDateFact as nn, generateInteractiveChildInheritanceCSS as no, uiTransforms as nr, bookingConsentCarrierSchema as ns, computeMediaTransformStyle as nt, normalizeLocationMapSource as o, parseThemeButtonVariantId as oa, TokenResolver as oc, resolveSurfaceForegroundStyles as oi, formatTime as on, sectionShapeForGround as oo, buildFormInteractiveIslandProps as or, linkSchema as os, resolvePublicMediaUrl as ot, giftingBlockDefinition as p, parseListLook as pa, lookLeadSlotTransform as pi, blockSiteTermsSchema as pn, isDecorativeTransitionIntent as po, listItemPresentation as pr, isRecord$6 as ps, getCardOrientation as pt, CardListContentPart as q, getGradientPreset as qa, blockChecksForEvents as qi, teamMemberBiography as qn, getOrderedDayNames as qo, ctaCopyFragment as qr, formatBookingPriceDisplay as qs, eventCalendarWeekStart as qt, normalizeBlockContent as r, resolveCalendarReadProfile as ra, unsafeAsEventCategoryId$1 as rc, parseBackgroundOverlay as ri, formatEventRunDates as rn, parsePageDesignIntent as ro, formattingTransforms as rr, beforeBookingQuestionsPresentationSchema as rs, resolveImageSourceSetWithContext as rt, resolveLocationMapLocation as s, themeButtonSelector as sa, resolveBackgroundColorValue as si, groupEventsByDate as sn, sectionShapeFromContent as so, buildInteractiveIslandProps as sr, calendarWindowQuerySchema as ss, resolveArrangementKnobs as st, getBlockDefinition as t, eventScopeQueryKeys as ta, parseContentVersionId as tc, resolveCardRoleForBoxStyles as ti, formatEventHourLabel as tn, resolveEffectPaint as to, staticHeaderChromeRuntime as tr, blockBookingConsentSchema as ts, MediaPlaceholder as tt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as u, lookPresentationOnPalette as ua, bodyCopyFragment as ui, formatBookingSchedulePresentation as un, boundaryOptions as uo, createZodCodec as ur, loadedReadinessFact as us, getCurrentResolveImageUrlContext as ut, productListBlockDefinition as v, headerNeedsPhotoShade as va, runTransforms as vi, hasCancelledRegistrationDate as vn, anglePolygonCss as vo, itemRole as vr, resolveWholeSeriesBookingPhase as vs, bookingNowSchema as vt, buildShopInteractiveIslandProps as w, automaticArrangementLook as wa, ArrowDownIcon as wi, planWholeSeriesParentBooking as wn, sectionSurfaceBase as wo, resolveDeclaredBlockDesignCapability as wr, isCanonicalRichTextDoc as ws, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as wt, buildCheckoutInteractiveIslandProps as x, arrangementAppearancePresets as xa, buildGeneratedBlockIconRenderAssetLookupFromUnknown as xi, isOrdinaryPublicEvent as xn, deriveSectionGround as xo, heroMorePhotoCount as xr, parseMailingListProviderScope as xs, resolveEventRegistrationScopedEvents as xt, shopBlockDefinition as y, headerRootIsTransparent as ya, el as yi, eventOccurrenceContext as yn, transitionCatalogueEntries as yo, Grid as yr, buildMailingListSignupBlockSourceRef as ys, previewStageSchema as yt, buildEventCollectionDisplay as z, componentRuntimeRulesForSiteStyle as za, normalizeSelectSource as zi, shouldReserveFeatureCardIconZone as zn, resolveRepeaterGridColumnFieldId as zo, faqAccordionFragment as zr, getBookingLocalDateKey as zs, getIconComponent as zt };
|
|
56330
|
+
export { resolveCardListSchedule as $, gradientToCss as $a, chosenString as $i, parseTeamMemberSpecialties as $n, getDayOfWeek as $o, testimonialsHeadingFragment as $r, resolveExactOrFreePriceDisplay as $s, formatCalendarTitle as $t, membershipClassesLabel as A, arrangementStyleAvailability as Aa, resolveBlockIconRenderValue as Ai, planOrdinarySeriesSelection as An, resolveSectionBackground as Ao, blockDesignCapabilityMapFromDefinitions as Ar, sameMailingListPlacementTargeting as As, groupOfferingRunsByCourse as At, eventListingBlockDefinition as B, resolveModeArrangement as Ba, MinusIcon as Bi, getEventAvailability as Bn, blockSectionDeclarationShape as Bo, formatEventStartingPrice as Br, getBookingLocalDateKey as Bs, ThemedButtonLink as Bt, buildCartInteractiveIslandProps as C, readOpeningToneProjection as Ca, asPartialObject as Ci, bookingPageKindSchema as Cn, spaciousBoundaryOption as Co, lookListPresentationSchemaShape as Cr, nextLiveRunSessionStartMs as Cs, normalizeEventRegistrationPageSurfaceSubject as Ct, buildShopInteractiveIslandProps as D, headerRootPaint as Da, when as Di, getPublicEventCanonicalPath as Dn, applyLookPhotoTreatment as Do, clsx as Dr, parseMailingListRuntimeContext as Ds, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Dt, buildProductListInteractiveIslandProps as E, headerRootIsTransparent as Ea, el as Ei, eventOccurrenceContext as En, transitionCatalogueEntries as Eo, Grid as Er, buildMailingListSignupBlockSourceRef as Es, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Et, offeringsCatalogueShape as F, resolveLookForBlock as Fa, ClockIcon as Fi, selectionRepresentativeEvent as Fn, appearancePresets as Fo, formatCoursePrice as Fr, formatDateTimeRange as Fs, resolveOfferingsPreviewGroupCta as Ft, eventCollectionDisplaySchemaShape as G, filterLookIdsForPolicy as Ga, plainTextToInlineText as Gi, resolveFeatureCardGeneratedIconSizePx as Gn, parseRepeaterGridInteger as Go, cardFragment as Gr, toBookingTimeZone as Gs, eventListWeekDays as Gt, buildEventCollectionDisplay as H, buildInitialPolicyPageDesignIntent as Ha, inlineTextToPlainText as Hi, isEventFull as Hn, fieldSchema as Ho, getAnchorClasses as Hr, parseBookingLocalDate as Hs, getIconComponent as Ht, eventCalendarBlockDefinition as I, styleSectionBackgroundForColour as Ia, FileArchiveIcon as Ii, isBookableEvent as In, NodeSchema as Io, formatEventDepositNote as Ir, inferSiteDateLocale as Is, resolveOfferingsPreviewGroups as It, catalogueEventCardProps as J, getCuratedSiteStyle as Ja, parseFieldDefinitions as Ji, siteHeaderManifest as Jn, resolveRepeaterGridSpanFieldId as Jo, blogFeaturedPostFragment as Jr, formatBookingPriceDisplay as Js, weekColumnDays as Jt, eventCollectionHydrationSchema as K, componentRuntimeRulesForSiteStyle as Ka, normalizeSelectSource as Ki, shouldReserveFeatureCardIconZone as Kn, resolveRepeaterGridColumnFieldId as Ko, faqAccordionFragment as Kr, toUtcIsoDateTimeString as Ks, eventWeekGroupingContext as Kt, buildEventCalendarInteractiveIslandProps as L, arrangementManifestFromVariants as La, FileAudioIcon as Li, canJoinEventWaitlistOnAnyMode as Ln, bindingSchema as Lo, formatEventPrice as Lr, formatBookingCompactEnglishTime as Ls, resolveOfferingsRenderInput as Lt, offeringsPreviewBlockDefinition as M, compileArrangementLookRuntime as Ma, ChevronDownIcon as Mi, planWholeSeriesParentSelection as Mn, defaultHeroImageSurfaceTreatment as Mo, classPricesCopySchema as Mr, EVENT_ADDRESS_AFTER_BOOKING_LABEL as Ms, offeringRunLifecycle as Mt, publicRouteCandidatesSchema as N, getCompatibleBlockAppearancePresets as Na, CircleMinusIcon as Ni, planWholeSeriesRunSelection as Nn, stripStaleTransitionStyleGroup as No, classPricesDataSchema as Nr, formatDate$2 as Ns, offeringsListingFor as Nt, shopProductPresentation as O, arrangementAppearancePresets as Oa, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Oi, isOrdinaryPublicEvent as On, deriveSectionGround as Oo, heroMorePhotoCount as Or, parseMailingListProviderScope as Os, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ot, buildOfferingsCatalogueListing as P, resolveArrangementLookForBlock as Pa, CirclePlusIcon as Pi, resolveSelectionBookingClosedDetail as Pn, themeV2CompilerOwnedFieldNames as Po, resolveClassPriceItems as Pr, formatDateRange as Ps, readOfferingsGrouping as Pt, cardListPresentationSchemaShape as Q, surfaceResolutionContextFromTheme as Qa, isRecord$5 as Qi, contentTransforms as Qn, formatDateKey as Qo, testimonialsCarouselFragment as Qr, publicEventPricingType as Qs, eventLocalDateKey as Qt, buildEventCalendarListingDisplay as R, readStoredMode as Ra, FileSpreadsheetIcon as Ri, formatEventRemainingPlaces as Rn, DEFAULT_MEDIA_FIELD_KINDS as Ro, formatEventPriceAmount as Rr, toScheduledBookingDateTime as Rs, ThemedAuthoredButton as Rt, shopBlockDefinition as S, effectiveHeaderNavLinkStyle as Sa, lookSkinSlotTransform as Si, closedRunCopy as Sn, softBoundaryOption as So, listLookSlot as Sr, CANCELLED_SESSION_STATUS as Ss, previewStageSchema as St, buildProductDetailInteractiveIslandProps as T, headerNeedsPhotoShade as Ta, runTransforms as Ti, hasCancelledRegistrationDate as Tn, anglePolygonCss as To, itemRole as Tr, resolveWholeSeriesBookingPhase as Ts, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as Tt, buildEventCollectionHydration as U, deriveSiteStyleBlockPolicy as Ua, isInlineTextEmpty as Ui, groupPublicEventsByRun as Un, validateManifestLookField as Uo, richTextFragment as Ur, parseLocalScheduleTime as Us, SpinnerNode as Ut, buildEventListingInteractiveIslandProps as V, resolvePublishedLook as Va, PlusIcon as Vi, getEventAvailabilityStatus as Vn, builtInBlockKindsSchema as Vo, BACKGROUND_POSITION_PRESET_VALUES as Vr, getLocalScheduleDate as Vs, ThemedDownloadLink as Vt, buildEventCollectionListingDisplay as W, filterLayoutProfilesForPolicy as Wa, parseInlineTextFromUnknown as Wi, FEATURE_CARD_ICON_TREATMENTS as Wn, isAcceptedRepeaterGridSpan as Wo, headingFragment as Wr, resolveBookingBusinessTimeZone as Ws, buildEventListWeek as Wt, CardListContentPart as X, compilePageRuntimeFields as Xa, augmentManifest as Xi, markEditableSurfaceForwarding as Xn, getLocalMinuteOfDay as Xo, formEmbedFragment as Xr, publicEventPricingCurrency as Xs, eventCalendarWeekStart as Xt, listingEventCardProps as Y, requireCuratedSiteStyle as Ya, PUBLIC_DOWNLOAD_MEDIA_TYPES as Yi, composeHeaderSectionWrapperClassName as Yn, getLocalDateKey as Yo, singleButtonFragment as Yr, isPublicEventPricingOptionDisplayable as Ys, buildCalendarViewport as Yt, CardListLeadDate as Z, stripCompiledRuntimeStyleFields as Za, isObjectRecord$1 as Zi, splitPositioningClasses as Zn, addDays as Zo, formCopyFragment as Zr, publicEventPricingDisplay as Zs, eventDateOptions as Zt, buildGiftingInteractiveIslandProps as _, lookPresentationOnPalette as _a, bodyCopyFragment as _i, eventPlaceName as _n, boundaryOptions as _o, createZodCodec as _r, loadedReadinessFact as _s, getContainerClass as _t, LOCATION_MAP_LOADER_KEYS as a, eventDiscoveryFilterKeys as aa, parseGradientPresetId as ac, boxStylesTransforms as ai, formatEventNextDateFact as an, generateNavLinkCSS as ao, headerRuntimeTransforms as ar, projectRecurringSchedule as as, computeMediaTransformStyle as at, productDetailBlockDefinition as b, parseListLook as ba, lookLeadSlotTransform as bi, blockSiteTermsSchema as bn, isDecorativeTransitionIntent as bo, listItemPresentation as br, isRecord$6 as bs, resolveEventRegistrationEventSource as bt, normalizeLocationMapSource as c, eventScopeQueryKeys as ca, resolveCardRoleForBoxStyles as ci, formatEventWeekdayTime as cn, resolveEffectPaint as co, staticHeaderChromeRuntime as cr, blockBookingConsentSchema as cs, resolveImageUrlWithContext as ct, newsletterSignupBlockDefinition as d, eventCalendarListGroupingDecision as da, parseRuntimeBackgroundContent as di, resolveEventTimeZone as dn, resolvePageDesignBlockLookChoice as do, formatDate$1 as dr, sanitizeHref as ds, systemCustomizeFacetDefinitionsForBlock as dt, blockChecksForEvents as ea, resolvePricingOptionsPriceDisplay as ec, ctaCopyFragment as ei, formatDate as en, getGradientPreset as eo, teamMemberBiography as er, getOrderedDayNames as es, selectCardListPresentation as et, sanitizeNewsletterSignupPublicContent as f, resolveEventCalendarReadPlan as fa, resolveSectionSurfaceForeground as fi, resolveRuntimeEventDestination as fn, resolvePageDesignBoundaryChoice as fo, formBlockDefinition as fr, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as fs, buildResolveImageUrlContext as ft, giftingBlockDefinition as g, resolveHeaderRootForeground as ga, isSemanticSpacing as gi, eventOnlinePlace as gn, boundaryOptionForTransitionIntent as go, defineInteractiveIslandMetaKeys as gr, hiddenFromVisitors as gs, getCardOrientation as gt, newsletterBlockSubmissionMessage as h, AFFORDANCE_SUPPRESS_CLASS as ha, ctaButton as hi, browserReadAuthoritySchema as hn, sectionShapeHook as ho, createInteractiveIslandCodec as hr, admitReadinessFacts as hs, EventQuickFacts as ht, systemBlockDefinitions as i, eventReadinessResultSchema as ia, unsafeAsEventCategoryId$1 as ic, heroCopyFragment as ii, formatEventHourLabel as in, buildTextContrastShadow as io, mediaTransforms as ir, isToday as is, MediaPlaceholder as it, passCardListContent as j, automaticArrangementLook as ja, ArrowDownIcon as ji, planWholeSeriesParentBooking as jn, sectionSurfaceBase as jo, resolveDeclaredBlockDesignCapability as jr, isCanonicalRichTextDoc as js, normalizeOfferingsPreviewItemLimit as jt, membershipCardListContent as k, arrangementLookHooks as ka, parseBlockIconValue as ki, planDropInPanel as kn, parseCanonicalRuntimeBackground as ko, morePhotosField as kr, parseMailingListPlacementTargeting as ks, buildOfferingsPreviewListing as kt, parseLocationMapLoaderResult as l, resolveEventScope as la, parseBackgroundContent as li, formatTime as ln, generateInteractiveChildInheritanceCSS as lo, uiTransforms as lr, bookingConsentCarrierSchema as ls, resolvePublicMediaUrl as lt, buildNewsletterFormInteractiveIslandProps as m, themeButtonSelector as ma, resolveBackgroundColorValue as mi, bookingPresentation as mn, sectionShapeFromContent as mo, buildInteractiveIslandProps as mr, calendarWindowQuerySchema as ms, setContextResolveImageUrlContext as mt, listBlockDescriptors as n, eventReadinessQuery as na, parseContentVersionId as nc, ctaRowFragment as ni, formatEventCompactDateRail as nn, generateDefaultCardSystem as no, readRuntimeNow as nr, getWeekCalendarDays as ns, RichText as nt, describeUnresolvedLocationMapLocation as o, eventScopeLoaderParam as oa, arrangementSlotNames as oc, boxStyleClassNames as oi, formatEventRunDates as on, generateEffectsCSS as oo, chromeLogoTransforms as or, publicEventsArraySchema as os, resolveImageSourceSetWithContext as ot, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as p, parseThemeButtonVariantId as pa, resolveSurfaceForegroundStyles as pi, formatBookingSchedulePresentation as pn, sectionShapeForGround as po, buildFormInteractiveIslandProps as pr, linkSchema as ps, getCurrentResolveImageUrlContext as pt, eventCollectionSourceSchemaShape as q, designRuntimeRulesForSiteStyle as qa, parseFieldDefinition as qi, siteFooterManifest as qn, resolveRepeaterGridRowFieldId as qo, faqHeadingFragment as qr, offeringLabelForPageSurfaceSubject as qs, groupEventsByWeek as qt, normalizeBlockContent as r, eventReadinessQueryKeys as ra, unsafeAsContentEntryId as rc, isBlockButtonRole as ri, formatEventDateParts as rn, generateFooterCss as ro, resolveDateRuntimeContext as rr, isSameCalendarDay as rs, ImagePresets as rt, normalizeLocationMapProps as s, eventScopeQuery as sa, TokenResolver as sc, normalizeBoxStylesBorder as si, formatEventTimeRange as sn, resolveEffectApplications as so, layoutTransforms as sr, blockBookingPaymentTermsSchema as ss, resolveImageUrl as st, getBlockDefinition as t, eventReadinessLoaderKey as ta, formatCurrencyAmount as tc, heroCtaRowFragment as ti, formatEventClockLabel as tn, resolveCardRole as to, teamMemberCardBiography as tr, getWeekCalendarDayTuple as ts, MediaNodeServer as tt, resolveLocationMapLocation as u, resolveCalendarReadProfile as ua, parseBackgroundOverlay as ui, groupEventsByDate as un, parsePageDesignIntent as uo, formattingTransforms as ur, beforeBookingQuestionsPresentationSchema as us, resolveArrangementKnobs as ut, checkoutBlockDefinition as v, resolveLookSurfacePresentation as va, defineFragment as vi, eventVenuePlace as vn, boundaryRuntimeMetricsForDecorativeTransition as vo, defineClientOwnedBlockRuntime as vr, pageTemplateFromEntry as vs, eventRegistrationBlockDefinition as vt, buildCheckoutInteractiveIslandProps as w, heroPhotoPaintsGround as wa, createTransformRegistry as wi, cancelledDateCopy as wn, transitionIntentForTreatment as wo, resolvedItemSurfaceProps as wr, orderedLiveRunSessions as ws, resolveEventRegistrationScopedEvents as wt, productListBlockDefinition as x, authoredHeaderLinkForeground as xa, lookQuoteLimitTransform as xi, pageNavigationSchema as xn, noneBoundaryOption as xo, listLookControl as xr, EVENT_PRESET_VALUES as xs, bookingNowSchema as xt, cartBlockDefinition as y, selectItemSurfacePresentation as ya, lookCarouselRegionTransform as yi, formatEventLocation as yn, boundaryTreatmentForBoundaryOptionId as yo, defineProgressiveBlockRuntime as yr, unavailableReadinessFact as ys, buildEventRegistrationInteractiveIslandProps as yt, combinedLookSchema as z, resolveEffectiveArrangement as za, FileTextIcon as zi, formatTotalCapacity as zn, blockCategoryEnum as zo, formatEventPriceDisplay as zr, compareLocalScheduleDates as zs, ThemedButton as zt };
|