@riverbankcms/sdk 0.169.0 → 0.169.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-DpROiz12.d.ts → BlocksIslandsHydrator-DEhlJEwj.d.ts} +1 -1
- package/dist/_dts/{Page-DHBBDRC_.d.ts → Page-BhCfStX1.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CG7Qib7u.d.ts → SdkPreviewMode-DSYdsdmJ.d.ts} +2 -2
- package/dist/_dts/{client-MURxFla9.d.ts → client-BZMn4Y99.d.ts} +1 -1
- package/dist/_dts/{content-types-ClBGjxBV.d.ts → content-types-EMK-E_r9.d.ts} +2 -2
- package/dist/_dts/{contracts-CHNvzh0y.d.ts → contracts-DjYsGY3B.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DQM934Fm.d.ts → footerPageOutline-BtYUi-m0.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-ConZaEqB.d.ts → generatePageMetadata-D_fNTi5r.d.ts} +2 -2
- package/dist/_dts/{index-BaDqRekr.d.ts → index-BR0i0c3G.d.ts} +4 -4
- package/dist/_dts/{index-CovKPftP.d.ts → index-BV-qVnt7.d.ts} +2 -2
- package/dist/_dts/{index-rfAssXq0.d.ts → index-BYYhTQ_b.d.ts} +3 -3
- package/dist/_dts/{index-DDaX-K2D.d.ts → index-BzguBJzR.d.ts} +1 -1
- package/dist/_dts/{index-DCw8LO4M.d.ts → index-DgEwZ5WQ.d.ts} +1 -1
- package/dist/_dts/{index-CiR_oPYT.d.ts → index-NaRauKDR.d.ts} +1 -1
- package/dist/_dts/{index-CVB5wgbz.d.ts → index-QIbYMeI7.d.ts} +2 -2
- package/dist/_dts/{loadContent-CRLKVVDP.d.ts → loadContent-BmGH6NKl.d.ts} +7 -7
- package/dist/_dts/{request-DeVetKBr.d.ts → request-DssgRQSm.d.ts} +8523 -8069
- package/dist/_dts/{resolveBlockData-C5KYFeig.d.ts → resolveBlockData-5BqNxwL8.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-D8MZWyNO.d.ts → resolvePageContent-DIuwuFA7.d.ts} +2 -2
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/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 +2 -2
- 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/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 +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{types-OwqfS8Gn.d.ts → types-DrAWDtqR.d.ts} +3 -3
- package/dist/_dts/{types-Fj31kIi2.d.ts → types-Z388-GR1.d.ts} +7 -7
- package/dist/_dts/{types-B4MBlP_B.d.ts → types-cObpvZGF.d.ts} +2 -2
- package/dist/_dts/{validation-B1Fa8o_b.d.ts → validation-hLr8zVrc.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-CN2GyuuA.mjs +410 -0
- package/dist/client/{BookingMailingListNote-y3qWjnOo.mjs → BookingMailingListNote-Br1VyHkP.mjs} +5 -5
- package/dist/client/{BookingQuestionFields-DjLjd0vc.mjs → BookingQuestionFields-LLGCWjvU.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-VM7C2fdh.mjs → CalendarNavigationChevron-DSnSBNeq.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-C2QCj_Ta.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +3 -3
- package/dist/client/{EventCalendar.client-DDjz7tuX.mjs → EventCalendar.client-ucgdMS35.mjs} +7 -7
- package/dist/client/{EventCombined.client-CeYbNsch.mjs → EventCombined.client-BEdfJGpx.mjs} +5 -5
- package/dist/client/{EventItem-B5J0IeF4.mjs → EventItem-OpLehMpT.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-eH04D8-V.mjs → EventListWeekNavigation-DTsVU6gc.mjs} +1 -1
- package/dist/client/{EventListing.client-slpvrTrM.mjs → EventListing.client-8MFGI9BA.mjs} +3 -3
- package/dist/client/{EventListing.view-BYBaElec.mjs → EventListing.view-BCvRqU86.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-Do7Q0wRG.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +18 -10
- package/dist/client/{Page-Dv9eIOGr.mjs → Page-Bu5TJU3L.mjs} +41 -15
- package/dist/client/{StepIndicator-BZNUd0-v.mjs → StepIndicator-CR7_0yu4.mjs} +4 -3
- package/dist/client/{accessibleSurfaces-chpD4C2c.mjs → accessibleSurfaces-_7jkuinl.mjs} +56 -8
- package/dist/client/{accordion-BCtVxnDZ.mjs → accordion-DMItWylU.mjs} +6 -1
- package/dist/client/{booking-form.client-Cr5G-HHO.mjs → booking-form.client-wd71DG19.mjs} +10 -10
- package/dist/client/bookingForm-Cyr2qeS1.mjs +31 -0
- package/dist/client/bookings.mjs +4 -4
- package/dist/client/{carousel-DW-HgjvT.mjs → carousel-B5-Hzzif.mjs} +7 -9
- package/dist/client/{carousel.client-BD4DXMtI.mjs → carousel.client-eSSr1oYA.mjs} +2 -2
- package/dist/client/{cart-D1zWe4R7.mjs → cart-B-M5l__W.mjs} +3 -3
- package/dist/client/{cart.client-CIfbTLHS.mjs → cart.client-COAP4CEy.mjs} +1 -1
- package/dist/client/{checkout-fDCNZ3IT.mjs → checkout-ZHc8GfaG.mjs} +3 -3
- package/dist/client/{checkout.client-C4l2KjtV.mjs → checkout.client-DRralR3e.mjs} +1 -1
- package/dist/client/{checkoutUrls-cWL6I-Vz.mjs → checkoutUrls-CY8qywXl.mjs} +1 -1
- package/dist/client/client.mjs +40 -4
- package/dist/client/{createLucideIcon-CIbxe9em.mjs → createLucideIcon-BrXgHVKN.mjs} +9 -9
- package/dist/client/{cta-Bj5WHgcv.mjs → cta-CfuyGqXL.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-3uVu3WgG.mjs → demoPortalMagicLink-DQtwf_s2.mjs} +1 -1
- package/dist/client/{display-CT8KMSpH.mjs → display-DDNmyb0z.mjs} +18 -793
- package/dist/client/{enhanceHeaderSection-B27KFGDv.mjs → enhanceHeaderSection-D7gRy-pL.mjs} +3 -3
- package/dist/client/{event-details.client-CL4Lqz2c.mjs → event-details.client-DZZaoCUc.mjs} +1 -1
- package/dist/client/{event-registration.client-Dj3Kyp5X.mjs → event-registration.client-CLBdHUfd.mjs} +12 -11
- package/dist/client/{eventCalendar-DGsdSF8J.mjs → eventCalendar-BY3AfYkK.mjs} +14 -17
- package/dist/client/eventCombined-86P2vQCb.mjs +25 -0
- package/dist/client/{eventDetails-DzMskXYA.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-8jS0qGGC.mjs +26 -0
- package/dist/client/eventRegistration-DyseP_sY.mjs +31 -0
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/{form-57k2JQnm.mjs → form-RTqunrpz.mjs} +9 -14
- package/dist/client/{form.client-CCl6CpRJ.mjs → form.client-D3_RF29v.mjs} +3 -3
- package/dist/client/{form.parts-BOJ1yDDf.mjs → form.parts-DWLf_3PF.mjs} +1 -1
- package/dist/client/gifting/client.mjs +1 -1
- package/dist/client/{headerSection-q_bEzfhW.mjs → headerSection-CyNGt23J.mjs} +2 -2
- package/dist/client/{newsletter-form.client-CiqKAmPs.mjs → newsletter-form.client-IfLup4o0.mjs} +4 -4
- package/dist/client/{newsletter-form.parts-x1RzAMNO.mjs → newsletter-form.parts-DDD-LRyW.mjs} +1 -1
- package/dist/client/{newsletterForm-Cn7h4zFe.mjs → newsletterForm-o5wFBVHv.mjs} +10 -15
- package/dist/client/portal/client.mjs +5 -5
- package/dist/client/{product-detail.client-rWUvpVvZ.mjs → product-detail.client-5hNA8aKU.mjs} +1 -1
- package/dist/client/{product-list.client-J0wDOmKv.mjs → product-list.client-c-777ohj.mjs} +1 -1
- package/dist/client/{productDetail-LtCkMrJ0.mjs → productDetail-hXttfQhE.mjs} +3 -3
- package/dist/client/{productList-C0MLeh-v.mjs → productList-BPsYP_jA.mjs} +3 -3
- package/dist/client/{propsDecoder-CAmEkJ6Y.mjs → propsDecoder-Dc8j5i79.mjs} +2 -2
- package/dist/client/reactMount-DFQy3CmO.mjs +51 -0
- package/dist/client/{registry.server-Bf2YX_4v.mjs → registry.server-CMrdUGGv.mjs} +329 -283
- package/dist/client/rendering/client.mjs +36 -36
- package/dist/client/rendering/islandDelivery.flight.mjs +99 -0
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +4 -4
- package/dist/client/{routeIslandApiConfig-UdAlnZGQ.mjs → routeIslandApiConfig-DFjRKvzM.mjs} +1 -1
- package/dist/client/{runtimeResponse-Dg4XFsuM.mjs → runtimeResponse-BGU8sMZY.mjs} +1 -1
- package/dist/client/runtimeResponse-D2LT--Gj.mjs +3 -0
- package/dist/client/{shop-Dkn6EasY.mjs → shop-Ds47onRS.mjs} +3 -3
- package/dist/client/{shop-commerce-bo0Z6kwf.mjs → shop-commerce-B3PyRHaN.mjs} +10 -10
- package/dist/client/{shop-commerce-store-Ckxa4_jI.mjs → shop-commerce-store-D9CHihQv.mjs} +1 -1
- package/dist/client/{shop.client-B_GqU6_U.mjs → shop.client-RljK0qPB.mjs} +10 -10
- package/dist/client/{shop.interactive-C6L_Ig5F.mjs → shop.interactive-BH0xDlMF.mjs} +37 -12
- package/dist/client/{shopShared-CO1Y8lFd.mjs → shopShared-BEfD0e4m.mjs} +12 -15
- package/dist/client/{timetableModel-D62jfOxZ.mjs → timetableModel-BG7Ejxdr.mjs} +6 -6
- package/dist/client/{useAvailableSlots-CStfVmyY.mjs → useAvailableSlots-GP8tnAVW.mjs} +1 -1
- package/dist/client/{useDiscountApply-Ca2pHUDu.mjs → useDiscountApply-Cq07nTyG.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-AEifktGO.mjs → useDiscountCodeUi-CD82QX5i.mjs} +1 -1
- package/dist/client/{useEventPagination-uxnUWI2v.mjs → useEventPagination-spj7sGQP.mjs} +5 -5
- package/dist/client/{view-SVnWic7i.mjs → view-aAP2WbCR.mjs} +2 -2
- package/dist/client/{view-B6KSxQMO.mjs → view-oToSpu1N.mjs} +3 -3
- package/dist/preview-next/client/{ArrangementLookControls-kbdqYkWM.mjs → ArrangementLookControls-CoWdilcI.mjs} +7 -7
- package/dist/preview-next/client/{LocationPickerEnvironment-CZQ4vkRe.mjs → LocationPickerEnvironment-CwxRbAs2.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-CP4w7T_0.mjs → MapLibreEditMap-CKjYUp_E.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-DI_LhsMQ.mjs → PreviewEditorSidebar-BNCrO6PQ.mjs} +117 -117
- package/dist/preview-next/client/{PreviewEditorUI-yyD-ZREP.mjs → PreviewEditorUI-inVZkLCd.mjs} +6 -6
- package/dist/preview-next/client/{PreviewShell-YauP65Gi.mjs → PreviewShell-CFQlAHTe.mjs} +10 -15
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bl7jQMI1.mjs → SdkPreviewModeRuntime-Dgl7ktO4.mjs} +11 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CQFRP9aM.mjs → SiteChromeCustomizeButton-DgDYHwkG.mjs} +362 -283
- package/dist/preview-next/client/{lucide-react-DkZ8fO-G.mjs → lucide-react-DbC1o6_9.mjs} +11 -11
- package/dist/preview-next/client/{previewAssistantSlot-DSR0IdAw.mjs → previewAssistantSlot-DRDu7Ndv.mjs} +268 -875
- package/dist/preview-next/client/{previewChromeSurface-uSnVzeNs.mjs → previewChromeSurface-K6Q5uEMC.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-6Q0RVJTQ.mjs → sdk-runtime-AGypzhcO.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-Cdx3kAGm.mjs → useAutosaveStatus-B2mn_l6c.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-ZrWdhcB6.mjs → useBlockCustomizeControls-CBXHo6ph.mjs} +5 -5
- package/dist/preview-next/client/{useOpenBlockForSetup-CK-GWb9k.mjs → useOpenBlockForSetup-BpZnBznt.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +3 -4
- package/dist/preview-next/{route-contract-BU1m9SV3.mjs → route-contract-jc2Bug-h.mjs} +36 -0
- package/dist/server/{Block.shared-4vx7wzxj.mjs → Block.shared-BHgQjX16.mjs} +4 -4
- package/dist/server/{ThemeScopeCore-C3HLgqBF.mjs → ThemeScopeCore-Ck0dhZA6.mjs} +25 -2
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-TAQbo2P5.mjs → bindings-CAbTvrCZ.mjs} +1 -1
- package/dist/server/{client-DzCxEl3L.mjs → client-C-asG6Cf.mjs} +38 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +1 -1
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BO1M9Hdf.mjs → loadContent-DKerbSnI.mjs} +4 -4
- package/dist/server/{loadPage-BvWzmZcD.mjs → loadPage-XgtQR90Z.mjs} +2 -2
- package/dist/server/next.mjs +6 -6
- package/dist/server/{opaqueSurface-BawlEAd_.mjs → opaqueSurface-Yltv_u7r.mjs} +1 -1
- package/dist/server/{overrideResolution-fxuB1zZg.mjs → overrideResolution-Z5pwH-kz.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-DzduDSqY.mjs → pageRenderPlan-DQAo35og.mjs} +8 -7
- package/dist/server/{pageRuntimeSupport-BU8pwTNx.mjs → pageRuntimeSupport-g-K-FCHa.mjs} +1 -1
- package/dist/server/{pageShared-CSOJ8p8E.mjs → pageShared-7mPhqqXX.mjs} +325 -277
- package/dist/server/{prebuild-C5ZYo7wA.mjs → prebuild-C0m4KOT9.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BvbxqeKn.mjs → prefetchBlockData-DcLKHfHG.mjs} +2 -2
- package/dist/server/{registry-Fv-7D8o2.mjs → registry-7_0_lUrh.mjs} +41 -796
- 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/islandDelivery.script.mjs +19 -0
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData-xPgkvoWS.mjs → resolveBlockData-q3WnpvyZ.mjs} +1 -1
- package/dist/server/server.mjs +3 -3
- package/dist/server/theme-bridge.mjs +2 -2
- package/dist/server/{validation-DddhgNdb.mjs → validation-CSMS6XmP.mjs} +3 -3
- package/dist/server/{version-D_W2mt8w.mjs → version-DWeqmTXc.mjs} +1 -1
- package/dist/styles/index.css +9 -0
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-qq4Vhs7k.mjs +0 -296
- package/dist/client/bookingForm-B1Fc62Sl.mjs +0 -34
- package/dist/client/eventCombined-DFSVDJ3D.mjs +0 -28
- package/dist/client/eventListing-CpFFcAUr.mjs +0 -29
- package/dist/client/eventRegistration-BipMUOCw.mjs +0 -34
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/client/{context-DQnTyApV.mjs → context-Xhf81Q-c.mjs} +1 -1
package/dist/client/{EventRegistrationPayment-Do7Q0wRG.mjs → EventRegistrationPayment-CqH3hE-k.mjs}
RENAMED
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { A as createInitialRegistrationFlowState, Ai as leavePage, Ct as getTicketSelectionRemainingPlaces, Dt as withRegistrationAvailability, E as registrationRoute, Et as shouldLoadRegistrationOptions, F as buildEventRegistrationPaymentOptionsViewModel, H as planRegistrationDetailsContinuation, Hr as decideBookingQuestionsRestoration, Ht as getPortalSubjectEmail, I as decideEventRegistrationPayment, J as visitorHoldsOwnPlace, K as resolveRegistrationTicketContinuation, Kt as transformRegistrationOptionsResponse, M as getDeclinedPass, Mi as requestSignIn, N as isRegistrationLocked, Oi as PAGE_NAVIGATION, Ot as registrationQuestionsMessage, P as registrationFlowReducer, Po as publicEventPricingStrategy, Pt as findSelectedTicketType, Q as resolveEventRegistrationSubmitPlan, Qt as getTicketSelectionTotal, Ri as resolveEventRegistrationScopedEvents, So as resolveBookingSignupOffer, St as getSlidingScaleSelectionMessage, T as registrationPresentation, Tt as resolveHeldTicketPlaces, U as resolveGuestNextStepCheck, Ur as deriveBookingQuestions, V as planRegistrationDetailsCheck, Vr as bookingQuestionsPaymentSnapshotSchema, Vt as getImplicitSingleTicketType, W as resolveRegistrationAdmission, Wr as needsBookingQuestionsRefresh, Wt as getVisibleTicketTypes, Xt as getSingleSelectedPricingOptionId, _t as formatCentsAsCurrencyInput, bt as getRegistrationOccurrenceId, cn as eventSignInDraftStore, ct as findPreSelectedEvent, dn as toEventSignInDraft, dt as resolveRegistrationTarget, en as hasValidPricingOptionSelection, ft as resolveRouteRequiresPayment, gt as invitationSubmission, ht as createRegistrationDraftData, in as toRegistrationEvents, j as decideEventChoice, kt as validateFormData, ln as eventSignInEnds, lt as resolveDiscountContext, mt as beginWaitlistInvitation, on as toWholeSeriesRegistrationEvents, pt as toRegistrationRequestSubject, qr as toBookingQuestionsPaymentSnapshot, rn as getRegistrationStartAt, rt as calculateEventRegistrationPreviewTotal, sn as EVENT_SIGN_IN_FORM_ID, tn as normalizeTicketSelectionLines, un as eventSignInRestoration, ut as resolveEventRequiresPayment, vt as getCurrentTicketSelection, w as registrationPaymentRoute, wt as parseCurrencyInputToCents, xt as getSlidingScaleForEvent, yt as getEligibilityFlowFlags, z as getTicketSelectionPurpose } from "./display-
|
|
2
|
+
import { A as createInitialRegistrationFlowState, Ai as leavePage, Ct as getTicketSelectionRemainingPlaces, Dt as withRegistrationAvailability, E as registrationRoute, Et as shouldLoadRegistrationOptions, F as buildEventRegistrationPaymentOptionsViewModel, H as planRegistrationDetailsContinuation, Hr as decideBookingQuestionsRestoration, Ht as getPortalSubjectEmail, I as decideEventRegistrationPayment, J as visitorHoldsOwnPlace, K as resolveRegistrationTicketContinuation, Kt as transformRegistrationOptionsResponse, M as getDeclinedPass, Mi as requestSignIn, N as isRegistrationLocked, Oi as PAGE_NAVIGATION, Ot as registrationQuestionsMessage, P as registrationFlowReducer, Po as publicEventPricingStrategy, Pt as findSelectedTicketType, Q as resolveEventRegistrationSubmitPlan, Qt as getTicketSelectionTotal, Ri as resolveEventRegistrationScopedEvents, So as resolveBookingSignupOffer, St as getSlidingScaleSelectionMessage, T as registrationPresentation, Tt as resolveHeldTicketPlaces, U as resolveGuestNextStepCheck, Ur as deriveBookingQuestions, V as planRegistrationDetailsCheck, Vr as bookingQuestionsPaymentSnapshotSchema, Vt as getImplicitSingleTicketType, W as resolveRegistrationAdmission, Wr as needsBookingQuestionsRefresh, Wt as getVisibleTicketTypes, Xt as getSingleSelectedPricingOptionId, _t as formatCentsAsCurrencyInput, bt as getRegistrationOccurrenceId, cn as eventSignInDraftStore, ct as findPreSelectedEvent, dn as toEventSignInDraft, dt as resolveRegistrationTarget, en as hasValidPricingOptionSelection, ft as resolveRouteRequiresPayment, gt as invitationSubmission, ht as createRegistrationDraftData, in as toRegistrationEvents, j as decideEventChoice, kt as validateFormData, ln as eventSignInEnds, lt as resolveDiscountContext, mt as beginWaitlistInvitation, on as toWholeSeriesRegistrationEvents, pt as toRegistrationRequestSubject, qr as toBookingQuestionsPaymentSnapshot, rn as getRegistrationStartAt, rt as calculateEventRegistrationPreviewTotal, sn as EVENT_SIGN_IN_FORM_ID, tn as normalizeTicketSelectionLines, un as eventSignInRestoration, ut as resolveEventRequiresPayment, vt as getCurrentTicketSelection, w as registrationPaymentRoute, wt as parseCurrencyInputToCents, xt as getSlidingScaleForEvent, yt as getEligibilityFlowFlags, z as getTicketSelectionPurpose } from "./display-DDNmyb0z.mjs";
|
|
3
3
|
import { Zt as resolveBookingBusinessTimeZone, zt as inferSiteDateLocale } from "./noop-B_f7RqLD.mjs";
|
|
4
4
|
import { c as checkBookingQuestionsAnswered, h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
|
|
5
|
-
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { a as siteTermsFailureKind, o as useSiteTermsAgreement, s as eventSiteTermsSurface } from "./DemoBookingPortalAccess-Cilv5zdS.mjs";
|
|
6
6
|
import { t as generateUuidV4 } from "./uuid-BETKW8rS.mjs";
|
|
7
|
-
import { i as BlockApiError, n as useBlockApi } from "./context-
|
|
7
|
+
import { i as BlockApiError, n as useBlockApi } from "./context-Xhf81Q-c.mjs";
|
|
8
8
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
9
|
-
import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-
|
|
10
|
-
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
11
|
-
import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-
|
|
9
|
+
import { i as useBookingNowIso, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-LLGCWjvU.mjs";
|
|
10
|
+
import { t as useDiscountCodeUi } from "./useDiscountCodeUi-CD82QX5i.mjs";
|
|
11
|
+
import { a as usePolling, c as useBookingQuestionsRefresh, o as portalSessionIdentity, s as useSignInReturn } from "./BookingMailingListNote-Br1VyHkP.mjs";
|
|
12
12
|
import { n as EVENT_REGISTRATION_CHECKOUT_ATTEMPT_PARAM, t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
13
|
-
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-
|
|
13
|
+
import { o as storeDemoBookingPass, t as CUSTOMER_PORTAL_PATH } from "./demoPortalMagicLink-DQtwf_s2.mjs";
|
|
14
14
|
import { Suspense, lazy, useCallback, useEffect, useMemo, useReducer, useRef, useState, useSyncExternalStore } from "react";
|
|
15
|
-
import { z } from "zod";
|
|
16
15
|
import { jsx } from "react/jsx-runtime";
|
|
16
|
+
import { z } from "zod";
|
|
17
17
|
//#region ../commerce/src/purchase/event-registration-errors.ts
|
|
18
18
|
const eventRegistrationErrors = {
|
|
19
19
|
invalidAnswers: {
|
|
@@ -1949,6 +1949,14 @@ function useRegistrationEventSource(options) {
|
|
|
1949
1949
|
} : options.eventSource, [options.eventSource, scopedEvents])
|
|
1950
1950
|
};
|
|
1951
1951
|
}
|
|
1952
|
+
/** A signed-in booker's email is their verified identity, never a draft copy. */
|
|
1953
|
+
function useVerifiedFormData(draft, authState, profile) {
|
|
1954
|
+
const verifiedEmail = authState === "authenticated" ? profile?.email ?? null : null;
|
|
1955
|
+
return useMemo(() => verifiedEmail === null ? draft : {
|
|
1956
|
+
...draft,
|
|
1957
|
+
email: verifiedEmail
|
|
1958
|
+
}, [draft, verifiedEmail]);
|
|
1959
|
+
}
|
|
1952
1960
|
function useEventRegistrationWizardWithDeps(options, deps) {
|
|
1953
1961
|
const api = useBlockApi();
|
|
1954
1962
|
const arrivalCredential = deps.useWaitlistClaimCredential();
|
|
@@ -1966,7 +1974,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
1966
1974
|
}));
|
|
1967
1975
|
const step = flowState.step;
|
|
1968
1976
|
const paymentIntent = flowState.paymentSelection;
|
|
1969
|
-
const { selectedEvent, formData, guests, selectedAttendanceMode, selectedTicketLines, selectedSlidingAmountInput } = flowState.draft;
|
|
1977
|
+
const { selectedEvent, formData: draftFormData, guests, selectedAttendanceMode, selectedTicketLines, selectedSlidingAmountInput } = flowState.draft;
|
|
1970
1978
|
const setSelectedEvent = useCallback((value) => dispatchFlow({
|
|
1971
1979
|
type: "draft-edited",
|
|
1972
1980
|
edit: {
|
|
@@ -2024,6 +2032,7 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
2024
2032
|
const [submissionErrorAction, setErrorAction] = useState("retry");
|
|
2025
2033
|
const [optionsRefreshKey, setOptionsRefreshKey] = useState(0);
|
|
2026
2034
|
const { authState: portalAuthState, profile: portalProfile } = deps.usePortalAuth();
|
|
2035
|
+
const formData = useVerifiedFormData(draftFormData, portalAuthState, portalProfile);
|
|
2027
2036
|
const portalIdentity = portalSessionIdentity(api.config);
|
|
2028
2037
|
const waitlistClaim = flowState.invitation;
|
|
2029
2038
|
const claimLookup = deps.useWaitlistClaim(waitlistClaim.kind === "none" ? null : waitlistClaim.request);
|
|
@@ -2052,7 +2061,6 @@ function useEventRegistrationWizardWithDeps(options, deps) {
|
|
|
2052
2061
|
if (selectionLocked || portalAuthState !== "authenticated" || !portalProfile) return;
|
|
2053
2062
|
setFormData((prev) => ({
|
|
2054
2063
|
...prev,
|
|
2055
|
-
email: portalProfile.email,
|
|
2056
2064
|
name: prev.name || portalProfile.name,
|
|
2057
2065
|
phone: prev.phone || portalProfile.phone || ""
|
|
2058
2066
|
}));
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { K as offeringsListingFor, L as OFFERINGS_PREVIEW_AUTHORABLE_SOURCE_KEYS, R as OFFERINGS_PREVIEW_DEFAULT_BUTTON_TEXT, U as isOfferingsPreviewSourceKey, Ut as buildEventListWeek, V as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, W as normalizeOfferingsPreviewContentForWrite, dn as parseMailingListPlacementTargeting, gt as combinedLookSchema, hn as parseContentVersionId, ht as recurringScheduleProjectionSchema, in as resolveHeaderChromeRuntimeContract, it as occurrenceContextSchema, ln as buildMailingListSignupBlockSourceRef, mn as sameMailingListPlacementTargeting, mt as projectRecurringSchedule, on as parseHeaderPositioning, rn as isHeaderScrollRuntimeEnabled, sn as planSiteChromePlacement, tn as resolveEventSelection, z as OFFERINGS_PREVIEW_DEFAULT_EMPTY_MESSAGE } from "./shop.interactive-BH0xDlMF.mjs";
|
|
3
3
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, r as indexRenderableMediaAssets } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import { $a as runtimeBoxBackgroundSchema, $i as arrangementLookHooks, Aa as sectionForegroundBackground, Ba as offeringsPreviewCompositionTreatmentValues, Ca as boundaryRuntimeMetricsForDecorativeTransition, Ci as readRuntimeNow, Da as deriveSectionGround, Ea as applyLookPhotoTreatment, En as computeMediaTransformStyle, Fa as assertNever$1, Ga as opaqueSurfaceContextFromTheme, Ia as defineBlockDesignCapability, In as eventCalendarWeekStart, Ja as surfaceToneFromForegroundToken, Ji as itemRole, Ka as opaqueSurfaceDeclarations, La as defineFrameCapability, Ma as stripStaleTransitionStyleGroup, Na as themeV2CompilerOwnedFieldNames, Oa as parseCanonicalRuntimeBackground, Pa as resolveEffectiveKnobs, Qa as boxBackgroundSchema, Qi as arrangementAppearancePresets, Ra as featureCardCompositionTreatmentValues, Sa as sectionShapeHook, Si as isBlockButtonRole, Ta as transitionCatalogueEntries, Tn as MediaPlaceholder, Ua as cardListFamilyBlocks, Va as testimonialsCompositionTreatmentValues, Wa as cardListKnobBlocks, Xa as TokenResolver, Xi as resolveLookSurfacePresentation, Ya as arrangementSlotNames, Yi as lookPresentationOnPalette, Zi as selectItemSurfacePresentation, _a as navLinkHoverColorCandidate, aa as deriveSiteStyleBlockPolicy, ba as sectionShapeForGround, ca as resolveCardRole, co as siteChromeBackgroundOverrideOwner, da as footerForegroundCandidates, do as asSiteStyleId, ea as arrangementManifestFromVariants, eo as tokenOrCssColorValueSchema, fa as getNavLinkPreset, fo as makeBoundaryId, ga as generateInteractiveChildInheritanceCSS, ha as generateEffectsCSS, ho as isRecord$7, ia as resolvePublishedLook, io as cardVariantRoleValues, ja as sectionSurfaceBase, ka as resolveSectionBackground, la as generateDefaultCardSystem, lo as asDesignBlockId, ma as generateNavLinkCSS, na as resolveEffectiveArrangement, no as cardRoleSchema, oa as requireCuratedSiteStyle, pa as buildTextContrastShadow, qa as selectLogoVariant, qi as resolvedItemSurfaceProps, ra as resolveModeArrangement, ro as cardSystemSchema, so as surfaceCardRoleValues, ta as readStoredMode, ua as generateFooterCss, uo as asLayoutVariantKey, va as navLinkOwnsHoverForeground, wa as anglePolygonCss, wi as resolveDateRuntimeContext, xa as sectionShapeFromContent, ya as navLinkOwnsUnderline, za as introCompositionTreatmentValues } from "./display-
|
|
4
|
+
import { $a as runtimeBoxBackgroundSchema, $i as arrangementLookHooks, Aa as sectionForegroundBackground, Ba as offeringsPreviewCompositionTreatmentValues, Ca as boundaryRuntimeMetricsForDecorativeTransition, Ci as readRuntimeNow, Da as deriveSectionGround, Ea as applyLookPhotoTreatment, En as computeMediaTransformStyle, Fa as assertNever$1, Ga as opaqueSurfaceContextFromTheme, Ia as defineBlockDesignCapability, In as eventCalendarWeekStart, Ja as surfaceToneFromForegroundToken, Ji as itemRole, Ka as opaqueSurfaceDeclarations, La as defineFrameCapability, Ma as stripStaleTransitionStyleGroup, Na as themeV2CompilerOwnedFieldNames, Oa as parseCanonicalRuntimeBackground, Pa as resolveEffectiveKnobs, Qa as boxBackgroundSchema, Qi as arrangementAppearancePresets, Ra as featureCardCompositionTreatmentValues, Sa as sectionShapeHook, Si as isBlockButtonRole, Ta as transitionCatalogueEntries, Tn as MediaPlaceholder, Ua as cardListFamilyBlocks, Va as testimonialsCompositionTreatmentValues, Wa as cardListKnobBlocks, Xa as TokenResolver, Xi as resolveLookSurfacePresentation, Ya as arrangementSlotNames, Yi as lookPresentationOnPalette, Zi as selectItemSurfacePresentation, _a as navLinkHoverColorCandidate, aa as deriveSiteStyleBlockPolicy, ba as sectionShapeForGround, ca as resolveCardRole, co as siteChromeBackgroundOverrideOwner, da as footerForegroundCandidates, do as asSiteStyleId, ea as arrangementManifestFromVariants, eo as tokenOrCssColorValueSchema, fa as getNavLinkPreset, fo as makeBoundaryId, ga as generateInteractiveChildInheritanceCSS, ha as generateEffectsCSS, ho as isRecord$7, ia as resolvePublishedLook, io as cardVariantRoleValues, ja as sectionSurfaceBase, ka as resolveSectionBackground, la as generateDefaultCardSystem, lo as asDesignBlockId, ma as generateNavLinkCSS, na as resolveEffectiveArrangement, no as cardRoleSchema, oa as requireCuratedSiteStyle, pa as buildTextContrastShadow, qa as selectLogoVariant, qi as resolvedItemSurfaceProps, ra as resolveModeArrangement, ro as cardSystemSchema, so as surfaceCardRoleValues, ta as readStoredMode, ua as generateFooterCss, uo as asLayoutVariantKey, va as navLinkOwnsHoverForeground, wa as anglePolygonCss, wi as resolveDateRuntimeContext, xa as sectionShapeFromContent, ya as navLinkOwnsUnderline, za as introCompositionTreatmentValues } from "./display-DDNmyb0z.mjs";
|
|
5
5
|
import { A as eyebrowTreatmentValues, At as trimmedStringOrNull, Ct as decideLocationSourcePermission, D as accordionIconSetValues, Dt as projectPublicLocation, E as accordionIconMotionValues, Et as parseLocationValue, F as visibleHeadingDecorationFamilyValues, H as bookingConsentCarrierSchema, I as eventVenueDrawingSchema, J as isRichTextDoc, Jt as getLocalScheduleDate, M as headingDecorationOverrideValues, Mt as formatDate, Ot as publicLocationSchema, P as tileTreatmentValues, Q as mediaSchema, St as WHOLE_SERIES_EVENT_PRESET_VALUES, T as accordionIconColorTokenValues, Zt as resolveBookingBusinessTimeZone, _ as eventCalendarListLayoutOptions, a as eventAutoApplyDiscountPreviewSchema, ct as eventCalendarListLayoutCompatibleDisplayModeValues, et as runtimeMediaSchema, g as eventCalendarListGroupingDecision, gt as calendarWindowQuerySchema, h as resolveCalendarReadProfile, j as headingDecorationColorTokenValues, k as eventListTreatmentValues, nt as PUBLIC_FILE_FIELD_KINDS, o as publicMembershipProductCollectionSchema, q as RichTextDocSchema, s as publicPassProductCollectionSchema, t as logger, tn as toUtcIsoDateTimeString, w as resolveEventCalendarReadPlan, wt as locationValueSchema, xt as isRecord$8, z as publicEventsArraySchema } from "./noop-B_f7RqLD.mjs";
|
|
6
6
|
import { M as assertNever$2 } from "./creditProducts-CMOmhWm2.mjs";
|
|
7
|
-
import { $ as
|
|
8
|
-
import { g as
|
|
9
|
-
import {
|
|
7
|
+
import { $ as contrastThresholdByPolicy, At as srgbToOklab, B as mergeStyles, C as paddingDeclarations, D as FONT_SIZE_MAP, Dt as oklabToSrgb, Et as oklabToOklch, G as resolveSurfaceForeground, H as surfaceRoleForTextToken, J as solveSurfaceInks, K as safeTokenOr, L as backgroundColorStyle, M as mapButtonVisualAppearances, O as generateShadowValue$1, Ot as oklchToHexGamut, Q as certifyPaint, R as borderColorStyle, S as materializeRuntimeButtonAppearance, T as DEFAULT_BUTTON_SIZES, Tt as hexToRgb, U as textColorStyle, V as rgbColorValue, W as textColorValue, Z as HOVER_TEXT_THRESHOLD, _ as buttonBorder, _t as resolveOpaqueSurfaceHex, a as resolveSurface, at as SURFACE_FOREGROUND_CSS_VARS, b as buttonStateAppearanceDeclarations, c as surfaceDecorationColors, ct as surfaceForegroundInputFromResolved, dt as surfaceForegroundValueWithOpacity, et as inkReference, f as actionVariableFallback, ft as surfaceInkDeclarations, g as formatButtonColourContractError, gt as resolveConcreteColorHex, h as BUTTON_CONTRAST_POLICY, ht as ownedThemeSnapshot, it as DEFAULT_SURFACE_TEXT_COLOR, kt as rgbToHex, l as compositeHex, lt as surfaceForegroundStyle, m as compileButtonColourStates, mt as freezeOwnedThemeValue, n as parseSurfaceTree, ot as SURFACE_INK_CSS_VARS, pt as surfaceInkStyle, q as surfaceInkPublication, r as prepareSurfaceIndex, rt as planForegroundHover, st as surfaceForegroundDeclarations, tt as expandPalette, ut as surfaceForegroundValue, v as buttonRadius, w as BORDER_WIDTH_MAP, x as buttonTypographyDeclarations, xt as contrastRatio, y as buttonShadow, z as cssVarValue } from "./accessibleSurfaces-_7jkuinl.mjs";
|
|
8
|
+
import { $ as styledContainer, $t as eventDisplayFields, A as cardListPhotoNumberFields, At as createSdkSelectField, B as normalizeMailingListBlockContent, Bt as testimonialsReadiness, C as eventListingBlockDefinition, Ct as section, D as FEATURE_CARD_ICON_TREATMENTS, Dt as when, E as FEATURE_CARD_GENERATED_ICON_SIZE_PX, Et as videoEmbed, Ft as PUBLIC_DOWNLOAD_MEDIA_TYPES, G as formCopyFragment, Gt as LOCATION_MAP_DEFAULTS, H as formDataSchema, Ht as loadedReadinessFact, It as augmentManifest, J as defineFragment, Jt as normalizeLocationMapSource, K as buildFragmentDataLoaders, Kt as LOCATION_MAP_LIMITS, L as desktopOnlyDisplay, Lt as chosenString, M as cardListSectionActionFields, Mt as normalizeSelectSource, N as normalizeCardListContent, Nt as parseFieldDefinition, O as cardListSectionAction, Ot as withApiBindings, Pt as parseFieldDefinitions, Q as styledSection, Qt as emptyStateField, R as mobileOnlyDisplay, Rt as galleryReadiness, S as eventCalendarBlockDefinition, Sn as linkSchema, St as richText, T as eventRegistrationBlockDefinition, Tt as text, U as createBlockManifest, Ut as pageTemplateFromEntry, V as formBlockDefinition, Vt as admitReadinessFacts, W as formEmbedFragment, Wt as unavailableReadinessFact, X as sectionHeaderLayoutNodes, Xt as cardStylingFields, Y as sectionHeaderFields, Yt as resolveLocationMapLocation, Z as resolveBackgroundColorValue, Zt as columnsField, _ as checkoutBlockDefinition, _n as parseRepeaterGridInteger, _t as inline, a as buildLoadedOfferingsPreviewListing, an as getAnchorClasses, at as lookSkinSlotTransform, b as productListBlockDefinition, bn as resolveRepeaterGridSpanFieldId, bt as props, cn as ACCORDION_OPEN_ACCENT_THICKNESS, ct as bind, dn as ACCORDION_TRIGGER_LETTER_SPACING, dt as carousel, en as layoutField, et as sectionContainer, fn as ICON_CONFIG, ft as el, g as giftingBlockDefinition, gn as isAcceptedRepeaterGridSpan, gt as icon, h as sanitizeNewsletterSignupPublicContent, hn as DEFAULT_MEDIA_FIELD_KINDS, ht as headerSection, in as BACKGROUND_POSITION_PRESET_VALUES, it as lookQuoteLimitTransform, j as cardListPresentationBindings, jt as createSiteOptionSelectField, k as cardListKnobFields, kt as parseBlockIconValue, ln as ACCORDION_SPACING_MAP, lt as bookingForm, m as newsletterSignupBlockDefinition, mn as bindingSchema, mt as form, nn as containerStylesField, nt as lookCarouselRegionTransform, on as createButtonGroup, ot as lookSlot, p as SectionNode, pn as ICON_SIZE_PX, pt as fileDownload, q as composeFragments, qt as normalizeLocationMapProps, rn as sectionStylesField, rt as lookLeadSlotTransform, s as buildAppointmentServicesView, sn as createButtonVariantField, st as accordionList, t as serverComponentRegistry, tn as cardStylesField, tt as backgroundFrame, un as ACCORDION_TRIGGER_FONT_SCALE, ut as button, v as cartBlockDefinition, vn as resolveRepeaterGridColumnFieldId, vt as link, w as mapDrawingStyleBinding, wt as stack, x as shopBlockDefinition, xn as RESOLVED_INTERNAL_LINK_ENTITY_TYPES, xt as repeat, y as productDetailBlockDefinition, yn as resolveRepeaterGridRowFieldId, yt as media, z as teamMemberCardBiographyFallback, zt as teamReadiness } from "./registry.server-CMrdUGGv.mjs";
|
|
9
|
+
import { g as plainTextToInlineText, h as parseInlineTextFromUnknown, m as inlineTextToPlainText, p as coerceInlineTextWithFallback } from "./timetableModel-BG7Ejxdr.mjs";
|
|
10
10
|
import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, O as themeColorTokenSchema, S as paletteColorEntries, a as createStandardButtonSurfacePolicy, b as isThemeColorToken, i as buttonSizeNameSchema, s as unsafeAsOpaqueButtonColourToken, t as DEFAULT_VARIANT_ALIAS_ID, u as buttonSystemSchema, v as blockColorTokenNames, y as hexColorSchema } from "./types-5fOsPIpL.mjs";
|
|
11
|
-
import { C as asPartialObject, S as resolveSpacing, T as runTransforms, b as isSemanticSpacing, c as boxStyleClassNames, d as normalizeBoxStylesBorder, f as resolveCardRoleForBoxStyles, g as parseRuntimeBackgroundContent, h as parseBackgroundOverlay, l as fixedFrameScopeClass, m as parseBackgroundContent, n as eventListSlotParents, o as RAISED_SHADOW_CLASS, p as resolveItemCardRole, s as ROUNDED_CLASSES, u as hasFixedFrameBackgroundMotion, v as SEMANTIC_SPACING_VALUES, w as createTransformRegistry, x as resolveSectionMinHeight, y as isSectionMinHeight } from "./EventListing.view-
|
|
11
|
+
import { C as asPartialObject, S as resolveSpacing, T as runTransforms, b as isSemanticSpacing, c as boxStyleClassNames, d as normalizeBoxStylesBorder, f as resolveCardRoleForBoxStyles, g as parseRuntimeBackgroundContent, h as parseBackgroundOverlay, l as fixedFrameScopeClass, m as parseBackgroundContent, n as eventListSlotParents, o as RAISED_SHADOW_CLASS, p as resolveItemCardRole, s as ROUNDED_CLASSES, u as hasFixedFrameBackgroundMotion, v as SEMANTIC_SPACING_VALUES, w as createTransformRegistry, x as resolveSectionMinHeight, y as isSectionMinHeight } from "./EventListing.view-BCvRqU86.mjs";
|
|
12
12
|
import { C as parseThemeButtonVariantId, T as AFFORDANCE_SUPPRESS_CLASS, w as themeButtonSelector } from "./ThemedButton-BdnEwA38.mjs";
|
|
13
13
|
import { t as NAV_DROPDOWN_CONTAINER_RAIL_CSS_RULES } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
14
|
-
import { r as eventHeaderSlotParents } from "./view-
|
|
15
|
-
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-
|
|
16
|
-
import { s as monthSlotParents } from "./CalendarNavigationChevron-
|
|
14
|
+
import { r as eventHeaderSlotParents } from "./view-oToSpu1N.mjs";
|
|
15
|
+
import { a as eventItemSlotParents, i as cardItemSlotParents } from "./EventItem-OpLehMpT.mjs";
|
|
16
|
+
import { s as monthSlotParents } from "./CalendarNavigationChevron-DSnSBNeq.mjs";
|
|
17
17
|
import { n as getCurrentResolveImageUrlContext, o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-Fusweriw.mjs";
|
|
18
18
|
import { r as themeRuntimeScopeProps, t as buildThemeDataAttrs } from "./themeScopeUtils-BAOw_fNA.mjs";
|
|
19
19
|
import { t as formatDate$1 } from "./formatDate-BGlhrmhF.mjs";
|
|
@@ -22,8 +22,8 @@ import { t as coerceRichTextDoc } from "./richText-coerce-BTurYEao.mjs";
|
|
|
22
22
|
import { t as resolveBlocksPageMediaContext } from "./mediaAssets-B99AP7ai.mjs";
|
|
23
23
|
import * as React$1 from "react";
|
|
24
24
|
import React from "react";
|
|
25
|
-
import { z } from "zod";
|
|
26
25
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
26
|
+
import { z } from "zod";
|
|
27
27
|
import { BlocksIslandsHydrator } from "#sdk-rendering-client";
|
|
28
28
|
//#region ../core/src/location-relationship.ts
|
|
29
29
|
/** Initial bounded policy; Opus can tune these values without changing callers. */
|
|
@@ -4346,6 +4346,20 @@ function buttonRingDefaults(variant) {
|
|
|
4346
4346
|
*/
|
|
4347
4347
|
const BOOKING_BAR_SELECTOR = ":where([data-block='event-registration']) .er-booking-bar";
|
|
4348
4348
|
const opaquePanels = [
|
|
4349
|
+
{
|
|
4350
|
+
selector: ":where([data-block='offerings-preview']) .event-quick-date",
|
|
4351
|
+
paint: {
|
|
4352
|
+
kind: "solid",
|
|
4353
|
+
token: "surface"
|
|
4354
|
+
}
|
|
4355
|
+
},
|
|
4356
|
+
{
|
|
4357
|
+
selector: ":where([data-block='offerings-preview']) .offerings-preview-card--default",
|
|
4358
|
+
paint: {
|
|
4359
|
+
kind: "solid",
|
|
4360
|
+
token: "surface"
|
|
4361
|
+
}
|
|
4362
|
+
},
|
|
4349
4363
|
{
|
|
4350
4364
|
selector: ":where([data-block=\"event-registration\"], [data-block=\"appointment-booking\"]) .rb-reg-surface",
|
|
4351
4365
|
paint: {
|
|
@@ -26386,21 +26400,22 @@ function planPageRender(input, previous = null) {
|
|
|
26386
26400
|
const reusable = previous && samePlanSettings(previous.input, input) ? previous : null;
|
|
26387
26401
|
const planned = input.page.blocks.map((block) => [block, reusable?.outcomes.get(block) ?? planPageBlock(block, input, resolveTarget)]);
|
|
26388
26402
|
const outcomes = planned.map(([, outcome]) => outcome);
|
|
26389
|
-
const
|
|
26390
|
-
const rhythmic = entries.map((entry, position) => {
|
|
26403
|
+
const rhythmic = outcomes.flatMap((outcome) => outcome.kind === "admitted" ? [outcome.entry] : []).map((entry, position) => {
|
|
26391
26404
|
const cached = reusable?.rhythm.get(entry);
|
|
26392
26405
|
return [entry, {
|
|
26393
26406
|
position,
|
|
26394
26407
|
entry: cached?.position === position ? cached.entry : applyArrangementRhythm(entry, position)
|
|
26395
26408
|
}];
|
|
26396
26409
|
});
|
|
26410
|
+
const hidden = new Set(input.hiddenBlockIds);
|
|
26411
|
+
const visibleEntries = rhythmic.map(([, value]) => value.entry).filter((entry) => !entry.block.id || !hidden.has(entry.block.id));
|
|
26397
26412
|
const plan = {
|
|
26398
|
-
entries:
|
|
26413
|
+
entries: visibleEntries,
|
|
26399
26414
|
omitted: outcomes.flatMap((outcome) => outcome.kind === "omitted" ? [outcome.omission] : []),
|
|
26400
26415
|
runtimeJoins: retargetJoinsAcrossOmissions({
|
|
26401
26416
|
joins: input.runtimeJoins ?? [],
|
|
26402
26417
|
originalBlocks: input.page.blocks,
|
|
26403
|
-
survivingBlocks: new Set(
|
|
26418
|
+
survivingBlocks: new Set(visibleEntries.map((entry) => entry.block))
|
|
26404
26419
|
})
|
|
26405
26420
|
};
|
|
26406
26421
|
return {
|
|
@@ -29001,7 +29016,7 @@ const MemoBlockSection = React$1.memo(function MemoBlockSection({ themeResources
|
|
|
29001
29016
|
/** Every plan input participates in memo identity; the builder owns all rules. */
|
|
29002
29017
|
function usePageRenderPlan(props) {
|
|
29003
29018
|
const readPlan = React$1.useMemo(createPageRenderPlanReader, []);
|
|
29004
|
-
const { page, audience, runtimeJoins, sdkConfig, customBlocks, blockOverrides } = props;
|
|
29019
|
+
const { page, audience, runtimeJoins, hiddenBlockIds, sdkConfig, customBlocks, blockOverrides } = props;
|
|
29005
29020
|
const siteStyleId = props.theme?.siteStyleId ?? null;
|
|
29006
29021
|
const previewStage = props.dataContext?.previewStage ?? "published";
|
|
29007
29022
|
return React$1.useMemo(() => readPlan({
|
|
@@ -29014,6 +29029,7 @@ function usePageRenderPlan(props) {
|
|
|
29014
29029
|
siteStyleId,
|
|
29015
29030
|
audience,
|
|
29016
29031
|
runtimeJoins,
|
|
29032
|
+
hiddenBlockIds,
|
|
29017
29033
|
previewStage,
|
|
29018
29034
|
sdkConfig,
|
|
29019
29035
|
customBlocks,
|
|
@@ -29023,6 +29039,7 @@ function usePageRenderPlan(props) {
|
|
|
29023
29039
|
siteStyleId,
|
|
29024
29040
|
audience,
|
|
29025
29041
|
runtimeJoins,
|
|
29042
|
+
hiddenBlockIds,
|
|
29026
29043
|
previewStage,
|
|
29027
29044
|
sdkConfig,
|
|
29028
29045
|
customBlocks,
|
|
@@ -43718,6 +43735,15 @@ const containerResponsiveThemeCss = `/*
|
|
|
43718
43735
|
}
|
|
43719
43736
|
}
|
|
43720
43737
|
|
|
43738
|
+
/* These panels own their paint; opaquePanels publishes its text and button pair. */
|
|
43739
|
+
:where(.theme-scope) :where([data-block='offerings-preview']) .event-quick-date {
|
|
43740
|
+
background: rgb(var(--tb-surface));
|
|
43741
|
+
}
|
|
43742
|
+
|
|
43743
|
+
:where(.theme-scope) :where([data-block='offerings-preview']) .offerings-preview-card--default {
|
|
43744
|
+
background: rgb(var(--tb-surface));
|
|
43745
|
+
}
|
|
43746
|
+
|
|
43721
43747
|
/* =============================================================================
|
|
43722
43748
|
* Featured-editorial testimonial compositions, promoted from the Fran André
|
|
43723
43749
|
* treatment study and keyed on the Look's composition intent.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./shop.interactive-
|
|
2
|
+
import "./shop.interactive-BH0xDlMF.mjs";
|
|
3
3
|
import { M as assertNever } from "./creditProducts-CMOmhWm2.mjs";
|
|
4
4
|
import { r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
5
5
|
import { t as StepIndicator$1 } from "./StepIndicator-BK0GEDoP.mjs";
|
|
@@ -173,7 +173,7 @@ function ChooseEventCard({ entry, buttonVariant, onAction }) {
|
|
|
173
173
|
className: "er-booking-card__body",
|
|
174
174
|
children: /* @__PURE__ */ jsx("p", {
|
|
175
175
|
className: "er-booking-card__when",
|
|
176
|
-
children:
|
|
176
|
+
children: entry.countLabel
|
|
177
177
|
})
|
|
178
178
|
}), /* @__PURE__ */ jsx(CardCta, {
|
|
179
179
|
label: entry.action,
|
|
@@ -269,6 +269,7 @@ function bookingBarCopy(entry) {
|
|
|
269
269
|
switch (entry.kind) {
|
|
270
270
|
case "single": {
|
|
271
271
|
const copy = barCopy(entry.title, [
|
|
272
|
+
plain(entry.run),
|
|
272
273
|
plain(entry.shortWhen),
|
|
273
274
|
price(entry.price),
|
|
274
275
|
plain(entry.places)
|
|
@@ -280,7 +281,7 @@ function bookingBarCopy(entry) {
|
|
|
280
281
|
plain(entry.nextDate ? `next: ${entry.nextDate}` : null),
|
|
281
282
|
plain(entry.schedule)
|
|
282
283
|
]);
|
|
283
|
-
case "chooseEvent": return barCopy(entry.title, [plain(
|
|
284
|
+
case "chooseEvent": return barCopy(entry.title, [plain(entry.countLabel)]);
|
|
284
285
|
case "inProgress": return barCopy(entry.title, [plain("Booking in progress"), plain(entry.progress ? `Step ${entry.progress.current} of ${entry.progress.total}` : null)]);
|
|
285
286
|
case "booked": return barCopy("Booked", [plain(entry.shortWhen), plain(entry.places)]);
|
|
286
287
|
case "waitlisted": return barCopy("On the waitlist", [plain(entry.shortWhen)]);
|
|
@@ -2,6 +2,26 @@
|
|
|
2
2
|
import { C as paletteColorsFromEntries, D as parseThemeColorToken, E as parseColorTokenParts, T as paletteModeSchema, _ as PALETTE_TOKEN_NAMES, c as buttonEffectApplicationSchema, g as VARIANT_ROLES, m as parseOpaqueButtonColourToken, n as STANDARD_BUTTON_SURFACE_POLICY, p as opaqueButtonColourTokenSchema, s as unsafeAsOpaqueButtonColourToken, u as buttonSystemSchema, x as normalizePaletteHex, y as hexColorSchema } from "./types-5fOsPIpL.mjs";
|
|
3
3
|
import { t as SURFACE_TRANSPORT_KEY } from "./surfaceTransportMarker-BuwkYxsI.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
|
+
//#region ../core/src/stable-json.ts
|
|
6
|
+
function stableJsonStringify(value) {
|
|
7
|
+
return JSON.stringify(sortStableJsonValue(value));
|
|
8
|
+
}
|
|
9
|
+
function sortStableJsonValue(value) {
|
|
10
|
+
if (value === null) return null;
|
|
11
|
+
if (typeof value === "string" || typeof value === "boolean") return value;
|
|
12
|
+
if (typeof value === "number") {
|
|
13
|
+
if (!Number.isFinite(value)) throw new TypeError("Stable JSON only supports finite numbers");
|
|
14
|
+
return value;
|
|
15
|
+
}
|
|
16
|
+
if (Array.isArray(value)) return value.map(sortStableJsonValue);
|
|
17
|
+
if (typeof value === "object") {
|
|
18
|
+
const prototype = Object.getPrototypeOf(value);
|
|
19
|
+
if (prototype !== Object.prototype && prototype !== null) throw new TypeError("Stable JSON only supports plain objects");
|
|
20
|
+
return Object.fromEntries(Object.entries(value).sort(([left], [right]) => left < right ? -1 : left > right ? 1 : 0).map(([key, child]) => [key, sortStableJsonValue(child)]));
|
|
21
|
+
}
|
|
22
|
+
throw new TypeError(`Stable JSON does not support ${typeof value}`);
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
5
25
|
//#region ../theme-core/src/palette/utils/colorConversion.ts
|
|
6
26
|
const clamp01 = (x) => Math.max(0, Math.min(1, x));
|
|
7
27
|
const mod = (a, n) => (a % n + n) % n;
|
|
@@ -3592,6 +3612,7 @@ function missingBackgroundSurface(input) {
|
|
|
3592
3612
|
}
|
|
3593
3613
|
const surfaceOwners = /* @__PURE__ */ new WeakSet();
|
|
3594
3614
|
const preparedIndexOwners = /* @__PURE__ */ new WeakSet();
|
|
3615
|
+
const derivedSurfaceValues = /* @__PURE__ */ new WeakMap();
|
|
3595
3616
|
const surfaceTransports = /* @__PURE__ */ new WeakMap();
|
|
3596
3617
|
const revisionOwners = /* @__PURE__ */ new WeakMap();
|
|
3597
3618
|
const surfaceRevisionOwners = /* @__PURE__ */ new WeakMap();
|
|
@@ -3675,7 +3696,16 @@ function preparedSurfaceIndexFor(context) {
|
|
|
3675
3696
|
return matchingPreparedSurfaceIndex(context.preparedSurfaces ?? surfaceRevisionOwners.get(context)?.preparedSurfaces, context);
|
|
3676
3697
|
}
|
|
3677
3698
|
function preparedSurfaceValue(spec, context) {
|
|
3678
|
-
|
|
3699
|
+
const index = preparedSurfaceIndexFor(context);
|
|
3700
|
+
if (!index) return void 0;
|
|
3701
|
+
const key = surfaceResolutionKey(spec, context);
|
|
3702
|
+
const existing = index.values[key] ?? derivedSurfaceValues.get(index)?.get(key);
|
|
3703
|
+
if (existing) return existing;
|
|
3704
|
+
const surface = certifySurface(spec, context);
|
|
3705
|
+
const derived = derivedSurfaceValues.get(index) ?? /* @__PURE__ */ new Map();
|
|
3706
|
+
derived.set(key, surface);
|
|
3707
|
+
derivedSurfaceValues.set(index, derived);
|
|
3708
|
+
return surface;
|
|
3679
3709
|
}
|
|
3680
3710
|
function surfaceResolutionKey(spec, context) {
|
|
3681
3711
|
const declaration = spec.kind === "tint" ? {
|
|
@@ -4166,17 +4196,35 @@ function sectionProof(background, foreground) {
|
|
|
4166
4196
|
if (foreground.kind !== "known" || foreground.provenance.kind !== "measured") return "unproven-media";
|
|
4167
4197
|
return /\/|rgba\(/.test(background.color ?? "") ? "checked-composited" : "checked-solid";
|
|
4168
4198
|
}
|
|
4169
|
-
|
|
4199
|
+
const revisionContentKeys = /* @__PURE__ */ new WeakMap();
|
|
4200
|
+
/**
|
|
4201
|
+
* A revision is exactly its palette and button system; solved inks travel with each reference.
|
|
4202
|
+
* The key is taken from the wire form, so fields JSON drops can't split equal revisions.
|
|
4203
|
+
*/
|
|
4204
|
+
function revisionContentKey(revision) {
|
|
4205
|
+
const cached = revisionContentKeys.get(revision);
|
|
4206
|
+
if (cached !== void 0) return cached;
|
|
4207
|
+
const key = stableJsonStringify(JSON.parse(JSON.stringify({
|
|
4208
|
+
palette: revision.palette,
|
|
4209
|
+
buttonSystem: revision.buttonSystem ?? null
|
|
4210
|
+
})));
|
|
4211
|
+
revisionContentKeys.set(revision, key);
|
|
4212
|
+
return key;
|
|
4213
|
+
}
|
|
4214
|
+
/**
|
|
4215
|
+
* One theme revision per distinct palette and button system in a JSON envelope, shared by
|
|
4216
|
+
* all nested Look slots. Separately parsed envelopes own equal inputs as different objects.
|
|
4217
|
+
*/
|
|
4170
4218
|
function serializeSurfaceTree(value) {
|
|
4171
4219
|
const revisions = [];
|
|
4172
4220
|
const indices = /* @__PURE__ */ new Map();
|
|
4173
4221
|
const revisionIndex = (revision) => {
|
|
4174
|
-
const
|
|
4175
|
-
|
|
4176
|
-
|
|
4177
|
-
|
|
4178
|
-
|
|
4179
|
-
return
|
|
4222
|
+
const key = revisionContentKey(revision);
|
|
4223
|
+
const existing = indices.get(key);
|
|
4224
|
+
if (existing !== void 0) return existing;
|
|
4225
|
+
indices.set(key, revisions.length);
|
|
4226
|
+
revisions.push(revision);
|
|
4227
|
+
return revisions.length - 1;
|
|
4180
4228
|
};
|
|
4181
4229
|
const encode = (item) => {
|
|
4182
4230
|
const revision = isSurfaceTreeRecord(item) ? surfaceRevisionOwners.get(item)?.revision : void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|
|
@@ -111,6 +111,11 @@ const enhance = (root, props) => {
|
|
|
111
111
|
});
|
|
112
112
|
return () => {
|
|
113
113
|
cleanups.forEach((fn) => fn());
|
|
114
|
+
items.forEach((item) => {
|
|
115
|
+
const content = item.querySelector(".accordion-content");
|
|
116
|
+
if (content) closeAnimations.get(content)?.();
|
|
117
|
+
});
|
|
118
|
+
delete root.dataset.rbAccordionEnhanced;
|
|
114
119
|
};
|
|
115
120
|
};
|
|
116
121
|
//#endregion
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $r as bookingRequiresResourceSelection, Ai as leavePage, Ar as selectedBookingCollectionOptionKind, Br as bookingQuestionsAnswerDraftSchema, Ci as readRuntimeNow, Cr as parseBookingCurrencyInputToCents, Dr as resolveBookingSelectedService, Er as resolveBookingPaymentStep, Fr as applyAppointmentBookingQuestionsEvent, Gr as restoreBookingQuestionsAnswers, Hr as decideBookingQuestionsRestoration, Ir as appointmentQuestionsRefusal, Jr as BOOKING_FORM_DATA_RESERVED_KEYS, Kr as toBookingQuestionsAnswerDraft, Lr as deriveAppointmentBookingQuestions, Mr as projectSelectedAppointmentConsentIntoForm, Nr as resolveSelectedAppointmentConsent, Or as resolveBookingSiteId, Pr as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, Qr as bookingPackageRequestKey, Rr as isAppointmentBookingQuestionsEvent, So as resolveBookingSignupOffer, Sr as normalizeBookingServices, Tr as resolveAppointmentCheckoutVerificationState, Xr as applyBookingPaymentAdmission, Zr as bookingHasPackagePaymentChoices, _r as getBookingSuccessCopy, ai as resolveBookingPaymentMode, at as buildReviewedBookingPaymentViewModel, br as isBookingServiceSlidingAmountInRange, ci as getBookingServiceSlidingScale, dr as buildBookingFormInteractiveIslandProps, ei as reconcileBookingPackagePurchase, fr as readOverrideServiceCategories, gr as getBookingRedirectStateFromLocation, hr as formatBookingSubmissionPreparationError, ii as resolveBookingPaymentChoice, it as buildBookingPaymentSelectionViewModel, jr as toSelectedCollectionOptionKind, kr as resolveDefaultBookingServiceId, l as formatValidity, mr as formatBookingCentsAsCurrencyInput, ni as resolveBookingPackageSources, oi as resolveBookingPurchasablePackages, ot as paymentChoiceDetails, pn as createSignInReturnDraftStore, pr as deriveBookingFormViewState, ri as resolveBookingPaymentAvailability, si as toBookingPurchasablePackages, st as paymentChoicePrice, ti as resolveBookingPackagePaymentSelection, wi as resolveDateRuntimeContext, wr as prepareBookingSubmission, xr as normalizeBookingFormConfig, zo as unsafeAsSiteId, zr as needsAppointmentQuestionsRefresh } from "./display-
|
|
2
|
+
import { $r as bookingRequiresResourceSelection, Ai as leavePage, Ar as selectedBookingCollectionOptionKind, Br as bookingQuestionsAnswerDraftSchema, Ci as readRuntimeNow, Cr as parseBookingCurrencyInputToCents, Dr as resolveBookingSelectedService, Er as resolveBookingPaymentStep, Fr as applyAppointmentBookingQuestionsEvent, Gr as restoreBookingQuestionsAnswers, Hr as decideBookingQuestionsRestoration, Ir as appointmentQuestionsRefusal, Jr as BOOKING_FORM_DATA_RESERVED_KEYS, Kr as toBookingQuestionsAnswerDraft, Lr as deriveAppointmentBookingQuestions, Mr as projectSelectedAppointmentConsentIntoForm, Nr as resolveSelectedAppointmentConsent, Or as resolveBookingSiteId, Pr as EMPTY_APPOINTMENT_BOOKING_QUESTIONS, Qr as bookingPackageRequestKey, Rr as isAppointmentBookingQuestionsEvent, So as resolveBookingSignupOffer, Sr as normalizeBookingServices, Tr as resolveAppointmentCheckoutVerificationState, Xr as applyBookingPaymentAdmission, Zr as bookingHasPackagePaymentChoices, _r as getBookingSuccessCopy, ai as resolveBookingPaymentMode, at as buildReviewedBookingPaymentViewModel, br as isBookingServiceSlidingAmountInRange, ci as getBookingServiceSlidingScale, dr as buildBookingFormInteractiveIslandProps, ei as reconcileBookingPackagePurchase, fr as readOverrideServiceCategories, gr as getBookingRedirectStateFromLocation, hr as formatBookingSubmissionPreparationError, ii as resolveBookingPaymentChoice, it as buildBookingPaymentSelectionViewModel, jr as toSelectedCollectionOptionKind, kr as resolveDefaultBookingServiceId, l as formatValidity, mr as formatBookingCentsAsCurrencyInput, ni as resolveBookingPackageSources, oi as resolveBookingPurchasablePackages, ot as paymentChoiceDetails, pn as createSignInReturnDraftStore, pr as deriveBookingFormViewState, ri as resolveBookingPaymentAvailability, si as toBookingPurchasablePackages, st as paymentChoicePrice, ti as resolveBookingPackagePaymentSelection, wi as resolveDateRuntimeContext, wr as prepareBookingSubmission, xr as normalizeBookingFormConfig, zo as unsafeAsSiteId, zr as needsAppointmentQuestionsRefresh } from "./display-DDNmyb0z.mjs";
|
|
3
3
|
import { Bt as resolveBookingDisplayContext, Ft as formatDateTimeRange, It as formatTime, Mt as formatDate, Qt as resolveBookingTimeZoneId, Rt as formatTimeZoneCityLabel, U as isBookingRequirementConsentFieldId, Zt as resolveBookingBusinessTimeZone, en as parseUtcIsoDateTimeString, on as formatCurrencyAmount, t as logger, tn as toUtcIsoDateTimeString } from "./noop-B_f7RqLD.mjs";
|
|
4
|
-
import { a as formatTime$1, c as unsafeAsAppointmentServiceId, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, s as unsafeAsAppointmentResourceId, t as useAvailableSlots } from "./useAvailableSlots-
|
|
4
|
+
import { a as formatTime$1, c as unsafeAsAppointmentServiceId, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, s as unsafeAsAppointmentResourceId, t as useAvailableSlots } from "./useAvailableSlots-GP8tnAVW.mjs";
|
|
5
5
|
import { b as reportWorkflowError, c as checkBookingQuestionsAnswered, g as err, h as assertNever, v as okWith, x as reportWorkflowSuccess, y as clearWorkflowFeedback } from "./creditProducts-CMOmhWm2.mjs";
|
|
6
|
-
import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
+
import { c as NavigationHandOffPanel, f as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-Cilv5zdS.mjs";
|
|
7
7
|
import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
8
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
8
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
|
|
9
9
|
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-BdnEwA38.mjs";
|
|
10
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
10
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CY8qywXl.mjs";
|
|
11
11
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
12
12
|
import { t as CheckboxChoice } from "./CheckboxChoice-W_uiRgDK.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-
|
|
17
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
18
|
-
import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
16
|
+
import { i as useBookingNowIso, n as OptionalMark, r as parseBookingSubmissionFailure } from "./BookingQuestionFields-LLGCWjvU.mjs";
|
|
17
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-CD82QX5i.mjs";
|
|
18
|
+
import { a as usePolling, c as useBookingQuestionsRefresh, i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, o as portalSessionIdentity, s as useSignInReturn, t as BookingMailingListNote } from "./BookingMailingListNote-Br1VyHkP.mjs";
|
|
19
19
|
import { t as StepIndicator } from "./StepIndicator-BK0GEDoP.mjs";
|
|
20
|
-
import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-
|
|
20
|
+
import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-DQtwf_s2.mjs";
|
|
21
21
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
22
|
-
import { z } from "zod";
|
|
23
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
23
|
+
import { z } from "zod";
|
|
24
24
|
//#region ../core/src/branded/entitlements.ts
|
|
25
25
|
const unsafeAsPassId = (id) => id;
|
|
26
26
|
const unsafeAsCustomerPassId = (id) => id;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { t as BookingFormClient } from "./booking-form.client-wd71DG19.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
|
|
5
|
+
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DFjRKvzM.mjs";
|
|
7
|
+
import "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
|
10
|
+
const decode = defineIslandPropsDecoder("booking-form");
|
|
11
|
+
const enhance = (root, props) => {
|
|
12
|
+
const { apiBaseUrl, portalToken } = props;
|
|
13
|
+
if (!props.render.hydration.formId) throw new Error("[sdk:islands] booking-form requires formId");
|
|
14
|
+
const siteId = props.siteId;
|
|
15
|
+
if (!siteId) throw new Error("[sdk:islands] booking-form requires siteId");
|
|
16
|
+
if (!apiBaseUrl) throw new Error("[sdk:islands] booking-form requires apiBaseUrl");
|
|
17
|
+
return mountReactIsland(root, /* @__PURE__ */ jsx(BlockApiProvider, {
|
|
18
|
+
config: {
|
|
19
|
+
...buildRouteIslandApiConfig({
|
|
20
|
+
apiBaseUrl,
|
|
21
|
+
readAuthority: props.readAuthority,
|
|
22
|
+
portalToken,
|
|
23
|
+
siteId
|
|
24
|
+
}),
|
|
25
|
+
pageNavigation: props.render.hydration.pageNavigation
|
|
26
|
+
},
|
|
27
|
+
children: /* @__PURE__ */ jsx(BookingFormClient, { ...props })
|
|
28
|
+
}));
|
|
29
|
+
};
|
|
30
|
+
//#endregion
|
|
31
|
+
export { decode, enhance };
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as resolveHeadlessEventRegistrationStatus, Ci as readRuntimeNow, Ei as createHostedBlockApiConfig, Li as normalizeEventRegistrationPageSurfaceSubject, Q as resolveEventRegistrationSubmitPlan, Sr as normalizeBookingServices, Xt as getSingleSelectedPricingOptionId, Y as deriveEventRegistrationSteps, Yr as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Z as normalizeEventRegistrationMaxTickets, Zn as resolveRuntimeEventDestination, et as resolveHeadlessEventRegistrationView, nt as toInternalPaymentSelection, tt as toHeadlessPaymentSelection, xn as resolveRegistrationDisplay, xr as normalizeBookingFormConfig } from "./display-
|
|
3
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
2
|
+
import { $ as resolveHeadlessEventRegistrationStatus, Ci as readRuntimeNow, Ei as createHostedBlockApiConfig, Li as normalizeEventRegistrationPageSurfaceSubject, Q as resolveEventRegistrationSubmitPlan, Sr as normalizeBookingServices, Xt as getSingleSelectedPricingOptionId, Y as deriveEventRegistrationSteps, Yr as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, Z as normalizeEventRegistrationMaxTickets, Zn as resolveRuntimeEventDestination, et as resolveHeadlessEventRegistrationView, nt as toInternalPaymentSelection, tt as toHeadlessPaymentSelection, xn as resolveRegistrationDisplay, xr as normalizeBookingFormConfig } from "./display-DDNmyb0z.mjs";
|
|
3
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-wd71DG19.mjs";
|
|
4
4
|
import { R as publicEventSchema } from "./noop-B_f7RqLD.mjs";
|
|
5
5
|
import { h as assertNever } from "./creditProducts-CMOmhWm2.mjs";
|
|
6
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
7
|
-
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-Xhf81Q-c.mjs";
|
|
7
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-CqH3hE-k.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
|
|
3
3
|
import { i as carouselRegionAttributes } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
5
|
-
import { t as mountReactIsland } from "./reactMount-
|
|
4
|
+
import { t as CarouselNodeClient } from "./carousel.client-eSSr1oYA.mjs";
|
|
5
|
+
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/rendering/islands/enhancers/carousel.tsx
|
|
@@ -26,12 +26,10 @@ const enhance = (root, props) => {
|
|
|
26
26
|
Object.entries(carouselRegionAttributes(admittedProps)).forEach(([name, value]) => {
|
|
27
27
|
if (value !== void 0) root.setAttribute(name, String(value));
|
|
28
28
|
});
|
|
29
|
-
return mountReactIsland(root,
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}));
|
|
34
|
-
});
|
|
29
|
+
return mountReactIsland(root, /* @__PURE__ */ jsx(CarouselNodeClient, {
|
|
30
|
+
renderRoot: false,
|
|
31
|
+
...admittedProps
|
|
32
|
+
}));
|
|
35
33
|
};
|
|
36
34
|
/** Current metadata must match SSR content; the retired payload is a distinct case. */
|
|
37
35
|
function admitCarouselSlides(props, extracted) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { S as clsx } from "./ThemedButton-BdnEwA38.mjs";
|
|
3
3
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
4
|
-
import { t as createLucideIcon } from "./createLucideIcon-
|
|
4
|
+
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
5
5
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
/**
|
|
@@ -1605,7 +1605,7 @@ function EmblaCarousel(root, userOptions, userPlugins) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
EmblaCarousel.globalOptions = void 0;
|
|
1607
1607
|
//#endregion
|
|
1608
|
-
//#region ../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.
|
|
1608
|
+
//#region ../../node_modules/.pnpm/embla-carousel-react@8.6.0_react@19.3.1/node_modules/embla-carousel-react/esm/embla-carousel-react.esm.js
|
|
1609
1609
|
function useEmblaCarousel(options = {}, plugins = []) {
|
|
1610
1610
|
const storedOptions = useRef(options);
|
|
1611
1611
|
const storedPlugins = useRef(plugins);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-COAP4CEy.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BEfD0e4m.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-B3PyRHaN.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Dc8j5i79.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-DRralR3e.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BEfD0e4m.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-B3PyRHaN.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|