@riverbankcms/sdk 0.183.0 → 0.185.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 +34 -1
- package/dist/_dts/{BlocksIslandsHydrator-X1_G96iN.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-CEqZJZEE.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-DQejfbXL.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-B_B_amKD.d.ts → client-BKdjJ7A0.d.ts} +35 -4
- package/dist/_dts/{content-types-Dhx5Ocvx.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-FeOnfoa1.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-m70J6tit.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-CjAkEWAp.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-iuFrbIjt.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-BxCmCit0.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-BOpUh8kO.d.ts → index-DTKn1H8g.d.ts} +3 -3
- package/dist/_dts/{index-Bizdaxji.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-liuhlOX7.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-D4wrTIIw.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-Gn0O1blj.d.ts → request-BwYvMqLf.d.ts} +78461 -77905
- package/dist/_dts/{resolveBlockData-D5duwuqS.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-xzJ3c9Na.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +10 -2
- 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 +6 -6
- 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 +36 -1
- package/dist/_dts/{serviceBookingOutline-B1gyJon_.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +19 -8
- package/dist/_dts/{types-DBNuMtSk.d.ts → types-BBazdRQf.d.ts} +9 -10
- package/dist/_dts/{types-DHMcuoeQ.d.ts → types-BwngWRQ8.d.ts} +13 -15
- package/dist/_dts/{types-BoITy0rA.d.ts → types-C9_amrul.d.ts} +6 -2
- package/dist/_dts/{validation-BIPO-XlE.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-Ct8slgRk.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-qqTxGGS4.mjs → BookingMailingListNote-D_khdttF.mjs} +61 -62
- package/dist/client/{BookingQuestionFields-DCh9MUIF.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +49 -36
- package/dist/client/{CalendarAction-RcdaStG7.mjs → CalendarAction-C-AbMmct.mjs} +2 -2
- package/dist/client/{CalendarNavigationChevron-D7Wt-Oaa.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +7 -7
- package/dist/client/{CheckboxChoice-BdGxZWeg.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-HFVkoOac.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +7 -5
- package/dist/client/{EventCalendar.client-BtkJW8bA.mjs → EventCalendar.client-By7e9nyF.mjs} +11 -11
- package/dist/client/{EventCombined.client-DxaGjFFS.mjs → EventCombined.client-BdRZXB14.mjs} +10 -10
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-Fr2qi2C2.mjs → EventItem-CDMa9zOX.mjs} +5 -5
- package/dist/client/{EventListWeekNavigation-BRMaq0ky.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-BhGxfbjt.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-COuEJzbO.mjs → EventListing.view-B6LOK-z4.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-BTLYhVxD.mjs → EventRegistrationPayment-CARdr15t.mjs} +140 -68
- package/dist/client/{Page-CgbQZP5g.mjs → Page-uP7AKSyp.mjs} +1762 -521
- package/dist/client/{ProtectedSubmitButton-BG7my0Qf.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-DQNkfNLA.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +3 -3
- package/dist/client/{StepIndicator-DvPekKeM.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DyXoI3ob.mjs → StepIndicator-Cb3NMw-Y.mjs} +30 -18
- package/dist/client/{ThemedButton-Bc9DBbVp.mjs → ThemedButton-C4rCsPCt.mjs} +11 -2
- package/dist/client/{accessibleSurfaces-wj4Rloo5.mjs → accessibleSurfaces-q-dDOwsW.mjs} +750 -560
- package/dist/client/{accordion-BVXfjnh-.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-DycPGtke.mjs → booking-form.client-DAlWWWjV.mjs} +110 -72
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-DrWSUqL3.mjs → bookingForm-DtVk9p5l.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CduDRcIk.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-B2c5dR49.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{buttonParts-CJEtVOUy.mjs → buttonParts-C39GC0kz.mjs} +9 -2
- package/dist/client/{carousel-DyCLMP8s.mjs → carousel-msur7fxW.mjs} +2 -2
- package/dist/client/{carousel.client-DffP_Nv0.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BuEp_cj4.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-CAO39uDG.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-BoxzT64s.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-IGUy7XOx.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-D0UsiFmm.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +61 -48
- package/dist/client/{constants-C_8AxMdm.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-D1L0pe__.mjs → context-CG77Keax.mjs} +43 -6
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BunFTnIq.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CtLAG651.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +4 -4
- package/dist/client/{event-registration.client-DiSxkBUP.mjs → event-registration.client-Ckb4aDE9.mjs} +118 -74
- package/dist/client/{eventCalendar-DUnhwZ1o.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-BvBQo0nF.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-aTLifOX7.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-DFd7pr09.mjs → eventRegistration-BhAqvkCb.mjs} +7 -6
- package/dist/client/{form-Dikmc2AO.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-zHaQK5I9.mjs → form.client-Whi43oio.mjs} +5 -5
- package/dist/client/{form.parts-BLl9n8TH.mjs → form.parts-BgsWo2Me.mjs} +3 -3
- package/dist/client/gifting/client.mjs +8 -8
- package/dist/client/{gifting-CufPM38H.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--N1GaSY8.mjs → gifting.client-CraWj4I4.mjs} +174 -73
- package/dist/client/{gifting.interactive-D9MK4HkV.mjs → gifting.interactive-DiPDObN0.mjs} +61 -10
- package/dist/client/{gifting.parts-CRtiRzo-.mjs → gifting.parts-_mgGOcbA.mjs} +17 -43
- package/dist/client/{headerSection-BIaBpmk3.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-DJDLGQEm.mjs → islands-C95FyxUF.mjs} +1996 -1178
- package/dist/client/{newsletter-form.client-wg_JHTxm.mjs → newsletter-form.client-BgVJdKVe.mjs} +7 -7
- package/dist/client/{newsletter-form.interactive-hzpkW9NQ.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +39 -18
- package/dist/client/{newsletter-form.parts-CgzpSv9p.mjs → newsletter-form.parts-poPgHrUh.mjs} +2 -2
- package/dist/client/{newsletterForm-CvxLiEBT.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +999 -81
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DTHlWg_F.mjs → portalRoutes-D3Ttfv5x.mjs} +54 -12
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-22Q7zgjN.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-DFWYvK8z.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-DhZAwo60.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-BiVpbZK2.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-DFYqKnLy.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-C3OBRg7x.mjs → registry.server-0UDNY7dO.mjs} +796 -715
- package/dist/client/rendering/client.mjs +28 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-ms477Z08.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-B6nQeqvH.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-BYqsV1Kb.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-xt4dQ3HH.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-DVsIcPaI.mjs → shop-commerce-CDth2_qq.mjs} +45 -27
- package/dist/client/{shop-commerce-store-7mO6KY7_.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-L1Vge8tG.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-DNJfD3VQ.mjs → shop.client-BI2iw6Z3.mjs} +83 -29
- package/dist/client/{shopShared-DS8t6749.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-Dy3nNfTG.mjs → timetableModel-DZzGD6rS.mjs} +9 -9
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +44 -1
- package/dist/client/{useAvailableSlots-DcjtDpUu.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DvdFFWOT.mjs → useDiscountCodeUi-DMtTHqex.mjs} +6 -2
- package/dist/client/{useEventPagination-Cq-7sU5_.mjs → useEventPagination-CM-DCokc.mjs} +14 -16
- package/dist/client/{view-4gnPcpWJ.mjs → view-CHOhliHv.mjs} +4 -4
- package/dist/client/{wizardSteps-DDvL3iza.mjs → wizardSteps-BbroaNkT.mjs} +277 -87
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-CLqSRUpt.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-CIdAg-Tm.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Bm85jX35.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-D8srnz9R.mjs → PageSectionToolbar-CR99z8BL.mjs} +582 -195
- package/dist/preview-next/client/{PreviewEditorSidebar-DVpk5cqp.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +1096 -283
- package/dist/preview-next/client/{PreviewEditorUI-XoTtHSFH.mjs → PreviewEditorUI-D6IG119o.mjs} +65 -16
- package/dist/preview-next/client/{PreviewShell-VQHsRg2u.mjs → PreviewShell-CKjkFOZS.mjs} +39 -12
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CLdF9f6o.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +128 -27
- package/dist/preview-next/client/{ThemedButton-ORNN4x-3.mjs → ThemedButton-CRgbU75r.mjs} +18 -2
- package/dist/preview-next/client/{lucide-react-eAi3tDAr.mjs → lucide-react-B4c6U3ZU.mjs} +1 -1
- package/dist/preview-next/client/{previewAssistantSlot-CqH91EwA.mjs → previewAssistantSlot-DcEwU9l_.mjs} +7192 -3039
- package/dist/preview-next/client/{previewChromeRoot-B3ySEu6p.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CdpSupcr.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-C6eOP6QW.mjs → siteStyleAccess-BL1fZnUD.mjs} +16 -10
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-BhPg4e-r.mjs → useAutosaveStatus-CdFnzKac.mjs} +3 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BaWUF9D7.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +4 -3
- package/dist/preview-next/container-responsive.css +158 -3
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-Ch0X99vE.mjs → route-contract-CQfEvfbg.mjs} +54 -41
- package/dist/server/{Block.shared-B2FmczLO.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DtAyv9qA.mjs → ThemeScopeCore-BjxlpVaV.mjs} +34 -8
- package/dist/server/{accessibleSurfaces-BtPqb76u.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +317 -148
- package/dist/server/{accordions-vzdZ2Wt1.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-B_9JuU66.mjs → bindings-D-n66Oqc.mjs} +68 -247
- package/dist/server/{client-DC7cjiSw.mjs → client-BGGlrkft.mjs} +64 -47
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-d6nPNJpe.mjs → constants-TkO9Uxma.mjs} +51 -9
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-hb27HYic.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-JToD8wDD.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/lookMediaFrame-Dw6R9B0L.mjs +31837 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-B2WhGofA.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-vD5KTClL.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +17 -4
- package/dist/server/{pageRenderPlan-CdqJ1NQZ.mjs → pageRenderPlan-DmP0HVMu.mjs} +618 -209
- package/dist/server/{pageRuntimeSupport-CAhr4oOf.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +12 -5
- package/dist/server/{pageShared-m80Xu2pd.mjs → pageShared-ALu7y5Dq.mjs} +836 -516
- package/dist/server/{parseThemeForPersistence-CRwOZfpa.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-B2wCQno_.mjs → portal-P4oHSRho.mjs} +23 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-BWIkFaXq.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-D1PHU-K9.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-KtsOsAzY.mjs → registry-DD_s7l3Y.mjs} +1575 -28658
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-sjIDJYl7.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{expandPalette-DxPrNOAB.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1662 -1430
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-BBEqquBM.mjs → schema-ClDfFtz2.mjs} +261 -6
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-ChEZDRwU.mjs → servicePageContent-CsUerbJ1.mjs} +15 -12
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DKCIBeb1.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DybHErxH.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -3
- package/dist/server/{types-vyz09w64.mjs → types-CcKy8_tj.mjs} +14 -5
- package/dist/server/{validation-Cvi-1TZZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-B-icAIV1.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +684 -181
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-CUX_lldL.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
- package/dist/server/customCss-rtIfEYwQ.mjs +0 -230
- package/dist/server/lookMediaFrame-CTsycLLK.mjs +0 -2756
- package/dist/server/media-gvfIw3z8.mjs +0 -216
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
1
|
+
import { K as hexColorSchema, et as parseThemeColorToken } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { H as resolveConcreteColorHex, L as pickBlackOrWhiteTextColor, _ as runtimeMediaSchema, ct as hexToRgb, dt as oklabToSrgb, ft as oklchToHexGamut, ht as srgbToOklab, mt as rgbToHex, tt as contrastRatio, ut as oklabToOklch } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
|
+
import { F as resolveTokenOrCssColorValue, M as isCssColorLiteral, N as resolveOnColorForThemeToken, r as parseSurfaceTree, t as certifyFinishedGround } from "./accessibleSurfaces-CZ7pLuJ7.mjs";
|
|
4
|
+
import { Aa as augmentManifest, Ar as mediaTransforms, B as combinedLookSchema, Ba as eventCalendarLookViews, Bi as resolveBackgroundColorValue, Co as eventScopeLoaderParam, Dn as formatTime, En as formatEventWeekdayTime, Es as parseBookingLocalDate, Fa as eventReadinessQueryKeys, Fi as parseBackgroundContent, Fr as uiTransforms, Gn as isDropInPublicEvent, Ho as placedEditingPaths, Hs as arrangementSlotNames, Ii as parseBackgroundOverlay, Ir as formattingTransforms, Ji as lookQuoteLimitTransform, Jr as listLookSlot, Ka as lookPresentationOnPalette, Ki as lookCarouselRegionTransform, Kr as listItemPresentation, La as resolveEventCalendarRead, Li as parseRuntimeBackgroundContent, Ls as resolveExactOrFreePriceDisplay, Ma as blockChecksForEvents, Mr as chromeLogoTransforms, Ms as formatBookingPriceDisplay, Na as eventReadinessLoaderKey, Nn as formatDateKey, Nr as layoutTransforms, On as groupEventsByDate, Or as readRuntimeNow, Os as toUtcIsoDateTimeString, Pa as eventReadinessQuery, Q as CardListLeadDate, Qt as formatBookingSchedulePresentation, Ra as resolveEventScopeRead, Ri as resolveSectionSurfaceForeground, Rs as resolvePricingOptionsPriceDisplay, So as eventDiscoveryFilterKeys, Ss as compareLocalScheduleDates, Tn as formatEventTimeRange, To as resolveEventScope, Ts as getLocalScheduleDate, Ui as isSemanticSpacing, Ut as ThemedButtonLink, Va as resolveEventCalendarReadPlan, Xa as pageGround, Xi as asPartialObject, Xt as groupEventsByWeek, Ya as groundPaint, Yi as lookSkinSlotTransform, Z as CardListContentPart, Za as boundaryGeometryStyle, Zi as createTransformRegistry, Zt as weekColumnDays, _o as sectionDecisionFromContent, _s as formatDateTimeRange, ai as classPricesDataSchema, ar as resolveEventCta, as as orderedLiveRunSessions, bn as formatEventCompactDateRail, bt as lookPartShown, ci as formatEventDepositNote, cr as isBookableEvent, di as formatEventPriceDisplay, do as applyLookPhotoTreatment, dr as formatTotalCapacity, dt as resolveArrangementKnobs, ei as heroMorePhotoCount, et as resolveCardListSchedule, fi as formatEventStartingPrice, fo as deriveSectionGround, fr as getEventAvailability, ft as systemCustomizeFacetDefinitionsForBlock, gn as eventLocalDateKey, go as resolveSectionPhotoPlacement, gs as formatDateRange, gt as EventQuickFacts, hn as eventDateOptions, ho as resolveSectionForeground, hs as formatDate, ii as classPricesCopySchema, in as formatEventLocation, io as storedSectionPhoto, ir as resolveEventCardBooking, is as nextLiveRunSessionStartMs, it as ImagePresets, ji as boxStylesTransforms, jr as headerRuntimeTransforms, jt as groupOfferingRunsByCourse, kn as resolveEventTimeZone, ks as resolveBookingBusinessTimeZone, la as ClockIcon, li as formatEventPrice, ln as closedRunCopy, lo as siteStyleEdges, mi as getAnchorClasses, mn as eventCalendarWeekStart, mo as resolveSectionBackground, no as heroPhotoPaintsGround, nt as MediaNodeServer, oi as resolveClassPriceItems, or as resolveEventPageLink, ot as computeMediaTransformStyle, pi as BACKGROUND_POSITION_PRESET_VALUES, po as parseCanonicalRuntimeBackground, pr as getEventAvailabilityStatus, qa as resolveLookSurfacePresentation, qi as lookLeadSlotTransform, qt as buildEventListWeek, ro as sectionPhotoPath, si as formatCoursePrice, t as getBlockDefinition, tt as selectCardListPresentation, ur as formatEventRemainingPlaces, vo as sectionForegroundBackground, wn as formatEventRunDates, wo as eventScopeQueryKeys, wr as contentTransforms, xn as formatEventDateParts, yt as resolveCalendarReadProfile, za as eventCalendarListGroupingDecision, zi as resolveSurfaceForegroundStyles, zn as isToday } from "./registry-DD_s7l3Y.mjs";
|
|
5
|
+
import { Dt as transitionCatalogueEntryForIntent, It as assertNever, L as sectionShapeForGround, R as sectionShapeFromContent, at as themeV2CompilerOwnedFieldNames, b as deriveSiteStyleBlockPolicy, ct as resolveGroundPaint, f as arrangementManifestFromVariants, g as resolvePublishedLook, h as resolveModeArrangement, it as stripStaleTransitionStyleGroup, lt as resolveSectionTreatment, m as resolveEffectiveArrangement, n as resolveLookMediaFrame, ot as groundFlatZone, p as readStoredMode, r as arrangementAppearancePresets, rt as sectionOwnerStyleChoices, st as mixGroundColour, ut as groundTextureDataUri, yt as boundaryRuntimeMetricsForDecorativeTransition, z as sectionShapeHook } from "./lookMediaFrame-Dw6R9B0L.mjs";
|
|
6
|
+
import { B as makeBoundaryId, L as asLayoutVariantKey, P as asDesignBlockId, z as asSiteStyleId } from "./schema-ClDfFtz2.mjs";
|
|
7
|
+
import { t as assertNever$1 } from "./assert-never-ku-PUn9U.mjs";
|
|
7
8
|
import { h as isRecord$2, t as isObjectRecord } from "./typeGuards-DZOaGTEv.mjs";
|
|
8
|
-
import { o as runtimeMediaSchema } from "./media-gvfIw3z8.mjs";
|
|
9
|
-
import { f as assertNever$1, n as resolveLookMediaFrame } from "./lookMediaFrame-CTsycLLK.mjs";
|
|
10
9
|
import { i as outlineRegions, n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
11
10
|
import { i as resolveRouteTargetForStage$1 } from "./dist-Xevqwf1U.mjs";
|
|
12
11
|
import React from "react";
|
|
@@ -495,6 +494,333 @@ function mapDrawingStyle(input) {
|
|
|
495
494
|
};
|
|
496
495
|
}
|
|
497
496
|
//#endregion
|
|
497
|
+
//#region ../theme-core/src/site-styles/runtimeSectionResolution.ts
|
|
498
|
+
/**
|
|
499
|
+
* The one owner of the facts `whenMissing` rules read from block content.
|
|
500
|
+
* Content facts also become `data-has-*` hooks; setting facts never do.
|
|
501
|
+
*/
|
|
502
|
+
function arrangementContentFacts(content) {
|
|
503
|
+
const photoCount = arrangementPhotoCount(content);
|
|
504
|
+
const featured = typeof content.featured === "string" ? content.featured.trim().length > 0 : content.featured !== void 0 && content.featured !== null;
|
|
505
|
+
return {
|
|
506
|
+
photoCount,
|
|
507
|
+
facts: {
|
|
508
|
+
content: {
|
|
509
|
+
photo: photoCount > 0,
|
|
510
|
+
facts: Array.isArray(content.facts) && content.facts.length > 0,
|
|
511
|
+
featured,
|
|
512
|
+
outcome: typeof content.outcome === "string" && content.outcome.length > 0,
|
|
513
|
+
figure: typeof content.figure === "string" && content.figure.trim().length > 0,
|
|
514
|
+
entrance: isRecord$2(content.entrancePhoto)
|
|
515
|
+
},
|
|
516
|
+
settings: { "listed-by-week": content.listBy === "week" }
|
|
517
|
+
}
|
|
518
|
+
};
|
|
519
|
+
}
|
|
520
|
+
/** What an automatic Look choice weighs, read by the same owner as the `whenMissing` facts. */
|
|
521
|
+
function lookFillPartsFromContent(content) {
|
|
522
|
+
return {
|
|
523
|
+
photo: arrangementPhotoCount(content) > 0,
|
|
524
|
+
statement: typeof content.title === "string" && content.title.trim().length > 0
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
/** The content stage owns media presence for every arrangement consumer. */
|
|
528
|
+
function arrangementPhotoCount(content) {
|
|
529
|
+
if (Array.isArray(content.cards)) return content.cards.filter((card) => isRecord$2(card) && isRecord$2(card.media)).length;
|
|
530
|
+
if (Array.isArray(content.members)) return content.members.filter((member) => isRecord$2(member) && isRecord$2(member.photo)).length;
|
|
531
|
+
if (Array.isArray(content.images)) return content.images.filter((item) => isRecord$2(item) && isRecord$2(item.image)).length;
|
|
532
|
+
if (isRecord$2(content.media) || isRecord$2(content.entrancePhoto)) return 1;
|
|
533
|
+
return storedSectionPhoto(content) === null ? 0 : 1;
|
|
534
|
+
}
|
|
535
|
+
/** Both rendering and join matching ask the publication-fallback owner. */
|
|
536
|
+
function resolveArrangementContentLook(runtime, mode, content, audience) {
|
|
537
|
+
const selected = runtime.byMode[mode ?? "default"];
|
|
538
|
+
if (!selected) return null;
|
|
539
|
+
const published = resolvePublishedLook({
|
|
540
|
+
look: selected.look,
|
|
541
|
+
facts: arrangementContentFacts(content).facts,
|
|
542
|
+
audience,
|
|
543
|
+
catalogue: runtime.available.map((entry) => entry.look)
|
|
544
|
+
});
|
|
545
|
+
return runtime.available.find((entry) => entry.look.id === published.id) ?? selected;
|
|
546
|
+
}
|
|
547
|
+
function resolveRuntimeSection(rawInput) {
|
|
548
|
+
const input = {
|
|
549
|
+
...rawInput,
|
|
550
|
+
choices: sectionOwnerStyleChoices(rawInput.content)
|
|
551
|
+
};
|
|
552
|
+
const automatic = automaticSectionGround(input);
|
|
553
|
+
const authored = input.placement === "column" ? { kind: "none" } : parseCanonicalRuntimeBackground(input.content);
|
|
554
|
+
const photo = arrangementHeroGround(input);
|
|
555
|
+
const ownerGround = ownerSectionGround(input, authored);
|
|
556
|
+
const background = resolveSectionBackground(ownerGroundSource(authored, namedOwnerGround(input), input, photo), null, input.runtime && input.look ? automatic?.paint ?? null : void 0, photo);
|
|
557
|
+
return sectionDecision(background, resolvedNamedGround(background, ownerGround, automatic, input.runtime), automatic, input, photo);
|
|
558
|
+
}
|
|
559
|
+
function automaticSectionGround(input) {
|
|
560
|
+
if (!input.runtime || !input.look || input.placement === "column") return void 0;
|
|
561
|
+
const span = input.rhythmSpan;
|
|
562
|
+
const index = input.runtime.progression === "deepen" ? span && span.count > 1 ? Math.round(span.position * (input.runtime.rhythm.length - 1) / (span.count - 1)) : 0 : input.position % input.runtime.rhythm.length;
|
|
563
|
+
return input.look.sectionGround ?? input.runtime.rhythm[index];
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* A stored name is authoritative, including when two grounds share the same paint. `ground: null`
|
|
567
|
+
* records a plain palette colour. Content saved before names existed (`ground` absent) keeps the
|
|
568
|
+
* identity its colour has always given it, so rendering doesn't change before the data migration.
|
|
569
|
+
*/
|
|
570
|
+
function ownerSectionGround(input, source) {
|
|
571
|
+
if (input.choices.ground !== void 0) return namedOwnerGround(input);
|
|
572
|
+
if (input.placement === "column" || source.kind === "none" || source.background.type !== "color" || !input.runtime) return void 0;
|
|
573
|
+
const colour = source.background.color;
|
|
574
|
+
return input.runtime.grounds.find((candidate) => candidate.paint.color === colour);
|
|
575
|
+
}
|
|
576
|
+
function namedOwnerGround(input) {
|
|
577
|
+
if (input.placement === "column") return void 0;
|
|
578
|
+
const choice = input.choices.ground;
|
|
579
|
+
return choice ? input.runtime?.grounds.find((ground) => ground.name === choice.name) : void 0;
|
|
580
|
+
}
|
|
581
|
+
function ownerGroundSource(source, ground, input, photo) {
|
|
582
|
+
const photoBehind = photo?.paintsGround !== false;
|
|
583
|
+
if (source.kind !== "none" && source.background.type === "image" && photoBehind) return source;
|
|
584
|
+
if (ground) return {
|
|
585
|
+
kind: "page-design-override",
|
|
586
|
+
background: namedGroundPaint(ground, authoredInks(source))
|
|
587
|
+
};
|
|
588
|
+
if (input.choices.ground && !hasPaletteFallback(source, input.palette)) return { kind: "none" };
|
|
589
|
+
return paletteColourSource(source, input.runtime);
|
|
590
|
+
}
|
|
591
|
+
/** Owner-set inks replace the ground's inks wholesale, exactly as an unnamed matching colour always has. */
|
|
592
|
+
function namedGroundPaint(ground, inks) {
|
|
593
|
+
return Object.keys(inks).length === 0 ? ground.paint : {
|
|
594
|
+
type: "color",
|
|
595
|
+
color: ground.paint.color,
|
|
596
|
+
...inks
|
|
597
|
+
};
|
|
598
|
+
}
|
|
599
|
+
/** Inks the owner set explicitly survive naming the ground, as they did before names existed. */
|
|
600
|
+
function authoredInks(source) {
|
|
601
|
+
if (source.kind === "none" || source.background.type !== "color") return {};
|
|
602
|
+
const { textColor, headingColor, linkColor, supportingColor } = source.background;
|
|
603
|
+
return {
|
|
604
|
+
...textColor ? { textColor } : {},
|
|
605
|
+
...headingColor ? { headingColor } : {},
|
|
606
|
+
...linkColor ? { linkColor } : {},
|
|
607
|
+
...supportingColor ? { supportingColor } : {}
|
|
608
|
+
};
|
|
609
|
+
}
|
|
610
|
+
function hasPaletteFallback(source, palette) {
|
|
611
|
+
return source.kind !== "none" && source.background.type === "color" && !!source.background.color && !!palette[source.background.color];
|
|
612
|
+
}
|
|
613
|
+
/** Authored palette colours retain the style's established inks; identity comes from `ownerSectionGround`. */
|
|
614
|
+
function paletteColourSource(source, runtime) {
|
|
615
|
+
if (source.kind === "none" || source.background.type !== "color") return source;
|
|
616
|
+
if ([
|
|
617
|
+
source.background.textColor,
|
|
618
|
+
source.background.headingColor,
|
|
619
|
+
source.background.linkColor,
|
|
620
|
+
source.background.supportingColor
|
|
621
|
+
].some((ink) => ink !== void 0)) return source;
|
|
622
|
+
const colour = source.background.color;
|
|
623
|
+
const paint = runtime?.grounds.find((ground) => ground.paint.color === colour)?.paint;
|
|
624
|
+
return paint ? {
|
|
625
|
+
...source,
|
|
626
|
+
background: {
|
|
627
|
+
...paint,
|
|
628
|
+
...source.background
|
|
629
|
+
}
|
|
630
|
+
} : source;
|
|
631
|
+
}
|
|
632
|
+
function arrangementHeroGround(input) {
|
|
633
|
+
return input.blockKind === "block.hero" ? { paintsGround: heroPhotoPaintsGround(input.arrangementKey) } : void 0;
|
|
634
|
+
}
|
|
635
|
+
function resolvedNamedGround(background, owner, automatic, runtime) {
|
|
636
|
+
switch (background.kind) {
|
|
637
|
+
case "base": return runtime?.grounds.find((ground) => ground.name === "base");
|
|
638
|
+
case "rhythm": return automatic;
|
|
639
|
+
case "override":
|
|
640
|
+
case "authored-colour": return background.background.type === "color" ? owner : void 0;
|
|
641
|
+
case "authored-media":
|
|
642
|
+
case "content-media":
|
|
643
|
+
case "look-surface": return;
|
|
644
|
+
}
|
|
645
|
+
}
|
|
646
|
+
function sectionDecision(background, named, automatic, input, photo) {
|
|
647
|
+
const identity = named ? {
|
|
648
|
+
groundName: named.name,
|
|
649
|
+
ground: named.ground
|
|
650
|
+
} : { ground: deriveSectionGround(background, input.palette) };
|
|
651
|
+
const finished = finishedSectionPaint(background, named, input);
|
|
652
|
+
return {
|
|
653
|
+
source: sectionSource(background, named, input.look),
|
|
654
|
+
...identity,
|
|
655
|
+
paint: sectionBackgroundPaint(background),
|
|
656
|
+
paintKind: sectionPaint(background),
|
|
657
|
+
inks: finished?.kind === "certified" ? finished.foreground : resolveSectionForeground(background, input.palette),
|
|
658
|
+
foregroundBackground: finishedForegroundPaint(background, finished, input.palette),
|
|
659
|
+
certifiedBackdrop: finished?.kind === "certified" ? {
|
|
660
|
+
kind: "measured",
|
|
661
|
+
token: finished.finish.paint.base,
|
|
662
|
+
samples: finished.finish.samples
|
|
663
|
+
} : certifiedSectionBackdrop(background, input.palette),
|
|
664
|
+
background,
|
|
665
|
+
...sectionFinishFacts(background, finished),
|
|
666
|
+
shape: input.runtime ? sectionShapeForGround(input.runtime.surfaces, named?.name) : "edge-to-edge",
|
|
667
|
+
surfaceToken: sectionGroundToken(background),
|
|
668
|
+
...sectionEditorFacts(automatic, input),
|
|
669
|
+
openingPhotoBehindText: resolveSectionPhotoPlacement(background, photo) === "behind-text",
|
|
670
|
+
placement: input.placement
|
|
671
|
+
};
|
|
672
|
+
}
|
|
673
|
+
function sectionEditorFacts(automatic, input) {
|
|
674
|
+
return {
|
|
675
|
+
...input.runtime ? { styleGroundName: automatic?.name ?? "base" } : {},
|
|
676
|
+
ownerGroundFallback: input.choices.ground != null && !namedOwnerGround(input)
|
|
677
|
+
};
|
|
678
|
+
}
|
|
679
|
+
function sectionSource(background, named, look) {
|
|
680
|
+
switch (background.kind) {
|
|
681
|
+
case "base": return "base";
|
|
682
|
+
case "rhythm": return look?.sectionGround ? "offer" : "rhythm";
|
|
683
|
+
case "look-surface": return "offer";
|
|
684
|
+
case "authored-media": return "owner-photo";
|
|
685
|
+
case "authored-colour":
|
|
686
|
+
case "content-media":
|
|
687
|
+
case "override": return ownerSectionSource(background.background, named);
|
|
688
|
+
}
|
|
689
|
+
}
|
|
690
|
+
function ownerSectionSource(background, named) {
|
|
691
|
+
if (background.type === "image" || background.type === "video") return "owner-photo";
|
|
692
|
+
return named ? "owner-ground" : "owner-colour";
|
|
693
|
+
}
|
|
694
|
+
function sectionBackgroundPaint(background) {
|
|
695
|
+
switch (background.kind) {
|
|
696
|
+
case "base": return null;
|
|
697
|
+
case "content-media": return background.ground;
|
|
698
|
+
case "authored-colour":
|
|
699
|
+
case "authored-media":
|
|
700
|
+
case "look-surface":
|
|
701
|
+
case "override":
|
|
702
|
+
case "rhythm": return background.background;
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
function sectionPaint(resolved) {
|
|
706
|
+
if (resolved.kind === "base" || resolved.kind === "content-media") return "paint";
|
|
707
|
+
const background = resolved.background;
|
|
708
|
+
if (background.type === "color") return "paint";
|
|
709
|
+
return background.type === "image" && background.image != null ? "photo" : "other";
|
|
710
|
+
}
|
|
711
|
+
function sectionGroundToken(resolved) {
|
|
712
|
+
if (resolved.kind === "base") return "background";
|
|
713
|
+
switch (resolved.background.type) {
|
|
714
|
+
case "image":
|
|
715
|
+
case "video": return "media";
|
|
716
|
+
case "color": return resolved.background.color ?? "background";
|
|
717
|
+
case "gradient": return "gradient";
|
|
718
|
+
}
|
|
719
|
+
}
|
|
720
|
+
/** Content media sits beside the text, so its slots sit on the colour ground, as deriveSectionGround reads it. */
|
|
721
|
+
function certifiedSectionBackdrop(resolved, palette) {
|
|
722
|
+
if (resolved.kind === "base") return {
|
|
723
|
+
kind: "measured",
|
|
724
|
+
token: "background"
|
|
725
|
+
};
|
|
726
|
+
const background = resolved.kind === "content-media" ? resolved.ground : resolved.background;
|
|
727
|
+
switch (background.type) {
|
|
728
|
+
case "image":
|
|
729
|
+
case "video": return {
|
|
730
|
+
kind: "unmeasured",
|
|
731
|
+
paint: "media"
|
|
732
|
+
};
|
|
733
|
+
case "gradient": return {
|
|
734
|
+
kind: "unmeasured",
|
|
735
|
+
paint: "gradient"
|
|
736
|
+
};
|
|
737
|
+
case "color": {
|
|
738
|
+
const colour = background.color ?? "background";
|
|
739
|
+
return resolveConcreteColorHex(colour, palette) ? {
|
|
740
|
+
kind: "measured",
|
|
741
|
+
token: colour
|
|
742
|
+
} : {
|
|
743
|
+
kind: "unmeasured",
|
|
744
|
+
paint: "colour"
|
|
745
|
+
};
|
|
746
|
+
}
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
function finishedSectionPaint(background, named, input) {
|
|
750
|
+
if (!input.runtime?.finishes || input.placement === "column" || sectionPaint(background) !== "paint") return void 0;
|
|
751
|
+
const choices = input.choices.treatment;
|
|
752
|
+
const paint = resolveSectionTreatment({
|
|
753
|
+
base: sectionGroundToken(background),
|
|
754
|
+
...named?.groundPaint
|
|
755
|
+
}, choices, input.runtime.finishes);
|
|
756
|
+
if (!paint.texture && !paint.tone) return void 0;
|
|
757
|
+
const finish = resolveGroundPaint(paint, input.runtime.finishes, input.palette);
|
|
758
|
+
return finish ? certifyFinishedGround(finish, resolveSectionForeground(background, input.palette), input.runtime.surfaceContext) : {
|
|
759
|
+
kind: "dropped",
|
|
760
|
+
reason: "unmeasurable-finish"
|
|
761
|
+
};
|
|
762
|
+
}
|
|
763
|
+
function sectionFinishFacts(background, finished) {
|
|
764
|
+
if (finished?.kind === "certified") return {
|
|
765
|
+
topPaint: finished.finish.topPaint,
|
|
766
|
+
footPaint: finished.finish.footPaint,
|
|
767
|
+
finishedPaint: finished.finish
|
|
768
|
+
};
|
|
769
|
+
const paint = sectionBackgroundPaint(background);
|
|
770
|
+
const colour = sectionPaint(background) === "paint" ? paint?.type === "color" ? paint.color ?? "background" : "background" : null;
|
|
771
|
+
return {
|
|
772
|
+
topPaint: colour,
|
|
773
|
+
footPaint: colour,
|
|
774
|
+
...finished ? { finishDropped: finished.reason } : {}
|
|
775
|
+
};
|
|
776
|
+
}
|
|
777
|
+
/** Even an automatically inherited base becomes an explicit measurable paint when finished. */
|
|
778
|
+
function finishedForegroundPaint(background, finished, palette) {
|
|
779
|
+
return finished?.kind === "certified" ? {
|
|
780
|
+
type: "color",
|
|
781
|
+
color: finished.finish.paint.base
|
|
782
|
+
} : sectionForegroundBackground(background, palette);
|
|
783
|
+
}
|
|
784
|
+
//#endregion
|
|
785
|
+
//#region ../theme-core/src/site-styles/boundaryLayers.ts
|
|
786
|
+
/** Back paints are palette roles, never another section's inherited texture. Fade repeats its own ground. */
|
|
787
|
+
function boundaryBackPaints(intent, pin, front, previous, palette = {}) {
|
|
788
|
+
const edge = pin ?? transitionCatalogueEntryForIntent(intent).treatment;
|
|
789
|
+
return Array.from({ length: edge.layers - 1 }, (_, index) => {
|
|
790
|
+
if (edge.colourPreset === "fade") return front;
|
|
791
|
+
const blended = edge.colourPreset === "blend" ? blendedGround(front, previous, palette, (edge.layers - index - 1) / edge.layers) : null;
|
|
792
|
+
if (blended) return blended;
|
|
793
|
+
const roles = edge.colourPreset === "accent" ? [
|
|
794
|
+
"accent",
|
|
795
|
+
"primary",
|
|
796
|
+
"secondary",
|
|
797
|
+
"text"
|
|
798
|
+
] : edge.colourPreset === "main" ? [
|
|
799
|
+
"primary",
|
|
800
|
+
"secondary",
|
|
801
|
+
"accent",
|
|
802
|
+
"text"
|
|
803
|
+
] : [
|
|
804
|
+
"secondary",
|
|
805
|
+
"primary",
|
|
806
|
+
"accent",
|
|
807
|
+
"text"
|
|
808
|
+
];
|
|
809
|
+
const shows = roles.filter((role) => visibleRole(role, front, previous, palette));
|
|
810
|
+
return { colour: parseThemeColorToken(shows[index % shows.length] ?? roles[index % roles.length] ?? "primary") ?? front.colour };
|
|
811
|
+
});
|
|
812
|
+
}
|
|
813
|
+
function visibleRole(role, front, previous, palette) {
|
|
814
|
+
const colour = resolveConcreteColorHex(role, palette) ?? role;
|
|
815
|
+
return colour !== (resolveConcreteColorHex(front.colour, palette) ?? front.colour) && colour !== (previous ? resolveConcreteColorHex(previous.colour, palette) ?? previous.colour : "");
|
|
816
|
+
}
|
|
817
|
+
function blendedGround(front, previous, palette, amount) {
|
|
818
|
+
const from = previous ? resolveConcreteColorHex(previous.colour, palette) : null;
|
|
819
|
+
const to = resolveConcreteColorHex(front.colour, palette);
|
|
820
|
+
if (!from || !to || from === to) return null;
|
|
821
|
+
return { colour: hexColorSchema.parse(mixGroundColour(from, to, amount)) };
|
|
822
|
+
}
|
|
823
|
+
//#endregion
|
|
498
824
|
//#region ../theme-core/src/site-styles/sectionBoundaryComposition.ts
|
|
499
825
|
/**
|
|
500
826
|
* Classifies a section from its final render content. `_sectionStyles`
|
|
@@ -504,9 +830,12 @@ function mapDrawingStyle(input) {
|
|
|
504
830
|
* `groundPaint`, the same decision the background layer paints from, given
|
|
505
831
|
* the ground the section declares for when its content sets no colour.
|
|
506
832
|
*/
|
|
507
|
-
function boundaryEndpointForSectionContent(content, ground) {
|
|
508
|
-
const
|
|
509
|
-
const
|
|
833
|
+
function boundaryEndpointForSectionContent(content, ground, side = "top") {
|
|
834
|
+
const decision = sectionDecisionFromContent(content);
|
|
835
|
+
const finished = decidedBoundaryEndpoint(decision, side);
|
|
836
|
+
if (finished) return finished;
|
|
837
|
+
const background = decision?.background ?? parseCanonicalRuntimeBackground(content);
|
|
838
|
+
const paint = groundPaint(background.kind === "none" || background.kind === "base" ? null : background.background, ground.fallback);
|
|
510
839
|
switch (paint.kind) {
|
|
511
840
|
case "fill": {
|
|
512
841
|
const token = parseThemeColorToken(paint.colour);
|
|
@@ -530,7 +859,7 @@ function boundaryEndpointForSectionContent(content, ground) {
|
|
|
530
859
|
kind: "paint",
|
|
531
860
|
token: pageGround.fallback
|
|
532
861
|
};
|
|
533
|
-
default: return assertNever
|
|
862
|
+
default: return assertNever(paint, "Unhandled ground paint");
|
|
534
863
|
}
|
|
535
864
|
}
|
|
536
865
|
/**
|
|
@@ -542,6 +871,14 @@ function boundaryEndpointForSectionContent(content, ground) {
|
|
|
542
871
|
function sectionFactsForContent(content, ground) {
|
|
543
872
|
const photoGround = isLookPhotoGround(content);
|
|
544
873
|
return {
|
|
874
|
+
...sectionDecisionFromContent(content)?.groundName ? { groundName: sectionDecisionFromContent(content)?.groundName } : {},
|
|
875
|
+
...sectionDecisionFromContent(content)?.finishedPaint ? {
|
|
876
|
+
finished: true,
|
|
877
|
+
footEndpoint: photoGround ? {
|
|
878
|
+
kind: "unpainted",
|
|
879
|
+
reason: "media"
|
|
880
|
+
} : boundaryEndpointForSectionContent(content, ground, "foot")
|
|
881
|
+
} : {},
|
|
545
882
|
endpoint: photoGround ? {
|
|
546
883
|
kind: "unpainted",
|
|
547
884
|
reason: "media"
|
|
@@ -594,34 +931,20 @@ function composeBoundary(previous, next, treatment) {
|
|
|
594
931
|
kind: "not-shown",
|
|
595
932
|
reason: frameReason
|
|
596
933
|
};
|
|
597
|
-
const
|
|
934
|
+
const touching = touchingFoot(previous);
|
|
935
|
+
const paintReason = paintNotShownReason(touching, next, treatment);
|
|
598
936
|
if (paintReason) return {
|
|
599
937
|
kind: "not-shown",
|
|
600
938
|
reason: paintReason
|
|
601
939
|
};
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
} : {
|
|
611
|
-
kind: "paint-to-unpainted",
|
|
612
|
-
from: from.token
|
|
613
|
-
}
|
|
614
|
-
};
|
|
615
|
-
return to.kind === "paint" ? {
|
|
616
|
-
kind: "shown",
|
|
617
|
-
composition: {
|
|
618
|
-
kind: "unpainted-to-paint",
|
|
619
|
-
to: to.token
|
|
620
|
-
}
|
|
621
|
-
} : {
|
|
622
|
-
kind: "not-shown",
|
|
623
|
-
reason: "both-unpainted"
|
|
624
|
-
};
|
|
940
|
+
return composeEndpoints(touching.endpoint, next.endpoint);
|
|
941
|
+
}
|
|
942
|
+
/** The previous section as it meets the next: a finished ground's foot, not its top. */
|
|
943
|
+
function touchingFoot(previous) {
|
|
944
|
+
return previous.footEndpoint ? {
|
|
945
|
+
...previous,
|
|
946
|
+
endpoint: previous.footEndpoint
|
|
947
|
+
} : previous;
|
|
625
948
|
}
|
|
626
949
|
/**
|
|
627
950
|
* Decides the seam between two adjacent sections from the same facts that
|
|
@@ -633,164 +956,167 @@ function composeBoundary(previous, next, treatment) {
|
|
|
633
956
|
*/
|
|
634
957
|
function sectionSeam(previous, next) {
|
|
635
958
|
if (previous.facts.shape === "field" && next.facts.shape === "field") return "fields";
|
|
636
|
-
return mergesGround(previous) && mergesGround(next) &&
|
|
959
|
+
return mergesGround(previous) && mergesGround(next) && sameGroundPaint(touchingFoot(previous.facts), next.facts) ? "shared-ground" : "none";
|
|
637
960
|
}
|
|
638
961
|
/** A side can share its ground only when the platform paints it edge to edge, with no flush panel or photo. */
|
|
639
962
|
function mergesGround(side) {
|
|
640
963
|
const { facts } = side;
|
|
641
964
|
return side.section === "platform" && facts.shape !== "field" && facts.frame !== "flush-panel" && !facts.photo;
|
|
642
965
|
}
|
|
643
|
-
function samePaint(previous, next) {
|
|
644
|
-
return previous.kind === "paint" && next.kind === "paint" && previous.token === next.token;
|
|
645
|
-
}
|
|
646
966
|
/** Treatment-specific placement and indistinguishable paint are composition decisions. */
|
|
647
967
|
function paintNotShownReason(previous, next, treatment) {
|
|
648
968
|
if (treatment === "wave-edge-echo" && (!previous.photo || next.endpoint.kind !== "paint")) return "photo-required";
|
|
649
|
-
return previous
|
|
969
|
+
return sameGroundPaint(previous, next) ? "same-paint" : null;
|
|
650
970
|
}
|
|
651
971
|
/**
|
|
652
972
|
* Placement, reserves and paint for a shown boundary, derived from the
|
|
653
973
|
* composition and the catalogue's metrics for the treatment.
|
|
654
974
|
*/
|
|
655
|
-
function boundaryLayout(intent, composition) {
|
|
975
|
+
function boundaryLayout(intent, composition, options = {}) {
|
|
656
976
|
const metrics = boundaryRuntimeMetricsForDecorativeTransition(intent);
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
},
|
|
664
|
-
paint: {
|
|
665
|
-
band: composition.from,
|
|
666
|
-
shape: composition.to
|
|
667
|
-
}
|
|
668
|
-
};
|
|
669
|
-
case "unpainted-to-paint": return {
|
|
670
|
-
placement: "previous",
|
|
671
|
-
reserves: {
|
|
672
|
-
before: metrics.heightCss,
|
|
673
|
-
after: null
|
|
674
|
-
},
|
|
675
|
-
paint: {
|
|
676
|
-
band: null,
|
|
677
|
-
shape: composition.to
|
|
678
|
-
}
|
|
679
|
-
};
|
|
680
|
-
case "paint-to-unpainted": return {
|
|
681
|
-
placement: "next",
|
|
682
|
-
reserves: {
|
|
683
|
-
before: null,
|
|
684
|
-
after: metrics.heightCss
|
|
685
|
-
},
|
|
686
|
-
paint: {
|
|
687
|
-
band: null,
|
|
688
|
-
shape: composition.from
|
|
689
|
-
}
|
|
690
|
-
};
|
|
691
|
-
default: return assertNever$1(composition, "Unhandled boundary composition");
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
//#endregion
|
|
695
|
-
//#region ../theme-core/src/site-styles/runtimeSectionResolution.ts
|
|
696
|
-
/**
|
|
697
|
-
* The one owner of the facts `whenMissing` rules read from block content.
|
|
698
|
-
* Content facts also become `data-has-*` hooks; setting facts never do.
|
|
699
|
-
*/
|
|
700
|
-
function arrangementContentFacts(content) {
|
|
701
|
-
const photoCount = arrangementPhotoCount(content);
|
|
702
|
-
const featured = typeof content.featured === "string" ? content.featured.trim().length > 0 : content.featured !== void 0 && content.featured !== null;
|
|
977
|
+
const placement = composition.kind === "paint-to-paint" ? "centred" : composition.kind === "unpainted-to-paint" ? "previous" : "next";
|
|
978
|
+
const front = frontGround(composition);
|
|
979
|
+
const underlay = composition.kind === "paint-to-paint" ? {
|
|
980
|
+
colour: composition.from,
|
|
981
|
+
...composition.fromTexture ? { texture: composition.fromTexture } : {}
|
|
982
|
+
} : null;
|
|
703
983
|
return {
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
984
|
+
placement,
|
|
985
|
+
underlay,
|
|
986
|
+
geometry: boundaryGeometryStyle(intent, options.seed ?? "boundary", placement, options.tuning),
|
|
987
|
+
reserves: placement === "centred" ? {
|
|
988
|
+
before: metrics.reserveCss,
|
|
989
|
+
after: metrics.reserveCss
|
|
990
|
+
} : placement === "previous" ? {
|
|
991
|
+
before: metrics.heightCss,
|
|
992
|
+
after: null
|
|
993
|
+
} : {
|
|
994
|
+
before: null,
|
|
995
|
+
after: metrics.heightCss
|
|
996
|
+
},
|
|
997
|
+
paint: {
|
|
998
|
+
front,
|
|
999
|
+
back: boundaryBackPaints(intent, options.edge, front, underlay, options.palette)
|
|
715
1000
|
}
|
|
716
1001
|
};
|
|
717
1002
|
}
|
|
718
|
-
|
|
719
|
-
|
|
1003
|
+
function frontGround(composition) {
|
|
1004
|
+
return composition.kind === "paint-to-unpainted" ? {
|
|
1005
|
+
colour: composition.from,
|
|
1006
|
+
...composition.fromTexture ? { texture: composition.fromTexture } : {}
|
|
1007
|
+
} : {
|
|
1008
|
+
colour: composition.to,
|
|
1009
|
+
...composition.toTexture ? { texture: composition.toTexture } : {}
|
|
1010
|
+
};
|
|
1011
|
+
}
|
|
1012
|
+
/** Read the single flat colour the section owner decided for this side. */
|
|
1013
|
+
function decidedBoundaryEndpoint(decision, side) {
|
|
1014
|
+
if (!decision) return null;
|
|
1015
|
+
const paint = side === "top" ? decision.topPaint : decision.footPaint;
|
|
1016
|
+
if (!paint) return null;
|
|
1017
|
+
const token = parseThemeColorToken(paint) ?? (decision.finishedPaint ? hexColorSchema.safeParse(paint).data : void 0);
|
|
1018
|
+
if (!token) return null;
|
|
1019
|
+
const texture = decision.finishedPaint?.texture;
|
|
720
1020
|
return {
|
|
721
|
-
|
|
722
|
-
|
|
1021
|
+
kind: "paint",
|
|
1022
|
+
token,
|
|
1023
|
+
...texture ? { texture } : {}
|
|
723
1024
|
};
|
|
724
1025
|
}
|
|
725
|
-
/**
|
|
726
|
-
function
|
|
727
|
-
if (
|
|
728
|
-
if (
|
|
729
|
-
if (
|
|
730
|
-
|
|
731
|
-
return storedSectionPhoto(content) === null ? 0 : 1;
|
|
1026
|
+
/** A texture change is a paint change; untouched named grounds retain their established identity rule. */
|
|
1027
|
+
function sameGroundPaint(previous, next) {
|
|
1028
|
+
if (previous.endpoint.kind !== "paint" || next.endpoint.kind !== "paint") return false;
|
|
1029
|
+
if (JSON.stringify(previous.endpoint.texture) !== JSON.stringify(next.endpoint.texture)) return false;
|
|
1030
|
+
if (!previous.finished && !next.finished && previous.groundName !== void 0 && next.groundName !== void 0) return previous.groundName === next.groundName;
|
|
1031
|
+
return previous.endpoint.token === next.endpoint.token;
|
|
732
1032
|
}
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
}
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
const
|
|
1033
|
+
function composeEndpoints(from, to) {
|
|
1034
|
+
if (from.kind === "unpainted" && to.kind === "unpainted") return {
|
|
1035
|
+
kind: "not-shown",
|
|
1036
|
+
reason: "both-unpainted"
|
|
1037
|
+
};
|
|
1038
|
+
if (to.kind === "unpainted") return from.kind === "paint" ? {
|
|
1039
|
+
kind: "shown",
|
|
1040
|
+
composition: {
|
|
1041
|
+
kind: "paint-to-unpainted",
|
|
1042
|
+
from: from.token,
|
|
1043
|
+
...from.texture ? { fromTexture: from.texture } : {}
|
|
1044
|
+
}
|
|
1045
|
+
} : {
|
|
1046
|
+
kind: "not-shown",
|
|
1047
|
+
reason: "both-unpainted"
|
|
1048
|
+
};
|
|
1049
|
+
const texture = to.texture ? { toTexture: to.texture } : {};
|
|
750
1050
|
return {
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
1051
|
+
kind: "shown",
|
|
1052
|
+
composition: from.kind === "paint" ? {
|
|
1053
|
+
kind: "paint-to-paint",
|
|
1054
|
+
from: from.token,
|
|
1055
|
+
to: to.token,
|
|
1056
|
+
...from.texture ? { fromTexture: from.texture } : {},
|
|
1057
|
+
...texture
|
|
1058
|
+
} : {
|
|
1059
|
+
kind: "unpainted-to-paint",
|
|
1060
|
+
to: to.token,
|
|
1061
|
+
...texture
|
|
1062
|
+
}
|
|
755
1063
|
};
|
|
756
1064
|
}
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
textColor,
|
|
767
|
-
headingColor,
|
|
768
|
-
linkColor,
|
|
769
|
-
supportingColor
|
|
770
|
-
].some((ink) => ink !== void 0)) return source;
|
|
771
|
-
const style = styleSectionBackgroundForColour(runtime, source.background.color);
|
|
772
|
-
return style ? {
|
|
773
|
-
...source,
|
|
774
|
-
background: {
|
|
775
|
-
...style,
|
|
776
|
-
...source.background
|
|
777
|
-
}
|
|
778
|
-
} : source;
|
|
1065
|
+
//#endregion
|
|
1066
|
+
//#region ../theme-core/src/site-styles/groundPaintCss.ts
|
|
1067
|
+
function groundTextureStyle(texture) {
|
|
1068
|
+
return {
|
|
1069
|
+
"--rb-ground-texture-content": "''",
|
|
1070
|
+
"--rb-ground-texture": `var(--rb-texture-${texture.kind})`,
|
|
1071
|
+
"--rb-ground-texture-opacity": String(texture.strength),
|
|
1072
|
+
"--rb-ground-texture-blend": texture.blend
|
|
1073
|
+
};
|
|
779
1074
|
}
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
1075
|
+
/** Only the section's existing background layer receives these properties. */
|
|
1076
|
+
function finishedGroundStyle(finish) {
|
|
1077
|
+
return {
|
|
1078
|
+
background: finish.background,
|
|
1079
|
+
...finish.texture ? groundTextureStyle(finish.texture) : {}
|
|
1080
|
+
};
|
|
785
1081
|
}
|
|
786
|
-
function
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
1082
|
+
function generateGroundPaintCss(selector) {
|
|
1083
|
+
return `${selector} {\n ${[
|
|
1084
|
+
"paper-grain",
|
|
1085
|
+
"handmade-paper",
|
|
1086
|
+
"plaster"
|
|
1087
|
+
].map((kind) => `--rb-texture-${kind}: ${groundTextureDataUri(kind)};`).join("\n ")}\n}
|
|
1088
|
+
${selector} [data-ground-tone] > :where([data-slot='section'], [data-slot='schedule-section'], [data-slot='shop-section']) {
|
|
1089
|
+
min-height: calc(2 * ${groundFlatZone} + 1px);
|
|
1090
|
+
}
|
|
1091
|
+
${selector} .background-style::before {
|
|
1092
|
+
content: var(--rb-ground-texture-content, none); position: absolute; inset: 0; pointer-events: none;
|
|
1093
|
+
background-image: var(--rb-ground-texture); background-position: 0 0; opacity: var(--rb-ground-texture-opacity);
|
|
1094
|
+
mix-blend-mode: var(--rb-ground-texture-blend);
|
|
1095
|
+
}
|
|
1096
|
+
${selector} [data-section-edge-paint] {
|
|
1097
|
+
position: absolute; inset-inline: 0; z-index: 4; pointer-events: none;
|
|
1098
|
+
mask-image: var(--boundary-section-mask-wide, var(--boundary-texture-mask-wide));
|
|
1099
|
+
-webkit-mask-image: var(--boundary-section-mask-wide, var(--boundary-texture-mask-wide));
|
|
1100
|
+
mask-size: var(--boundary-mask-tile-width, 100%) var(--section-edge-height); -webkit-mask-size: var(--boundary-mask-tile-width, 100%) var(--section-edge-height);
|
|
1101
|
+
mask-repeat: var(--boundary-mask-repeat, no-repeat); -webkit-mask-repeat: var(--boundary-mask-repeat, no-repeat);
|
|
1102
|
+
}
|
|
1103
|
+
${selector} [data-section-edge-paint][data-section-edge-paint='underlay'] {
|
|
1104
|
+
mask-image: linear-gradient(black, black); -webkit-mask-image: linear-gradient(black, black);
|
|
1105
|
+
}
|
|
1106
|
+
${selector} [data-section-edge-paint]::before {
|
|
1107
|
+
content: var(--rb-ground-texture-content, none); position: absolute; inset: 0; pointer-events: none;
|
|
1108
|
+
background-image: var(--rb-ground-texture); background-position: 0 var(--section-texture-y);
|
|
1109
|
+
opacity: var(--rb-ground-texture-opacity); mix-blend-mode: var(--rb-ground-texture-blend);
|
|
1110
|
+
}
|
|
1111
|
+
@supports (color: color-mix(in srgb, black, white)) {
|
|
1112
|
+
${selector} [data-section-edge-fade] {
|
|
1113
|
+
mask-image: var(--boundary-texture-mask-wide); -webkit-mask-image: var(--boundary-texture-mask-wide);
|
|
1114
|
+
}
|
|
1115
|
+
}`;
|
|
1116
|
+
}
|
|
1117
|
+
/** A tone needs space for both flat edge zones and its ramp; texture alone does not. */
|
|
1118
|
+
function groundFinishHooks(finish) {
|
|
1119
|
+
return finish?.paint.tone ? { "data-ground-tone": "true" } : {};
|
|
794
1120
|
}
|
|
795
1121
|
//#endregion
|
|
796
1122
|
//#region ../blocks/src/system/data/selectBlockContent.ts
|
|
@@ -1756,7 +2082,7 @@ function eventCardListContent(event, context, buttonText) {
|
|
|
1756
2082
|
...offeringSchedule(event, context.now),
|
|
1757
2083
|
...event.bookingScope === "whole_series" ? offeringRunDates(event, context.now) : {}
|
|
1758
2084
|
};
|
|
1759
|
-
default: return assertNever(context);
|
|
2085
|
+
default: return assertNever$1(context);
|
|
1760
2086
|
}
|
|
1761
2087
|
}
|
|
1762
2088
|
function cardProjectionBase(event, buttonText, context) {
|
|
@@ -1787,7 +2113,7 @@ function cardBooking(event, buttonText, context) {
|
|
|
1787
2113
|
now: context.now,
|
|
1788
2114
|
count: context.count
|
|
1789
2115
|
});
|
|
1790
|
-
default: return assertNever(context);
|
|
2116
|
+
default: return assertNever$1(context);
|
|
1791
2117
|
}
|
|
1792
2118
|
}
|
|
1793
2119
|
function offeringLeadDate(event, startMs) {
|
|
@@ -2560,12 +2886,34 @@ function headerDateFact(selection) {
|
|
|
2560
2886
|
endsAt: event.endsAt,
|
|
2561
2887
|
...eventDateOptions(event)
|
|
2562
2888
|
});
|
|
2563
|
-
return {
|
|
2889
|
+
return cancelledEventDatesFact(selection) ?? {
|
|
2564
2890
|
label: selection.mode === "next" ? "Next date" : "Date",
|
|
2565
2891
|
value: date
|
|
2566
2892
|
};
|
|
2567
2893
|
}
|
|
2568
2894
|
/**
|
|
2895
|
+
* A cancelled event's dates, as its own page names them: the span of its
|
|
2896
|
+
* remaining dates, or the one date it was due on. A cancelled event has no
|
|
2897
|
+
* next date. Null for anything still on, or a date's own page.
|
|
2898
|
+
*/
|
|
2899
|
+
function cancelledEventDatesFact(selection) {
|
|
2900
|
+
const cancelled = selection.kind === "ordinary" ? selection.cancelledEventDates : null;
|
|
2901
|
+
if (!cancelled) return null;
|
|
2902
|
+
if (cancelled.first !== cancelled.last) return {
|
|
2903
|
+
label: "Dates",
|
|
2904
|
+
value: formatEventRunDates(cancelled.first, cancelled.last, eventDateOptions(cancelled.first))
|
|
2905
|
+
};
|
|
2906
|
+
const { date } = formatEventDateParts({
|
|
2907
|
+
startsAt: cancelled.first.startsAt,
|
|
2908
|
+
endsAt: cancelled.first.endsAt,
|
|
2909
|
+
...eventDateOptions(cancelled.first)
|
|
2910
|
+
});
|
|
2911
|
+
return {
|
|
2912
|
+
label: "Date",
|
|
2913
|
+
value: date
|
|
2914
|
+
};
|
|
2915
|
+
}
|
|
2916
|
+
/**
|
|
2569
2917
|
* Dates booked elsewhere take the page's shared booking decision, the one the
|
|
2570
2918
|
* registration panel shows. A later booking date is named by
|
|
2571
2919
|
* `laterBookingFact`, not in the button.
|
|
@@ -2590,7 +2938,7 @@ function bookedElsewhereAction(booking) {
|
|
|
2590
2938
|
bookingClosed: label
|
|
2591
2939
|
};
|
|
2592
2940
|
}
|
|
2593
|
-
default: return assertNever(booking);
|
|
2941
|
+
default: return assertNever$1(booking);
|
|
2594
2942
|
}
|
|
2595
2943
|
}
|
|
2596
2944
|
/**
|
|
@@ -2623,7 +2971,7 @@ function bookedElsewhereClosedLabel(closure) {
|
|
|
2623
2971
|
case "run": return closedRunCopy(closure.reason).titleText;
|
|
2624
2972
|
case "datesCutOff":
|
|
2625
2973
|
case "unavailable": return "Registration closed";
|
|
2626
|
-
default: return assertNever(closure);
|
|
2974
|
+
default: return assertNever$1(closure);
|
|
2627
2975
|
}
|
|
2628
2976
|
}
|
|
2629
2977
|
/** A closed run says why here, at the top of the page, so the panel below doesn't repeat it. */
|
|
@@ -2956,7 +3304,8 @@ const backgroundTransforms = [
|
|
|
2956
3304
|
summary: "Resolve inline styles for background color/gradient layers",
|
|
2957
3305
|
run: (value, options, context) => {
|
|
2958
3306
|
const fallbackToken = options?.fallbackToken;
|
|
2959
|
-
|
|
3307
|
+
const finish = asPartialObject(options)?.sectionGround ? sectionDecisionFromContent(context.data)?.finishedPaint : void 0;
|
|
3308
|
+
return finish ? finishedGroundStyle(finish) : resolveBackgroundLayerStyle(value, fallbackToken, context);
|
|
2960
3309
|
}
|
|
2961
3310
|
},
|
|
2962
3311
|
{
|
|
@@ -3292,7 +3641,7 @@ function formatAppointmentLocation(location) {
|
|
|
3292
3641
|
const venue = formatVenue(location.venue);
|
|
3293
3642
|
return venue ? `${venue} or online` : "In person or online";
|
|
3294
3643
|
}
|
|
3295
|
-
default: return assertNever(location);
|
|
3644
|
+
default: return assertNever$1(location);
|
|
3296
3645
|
}
|
|
3297
3646
|
}
|
|
3298
3647
|
function formatVenue(venue) {
|
|
@@ -3338,7 +3687,7 @@ function appointmentPricingDisplay(pricing) {
|
|
|
3338
3687
|
maxAmount: pricing.slidingMaxAmount,
|
|
3339
3688
|
currency: pricing.currency
|
|
3340
3689
|
};
|
|
3341
|
-
default: return assertNever(pricing.pricingStrategy);
|
|
3690
|
+
default: return assertNever$1(pricing.pricingStrategy);
|
|
3342
3691
|
}
|
|
3343
3692
|
}
|
|
3344
3693
|
//#endregion
|
|
@@ -3394,7 +3743,7 @@ function serviceDetailsFacts(service) {
|
|
|
3394
3743
|
value: location
|
|
3395
3744
|
}] : [],
|
|
3396
3745
|
{
|
|
3397
|
-
label: "
|
|
3746
|
+
label: "Cancellation policy",
|
|
3398
3747
|
value: describePublicRefundPolicy(service.cancellationPolicy.refunds)
|
|
3399
3748
|
},
|
|
3400
3749
|
...practitioners.length ? [{
|
|
@@ -3736,7 +4085,7 @@ function resolveLinkedContentEditSupport(contentType) {
|
|
|
3736
4085
|
kind: "unsupported-domain-backed",
|
|
3737
4086
|
reason: metadata.reason
|
|
3738
4087
|
};
|
|
3739
|
-
default: return assertNever(metadata);
|
|
4088
|
+
default: return assertNever$1(metadata);
|
|
3740
4089
|
}
|
|
3741
4090
|
}
|
|
3742
4091
|
function contentTypeKeyToLabel(key) {
|
|
@@ -3971,7 +4320,7 @@ function sourceLabel(source) {
|
|
|
3971
4320
|
case "managed-database": return "DB";
|
|
3972
4321
|
case "sdk-synced": return "SDK-synced DB";
|
|
3973
4322
|
case "sdk-config": return "SDK config";
|
|
3974
|
-
default: return assertNever(source);
|
|
4323
|
+
default: return assertNever$1(source);
|
|
3975
4324
|
}
|
|
3976
4325
|
}
|
|
3977
4326
|
//#endregion
|
|
@@ -4018,9 +4367,9 @@ function joinAcrossRun(byPair, previousBlockId, nextBlockId, run) {
|
|
|
4018
4367
|
const exiting = lastOmittedId ? byPair.get(pairKey(lastOmittedId, nextBlockId)) : void 0;
|
|
4019
4368
|
const donor = entering ?? exiting;
|
|
4020
4369
|
return donor ? {
|
|
4370
|
+
...donor,
|
|
4021
4371
|
previousBlockId,
|
|
4022
|
-
nextBlockId
|
|
4023
|
-
treatment: donor.treatment
|
|
4372
|
+
nextBlockId
|
|
4024
4373
|
} : void 0;
|
|
4025
4374
|
}
|
|
4026
4375
|
/**
|
|
@@ -4044,24 +4393,39 @@ function composePageJoins(input) {
|
|
|
4044
4393
|
return [{
|
|
4045
4394
|
previousBlockId: previous.id,
|
|
4046
4395
|
nextBlockId: next.id,
|
|
4047
|
-
join: join ? composeJoin(join, before.facts, after.facts) : null,
|
|
4396
|
+
join: join ? composeJoin(join, before.facts, after.facts, input.context) : null,
|
|
4048
4397
|
seam: sectionSeam(before, after)
|
|
4049
4398
|
}];
|
|
4050
4399
|
});
|
|
4051
4400
|
}
|
|
4052
|
-
function composeJoin(join, previous, next) {
|
|
4053
|
-
|
|
4054
|
-
|
|
4401
|
+
function composeJoin(join, previous, next, context) {
|
|
4402
|
+
const boundaryId = pairKey(join.previousBlockId, join.nextBlockId);
|
|
4403
|
+
const outcome = composeBoundary(previous, next, join.treatment);
|
|
4404
|
+
const family = transitionCatalogueEntryForIntent(join.treatment).family;
|
|
4405
|
+
const tuning = context?.siteStyleId ? siteStyleEdges(asSiteStyleId(context.siteStyleId)).supported.find((support) => support.family === family)?.tuning : void 0;
|
|
4406
|
+
const identity = {
|
|
4407
|
+
boundaryId,
|
|
4055
4408
|
previousBlockId: join.previousBlockId,
|
|
4056
4409
|
nextBlockId: join.nextBlockId,
|
|
4057
|
-
treatment: join.treatment
|
|
4058
|
-
|
|
4410
|
+
treatment: join.treatment
|
|
4411
|
+
};
|
|
4412
|
+
return outcome.kind === "shown" ? {
|
|
4413
|
+
...identity,
|
|
4414
|
+
outcome,
|
|
4415
|
+
layout: boundaryLayout(join.treatment, outcome.composition, {
|
|
4416
|
+
edge: join.edge,
|
|
4417
|
+
palette: context?.palette,
|
|
4418
|
+
tuning,
|
|
4419
|
+
seed: boundaryId
|
|
4420
|
+
})
|
|
4421
|
+
} : {
|
|
4422
|
+
...identity,
|
|
4423
|
+
outcome
|
|
4059
4424
|
};
|
|
4060
4425
|
}
|
|
4061
4426
|
/** Placement, reserves and paint for a join that draws; null otherwise. */
|
|
4062
4427
|
function renderedJoinLayout(join) {
|
|
4063
|
-
|
|
4064
|
-
return boundaryLayout(join.treatment, join.outcome.composition);
|
|
4428
|
+
return join?.layout ?? null;
|
|
4065
4429
|
}
|
|
4066
4430
|
/** Joins with a missing id on either side cannot sit between two blocks. */
|
|
4067
4431
|
function joinsByPair(joins) {
|
|
@@ -4117,14 +4481,14 @@ function planPageRender(input, previous = null) {
|
|
|
4117
4481
|
return [entry, {
|
|
4118
4482
|
position,
|
|
4119
4483
|
placement,
|
|
4120
|
-
entry: cached?.position === position && cached.placement === placement ? cached.entry : applyArrangementRhythm(entry, position, placement)
|
|
4484
|
+
entry: cached?.position === position && cached.placement === placement ? cached.entry : applyArrangementRhythm(entry, position, placement, input.palette)
|
|
4121
4485
|
}];
|
|
4122
4486
|
});
|
|
4123
4487
|
return {
|
|
4124
4488
|
region,
|
|
4125
4489
|
planned,
|
|
4126
4490
|
rhythmic,
|
|
4127
|
-
entries: rhythmic
|
|
4491
|
+
entries: deepenArrangementRhythm(rhythmic, placement, input.palette).filter(shown)
|
|
4128
4492
|
};
|
|
4129
4493
|
});
|
|
4130
4494
|
const regions = {
|
|
@@ -4151,7 +4515,7 @@ function planPageRender(input, previous = null) {
|
|
|
4151
4515
|
};
|
|
4152
4516
|
}
|
|
4153
4517
|
function samePlanSettings(previous, current) {
|
|
4154
|
-
return previous.siteStyleId === current.siteStyleId && previous.audience === current.audience && previous.previewStage === current.previewStage && previous.sdkConfig === current.sdkConfig && previous.customBlocks === current.customBlocks && previous.blockOverrides === current.blockOverrides;
|
|
4518
|
+
return previous.siteStyleId === current.siteStyleId && previous.palette === current.palette && previous.audience === current.audience && previous.previewStage === current.previewStage && previous.sdkConfig === current.sdkConfig && previous.customBlocks === current.customBlocks && previous.blockOverrides === current.blockOverrides;
|
|
4155
4519
|
}
|
|
4156
4520
|
/**
|
|
4157
4521
|
* Mirrors the order of the checks `MemoBlockSection` used to make inline, so no
|
|
@@ -4303,11 +4667,8 @@ function restoreCompiledLook(look) {
|
|
|
4303
4667
|
};
|
|
4304
4668
|
}
|
|
4305
4669
|
function restoreArrangementRuntime(runtime) {
|
|
4306
|
-
const transported = runtime;
|
|
4307
|
-
const fieldGrounds = Array.isArray(transported.fieldGrounds) ? transported.fieldGrounds.filter((token) => typeof token === "string") : [];
|
|
4308
4670
|
return {
|
|
4309
4671
|
...runtime,
|
|
4310
|
-
fieldGrounds,
|
|
4311
4672
|
available: runtime.available.map(restoreCompiledLook),
|
|
4312
4673
|
byMode: Object.fromEntries(Object.entries(runtime.byMode).map(([mode, look]) => [mode, restoreCompiledLook(look)]))
|
|
4313
4674
|
};
|
|
@@ -4318,7 +4679,27 @@ function effectiveLookFromContent(content) {
|
|
|
4318
4679
|
return isObjectRecord(value) && isObjectRecord(value.look) ? restoreCompiledLook(value) : null;
|
|
4319
4680
|
}
|
|
4320
4681
|
function planArrangementContent(blockKind, manifest, authored, audience) {
|
|
4321
|
-
|
|
4682
|
+
const content = withoutSectionDecision(planArrangementBlockContent(blockKind, manifest, authored, audience).renderableContent);
|
|
4683
|
+
const runtime = arrangementRuntime(content);
|
|
4684
|
+
const look = effectiveLookFromContent(content);
|
|
4685
|
+
if (!runtime || !look) return content;
|
|
4686
|
+
const section = resolveRuntimeSection({
|
|
4687
|
+
content,
|
|
4688
|
+
runtime,
|
|
4689
|
+
look,
|
|
4690
|
+
blockKind,
|
|
4691
|
+
arrangementKey: look.look.structure.byMode[readStoredMode({
|
|
4692
|
+
...arrangementManifestFromVariants(manifest),
|
|
4693
|
+
variantMeaning: manifest.variantMeaning
|
|
4694
|
+
}, content) ?? "default"],
|
|
4695
|
+
position: 0,
|
|
4696
|
+
placement: "page-wide",
|
|
4697
|
+
palette: runtime.surfaceContext.palette
|
|
4698
|
+
});
|
|
4699
|
+
return {
|
|
4700
|
+
...content,
|
|
4701
|
+
_sectionDecision: section
|
|
4702
|
+
};
|
|
4322
4703
|
}
|
|
4323
4704
|
function planArrangementBlockContent(blockKind, manifest, authored, audience) {
|
|
4324
4705
|
const runtime = arrangementRuntime(authored);
|
|
@@ -4486,47 +4867,73 @@ function arrangementContentHooks(effective, mode, length, facts, values, photoCo
|
|
|
4486
4867
|
...Object.fromEntries(Object.entries(values).map(([key, value]) => [`data-knob-${key === "titleSize" ? "headline" : key.replace(/[A-Z]/g, (letter) => `-${letter.toLowerCase()}`)}`, value]))
|
|
4487
4868
|
};
|
|
4488
4869
|
}
|
|
4489
|
-
|
|
4870
|
+
/** Read participation from the section owner; the planner supplies composition, never grounds. */
|
|
4871
|
+
function deepenArrangementRhythm(rhythmic, placement, palette) {
|
|
4872
|
+
const driven = rhythmic.filter(([, value]) => value.entry.sectionDecision?.source === "rhythm").map(([entry]) => entry);
|
|
4873
|
+
return rhythmic.map(([original, value]) => {
|
|
4874
|
+
if (arrangementRuntime(original.renderableContent)?.progression !== "deepen") return value.entry;
|
|
4875
|
+
const position = driven.indexOf(original);
|
|
4876
|
+
return position < 0 ? value.entry : applyArrangementRhythm(original, value.position, placement, palette, {
|
|
4877
|
+
position,
|
|
4878
|
+
count: driven.length
|
|
4879
|
+
});
|
|
4880
|
+
});
|
|
4881
|
+
}
|
|
4882
|
+
function applyArrangementRhythm(entry, position, placement, palette = {}, rhythmSpan) {
|
|
4490
4883
|
const runtime = arrangementRuntime(entry.renderableContent);
|
|
4491
4884
|
const look = effectiveLookFromContent(entry.renderableContent);
|
|
4492
|
-
|
|
4493
|
-
const content = entry.renderableContent;
|
|
4885
|
+
const content = withoutSectionDecision(entry.renderableContent);
|
|
4494
4886
|
const section = resolveRuntimeSection({
|
|
4495
4887
|
content,
|
|
4496
4888
|
runtime,
|
|
4497
4889
|
look,
|
|
4498
4890
|
position,
|
|
4499
4891
|
placement,
|
|
4892
|
+
rhythmSpan,
|
|
4500
4893
|
blockKind: entry.block.kind,
|
|
4501
4894
|
arrangementKey: entry.kind === "renderable" ? entry.effectiveArrangementKey ?? void 0 : void 0,
|
|
4502
|
-
palette: runtime
|
|
4895
|
+
palette: runtime?.surfaceContext.palette ?? palette
|
|
4503
4896
|
});
|
|
4504
4897
|
const resolved = section.background;
|
|
4505
4898
|
const updated = applyResolvedArrangementBackground(content, resolved);
|
|
4506
|
-
|
|
4899
|
+
if (!runtime || !look) return {
|
|
4900
|
+
...entry,
|
|
4901
|
+
renderableContent: content,
|
|
4902
|
+
sectionDecision: {
|
|
4903
|
+
...section,
|
|
4904
|
+
lookId: null
|
|
4905
|
+
}
|
|
4906
|
+
};
|
|
4907
|
+
const surface = section.surfaceToken;
|
|
4507
4908
|
const grounded = resolveArrangementSurfaces(entry, look, runtime, section, updated);
|
|
4508
|
-
const shape = sectionShapeHook(
|
|
4909
|
+
const shape = sectionShapeHook(section.shape);
|
|
4509
4910
|
const combined = resolveCombinedLook(entry, grounded, runtime, section, updated);
|
|
4510
4911
|
return {
|
|
4511
4912
|
...entry,
|
|
4512
4913
|
sectionDecision: {
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
paint: section.paint
|
|
4914
|
+
...section,
|
|
4915
|
+
lookId: look.look.id
|
|
4516
4916
|
},
|
|
4517
|
-
styleBackground: section.styleBackground,
|
|
4518
4917
|
renderableContent: {
|
|
4519
4918
|
...updated,
|
|
4919
|
+
_sectionDecision: section,
|
|
4520
4920
|
...combined ? { _combinedLook: combined } : {},
|
|
4521
4921
|
_effectiveLook: grounded,
|
|
4522
4922
|
_lookHooks: {
|
|
4523
4923
|
...isObjectRecord(updated._lookHooks) ? updated._lookHooks : {},
|
|
4524
4924
|
"data-surface": surface,
|
|
4525
|
-
...shape
|
|
4925
|
+
...shape,
|
|
4926
|
+
...groundFinishHooks(section.finishedPaint)
|
|
4526
4927
|
}
|
|
4527
4928
|
}
|
|
4528
4929
|
};
|
|
4529
4930
|
}
|
|
4931
|
+
/** Only the planner mints `_sectionDecision`; one arriving with content (an import, an SDK payload, an earlier plan) is dropped. */
|
|
4932
|
+
function withoutSectionDecision(content) {
|
|
4933
|
+
if (!("_sectionDecision" in content)) return content;
|
|
4934
|
+
const { _sectionDecision: _stale, ...rest } = content;
|
|
4935
|
+
return rest;
|
|
4936
|
+
}
|
|
4530
4937
|
function applyResolvedArrangementBackground(content, resolved) {
|
|
4531
4938
|
const section = isObjectRecord(content._sectionStyles) ? content._sectionStyles : {};
|
|
4532
4939
|
const photo = isObjectRecord(section.background) ? section.background.image : void 0;
|
|
@@ -4586,11 +4993,13 @@ function resolveArrangementSurfaces(entry, look, runtime, section, content) {
|
|
|
4586
4993
|
surfaces: runtime.surfaces,
|
|
4587
4994
|
context: runtime.surfaceContext
|
|
4588
4995
|
};
|
|
4996
|
+
const parents = plannedSlotParents(entry, look);
|
|
4997
|
+
const base = section.certifiedBackdrop;
|
|
4589
4998
|
const surfacePresentation = resolveLookSurfacePresentation({
|
|
4590
4999
|
look,
|
|
4591
|
-
parents
|
|
5000
|
+
parents,
|
|
4592
5001
|
ground,
|
|
4593
|
-
base
|
|
5002
|
+
base,
|
|
4594
5003
|
style,
|
|
4595
5004
|
content
|
|
4596
5005
|
});
|
|
@@ -4613,7 +5022,7 @@ function resolveCombinedLook(entry, list, runtime, section, content) {
|
|
|
4613
5022
|
look: month,
|
|
4614
5023
|
parents: arrangementSlotParentsForManifest(entry.kind === "renderable" ? entry.definition.manifest : void 0, month.look.target, arrangement),
|
|
4615
5024
|
ground,
|
|
4616
|
-
base:
|
|
5025
|
+
base: section.certifiedBackdrop,
|
|
4617
5026
|
content,
|
|
4618
5027
|
style: {
|
|
4619
5028
|
roleMap: month.roleMap,
|
|
@@ -4656,4 +5065,4 @@ function plannedSlotParents(entry, look) {
|
|
|
4656
5065
|
return arrangementSlotParentsForManifest(entry.definition.manifest, look.look.target, arrangement, look.look.structure.eventRows);
|
|
4657
5066
|
}
|
|
4658
5067
|
//#endregion
|
|
4659
|
-
export {
|
|
5068
|
+
export { formatEventDuration as $, OfferingCourseCards as A, EventItem as B, resolvePageRouteTarget as C, EVENT_REGISTRATION_ANCHOR_ID as D, cancelledEventDatesFact as E, createEditorPresentationPageReader as F, eventDisplayTitleText as G, CalendarIcon as H, createPresentationPageReader as I, buildMonthDay as J, formatCourseDatesAfter as K, EmptyState as L, offeringDatesBySeries as M, deriveEventScheduleSummary as N, MonthLookView as O, derivePreviewRunSchedule as P, formatEventTeacherLine as Q, CardListCollection as R, resolveEntryRouteTarget as S, EventHeader as T, MapPinIcon as U, eventCategoryBadge as V, eventDisplayTitle as W, formatEventQuickDate as X, resolveMonthSelectedDay as Y, selectQuickDateEvents as Z, publicAppointmentLocationSchema as _, joinSlotKey as a, lookFillPartsFromContent as at, describePublicRefundPolicy as b, createCustomBlockRegistry as c, resolveLinkedEntryInlineFieldEligibility as d, parseStoredVariant as et, builtinTransformDefinitions as f, formatAppointmentPrice as g, formatAppointmentLocation as h, composePageJoins as i, arrangementContentFacts as it, eventCardListContent as j, EventListingFrameView as k, buildLinkedContentEditTarget as l, formatAppointmentDuration as m, createPageRenderPlanReader as n, generateGroundPaintCss as nt, renderedJoinLayout as o, buildThemeTokens as ot, defaultTransforms as p, formatCourseSessions as q, planArrangementContent as r, groundTextureStyle as rt, retargetJoinsAcrossOmissions as s, defaultThemeTokens as st, buildPageRenderPlan as t, selectBlockContent as tt, coerceLinkedContentEntriesPayload as u, publicAppointmentPricingSchema as v, resolveRouteTarget as w, resolveAuthoredLinkHref as x, PUBLIC_FREE_CANCELLATION as y, CardListItems as z };
|