@riverbankcms/sdk 0.158.0 → 0.159.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -2
- package/dist/_dts/{BlocksIslandsHydrator-BgNBtEai.d.ts → BlocksIslandsHydrator-Cj1i1Yhh.d.ts} +1 -1
- package/dist/_dts/{Page-DpCo8zXD.d.ts → Page-Cgzbv22M.d.ts} +6 -6
- package/dist/_dts/{SdkPreviewMode-Bv2TMscG.d.ts → SdkPreviewMode-BC_FGc6b.d.ts} +2 -2
- package/dist/_dts/{client-B960v2gW.d.ts → client-BOK-YHVJ.d.ts} +23 -1
- package/dist/_dts/{content-types-CN0Wy8V6.d.ts → content-types-CsrYWxq_.d.ts} +2 -2
- package/dist/_dts/{contracts-BFUrby76.d.ts → contracts-ClgMD-9g.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CmoqleLS.d.ts → footerPageOutline-C_IDuELl.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-Dkvivc3R.d.ts → generatePageMetadata-B7bhYSWx.d.ts} +5 -2
- package/dist/_dts/{hosted-booking-appearance-BIbit60h.d.ts → hosted-booking-appearance-ChGCQYdQ.d.ts} +15 -7
- package/dist/_dts/{index-Ba6RmuxX.d.ts → index-BZ4fb2zz.d.ts} +3 -3
- package/dist/_dts/{index-DCNu_8it.d.ts → index-CcaG6O13.d.ts} +4 -4
- package/dist/_dts/{index-DfkFWUxt.d.ts → index-Ci1PEk82.d.ts} +1 -1
- package/dist/_dts/{index-DaS_z6ir.d.ts → index-DMOfW1A7.d.ts} +1 -1
- package/dist/_dts/{index-DpgkhY-a.d.ts → index-Dt3XSGzY.d.ts} +2 -2
- package/dist/_dts/{index-DPfI2t5A.d.ts → index-DzUdUaJ-.d.ts} +2 -2
- package/dist/_dts/{loadContent-DvvKF4nB.d.ts → loadContent-C1JI2pG0.d.ts} +7 -7
- package/dist/_dts/{navigation-n-eTVTIQ.d.ts → navigation-BnV_hOZy.d.ts} +20 -19
- package/dist/_dts/{resolvePageContent-D0lGwVD6.d.ts → resolvePageContent-BtRUtrJa.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +6 -6
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +8 -2
- package/dist/_dts/sdk/src/navigation/index.d.ts +2 -2
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-BY7PgnDi.d.ts → types--oWXIfyz.d.ts} +7 -7
- package/dist/_dts/{types-BJrRUaY7.d.ts → types-CI9dYWJ8.d.ts} +2 -2
- package/dist/_dts/{types-maEnXL6Z.d.ts → types-CMFIZGUI.d.ts} +3 -3
- package/dist/_dts/{validation-BjuVrMrs.d.ts → validation-Ct-GL0eA.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-WRLS96Ev.mjs → BlocksIslandsHydrator-DKS8Ba30.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-eovghMPa.mjs → BookingMailingListNote-Cg9v6d7Y.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CIcMQRc1.mjs → CalendarNavigationChevron-BoVCTUXy.mjs} +5 -5
- package/dist/client/{DemoBookingPortalAccess-CdnFgDyQ.mjs → DemoBookingPortalAccess-BxRVCJG3.mjs} +3 -3
- package/dist/client/{EventCalendar.client-Dc-ZLxKo.mjs → EventCalendar.client-BI-kvwXf.mjs} +8 -8
- package/dist/client/{EventCombined.client-C93XqRIv.mjs → EventCombined.client-DIvnoN5l.mjs} +6 -6
- package/dist/client/{EventItem-DnCTygqk.mjs → EventItem-BRMtEaa6.mjs} +3 -3
- package/dist/client/{EventListWeekNavigation-9h97heuQ.mjs → EventListWeekNavigation-B8DzAUDa.mjs} +1 -1
- package/dist/client/{EventListing.client-DFKlQvvs.mjs → EventListing.client-Bo4qzQi0.mjs} +3 -3
- package/dist/client/{EventListing.view-pAuTDyrP.mjs → EventListing.view-D2vemnCx.mjs} +4 -4
- package/dist/client/{EventRegistrationPayment-rgKlBvhP.mjs → EventRegistrationPayment-e5XWtygG.mjs} +120 -88
- package/dist/client/{LeafletStaticMap-3XiWSgy0.mjs → LeafletStaticMap-dlapZ6mi.mjs} +1 -1
- package/dist/client/{Page-BmpeAwID.mjs → Page-Dqpv9Ggi.mjs} +16 -13
- package/dist/client/{StepIndicator-qEq6X5zP.mjs → StepIndicator-BrvKa_8H.mjs} +2 -2
- package/dist/client/{accordion-DeObOasQ.mjs → accordion-ByLpb4Dz.mjs} +1 -1
- package/dist/client/{booking-form.client-DfWeF0lj.mjs → booking-form.client-BLndwxpx.mjs} +9 -9
- package/dist/client/{bookingForm-TnzIBHx2.mjs → bookingForm-CTxTEgHX.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-kkFnbr5Z.mjs → carousel-C8ef0vnT.mjs} +1 -1
- package/dist/client/{cart-BAXNbFux.mjs → cart-BpH6jkUO.mjs} +3 -3
- package/dist/client/{cart.client-BczxUF70.mjs → cart.client-DV78Td13.mjs} +1 -1
- package/dist/client/{checkout-C5NRhPeP.mjs → checkout-BJVb2RpL.mjs} +3 -3
- package/dist/client/{checkout.client-BuDk3Td9.mjs → checkout.client-CqGPXPSm.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-CVsgML69.mjs → context-BRgBWthI.mjs} +1 -1
- package/dist/client/{cta-BWnUuJce.mjs → cta-D8ucLsvX.mjs} +1 -1
- package/dist/client/dateFormatting-LeKNQ-iX.mjs +61 -0
- package/dist/client/{demoPortalMagicLink-CUlwvmxf.mjs → demoPortalMagicLink-CjstiFPh.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Cw8nnFj-.mjs → enhanceHeaderSection-BaQJyI9x.mjs} +2 -2
- package/dist/client/{event-details.client-Bl0E_6Vi.mjs → event-details.client-CYNQYOsP.mjs} +2 -2
- package/dist/client/{event-registration.client-DmfLg_LC.mjs → event-registration.client-DDqSpN36.mjs} +31 -17
- package/dist/client/{eventCalendar-D1Dwb9VA.mjs → eventCalendar-3vQtuC9X.mjs} +4 -4
- package/dist/client/{eventCombined-DfsqY1qR.mjs → eventCombined-CEJFMjqV.mjs} +4 -4
- package/dist/client/{eventDetails-BmugDVoa.mjs → eventDetails-nGh47jef.mjs} +2 -2
- package/dist/client/{eventListing-BPAGJi3C.mjs → eventListing-BL3Ptb83.mjs} +4 -4
- package/dist/client/{eventRegistration-DBlz_x6u.mjs → eventRegistration-DDSO6KB2.mjs} +4 -4
- package/dist/client/{form-DVu3ZMjx.mjs → form-DjNLfy2Z.mjs} +3 -3
- package/dist/client/{form.client-QZUyABIY.mjs → form.client-Cj0By6ot.mjs} +3 -3
- package/dist/client/{form.parts-Bs0F3v08.mjs → form.parts-DyA9C5Hy.mjs} +1 -1
- package/dist/client/{formatDate-BD9D3dgo.mjs → formatDate-CZo0MPTA.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BQwWW4Yy.mjs → headerSection-JjSq6Mzp.mjs} +2 -2
- package/dist/client/{location-map.client-upKuwABk.mjs → location-map.client-DRN1JePj.mjs} +2 -2
- package/dist/client/{location-map.view-RuBCD10O.mjs → location-map.view-CuCvQdvp.mjs} +2 -2
- package/dist/client/{locationMap-1sCbsk0V.mjs → locationMap-B9srHHzZ.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DBTU3oNv.mjs → newsletter-form.client-C2EgEBP1.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-C9I9JBhe.mjs → newsletter-form.parts-CaldoFmi.mjs} +1 -1
- package/dist/client/{newsletterForm-DTPtTxxG.mjs → newsletterForm-hm7L17LM.mjs} +3 -3
- package/dist/client/{noop-DMFt3KdC.mjs → noop-M8FTSgm2.mjs} +2 -2
- package/dist/client/portal/client.mjs +10 -67
- package/dist/client/{product-detail.client-BX7M5o6p.mjs → product-detail.client-y86uwzEI.mjs} +1 -1
- package/dist/client/{product-list.client-i32QNY4c.mjs → product-list.client-_JBndYZT.mjs} +1 -1
- package/dist/client/{productDetail-DWjE9zm7.mjs → productDetail-D-9fb2cW.mjs} +3 -3
- package/dist/client/{productList-DZH9_brv.mjs → productList-BSRlnwBW.mjs} +3 -3
- package/dist/client/{propsDecoder-CTzHkEkh.mjs → propsDecoder-DhbGL302.mjs} +3 -3
- package/dist/client/{registry.server-vJ5FlscU.mjs → registry.server-BaX0hxf5.mjs} +83 -63
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{richText-coerce-DXAmC72p.mjs → richText-coerce-Cny2Ukb6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-CmC7ygin.mjs → routeIslandApiConfig-96er7pIx.mjs} +1 -1
- package/dist/client/{shop-C7eL3B37.mjs → shop-CnIJfdZA.mjs} +3 -3
- package/dist/client/{shop-commerce-D8oRN0QJ.mjs → shop-commerce-CsLwzq5O.mjs} +9 -9
- package/dist/client/{shop-commerce-store-CRnQ4M18.mjs → shop-commerce-store--O8GRBwr.mjs} +1 -1
- package/dist/client/{shop.client-X6d6KVmA.mjs → shop.client-BcaJ-acA.mjs} +11 -10
- package/dist/client/{shop.interactive-DBMeM8VD.mjs → shop.interactive-BxL_bshW.mjs} +37 -3
- package/dist/client/{shopShared-Y182kN_s.mjs → shopShared-VZjPOfCX.mjs} +2 -2
- package/dist/client/{timetableModel-D7PwpaBY.mjs → timetableModel-D09jPdue.mjs} +5 -5
- package/dist/client/{useAvailableSlots-BDV6MHgJ.mjs → useAvailableSlots-pTXuY3jV.mjs} +2 -2
- package/dist/client/{useBookingNowIso-DgJEv3ZY.mjs → useBookingNowIso-D14J-EhJ.mjs} +1 -1
- package/dist/client/{useDiscountApply-BTu9EeT7.mjs → useDiscountApply-o5sIVZ2u.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-BfZxdxI-.mjs → useDiscountCodeUi-DJhFP_rg.mjs} +1 -1
- package/dist/client/{useEventPagination-pnvdHGeQ.mjs → useEventPagination-DMmNf2FP.mjs} +6 -6
- package/dist/client/{view-hJr_L4QC2.mjs → view-BgPql2yH2.mjs} +3 -3
- package/dist/client/{view-BPEa6Okm.mjs → view-D1R3Lk05.mjs} +13 -69
- package/dist/client/{wizardSteps-HdyGoIG3.mjs → wizardSteps-C0TsNqJc.mjs} +102 -37
- package/dist/preview-next/client/{PreviewEditorSidebar-CXRUbqMp.mjs → PreviewEditorSidebar-DADCj_ET.mjs} +67 -67
- package/dist/preview-next/client/{PreviewEditorUI-CxjEV0Fm.mjs → PreviewEditorUI-La40Dmmh.mjs} +3 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BxI12BBS.mjs → SdkPreviewModeRuntime-406Hw9zY.mjs} +130 -130
- package/dist/preview-next/client/{SdkPreviewModeRuntime-XdQSGGj_.mjs → SdkPreviewModeRuntime-CWN44I_B.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-CfRQRwpH.mjs → SiteChromeCustomizeContext-BdwEZoo9.mjs} +111593 -111244
- package/dist/preview-next/client/{previewChromeSurface-CH7hd5n7.mjs → previewChromeSurface-BVUKIYG0.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-C6xEU1LI.mjs → sdk-runtime-Cy9AKPy5.mjs} +1 -1
- package/dist/preview-next/client/{siteStyleAccess-CRXaC2oL.mjs → siteStyleAccess-CFMmoMZb.mjs} +1 -1
- package/dist/preview-next/client/{spinner-BTf1CZmy.mjs → spinner-Bhpzz2vO.mjs} +1 -1
- package/dist/server/{Block.shared-DLoilC2J.mjs → Block.shared-DB6fb1pR.mjs} +4 -4
- package/dist/server/{bindings-C7DKLVx_.mjs → bindings-z2daXp-2.mjs} +1 -1
- package/dist/server/{blocks-jlIm0PWc.mjs → blocks-BaG8Qpaa.mjs} +64 -29
- package/dist/server/{client-CU4wlMLE.mjs → client-Cv-osXoU.mjs} +1 -1
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{generatePageMetadata-CPvssVOp.mjs → generatePageMetadata-DB_lbrZ7.mjs} +28 -2
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-DmQ4BiiQ.mjs → loadContent-BNMDYCm8.mjs} +4 -4
- package/dist/server/{loadPage-BBkDQA57.mjs → loadPage-CjA_F_AF.mjs} +2 -2
- package/dist/server/loadPage-jade28Xh.mjs +2 -0
- package/dist/server/metadata.mjs +2 -2
- package/dist/server/next.mjs +12 -11
- package/dist/server/{overrideResolution-ByeAbLSO.mjs → overrideResolution-CGodrtqi.mjs} +1 -1
- package/dist/server/{overrides-BcA6ZPWf.mjs → overrides-DxRC724a.mjs} +73 -114
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-8T-m7XjB.mjs → prebuild-C6bhjRKT.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bjya-X9t.mjs → prefetchBlockData-DZ5Fq_-r.mjs} +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-D0ow8PRJ.mjs → resolveBlockData-CbGDakvp.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/{themeAdmission-D2-BnmDO.mjs → themeAdmission-DK2YBNqy.mjs} +8 -6
- package/dist/server/{validation-Cm41pDUB.mjs → validation-BtHE2S_D.mjs} +2 -2
- package/dist/server/{version-Bo9C3McI.mjs → version-CNCdL6id.mjs} +1 -1
- package/package.json +1 -1
- package/dist/server/loadPage-ZrcfjG3X.mjs +0 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $n as SURFACE_IDS, Qn as SURFACE_DOCUMENT_DATA_ATTRIBUTE, er as resolveSurfaceDocumentAttributes,
|
|
2
|
+
import { $n as SURFACE_IDS, Qn as SURFACE_DOCUMENT_DATA_ATTRIBUTE, er as resolveSurfaceDocumentAttributes, wi as cn } from "./SiteChromeCustomizeContext-BdwEZoo9.mjs";
|
|
3
3
|
import { useEffect, useRef } from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../ui/src/fixed-bottom-surface.tsx
|
|
@@ -5,13 +5,13 @@ import React from "react";
|
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/preview-next/client/runtime.tsx
|
|
7
7
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
8
|
-
return { default: (await import("./SdkPreviewModeRuntime-
|
|
8
|
+
return { default: (await import("./SdkPreviewModeRuntime-CWN44I_B.mjs")).SdkPreviewModeRuntime };
|
|
9
9
|
});
|
|
10
10
|
const LazyPreviewShell = React.lazy(async () => {
|
|
11
|
-
return { default: (await import("./sdk-runtime-
|
|
11
|
+
return { default: (await import("./sdk-runtime-Cy9AKPy5.mjs")).PreviewShell };
|
|
12
12
|
});
|
|
13
13
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
14
|
-
return { default: (await import("./sdk-runtime-
|
|
14
|
+
return { default: (await import("./sdk-runtime-Cy9AKPy5.mjs")).PreviewShellLayout };
|
|
15
15
|
});
|
|
16
16
|
function SdkPreviewMode(props) {
|
|
17
17
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewQueryProvider-BC0V7iAR.mjs";
|
|
3
|
-
import { n as PreviewShell, r as PreviewShellLayout } from "./SdkPreviewModeRuntime-
|
|
3
|
+
import { n as PreviewShell, r as PreviewShellLayout } from "./SdkPreviewModeRuntime-406Hw9zY.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
package/dist/preview-next/client/{siteStyleAccess-CRXaC2oL.mjs → siteStyleAccess-CFMmoMZb.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { Oi as parseSiteId, mt as isThemeV2NormalEditorRawStyleFieldName, vi as expectParsedBrandedId } from "./ThemedButton-BEOPss9H.mjs";
|
|
3
|
-
import { $
|
|
3
|
+
import { $t as LinkWidgetProvider, An as PaletteProvider, At as SiteOptionPickerField, Bt as EntryPickerWidgetProvider, Eo as getGradientPreset, Ft as loadMailingListAuthoringContext, G as usePreviewPageDesignEditorState, Gt as ReferenceField, H as arrangementVisibilityValues, Ht as ButtonWidgetProvider, In as evaluateVisibility, It as MailingListTargetingProvider, Jt as RichTextField, Kt as ReferenceWidgetProvider, Lt as InlineTextField, Mt as OfferingsPreviewGroupOrderField, Nn as createManifestFormAdapter, Nt as OfferingsPreviewWidgetProvider, Os as assertNever, Ot as createSiteOptionApiLoader, Pt as MailingListTargetingField, Qt as LinkField, Rt as IconPickerField, Sr as SelectValue, Ti as useField, To as GRADIENT_PRESETS, Ui as getBlockDefinition, Ut as FileField, V as arrangementOwnedFieldIds, Vt as ButtonVariantField, Wt as MediaField, Yn as unwrapResponse, Yt as RichTextWidgetProvider, ar as createStoreBackend, br as SelectItem, cn as BUILT_IN_REFERENCE_KINDS, cr as SdkConfigProvider, dr as mapCurrentValueForSelect, fr as mapOptionValueForSelect, hn as useEditorUiStoreInstance, in as getBlockManifestFromSdkConfig, jn as usePalette, jt as SiteOptionWidgetProvider, kt as createSiteOptionWidgetAdapters, lr as useSdkConfig, mr as FieldFrame, nn as prepareBlockEditorManifest, or as getFieldIntent, pr as unmapValueFromSelect, pt as useUISelector, qt as useRichTextImagePicker, rn as stripTopLevelRoutingUi, sa as buildThemeRuntime, sr as isHeaderField, tn as hideThemeV2RawStyleFields, un as parseReferenceKind, ur as hasEmptyOption, vr as Select, wi as cn, wo as gradientToCss, xr as SelectTrigger, yr as SelectContent, zt as EntryPickerField } from "./SiteChromeCustomizeContext-BdwEZoo9.mjs";
|
|
4
4
|
import { createContext, useCallback, useContext, useMemo, useState } from "react";
|
|
5
5
|
import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region ../block-form/src/widgets/SelectWidget.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Xr as Primitive, fi as LoaderCircle, wi as cn } from "./SiteChromeCustomizeContext-BdwEZoo9.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { D as renderBlock, E as makeDefaultBlockComponent, O as getDefaultComponentRegistry, S as toBlocksImageResolveContextInput, T as parseBlocksTheme, a as defaultOverrideOnlyRuntime, b as PageRenderer, c as getRiverbankEnv, g as renderWithSdkThemeRuntime, h as renderWithOverrideOnlyRuntime, m as planLayoutThemeRuntime, w as buildThemeRuntime } from "./overrides-
|
|
2
|
-
import {
|
|
3
|
-
import { i as buildRenderablePageOutline, p as resolveSiteCustomBlocks, r as requireSdkTheme } from "./themeAdmission-
|
|
4
|
-
import { d as resolveSdkFooterMode, n as prefetchBlockData, u as resolveFooterRenderPlan } from "./prefetchBlockData-
|
|
1
|
+
import { D as renderBlock, E as makeDefaultBlockComponent, O as getDefaultComponentRegistry, S as toBlocksImageResolveContextInput, T as parseBlocksTheme, a as defaultOverrideOnlyRuntime, b as PageRenderer, c as getRiverbankEnv, g as renderWithSdkThemeRuntime, h as renderWithOverrideOnlyRuntime, m as planLayoutThemeRuntime, w as buildThemeRuntime } from "./overrides-DxRC724a.mjs";
|
|
2
|
+
import { An as siteFooterManifest, Kr as getBlockDefinition, Xi as resolveDateRuntimeContext, Yi as readRuntimeNow, at as setContextResolveImageUrlContext, jn as siteHeaderManifest, rt as buildResolveImageUrlContext, ya as toUtcIsoDateTimeString } from "./blocks-BaG8Qpaa.mjs";
|
|
3
|
+
import { i as buildRenderablePageOutline, p as resolveSiteCustomBlocks, r as requireSdkTheme } from "./themeAdmission-DK2YBNqy.mjs";
|
|
4
|
+
import { d as resolveSdkFooterMode, n as prefetchBlockData, u as resolveFooterRenderPlan } from "./prefetchBlockData-DZ5Fq_-r.mjs";
|
|
5
5
|
import { n as buildFooterMenu, r as buildFooterMenuForRole, s as buildMenu, t as buildChromeLogoContent } from "./navigation-DAwbICEL.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ji as formatDate, fi as plainTextToInlineText } from "./blocks-BaG8Qpaa.mjs";
|
|
2
2
|
import { t as BINDING_TRANSFORMS } from "./bindings-DhmIW3Er.mjs";
|
|
3
3
|
import { a as isRecord, r as isRichTextDoc } from "./richTextSchema-YYc85FX4.mjs";
|
|
4
4
|
//#region ../blocks/src/bindings/types.ts
|
|
@@ -298,14 +298,14 @@ function parseEventPageSurfaceDestinationMode(value) {
|
|
|
298
298
|
}
|
|
299
299
|
function parseEventPageSurfaceSubject(value) {
|
|
300
300
|
if (!isRecord$11(value)) return err({ kind: "notObject" });
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}
|
|
301
|
+
const parsed = value.kind === "eventSeries" ? parseEventSeriesPageSurfaceSubject(value) : value.kind === "eventOffering" ? parseEventOfferingPageSurfaceSubject(value) : err({
|
|
302
|
+
kind: "unsupportedSubject",
|
|
303
|
+
subjectKind: value.kind
|
|
304
|
+
});
|
|
305
|
+
return parsed.ok && value.noindex === true ? ok$1({
|
|
306
|
+
...parsed.value,
|
|
307
|
+
noindex: true
|
|
308
|
+
}) : parsed;
|
|
309
309
|
}
|
|
310
310
|
function parseEventSeriesPageSurfaceSubject(value) {
|
|
311
311
|
const eventSeriesId = parseEventSeriesId(value.eventSeriesId);
|
|
@@ -3199,6 +3199,7 @@ function flowRepeaterGridItems(items, columns) {
|
|
|
3199
3199
|
}];
|
|
3200
3200
|
}, []);
|
|
3201
3201
|
}
|
|
3202
|
+
/** @internal */
|
|
3202
3203
|
function orderedGridItems(layout) {
|
|
3203
3204
|
return [...layout.placements].sort((a, b) => a.sourceIndex - b.sourceIndex);
|
|
3204
3205
|
}
|
|
@@ -3240,6 +3241,7 @@ function buildRepeaterGridLayout(input) {
|
|
|
3240
3241
|
const overCapacity = maxRows != null && maxRowUsed > maxRows;
|
|
3241
3242
|
return {
|
|
3242
3243
|
placementPolicy: input.placementPolicy,
|
|
3244
|
+
sourceItems: input.items.map((item) => ({ ...item })),
|
|
3243
3245
|
columns,
|
|
3244
3246
|
maxRows,
|
|
3245
3247
|
capacityCells,
|
|
@@ -3278,6 +3280,8 @@ function findFirstAvailableRepeaterGridPlacement(input) {
|
|
|
3278
3280
|
columns
|
|
3279
3281
|
}).size === 0) ?? null;
|
|
3280
3282
|
}
|
|
3283
|
+
//#endregion
|
|
3284
|
+
//#region ../blocks/src/system/layout/repeaterGrid.ts
|
|
3281
3285
|
/** Narrow rendering is a projection only. Never feed these placements into an authoring write. */
|
|
3282
3286
|
function projectRepeaterGridLayout(layout, columns) {
|
|
3283
3287
|
if (isRepeaterGridLayoutInvalid(layout)) return projectRepeaterGridLayoutForRendering(layout, columns);
|
|
@@ -17573,7 +17577,7 @@ const publicEventAttendanceModeSchema = z.enum(["in_person", "online"]);
|
|
|
17573
17577
|
const publicEventAttendanceModeAvailabilitySchema = z.object({
|
|
17574
17578
|
mode: publicEventAttendanceModeSchema,
|
|
17575
17579
|
capacity: z.number().nullable(),
|
|
17576
|
-
registeredCount: z.number(),
|
|
17580
|
+
registeredCount: z.number().nullable(),
|
|
17577
17581
|
availableSpots: z.number().nullable(),
|
|
17578
17582
|
waitlistEnabled: z.boolean()
|
|
17579
17583
|
});
|
|
@@ -17732,7 +17736,7 @@ const publicEventBaseSchema = z.object({
|
|
|
17732
17736
|
startsAt: z.string(),
|
|
17733
17737
|
endsAt: z.string(),
|
|
17734
17738
|
capacity: z.number().nullable(),
|
|
17735
|
-
registeredCount: z.number(),
|
|
17739
|
+
registeredCount: z.number().nullable(),
|
|
17736
17740
|
availableSpots: z.number().nullable(),
|
|
17737
17741
|
waitlistEnabled: z.boolean(),
|
|
17738
17742
|
venue: eventVenueSchema.nullable(),
|
|
@@ -18114,6 +18118,10 @@ function getEventAvailability(event) {
|
|
|
18114
18118
|
available: null,
|
|
18115
18119
|
isFull: false
|
|
18116
18120
|
};
|
|
18121
|
+
if (event.registeredCount === null) return {
|
|
18122
|
+
available: 0,
|
|
18123
|
+
isFull: true
|
|
18124
|
+
};
|
|
18117
18125
|
const available = event.availableSpots ?? event.capacity - event.registeredCount;
|
|
18118
18126
|
if (available <= 0) return {
|
|
18119
18127
|
available: 0,
|
|
@@ -18167,12 +18175,12 @@ function lowCapacityThreshold(capacity) {
|
|
|
18167
18175
|
}
|
|
18168
18176
|
function getRemainingPlaces(source) {
|
|
18169
18177
|
const { available, isFull } = getEventAvailability(source);
|
|
18170
|
-
if (available === null
|
|
18178
|
+
if (available === null) return { kind: "unlimited" };
|
|
18171
18179
|
if (isFull) return {
|
|
18172
18180
|
kind: "full",
|
|
18173
18181
|
waitlist: canJoinEventWaitlist(source)
|
|
18174
18182
|
};
|
|
18175
|
-
if (available <= lowCapacityThreshold(source.capacity)) return {
|
|
18183
|
+
if (source.capacity !== null && available <= lowCapacityThreshold(source.capacity)) return {
|
|
18176
18184
|
kind: "low",
|
|
18177
18185
|
remaining: available
|
|
18178
18186
|
};
|
|
@@ -18420,6 +18428,29 @@ const browserReadAuthoritySchema = z.discriminatedUnion("kind", [z.object({ kind
|
|
|
18420
18428
|
token: z.string().min(1)
|
|
18421
18429
|
}).strict()]);
|
|
18422
18430
|
//#endregion
|
|
18431
|
+
//#region ../blocks/src/system/runtime/nodes/events/shared/eventScheduleSummary.ts
|
|
18432
|
+
function bookingDateLocale(siteTimeZone) {
|
|
18433
|
+
return inferSiteDateLocale(resolveBookingBusinessTimeZone(siteTimeZone));
|
|
18434
|
+
}
|
|
18435
|
+
/** A stored local clock has no date or DST offset; UTC preserves its digits. */
|
|
18436
|
+
function formatBookingSchedulePresentation(event) {
|
|
18437
|
+
const summary = event.scheduleSummary;
|
|
18438
|
+
if (!summary) return null;
|
|
18439
|
+
const start = summary.startTime ? parseUtcIsoDateTimeString(`1970-01-01T${summary.startTime}:00Z`) : null;
|
|
18440
|
+
const time = start?.ok ? formatTime$1(start.value, {
|
|
18441
|
+
timeZone: resolveBookingTimeZoneId("UTC"),
|
|
18442
|
+
locale: bookingDateLocale(event.siteTimeZone)
|
|
18443
|
+
}, { zone: "omit" }) : null;
|
|
18444
|
+
return {
|
|
18445
|
+
text: [summary.recurrenceDescription, time].filter(Boolean).join(", "),
|
|
18446
|
+
clock: time
|
|
18447
|
+
};
|
|
18448
|
+
}
|
|
18449
|
+
/** Text-only consumers delegate to the same authored-clock presentation. */
|
|
18450
|
+
function formatBookingScheduleSummary(event) {
|
|
18451
|
+
return formatBookingSchedulePresentation(event)?.text ?? null;
|
|
18452
|
+
}
|
|
18453
|
+
//#endregion
|
|
18423
18454
|
//#region ../blocks/src/system/runtime/nodes/events/domain/destination.ts
|
|
18424
18455
|
function isRecord$3(value) {
|
|
18425
18456
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
@@ -18723,8 +18754,13 @@ function buildCalendarViewport(input) {
|
|
|
18723
18754
|
}
|
|
18724
18755
|
/** Tick digits are civil clock values, not session instants. */
|
|
18725
18756
|
function formatEventHourLabel(hour, timeZone) {
|
|
18726
|
-
return
|
|
18727
|
-
|
|
18757
|
+
return formatEventClockLabel(`${String(hour % 24).padStart(2, "0")}:00`, eventDateLocale(timeZone));
|
|
18758
|
+
}
|
|
18759
|
+
/** Weekly cadence and tick clocks are civil values; UTC only carries their components. */
|
|
18760
|
+
function formatEventClockLabel(value, locale) {
|
|
18761
|
+
const clock = parseLocalScheduleTime(value);
|
|
18762
|
+
return formatTime$1(toUtcIsoDateTimeString(new Date(Date.UTC(2e3, 0, 1, clock.hour, clock.minute)).toISOString()), {
|
|
18763
|
+
locale,
|
|
18728
18764
|
timeZone: resolveBookingBusinessTimeZone("UTC")
|
|
18729
18765
|
}, { zone: "omit" });
|
|
18730
18766
|
}
|
|
@@ -19239,20 +19275,6 @@ function bookingContext(input) {
|
|
|
19239
19275
|
zone
|
|
19240
19276
|
};
|
|
19241
19277
|
}
|
|
19242
|
-
function bookingDateLocale(siteTimeZone) {
|
|
19243
|
-
return inferSiteDateLocale(resolveBookingBusinessTimeZone(siteTimeZone));
|
|
19244
|
-
}
|
|
19245
|
-
/** A stored local clock has no date or DST offset; UTC preserves its digits. */
|
|
19246
|
-
function formatBookingScheduleSummary(event) {
|
|
19247
|
-
const summary = event.scheduleSummary;
|
|
19248
|
-
if (!summary) return null;
|
|
19249
|
-
const start = summary.startTime ? parseUtcIsoDateTimeString(`1970-01-01T${summary.startTime}:00Z`) : null;
|
|
19250
|
-
const time = start?.ok ? formatTime$1(start.value, {
|
|
19251
|
-
timeZone: resolveBookingTimeZoneId("UTC"),
|
|
19252
|
-
locale: bookingDateLocale(event.siteTimeZone)
|
|
19253
|
-
}, { zone: "omit" }) : null;
|
|
19254
|
-
return [summary.recurrenceDescription, time].filter(Boolean).join(", ");
|
|
19255
|
-
}
|
|
19256
19278
|
/** Variant meaning is closed here; core owns the resulting typography. */
|
|
19257
19279
|
const BOOKING_DATE_PRESENTATIONS = {
|
|
19258
19280
|
day: {
|
|
@@ -25433,6 +25455,7 @@ const recurringScheduleLayout = styledSection({
|
|
|
25433
25455
|
fallback: "secondary"
|
|
25434
25456
|
} }
|
|
25435
25457
|
}, [text({}, bind("content.seeAllLabel"))], when("content.seeAllUrl"))]), el("recurring-schedule", {
|
|
25458
|
+
dateContext: { $bind: { from: "$root.dateContext" } },
|
|
25436
25459
|
schedule: { $bind: { from: "data.schedule" } },
|
|
25437
25460
|
buttonText: { $bind: {
|
|
25438
25461
|
from: "content.buttonText",
|
|
@@ -28102,7 +28125,12 @@ const contentEntrySchema = z.object({
|
|
|
28102
28125
|
id: z.string().nullable().optional(),
|
|
28103
28126
|
slug: z.string().nullable().optional()
|
|
28104
28127
|
}).nullable();
|
|
28128
|
+
const shopDateContextSchema = z.object({
|
|
28129
|
+
locale: z.string(),
|
|
28130
|
+
timeZone: z.string().transform(resolveBookingBusinessTimeZone)
|
|
28131
|
+
});
|
|
28105
28132
|
const shopSourceSchema = z.object({
|
|
28133
|
+
dateContext: shopDateContextSchema.optional(),
|
|
28106
28134
|
...cardListPresentationSchemaShape,
|
|
28107
28135
|
featured: z.string().nullable().optional(),
|
|
28108
28136
|
className: z.string().nullable().optional(),
|
|
@@ -28267,6 +28295,7 @@ const checkoutDisplaySchema = z.object({
|
|
|
28267
28295
|
submitButtonText: z.string()
|
|
28268
28296
|
});
|
|
28269
28297
|
const passesMembershipsHydrationSchema = z.object({
|
|
28298
|
+
dateContext: shopDateContextSchema,
|
|
28270
28299
|
presentation: z.object(cardListPresentationSchemaShape).optional(),
|
|
28271
28300
|
featured: z.string().optional(),
|
|
28272
28301
|
memberships: z.array(publicMembershipProductSchema),
|
|
@@ -28338,6 +28367,7 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
28338
28367
|
const passPurchaseMode = source.passPurchaseMode ?? "add_to_cart";
|
|
28339
28368
|
const subscribeButtonText = source.subscribeButtonText ?? "Subscribe";
|
|
28340
28369
|
const products = shopDisplayedProducts(source);
|
|
28370
|
+
const dateContext = source.dateContext ?? resolveDateRuntimeContext(void 0);
|
|
28341
28371
|
return {
|
|
28342
28372
|
display: buildPassesMembershipsDisplay({
|
|
28343
28373
|
cardList: source.lookSlots !== void 0,
|
|
@@ -28358,6 +28388,10 @@ const shopBlockRuntime = defineProgressiveBlockRuntime({
|
|
|
28358
28388
|
hydration: {
|
|
28359
28389
|
...source.lookSlots ? { presentation: shopCardListPresentation(source) } : {},
|
|
28360
28390
|
...shopFeaturedProduct(source, products),
|
|
28391
|
+
dateContext: {
|
|
28392
|
+
locale: dateContext.locale,
|
|
28393
|
+
timeZone: dateContext.timeZone
|
|
28394
|
+
},
|
|
28361
28395
|
memberships: products.memberships,
|
|
28362
28396
|
passPurchaseMode,
|
|
28363
28397
|
buttonVariant: source.buttonVariant ?? "primary",
|
|
@@ -28810,6 +28844,7 @@ const shopBlockDefinition = {
|
|
|
28810
28844
|
featured: { $bind: { from: "content.featured" } },
|
|
28811
28845
|
readAuthority: { $bind: { from: "$root.readAuthority" } },
|
|
28812
28846
|
siteTerms: { $bind: { from: "$root.siteTerms" } },
|
|
28847
|
+
dateContext: { $bind: { from: "$root.dateContext" } },
|
|
28813
28848
|
demoEmailSuppressed: { $bind: {
|
|
28814
28849
|
from: "$root.demoEmailSuppressed",
|
|
28815
28850
|
fallback: false
|
|
@@ -31739,4 +31774,4 @@ function ensureSystemBlockDefinitionsRegistered() {
|
|
|
31739
31774
|
for (const definition of systemBlockDefinitions) registerBlockDefinition(definition);
|
|
31740
31775
|
}
|
|
31741
31776
|
//#endregion
|
|
31742
|
-
export { resolveImageSourceSetWithContext as $,
|
|
31777
|
+
export { resolveImageSourceSetWithContext as $, orderedLiveRunSessions as $i, listLookControl as $n, ChevronDownIcon as $r, formatTime as $t, buildEventCalendarInteractiveIslandProps as A, resolveRepeaterGridColumnFieldId as Ai, siteFooterManifest as An, parseRuntimeBackgroundContent as Ar, resolveOfferingsRenderInput as At, calendarWindowQuerySchema as B, boundaryLayout as Bi, staticHeaderChromeRuntime as Bn, lookLeadSlotTransform as Br, formatEventPriceDisplay as Bt, membershipClassesLabel as C, publicEventPricingDisplay as Ca, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Ci, publicEventsArraySchema as Cn, defineFragment as Cr, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as Ct, buildOfferingsCatalogueListing as D, formatCurrencyAmount as Da, projectRepeaterGridLayoutForRendering as Di, FEATURE_CARD_ICON_TREATMENTS as Dn, resolveCardRoleForBoxStyles as Dr, resolveOfferingsPreviewGroupCta as Dt, publicRouteCandidatesSchema as E, resolvePricingOptionsPriceDisplay as Ea, projectRepeaterGridLayout as Ei, blockBookingPaymentTermsSchema as En, normalizeBoxStylesBorder as Er, offeringsListingFor as Et, buildEventCollectionHydration as F, arrangementManifestFromVariants as Fi, contentTransforms as Fn, when as Fr, getIconComponent as Ft, CardListLeadDate as G, parseCanonicalRuntimeBackground as Gi, buildFormInteractiveIslandProps as Gn, runTransforms as Gr, formatCalendarTitle as Gt, catalogueEventCardProps as H, sectionFactsForContent as Hi, uiTransforms as Hn, lookSkinSlotTransform as Hr, eventCalendarWeekStart as Ht, buildEventCollectionListingDisplay as I, readStoredMode as Ii, mediaTransforms as In, standardImageShapeOptions as Ir, SpinnerNode as It, MediaNodeServer as J, formatDate$1 as Ji, defineInteractiveIslandMetaKeys as Jn, normalizeBlockContent as Jr, formatEventCompactDateRail as Jt, resolveCardListSchedule as K, resolveSectionBackground as Ki, buildInteractiveIslandProps as Kn, getBlockDefinition as Kr, formatDate as Kt, eventCollectionDisplaySchemaShape as L, resolveEffectiveArrangement as Li, headerRuntimeTransforms as Ln, BACKGROUND_POSITION_PRESET_VALUES as Lr, buildEventListWeek as Lt, eventListingBlockDefinition as M, resolveRepeaterGridRowFieldId as Mi, composeHeaderSectionWrapperClassName as Mn, resolveBackgroundColorValue as Mr, ThemedButton as Mt, buildEventListingInteractiveIslandProps as N, resolveRepeaterGridSpanFieldId as Ni, markEditableSurfaceForwarding as Nn, ctaButton as Nr, ThemedButtonLink as Nt, projectRecurringSchedule as O, parseCurrencyCode as Oa, buildRepeaterGridLayout as Oi, resolveFeatureCardGeneratedIconSizePx as On, parseBackgroundContent as Or, resolveOfferingsPreviewGroups as Ot, buildEventCollectionDisplay as P, augmentManifest as Pi, splitPositioningClasses as Pn, el as Pr, ThemedDownloadLink as Pt, computeMediaTransformStyle as Q, nextLiveRunSessionStartMs as Qi, listItemPresentation as Qn, ArrowDownIcon as Qr, formatEventTimeRange as Qt, eventCollectionHydrationSchema as R, resolveModeArrangement as Ri, chromeLogoTransforms as Rn, getAnchorClasses as Rr, formatEventPrice as Rt, membershipCardListContent as S, publicEventPricingCurrency as Sa, bindingSchema as Si, groupPublicEventsByRun as Sn, bodyCopyFragment as Sr, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as St, offeringsPreviewBlockDefinition as T, resolveExactOrFreePriceDisplay as Ta, PUBLIC_DOWNLOAD_MEDIA_TYPES as Ti, bookingConsentCarrierSchema as Tn, boxStyleClassNames as Tr, normalizeOfferingsPreviewItemLimit as Tt, listingEventCardProps as U, deriveSectionGround as Ui, formattingTransforms as Un, asPartialObject as Ur, eventDateOptions as Ut, resolveCalendarReadProfile as V, composeBoundary as Vi, resolveHeroTitleLength as Vn, lookQuoteLimitTransform as Vr, buildCalendarViewport as Vt, CardListContentPart as W, heroPhotoPaintsGround as Wi, formBlockDefinition as Wn, createTransformRegistry as Wr, eventLocalDateKey as Wt, ImagePresets as X, resolveDateRuntimeContext as Xi, defineClientOwnedBlockRuntime as Xn, parseBlockIconValue as Xr, formatEventHourLabel as Xt, RichText as Y, readRuntimeNow as Yi, createZodCodec as Yn, buildGeneratedBlockIconRenderAssetLookupFromUnknown as Yr, formatEventDateParts as Yt, MediaPlaceholder as Z, CANCELLED_SESSION_STATUS as Zi, defineProgressiveBlockRuntime as Zn, resolveBlockIconRenderValue as Zr, formatEventNextDateFact as Zt, buildCheckoutInteractiveIslandProps as _, toBookingTimeZone as _a, normalizeSelectSource as _i, formatTotalCapacity as _n, ctaCopyFragment as _r, resolveEventCalendarReadPlan as _t, sanitizeNewsletterSignupPublicContent as a, sameMailingListPlacementTargeting as aa, FileSpreadsheetIcon as ai, formatDateKey as an, clsx as ar, setContextResolveImageUrlContext as at, buildShopInteractiveIslandProps as b, formatBookingPriceDisplay as ba, previewCustomizeManifestCurationSchema as bi, isEventFull as bn, isBlockButtonRole as br, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as bt, newsletterBlockSubmissionMessage as c, formatDateTimeRange as ca, PlusIcon as ci, getWeekCalendarDayTuple as cn, cardFragment as cr, getContainerClass as ct, checkoutBlockDefinition as d, formatBookingCompactEnglishTime as da, parseInlineTextFromUnknown as di, isToday as dn, blogFeaturedPostFragment as dr, buildEventRegistrationInteractiveIslandProps as dt, resolveWholeSeriesBookingPhase as ea, CircleMinusIcon as ei, groupEventsByDate as en, listLookSlot as er, resolveImageUrl as et, cartBlockDefinition as f, getBookingLocalDateKey as fa, plainTextToInlineText as fi, resolveRuntimeEventDestination as fn, singleButtonFragment as fr, bookingNowSchema as ft, buildCartInteractiveIslandProps as g, resolveBookingBusinessTimeZone as ga, fieldSchema as gi, formatEventRemainingPlaces as gn, testimonialsHeadingFragment as gr, eventCalendarListLayoutOptions as gt, shopBlockDefinition as h, parseLocalScheduleTime as ha, blockCategoryEnum as hi, canJoinEventWaitlistOnAnyMode as hn, testimonialsCarouselFragment as hr, eventCalendarListLayoutCompatibleDisplayModeValues as ht, newsletterSignupBlockDefinition as i, parseMailingListPlacementTargeting as ia, FileAudioIcon as ii, addDays as in, Grid as ir, getCurrentResolveImageUrlContext as it, buildEventCalendarListingDisplay as j, resolveRepeaterGridColumnsForBreakpoint as ji, siteHeaderManifest as jn, resolveSurfaceForegroundStyles as jr, ThemedAuthoredButton as jt, eventCalendarBlockDefinition as k, parseRepeaterGridInteger as ki, shouldReserveFeatureCardIconZone as kn, parseBackgroundOverlay as kr, resolveOfferingsPreviewRunPath as kt, giftingBlockDefinition as l, inferSiteDateLocale as la, inlineTextToPlainText as li, getWeekCalendarDays as ln, faqAccordionFragment as lr, resolveEventSelection as lt, productListBlockDefinition as m, parseBookingLocalDate as ma, PUBLIC_FILE_FIELD_KINDS as mi, browserReadAuthoritySchema as mn, formCopyFragment as mr, eventCalendarListGroupingDecision as mt, normalizeLocationMapProps as n, parseMailingListRuntimeContext as na, ClockIcon as ni, getLocalDateKey as nn, itemRole as nr, resolvePublicMediaUrl as nt, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as o, formatDate$2 as oa, FileTextIcon as oi, getDayOfWeek as on, richTextFragment as or, sanitizeHref as ot, productDetailBlockDefinition as p, getLocalScheduleDate as pa, DEFAULT_MEDIA_FIELD_KINDS as pi, formatBookingSchedulePresentation as pn, formEmbedFragment as pr, previewStageSchema as pt, selectCardListPresentation as q, isRecord$5 as qi, createInteractiveIslandCodec as qn, listBlockDescriptors as qr, formatEventClockLabel as qt, toLocationMapHydrationProps as r, parseMailingListProviderScope as ra, FileArchiveIcon as ri, getLocalMinuteOfDay as rn, standardAspectRatioOptions as rr, buildResolveImageUrlContext as rt, buildNewsletterFormInteractiveIslandProps as s, formatDateRange as sa, MinusIcon as si, getOrderedDayNames as sn, headingFragment as sr, getCardOrientation as st, buildGoogleMapsDirectionsUrl as t, buildMailingListSignupBlockSourceRef as ta, CirclePlusIcon as ti, resolveEventTimeZone as tn, resolvedItemSurfaceProps as tr, resolveImageUrlWithContext as tt, buildGiftingInteractiveIslandProps as u, compareLocalScheduleDates as ua, isInlineTextEmpty as ui, isSameCalendarDay as un, faqHeadingFragment as ur, eventRegistrationBlockDefinition as ut, buildProductDetailInteractiveIslandProps as v, toScheduledBookingDateTime as va, parseFieldDefinition as vi, getEventAvailability as vn, heroCtaRowFragment as vr, normalizeEventRegistrationPageSurfaceSubject as vt, passCardListContent as w, publicEventPricingType as wa, linkSchema as wi, blockBookingConsentSchema as wn, boxStylesTransforms as wr, buildOfferingsPreviewListing as wt, shopProductPresentation as x, isPublicEventPricingOptionDisplayable as xa, NodeSchema as xi, blockSiteTermsSchema as xn, heroCopyFragment as xr, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as xt, buildProductListInteractiveIslandProps as y, toUtcIsoDateTimeString as ya, parseFieldDefinitions as yi, getEventAvailabilityStatus as yn, ctaRowFragment as yr, resolveEventRegistrationScopedEvents as yt, eventCollectionSourceSchemaShape as z, resolvePublishedLook as zi, layoutTransforms as zn, lookCarouselRegionTransform as zr, formatEventPriceAmount as zt };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as createBearerAPIClient, c as ApiEnvelopeError, f as isSupportedLoaderEndpoint, h as publicReadFreshnessSeconds, i as ApiRequestError, l as isApiError, m as isPublicReadEndpoint, o as createInternalAPIClient, p as getPublicReadCachePolicy, s as setSdkVersion, t as encodePublicProductCategorySelector, u as unwrapResponse } from "./publicProducts-C3meXS2o.mjs";
|
|
2
|
-
import { t as SDK_VERSION } from "./version-
|
|
2
|
+
import { t as SDK_VERSION } from "./version-CNCdL6id.mjs";
|
|
3
3
|
//#region src/client/error.ts
|
|
4
4
|
let _Symbol$for;
|
|
5
5
|
_Symbol$for = Symbol.for("nodejs.util.inspect.custom");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-
|
|
1
|
+
import { A as sectionOptionsSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, E as sdkWorkflowIdSchema, F as validateFieldIdConflicts, K as contentConfigSchema, M as siteStyleConfigSchema, N as syncConfigSchema, O as sdkWorkflowsSchema, P as themeSourceSchema, S as sdkThemePaletteSchema, T as sdkWorkflowEndpointSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, b as sdkSiteUrlSchema, c as containerOptionsSchema, d as layoutConfigSchema, f as loaderParamBindingSchema, g as sdkConfigLoaderSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, l as deployConfigSchema, m as loaderWhenValueSchema, n as blockFieldConfigSchema, o as containerAlignmentSchema, p as loaderParamValueSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, t as activeThemeSchema, u as fieldSelectOptionSchema, v as sdkDataLoadersSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, y as sdkLoaderEndpointSchema } from "./validation-BtHE2S_D.mjs";
|
|
2
2
|
export { activeThemeSchema, blockFieldConfigSchema, blockFieldExtensionSchema, blockFieldExtensionsSchema, blockFieldOptionsSchema, containerAlignmentSchema, containerMaxWidthSchema, containerOptionsSchema, contentConfigSchema, deployConfigSchema, fieldSelectOptionSchema, layoutConfigSchema, loaderParamBindingSchema, loaderParamValueSchema, loaderWhenValueSchema, riverbankSiteConfigSchema, sdkConfigLoaderSchema, sdkCustomBlockSchema, sdkDataLoadersSchema, sdkLoaderEndpointSchema, sdkSiteUrlSchema, sdkThemeConfigSchema, sdkThemePaletteSchema, sdkWorkflowConfigSchema, sdkWorkflowConfirmationSchema, sdkWorkflowEndpointSchema, sdkWorkflowIdSchema, sdkWorkflowTriggerSchema, sdkWorkflowsSchema, sectionBackgroundSchema, sectionOptionsSchema, sectionSpacingSchema, siteStyleConfigSchema, syncConfigSchema, themeSourceSchema, validateFieldIdConflicts };
|
package/dist/server/config.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { O as isCanonicalRichTextDoc } from "./prefetchBlockData-
|
|
1
|
+
import { O as isCanonicalRichTextDoc } from "./prefetchBlockData-DZ5Fq_-r.mjs";
|
|
2
2
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
|
-
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-
|
|
3
|
+
import { $ as templateBlockConfigSchema, A as sectionOptionsSchema, B as dashboardNavigationConfigSchema, C as sdkWorkflowConfigSchema, D as sdkWorkflowTriggerSchema, G as blockConfigSchema, H as validateLayoutNodeTypes, I as dashboardConfigSchema, J as entryConfigSchema, K as contentConfigSchema, L as dashboardNavVisibilityBaseSchema, M as siteStyleConfigSchema, O as sdkWorkflowsSchema, Q as siteSettingsConfigSchema, R as dashboardNavVisibilityRolesSchema, S as sdkThemePaletteSchema, U as validateTransformIds, V as validateLayout, W as bindingSourceSchema, X as navigationMenuConfigSchema, Y as navigationItemConfigSchema, Z as pageConfigSchema, _ as sdkCustomBlockSchema, a as blockFieldOptionsSchema, c as containerOptionsSchema, et as templateConfigSchema, h as riverbankSiteConfigSchema, i as blockFieldExtensionsSchema, j as sectionSpacingSchema, k as sectionBackgroundSchema, n as blockFieldConfigSchema, nt as describeInvalidTemplateBindingMetaPath, o as containerAlignmentSchema, q as contentTypeConfigSchema, r as blockFieldExtensionSchema, s as containerMaxWidthSchema, tt as TEMPLATE_BINDING_META_PATHS, u as fieldSelectOptionSchema, w as sdkWorkflowConfirmationSchema, x as sdkThemeConfigSchema, z as dashboardNavVisibilitySchema } from "./validation-BtHE2S_D.mjs";
|
|
4
4
|
//#region src/config/bindings.ts
|
|
5
5
|
function fieldBinding(path) {
|
|
6
6
|
return {
|
|
@@ -1,5 +1,31 @@
|
|
|
1
|
+
//#region src/metadata/pageSurfaceIndexing.ts
|
|
2
|
+
/** Enforce preview privacy and the surface owner's decision after metadata overrides. */
|
|
3
|
+
function applyPageSurfaceIndexing(metadata, subject, preview = false) {
|
|
4
|
+
if (preview) return {
|
|
5
|
+
...metadata,
|
|
6
|
+
robots: {
|
|
7
|
+
index: false,
|
|
8
|
+
follow: false
|
|
9
|
+
}
|
|
10
|
+
};
|
|
11
|
+
return subject?.noindex ? {
|
|
12
|
+
...metadata,
|
|
13
|
+
robots: {
|
|
14
|
+
...metadata.robots,
|
|
15
|
+
index: false,
|
|
16
|
+
follow: metadata.robots?.follow ?? true
|
|
17
|
+
}
|
|
18
|
+
} : metadata;
|
|
19
|
+
}
|
|
20
|
+
//#endregion
|
|
1
21
|
//#region src/metadata/generatePageMetadata.ts
|
|
2
22
|
/**
|
|
23
|
+
* Metadata generation helper for Next.js pages
|
|
24
|
+
*
|
|
25
|
+
* Generates SEO-optimized metadata from Builder page data for use in
|
|
26
|
+
* Next.js generateMetadata() functions.
|
|
27
|
+
*/
|
|
28
|
+
/**
|
|
3
29
|
* Generate Next.js Metadata object from Builder page data
|
|
4
30
|
*
|
|
5
31
|
* @example
|
|
@@ -54,7 +80,7 @@ function generatePageMetadata(input) {
|
|
|
54
80
|
follow: overrides.robots.follow ?? true
|
|
55
81
|
};
|
|
56
82
|
if (googleSiteVerification) metadata.verification = { google: googleSiteVerification };
|
|
57
|
-
return metadata;
|
|
83
|
+
return applyPageSurfaceIndexing(metadata, input.surfaceIndexing);
|
|
58
84
|
}
|
|
59
85
|
/**
|
|
60
86
|
* Generate metadata for preview/staging environments
|
|
@@ -90,4 +116,4 @@ function generatePreviewMetadata(input) {
|
|
|
90
116
|
});
|
|
91
117
|
}
|
|
92
118
|
//#endregion
|
|
93
|
-
export { generatePreviewMetadata as n, generatePageMetadata as t };
|
|
119
|
+
export { generatePreviewMetadata as n, applyPageSurfaceIndexing as r, generatePageMetadata as t };
|
package/dist/server/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { a as mediaSchema, f as resolveManagedMediaReference, h as parseMediaIdentifier, l as buildRenderableMediaAssetIndex, m as parseCanonicalMediaIdentifier, o as persistableMediaSchema, p as mediaIdentifierSchema, s as runtimeMediaSchema, u as renderableMediaAssetSchema } from "./media-CcHwZkdJ.mjs";
|
|
2
2
|
import { t as SYSTEM_BLOCK_KINDS } from "./block-kinds-CdI7NvAW.mjs";
|
|
3
|
-
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, h as getResilienceStatusFromError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, m as RiverbankApiError, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-
|
|
3
|
+
import { a as DEFAULT_PUBLISHED_RUNTIME_CACHE_PAYLOAD_SCHEMA_VERSION, c as parsePublishedRuntimeCacheKey, d as API_ENDPOINTS, f as buildEndpointURL, h as getResilienceStatusFromError, i as resolveRuntimeCachePolicy, l as parsePublishedRuntimeCacheKeyDetails, m as RiverbankApiError, n as classifyPublishedRuntimeCacheFreshness, o as isPublishedRuntimeCacheKeyEndpoint, r as derivePublishedRuntimeCacheKey, s as normalizeRuntimePublicPath, t as createRiverbankClient, u as parsePublishedRuntimeCachePayloadSchemaVersion } from "./client-Cv-osXoU.mjs";
|
|
4
4
|
import { t as SDK_CORRELATION_HEADER_NAMES } from "./types-C2eBBV6E.mjs";
|
|
5
|
-
import { t as prebuildCache } from "./prebuild-
|
|
5
|
+
import { t as prebuildCache } from "./prebuild-C6bhjRKT.mjs";
|
|
6
6
|
import * as path from "path";
|
|
7
7
|
import * as fs from "fs";
|
|
8
8
|
//#region src/prebuild/loader.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as buildSiteRenderSupport, c as projectRenderablePageOutline, d as resolveSdkBlockManifest, f as sanitizeSdkRuntimeBlockContent, h as compileManifestContentContract, i as buildRenderablePageOutline, l as readInvalidBlockAdmission, m as admitTransportedRenderableManifestContent, o as collectMediaAssetSidecar, s as invalidRenderableBlock, y as readPublishedBlockPlacement } from "./themeAdmission-
|
|
3
|
-
import { t as applyBindingsToContent } from "./bindings-
|
|
1
|
+
import { Xi as resolveDateRuntimeContext } from "./blocks-BaG8Qpaa.mjs";
|
|
2
|
+
import { a as buildSiteRenderSupport, c as projectRenderablePageOutline, d as resolveSdkBlockManifest, f as sanitizeSdkRuntimeBlockContent, h as compileManifestContentContract, i as buildRenderablePageOutline, l as readInvalidBlockAdmission, m as admitTransportedRenderableManifestContent, o as collectMediaAssetSidecar, s as invalidRenderableBlock, y as readPublishedBlockPlacement } from "./themeAdmission-DK2YBNqy.mjs";
|
|
3
|
+
import { t as applyBindingsToContent } from "./bindings-z2daXp-2.mjs";
|
|
4
4
|
import { a as isRecord } from "./richTextSchema-YYc85FX4.mjs";
|
|
5
|
-
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-
|
|
5
|
+
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-CbGDakvp.mjs";
|
|
6
6
|
//#region ../content-model/src/entry-slots/types.ts
|
|
7
7
|
function ok(value) {
|
|
8
8
|
return {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as buildSiteRenderSupport, c as projectRenderablePageOutline, i as buildRenderablePageOutline, o as collectMediaAssetSidecar, r as requireSdkTheme } from "./themeAdmission-
|
|
2
|
-
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-
|
|
1
|
+
import { a as buildSiteRenderSupport, c as projectRenderablePageOutline, i as buildRenderablePageOutline, o as collectMediaAssetSidecar, r as requireSdkTheme } from "./themeAdmission-DK2YBNqy.mjs";
|
|
2
|
+
import { i as normalizeDataLoaderSearchParams, n as createBlockDataLoadPolicy, r as resolveBlockDataWithDeps, t as DEFAULT_RESOLVE_BLOCK_DATA_DEPS } from "./resolveBlockData-CbGDakvp.mjs";
|
|
3
3
|
//#region src/rendering/helpers/loadPage.ts
|
|
4
4
|
/**
|
|
5
5
|
* Server-side helper to fetch all data needed for <Page> component.
|
package/dist/server/metadata.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as generatePreviewMetadata, t as generatePageMetadata } from "./generatePageMetadata-
|
|
1
|
+
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
2
2
|
//#region src/metadata/schema.ts
|
|
3
3
|
function toAbsoluteUrl(value) {
|
|
4
4
|
if (typeof value !== "string") return null;
|
|
@@ -138,4 +138,4 @@ function toProductNode(subject) {
|
|
|
138
138
|
};
|
|
139
139
|
}
|
|
140
140
|
//#endregion
|
|
141
|
-
export { deriveSchemaNodes, generatePageMetadata, generatePreviewMetadata, toAbsoluteUrl, toCurrencyCode, toIsoDateTime };
|
|
141
|
+
export { applyPageSurfaceIndexing, deriveSchemaNodes, generatePageMetadata, generatePreviewMetadata, toAbsoluteUrl, toCurrencyCode, toIsoDateTime };
|
package/dist/server/next.mjs
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { _ as ThemeScope, d as toPageHydrationBootstrapConfig, f as defaultCatchAllThemeRuntime, l as isPreviewMode, o as normalizeSdkRenderingMode, p as defaultLayoutThemeRuntime, s as themeRuntimeForRendering } from "./overrides-
|
|
2
|
-
import { ga as
|
|
3
|
-
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-
|
|
1
|
+
import { _ as ThemeScope, d as toPageHydrationBootstrapConfig, f as defaultCatchAllThemeRuntime, l as isPreviewMode, o as normalizeSdkRenderingMode, p as defaultLayoutThemeRuntime, s as themeRuntimeForRendering } from "./overrides-DxRC724a.mjs";
|
|
2
|
+
import { ga as resolveBookingBusinessTimeZone, la as inferSiteDateLocale, ya as toUtcIsoDateTimeString } from "./blocks-BaG8Qpaa.mjs";
|
|
3
|
+
import { n as MissingSdkThemeError, r as requireSdkTheme, t as MISSING_SDK_THEME_ERROR_CODE } from "./themeAdmission-DK2YBNqy.mjs";
|
|
4
4
|
import { a as createBearerAPIClient, i as ApiRequestError, u as unwrapResponse } from "./publicProducts-C3meXS2o.mjs";
|
|
5
|
-
import { i as normalizeDataLoaderSearchParams } from "./resolveBlockData-
|
|
6
|
-
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-
|
|
5
|
+
import { i as normalizeDataLoaderSearchParams } from "./resolveBlockData-CbGDakvp.mjs";
|
|
6
|
+
import { i as loadContent, n as isPageContent, r as isPageSurfaceContent, t as isEntryContent } from "./loadContent-BNMDYCm8.mjs";
|
|
7
|
+
import { n as generatePreviewMetadata, r as applyPageSurfaceIndexing, t as generatePageMetadata } from "./generatePageMetadata-DB_lbrZ7.mjs";
|
|
7
8
|
import { t as getPortalToken } from "./portal-Ce1Prfl3.mjs";
|
|
8
|
-
import { n as generatePreviewMetadata, t as generatePageMetadata } from "./generatePageMetadata-CPvssVOp.mjs";
|
|
9
9
|
import { _ as toRoutingInfo, a as resolvePageContent, i as contentNotFound, n as contentFound, o as defaultShouldAttemptEntrySubroute, t as RiverbankContentLoadError } from "./resolvePageContent-CAELMBEJ.mjs";
|
|
10
|
-
import { m as RiverbankApiError, p as CircuitOpenError, t as createRiverbankClient } from "./client-
|
|
11
|
-
import { t as SDK_VERSION } from "./version-
|
|
10
|
+
import { m as RiverbankApiError, p as CircuitOpenError, t as createRiverbankClient } from "./client-Cv-osXoU.mjs";
|
|
11
|
+
import { t as SDK_VERSION } from "./version-CNCdL6id.mjs";
|
|
12
12
|
import { t as appendSearchToRedirectDestination } from "./redirect-destination-Bee5ZEon.mjs";
|
|
13
|
-
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-
|
|
13
|
+
import { i as Page, r as resolveBlockOverridesForPage } from "./overrideResolution-CGodrtqi.mjs";
|
|
14
14
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
15
15
|
import "react";
|
|
16
16
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -743,6 +743,7 @@ async function resolveCatchAllMetadata(runtime, input) {
|
|
|
743
743
|
site: input.content.site,
|
|
744
744
|
path: input.path,
|
|
745
745
|
siteUrl: resolvedUrl,
|
|
746
|
+
...isPageSurfaceContent(input.content) ? { surfaceIndexing: input.content.pageSurface.subject } : {},
|
|
746
747
|
...titleMode ? { titleMode } : {}
|
|
747
748
|
});
|
|
748
749
|
}
|
|
@@ -762,11 +763,11 @@ async function generateCatchAllMetadata(runtime, props) {
|
|
|
762
763
|
if (resolution.reason === "load-failed") throwUpstreamContentError(path, resolution);
|
|
763
764
|
return pageNotFoundMetadata();
|
|
764
765
|
}
|
|
765
|
-
return resolveCatchAllMetadata(runtime, {
|
|
766
|
+
return applyPageSurfaceIndexing(await resolveCatchAllMetadata(runtime, {
|
|
766
767
|
content: resolution.content,
|
|
767
768
|
path,
|
|
768
769
|
searchParams
|
|
769
|
-
});
|
|
770
|
+
}), isPageSurfaceContent(resolution.content) ? resolution.content.pageSurface.subject : null, runtime.preview);
|
|
770
771
|
} catch (error) {
|
|
771
772
|
if (error instanceof RiverbankContentLoadError) throw error;
|
|
772
773
|
console.debug("[createCatchAllPage] Failed to generate metadata for path:", path, error);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as lazyBlockOverrideSymbol, u as PageContent } from "./overrides-
|
|
1
|
+
import { i as lazyBlockOverrideSymbol, u as PageContent } from "./overrides-DxRC724a.mjs";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
3
|
//#region src/rendering/components/Page.server.tsx
|
|
4
4
|
function Page(props) {
|