@riverbankcms/sdk 0.164.0 → 0.165.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-CubPwupc.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
- package/dist/_dts/{Page-CDzsagB2.d.ts → Page-D6gp2Ipb.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -71
- package/dist/_dts/{client-CbeYTSry.d.ts → client-BkkExozE.d.ts} +1 -1
- package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
- package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-XRXhbLWP.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
- package/dist/_dts/{index-D_pQO-AS.d.ts → index-B4ozSzFP.d.ts} +35642 -35443
- package/dist/_dts/{index-DYQFmf--.d.ts → index-BdkHhyf8.d.ts} +1 -1
- package/dist/_dts/{index-BZE-1azr.d.ts → index-CQfJhOEA.d.ts} +2 -2
- package/dist/_dts/{index-BpEbwDM7.d.ts → index-CRRiddNp.d.ts} +4 -4
- package/dist/_dts/{index-CjdIn9-_.d.ts → index-C_3kdrUb.d.ts} +2 -2
- package/dist/_dts/{index-JS8WYgD3.d.ts → index-DAPTSmBM.d.ts} +401 -569
- package/dist/_dts/{index-DriYVLfT.d.ts → index-DKNEgSOS.d.ts} +2 -2
- package/dist/_dts/{index-wegfy7lf.d.ts → index-RXkE3a7M.d.ts} +3 -3
- package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-B9vJMq3s.d.ts} +6 -6
- package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-DIQyYUi-.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-W40f2olO.d.ts → types-BDF73NzM.d.ts} +2 -2
- package/dist/_dts/{types-DiciZDrk.d.ts → types-Cl0nP6al.d.ts} +3 -3
- package/dist/_dts/{types-DubJnBnI.d.ts → types-mstFvhK4.d.ts} +7 -7
- package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-DVWqSvjK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
- package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
- package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
- package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -2
- package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-dILw2PN_.mjs} +11 -5
- package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
- package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
- package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
- package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +10 -10
- package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
- package/dist/client/{Page-Dub71o3c.mjs → Page-DUr2YhFR.mjs} +1521 -235
- package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-2fJqT_NR.mjs} +1 -1
- package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
- package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
- package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
- package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-Cfbo1bfh.mjs} +1 -1
- package/dist/client/{accordion-vCG_JC5t.mjs → accordion-3CYNWzTS.mjs} +1 -1
- package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
- package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-BSbWgLyx.mjs} +13 -13
- package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-FM1mkkL0.mjs → carousel-Cu5mcpO-.mjs} +2 -2
- package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
- package/dist/client/{cart-BDFhbh9j.mjs → cart-CDc6x9cR.mjs} +3 -3
- package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
- package/dist/client/{checkout-BibhwnTd.mjs → checkout-CkxPqSwD.mjs} +3 -3
- package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DJfomKQc.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BNAM7NsW.mjs → context-CBV21-9L.mjs} +1 -1
- package/dist/client/{cta-ChiN1Vgg.mjs → cta-Bw-al3cs.mjs} +26 -2
- package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
- package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
- package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-QMqtIywj.mjs} +23 -14
- package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
- package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-BC7a709c.mjs} +4 -4
- package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-DL08GpUc.mjs} +2 -2
- package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-BfzuEQp_.mjs} +4 -4
- package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
- package/dist/client/{form-GXqjObPC.mjs → form-L-xZOBUS.mjs} +3 -3
- package/dist/client/{form.client-CoKNba2e.mjs → form.client-BtpK3TZW.mjs} +6 -6
- package/dist/client/{form.parts-magB_epJ.mjs → form.parts-Djos5Un4.mjs} +3 -3
- package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-DGmrm7YB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -5
- package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-f16OGkz-.mjs} +2 -2
- package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
- package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
- package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-DpHNZc7k.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-CLGH20PL.mjs} +2 -2
- package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
- package/dist/client/{noop-C2vZse15.mjs → noop-CQU7tiMg.mjs} +8 -4
- package/dist/client/portal/client.mjs +13 -13
- package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
- package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
- package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-BD42UOmG.mjs} +3 -3
- package/dist/client/{productList-Cc-PmbEe.mjs → productList-CSk8sXCl.mjs} +3 -3
- package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
- package/dist/client/{purchase-BMsWpx8y.mjs → purchase-BV5xfaZH.mjs} +1 -1
- package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CIKtTsCl.mjs} +189 -162
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-spWtx86G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
- package/dist/client/{schema-DMUkBtIO.mjs → schema-BdSglH2X.mjs} +189 -20
- package/dist/client/{shop-DyXtB5TD.mjs → shop-DscvMz86.mjs} +3 -3
- package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
- package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
- package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-M3kNsVPi.mjs} +12 -12
- package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BGmkdIAZ.mjs} +251 -24
- package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-BdWp6LHa.mjs} +2 -2
- package/dist/client/{site-styles-BLHYJ8S7.mjs → site-styles-CWHmlVT5.mjs} +2612 -448
- package/dist/client/spam-protection.mjs +2 -2
- package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
- package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
- package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
- package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
- package/dist/client/{view-BnaOmrap.mjs → view-DXOuduIr.mjs} +4 -4
- package/dist/client/{view-vhKGFfC3.mjs → view-DlkCDfuN.mjs} +45 -32
- package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DManVJpc.mjs} +49 -39
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C3AQVxQt.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3566 -3197
- package/dist/preview-next/client/{PreviewEditorUI-C-1zDCR_.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
- package/dist/preview-next/client/{SdkPreviewModeRuntime-C6Rhm2NQ.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-B47yHFL0.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3811 -4882
- package/dist/preview-next/client/{siteStyleAccess-BiSyYyyr.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +8506 -13317
- package/dist/preview-next/client/{ThemedButton-g7NPrsGp.mjs → ThemedButton-Dc6aJ34Z.mjs} +214 -23
- package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
- package/dist/preview-next/client/{previewChromeSurface-Cjwxv90x.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
- package/dist/preview-next/client/{previewAuthStore-By_zfrS5.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +205988 -193500
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BG2HYvQj.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-BBAJjFIz.mjs} +11 -8
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-ClFI3qpX.mjs} +4 -4
- package/dist/server/{bindings-BVJGgUT0.mjs → bindings-Bi8EoRZD.mjs} +2 -2
- package/dist/server/{client-CiKaE8ms.mjs → client-DfMDbZ41.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-EDSdd_oK.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2353 -214
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BuintpdO.mjs → loadContent-dEEhQxL7.mjs} +4 -4
- package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
- package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-DBFBad8A.mjs} +2 -2
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +11 -11
- package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
- package/dist/server/{overrides-DVemf-GV.mjs → overrides-DhF87Vsd.mjs} +294 -103
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-DaemmWQL.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bnbwoe5n.mjs → prefetchBlockData-FwcsT5H2.mjs} +293 -90
- package/dist/server/{publicProducts-D3Fc5TKk.mjs → publicProducts-Bz8loTRn.mjs} +13 -10
- package/dist/server/{registry-zjd1P2Dl.mjs → registry-Cdvz1OtL.mjs} +499 -374
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BlTWmTSl.mjs → schema-uSA_x1Zh.mjs} +189 -20
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-yHytcXIB.mjs → site-styles-CntHn2KI.mjs} +55 -30
- package/dist/server/{siteChromeOverlayClearance-D0uCNZ7E.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +2 -2
- package/dist/server/{src-cbbK3Bho.mjs → src-DsYPhTbs.mjs} +1009 -25
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-BdY8lP-K.mjs → themeAdmission-CSknYpxk.mjs} +2 -2
- package/dist/server/{validation-CGH-Xs4E.mjs → validation-DYxhLzqQ.mjs} +2 -2
- package/dist/server/{version-DoOG6F13.mjs → version-Beu4q-Gv.mjs} +1 -1
- package/dist/styles/index.css +914 -10
- package/package.json +1 -1
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
- package/dist/server/loadPage-BwjncpJf.mjs +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as headingDecorationColorTokenValues, An as resolveSurface, Ar as textColorStyle, Cn as err, Dn as opaqueSurfaceDeclarations, Er as borderColorStyle, Et as buildRenderableMediaAssetIndex, F as themeButtonExtraClassesWithTrailingIcon, Gn as selectLogoVariant, Hn as PUBLIC_BUTTON_ROLES, I as themeButtonSizeClassName, J as cardVariantRoleValues, Jt as defineFrameCapability, K as cardRoleSchema, Kn as surfaceToneFromForegroundToken, Kt as defineBlockDesignCapability, L as themeButtonVariantClassNames, Mn as surfaceDecorationColors, Nt as arrangementModes, On as parseResolvedSurface, Or as mergeStyles, Pr as parseBlockColorToken, Sn as unsafeAsStoragePath, Tr as backgroundColorStyle, Tt as runtimeMediaSchema, Xt as eyebrowTreatmentValues, Y as normalizeCardRole, Yn as surfaceInkPublication, Yt as eventListTreatmentValues, _t as runtimeBoxBackgroundSchema, bn as unsafeAsMediaAssetId, br as surfaceForegroundStyle, cn as testimonialsCompositionTreatmentValues, dn as visibleHeadingDecorationFamilyValues, gn as parseEventSeriesId, gt as boxBackgroundSchema, hn as parseEventOfferingId, ht as boxBackgroundOverlaySchema, in as offeringsPreviewCompositionTreatmentValues, jt as parseCanonicalMediaIdentifier, kr as rgbColorValue, kt as resolveManagedMediaReference, ln as tileTreatmentValues, p as headerVariantValues, pn as parseContentVersionId, qn as resolveSurfaceForeground, un as toNonEmptyReadonlyArray, vn as parseSiteTermsVersionId, wn as ok$1, wr as surfaceInkStyle, xn as unsafeAsStorageBucketName, yr as surfaceForegroundInputFromResolved, zn as resolveThemeColorReferenceValue } from "./schema-uSA_x1Zh.mjs";
|
|
2
2
|
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import { c as
|
|
3
|
+
import { E as compiledRuntimeStyleFieldNames, M as footerForegroundCandidates, a as readOpeningForegroundProjection, b as resolveModeArrangement, i as transparentHeaderForegroundInput, m as arrangementSlotNames, n as headerForegroundCandidates, r as headerLeafTextColor, z as headerRootPaint } from "./effectiveNavLinkStyle-BHIYPVG1.mjs";
|
|
4
|
+
import { c as parseCanonicalRuntimeBackground, d as defineBlockDesignMetadata, l as resolveSectionBackground, t as heroPhotoPaintsGround, u as sectionForegroundBackground } from "./site-styles-CntHn2KI.mjs";
|
|
5
5
|
import { a as isRecord$12, t as RichTextDocSchema } from "./richTextSchema-YYc85FX4.mjs";
|
|
6
|
-
import { a as planSiteChromePlacement, i as parseHeaderPositioning, n as desktopOnlyDisplay, o as splitSiteChromePlacementClasses, r as mobileOnlyDisplay, t as SITE_CHROME_VISIBLE_HEADER_ATTR } from "./siteChromeOverlayClearance-
|
|
6
|
+
import { a as planSiteChromePlacement, i as parseHeaderPositioning, n as desktopOnlyDisplay, o as splitSiteChromePlacementClasses, r as mobileOnlyDisplay, t as SITE_CHROME_VISIBLE_HEADER_ATTR } from "./siteChromeOverlayClearance-DqP40Ka0.mjs";
|
|
7
7
|
import { z } from "zod";
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1567,6 +1567,11 @@ function isRecord$8(value) {
|
|
|
1567
1567
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
1568
1568
|
}
|
|
1569
1569
|
const DEFAULT_MAILING_LIST_SUCCESS_MESSAGE = "Thanks — you're on the list.";
|
|
1570
|
+
/**
|
|
1571
|
+
* Seeded into a new setup so every signup form carries a preferences/unsubscribe
|
|
1572
|
+
* reassurance out of the box. Administrators can edit or clear it.
|
|
1573
|
+
*/
|
|
1574
|
+
const DEFAULT_MAILING_LIST_PRIVACY_NOTE = "Change your preferences or unsubscribe at any time.";
|
|
1570
1575
|
function parseMailingListProviderScope(value) {
|
|
1571
1576
|
if (!isRecord$8(value)) return err("invalid_mailing_list_provider_scope");
|
|
1572
1577
|
if (value.provider === "native") return ok$1({ provider: "native" });
|
|
@@ -2293,18 +2298,20 @@ function resolveDirectImagePathTarget(target) {
|
|
|
2293
2298
|
case "bucket-scoped": return target.storagePath;
|
|
2294
2299
|
}
|
|
2295
2300
|
}
|
|
2301
|
+
function buildDirectImageTransformQuery(options) {
|
|
2302
|
+
const resize = options.resize ?? (options.width && options.height ? void 0 : "contain");
|
|
2303
|
+
const params = new URLSearchParams();
|
|
2304
|
+
if (options.width) params.set("width", String(options.width));
|
|
2305
|
+
if (options.height) params.set("height", String(options.height));
|
|
2306
|
+
if (options.quality) params.set("quality", String(options.quality));
|
|
2307
|
+
if (resize) params.set("resize", resize);
|
|
2308
|
+
return params.toString();
|
|
2309
|
+
}
|
|
2296
2310
|
function getDirectImageUrl(supabaseUrl, target, storageBucket = "media", options) {
|
|
2297
2311
|
const baseUrl = supabaseUrl.replace(/\/$/, "");
|
|
2298
2312
|
const encodedPath = encodeStoragePath(resolveDirectImagePathTarget(target));
|
|
2299
2313
|
const isSvg = target.storagePath.toLowerCase().endsWith(".svg");
|
|
2300
|
-
if (options && !isSvg && (options.width || options.height)) {
|
|
2301
|
-
const params = new URLSearchParams();
|
|
2302
|
-
if (options.width) params.set("width", String(options.width));
|
|
2303
|
-
if (options.height) params.set("height", String(options.height));
|
|
2304
|
-
if (options.quality) params.set("quality", String(options.quality));
|
|
2305
|
-
if (options.resize) params.set("resize", options.resize);
|
|
2306
|
-
return `${baseUrl}/storage/v1/render/image/public/${storageBucket}/${encodedPath}?${params.toString()}`;
|
|
2307
|
-
}
|
|
2314
|
+
if (options && !isSvg && (options.width || options.height)) return `${baseUrl}/storage/v1/render/image/public/${storageBucket}/${encodedPath}?${buildDirectImageTransformQuery(options)}`;
|
|
2308
2315
|
return `${baseUrl}/storage/v1/object/public/${storageBucket}/${encodedPath}`;
|
|
2309
2316
|
}
|
|
2310
2317
|
function getDirectImageUrlForRelativePath(supabaseUrl, storagePath, siteId, storageBucket = "media", options) {
|
|
@@ -3363,6 +3370,12 @@ const uiSchema = z.object({
|
|
|
3363
3370
|
"behavior",
|
|
3364
3371
|
"style"
|
|
3365
3372
|
]).optional(),
|
|
3373
|
+
/**
|
|
3374
|
+
* Under an arrangement Look, `display` and `style` fields belong to the
|
|
3375
|
+
* Look. `'owner'` keeps a presentation choice with the owner anyway, such
|
|
3376
|
+
* as primary or secondary on a button they added.
|
|
3377
|
+
*/
|
|
3378
|
+
underLooks: z.literal("owner").optional(),
|
|
3366
3379
|
valueContract: z.enum(["boxBackground", "location"]).optional()
|
|
3367
3380
|
}).partial().superRefine((ui, ctx) => {
|
|
3368
3381
|
if (ui.layoutGridColumns !== void 0 && ui.layoutGridColumnsFields !== void 0) ctx.addIssue({
|
|
@@ -3838,8 +3851,6 @@ z.object({
|
|
|
3838
3851
|
}).optional()
|
|
3839
3852
|
}).optional(),
|
|
3840
3853
|
promotedFields: z.array(z.string().min(1)).optional(),
|
|
3841
|
-
/** Legacy presentation fields owned by arrangement Looks, including nested schema paths. */
|
|
3842
|
-
arrangementOwnedFieldIds: z.array(z.string().min(1)).readonly().optional(),
|
|
3843
3854
|
variantMeaning: z.discriminatedUnion("kind", [z.object({
|
|
3844
3855
|
kind: z.literal("arrangement"),
|
|
3845
3856
|
lookOnlyKeys: z.array(z.string().min(1)).readonly().optional()
|
|
@@ -5223,6 +5234,236 @@ function declareNoBlockDesignCapability(reason) {
|
|
|
5223
5234
|
};
|
|
5224
5235
|
}
|
|
5225
5236
|
//#endregion
|
|
5237
|
+
//#region ../blocks/src/system/helpers/api-bindings.ts
|
|
5238
|
+
/**
|
|
5239
|
+
* Standard API bindings that all interactive blocks need.
|
|
5240
|
+
*/
|
|
5241
|
+
const apiBindings = {
|
|
5242
|
+
now: { $bind: { from: "$root.now" } },
|
|
5243
|
+
siteId: { $bind: { from: "$root.siteId" } },
|
|
5244
|
+
apiBaseUrl: { $bind: { from: "$root.apiBaseUrl" } }
|
|
5245
|
+
};
|
|
5246
|
+
function withApiBindings(props, options) {
|
|
5247
|
+
return {
|
|
5248
|
+
...options?.includeApiBaseUrl ?? true ? apiBindings : {
|
|
5249
|
+
siteId: apiBindings.siteId,
|
|
5250
|
+
now: apiBindings.now
|
|
5251
|
+
},
|
|
5252
|
+
...props
|
|
5253
|
+
};
|
|
5254
|
+
}
|
|
5255
|
+
//#endregion
|
|
5256
|
+
//#region ../blocks/src/utils/env.ts
|
|
5257
|
+
/**
|
|
5258
|
+
* Environment detection utilities
|
|
5259
|
+
*
|
|
5260
|
+
* Provides type-safe environment detection without relying on `any`-typed globals.
|
|
5261
|
+
*/
|
|
5262
|
+
/**
|
|
5263
|
+
* Check if the current environment is development.
|
|
5264
|
+
*
|
|
5265
|
+
* Returns true if NODE_ENV is not 'production', or if NODE_ENV cannot be determined
|
|
5266
|
+
* (which is the safe default for validation and warnings).
|
|
5267
|
+
*
|
|
5268
|
+
* @returns true if in development mode, false if in production
|
|
5269
|
+
*/
|
|
5270
|
+
function isDevEnvironment() {
|
|
5271
|
+
try {
|
|
5272
|
+
if (typeof process !== "undefined" && process.env?.NODE_ENV !== void 0) return process.env.NODE_ENV !== "production";
|
|
5273
|
+
return true;
|
|
5274
|
+
} catch {
|
|
5275
|
+
return true;
|
|
5276
|
+
}
|
|
5277
|
+
}
|
|
5278
|
+
//#endregion
|
|
5279
|
+
//#region ../blocks/src/system/node/types.ts
|
|
5280
|
+
/**
|
|
5281
|
+
* List of reserved keys (for runtime validation).
|
|
5282
|
+
* Kept in sync with the ReservedNodeKeys type above.
|
|
5283
|
+
*/
|
|
5284
|
+
const RESERVED_KEYS = [
|
|
5285
|
+
"children",
|
|
5286
|
+
"key",
|
|
5287
|
+
"$bind",
|
|
5288
|
+
"$when",
|
|
5289
|
+
"$repeat",
|
|
5290
|
+
"$scopes"
|
|
5291
|
+
];
|
|
5292
|
+
/**
|
|
5293
|
+
* Type guard to check if props contain reserved keys at runtime.
|
|
5294
|
+
* Use this in development mode to catch bugs early.
|
|
5295
|
+
*
|
|
5296
|
+
* @param props - Props object to validate
|
|
5297
|
+
* @returns Array of reserved keys found in props, or empty array if none
|
|
5298
|
+
*/
|
|
5299
|
+
function findReservedKeysInProps(props) {
|
|
5300
|
+
if (!props) return [];
|
|
5301
|
+
return RESERVED_KEYS.filter((key) => key in props);
|
|
5302
|
+
}
|
|
5303
|
+
/**
|
|
5304
|
+
* Validates that props don't contain reserved keys.
|
|
5305
|
+
* Throws in development, warns in production.
|
|
5306
|
+
*
|
|
5307
|
+
* @param props - Props to validate
|
|
5308
|
+
* @param context - Context for error message (e.g., "el('grid', ...)")
|
|
5309
|
+
*/
|
|
5310
|
+
function validateProps(props, context = "node builder") {
|
|
5311
|
+
const reserved = findReservedKeysInProps(props);
|
|
5312
|
+
if (reserved.length === 0) return;
|
|
5313
|
+
const message = `[blocks:${context}] Reserved keys found in props: ${reserved.join(", ")}. These should be passed as separate parameters or modifiers, not in props. For example, 'children' should be the 3rd parameter to el(), not in the props object.`;
|
|
5314
|
+
if (isDevEnvironment()) throw new TypeError(message);
|
|
5315
|
+
else console.error(message);
|
|
5316
|
+
}
|
|
5317
|
+
//#endregion
|
|
5318
|
+
//#region ../blocks/src/system/node/builder.ts
|
|
5319
|
+
function normalizeChildren(children) {
|
|
5320
|
+
if (!children) return void 0;
|
|
5321
|
+
const flat = children.flat().filter(Boolean);
|
|
5322
|
+
return flat.length > 0 ? flat : void 0;
|
|
5323
|
+
}
|
|
5324
|
+
function el(type, props, children, ...mods) {
|
|
5325
|
+
validateProps(props, `el('${type}', ...)`);
|
|
5326
|
+
const node = {
|
|
5327
|
+
type,
|
|
5328
|
+
...props && Object.keys(props).length > 0 ? { props } : {},
|
|
5329
|
+
...children && children.length ? { children: normalizeChildren(children) } : {}
|
|
5330
|
+
};
|
|
5331
|
+
if (mods && mods.length > 0) {
|
|
5332
|
+
const validMods = mods.filter((mod) => typeof mod === "function");
|
|
5333
|
+
if (validMods.length > 0) return devValidate(validMods.reduce((acc, fn) => fn(acc), node));
|
|
5334
|
+
}
|
|
5335
|
+
return devValidate(node);
|
|
5336
|
+
}
|
|
5337
|
+
const section = (props, children, ...mods) => el("section", props, children, ...mods);
|
|
5338
|
+
const headerSection = (props, children, ...mods) => el("headerSection", props, children, ...mods);
|
|
5339
|
+
const stack = (props, children, ...mods) => el("stack", props, children, ...mods);
|
|
5340
|
+
const inline = (props, children, ...mods) => el("inline", props, children, ...mods);
|
|
5341
|
+
const accordion = (props, children, ...mods) => el("accordion", props, children, ...mods);
|
|
5342
|
+
const accordionItem = (props, children, ...mods) => el("accordionItem", props, children, ...mods);
|
|
5343
|
+
const carousel = (props, children, ...mods) => el("carousel", {
|
|
5344
|
+
mode: "legacy",
|
|
5345
|
+
...props
|
|
5346
|
+
}, children, ...mods);
|
|
5347
|
+
const text = (props, ...mods) => el("text", props, void 0, ...mods);
|
|
5348
|
+
const richText = (props, ...mods) => el("richText", props, void 0, ...mods);
|
|
5349
|
+
const icon = (props, ...mods) => el("icon", props, void 0, ...mods);
|
|
5350
|
+
const media = (props, ...mods) => el("media", props, void 0, ...mods);
|
|
5351
|
+
const fileDownload = (props, ...mods) => el("file-download", props, void 0, ...mods);
|
|
5352
|
+
const videoEmbed = (props, ...mods) => el("videoEmbed", props, void 0, ...mods);
|
|
5353
|
+
const button = (props, children, ...mods) => el("button", props, children, ...mods);
|
|
5354
|
+
const link = (props, children, ...mods) => el("link", props, children, ...mods);
|
|
5355
|
+
const form = (props, children, ...mods) => el("form", props, children, ...mods);
|
|
5356
|
+
const bookingForm = (props, children, ...mods) => el("booking-form", props, children, ...mods);
|
|
5357
|
+
const eventRegistration = (props, children, ...mods) => el("event-registration", props, children, ...mods);
|
|
5358
|
+
const shop = (props, children, ...mods) => el("shop", props, children, ...mods);
|
|
5359
|
+
const productList = (props, children, ...mods) => el("product-list", props, children, ...mods);
|
|
5360
|
+
const productDetail = (props, children, ...mods) => el("product-detail", props, children, ...mods);
|
|
5361
|
+
const cart = (props, children, ...mods) => el("cart", props, children, ...mods);
|
|
5362
|
+
const checkout = (props, children, ...mods) => el("checkout", props, children, ...mods);
|
|
5363
|
+
const gifting = (props, children, ...mods) => el("gifting", props, children, ...mods);
|
|
5364
|
+
function bind(from, options) {
|
|
5365
|
+
return (node) => ({
|
|
5366
|
+
...node,
|
|
5367
|
+
$bind: {
|
|
5368
|
+
from,
|
|
5369
|
+
...options?.fallback !== void 0 ? { fallback: options.fallback } : {},
|
|
5370
|
+
...options?.transforms ? { transforms: options.transforms } : {},
|
|
5371
|
+
...options?.pick ? { pick: options.pick } : {},
|
|
5372
|
+
...options?.coerce ? { coerce: options.coerce } : {}
|
|
5373
|
+
}
|
|
5374
|
+
});
|
|
5375
|
+
}
|
|
5376
|
+
function when(path, options) {
|
|
5377
|
+
return (node) => ({
|
|
5378
|
+
...node,
|
|
5379
|
+
$when: {
|
|
5380
|
+
when: { from: path },
|
|
5381
|
+
...options?.equals !== void 0 ? { equals: options.equals } : {},
|
|
5382
|
+
...options?.not ? { not: true } : {},
|
|
5383
|
+
...options?.authoringPresence ? { authoringPresence: options.authoringPresence } : {}
|
|
5384
|
+
}
|
|
5385
|
+
});
|
|
5386
|
+
}
|
|
5387
|
+
function repeat(collectionPath, itemName = "item", options) {
|
|
5388
|
+
return (node) => ({
|
|
5389
|
+
...node,
|
|
5390
|
+
$repeat: {
|
|
5391
|
+
collection: {
|
|
5392
|
+
from: collectionPath,
|
|
5393
|
+
pick: "collection"
|
|
5394
|
+
},
|
|
5395
|
+
itemName,
|
|
5396
|
+
...options?.indexName ? { indexName: options.indexName } : {},
|
|
5397
|
+
...options?.limit ? { limit: options.limit } : {},
|
|
5398
|
+
...options?.sortBy ? { sortBy: {
|
|
5399
|
+
path: options.sortBy.path,
|
|
5400
|
+
direction: options.sortBy.direction ?? "asc"
|
|
5401
|
+
} } : {}
|
|
5402
|
+
}
|
|
5403
|
+
});
|
|
5404
|
+
}
|
|
5405
|
+
function props(extra) {
|
|
5406
|
+
validateProps(extra, "props() modifier");
|
|
5407
|
+
return (node) => ({
|
|
5408
|
+
...node,
|
|
5409
|
+
props: {
|
|
5410
|
+
...node.props ?? {},
|
|
5411
|
+
...extra
|
|
5412
|
+
}
|
|
5413
|
+
});
|
|
5414
|
+
}
|
|
5415
|
+
function accordionList({ collection, itemName = "item", indexName, accordionProps = null, itemProps = null, triggerFrom, contentFrom, valueFrom }, ...mods) {
|
|
5416
|
+
const resolvedIndexName = indexName ?? `${itemName}Index`;
|
|
5417
|
+
const resolvedValuePath = valueFrom === null ? null : valueFrom ?? resolvedIndexName;
|
|
5418
|
+
const baseItemProps = {
|
|
5419
|
+
...itemProps ?? {},
|
|
5420
|
+
trigger: { $bind: { from: triggerFrom } }
|
|
5421
|
+
};
|
|
5422
|
+
if (contentFrom) baseItemProps.content = { $bind: { from: contentFrom } };
|
|
5423
|
+
if (resolvedValuePath) baseItemProps.value = { $bind: { from: resolvedValuePath } };
|
|
5424
|
+
return accordion(accordionProps ?? void 0, [accordionItem(baseItemProps, void 0, repeat(collection, itemName, { indexName: resolvedIndexName }))], ...mods);
|
|
5425
|
+
}
|
|
5426
|
+
function devValidate(node) {
|
|
5427
|
+
try {
|
|
5428
|
+
if (isDevEnvironment()) {
|
|
5429
|
+
const res = NodeSchema.safeParse(node);
|
|
5430
|
+
if (!res.success) console.warn("[blocks:builder] Invalid node produced by builder", res.error.format());
|
|
5431
|
+
}
|
|
5432
|
+
} catch {}
|
|
5433
|
+
return node;
|
|
5434
|
+
}
|
|
5435
|
+
//#endregion
|
|
5436
|
+
//#region ../blocks/src/system/blocks/hero-newsletter.ts
|
|
5437
|
+
const heroNewsletterAction = stack({
|
|
5438
|
+
gap: "md",
|
|
5439
|
+
className: "hero-newsletter rb-w-full rb-min-w-0",
|
|
5440
|
+
style: {
|
|
5441
|
+
maxWidth: "32rem",
|
|
5442
|
+
overflowWrap: "anywhere"
|
|
5443
|
+
}
|
|
5444
|
+
}, [
|
|
5445
|
+
text({
|
|
5446
|
+
as: "p",
|
|
5447
|
+
className: "rb-body"
|
|
5448
|
+
}, bind("data.heroNewsletter.lead")),
|
|
5449
|
+
text({
|
|
5450
|
+
as: "p",
|
|
5451
|
+
className: "rb-body"
|
|
5452
|
+
}, bind("data.heroNewsletter.intro")),
|
|
5453
|
+
el("newsletter-form", withApiBindings({
|
|
5454
|
+
source: { $bind: { from: "data.heroNewsletter.runtime.source" } },
|
|
5455
|
+
sourceRef: { $bind: { from: "data.heroNewsletter.runtime.sourceRef" } },
|
|
5456
|
+
mailingList: { $bind: { from: "data.heroNewsletter.runtime.mailingList" } },
|
|
5457
|
+
targeting: { $bind: { from: "data.heroNewsletter.runtime.targeting" } },
|
|
5458
|
+
buttonVariant: "primary",
|
|
5459
|
+
spamProtectionEnabled: { $bind: { from: "$root.spamProtectionEnabled" } }
|
|
5460
|
+
}), []),
|
|
5461
|
+
el("div", { className: "rb-body" }, [text({
|
|
5462
|
+
as: "span",
|
|
5463
|
+
value: "Or email "
|
|
5464
|
+
}), link({ href: { $bind: { from: "data.heroNewsletter.contact.href" } } }, [text({ as: "span" }, bind("data.heroNewsletter.contact.email"))])], when("data.heroNewsletter.contact"))
|
|
5465
|
+
], when("data.heroNewsletter"));
|
|
5466
|
+
//#endregion
|
|
5226
5467
|
//#region ../blocks/src/system/transforms/registry/core.ts
|
|
5227
5468
|
/**
|
|
5228
5469
|
* Safely narrows unknown values to partial object shapes used by transforms.
|
|
@@ -6134,190 +6375,10 @@ function createImageShapeField(options = {}) {
|
|
|
6134
6375
|
multiple: false,
|
|
6135
6376
|
options: [...standardImageShapeOptions],
|
|
6136
6377
|
ui: {
|
|
6137
|
-
intent: options.uiIntent ?? "display",
|
|
6138
|
-
...options.visibleWhen ? { visibleWhen: options.visibleWhen } : {}
|
|
6139
|
-
}
|
|
6140
|
-
};
|
|
6141
|
-
}
|
|
6142
|
-
//#endregion
|
|
6143
|
-
//#region ../blocks/src/utils/env.ts
|
|
6144
|
-
/**
|
|
6145
|
-
* Environment detection utilities
|
|
6146
|
-
*
|
|
6147
|
-
* Provides type-safe environment detection without relying on `any`-typed globals.
|
|
6148
|
-
*/
|
|
6149
|
-
/**
|
|
6150
|
-
* Check if the current environment is development.
|
|
6151
|
-
*
|
|
6152
|
-
* Returns true if NODE_ENV is not 'production', or if NODE_ENV cannot be determined
|
|
6153
|
-
* (which is the safe default for validation and warnings).
|
|
6154
|
-
*
|
|
6155
|
-
* @returns true if in development mode, false if in production
|
|
6156
|
-
*/
|
|
6157
|
-
function isDevEnvironment() {
|
|
6158
|
-
try {
|
|
6159
|
-
if (typeof process !== "undefined" && process.env?.NODE_ENV !== void 0) return process.env.NODE_ENV !== "production";
|
|
6160
|
-
return true;
|
|
6161
|
-
} catch {
|
|
6162
|
-
return true;
|
|
6163
|
-
}
|
|
6164
|
-
}
|
|
6165
|
-
//#endregion
|
|
6166
|
-
//#region ../blocks/src/system/node/types.ts
|
|
6167
|
-
/**
|
|
6168
|
-
* List of reserved keys (for runtime validation).
|
|
6169
|
-
* Kept in sync with the ReservedNodeKeys type above.
|
|
6170
|
-
*/
|
|
6171
|
-
const RESERVED_KEYS = [
|
|
6172
|
-
"children",
|
|
6173
|
-
"key",
|
|
6174
|
-
"$bind",
|
|
6175
|
-
"$when",
|
|
6176
|
-
"$repeat",
|
|
6177
|
-
"$scopes"
|
|
6178
|
-
];
|
|
6179
|
-
/**
|
|
6180
|
-
* Type guard to check if props contain reserved keys at runtime.
|
|
6181
|
-
* Use this in development mode to catch bugs early.
|
|
6182
|
-
*
|
|
6183
|
-
* @param props - Props object to validate
|
|
6184
|
-
* @returns Array of reserved keys found in props, or empty array if none
|
|
6185
|
-
*/
|
|
6186
|
-
function findReservedKeysInProps(props) {
|
|
6187
|
-
if (!props) return [];
|
|
6188
|
-
return RESERVED_KEYS.filter((key) => key in props);
|
|
6189
|
-
}
|
|
6190
|
-
/**
|
|
6191
|
-
* Validates that props don't contain reserved keys.
|
|
6192
|
-
* Throws in development, warns in production.
|
|
6193
|
-
*
|
|
6194
|
-
* @param props - Props to validate
|
|
6195
|
-
* @param context - Context for error message (e.g., "el('grid', ...)")
|
|
6196
|
-
*/
|
|
6197
|
-
function validateProps(props, context = "node builder") {
|
|
6198
|
-
const reserved = findReservedKeysInProps(props);
|
|
6199
|
-
if (reserved.length === 0) return;
|
|
6200
|
-
const message = `[blocks:${context}] Reserved keys found in props: ${reserved.join(", ")}. These should be passed as separate parameters or modifiers, not in props. For example, 'children' should be the 3rd parameter to el(), not in the props object.`;
|
|
6201
|
-
if (isDevEnvironment()) throw new TypeError(message);
|
|
6202
|
-
else console.error(message);
|
|
6203
|
-
}
|
|
6204
|
-
//#endregion
|
|
6205
|
-
//#region ../blocks/src/system/node/builder.ts
|
|
6206
|
-
function normalizeChildren(children) {
|
|
6207
|
-
if (!children) return void 0;
|
|
6208
|
-
const flat = children.flat().filter(Boolean);
|
|
6209
|
-
return flat.length > 0 ? flat : void 0;
|
|
6210
|
-
}
|
|
6211
|
-
function el(type, props, children, ...mods) {
|
|
6212
|
-
validateProps(props, `el('${type}', ...)`);
|
|
6213
|
-
const node = {
|
|
6214
|
-
type,
|
|
6215
|
-
...props && Object.keys(props).length > 0 ? { props } : {},
|
|
6216
|
-
...children && children.length ? { children: normalizeChildren(children) } : {}
|
|
6217
|
-
};
|
|
6218
|
-
if (mods && mods.length > 0) {
|
|
6219
|
-
const validMods = mods.filter((mod) => typeof mod === "function");
|
|
6220
|
-
if (validMods.length > 0) return devValidate(validMods.reduce((acc, fn) => fn(acc), node));
|
|
6221
|
-
}
|
|
6222
|
-
return devValidate(node);
|
|
6223
|
-
}
|
|
6224
|
-
const section = (props, children, ...mods) => el("section", props, children, ...mods);
|
|
6225
|
-
const headerSection = (props, children, ...mods) => el("headerSection", props, children, ...mods);
|
|
6226
|
-
const stack = (props, children, ...mods) => el("stack", props, children, ...mods);
|
|
6227
|
-
const inline = (props, children, ...mods) => el("inline", props, children, ...mods);
|
|
6228
|
-
const accordion = (props, children, ...mods) => el("accordion", props, children, ...mods);
|
|
6229
|
-
const accordionItem = (props, children, ...mods) => el("accordionItem", props, children, ...mods);
|
|
6230
|
-
const carousel = (props, children, ...mods) => el("carousel", {
|
|
6231
|
-
mode: "legacy",
|
|
6232
|
-
...props
|
|
6233
|
-
}, children, ...mods);
|
|
6234
|
-
const text = (props, ...mods) => el("text", props, void 0, ...mods);
|
|
6235
|
-
const richText = (props, ...mods) => el("richText", props, void 0, ...mods);
|
|
6236
|
-
const icon = (props, ...mods) => el("icon", props, void 0, ...mods);
|
|
6237
|
-
const media = (props, ...mods) => el("media", props, void 0, ...mods);
|
|
6238
|
-
const fileDownload = (props, ...mods) => el("file-download", props, void 0, ...mods);
|
|
6239
|
-
const videoEmbed = (props, ...mods) => el("videoEmbed", props, void 0, ...mods);
|
|
6240
|
-
const button = (props, children, ...mods) => el("button", props, children, ...mods);
|
|
6241
|
-
const link = (props, children, ...mods) => el("link", props, children, ...mods);
|
|
6242
|
-
const form = (props, children, ...mods) => el("form", props, children, ...mods);
|
|
6243
|
-
const bookingForm = (props, children, ...mods) => el("booking-form", props, children, ...mods);
|
|
6244
|
-
const eventRegistration = (props, children, ...mods) => el("event-registration", props, children, ...mods);
|
|
6245
|
-
const shop = (props, children, ...mods) => el("shop", props, children, ...mods);
|
|
6246
|
-
const productList = (props, children, ...mods) => el("product-list", props, children, ...mods);
|
|
6247
|
-
const productDetail = (props, children, ...mods) => el("product-detail", props, children, ...mods);
|
|
6248
|
-
const cart = (props, children, ...mods) => el("cart", props, children, ...mods);
|
|
6249
|
-
const checkout = (props, children, ...mods) => el("checkout", props, children, ...mods);
|
|
6250
|
-
const gifting = (props, children, ...mods) => el("gifting", props, children, ...mods);
|
|
6251
|
-
function bind(from, options) {
|
|
6252
|
-
return (node) => ({
|
|
6253
|
-
...node,
|
|
6254
|
-
$bind: {
|
|
6255
|
-
from,
|
|
6256
|
-
...options?.fallback !== void 0 ? { fallback: options.fallback } : {},
|
|
6257
|
-
...options?.transforms ? { transforms: options.transforms } : {},
|
|
6258
|
-
...options?.pick ? { pick: options.pick } : {},
|
|
6259
|
-
...options?.coerce ? { coerce: options.coerce } : {}
|
|
6260
|
-
}
|
|
6261
|
-
});
|
|
6262
|
-
}
|
|
6263
|
-
function when(path, options) {
|
|
6264
|
-
return (node) => ({
|
|
6265
|
-
...node,
|
|
6266
|
-
$when: {
|
|
6267
|
-
when: { from: path },
|
|
6268
|
-
...options?.equals !== void 0 ? { equals: options.equals } : {},
|
|
6269
|
-
...options?.not ? { not: true } : {},
|
|
6270
|
-
...options?.authoringPresence ? { authoringPresence: options.authoringPresence } : {}
|
|
6271
|
-
}
|
|
6272
|
-
});
|
|
6273
|
-
}
|
|
6274
|
-
function repeat(collectionPath, itemName = "item", options) {
|
|
6275
|
-
return (node) => ({
|
|
6276
|
-
...node,
|
|
6277
|
-
$repeat: {
|
|
6278
|
-
collection: {
|
|
6279
|
-
from: collectionPath,
|
|
6280
|
-
pick: "collection"
|
|
6281
|
-
},
|
|
6282
|
-
itemName,
|
|
6283
|
-
...options?.indexName ? { indexName: options.indexName } : {},
|
|
6284
|
-
...options?.limit ? { limit: options.limit } : {},
|
|
6285
|
-
...options?.sortBy ? { sortBy: {
|
|
6286
|
-
path: options.sortBy.path,
|
|
6287
|
-
direction: options.sortBy.direction ?? "asc"
|
|
6288
|
-
} } : {}
|
|
6289
|
-
}
|
|
6290
|
-
});
|
|
6291
|
-
}
|
|
6292
|
-
function props(extra) {
|
|
6293
|
-
validateProps(extra, "props() modifier");
|
|
6294
|
-
return (node) => ({
|
|
6295
|
-
...node,
|
|
6296
|
-
props: {
|
|
6297
|
-
...node.props ?? {},
|
|
6298
|
-
...extra
|
|
6378
|
+
intent: options.uiIntent ?? "display",
|
|
6379
|
+
...options.visibleWhen ? { visibleWhen: options.visibleWhen } : {}
|
|
6299
6380
|
}
|
|
6300
|
-
});
|
|
6301
|
-
}
|
|
6302
|
-
function accordionList({ collection, itemName = "item", indexName, accordionProps = null, itemProps = null, triggerFrom, contentFrom, valueFrom }, ...mods) {
|
|
6303
|
-
const resolvedIndexName = indexName ?? `${itemName}Index`;
|
|
6304
|
-
const resolvedValuePath = valueFrom === null ? null : valueFrom ?? resolvedIndexName;
|
|
6305
|
-
const baseItemProps = {
|
|
6306
|
-
...itemProps ?? {},
|
|
6307
|
-
trigger: { $bind: { from: triggerFrom } }
|
|
6308
6381
|
};
|
|
6309
|
-
if (contentFrom) baseItemProps.content = { $bind: { from: contentFrom } };
|
|
6310
|
-
if (resolvedValuePath) baseItemProps.value = { $bind: { from: resolvedValuePath } };
|
|
6311
|
-
return accordion(accordionProps ?? void 0, [accordionItem(baseItemProps, void 0, repeat(collection, itemName, { indexName: resolvedIndexName }))], ...mods);
|
|
6312
|
-
}
|
|
6313
|
-
function devValidate(node) {
|
|
6314
|
-
try {
|
|
6315
|
-
if (isDevEnvironment()) {
|
|
6316
|
-
const res = NodeSchema.safeParse(node);
|
|
6317
|
-
if (!res.success) console.warn("[blocks:builder] Invalid node produced by builder", res.error.format());
|
|
6318
|
-
}
|
|
6319
|
-
} catch {}
|
|
6320
|
-
return node;
|
|
6321
6382
|
}
|
|
6322
6383
|
//#endregion
|
|
6323
6384
|
//#region ../blocks/src/system/node/fragments/backgroundLayer.ts
|
|
@@ -7890,11 +7951,7 @@ const boxStylesTransforms = [
|
|
|
7890
7951
|
id: "boxStyles.semanticGapValue",
|
|
7891
7952
|
kind: "string",
|
|
7892
7953
|
summary: "Map semantic gap value to CSS gap value for inline styles",
|
|
7893
|
-
run: (value
|
|
7894
|
-
if (options?.legacyOnly && asPartialObject(context.viewModel?.content)?._lookSlots !== void 0) return void 0;
|
|
7895
|
-
const fallback = options?.fallback ?? "medium";
|
|
7896
|
-
return GAP_VALUE_MAP[isSemanticSpacing(value) ? value : fallback];
|
|
7897
|
-
}
|
|
7954
|
+
run: (value) => isSemanticSpacing(value) ? GAP_VALUE_MAP[value] : void 0
|
|
7898
7955
|
}
|
|
7899
7956
|
];
|
|
7900
7957
|
//#endregion
|
|
@@ -7921,14 +7978,8 @@ function twoColumnProps(config) {
|
|
|
7921
7978
|
} },
|
|
7922
7979
|
...config.gapFrom ? { style: { gap: { $bind: {
|
|
7923
7980
|
from: config.gapFrom,
|
|
7924
|
-
transforms: [{
|
|
7925
|
-
|
|
7926
|
-
options: {
|
|
7927
|
-
fallback,
|
|
7928
|
-
legacyOnly: config.lookSlots === true
|
|
7929
|
-
}
|
|
7930
|
-
}],
|
|
7931
|
-
...config.lookSlots ? {} : { fallback: GAP_VALUE_MAP[fallback] }
|
|
7981
|
+
transforms: [{ id: "boxStyles.semanticGapValue" }],
|
|
7982
|
+
fallback: GAP_VALUE_MAP[fallback]
|
|
7932
7983
|
} } } } : {}
|
|
7933
7984
|
};
|
|
7934
7985
|
}
|
|
@@ -8629,6 +8680,7 @@ function createButtonGroup(options = {}) {
|
|
|
8629
8680
|
...defaultVariant ? { defaultValue: defaultVariant } : {},
|
|
8630
8681
|
ui: {
|
|
8631
8682
|
intent: "style",
|
|
8683
|
+
underLooks: "owner",
|
|
8632
8684
|
widget: "buttonVariant"
|
|
8633
8685
|
}
|
|
8634
8686
|
},
|
|
@@ -8669,6 +8721,7 @@ function createButtonGroup(options = {}) {
|
|
|
8669
8721
|
maxLength: 64,
|
|
8670
8722
|
ui: {
|
|
8671
8723
|
intent: "style",
|
|
8724
|
+
underLooks: "owner",
|
|
8672
8725
|
widget: "iconPicker",
|
|
8673
8726
|
iconPickerPreset: "cta"
|
|
8674
8727
|
}
|
|
@@ -8681,6 +8734,7 @@ function createButtonGroup(options = {}) {
|
|
|
8681
8734
|
maxLength: 64,
|
|
8682
8735
|
ui: {
|
|
8683
8736
|
intent: "style",
|
|
8737
|
+
underLooks: "owner",
|
|
8684
8738
|
widget: "iconPicker",
|
|
8685
8739
|
iconPickerPreset: "cta"
|
|
8686
8740
|
}
|
|
@@ -9423,25 +9477,6 @@ const formCopyFragment = defineFragment({
|
|
|
9423
9477
|
} }), bind("content.intro"))]
|
|
9424
9478
|
});
|
|
9425
9479
|
//#endregion
|
|
9426
|
-
//#region ../blocks/src/system/helpers/api-bindings.ts
|
|
9427
|
-
/**
|
|
9428
|
-
* Standard API bindings that all interactive blocks need.
|
|
9429
|
-
*/
|
|
9430
|
-
const apiBindings = {
|
|
9431
|
-
now: { $bind: { from: "$root.now" } },
|
|
9432
|
-
siteId: { $bind: { from: "$root.siteId" } },
|
|
9433
|
-
apiBaseUrl: { $bind: { from: "$root.apiBaseUrl" } }
|
|
9434
|
-
};
|
|
9435
|
-
function withApiBindings(props, options) {
|
|
9436
|
-
return {
|
|
9437
|
-
...options?.includeApiBaseUrl ?? true ? apiBindings : {
|
|
9438
|
-
siteId: apiBindings.siteId,
|
|
9439
|
-
now: apiBindings.now
|
|
9440
|
-
},
|
|
9441
|
-
...props
|
|
9442
|
-
};
|
|
9443
|
-
}
|
|
9444
|
-
//#endregion
|
|
9445
9480
|
//#region ../blocks/src/system/fragments/library/formEmbed.ts
|
|
9446
9481
|
const formEmbedFragment = defineFragment({
|
|
9447
9482
|
variantMeaning: { kind: "arrangement" },
|
|
@@ -10740,7 +10775,6 @@ function createBlockManifest(config) {
|
|
|
10740
10775
|
icon: config.icon ?? "Box",
|
|
10741
10776
|
layout,
|
|
10742
10777
|
variants,
|
|
10743
|
-
arrangementOwnedFieldIds: config.arrangementOwnedFieldIds,
|
|
10744
10778
|
variantMeaning: config.variantMeaning,
|
|
10745
10779
|
defaultVariant: config.defaultVariant,
|
|
10746
10780
|
variantOptions: config.variantOptions,
|
|
@@ -10818,7 +10852,8 @@ const heroActionsNote = richText({ className: "hero-actions-note" }, when("conte
|
|
|
10818
10852
|
const heroContentNodes = [
|
|
10819
10853
|
lookCaption,
|
|
10820
10854
|
...heroCopyAndCta.layout,
|
|
10821
|
-
heroActionsNote
|
|
10855
|
+
heroActionsNote,
|
|
10856
|
+
heroNewsletterAction
|
|
10822
10857
|
];
|
|
10823
10858
|
function heroContentCard(children, gap, copyAtCard) {
|
|
10824
10859
|
return styledContainer({
|
|
@@ -10949,7 +10984,8 @@ const headlineRowLayout = heroLookLayout([
|
|
|
10949
10984
|
lookCaption,
|
|
10950
10985
|
...heroCopyFragment.layout.slice(2),
|
|
10951
10986
|
...heroCtaRowFragment.layout,
|
|
10952
|
-
heroActionsNote
|
|
10987
|
+
heroActionsNote,
|
|
10988
|
+
heroNewsletterAction
|
|
10953
10989
|
]),
|
|
10954
10990
|
lookPhoto
|
|
10955
10991
|
]);
|
|
@@ -11475,26 +11511,20 @@ const introBlockDefinition = { manifest: createBlockManifest({
|
|
|
11475
11511
|
gapSelectField({
|
|
11476
11512
|
label: "Gap between media and text",
|
|
11477
11513
|
defaultValue: "comfortable",
|
|
11478
|
-
visibleWhen: {
|
|
11514
|
+
visibleWhen: {
|
|
11479
11515
|
field: "variant",
|
|
11480
11516
|
equals: "media-copy"
|
|
11481
|
-
}
|
|
11482
|
-
field: "blockLook",
|
|
11483
|
-
notEquals: "intro-photo-beside-text"
|
|
11484
|
-
}] }
|
|
11517
|
+
}
|
|
11485
11518
|
}),
|
|
11486
11519
|
createImageColSizeField({
|
|
11487
11520
|
id: "ratio",
|
|
11488
11521
|
label: "Media column size",
|
|
11489
11522
|
defaultValue: "1/2",
|
|
11490
11523
|
uiIntent: "display",
|
|
11491
|
-
visibleWhen: {
|
|
11524
|
+
visibleWhen: {
|
|
11492
11525
|
field: "variant",
|
|
11493
11526
|
equals: "media-copy"
|
|
11494
|
-
}
|
|
11495
|
-
field: "blockLook",
|
|
11496
|
-
notEquals: "intro-photo-beside-text"
|
|
11497
|
-
}] }
|
|
11527
|
+
}
|
|
11498
11528
|
}),
|
|
11499
11529
|
createAspectRatioField({
|
|
11500
11530
|
id: "aspectRatio",
|
|
@@ -11988,6 +12018,7 @@ const ctaFullBlockDefinition = { manifest: createBlockManifest({
|
|
|
11988
12018
|
},
|
|
11989
12019
|
id: "block.cta-full",
|
|
11990
12020
|
title: "Call to action",
|
|
12021
|
+
titleSource: "title",
|
|
11991
12022
|
category: "text-and-images",
|
|
11992
12023
|
contentSource: { kind: "inline" },
|
|
11993
12024
|
fragments: [{
|
|
@@ -14624,6 +14655,7 @@ const footerStandardContactBindings = {
|
|
|
14624
14655
|
successMessage: { $bind: { from: "module.engagement.runtime.successMessage" } }
|
|
14625
14656
|
};
|
|
14626
14657
|
const footerMailingListBindings = {
|
|
14658
|
+
buttonVariant: { $bind: { from: "module.engagement.runtime.buttonVariant" } },
|
|
14627
14659
|
source: { $bind: { from: "module.engagement.runtime.source" } },
|
|
14628
14660
|
sourceRef: { $bind: { from: "module.engagement.runtime.sourceRef" } },
|
|
14629
14661
|
mailingList: { $bind: { from: "module.engagement.runtime.mailingList" } },
|
|
@@ -15124,7 +15156,6 @@ const dataLoaders = { ...entriesLoader ? { entries: {
|
|
|
15124
15156
|
} } : {} };
|
|
15125
15157
|
const testimonialsBlockDefinition = {
|
|
15126
15158
|
manifest: createBlockManifest({
|
|
15127
|
-
arrangementOwnedFieldIds: ["maxEntries", "avatarLayout"],
|
|
15128
15159
|
variantMeaning: {
|
|
15129
15160
|
kind: "arrangement",
|
|
15130
15161
|
lookOnlyKeys: [
|
|
@@ -15142,6 +15173,7 @@ const testimonialsBlockDefinition = {
|
|
|
15142
15173
|
},
|
|
15143
15174
|
promotedFields: ["maxEntries"],
|
|
15144
15175
|
title: "Testimonials",
|
|
15176
|
+
titleSource: "heading",
|
|
15145
15177
|
category: "people",
|
|
15146
15178
|
contentSource: { kind: "inline" },
|
|
15147
15179
|
includeContainerStyles: true,
|
|
@@ -16589,7 +16621,10 @@ const mediaTextBlockDefinition = { manifest: createBlockManifest({
|
|
|
16589
16621
|
leadParagraphSlot: { $bind: { from: "content._lookSlots.lede" } },
|
|
16590
16622
|
lookSlots: { $bind: { from: "content._lookSlots" } }
|
|
16591
16623
|
};
|
|
16592
|
-
return [styledCard([richText(props, bind("content.text"))], mediaTextCardOptions, when("content.wrapTextInCard")), richText(props, when("content.wrapTextInCard", {
|
|
16624
|
+
return [styledCard([richText(props, bind("content.text"))], mediaTextCardOptions, when("content.wrapTextInCard")), richText(props, when("content.wrapTextInCard", {
|
|
16625
|
+
equals: true,
|
|
16626
|
+
not: true
|
|
16627
|
+
}), bind("content.text"))];
|
|
16593
16628
|
};
|
|
16594
16629
|
const bodyTextColumn = el("div", {}, textContentNodes("rb-prose rb-max-w-none"));
|
|
16595
16630
|
const defaultTextColumn = el("div", {}, [lookCopyHeading, ...textContentNodes("rb-prose rb-max-w-none")]);
|
|
@@ -17721,7 +17756,7 @@ const eventDisplayFields = [
|
|
|
17721
17756
|
description: "Shows the venue's name and address.",
|
|
17722
17757
|
required: false,
|
|
17723
17758
|
defaultValue: true,
|
|
17724
|
-
ui: { intent: "
|
|
17759
|
+
ui: { intent: "behavior" }
|
|
17725
17760
|
},
|
|
17726
17761
|
{
|
|
17727
17762
|
id: "showMap",
|
|
@@ -17730,7 +17765,7 @@ const eventDisplayFields = [
|
|
|
17730
17765
|
description: "Shows a map when the event's venue has a location set.",
|
|
17731
17766
|
required: false,
|
|
17732
17767
|
defaultValue: true,
|
|
17733
|
-
ui: { intent: "
|
|
17768
|
+
ui: { intent: "behavior" }
|
|
17734
17769
|
},
|
|
17735
17770
|
{
|
|
17736
17771
|
id: "showCapacity",
|
|
@@ -17739,7 +17774,7 @@ const eventDisplayFields = [
|
|
|
17739
17774
|
description: "Shows how many places are left.",
|
|
17740
17775
|
required: false,
|
|
17741
17776
|
defaultValue: true,
|
|
17742
|
-
ui: { intent: "
|
|
17777
|
+
ui: { intent: "behavior" }
|
|
17743
17778
|
}
|
|
17744
17779
|
];
|
|
17745
17780
|
/**
|
|
@@ -17754,7 +17789,7 @@ const emptyStateField = {
|
|
|
17754
17789
|
multiline: false,
|
|
17755
17790
|
defaultValue: "No upcoming events scheduled.",
|
|
17756
17791
|
maxLength: 200,
|
|
17757
|
-
ui: { intent: "
|
|
17792
|
+
ui: { intent: "behavior" }
|
|
17758
17793
|
};
|
|
17759
17794
|
/**
|
|
17760
17795
|
* Layout selection field with grid/stack options
|
|
@@ -18740,6 +18775,8 @@ function buildEventListWeek(anchor, startOfWeek, timeZone) {
|
|
|
18740
18775
|
timeZone
|
|
18741
18776
|
});
|
|
18742
18777
|
return {
|
|
18778
|
+
/** The seven civil days, as date keys in week order. */
|
|
18779
|
+
days: viewport.days.map(formatDateKey),
|
|
18743
18780
|
title: formatDateRange({
|
|
18744
18781
|
kind: "civil",
|
|
18745
18782
|
value: viewport.days[0]
|
|
@@ -18762,6 +18799,70 @@ function eventListWindowEvents(events, window) {
|
|
|
18762
18799
|
return instant >= start && instant <= end;
|
|
18763
18800
|
});
|
|
18764
18801
|
}
|
|
18802
|
+
/** Server and client describe the shown week the same way, from the same inputs. */
|
|
18803
|
+
function eventListWeekDays(week, today, timeZone) {
|
|
18804
|
+
return {
|
|
18805
|
+
days: week.days,
|
|
18806
|
+
today: formatDateKey(today),
|
|
18807
|
+
timeZone
|
|
18808
|
+
};
|
|
18809
|
+
}
|
|
18810
|
+
/**
|
|
18811
|
+
* All seven days of the shown week, in week order and including empty ones.
|
|
18812
|
+
* A session goes under the day it starts on in its own zone, the day its tile
|
|
18813
|
+
* time describes. One whose own date falls outside the week (only possible in
|
|
18814
|
+
* another zone) goes under its day in the site zone, so it still shows.
|
|
18815
|
+
* Sessions arrive in start order, so with more pages to load a day is only
|
|
18816
|
+
* known to be empty when a later day already has a session.
|
|
18817
|
+
*/
|
|
18818
|
+
function weekColumnDays(week, events, allLoaded) {
|
|
18819
|
+
const siteDay = groupItemsByDate(events, {
|
|
18820
|
+
getStartsAt: (event) => event.startsAt,
|
|
18821
|
+
getTimeZone: () => week.timeZone
|
|
18822
|
+
});
|
|
18823
|
+
const siteKey = new Map([...siteDay].flatMap(([key, items]) => items.map((item) => [item, key])));
|
|
18824
|
+
const columnKey = (event) => {
|
|
18825
|
+
const own = eventLocalDateKey(event);
|
|
18826
|
+
return week.days.includes(own) ? own : siteKey.get(event);
|
|
18827
|
+
};
|
|
18828
|
+
const options = eventDateOptions({
|
|
18829
|
+
siteTimeZone: week.timeZone,
|
|
18830
|
+
timeZone: week.timeZone
|
|
18831
|
+
});
|
|
18832
|
+
const lastLoaded = events.map(columnKey).filter((key) => key !== void 0).sort().at(-1);
|
|
18833
|
+
return week.days.map((dateKey) => {
|
|
18834
|
+
const date = {
|
|
18835
|
+
kind: "civil",
|
|
18836
|
+
value: parseBookingLocalDate(dateKey)
|
|
18837
|
+
};
|
|
18838
|
+
const dayEvents = events.filter((event) => columnKey(event) === dateKey).sort((left, right) => new Date(left.startsAt).getTime() - new Date(right.startsAt).getTime());
|
|
18839
|
+
return {
|
|
18840
|
+
dateKey,
|
|
18841
|
+
isToday: dateKey === week.today,
|
|
18842
|
+
label: {
|
|
18843
|
+
weekday: formatDate$2(date, options, {
|
|
18844
|
+
date: "omit",
|
|
18845
|
+
weekday: "short",
|
|
18846
|
+
year: "omit"
|
|
18847
|
+
}),
|
|
18848
|
+
fullWeekday: formatDate$2(date, options, {
|
|
18849
|
+
date: "omit",
|
|
18850
|
+
weekday: "long",
|
|
18851
|
+
year: "omit"
|
|
18852
|
+
}),
|
|
18853
|
+
day: formatDate$2(date, options, {
|
|
18854
|
+
date: "omit",
|
|
18855
|
+
day: "numeric",
|
|
18856
|
+
year: "omit"
|
|
18857
|
+
})
|
|
18858
|
+
},
|
|
18859
|
+
sessions: dayEvents.length > 0 ? {
|
|
18860
|
+
kind: "some",
|
|
18861
|
+
events: dayEvents
|
|
18862
|
+
} : allLoaded || lastLoaded !== void 0 && dateKey < lastLoaded ? { kind: "none" } : { kind: "unknown" }
|
|
18863
|
+
};
|
|
18864
|
+
});
|
|
18865
|
+
}
|
|
18765
18866
|
//#endregion
|
|
18766
18867
|
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationEventAdapter.ts
|
|
18767
18868
|
function toRegistrationEvent(event) {
|
|
@@ -20054,7 +20155,11 @@ const eventCalendarListLayoutValues = [
|
|
|
20054
20155
|
"grid",
|
|
20055
20156
|
"compact"
|
|
20056
20157
|
];
|
|
20057
|
-
const arrangementOnlyListLayouts = [
|
|
20158
|
+
const arrangementOnlyListLayouts = [
|
|
20159
|
+
"ledger",
|
|
20160
|
+
"day-groups",
|
|
20161
|
+
"week-columns"
|
|
20162
|
+
];
|
|
20058
20163
|
const eventListArrangementValues = [...eventCalendarListLayoutValues, ...arrangementOnlyListLayouts];
|
|
20059
20164
|
const eventCalendarListLayoutOptions = [
|
|
20060
20165
|
{
|
|
@@ -20795,7 +20900,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20795
20900
|
label: "Show venue",
|
|
20796
20901
|
required: false,
|
|
20797
20902
|
defaultValue: true,
|
|
20798
|
-
ui: { intent: "
|
|
20903
|
+
ui: { intent: "behavior" }
|
|
20799
20904
|
},
|
|
20800
20905
|
{
|
|
20801
20906
|
id: "showTitle",
|
|
@@ -20803,7 +20908,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20803
20908
|
label: "Show event title",
|
|
20804
20909
|
required: false,
|
|
20805
20910
|
defaultValue: false,
|
|
20806
|
-
ui: { intent: "
|
|
20911
|
+
ui: { intent: "behavior" }
|
|
20807
20912
|
},
|
|
20808
20913
|
{
|
|
20809
20914
|
id: "showDescription",
|
|
@@ -20811,7 +20916,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20811
20916
|
label: "Show event description",
|
|
20812
20917
|
required: false,
|
|
20813
20918
|
defaultValue: false,
|
|
20814
|
-
ui: { intent: "
|
|
20919
|
+
ui: { intent: "behavior" }
|
|
20815
20920
|
},
|
|
20816
20921
|
{
|
|
20817
20922
|
id: "showMap",
|
|
@@ -20820,7 +20925,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20820
20925
|
description: "Shows a map, as long as the venue's location is set.",
|
|
20821
20926
|
required: false,
|
|
20822
20927
|
defaultValue: true,
|
|
20823
|
-
ui: { intent: "
|
|
20928
|
+
ui: { intent: "behavior" }
|
|
20824
20929
|
},
|
|
20825
20930
|
{
|
|
20826
20931
|
id: "showOtherDates",
|
|
@@ -20828,7 +20933,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20828
20933
|
label: "Show other dates",
|
|
20829
20934
|
required: false,
|
|
20830
20935
|
defaultValue: true,
|
|
20831
|
-
ui: { intent: "
|
|
20936
|
+
ui: { intent: "behavior" }
|
|
20832
20937
|
},
|
|
20833
20938
|
{
|
|
20834
20939
|
id: "otherDatesLimit",
|
|
@@ -20855,7 +20960,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20855
20960
|
label: "All dates"
|
|
20856
20961
|
}
|
|
20857
20962
|
],
|
|
20858
|
-
ui: { intent: "
|
|
20963
|
+
ui: { intent: "behavior" }
|
|
20859
20964
|
},
|
|
20860
20965
|
{
|
|
20861
20966
|
id: "showCapacity",
|
|
@@ -20863,7 +20968,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20863
20968
|
label: "Show capacity",
|
|
20864
20969
|
required: false,
|
|
20865
20970
|
defaultValue: false,
|
|
20866
|
-
ui: { intent: "
|
|
20971
|
+
ui: { intent: "behavior" }
|
|
20867
20972
|
},
|
|
20868
20973
|
{
|
|
20869
20974
|
id: "showCost",
|
|
@@ -20872,7 +20977,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20872
20977
|
description: "Shows the ticket price for paid events.",
|
|
20873
20978
|
required: false,
|
|
20874
20979
|
defaultValue: true,
|
|
20875
|
-
ui: { intent: "
|
|
20980
|
+
ui: { intent: "behavior" }
|
|
20876
20981
|
},
|
|
20877
20982
|
{
|
|
20878
20983
|
id: "showAcceptedPasses",
|
|
@@ -20881,7 +20986,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20881
20986
|
description: "Shows which passes can be used for this event.",
|
|
20882
20987
|
required: false,
|
|
20883
20988
|
defaultValue: true,
|
|
20884
|
-
ui: { intent: "
|
|
20989
|
+
ui: { intent: "behavior" }
|
|
20885
20990
|
},
|
|
20886
20991
|
{
|
|
20887
20992
|
id: "showAcceptedMemberships",
|
|
@@ -20890,7 +20995,7 @@ const eventDetailsBlockDefinition = {
|
|
|
20890
20995
|
description: "Shows which memberships include this event.",
|
|
20891
20996
|
required: false,
|
|
20892
20997
|
defaultValue: true,
|
|
20893
|
-
ui: { intent: "
|
|
20998
|
+
ui: { intent: "behavior" }
|
|
20894
20999
|
}
|
|
20895
21000
|
],
|
|
20896
21001
|
layout: [styledSection({
|
|
@@ -21203,6 +21308,7 @@ function getCardOrientation(layout) {
|
|
|
21203
21308
|
case "grid": return "vertical";
|
|
21204
21309
|
case "ledger":
|
|
21205
21310
|
case "day-groups":
|
|
21311
|
+
case "week-columns":
|
|
21206
21312
|
case "compact": return "vertical";
|
|
21207
21313
|
}
|
|
21208
21314
|
}
|
|
@@ -22464,14 +22570,31 @@ function mediaImageHostProps(props, style) {
|
|
|
22464
22570
|
};
|
|
22465
22571
|
}
|
|
22466
22572
|
//#endregion
|
|
22467
|
-
//#region ../blocks/src/primitives/content/
|
|
22573
|
+
//#region ../blocks/src/primitives/content/richTextImageSize.ts
|
|
22468
22574
|
function parseDimension(value) {
|
|
22469
|
-
|
|
22470
|
-
|
|
22471
|
-
|
|
22472
|
-
|
|
22473
|
-
|
|
22575
|
+
const parsed = typeof value === "number" || typeof value === "string" ? Number(value) : NaN;
|
|
22576
|
+
return Number.isFinite(parsed) && parsed > 0 ? Math.round(parsed) : void 0;
|
|
22577
|
+
}
|
|
22578
|
+
/** View and editor images must request the same resource to preserve browser cache reuse. */
|
|
22579
|
+
function getRichTextImageSize(attrs) {
|
|
22580
|
+
const width = parseDimension(attrs.width);
|
|
22581
|
+
const height = parseDimension(attrs.height);
|
|
22582
|
+
return {
|
|
22583
|
+
width,
|
|
22584
|
+
height,
|
|
22585
|
+
urlOptions: width ? {
|
|
22586
|
+
width,
|
|
22587
|
+
resize: "contain",
|
|
22588
|
+
quality: 85
|
|
22589
|
+
} : height ? {
|
|
22590
|
+
height,
|
|
22591
|
+
resize: "contain",
|
|
22592
|
+
quality: 85
|
|
22593
|
+
} : ImagePresets.full
|
|
22594
|
+
};
|
|
22474
22595
|
}
|
|
22596
|
+
//#endregion
|
|
22597
|
+
//#region ../blocks/src/primitives/content/components/RichText.tsx
|
|
22475
22598
|
function normalizeRel(target, rel) {
|
|
22476
22599
|
const normalizedRel = rel?.trim();
|
|
22477
22600
|
if (target !== "_blank") return normalizedRel && normalizedRel.length > 0 ? normalizedRel : void 0;
|
|
@@ -22547,36 +22670,22 @@ function renderSimpleNode(node, key, children, context) {
|
|
|
22547
22670
|
default: return null;
|
|
22548
22671
|
}
|
|
22549
22672
|
}
|
|
22550
|
-
function
|
|
22551
|
-
if (width) return {
|
|
22552
|
-
width,
|
|
22553
|
-
resize: "contain",
|
|
22554
|
-
quality: 85
|
|
22555
|
-
};
|
|
22556
|
-
if (height) return {
|
|
22557
|
-
height,
|
|
22558
|
-
resize: "contain",
|
|
22559
|
-
quality: 85
|
|
22560
|
-
};
|
|
22561
|
-
return ImagePresets.full;
|
|
22562
|
-
}
|
|
22563
|
-
function resolveRichTextImageSource(attrs, width, height, context) {
|
|
22673
|
+
function resolveRichTextImageSource(attrs, context) {
|
|
22564
22674
|
if (attrs.identifier !== void 0 && attrs.identifier !== null) {
|
|
22565
22675
|
const parsed = parseCanonicalMediaIdentifier(attrs.identifier);
|
|
22566
22676
|
if (!parsed.ok) return void 0;
|
|
22567
22677
|
if (context?.mediaAssetIndex) return resolveImageUrlWithContext({
|
|
22568
22678
|
type: "image",
|
|
22569
22679
|
identifier: parsed.value
|
|
22570
|
-
},
|
|
22680
|
+
}, getRichTextImageSize(attrs).urlOptions, context);
|
|
22571
22681
|
return typeof attrs.src === "string" ? attrs.src.trim() || void 0 : void 0;
|
|
22572
22682
|
}
|
|
22573
22683
|
return typeof attrs.src === "string" ? attrs.src.trim() || void 0 : void 0;
|
|
22574
22684
|
}
|
|
22575
22685
|
function renderRichTextImage(node, key, context) {
|
|
22576
22686
|
const attrs = node.attrs ?? {};
|
|
22577
|
-
const width =
|
|
22578
|
-
const
|
|
22579
|
-
const src = resolveRichTextImageSource(attrs, width, height, context.imageResolveContext);
|
|
22687
|
+
const { width, height } = getRichTextImageSize(attrs);
|
|
22688
|
+
const src = resolveRichTextImageSource(attrs, context.imageResolveContext);
|
|
22580
22689
|
if (!src) return null;
|
|
22581
22690
|
return /* @__PURE__ */ jsx("img", {
|
|
22582
22691
|
src,
|
|
@@ -23000,6 +23109,11 @@ function resolveEventListPaginationAction(input) {
|
|
|
23000
23109
|
};
|
|
23001
23110
|
}
|
|
23002
23111
|
//#endregion
|
|
23112
|
+
//#region ../blocks/src/system/runtime/hooks/useEventPagination.state.ts
|
|
23113
|
+
function hasMoreEventPages(events, pageSize) {
|
|
23114
|
+
return events.length >= pageSize;
|
|
23115
|
+
}
|
|
23116
|
+
//#endregion
|
|
23003
23117
|
//#region ../blocks/src/system/blocks/events/shared/calendarWindow.ts
|
|
23004
23118
|
function resolveCalendarReadProfile(content) {
|
|
23005
23119
|
return resolveEventCalendarReadPlan(content).readProfile;
|
|
@@ -23278,6 +23392,7 @@ function buildEventCollectionHydration(source) {
|
|
|
23278
23392
|
function buildEventCollectionListingDisplay(display, prefetchedEvents, className) {
|
|
23279
23393
|
const initialEvents = display.events.slice(0, display.eventsPerPage);
|
|
23280
23394
|
return {
|
|
23395
|
+
allLoaded: prefetchedEvents && !hasMoreEventPages(display.events, display.eventsPerPage),
|
|
23281
23396
|
kind: "event-listing",
|
|
23282
23397
|
sectionAction: display.sectionAction,
|
|
23283
23398
|
panelHeading: display.panelHeading,
|
|
@@ -23355,7 +23470,13 @@ const eventListingDisplaySchema = z.object({
|
|
|
23355
23470
|
showCapacity: z.boolean(),
|
|
23356
23471
|
showPhotos: z.boolean().optional(),
|
|
23357
23472
|
orientation: cardOrientationSchema,
|
|
23358
|
-
events: z.array(publicEventSchema)
|
|
23473
|
+
events: z.array(publicEventSchema),
|
|
23474
|
+
week: z.object({
|
|
23475
|
+
days: z.array(z.string()).length(7),
|
|
23476
|
+
today: z.string(),
|
|
23477
|
+
timeZone: z.string()
|
|
23478
|
+
}).optional(),
|
|
23479
|
+
allLoaded: z.boolean().optional()
|
|
23359
23480
|
});
|
|
23360
23481
|
const eventListingHydrationSchema = z.object({
|
|
23361
23482
|
siteId: z.string(),
|
|
@@ -23811,6 +23932,31 @@ const eventListingBlockDefinition = {
|
|
|
23811
23932
|
} }
|
|
23812
23933
|
};
|
|
23813
23934
|
//#endregion
|
|
23935
|
+
//#region ../blocks/src/system/blocks/events/eventSelectionChips.ts
|
|
23936
|
+
/** The event types a calendar can be narrowed to, in the order they're offered. */
|
|
23937
|
+
const EVENT_SELECTION_TYPE_OPTIONS = [
|
|
23938
|
+
{
|
|
23939
|
+
value: "course",
|
|
23940
|
+
label: "Courses"
|
|
23941
|
+
},
|
|
23942
|
+
{
|
|
23943
|
+
value: "class",
|
|
23944
|
+
label: "Classes"
|
|
23945
|
+
},
|
|
23946
|
+
{
|
|
23947
|
+
value: "workshop",
|
|
23948
|
+
label: "Workshops"
|
|
23949
|
+
},
|
|
23950
|
+
{
|
|
23951
|
+
value: "retreat",
|
|
23952
|
+
label: "Retreats"
|
|
23953
|
+
},
|
|
23954
|
+
{
|
|
23955
|
+
value: "performance",
|
|
23956
|
+
label: "Performances"
|
|
23957
|
+
}
|
|
23958
|
+
];
|
|
23959
|
+
//#endregion
|
|
23814
23960
|
//#region ../blocks/src/system/blocks/events/recurring-schedule-projection.ts
|
|
23815
23961
|
const weekdayOrder = [
|
|
23816
23962
|
"Monday",
|
|
@@ -24718,7 +24864,7 @@ const eventCalendarAdditionalFields = [
|
|
|
24718
24864
|
label: "Week"
|
|
24719
24865
|
}],
|
|
24720
24866
|
ui: {
|
|
24721
|
-
intent: "
|
|
24867
|
+
intent: "behavior",
|
|
24722
24868
|
visibleWhen: {
|
|
24723
24869
|
field: "variant",
|
|
24724
24870
|
equals: "list"
|
|
@@ -24832,7 +24978,7 @@ const eventCalendarAdditionalFields = [
|
|
|
24832
24978
|
}
|
|
24833
24979
|
],
|
|
24834
24980
|
ui: {
|
|
24835
|
-
intent: "
|
|
24981
|
+
intent: "behavior",
|
|
24836
24982
|
visibleWhen: {
|
|
24837
24983
|
field: "variant",
|
|
24838
24984
|
oneOf: ["combined", "list"]
|
|
@@ -24862,7 +25008,7 @@ const eventCalendarAdditionalFields = [
|
|
|
24862
25008
|
}
|
|
24863
25009
|
],
|
|
24864
25010
|
ui: {
|
|
24865
|
-
intent: "
|
|
25011
|
+
intent: "behavior",
|
|
24866
25012
|
visibleWhen: {
|
|
24867
25013
|
field: "variant",
|
|
24868
25014
|
oneOf: ["combined", "list"]
|
|
@@ -24875,7 +25021,7 @@ const eventCalendarAdditionalFields = [
|
|
|
24875
25021
|
label: "Link to the full list",
|
|
24876
25022
|
required: false,
|
|
24877
25023
|
ui: {
|
|
24878
|
-
intent: "
|
|
25024
|
+
intent: "behavior",
|
|
24879
25025
|
visibleWhen: { anyOf: [{ allOf: [{
|
|
24880
25026
|
field: "variant",
|
|
24881
25027
|
oneOf: ["combined", "list"]
|
|
@@ -24897,7 +25043,7 @@ const eventCalendarAdditionalFields = [
|
|
|
24897
25043
|
multiline: false,
|
|
24898
25044
|
defaultValue: "Load more events",
|
|
24899
25045
|
ui: {
|
|
24900
|
-
intent: "
|
|
25046
|
+
intent: "behavior",
|
|
24901
25047
|
visibleWhen: {
|
|
24902
25048
|
field: "variant",
|
|
24903
25049
|
oneOf: [
|
|
@@ -24924,7 +25070,7 @@ const eventCalendarAdditionalFields = [
|
|
|
24924
25070
|
label: "Monday"
|
|
24925
25071
|
}],
|
|
24926
25072
|
ui: {
|
|
24927
|
-
intent: "
|
|
25073
|
+
intent: "behavior",
|
|
24928
25074
|
visibleWhen: {
|
|
24929
25075
|
field: "variant",
|
|
24930
25076
|
oneOf: [
|
|
@@ -24960,7 +25106,7 @@ const eventCalendarAdditionalFields = [
|
|
|
24960
25106
|
}
|
|
24961
25107
|
],
|
|
24962
25108
|
ui: {
|
|
24963
|
-
intent: "
|
|
25109
|
+
intent: "behavior",
|
|
24964
25110
|
visibleWhen: {
|
|
24965
25111
|
field: "variant",
|
|
24966
25112
|
equals: "combined"
|
|
@@ -25004,7 +25150,7 @@ const eventCalendarAdditionalFields = [
|
|
|
25004
25150
|
required: false,
|
|
25005
25151
|
defaultValue: true,
|
|
25006
25152
|
ui: {
|
|
25007
|
-
intent: "
|
|
25153
|
+
intent: "behavior",
|
|
25008
25154
|
visibleWhen: {
|
|
25009
25155
|
field: "variant",
|
|
25010
25156
|
oneOf: [
|
|
@@ -25040,7 +25186,7 @@ const eventCalendarAdditionalFields = [
|
|
|
25040
25186
|
}
|
|
25041
25187
|
],
|
|
25042
25188
|
ui: {
|
|
25043
|
-
intent: "
|
|
25189
|
+
intent: "behavior",
|
|
25044
25190
|
visibleWhen: { allOf: [{
|
|
25045
25191
|
field: "variant",
|
|
25046
25192
|
oneOf: [
|
|
@@ -25064,7 +25210,7 @@ const eventCalendarAdditionalFields = [
|
|
|
25064
25210
|
required: false,
|
|
25065
25211
|
defaultValue: false,
|
|
25066
25212
|
ui: {
|
|
25067
|
-
intent: "
|
|
25213
|
+
intent: "behavior",
|
|
25068
25214
|
visibleWhen: { allOf: [{
|
|
25069
25215
|
field: "variant",
|
|
25070
25216
|
oneOf: [
|
|
@@ -25088,7 +25234,7 @@ const eventCalendarAdditionalFields = [
|
|
|
25088
25234
|
required: false,
|
|
25089
25235
|
defaultValue: true,
|
|
25090
25236
|
ui: {
|
|
25091
|
-
intent: "
|
|
25237
|
+
intent: "behavior",
|
|
25092
25238
|
visibleWhen: { allOf: [{
|
|
25093
25239
|
field: "variant",
|
|
25094
25240
|
oneOf: [
|
|
@@ -25194,8 +25340,7 @@ const eventCalendarAdditionalFields = [
|
|
|
25194
25340
|
{
|
|
25195
25341
|
id: "eventSurface",
|
|
25196
25342
|
type: "select",
|
|
25197
|
-
label: "
|
|
25198
|
-
description: "Choose whether this block shows everything, regular classes, or workshops and special events.",
|
|
25343
|
+
label: "Which events",
|
|
25199
25344
|
required: false,
|
|
25200
25345
|
multiple: false,
|
|
25201
25346
|
defaultValue: "all",
|
|
@@ -25217,7 +25362,10 @@ const eventCalendarAdditionalFields = [
|
|
|
25217
25362
|
label: "Custom"
|
|
25218
25363
|
}
|
|
25219
25364
|
],
|
|
25220
|
-
ui: {
|
|
25365
|
+
ui: {
|
|
25366
|
+
intent: "behavior",
|
|
25367
|
+
widget: "eventSelectionChips"
|
|
25368
|
+
}
|
|
25221
25369
|
},
|
|
25222
25370
|
{
|
|
25223
25371
|
id: "filterEventPresets",
|
|
@@ -25227,34 +25375,10 @@ const eventCalendarAdditionalFields = [
|
|
|
25227
25375
|
required: false,
|
|
25228
25376
|
multiple: true,
|
|
25229
25377
|
defaultValue: [],
|
|
25230
|
-
options:
|
|
25231
|
-
{
|
|
25232
|
-
value: "course",
|
|
25233
|
-
label: "Courses"
|
|
25234
|
-
},
|
|
25235
|
-
{
|
|
25236
|
-
value: "class",
|
|
25237
|
-
label: "Classes"
|
|
25238
|
-
},
|
|
25239
|
-
{
|
|
25240
|
-
value: "workshop",
|
|
25241
|
-
label: "Workshops"
|
|
25242
|
-
},
|
|
25243
|
-
{
|
|
25244
|
-
value: "retreat",
|
|
25245
|
-
label: "Retreats"
|
|
25246
|
-
},
|
|
25247
|
-
{
|
|
25248
|
-
value: "performance",
|
|
25249
|
-
label: "Performances"
|
|
25250
|
-
}
|
|
25251
|
-
],
|
|
25378
|
+
options: EVENT_SELECTION_TYPE_OPTIONS.map((option) => ({ ...option })),
|
|
25252
25379
|
ui: {
|
|
25253
25380
|
intent: "behavior",
|
|
25254
|
-
|
|
25255
|
-
field: "eventSurface",
|
|
25256
|
-
equals: "custom"
|
|
25257
|
-
}
|
|
25381
|
+
hidden: true
|
|
25258
25382
|
}
|
|
25259
25383
|
},
|
|
25260
25384
|
{
|
|
@@ -25281,10 +25405,7 @@ const eventCalendarAdditionalFields = [
|
|
|
25281
25405
|
],
|
|
25282
25406
|
ui: {
|
|
25283
25407
|
intent: "behavior",
|
|
25284
|
-
|
|
25285
|
-
field: "eventSurface",
|
|
25286
|
-
equals: "custom"
|
|
25287
|
-
}
|
|
25408
|
+
hidden: true
|
|
25288
25409
|
}
|
|
25289
25410
|
},
|
|
25290
25411
|
createSiteOptionSelectField({
|
|
@@ -25331,13 +25452,7 @@ const eventCalendarAdditionalFields = [
|
|
|
25331
25452
|
intent: field.id === "_cardStyles" || field.id === "buttonVariant" ? "style" : "content"
|
|
25332
25453
|
}
|
|
25333
25454
|
})),
|
|
25334
|
-
|
|
25335
|
-
...emptyStateField,
|
|
25336
|
-
ui: {
|
|
25337
|
-
...emptyStateField.ui ?? {},
|
|
25338
|
-
intent: "display"
|
|
25339
|
-
}
|
|
25340
|
-
},
|
|
25455
|
+
emptyStateField,
|
|
25341
25456
|
sectionStylesField({
|
|
25342
25457
|
id: "_sectionStyles",
|
|
25343
25458
|
label: "Section styles",
|
|
@@ -25489,7 +25604,6 @@ const generatedEventCalendarManifest = createBlockManifestWithContentShape({
|
|
|
25489
25604
|
icon: "CalendarDays",
|
|
25490
25605
|
layout: eventCalendarLayout,
|
|
25491
25606
|
variants: eventCalendarVariants,
|
|
25492
|
-
arrangementOwnedFieldIds: ["defaultCalendarView"],
|
|
25493
25607
|
variantMeaning: eventCalendarVariantMeaning,
|
|
25494
25608
|
defaultVariant: "combined",
|
|
25495
25609
|
variantOptions: {
|
|
@@ -25507,7 +25621,11 @@ const eventCalendarBlockDefinition = {
|
|
|
25507
25621
|
fields: generatedEventCalendarManifest.fields?.map((field) => field.id === "variant" ? {
|
|
25508
25622
|
...field,
|
|
25509
25623
|
label: "Show events as",
|
|
25510
|
-
description: void 0
|
|
25624
|
+
description: void 0,
|
|
25625
|
+
ui: {
|
|
25626
|
+
...field.ui,
|
|
25627
|
+
widget: "segmented"
|
|
25628
|
+
}
|
|
25511
25629
|
} : field)
|
|
25512
25630
|
},
|
|
25513
25631
|
contentNormalizer: {
|
|
@@ -25764,7 +25882,7 @@ const groupOverrideFields = [
|
|
|
25764
25882
|
label: "Hide this card",
|
|
25765
25883
|
required: false,
|
|
25766
25884
|
defaultValue: false,
|
|
25767
|
-
ui: { intent: "
|
|
25885
|
+
ui: { intent: "behavior" }
|
|
25768
25886
|
},
|
|
25769
25887
|
{
|
|
25770
25888
|
id: "presentation",
|
|
@@ -25867,7 +25985,7 @@ const offeringsPreviewFields = [
|
|
|
25867
25985
|
label: "6 items"
|
|
25868
25986
|
}
|
|
25869
25987
|
],
|
|
25870
|
-
ui: { intent: "
|
|
25988
|
+
ui: { intent: "behavior" }
|
|
25871
25989
|
},
|
|
25872
25990
|
{
|
|
25873
25991
|
id: "groupOrder",
|
|
@@ -25881,7 +25999,7 @@ const offeringsPreviewFields = [
|
|
|
25881
25999
|
label: labelForOfferingPreviewSourceKey(sourceKey)
|
|
25882
26000
|
})),
|
|
25883
26001
|
ui: {
|
|
25884
|
-
intent: "
|
|
26002
|
+
intent: "behavior",
|
|
25885
26003
|
widget: "offeringGroupOrder"
|
|
25886
26004
|
}
|
|
25887
26005
|
},
|
|
@@ -25895,7 +26013,10 @@ const offeringsPreviewFields = [
|
|
|
25895
26013
|
itemLabel: "Offering card",
|
|
25896
26014
|
itemLabelSource: "title",
|
|
25897
26015
|
allowConversion: false,
|
|
25898
|
-
ui: {
|
|
26016
|
+
ui: {
|
|
26017
|
+
intent: "content",
|
|
26018
|
+
widget: "offeringCardChanges"
|
|
26019
|
+
},
|
|
25899
26020
|
schema: { fields: groupOverrideFields }
|
|
25900
26021
|
},
|
|
25901
26022
|
createButtonVariantField(),
|
|
@@ -26105,7 +26226,6 @@ const offeringsPreviewLayout = [styledSection({
|
|
|
26105
26226
|
spacing: "comfortable"
|
|
26106
26227
|
})];
|
|
26107
26228
|
const offeringsPreviewManifest = createBlockManifest({
|
|
26108
|
-
arrangementOwnedFieldIds: ["groupOverrides.presentation"],
|
|
26109
26229
|
variantMeaning: {
|
|
26110
26230
|
kind: "arrangement",
|
|
26111
26231
|
lookOnlyKeys: [
|
|
@@ -26800,7 +26920,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26800
26920
|
label: "Show arrows",
|
|
26801
26921
|
defaultValue: true,
|
|
26802
26922
|
ui: {
|
|
26803
|
-
intent: "
|
|
26923
|
+
intent: "display",
|
|
26804
26924
|
visibleWhen: {
|
|
26805
26925
|
field: "variant",
|
|
26806
26926
|
equals: "carousel"
|
|
@@ -26813,7 +26933,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26813
26933
|
label: "Show dots",
|
|
26814
26934
|
defaultValue: false,
|
|
26815
26935
|
ui: {
|
|
26816
|
-
intent: "
|
|
26936
|
+
intent: "display",
|
|
26817
26937
|
visibleWhen: {
|
|
26818
26938
|
field: "variant",
|
|
26819
26939
|
equals: "carousel"
|
|
@@ -26826,7 +26946,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26826
26946
|
label: "Autoplay",
|
|
26827
26947
|
defaultValue: false,
|
|
26828
26948
|
ui: {
|
|
26829
|
-
intent: "
|
|
26949
|
+
intent: "display",
|
|
26830
26950
|
visibleWhen: {
|
|
26831
26951
|
field: "variant",
|
|
26832
26952
|
equals: "carousel"
|
|
@@ -26857,7 +26977,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26857
26977
|
}
|
|
26858
26978
|
],
|
|
26859
26979
|
ui: {
|
|
26860
|
-
intent: "
|
|
26980
|
+
intent: "display",
|
|
26861
26981
|
visibleWhen: {
|
|
26862
26982
|
field: "variant",
|
|
26863
26983
|
equals: "carousel"
|
|
@@ -26877,7 +26997,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26877
26997
|
label: "Show on hover"
|
|
26878
26998
|
}],
|
|
26879
26999
|
ui: {
|
|
26880
|
-
intent: "
|
|
27000
|
+
intent: "display",
|
|
26881
27001
|
visibleWhen: {
|
|
26882
27002
|
field: "variant",
|
|
26883
27003
|
equals: "carousel"
|
|
@@ -26890,7 +27010,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26890
27010
|
label: "Loop slides",
|
|
26891
27011
|
defaultValue: true,
|
|
26892
27012
|
ui: {
|
|
26893
|
-
intent: "
|
|
27013
|
+
intent: "display",
|
|
26894
27014
|
visibleWhen: {
|
|
26895
27015
|
field: "variant",
|
|
26896
27016
|
equals: "carousel"
|
|
@@ -26950,7 +27070,7 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26950
27070
|
label: "Pause on hover",
|
|
26951
27071
|
defaultValue: true,
|
|
26952
27072
|
ui: {
|
|
26953
|
-
intent: "
|
|
27073
|
+
intent: "display",
|
|
26954
27074
|
visibleWhen: {
|
|
26955
27075
|
field: "variant",
|
|
26956
27076
|
equals: "marquee"
|
|
@@ -26988,6 +27108,16 @@ const imageGalleryFields = parseFieldDefinitions([
|
|
|
26988
27108
|
}
|
|
26989
27109
|
}
|
|
26990
27110
|
},
|
|
27111
|
+
{
|
|
27112
|
+
id: "blackAndWhite",
|
|
27113
|
+
type: "boolean",
|
|
27114
|
+
required: false,
|
|
27115
|
+
label: "Black and white",
|
|
27116
|
+
ui: {
|
|
27117
|
+
intent: "display",
|
|
27118
|
+
hidden: true
|
|
27119
|
+
}
|
|
27120
|
+
},
|
|
26991
27121
|
{
|
|
26992
27122
|
id: "imageFilter",
|
|
26993
27123
|
type: "select",
|
|
@@ -28769,7 +28899,6 @@ function shopProductPresentation(hydration, productId, index, count) {
|
|
|
28769
28899
|
}
|
|
28770
28900
|
const shopBlockDefinition = {
|
|
28771
28901
|
manifest: createBlockManifest({
|
|
28772
|
-
arrangementOwnedFieldIds: ["layout", "columns"],
|
|
28773
28902
|
variantMeaning: {
|
|
28774
28903
|
kind: "arrangement",
|
|
28775
28904
|
lookOnlyKeys: [
|
|
@@ -28810,7 +28939,7 @@ const shopBlockDefinition = {
|
|
|
28810
28939
|
description: "Lets visitors buy your class passes.",
|
|
28811
28940
|
required: false,
|
|
28812
28941
|
defaultValue: true,
|
|
28813
|
-
ui: { intent: "
|
|
28942
|
+
ui: { intent: "behavior" }
|
|
28814
28943
|
},
|
|
28815
28944
|
{
|
|
28816
28945
|
id: "showMemberships",
|
|
@@ -28819,7 +28948,7 @@ const shopBlockDefinition = {
|
|
|
28819
28948
|
description: "Lets visitors buy your memberships.",
|
|
28820
28949
|
required: false,
|
|
28821
28950
|
defaultValue: true,
|
|
28822
|
-
ui: { intent: "
|
|
28951
|
+
ui: { intent: "behavior" }
|
|
28823
28952
|
},
|
|
28824
28953
|
{
|
|
28825
28954
|
id: "layout",
|
|
@@ -28880,7 +29009,7 @@ const shopBlockDefinition = {
|
|
|
28880
29009
|
description: "Shows the description under each one.",
|
|
28881
29010
|
required: false,
|
|
28882
29011
|
defaultValue: true,
|
|
28883
|
-
ui: { intent: "
|
|
29012
|
+
ui: { intent: "behavior" }
|
|
28884
29013
|
},
|
|
28885
29014
|
{
|
|
28886
29015
|
id: "showValidityPeriod",
|
|
@@ -28889,7 +29018,7 @@ const shopBlockDefinition = {
|
|
|
28889
29018
|
description: "Shows how long each pass lasts, like 'Valid for 30 days'.",
|
|
28890
29019
|
required: false,
|
|
28891
29020
|
defaultValue: true,
|
|
28892
|
-
ui: { intent: "
|
|
29021
|
+
ui: { intent: "behavior" }
|
|
28893
29022
|
},
|
|
28894
29023
|
{
|
|
28895
29024
|
id: "showPricePerCredit",
|
|
@@ -28898,7 +29027,7 @@ const shopBlockDefinition = {
|
|
|
28898
29027
|
description: "Shows what each credit works out at, for passes and packs.",
|
|
28899
29028
|
required: false,
|
|
28900
29029
|
defaultValue: true,
|
|
28901
|
-
ui: { intent: "
|
|
29030
|
+
ui: { intent: "behavior" }
|
|
28902
29031
|
},
|
|
28903
29032
|
createButtonVariantField({
|
|
28904
29033
|
label: "Button style",
|
|
@@ -30009,7 +30138,7 @@ const newsletterSourceSchema = z.discriminatedUnion("source", [
|
|
|
30009
30138
|
])
|
|
30010
30139
|
}),
|
|
30011
30140
|
newsletterSourceCommonSchema.extend({
|
|
30012
|
-
source: z.
|
|
30141
|
+
source: z.enum(["signed-footer", "signed-hosted-booking"]),
|
|
30013
30142
|
sourceRef: z.object({
|
|
30014
30143
|
tag: z.literal("signed_source_ref"),
|
|
30015
30144
|
token: signedMailingListSourceTokenSchema
|
|
@@ -30039,7 +30168,7 @@ const newsletterHydrationSchema = z.object({
|
|
|
30039
30168
|
sourceRef: mailingListSignupBlockSourceRefSchema.nullable()
|
|
30040
30169
|
}),
|
|
30041
30170
|
z.object({
|
|
30042
|
-
tag: z.literal("signed-
|
|
30171
|
+
tag: z.literal("signed-source"),
|
|
30043
30172
|
sourceRef: z.object({
|
|
30044
30173
|
tag: z.literal("signed_source_ref"),
|
|
30045
30174
|
token: signedMailingListSourceTokenSchema
|
|
@@ -30095,7 +30224,7 @@ function buildNewsletterDisplay(source) {
|
|
|
30095
30224
|
buttonLabel: form.buttonLabel,
|
|
30096
30225
|
successMessage: source.interactionContext?.kind === "demo" ? NEWSLETTER_DEMO_MESSAGE : form.successMessage,
|
|
30097
30226
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
30098
|
-
privacyNote: form.privacyNote,
|
|
30227
|
+
privacyNote: newsletterPrivacyNote(source.source, form.privacyNote),
|
|
30099
30228
|
fields: getGlobalFormFields(form, source),
|
|
30100
30229
|
choices
|
|
30101
30230
|
};
|
|
@@ -30140,8 +30269,9 @@ function projectNewsletterFormHydrationTarget(source) {
|
|
|
30140
30269
|
};
|
|
30141
30270
|
default: return assertNever$1(source.newsletterBlockSubmission);
|
|
30142
30271
|
}
|
|
30272
|
+
case "signed-hosted-booking":
|
|
30143
30273
|
case "signed-footer": return {
|
|
30144
|
-
tag: "signed-
|
|
30274
|
+
tag: "signed-source",
|
|
30145
30275
|
sourceRef: source.sourceRef
|
|
30146
30276
|
};
|
|
30147
30277
|
case "preview": return { tag: "preview" };
|
|
@@ -30183,6 +30313,10 @@ function parseRequiredMailingListSignedSourceToken(value) {
|
|
|
30183
30313
|
if (!parsed) throw new Error("Mailing-list signup signed source ref requires token");
|
|
30184
30314
|
return parsed;
|
|
30185
30315
|
}
|
|
30316
|
+
/** Hosted signup always explains preferences, alongside any owner-authored note. */
|
|
30317
|
+
function newsletterPrivacyNote(source, privacyNote) {
|
|
30318
|
+
return source !== "signed-hosted-booking" || privacyNote?.includes("Change your preferences or unsubscribe at any time.") ? privacyNote : [privacyNote, DEFAULT_MAILING_LIST_PRIVACY_NOTE].filter(Boolean).join(" ");
|
|
30319
|
+
}
|
|
30186
30320
|
//#endregion
|
|
30187
30321
|
//#region ../blocks/src/system/blocks/newsletter-signup.ts
|
|
30188
30322
|
const stackedComposition = composeFragments([{ fragment: newsletterCopyFragment }, { fragment: newsletterFormFragment }]);
|
|
@@ -30788,15 +30922,6 @@ const teamMembersBlockDefinition = {
|
|
|
30788
30922
|
stack: [when("content._effectiveLook", { not: true })(stackVariant), when("content._effectiveLook")(cardListVariant)],
|
|
30789
30923
|
...Object.fromEntries(arrangementOnlyKeys.map((key) => [key, cardListVariant]))
|
|
30790
30924
|
},
|
|
30791
|
-
arrangementOwnedFieldIds: [
|
|
30792
|
-
"layoutWidth",
|
|
30793
|
-
"thumbnailShape",
|
|
30794
|
-
"thumbnailPadding",
|
|
30795
|
-
"imageColSize",
|
|
30796
|
-
"stackImagePosition",
|
|
30797
|
-
"stackContentAlignment",
|
|
30798
|
-
"gap"
|
|
30799
|
-
],
|
|
30800
30925
|
variantMeaning: {
|
|
30801
30926
|
kind: "arrangement",
|
|
30802
30927
|
lookOnlyKeys: [...arrangementOnlyKeys]
|
|
@@ -31232,21 +31357,21 @@ const locationMapBlockDefinition = {
|
|
|
31232
31357
|
type: "boolean",
|
|
31233
31358
|
label: "Show opening hours",
|
|
31234
31359
|
defaultValue: true,
|
|
31235
|
-
ui: { intent: "
|
|
31360
|
+
ui: { intent: "behavior" }
|
|
31236
31361
|
}),
|
|
31237
31362
|
parseFieldDefinition({
|
|
31238
31363
|
id: "showAddressText",
|
|
31239
31364
|
type: "boolean",
|
|
31240
31365
|
label: "Show the address",
|
|
31241
31366
|
defaultValue: true,
|
|
31242
|
-
ui: { intent: "
|
|
31367
|
+
ui: { intent: "behavior" }
|
|
31243
31368
|
}),
|
|
31244
31369
|
parseFieldDefinition({
|
|
31245
31370
|
id: "showDirections",
|
|
31246
31371
|
type: "boolean",
|
|
31247
31372
|
label: "Show directions button",
|
|
31248
31373
|
defaultValue: true,
|
|
31249
|
-
ui: { intent: "
|
|
31374
|
+
ui: { intent: "behavior" }
|
|
31250
31375
|
}),
|
|
31251
31376
|
parseFieldDefinition({
|
|
31252
31377
|
id: "directionsLabel",
|
|
@@ -31255,7 +31380,7 @@ const locationMapBlockDefinition = {
|
|
|
31255
31380
|
defaultValue: LOCATION_MAP_DEFAULTS.directionsLabel,
|
|
31256
31381
|
maxLength: 60,
|
|
31257
31382
|
ui: {
|
|
31258
|
-
intent: "
|
|
31383
|
+
intent: "behavior",
|
|
31259
31384
|
visibleWhen: {
|
|
31260
31385
|
field: "showDirections",
|
|
31261
31386
|
equals: true
|
|
@@ -31267,7 +31392,7 @@ const locationMapBlockDefinition = {
|
|
|
31267
31392
|
type: "boolean",
|
|
31268
31393
|
label: "Show a wider area",
|
|
31269
31394
|
defaultValue: false,
|
|
31270
|
-
ui: { intent: "
|
|
31395
|
+
ui: { intent: "behavior" }
|
|
31271
31396
|
}),
|
|
31272
31397
|
parseFieldDefinition({
|
|
31273
31398
|
id: "googleMapsLabel",
|
|
@@ -31275,7 +31400,7 @@ const locationMapBlockDefinition = {
|
|
|
31275
31400
|
label: "Google Maps button label",
|
|
31276
31401
|
defaultValue: "Open in Google Maps",
|
|
31277
31402
|
maxLength: 60,
|
|
31278
|
-
ui: { intent: "
|
|
31403
|
+
ui: { intent: "behavior" }
|
|
31279
31404
|
}),
|
|
31280
31405
|
parseFieldDefinition({
|
|
31281
31406
|
id: "heightPx",
|
|
@@ -32168,4 +32293,4 @@ function listBlockDescriptors() {
|
|
|
32168
32293
|
}));
|
|
32169
32294
|
}
|
|
32170
32295
|
//#endregion
|
|
32171
|
-
export { RichText as $,
|
|
32296
|
+
export { RichText as $, pageTemplateFromEntry as $i, formattingTransforms as $n, lookSkinSlotTransform as $r, formatEventCompactDateRail as $t, buildOfferingsCatalogueListing as A, formatBookingPriceDisplay as Aa, parseFieldDefinition as Ai, bookingConsentCarrierSchema as An, heroCtaRowFragment as Ar, offeringsListingFor as At, buildEventCollectionListingDisplay as B, projectRepeaterGridLayout as Bi, contentTransforms as Bn, parseBackgroundContent as Br, buildEventListWeek as Bt, buildShopInteractiveIslandProps as C, getLocalScheduleDate as Ca, DEFAULT_MEDIA_FIELD_KINDS as Ci, getEventAvailability as Cn, blogFeaturedPostFragment as Cr, resolveEventRegistrationScopedEvents as Ct, passCardListContent as D, toBookingTimeZone as Da, builtInBlockKindsSchema as Di, groupPublicEventsByRun as Dn, testimonialsCarouselFragment as Dr, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Dt, membershipClassesLabel as E, resolveBookingBusinessTimeZone as Ea, blockSectionDeclarationShape as Ei, blockSiteTermsSchema as En, formCopyFragment as Er, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as Et, projectRecurringSchedule as F, resolveExactOrFreePriceDisplay as Fa, NodeSchema as Fi, siteFooterManifest as Fn, defineFragment as Fr, ThemedButton as Ft, resolveCalendarReadProfile as G, resolveRepeaterGridColumnsForBreakpoint as Gi, resolveDateRuntimeContext as Gn, resolveBackgroundColorValue as Gr, formatEventPriceDisplay as Gt, eventCollectionHydrationSchema as H, buildRepeaterGridLayout as Hi, teamMemberBiography as Hn, parseRuntimeBackgroundContent as Hr, weekColumnDays as Ht, eventListingBlockDefinition as I, resolvePricingOptionsPriceDisplay as Ia, bindingSchema as Ii, siteHeaderManifest as In, boxStylesTransforms as Ir, ThemedButtonLink as It, CardListContentPart as J, augmentManifest as Ji, chromeLogoTransforms as Jn, BACKGROUND_POSITION_PRESET_VALUES as Jr, eventDateOptions as Jt, catalogueEventCardProps as K, resolveRepeaterGridRowFieldId as Ki, mediaTransforms as Kn, ctaButton as Kr, buildCalendarViewport as Kt, buildEventListingInteractiveIslandProps as L, formatCurrencyAmount as La, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Li, composeHeaderSectionWrapperClassName as Ln, boxStyleClassNames as Lr, ThemedDownloadLink as Lt, eventCalendarBlockDefinition as M, publicEventPricingCurrency as Ma, validateManifestLookField as Mi, FEATURE_CARD_ICON_TREATMENTS as Mn, isBlockButtonRole as Mr, resolveOfferingsPreviewGroups as Mt, buildEventCalendarInteractiveIslandProps as N, publicEventPricingDisplay as Na, sdkBlockPresentationShape as Ni, resolveFeatureCardGeneratedIconSizePx as Nn, heroCopyFragment as Nr, resolveOfferingsRenderInput as Nt, offeringsPreviewBlockDefinition as O, toScheduledBookingDateTime as Oa, fieldSchema as Oi, publicEventsArraySchema as On, testimonialsHeadingFragment as Or, buildOfferingsPreviewListing as Ot, buildEventCalendarListingDisplay as P, publicEventPricingType as Pa, validateSdkBlockDeclaration as Pi, shouldReserveFeatureCardIconZone as Pn, bodyCopyFragment as Pr, ThemedAuthoredButton as Pt, MediaNodeServer as Q, loadedReadinessFact as Qi, uiTransforms as Qn, lookQuoteLimitTransform as Qr, formatEventClockLabel as Qt, buildEventCollectionDisplay as R, parseCurrencyCode as Ra, linkSchema as Ri, markEditableSurfaceForwarding as Rn, normalizeBoxStylesBorder as Rr, getIconComponent as Rt, buildProductListInteractiveIslandProps as S, getBookingLocalDateKey as Sa, plainTextToInlineText as Si, formatTotalCapacity as Sn, faqHeadingFragment as Sr, normalizeEventRegistrationPageSurfaceSubject as St, membershipCardListContent as T, parseLocalScheduleTime as Ta, blockCategoryEnum as Ti, isEventFull as Tn, formEmbedFragment as Tr, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as Tt, eventCollectionSourceSchemaShape as U, parseRepeaterGridInteger as Ui, teamMemberCardBiography as Un, resolveSectionSurfaceForeground as Ur, formatEventPrice as Ut, eventCollectionDisplaySchemaShape as V, projectRepeaterGridLayoutForRendering as Vi, parseTeamMemberSpecialties as Vn, parseBackgroundOverlay as Vr, eventListWeekDays as Vt, calendarWindowQuerySchema as W, resolveRepeaterGridColumnFieldId as Wi, readRuntimeNow as Wn, resolveSurfaceForegroundStyles as Wr, formatEventPriceAmount as Wt, resolveCardListSchedule as X, chosenString as Xi, staticHeaderChromeRuntime as Xn, lookCarouselRegionTransform as Xr, formatCalendarTitle as Xt, CardListLeadDate as Y, isRecord$5 as Yi, layoutTransforms as Yn, getAnchorClasses as Yr, eventLocalDateKey as Yt, selectCardListPresentation as Z, admitReadinessFacts as Zi, resolveHeroTitleLength as Zn, lookLeadSlotTransform as Zr, formatDate as Zt, productListBlockDefinition as _, formatDateRange as _a, MinusIcon as _i, resolveRuntimeEventDestination as _n, clsx as _r, previewStageSchema as _t, normalizeLocationMapSource as a, buildMailingListSignupBlockSourceRef as aa, buildGeneratedBlockIconRenderAssetLookupFromUnknown as ai, groupEventsByDate as an, defineInteractiveIslandMetaKeys as ar, resolveImageUrlWithContext as at, buildCheckoutInteractiveIslandProps as b, compareLocalScheduleDates as ba, isInlineTextEmpty as bi, canJoinEventWaitlistOnAnyMode as bn, cardFragment as br, eventCalendarListLayoutOptions as bt, sanitizeNewsletterSignupPublicContent as c, parseMailingListPlacementTargeting as ca, ArrowDownIcon as ci, getLocalMinuteOfDay as cn, defineProgressiveBlockRuntime as cr, getCurrentResolveImageUrlContext as ct, newsletterBlockSubmissionMessage as d, locationValueSchema as da, CirclePlusIcon as di, getDayOfWeek as dn, listLookSlot as dr, getCardOrientation as dt, unavailableReadinessFact as ea, asPartialObject as ei, formatEventDateParts as en, formatDate$1 as er, ImagePresets as et, giftingBlockDefinition as f, normalizeLocationAddressText as fa, ClockIcon as fi, getOrderedDayNames as fn, lookListPresentationSchemaShape as fr, getContainerClass as ft, productDetailBlockDefinition as g, formatDate$2 as ga, FileTextIcon as gi, isToday as gn, Grid as gr, bookingNowSchema as gt, cartBlockDefinition as h, mapDrawingSchema as ha, FileSpreadsheetIcon as hi, isSameCalendarDay as hn, standardAspectRatioOptions as hr, buildEventRegistrationInteractiveIslandProps as ht, normalizeLocationMapProps as i, resolveWholeSeriesBookingPhase as ia, when as ii, formatTime as in, createInteractiveIslandCodec as ir, resolveImageUrl as it, offeringsCatalogueShape as j, isPublicEventPricingOptionDisplayable as ja, parseFieldDefinitions as ji, blockBookingPaymentTermsSchema as jn, ctaRowFragment as jr, resolveOfferingsPreviewGroupCta as jt, publicRouteCandidatesSchema as k, toUtcIsoDateTimeString as ka, normalizeSelectSource as ki, blockBookingConsentSchema as kn, ctaCopyFragment as kr, normalizeOfferingsPreviewItemLimit as kt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as l, sameMailingListPlacementTargeting as la, ChevronDownIcon as li, addDays as ln, listItemPresentation as lr, setContextResolveImageUrlContext as lt, checkoutBlockDefinition as m, publicLocationSchema as ma, FileAudioIcon as mi, getWeekCalendarDays as mn, itemRole as mr, eventRegistrationBlockDefinition as mt, listBlockDescriptors as n, nextLiveRunSessionStartMs as na, runTransforms as ni, formatEventNextDateFact as nn, buildFormInteractiveIslandProps as nr, computeMediaTransformStyle as nt, resolveLocationMapLocation as o, parseMailingListRuntimeContext as oa, parseBlockIconValue as oi, resolveEventTimeZone as on, createZodCodec as or, resolvePublicMediaUrl as ot, buildGiftingInteractiveIslandProps as p, projectPublicLocation as pa, FileArchiveIcon as pi, getWeekCalendarDayTuple as pn, resolvedItemSurfaceProps as pr, resolveEventSelection as pt, listingEventCardProps as q, resolveRepeaterGridSpanFieldId as qi, headerRuntimeTransforms as qn, standardImageShapeOptions as qr, eventCalendarWeekStart as qt, normalizeBlockContent as r, orderedLiveRunSessions as ra, el as ri, formatEventTimeRange as rn, buildInteractiveIslandProps as rr, resolveImageSourceSetWithContext as rt, newsletterSignupBlockDefinition as s, parseMailingListProviderScope as sa, resolveBlockIconRenderValue as si, getLocalDateKey as sn, defineClientOwnedBlockRuntime as sr, buildResolveImageUrlContext as st, getBlockDefinition as t, CANCELLED_SESSION_STATUS as ta, createTransformRegistry as ti, formatEventHourLabel as tn, formBlockDefinition as tr, MediaPlaceholder as tt, buildNewsletterFormInteractiveIslandProps as u, decideLocationSourcePermission as ua, CircleMinusIcon as ui, formatDateKey as un, listLookControl as ur, sanitizeHref as ut, shopBlockDefinition as v, formatDateTimeRange as va, PlusIcon as vi, formatBookingSchedulePresentation as vn, richTextFragment as vr, eventCalendarListGroupingDecision as vt, shopProductPresentation as w, parseBookingLocalDate as wa, PUBLIC_FILE_FIELD_KINDS as wi, getEventAvailabilityStatus as wn, singleButtonFragment as wr, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as wt, buildProductDetailInteractiveIslandProps as x, formatBookingCompactEnglishTime as xa, parseInlineTextFromUnknown as xi, formatEventRemainingPlaces as xn, faqAccordionFragment as xr, resolveEventCalendarReadPlan as xt, buildCartInteractiveIslandProps as y, inferSiteDateLocale as ya, inlineTextToPlainText as yi, browserReadAuthoritySchema as yn, headingFragment as yr, eventCalendarListLayoutCompatibleDisplayModeValues as yt, buildEventCollectionHydration as z, PUBLIC_DOWNLOAD_MEDIA_TYPES as zi, splitPositioningClasses as zn, resolveCardRoleForBoxStyles as zr, SpinnerNode as zt };
|