@riverbankcms/sdk 0.181.0 → 0.183.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/CHANGELOG.md +79 -0
- package/README.md +49 -3
- package/dist/_dts/{BlocksIslandsHydrator-CVCasDPz.d.ts → BlocksIslandsHydrator-X1_G96iN.d.ts} +1 -1
- package/dist/_dts/{Page-Dtj2Ui3S.d.ts → Page-CEqZJZEE.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D1f_60WW.d.ts → SdkPreviewMode-DQejfbXL.d.ts} +2 -2
- package/dist/_dts/{client-Chr9pNVW.d.ts → client-B_B_amKD.d.ts} +2 -3
- package/dist/_dts/{content-types-kjccgopX.d.ts → content-types-Dhx5Ocvx.d.ts} +9 -16
- package/dist/_dts/{contracts-BodaiS00.d.ts → contracts-FeOnfoa1.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BS6kaJFp.d.ts → generatePageMetadata-m70J6tit.d.ts} +2 -2
- package/dist/_dts/{index-Brl6_I2j.d.ts → index-BOpUh8kO.d.ts} +1 -1
- package/dist/_dts/{index-CJkefwYh.d.ts → index-Bizdaxji.d.ts} +2 -2
- package/dist/_dts/{index-Diqt0PvG.d.ts → index-BxCmCit0.d.ts} +1 -1
- package/dist/_dts/{index-DG0OvBs0.d.ts → index-CjAkEWAp.d.ts} +4 -4
- package/dist/_dts/{index-D1WpKwQe.d.ts → index-iuFrbIjt.d.ts} +1 -1
- package/dist/_dts/{index-Dy50xUMK.d.ts → index-liuhlOX7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BgxshKrA.d.ts → loadContent-D4wrTIIw.d.ts} +7 -7
- package/dist/_dts/{request-CA0izds5.d.ts → request-Gn0O1blj.d.ts} +25042 -23761
- package/dist/_dts/{resolveBlockData-ChQmwEd3.d.ts → resolveBlockData-D5duwuqS.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BvGyvblj.d.ts → resolvePageContent-xzJ3c9Na.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 +7 -7
- 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 +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +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 +91 -2
- package/dist/_dts/{serviceBookingOutline-BgFbJQhU.d.ts → serviceBookingOutline-B1gyJon_.d.ts} +7 -7
- package/dist/_dts/{types-CgS3xLk8.d.ts → types-BoITy0rA.d.ts} +41 -4
- package/dist/_dts/{types-CQrsP1x_.d.ts → types-DBNuMtSk.d.ts} +16 -5
- package/dist/_dts/{types-R65DKjPn.d.ts → types-DHMcuoeQ.d.ts} +7 -7
- package/dist/_dts/{validation-6LTIbuBA.d.ts → validation-BIPO-XlE.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DqZPz6oW.mjs → BlocksIslandsHydrator-Ct8slgRk.mjs} +22 -18
- package/dist/client/{BookingMailingListNote-uWfR2kaG.mjs → BookingMailingListNote-qqTxGGS4.mjs} +7 -7
- package/dist/client/{BookingQuestionFields-CyNIKw6k.mjs → BookingQuestionFields-DCh9MUIF.mjs} +2 -2
- package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-RcdaStG7.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-BGCX3zwG.mjs → CalendarNavigationChevron-D7Wt-Oaa.mjs} +27 -10
- package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-BdGxZWeg.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-DFLPyuqe.mjs → DemoBookingPortalAccess-HFVkoOac.mjs} +5 -5
- package/dist/client/{EventCalendar.client-zDL4-t-B.mjs → EventCalendar.client-BtkJW8bA.mjs} +10 -10
- package/dist/client/{EventCombined.client-uciDKLID.mjs → EventCombined.client-DxaGjFFS.mjs} +9 -9
- package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-B2c5dR49.mjs} +1 -1
- package/dist/client/{EventItem-CwzrjcRw.mjs → EventItem-Fr2qi2C2.mjs} +33 -186
- package/dist/client/{EventListWeekNavigation-ChvcnPma.mjs → EventListWeekNavigation-BRMaq0ky.mjs} +1 -1
- package/dist/client/{EventListing.client-DA57Qoyx.mjs → EventListing.client-BhGxfbjt.mjs} +3 -3
- package/dist/client/{EventListing.view-DZ0qMFF4.mjs → EventListing.view-COuEJzbO.mjs} +8 -8
- package/dist/client/{EventRegistrationPayment-DSqCJL8E.mjs → EventRegistrationPayment-BTLYhVxD.mjs} +41 -195
- package/dist/client/{Page-C7mygH_f.mjs → Page-CgbQZP5g.mjs} +2947 -1018
- package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-BG7my0Qf.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-B4z-e4Wq.mjs → SiteTermsAgreementField-DQNkfNLA.mjs} +3 -3
- package/dist/client/{StepIndicator-Dn_DY4oY.mjs → StepIndicator-DvPekKeM.mjs} +1 -1
- package/dist/client/{StepIndicator-atfDU82W.mjs → StepIndicator-DyXoI3ob.mjs} +221 -20
- package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-Bc9DBbVp.mjs} +42 -9
- package/dist/client/{accessibleSurfaces-n6kS6Hct.mjs → accessibleSurfaces-wj4Rloo5.mjs} +1214 -724
- package/dist/client/{accordion-CsW8U3ff.mjs → accordion-BVXfjnh-.mjs} +1 -1
- package/dist/client/{booking-form.client-cBWM392H.mjs → booking-form.client-DycPGtke.mjs} +191 -71
- package/dist/client/{bookingForm-DgySpp6C.mjs → bookingForm-DrWSUqL3.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BpGVdLFD.mjs → boxStyleClassNames-CduDRcIk.mjs} +2 -2
- package/dist/client/buttonParts-CJEtVOUy.mjs +1511 -0
- package/dist/client/{carousel-DJoleFV3.mjs → carousel-DyCLMP8s.mjs} +2 -2
- package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DffP_Nv0.mjs} +1 -1
- package/dist/client/{cart-EO5o6uPH.mjs → cart-BuEp_cj4.mjs} +3 -3
- package/dist/client/{cart.client-D_gPw45z.mjs → cart.client-CAO39uDG.mjs} +1 -1
- package/dist/client/{checkout-NVfZW0kR.mjs → checkout-BoxzT64s.mjs} +3 -3
- package/dist/client/{checkout.client-DD3JuqOy.mjs → checkout.client-IGUy7XOx.mjs} +1 -1
- package/dist/client/{checkoutUrls-z2gXvlGw.mjs → checkoutUrls-D0UsiFmm.mjs} +1 -1
- package/dist/client/client.mjs +466 -94
- package/dist/client/{constants-CoOkvw__.mjs → constants-C_8AxMdm.mjs} +1 -1
- package/dist/client/{context-CRhn9qzS.mjs → context-D1L0pe__.mjs} +23 -5
- package/dist/client/{dateFormatting-BnWB4L1s.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-CWDGSTBu.mjs → demoPortalMagicLink-BunFTnIq.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-tdP_-Z9o.mjs → enhanceHeaderSection-CtLAG651.mjs} +4 -4
- package/dist/client/{event-registration.client-D7YYKySQ.mjs → event-registration.client-DiSxkBUP.mjs} +15 -15
- package/dist/client/{eventCalendar-CsAfu5d0.mjs → eventCalendar-DUnhwZ1o.mjs} +4 -4
- package/dist/client/{eventCombined-VXJB5CoS.mjs → eventCombined-BvBQo0nF.mjs} +4 -4
- package/dist/client/{eventListing-B3KIZNfY.mjs → eventListing-aTLifOX7.mjs} +4 -4
- package/dist/client/{eventRegistration-BP-dEk1c.mjs → eventRegistration-DFd7pr09.mjs} +4 -4
- package/dist/client/{form-DM8Zbxbv.mjs → form-Dikmc2AO.mjs} +3 -3
- package/dist/client/{form.client-e2z_Tlgk.mjs → form.client-zHaQK5I9.mjs} +5 -5
- package/dist/client/{form.parts-Ctljy1a3.mjs → form.parts-BLl9n8TH.mjs} +3 -3
- package/dist/client/gifting/client.mjs +16 -9
- package/dist/client/{gifting-DWIsqQru.mjs → gifting-CufPM38H.mjs} +4 -4
- package/dist/client/{gifting.client-QsSWF0uA.mjs → gifting.client--N1GaSY8.mjs} +155 -84
- package/dist/client/gifting.interactive-D9MK4HkV.mjs +157 -0
- package/dist/client/gifting.parts-CRtiRzo-.mjs +119 -0
- package/dist/client/{headerSection-DAkRkwb-.mjs → headerSection-BIaBpmk3.mjs} +2 -2
- package/dist/client/{noop-Dl4mZ-rr.mjs → islands-DJDLGQEm.mjs} +16008 -8676
- package/dist/client/{newsletter-form.client-WYja9-WN.mjs → newsletter-form.client-wg_JHTxm.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-RuM86VAv.mjs → newsletter-form.interactive-hzpkW9NQ.mjs} +384 -326
- package/dist/client/{newsletter-form.parts-2petDnWv.mjs → newsletter-form.parts-CgzpSv9p.mjs} +2 -2
- package/dist/client/{newsletterForm-BUbXdA_e.mjs → newsletterForm-CvxLiEBT.mjs} +3 -3
- package/dist/client/portal/client.mjs +291 -101
- package/dist/client/{portalOrders-COGn4BKG.mjs → portalOrders-tCxS04g0.mjs} +3 -2
- package/dist/client/{portalRoutes-D72yvtDh.mjs → portalRoutes-DTHlWg_F.mjs} +33 -7
- package/dist/client/{product-detail.client-pOAryevt.mjs → product-detail.client-22Q7zgjN.mjs} +1 -1
- package/dist/client/{product-list.client-CcUpUiud.mjs → product-list.client-DFWYvK8z.mjs} +1 -1
- package/dist/client/{productDetail-BZJCfqat.mjs → productDetail-DhZAwo60.mjs} +3 -3
- package/dist/client/{productList-CiRs3mNb.mjs → productList-BiVpbZK2.mjs} +3 -3
- package/dist/client/{propsDecoder--uHW4tFM.mjs → propsDecoder-DFYqKnLy.mjs} +4 -2
- package/dist/client/{registry.server-CDNNd8wC.mjs → registry.server-C3OBRg7x.mjs} +2305 -873
- package/dist/client/rendering/client.mjs +29 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-CQGE_wHV.mjs → richText-coerce-ms477Z08.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BtCg87-N.mjs → routeIslandApiConfig-B6nQeqvH.mjs} +1 -1
- package/dist/client/{runtimeResponse-Ds9cmBUf.mjs → runtimeResponse-BYqsV1Kb.mjs} +1 -1
- package/dist/client/runtimeResponse-CUX_lldL.mjs +3 -0
- package/dist/client/{shop-commerce-D8evQnMT.mjs → shop-commerce-DVsIcPaI.mjs} +16 -15
- package/dist/client/{shop-commerce-store-C9PcsSTj.mjs → shop-commerce-store-7mO6KY7_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-D5CtGfJI.mjs → shop-discount-apply.state-L1Vge8tG.mjs} +2 -2
- package/dist/client/{shop-Rx_gEMK8.mjs → shop-xt4dQ3HH.mjs} +3 -3
- package/dist/client/{shop.client-D4lzQ9oY.mjs → shop.client-DNJfD3VQ.mjs} +28 -17
- package/dist/client/{shopShared-BVbq7Nm-.mjs → shopShared-DS8t6749.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-ZSqRK3dD.mjs → src-Do_s2lqH.mjs} +16 -19
- package/dist/client/{timetableModel-BQJrSK0K.mjs → timetableModel-Dy3nNfTG.mjs} +13 -17
- package/dist/client/{useAvailableSlots-Dm3lKJKR.mjs → useAvailableSlots-DcjtDpUu.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-klgfGn7f.mjs → useDiscountCodeUi-DvdFFWOT.mjs} +1 -1
- package/dist/client/{useEventPagination-Jnjt7_ly.mjs → useEventPagination-Cq-7sU5_.mjs} +8 -8
- package/dist/client/{view-CC_yQLSA.mjs → view-4gnPcpWJ.mjs} +24 -9
- package/dist/client/{wizardSteps-BliJOzEX.mjs → wizardSteps-DDvL3iza.mjs} +375 -186
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CLqSRUpt.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-CIdAg-Tm.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-Bm85jX35.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-BhL0uADo.mjs → PageSectionToolbar-D8srnz9R.mjs} +445 -18
- package/dist/preview-next/client/{PreviewEditorSidebar-Ct8eIm0i.mjs → PreviewEditorSidebar-DVpk5cqp.mjs} +3871 -1947
- package/dist/preview-next/client/{PreviewEditorUI-BS32G4V9.mjs → PreviewEditorUI-XoTtHSFH.mjs} +11 -36
- package/dist/preview-next/client/{PreviewShell-RL0WfZXD.mjs → PreviewShell-VQHsRg2u.mjs} +40 -35
- package/dist/preview-next/client/{SdkPreviewModeRuntime-MK_gHeGy.mjs → SdkPreviewModeRuntime-CLdF9f6o.mjs} +51 -20
- package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-ORNN4x-3.mjs} +782 -16
- package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-eAi3tDAr.mjs} +11 -1
- package/dist/preview-next/client/{previewAssistantSlot-CQyS8pcq.mjs → previewAssistantSlot-CqH91EwA.mjs} +20687 -8562
- package/dist/preview-next/client/{previewChromeRoot-BSxp3Mfu.mjs → previewChromeRoot-B3ySEu6p.mjs} +3 -90
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DKnTzy74.mjs → sdk-runtime-CdpSupcr.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlmbvbLN.mjs → siteStyleAccess-C6eOP6QW.mjs} +35 -6
- package/dist/preview-next/client/{useAutosaveStatus-D-7GwZOQ.mjs → useAutosaveStatus-BhPg4e-r.mjs} +49 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BNZtGM5g.mjs → useOpenBlockForSetup-BaWUF9D7.mjs} +2007 -448
- package/dist/preview-next/container-responsive.css +320 -0
- package/dist/preview-next/editor-chrome.css +23 -2
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-R3PcMmax.mjs → route-contract-Ch0X99vE.mjs} +183 -18
- package/dist/server/{Block.shared-CniF9tSu.mjs → Block.shared-B2FmczLO.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BQWsnGT6.mjs → ThemeScopeCore-DtAyv9qA.mjs} +51 -29
- package/dist/server/{accessibleSurfaces-WPzUAHp4.mjs → accessibleSurfaces-BtPqb76u.mjs} +509 -389
- package/dist/server/{accordions-By_0Ykks.mjs → accordions-vzdZ2Wt1.mjs} +1 -1
- package/dist/server/{bindings-DxojjtK3.mjs → bindings-B_9JuU66.mjs} +7 -7
- package/dist/server/{client-CDndhbYO.mjs → client-DC7cjiSw.mjs} +489 -93
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-VyF5nEhL.mjs → constants-d6nPNJpe.mjs} +33 -6
- package/dist/server/{customCss-C9kgPHvr.mjs → customCss-rtIfEYwQ.mjs} +1 -18
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/{resolveButtonColourStates-B0O1IM16.mjs → expandPalette-DxPrNOAB.mjs} +950 -316
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BKstMBmX.mjs → loadContent-hb27HYic.mjs} +11 -10
- package/dist/server/{loadPage-IgNnZaqr.mjs → loadPage-JToD8wDD.mjs} +3 -3
- package/dist/server/{lookMediaFrame-TFjgNG61.mjs → lookMediaFrame-CTsycLLK.mjs} +94 -39
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-quBYlSKD.mjs → navigation-B2WhGofA.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +8 -8
- package/dist/server/{overrideResolution-CCaAPpIa.mjs → overrideResolution-vD5KTClL.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-B7iULvKe.mjs → pageRenderPlan-CdqJ1NQZ.mjs} +242 -336
- package/dist/server/{pageRuntimeSupport-BytMroxn.mjs → pageRuntimeSupport-CAhr4oOf.mjs} +3 -3
- package/dist/server/{pageShared-Dcs_XTIO.mjs → pageShared-m80Xu2pd.mjs} +1292 -877
- package/dist/server/{parseThemeForPersistence-Bihl4W5K.mjs → parseThemeForPersistence-CRwOZfpa.mjs} +3 -3
- package/dist/server/{portal-CMW_b9mG.mjs → portal-B2wCQno_.mjs} +1 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-agaH-vZV.mjs → prebuild-BWIkFaXq.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-DwpRjqw4.mjs → prefetchBlockData-D1PHU-K9.mjs} +3 -3
- package/dist/server/{registry-DM9dHfDC.mjs → registry-KtsOsAzY.mjs} +21703 -10936
- 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-CinHGf8l.mjs → resolveBlockData-sjIDJYl7.mjs} +1 -1
- package/dist/server/{schema-CwfxQjc4.mjs → schema-BBEqquBM.mjs} +44 -28
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BBBhOtdE.mjs → servicePageContent-ChEZDRwU.mjs} +38 -15
- package/dist/server/theme-bridge.mjs +34 -9
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-DKCIBeb1.mjs} +2 -2
- package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-DybHErxH.mjs} +4 -4
- package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
- package/dist/server/{types-BKaBZFjD.mjs → types-vyz09w64.mjs} +479 -8
- package/dist/server/{validation-DG5jX3jH.mjs → validation-Cvi-1TZZ.mjs} +13 -9
- package/dist/server/{version-CipbxPHL.mjs → version-B-icAIV1.mjs} +1 -1
- package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
- package/dist/styles/index.css +2568 -154
- package/package.json +1 -1
- package/dist/client/gifting.parts-CedLgwa_.mjs +0 -86
- package/dist/client/runtimeResponse-DL_ARBpa.mjs +0 -3
- package/dist/client/types-BEaKfam_.mjs +0 -778
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as unsafeAsStoragePath, f as parseUuidBrand, i as resolveManagedMediaReference, l as unsafeAsMediaAssetId, m as ok$1, o as parseCanonicalMediaIdentifier, p as err, u as unsafeAsStorageBucketName } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { An as formatCurrencyAmount, Bn as parseEventSeriesId, Cn as toUtcIsoDateTimeString, Ct as unsafeAsPositiveCheckoutQuantity, Dn as parsePositiveCents, Dt as eventCalendarDisplayModeValues, En as toBookingTimeZone, Et as eventCalendarDefaultViewValues,
|
|
3
|
+
import { An as formatCurrencyAmount, Bn as parseEventSeriesId, Cn as toUtcIsoDateTimeString, Ct as unsafeAsPositiveCheckoutQuantity, Dn as parsePositiveCents, Dt as eventCalendarDisplayModeValues, En as toBookingTimeZone, Et as eventCalendarDefaultViewValues, Nn as parseAppointmentServiceId, O as toBookingRequirementConsentField, Ot as eventCalendarListLayoutCompatibleDisplayModeValues, Sn as parseUtcIsoDateTimeString, St as roomChoicesSchema, T as blockBookingConsentSchema, Tn as resolveBookingTimeZoneId, Tt as normalizeCurrencyCode, Y as runtimeMediaSchema, _n as formatLocalScheduleDate, an as formatDateTimeRange, at as eyebrowTreatmentValues, bn as parseBookingLocalDate, bt as placesFor, c as blockSiteTermsSchema, cn as formatTime$2, dn as inferSiteDateLocale, dt as bookingQuestionsAnswerValueSchema, fn as resolveBookingDisplayContext, gn as compareLocalScheduleDates, hn as addLocalScheduleDays, in as formatDateTime, j as eventCalendarListLayoutOptions, k as beforeBookingQuestionsPresentationSchema, kn as toNonNegativeCents, kt as eventCalendarListLayoutValues, ln as formatTimeRange, mn as toScheduledBookingDateTime, nn as formatDate$2, on as formatSiteInstantDate, ot as headingDecorationColorTokenValues, rn as formatDateRange, sn as formatSiteInstantTime, t as assertNever$2, tn as validateBookingPaymentOptionKinds, ut as visibleHeadingDecorationFamilyValues, vn as getBookingLocalDateKey, w as blockBookingPaymentTermsSchema, wn as resolveBookingBusinessTimeZone, wt as allocateReductionCents, xn as parseLocalScheduleTime, xt as reviewedRoomsSchema, yn as getLocalScheduleDate, yt as ROOM_PLACES, zn as parseEventOfferingId } from "./src-Do_s2lqH.mjs";
|
|
4
4
|
import { c as checkBookingQuestionsAnswered, d as initialBookingQuestionsAnswerMode, f as initialBookingQuestionsValues, h as assertNever$3, p as resolveBookingQuestionsAnswerMode, r as bookingCalendar, s as buildBookingQuestionsSubmission } from "./bookingCalendar--aWnqFDn.mjs";
|
|
5
5
|
import { t as stableJsonStringify } from "./stable-json-D0XAEIXc.mjs";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { x as clsx } from "./ThemedButton-
|
|
6
|
+
import { Bt as resolveEffectiveKnobs, a as defineClientOwnedBlockRuntime, cn as cardListKnobBlocks, d as listLookSlot, i as createZodCodec, n as createInteractiveIslandCodec, r as defineInteractiveIslandMetaKeys, sn as cardListFamilyBlocks, t as buildInteractiveIslandProps, u as listLookControl, zt as blockAppearancePresets } from "./islands-DJDLGQEm.mjs";
|
|
7
|
+
import { D as blockColorTokenNames, F as parseColorTokenParts } from "./buttonParts-CJEtVOUy.mjs";
|
|
8
|
+
import { B as mergeStyles, H as textColorStyle, L as backgroundColorStyle, V as rgbColorValue, k as PUBLIC_BUTTON_ROLES } from "./accessibleSurfaces-wj4Rloo5.mjs";
|
|
9
|
+
import { x as clsx } from "./ThemedButton-Bc9DBbVp.mjs";
|
|
10
10
|
import { a as getSupabaseUrl, i as getSiteId, n as getCurrentResolveImageUrlContext, r as getMediaAssetIndex } from "./mediaContext-DzvnjYXm.mjs";
|
|
11
11
|
import { l as buildCalendarViewport$1, r as groupItemsByDate } from "./src-uwCpbHXG.mjs";
|
|
12
12
|
import React from "react";
|
|
@@ -1327,9 +1327,6 @@ const checkoutCopy = {
|
|
|
1327
1327
|
checkoutAssistanceRequired: "We can’t confirm your last payment attempt yet. Please don’t pay again – contact the business so they can check it."
|
|
1328
1328
|
};
|
|
1329
1329
|
//#endregion
|
|
1330
|
-
//#region ../commerce/src/purchase/eventCheckoutRecoveryWindow.ts
|
|
1331
|
-
const EVENT_CHECKOUT_HOLD_DURATION_MS = 2100 * 1e3;
|
|
1332
|
-
//#endregion
|
|
1333
1330
|
//#region ../commerce/src/purchase/roomWords.ts
|
|
1334
1331
|
const PEOPLE_WORD = {
|
|
1335
1332
|
guest: "you",
|
|
@@ -1385,14 +1382,14 @@ const ROOM_REFUSAL_REASON_MESSAGES = {
|
|
|
1385
1382
|
//#endregion
|
|
1386
1383
|
//#region ../commerce/src/purchase/event-registration-errors.ts
|
|
1387
1384
|
/**
|
|
1388
|
-
* Said to a booker whose earlier
|
|
1389
|
-
*
|
|
1390
|
-
*
|
|
1385
|
+
* Said to a booker whose earlier booking this one can't replace, because its payment has started (or
|
|
1386
|
+
* can't be checked yet). An unpaid one would just be replaced (#1832). It doesn't hand back the earlier
|
|
1387
|
+
* booking, so it tells them where the answer will come from: the confirmation email, or the organiser.
|
|
1391
1388
|
*/
|
|
1392
1389
|
function earlierBookingUnpaid(subject, otherwise = "") {
|
|
1393
|
-
return
|
|
1390
|
+
return `${subject === null ? "You’ve already started paying for an earlier booking, so we can’t take another one." : `You’ve already started paying for ${subject}, so we can’t take another booking for it.`} ${otherwise}If that payment goes through, you’ll get a confirmation email. If you don’t get one, please contact the organiser.`;
|
|
1394
1391
|
}
|
|
1395
|
-
earlierBookingUnpaid("this
|
|
1392
|
+
earlierBookingUnpaid("this run");
|
|
1396
1393
|
const eventRegistrationErrors = {
|
|
1397
1394
|
invalidAnswers: {
|
|
1398
1395
|
endsCommand: false,
|
|
@@ -1522,7 +1519,7 @@ const eventRegistrationErrors = {
|
|
|
1522
1519
|
},
|
|
1523
1520
|
/**
|
|
1524
1521
|
* The server's own message says which date or run. This one is only shown if that's missing. The
|
|
1525
|
-
* earlier booking still stands, so the command isn't ended
|
|
1522
|
+
* earlier booking still stands, so the command isn't ended.
|
|
1526
1523
|
*/
|
|
1527
1524
|
earlierBookingUnpaid: {
|
|
1528
1525
|
endsCommand: false,
|
|
@@ -3473,6 +3470,15 @@ const standardAspectRatioOptions = [
|
|
|
3473
3470
|
label: "9:16 (Tall portrait)"
|
|
3474
3471
|
}
|
|
3475
3472
|
];
|
|
3473
|
+
/** How a settings row's line says each crop. */
|
|
3474
|
+
const standardAspectRatioPhrases = {
|
|
3475
|
+
auto: "not cropped",
|
|
3476
|
+
"16/9": "cropped to 16:9",
|
|
3477
|
+
"4/3": "cropped to 4:3",
|
|
3478
|
+
"1/1": "cropped square",
|
|
3479
|
+
"3/4": "cropped to 3:4",
|
|
3480
|
+
"9/16": "cropped to 9:16"
|
|
3481
|
+
};
|
|
3476
3482
|
function createAspectRatioField(options = {}) {
|
|
3477
3483
|
return {
|
|
3478
3484
|
id: options.id ?? "aspectRatio",
|
|
@@ -4736,7 +4742,10 @@ function resolveTargetAspectRatio(size) {
|
|
|
4736
4742
|
const AUTHORING_PLACEHOLDER_GROUND = { backgroundColor: "var(--rb-surface-line-color, rgb(var(--tb-surface)))" };
|
|
4737
4743
|
function MediaPlaceholder({ className, style, fieldPath, authoring }) {
|
|
4738
4744
|
return /* @__PURE__ */ jsx("div", {
|
|
4739
|
-
|
|
4745
|
+
...authoring && fieldPath ? {
|
|
4746
|
+
"data-placeholder-field": fieldPath,
|
|
4747
|
+
"data-editor-part": fieldPath
|
|
4748
|
+
} : {},
|
|
4740
4749
|
className: clsx("rb-flex rb-h-48 rb-w-full rb-items-center rb-justify-center", className),
|
|
4741
4750
|
style: mergeStyles(authoring ? AUTHORING_PLACEHOLDER_GROUND : backgroundColorStyle("surface"), style),
|
|
4742
4751
|
children: /* @__PURE__ */ jsx("span", {
|
|
@@ -5680,18 +5689,55 @@ function isBookableEvent(event, now) {
|
|
|
5680
5689
|
function hasEventBookingClosedEarly(event, now) {
|
|
5681
5690
|
return event.bookingClosesAt !== void 0 && hasBookingClosed(event.bookingClosesAt, now);
|
|
5682
5691
|
}
|
|
5692
|
+
/**
|
|
5693
|
+
* Past its cut-off but not yet started: the window an early cut-off adds. Once
|
|
5694
|
+
* a date has started, the page says that instead.
|
|
5695
|
+
*/
|
|
5696
|
+
function isInBookingCutOffWindow(event, now) {
|
|
5697
|
+
return hasEventBookingClosedEarly(event, now) && Date.parse(event.startsAt) > now.getTime();
|
|
5698
|
+
}
|
|
5683
5699
|
//#endregion
|
|
5684
5700
|
//#region ../blocks/src/system/runtime/nodes/events/domain/destination.ts
|
|
5685
5701
|
function isRecord$2(value) {
|
|
5686
5702
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
5687
5703
|
}
|
|
5688
|
-
function
|
|
5689
|
-
|
|
5690
|
-
|
|
5691
|
-
|
|
5704
|
+
function isEventDestinationMode(value) {
|
|
5705
|
+
return value === "cms-managed" || value === "system-managed";
|
|
5706
|
+
}
|
|
5707
|
+
function readEventPage(value) {
|
|
5708
|
+
return isRecord$2(value) && isEventDestinationMode(value.mode) && typeof value.path === "string" && value.path.trim().length > 0 ? {
|
|
5709
|
+
mode: value.mode,
|
|
5710
|
+
path: value.path
|
|
5711
|
+
} : null;
|
|
5712
|
+
}
|
|
5713
|
+
/**
|
|
5714
|
+
* A destination from the payload, or null when it isn't one. An external
|
|
5715
|
+
* destination with a malformed `page` keeps linking out, as one without a page
|
|
5716
|
+
* does, rather than being read as booked here.
|
|
5717
|
+
*/
|
|
5718
|
+
function readRuntimeEventDestination(value) {
|
|
5719
|
+
if (!isRecord$2(value)) return null;
|
|
5720
|
+
if (value.kind === "native") return isEventDestinationMode(value.mode) && typeof value.path === "string" ? {
|
|
5721
|
+
kind: "native",
|
|
5722
|
+
mode: value.mode,
|
|
5723
|
+
path: value.path
|
|
5724
|
+
} : null;
|
|
5725
|
+
if (value.kind !== "external" || typeof value.url !== "string" || typeof value.label !== "string") return null;
|
|
5726
|
+
const page = readEventPage(value.page);
|
|
5727
|
+
return page ? {
|
|
5728
|
+
kind: "external",
|
|
5729
|
+
url: value.url,
|
|
5730
|
+
label: value.label,
|
|
5731
|
+
page
|
|
5732
|
+
} : {
|
|
5733
|
+
kind: "external",
|
|
5734
|
+
url: value.url,
|
|
5735
|
+
label: value.label
|
|
5736
|
+
};
|
|
5692
5737
|
}
|
|
5693
5738
|
function resolveRuntimeEventDestination(event) {
|
|
5694
|
-
|
|
5739
|
+
const destination = readRuntimeEventDestination(event.destination);
|
|
5740
|
+
if (destination) return destination;
|
|
5695
5741
|
return {
|
|
5696
5742
|
kind: "native",
|
|
5697
5743
|
mode: event.eventDestinationMode === "system-managed" ? "system-managed" : "cms-managed",
|
|
@@ -5699,6 +5745,193 @@ function resolveRuntimeEventDestination(event) {
|
|
|
5699
5745
|
};
|
|
5700
5746
|
}
|
|
5701
5747
|
//#endregion
|
|
5748
|
+
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
5749
|
+
/**
|
|
5750
|
+
* Booking call-to-action resolution for events: where an event links to and
|
|
5751
|
+
* what the button says. Sold-out and waitlist decisions come from capacity.ts
|
|
5752
|
+
* so cards, rows and the wizard never disagree.
|
|
5753
|
+
*/
|
|
5754
|
+
function closedEventBookingLabel(reason) {
|
|
5755
|
+
switch (reason) {
|
|
5756
|
+
case "occurrence_cancelled":
|
|
5757
|
+
case "series_cancelled": return "Cancelled";
|
|
5758
|
+
case "occurrence_completed":
|
|
5759
|
+
case "series_completed": return "Completed";
|
|
5760
|
+
case "series_draft":
|
|
5761
|
+
case "series_archived":
|
|
5762
|
+
case "parent_archived":
|
|
5763
|
+
case "parent_inconsistent":
|
|
5764
|
+
case "already_started":
|
|
5765
|
+
case "enrollment_closed": return "Registration closed";
|
|
5766
|
+
default: return assertNever$3(reason);
|
|
5767
|
+
}
|
|
5768
|
+
}
|
|
5769
|
+
function outwardLink(url) {
|
|
5770
|
+
return {
|
|
5771
|
+
href: url,
|
|
5772
|
+
target: "_blank",
|
|
5773
|
+
rel: "noopener noreferrer"
|
|
5774
|
+
};
|
|
5775
|
+
}
|
|
5776
|
+
/** The event's own page path, when it has a page (booked here, or booked elsewhere with its own page). */
|
|
5777
|
+
function eventDestinationPagePath(destination) {
|
|
5778
|
+
return destination.kind === "native" ? destination.path : destination.page?.path ?? null;
|
|
5779
|
+
}
|
|
5780
|
+
/**
|
|
5781
|
+
* Where an event's details are: its page when it has one (booked here, or
|
|
5782
|
+
* booked elsewhere with its own page), otherwise the outside link in a new tab.
|
|
5783
|
+
*/
|
|
5784
|
+
function eventDestinationPageLink(destination) {
|
|
5785
|
+
switch (destination.kind) {
|
|
5786
|
+
case "native": return { href: destination.path };
|
|
5787
|
+
case "external": return destination.page ? { href: destination.page.path } : outwardLink(destination.url);
|
|
5788
|
+
}
|
|
5789
|
+
}
|
|
5790
|
+
/** Where an event is booked: the outside link (new tab) for any event booked elsewhere, otherwise its page. */
|
|
5791
|
+
function eventDestinationBookingLink(destination) {
|
|
5792
|
+
return destination.kind === "external" ? outwardLink(destination.url) : { href: destination.path };
|
|
5793
|
+
}
|
|
5794
|
+
/** For the title, image, date tiles and calendar cells. */
|
|
5795
|
+
function resolveEventPageLink(event) {
|
|
5796
|
+
return eventDestinationPageLink(resolveRuntimeEventDestination(event));
|
|
5797
|
+
}
|
|
5798
|
+
/** For the Book button. */
|
|
5799
|
+
function resolveEventBookingLink(event) {
|
|
5800
|
+
return eventDestinationBookingLink(resolveRuntimeEventDestination(event));
|
|
5801
|
+
}
|
|
5802
|
+
/**
|
|
5803
|
+
* Resolve the CTA state for an event.
|
|
5804
|
+
* Shared by EventCard and EventCompactRow to keep sold-out, registration-closed,
|
|
5805
|
+
* and course-specific defaults consistent.
|
|
5806
|
+
*/
|
|
5807
|
+
function resolveEventCta(event, buttonText) {
|
|
5808
|
+
const isSoldOut = isEventFull(event);
|
|
5809
|
+
const isExternal = resolveRuntimeEventDestination(event).kind === "external";
|
|
5810
|
+
const { href } = resolveEventBookingLink(event);
|
|
5811
|
+
if (event.bookingAvailability.kind === "closed") {
|
|
5812
|
+
const linksToClosedWholeSeriesDetails = event.bookingAvailability.reason === "enrollment_closed" && !isExternal;
|
|
5813
|
+
return {
|
|
5814
|
+
label: closedEventBookingLabel(event.bookingAvailability.reason),
|
|
5815
|
+
href,
|
|
5816
|
+
external: isExternal,
|
|
5817
|
+
hidden: !linksToClosedWholeSeriesDetails
|
|
5818
|
+
};
|
|
5819
|
+
}
|
|
5820
|
+
if (!isExternal && isSoldOut) {
|
|
5821
|
+
if (canJoinEventWaitlistOnAnyMode(event)) return {
|
|
5822
|
+
label: "Join waitlist",
|
|
5823
|
+
href,
|
|
5824
|
+
external: false,
|
|
5825
|
+
hidden: false
|
|
5826
|
+
};
|
|
5827
|
+
return {
|
|
5828
|
+
label: "Sold out",
|
|
5829
|
+
href,
|
|
5830
|
+
external: false,
|
|
5831
|
+
hidden: true
|
|
5832
|
+
};
|
|
5833
|
+
}
|
|
5834
|
+
return destinationCta(event, buttonText);
|
|
5835
|
+
}
|
|
5836
|
+
function destinationCta(event, buttonText) {
|
|
5837
|
+
const destination = resolveRuntimeEventDestination(event);
|
|
5838
|
+
return {
|
|
5839
|
+
label: buttonText ?? (destination.kind === "external" ? destination.label : "Book"),
|
|
5840
|
+
href: resolveEventBookingLink(event).href,
|
|
5841
|
+
external: destination.kind === "external",
|
|
5842
|
+
hidden: false
|
|
5843
|
+
};
|
|
5844
|
+
}
|
|
5845
|
+
/**
|
|
5846
|
+
* A bounded date strip cannot prove a series sold out. Its destination owns date selection,
|
|
5847
|
+
* so the card offers that destination and leaves capacity with the individual date rows.
|
|
5848
|
+
* Whole-series bookings still have one shared capacity, as do ordinary occurrence cards.
|
|
5849
|
+
*/
|
|
5850
|
+
function resolveEventCardBooking(event, scope, buttonText, options) {
|
|
5851
|
+
const closedCta = event.bookingAvailability.kind === "closed" ? resolveEventCta(event, buttonText) : renderClockClosedCta(event, options.now);
|
|
5852
|
+
if (scope === "series" && event.bookingScope === "single_occurrence") {
|
|
5853
|
+
const closed = seriesBookingClosed(event);
|
|
5854
|
+
return {
|
|
5855
|
+
cta: closed ? resolveEventCta(event, buttonText) : withoutPage(destinationCta(event, buttonText)),
|
|
5856
|
+
availability: null,
|
|
5857
|
+
closed
|
|
5858
|
+
};
|
|
5859
|
+
}
|
|
5860
|
+
return closedCta ? {
|
|
5861
|
+
cta: closedCta,
|
|
5862
|
+
availability: null,
|
|
5863
|
+
closed: true
|
|
5864
|
+
} : {
|
|
5865
|
+
cta: withoutPage(resolveEventCta(event, buttonText)),
|
|
5866
|
+
availability: occurrenceCardAvailability(event, options.count),
|
|
5867
|
+
closed: false
|
|
5868
|
+
};
|
|
5869
|
+
}
|
|
5870
|
+
/** A native card with no page yet can't invite booking: there is nowhere to send the visitor. */
|
|
5871
|
+
function withoutPage(cta) {
|
|
5872
|
+
return !cta.external && !cta.hidden && cta.href === "" ? {
|
|
5873
|
+
...cta,
|
|
5874
|
+
label: "Details coming soon",
|
|
5875
|
+
hidden: true
|
|
5876
|
+
} : cta;
|
|
5877
|
+
}
|
|
5878
|
+
/** Only a series-wide closure closes its card; a cancelled or started date says nothing about later dates. */
|
|
5879
|
+
function seriesBookingClosed(event) {
|
|
5880
|
+
if (event.bookingAvailability.kind !== "closed") return false;
|
|
5881
|
+
switch (event.bookingAvailability.reason) {
|
|
5882
|
+
case "occurrence_cancelled":
|
|
5883
|
+
case "occurrence_completed":
|
|
5884
|
+
case "already_started": return false;
|
|
5885
|
+
case "series_cancelled":
|
|
5886
|
+
case "series_completed":
|
|
5887
|
+
case "series_draft":
|
|
5888
|
+
case "series_archived":
|
|
5889
|
+
case "parent_archived":
|
|
5890
|
+
case "parent_inconsistent":
|
|
5891
|
+
case "enrollment_closed": return true;
|
|
5892
|
+
default: return assertNever$3(event.bookingAvailability.reason);
|
|
5893
|
+
}
|
|
5894
|
+
}
|
|
5895
|
+
function occurrenceCardAvailability(event, count) {
|
|
5896
|
+
const label = formatEventRemainingPlaces(event, {
|
|
5897
|
+
full: "Sold out",
|
|
5898
|
+
count
|
|
5899
|
+
});
|
|
5900
|
+
const availability = getEventAvailabilityStatus(event);
|
|
5901
|
+
return label ? {
|
|
5902
|
+
label,
|
|
5903
|
+
status: availability.isFull ? "full" : availability.status === "filling" ? "low" : "available"
|
|
5904
|
+
} : null;
|
|
5905
|
+
}
|
|
5906
|
+
/** Preserve projected closure reasons; only an open native booking needs its clock rechecked. */
|
|
5907
|
+
function renderClockClosedCta(event, now) {
|
|
5908
|
+
if (!now || event.destination.kind !== "native") return null;
|
|
5909
|
+
if (event.bookingScope !== "whole_series") return hasEventBookingClosedEarly(event, now) ? {
|
|
5910
|
+
label: "Registration closed",
|
|
5911
|
+
href: resolveEventBookingLink(event).href,
|
|
5912
|
+
external: false,
|
|
5913
|
+
hidden: true
|
|
5914
|
+
} : null;
|
|
5915
|
+
const phase = resolveWholeSeriesBookingPhase(event.run, now);
|
|
5916
|
+
if (phase.kind === "open") return null;
|
|
5917
|
+
return {
|
|
5918
|
+
label: (() => {
|
|
5919
|
+
switch (phase.reason) {
|
|
5920
|
+
case "cancelled": return "Cancelled";
|
|
5921
|
+
case "completed": return "Completed";
|
|
5922
|
+
case "in-progress":
|
|
5923
|
+
case "bookings-closed":
|
|
5924
|
+
case "enrolment-closed":
|
|
5925
|
+
case "no-sessions": return "Registration closed";
|
|
5926
|
+
default: return assertNever$3(phase.reason);
|
|
5927
|
+
}
|
|
5928
|
+
})(),
|
|
5929
|
+
href: resolveEventBookingLink(event).href,
|
|
5930
|
+
external: false,
|
|
5931
|
+
hidden: phase.reason !== "enrolment-closed" && phase.reason !== "bookings-closed"
|
|
5932
|
+
};
|
|
5933
|
+
}
|
|
5934
|
+
//#endregion
|
|
5702
5935
|
//#region ../blocks/src/system/runtime/nodes/events/domain/location.ts
|
|
5703
5936
|
/** The name in a venue's place: its own, or the owner's word that the address follows the booking. */
|
|
5704
5937
|
function eventPlaceName(event) {
|
|
@@ -5865,136 +6098,6 @@ const calendarTabViewsSchema = z.enum([
|
|
|
5865
6098
|
"week"
|
|
5866
6099
|
]);
|
|
5867
6100
|
//#endregion
|
|
5868
|
-
//#region ../blocks/src/contracts/runtime.ts
|
|
5869
|
-
function decodeSuccess(value) {
|
|
5870
|
-
return {
|
|
5871
|
-
ok: true,
|
|
5872
|
-
value
|
|
5873
|
-
};
|
|
5874
|
-
}
|
|
5875
|
-
function decodeFailure(issues) {
|
|
5876
|
-
return {
|
|
5877
|
-
ok: false,
|
|
5878
|
-
issues
|
|
5879
|
-
};
|
|
5880
|
-
}
|
|
5881
|
-
function isDecodeSuccess(result) {
|
|
5882
|
-
return result.ok;
|
|
5883
|
-
}
|
|
5884
|
-
function zodIssuePath(path) {
|
|
5885
|
-
return path.flatMap((segment) => {
|
|
5886
|
-
if (typeof segment === "string" || typeof segment === "number") return [segment];
|
|
5887
|
-
return [String(segment)];
|
|
5888
|
-
});
|
|
5889
|
-
}
|
|
5890
|
-
function createZodCodec(schema) {
|
|
5891
|
-
return {
|
|
5892
|
-
encode: (value) => value,
|
|
5893
|
-
decode: (input) => {
|
|
5894
|
-
const parsed = z.safeParse(schema, input);
|
|
5895
|
-
if (parsed.success) return decodeSuccess(parsed.data);
|
|
5896
|
-
return decodeFailure(parsed.error.issues.map((issue) => ({
|
|
5897
|
-
path: zodIssuePath(issue.path),
|
|
5898
|
-
message: issue.message
|
|
5899
|
-
})));
|
|
5900
|
-
}
|
|
5901
|
-
};
|
|
5902
|
-
}
|
|
5903
|
-
function defineProgressiveBlockRuntime(runtime) {
|
|
5904
|
-
return runtime;
|
|
5905
|
-
}
|
|
5906
|
-
function defineClientOwnedBlockRuntime(runtime) {
|
|
5907
|
-
return runtime;
|
|
5908
|
-
}
|
|
5909
|
-
//#endregion
|
|
5910
|
-
//#region ../blocks/src/contracts/islands.ts
|
|
5911
|
-
function isObjectRecord(value) {
|
|
5912
|
-
return typeof value === "object" && value !== null;
|
|
5913
|
-
}
|
|
5914
|
-
function pickRecordKeys(source, keys) {
|
|
5915
|
-
return Object.fromEntries(keys.map((key) => [key, source[key]]));
|
|
5916
|
-
}
|
|
5917
|
-
function expectEncodedRecord(value, label) {
|
|
5918
|
-
if (isObjectRecord(value)) return value;
|
|
5919
|
-
throw new Error(`Expected ${label} codec to encode an object`);
|
|
5920
|
-
}
|
|
5921
|
-
function prefixIssues(prefix, issues) {
|
|
5922
|
-
return issues.map((issue) => ({
|
|
5923
|
-
path: [...prefix, ...issue.path],
|
|
5924
|
-
message: issue.message
|
|
5925
|
-
}));
|
|
5926
|
-
}
|
|
5927
|
-
function defineInteractiveIslandMetaKeys(...keys) {
|
|
5928
|
-
return keys;
|
|
5929
|
-
}
|
|
5930
|
-
function buildInteractiveIslandProps(options) {
|
|
5931
|
-
const render = {
|
|
5932
|
-
mode: options.mode,
|
|
5933
|
-
...options.runtime.buildRender(options.source)
|
|
5934
|
-
};
|
|
5935
|
-
return {
|
|
5936
|
-
...options.meta,
|
|
5937
|
-
renderKind: options.runtime.kind,
|
|
5938
|
-
render
|
|
5939
|
-
};
|
|
5940
|
-
}
|
|
5941
|
-
function createInteractiveIslandCodec(options) {
|
|
5942
|
-
return {
|
|
5943
|
-
encode: (value) => {
|
|
5944
|
-
const meta = expectEncodedRecord(options.meta.encode(options.selectMeta(value)), "meta");
|
|
5945
|
-
const render = expectEncodedRecord(options.runtime.contracts.render.encode({
|
|
5946
|
-
display: value.render.display,
|
|
5947
|
-
hydration: value.render.hydration
|
|
5948
|
-
}), "render");
|
|
5949
|
-
return {
|
|
5950
|
-
...meta,
|
|
5951
|
-
renderKind: options.runtime.kind,
|
|
5952
|
-
render: {
|
|
5953
|
-
mode: options.mode,
|
|
5954
|
-
...render
|
|
5955
|
-
}
|
|
5956
|
-
};
|
|
5957
|
-
},
|
|
5958
|
-
decode: (input) => {
|
|
5959
|
-
if (!isObjectRecord(input)) return decodeFailure([{
|
|
5960
|
-
path: [],
|
|
5961
|
-
message: "Expected island props object"
|
|
5962
|
-
}]);
|
|
5963
|
-
const metaResult = options.meta.decode(pickRecordKeys(input, options.metaKeys));
|
|
5964
|
-
const renderIssues = [];
|
|
5965
|
-
if (input.renderKind !== options.runtime.kind) renderIssues.push({
|
|
5966
|
-
path: ["renderKind"],
|
|
5967
|
-
message: `Expected renderKind "${options.runtime.kind}"`
|
|
5968
|
-
});
|
|
5969
|
-
const renderInput = input.render;
|
|
5970
|
-
if (!isObjectRecord(renderInput)) renderIssues.push({
|
|
5971
|
-
path: ["render"],
|
|
5972
|
-
message: "Expected render object"
|
|
5973
|
-
});
|
|
5974
|
-
else {
|
|
5975
|
-
if (renderInput.mode !== options.mode) renderIssues.push({
|
|
5976
|
-
path: ["render", "mode"],
|
|
5977
|
-
message: `Expected render.mode "${options.mode}"`
|
|
5978
|
-
});
|
|
5979
|
-
const renderResult = options.runtime.contracts.render.decode({
|
|
5980
|
-
display: renderInput.display,
|
|
5981
|
-
hydration: renderInput.hydration
|
|
5982
|
-
});
|
|
5983
|
-
if (!isDecodeSuccess(renderResult)) renderIssues.push(...prefixIssues(["render"], renderResult.issues));
|
|
5984
|
-
else if (isDecodeSuccess(metaResult) && renderIssues.length === 0) return decodeSuccess({
|
|
5985
|
-
...metaResult.value,
|
|
5986
|
-
renderKind: options.runtime.kind,
|
|
5987
|
-
render: {
|
|
5988
|
-
mode: options.mode,
|
|
5989
|
-
...renderResult.value
|
|
5990
|
-
}
|
|
5991
|
-
});
|
|
5992
|
-
}
|
|
5993
|
-
return decodeFailure([...isDecodeSuccess(metaResult) ? [] : metaResult.issues, ...renderIssues]);
|
|
5994
|
-
}
|
|
5995
|
-
};
|
|
5996
|
-
}
|
|
5997
|
-
//#endregion
|
|
5998
6101
|
//#region ../blocks/src/system/runtime/nodes/booking-form.service-pricing.ts
|
|
5999
6102
|
/**
|
|
6000
6103
|
* The amounts the client can choose for a sliding-scale service. A site that
|
|
@@ -6074,13 +6177,21 @@ function bookingPackagePurchaseTerms(product, promisedDiscountId) {
|
|
|
6074
6177
|
}
|
|
6075
6178
|
function reconcileBookingPackagePurchase(selection, packages) {
|
|
6076
6179
|
if (selection.kind === "none") return selection;
|
|
6077
|
-
const product = packages.find((product) => product.id === selection
|
|
6180
|
+
const product = packages.find((product) => product.id === bookingPackagePurchaseId(selection));
|
|
6078
6181
|
if (!product) return { kind: "none" };
|
|
6079
|
-
return JSON.stringify(product) === JSON.stringify(selection.package) ? selection : {
|
|
6182
|
+
return selection.kind === "selected" && JSON.stringify(product) === JSON.stringify(selection.package) ? selection : {
|
|
6080
6183
|
kind: "selected",
|
|
6081
6184
|
package: product
|
|
6082
6185
|
};
|
|
6083
6186
|
}
|
|
6187
|
+
/** Both a restored identity and a live choice name one package; only the live choice owns display facts. */
|
|
6188
|
+
function bookingPackagePurchaseId(selection) {
|
|
6189
|
+
switch (selection.kind) {
|
|
6190
|
+
case "none": return null;
|
|
6191
|
+
case "restoring": return selection.packageId;
|
|
6192
|
+
case "selected": return selection.package.id;
|
|
6193
|
+
}
|
|
6194
|
+
}
|
|
6084
6195
|
function resolveBookingPaymentChoice(purchase, heldId, option) {
|
|
6085
6196
|
if (purchase.kind === "selected") return {
|
|
6086
6197
|
kind: "buy_package",
|
|
@@ -6504,6 +6615,10 @@ function serviceTarget(service) {
|
|
|
6504
6615
|
publicPresentation: service.bookingQuestions ?? NO_BOOKING_QUESTIONS
|
|
6505
6616
|
} : null;
|
|
6506
6617
|
}
|
|
6618
|
+
/** What the selected service asks during booking, from the catalogue or the signed-in read. */
|
|
6619
|
+
function resolveSelectedAppointmentQuestions(service, refreshed = null, identity = null) {
|
|
6620
|
+
return resolveBookingQuestionsPresentation(serviceTarget(service), refreshed, identity);
|
|
6621
|
+
}
|
|
6507
6622
|
/** Whether to ask the authenticated read about the selected service. */
|
|
6508
6623
|
function needsAppointmentQuestionsRefresh(input) {
|
|
6509
6624
|
return needsBookingQuestionsRefresh({
|
|
@@ -7531,6 +7646,14 @@ function isOrdinaryPublicEvent(event) {
|
|
|
7531
7646
|
return event.bookingScope === "single_occurrence";
|
|
7532
7647
|
}
|
|
7533
7648
|
/**
|
|
7649
|
+
* A date people come to without booking. An event booked on another website is
|
|
7650
|
+
* also saved with no booking here, but its visitors do book, just elsewhere, so
|
|
7651
|
+
* it is never a drop-in.
|
|
7652
|
+
*/
|
|
7653
|
+
function isDropInPublicEvent(event) {
|
|
7654
|
+
return event.bookingScope === "single_occurrence" && !event.requiresRegistration && event.destination.kind !== "external";
|
|
7655
|
+
}
|
|
7656
|
+
/**
|
|
7534
7657
|
* What a series' own page shows when its URL names no date.
|
|
7535
7658
|
*
|
|
7536
7659
|
* Two or more dates a visitor can book make a choice: the page lists every
|
|
@@ -7713,7 +7836,7 @@ function planDropInPanel(selection) {
|
|
|
7713
7836
|
}
|
|
7714
7837
|
function getPublicEventCanonicalPath(event) {
|
|
7715
7838
|
if (event.path) return event.path;
|
|
7716
|
-
return event.destination
|
|
7839
|
+
return eventDestinationPagePath(event.destination);
|
|
7717
7840
|
}
|
|
7718
7841
|
function eventOccurrenceContext(event) {
|
|
7719
7842
|
return {
|
|
@@ -7729,7 +7852,7 @@ function eventOccurrenceContext(event) {
|
|
|
7729
7852
|
function registrationDataForEventSelection(selection) {
|
|
7730
7853
|
switch (selection.kind) {
|
|
7731
7854
|
case "occurrence": return {
|
|
7732
|
-
events: [selection.event],
|
|
7855
|
+
events: [selection.event, ...selection.additionalDates ?? []],
|
|
7733
7856
|
occurrenceContext: eventOccurrenceContext(selection.event),
|
|
7734
7857
|
subject: null
|
|
7735
7858
|
};
|
|
@@ -7909,7 +8032,10 @@ function openRunBookingLine(run) {
|
|
|
7909
8032
|
/** One date between its cut-off and its start, or null. */
|
|
7910
8033
|
function closedDateCopy(event, now) {
|
|
7911
8034
|
const closesAt = event.bookingClosesAt;
|
|
7912
|
-
|
|
8035
|
+
return closesAt && isInBookingCutOffWindow(event, now) ? cutOffDateCopy(event, closesAt) : null;
|
|
8036
|
+
}
|
|
8037
|
+
/** What a date past its cut-off says: when bookings closed, and how long before the start. */
|
|
8038
|
+
function cutOffDateCopy(event, closesAt) {
|
|
7913
8039
|
const zone = eventTimeZone(event);
|
|
7914
8040
|
const closed = formatBookingClosedTime(closesAt, event.startsAt, zone);
|
|
7915
8041
|
const start = formatBookingClosedTime(event.startsAt, event.startsAt, zone);
|
|
@@ -7921,6 +8047,34 @@ function closedDateCopy(event, now) {
|
|
|
7921
8047
|
otherDatesHref: weekly ? eventOwnPagePath(event) : null
|
|
7922
8048
|
};
|
|
7923
8049
|
}
|
|
8050
|
+
/**
|
|
8051
|
+
* What a date booked on another website says once it has closed, as decided by
|
|
8052
|
+
* `bookedElsewhereDateClosure`. There's no booking form here to say so, and the
|
|
8053
|
+
* outward button mustn't stand in for it.
|
|
8054
|
+
*/
|
|
8055
|
+
function bookElsewhereDateCopy(event, closure) {
|
|
8056
|
+
const weekly = isWeekly(event);
|
|
8057
|
+
const otherDatesHref = weekly ? eventOwnPagePath(event) : null;
|
|
8058
|
+
const closedTitle = weekly ? "Bookings for this date have closed" : "Bookings for this event have closed";
|
|
8059
|
+
switch (closure.kind) {
|
|
8060
|
+
case "cutOff": return cutOffDateCopy(event, closure.closesAt);
|
|
8061
|
+
case "finished": return {
|
|
8062
|
+
titleText: weekly ? "This date has finished" : "This event has finished",
|
|
8063
|
+
bodyText: "The details are kept here for reference.",
|
|
8064
|
+
otherDatesHref
|
|
8065
|
+
};
|
|
8066
|
+
case "started": return {
|
|
8067
|
+
titleText: closedTitle,
|
|
8068
|
+
bodyText: "Bookings closed when it started. The organiser may still be able to help if you’d like to come.",
|
|
8069
|
+
otherDatesHref
|
|
8070
|
+
};
|
|
8071
|
+
case "notTaking": return {
|
|
8072
|
+
titleText: closedTitle,
|
|
8073
|
+
bodyText: "Bookings aren’t being taken at the moment.",
|
|
8074
|
+
otherDatesHref
|
|
8075
|
+
};
|
|
8076
|
+
}
|
|
8077
|
+
}
|
|
7924
8078
|
/** The body of a course past its cut-off, or null if the run doesn't say when. */
|
|
7925
8079
|
function closedRunBody(run) {
|
|
7926
8080
|
const first = orderedLiveRunSessions(run.sessions)[0];
|
|
@@ -7971,9 +8125,12 @@ function closedRunCopy(reason, run) {
|
|
|
7971
8125
|
function closedDatesCopy(dates, now) {
|
|
7972
8126
|
if (dates.some((date) => Date.parse(date.startsAt) > now.getTime() && !(date.bookingClosesAt && hasBookingClosed(date.bookingClosesAt, now)))) return null;
|
|
7973
8127
|
const [firstClosed] = dates.flatMap((date) => closedDateCopy(date, now) ?? []);
|
|
7974
|
-
|
|
8128
|
+
return firstClosed ? closedDateListCopy(dates.length, firstClosed) : null;
|
|
8129
|
+
}
|
|
8130
|
+
/** A closed list of dates: one date says its own cut-off; several share the run's line. */
|
|
8131
|
+
function closedDateListCopy(dateCount, firstCutOff) {
|
|
7975
8132
|
return {
|
|
7976
|
-
...
|
|
8133
|
+
...dateCount > 1 ? copy["bookings-closed"] : firstCutOff,
|
|
7977
8134
|
otherDatesHref: null
|
|
7978
8135
|
};
|
|
7979
8136
|
}
|
|
@@ -8253,7 +8410,7 @@ function buildProductDetailDisplay(product, options, selectedVariantId) {
|
|
|
8253
8410
|
selectionLabel: selectedVariant ? `${product.title} – ${selectedVariant.title}` : product.title,
|
|
8254
8411
|
actionLabel: options.addButtonText,
|
|
8255
8412
|
soldOut,
|
|
8256
|
-
body: product.body
|
|
8413
|
+
body: options.showBody ? product.body : null
|
|
8257
8414
|
};
|
|
8258
8415
|
}
|
|
8259
8416
|
function passCardDisplay(pass, options) {
|
|
@@ -11586,6 +11743,44 @@ function bookingOccurrenceContext(occurrenceContext, pageEvent, selection) {
|
|
|
11586
11743
|
if (!occurrenceContext) return null;
|
|
11587
11744
|
return !primary || primary.selectionId === pageEvent?.selectionId ? occurrenceContext : null;
|
|
11588
11745
|
}
|
|
11746
|
+
/** Optional browser storage, shared by event and appointment reload drafts. */
|
|
11747
|
+
function createBookingBrowserDraftStore(prefix, draftSchema) {
|
|
11748
|
+
const schema = z.object({
|
|
11749
|
+
version: z.literal(1),
|
|
11750
|
+
timestamp: z.number().finite(),
|
|
11751
|
+
draft: draftSchema
|
|
11752
|
+
});
|
|
11753
|
+
const clear = (scope) => {
|
|
11754
|
+
try {
|
|
11755
|
+
sessionStorage.removeItem(`${prefix}${scope}`);
|
|
11756
|
+
} catch {}
|
|
11757
|
+
};
|
|
11758
|
+
const save = (scope, draft) => {
|
|
11759
|
+
try {
|
|
11760
|
+
const entry = schema.parse({
|
|
11761
|
+
version: 1,
|
|
11762
|
+
timestamp: Date.now(),
|
|
11763
|
+
draft
|
|
11764
|
+
});
|
|
11765
|
+
sessionStorage.setItem(`${prefix}${scope}`, JSON.stringify(entry));
|
|
11766
|
+
} catch {}
|
|
11767
|
+
};
|
|
11768
|
+
const read = (scope) => {
|
|
11769
|
+
try {
|
|
11770
|
+
const stored = sessionStorage.getItem(`${prefix}${scope}`);
|
|
11771
|
+
const entry = schema.safeParse(stored ? JSON.parse(stored) : null);
|
|
11772
|
+
const age = entry.success ? Date.now() - entry.data.timestamp : -1;
|
|
11773
|
+
if (entry.success && age >= 0 && age <= 108e5) return entry.data.draft;
|
|
11774
|
+
clear(scope);
|
|
11775
|
+
} catch {}
|
|
11776
|
+
return null;
|
|
11777
|
+
};
|
|
11778
|
+
return {
|
|
11779
|
+
save,
|
|
11780
|
+
read,
|
|
11781
|
+
clear
|
|
11782
|
+
};
|
|
11783
|
+
}
|
|
11589
11784
|
//#endregion
|
|
11590
11785
|
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationBrowserDraft.ts
|
|
11591
11786
|
const browserDraftSteps = [
|
|
@@ -11594,12 +11789,10 @@ const browserDraftSteps = [
|
|
|
11594
11789
|
"enter-details",
|
|
11595
11790
|
"select-payment"
|
|
11596
11791
|
];
|
|
11597
|
-
/** How long this tab's draft is kept after it was last saved; older drafts are ignored and cleared. */
|
|
11598
|
-
const BROWSER_DRAFT_LIFETIME_MS = 10800 * 1e3;
|
|
11599
11792
|
/**
|
|
11600
11793
|
* An allowlist of what the booker typed or chose, kept in this tab only, for
|
|
11601
11794
|
* `BROWSER_DRAFT_LIFETIME_MS`: the selection and tickets, their contact
|
|
11602
|
-
* details, the rooms they asked for and
|
|
11795
|
+
* details, the rooms they asked for and their
|
|
11603
11796
|
* note ("Anything we should know?"), the guests' names and contact details, and their answers to the
|
|
11604
11797
|
* questions, by question ID (`BookingQuestionsTabDraft`: plain answers only,
|
|
11605
11798
|
* never file uploads, and dropped on restore if the question has gone or
|
|
@@ -11645,24 +11838,11 @@ const registrationBrowserDraftSchema = z.object({
|
|
|
11645
11838
|
function isBrowserDraftStep(step) {
|
|
11646
11839
|
return browserDraftSteps.some((candidate) => candidate === step);
|
|
11647
11840
|
}
|
|
11648
|
-
/**
|
|
11649
|
-
* The note ("Anything we should know?") often holds health details, so it's
|
|
11650
|
-
* kept only for a signed-in customer. A signed-out draft could be opened by the
|
|
11651
|
-
* next person on a shared device, such as a studio's front-desk tablet.
|
|
11652
|
-
*/
|
|
11653
|
-
function keepsNote(owner) {
|
|
11654
|
-
return owner.kind === "session";
|
|
11655
|
-
}
|
|
11656
|
-
/** The saved note to put back, or nothing for a signed-out draft (including one saved before this rule). */
|
|
11657
|
-
function restoredNote(saved) {
|
|
11658
|
-
return keepsNote(saved.owner) ? { notes: saved.notes } : {};
|
|
11659
|
-
}
|
|
11660
11841
|
function registrationBrowserDraft(flow, discountCode, identity) {
|
|
11661
11842
|
if (!isBrowserDraftStep(flow.step)) return null;
|
|
11662
11843
|
const { draft } = flow;
|
|
11663
|
-
const owner = bookingQuestionsOwnerOf(identity);
|
|
11664
11844
|
return {
|
|
11665
|
-
owner,
|
|
11845
|
+
owner: bookingQuestionsOwnerOf(identity),
|
|
11666
11846
|
step: flow.step,
|
|
11667
11847
|
selectedEventIds: draft.selection.map((event) => event.selectionId),
|
|
11668
11848
|
placeCount: flow.placeCount,
|
|
@@ -11677,7 +11857,7 @@ function registrationBrowserDraft(flow, discountCode, identity) {
|
|
|
11677
11857
|
email: draft.formData.email,
|
|
11678
11858
|
phone: draft.formData.phone
|
|
11679
11859
|
},
|
|
11680
|
-
notes:
|
|
11860
|
+
notes: draft.formData.notes,
|
|
11681
11861
|
discountCode,
|
|
11682
11862
|
guests: draft.guests.map(({ name, email, phone }) => ({
|
|
11683
11863
|
name,
|
|
@@ -11729,7 +11909,7 @@ function restoreRegistrationBrowserDraft(state, saved, events, identity) {
|
|
|
11729
11909
|
const contact = theirs ? {
|
|
11730
11910
|
...state.draft.formData,
|
|
11731
11911
|
...saved.contact,
|
|
11732
|
-
|
|
11912
|
+
notes: saved.notes
|
|
11733
11913
|
} : state.draft.formData;
|
|
11734
11914
|
if (selection.length !== saved.selectedEventIds.length) return {
|
|
11735
11915
|
...state,
|
|
@@ -12320,14 +12500,8 @@ function getTicketSelectionPurpose(input) {
|
|
|
12320
12500
|
return input.admission.kind === "checking" && input.event && canJoinEventWaitlist(input.event, { attendanceMode: input.attendanceMode }) ? "waitlist" : "book";
|
|
12321
12501
|
}
|
|
12322
12502
|
function resolveRegistrationAdmission(input) {
|
|
12323
|
-
|
|
12324
|
-
if (input.
|
|
12325
|
-
if (input.eligibilityError) return {
|
|
12326
|
-
kind: "closed",
|
|
12327
|
-
reason: input.bookingsClosed ? "bookingsClosed" : "optionsUnavailable",
|
|
12328
|
-
message: input.eligibilityError
|
|
12329
|
-
};
|
|
12330
|
-
if (!input.eligibility) return { kind: "checking" };
|
|
12503
|
+
const early = admissionBeforeOptions(input);
|
|
12504
|
+
if (early || !input.eligibility) return early ?? { kind: "checking" };
|
|
12331
12505
|
const { registration, availability } = input.eligibility;
|
|
12332
12506
|
if (registration.kind === "pending_payment") return { kind: "resume" };
|
|
12333
12507
|
if (registration.kind === "waitlisted") return {
|
|
@@ -12338,6 +12512,21 @@ function resolveRegistrationAdmission(input) {
|
|
|
12338
12512
|
const admission = admissionFromAvailability(availability, input.isAuthenticated, input.businessName);
|
|
12339
12513
|
return admission.kind === "open" && input.selectionPayment ? admissionForSelectionPayment(input.selectionPayment, input.businessName) : admission;
|
|
12340
12514
|
}
|
|
12515
|
+
/**
|
|
12516
|
+
* Admission that doesn't need the options' answer. Every way in waits for the
|
|
12517
|
+
* options, even a held place: until they arrive, whether anything is due can't
|
|
12518
|
+
* be known, and a paid event would look free.
|
|
12519
|
+
*/
|
|
12520
|
+
function admissionBeforeOptions(input) {
|
|
12521
|
+
if (input.eligibilityLoading) return { kind: "checking" };
|
|
12522
|
+
if (input.holdsOwnPlace && (input.eligibility || input.eligibilityError)) return { kind: "resume" };
|
|
12523
|
+
if (input.eligibilityError) return {
|
|
12524
|
+
kind: "closed",
|
|
12525
|
+
reason: input.bookingsClosed ? "bookingsClosed" : "optionsUnavailable",
|
|
12526
|
+
message: input.eligibilityError
|
|
12527
|
+
};
|
|
12528
|
+
return null;
|
|
12529
|
+
}
|
|
12341
12530
|
/** The checkout refusal's words, for a selection the page shouldn't have offered together. */
|
|
12342
12531
|
const BOOK_SEPARATELY_MESSAGE = "These can’t be booked together. Book them one at a time.";
|
|
12343
12532
|
/** An open selection the server says can't be paid: the site can't take the money, or the items' ways to pay don't combine. */
|
|
@@ -13865,4 +14054,4 @@ function registrationStepLabel(step, context) {
|
|
|
13865
14054
|
}
|
|
13866
14055
|
}
|
|
13867
14056
|
//#endregion
|
|
13868
|
-
export { deriveEventRegistrationSteps as $, PAGE_NAVIGATION as $a, toSelectedCollectionOptionKind as $i, serverPricedTotalCents as $n, resolveImageUrl as $o, formatValidity as $r, parseMailchimpAudienceId as $s, toWholeSeriesRegistrationEvents as $t, ownCoverPaysEveryDate as A, toBookingPurchasablePackages as Aa, bookingFormInteractiveIslandPropsCodec as Ai, selectionConfirmationHint as An, eventDateLocale as Ao, normalizeTicketSelectionLines as Ar, eventRegistrationErrors as As, resolveEventRequiresPayment as At, closedAdmissionLabel as B, calendarTabViewsSchema as Ba, isSameOpenCheckout as Bi, severalConfirmationSentence as Bn, formatEventRunDates as Bo, placesLeftLabel as Br, formatCreditProductPayment as Bs, defaultTicketOptions as Bt, currentSelectionFundingLookup as C, reconcileBookingPackagePurchase as Ca, planWholeSeriesParentBooking as Ci, primarySelectionItem as Cn, selectMostOpenCapacitySource as Co, withRegistrationAvailability as Cr, sanitizeHref as Cs, beginWaitlistInvitation as Ct, fundingOptionPick as D, resolveBookingPaymentChoice as Da, resolveSelectionBookingClosedDetail as Di, runPricingChoice as Dn, RichText as Do, getTicketSelectionTotal as Dr, decideSelectionAttendance as Ds, buildRegistrationSelectionRequest as Dt, fundingOptionKey as E, resolveBookingPaymentAvailability as Ea, registrationDataForEventSelection as Ei, runNeedsPricingChoice as En, isBlockButtonRole as Eo, getTicketLineQuantity as Er, INCOMPATIBLE_ATTENDANCE_MESSAGE as Es, withOfferedEvent as Et, selectionFundingRequest as F, createZodCodec as Fa, getBookingRedirectStateFromLocation as Fi, selectionItemsLabel as Fn, formatEventClockLabel as Fo, decideSignInReturn as Fr, bookingCollectionDatesOpen as Fs, validateFormData as Ft, planRegistrationDetailsContinuation as G, eventLayoutSchema as Ga, resolveAppointmentCheckoutVerificationState as Gi, combinationHintCopy as Gn, resolveEventTimeZone as Go, buildCartDisplay as Gr, resolveWholeSeriesBookingPhase as Gs, selectRoomOffer as Gt, getTicketSelectionPurpose as H, eventButtonVariantSchema as Ha, normalizeBookingServices as Hi, severalRunsChoiceMessage as Hn, formatEventWeekdayTime as Ho, resolveRegistrationDisplay as Hr, CANCELLED_SESSION_STATUS as Hs, presentRoomChooser as Ht, buildEventRegistrationPaymentOptionsViewModel as I, defineClientOwnedBlockRuntime as Ia, getBookingSuccessCopy as Ii, selectionPlacesLabel as In, formatEventCompactDateRail as Io, nextSignInReturnExpiry as Ir, flexibleBalanceDueDay as Is, ADD_A_PLACE as It, resolveRegistrationAdmission as J, registrationButtonVariantSchema as Ja, resolveBookingSiteId as Ji, combinationWorking as Jn, computeMediaTransformStyle as Jo, buildProductCardDisplay as Jr, parseMailingListRuntimeContext as Js, confirmationPaymentRows as Jt, registrationStopsHere as K, filterAutoShowSchema as Ka, resolveBookingPaymentStep as Ki, combinationOfferLine as Kn, ImagePresets as Ko, buildCheckoutDisplay as Kr, resolveWholeSeriesPaymentDates as Ks, isSameWaitlistClaim as Kt, buildSelectionCollectionOptions as L, defineProgressiveBlockRuntime as La, getRegistrationSuccessCopy as Li, selectionPlacesNote as Ln, formatEventDateParts as Lo, readSignInReturn as Lr, repriceBookingCollectionOptions as Ls, bookingLines as Lt, selectionFundingBasis as M, buildInteractiveIslandProps as Ma, readOverrideServiceCategories as Mi, selectionEntitlementNote as Mn, eventLocalDateKey as Mo, BOOKING_SIGN_IN_RETURN_PARAM as Mr, parseEventRegistrationErrorReason as Ms, resolveRouteRequiresPayment as Mt, selectionFundingFetchWanted as N, createInteractiveIslandCodec as Na, deriveBookingFormViewState as Ni, selectionIncludes as Nn, formatCalendarTitle as No, clearSignInReturnDrafts as Nr, EVENT_CHECKOUT_HOLD_DURATION_MS as Ns, toRegistrationRequestSubject as Nt, initialSelectionFundingLookup as O, resolveBookingPaymentMode as Oa, selectionRepresentativeEvent as Oi, runUnitPriceCents as On, buildCalendarViewport as Oo, getTicketTypeLineMax as Or, setRoomChoicePeople as Os, findPreSelectedEvent as Ot, selectionFundingReducer as P, defineInteractiveIslandMetaKeys as Pa, formatBookingSubmissionPreparationError as Pi, selectionItemPrice as Pn, formatDate$1 as Po, createSignInReturnDraftStore as Pr, planCheckoutPaymentFlow as Ps, registrationQuestionsMessage as Pt, visitorHoldsOwnPlace as Q, getBlockApiReadStage as Qa, snapshotBookingShownTerms as Qi, selectionPreviewLines as Qn, resolveImageSourceSetWithContext as Qo, formatInterval as Qr, parseBrevoListId as Qs, toWholeSeriesRegistrationEvent as Qt, decideEventRegistrationPayment as R, isDecodeSuccess as Ra, getShopSuccessCopy as Ri, selectionRowAvailability as Rn, formatEventHourLabel as Ro, signInReturnPath as Rr, getStripeMinimumChargeRequirement as Rs, dayOptionsOf as Rt, chosenFundingOption as S, bookingRequiresResourceSelection as Sa, planOrdinarySeriesSelection as Si, planSelectionPrice as Sn, selectEventCapacitySource as So, shouldLoadRegistrationOptions as Sr, resolveDateRuntimeContext as Ss, entryStart as St, fundingMoneyDates as T, resolveBookingPackageSources as Ta, planWholeSeriesRunSelection as Ti, runChoiceUsable as Tn, blockButtonRoleSchema as To, getSingleSelectedPricingOptionId as Tr, isRecord$3 as Ts, invitationBooking as Tt, placeCountCeiling as U, eventCalendarDefaultViewSchema as Ua, parseBookingCurrencyInputToCents as Ui, summariseSelectionPayment as Un, formatTime$1 as Uo, shownVenue as Ur, nextLiveRunSessionStartMs as Us, roomChoiceMessage as Ut, fullyBookedLabel as V, columnOptionSchema as Va, normalizeBookingFormConfig as Vi, severalItemsOf as Vn, formatEventTimeRange as Vo, registrationDisplaySchema as Vr, formatCreditProductUnits as Vs, isRoomChoiceRefusal as Vt, planRegistrationDetailsCheck as W, eventCalendarDisplayModeSchema as Wa, prepareBookingSubmission as Wi, toggleSelectionItem as Wn, groupEventsByDate as Wo, appliedDiscountHint as Wr, orderedLiveRunSessions as Ws, roomSubmission as Wt, resolveRegistrationTicketContinuation as X, browserReadAuthoritySchema as Xa, resolveLowestBookingPaymentStep as Xi, selectionCombinationHint as Xn, renderAudio as Xo, buildProductListDisplay as Xr, DEFAULT_MAILING_LIST_PRIVACY_NOTE as Xs, getRegistrationStartAt as Xt, resolveRegistrationAvailabilityBlocker as Y, weekStartSchema as Ya, resolveDefaultBookingServiceId as Yi, paymentCaption as Yn, mediaImageHostProps as Yo, buildProductDetailDisplay as Yr, resolveBookingSignupOffer as Ys, resolveFinishedPresentation as Yt, settledRemainingPlaces as Z, createHostedBlockApiConfig as Za, selectedBookingCollectionOptionKind as Zi, selectionItemName as Zn, renderVideo as Zo, formatCommercePrice as Zr, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as Zs, toRegistrationEvents as Zt, pickCollections as _, BOOKING_FORM_DATA_RESERVED_KEYS as _a, resolveEventRegistrationScopedEvents as _i, SEVERAL_BOOKINGS_ACCOUNT_NOTE as _n, formatTotalCapacity as _o, getSlidingScaleForEvent as _r, plainTextToInlineText as _s, bookingOccurrenceContext as _t, registrationPresentation as a, deriveAppointmentBookingQuestions as aa, EVENT_PRESET_VOCABULARY as ac, buildProductCartItem as ai, buildSelectionRequirementsSubmission as an, bookingPresentation as ao, formatRunScheduleLines as ar, createImageShapeField as as, toHeadlessPaymentSelection as at, selectionPaysNothing as b, bookingHasPackagePaymentChoices as ba, isOrdinaryPublicEvent as bi, effectiveSelection as bn, getRemainingPlaces as bo, parseCurrencyInputToCents as br, parseBlockColorToken as bs, entryPageEvent as bt, registrationStepLabelContext as c, bookingQuestionsAnswerDraftSchema as ca, isPublicEventPricingOptionDisplayable as cc, productItemKey as ci, deriveRunRequirements as cn, eventVenuePlace as co, getPortalSubjectEmail as cr, uiTransforms as cs, calculateEventRegistrationPreviewTotal as ct, decideEventChoice as d, needsBookingQuestionsRefresh as da, publicEventPricingStrategy as dc, closedDatesCopy as di, runsKeepingAnswers as dn, hasEventBookingClosedEarly as do, occurrenceTitleOverride as dr, asPartialObject as ds, paymentChoiceDetails as dt, projectSelectedAppointmentConsentIntoForm as ea, parseMailchimpInterestId as ec, membershipCardListContent as ei, EVENT_SIGN_IN_FORM_ID as en, canonicalUrl as eo, findSelectedTicketType as er, resolveImageUrlWithContext as es, isEventRegistrationAvailable as et, isRegistrationLocked as f, restoreBookingQuestionsAnswers as fa, publicEventPricingType as fc, closedRunCopy as fi, toRunRequirementsSnapshots as fn, isBookableEvent as fo, transformRegistrationOptionsResponse as fr, createTransformRegistry as fs, paymentChoicePrice as ft, paymentOptionFor as g, formatPrice as ga, unsafeAsSiteId as gc, resolveEventRegistrationChoices as gi, SELECTION_LIMIT_NOTE as gn, formatRemainingPlaces as go, getRegistrationOccurrenceId as gr, parseInlineTextFromUnknown as gs, restorableBrowserDraftCode as gt, moneyCollections as h, formatCentsAsCurrencyInput as ha, parseSiteId as hc, normalizeEventRegistrationPageSurfaceSubject as hi, ATTENDANCE_CHOICE_MESSAGE as hn, formatEventRemainingPlaces as ho, getCurrentTicketSelection as hr, isInlineTextEmpty as hs, registrationBrowserDraftSchema as ht, registrationPaymentRoute as i, appointmentQuestionsRefusal as ia, offeringLabelForPageSurfaceSubject as ic, buildPassCartItem as ii, toEventSignInDraft as in, bookingPageKindSchema as io, formatRegistrationSchedule as ir, systemCustomizeFacetDefinitionsForBlock as is, resolveHeadlessEventRegistrationView as it, selectionDatesQuote as j, getBookingServiceSlidingScale as ja, buildBookingFormInteractiveIslandProps as ji, selectionConsentLabel as jn, eventDateOptions as jo, setTicketLineQuantity as jr, eventRegistrationRefusalMessage as js, resolveRegistrationTarget as jt, lookupChosenOption as k, resolveBookingPurchasablePackages as ka, groupPublicEventsByRun as ki, selectionAtLimit as kn, eventCalendarWeekStart as ko, hasValidPricingOptionSelection as kr, eventRegistrationErrorEndsCommand as ks, resolveDiscountContext as kt, areEventRegistrationPaymentSelectionsEqual as l, decideBookingQuestionsRestoration as la, publicEventPricingCurrency as lc, reduceCommerceCart as li, nextRunToRead as ln, formatEventLocation as lo, getTicketTypeAvailabilityLabel as lr, SECTION_STATE_KINDS as ls, buildBookingPaymentSelectionViewModel as lt, collectionsOf as m, toBookingQuestionsPaymentSnapshot as ma, resolvePricingOptionsPriceDisplay as mc, eventRegistrationPageSurfaceSubjectSchema as mi, paymentReturnRestoration as mn, canJoinEventWaitlistOnAnyMode as mo, isEmailAddress as mr, inlineTextToPlainText as ms, registrationBrowserDraft as mt, getEventSelectionMode as n, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as na, EVENT_ADDRESS_AFTER_BOOKING_LABEL as nc, passCardListContent as ni, eventSignInEnds as nn, pageNavigationSchema as no, formatDate as nr, resolvePublicMediaUrl as ns, resolveEventRegistrationSubmitPlan as nt, registrationRoute as o, isAppointmentBookingQuestionsEvent as oa, formatBookingPriceDisplay as oc, deriveCommerceCheckoutState as oi, checkRunRequirements as on, eventOnlinePlace as oo, formatTime as or, heroTitleSizeOptions as os, toInternalPaymentSelection as ot, registrationFlowReducer as p, toBookingQuestionsAnswerDraft as pa, resolveExactOrFreePriceDisplay as pc, closedDateCopy as pi, withoutKeptAnswers as pn, canJoinEventWaitlist as po, withOccurrenceTitle as pr, runTransforms as ps, BROWSER_DRAFT_LIFETIME_MS as pt, resolveGuestNextStepCheck as q, previewStageSchema as qa, resolveBookingSelectedService as qi, combinationOffersOf as qn, MediaPlaceholder as qo, buildPassesMembershipsDisplay as qr, resolveWholeSeriesRunLifecycle as qs, toWaitlistClaimResolveFailure as qt, panelShouldOpen as r, applyAppointmentBookingQuestionsEvent as ra, getBookingInstalmentProtectedDepositAmountCents as rc, EMPTY_COMMERCE_CART_STATE as ri, eventSignInRestoration as rn, requestSignIn as ro, formatEventDateTime as rr, resolveArrangementKnobs as rs, resolveHeadlessEventRegistrationStatus as rt, registrationStepLabel as s, needsAppointmentQuestionsRefresh as sa, formatEventPricing as sc, parseStoredCommerceCartState as si, decideSelectionRequirementsLayout as sn, eventPlaceName as so, getImplicitSingleTicketType as sr, createAspectRatioField as ss, onlineBookingUnavailableMessage as st, REGISTRATION_STEP_LABELS as t, resolveSelectedAppointmentConsent as ta, parseNewsletterListId as tc, membershipClassesLabel as ti, eventSignInDraftStore as tn, leavePage as to, formatBookingWhen as tr, resolveMediaNodeResponsiveImage as ts, normalizeEventRegistrationMaxTickets as tt, createInitialRegistrationFlowState as u, deriveBookingQuestions as ua, publicEventPricingDisplay as uc, resolveSelectedProduct as ui, runFieldErrors as un, resolveRuntimeEventDestination as uo, getVisibleTicketTypes as ur, sectionStateToneFromKind as us, buildReviewedBookingPaymentViewModel as ut, runsSelectionPaymentRequest as v, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as va, eventOccurrenceContext as vi, attendanceChoicePending as vn, getEventAvailability as vo, getSlidingScaleSelectionMessage as vr, generateLookMediaFrameCss as vs, decideRegistrationEntry as vt, fundingChoice as w, resolveBookingPackagePaymentSelection as wa, planWholeSeriesParentSelection as wi, quoteReductions as wn, BLOCK_BUTTON_ROLE_OPTIONS as wo, canRequestTicketOption as wr, parseAspectRatioValue as ws, invitationSubmission as wt, cardStepServesDates as x, bookingPackageRequestKey as xa, planDropInPanel as xi, incompleteRunChoiceMessage as xn, isEventFull as xo, resolveHeldTicketPlaces as xr, readRuntimeNow as xs, entrySelectionMode as xt, selectionItemLabels as y, applyBookingPaymentAdmission as ya, getPublicEventCanonicalPath as yi, canToggleSelectionItem as yn, getEventAvailabilityStatus as yo, getTicketSelectionRemainingPlaces as yr, resolveLookMediaFrame as ys, entryChoosesEvent as yt, shouldPromptForLogin as z, bookingNowSchema as za, isBookingServiceSlidingAmountInRange as zi, selectionTicketInputs as zn, formatEventNextDateFact as zo, sweepExpiredSignInReturnDrafts as zr, formatCreditProductBalance as zs, decideRoomStay as zt };
|
|
14057
|
+
export { deriveEventRegistrationSteps as $, weekStartSchema as $a, resolveDefaultBookingServiceId as $i, serverPricedTotalCents as $n, groupEventsByDate as $o, formatValidity as $r, orderedLiveRunSessions as $s, toWholeSeriesRegistrationEvents as $t, ownCoverPaysEveryDate as A, bookingHasPackagePaymentChoices as Aa, registrationDataForEventSelection as Ai, selectionConfirmationHint as An, isEventFull as Ao, normalizeTicketSelectionLines as Ar, parseBlockColorToken as As, resolveEventRequiresPayment as At, closedAdmissionLabel as B, resolveBookingPurchasablePackages as Ba, getBookingSuccessCopy as Bi, severalConfirmationSentence as Bn, eventDateOptions as Bo, placesLeftLabel as Br, eventRegistrationErrors as Bs, defaultTicketOptions as Bt, currentSelectionFundingLookup as C, toBookingQuestionsPaymentSnapshot as Ca, resolvePricingOptionsPriceDisplay as Cc, isDropInPublicEvent as Ci, primarySelectionItem as Cn, canJoinEventWaitlistOnAnyMode as Co, withRegistrationAvailability as Cr, runTransforms as Cs, beginWaitlistInvitation as Ct, fundingOptionPick as D, BOOKING_FORM_DATA_RESERVED_KEYS as Da, planWholeSeriesParentBooking as Di, runPricingChoice as Dn, getEventAvailability as Do, getTicketSelectionTotal as Dr, plainTextToInlineText as Ds, buildRegistrationSelectionRequest as Dt, fundingOptionKey as E, formatPrice as Ea, planOrdinarySeriesSelection as Ei, runNeedsPricingChoice as En, formatTotalCapacity as Eo, getTicketLineQuantity as Er, parseInlineTextFromUnknown as Es, withOfferedEvent as Et, selectionFundingRequest as F, resolveBookingPackagePaymentSelection as Fa, buildBookingFormInteractiveIslandProps as Fi, selectionItemsLabel as Fn, isBlockButtonRole as Fo, decideSignInReturn as Fr, isRecord$3 as Fs, validateFormData as Ft, planRegistrationDetailsContinuation as G, columnOptionSchema as Ga, normalizeBookingFormConfig as Gi, combinationHintCopy as Gn, formatEventCompactDateRail as Go, buildCartDisplay as Gr, flexibleBalanceDueDay as Gs, selectRoomOffer as Gt, getTicketSelectionPurpose as H, getBookingServiceSlidingScale as Ha, getShopSuccessCopy as Hi, severalRunsChoiceMessage as Hn, formatCalendarTitle as Ho, resolveRegistrationDisplay as Hr, parseEventRegistrationErrorReason as Hs, presentRoomChooser as Ht, buildEventRegistrationPaymentOptionsViewModel as I, resolveBookingPackageSources as Ia, readOverrideServiceCategories as Ii, selectionPlacesLabel as In, RichText as Io, nextSignInReturnExpiry as Ir, INCOMPATIBLE_ATTENDANCE_MESSAGE as Is, ADD_A_PLACE as It, resolveRegistrationAdmission as J, eventCalendarDisplayModeSchema as Ja, prepareBookingSubmission as Ji, combinationWorking as Jn, formatEventNextDateFact as Jo, buildProductCardDisplay as Jr, formatCreditProductBalance as Js, confirmationPaymentRows as Jt, registrationStopsHere as K, eventButtonVariantSchema as Ka, normalizeBookingServices as Ki, combinationOfferLine as Kn, formatEventDateParts as Ko, buildCheckoutDisplay as Kr, repriceBookingCollectionOptions as Ks, isSameWaitlistClaim as Kt, buildSelectionCollectionOptions as L, resolveBookingPaymentAvailability as La, deriveBookingFormViewState as Li, selectionPlacesNote as Ln, buildCalendarViewport as Lo, readSignInReturn as Lr, decideSelectionAttendance as Ls, bookingLines as Lt, selectionFundingBasis as M, bookingPackageRequestKey as Ma, selectionRepresentativeEvent as Mi, selectionEntitlementNote as Mn, selectMostOpenCapacitySource as Mo, BOOKING_SIGN_IN_RETURN_PARAM as Mr, resolveDateRuntimeContext as Ms, resolveRouteRequiresPayment as Mt, selectionFundingFetchWanted as N, bookingRequiresResourceSelection as Na, groupPublicEventsByRun as Ni, selectionIncludes as Nn, BLOCK_BUTTON_ROLE_OPTIONS as No, clearSignInReturnDrafts as Nr, sanitizeHref as Ns, toRegistrationRequestSubject as Nt, initialSelectionFundingLookup as O, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Oa, planWholeSeriesParentSelection as Oi, runUnitPriceCents as On, getEventAvailabilityStatus as Oo, getTicketTypeLineMax as Or, generateLookMediaFrameCss as Os, findPreSelectedEvent as Ot, selectionFundingReducer as P, reconcileBookingPackagePurchase as Pa, bookingFormInteractiveIslandPropsCodec as Pi, selectionItemPrice as Pn, blockButtonRoleSchema as Po, createSignInReturnDraftStore as Pr, parseAspectRatioValue as Ps, registrationQuestionsMessage as Pt, visitorHoldsOwnPlace as Q, registrationButtonVariantSchema as Qa, resolveBookingSiteId as Qi, selectionPreviewLines as Qn, formatTime$1 as Qo, formatInterval as Qr, nextLiveRunSessionStartMs as Qs, toWholeSeriesRegistrationEvent as Qt, decideEventRegistrationPayment as R, resolveBookingPaymentChoice as Ra, formatBookingSubmissionPreparationError as Ri, selectionRowAvailability as Rn, eventCalendarWeekStart as Ro, signInReturnPath as Rr, setRoomChoicePeople as Rs, dayOptionsOf as Rt, chosenFundingOption as S, toBookingQuestionsAnswerDraft as Sa, resolveExactOrFreePriceDisplay as Sc, getPublicEventCanonicalPath as Si, planSelectionPrice as Sn, canJoinEventWaitlist as So, shouldLoadRegistrationOptions as Sr, createTransformRegistry as Ss, entryStart as St, fundingMoneyDates as T, formatCentsAsCurrencyInput as Ta, unsafeAsSiteId as Tc, planDropInPanel as Ti, runChoiceUsable as Tn, formatRemainingPlaces as To, getSingleSelectedPricingOptionId as Tr, isInlineTextEmpty as Ts, invitationBooking as Tt, placeCountCeiling as U, bookingNowSchema as Ua, isBookingServiceSlidingAmountInRange as Ui, summariseSelectionPayment as Un, formatDate$1 as Uo, shownVenue as Ur, planCheckoutPaymentFlow as Us, roomChoiceMessage as Ut, fullyBookedLabel as V, toBookingPurchasablePackages as Va, getRegistrationSuccessCopy as Vi, severalItemsOf as Vn, eventLocalDateKey as Vo, registrationDisplaySchema as Vr, eventRegistrationRefusalMessage as Vs, isRoomChoiceRefusal as Vt, planRegistrationDetailsCheck as W, calendarTabViewsSchema as Wa, isSameOpenCheckout as Wi, toggleSelectionItem as Wn, formatEventClockLabel as Wo, appliedDiscountHint as Wr, bookingCollectionDatesOpen as Ws, roomSubmission as Wt, resolveRegistrationTicketContinuation as X, filterAutoShowSchema as Xa, resolveBookingPaymentStep as Xi, selectionCombinationHint as Xn, formatEventTimeRange as Xo, buildProductListDisplay as Xr, formatCreditProductUnits as Xs, getRegistrationStartAt as Xt, resolveRegistrationAvailabilityBlocker as Y, eventLayoutSchema as Ya, resolveAppointmentCheckoutVerificationState as Yi, paymentCaption as Yn, formatEventRunDates as Yo, buildProductDetailDisplay as Yr, formatCreditProductPayment as Ys, resolveFinishedPresentation as Yt, settledRemainingPlaces as Z, previewStageSchema as Za, resolveBookingSelectedService as Zi, selectionItemName as Zn, formatEventWeekdayTime as Zo, formatCommercePrice as Zr, CANCELLED_SESSION_STATUS as Zs, toRegistrationEvents as Zt, pickCollections as _, decideBookingQuestionsRestoration as _a, isPublicEventPricingOptionDisplayable as _c, eventRegistrationPageSurfaceSubjectSchema as _i, SEVERAL_BOOKINGS_ACCOUNT_NOTE as _n, resolveEventCta as _o, getSlidingScaleForEvent as _r, standardAspectRatioPhrases as _s, bookingOccurrenceContext as _t, registrationPresentation as a, resolveSelectedAppointmentConsent as aa, DEFAULT_MAILING_LIST_PRIVACY_NOTE as ac, buildProductCartItem as ai, buildSelectionRequirementsSubmission as an, leavePage as ao, formatRunScheduleLines as ar, renderAudio as as, toHeadlessPaymentSelection as at, selectionPaysNothing as b, needsBookingQuestionsRefresh as ba, publicEventPricingStrategy as bc, resolveEventRegistrationScopedEvents as bi, effectiveSelection as bn, isBookableEvent as bo, parseCurrencyInputToCents as br, sectionStateToneFromKind as bs, entryPageEvent as bt, registrationStepLabelContext as c, appointmentQuestionsRefusal as ca, parseMailchimpAudienceId as cc, productItemKey as ci, deriveRunRequirements as cn, bookingPageKindSchema as co, getPortalSubjectEmail as cr, resolveImageUrl as cs, calculateEventRegistrationPreviewTotal as ct, decideEventChoice as d, needsAppointmentQuestionsRefresh as da, EVENT_ADDRESS_AFTER_BOOKING_LABEL as dc, closedDateListCopy as di, runsKeepingAnswers as dn, eventPlaceName as do, occurrenceTitleOverride as dr, resolvePublicMediaUrl as ds, paymentChoiceDetails as dt, resolveLowestBookingPaymentStep as ea, resolveWholeSeriesBookingPhase as ec, membershipCardListContent as ei, EVENT_SIGN_IN_FORM_ID as en, browserReadAuthoritySchema as eo, findSelectedTicketType as er, resolveEventTimeZone as es, isEventRegistrationAvailable as et, isRegistrationLocked as f, resolveSelectedAppointmentQuestions as fa, getBookingInstalmentProtectedDepositAmountCents as fc, closedDatesCopy as fi, toRunRequirementsSnapshots as fn, eventVenuePlace as fo, transformRegistrationOptionsResponse as fr, resolveArrangementKnobs as fs, paymentChoicePrice as ft, paymentOptionFor as g, bookingQuestionsTabDraftSchema as ga, formatEventPricing as gc, cutOffDateCopy as gi, SELECTION_LIMIT_NOTE as gn, resolveEventCardBooking as go, getRegistrationOccurrenceId as gr, createAspectRatioField as gs, createBookingBrowserDraftStore as gt, moneyCollections as h, bookingQuestionsOwnerSchema as ha, formatBookingPriceDisplay as hc, closedDateCopy as hi, ATTENDANCE_CHOICE_MESSAGE as hn, eventDestinationPagePath as ho, getCurrentTicketSelection as hr, heroTitleSizeOptions as hs, restorableBrowserDraftCode as ht, registrationPaymentRoute as i, projectSelectedAppointmentConsentIntoForm as ia, resolveBookingSignupOffer as ic, buildPassCartItem as ii, toEventSignInDraft as in, canonicalUrl as io, formatRegistrationSchedule as ir, mediaImageHostProps as is, resolveHeadlessEventRegistrationView as it, selectionDatesQuote as j, bookingPackagePurchaseId as ja, resolveSelectionBookingClosedDetail as ji, selectionConsentLabel as jn, selectEventCapacitySource as jo, setTicketLineQuantity as jr, readRuntimeNow as js, resolveRegistrationTarget as jt, lookupChosenOption as k, applyBookingPaymentAdmission as ka, planWholeSeriesRunSelection as ki, selectionAtLimit as kn, getRemainingPlaces as ko, hasValidPricingOptionSelection as kr, resolveLookMediaFrame as ks, resolveDiscountContext as kt, areEventRegistrationPaymentSelectionsEqual as l, deriveAppointmentBookingQuestions as la, parseMailchimpInterestId as lc, reduceCommerceCart as li, nextRunToRead as ln, bookingPresentation as lo, getTicketTypeAvailabilityLabel as lr, resolveImageUrlWithContext as ls, buildBookingPaymentSelectionViewModel as lt, collectionsOf as m, bookingQuestionsOwnerOf as ma, EVENT_PRESET_VOCABULARY as mc, bookElsewhereDateCopy as mi, paymentReturnRestoration as mn, eventDestinationBookingLink as mo, isEmailAddress as mr, createImageShapeField as ms, registrationBrowserDraftSchema as mt, getEventSelectionMode as n, snapshotBookingShownTerms as na, resolveWholeSeriesRunLifecycle as nc, passCardListContent as ni, eventSignInEnds as nn, getBlockApiReadStage as no, formatDate as nr, MediaPlaceholder as ns, resolveEventRegistrationSubmitPlan as nt, registrationRoute as o, EMPTY_APPOINTMENT_BOOKING_QUESTIONS as oa, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as oc, deriveCommerceCheckoutState as oi, checkRunRequirements as on, pageNavigationSchema as oo, formatTime as or, renderVideo as os, toInternalPaymentSelection as ot, registrationFlowReducer as p, bookingQuestionsAnswerDraftSchema as pa, offeringLabelForPageSurfaceSubject as pc, closedRunCopy as pi, withoutKeptAnswers as pn, formatEventLocation as po, withOccurrenceTitle as pr, systemCustomizeFacetDefinitionsForBlock as ps, registrationBrowserDraft as pt, resolveGuestNextStepCheck as q, eventCalendarDefaultViewSchema as qa, parseBookingCurrencyInputToCents as qi, combinationOffersOf as qn, formatEventHourLabel as qo, buildPassesMembershipsDisplay as qr, getStripeMinimumChargeRequirement as qs, toWaitlistClaimResolveFailure as qt, panelShouldOpen as r, toSelectedCollectionOptionKind as ra, parseMailingListRuntimeContext as rc, EMPTY_COMMERCE_CART_STATE as ri, eventSignInRestoration as rn, PAGE_NAVIGATION as ro, formatEventDateTime as rr, computeMediaTransformStyle as rs, resolveHeadlessEventRegistrationStatus as rt, registrationStepLabel as s, applyAppointmentBookingQuestionsEvent as sa, parseBrevoListId as sc, parseStoredCommerceCartState as si, decideSelectionRequirementsLayout as sn, requestSignIn as so, getImplicitSingleTicketType as sr, resolveImageSourceSetWithContext as ss, onlineBookingUnavailableMessage as st, REGISTRATION_STEP_LABELS as t, selectedBookingCollectionOptionKind as ta, resolveWholeSeriesPaymentDates as tc, membershipClassesLabel as ti, eventSignInDraftStore as tn, createHostedBlockApiConfig as to, formatBookingWhen as tr, ImagePresets as ts, normalizeEventRegistrationMaxTickets as tt, createInitialRegistrationFlowState as u, isAppointmentBookingQuestionsEvent as ua, parseNewsletterListId as uc, resolveSelectedProduct as ui, runFieldErrors as un, eventOnlinePlace as uo, getVisibleTicketTypes as ur, resolveMediaNodeResponsiveImage as us, buildReviewedBookingPaymentViewModel as ut, runsSelectionPaymentRequest as v, deriveBookingQuestions as va, publicEventPricingCurrency as vc, normalizeEventRegistrationPageSurfaceSubject as vi, attendanceChoicePending as vn, resolveEventPageLink as vo, getSlidingScaleSelectionMessage as vr, uiTransforms as vs, decideRegistrationEntry as vt, fundingChoice as w, toBookingQuestionsTabDraft as wa, parseSiteId as wc, isOrdinaryPublicEvent as wi, quoteReductions as wn, formatEventRemainingPlaces as wo, canRequestTicketOption as wr, inlineTextToPlainText as ws, invitationSubmission as wt, cardStepServesDates as x, restoreBookingQuestionsAnswers as xa, publicEventPricingType as xc, eventOccurrenceContext as xi, incompleteRunChoiceMessage as xn, isInBookingCutOffWindow as xo, resolveHeldTicketPlaces as xr, asPartialObject as xs, entrySelectionMode as xt, selectionItemLabels as y, isBookingQuestionsOwner as ya, publicEventPricingDisplay as yc, resolveEventRegistrationChoices as yi, canToggleSelectionItem as yn, resolveRuntimeEventDestination as yo, getTicketSelectionRemainingPlaces as yr, SECTION_STATE_KINDS as ys, entryChoosesEvent as yt, shouldPromptForLogin as z, resolveBookingPaymentMode as za, getBookingRedirectStateFromLocation as zi, selectionTicketInputs as zn, eventDateLocale as zo, sweepExpiredSignInReturnDrafts as zr, eventRegistrationErrorEndsCommand as zs, decideRoomStay as zt };
|