@riverbankcms/sdk 0.182.0 → 0.184.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 +83 -4
- package/dist/_dts/{BlocksIslandsHydrator-Bvw2bUif.d.ts → BlocksIslandsHydrator-DjBTJYiF.d.ts} +1 -1
- package/dist/_dts/{Page-B2EAT-bE.d.ts → Page-BpXEM2ET.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-D0vww6rh.d.ts → SdkPreviewMode-Bb3h7KRE.d.ts} +2 -2
- package/dist/_dts/{client-D6T430bk.d.ts → client-DgTRRtl_.d.ts} +14 -1
- package/dist/_dts/{content-types-wZVWccC6.d.ts → content-types-DZQJp_ak.d.ts} +9 -16
- package/dist/_dts/{contracts-B-vtOcr8.d.ts → contracts-Ww1fmd-c.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-CxfwHE6z.d.ts → generatePageMetadata-BGc7dju6.d.ts} +2 -2
- package/dist/_dts/{index-CciRW_w1.d.ts → index-BECaUNYs.d.ts} +2 -2
- package/dist/_dts/{index-CEyYMhLJ.d.ts → index-Cc85KVLW.d.ts} +3 -3
- package/dist/_dts/{index-CQrb3Ccc.d.ts → index-Cni4jykw.d.ts} +4 -4
- package/dist/_dts/{index-DIU-wL1M.d.ts → index-DxxTQ_0V.d.ts} +2 -2
- package/dist/_dts/{index-Cqxis-nv.d.ts → index-W9-7djG3.d.ts} +1 -1
- package/dist/_dts/{index-DqPKdeTk.d.ts → index-ukS-Ffem.d.ts} +1 -1
- package/dist/_dts/{loadContent-D0wrxiSp.d.ts → loadContent-BlSWTlbD.d.ts} +7 -7
- package/dist/_dts/{request-DEwxUSw8.d.ts → request-CZz2BoXJ.d.ts} +89478 -88093
- package/dist/_dts/{resolveBlockData-VaG_MYbN.d.ts → resolveBlockData-D12HXnS3.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-DTwklC_v.d.ts → resolvePageContent-BteMsSGP.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 +10 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +126 -2
- package/dist/_dts/{serviceBookingOutline-DtQuFlID.d.ts → serviceBookingOutline-aTlOvO3U.d.ts} +16 -8
- package/dist/_dts/{types-B3RjeBLV.d.ts → types-Bi7R07RX.d.ts} +45 -4
- package/dist/_dts/{types-BvUSGQrw.d.ts → types-CCcQlRBi.d.ts} +22 -12
- package/dist/_dts/{types-CkRFtBqd.d.ts → types-Du4aMnWC.d.ts} +13 -15
- package/dist/_dts/{validation-BZA3DhcV.d.ts → validation-CjCWVmwe.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CQMf0HdN.mjs → BlocksIslandsHydrator-CFLWxjxR.mjs} +22 -18
- package/dist/client/{BookingMailingListNote-7kdvuPow.mjs → BookingMailingListNote-C4LcfwyA.mjs} +8 -8
- package/dist/client/{BookingQuestionFields-BJI7mZuV.mjs → BookingQuestionFields-DdcmoHqQ.mjs} +2 -2
- package/dist/client/{CalendarAction-D_Glwvz2.mjs → CalendarAction-DYGewmvh.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-DPUD6wjy.mjs → CalendarNavigationChevron-ZfrUiiiI.mjs} +25 -8
- package/dist/client/{CheckboxChoice-C8i4NraK.mjs → CheckboxChoice-CTMIII37.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-8kwNF9HN.mjs → DemoBookingPortalAccess-pzkGVkgG.mjs} +7 -5
- package/dist/client/{EventCalendar.client-Dhb14bcC.mjs → EventCalendar.client-Ct1B3xI4.mjs} +10 -10
- package/dist/client/{EventCombined.client-C1jEZBN9.mjs → EventCombined.client-DgfNtcgW.mjs} +9 -9
- package/dist/client/{EventEmbeddedCheckoutStep-BGkbUhuw.mjs → EventEmbeddedCheckoutStep-CjoaG1zy.mjs} +1 -1
- package/dist/client/{EventItem-Bb0ppG2N.mjs → EventItem-KGKkK19N.mjs} +29 -14
- package/dist/client/{EventListWeekNavigation-DMryCaNV.mjs → EventListWeekNavigation-Ba9ezxuC.mjs} +1 -1
- package/dist/client/{EventListing.client-BuH5kKA3.mjs → EventListing.client-xFKRDLwC.mjs} +3 -3
- package/dist/client/{EventListing.view-DsqvuulZ.mjs → EventListing.view-Dy36vWHi.mjs} +84 -7
- package/dist/client/{EventRegistrationPayment-D4FvQSFF.mjs → EventRegistrationPayment-Dth9L00x.mjs} +118 -76
- package/dist/client/{Page-sV6BJkXX.mjs → Page-DB5KODiu.mjs} +4491 -1398
- package/dist/client/{ProtectedSubmitButton-BNnKuir8.mjs → ProtectedSubmitButton-CY6u5sQa.mjs} +1 -1
- package/dist/client/{SiteTermsAgreementField-VfSd6JU-.mjs → SiteTermsAgreementField-BDVP_HeK.mjs} +3 -3
- package/dist/client/{StepIndicator-B6o5B7g3.mjs → StepIndicator-CLgDVzCs.mjs} +1 -1
- package/dist/client/{StepIndicator-BTqO7cJl.mjs → StepIndicator-DRyZ8igu.mjs} +7 -7
- package/dist/client/{ThemedButton-PFOhXktM.mjs → ThemedButton-C4rCsPCt.mjs} +52 -10
- package/dist/client/{accessibleSurfaces-BogaGutk.mjs → accessibleSurfaces-CqroimVQ.mjs} +1024 -619
- package/dist/client/{accordion-6cuswD_s.mjs → accordion-BQYRP5xV.mjs} +1 -1
- package/dist/client/{booking-form.client-BOMe_SKi.mjs → booking-form.client-B7ckDuOC.mjs} +191 -71
- package/dist/client/{bookingForm-DSCH-VHo.mjs → bookingForm-BeD4650p.mjs} +7 -6
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-BFuqZCfz.mjs → boxStyleClassNames-CA7FirMH.mjs} +2 -2
- package/dist/client/buttonParts-C39GC0kz.mjs +1518 -0
- package/dist/client/{carousel-CGyQVV1M.mjs → carousel-DJ9Aa1m3.mjs} +2 -2
- package/dist/client/{carousel.client-BtLwHefX.mjs → carousel.client-DKWqVHHh.mjs} +1 -1
- package/dist/client/{cart-BYOe7MCh.mjs → cart-DdCenbTy.mjs} +3 -3
- package/dist/client/{cart.client-BKFkaXdV.mjs → cart.client-BQm06qNw.mjs} +1 -1
- package/dist/client/{checkout-Dwd7Di77.mjs → checkout-45wPQULN.mjs} +3 -3
- package/dist/client/{checkout.client-C25hpi-z.mjs → checkout.client-bSv4cc5z.mjs} +1 -1
- package/dist/client/{checkoutUrls-tG788sw0.mjs → checkoutUrls-CwlaMl3W.mjs} +1 -1
- package/dist/client/client.mjs +460 -119
- package/dist/client/{constants-DdxFG3Ic.mjs → constants-DXV4KR7l.mjs} +1 -1
- package/dist/client/{context-Hi1RuYEM.mjs → context-lCPfX-xe.mjs} +15 -5
- package/dist/client/{dateFormatting-C8vBCHuo.mjs → dateFormatting-HvfmS_cH.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-BAL5UIDG.mjs → demoPortalMagicLink-Ce3Gyin_.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-Dv1Lr9kJ.mjs → enhanceHeaderSection-CGcDE9aE.mjs} +4 -4
- package/dist/client/{event-registration.client-dB_Z7bb-.mjs → event-registration.client-DlPfn4YG.mjs} +52 -29
- package/dist/client/{eventCalendar-CQnRA4Ww.mjs → eventCalendar-CioAdryV.mjs} +4 -4
- package/dist/client/{eventCombined-BDOG1hVp.mjs → eventCombined-Dwt0G6ez.mjs} +4 -4
- package/dist/client/{eventListing-DSVmhy9n.mjs → eventListing-B3H9ifOC.mjs} +4 -4
- package/dist/client/{eventRegistration-CD5mRtEH.mjs → eventRegistration-Do7cAhXb.mjs} +7 -6
- package/dist/client/{form-DWnlEVSK.mjs → form-CsqzgC6v.mjs} +3 -3
- package/dist/client/{form.client-D7zmeqNI.mjs → form.client-DVDB7hY6.mjs} +5 -5
- package/dist/client/{form.parts-C-G6N_MK.mjs → form.parts-1q2rzSYt.mjs} +3 -3
- package/dist/client/gifting/client.mjs +16 -9
- package/dist/client/{gifting-Cn0jidP5.mjs → gifting-BrXQGX-k.mjs} +4 -4
- package/dist/client/{gifting.client-DVo1YFLs.mjs → gifting.client--zAjnY5N.mjs} +155 -85
- package/dist/client/gifting.interactive-CrwHpUJG.mjs +207 -0
- package/dist/client/gifting.parts-CcKdDaQq.mjs +124 -0
- package/dist/client/{headerSection-DjQuj_6v.mjs → headerSection-DlcDH4bi.mjs} +2 -2
- package/dist/client/{noop-jesvJXEE.mjs → islands-dMh0Oxli.mjs} +16103 -7965
- package/dist/client/{newsletter-form.client-rIYPziZC.mjs → newsletter-form.client-BxA1PsdS.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-DVt3enLr.mjs → newsletter-form.interactive-D0iRg7p2.mjs} +229 -197
- package/dist/client/{newsletter-form.parts-CH6dGfdn.mjs → newsletter-form.parts-Dmuklz0r.mjs} +2 -2
- package/dist/client/{newsletterForm-Cg8cBDHd.mjs → newsletterForm-CBzvgIfg.mjs} +3 -3
- package/dist/client/portal/client.mjs +51 -35
- package/dist/client/{portalOrders-oEoTvzkW.mjs → portalOrders-tCxS04g0.mjs} +3 -2
- package/dist/client/{portalRoutes-ByyVZfVq.mjs → portalRoutes-DiGibcZI.mjs} +31 -9
- package/dist/client/portalSession-0XhXyTxT.mjs +41 -0
- package/dist/client/{product-detail.client-5aHq-vuu.mjs → product-detail.client-D9MP8hvH.mjs} +1 -1
- package/dist/client/{product-list.client-CyAk5rnC.mjs → product-list.client-wCz1qcUY.mjs} +1 -1
- package/dist/client/{productDetail-B8aZ2mqY.mjs → productDetail-D9-fCY6c.mjs} +3 -3
- package/dist/client/{productList-BuLemmod.mjs → productList-PJyxXSac.mjs} +3 -3
- package/dist/client/{propsDecoder-0Unsqn3R.mjs → propsDecoder-B8lrKGPw.mjs} +4 -2
- package/dist/client/{registry.server-DzvtVVD0.mjs → registry.server-CI63JVHW.mjs} +2444 -1078
- package/dist/client/rendering/client.mjs +32 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-Bnng7JFA.mjs → richText-coerce-Jt9hDHdh.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-BGfcc9sk.mjs → routeIslandApiConfig-ZSPcJWx1.mjs} +1 -1
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +3 -0
- package/dist/client/{runtimeResponse-DAPVRToN.mjs → runtimeResponse-_iW9oEYc.mjs} +1 -1
- package/dist/client/{shop-GuMqnDL-.mjs → shop-CbdJlWOw.mjs} +3 -3
- package/dist/client/{shop-commerce-D5bDY1o1.mjs → shop-commerce-BqLbzUUn.mjs} +47 -28
- package/dist/client/{shop-commerce-store-B7sHnLwI.mjs → shop-commerce-store-BT0-zRqN.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-Dos2zdC2.mjs → shop-discount-apply.state-Cws0lnSb.mjs} +2 -2
- package/dist/client/{shop.client-uvj5GDZb.mjs → shop.client-0cNErhJT.mjs} +54 -24
- package/dist/client/{shopShared-3giNWE3H.mjs → shopShared-COuQ2MhQ.mjs} +2 -2
- package/dist/client/spam-protection.mjs +1 -1
- package/dist/client/{src-CmXh3JWs.mjs → src-Do_s2lqH.mjs} +11 -18
- package/dist/client/{timetableModel-GA-hn1qM.mjs → timetableModel-DqI6U1BS.mjs} +11 -8
- package/dist/client/{urlParams-C2QHo1Pa.mjs → useAutomaticDiscountPreview-CeVUVzGf.mjs} +44 -1
- package/dist/client/{useAvailableSlots-CBneCxbG.mjs → useAvailableSlots-B0mjVhZr.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-D0kGF0C7.mjs → useDiscountCodeUi-B_hfgdAP.mjs} +6 -2
- package/dist/client/{useEventPagination-xX8n_Tuu.mjs → useEventPagination-Ct4A6iR1.mjs} +14 -16
- package/dist/client/{view-DOyZc-DF.mjs → view-Cj151w4m.mjs} +24 -9
- package/dist/client/{wizardSteps-B952ify5.mjs → wizardSteps-B3gsXNnb.mjs} +283 -222
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-aRJjq4x8.mjs → EventEmbeddedCheckoutStep-CVy9oapv.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-BW3dRFIv.mjs → LocationPickerEnvironment-DuRUwUrK.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-Db9BHyXh.mjs → MapLibreEditMap-CdSDYBq9.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-BI3UCdpu.mjs → PageSectionToolbar-Dv4CW0AQ.mjs} +952 -138
- package/dist/preview-next/client/{PreviewEditorSidebar-jkfLVOgY.mjs → PreviewEditorSidebar-B7WW58uE.mjs} +4774 -2040
- package/dist/preview-next/client/{PreviewEditorUI-DwJQs4hM.mjs → PreviewEditorUI-BnJ1ughv.mjs} +71 -47
- package/dist/preview-next/client/{PreviewShell-BAxAkuz8.mjs → PreviewShell-C7qWzAe4.mjs} +72 -40
- package/dist/preview-next/client/{SdkPreviewModeRuntime-0UVB-39f.mjs → SdkPreviewModeRuntime-CYi4UHtG.mjs} +135 -30
- package/dist/preview-next/client/{ThemedButton-CVYz7h68.mjs → ThemedButton-CRgbU75r.mjs} +799 -17
- package/dist/preview-next/client/{lucide-react-00FF_oar.mjs → lucide-react-B4c6U3ZU.mjs} +11 -1
- package/dist/preview-next/client/{previewAssistantSlot-BgiYk3PB.mjs → previewAssistantSlot-DrUoRNu9.mjs} +24203 -9291
- package/dist/preview-next/client/{previewChromeRoot-tieNdF3E.mjs → previewChromeRoot-CEYp90mM.mjs} +3 -90
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DXb_Evl0.mjs → sdk-runtime-DnO2_c0A.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-BlN0jt2c.mjs → siteStyleAccess-B3PwHw2z.mjs} +46 -11
- package/dist/preview-next/client/{useAutosaveStatus-BUEPA4oL.mjs → useAutosaveStatus-DrdQ4ier.mjs} +49 -3
- package/dist/preview-next/client/{useOpenBlockForSetup-BVfr5P--.mjs → useOpenBlockForSetup-kuGRKaRL.mjs} +2008 -448
- package/dist/preview-next/container-responsive.css +469 -2
- 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-BHTBA48n.mjs → route-contract-CwrXkLT3.mjs} +177 -43
- package/dist/server/{Block.shared-hGoyEdjJ.mjs → Block.shared-C5ucphCJ.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-BfUCTOwj.mjs → ThemeScopeCore-DvbqYXdK.mjs} +46 -10
- package/dist/server/{accessibleSurfaces-Dskni4Xj.mjs → accessibleSurfaces-CAcf1lHT.mjs} +732 -176
- package/dist/server/{accordions-By_0Ykks.mjs → accordions-DjcsqjCK.mjs} +1 -1
- package/dist/server/{bindings-DMJH4bvo.mjs → bindings-CFw4M-gZ.mjs} +69 -248
- package/dist/server/{client-DrwlRNAH.mjs → client-D0XCgITW.mjs} +488 -119
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-CeMywaiD.mjs → constants-BZduY8jG.mjs} +31 -8
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +4 -4
- package/dist/server/{loadContent-D0prFflT.mjs → loadContent-C-qyB8Tq.mjs} +11 -10
- package/dist/server/{loadPage-CBLke9pJ.mjs → loadPage-BpKKmi8E.mjs} +3 -3
- package/dist/server/lookMediaFrame-EFws7tAj.mjs +31835 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-wrcuWmgp.mjs → navigation-DYkuiNXa.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-DUgCEH8z.mjs → overrideResolution-DmZn4xUE.mjs} +1 -1
- package/dist/server/page-converter.mjs +18 -5
- package/dist/server/{pageRenderPlan-BHrmogsW.mjs → pageRenderPlan-DRB7cUZ0.mjs} +674 -298
- package/dist/server/{pageRuntimeSupport-D2-YMRei.mjs → pageRuntimeSupport-Uv1xDieJ.mjs} +13 -6
- package/dist/server/{pageShared-CG8O31Eo.mjs → pageShared-BdQF875z.mjs} +911 -516
- package/dist/server/{parseThemeForPersistence-CrPlbJEN.mjs → parseThemeForPersistence-CwcWZL7u.mjs} +3 -3
- package/dist/server/{portal-pG_uhsI2.mjs → portal-BQ8qiQnk.mjs} +22 -2
- package/dist/server/portal.mjs +3 -3
- package/dist/server/{prebuild-C8Amvzce.mjs → prebuild-B51QZVNe.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BxUETRIZ.mjs → prefetchBlockData-CppDAfJW.mjs} +4 -4
- package/dist/server/{registry-Cc88-23f.mjs → registry-Bf4W8Qa7.mjs} +7585 -24378
- 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 +10 -10
- package/dist/server/{resolveBlockData-OG3KOkig.mjs → resolveBlockData-DMHAZooQ.mjs} +2 -2
- package/dist/server/{expandPalette-ehuW8r2g.mjs → resolveButtonColourStates-BMtAAPzp.mjs} +1670 -1346
- package/dist/server/{responseMedia-IfH65QAH.mjs → responseMedia-DKYfR518.mjs} +1 -1
- package/dist/server/{schema-CwfxQjc4.mjs → schema-DGaihVwp.mjs} +300 -29
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-BcFuhhD7.mjs → servicePageContent-CRvmreX7.mjs} +40 -16
- package/dist/server/theme-bridge.mjs +5 -4
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-DPaUPTfl.mjs → three-pass-converter-mcy2E1Yd.mjs} +2 -2
- package/dist/server/{titleSourceSchema-NhK6azFS.mjs → titleSourceSchema-B2qFOUwZ.mjs} +4 -5
- package/dist/server/{typeGuards-CTW_9AXq.mjs → typeGuards-DZOaGTEv.mjs} +126 -126
- package/dist/server/{types-BKaBZFjD.mjs → types-C_S0pWbR.mjs} +487 -9
- package/dist/server/{validation-BovmbS8N.mjs → validation-CUtNT_EZ.mjs} +14 -10
- package/dist/server/{version-hws4hgyX.mjs → version-DebJQ4zn.mjs} +1 -1
- package/dist/server/{video-Cdr3wh-q.mjs → video-DBaeSawZ.mjs} +1 -1
- package/dist/styles/index.css +2987 -168
- package/package.json +1 -1
- package/dist/client/gifting.parts-Bak93gD2.mjs +0 -86
- package/dist/client/runtimeResponse-nXT8VAMl.mjs +0 -3
- package/dist/client/types-BEaKfam_.mjs +0 -778
- package/dist/server/customCss-C9kgPHvr.mjs +0 -247
- package/dist/server/lookMediaFrame-H0fi4bJk.mjs +0 -2701
- package/dist/server/media-gvfIw3z8.mjs +0 -216
|
@@ -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 { A as PUBLIC_BUTTON_ROLES, H as rgbColorValue, R as backgroundColorStyle, U as textColorStyle, V as mergeStyles } from "./accessibleSurfaces-
|
|
9
|
-
import {
|
|
6
|
+
import { U as stylePhotoShapesBySkin, Xt as resolveEffectiveKnobs, Yt as blockAppearancePresets, _n as cardListKnobBlocks, a as defineClientOwnedBlockRuntime, d as listLookSlot, gn as cardListFamilyBlocks, i as createZodCodec, n as createInteractiveIslandCodec, nt as isDrawnImageShape, r as defineInteractiveIslandMetaKeys, rt as photoShapeDrawing, t as buildInteractiveIslandProps, tt as imageShapeGeometry, u as listLookControl, yn as photoShapeKnobBlocks } from "./islands-dMh0Oxli.mjs";
|
|
7
|
+
import { I as parseColorTokenParts, O as blockColorTokenNames } from "./buttonParts-C39GC0kz.mjs";
|
|
8
|
+
import { A as PUBLIC_BUTTON_ROLES, H as rgbColorValue, R as backgroundColorStyle, U as textColorStyle, V as mergeStyles } from "./accessibleSurfaces-CqroimVQ.mjs";
|
|
9
|
+
import { O as clsx } from "./ThemedButton-C4rCsPCt.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";
|
|
@@ -1390,6 +1390,10 @@ function earlierBookingUnpaid(subject, otherwise = "") {
|
|
|
1390
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.`;
|
|
1391
1391
|
}
|
|
1392
1392
|
earlierBookingUnpaid("this run");
|
|
1393
|
+
const defaultEventRegistrationErrorAppearance = {
|
|
1394
|
+
heading: "We couldn’t complete your booking",
|
|
1395
|
+
tone: "error"
|
|
1396
|
+
};
|
|
1393
1397
|
const eventRegistrationErrors = {
|
|
1394
1398
|
invalidAnswers: {
|
|
1395
1399
|
endsCommand: false,
|
|
@@ -1412,8 +1416,10 @@ const eventRegistrationErrors = {
|
|
|
1412
1416
|
action: "none"
|
|
1413
1417
|
},
|
|
1414
1418
|
paymentInvestigationRequired: {
|
|
1419
|
+
heading: "We can’t confirm your payment yet",
|
|
1420
|
+
tone: "warning",
|
|
1415
1421
|
endsCommand: false,
|
|
1416
|
-
message: "
|
|
1422
|
+
message: "Please don’t make another payment. Contact the organiser so they can check your booking.",
|
|
1417
1423
|
action: "none"
|
|
1418
1424
|
},
|
|
1419
1425
|
paymentProviderUnavailable: {
|
|
@@ -1493,8 +1499,10 @@ const eventRegistrationErrors = {
|
|
|
1493
1499
|
action: "none"
|
|
1494
1500
|
},
|
|
1495
1501
|
registrationAlreadyExists: {
|
|
1502
|
+
heading: "You already have a booking for this event",
|
|
1503
|
+
tone: "info",
|
|
1496
1504
|
endsCommand: false,
|
|
1497
|
-
message: "You
|
|
1505
|
+
message: "You can see it in your bookings, and finish paying there if it still needs paying. If you need help, contact the organiser.",
|
|
1498
1506
|
action: "portal"
|
|
1499
1507
|
},
|
|
1500
1508
|
holdExpired: {
|
|
@@ -1513,8 +1521,10 @@ const eventRegistrationErrors = {
|
|
|
1513
1521
|
action: "payment-options"
|
|
1514
1522
|
},
|
|
1515
1523
|
idempotencyConflict: {
|
|
1524
|
+
heading: "You’ve already started booking this event",
|
|
1525
|
+
tone: "info",
|
|
1516
1526
|
endsCommand: false,
|
|
1517
|
-
message: "
|
|
1527
|
+
message: "Please finish in the other tab if it’s still open. If it isn’t, check your bookings before starting again.",
|
|
1518
1528
|
action: "portal"
|
|
1519
1529
|
},
|
|
1520
1530
|
/**
|
|
@@ -2692,41 +2702,117 @@ function parseBlockColorToken(value) {
|
|
|
2692
2702
|
}
|
|
2693
2703
|
//#endregion
|
|
2694
2704
|
//#region ../theme-core/src/site-styles/lookMediaFrame.ts
|
|
2695
|
-
function
|
|
2705
|
+
function drawn(value) {
|
|
2706
|
+
return isDrawnImageShape(value) ? value : void 0;
|
|
2707
|
+
}
|
|
2708
|
+
function resolveLookMediaFrame(frames, skin, knobs = {}, styles = stylePhotoShapesBySkin) {
|
|
2696
2709
|
if (!frames) return void 0;
|
|
2697
|
-
const
|
|
2698
|
-
|
|
2699
|
-
|
|
2700
|
-
|
|
2701
|
-
|
|
2702
|
-
|
|
2703
|
-
|
|
2704
|
-
|
|
2705
|
-
|
|
2706
|
-
}
|
|
2710
|
+
const exception = skin ? frames.bySkin?.[skin] : void 0;
|
|
2711
|
+
const chosen = chosenShape(frames, exception, skin, knobs, styles);
|
|
2712
|
+
return withShape(exception ?? frames.default, chosen.shape, chosen.proportions);
|
|
2713
|
+
}
|
|
2714
|
+
function chosenShape(frames, exception, skin, knobs, styles) {
|
|
2715
|
+
const owner = drawn(knobs.imageShape);
|
|
2716
|
+
if (owner) return {
|
|
2717
|
+
shape: owner,
|
|
2718
|
+
proportions: "shape-proportions"
|
|
2719
|
+
};
|
|
2720
|
+
const declared = drawn(frames.default.shape) ?? drawn(exception?.shape);
|
|
2721
|
+
if (declared) return {
|
|
2722
|
+
shape: declared,
|
|
2723
|
+
proportions: "frame-proportions"
|
|
2724
|
+
};
|
|
2725
|
+
return {
|
|
2726
|
+
shape: skin ? drawn(styles.get(skin)?.defaults[frames.photoKind]) : void 0,
|
|
2727
|
+
proportions: "shape-proportions"
|
|
2728
|
+
};
|
|
2729
|
+
}
|
|
2730
|
+
/**
|
|
2731
|
+
* A shape named in a frame keeps that frame's proportions (Lantern's arch is 3/4). An owner's or
|
|
2732
|
+
* style default's outline shape with proportions of its own brings a fixed frame; corner shapes
|
|
2733
|
+
* and shapes without proportions keep the frame either way.
|
|
2734
|
+
*/
|
|
2735
|
+
function withShape(frame, shape, proportions) {
|
|
2736
|
+
const { shape: _declared, ...unshaped } = frame;
|
|
2737
|
+
if (!shape) return unshaped;
|
|
2738
|
+
const geometry = imageShapeGeometry[shape];
|
|
2739
|
+
const borderRadius = geometry.variants[0].radius;
|
|
2740
|
+
return geometry.aspectRatio && proportions === "shape-proportions" ? {
|
|
2741
|
+
kind: "fixed",
|
|
2742
|
+
aspectRatio: geometry.aspectRatio,
|
|
2743
|
+
shape,
|
|
2744
|
+
borderRadius
|
|
2745
|
+
} : {
|
|
2746
|
+
...unshaped,
|
|
2747
|
+
shape,
|
|
2748
|
+
borderRadius
|
|
2749
|
+
};
|
|
2750
|
+
}
|
|
2751
|
+
function variantVars(variant, draws) {
|
|
2752
|
+
return [`--rb-look-media-radius: ${variant.radius};`, ...draws === "outline" ? [`--rb-look-media-clip: ${variant.clip ?? "none"};`, "--rb-look-media-decoration: none;"] : []];
|
|
2753
|
+
}
|
|
2754
|
+
function shapeVars(shape) {
|
|
2755
|
+
const geometry = imageShapeGeometry[shape];
|
|
2756
|
+
return [...geometry.aspectRatio ? [`--rb-look-media-ratio: ${geometry.aspectRatio};`] : [], ...variantVars(geometry.variants[0], geometry.draws)];
|
|
2707
2757
|
}
|
|
2708
2758
|
function frameVars(frame) {
|
|
2709
|
-
if (frame.kind === "corners") return `--rb-look-media-radius: ${frame.borderRadius};`;
|
|
2710
2759
|
return [
|
|
2711
2760
|
`--rb-look-media-ratio: ${frame.aspectRatio};`,
|
|
2712
|
-
...frame.borderRadius ? [`--rb-look-media-radius: ${frame.borderRadius};`] : [],
|
|
2713
2761
|
...frame.kind === "variable" && frame.firstAspectRatio ? [`--rb-look-media-first-ratio: ${frame.firstAspectRatio};`] : [],
|
|
2714
2762
|
...frame.kind === "variable" && frame.height ? [`--rb-look-media-height: ${frame.height};`] : [],
|
|
2715
|
-
...frame.kind === "variable" && frame.mobileAspectRatio ? [`--rb-look-media-mobile-ratio: ${frame.mobileAspectRatio};`] : []
|
|
2763
|
+
...frame.kind === "variable" && frame.mobileAspectRatio ? [`--rb-look-media-mobile-ratio: ${frame.mobileAspectRatio};`] : [],
|
|
2764
|
+
...frame.shape ? shapeVars(frame.shape).filter((line) => !line.startsWith("--rb-look-media-ratio")) : []
|
|
2716
2765
|
].join(" ");
|
|
2717
2766
|
}
|
|
2718
|
-
/**
|
|
2719
|
-
function
|
|
2767
|
+
/** Where each block's photo sits, which is the element the shape draws. */
|
|
2768
|
+
function shapedSlot(blockKind) {
|
|
2769
|
+
switch (blockKind) {
|
|
2770
|
+
case "block.intro":
|
|
2771
|
+
case "block.media-text": return "[data-slot=\"photo\"]";
|
|
2772
|
+
case "block.image-gallery": return "[data-slot=\"media\"]";
|
|
2773
|
+
default: return "[data-slot=\"item-media\"] [data-slot=\"photo\"]";
|
|
2774
|
+
}
|
|
2775
|
+
}
|
|
2776
|
+
/**
|
|
2777
|
+
* The shape reaches the photo only through these variables. The rule stands in for the inline
|
|
2778
|
+
* radius it replaced, so it wins over a skin's ordinary photo corners the same way.
|
|
2779
|
+
*/
|
|
2780
|
+
function shapeConsumer(prefix, blockKind, frames, shape) {
|
|
2781
|
+
const geometry = imageShapeGeometry[shape];
|
|
2782
|
+
const declarations = ["border-radius: var(--rb-look-media-radius) !important;", ...geometry.draws === "outline" ? ["clip-path: var(--rb-look-media-clip) !important;"] : []];
|
|
2783
|
+
const variants = frames.photoKind === "card" || frames.photoKind === "gallery" ? geometry.variants.slice(1).map((variant, index) => `${prefix} :is([data-slot="item"], [data-card-list-item]):nth-child(${geometry.variants.length}n + ${index + 2}) { ${variantVars(variant, geometry.draws).join(" ")} }`) : [];
|
|
2784
|
+
return [`${prefix} ${shapedSlot(blockKind)} { ${declarations.join(" ")} }`, ...variants];
|
|
2785
|
+
}
|
|
2786
|
+
/** Skins whose frame differs from the Look's own: a `bySkin` exception or a style default shape. */
|
|
2787
|
+
function framedSkins(frames, styles) {
|
|
2788
|
+
const styleShaped = drawn(frames.default.shape) ? [] : [...styles.keys()].filter((skin) => drawn(styles.get(skin)?.defaults[frames.photoKind]) !== void 0);
|
|
2789
|
+
return [.../* @__PURE__ */ new Set([...Object.keys(frames.bySkin ?? {}), ...styleShaped])];
|
|
2790
|
+
}
|
|
2791
|
+
/** The same declaration supplies the editor frame and the CSS's crop and shape values. */
|
|
2792
|
+
function generateLookMediaFrameCss(themeId, styles = stylePhotoShapesBySkin) {
|
|
2793
|
+
const knobShapes = [...new Set([...styles.values()].flatMap((style) => style.supported))].filter(isDrawnImageShape);
|
|
2720
2794
|
return blockAppearancePresets.flatMap((look) => {
|
|
2721
2795
|
const frames = look.structure.kind === "arrangement" ? look.structure.mediaFrame : void 0;
|
|
2722
|
-
if (!frames) return [];
|
|
2796
|
+
if (!frames || look.structure.kind !== "arrangement") return [];
|
|
2723
2797
|
const scope = `:where([data-theme-scope="${themeId}"])`;
|
|
2724
2798
|
const selector = `[data-look="${look.id}"]`;
|
|
2725
|
-
|
|
2726
|
-
|
|
2727
|
-
|
|
2728
|
-
|
|
2729
|
-
|
|
2799
|
+
const blockKind = look.blockKinds[0] ?? "";
|
|
2800
|
+
const framed = (prefix, frame) => {
|
|
2801
|
+
const vars = frameVars(frame);
|
|
2802
|
+
return [...vars ? [`${prefix} { ${vars} }`] : [], ...frame.shape ? shapeConsumer(prefix, blockKind, frames, frame.shape) : []];
|
|
2803
|
+
};
|
|
2804
|
+
const scopes = [{
|
|
2805
|
+
prefix: `${scope} ${selector}`,
|
|
2806
|
+
skin: void 0
|
|
2807
|
+
}, ...framedSkins(frames, styles).map((skin) => ({
|
|
2808
|
+
prefix: `${scope} :is([data-skin="${skin}"], [data-skin="${skin}"] *)${selector}`,
|
|
2809
|
+
skin
|
|
2810
|
+
}))];
|
|
2811
|
+
const rules = (knobs, suffix = "") => scopes.flatMap(({ prefix, skin }) => {
|
|
2812
|
+
const frame = resolveLookMediaFrame(frames, skin, knobs, styles);
|
|
2813
|
+
return frame ? framed(`${prefix}${suffix}`, frame) : [];
|
|
2814
|
+
});
|
|
2815
|
+
return [...rules({}), ...look.structure.knobs.includes("imageShape") ? knobShapes.flatMap((shape) => rules({ imageShape: shape }, `[data-knob-image-shape="${shape}"]`)) : []];
|
|
2730
2816
|
}).join("\n");
|
|
2731
2817
|
}
|
|
2732
2818
|
const inlineTextMarkSchema = z.discriminatedUnion("kind", [
|
|
@@ -2918,6 +3004,29 @@ function sectionStateToneFromUnknown(value) {
|
|
|
2918
3004
|
//#endregion
|
|
2919
3005
|
//#region ../blocks/src/system/transforms/registry/ui.ts
|
|
2920
3006
|
const joinClasses = (parts) => parts.filter((part) => typeof part === "string" && part.trim().length > 0).join(" ").replace(/\s+/g, " ").trim();
|
|
3007
|
+
/** Looks own their generated frame; standalone photos draw authored shapes from the same catalogue. */
|
|
3008
|
+
const photoFrameStyleTransform = {
|
|
3009
|
+
id: "ui.photoFrameStyle",
|
|
3010
|
+
kind: "formatter",
|
|
3011
|
+
summary: "Keep authored photo shapes when no Look supplies a frame",
|
|
3012
|
+
run: (value, options) => photoFrameStyle(value, options?.fallbackRatio)
|
|
3013
|
+
};
|
|
3014
|
+
/** The planner sets a block's effective Look; with one, the Look owns the photo's frame and the split pane's height. */
|
|
3015
|
+
function lookApplies(content) {
|
|
3016
|
+
return content?._effectiveLook !== void 0 && content._effectiveLook !== null;
|
|
3017
|
+
}
|
|
3018
|
+
function photoFrameStyle(value, fallbackRatio) {
|
|
3019
|
+
const content = asPartialObject(value);
|
|
3020
|
+
const shape = !lookApplies(content) && isDrawnImageShape(content?.imageShape) ? photoShapeDrawing(content.imageShape) : null;
|
|
3021
|
+
return {
|
|
3022
|
+
aspectRatio: typeof content?.aspectRatio === "string" ? content.aspectRatio : fallbackRatio,
|
|
3023
|
+
...shape ? {
|
|
3024
|
+
borderRadius: shape.borderRadius,
|
|
3025
|
+
clipPath: shape.clipPath,
|
|
3026
|
+
overflow: "hidden"
|
|
3027
|
+
} : {}
|
|
3028
|
+
};
|
|
3029
|
+
}
|
|
2921
3030
|
const eyebrowTreatmentClassMap = {
|
|
2922
3031
|
plain: "",
|
|
2923
3032
|
accent: "rb-eyebrow-treatment-accent",
|
|
@@ -2947,13 +3056,6 @@ const imageGalleryCornerClassMap = {
|
|
|
2947
3056
|
"2xl": "rb-rounded-2xl",
|
|
2948
3057
|
"3xl": "rb-rounded-3xl"
|
|
2949
3058
|
};
|
|
2950
|
-
const imageShapeClassMap = {
|
|
2951
|
-
default: "",
|
|
2952
|
-
square: "rb-media-shape-square",
|
|
2953
|
-
rounded: "rb-media-shape-rounded",
|
|
2954
|
-
circle: "rb-media-shape-circle",
|
|
2955
|
-
arch: "rb-media-shape-arch"
|
|
2956
|
-
};
|
|
2957
3059
|
const parseRatio = (raw) => {
|
|
2958
3060
|
if (typeof raw !== "string") return null;
|
|
2959
3061
|
const value = raw.trim();
|
|
@@ -3271,10 +3373,14 @@ const resolveColumnsGridCols$1 = (content) => {
|
|
|
3271
3373
|
};
|
|
3272
3374
|
};
|
|
3273
3375
|
const uiTransforms = [
|
|
3376
|
+
photoFrameStyleTransform,
|
|
3274
3377
|
{
|
|
3275
|
-
id: "look.
|
|
3276
|
-
kind: "
|
|
3277
|
-
run: (value) =>
|
|
3378
|
+
id: "look.splitPhotoStyle",
|
|
3379
|
+
kind: "formatter",
|
|
3380
|
+
run: (value) => ({
|
|
3381
|
+
...photoFrameStyle(value),
|
|
3382
|
+
minHeight: lookApplies(asPartialObject(value)) ? void 0 : "clamp(18rem, 36vw, 34rem)"
|
|
3383
|
+
})
|
|
3278
3384
|
},
|
|
3279
3385
|
headerNavLinkClassTransform,
|
|
3280
3386
|
headingClassFromAlignment,
|
|
@@ -3287,14 +3393,6 @@ const uiTransforms = [
|
|
|
3287
3393
|
heroGridClassFromVerticalAlignmentTransform,
|
|
3288
3394
|
imageFragmentClassTransform,
|
|
3289
3395
|
imageFragmentSizeTransform,
|
|
3290
|
-
{
|
|
3291
|
-
id: "ui.imageShapeClassName",
|
|
3292
|
-
kind: "string",
|
|
3293
|
-
summary: "Apply a constrained media shape class",
|
|
3294
|
-
run: (value, options) => {
|
|
3295
|
-
return joinClasses([typeof options?.baseClass === "string" ? options.baseClass : "", imageShapeClassMap[typeof value === "string" ? value.trim() : "default"] ?? ""]);
|
|
3296
|
-
}
|
|
3297
|
-
},
|
|
3298
3396
|
conditionalClassTransform,
|
|
3299
3397
|
twoColumnContainerClassTransform,
|
|
3300
3398
|
twoColumnFlexBasisTransform,
|
|
@@ -3470,6 +3568,15 @@ const standardAspectRatioOptions = [
|
|
|
3470
3568
|
label: "9:16 (Tall portrait)"
|
|
3471
3569
|
}
|
|
3472
3570
|
];
|
|
3571
|
+
/** How a settings row's line says each crop. */
|
|
3572
|
+
const standardAspectRatioPhrases = {
|
|
3573
|
+
auto: "not cropped",
|
|
3574
|
+
"16/9": "cropped to 16:9",
|
|
3575
|
+
"4/3": "cropped to 4:3",
|
|
3576
|
+
"1/1": "cropped square",
|
|
3577
|
+
"3/4": "cropped to 3:4",
|
|
3578
|
+
"9/16": "cropped to 9:16"
|
|
3579
|
+
};
|
|
3473
3580
|
function createAspectRatioField(options = {}) {
|
|
3474
3581
|
return {
|
|
3475
3582
|
id: options.id ?? "aspectRatio",
|
|
@@ -3508,18 +3615,19 @@ const heroTitleSizeOptions = [
|
|
|
3508
3615
|
];
|
|
3509
3616
|
//#endregion
|
|
3510
3617
|
//#region ../blocks/src/system/fields/imageShape.ts
|
|
3511
|
-
|
|
3618
|
+
/** Every shape in the catalogue, named for what the photo looks like. Looks narrow what's offered. */
|
|
3619
|
+
const imageShapeOptions = [
|
|
3512
3620
|
{
|
|
3513
3621
|
value: "default",
|
|
3514
|
-
label: "
|
|
3622
|
+
label: "Style default"
|
|
3515
3623
|
},
|
|
3516
3624
|
{
|
|
3517
3625
|
value: "square",
|
|
3518
|
-
label: "Square
|
|
3626
|
+
label: "Square"
|
|
3519
3627
|
},
|
|
3520
3628
|
{
|
|
3521
3629
|
value: "rounded",
|
|
3522
|
-
label: "Rounded
|
|
3630
|
+
label: "Rounded"
|
|
3523
3631
|
},
|
|
3524
3632
|
{
|
|
3525
3633
|
value: "circle",
|
|
@@ -3528,18 +3636,34 @@ const standardImageShapeOptions = [
|
|
|
3528
3636
|
{
|
|
3529
3637
|
value: "arch",
|
|
3530
3638
|
label: "Arch"
|
|
3639
|
+
},
|
|
3640
|
+
{
|
|
3641
|
+
value: "pebble",
|
|
3642
|
+
label: "Pebble"
|
|
3643
|
+
},
|
|
3644
|
+
{
|
|
3645
|
+
value: "standing-stone",
|
|
3646
|
+
label: "Standing stone"
|
|
3647
|
+
},
|
|
3648
|
+
{
|
|
3649
|
+
value: "hill-top",
|
|
3650
|
+
label: "Hill top"
|
|
3651
|
+
},
|
|
3652
|
+
{
|
|
3653
|
+
value: "torn",
|
|
3654
|
+
label: "Torn"
|
|
3531
3655
|
}
|
|
3532
3656
|
];
|
|
3533
3657
|
function createImageShapeField(options = {}) {
|
|
3534
3658
|
return {
|
|
3535
3659
|
id: options.id ?? "imageShape",
|
|
3536
3660
|
type: "select",
|
|
3537
|
-
label: options.label ?? "
|
|
3661
|
+
label: options.label ?? "Photo shape",
|
|
3538
3662
|
...options.description ? { description: options.description } : {},
|
|
3539
3663
|
required: false,
|
|
3540
3664
|
defaultValue: options.defaultValue ?? "default",
|
|
3541
3665
|
multiple: false,
|
|
3542
|
-
options: [...
|
|
3666
|
+
options: [...imageShapeOptions],
|
|
3543
3667
|
ui: {
|
|
3544
3668
|
intent: options.uiIntent ?? "display",
|
|
3545
3669
|
...options.visibleWhen ? { visibleWhen: options.visibleWhen } : {}
|
|
@@ -3690,7 +3814,10 @@ const systemCustomizeFacetDefinitions = [
|
|
|
3690
3814
|
value: "right",
|
|
3691
3815
|
label: "Right"
|
|
3692
3816
|
}], "right"),
|
|
3693
|
-
|
|
3817
|
+
{
|
|
3818
|
+
...fixedKnob("block.intro", "imageShape", "Photo shape", imageShapeOptions, "default"),
|
|
3819
|
+
blockKinds: photoShapeKnobBlocks
|
|
3820
|
+
},
|
|
3694
3821
|
fixedKnob("block.intro", "imagePosition", "Photo side", [{
|
|
3695
3822
|
value: "left",
|
|
3696
3823
|
label: "Left"
|
|
@@ -3705,7 +3832,6 @@ const systemCustomizeFacetDefinitions = [
|
|
|
3705
3832
|
value: "right",
|
|
3706
3833
|
label: "Right"
|
|
3707
3834
|
}], "left"),
|
|
3708
|
-
fixedKnob("block.media-text", "imageShape", "Media shape", standardImageShapeOptions, "default"),
|
|
3709
3835
|
fixedKnob("block.media-text", "aspectRatio", "Media aspect ratio", standardAspectRatioOptions, "auto"),
|
|
3710
3836
|
textKnob("stickerLine", "Sticker line", 32),
|
|
3711
3837
|
textKnob("smallCaption", "Small caption", 24),
|
|
@@ -4274,27 +4400,43 @@ function mediaKnobValues(blockKind, mediaLook, values) {
|
|
|
4274
4400
|
function renderedLookMediaFrame(values) {
|
|
4275
4401
|
const effective = asRecord(values._effectiveLook);
|
|
4276
4402
|
const look = blockAppearancePresets.find((candidate) => candidate.id === effectiveLookId(values));
|
|
4277
|
-
if (look?.structure.kind !== "arrangement") return
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4403
|
+
if (look?.structure.kind !== "arrangement") return {
|
|
4404
|
+
frame: void 0,
|
|
4405
|
+
photoKind: void 0
|
|
4406
|
+
};
|
|
4407
|
+
return {
|
|
4408
|
+
frame: resolveLookMediaFrame(look.structure.mediaFrame, asString(effective?.skin), {
|
|
4409
|
+
...values,
|
|
4410
|
+
...look.structure.forcedKnobs
|
|
4411
|
+
}),
|
|
4412
|
+
photoKind: look.structure.mediaFrame?.photoKind
|
|
4413
|
+
};
|
|
4282
4414
|
}
|
|
4283
4415
|
function editorLookMediaFrame(blockKind, mediaLook, values) {
|
|
4284
|
-
|
|
4416
|
+
const frames = mediaLook.look.structure.mediaFrame;
|
|
4417
|
+
return {
|
|
4418
|
+
frame: resolveLookMediaFrame(frames, mediaLook.skin, mediaKnobValues(blockKind, mediaLook, values)),
|
|
4419
|
+
photoKind: frames?.photoKind
|
|
4420
|
+
};
|
|
4285
4421
|
}
|
|
4286
|
-
/** Backgrounds and other photos keep their own contract. */
|
|
4422
|
+
/** Backgrounds and other photos keep their own contract. A Look's photo slot says what kind of photo it holds. */
|
|
4287
4423
|
function slotLookMediaFrame(blockKind, path, input) {
|
|
4288
|
-
if (!blockKind || !isLookPhotoSlot(blockKind, path)) return
|
|
4289
|
-
|
|
4424
|
+
if (!blockKind || !isLookPhotoSlot(blockKind, path)) return {
|
|
4425
|
+
frame: void 0,
|
|
4426
|
+
photoKind: void 0
|
|
4427
|
+
};
|
|
4290
4428
|
const values = input.values ?? {};
|
|
4291
|
-
|
|
4429
|
+
const resolved = input.mediaLook ? editorLookMediaFrame(blockKind, input.mediaLook, values) : renderedLookMediaFrame(values);
|
|
4430
|
+
return input.lookMediaFrame ? {
|
|
4431
|
+
...resolved,
|
|
4432
|
+
frame: input.lookMediaFrame
|
|
4433
|
+
} : resolved;
|
|
4292
4434
|
}
|
|
4293
4435
|
/** The contract and its decided frame, shared by editor presentation and delivery. */
|
|
4294
4436
|
function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fieldUi, lookMediaFrame, mediaLook }) {
|
|
4295
4437
|
const slotPath = normalizeSlotPath(fieldPath);
|
|
4296
4438
|
const variant = asString(values?.variant);
|
|
4297
|
-
const declared = slotLookMediaFrame(blockKind, fieldPath, {
|
|
4439
|
+
const { frame: declared, photoKind } = slotLookMediaFrame(blockKind, fieldPath, {
|
|
4298
4440
|
lookMediaFrame,
|
|
4299
4441
|
mediaLook,
|
|
4300
4442
|
values
|
|
@@ -4310,7 +4452,8 @@ function resolveMediaSlot({ blockKind, fieldPath, values, fieldAspectRatio, fiel
|
|
|
4310
4452
|
const strategyDelivery = resolveStrategyDelivery(blockKind, fieldPath, slotPath, values);
|
|
4311
4453
|
return {
|
|
4312
4454
|
contract: buildContract(edit, mergeDelivery(mergeDelivery(defaultDelivery, fieldDelivery), strategyDelivery)),
|
|
4313
|
-
mediaFrame: frame
|
|
4455
|
+
mediaFrame: frame,
|
|
4456
|
+
photoKind
|
|
4314
4457
|
};
|
|
4315
4458
|
}
|
|
4316
4459
|
function resolveMediaSlotContract(input) {
|
|
@@ -4733,7 +4876,10 @@ function resolveTargetAspectRatio(size) {
|
|
|
4733
4876
|
const AUTHORING_PLACEHOLDER_GROUND = { backgroundColor: "var(--rb-surface-line-color, rgb(var(--tb-surface)))" };
|
|
4734
4877
|
function MediaPlaceholder({ className, style, fieldPath, authoring }) {
|
|
4735
4878
|
return /* @__PURE__ */ jsx("div", {
|
|
4736
|
-
|
|
4879
|
+
...authoring && fieldPath ? {
|
|
4880
|
+
"data-placeholder-field": fieldPath,
|
|
4881
|
+
"data-editor-part": fieldPath
|
|
4882
|
+
} : {},
|
|
4737
4883
|
className: clsx("rb-flex rb-h-48 rb-w-full rb-items-center rb-justify-center", className),
|
|
4738
4884
|
style: mergeStyles(authoring ? AUTHORING_PLACEHOLDER_GROUND : backgroundColorStyle("surface"), style),
|
|
4739
4885
|
children: /* @__PURE__ */ jsx("span", {
|
|
@@ -4987,6 +5133,7 @@ function mediaImageHostProps(props, style) {
|
|
|
4987
5133
|
fetchPriority: props.fetchPriority,
|
|
4988
5134
|
"data-slot": props["data-slot"],
|
|
4989
5135
|
"data-surface": props["data-surface"],
|
|
5136
|
+
"data-photo-shape": props["data-photo-shape"],
|
|
4990
5137
|
decoding: "async"
|
|
4991
5138
|
};
|
|
4992
5139
|
}
|
|
@@ -6086,136 +6233,6 @@ const calendarTabViewsSchema = z.enum([
|
|
|
6086
6233
|
"week"
|
|
6087
6234
|
]);
|
|
6088
6235
|
//#endregion
|
|
6089
|
-
//#region ../blocks/src/contracts/runtime.ts
|
|
6090
|
-
function decodeSuccess(value) {
|
|
6091
|
-
return {
|
|
6092
|
-
ok: true,
|
|
6093
|
-
value
|
|
6094
|
-
};
|
|
6095
|
-
}
|
|
6096
|
-
function decodeFailure(issues) {
|
|
6097
|
-
return {
|
|
6098
|
-
ok: false,
|
|
6099
|
-
issues
|
|
6100
|
-
};
|
|
6101
|
-
}
|
|
6102
|
-
function isDecodeSuccess(result) {
|
|
6103
|
-
return result.ok;
|
|
6104
|
-
}
|
|
6105
|
-
function zodIssuePath(path) {
|
|
6106
|
-
return path.flatMap((segment) => {
|
|
6107
|
-
if (typeof segment === "string" || typeof segment === "number") return [segment];
|
|
6108
|
-
return [String(segment)];
|
|
6109
|
-
});
|
|
6110
|
-
}
|
|
6111
|
-
function createZodCodec(schema) {
|
|
6112
|
-
return {
|
|
6113
|
-
encode: (value) => value,
|
|
6114
|
-
decode: (input) => {
|
|
6115
|
-
const parsed = z.safeParse(schema, input);
|
|
6116
|
-
if (parsed.success) return decodeSuccess(parsed.data);
|
|
6117
|
-
return decodeFailure(parsed.error.issues.map((issue) => ({
|
|
6118
|
-
path: zodIssuePath(issue.path),
|
|
6119
|
-
message: issue.message
|
|
6120
|
-
})));
|
|
6121
|
-
}
|
|
6122
|
-
};
|
|
6123
|
-
}
|
|
6124
|
-
function defineProgressiveBlockRuntime(runtime) {
|
|
6125
|
-
return runtime;
|
|
6126
|
-
}
|
|
6127
|
-
function defineClientOwnedBlockRuntime(runtime) {
|
|
6128
|
-
return runtime;
|
|
6129
|
-
}
|
|
6130
|
-
//#endregion
|
|
6131
|
-
//#region ../blocks/src/contracts/islands.ts
|
|
6132
|
-
function isObjectRecord(value) {
|
|
6133
|
-
return typeof value === "object" && value !== null;
|
|
6134
|
-
}
|
|
6135
|
-
function pickRecordKeys(source, keys) {
|
|
6136
|
-
return Object.fromEntries(keys.map((key) => [key, source[key]]));
|
|
6137
|
-
}
|
|
6138
|
-
function expectEncodedRecord(value, label) {
|
|
6139
|
-
if (isObjectRecord(value)) return value;
|
|
6140
|
-
throw new Error(`Expected ${label} codec to encode an object`);
|
|
6141
|
-
}
|
|
6142
|
-
function prefixIssues(prefix, issues) {
|
|
6143
|
-
return issues.map((issue) => ({
|
|
6144
|
-
path: [...prefix, ...issue.path],
|
|
6145
|
-
message: issue.message
|
|
6146
|
-
}));
|
|
6147
|
-
}
|
|
6148
|
-
function defineInteractiveIslandMetaKeys(...keys) {
|
|
6149
|
-
return keys;
|
|
6150
|
-
}
|
|
6151
|
-
function buildInteractiveIslandProps(options) {
|
|
6152
|
-
const render = {
|
|
6153
|
-
mode: options.mode,
|
|
6154
|
-
...options.runtime.buildRender(options.source)
|
|
6155
|
-
};
|
|
6156
|
-
return {
|
|
6157
|
-
...options.meta,
|
|
6158
|
-
renderKind: options.runtime.kind,
|
|
6159
|
-
render
|
|
6160
|
-
};
|
|
6161
|
-
}
|
|
6162
|
-
function createInteractiveIslandCodec(options) {
|
|
6163
|
-
return {
|
|
6164
|
-
encode: (value) => {
|
|
6165
|
-
const meta = expectEncodedRecord(options.meta.encode(options.selectMeta(value)), "meta");
|
|
6166
|
-
const render = expectEncodedRecord(options.runtime.contracts.render.encode({
|
|
6167
|
-
display: value.render.display,
|
|
6168
|
-
hydration: value.render.hydration
|
|
6169
|
-
}), "render");
|
|
6170
|
-
return {
|
|
6171
|
-
...meta,
|
|
6172
|
-
renderKind: options.runtime.kind,
|
|
6173
|
-
render: {
|
|
6174
|
-
mode: options.mode,
|
|
6175
|
-
...render
|
|
6176
|
-
}
|
|
6177
|
-
};
|
|
6178
|
-
},
|
|
6179
|
-
decode: (input) => {
|
|
6180
|
-
if (!isObjectRecord(input)) return decodeFailure([{
|
|
6181
|
-
path: [],
|
|
6182
|
-
message: "Expected island props object"
|
|
6183
|
-
}]);
|
|
6184
|
-
const metaResult = options.meta.decode(pickRecordKeys(input, options.metaKeys));
|
|
6185
|
-
const renderIssues = [];
|
|
6186
|
-
if (input.renderKind !== options.runtime.kind) renderIssues.push({
|
|
6187
|
-
path: ["renderKind"],
|
|
6188
|
-
message: `Expected renderKind "${options.runtime.kind}"`
|
|
6189
|
-
});
|
|
6190
|
-
const renderInput = input.render;
|
|
6191
|
-
if (!isObjectRecord(renderInput)) renderIssues.push({
|
|
6192
|
-
path: ["render"],
|
|
6193
|
-
message: "Expected render object"
|
|
6194
|
-
});
|
|
6195
|
-
else {
|
|
6196
|
-
if (renderInput.mode !== options.mode) renderIssues.push({
|
|
6197
|
-
path: ["render", "mode"],
|
|
6198
|
-
message: `Expected render.mode "${options.mode}"`
|
|
6199
|
-
});
|
|
6200
|
-
const renderResult = options.runtime.contracts.render.decode({
|
|
6201
|
-
display: renderInput.display,
|
|
6202
|
-
hydration: renderInput.hydration
|
|
6203
|
-
});
|
|
6204
|
-
if (!isDecodeSuccess(renderResult)) renderIssues.push(...prefixIssues(["render"], renderResult.issues));
|
|
6205
|
-
else if (isDecodeSuccess(metaResult) && renderIssues.length === 0) return decodeSuccess({
|
|
6206
|
-
...metaResult.value,
|
|
6207
|
-
renderKind: options.runtime.kind,
|
|
6208
|
-
render: {
|
|
6209
|
-
mode: options.mode,
|
|
6210
|
-
...renderResult.value
|
|
6211
|
-
}
|
|
6212
|
-
});
|
|
6213
|
-
}
|
|
6214
|
-
return decodeFailure([...isDecodeSuccess(metaResult) ? [] : metaResult.issues, ...renderIssues]);
|
|
6215
|
-
}
|
|
6216
|
-
};
|
|
6217
|
-
}
|
|
6218
|
-
//#endregion
|
|
6219
6236
|
//#region ../blocks/src/system/runtime/nodes/booking-form.service-pricing.ts
|
|
6220
6237
|
/**
|
|
6221
6238
|
* The amounts the client can choose for a sliding-scale service. A site that
|
|
@@ -6295,13 +6312,21 @@ function bookingPackagePurchaseTerms(product, promisedDiscountId) {
|
|
|
6295
6312
|
}
|
|
6296
6313
|
function reconcileBookingPackagePurchase(selection, packages) {
|
|
6297
6314
|
if (selection.kind === "none") return selection;
|
|
6298
|
-
const product = packages.find((product) => product.id === selection
|
|
6315
|
+
const product = packages.find((product) => product.id === bookingPackagePurchaseId(selection));
|
|
6299
6316
|
if (!product) return { kind: "none" };
|
|
6300
|
-
return JSON.stringify(product) === JSON.stringify(selection.package) ? selection : {
|
|
6317
|
+
return selection.kind === "selected" && JSON.stringify(product) === JSON.stringify(selection.package) ? selection : {
|
|
6301
6318
|
kind: "selected",
|
|
6302
6319
|
package: product
|
|
6303
6320
|
};
|
|
6304
6321
|
}
|
|
6322
|
+
/** Both a restored identity and a live choice name one package; only the live choice owns display facts. */
|
|
6323
|
+
function bookingPackagePurchaseId(selection) {
|
|
6324
|
+
switch (selection.kind) {
|
|
6325
|
+
case "none": return null;
|
|
6326
|
+
case "restoring": return selection.packageId;
|
|
6327
|
+
case "selected": return selection.package.id;
|
|
6328
|
+
}
|
|
6329
|
+
}
|
|
6305
6330
|
function resolveBookingPaymentChoice(purchase, heldId, option) {
|
|
6306
6331
|
if (purchase.kind === "selected") return {
|
|
6307
6332
|
kind: "buy_package",
|
|
@@ -6725,6 +6750,10 @@ function serviceTarget(service) {
|
|
|
6725
6750
|
publicPresentation: service.bookingQuestions ?? NO_BOOKING_QUESTIONS
|
|
6726
6751
|
} : null;
|
|
6727
6752
|
}
|
|
6753
|
+
/** What the selected service asks during booking, from the catalogue or the signed-in read. */
|
|
6754
|
+
function resolveSelectedAppointmentQuestions(service, refreshed = null, identity = null) {
|
|
6755
|
+
return resolveBookingQuestionsPresentation(serviceTarget(service), refreshed, identity);
|
|
6756
|
+
}
|
|
6728
6757
|
/** Whether to ask the authenticated read about the selected service. */
|
|
6729
6758
|
function needsAppointmentQuestionsRefresh(input) {
|
|
6730
6759
|
return needsBookingQuestionsRefresh({
|
|
@@ -8516,7 +8545,7 @@ function buildProductDetailDisplay(product, options, selectedVariantId) {
|
|
|
8516
8545
|
selectionLabel: selectedVariant ? `${product.title} – ${selectedVariant.title}` : product.title,
|
|
8517
8546
|
actionLabel: options.addButtonText,
|
|
8518
8547
|
soldOut,
|
|
8519
|
-
body: product.body
|
|
8548
|
+
body: options.showBody ? product.body : null
|
|
8520
8549
|
};
|
|
8521
8550
|
}
|
|
8522
8551
|
function passCardDisplay(pass, options) {
|
|
@@ -9262,6 +9291,7 @@ function transformRegistrationOptionsResponse(response) {
|
|
|
9262
9291
|
const monetaryPaymentAvailable = hasMonetaryPaymentOption(response);
|
|
9263
9292
|
return {
|
|
9264
9293
|
discountPreview: response.discountPreview,
|
|
9294
|
+
organiserContact: response.organiserContact,
|
|
9265
9295
|
availability: response.availability,
|
|
9266
9296
|
...siteOnlinePayments(response),
|
|
9267
9297
|
registration: response.registration,
|
|
@@ -11849,6 +11879,44 @@ function bookingOccurrenceContext(occurrenceContext, pageEvent, selection) {
|
|
|
11849
11879
|
if (!occurrenceContext) return null;
|
|
11850
11880
|
return !primary || primary.selectionId === pageEvent?.selectionId ? occurrenceContext : null;
|
|
11851
11881
|
}
|
|
11882
|
+
/** Optional browser storage, shared by event and appointment reload drafts. */
|
|
11883
|
+
function createBookingBrowserDraftStore(prefix, draftSchema) {
|
|
11884
|
+
const schema = z.object({
|
|
11885
|
+
version: z.literal(1),
|
|
11886
|
+
timestamp: z.number().finite(),
|
|
11887
|
+
draft: draftSchema
|
|
11888
|
+
});
|
|
11889
|
+
const clear = (scope) => {
|
|
11890
|
+
try {
|
|
11891
|
+
sessionStorage.removeItem(`${prefix}${scope}`);
|
|
11892
|
+
} catch {}
|
|
11893
|
+
};
|
|
11894
|
+
const save = (scope, draft) => {
|
|
11895
|
+
try {
|
|
11896
|
+
const entry = schema.parse({
|
|
11897
|
+
version: 1,
|
|
11898
|
+
timestamp: Date.now(),
|
|
11899
|
+
draft
|
|
11900
|
+
});
|
|
11901
|
+
sessionStorage.setItem(`${prefix}${scope}`, JSON.stringify(entry));
|
|
11902
|
+
} catch {}
|
|
11903
|
+
};
|
|
11904
|
+
const read = (scope) => {
|
|
11905
|
+
try {
|
|
11906
|
+
const stored = sessionStorage.getItem(`${prefix}${scope}`);
|
|
11907
|
+
const entry = schema.safeParse(stored ? JSON.parse(stored) : null);
|
|
11908
|
+
const age = entry.success ? Date.now() - entry.data.timestamp : -1;
|
|
11909
|
+
if (entry.success && age >= 0 && age <= 108e5) return entry.data.draft;
|
|
11910
|
+
clear(scope);
|
|
11911
|
+
} catch {}
|
|
11912
|
+
return null;
|
|
11913
|
+
};
|
|
11914
|
+
return {
|
|
11915
|
+
save,
|
|
11916
|
+
read,
|
|
11917
|
+
clear
|
|
11918
|
+
};
|
|
11919
|
+
}
|
|
11852
11920
|
//#endregion
|
|
11853
11921
|
//#region ../blocks/src/system/runtime/nodes/event-registration/registrationBrowserDraft.ts
|
|
11854
11922
|
const browserDraftSteps = [
|
|
@@ -11857,12 +11925,10 @@ const browserDraftSteps = [
|
|
|
11857
11925
|
"enter-details",
|
|
11858
11926
|
"select-payment"
|
|
11859
11927
|
];
|
|
11860
|
-
/** How long this tab's draft is kept after it was last saved; older drafts are ignored and cleared. */
|
|
11861
|
-
const BROWSER_DRAFT_LIFETIME_MS = 10800 * 1e3;
|
|
11862
11928
|
/**
|
|
11863
11929
|
* An allowlist of what the booker typed or chose, kept in this tab only, for
|
|
11864
11930
|
* `BROWSER_DRAFT_LIFETIME_MS`: the selection and tickets, their contact
|
|
11865
|
-
* details, the rooms they asked for and
|
|
11931
|
+
* details, the rooms they asked for and their
|
|
11866
11932
|
* note ("Anything we should know?"), the guests' names and contact details, and their answers to the
|
|
11867
11933
|
* questions, by question ID (`BookingQuestionsTabDraft`: plain answers only,
|
|
11868
11934
|
* never file uploads, and dropped on restore if the question has gone or
|
|
@@ -11908,24 +11974,11 @@ const registrationBrowserDraftSchema = z.object({
|
|
|
11908
11974
|
function isBrowserDraftStep(step) {
|
|
11909
11975
|
return browserDraftSteps.some((candidate) => candidate === step);
|
|
11910
11976
|
}
|
|
11911
|
-
/**
|
|
11912
|
-
* The note ("Anything we should know?") often holds health details, so it's
|
|
11913
|
-
* kept only for a signed-in customer. A signed-out draft could be opened by the
|
|
11914
|
-
* next person on a shared device, such as a studio's front-desk tablet.
|
|
11915
|
-
*/
|
|
11916
|
-
function keepsNote(owner) {
|
|
11917
|
-
return owner.kind === "session";
|
|
11918
|
-
}
|
|
11919
|
-
/** The saved note to put back, or nothing for a signed-out draft (including one saved before this rule). */
|
|
11920
|
-
function restoredNote(saved) {
|
|
11921
|
-
return keepsNote(saved.owner) ? { notes: saved.notes } : {};
|
|
11922
|
-
}
|
|
11923
11977
|
function registrationBrowserDraft(flow, discountCode, identity) {
|
|
11924
11978
|
if (!isBrowserDraftStep(flow.step)) return null;
|
|
11925
11979
|
const { draft } = flow;
|
|
11926
|
-
const owner = bookingQuestionsOwnerOf(identity);
|
|
11927
11980
|
return {
|
|
11928
|
-
owner,
|
|
11981
|
+
owner: bookingQuestionsOwnerOf(identity),
|
|
11929
11982
|
step: flow.step,
|
|
11930
11983
|
selectedEventIds: draft.selection.map((event) => event.selectionId),
|
|
11931
11984
|
placeCount: flow.placeCount,
|
|
@@ -11940,7 +11993,7 @@ function registrationBrowserDraft(flow, discountCode, identity) {
|
|
|
11940
11993
|
email: draft.formData.email,
|
|
11941
11994
|
phone: draft.formData.phone
|
|
11942
11995
|
},
|
|
11943
|
-
notes:
|
|
11996
|
+
notes: draft.formData.notes,
|
|
11944
11997
|
discountCode,
|
|
11945
11998
|
guests: draft.guests.map(({ name, email, phone }) => ({
|
|
11946
11999
|
name,
|
|
@@ -11992,7 +12045,7 @@ function restoreRegistrationBrowserDraft(state, saved, events, identity) {
|
|
|
11992
12045
|
const contact = theirs ? {
|
|
11993
12046
|
...state.draft.formData,
|
|
11994
12047
|
...saved.contact,
|
|
11995
|
-
|
|
12048
|
+
notes: saved.notes
|
|
11996
12049
|
} : state.draft.formData;
|
|
11997
12050
|
if (selection.length !== saved.selectedEventIds.length) return {
|
|
11998
12051
|
...state,
|
|
@@ -12583,6 +12636,14 @@ function getTicketSelectionPurpose(input) {
|
|
|
12583
12636
|
return input.admission.kind === "checking" && input.event && canJoinEventWaitlist(input.event, { attendanceMode: input.attendanceMode }) ? "waitlist" : "book";
|
|
12584
12637
|
}
|
|
12585
12638
|
function resolveRegistrationAdmission(input) {
|
|
12639
|
+
const admission = decideRegistrationAdmission(input);
|
|
12640
|
+
const contact = input.organiserContact ?? input.eligibility?.organiserContact;
|
|
12641
|
+
return admission.kind === "closed" && contact ? {
|
|
12642
|
+
...admission,
|
|
12643
|
+
contact
|
|
12644
|
+
} : admission;
|
|
12645
|
+
}
|
|
12646
|
+
function decideRegistrationAdmission(input) {
|
|
12586
12647
|
const early = admissionBeforeOptions(input);
|
|
12587
12648
|
if (early || !input.eligibility) return early ?? { kind: "checking" };
|
|
12588
12649
|
const { registration, availability } = input.eligibility;
|
|
@@ -14137,4 +14198,4 @@ function registrationStepLabel(step, context) {
|
|
|
14137
14198
|
}
|
|
14138
14199
|
}
|
|
14139
14200
|
//#endregion
|
|
14140
|
-
export { deriveEventRegistrationSteps as $, weekStartSchema as $a, resolveDefaultBookingServiceId as $i, serverPricedTotalCents as $n, groupEventsByDate as $o, formatValidity as $r, resolveWholeSeriesBookingPhase as $s, toWholeSeriesRegistrationEvents as $t, ownCoverPaysEveryDate as A, resolveBookingPaymentAvailability as Aa, registrationDataForEventSelection as Ai, selectionConfirmationHint as An, isEventFull as Ao, normalizeTicketSelectionLines as Ar, readRuntimeNow as As, resolveEventRequiresPayment as At, closedAdmissionLabel as B, defineClientOwnedBlockRuntime as Ba, getBookingSuccessCopy as Bi, severalConfirmationSentence as Bn, eventDateOptions as Bo, placesLeftLabel as Br, eventRegistrationRefusalMessage as Bs, defaultTicketOptions as Bt, currentSelectionFundingLookup as C, applyBookingPaymentAdmission as Ca, parseSiteId as Cc, isDropInPublicEvent as Ci, primarySelectionItem as Cn, canJoinEventWaitlistOnAnyMode as Co, withRegistrationAvailability as Cr, inlineTextToPlainText as Cs, beginWaitlistInvitation as Ct, fundingOptionPick as D, reconcileBookingPackagePurchase as Da, planWholeSeriesParentBooking as Di, runPricingChoice as Dn, getEventAvailability as Do, getTicketSelectionTotal as Dr, generateLookMediaFrameCss as Ds, buildRegistrationSelectionRequest as Dt, fundingOptionKey as E, bookingRequiresResourceSelection as Ea, planOrdinarySeriesSelection as Ei, runNeedsPricingChoice as En, formatTotalCapacity as Eo, getTicketLineQuantity as Er, plainTextToInlineText as Es, withOfferedEvent as Et, selectionFundingRequest as F, getBookingServiceSlidingScale as Fa, buildBookingFormInteractiveIslandProps as Fi, selectionItemsLabel as Fn, isBlockButtonRole as Fo, decideSignInReturn as Fr, INCOMPATIBLE_ATTENDANCE_MESSAGE as Fs, validateFormData as Ft, planRegistrationDetailsContinuation as G, columnOptionSchema as Ga, normalizeBookingFormConfig as Gi, combinationHintCopy as Gn, formatEventCompactDateRail as Go, buildCartDisplay as Gr, repriceBookingCollectionOptions as Gs, selectRoomOffer as Gt, getTicketSelectionPurpose as H, isDecodeSuccess as Ha, getShopSuccessCopy as Hi, severalRunsChoiceMessage as Hn, formatCalendarTitle as Ho, resolveRegistrationDisplay as Hr, planCheckoutPaymentFlow as Hs, presentRoomChooser as Ht, buildEventRegistrationPaymentOptionsViewModel as I, buildInteractiveIslandProps as Ia, readOverrideServiceCategories as Ii, selectionPlacesLabel as In, RichText as Io, nextSignInReturnExpiry as Ir, decideSelectionAttendance 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, formatCreditProductPayment as Js, confirmationPaymentRows as Jt, registrationStopsHere as K, eventButtonVariantSchema as Ka, normalizeBookingServices as Ki, combinationOfferLine as Kn, formatEventDateParts as Ko, buildCheckoutDisplay as Kr, getStripeMinimumChargeRequirement as Ks, isSameWaitlistClaim as Kt, buildSelectionCollectionOptions as L, createInteractiveIslandCodec as La, deriveBookingFormViewState as Li, selectionPlacesNote as Ln, buildCalendarViewport as Lo, readSignInReturn as Lr, setRoomChoicePeople as Ls, bookingLines as Lt, selectionFundingBasis as M, resolveBookingPaymentMode as Ma, selectionRepresentativeEvent as Mi, selectionEntitlementNote as Mn, selectMostOpenCapacitySource as Mo, BOOKING_SIGN_IN_RETURN_PARAM as Mr, sanitizeHref as Ms, resolveRouteRequiresPayment as Mt, selectionFundingFetchWanted as N, resolveBookingPurchasablePackages as Na, groupPublicEventsByRun as Ni, selectionIncludes as Nn, BLOCK_BUTTON_ROLE_OPTIONS as No, clearSignInReturnDrafts as Nr, parseAspectRatioValue as Ns, toRegistrationRequestSubject as Nt, initialSelectionFundingLookup as O, resolveBookingPackagePaymentSelection as Oa, planWholeSeriesParentSelection as Oi, runUnitPriceCents as On, getEventAvailabilityStatus as Oo, getTicketTypeLineMax as Or, resolveLookMediaFrame as Os, findPreSelectedEvent as Ot, selectionFundingReducer as P, toBookingPurchasablePackages as Pa, bookingFormInteractiveIslandPropsCodec as Pi, selectionItemPrice as Pn, blockButtonRoleSchema as Po, createSignInReturnDraftStore as Pr, isRecord$3 as Ps, registrationQuestionsMessage as Pt, visitorHoldsOwnPlace as Q, registrationButtonVariantSchema as Qa, resolveBookingSiteId as Qi, selectionPreviewLines as Qn, formatTime$1 as Qo, formatInterval as Qr, orderedLiveRunSessions as Qs, toWholeSeriesRegistrationEvent as Qt, decideEventRegistrationPayment as R, defineInteractiveIslandMetaKeys as Ra, formatBookingSubmissionPreparationError as Ri, selectionRowAvailability as Rn, eventCalendarWeekStart as Ro, signInReturnPath as Rr, eventRegistrationErrorEndsCommand as Rs, dayOptionsOf as Rt, chosenFundingOption as S, BOOKING_FORM_DATA_RESERVED_KEY_VALUES as Sa, resolvePricingOptionsPriceDisplay as Sc, getPublicEventCanonicalPath as Si, planSelectionPrice as Sn, canJoinEventWaitlist as So, shouldLoadRegistrationOptions as Sr, runTransforms as Ss, entryStart as St, fundingMoneyDates as T, bookingPackageRequestKey as Ta, planDropInPanel as Ti, runChoiceUsable as Tn, formatRemainingPlaces as To, getSingleSelectedPricingOptionId as Tr, parseInlineTextFromUnknown as Ts, invitationBooking as Tt, placeCountCeiling as U, bookingNowSchema as Ua, isBookingServiceSlidingAmountInRange as Ui, summariseSelectionPayment as Un, formatDate$1 as Uo, shownVenue as Ur, bookingCollectionDatesOpen as Us, roomChoiceMessage as Ut, fullyBookedLabel as V, defineProgressiveBlockRuntime as Va, getRegistrationSuccessCopy as Vi, severalItemsOf as Vn, eventLocalDateKey as Vo, registrationDisplaySchema as Vr, parseEventRegistrationErrorReason as Vs, isRoomChoiceRefusal as Vt, planRegistrationDetailsCheck as W, calendarTabViewsSchema as Wa, isSameOpenCheckout as Wi, toggleSelectionItem as Wn, formatEventClockLabel as Wo, appliedDiscountHint as Wr, flexibleBalanceDueDay as Ws, roomSubmission as Wt, resolveRegistrationTicketContinuation as X, filterAutoShowSchema as Xa, resolveBookingPaymentStep as Xi, selectionCombinationHint as Xn, formatEventTimeRange as Xo, buildProductListDisplay as Xr, CANCELLED_SESSION_STATUS as Xs, getRegistrationStartAt as Xt, resolveRegistrationAvailabilityBlocker as Y, eventLayoutSchema as Ya, resolveAppointmentCheckoutVerificationState as Yi, paymentCaption as Yn, formatEventRunDates as Yo, buildProductDetailDisplay as Yr, formatCreditProductUnits as Ys, resolveFinishedPresentation as Yt, settledRemainingPlaces as Z, previewStageSchema as Za, resolveBookingSelectedService as Zi, selectionItemName as Zn, formatEventWeekdayTime as Zo, formatCommercePrice as Zr, nextLiveRunSessionStartMs as Zs, toRegistrationEvents as Zt, pickCollections as _, toBookingQuestionsAnswerDraft as _a, publicEventPricingCurrency as _c, eventRegistrationPageSurfaceSubjectSchema as _i, SEVERAL_BOOKINGS_ACCOUNT_NOTE as _n, resolveEventCta as _o, getSlidingScaleForEvent as _r, uiTransforms as _s, bookingOccurrenceContext as _t, registrationPresentation as a, resolveSelectedAppointmentConsent as aa, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE as ac, buildProductCartItem as ai, buildSelectionRequirementsSubmission as an, leavePage as ao, formatRunScheduleLines as ar, renderAudio as as, toHeadlessPaymentSelection as at, selectionPaysNothing as b, formatPrice as ba, publicEventPricingType as bc, resolveEventRegistrationScopedEvents as bi, effectiveSelection as bn, isBookableEvent as bo, parseCurrencyInputToCents as br, asPartialObject as bs, entryPageEvent as bt, registrationStepLabelContext as c, appointmentQuestionsRefusal as ca, parseMailchimpInterestId 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, getBookingInstalmentProtectedDepositAmountCents as dc, closedDateListCopy as di, runsKeepingAnswers as dn, eventPlaceName as do, occurrenceTitleOverride as dr, resolvePublicMediaUrl as ds, paymentChoiceDetails as dt, resolveLowestBookingPaymentStep as ea, resolveWholeSeriesPaymentDates 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, bookingQuestionsAnswerDraftSchema as fa, offeringLabelForPageSurfaceSubject as fc, closedDatesCopy as fi, toRunRequirementsSnapshots as fn, eventVenuePlace as fo, transformRegistrationOptionsResponse as fr, resolveArrangementKnobs as fs, paymentChoicePrice as ft, paymentOptionFor as g, restoreBookingQuestionsAnswers as ga, isPublicEventPricingOptionDisplayable as gc, cutOffDateCopy as gi, SELECTION_LIMIT_NOTE as gn, resolveEventCardBooking as go, getRegistrationOccurrenceId as gr, createAspectRatioField as gs, restorableBrowserDraftCode as gt, moneyCollections as h, needsBookingQuestionsRefresh as ha, formatEventPricing as hc, closedDateCopy as hi, ATTENDANCE_CHOICE_MESSAGE as hn, eventDestinationPagePath as ho, getCurrentTicketSelection as hr, heroTitleSizeOptions as hs, registrationBrowserDraftSchema as ht, registrationPaymentRoute as i, projectSelectedAppointmentConsentIntoForm as ia, DEFAULT_MAILING_LIST_PRIVACY_NOTE as ic, buildPassCartItem as ii, toEventSignInDraft as in, canonicalUrl as io, formatRegistrationSchedule as ir, mediaImageHostProps as is, resolveHeadlessEventRegistrationView as it, selectionDatesQuote as j, resolveBookingPaymentChoice as ja, resolveSelectionBookingClosedDetail as ji, selectionConsentLabel as jn, selectEventCapacitySource as jo, setTicketLineQuantity as jr, resolveDateRuntimeContext as js, resolveRegistrationTarget as jt, lookupChosenOption as k, resolveBookingPackageSources as ka, planWholeSeriesRunSelection as ki, selectionAtLimit as kn, getRemainingPlaces as ko, hasValidPricingOptionSelection as kr, parseBlockColorToken as ks, resolveDiscountContext as kt, areEventRegistrationPaymentSelectionsEqual as l, deriveAppointmentBookingQuestions as la, parseNewsletterListId as lc, reduceCommerceCart as li, nextRunToRead as ln, bookingPresentation as lo, getTicketTypeAvailabilityLabel as lr, resolveImageUrlWithContext as ls, buildBookingPaymentSelectionViewModel as lt, collectionsOf as m, deriveBookingQuestions as ma, formatBookingPriceDisplay as mc, bookElsewhereDateCopy as mi, paymentReturnRestoration as mn, eventDestinationBookingLink as mo, isEmailAddress as mr, createImageShapeField as ms, registrationBrowserDraft as mt, getEventSelectionMode as n, snapshotBookingShownTerms as na, parseMailingListRuntimeContext 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, parseBrevoListId as oc, deriveCommerceCheckoutState as oi, checkRunRequirements as on, pageNavigationSchema as oo, formatTime as or, renderVideo as os, toInternalPaymentSelection as ot, registrationFlowReducer as p, decideBookingQuestionsRestoration as pa, EVENT_PRESET_VOCABULARY as pc, closedRunCopy as pi, withoutKeptAnswers as pn, formatEventLocation as po, withOccurrenceTitle as pr, systemCustomizeFacetDefinitionsForBlock as ps, BROWSER_DRAFT_LIFETIME_MS as pt, resolveGuestNextStepCheck as q, eventCalendarDefaultViewSchema as qa, parseBookingCurrencyInputToCents as qi, combinationOffersOf as qn, formatEventHourLabel as qo, buildPassesMembershipsDisplay as qr, formatCreditProductBalance as qs, toWaitlistClaimResolveFailure as qt, panelShouldOpen as r, toSelectedCollectionOptionKind as ra, resolveBookingSignupOffer 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, parseMailchimpAudienceId 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, resolveWholeSeriesRunLifecycle 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, EVENT_ADDRESS_AFTER_BOOKING_LABEL as uc, resolveSelectedProduct as ui, runFieldErrors as un, eventOnlinePlace as uo, getVisibleTicketTypes as ur, resolveMediaNodeResponsiveImage as us, buildReviewedBookingPaymentViewModel as ut, runsSelectionPaymentRequest as v, toBookingQuestionsPaymentSnapshot as va, publicEventPricingDisplay as vc, normalizeEventRegistrationPageSurfaceSubject as vi, attendanceChoicePending as vn, resolveEventPageLink as vo, getSlidingScaleSelectionMessage as vr, SECTION_STATE_KINDS as vs, decideRegistrationEntry as vt, fundingChoice as w, bookingHasPackagePaymentChoices as wa, unsafeAsSiteId as wc, isOrdinaryPublicEvent as wi, quoteReductions as wn, formatEventRemainingPlaces as wo, canRequestTicketOption as wr, isInlineTextEmpty as ws, invitationSubmission as wt, cardStepServesDates as x, BOOKING_FORM_DATA_RESERVED_KEYS as xa, resolveExactOrFreePriceDisplay as xc, eventOccurrenceContext as xi, incompleteRunChoiceMessage as xn, isInBookingCutOffWindow as xo, resolveHeldTicketPlaces as xr, createTransformRegistry as xs, entrySelectionMode as xt, selectionItemLabels as y, formatCentsAsCurrencyInput as ya, publicEventPricingStrategy as yc, resolveEventRegistrationChoices as yi, canToggleSelectionItem as yn, resolveRuntimeEventDestination as yo, getTicketSelectionRemainingPlaces as yr, sectionStateToneFromKind as ys, entryChoosesEvent as yt, shouldPromptForLogin as z, createZodCodec as za, getBookingRedirectStateFromLocation as zi, selectionTicketInputs as zn, eventDateLocale as zo, sweepExpiredSignInReturnDrafts as zr, eventRegistrationErrors as zs, decideRoomStay as zt };
|
|
14201
|
+
export { deriveEventRegistrationSteps as $, weekStartSchema as $a, resolveDefaultBookingServiceId as $i, serverPricedTotalCents as $n, groupEventsByDate as $o, formatValidity as $r, nextLiveRunSessionStartMs 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, eventRegistrationErrorEndsCommand as Bs, defaultTicketOptions as Bt, currentSelectionFundingLookup as C, toBookingQuestionsPaymentSnapshot as Ca, resolveExactOrFreePriceDisplay 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, unsafeAsSiteId as Ec, 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, bookingCollectionDatesOpen as Gs, selectRoomOffer as Gt, getTicketSelectionPurpose as H, getBookingServiceSlidingScale as Ha, getShopSuccessCopy as Hi, severalRunsChoiceMessage as Hn, formatCalendarTitle as Ho, resolveRegistrationDisplay as Hr, eventRegistrationRefusalMessage 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, getStripeMinimumChargeRequirement as Js, confirmationPaymentRows as Jt, registrationStopsHere as K, eventButtonVariantSchema as Ka, normalizeBookingServices as Ki, combinationOfferLine as Kn, formatEventDateParts as Ko, buildCheckoutDisplay as Kr, flexibleBalanceDueDay 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, CANCELLED_SESSION_STATUS 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, publicEventPricingType 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, parseSiteId 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, parseEventRegistrationErrorReason as Us, roomChoiceMessage as Ut, fullyBookedLabel as V, toBookingPurchasablePackages as Va, getRegistrationSuccessCopy as Vi, severalItemsOf as Vn, eventLocalDateKey as Vo, registrationDisplaySchema as Vr, eventRegistrationErrors as Vs, isRoomChoiceRefusal as Vt, planRegistrationDetailsCheck as W, calendarTabViewsSchema as Wa, isSameOpenCheckout as Wi, toggleSelectionItem as Wn, formatEventClockLabel as Wo, appliedDiscountHint as Wr, planCheckoutPaymentFlow as Ws, roomSubmission as Wt, resolveRegistrationTicketContinuation as X, filterAutoShowSchema as Xa, resolveBookingPaymentStep as Xi, selectionCombinationHint as Xn, formatEventTimeRange as Xo, buildProductListDisplay as Xr, formatCreditProductPayment as Xs, getRegistrationStartAt as Xt, resolveRegistrationAvailabilityBlocker as Y, eventLayoutSchema as Ya, resolveAppointmentCheckoutVerificationState as Yi, paymentCaption as Yn, formatEventRunDates as Yo, buildProductDetailDisplay as Yr, formatCreditProductBalance as Ys, resolveFinishedPresentation as Yt, settledRemainingPlaces as Z, previewStageSchema as Za, resolveBookingSelectedService as Zi, selectionItemName as Zn, formatEventWeekdayTime as Zo, formatCommercePrice as Zr, formatCreditProductUnits as Zs, toRegistrationEvents as Zt, pickCollections as _, decideBookingQuestionsRestoration as _a, formatEventPricing 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, resolveBookingSignupOffer 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, publicEventPricingDisplay 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, parseBrevoListId 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, parseNewsletterListId as dc, closedDateListCopy as di, runsKeepingAnswers as dn, eventPlaceName as do, occurrenceTitleOverride as dr, resolvePublicMediaUrl as ds, paymentChoiceDetails as dt, resolveLowestBookingPaymentStep as ea, orderedLiveRunSessions 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, EVENT_ADDRESS_AFTER_BOOKING_LABEL 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, formatBookingPriceDisplay 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, EVENT_PRESET_VOCABULARY 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, parseMailingListRuntimeContext 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, parseMailchimpAudienceId 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, offeringLabelForPageSurfaceSubject 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, resolveWholeSeriesPaymentDates 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_PRIVACY_NOTE 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, getBookingInstalmentProtectedDepositAmountCents 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, repriceBookingCollectionOptions as qs, toWaitlistClaimResolveFailure as qt, panelShouldOpen as r, toSelectedCollectionOptionKind as ra, resolveWholeSeriesRunLifecycle 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, DEFAULT_MAILING_LIST_SUCCESS_MESSAGE 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, resolveWholeSeriesBookingPhase 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, parseMailchimpInterestId 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, isPublicEventPricingOptionDisplayable 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, resolvePricingOptionsPriceDisplay 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, publicEventPricingStrategy 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, publicEventPricingCurrency 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, defaultEventRegistrationErrorAppearance as zs, decideRoomStay as zt };
|