@riverbankcms/sdk 0.184.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/dist/_dts/{BlocksIslandsHydrator-DjBTJYiF.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-BpXEM2ET.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-Bb3h7KRE.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-DgTRRtl_.d.ts → client-BKdjJ7A0.d.ts} +23 -4
- package/dist/_dts/{content-types-DZQJp_ak.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-Ww1fmd-c.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BGc7dju6.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-Cni4jykw.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-ukS-Ffem.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-W9-7djG3.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-Cc85KVLW.d.ts → index-DTKn1H8g.d.ts} +1 -1
- package/dist/_dts/{index-DxxTQ_0V.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-BECaUNYs.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BlSWTlbD.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-CZz2BoXJ.d.ts → request-BwYvMqLf.d.ts} +459 -109
- package/dist/_dts/{resolveBlockData-D12HXnS3.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BteMsSGP.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 +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 +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 +1 -1
- package/dist/_dts/{serviceBookingOutline-aTlOvO3U.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +10 -7
- package/dist/_dts/{types-CCcQlRBi.d.ts → types-BBazdRQf.d.ts} +3 -3
- package/dist/_dts/{types-Du4aMnWC.d.ts → types-BwngWRQ8.d.ts} +7 -7
- package/dist/_dts/{types-Bi7R07RX.d.ts → types-C9_amrul.d.ts} +2 -2
- package/dist/_dts/{validation-CjCWVmwe.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CFLWxjxR.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-C4LcfwyA.mjs → BookingMailingListNote-D_khdttF.mjs} +59 -60
- package/dist/client/{BookingQuestionFields-DdcmoHqQ.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +48 -35
- package/dist/client/{CalendarAction-DYGewmvh.mjs → CalendarAction-C-AbMmct.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-ZfrUiiiI.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-pzkGVkgG.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +4 -4
- package/dist/client/{EventCalendar.client-Ct1B3xI4.mjs → EventCalendar.client-By7e9nyF.mjs} +10 -10
- package/dist/client/{EventCombined.client-DgfNtcgW.mjs → EventCombined.client-BdRZXB14.mjs} +9 -9
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-KGKkK19N.mjs → EventItem-CDMa9zOX.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-Ba9ezxuC.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-xFKRDLwC.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-Dy36vWHi.mjs → EventListing.view-B6LOK-z4.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-Dth9L00x.mjs → EventRegistrationPayment-CARdr15t.mjs} +44 -35
- package/dist/client/{Page-DB5KODiu.mjs → Page-uP7AKSyp.mjs} +37 -30
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-BDVP_HeK.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +2 -2
- package/dist/client/{StepIndicator-CLgDVzCs.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DRyZ8igu.mjs → StepIndicator-Cb3NMw-Y.mjs} +29 -17
- package/dist/client/{accessibleSurfaces-CqroimVQ.mjs → accessibleSurfaces-q-dDOwsW.mjs} +5 -3
- package/dist/client/{accordion-BQYRP5xV.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-B7ckDuOC.mjs → booking-form.client-DAlWWWjV.mjs} +108 -70
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-BeD4650p.mjs → bookingForm-DtVk9p5l.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CA7FirMH.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-CjoaG1zy.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{carousel-DJ9Aa1m3.mjs → carousel-msur7fxW.mjs} +1 -1
- package/dist/client/{cart-DdCenbTy.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-BQm06qNw.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-45wPQULN.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-bSv4cc5z.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwlaMl3W.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +43 -18
- package/dist/client/{constants-DXV4KR7l.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-lCPfX-xe.mjs → context-CG77Keax.mjs} +30 -3
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-Ce3Gyin_.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CGcDE9aE.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +3 -3
- package/dist/client/{event-registration.client-DlPfn4YG.mjs → event-registration.client-Ckb4aDE9.mjs} +79 -58
- package/dist/client/{eventCalendar-CioAdryV.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-Dwt0G6ez.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-B3H9ifOC.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-Do7cAhXb.mjs → eventRegistration-BhAqvkCb.mjs} +4 -4
- package/dist/client/{form-CsqzgC6v.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-DVDB7hY6.mjs → form.client-Whi43oio.mjs} +4 -4
- package/dist/client/{form.parts-1q2rzSYt.mjs → form.parts-BgsWo2Me.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-BrXQGX-k.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--zAjnY5N.mjs → gifting.client-CraWj4I4.mjs} +173 -71
- package/dist/client/{gifting.interactive-CrwHpUJG.mjs → gifting.interactive-DiPDObN0.mjs} +3 -2
- package/dist/client/{gifting.parts-CcKdDaQq.mjs → gifting.parts-_mgGOcbA.mjs} +12 -43
- package/dist/client/{headerSection-DlcDH4bi.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-dMh0Oxli.mjs → islands-C95FyxUF.mjs} +11 -9
- package/dist/client/{newsletter-form.client-BxA1PsdS.mjs → newsletter-form.client-BgVJdKVe.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-D0iRg7p2.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +35 -15
- package/dist/client/{newsletter-form.parts-Dmuklz0r.mjs → newsletter-form.parts-poPgHrUh.mjs} +1 -1
- package/dist/client/{newsletterForm-CBzvgIfg.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +978 -72
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DiGibcZI.mjs → portalRoutes-D3Ttfv5x.mjs} +48 -13
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-D9MP8hvH.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-wCz1qcUY.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-D9-fCY6c.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-PJyxXSac.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-B8lrKGPw.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-CI63JVHW.mjs → registry.server-0UDNY7dO.mjs} +185 -224
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-Jt9hDHdh.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-ZSPcJWx1.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-_iW9oEYc.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-CbdJlWOw.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-BqLbzUUn.mjs → shop-commerce-CDth2_qq.mjs} +13 -13
- package/dist/client/{shop-commerce-store-BT0-zRqN.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-Cws0lnSb.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-0cNErhJT.mjs → shop.client-BI2iw6Z3.mjs} +56 -21
- package/dist/client/{shopShared-COuQ2MhQ.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- 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-DqI6U1BS.mjs → timetableModel-DZzGD6rS.mjs} +8 -8
- package/dist/client/{useAutomaticDiscountPreview-CeVUVzGf.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +1 -1
- package/dist/client/{useAvailableSlots-B0mjVhZr.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B_hfgdAP.mjs → useDiscountCodeUi-DMtTHqex.mjs} +1 -1
- package/dist/client/{useEventPagination-Ct4A6iR1.mjs → useEventPagination-CM-DCokc.mjs} +7 -7
- package/dist/client/{view-Cj151w4m.mjs → view-CHOhliHv.mjs} +3 -3
- package/dist/client/{wizardSteps-B3gsXNnb.mjs → wizardSteps-BbroaNkT.mjs} +68 -22
- package/dist/preview-next/client/{PageSectionToolbar-Dv4CW0AQ.mjs → PageSectionToolbar-CR99z8BL.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-B7WW58uE.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +6 -6
- package/dist/preview-next/client/{PreviewEditorUI-BnJ1ughv.mjs → PreviewEditorUI-D6IG119o.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-C7qWzAe4.mjs → PreviewShell-CKjkFOZS.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CYi4UHtG.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +4 -4
- package/dist/preview-next/client/{previewAssistantSlot-DrUoRNu9.mjs → previewAssistantSlot-DcEwU9l_.mjs} +977 -505
- package/dist/preview-next/client/{previewChromeRoot-CEYp90mM.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DnO2_c0A.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B3PwHw2z.mjs → siteStyleAccess-BL1fZnUD.mjs} +1 -1
- 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-DrdQ4ier.mjs → useAutosaveStatus-CdFnzKac.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-kuGRKaRL.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +8 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CwrXkLT3.mjs → route-contract-CQfEvfbg.mjs} +38 -13
- package/dist/server/{Block.shared-C5ucphCJ.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DvbqYXdK.mjs → ThemeScopeCore-BjxlpVaV.mjs} +5 -5
- package/dist/server/{accessibleSurfaces-CAcf1lHT.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +2 -2
- package/dist/server/{accordions-DjcsqjCK.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-CFw4M-gZ.mjs → bindings-D-n66Oqc.mjs} +5 -5
- package/dist/server/{client-D0XCgITW.mjs → client-BGGlrkft.mjs} +41 -16
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-BZduY8jG.mjs → constants-TkO9Uxma.mjs} +45 -10
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-C-qyB8Tq.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-BpKKmi8E.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/{lookMediaFrame-EFws7tAj.mjs → lookMediaFrame-Dw6R9B0L.mjs} +13 -11
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-DYkuiNXa.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-DmZn4xUE.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DRB7cUZ0.mjs → pageRenderPlan-DmP0HVMu.mjs} +30 -8
- package/dist/server/{pageRuntimeSupport-Uv1xDieJ.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +3 -3
- package/dist/server/{pageShared-BdQF875z.mjs → pageShared-ALu7y5Dq.mjs} +272 -165
- package/dist/server/{parseThemeForPersistence-CwcWZL7u.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-BQ8qiQnk.mjs → portal-P4oHSRho.mjs} +2 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-B51QZVNe.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CppDAfJW.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-Bf4W8Qa7.mjs → registry-DD_s7l3Y.mjs} +82 -33
- 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-DMHAZooQ.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-BMtAAPzp.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1 -1
- package/dist/server/{responseMedia-DKYfR518.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-DGaihVwp.mjs → schema-ClDfFtz2.mjs} +3 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRvmreX7.mjs → servicePageContent-CsUerbJ1.mjs} +14 -12
- package/dist/server/theme-bridge.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-mcy2E1Yd.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-B2qFOUwZ.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -2
- package/dist/server/{types-C_S0pWbR.mjs → types-CcKy8_tj.mjs} +5 -3
- package/dist/server/{validation-CUtNT_EZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-DebJQ4zn.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +192 -134
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { $ as parseColorTokenParts, A as surfaceInkDeclarations, C as SURFACE_INK_CSS_VARS, E as surfaceForegroundInputFromResolved, F as cssVarValue, H as staysInsideDeclaration, I as mergeStyles, L as rgbColorValue, N as backgroundColorStyle, O as surfaceForegroundValue, R as textColorStyle, T as surfaceForegroundDeclarations, V as callsCssLoadingFunction, W as absoluteInkColors, a as createStandardButtonSurfacePolicy, et as parseThemeColorToken, i as buttonSizeNameSchema, j as surfaceInkStyle, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, z as textColorValue } from "./types-
|
|
2
|
-
import { H as resolveConcreteColorHex, N as expandPalette, R as compositeHex, U as resolveOpaqueSurfaceHex, _ as runtimeMediaSchema, a as formatButtonColourContractError, b as renderableMediaAssetSchema, c as DEFAULT_BUTTON_SIZES, ct as hexToRgb, d as generateShadowValue$1, i as BUTTON_CONTRAST_POLICY, n as compileButtonColourStates, r as resolveSolidButtonColour, s as BORDER_WIDTH_MAP, tt as contrastRatio, u as FONT_SIZE_MAP } from "./resolveButtonColourStates-
|
|
3
|
-
import { A as mapButtonVisualAppearances, B as surfaceInkPublication, C as buttonPartsCss, E as affordanceIconMaskUrl, G as certifyPaint, I as freezeOwnedThemeValue, K as contrastThresholdByPolicy, L as ownedThemeSnapshot, R as resolveSurfaceForeground, T as partOwnedPseudoElements, W as HOVER_TEXT_THRESHOLD, _ as buttonStateShadow, b as paddingDeclarations, c as serializeSurfaceTree, g as buttonStateAppearanceDeclarations, h as buttonRadius, j as actionVariableFallback, m as buttonBorder, r as parseSurfaceTree, s as resolveSurface, v as buttonTypographyDeclarations, w as buttonShadowLayersValue, y as materializeRuntimeButtonAppearance } from "./accessibleSurfaces-
|
|
4
|
-
import { $ as
|
|
5
|
-
import { $ as cardListPresentationSchemaShape, $a as
|
|
6
|
-
import { $ as generateInteractiveChildInheritanceCSS, At as transitionCatalogueEntries, G as generateFooterCss, Ht as featureCardCompositionTreatmentValues, J as buildTextContrastShadow, Jt as testimonialsCompositionTreatmentValues, O as requireCuratedSiteStyle, Q as resolveEffectPaint, U as resolveCardRole, Ut as introCompositionTreatmentValues, W as generateDefaultCardSystem, Wt as offeringsPreviewCompositionTreatmentValues, X as generateEffectsCSS, Y as generateNavLinkCSS, Z as resolveEffectApplications, en as opaqueSurfaceContextFromTheme, f as arrangementManifestFromVariants, i as arrangementLookHooks, m as resolveEffectiveArrangement, rn as TokenResolver, tn as opaqueSurfaceDeclarations, yt as boundaryRuntimeMetricsForDecorativeTransition } from "./lookMediaFrame-
|
|
7
|
-
import { f as fontWidthFits, u as boxBackgroundSchema, v as surfaceCardRoleValues, w as siteChromeBackgroundOverrideOwner } from "./schema-
|
|
1
|
+
import { $ as parseColorTokenParts, A as surfaceInkDeclarations, C as SURFACE_INK_CSS_VARS, E as surfaceForegroundInputFromResolved, F as cssVarValue, H as staysInsideDeclaration, I as mergeStyles, L as rgbColorValue, N as backgroundColorStyle, O as surfaceForegroundValue, R as textColorStyle, T as surfaceForegroundDeclarations, V as callsCssLoadingFunction, W as absoluteInkColors, a as createStandardButtonSurfacePolicy, et as parseThemeColorToken, i as buttonSizeNameSchema, j as surfaceInkStyle, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, z as textColorValue } from "./types-CcKy8_tj.mjs";
|
|
2
|
+
import { H as resolveConcreteColorHex, N as expandPalette, R as compositeHex, U as resolveOpaqueSurfaceHex, _ as runtimeMediaSchema, a as formatButtonColourContractError, b as renderableMediaAssetSchema, c as DEFAULT_BUTTON_SIZES, ct as hexToRgb, d as generateShadowValue$1, i as BUTTON_CONTRAST_POLICY, n as compileButtonColourStates, r as resolveSolidButtonColour, s as BORDER_WIDTH_MAP, tt as contrastRatio, u as FONT_SIZE_MAP } from "./resolveButtonColourStates-ChlP4NJ9.mjs";
|
|
3
|
+
import { A as mapButtonVisualAppearances, B as surfaceInkPublication, C as buttonPartsCss, E as affordanceIconMaskUrl, G as certifyPaint, I as freezeOwnedThemeValue, K as contrastThresholdByPolicy, L as ownedThemeSnapshot, R as resolveSurfaceForeground, T as partOwnedPseudoElements, W as HOVER_TEXT_THRESHOLD, _ as buttonStateShadow, b as paddingDeclarations, c as serializeSurfaceTree, g as buttonStateAppearanceDeclarations, h as buttonRadius, j as actionVariableFallback, m as buttonBorder, r as parseSurfaceTree, s as resolveSurface, v as buttonTypographyDeclarations, w as buttonShadowLayersValue, y as materializeRuntimeButtonAppearance } from "./accessibleSurfaces-CZ7pLuJ7.mjs";
|
|
4
|
+
import { $ as formatEventDuration, A as OfferingCourseCards, B as EventItem, C as resolvePageRouteTarget, D as EVENT_REGISTRATION_ANCHOR_ID, E as cancelledEventDatesFact, F as createEditorPresentationPageReader, G as eventDisplayTitleText, H as CalendarIcon, I as createPresentationPageReader, J as buildMonthDay, K as formatCourseDatesAfter, L as EmptyState, M as offeringDatesBySeries, N as deriveEventScheduleSummary, O as MonthLookView, P as derivePreviewRunSchedule, Q as formatEventTeacherLine, R as CardListCollection, S as resolveEntryRouteTarget, T as EventHeader, U as MapPinIcon, V as eventCategoryBadge, W as eventDisplayTitle, X as formatEventQuickDate, Y as resolveMonthSelectedDay, Z as selectQuickDateEvents, _ as publicAppointmentLocationSchema, a as joinSlotKey, d as resolveLinkedEntryInlineFieldEligibility, et as parseStoredVariant, g as formatAppointmentPrice, h as formatAppointmentLocation, i as composePageJoins, j as eventCardListContent, k as EventListingFrameView, l as buildLinkedContentEditTarget, m as formatAppointmentDuration, n as createPageRenderPlanReader, nt as generateGroundPaintCss, o as renderedJoinLayout, ot as buildThemeTokens, p as defaultTransforms, q as formatCourseSessions, rt as groundTextureStyle, s as retargetJoinsAcrossOmissions, st as defaultThemeTokens, v as publicAppointmentPricingSchema, w as resolveRouteTarget, z as CardListItems } from "./pageRenderPlan-DmP0HVMu.mjs";
|
|
5
|
+
import { $ as cardListPresentationSchemaShape, $a as authoredHeaderLinkForeground, $i as el, $n as resolveSelectionBookingClosedDetail, $r as clsx, $t as bookingPresentation, A as membershipCardListContent, Ai as heroCopyFragment, An as getLocalDateKey, Ao as bookingConsentCarrierSchema, As as toBookingTimeZone, At as buildOfferingsPreviewListing, Bi as resolveBackgroundColorValue, Bn as bookingPageKindSchema, Br as buildInteractiveIslandProps, Bt as resolveEventRegistrationScopedEvents, C as shopBlockDefinition, Ca as isInlineTextEmpty, Ci as formCopyFragment, Cn as formatEventNextDateFact, Cr as splitPositioningClasses, Cs as formatLocalScheduleDate, Ct as resolveEventRegistrationEventSource, D as buildProductListInteractiveIslandProps, Di as heroCtaRowFragment, Dn as formatTime, Do as publicEventsArraySchema, Dr as teamMemberCardBiography, Ds as parseLocalScheduleTime, E as buildProductDetailInteractiveIslandProps, Ei as ctaCopyFragment, Er as teamMemberBiography, Es as parseBookingLocalDate, F as buildOfferingsCatalogueListing, Fn as getOrderedDayNames, Fo as admitReadinessFacts, Fs as publicEventPricingDisplay, Ft as readOfferingsGrouping, G as buildEventCollectionListingDisplay, Ga as resolveHeaderRootForeground, Gi as defineFragment, Gn as isDropInPublicEvent, Gr as defineProgressiveBlockRuntime, Gt as getIconComponent, H as buildEventListingInteractiveIslandProps, Ha as parseThemeButtonVariantId, Hi as layoutSectionGround, Hn as cancelledRunsCopy, Hr as defineInteractiveIslandMetaKeys, Ht as ThemedButton, I as offeringsCatalogueShape, Ia as eventReadinessResultSchema, In as getWeekCalendarDayTuple, Io as hiddenFromVisitors, Is as publicEventPricingType, It as resolveOfferingsPreviewGroupCta, J as eventCollectionSourceSchemaShape, Ja as selectItemSurfacePresentation, Jn as planOrdinarySeriesSelection, Jr as listLookSlot, Jt as eventListWeekDays, K as eventCollectionDisplaySchemaShape, Kn as isOrdinaryPublicEvent, Kr as listItemPresentation, Kt as SpinnerNode, L as eventCalendarBlockDefinition, Ln as getWeekCalendarDays, Lo as loadedReadinessFact, Ls as resolveExactOrFreePriceDisplay, Lt as resolveOfferingsPreviewGroups, M as passCardListContent, Mi as boxStyleClassNames, Mn as addDays, Ms as formatBookingPriceDisplay, Mt as normalizeOfferingsPreviewItemLimit, N as offeringsPreviewBlockDefinition, Na as eventReadinessLoaderKey, Ni as normalizeBoxStylesBorder, Nn as formatDateKey, Ns as isPublicEventPricingOptionDisplayable, Nt as offeringRunLifecycle, O as buildShopInteractiveIslandProps, Oa as parseFieldDefinitions, Oi as ctaRowFragment, On as groupEventsByDate, Oo as blockBookingPaymentTermsSchema, Or as readRuntimeNow, Os as toUtcIsoDateTimeString, P as publicRouteCandidatesSchema, Pi as resolveCardRoleForBoxStyles, Pn as getDayOfWeek, Pr as staticHeaderChromeRuntime, Ps as publicEventPricingCurrency, Pt as offeringsListingFor, Qi as runTransforms, Qr as Grid, R as buildEventCalendarInteractiveIslandProps, Rn as isSameCalendarDay, Ro as pageTemplateFromEntry, Rr as formBlockDefinition, Rt as resolveOfferingsRenderInput, S as productListBlockDefinition, Sa as inlineTextToPlainText, Si as formEmbedFragment, Sn as formatEventHourLabel, Sr as markEditableSurfaceForwarding, St as buildEventRegistrationInteractiveIslandProps, T as buildCheckoutInteractiveIslandProps, Ti as testimonialsHeadingFragment, Tn as formatEventTimeRange, Tr as parseTeamMemberSpecialties, Ts as getLocalScheduleDate, Tt as previewStageSchema, U as buildEventCollectionDisplay, Ua as themeButtonSelector, Un as eventOccurrenceContext, Ur as createZodCodec, Ut as ThemedButtonLink, V as eventListingBlockDefinition, Vi as ctaButton, Vn as cancelledRegistrationCopy, Vr as createInteractiveIslandCodec, Vt as ThemedAuthoredButton, W as buildEventCollectionHydration, Wa as AFFORDANCE_SUPPRESS_CLASS, Wi as bodyCopyFragment, Wn as getPublicEventCanonicalPath, Wr as defineClientOwnedBlockRuntime, Wt as ThemedDownloadLink, X as listingEventCardProps, Xa as pageGround, Xn as planWholeSeriesParentSelection, Xr as resolvedItemSurfaceProps, Y as catalogueEventCardProps, Yn as planWholeSeriesParentBooking, Yr as lookListPresentationSchemaShape, Yt as eventWeekGroupingContext, Z as CardListContentPart, Zn as planWholeSeriesRunSelection, Zr as itemRole, _ as giftingBlockDefinition, _a as MinusIcon, _i as cardFragment, _n as formatCalendarTitle, _r as resolveFeatureCardGeneratedIconSizePx, _t as getCardOrientation, aa as CalendarIcon$1, an as blockSiteTermsSchema, ar as resolveEventCta, as as orderedLiveRunSessions, at as MediaPlaceholder, b as cartBlockDefinition, ba as UserIcon, bi as blogFeaturedPostFragment, bn as formatEventCompactDateRail, bo as headerRootIsTransparent, bs as toScheduledBookingDateTime, bt as lookPartShown, c as normalizeLocationMapProps, ca as CirclePlusIcon, ci as formatEventDepositNote, cn as closedDatesCopy, cr as isBookableEvent, cs as buildMailingListSignupBlockSourceRef, d as resolveLocationMapLocation, da as FileAudioIcon, dn as closedDateCopy, dr as formatTotalCapacity, ds as parseMailingListPlacementTargeting, ea as when, en as browserReadAuthoritySchema, eo as effectiveHeaderNavLinkStyle, er as selectionRepresentativeEvent, es as mapReadinessFact, f as newsletterSignupBlockDefinition, fa as FileSpreadsheetIcon, fn as cutOffDateCopy, fs as sameMailingListPlacementTargeting, g as newsletterBlockSubmissionMessage, ga as MapPinIcon$1, gi as headingFragment, gr as FEATURE_CARD_ICON_TREATMENTS, gt as EventQuickFacts, h as buildNewsletterFormInteractiveIslandProps, ha as InfoIcon, hi as richTextFragment, hn as eventDateOptions, hr as groupPublicEventsByRun, hs as formatDate$1, ht as setContextResolveImageUrlContext, i as normalizeBlockContent, ia as ArrowDownIcon, in as formatEventLocation, ir as resolveEventCardBooking, it as ImagePresets, j as membershipClassesLabel, ja as chosenString, jn as getLocalMinuteOfDay, jo as beforeBookingQuestionsPresentationSchema, jt as groupOfferingRunsByCourse, k as shopProductPresentation, ka as PUBLIC_DOWNLOAD_MEDIA_TYPES, ki as isBlockButtonRole, kn as resolveEventTimeZone, ko as blockBookingConsentSchema, kr as resolveDateRuntimeContext, ks as resolveBookingBusinessTimeZone, kt as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, l as normalizeLocationMapSource, la as ClockIcon, li as formatEventPrice, ln as closedRunCopy, lr as isInBookingCutOffWindow, ls as parseMailingListRuntimeContext, m as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, ma as GlobeIcon, mr as isEventFull, ms as EVENT_ADDRESS_AFTER_BOOKING_LABEL, mt as getCurrentResolveImageUrlContext, n as hasBlockDefinition, na as parseBlockIconValue, nn as eventPlaceName, nr as eventDestinationBookingLink, nt as MediaNodeServer, o as LOCATION_MAP_LOADER_KEYS, oa as ChevronDownIcon, on as pageNavigationSchema, or as resolveEventPageLink, os as resolveWholeSeriesBookingPhase, pa as FileTextIcon, pn as buildCalendarViewport, pr as getEventAvailabilityStatus, pt as buildResolveImageUrlContext, q as eventCollectionHydrationSchema, qn as planDropInPanel, qr as listLookControl, qt as buildEventListWeek, ra as resolveBlockIconRenderValue, rn as eventVenuePlace, rr as eventDestinationPagePath, rs as CANCELLED_SESSION_STATUS, rt as RichText, s as describeUnresolvedLocationMapLocation, sa as CircleMinusIcon, si as formatCoursePrice, sn as closedDateListCopy, sr as resolveRuntimeEventDestination, ss as resolveWholeSeriesPaymentDates, t as getBlockDefinition, ta as buildGeneratedBlockIconRenderAssetLookupFromUnknown, tn as eventOnlinePlace, to as readOpeningToneProjection, tr as publicEventCancellation, u as parseLocationMapLoaderResult, ua as FileArchiveIcon, ui as formatEventPriceAmount, un as bookElsewhereDateCopy, ur as formatEventRemainingPlaces, ut as resolvePublicMediaUrl, v as buildGiftingInteractiveIslandProps, va as PlusIcon, vi as faqAccordionFragment, vn as formatDate, vr as shouldReserveFeatureCardIconZone, vt as getContainerClass, w as buildCartInteractiveIslandProps, wa as parseInlineTextFromUnknown, wi as testimonialsCarouselFragment, ws as getBookingLocalDateKey, wt as bookingNowSchema, x as productDetailBlockDefinition, xa as UsersIcon, xi as singleButtonFragment, xn as formatEventDateParts, xo as headerRootPaint, xr as composeHeaderSectionWrapperClassName, xs as addLocalScheduleDays, xt as eventRegistrationBlockDefinition, y as checkoutBlockDefinition, ya as TicketIcon, yi as faqHeadingFragment, yn as formatEventClockLabel, yo as headerNeedsPhotoShade, ys as formatBookingCompactEnglishTime, z as buildEventCalendarListingDisplay, zn as isToday, zo as unavailableReadinessFact, zr as buildFormInteractiveIslandProps, zs as formatCurrencyAmount, zt as normalizeEventRegistrationPageSurfaceSubject } from "./registry-DD_s7l3Y.mjs";
|
|
6
|
+
import { $ as generateInteractiveChildInheritanceCSS, At as transitionCatalogueEntries, G as generateFooterCss, Ht as featureCardCompositionTreatmentValues, J as buildTextContrastShadow, Jt as testimonialsCompositionTreatmentValues, O as requireCuratedSiteStyle, Q as resolveEffectPaint, U as resolveCardRole, Ut as introCompositionTreatmentValues, W as generateDefaultCardSystem, Wt as offeringsPreviewCompositionTreatmentValues, X as generateEffectsCSS, Y as generateNavLinkCSS, Z as resolveEffectApplications, en as opaqueSurfaceContextFromTheme, f as arrangementManifestFromVariants, i as arrangementLookHooks, m as resolveEffectiveArrangement, rn as TokenResolver, tn as opaqueSurfaceDeclarations, yt as boundaryRuntimeMetricsForDecorativeTransition } from "./lookMediaFrame-Dw6R9B0L.mjs";
|
|
7
|
+
import { f as fontWidthFits, u as boxBackgroundSchema, v as surfaceCardRoleValues, w as siteChromeBackgroundOverrideOwner } from "./schema-ClDfFtz2.mjs";
|
|
8
8
|
import { a as normalizeLocationAddressText, c as publicLocationSchema, d as mapDrawingSchema } from "./mapLocation-MDDSubTp.mjs";
|
|
9
9
|
import { t as assertNever$3 } from "./assert-never-ku-PUn9U.mjs";
|
|
10
|
-
import { A as MQ_MD_UP, M as MQ_SM_UP, N as MQ_TABLET_ONLY, O as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as compileManifestContentContract, j as MQ_SM_DOWN, k as MQ_MD_DOWN, y as validateManifestDraft } from "./pageRuntimeSupport-
|
|
10
|
+
import { A as MQ_MD_UP, M as MQ_SM_UP, N as MQ_TABLET_ONLY, O as MQ_LG_UP, c as readSdkPreviewPublishedPlacement, h as compileManifestContentContract, j as MQ_SM_DOWN, k as MQ_MD_DOWN, y as validateManifestDraft } from "./pageRuntimeSupport-BQ1dWs1V.mjs";
|
|
11
11
|
import { f as bindingSchema, i as RichTextDocSchema, l as sanitizeHref, n as isRecord$4, t as isObjectRecord } from "./typeGuards-DZOaGTEv.mjs";
|
|
12
|
-
import { l as mergeHeaderNavTypographyPreference, u as readHeaderNavFontSizePreference } from "./bindings-
|
|
13
|
-
import { A as generateCheckableCss, C as INPUT_GROUP_ERROR_SELECTOR, D as INPUT_EDGE_COLOR_VAR, E as generateInputGroupCss, F as generateShadowCssVars, I as renderCssDeclarations, L as cardBorderDeclarations, M as RESOLVED_BUTTON_DISABLED_DECLARATIONS, N as resolvedButtonColourDeclarations, O as INPUT_ERROR_BORDER_COLOR_VAR, P as resolvedButtonFocusDeclarations, R as cardDecorationPseudoRules, S as retargetResponsiveScopeRules, T as INPUT_GROUP_SELECTOR, _ as buildResponsiveScopeRule, a as escapeStyleContent, b as getResponsiveScopeSpec, c as parseBlockCustomCssRules, d as generateBlockCustomVarsCss, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as compileCustomCssRules, j as generateOpaquePanelCss, k as inputEdgeColorValue, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, o as prefixSelector, p as generateProgressCss, r as compileBlockCustomCssRules, s as toKebabCase, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as findResponsiveScopeRuleAt, w as INPUT_GROUP_FOCUS_SELECTOR, x as hasResponsiveScopeRule, y as getContainerResponsiveScopeSpec } from "./ThemeScopeCore-
|
|
12
|
+
import { l as mergeHeaderNavTypographyPreference, u as readHeaderNavFontSizePreference } from "./bindings-D-n66Oqc.mjs";
|
|
13
|
+
import { A as generateCheckableCss, C as INPUT_GROUP_ERROR_SELECTOR, D as INPUT_EDGE_COLOR_VAR, E as generateInputGroupCss, F as generateShadowCssVars, I as renderCssDeclarations, L as cardBorderDeclarations, M as RESOLVED_BUTTON_DISABLED_DECLARATIONS, N as resolvedButtonColourDeclarations, O as INPUT_ERROR_BORDER_COLOR_VAR, P as resolvedButtonFocusDeclarations, R as cardDecorationPseudoRules, S as retargetResponsiveScopeRules, T as INPUT_GROUP_SELECTOR, _ as buildResponsiveScopeRule, a as escapeStyleContent, b as getResponsiveScopeSpec, c as parseBlockCustomCssRules, d as generateBlockCustomVarsCss, f as generateTypographyCss, g as THEME_RESPONSIVE_CONTAINER_NAME, h as DEFAULT_THEME_RESPONSIVE_MODE, i as compileCustomCssRules, j as generateOpaquePanelCss, k as inputEdgeColorValue, l as parseCustomCssRules, m as generateStatusCss, n as THEME_RADIUS_CSS_VARS, o as prefixSelector, p as generateProgressCss, r as compileBlockCustomCssRules, s as toKebabCase, t as ThemeScopeCore, u as generateAllBlockVarsCss, v as findResponsiveScopeRuleAt, w as INPUT_GROUP_FOCUS_SELECTOR, x as hasResponsiveScopeRule, y as getContainerResponsiveScopeSpec } from "./ThemeScopeCore-BjxlpVaV.mjs";
|
|
14
14
|
import { c as ACCORDION_SPACING_MAP, d as ICON_CONFIG, f as ICON_SIZE_PX, i as getNodeProps, l as ACCORDION_TRIGGER_FONT_SCALE, n as getVideoEmbed, r as getVideoEmbedLoadingStrategy, s as ACCORDION_OPEN_ACCENT_THICKNESS, t as VIDEO_ASPECT_RATIO_PATTERN, u as ACCORDION_TRIGGER_LETTER_SPACING } from "./video-DBaeSawZ.mjs";
|
|
15
|
-
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-
|
|
15
|
+
import { t as parseThemeForPersistence } from "./parseThemeForPersistence-D_8I28BB.mjs";
|
|
16
16
|
import { n as mapOutlineBlocks } from "./pageRegions-BaeEF2MU.mjs";
|
|
17
17
|
import { t as getAtPath } from "./src-DHK4JUlp.mjs";
|
|
18
18
|
import * as React$1 from "react";
|
|
@@ -5181,6 +5181,98 @@ function FeedbackMessage({ tone, treatment = "panel", children, className, id, t
|
|
|
5181
5181
|
});
|
|
5182
5182
|
}
|
|
5183
5183
|
//#endregion
|
|
5184
|
+
//#region ../blocks/src/system/runtime/shared/components/SiteChoiceGroup.tsx
|
|
5185
|
+
/**
|
|
5186
|
+
* The options on their own, for a fieldset someone else owns (a booking
|
|
5187
|
+
* question's fieldset already holds its legend, help and error).
|
|
5188
|
+
*/
|
|
5189
|
+
function SiteChoiceOptions(props) {
|
|
5190
|
+
const size = props.size ?? "pill";
|
|
5191
|
+
return /* @__PURE__ */ jsx("div", {
|
|
5192
|
+
className: "rb-choice-options",
|
|
5193
|
+
"data-choice-size": size,
|
|
5194
|
+
children: props.options.map((option) => /* @__PURE__ */ jsxs("label", {
|
|
5195
|
+
className: "rb-choice",
|
|
5196
|
+
"data-choice-size": size,
|
|
5197
|
+
children: [/* @__PURE__ */ jsx(ChoiceInput, {
|
|
5198
|
+
option,
|
|
5199
|
+
size,
|
|
5200
|
+
group: props
|
|
5201
|
+
}), size === "row" ? /* @__PURE__ */ jsx(RowBody, { option }) : /* @__PURE__ */ jsx(ChipFace, { option })]
|
|
5202
|
+
}, option.value))
|
|
5203
|
+
});
|
|
5204
|
+
}
|
|
5205
|
+
/** A named group of choices: a fieldset whose legend names it, announced as a radio group. */
|
|
5206
|
+
function SiteChoiceGroup(props) {
|
|
5207
|
+
const { legend, legendHidden, className, disabled, ...options } = props;
|
|
5208
|
+
return /* @__PURE__ */ jsxs("fieldset", {
|
|
5209
|
+
className: ["rb-choice-group", className].filter(Boolean).join(" "),
|
|
5210
|
+
role: "radiogroup",
|
|
5211
|
+
"aria-required": props.required || void 0,
|
|
5212
|
+
disabled,
|
|
5213
|
+
children: [/* @__PURE__ */ jsx("legend", {
|
|
5214
|
+
className: legendHidden ? "rb-choice-legend rb-choice-legend--hidden" : "rb-choice-legend",
|
|
5215
|
+
children: legend
|
|
5216
|
+
}), /* @__PURE__ */ jsx(SiteChoiceOptions, { ...options })]
|
|
5217
|
+
});
|
|
5218
|
+
}
|
|
5219
|
+
function ChoiceInput({ option, size, group }) {
|
|
5220
|
+
const controlled = group.value !== void 0;
|
|
5221
|
+
const checked = controlled && option.value === group.value;
|
|
5222
|
+
const report = group.onChange ? () => group.onChange?.(option.value) : void 0;
|
|
5223
|
+
return /* @__PURE__ */ jsx("input", {
|
|
5224
|
+
type: "radio",
|
|
5225
|
+
className: size === "row" ? "rb-choice-radio form-radio" : "rb-choice-input",
|
|
5226
|
+
name: group.name,
|
|
5227
|
+
value: option.value,
|
|
5228
|
+
required: group.required,
|
|
5229
|
+
disabled: group.disabled || option.disabled,
|
|
5230
|
+
"aria-invalid": group.invalid || void 0,
|
|
5231
|
+
"aria-describedby": group.describedBy,
|
|
5232
|
+
...controlled ? { checked } : { defaultChecked: option.value === group.defaultValue },
|
|
5233
|
+
onChange: report,
|
|
5234
|
+
onClick: checked ? report : void 0,
|
|
5235
|
+
onBlur: group.onBlur
|
|
5236
|
+
});
|
|
5237
|
+
}
|
|
5238
|
+
function ChipFace({ option }) {
|
|
5239
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
5240
|
+
className: "rb-choice-face",
|
|
5241
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
5242
|
+
className: "rb-choice-label",
|
|
5243
|
+
children: option.label
|
|
5244
|
+
}), (option.details ?? []).map((detail) => /* @__PURE__ */ jsx("span", {
|
|
5245
|
+
className: "rb-choice-detail",
|
|
5246
|
+
children: detail
|
|
5247
|
+
}, detail))]
|
|
5248
|
+
});
|
|
5249
|
+
}
|
|
5250
|
+
function RowBody({ option }) {
|
|
5251
|
+
return /* @__PURE__ */ jsxs("span", {
|
|
5252
|
+
className: "rb-choice-body",
|
|
5253
|
+
children: [/* @__PURE__ */ jsxs("span", {
|
|
5254
|
+
className: "rb-choice-text",
|
|
5255
|
+
children: [
|
|
5256
|
+
/* @__PURE__ */ jsx("span", {
|
|
5257
|
+
className: "rb-choice-label",
|
|
5258
|
+
children: option.label
|
|
5259
|
+
}),
|
|
5260
|
+
(option.details ?? []).map((detail) => /* @__PURE__ */ jsx("span", {
|
|
5261
|
+
className: "rb-choice-detail",
|
|
5262
|
+
children: detail
|
|
5263
|
+
}, detail)),
|
|
5264
|
+
option.disabled && option.disabledReason ? /* @__PURE__ */ jsx("span", {
|
|
5265
|
+
className: "rb-choice-reason",
|
|
5266
|
+
children: option.disabledReason
|
|
5267
|
+
}) : null
|
|
5268
|
+
]
|
|
5269
|
+
}), option.aside ? /* @__PURE__ */ jsx("span", {
|
|
5270
|
+
className: "rb-choice-aside",
|
|
5271
|
+
children: option.aside
|
|
5272
|
+
}) : null]
|
|
5273
|
+
});
|
|
5274
|
+
}
|
|
5275
|
+
//#endregion
|
|
5184
5276
|
//#region ../blocks/src/system/runtime/shared/components/StepIndicator.tsx
|
|
5185
5277
|
function slotClasses(slot, classPrefix, emitSharedClasses) {
|
|
5186
5278
|
return [emitSharedClasses ? `rb-${slot}` : null, classPrefix ? `${classPrefix}-${slot}` : null].filter((name) => name !== null).join(" ");
|
|
@@ -5223,45 +5315,6 @@ function StepIndicator$1({ currentStep, totalSteps, stepLabels, classPrefix, emi
|
|
|
5223
5315
|
});
|
|
5224
5316
|
}
|
|
5225
5317
|
//#endregion
|
|
5226
|
-
//#region ../blocks/src/system/runtime/shared/components/ChoiceGroup.tsx
|
|
5227
|
-
function ChoiceGroup(props) {
|
|
5228
|
-
const size = props.size ?? "pill";
|
|
5229
|
-
return /* @__PURE__ */ jsxs("fieldset", {
|
|
5230
|
-
className: ["rb-choice-group", props.className].filter(Boolean).join(" "),
|
|
5231
|
-
"data-choice-size": size,
|
|
5232
|
-
disabled: props.disabled,
|
|
5233
|
-
children: [/* @__PURE__ */ jsx("legend", {
|
|
5234
|
-
className: props.legendHidden ? "rb-choice-legend rb-choice-legend--hidden" : "rb-choice-legend",
|
|
5235
|
-
children: props.legend
|
|
5236
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
5237
|
-
className: "rb-choice-options",
|
|
5238
|
-
children: props.options.map((option) => /* @__PURE__ */ jsxs("label", {
|
|
5239
|
-
className: "rb-choice",
|
|
5240
|
-
"data-choice-size": size,
|
|
5241
|
-
children: [/* @__PURE__ */ jsx("input", {
|
|
5242
|
-
type: "radio",
|
|
5243
|
-
className: "rb-choice-input",
|
|
5244
|
-
name: props.name,
|
|
5245
|
-
value: option.value,
|
|
5246
|
-
required: props.required,
|
|
5247
|
-
disabled: option.disabled,
|
|
5248
|
-
...props.value === void 0 ? { defaultChecked: option.value === props.defaultValue } : { checked: option.value === props.value },
|
|
5249
|
-
onChange: props.onChange ? () => props.onChange?.(option.value) : void 0
|
|
5250
|
-
}), /* @__PURE__ */ jsxs("span", {
|
|
5251
|
-
className: "rb-choice-face",
|
|
5252
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
5253
|
-
className: "rb-choice-label",
|
|
5254
|
-
children: option.label
|
|
5255
|
-
}), option.detail ? /* @__PURE__ */ jsx("span", {
|
|
5256
|
-
className: "rb-choice-detail",
|
|
5257
|
-
children: option.detail
|
|
5258
|
-
}) : null]
|
|
5259
|
-
})]
|
|
5260
|
-
}, option.value))
|
|
5261
|
-
})]
|
|
5262
|
-
});
|
|
5263
|
-
}
|
|
5264
|
-
//#endregion
|
|
5265
5318
|
//#region ../blocks/src/system/runtime/nodes/events/shared/EventCard.tsx
|
|
5266
5319
|
/**
|
|
5267
5320
|
* EventCard Component
|
|
@@ -8709,15 +8762,27 @@ function selectEventDetails(args) {
|
|
|
8709
8762
|
otherDates: otherDates.filter(isOrdinaryEvent),
|
|
8710
8763
|
timeZone,
|
|
8711
8764
|
depositOffer: resolvePublicEventDepositOffer(selected, { nowIso: args.nowIso }),
|
|
8712
|
-
bookedElsewhere: pageBookedElsewhere(all, occurrenceContext, args.nowIso)
|
|
8713
|
-
|
|
8765
|
+
bookedElsewhere: pageBookedElsewhere(all, occurrenceContext, args.nowIso),
|
|
8766
|
+
cancelledEventDates: cancelledEventDates(selected, mode, all, args.nowIso)
|
|
8767
|
+
};
|
|
8768
|
+
}
|
|
8769
|
+
/** Only the overview speaks for the whole cancelled event; a chosen date keeps its own. */
|
|
8770
|
+
function cancelledEventDates(selected, mode, events, nowIso) {
|
|
8771
|
+
if (mode === "selected" || publicEventCancellation(selected) !== "event") return null;
|
|
8772
|
+
const dates = [selected, ...events.filter(isOrdinaryEvent).filter((event) => event.seriesId === selected.seriesId && event.occurrenceId !== selected.occurrenceId && isFutureOrNow(event.startsAt, nowIso))].sort((left, right) => Date.parse(left.startsAt) - Date.parse(right.startsAt));
|
|
8773
|
+
const first = dates[0];
|
|
8774
|
+
const last = dates.at(-1);
|
|
8775
|
+
return first && last ? {
|
|
8776
|
+
first,
|
|
8777
|
+
last
|
|
8778
|
+
} : null;
|
|
8714
8779
|
}
|
|
8715
8780
|
//#endregion
|
|
8716
8781
|
//#region ../blocks/src/system/runtime/nodes/event-details/presentation.ts
|
|
8717
8782
|
function resolveSelection(input) {
|
|
8718
8783
|
return selectEventDetails({
|
|
8719
8784
|
events: input.events ?? null,
|
|
8720
|
-
occurrenceContext: input.occurrenceContext ?? null,
|
|
8785
|
+
occurrenceContext: input.eventOverview ? null : input.occurrenceContext ?? null,
|
|
8721
8786
|
subject: input.subject,
|
|
8722
8787
|
nowIso: input.now,
|
|
8723
8788
|
otherDatesLimit: input.otherDatesLimit
|
|
@@ -8821,10 +8886,11 @@ function EventFactList({ slot, children }) {
|
|
|
8821
8886
|
children
|
|
8822
8887
|
});
|
|
8823
8888
|
}
|
|
8824
|
-
function EventFactRow({ fact, label, icon: Icon, slots, children }) {
|
|
8889
|
+
function EventFactRow({ fact, label, icon: Icon, slots, wide = false, children }) {
|
|
8825
8890
|
return /* @__PURE__ */ jsxs("div", {
|
|
8826
8891
|
...slots.detail,
|
|
8827
8892
|
"data-fact": fact,
|
|
8893
|
+
"data-fact-wide": wide ? "" : void 0,
|
|
8828
8894
|
children: [/* @__PURE__ */ jsx("dt", {
|
|
8829
8895
|
...slots.label,
|
|
8830
8896
|
className: "rb-sr-only",
|
|
@@ -8861,6 +8927,10 @@ function PriceOptionList({ options }) {
|
|
|
8861
8927
|
}) : null] }, option.id))
|
|
8862
8928
|
});
|
|
8863
8929
|
}
|
|
8930
|
+
/** Prices with descriptions read as sentences, so they need the width of the row. */
|
|
8931
|
+
function priceSummaryIsWide(summary) {
|
|
8932
|
+
return summary.kind !== "price" && summary.options.some((option) => option.description);
|
|
8933
|
+
}
|
|
8864
8934
|
const sentence = (text) => `${text.charAt(0).toUpperCase()}${text.slice(1)}`;
|
|
8865
8935
|
function EventPriceSummaryLines({ summary }) {
|
|
8866
8936
|
if (summary.kind === "price") return /* @__PURE__ */ jsx(PriceLine, {
|
|
@@ -8931,27 +9001,35 @@ function EventPricingDetails(props) {
|
|
|
8931
9001
|
icon: TicketIcon,
|
|
8932
9002
|
children: /* @__PURE__ */ jsx("p", { children: "No registration required - just show up" })
|
|
8933
9003
|
});
|
|
8934
|
-
if (props.wholeSeriesPricingDisplay)
|
|
8935
|
-
|
|
8936
|
-
|
|
8937
|
-
|
|
8938
|
-
|
|
8939
|
-
|
|
8940
|
-
|
|
8941
|
-
|
|
8942
|
-
|
|
8943
|
-
|
|
8944
|
-
|
|
8945
|
-
|
|
8946
|
-
|
|
8947
|
-
|
|
8948
|
-
|
|
8949
|
-
|
|
8950
|
-
|
|
8951
|
-
|
|
8952
|
-
|
|
8953
|
-
|
|
8954
|
-
|
|
9004
|
+
if (props.wholeSeriesPricingDisplay) {
|
|
9005
|
+
const summary = wholeSeriesPriceSummary(props.wholeSeriesPricingDisplay, props.depositNote);
|
|
9006
|
+
return /* @__PURE__ */ jsxs(EventFactRow, {
|
|
9007
|
+
slots,
|
|
9008
|
+
fact: "price",
|
|
9009
|
+
label: "Cost",
|
|
9010
|
+
icon: TicketIcon,
|
|
9011
|
+
wide: priceSummaryIsWide(summary),
|
|
9012
|
+
children: [/* @__PURE__ */ jsx(EventPriceSummaryLines, { summary }), /* @__PURE__ */ jsx(AcceptedItemsLine, { acceptedItems })]
|
|
9013
|
+
});
|
|
9014
|
+
}
|
|
9015
|
+
if (props.eventCostLabel) {
|
|
9016
|
+
const summary = ticketPriceSummary(props, props.eventCostLabel);
|
|
9017
|
+
return /* @__PURE__ */ jsxs(EventFactRow, {
|
|
9018
|
+
slots,
|
|
9019
|
+
fact: "price",
|
|
9020
|
+
label: "Cost",
|
|
9021
|
+
icon: TicketIcon,
|
|
9022
|
+
wide: priceSummaryIsWide(summary),
|
|
9023
|
+
children: [
|
|
9024
|
+
/* @__PURE__ */ jsx(EventPriceSummaryLines, { summary }),
|
|
9025
|
+
props.autoApplyDiscount && props.eventPricingCurrency ? /* @__PURE__ */ jsx("p", {
|
|
9026
|
+
className: "rb-caption",
|
|
9027
|
+
children: formatAutoApplyDiscountLine(props.autoApplyDiscount, props.eventPricingCurrency)
|
|
9028
|
+
}) : null,
|
|
9029
|
+
/* @__PURE__ */ jsx(AcceptedItemsLine, { acceptedItems })
|
|
9030
|
+
]
|
|
9031
|
+
});
|
|
9032
|
+
}
|
|
8955
9033
|
return acceptedItems.length > 0 ? /* @__PURE__ */ jsx(EventFactRow, {
|
|
8956
9034
|
slots,
|
|
8957
9035
|
fact: "accepted",
|
|
@@ -8966,16 +9044,19 @@ function EventFacts({ selection, selected, venue, online, addressAfterBooking, t
|
|
|
8966
9044
|
endsAt: selected.endsAt,
|
|
8967
9045
|
...eventDateOptions(selected)
|
|
8968
9046
|
});
|
|
8969
|
-
const
|
|
9047
|
+
const dateFact = cancelledEventDatesFact(selection) ?? {
|
|
9048
|
+
label: ordinaryDateHeading(selection),
|
|
9049
|
+
value: date
|
|
9050
|
+
};
|
|
8970
9051
|
return /* @__PURE__ */ jsxs(EventFactList, {
|
|
8971
9052
|
slot: listLookSlot({ lookSlots }, "facts"),
|
|
8972
9053
|
children: [
|
|
8973
9054
|
/* @__PURE__ */ jsxs(EventFactRow, {
|
|
8974
9055
|
slots,
|
|
8975
9056
|
fact: "date",
|
|
8976
|
-
label:
|
|
9057
|
+
label: dateFact.label,
|
|
8977
9058
|
icon: CalendarIcon$1,
|
|
8978
|
-
children: [/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children:
|
|
9059
|
+
children: [/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: dateFact.value }) }), /* @__PURE__ */ jsx("p", {
|
|
8979
9060
|
className: "rb-event-fact-muted",
|
|
8980
9061
|
children: timeRange
|
|
8981
9062
|
})]
|
|
@@ -9006,6 +9087,7 @@ function EventFacts({ selection, selected, venue, online, addressAfterBooking, t
|
|
|
9006
9087
|
]
|
|
9007
9088
|
});
|
|
9008
9089
|
}
|
|
9090
|
+
const ordinaryDateHeading = (selection) => selection.kind === "wholeSeries" ? runLifecycleLabel(selection.lifecycle) : selection.mode === "next" ? "Next date" : "Date";
|
|
9009
9091
|
const eventOnlinePlaceShown = (event, showVenue) => showVenue ? eventOnlinePlace(event) : null;
|
|
9010
9092
|
const hasEventPlaceFact = (event, showVenue) => showVenue && (Boolean(event.venue) || eventOnlinePlace(event) !== null || event.addressAfterBooking === true);
|
|
9011
9093
|
const addressAfterBookingShown = (event, showVenue) => showVenue && event.addressAfterBooking === true;
|
|
@@ -9024,6 +9106,7 @@ function EventPlaceWithoutVenue({ online, addressAfterBooking, slots }) {
|
|
|
9024
9106
|
fact: "venue",
|
|
9025
9107
|
label: "Venue",
|
|
9026
9108
|
icon: GlobeIcon,
|
|
9109
|
+
wide: addressAfterBooking || Boolean(online.note),
|
|
9027
9110
|
children: [
|
|
9028
9111
|
/* @__PURE__ */ jsx("p", { children: /* @__PURE__ */ jsx("strong", { children: online.mode === "online" ? "Online" : "In person or online" }) }),
|
|
9029
9112
|
addressAfterBooking ? /* @__PURE__ */ jsxs("p", {
|
|
@@ -9050,6 +9133,7 @@ function EventVenueFact({ venue, online, addressAfterBooking, slots }) {
|
|
|
9050
9133
|
fact: "venue",
|
|
9051
9134
|
label: "Venue",
|
|
9052
9135
|
icon: MapPinIcon$1,
|
|
9136
|
+
wide: addressWithBooking || online !== null,
|
|
9053
9137
|
children: [
|
|
9054
9138
|
/* @__PURE__ */ jsxs("p", { children: [/* @__PURE__ */ jsx("strong", { children: venue.name }), place ? `, ${place}` : null] }),
|
|
9055
9139
|
addressWithBooking ? /* @__PURE__ */ jsx("p", {
|
|
@@ -11375,7 +11459,7 @@ function GiftCardAmounts(props) {
|
|
|
11375
11459
|
value: CUSTOM_GIFT_AMOUNT,
|
|
11376
11460
|
label: "Another amount"
|
|
11377
11461
|
}] : []];
|
|
11378
|
-
return /* @__PURE__ */ jsx(
|
|
11462
|
+
return /* @__PURE__ */ jsx(SiteChoiceGroup, {
|
|
11379
11463
|
className: "gifting-amounts",
|
|
11380
11464
|
name: props.groupName ?? "amountChoice",
|
|
11381
11465
|
legend: "Amount",
|
|
@@ -11412,6 +11496,13 @@ function GiftGroup(props) {
|
|
|
11412
11496
|
}), props.children]
|
|
11413
11497
|
});
|
|
11414
11498
|
}
|
|
11499
|
+
/** The same validity before hydration and while filling in the purchase form. */
|
|
11500
|
+
function GiftingExpiry({ days }) {
|
|
11501
|
+
return days === void 0 ? null : /* @__PURE__ */ jsx("p", {
|
|
11502
|
+
className: "gifting-offer-description",
|
|
11503
|
+
children: `Valid for ${days} ${days === 1 ? "day" : "days"} from the date the gift is sent.`
|
|
11504
|
+
});
|
|
11505
|
+
}
|
|
11415
11506
|
//#endregion
|
|
11416
11507
|
//#region ../blocks/src/system/runtime/nodes/gifting.server.tsx
|
|
11417
11508
|
/** What shows until the island takes over: the same panel, with the details form still closed. */
|
|
@@ -11434,87 +11525,91 @@ function GiftingSSR({ blockId, ...rest }) {
|
|
|
11434
11525
|
children: /* @__PURE__ */ jsxs("div", {
|
|
11435
11526
|
className: "gifting",
|
|
11436
11527
|
...display.lookSlots ? { "data-slot": "layout" } : {},
|
|
11437
|
-
children: [
|
|
11438
|
-
|
|
11439
|
-
|
|
11440
|
-
|
|
11441
|
-
|
|
11442
|
-
|
|
11443
|
-
|
|
11444
|
-
|
|
11445
|
-
"
|
|
11446
|
-
children:
|
|
11447
|
-
|
|
11448
|
-
|
|
11449
|
-
children:
|
|
11450
|
-
|
|
11451
|
-
|
|
11452
|
-
children:
|
|
11453
|
-
|
|
11454
|
-
|
|
11455
|
-
|
|
11456
|
-
|
|
11457
|
-
|
|
11458
|
-
|
|
11459
|
-
|
|
11460
|
-
|
|
11461
|
-
|
|
11462
|
-
|
|
11463
|
-
|
|
11464
|
-
|
|
11465
|
-
offer,
|
|
11466
|
-
|
|
11467
|
-
|
|
11468
|
-
|
|
11469
|
-
|
|
11470
|
-
|
|
11471
|
-
|
|
11472
|
-
|
|
11473
|
-
size: "md",
|
|
11474
|
-
extraClassName: "gifting-buy",
|
|
11475
|
-
label: "Buy a gift card"
|
|
11476
|
-
})]
|
|
11477
|
-
})
|
|
11478
|
-
]
|
|
11479
|
-
}, offer.id)) }) : /* @__PURE__ */ jsx("ul", {
|
|
11480
|
-
className: "gifting-voucher-list",
|
|
11481
|
-
children: vouchers.map((offer) => /* @__PURE__ */ jsx("li", {
|
|
11482
|
-
className: "gifting-voucher",
|
|
11483
|
-
children: /* @__PURE__ */ jsxs("div", {
|
|
11484
|
-
className: "gifting-offer",
|
|
11485
|
-
children: [
|
|
11486
|
-
/* @__PURE__ */ jsxs("div", {
|
|
11487
|
-
className: "gifting-offer-summary",
|
|
11488
|
-
children: [/* @__PURE__ */ jsx("h4", {
|
|
11489
|
-
className: "gifting-offer-title",
|
|
11490
|
-
children: offer.title
|
|
11491
|
-
}), /* @__PURE__ */ jsx("strong", {
|
|
11492
|
-
className: "gifting-offer-price",
|
|
11493
|
-
children: formatGiftAmount(offer.voucher.purchaseAmountCents, offers?.currency ?? "GBP")
|
|
11494
|
-
})]
|
|
11495
|
-
}),
|
|
11496
|
-
offer.description ? /* @__PURE__ */ jsx("p", {
|
|
11497
|
-
className: "gifting-offer-description",
|
|
11498
|
-
children: offer.description
|
|
11499
|
-
}) : null,
|
|
11500
|
-
/* @__PURE__ */ jsx(ThemedButton, {
|
|
11528
|
+
children: [
|
|
11529
|
+
/* @__PURE__ */ jsx(GiftingPanelHead, {
|
|
11530
|
+
heading: display.heading,
|
|
11531
|
+
intro: display.intro,
|
|
11532
|
+
look: display
|
|
11533
|
+
}),
|
|
11534
|
+
/* @__PURE__ */ jsx(GiftingExpiry, { days: offers?.expiryDays }),
|
|
11535
|
+
/* @__PURE__ */ jsx("div", {
|
|
11536
|
+
className: "gifting-main",
|
|
11537
|
+
children: hasOffers ? /* @__PURE__ */ jsx("div", {
|
|
11538
|
+
className: "gifting-groups",
|
|
11539
|
+
"data-group-count": display.groups.length,
|
|
11540
|
+
children: display.groups.map((group) => /* @__PURE__ */ jsx(GiftGroup, {
|
|
11541
|
+
group,
|
|
11542
|
+
look: display,
|
|
11543
|
+
children: group.kind === "gift_card" ? /* @__PURE__ */ jsx(Fragment, { children: giftCards.map((offer) => /* @__PURE__ */ jsxs("div", {
|
|
11544
|
+
className: "gifting-offer",
|
|
11545
|
+
"data-gift-offer": offer.id,
|
|
11546
|
+
children: [
|
|
11547
|
+
giftCards.length > 1 ? /* @__PURE__ */ jsx("h4", {
|
|
11548
|
+
className: "gifting-offer-title",
|
|
11549
|
+
children: offer.title
|
|
11550
|
+
}) : null,
|
|
11551
|
+
offer.description ? /* @__PURE__ */ jsx("p", {
|
|
11552
|
+
className: "gifting-offer-description",
|
|
11553
|
+
children: offer.description
|
|
11554
|
+
}) : null,
|
|
11555
|
+
/* @__PURE__ */ jsxs("div", {
|
|
11556
|
+
className: "gifting-offer-row",
|
|
11557
|
+
"data-gift-offer-row": "",
|
|
11558
|
+
children: [/* @__PURE__ */ jsx(GiftCardAmounts, {
|
|
11559
|
+
offer,
|
|
11560
|
+
currency: offers?.currency ?? "GBP",
|
|
11561
|
+
groupName: `amountChoice-${offer.id}`,
|
|
11562
|
+
look: display
|
|
11563
|
+
}), /* @__PURE__ */ jsx(ThemedButton, {
|
|
11501
11564
|
...giftingSlot(display, "action"),
|
|
11502
11565
|
type: "button",
|
|
11503
|
-
variant: "
|
|
11566
|
+
variant: "primary",
|
|
11504
11567
|
size: "md",
|
|
11505
11568
|
extraClassName: "gifting-buy",
|
|
11506
|
-
label: "Buy
|
|
11507
|
-
})
|
|
11508
|
-
|
|
11509
|
-
|
|
11510
|
-
}, offer.id))
|
|
11511
|
-
|
|
11512
|
-
|
|
11513
|
-
|
|
11514
|
-
|
|
11515
|
-
|
|
11569
|
+
label: "Buy a gift card"
|
|
11570
|
+
})]
|
|
11571
|
+
})
|
|
11572
|
+
]
|
|
11573
|
+
}, offer.id)) }) : /* @__PURE__ */ jsx("ul", {
|
|
11574
|
+
className: "gifting-voucher-list",
|
|
11575
|
+
children: vouchers.map((offer) => /* @__PURE__ */ jsx("li", {
|
|
11576
|
+
className: "gifting-voucher",
|
|
11577
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
11578
|
+
className: "gifting-offer",
|
|
11579
|
+
children: [
|
|
11580
|
+
/* @__PURE__ */ jsxs("div", {
|
|
11581
|
+
className: "gifting-offer-summary",
|
|
11582
|
+
children: [/* @__PURE__ */ jsx("h4", {
|
|
11583
|
+
className: "gifting-offer-title",
|
|
11584
|
+
children: offer.title
|
|
11585
|
+
}), /* @__PURE__ */ jsx("strong", {
|
|
11586
|
+
className: "gifting-offer-price",
|
|
11587
|
+
children: formatGiftAmount(offer.voucher.purchaseAmountCents, offers?.currency ?? "GBP")
|
|
11588
|
+
})]
|
|
11589
|
+
}),
|
|
11590
|
+
offer.description ? /* @__PURE__ */ jsx("p", {
|
|
11591
|
+
className: "gifting-offer-description",
|
|
11592
|
+
children: offer.description
|
|
11593
|
+
}) : null,
|
|
11594
|
+
/* @__PURE__ */ jsx(ThemedButton, {
|
|
11595
|
+
...giftingSlot(display, "action"),
|
|
11596
|
+
type: "button",
|
|
11597
|
+
variant: "secondary",
|
|
11598
|
+
size: "md",
|
|
11599
|
+
extraClassName: "gifting-buy",
|
|
11600
|
+
label: "Buy this voucher"
|
|
11601
|
+
})
|
|
11602
|
+
]
|
|
11603
|
+
})
|
|
11604
|
+
}, offer.id))
|
|
11605
|
+
})
|
|
11606
|
+
}, group.kind))
|
|
11607
|
+
}) : /* @__PURE__ */ jsx("p", {
|
|
11608
|
+
className: "gifting-empty",
|
|
11609
|
+
children: GIFTING_NOTHING_TO_SHOW
|
|
11610
|
+
})
|
|
11516
11611
|
})
|
|
11517
|
-
|
|
11612
|
+
]
|
|
11518
11613
|
})
|
|
11519
11614
|
});
|
|
11520
11615
|
}
|
|
@@ -12625,10 +12720,10 @@ function EventBookingPanelBody({ panel }) {
|
|
|
12625
12720
|
className: "event-booking-panel__cancelled",
|
|
12626
12721
|
children: [/* @__PURE__ */ jsx("h2", {
|
|
12627
12722
|
className: "card-title rb-mb-3",
|
|
12628
|
-
children:
|
|
12723
|
+
children: panel.copy.titleText
|
|
12629
12724
|
}), /* @__PURE__ */ jsx("p", {
|
|
12630
12725
|
className: "status-muted rb-text-base rb-leading-relaxed",
|
|
12631
|
-
children:
|
|
12726
|
+
children: panel.copy.bodyText
|
|
12632
12727
|
})]
|
|
12633
12728
|
});
|
|
12634
12729
|
case "bookElsewhere": return /* @__PURE__ */ jsx("div", {
|
|
@@ -12878,9 +12973,11 @@ function selectOccurrenceForPanel(events, occurrenceId) {
|
|
|
12878
12973
|
} : null;
|
|
12879
12974
|
}
|
|
12880
12975
|
function planEventBookingPanel({ selection, subject, pageEvents }, now) {
|
|
12881
|
-
|
|
12976
|
+
const cancelled = cancelledDateSelectionCopy(selection);
|
|
12977
|
+
if (cancelled) return {
|
|
12882
12978
|
kind: "cancelled",
|
|
12883
|
-
registration: null
|
|
12979
|
+
registration: null,
|
|
12980
|
+
copy: cancelled
|
|
12884
12981
|
};
|
|
12885
12982
|
const elsewhere = planBookElsewherePanel(selection, now);
|
|
12886
12983
|
if (elsewhere) return elsewhere;
|
|
@@ -12914,12 +13011,22 @@ function planEventBookingPanel({ selection, subject, pageEvents }, now) {
|
|
|
12914
13011
|
registration
|
|
12915
13012
|
};
|
|
12916
13013
|
}
|
|
12917
|
-
case "wholeSeriesParentUnavailable": return
|
|
12918
|
-
...nonBookingPanel ?? { kind: "unavailable" },
|
|
12919
|
-
registration: parentRegistrationTarget(selection, subject)
|
|
12920
|
-
};
|
|
13014
|
+
case "wholeSeriesParentUnavailable": return unavailableParentPanel(selection, parentRegistrationTarget(selection, subject), nonBookingPanel);
|
|
12921
13015
|
}
|
|
12922
13016
|
}
|
|
13017
|
+
/** A course with nothing to book: cancelled when every run is, otherwise why it can't be booked. */
|
|
13018
|
+
function unavailableParentPanel(selection, registration, nonBookingPanel) {
|
|
13019
|
+
const cancelledRuns = cancelledRunsCopy(selection.admittedRuns.map((run) => run.representative));
|
|
13020
|
+
if (cancelledRuns) return {
|
|
13021
|
+
kind: "cancelled",
|
|
13022
|
+
copy: cancelledRuns,
|
|
13023
|
+
registration
|
|
13024
|
+
};
|
|
13025
|
+
return {
|
|
13026
|
+
...nonBookingPanel ?? { kind: "unavailable" },
|
|
13027
|
+
registration
|
|
13028
|
+
};
|
|
13029
|
+
}
|
|
12923
13030
|
/**
|
|
12924
13031
|
* A date past its cut-off, however old the page's data is. A list of dates only
|
|
12925
13032
|
* closes when every date has: until then the closed ones just leave the list.
|
|
@@ -13035,8 +13142,8 @@ function parentRegistrationTarget(selection, subject) {
|
|
|
13035
13142
|
};
|
|
13036
13143
|
}
|
|
13037
13144
|
/** Cancelled dates have no new-booking or recovery form, including old direct links. */
|
|
13038
|
-
function
|
|
13039
|
-
return selection.kind === "occurrence"
|
|
13145
|
+
function cancelledDateSelectionCopy(selection) {
|
|
13146
|
+
return selection.kind === "occurrence" ? cancelledRegistrationCopy([selection.event]) : null;
|
|
13040
13147
|
}
|
|
13041
13148
|
//#endregion
|
|
13042
13149
|
//#region ../blocks/src/system/runtime/nodes/event-registration/RegistrationClosedState.tsx
|