@riverbankcms/sdk 0.172.0 → 0.173.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-DtrzTJ77.d.ts → BlocksIslandsHydrator-O50mTMCY.d.ts} +1 -1
- package/dist/_dts/{Page-DViYbakk.d.ts → Page-Bk99sJwV.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D-5OeDbT.d.ts → SdkPreviewMode-DzAue6Kj.d.ts} +2 -2
- package/dist/_dts/{client-DZBOzd3U.d.ts → client-ZlNEIvlU.d.ts} +1002 -139
- package/dist/_dts/{content-types-DS3DrYn_.d.ts → content-types-DBXPNc0h.d.ts} +2 -2
- package/dist/_dts/{contracts-C3QGPCUf.d.ts → contracts-D9bhu0bb.d.ts} +4 -3
- package/dist/_dts/{footerPageOutline-D9Q7VIul.d.ts → footerPageOutline-Bfap3soN.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-R7NeFT1u.d.ts → generatePageMetadata-DwCdg31h.d.ts} +2 -2
- package/dist/_dts/{index-CpOkfBt1.d.ts → index-BnatulTs.d.ts} +3 -3
- package/dist/_dts/{index-Dns7OHyl.d.ts → index-C611wjIL.d.ts} +1 -1
- package/dist/_dts/{index-Da4UMgbs.d.ts → index-CJzs-yIJ.d.ts} +2 -2
- package/dist/_dts/{index-MuMYjetm.d.ts → index-DW3eeNph.d.ts} +4 -4
- package/dist/_dts/{index-DkFV_1Bc.d.ts → index-Dq_AboWN.d.ts} +1 -1
- package/dist/_dts/{index-C0zjLMAW.d.ts → index-DutLU2d2.d.ts} +1 -1
- package/dist/_dts/{index-BnMavhoh.d.ts → index-KXh8FQ2s.d.ts} +2 -2
- package/dist/_dts/{loadContent-DJmXHzfi.d.ts → loadContent-Bde2y870.d.ts} +7 -7
- package/dist/_dts/{request-wQ28JWbr.d.ts → request-Bysk4QPI.d.ts} +1842 -262
- package/dist/_dts/{resolveBlockData-C-IP53u9.d.ts → resolveBlockData-ChbNvpSF.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-Cc4zqaEC.d.ts → resolvePageContent-CGa6QMgc.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/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 +6 -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/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- 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/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-DrinAfeW.d.ts → types-BoEk9ZON.d.ts} +3 -3
- package/dist/_dts/{types-CpjyP5I4.d.ts → types-BwitGNTl.d.ts} +7 -7
- package/dist/_dts/{types-ZuZoGsZV.d.ts → types-kpp8XyXv.d.ts} +2 -2
- package/dist/_dts/{validation-CIZ_fP5l.d.ts → validation-ChftKX-o.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-UFmQB1BE.mjs → BlocksIslandsHydrator-BnUeSE3d.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-VjRYhx1c.mjs → BookingMailingListNote-LHQMODqB.mjs} +13 -7
- package/dist/client/{BookingPanelArrangement-DpqnRo-t.mjs → BookingPanelArrangement-Be704P85.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-CzOT8ZWo.mjs → BookingQuestionFields-BewbU_cV.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-CNckKZct.mjs → CalendarNavigationChevron-BMZp3RS3.mjs} +41 -34
- package/dist/client/{DemoBookingPortalAccess-CmZLVXOy.mjs → DemoBookingPortalAccess-CARUWQ_E.mjs} +21 -21
- package/dist/client/{EventCalendar.client-BU-SxLCn.mjs → EventCalendar.client-CaI6upCX.mjs} +11 -10
- package/dist/client/{EventCombined.client-f28VltfY.mjs → EventCombined.client-CoRUaYHY.mjs} +10 -9
- package/dist/client/{EventItem-sKBofjiW.mjs → EventItem-Doe4KodB.mjs} +25 -16
- package/dist/client/{EventListWeekNavigation-IAcax47T.mjs → EventListWeekNavigation-CXWLKDfa.mjs} +1 -1
- package/dist/client/{EventListing.client-BEtnRvZr.mjs → EventListing.client-DvJ5tGTx.mjs} +3 -3
- package/dist/client/{EventListing.view-BZ4l_rmT.mjs → EventListing.view-BmfyK7S5.mjs} +37 -14
- package/dist/client/{EventRegistrationPayment-BWb295cD.mjs → EventRegistrationPayment-DwMlJB2V.mjs} +846 -145
- package/dist/client/{LocationMapActions-Hsj2HC_1.mjs → LocationMapActions-CdRPU6gp.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-C7E7Lyfa.mjs → MapDrawingSvg-DCLtxOnt.mjs} +1 -1
- package/dist/client/{Page-Ds1s3DuC.mjs → Page-D46Dmr7b.mjs} +548 -44
- package/dist/client/{StepIndicator-CSCyAaKY.mjs → StepIndicator-CrSZCZn1.mjs} +82 -11
- package/dist/client/{accessibleSurfaces-OsAseM7H.mjs → accessibleSurfaces-D4DhWo9j.mjs} +1 -20
- package/dist/client/{accordion-DgwFZJSx.mjs → accordion-P8xcfKxq.mjs} +1 -1
- package/dist/client/bookability-SargNwlO.mjs +17 -0
- package/dist/client/{booking-form.client-CKY9oksp.mjs → booking-form.client-BM2s-NqR.mjs} +11 -11
- package/dist/client/{bookingForm-CsHhcdSF.mjs → bookingForm-JnaZPZge.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-B1Z_TGAe.mjs → boxStyleClassNames-Cahps5kR.mjs} +1 -1
- package/dist/client/{carousel-0sw2Kc3a.mjs → carousel-CQQ_m0KA.mjs} +1 -1
- package/dist/client/{cart-CPfvMDGJ.mjs → cart-0Q4fjw_K.mjs} +3 -3
- package/dist/client/{cart.client-BJBPUTmg.mjs → cart.client-BI0IaHX3.mjs} +1 -1
- package/dist/client/{checkout-DU4JFjGT.mjs → checkout-1J-3ftxF.mjs} +3 -3
- package/dist/client/{checkout.client-BbNCO4xa.mjs → checkout.client-DOGYDlDk.mjs} +1 -1
- package/dist/client/{checkoutUrls-BQ3OlWlM.mjs → checkoutUrls-CwHqcqzP.mjs} +1 -1
- package/dist/client/client.mjs +52 -4
- package/dist/client/{context-xNC1Cyjw.mjs → context-D0KCgbOq.mjs} +81 -14
- package/dist/client/{cta-CNVQHLKs.mjs → course-CmOuoZHN.mjs} +76 -2
- package/dist/client/{dateFormatting-B6ea-egy.mjs → dateFormatting-Dmfaczzq.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BhjGxhX3.mjs → demoPortalMagicLink-CL7KGRta.mjs} +1 -1
- package/dist/client/{display-B5DfNb6A.mjs → display-lL-YRApN.mjs} +2462 -426
- package/dist/client/{enhanceHeaderSection-BFcHLuqk.mjs → enhanceHeaderSection-B-eLGs2C.mjs} +3 -3
- package/dist/client/{event-details.client-WHT5GLn2.mjs → event-details.client-DH1-Jxsh.mjs} +1 -1
- package/dist/client/{event-registration.client-CmnRKELC.mjs → event-registration.client-GuuElczW.mjs} +1314 -552
- package/dist/client/{eventCalendar-2NbdCyov.mjs → eventCalendar-BiCINPkV.mjs} +4 -4
- package/dist/client/{eventCombined-D1lH1n2T.mjs → eventCombined-BtzmH6FW.mjs} +4 -4
- package/dist/client/{eventDetails-BHvnF2Tw.mjs → eventDetails-BJpAD10-.mjs} +2 -2
- package/dist/client/{eventListing-EhSDk4UL.mjs → eventListing-jLB8iRqp.mjs} +4 -4
- package/dist/client/{eventRegistration-z_0jN_KS.mjs → eventRegistration-WhtpDEbq.mjs} +4 -4
- package/dist/client/{form-BfChzSkS.mjs → form-DO6qKH3M.mjs} +3 -3
- package/dist/client/{form.client-D1zehtPk.mjs → form.client-D12ljYiX.mjs} +3 -3
- package/dist/client/{form.parts-rMDlUQIv.mjs → form.parts-C8QHaQOI.mjs} +1 -1
- package/dist/client/{formatDate-ymSVT9Y5.mjs → formatDate-BnhfIpCa.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BX9bQ84k.mjs → headerSection-BtFWtoUm.mjs} +2 -2
- package/dist/client/{newsletter-form.client-DMbuJCtJ.mjs → newsletter-form.client-oHrqM_Ao.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-BxrVsoI0.mjs → newsletter-form.parts-D5U-FuVy.mjs} +1 -1
- package/dist/client/{newsletterForm-B_I3FJFS.mjs → newsletterForm-CBYbFxSx.mjs} +3 -3
- package/dist/client/{noop-CamIX2yK.mjs → noop-CN0o0yjH.mjs} +115 -12
- package/dist/client/portal/client.mjs +7 -7
- package/dist/client/{product-detail.client-qxuiYCof.mjs → product-detail.client-d_sNCapC.mjs} +1 -1
- package/dist/client/{product-list.client-CDL-jihv.mjs → product-list.client-DkSpw6WQ.mjs} +1 -1
- package/dist/client/{productDetail-B97m0uZy.mjs → productDetail-DaqM-LgL.mjs} +3 -3
- package/dist/client/{productList-DE4vSSG_.mjs → productList-CMx4-XlG.mjs} +3 -3
- package/dist/client/{propsDecoder-BTde6Syh.mjs → propsDecoder-BZbUKstC.mjs} +3 -3
- package/dist/client/{registry.server-Cn8XjRte.mjs → registry.server-Cdot3dMk.mjs} +85 -57
- package/dist/client/rendering/client.mjs +25 -25
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +24 -55
- package/dist/client/{richText-coerce-Bcl3vTb4.mjs → richText-coerce-ByApwB4q.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-BjRoLoMD.mjs → routeIslandApiConfig-DTET8f__.mjs} +1 -1
- package/dist/client/{runtimeResponse-B-lrAGhX.mjs → runtimeResponse-IkOwKZD0.mjs} +1 -1
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +3 -0
- package/dist/client/{shop-BC4H0oYT.mjs → shop-Cy6xXDM7.mjs} +3 -3
- package/dist/client/{shop-commerce-BsY7a71m.mjs → shop-commerce-oDR76k1q.mjs} +11 -10
- package/dist/client/{shop-commerce-store-BZ5j90HD.mjs → shop-commerce-store-DjoUpL3a.mjs} +1 -1
- package/dist/client/shop-discount-apply.state-WsGb9DD8.mjs +166 -0
- package/dist/client/{shop.client-WgGVGelc.mjs → shop.client-Brha4BSM.mjs} +11 -10
- package/dist/client/{shop.interactive-Bb67gPLL.mjs → shop.interactive-CXhYl0DW.mjs} +35 -12
- package/dist/client/{shopShared-BE6TEk2A.mjs → shopShared-JCa_SRhP.mjs} +2 -2
- package/dist/client/stable-json-D0XAEIXc.mjs +22 -0
- package/dist/client/{timetableModel-Bbz_ECL5.mjs → timetableModel-CZeJwMxP.mjs} +10 -10
- package/dist/client/{useAvailableSlots-CdP14E_b.mjs → useAvailableSlots-DfbSkWop.mjs} +17 -6
- package/dist/client/{useDiscountApply-DvOSso2l.mjs → useDiscountApply-Dq-wjb1d.mjs} +4 -167
- package/dist/client/{useDiscountCodeUi-B4fRd2jy.mjs → useDiscountCodeUi-Cyy0meCH.mjs} +1 -1
- package/dist/client/{useEventPagination-M3jC8lgP.mjs → useEventPagination-CCAGQHsD.mjs} +5 -5
- package/dist/client/{view-B0TFnP4y.mjs → view-D6yebI4r.mjs} +51 -31
- package/dist/client/{view-DNNNbnNj.mjs → view-Sw075FOY.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D59tHj_L.mjs → PageSectionToolbar-DG2rXUmo.mjs} +26 -19
- package/dist/preview-next/client/{PreviewEditorSidebar-CjOIZlUk.mjs → PreviewEditorSidebar-BDY5vdHU.mjs} +27 -360
- package/dist/preview-next/client/{PreviewEditorUI--kS9Cwsc.mjs → PreviewEditorUI-CqZCfOaz.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-Bi8-rclb.mjs → PreviewShell-Bv2HZ7JY.mjs} +7 -7
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CWTUw-3L.mjs → SdkPreviewModeRuntime-BMTcR-MW.mjs} +5 -55
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CrgS3I8d.mjs → SiteChromeCustomizeButton-D1MGyN_Z.mjs} +2668 -799
- package/dist/preview-next/client/{previewAssistantSlot-Caofnr1Z.mjs → previewAssistantSlot-La6MerV_.mjs} +3540 -684
- package/dist/preview-next/client/{previewChromeRoot-CbAI_jSH.mjs → previewChromeRoot-BcOQqJIP.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DY65_hLk.mjs → sdk-runtime-BkckHox4.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-CakNU3lp.mjs → useAutosaveStatus-CPAHgGqI.mjs} +1 -1
- package/dist/preview-next/client/{useOpenBlockForSetup-CCEMkosU.mjs → useOpenBlockForSetup-BDkuSZxQ.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-DsKDQoVW.mjs → route-contract-CPV30ABr.mjs} +48 -0
- package/dist/server/{Block.shared-D7Qy9F4a.mjs → Block.shared-BaMMstO1.mjs} +5 -5
- package/dist/server/{bindings-Bp6OnR3n.mjs → bindings-Dge4sqel.mjs} +4 -4
- package/dist/server/{client-dROAfMRa.mjs → client-VVIQjC4r.mjs} +51 -3
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{identity-20XHqyuO.mjs → identity-DQD_8lNO.mjs} +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-zOIrtqz-.mjs → loadContent-BIJb3WAK.mjs} +5 -6
- package/dist/server/{loadPage-vwFiq1Rk.mjs → loadPage-DjTU19y7.mjs} +2 -2
- package/dist/server/{media-Brn9FW5s.mjs → media-luf7RF22.mjs} +2 -2
- package/dist/server/{navigation-DAwbICEL.mjs → navigation-iC_hXjJI.mjs} +3 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +6 -6
- package/dist/server/{overrideResolution-DjboggbB.mjs → overrideResolution-1Ru3NMQj.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-BR4t1rOw.mjs → pageRenderPlan-CytPhrI9.mjs} +143 -27
- package/dist/server/{pageRuntimeSupport-BKo6XVK-.mjs → pageRuntimeSupport-DWspU5EZ.mjs} +3 -3
- package/dist/server/{pageShared-BJjptSGp.mjs → pageShared-Bhx8bVe1.mjs} +166 -67
- package/dist/server/{parseThemeForPersistence-B18KDEue.mjs → parseThemeForPersistence-CtgRtvo3.mjs} +1 -1
- package/dist/server/{prebuild-CntSkZQI.mjs → prebuild-BjvFb0CA.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BM9Ds0OQ.mjs → prefetchBlockData-Db3stNpp.mjs} +3 -3
- package/dist/server/{registry-wYH0LH5f.mjs → registry-BMCfcev6.mjs} +809 -191
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-Bu_p4HxZ.mjs → resolveBlockData--yUbI-Ll.mjs} +1 -1
- package/dist/server/{responseMedia-t6gs0cB7.mjs → responseMedia-DpBC1hTM.mjs} +1 -1
- package/dist/server/{schema-BFOqYIMQ.mjs → schema-D5Vfmqzw.mjs} +394 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{validation-DAQdPDku.mjs → validation-EgTtnTcY.mjs} +4 -4
- package/dist/server/{version-DAB0O3yx.mjs → version-LjgU0Cq1.mjs} +1 -1
- package/dist/styles/index.css +174 -0
- package/package.json +1 -1
- package/dist/client/runtimeResponse-CPcA8xSm.mjs +0 -3
- package/dist/server/rich-text-CRcONdyM.mjs +0 -33
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { D as publicGiftingOffersResponseSchema, Gt as EventQuickFacts, H as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, J as offeringRunLifecycle, Jt as getContainerClass, Lt as catalogueEventCardProps, M as buildEventRegistrationInteractiveIslandProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Q as resolveOfferingsRenderInput, Qt as eventWeekGroupingContext, Rt as listingEventCardProps, S as newsletterFormBlockRuntime, Sn as parseMailingListPlacementTargeting, St as eventListingBlockRuntime, T as giftingBlockRuntime, U as buildOfferingsPreviewListing, W as groupOfferingRunsByCourse, Wt as MediaNodeServer, X as resolveOfferingsPreviewGroupCta, Xt as buildEventListWeek, Y as offeringsListingFor, Yt as Grid, Z as resolveOfferingsPreviewGroups, Zt as eventListWeekDays, _ as shopProductPresentation, a as buildShopInteractiveIslandProps, an as formatEventStartingPrice, b as buildNewsletterFormInteractiveIslandProps, c as checkoutBlockRuntime, cn as normalizeEventStaffMemberId, d as productDetailBlockRuntime, dn as normalizeEventVenueId, dt as eventCombinedBlockRuntime, fn as resolveEventSelection, gn as staticHeaderChromeRuntime, gt as eventCalendarBlockRuntime, h as shopBlockRuntime, i as buildProductListInteractiveIslandProps, in as formatEventPriceDisplay, k as formBlockRuntime, ln as normalizeEventSurfacePresets, lt as buildEventCombinedInteractiveIslandProps, mt as buildEventCalendarListingDisplay, n as buildCheckoutInteractiveIslandProps, nn as formatEventPrice, o as cartBlockRuntime, on as normalizeEventCategoryIds, p as productListBlockRuntime, pt as buildEventCalendarInteractiveIslandProps, q as normalizeOfferingsPreviewItemLimit, qt as getCardOrientation, r as buildProductDetailInteractiveIslandProps, sn as normalizeEventScheduleScope, st as occurrenceContextSchema, t as buildCartInteractiveIslandProps, tn as formatCoursePrice, un as normalizeEventSurfaceScope, ut as buildEventCombinedListingDisplay, v as publicProductsResponseSchema, w as buildGiftingInteractiveIslandProps, wn as DEFAULT_MAILING_LIST_TARGETING, x as newsletterBlockSubmissionMessage, xn as assessMailingListTargeting, xt as buildEventListingInteractiveIslandProps, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, yn as splitSiteChromePlacementClasses, yt as recurringScheduleProjectionSchema, zt as CardListContentPart } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
3
|
import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { Ac as resolveExactOrFreePriceDisplay, Ar as buildCalendarViewport, As as arrangementSlotNames, Br as formatEventHourLabel, Cc as formatBookingPriceDisplay, Fr as formatCalendarTitle, Ga as lookListPresentationSchemaShape, Gr as formatTime, Ha as listItemPresentation, Hs as cardVariantRoleValues, Ia as normalizeEventRegistrationPageSurfaceSubject, Jr as resolveRuntimeEventDestination, Kr as groupEventsByDate, La as resolveEventRegistrationScopedEvents, Nr as eventDateOptions, Rr as formatEventCompactDateRail, Ur as formatEventTimeRange, Wa as listLookSlot, ba as isBlockButtonRole, bo as compiledRuntimeStyleFieldNames, ci as buildBookingFormInteractiveIslandProps, dc as resolveWholeSeriesBookingPhase, jc as resolvePricingOptionsPriceDisplay, kr as resolvePublicMediaUrl, nc as sanitizeHref, oi as groupPublicEventsByRun, pr as bookingPresentation, rc as parseAspectRatioValue, va as BLOCK_BUTTON_ROLE_OPTIONS, vr as RichText, yr as ImagePresets } from "./display-lL-YRApN.mjs";
|
|
5
|
+
import { B as publicEventsArraySchema, C as normalizeEventCalendarDisplayMode$1, Ft as toLocationCoordinates, It as trimmedStringOrNull, J as RichTextDocSchema, Mt as parseLocationValue, Nt as projectPublicLocation, O as arrangementModes, Pt as publicLocationSchema, Rt as formatDate, S as isEventCalendarListLayout, _ as eventCalendarListLayoutOptions, at as PUBLIC_FILE_FIELD_KINDS, b as isEventCalendarDefaultView, jt as normalizeLocationAddressText, o as publicMembershipProductCollectionSchema, ot as isDisplayMediaKind, p as calendarWindowPageSchema, rn as resolveBookingBusinessTimeZone, rt as runtimeMediaSchema, s as publicPassProductCollectionSchema, sn as toUtcIsoDateTimeString, st as mediaTypeDiscriminants, v as eventCalendarVariantMeaning, w as resolveEventCalendarReadPlan, x as isEventCalendarDisplayMode } from "./noop-CN0o0yjH.mjs";
|
|
6
6
|
import { N as assertNever$1 } from "./creditProducts-BTRX4edc.mjs";
|
|
7
7
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
8
8
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-Bbz_ECL5.mjs";
|
|
9
|
+
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-CZeJwMxP.mjs";
|
|
11
10
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
|
|
11
|
+
import { B as resolveThemeColorReferenceValue, G as mergeStyles, H as backgroundColorStyle, J as textColorStyle, K as rgbColorValue, s as serializeSurfaceTree } from "./accessibleSurfaces-D4DhWo9j.mjs";
|
|
12
12
|
import { h as SYSTEM_BLOCK_KINDS } from "./types-DjWUR_O6.mjs";
|
|
13
|
-
import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, v as asPartialObject } from "./boxStyleClassNames-
|
|
13
|
+
import { f as DEFAULT_SECTION_SPACING, o as normalizeBoxStylesBorder, r as boxStyleClassNames, s as resolveCardRoleForBoxStyles, v as asPartialObject } from "./boxStyleClassNames-Cahps5kR.mjs";
|
|
14
14
|
import { S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, g as FileArchiveIcon, i as ThemedButtonLink, l as SpinnerNode, p as CirclePlusIcon, r as ThemedButton, s as getIconComponent, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-DuaYtnvG.mjs";
|
|
15
|
-
import { a as eventCardListContent, c as derivePreviewRunSchedule,
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import { i as
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
15
|
+
import { a as eventCardListContent, c as derivePreviewRunSchedule, l as formatEventQuickDate, n as resolveEventDetailsPresentation, o as offeringDatesBySeries, s as deriveEventScheduleSummary, t as EventDetailsView, u as selectQuickDateEvents } from "./view-D6yebI4r.mjs";
|
|
16
|
+
import { t as isBookableEvent } from "./bookability-SargNwlO.mjs";
|
|
17
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CrSZCZn1.mjs";
|
|
18
|
+
import { c as resolveEventLinkProps, i as formatCourseSessions, n as eventDisplayTitleText, s as resolveEventCta, t as eventDisplayTitle } from "./course-CmOuoZHN.mjs";
|
|
19
|
+
import { i as SvgNode, o as formatEventLocation } from "./MapDrawingSvg-DCLtxOnt.mjs";
|
|
20
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-Doe4KodB.mjs";
|
|
21
|
+
import { c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-BMZp3RS3.mjs";
|
|
22
|
+
import { a as EventCard, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-BmfyK7S5.mjs";
|
|
22
23
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
23
24
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
24
|
-
import { t as BookingPanelArrangement } from "./BookingPanelArrangement-
|
|
25
|
+
import { t as BookingPanelArrangement } from "./BookingPanelArrangement-Be704P85.mjs";
|
|
25
26
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
26
27
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
27
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
28
|
-
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
29
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
30
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
31
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
28
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-ByApwB4q.mjs";
|
|
29
|
+
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-Sw075FOY.mjs";
|
|
30
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-CXWLKDfa.mjs";
|
|
31
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-C8QHaQOI.mjs";
|
|
32
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-D5U-FuVy.mjs";
|
|
32
33
|
import React, { forwardRef } from "react";
|
|
33
34
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
34
35
|
import { z } from "zod";
|
|
@@ -43,7 +44,7 @@ const publicProfileWeekdays = [
|
|
|
43
44
|
"saturday",
|
|
44
45
|
"sunday"
|
|
45
46
|
];
|
|
46
|
-
function isRecord$
|
|
47
|
+
function isRecord$2(value) {
|
|
47
48
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
48
49
|
}
|
|
49
50
|
function trimmedOptionalString(value) {
|
|
@@ -84,7 +85,7 @@ function minutesSinceMidnight(value) {
|
|
|
84
85
|
}
|
|
85
86
|
function parseOpeningHoursDay(value, expectedWeekday, index) {
|
|
86
87
|
const path = `openingHours.days.${index}`;
|
|
87
|
-
if (!isRecord$
|
|
88
|
+
if (!isRecord$2(value) || value.weekday !== expectedWeekday) return err({
|
|
88
89
|
code: "invalid_weekdays",
|
|
89
90
|
path,
|
|
90
91
|
message: `Expected ${expectedWeekday} in calendar order.`
|
|
@@ -101,7 +102,7 @@ function parseOpeningHoursDay(value, expectedWeekday, index) {
|
|
|
101
102
|
const intervals = [];
|
|
102
103
|
for (const [intervalIndex, rawInterval] of value.intervals.entries()) {
|
|
103
104
|
const intervalPath = `${path}.intervals.${intervalIndex}`;
|
|
104
|
-
if (!isRecord$
|
|
105
|
+
if (!isRecord$2(rawInterval)) return err({
|
|
105
106
|
code: "invalid_interval",
|
|
106
107
|
path: intervalPath,
|
|
107
108
|
message: "Opening interval is invalid."
|
|
@@ -163,7 +164,7 @@ function parseOpeningHoursWeek(rawDays) {
|
|
|
163
164
|
]);
|
|
164
165
|
}
|
|
165
166
|
function parseWeeklyOpeningHours(value) {
|
|
166
|
-
if (!isRecord$
|
|
167
|
+
if (!isRecord$2(value) || !Array.isArray(value.days) || value.days.length !== publicProfileWeekdays.length) return err({
|
|
167
168
|
code: "invalid_weekdays",
|
|
168
169
|
path: "openingHours.days",
|
|
169
170
|
message: "Opening hours must include all seven weekdays."
|
|
@@ -185,6 +186,45 @@ function parseWeeklyOpeningHours(value) {
|
|
|
185
186
|
});
|
|
186
187
|
}
|
|
187
188
|
//#endregion
|
|
189
|
+
//#region ../core/src/rich-text.ts
|
|
190
|
+
function isRecord$1(value) {
|
|
191
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
192
|
+
}
|
|
193
|
+
function hasOnlyKeys(value, allowed) {
|
|
194
|
+
return Object.keys(value).every((key) => allowed.has(key));
|
|
195
|
+
}
|
|
196
|
+
const rootKeys = /* @__PURE__ */ new Set(["type", "content"]);
|
|
197
|
+
const nodeKeys = /* @__PURE__ */ new Set([
|
|
198
|
+
"type",
|
|
199
|
+
"content",
|
|
200
|
+
"text",
|
|
201
|
+
"attrs",
|
|
202
|
+
"marks"
|
|
203
|
+
]);
|
|
204
|
+
const markKeys = /* @__PURE__ */ new Set(["type", "attrs"]);
|
|
205
|
+
function isDenseArrayOf(value, predicate) {
|
|
206
|
+
for (let index = 0; index < value.length; index += 1) if (!(index in value) || !predicate(value[index])) return false;
|
|
207
|
+
return true;
|
|
208
|
+
}
|
|
209
|
+
function isTipTapMark(value) {
|
|
210
|
+
return isRecord$1(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord$1(value.attrs));
|
|
211
|
+
}
|
|
212
|
+
function isTipTapNode(value) {
|
|
213
|
+
if (!isRecord$1(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord$1(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
|
|
214
|
+
if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
|
|
215
|
+
return value.text === void 0;
|
|
216
|
+
}
|
|
217
|
+
function isCanonicalRichTextDoc(value) {
|
|
218
|
+
return isRecord$1(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
|
|
219
|
+
}
|
|
220
|
+
/** Whether a document contains non-whitespace text, including in nested nodes. */
|
|
221
|
+
function richTextHasText(document) {
|
|
222
|
+
return document.content.some(nodeHasText);
|
|
223
|
+
}
|
|
224
|
+
function nodeHasText(node) {
|
|
225
|
+
return Boolean(node.text?.trim()) || (node.content ?? []).some(nodeHasText);
|
|
226
|
+
}
|
|
227
|
+
//#endregion
|
|
188
228
|
//#region ../site-contracts/src/siteData/venues.ts
|
|
189
229
|
/** Additive map DTO; hidden venues retain only their public name and area. */
|
|
190
230
|
const publicVenueMapLocationSchema = publicLocationSchema.unwrap().extend({
|
|
@@ -2092,15 +2132,18 @@ function EventQuickDateCard(props) {
|
|
|
2092
2132
|
* exists so a sold-out or closed offering stays reachable (issue 1372); the
|
|
2093
2133
|
* `.event-title-link` rule lives in theme-core's event-list.css.
|
|
2094
2134
|
*/
|
|
2095
|
-
function OfferingTitle({ className, path, title }) {
|
|
2096
|
-
return /* @__PURE__ */ jsx("h3", {
|
|
2135
|
+
function OfferingTitle({ className, path, title, runName }) {
|
|
2136
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("h3", {
|
|
2097
2137
|
className,
|
|
2098
2138
|
children: path ? /* @__PURE__ */ jsx("a", {
|
|
2099
2139
|
className: "event-title-link",
|
|
2100
2140
|
href: path,
|
|
2101
2141
|
children: title
|
|
2102
2142
|
}) : title
|
|
2103
|
-
})
|
|
2143
|
+
}), runName ? /* @__PURE__ */ jsx("p", {
|
|
2144
|
+
className: "offering-run-name rb-caption",
|
|
2145
|
+
children: runName
|
|
2146
|
+
}) : null] });
|
|
2104
2147
|
}
|
|
2105
2148
|
//#endregion
|
|
2106
2149
|
//#region ../blocks/src/system/runtime/nodes/location-map.shared.ts
|
|
@@ -2442,12 +2485,10 @@ function scopeCsv(value) {
|
|
|
2442
2485
|
*/
|
|
2443
2486
|
function eventScopeQuery(scope) {
|
|
2444
2487
|
if (scope.kind === "selected") return { seriesIds: scope.seriesIds.join(",") };
|
|
2445
|
-
|
|
2446
|
-
for (const key of eventDiscoveryFilterKeys) {
|
|
2488
|
+
return Object.fromEntries(eventDiscoveryFilterKeys.flatMap((key) => {
|
|
2447
2489
|
const value = scopeCsv(scope.filters[key]);
|
|
2448
|
-
|
|
2449
|
-
}
|
|
2450
|
-
return query;
|
|
2490
|
+
return value === void 0 ? [] : [[discoveryQueryKey[key], value]];
|
|
2491
|
+
}));
|
|
2451
2492
|
}
|
|
2452
2493
|
/**
|
|
2453
2494
|
* A query value as a loader binding must return it. Binding resolution treats
|
|
@@ -4570,20 +4611,11 @@ function toBiography(source) {
|
|
|
4570
4611
|
paragraphs: source
|
|
4571
4612
|
} : null;
|
|
4572
4613
|
const document = source;
|
|
4573
|
-
return
|
|
4614
|
+
return richTextHasText(document) ? {
|
|
4574
4615
|
kind: "document",
|
|
4575
4616
|
document
|
|
4576
4617
|
} : null;
|
|
4577
4618
|
}
|
|
4578
|
-
const textNodeSchema = z.object({
|
|
4579
|
-
text: z.string().optional(),
|
|
4580
|
-
content: z.array(z.unknown()).optional()
|
|
4581
|
-
});
|
|
4582
|
-
function hasText(node) {
|
|
4583
|
-
const parsed = textNodeSchema.safeParse(node);
|
|
4584
|
-
if (!parsed.success) return false;
|
|
4585
|
-
return (parsed.data.text?.trim().length ?? 0) > 0 || (parsed.data.content ?? []).some(hasText);
|
|
4586
|
-
}
|
|
4587
4619
|
//#endregion
|
|
4588
4620
|
//#region ../theme-core/src/responsiveDisplay.ts
|
|
4589
4621
|
const BASE_DISPLAY_CLASSES = {
|
|
@@ -10138,7 +10170,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
10138
10170
|
});
|
|
10139
10171
|
const dateRail = formatEventCompactDateRail(firstSession.startsAt, options);
|
|
10140
10172
|
const timeRange = formatRunScheduleTime(schedule, options);
|
|
10141
|
-
const price =
|
|
10173
|
+
const price = formatCoursePrice(group.representative.pricing);
|
|
10142
10174
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
10143
10175
|
return /* @__PURE__ */ jsxs("article", {
|
|
10144
10176
|
className: "event-compact-row offerings-preview-whole-series-row",
|
|
@@ -10168,7 +10200,7 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
10168
10200
|
/* @__PURE__ */ jsx(OfferingTitle, {
|
|
10169
10201
|
className: "event-compact-row-title",
|
|
10170
10202
|
path,
|
|
10171
|
-
|
|
10203
|
+
...eventDisplayTitle(group.representative)
|
|
10172
10204
|
}),
|
|
10173
10205
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
10174
10206
|
facts: group.representative.facts,
|
|
@@ -10185,13 +10217,9 @@ function WholeSeriesRunCompactRow({ group, path, now }) {
|
|
|
10185
10217
|
className: "event-compact-row-price",
|
|
10186
10218
|
children: price
|
|
10187
10219
|
}),
|
|
10188
|
-
/* @__PURE__ */
|
|
10220
|
+
/* @__PURE__ */ jsx("span", {
|
|
10189
10221
|
className: "event-compact-row-price",
|
|
10190
|
-
children:
|
|
10191
|
-
sessionsCount,
|
|
10192
|
-
" session",
|
|
10193
|
-
sessionsCount === 1 ? "" : "s"
|
|
10194
|
-
]
|
|
10222
|
+
children: formatCourseSessions(group.representative) ?? `${sessionsCount} session${sessionsCount === 1 ? "" : "s"}`
|
|
10195
10223
|
})
|
|
10196
10224
|
]
|
|
10197
10225
|
})
|
|
@@ -10231,7 +10259,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
|
|
|
10231
10259
|
});
|
|
10232
10260
|
const formattedDate = formatEventCompactDateRail(firstSession.startsAt, options).label;
|
|
10233
10261
|
const timeRange = formatRunScheduleTime(schedule, options);
|
|
10234
|
-
const price =
|
|
10262
|
+
const price = formatCoursePrice(group.representative.pricing);
|
|
10235
10263
|
const statusLabel = resolveWholeSeriesBookingPhase(group.run, now).kind === "open" ? null : "Registration closed";
|
|
10236
10264
|
const description = group.representative.description;
|
|
10237
10265
|
return /* @__PURE__ */ jsx("article", {
|
|
@@ -10242,7 +10270,7 @@ function WholeSeriesRunFeatureCard({ group, now, path, buttonVariant, buttonText
|
|
|
10242
10270
|
/* @__PURE__ */ jsx(OfferingTitle, {
|
|
10243
10271
|
className: "card-title rb-mb-3",
|
|
10244
10272
|
path,
|
|
10245
|
-
|
|
10273
|
+
...eventDisplayTitle(group.representative)
|
|
10246
10274
|
}),
|
|
10247
10275
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
10248
10276
|
facts: group.representative.facts,
|
|
@@ -10340,7 +10368,7 @@ function RunWithoutLiveDates({ group, path }) {
|
|
|
10340
10368
|
/* @__PURE__ */ jsx(OfferingTitle, {
|
|
10341
10369
|
className: "rb-heading-xs",
|
|
10342
10370
|
path,
|
|
10343
|
-
|
|
10371
|
+
...eventDisplayTitle(group.representative)
|
|
10344
10372
|
}),
|
|
10345
10373
|
/* @__PURE__ */ jsx(EventQuickFacts, {
|
|
10346
10374
|
facts: group.representative.facts,
|
|
@@ -10980,7 +11008,7 @@ function renderCalendarSsr(display, hydration) {
|
|
|
10980
11008
|
children: [day.visibleEntries.map(({ event, timeZone }) => /* @__PURE__ */ jsxs("a", {
|
|
10981
11009
|
...resolveEventLinkProps(event),
|
|
10982
11010
|
className: "event-calendar-event",
|
|
10983
|
-
title: `${event
|
|
11011
|
+
title: `${eventDisplayTitleText(event)} at ${formatTime(event.startsAt, eventDateOptions({
|
|
10984
11012
|
...event,
|
|
10985
11013
|
timeZone
|
|
10986
11014
|
}))}`,
|
|
@@ -10995,7 +11023,7 @@ function renderCalendarSsr(display, hydration) {
|
|
|
10995
11023
|
" ",
|
|
10996
11024
|
/* @__PURE__ */ jsx("span", {
|
|
10997
11025
|
className: "event-calendar-event-title",
|
|
10998
|
-
children: event
|
|
11026
|
+
children: eventDisplayTitleText(event)
|
|
10999
11027
|
})
|
|
11000
11028
|
]
|
|
11001
11029
|
}, event.occurrenceId || event.id)), day.moreCount > 0 ? /* @__PURE__ */ jsxs("div", {
|
|
@@ -11086,7 +11114,7 @@ function renderTimetableSsr(display, hydration) {
|
|
|
11086
11114
|
}) : day.events.map((cell) => /* @__PURE__ */ jsxs("a", {
|
|
11087
11115
|
...resolveEventLinkProps(cell.event),
|
|
11088
11116
|
className: "event-timetable-event",
|
|
11089
|
-
title: `${cell.event
|
|
11117
|
+
title: `${eventDisplayTitleText(cell.event)}, ${cell.timeLabel}`,
|
|
11090
11118
|
style: {
|
|
11091
11119
|
top: `${cell.topPercent}%`,
|
|
11092
11120
|
height: `${cell.heightPercent}%`,
|
|
@@ -11101,7 +11129,7 @@ function renderTimetableSsr(display, hydration) {
|
|
|
11101
11129
|
}),
|
|
11102
11130
|
/* @__PURE__ */ jsx("span", {
|
|
11103
11131
|
className: "event-timetable-event-title",
|
|
11104
|
-
children: cell.event
|
|
11132
|
+
children: eventDisplayTitleText(cell.event)
|
|
11105
11133
|
}),
|
|
11106
11134
|
cell.teacherLine ? /* @__PURE__ */ jsx("span", {
|
|
11107
11135
|
className: "event-timetable-event-teacher",
|
|
@@ -11707,4 +11735,4 @@ const serverComponentRegistry = {
|
|
|
11707
11735
|
...buildServerRegistryFromEntries(runtimeBackedBlockServerEntries)
|
|
11708
11736
|
};
|
|
11709
11737
|
//#endregion
|
|
11710
|
-
export { backgroundFrame as $, chosenString as $t, mapDrawingStyleBinding as A, ICON_SIZE_PX as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, createButtonGroup as Cn, repeat as Ct, shopBlockDefinition as D, ACCORDION_TRIGGER_FONT_SCALE as Dn, text as Dt, productListBlockDefinition as E, ACCORDION_SPACING_MAP as En, stack as Et, markEditableSurfaceForwarding as F, resolveRepeaterGridColumnFieldId as Fn, parseBlockIconValue as Ft, withApiBindings as G, eventReadinessQueryKeys as Gt, formDataSchema as H, augmentManifest as Ht, splitPositioningClasses as I, resolveRepeaterGridRowFieldId as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventDiscoveryFilterKeys as Jt, formCopyFragment as K, eventReadinessResultSchema as Kt, desktopOnlyDisplay as L, resolveRepeaterGridSpanFieldId as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, DEFAULT_MEDIA_FIELD_KINDS as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, isAcceptedRepeaterGridSpan as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, ACCORDION_TRIGGER_LETTER_SPACING as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, parseRepeaterGridInteger as Pn, normalizeCardListContent as Pt, sectionContainer as Q, resolveEventScope as Qt, mobileOnlyDisplay as R, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, getAnchorClasses as Sn, props as St, productDetailBlockDefinition as T, ACCORDION_OPEN_ACCENT_THICKNESS as Tn, section as Tt, createBlockManifest as U, eventReadinessLoaderKey as Ut, formBlockDefinition as V, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, eventReadinessQuery as Wt, styledSection as X, eventScopeQuery as Xt, resolveBackgroundColorValue as Y, eventScopeLoaderParam as Yt, styledContainer as Z, eventScopeQueryKeys as Zt, publicAppointmentLocationSchema as _, layoutField as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, loadedReadinessFact as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, sectionStylesField as bn, link as bt, HeaderSectionFrame as c, LOCATION_MAP_DEFAULTS as cn, lookSlot as ct, accordionIconColorStyle as d, normalizeLocationMapSource as dn, bookingForm as dt, galleryReadiness as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, resolveLocationMapLocation as fn, button as ft, formatAppointmentPrice as g, eventDisplayFields as gn, form as gt, formatAppointmentLocation as h, emptyStateField as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, hiddenFromVisitors as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, bindingSchema as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ICON_CONFIG as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_LIMITS as ln, accordionList as lt, formatAppointmentDuration as m, columnsField as mn, el as mt, runtimeBackedBlockModes as n, testimonialsReadiness as nn, defineFragment as nt, LocationMapSSR as o, pageTemplateFromEntry as on, lookQuoteLimitTransform as ot, SectionNode as p, cardStylingFields as pn, carousel as pt, sectionHeaderFields as q, eventWeekReadScope as qt, runtimeBackedBlockServerEntries as r, admitReadinessFacts as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, unavailableReadinessFact as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, teamReadiness as tn, composeFragments as tt, accordionLookAttributes as u, normalizeLocationMapProps as un, bind as ut, publicAppointmentPricingSchema as v, cardStylesField as vn, icon as vt, cartBlockDefinition as w, createButtonVariantField as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, BACKGROUND_POSITION_PRESET_VALUES as xn, media as xt, offeringCourseSlotParents as y, containerStylesField as yn, inline as yt, teamMemberCardBiographyFallback as z, linkSchema as zn, parseFieldDefinition as zt };
|
|
11738
|
+
export { backgroundFrame as $, chosenString as $t, mapDrawingStyleBinding as A, ICON_SIZE_PX as An, cardListKnobFields as At, normalizeMailingListBlockContent as B, isCanonicalRichTextDoc as Bn, parseFieldDefinitions as Bt, checkoutBlockDefinition as C, createButtonGroup as Cn, repeat as Ct, shopBlockDefinition as D, ACCORDION_TRIGGER_FONT_SCALE as Dn, text as Dt, productListBlockDefinition as E, ACCORDION_SPACING_MAP as En, stack as Et, markEditableSurfaceForwarding as F, resolveRepeaterGridColumnFieldId as Fn, parseBlockIconValue as Ft, withApiBindings as G, eventReadinessQueryKeys as Gt, formDataSchema as H, augmentManifest as Ht, splitPositioningClasses as I, resolveRepeaterGridRowFieldId as In, createSdkSelectField as It, sectionHeaderLayoutNodes as J, eventDiscoveryFilterKeys as Jt, formCopyFragment as K, eventReadinessResultSchema as Kt, desktopOnlyDisplay as L, resolveRepeaterGridSpanFieldId as Ln, createSiteOptionSelectField as Lt, FEATURE_CARD_GENERATED_ICON_SIZE_PX as M, DEFAULT_MEDIA_FIELD_KINDS as Mn, cardListPresentationBindings as Mt, FEATURE_CARD_ICON_TREATMENTS as N, isAcceptedRepeaterGridSpan as Nn, cardListSectionActionFields as Nt, eventCalendarBlockDefinition as O, ACCORDION_TRIGGER_LETTER_SPACING as On, videoEmbed as Ot, composeHeaderSectionWrapperClassName as P, parseRepeaterGridInteger as Pn, normalizeCardListContent as Pt, sectionContainer as Q, resolveEventScope as Qt, mobileOnlyDisplay as R, RESOLVED_INTERNAL_LINK_ENTITY_TYPES as Rn, normalizeSelectSource as Rt, giftingBlockDefinition as S, getAnchorClasses as Sn, props as St, productDetailBlockDefinition as T, ACCORDION_OPEN_ACCENT_THICKNESS as Tn, section as Tt, createBlockManifest as U, eventReadinessLoaderKey as Ut, formBlockDefinition as V, PUBLIC_DOWNLOAD_MEDIA_TYPES as Vt, formEmbedFragment as W, eventReadinessQuery as Wt, styledSection as X, eventScopeQuery as Xt, resolveBackgroundColorValue as Y, eventScopeLoaderParam as Yt, styledContainer as Z, eventScopeQueryKeys as Zt, publicAppointmentLocationSchema as _, layoutField as _n, headerSection as _t, buildLoadedOfferingsPreviewListing as a, loadedReadinessFact as an, lookLeadSlotTransform as at, newsletterSignupBlockDefinition as b, sectionStylesField as bn, link as bt, HeaderSectionFrame as c, LOCATION_MAP_DEFAULTS as cn, lookSlot as ct, accordionIconColorStyle as d, normalizeLocationMapSource as dn, bookingForm as dt, galleryReadiness as en, buildFragmentDataLoaders as et, resolveAccordionIconStyle as f, resolveLocationMapLocation as fn, button as ft, formatAppointmentPrice as g, eventDisplayFields as gn, form as gt, formatAppointmentLocation as h, emptyStateField as hn, fileDownload as ht, WeeklySlotAvailabilityView as i, hiddenFromVisitors as in, lookCarouselRegionTransform as it, eventRegistrationBlockDefinition as j, bindingSchema as jn, cardListPhotoNumberFields as jt, eventListingBlockDefinition as k, ICON_CONFIG as kn, when as kt, accordionItemPartSlots as l, LOCATION_MAP_LIMITS as ln, accordionList as lt, formatAppointmentDuration as m, columnsField as mn, el as mt, runtimeBackedBlockModes as n, testimonialsReadiness as nn, defineFragment as nt, LocationMapSSR as o, pageTemplateFromEntry as on, lookQuoteLimitTransform as ot, SectionNode as p, cardStylingFields as pn, carousel as pt, sectionHeaderFields as q, eventWeekReadScope as qt, runtimeBackedBlockServerEntries as r, admitReadinessFacts as rn, cardListSectionAction as rt, buildAppointmentServicesView as s, unavailableReadinessFact as sn, lookSkinSlotTransform as st, serverComponentRegistry as t, teamReadiness as tn, composeFragments as tt, accordionLookAttributes as u, normalizeLocationMapProps as un, bind as ut, publicAppointmentPricingSchema as v, cardStylesField as vn, icon as vt, cartBlockDefinition as w, createButtonVariantField as wn, richText as wt, sanitizeNewsletterSignupPublicContent as x, BACKGROUND_POSITION_PRESET_VALUES as xn, media as xt, offeringCourseSlotParents as y, containerStylesField as yn, inline as yt, teamMemberCardBiographyFallback as z, linkSchema as zn, parseFieldDefinition as zt };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
3
|
+
import { gn as staticHeaderChromeRuntime } from "../shop.interactive-CXhYl0DW.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import {
|
|
5
|
+
import { Cr as renderAudio, Or as resolveMediaNodeResponsiveImage, Sr as mediaImageHostProps, br as MediaPlaceholder, vr as RichText, wr as renderVideo, xr as computeMediaTransformStyle, yr as ImagePresets } from "../display-lL-YRApN.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-BM2s-NqR.mjs";
|
|
7
|
+
import { fn as formatCurrencyAmount } from "../noop-CN0o0yjH.mjs";
|
|
8
8
|
import { p as assertNever } from "../creditProducts-BTRX4edc.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import "../
|
|
11
|
-
import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, kn as ICON_CONFIG, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-
|
|
12
|
-
import { f as Text } from "../timetableModel-
|
|
13
|
-
import { t as
|
|
14
|
-
import
|
|
9
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-GuuElczW.mjs";
|
|
10
|
+
import { i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField } from "../DemoBookingPortalAccess-CARUWQ_E.mjs";
|
|
11
|
+
import { F as markEditableSurfaceForwarding, I as splitPositioningClasses, P as composeHeaderSectionWrapperClassName, c as HeaderSectionFrame, d as accordionIconColorStyle, f as resolveAccordionIconStyle, i as WeeklySlotAvailabilityView, kn as ICON_CONFIG, l as accordionItemPartSlots, n as runtimeBackedBlockModes, o as LocationMapSSR, r as runtimeBackedBlockServerEntries, t as serverComponentRegistry, u as accordionLookAttributes } from "../registry.server-Cdot3dMk.mjs";
|
|
12
|
+
import { f as Text } from "../timetableModel-CZeJwMxP.mjs";
|
|
13
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-D0KCgbOq.mjs";
|
|
14
|
+
import "../accessibleSurfaces-D4DhWo9j.mjs";
|
|
15
15
|
import { S as clsx } from "../ThemedButton-DuaYtnvG.mjs";
|
|
16
|
-
import { t as ShopClient } from "../shop.client-
|
|
16
|
+
import { t as ShopClient } from "../shop.client-Brha4BSM.mjs";
|
|
17
17
|
import { t as FeedbackMessage } from "../FeedbackMessage-CSJrAuXH.mjs";
|
|
18
18
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
19
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
20
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
19
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-ByApwB4q.mjs";
|
|
20
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-DfbSkWop.mjs";
|
|
21
21
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
22
22
|
import { t as CarouselNodeClient } from "../carousel.client-h65clfUO.mjs";
|
|
23
|
-
import { t as EventDetailsIslandClient } from "../event-details.client-
|
|
24
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
25
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
26
|
-
import { t as CartClient } from "../cart.client-
|
|
27
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
28
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
29
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
30
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
31
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
32
|
-
import { t as FormNodeClient } from "../form.client-
|
|
33
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
34
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
23
|
+
import { t as EventDetailsIslandClient } from "../event-details.client-DH1-Jxsh.mjs";
|
|
24
|
+
import { t as ProductListClient } from "../product-list.client-DkSpw6WQ.mjs";
|
|
25
|
+
import { t as ProductDetailClient } from "../product-detail.client-d_sNCapC.mjs";
|
|
26
|
+
import { t as CartClient } from "../cart.client-BI0IaHX3.mjs";
|
|
27
|
+
import { t as CheckoutClient } from "../checkout.client-DOGYDlDk.mjs";
|
|
28
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-B-eLGs2C.mjs";
|
|
29
|
+
import { t as EventListingClient } from "../EventListing.client-DvJ5tGTx.mjs";
|
|
30
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-CoRUaYHY.mjs";
|
|
31
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-CaI6upCX.mjs";
|
|
32
|
+
import { t as FormNodeClient } from "../form.client-D12ljYiX.mjs";
|
|
33
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-oHrqM_Ao.mjs";
|
|
34
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-BnUeSE3d.mjs";
|
|
35
35
|
import * as React$1 from "react";
|
|
36
36
|
import React, { createContext, createElement, startTransition, useContext, useEffect, useMemo, useReducer, useRef } from "react";
|
|
37
37
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,50 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { Dn as unsafeAsContentEntryId } from "./shop.interactive-CXhYl0DW.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { $ as flowRepeaterGridItems, A as prefetchBlockDataWithFailures, B as getBlockDefinition, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as resolveAuthoredLinkHref, G as admitTransportedRenderableManifestContent, H as siteFooterManifest, I as isRouteVisibleInStage, J as admitLayoutGridForPlan, K as compileManifestContentContract, L as normalizeRenderStage, M as makeDefaultBlockComponent, N as renderBlock, O as MissingSdkThemeError, P as getDefaultComponentRegistry, Q as projectRepeaterGridLayoutForRendering$1, R as resolveRouteHrefForStage, S as readInvalidBlockAdmission, T as siteLocationRenderContext, U as siteHeaderManifest, V as systemBlockDefinitions, W as blockDesignCapabilityMapFromDefinitions, X as fieldPlanToZod, Y as deriveFieldValidationPlan, Z as projectRepeaterGridLayout$1, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, at as buildPageDesignEditorReadModel, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, d as buildThemeRuntime, et as normalizeRepeaterGridSpan, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as parseListLook, k as requireSdkTheme, l as PageRenderer, lt as readPublishedBlockPlacement, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as isRecord$
|
|
7
|
-
import { Fn as resolveRepeaterGridColumnFieldId, In as resolveRepeaterGridRowFieldId, Ln as resolveRepeaterGridSpanFieldId, zt as parseFieldDefinition } from "./registry.server-
|
|
8
|
-
import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText } from "./timetableModel-
|
|
9
|
-
import { l as parseBackgroundContent } from "./boxStyleClassNames-
|
|
4
|
+
import { Dr as resolveImageUrlWithContext$1, Er as resolveImageUrl$1, Fc as unsafeAsEventCategoryId, Lo as parsePageDesignIntent, Qs as asLayoutVariantKey, Sa as resolveDateRuntimeContext, So as surfaceResolutionContextFromTheme, Tr as resolveImageSourceSetWithContext$1, Xs as asAppearancePresetId, Zs as asDesignBlockId, cs as appearancePresets, do as buildInitialPolicyPageDesignIntent, go as designRuntimeRulesForSiteStyle, ho as componentRuntimeRulesForSiteStyle, nc as sanitizeHref, vo as requireCuratedSiteStyle, vr as RichText$2, xa as readRuntimeNow, xc as offeringLabelForPageSurfaceSubject, xr as computeMediaTransformStyle } from "./display-lL-YRApN.mjs";
|
|
5
|
+
import { Dt as EVENT_PRESET_VALUES, Et as isRecord, X as createRichTextDoc, Y as buildRichTextSchema, nt as persistableMediaSchema, rt as runtimeMediaSchema, sn as toUtcIsoDateTimeString, tt as mediaSchema } from "./noop-CN0o0yjH.mjs";
|
|
6
|
+
import { $ as flowRepeaterGridItems, A as prefetchBlockDataWithFailures, B as getBlockDefinition, C as resolveSdkBlockManifest, D as MISSING_SDK_THEME_ERROR_CODE, E as resolveSiteCustomBlocks, F as resolveAuthoredLinkHref, G as admitTransportedRenderableManifestContent, H as siteFooterManifest, I as isRouteVisibleInStage, J as admitLayoutGridForPlan, K as compileManifestContentContract, L as normalizeRenderStage, M as makeDefaultBlockComponent, N as renderBlock, O as MissingSdkThemeError, P as getDefaultComponentRegistry, Q as projectRepeaterGridLayoutForRendering$1, R as resolveRouteHrefForStage, S as readInvalidBlockAdmission, T as siteLocationRenderContext, U as siteHeaderManifest, V as systemBlockDefinitions, W as blockDesignCapabilityMapFromDefinitions, X as fieldPlanToZod, Y as deriveFieldValidationPlan, Z as projectRepeaterGridLayout$1, _ as buildRenderablePageOutline, a as solvedInksForThemeRuntime, at as buildPageDesignEditorReadModel, b as invalidRenderableBlock$1, c as MissingBlockOverrideError, d as buildThemeRuntime, et as normalizeRepeaterGridSpan, f as parseBlocksTheme, g as blockDesignInputsForDefinition, h as resolveRuntimeJoinFacts, i as renderWithSdkThemeRuntime, it as parseListLook, k as requireSdkTheme, l as PageRenderer, lt as readPublishedBlockPlacement, m as isEntryBoundBlockEmpty, n as planLayoutThemeRuntime, nt as isRecord$1, o as ThemeScope, ot as applyCompiledRuntimeFieldsToContent, p as applyBindingsToContent, q as registeredManifestContentContract, r as renderWithOverrideOnlyRuntime, s as EditorPageRenderer, st as compileEditorModelRuntime, t as Page, tt as resolveRepeaterGridAcceptedSpans, u as toBlocksPageRendererDataContext, v as buildSiteRenderSupport, w as sanitizeSdkRuntimeBlockContent, x as projectRenderablePageOutline, y as collectMediaAssetSidecar, z as allOutlineBlocks } from "./Page-D46Dmr7b.mjs";
|
|
7
|
+
import { Bn as isCanonicalRichTextDoc, Fn as resolveRepeaterGridColumnFieldId, In as resolveRepeaterGridRowFieldId, Ln as resolveRepeaterGridSpanFieldId, zt as parseFieldDefinition } from "./registry.server-Cdot3dMk.mjs";
|
|
8
|
+
import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText } from "./timetableModel-CZeJwMxP.mjs";
|
|
9
|
+
import { l as parseBackgroundContent } from "./boxStyleClassNames-Cahps5kR.mjs";
|
|
10
10
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
11
11
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-B99AP7ai.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
16
|
-
//#region ../core/src/rich-text.ts
|
|
17
|
-
function isRecord(value) {
|
|
18
|
-
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
19
|
-
}
|
|
20
|
-
function hasOnlyKeys(value, allowed) {
|
|
21
|
-
return Object.keys(value).every((key) => allowed.has(key));
|
|
22
|
-
}
|
|
23
|
-
const rootKeys = /* @__PURE__ */ new Set(["type", "content"]);
|
|
24
|
-
const nodeKeys = /* @__PURE__ */ new Set([
|
|
25
|
-
"type",
|
|
26
|
-
"content",
|
|
27
|
-
"text",
|
|
28
|
-
"attrs",
|
|
29
|
-
"marks"
|
|
30
|
-
]);
|
|
31
|
-
const markKeys = /* @__PURE__ */ new Set(["type", "attrs"]);
|
|
32
|
-
function isDenseArrayOf(value, predicate) {
|
|
33
|
-
for (let index = 0; index < value.length; index += 1) if (!(index in value) || !predicate(value[index])) return false;
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
function isTipTapMark(value) {
|
|
37
|
-
return isRecord(value) && hasOnlyKeys(value, markKeys) && typeof value.type === "string" && value.type.length > 0 && (value.attrs === void 0 || isRecord(value.attrs));
|
|
38
|
-
}
|
|
39
|
-
function isTipTapNode(value) {
|
|
40
|
-
if (!isRecord(value) || !hasOnlyKeys(value, nodeKeys) || typeof value.type !== "string" || value.type.length === 0 || value.type === "doc" || value.attrs !== void 0 && !isRecord(value.attrs) || value.marks !== void 0 && (!Array.isArray(value.marks) || !isDenseArrayOf(value.marks, isTipTapMark)) || value.content !== void 0 && (!Array.isArray(value.content) || !isDenseArrayOf(value.content, isTipTapNode))) return false;
|
|
41
|
-
if (value.type === "text") return typeof value.text === "string" && value.text.length > 0 && value.content === void 0;
|
|
42
|
-
return value.text === void 0;
|
|
43
|
-
}
|
|
44
|
-
function isCanonicalRichTextDoc(value) {
|
|
45
|
-
return isRecord(value) && hasOnlyKeys(value, rootKeys) && value.type === "doc" && Array.isArray(value.content) && isDenseArrayOf(value.content, isTipTapNode);
|
|
46
|
-
}
|
|
47
|
-
//#endregion
|
|
48
16
|
//#region ../core/src/navigation-portal-labels.ts
|
|
49
17
|
/**
|
|
50
18
|
* What a customer sign-in link in a site's menu says when the site hasn't set
|
|
@@ -646,7 +614,8 @@ function buildLogo(logo, fallbackAlt) {
|
|
|
646
614
|
const result = {
|
|
647
615
|
type: "image",
|
|
648
616
|
src: logo.url,
|
|
649
|
-
alt
|
|
617
|
+
alt,
|
|
618
|
+
logoFacts: logo.logoFacts
|
|
650
619
|
};
|
|
651
620
|
if (logo.width != null) result.width = logo.width;
|
|
652
621
|
if (logo.height != null) result.height = logo.height;
|
|
@@ -2187,9 +2156,9 @@ Object.freeze({
|
|
|
2187
2156
|
*/
|
|
2188
2157
|
const SECTION_VALUES_CONTENT_KEY = "sections";
|
|
2189
2158
|
function readStoredSectionValues(content) {
|
|
2190
|
-
if (!isRecord
|
|
2159
|
+
if (!isRecord(content)) return {};
|
|
2191
2160
|
const sections = content[SECTION_VALUES_CONTENT_KEY];
|
|
2192
|
-
return isRecord
|
|
2161
|
+
return isRecord(sections) ? sections : {};
|
|
2193
2162
|
}
|
|
2194
2163
|
//#endregion
|
|
2195
2164
|
//#region ../content-model/src/page-sections/facts.ts
|
|
@@ -3037,7 +3006,7 @@ function ensureFieldValue(field, raw, ctx) {
|
|
|
3037
3006
|
return (Array.isArray(value) ? value : []).map((item) => ensureRepeaterItem(field, item, ctx));
|
|
3038
3007
|
}
|
|
3039
3008
|
function ensureRepeaterItem(field, value, ctx) {
|
|
3040
|
-
const itemData = isRecord
|
|
3009
|
+
const itemData = isRecord(value) ? value : {};
|
|
3041
3010
|
const itemType = typeof itemData._type === "string" ? itemData._type : Object.keys(field.itemTypes ?? {})[0] ?? "";
|
|
3042
3011
|
const fields = field.polymorphic ? field.itemTypes[itemType]?.fields ?? [] : getRepeaterChildFields(field);
|
|
3043
3012
|
return {
|
|
@@ -3115,7 +3084,7 @@ function pageSectionBlockKind(kind) {
|
|
|
3115
3084
|
/** Section Looks stored on the template anchor. Full pages only: booking pages always use the style's default (README decision 8). */
|
|
3116
3085
|
function pageSectionLookOverrides(blocks) {
|
|
3117
3086
|
const looks = blocks.find((block) => block.blockKind === PAGE_SECTIONS_ANCHOR_BLOCK_KIND)?.content?.looks;
|
|
3118
|
-
return isRecord$
|
|
3087
|
+
return isRecord$1(looks) ? looks : {};
|
|
3119
3088
|
}
|
|
3120
3089
|
/** Pure, shared by public pages and preview. Empty values disappear before layout. */
|
|
3121
3090
|
function compilePageSections(input, lookOverrides) {
|
|
@@ -3200,7 +3169,7 @@ function readStringProperty(value, key) {
|
|
|
3200
3169
|
return trimmed.length > 0 ? trimmed : null;
|
|
3201
3170
|
}
|
|
3202
3171
|
function readLiteralBindingString(value) {
|
|
3203
|
-
if (!isRecord$
|
|
3172
|
+
if (!isRecord$1(value)) return null;
|
|
3204
3173
|
if (value.source !== "literal") return null;
|
|
3205
3174
|
const literal = value.value;
|
|
3206
3175
|
if (typeof literal !== "string") return null;
|
|
@@ -3280,7 +3249,7 @@ function resolveRenderableSurfaceOutlineMetadata(surface, template) {
|
|
|
3280
3249
|
function buildContentEntrySubjectBindingContext(entry, id, route, dateContext, subject) {
|
|
3281
3250
|
return {
|
|
3282
3251
|
dateContext,
|
|
3283
|
-
fields: isRecord$
|
|
3252
|
+
fields: isRecord$1(entry.content) ? entry.content : {},
|
|
3284
3253
|
meta: {
|
|
3285
3254
|
...subject === void 0 ? {} : { subject },
|
|
3286
3255
|
id,
|
|
@@ -3308,8 +3277,8 @@ function buildContentEntryRouteRenderMetadata(entry, page) {
|
|
|
3308
3277
|
};
|
|
3309
3278
|
}
|
|
3310
3279
|
function materializeTemplateBlockContent(input) {
|
|
3311
|
-
const rawContent = isRecord$
|
|
3312
|
-
return applyTemplateRuntimeFields(input.block.scope === "entry" && isRecord$
|
|
3280
|
+
const rawContent = isRecord$1(input.block.content) ? { ...input.block.content } : {};
|
|
3281
|
+
return applyTemplateRuntimeFields(input.block.scope === "entry" && isRecord$1(input.block.bindings) ? applyBindingsToContent(rawContent, input.block.bindings, input.context) : rawContent, input.runtimeFields);
|
|
3313
3282
|
}
|
|
3314
3283
|
/**
|
|
3315
3284
|
* Admits materialized template content for rendering only.
|
|
@@ -3403,7 +3372,7 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
|
|
|
3403
3372
|
kind: block.blockKind,
|
|
3404
3373
|
purpose: "content",
|
|
3405
3374
|
publishedPlacement: null,
|
|
3406
|
-
...isRecord$
|
|
3375
|
+
...isRecord$1(block.bindings) ? { bindings: block.bindings } : {}
|
|
3407
3376
|
};
|
|
3408
3377
|
if (contract === null) return [invalidRenderableBlock(base, { kind: "manifest_unavailable" })];
|
|
3409
3378
|
const materialized = materializeTemplateBlockContent({
|
|
@@ -3411,7 +3380,7 @@ function buildBlockFromTemplate(block, context, runtimeFields, contract) {
|
|
|
3411
3380
|
context,
|
|
3412
3381
|
runtimeFields
|
|
3413
3382
|
});
|
|
3414
|
-
if (block.scope === "entry" && isRecord$
|
|
3383
|
+
if (block.scope === "entry" && isRecord$1(block.bindings) && isEntryBoundBlockEmpty(materialized, block.bindings, contract)) return [];
|
|
3415
3384
|
const admission = admitMaterializedTemplateContent(materialized, contract);
|
|
3416
3385
|
return [admission.ok ? {
|
|
3417
3386
|
...base,
|
|
@@ -3428,7 +3397,7 @@ function applyTemplateRuntimeFields(content, runtimeFields) {
|
|
|
3428
3397
|
return applyMissingImageBackgroundFallback(canonicalizeSectionBackground(runtimeFields !== null && runtimeFields !== void 0 ? applyCompiledRuntimeFieldsToContent(content, runtimeFields) : content));
|
|
3429
3398
|
}
|
|
3430
3399
|
function canonicalizeSectionBackground(content) {
|
|
3431
|
-
const sectionStyles = isRecord$
|
|
3400
|
+
const sectionStyles = isRecord$1(content._sectionStyles) ? content._sectionStyles : null;
|
|
3432
3401
|
if (sectionStyles === null || sectionStyles.background === void 0) return content;
|
|
3433
3402
|
const background = parseBackgroundContent(sectionStyles.background);
|
|
3434
3403
|
return background !== null ? {
|
|
@@ -3440,7 +3409,7 @@ function canonicalizeSectionBackground(content) {
|
|
|
3440
3409
|
} : content;
|
|
3441
3410
|
}
|
|
3442
3411
|
function applyMissingImageBackgroundFallback(content) {
|
|
3443
|
-
const sectionStyles = isRecord$
|
|
3412
|
+
const sectionStyles = isRecord$1(content._sectionStyles) ? content._sectionStyles : null;
|
|
3444
3413
|
const background = parseBackgroundContent(sectionStyles?.background);
|
|
3445
3414
|
if (sectionStyles === null || background?.type !== "image" || background.image !== null && background.image !== void 0) return content;
|
|
3446
3415
|
const fallbackColor = resolveMissingImageFallbackColor(background);
|
|
@@ -3507,7 +3476,7 @@ function isPageTitleBlock(block, runtime) {
|
|
|
3507
3476
|
return block.blockKind === "block.hero" && block.scope === "entry" && (isEntryTitleBinding(block.bindings?.headlineInline) || isEntryTitleBinding(block.bindings?.headline));
|
|
3508
3477
|
}
|
|
3509
3478
|
function isEntryTitleBinding(binding) {
|
|
3510
|
-
if (!isRecord$
|
|
3479
|
+
if (!isRecord$1(binding)) return false;
|
|
3511
3480
|
return binding.source === "meta" && binding.path === "title" || binding.source === "transform" && isEntryTitleBinding(binding.input);
|
|
3512
3481
|
}
|
|
3513
3482
|
blockDesignCapabilityMapFromDefinitions(systemBlockDefinitions);
|
|
@@ -3626,7 +3595,7 @@ function admitEntrySlotBlock(block, customBlocks, previewStage) {
|
|
|
3626
3595
|
...entrySlotBlockIdentity(block, previewStage),
|
|
3627
3596
|
kind: block.kind,
|
|
3628
3597
|
purpose: block.purpose,
|
|
3629
|
-
...isRecord$
|
|
3598
|
+
...isRecord$1(block.bindings) ? { bindings: block.bindings } : {}
|
|
3630
3599
|
};
|
|
3631
3600
|
const transportedAdmission = readInvalidBlockAdmission(block.admission);
|
|
3632
3601
|
if (transportedAdmission) return invalidRenderableBlock$1(base, transportedAdmission.error);
|
|
@@ -3647,7 +3616,7 @@ function admitEntrySlotBlock(block, customBlocks, previewStage) {
|
|
|
3647
3616
|
function entrySlotBlockIdentity(block, previewStage) {
|
|
3648
3617
|
return {
|
|
3649
3618
|
draftContentId: block.draftContentId ?? null,
|
|
3650
|
-
publishedPlacement: previewStage === "preview" ? readPublishedBlockPlacement(block.publishedContentId, isRecord$
|
|
3619
|
+
publishedPlacement: previewStage === "preview" ? readPublishedBlockPlacement(block.publishedContentId, isRecord$1(block.publishedContent) && isRecord$1(block.publishedContent.data) ? block.publishedContent.data : null) : null
|
|
3651
3620
|
};
|
|
3652
3621
|
}
|
|
3653
3622
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { J as RichTextDocSchema, t as logger } from "./noop-
|
|
2
|
+
import { J as RichTextDocSchema, t as logger } from "./noop-CN0o0yjH.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
4
4
|
function parseRichTextDoc(value) {
|
|
5
5
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { wa as createHostedBlockApiConfig } from "./display-lL-YRApN.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
4
4
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
5
5
|
if (readAuthority) return createHostedBlockApiConfig({
|