@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,14 +1,50 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as assertNever } from "./src-
|
|
3
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { An as formatCurrencyAmount, t as assertNever } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
5
5
|
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
6
|
-
import { t as buildGiftingDisplay } from "./gifting.interactive-
|
|
6
|
+
import { t as buildGiftingDisplay } from "./gifting.interactive-DiPDObN0.mjs";
|
|
7
7
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
8
|
-
import { a as
|
|
8
|
+
import { a as GiftingExpiry, c as formatGiftAmount, i as GiftGroup, l as giftingSlot, n as GIFTING_NOTHING_TO_SHOW, o as GiftingPanelHead, r as GiftCardAmounts, s as firstGiftAmountChoice } from "./gifting.parts-_mgGOcbA.mjs";
|
|
9
9
|
import React, { startTransition, useEffect, useReducer, useRef, useState } from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
//#region ../blocks/src/system/runtime/nodes/gifting.client.state.ts
|
|
12
|
+
/** Whether a stored value is a receipt this module wrote. */
|
|
13
|
+
function isGiftingReceipt(value) {
|
|
14
|
+
if (typeof value !== "object" || value === null) return false;
|
|
15
|
+
const record = value;
|
|
16
|
+
return typeof record.amountCents === "number" && typeof record.currency === "string" && typeof record.offerTitle === "string" && typeof record.recipient === "string";
|
|
17
|
+
}
|
|
18
|
+
/** "£20.00 Gift card for Sam Taylor": the amount, the offer's own name, and who it's for. */
|
|
19
|
+
function giftingReceiptLine(receipt) {
|
|
20
|
+
return `${formatCurrencyAmount(receipt.amountCents, receipt.currency, { decimals: "auto" })} ${receipt.offerTitle} for ${receipt.recipient}`;
|
|
21
|
+
}
|
|
22
|
+
/** The offer's own name, and the price a voucher fixes (a gift card's comes from the form). */
|
|
23
|
+
function giftingOfferBought(offers, offerId) {
|
|
24
|
+
const voucher = offers.vouchers.find((offer) => offer.id === offerId);
|
|
25
|
+
if (voucher) return {
|
|
26
|
+
title: voucher.title.trim(),
|
|
27
|
+
fixedCents: voucher.voucher.purchaseAmountCents
|
|
28
|
+
};
|
|
29
|
+
return {
|
|
30
|
+
title: offers.giftCards.find((offer) => offer.id === offerId)?.title.trim(),
|
|
31
|
+
fixedCents: null
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
/** The receipt for an offer about to be paid for, or null when the form doesn't say enough. */
|
|
35
|
+
function giftingReceiptFor(input) {
|
|
36
|
+
const { offers, checkout } = input;
|
|
37
|
+
if (!offers) return null;
|
|
38
|
+
const { title: offerTitle, fixedCents } = giftingOfferBought(offers, checkout.offerId);
|
|
39
|
+
const amountCents = fixedCents ?? checkout.amountCents;
|
|
40
|
+
const recipient = checkout.recipientName?.trim() || checkout.recipientEmail.trim();
|
|
41
|
+
return offerTitle && recipient && amountCents && amountCents > 0 ? {
|
|
42
|
+
amountCents,
|
|
43
|
+
currency: offers.currency,
|
|
44
|
+
offerTitle,
|
|
45
|
+
recipient
|
|
46
|
+
} : null;
|
|
47
|
+
}
|
|
12
48
|
function createInitialGiftingClientState(initialOffers) {
|
|
13
49
|
return {
|
|
14
50
|
offers: initialOffers,
|
|
@@ -51,15 +87,20 @@ function giftingClientReducer(state, action) {
|
|
|
51
87
|
default: return assertNever(action);
|
|
52
88
|
}
|
|
53
89
|
}
|
|
54
|
-
function resolveGiftingPurchaseNotice(search, defaultSuccessMessage, today = /* @__PURE__ */ new Date()) {
|
|
90
|
+
function resolveGiftingPurchaseNotice(search, defaultSuccessMessage, today = /* @__PURE__ */ new Date(), receipt = null) {
|
|
55
91
|
const params = new URLSearchParams(search);
|
|
56
92
|
switch (params.get("gifting")) {
|
|
57
93
|
case null: return null;
|
|
58
94
|
case "success": {
|
|
59
95
|
const day = formatSendOnDay(params.get("gift_send_on"), today);
|
|
60
|
-
|
|
96
|
+
const message = day ? `Thanks, that's all paid for. We'll email the gift to them on ${day}.` : defaultSuccessMessage;
|
|
97
|
+
return receipt ? {
|
|
61
98
|
kind: "success",
|
|
62
|
-
message
|
|
99
|
+
message,
|
|
100
|
+
receipt: giftingReceiptLine(receipt)
|
|
101
|
+
} : {
|
|
102
|
+
kind: "success",
|
|
103
|
+
message
|
|
63
104
|
};
|
|
64
105
|
}
|
|
65
106
|
case "cancelled": return {
|
|
@@ -78,13 +119,26 @@ function toGiftingControllerProps(props) {
|
|
|
78
119
|
successMessage: props.render.hydration.successMessage
|
|
79
120
|
};
|
|
80
121
|
}
|
|
81
|
-
|
|
122
|
+
const RECEIPT_PARAM = "gift_receipt";
|
|
123
|
+
/**
|
|
124
|
+
* Where checkout comes back to. A successful return names its own receipt, so
|
|
125
|
+
* the thank-you repeats what this checkout bought and not one started later
|
|
126
|
+
* in the same tab.
|
|
127
|
+
*/
|
|
128
|
+
function buildGiftingCheckoutReturnUrl(currentHref, kind, options = {}) {
|
|
82
129
|
const url = new URL(currentHref);
|
|
83
130
|
url.searchParams.set("gifting", kind);
|
|
84
|
-
if (kind === "success" && sendOnDate) url.searchParams.set("gift_send_on", sendOnDate);
|
|
131
|
+
if (kind === "success" && options.sendOnDate) url.searchParams.set("gift_send_on", options.sendOnDate);
|
|
85
132
|
else url.searchParams.delete("gift_send_on");
|
|
133
|
+
if (kind === "success" && options.receiptId) url.searchParams.set(RECEIPT_PARAM, options.receiptId);
|
|
134
|
+
else url.searchParams.delete(RECEIPT_PARAM);
|
|
86
135
|
return url.toString();
|
|
87
136
|
}
|
|
137
|
+
/** The receipt a successful return names, if any. */
|
|
138
|
+
function giftingReturnReceiptId(search) {
|
|
139
|
+
const params = new URLSearchParams(search);
|
|
140
|
+
return params.get("gifting") === "success" ? params.get(RECEIPT_PARAM) || null : null;
|
|
141
|
+
}
|
|
88
142
|
function hasPublicGiftingOffers(offers) {
|
|
89
143
|
return Boolean((offers?.giftCards.length ?? 0) > 0 || (offers?.vouchers.length ?? 0) > 0);
|
|
90
144
|
}
|
|
@@ -133,10 +187,36 @@ function giftingReturnUrlWithoutNotice(currentHref) {
|
|
|
133
187
|
const url = new URL(currentHref);
|
|
134
188
|
url.searchParams.delete("gifting");
|
|
135
189
|
url.searchParams.delete("gift_send_on");
|
|
190
|
+
url.searchParams.delete(RECEIPT_PARAM);
|
|
136
191
|
return url.toString();
|
|
137
192
|
}
|
|
138
193
|
//#endregion
|
|
194
|
+
//#region ../blocks/src/system/runtime/nodes/gifting.receipt-storage.ts
|
|
195
|
+
/** Each checkout keeps its own receipt, so returning from one never shows another's. */
|
|
196
|
+
const receiptKey = (receiptId) => `rb-gifting-receipt:${receiptId}`;
|
|
197
|
+
function rememberGiftingReceipt(receiptId, receipt) {
|
|
198
|
+
try {
|
|
199
|
+
window.sessionStorage.setItem(receiptKey(receiptId), JSON.stringify(receipt));
|
|
200
|
+
} catch {}
|
|
201
|
+
}
|
|
202
|
+
/** Read once: a reload after the thank-you shouldn't repeat it. */
|
|
203
|
+
function takeGiftingReceipt(receiptId) {
|
|
204
|
+
try {
|
|
205
|
+
const stored = window.sessionStorage.getItem(receiptKey(receiptId));
|
|
206
|
+
window.sessionStorage.removeItem(receiptKey(receiptId));
|
|
207
|
+
const parsed = stored ? JSON.parse(stored) : null;
|
|
208
|
+
return isGiftingReceipt(parsed) ? parsed : null;
|
|
209
|
+
} catch {
|
|
210
|
+
return null;
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
//#endregion
|
|
139
214
|
//#region ../blocks/src/system/runtime/nodes/gifting.client.tsx
|
|
215
|
+
/** The receipt this return names, and only that one. */
|
|
216
|
+
function receiptFromReturn(search) {
|
|
217
|
+
const receiptId = giftingReturnReceiptId(search);
|
|
218
|
+
return receiptId ? takeGiftingReceipt(receiptId) : null;
|
|
219
|
+
}
|
|
140
220
|
function GiftingClient(props) {
|
|
141
221
|
const api = useBlockApi();
|
|
142
222
|
const noticeRef = useRef(null);
|
|
@@ -147,7 +227,7 @@ function GiftingClient(props) {
|
|
|
147
227
|
const controller = toGiftingControllerProps(props);
|
|
148
228
|
const [state, dispatch] = useReducer(giftingClientReducer, props.render.hydration.offers, createInitialGiftingClientState);
|
|
149
229
|
useEffect(() => {
|
|
150
|
-
const notice = resolveGiftingPurchaseNotice(window.location.search, props.render.hydration.successMessage);
|
|
230
|
+
const notice = resolveGiftingPurchaseNotice(window.location.search, props.render.hydration.successMessage, /* @__PURE__ */ new Date(), receiptFromReturn(window.location.search));
|
|
151
231
|
dispatch({
|
|
152
232
|
type: "purchaseNoticeResolved",
|
|
153
233
|
notice
|
|
@@ -199,14 +279,24 @@ function GiftingClient(props) {
|
|
|
199
279
|
offerId,
|
|
200
280
|
submission
|
|
201
281
|
});
|
|
282
|
+
const receiptId = crypto.randomUUID();
|
|
202
283
|
try {
|
|
203
|
-
const
|
|
284
|
+
const checkoutInput = buildGiftingCheckoutInput(formData, {
|
|
204
285
|
offerId,
|
|
205
286
|
purchaseToken: submission.token,
|
|
206
287
|
kind,
|
|
207
|
-
successUrl: buildGiftingCheckoutReturnUrl(window.location.href, "success",
|
|
288
|
+
successUrl: buildGiftingCheckoutReturnUrl(window.location.href, "success", {
|
|
289
|
+
sendOnDate: typeof sendOnDate === "string" ? sendOnDate : null,
|
|
290
|
+
receiptId
|
|
291
|
+
}),
|
|
208
292
|
cancelUrl: buildGiftingCheckoutReturnUrl(window.location.href, "cancelled")
|
|
209
|
-
})
|
|
293
|
+
});
|
|
294
|
+
const checkout = await siteTerms.api.createGiftingCheckout(checkoutInput);
|
|
295
|
+
const receipt = giftingReceiptFor({
|
|
296
|
+
offers: state.offers,
|
|
297
|
+
checkout: checkoutInput
|
|
298
|
+
});
|
|
299
|
+
if (receipt) rememberGiftingReceipt(receiptId, receipt);
|
|
210
300
|
window.location.assign(checkout.checkoutUrl);
|
|
211
301
|
} catch (error) {
|
|
212
302
|
dispatch({
|
|
@@ -235,65 +325,77 @@ function GiftingClient(props) {
|
|
|
235
325
|
children: /* @__PURE__ */ jsxs("div", {
|
|
236
326
|
className: "gifting",
|
|
237
327
|
...look.lookSlots ? { "data-slot": "layout" } : {},
|
|
238
|
-
children: [
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
328
|
+
children: [
|
|
329
|
+
/* @__PURE__ */ jsx(GiftingPanelHead, {
|
|
330
|
+
heading: look.heading,
|
|
331
|
+
intro: look.intro,
|
|
332
|
+
look
|
|
333
|
+
}),
|
|
334
|
+
/* @__PURE__ */ jsx(GiftingExpiry, { days: offers?.expiryDays }),
|
|
335
|
+
/* @__PURE__ */ jsxs("div", {
|
|
336
|
+
className: "gifting-main",
|
|
337
|
+
children: [
|
|
338
|
+
/* @__PURE__ */ jsx(GiftingPurchaseNoticeView, {
|
|
339
|
+
notice: state.purchaseNotice,
|
|
340
|
+
noticeRef
|
|
341
|
+
}),
|
|
342
|
+
state.errorMessage ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
343
|
+
tone: "error",
|
|
251
344
|
className: "gifting-feedback",
|
|
252
|
-
role: "
|
|
253
|
-
children: state.
|
|
254
|
-
})
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
}) : null,
|
|
262
|
-
/* @__PURE__ */ jsx(SiteTermsChangedNotice, { message: siteTerms.notice }),
|
|
263
|
-
hasOffers ? /* @__PURE__ */ jsx("div", {
|
|
264
|
-
className: "gifting-groups",
|
|
265
|
-
"data-group-count": look.groups.length,
|
|
266
|
-
children: look.groups.map((group) => /* @__PURE__ */ jsx(GiftGroup, {
|
|
267
|
-
group,
|
|
268
|
-
look,
|
|
269
|
-
children: group.kind === "gift_card" ? giftCards.map((offer) => /* @__PURE__ */ jsx(GiftCardOfferForm, {
|
|
270
|
-
offer,
|
|
271
|
-
currency,
|
|
272
|
-
showTitle: giftCards.length > 1,
|
|
273
|
-
initialAmount: props.chosenAmounts?.[offer.id],
|
|
345
|
+
role: "alert",
|
|
346
|
+
children: state.errorMessage
|
|
347
|
+
}) : null,
|
|
348
|
+
/* @__PURE__ */ jsx(SiteTermsChangedNotice, { message: siteTerms.notice }),
|
|
349
|
+
hasOffers ? /* @__PURE__ */ jsx("div", {
|
|
350
|
+
className: "gifting-groups",
|
|
351
|
+
"data-group-count": look.groups.length,
|
|
352
|
+
children: look.groups.map((group) => /* @__PURE__ */ jsx(GiftGroup, {
|
|
353
|
+
group,
|
|
274
354
|
look,
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
355
|
+
children: group.kind === "gift_card" ? giftCards.map((offer) => /* @__PURE__ */ jsx(GiftCardOfferForm, {
|
|
356
|
+
offer,
|
|
357
|
+
currency,
|
|
358
|
+
showTitle: giftCards.length > 1,
|
|
359
|
+
initialAmount: props.chosenAmounts?.[offer.id],
|
|
360
|
+
look,
|
|
361
|
+
onSubmit: (event) => void handleSubmit(event, offer.id, "gift_card"),
|
|
362
|
+
fields: purchaseFields(offer.id)
|
|
363
|
+
}, offer.id)) : /* @__PURE__ */ jsx("ul", {
|
|
364
|
+
className: "gifting-voucher-list",
|
|
365
|
+
children: vouchers.map((offer) => /* @__PURE__ */ jsx("li", {
|
|
366
|
+
className: "gifting-voucher",
|
|
367
|
+
children: /* @__PURE__ */ jsx(VoucherOfferForm, {
|
|
368
|
+
offer,
|
|
369
|
+
currency,
|
|
370
|
+
look,
|
|
371
|
+
onSubmit: (event) => void handleSubmit(event, offer.id, "voucher"),
|
|
372
|
+
fields: purchaseFields(offer.id)
|
|
373
|
+
})
|
|
374
|
+
}, offer.id))
|
|
375
|
+
})
|
|
376
|
+
}, group.kind))
|
|
377
|
+
}) : /* @__PURE__ */ jsx("p", {
|
|
378
|
+
className: "gifting-empty",
|
|
379
|
+
children: GIFTING_NOTHING_TO_SHOW
|
|
380
|
+
})
|
|
381
|
+
]
|
|
382
|
+
})
|
|
383
|
+
]
|
|
384
|
+
})
|
|
385
|
+
});
|
|
386
|
+
}
|
|
387
|
+
/** How the return from checkout went, with what was bought when this tab remembers it. */
|
|
388
|
+
function GiftingPurchaseNoticeView({ notice, noticeRef }) {
|
|
389
|
+
if (!notice) return null;
|
|
390
|
+
return /* @__PURE__ */ jsx("div", {
|
|
391
|
+
ref: noticeRef,
|
|
392
|
+
tabIndex: -1,
|
|
393
|
+
className: "gifting-notice",
|
|
394
|
+
children: /* @__PURE__ */ jsxs(FeedbackMessage, {
|
|
395
|
+
tone: notice.kind === "success" ? "success" : "warning",
|
|
396
|
+
className: "gifting-feedback",
|
|
397
|
+
role: "status",
|
|
398
|
+
children: [notice.receipt ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("strong", { children: notice.receipt }), /* @__PURE__ */ jsx("br", {})] }) : null, notice.message]
|
|
297
399
|
})
|
|
298
400
|
});
|
|
299
401
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as blockSiteTermsSchema } from "./src-
|
|
3
|
-
import { a as defineClientOwnedBlockRuntime, f as lookListPresentationSchemaShape, i as createZodCodec, n as createInteractiveIslandCodec, r as defineInteractiveIslandMetaKeys, t as buildInteractiveIslandProps } from "./islands-
|
|
2
|
+
import { c as blockSiteTermsSchema } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { a as defineClientOwnedBlockRuntime, f as lookListPresentationSchemaShape, i as createZodCodec, n as createInteractiveIslandCodec, r as defineInteractiveIslandMetaKeys, t as buildInteractiveIslandProps } from "./islands-C95FyxUF.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../blocks/src/system/blocks/giftingOffer.ts
|
|
6
6
|
function decideGiftingOffer(onOffer) {
|
|
@@ -75,6 +75,7 @@ const publicVoucherOfferSchema = z.object({
|
|
|
75
75
|
});
|
|
76
76
|
const publicGiftingOffersResponseSchema = z.object({
|
|
77
77
|
currency: z.string(),
|
|
78
|
+
expiryDays: z.number().int().positive(),
|
|
78
79
|
giftCards: z.array(publicGiftCardOfferSchema),
|
|
79
80
|
vouchers: z.array(publicVoucherOfferSchema)
|
|
80
81
|
});
|
|
@@ -1,47 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as formatCurrencyAmount } from "./src-
|
|
3
|
-
import { d as listLookSlot } from "./islands-
|
|
2
|
+
import { An as formatCurrencyAmount } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { d as listLookSlot } from "./islands-C95FyxUF.mjs";
|
|
4
|
+
import { t as SiteChoiceGroup } from "./SiteChoiceGroup-BZ5I0Vhy.mjs";
|
|
4
5
|
import "react";
|
|
5
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
//#region ../blocks/src/system/runtime/shared/components/ChoiceGroup.tsx
|
|
7
|
-
function ChoiceGroup(props) {
|
|
8
|
-
const size = props.size ?? "pill";
|
|
9
|
-
return /* @__PURE__ */ jsxs("fieldset", {
|
|
10
|
-
className: ["rb-choice-group", props.className].filter(Boolean).join(" "),
|
|
11
|
-
"data-choice-size": size,
|
|
12
|
-
disabled: props.disabled,
|
|
13
|
-
children: [/* @__PURE__ */ jsx("legend", {
|
|
14
|
-
className: props.legendHidden ? "rb-choice-legend rb-choice-legend--hidden" : "rb-choice-legend",
|
|
15
|
-
children: props.legend
|
|
16
|
-
}), /* @__PURE__ */ jsx("div", {
|
|
17
|
-
className: "rb-choice-options",
|
|
18
|
-
children: props.options.map((option) => /* @__PURE__ */ jsxs("label", {
|
|
19
|
-
className: "rb-choice",
|
|
20
|
-
"data-choice-size": size,
|
|
21
|
-
children: [/* @__PURE__ */ jsx("input", {
|
|
22
|
-
type: "radio",
|
|
23
|
-
className: "rb-choice-input",
|
|
24
|
-
name: props.name,
|
|
25
|
-
value: option.value,
|
|
26
|
-
required: props.required,
|
|
27
|
-
disabled: option.disabled,
|
|
28
|
-
...props.value === void 0 ? { defaultChecked: option.value === props.defaultValue } : { checked: option.value === props.value },
|
|
29
|
-
onChange: props.onChange ? () => props.onChange?.(option.value) : void 0
|
|
30
|
-
}), /* @__PURE__ */ jsxs("span", {
|
|
31
|
-
className: "rb-choice-face",
|
|
32
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
33
|
-
className: "rb-choice-label",
|
|
34
|
-
children: option.label
|
|
35
|
-
}), option.detail ? /* @__PURE__ */ jsx("span", {
|
|
36
|
-
className: "rb-choice-detail",
|
|
37
|
-
children: option.detail
|
|
38
|
-
}) : null]
|
|
39
|
-
})]
|
|
40
|
-
}, option.value))
|
|
41
|
-
})]
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
//#endregion
|
|
45
7
|
//#region ../blocks/src/system/runtime/nodes/gifting.parts.tsx
|
|
46
8
|
const CUSTOM_GIFT_AMOUNT = "custom";
|
|
47
9
|
/**
|
|
@@ -79,7 +41,7 @@ function GiftCardAmounts(props) {
|
|
|
79
41
|
value: CUSTOM_GIFT_AMOUNT,
|
|
80
42
|
label: "Another amount"
|
|
81
43
|
}] : []];
|
|
82
|
-
return /* @__PURE__ */ jsx(
|
|
44
|
+
return /* @__PURE__ */ jsx(SiteChoiceGroup, {
|
|
83
45
|
className: "gifting-amounts",
|
|
84
46
|
name: props.groupName ?? "amountChoice",
|
|
85
47
|
legend: "Amount",
|
|
@@ -120,5 +82,12 @@ function GiftGroup(props) {
|
|
|
120
82
|
}), props.children]
|
|
121
83
|
});
|
|
122
84
|
}
|
|
85
|
+
/** The same validity before hydration and while filling in the purchase form. */
|
|
86
|
+
function GiftingExpiry({ days }) {
|
|
87
|
+
return days === void 0 ? null : /* @__PURE__ */ jsx("p", {
|
|
88
|
+
className: "gifting-offer-description",
|
|
89
|
+
children: `Valid for ${days} ${days === 1 ? "day" : "days"} from the date the gift is sent.`
|
|
90
|
+
});
|
|
91
|
+
}
|
|
123
92
|
//#endregion
|
|
124
|
-
export {
|
|
93
|
+
export { GiftingExpiry as a, formatGiftAmount as c, GiftGroup as i, giftingSlot as l, GIFTING_NOTHING_TO_SHOW as n, GiftingPanelHead as o, GiftCardAmounts as r, firstGiftAmountChoice as s, CUSTOM_GIFT_AMOUNT as t, readChosenGiftAmounts as u };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-DgzZNM2M.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { G as externalMediaSchema, K as imageMediaSchema, W as assetMediaSchema, X as videoMediaSchema, at as eyebrowTreatmentValues, ct as isArrangementMode, et as accordionIconColorTokenValues, it as eventListTreatmentValues, lt as tileTreatmentValues, nt as accordionIconSetValues, ot as headingDecorationColorTokenValues, q as mediaSchema, rt as arrangementModes, st as headingDecorationOverrideValues, tt as accordionIconMotionValues, ut as visibleHeadingDecorationFamilyValues } from "./src-
|
|
2
|
+
import { G as externalMediaSchema, K as imageMediaSchema, W as assetMediaSchema, X as videoMediaSchema, at as eyebrowTreatmentValues, ct as isArrangementMode, et as accordionIconColorTokenValues, it as eventListTreatmentValues, lt as tileTreatmentValues, nt as accordionIconSetValues, ot as headingDecorationColorTokenValues, q as mediaSchema, rt as arrangementModes, st as headingDecorationOverrideValues, tt as accordionIconMotionValues, ut as visibleHeadingDecorationFamilyValues } from "./src-CJf3u16T.mjs";
|
|
3
3
|
import { A as isThemeColorToken, B as VARIANT_ROLES, F as paletteModeSchema, I as parseColorTokenParts, L as parseThemeColorToken, M as paletteColorEntries, N as paletteColorsFromEntries, P as paletteColorsSchema, R as themeColorTokenSchema, _ as buttonEffectApplicationSchema, k as hexColorSchema, p as unsafeAsOpaqueButtonColourToken, v as buttonPressOffsetSchema, w as buttonKeyframesSchema, x as buttonVisualStatesSchema, y as buttonSystemSchema } from "./buttonParts-C39GC0kz.mjs";
|
|
4
|
-
import { $ as expandPalette, At as paletteValueKey, Bt as featuresFromHex, D as ELEVATION_OFFSET, Ft as hexLuminance, H as rgbColorValue, Ht as linearToSrgb, Kt as rgbToHex, Lt as preparePaletteColourIndex, M as mapButtonRoleAppearances, Mt as requirePaletteColorsFromEntries, N as mapButtonVisualAppearances, St as resolveConcreteColorHex, Vt as hexToRgb, Wt as oklabToSrgb, _t as surfaceInkDeclarations, a as prepareThemeSurfaceRevision, bt as freezeOwnedThemeValue, ct as contrastThresholdByPolicy, d as surfaceTransportContext, dt as SURFACE_INK_CSS_VARS, f as toAccessibleColorSurfaceIntent, ft as surfaceForegroundDeclarations, g as BUTTON_CONTRAST_POLICY, ht as surfaceForegroundValue, j as defineButtonStyleRecipe, jt as paletteValueKeySchema, l as surfaceButtonRequest, n as parseResolvedSurface, o as requireResolvedSurface, p as contextualButtonSurfaceResetStyles, qt as srgbToOklab, rt as minimumScrimOpacity, s as resolveSurface, ut as SURFACE_FOREGROUND_CSS_VARS, xt as ownedThemeSnapshot } from "./accessibleSurfaces-
|
|
4
|
+
import { $ as expandPalette, At as paletteValueKey, Bt as featuresFromHex, D as ELEVATION_OFFSET, Ft as hexLuminance, H as rgbColorValue, Ht as linearToSrgb, Kt as rgbToHex, Lt as preparePaletteColourIndex, M as mapButtonRoleAppearances, Mt as requirePaletteColorsFromEntries, N as mapButtonVisualAppearances, St as resolveConcreteColorHex, Vt as hexToRgb, Wt as oklabToSrgb, _t as surfaceInkDeclarations, a as prepareThemeSurfaceRevision, bt as freezeOwnedThemeValue, ct as contrastThresholdByPolicy, d as surfaceTransportContext, dt as SURFACE_INK_CSS_VARS, f as toAccessibleColorSurfaceIntent, ft as surfaceForegroundDeclarations, g as BUTTON_CONTRAST_POLICY, ht as surfaceForegroundValue, j as defineButtonStyleRecipe, jt as paletteValueKeySchema, l as surfaceButtonRequest, n as parseResolvedSurface, o as requireResolvedSurface, p as contextualButtonSurfaceResetStyles, qt as srgbToOklab, rt as minimumScrimOpacity, s as resolveSurface, ut as SURFACE_FOREGROUND_CSS_VARS, xt as ownedThemeSnapshot } from "./accessibleSurfaces-q-dDOwsW.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../site-contracts/src/identity/designIds.ts
|
|
7
7
|
function asDesignBlockId(value) {
|
|
@@ -2839,11 +2839,13 @@ function opaqueSurfaceContextFromTheme(theme) {
|
|
|
2839
2839
|
* The declarations that make an element own its surface: `color`, every
|
|
2840
2840
|
* `--rb-surface-*` role and every `--rb-action-*` variable. Card roles and
|
|
2841
2841
|
* opaque block panels both publish through this, so a nested surface can never
|
|
2842
|
-
* inherit a band's light text or its band-resolved buttons.
|
|
2842
|
+
* inherit a band's light text or its band-resolved buttons. Every foreground
|
|
2843
|
+
* role, muted included, is always published; only the line and mark
|
|
2844
|
+
* decorations wait for an arrangement (`withDecorations`).
|
|
2843
2845
|
*/
|
|
2844
|
-
function opaqueSurfaceDeclarations(surface,
|
|
2846
|
+
function opaqueSurfaceDeclarations(surface, withDecorations = false) {
|
|
2845
2847
|
requireResolvedSurface(surface);
|
|
2846
|
-
if (surface.kind === "inherit") return inheritedSurfaceDeclarations(
|
|
2848
|
+
if (surface.kind === "inherit") return inheritedSurfaceDeclarations(withDecorations);
|
|
2847
2849
|
const foreground = surface.foreground;
|
|
2848
2850
|
return [
|
|
2849
2851
|
...surfaceForegroundDeclarations({
|
|
@@ -2852,11 +2854,11 @@ function opaqueSurfaceDeclarations(surface, arrangement = false) {
|
|
|
2852
2854
|
link: colorValue(foreground.link),
|
|
2853
2855
|
linkHover: colorValue(foreground.linkHover),
|
|
2854
2856
|
supporting: colorValue(foreground.supporting),
|
|
2855
|
-
|
|
2857
|
+
muted: colorValue(foreground.muted),
|
|
2856
2858
|
hoverDecoration: surface.hoverDecoration
|
|
2857
2859
|
}),
|
|
2858
2860
|
...surfaceInkDeclarations(surface.inks),
|
|
2859
|
-
...
|
|
2861
|
+
...withDecorations && surface.decorations !== void 0 ? [`${SURFACE_FOREGROUND_CSS_VARS.line}: ${surface.decorations.line};`, `${SURFACE_FOREGROUND_CSS_VARS.mark}: ${surface.decorations.mark};`] : [],
|
|
2860
2862
|
...Object.entries(surface.buttonContext.styles).map(([property, value]) => `${property}: ${value};`)
|
|
2861
2863
|
];
|
|
2862
2864
|
}
|
|
@@ -2865,10 +2867,10 @@ function colorValue(token) {
|
|
|
2865
2867
|
return parsed ? rgbColorValue(parsed) : token;
|
|
2866
2868
|
}
|
|
2867
2869
|
/** Every property a surface publishes, set to `inherit`. */
|
|
2868
|
-
function inheritedSurfaceDeclarations(
|
|
2870
|
+
function inheritedSurfaceDeclarations(withDecorations) {
|
|
2869
2871
|
return [
|
|
2870
2872
|
"color",
|
|
2871
|
-
...Object.entries(SURFACE_FOREGROUND_CSS_VARS).filter(([role]) =>
|
|
2873
|
+
...Object.entries(SURFACE_FOREGROUND_CSS_VARS).filter(([role]) => withDecorations || role !== "line" && role !== "mark").map(([, variable]) => variable),
|
|
2872
2874
|
...Object.values(SURFACE_INK_CSS_VARS),
|
|
2873
2875
|
"--rb-surface-link-hover-decoration",
|
|
2874
2876
|
...Object.keys(contextualButtonSurfaceResetStyles())
|
package/dist/client/{newsletter-form.client-BxA1PsdS.mjs → newsletter-form.client-BgVJdKVe.mjs}
RENAMED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { An as parseMailingListVisitorSelection, r as newsletterBlockSubmissionMessage, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./newsletter-form.interactive-
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
4
|
-
import { h as assertNever$1 } from "./bookingCalendar
|
|
5
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
6
|
-
import { d as listLookSlot } from "./islands-
|
|
2
|
+
import { An as parseMailingListVisitorSelection, r as newsletterBlockSubmissionMessage, t as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { h as assertNever$1 } from "./bookingCalendar-9nFa_do4.mjs";
|
|
5
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
6
|
+
import { d as listLookSlot } from "./islands-C95FyxUF.mjs";
|
|
7
7
|
import { O as clsx } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
8
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
9
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
9
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-poPgHrUh.mjs";
|
|
10
10
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
11
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
12
12
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { f as parseUuidBrand, m as ok, p as err } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { A as eventCalendarListGroupingDecision, At as publicMembershipProductSchema, Bn as parseEventSeriesId, Bt as publicEventLoaderQuerySchemaShape, Cn as toUtcIsoDateTimeString, L as isEventCalendarListLayout, Lt as eventScheduleScopeValues, M as eventCalendarLookViews, Mt as publicProductSchema, N as eventCalendarVariantMeaning, Nt as purchasablePublicMembershipProductSchema, P as eventListArrangementValues, Pt as purchasablePublicPassProductSchema, Rt as eventSurfacePresetValues, S as publicEventSchema, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Ut as WHOLE_SERIES_EVENT_PRESET_VALUES, b as publicEventDestinationSchema, bn as parseBookingLocalDate, c as blockSiteTermsSchema, cn as formatTime, dn as inferSiteDateLocale, en as buildBookingUtcDateWindow, jt as publicPassProductSchema, m as calendarWindowPageSchema, nn as formatDate, rn as formatDateRange, t as assertNever, wn as resolveBookingBusinessTimeZone, yn as getLocalScheduleDate, z as resolveEventCalendarReadPlan, zt as eventSurfaceScopeValues } from "./src-
|
|
4
|
-
import { $a as
|
|
5
|
-
import { h as assertNever$1 } from "./bookingCalendar
|
|
6
|
-
import { Qt as assertNever$2, a as defineClientOwnedBlockRuntime, d as listLookSlot, dn as toNonEmptyReadonlyArray, f as lookListPresentationSchemaShape, i as createZodCodec, jn as cardRoleSchema, k as resolveModeArrangement, l as listItemPresentation, n as createInteractiveIslandCodec, o as defineProgressiveBlockRuntime, r as defineInteractiveIslandMetaKeys, s as isDecodeSuccess, t as buildInteractiveIslandProps, u as listLookControl } from "./islands-
|
|
3
|
+
import { A as eventCalendarListGroupingDecision, At as publicMembershipProductSchema, Bn as parseEventSeriesId, Bt as publicEventLoaderQuerySchemaShape, Cn as toUtcIsoDateTimeString, L as isEventCalendarListLayout, Lt as eventScheduleScopeValues, M as eventCalendarLookViews, Mt as publicProductSchema, N as eventCalendarVariantMeaning, Nt as purchasablePublicMembershipProductSchema, P as eventListArrangementValues, Pt as purchasablePublicPassProductSchema, Rt as eventSurfacePresetValues, S as publicEventSchema, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, Ut as WHOLE_SERIES_EVENT_PRESET_VALUES, b as publicEventDestinationSchema, bn as parseBookingLocalDate, c as blockSiteTermsSchema, cn as formatTime, dn as inferSiteDateLocale, en as buildBookingUtcDateWindow, jt as publicPassProductSchema, m as calendarWindowPageSchema, nn as formatDate, rn as formatDateRange, t as assertNever, wn as resolveBookingBusinessTimeZone, yn as getLocalScheduleDate, z as resolveEventCalendarReadPlan, zt as eventSurfaceScopeValues } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { $a as registrationButtonVariantSchema, $t as toWholeSeriesRegistrationEvent, Bo as eventCalendarWeekStart, Cc as publicEventPricingDisplay, Do as formatRemainingPlaces, Ga as calendarTabViewsSchema, Ho as eventDateOptions, Hr as registrationDisplaySchema, Io as blockButtonRoleSchema, Ja as eventCalendarDefaultViewSchema, Jr as buildPassesMembershipsDisplay, Ka as columnOptionSchema, Kr as buildCartDisplay, No as selectEventCapacitySource, Pi as groupPublicEventsByRun, Ps as resolveDateRuntimeContext, Qa as previewStageSchema, Qt as toRegistrationEvents, Ro as RichText, Uo as eventLocalDateKey, Ur as resolveRegistrationDisplay, Vo as eventDateLocale, Vr as placesLeftLabel, Wa as bookingNowSchema, Wr as shownVenue, Xa as eventLayoutSchema, Xr as buildProductDetailDisplay, Ya as eventCalendarDisplayModeSchema, Za as filterAutoShowSchema, Zr as buildProductListDisplay, ar as formatRegistrationSchedule, as as computeMediaTransformStyle, bc as formatEventPricing, bi as resolveEventRegistrationChoices, bt as entryChoosesEvent, c as registrationStepLabelContext, cs as renderVideo, dc as parseBrevoListId, di as resolveSelectedProduct, en as toWholeSeriesRegistrationEvents, eo as weekStartSchema, f as isRegistrationLocked, fc as parseMailchimpAudienceId, fs as resolveMediaNodeResponsiveImage, ho as publicEventCancellation, ic as resolveWholeSeriesBookingPhase, is as MediaPlaceholder, jo as getRemainingPlaces, jt as resolveEventRequiresPayment, kt as findPreSelectedEvent, lc as DEFAULT_MAILING_LIST_PRIVACY_NOTE, lo as bookingPageKindSchema, mc as parseNewsletterListId, mi as closedRunCopy, mr as withOccurrenceTitle, n as getEventSelectionMode, nc as nextLiveRunSessionStartMs, nr as formatBookingWhen, o as registrationRoute, oc as resolveWholeSeriesRunLifecycle, os as mediaImageHostProps, pc as parseMailchimpInterestId, qa as eventButtonVariantSchema, qo as formatEventCompactDateRail, qr as buildCheckoutDisplay, rs as ImagePresets, s as registrationStepLabel, sc as parseMailingListRuntimeContext, si as deriveCommerceCheckoutState, so as pageNavigationSchema, ss as renderAudio, t as REGISTRATION_STEP_LABELS, to as browserReadAuthoritySchema, uc as DEFAULT_MAILING_LIST_SUCCESS_MESSAGE, uo as bookingPresentation, vc as EVENT_PRESET_VOCABULARY, vi as eventRegistrationPageSurfaceSubjectSchema, xi as resolveEventRegistrationScopedEvents, xo as resolveRuntimeEventDestination, xt as entryPageEvent, yc as formatBookingPriceDisplay, yt as decideRegistrationEntry } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { h as assertNever$1 } from "./bookingCalendar-9nFa_do4.mjs";
|
|
6
|
+
import { Qt as assertNever$2, a as defineClientOwnedBlockRuntime, d as listLookSlot, dn as toNonEmptyReadonlyArray, f as lookListPresentationSchemaShape, i as createZodCodec, jn as cardRoleSchema, k as resolveModeArrangement, l as listItemPresentation, n as createInteractiveIslandCodec, o as defineProgressiveBlockRuntime, r as defineInteractiveIslandMetaKeys, s as isDecodeSuccess, t as buildInteractiveIslandProps, u as listLookControl } from "./islands-C95FyxUF.mjs";
|
|
7
7
|
import { O as clsx, m as ExternalLinkIcon, r as ThemedButtonLink, t as ThemedAuthoredButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
8
|
import { n as getCurrentResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { c as addDays, f as formatDateKey, g as getWeekCalendarDayTuple, i as groupItemsByDate, u as buildCalendarViewport } from "./src-CMuv8vSO.mjs";
|
|
10
10
|
import "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { z } from "zod";
|
|
@@ -3301,17 +3301,36 @@ const occurrenceContextSchema = z.object({
|
|
|
3301
3301
|
}).nullable();
|
|
3302
3302
|
//#endregion
|
|
3303
3303
|
//#region ../blocks/src/system/runtime/nodes/event-registration/cancelledDate.ts
|
|
3304
|
-
const
|
|
3305
|
-
|
|
3306
|
-
|
|
3304
|
+
const copyByScope = {
|
|
3305
|
+
event: {
|
|
3306
|
+
titleText: "This event has been cancelled",
|
|
3307
|
+
bodyText: "It’s no longer going ahead. If you had a place booked, the organiser will be in touch."
|
|
3308
|
+
},
|
|
3309
|
+
date: {
|
|
3310
|
+
titleText: "This date has been cancelled",
|
|
3311
|
+
bodyText: "It’s no longer going ahead. If you had a place booked, the organiser will be in touch."
|
|
3312
|
+
}
|
|
3307
3313
|
};
|
|
3308
|
-
/**
|
|
3309
|
-
|
|
3314
|
+
/**
|
|
3315
|
+
* The informational notice for a selected cancelled date, including when its
|
|
3316
|
+
* data was recovered in the browser. It says "event" when the whole event was
|
|
3317
|
+
* cancelled and "date" when only this date was. Null when the selection is
|
|
3318
|
+
* still going ahead, or is a course run (closed runs have their own copy).
|
|
3319
|
+
*/
|
|
3320
|
+
function cancelledRegistrationCopy(events, occurrenceId) {
|
|
3310
3321
|
const dates = occurrenceId ? events.filter((event) => event.occurrenceId === occurrenceId) : events;
|
|
3311
|
-
|
|
3322
|
+
if (dates.length === 0 || dates.some((event) => event.bookingScope !== "single_occurrence")) return null;
|
|
3323
|
+
const scopes = dates.map(publicEventCancellation);
|
|
3324
|
+
if (scopes.some((scope) => scope === null)) return null;
|
|
3325
|
+
return copyByScope[scopes.every((scope) => scope === "event") ? "event" : "date"];
|
|
3312
3326
|
}
|
|
3313
|
-
|
|
3314
|
-
|
|
3327
|
+
/**
|
|
3328
|
+
* A course page whose every run was cancelled says the event was cancelled,
|
|
3329
|
+
* rather than inviting people to check back for dates. One run still on, or
|
|
3330
|
+
* a run closed for any other reason, leaves the page to its usual copy.
|
|
3331
|
+
*/
|
|
3332
|
+
function cancelledRunsCopy(runRepresentatives) {
|
|
3333
|
+
return runRepresentatives.length > 0 && runRepresentatives.every((event) => publicEventCancellation(event) === "event") ? copyByScope.event : null;
|
|
3315
3334
|
}
|
|
3316
3335
|
/** The course's name when the page is a course's own (an offering subject). */
|
|
3317
3336
|
function courseTitleOf(subject) {
|
|
@@ -3889,7 +3908,8 @@ function closedRegistrationDisplay(source, events) {
|
|
|
3889
3908
|
} : null;
|
|
3890
3909
|
}
|
|
3891
3910
|
function closedRegistrationCopy(source, events) {
|
|
3892
|
-
|
|
3911
|
+
const cancelled = cancelledRegistrationCopy(events, source.occurrenceContext?.id);
|
|
3912
|
+
if (cancelled) return cancelled;
|
|
3893
3913
|
const selectedRun = resolveSelectedWholeSeriesRun(events);
|
|
3894
3914
|
const phase = selectedRun ? resolveWholeSeriesBookingPhase(selectedRun.run, new Date(source.now)) : null;
|
|
3895
3915
|
return phase?.kind === "closed" ? closedRunCopy(phase.reason, selectedRun?.run) : null;
|
|
@@ -4966,4 +4986,4 @@ function newsletterPrivacyNote(source, privacyNote) {
|
|
|
4966
4986
|
return source !== "signed-hosted-booking" || /unsubscribe/i.test(privacyNote ?? "") ? privacyNote : [privacyNote, DEFAULT_MAILING_LIST_PRIVACY_NOTE].filter(Boolean).join(" ");
|
|
4967
4987
|
}
|
|
4968
4988
|
//#endregion
|
|
4969
|
-
export { decideShopCatalogue as $, cardListPresentationSchemaShape as $t, bookingPanelHeading as A, parseMailingListVisitorSelection as An, getEventRuntimeFiltersKey as At, buildShopInteractiveIslandProps as B, createInitialEventPaginationLoadState as Bt, resolveEventRegistrationEventSource as C, formatEventPrice as Cn, catalogueEventCardProps as Ct, bookingCardEntry as D, buildMailingListSignupBlockSourceRef as Dn, eventCombinedBlockRuntime as Dt, bookingBarPlacement as E, formatEventStartingPrice as En, buildEventCombinedListingDisplay as Et, DEFAULT_PASS_BUY_BUTTON_TEXT as F, normalizeEventScheduleScope as Ft, getShopDisplayForItems as G, planEventPageOperation as Gt, cartInteractiveIslandPropsCodec as H, eventPaginationLoadReducer as Ht, buildCartInteractiveIslandProps as I, normalizeEventStaffMemberId as It, productListBlockRuntime as J, getCardOrientation as Jt, productDetailBlockRuntime as K, toEventPaginationLoadError as Kt, buildCheckoutInteractiveIslandProps as L, normalizeEventSurfacePresets as Lt,
|
|
4989
|
+
export { decideShopCatalogue as $, cardListPresentationSchemaShape as $t, bookingPanelHeading as A, parseMailingListVisitorSelection as An, getEventRuntimeFiltersKey as At, buildShopInteractiveIslandProps as B, createInitialEventPaginationLoadState as Bt, resolveEventRegistrationEventSource as C, formatEventPrice as Cn, catalogueEventCardProps as Ct, bookingCardEntry as D, buildMailingListSignupBlockSourceRef as Dn, eventCombinedBlockRuntime as Dt, bookingBarPlacement as E, formatEventStartingPrice as En, buildEventCombinedListingDisplay as Et, DEFAULT_PASS_BUY_BUTTON_TEXT as F, normalizeEventScheduleScope as Ft, getShopDisplayForItems as G, planEventPageOperation as Gt, cartInteractiveIslandPropsCodec as H, eventPaginationLoadReducer as Ht, buildCartInteractiveIslandProps as I, normalizeEventStaffMemberId as It, productListBlockRuntime as J, getCardOrientation as Jt, productDetailBlockRuntime as K, toEventPaginationLoadError as Kt, buildCheckoutInteractiveIslandProps as L, normalizeEventSurfacePresets as Lt, cancelledRegistrationCopy as M, sameMailingListPlacementTargeting as Mn, normalizeCsvString as Mt, cancelledRunsCopy as N, parseContentVersionId as Nn, normalizeOptionalId as Nt, bookingEntry as O, assessMailingListTargeting as On, eventCombinedInteractiveIslandPropsCodec as Ot, occurrenceContextSchema as P, unsafeAsContentEntryId as Pn, normalizeEventCategoryIds as Pt, shopProductPresentation as Q, CardListLeadDate as Qt, buildProductDetailInteractiveIslandProps as R, normalizeEventSurfaceScope as Rt, eventRegistrationInteractiveIslandPropsCodec as S, formatEventDepositNote as Sn, resolveOfferingsRenderInput as St, DEFAULT_BOOKING_BUTTON_TEXT as T, formatEventPriceDisplay as Tn, buildEventCombinedInteractiveIslandProps as Tt, checkoutBlockRuntime as U, getEventIdentity as Ut, cartBlockRuntime as V, eventPageOperationQuery as Vt, checkoutInteractiveIslandPropsCodec as W, getEventPaginationView as Wt, shopBlockRuntime as X, formatBookingSchedulePresentation as Xt, productListInteractiveIslandPropsCodec as Y, getContainerClass as Yt, shopInteractiveIslandPropsCodec as Z, CardListContentPart as Zt, formInteractiveIslandPropsCodec as _, staticHeaderChromeRuntime as _n, offeringsListingFor as _t, newsletterFormInteractiveIslandPropsCodec as a, Grid as an, DEFAULT_GROUP_CTA as at, displayButtonText as b, splitSiteChromePlacementClasses as bn, resolveOfferingsPreviewGroupCta as bt, eventListingInteractiveIslandPropsCodec as c, eventWeekGroupingContext as cn, OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE as ct, buildEventCalendarListingRender as d, resolveEventSelection as dn, buildOfferingsPreviewListing as dt, resolveCardListSchedule as en, shopMembershipsShownCondition as et, eventCalendarBlockRuntime as f, projectRecurringSchedule as fn, groupOfferingRunsByCourse as ft, formBlockRuntime as g, resolveHeaderChromeRuntimeContract as gn, offeringRunLifecycle as gt, buildFormInteractiveIslandProps as h, isHeaderScrollRuntimeEnabled as hn, normalizeOfferingsPreviewItemLimit as ht, newsletterFormBlockRuntime as i, MediaNodeServer as in, publicProductsResponseSchema as it, courseTitleOf as j, DEFAULT_MAILING_LIST_TARGETING as jn, normalizeCsvIds as jt, bookingEntryProgress as k, parseMailingListPlacementTargeting as kn, buildEventRuntimeFilters as kt, buildEventCalendarInteractiveIslandProps as l, groupEventsByWeek as ln, OFFERINGS_PREVIEW_DEFAULT_FAILED_MESSAGE as lt, combinedLookSchema as m, headerChromeRuntimeContractSchema as mn, normalizeOfferingsPreviewContentForWrite as mt, buildNewsletterFormInteractiveIslandProps as n, EventQuickFacts as nn, shopShowChoiceCondition as nt, buildEventListingInteractiveIslandProps as o, buildEventListWeek as on, OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS as ot, eventCalendarInteractiveIslandPropsCodec as p, recurringScheduleProjectionSchema as pn, isOfferingsPreviewSourceKey as pt, productDetailInteractiveIslandPropsCodec as q, toError as qt, newsletterBlockSubmissionMessage as r, quickFactSlots as rn, storedShopShow as rt, eventListingBlockRuntime as s, eventListWeekDays as sn, OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT as st, NEWSLETTER_SIGNUPS_PAUSED_MESSAGE as t, selectCardListPresentation as tn, shopPassesShownCondition as tt, buildEventCalendarListingDisplay as u, weekColumnDays as un, OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS as ut, buildEventRegistrationDisplayFromScopedEvents as v, parseHeaderPositioning as vn, offeringsPreviewGroupQuery as vt, offeringNounForEvent as w, formatEventPriceAmount as wn, listingEventCardProps as wt, eventRegistrationBlockRuntime as x, formatCoursePrice as xn, resolveOfferingsPreviewGroups as xt, buildEventRegistrationInteractiveIslandProps as y, planSiteChromePlacement as yn, readOfferingsGrouping as yt, buildProductListInteractiveIslandProps as z, normalizeEventVenueId as zt };
|
package/dist/client/{newsletter-form.parts-Dmuklz0r.mjs → newsletter-form.parts-poPgHrUh.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { d as listLookSlot } from "./islands-
|
|
2
|
+
import { d as listLookSlot } from "./islands-C95FyxUF.mjs";
|
|
3
3
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-CY6u5sQa.mjs";
|
|
5
5
|
import "react";
|