@riverbankcms/sdk 0.169.0 → 0.170.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-DpROiz12.d.ts → BlocksIslandsHydrator-B2i5CY_X.d.ts} +1 -1
- package/dist/_dts/{Page-DHBBDRC_.d.ts → Page-BSZjbeRK.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CG7Qib7u.d.ts → SdkPreviewMode-BZpPBMcu.d.ts} +2 -2
- package/dist/_dts/{client-MURxFla9.d.ts → client-x82SZgwK.d.ts} +1 -1
- package/dist/_dts/{content-types-ClBGjxBV.d.ts → content-types-CODkxsZy.d.ts} +2 -2
- package/dist/_dts/{contracts-CHNvzh0y.d.ts → contracts-Lyfhmbjf.d.ts} +3 -3
- package/dist/_dts/{footerPageOutline-DQM934Fm.d.ts → footerPageOutline-BShG2GAV.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-ConZaEqB.d.ts → generatePageMetadata-DLhUW3xK.d.ts} +2 -2
- package/dist/_dts/{index-BaDqRekr.d.ts → index-B7Mq5M6P.d.ts} +4 -4
- package/dist/_dts/{index-CovKPftP.d.ts → index-B82pqQAC.d.ts} +2 -2
- package/dist/_dts/{index-CiR_oPYT.d.ts → index-BisbMZTW.d.ts} +1 -1
- package/dist/_dts/{index-CVB5wgbz.d.ts → index-C3rMEJ5a.d.ts} +2 -2
- package/dist/_dts/{index-DDaX-K2D.d.ts → index-CCugONHM.d.ts} +1 -1
- package/dist/_dts/{index-rfAssXq0.d.ts → index-CstY6ZMa.d.ts} +3 -3
- package/dist/_dts/{index-DCw8LO4M.d.ts → index-DXc_ewhR.d.ts} +1 -1
- package/dist/_dts/{loadContent-CRLKVVDP.d.ts → loadContent-BoqtbbhP.d.ts} +7 -7
- package/dist/_dts/{request-DeVetKBr.d.ts → request-CJ_ClHLv.d.ts} +39255 -37305
- package/dist/_dts/{resolveBlockData-C5KYFeig.d.ts → resolveBlockData-DFExYkJ4.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-D8MZWyNO.d.ts → resolvePageContent-D-WvpC_d.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-Fj31kIi2.d.ts → types-990t4t99.d.ts} +7 -7
- package/dist/_dts/{types-B4MBlP_B.d.ts → types-CbjK5ZLy.d.ts} +2 -2
- package/dist/_dts/{types-OwqfS8Gn.d.ts → types-CpuxuS40.d.ts} +3 -3
- package/dist/_dts/{validation-B1Fa8o_b.d.ts → validation-BN95LiS0.d.ts} +4 -4
- package/dist/client/BlocksIslandsHydrator-B1Tkg-ZW.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-CH7z2m47.mjs} +4 -4
- package/dist/client/{DemoBookingPortalAccess-C2QCj_Ta.mjs → DemoBookingPortalAccess-Cilv5zdS.mjs} +3 -3
- package/dist/client/{EventCalendar.client-DDjz7tuX.mjs → EventCalendar.client-LXUHJEi7.mjs} +7 -7
- package/dist/client/{EventCombined.client-CeYbNsch.mjs → EventCombined.client-DpugEJLB.mjs} +5 -5
- package/dist/client/{EventItem-B5J0IeF4.mjs → EventItem-gFuZn-dE.mjs} +7 -6
- package/dist/client/{EventListWeekNavigation-eH04D8-V.mjs → EventListWeekNavigation-D-kLg1jQ.mjs} +2 -1
- package/dist/client/{EventListing.client-slpvrTrM.mjs → EventListing.client-BNACUaxV.mjs} +3 -3
- package/dist/client/{EventListing.view-BYBaElec.mjs → EventListing.view-CtVfe3VG.mjs} +5 -6
- package/dist/client/{EventRegistrationPayment-Do7Q0wRG.mjs → EventRegistrationPayment-CqH3hE-k.mjs} +18 -10
- package/dist/client/Page-PW4Ojv9r.mjs +29977 -0
- 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-wlRXnOjO.mjs} +3 -3
- package/dist/client/{cart.client-CIfbTLHS.mjs → cart.client-CfpnxTUZ.mjs} +1 -1
- package/dist/client/{checkout-fDCNZ3IT.mjs → checkout-Dnu9W8IA.mjs} +3 -3
- package/dist/client/{checkout.client-C4l2KjtV.mjs → checkout.client-ovtyXyn0.mjs} +1 -1
- package/dist/client/{checkoutUrls-cWL6I-Vz.mjs → checkoutUrls-CY8qywXl.mjs} +1 -1
- package/dist/client/client.mjs +40 -12
- 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-B4VbblGN.mjs} +14 -17
- package/dist/client/eventCombined-e2AvbA0u.mjs +25 -0
- package/dist/client/{eventDetails-DzMskXYA.mjs → eventDetails-DIJYMzVg.mjs} +4 -6
- package/dist/client/eventListing-C0bpAR1t.mjs +26 -0
- package/dist/client/eventRegistration-DyseP_sY.mjs +31 -0
- package/dist/client/flightRegistrations-DjYm0Wz6.mjs +45 -0
- package/dist/client/form-Cfl8d6qc.mjs +27 -0
- 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/formSnapshot-Cy4abc0T.mjs +73 -0
- 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-Bn7HVbuq.mjs +27 -0
- package/dist/client/portal/client.mjs +5 -5
- package/dist/client/{product-detail.client-rWUvpVvZ.mjs → product-detail.client-BXeLqkCE.mjs} +1 -1
- package/dist/client/{product-list.client-J0wDOmKv.mjs → product-list.client-C627X8DQ.mjs} +1 -1
- package/dist/client/{productDetail-LtCkMrJ0.mjs → productDetail-B-K_hd7Y.mjs} +3 -3
- package/dist/client/{productList-C0MLeh-v.mjs → productList-BNZAsfaP.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-CBg2M6Uj.mjs} +352 -288
- package/dist/client/rendering/client.mjs +36 -36
- package/dist/client/rendering/islandDelivery.flight.mjs +132 -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-PgmiVKSV.mjs} +3 -3
- package/dist/client/{shop-commerce-bo0Z6kwf.mjs → shop-commerce-DkgvZAQS.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-DDFRt6OU.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-GsDrJxxw.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-DGl4Jeuz.mjs} +5 -5
- package/dist/client/{view-SVnWic7i.mjs → view-CgComegl.mjs} +2 -2
- package/dist/client/{view-B6KSxQMO.mjs → view-oToSpu1N.mjs} +3 -3
- package/dist/preview-next/chrome.css +4 -0
- package/dist/preview-next/client/{ArrangementLookControls-kbdqYkWM.mjs → ArrangementLookControls-DJQrgD5f.mjs} +12 -19
- 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-DWU6X6Y-.mjs} +119 -133
- package/dist/preview-next/client/{PreviewEditorUI-yyD-ZREP.mjs → PreviewEditorUI-C-X0ptC3.mjs} +7 -39
- package/dist/preview-next/client/{PreviewShell-YauP65Gi.mjs → PreviewShell-C1WUNsj9.mjs} +40 -46
- package/dist/preview-next/client/{SdkPreviewModeRuntime-Bl7jQMI1.mjs → SdkPreviewModeRuntime-Cs2QFT7k.mjs} +11 -9
- package/dist/preview-next/client/{SiteChromeCustomizeButton-CQFRP9aM.mjs → SiteChromeCustomizeButton-CcZ_ERvZ.mjs} +844 -23038
- 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-CSs9S8wr.mjs} +357 -924
- package/dist/preview-next/client/{previewChromeSurface-uSnVzeNs.mjs → previewChromeRoot-B2OTurZH.mjs} +52 -14
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-6Q0RVJTQ.mjs → sdk-runtime-CBIwYDyi.mjs} +2 -2
- package/dist/preview-next/client/{useAutosaveStatus-Cdx3kAGm.mjs → useAutosaveStatus-DoWvGNPA.mjs} +3 -3
- package/dist/preview-next/client/{useBlockCustomizeControls-ZrWdhcB6.mjs → useBlockCustomizeControls-WOs8Atje.mjs} +17 -23
- package/dist/preview-next/client/{useOpenBlockForSetup-CK-GWb9k.mjs → useOpenBlockForSetup-CipKCK2O.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +3050 -0
- package/dist/preview-next/editor-base.css +90 -178
- package/dist/preview-next/editor-chrome.css +25 -8
- 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-BLYaenrK.mjs} +36 -8
- package/dist/server/{Block.shared-4vx7wzxj.mjs → Block.shared-Dx4j9CJT.mjs} +4 -4
- package/dist/server/ThemeScopeCore-B0IfeNNZ.mjs +1983 -0
- package/dist/server/{accessibleSurfaces-108nxyGc.mjs → accessibleSurfaces-D0q5tLSW.mjs} +56 -8
- package/dist/server/{bindings-TAQbo2P5.mjs → bindings-C1-MNwwS.mjs} +1 -1
- package/dist/server/{client-DzCxEl3L.mjs → client-Djjv-NuA.mjs} +38 -10
- 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-DhraQ_Fi.mjs} +4 -4
- package/dist/server/{loadPage-BvWzmZcD.mjs → loadPage-QXSdPSYY.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-CMNx5tQg.mjs} +1 -1
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{pageRenderPlan-DzduDSqY.mjs → pageRenderPlan-Bv6NbFeM.mjs} +11 -9
- package/dist/server/{pageRuntimeSupport-BU8pwTNx.mjs → pageRuntimeSupport-B2laBtff.mjs} +1 -1
- package/dist/server/{pageShared-CSOJ8p8E.mjs → pageShared-CE9EBNSH.mjs} +352 -290
- package/dist/server/{prebuild-C5ZYo7wA.mjs → prebuild-FBA6Y1K7.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-BvbxqeKn.mjs → prefetchBlockData-yL2hB2l_.mjs} +2 -2
- package/dist/server/{registry-Fv-7D8o2.mjs → registry-Djrj9gWy.mjs} +56 -816
- 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-CyeIjmqx.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-Dh8htd6l.mjs} +3 -3
- package/dist/server/{version-D_W2mt8w.mjs → version-LMwnoksN.mjs} +1 -1
- package/dist/styles/index.css +122 -49
- package/package.json +10 -6
- package/dist/client/BlocksIslandsHydrator-qq4Vhs7k.mjs +0 -296
- package/dist/client/Page-Dv9eIOGr.mjs +0 -52213
- 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/form-57k2JQnm.mjs +0 -90
- package/dist/client/newsletterForm-Cn7h4zFe.mjs +0 -53
- package/dist/client/reactMount-BGJVsHRb.mjs +0 -28
- package/dist/client/runtimeResponse-BP-L6exS.mjs +0 -3
- package/dist/server/ThemeScopeCore-C3HLgqBF.mjs +0 -24213
- package/dist/client/{context-DQnTyApV.mjs → context-Xhf81Q-c.mjs} +1 -1
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as
|
|
2
|
+
import { $t as normalizeEventSurfaceScope, Bt as getCardOrientation, D as publicGiftingOffersResponseSchema, G as normalizeOfferingsPreviewItemLimit, H as buildOfferingsPreviewListing, Ht as Grid, J as resolveOfferingsPreviewGroups, Jt as formatEventPriceDisplay, K as offeringsListingFor, Kt as formatEventPrice, M as buildEventRegistrationInteractiveIslandProps, Nt as catalogueEventCardProps, O as buildFormInteractiveIslandProps, P as eventRegistrationBlockRuntime, Pt as listingEventCardProps, Qt as normalizeEventSurfacePresets, S as newsletterFormBlockRuntime, T as giftingBlockRuntime, Ut as buildEventListWeek, V as OFFERINGS_PREVIEW_EVENT_PRESET_DEFINITIONS, Vt as getContainerClass, Wt as eventListWeekDays, Xt as normalizeEventScheduleScope, Y as resolveOfferingsRenderInput, Yt as normalizeEventCategoryIds, Zt as normalizeEventStaffMemberId, _ as shopProductPresentation, _t as buildEventListingInteractiveIslandProps, a as buildShopInteractiveIslandProps, an as staticHeaderChromeRuntime, at as buildEventCombinedInteractiveIslandProps, b as buildNewsletterFormInteractiveIslandProps, c as checkoutBlockRuntime, cn as splitSiteChromePlacementClasses, d as productDetailBlockRuntime, dn as parseMailingListPlacementTargeting, en as normalizeEventVenueId, ft as eventCalendarBlockRuntime, h as shopBlockRuntime, ht as recurringScheduleProjectionSchema, i as buildProductListInteractiveIslandProps, it as occurrenceContextSchema, k as formBlockRuntime, lt as buildEventCalendarInteractiveIslandProps, n as buildCheckoutInteractiveIslandProps, o as cartBlockRuntime, ot as buildEventCombinedListingDisplay, p as productListBlockRuntime, pn as DEFAULT_MAILING_LIST_TARGETING, q as resolveOfferingsPreviewGroupCta, r as buildProductDetailInteractiveIslandProps, st as eventCombinedBlockRuntime, t as buildCartInteractiveIslandProps, un as assessMailingListTargeting, ut as buildEventCalendarListingDisplay, v as publicProductsResponseSchema, vt as eventListingBlockRuntime, w as buildGiftingInteractiveIslandProps, x as newsletterBlockSubmissionMessage, y as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, zt as MediaNodeServer } from "./shop.interactive-BH0xDlMF.mjs";
|
|
3
3
|
import { f as err, p as ok } from "./renderableMediaAssetAdmission-BlfqYLJW.mjs";
|
|
4
|
-
import { $n as canJoinEventWaitlistOnAnyMode, Bn as formatCalendarTitle, Cn as RichText, Fn as buildCalendarViewport, Gi as listLookSlot, Gn as formatEventHourLabel, Io as resolveExactOrFreePriceDisplay, Jn as formatTime, Ki as lookListPresentationSchemaShape, Li as normalizeEventRegistrationPageSurfaceSubject, Lo as resolvePricingOptionsPriceDisplay, Pn as resolvePublicMediaUrl, Ri as resolveEventRegistrationScopedEvents, Rn as eventDateOptions, Si as isBlockButtonRole, Ui as listItemPresentation, Un as formatEventCompactDateRail, Ya as arrangementSlotNames, Yn as groupEventsByDate, Zn as resolveRuntimeEventDestination, _o as nextLiveRunSessionStartMs, bi as BLOCK_BUTTON_ROLE_OPTIONS, dr as buildBookingFormInteractiveIslandProps, io as cardVariantRoleValues, ir as getEventAvailabilityStatus, ko as formatBookingPriceDisplay, lr as groupPublicEventsByRun, mo as parseAspectRatioValue, or as isEventFull, po as sanitizeHref, qn as formatEventTimeRange, rr as getEventAvailability, sa as compiledRuntimeStyleFieldNames, vo as orderedLiveRunSessions, wn as ImagePresets, yo as resolveWholeSeriesBookingPhase } from "./display-
|
|
4
|
+
import { $n as canJoinEventWaitlistOnAnyMode, Bn as formatCalendarTitle, Cn as RichText, Fn as buildCalendarViewport, Gi as listLookSlot, Gn as formatEventHourLabel, Io as resolveExactOrFreePriceDisplay, Jn as formatTime, Ki as lookListPresentationSchemaShape, Li as normalizeEventRegistrationPageSurfaceSubject, Lo as resolvePricingOptionsPriceDisplay, Pn as resolvePublicMediaUrl, Ri as resolveEventRegistrationScopedEvents, Rn as eventDateOptions, Si as isBlockButtonRole, Ui as listItemPresentation, Un as formatEventCompactDateRail, Ya as arrangementSlotNames, Yn as groupEventsByDate, Zn as resolveRuntimeEventDestination, _o as nextLiveRunSessionStartMs, bi as BLOCK_BUTTON_ROLE_OPTIONS, dr as buildBookingFormInteractiveIslandProps, io as cardVariantRoleValues, ir as getEventAvailabilityStatus, ko as formatBookingPriceDisplay, lr as groupPublicEventsByRun, mo as parseAspectRatioValue, or as isEventFull, po as sanitizeHref, qn as formatEventTimeRange, rr as getEventAvailability, sa as compiledRuntimeStyleFieldNames, vo as orderedLiveRunSessions, wn as ImagePresets, yo as resolveWholeSeriesBookingPhase } from "./display-DDNmyb0z.mjs";
|
|
5
5
|
import { At as trimmedStringOrNull, C as normalizeEventCalendarDisplayMode$1, Dt as projectPublicLocation, Et as parseLocationValue, Mt as formatDate, O as arrangementModes, Ot as publicLocationSchema$1, S as isEventCalendarListLayout, Tt as normalizeLocationAddressText, Zt as resolveBookingBusinessTimeZone, _ as eventCalendarListLayoutOptions, b as isEventCalendarDefaultView, et as runtimeMediaSchema, it as mediaTypeDiscriminants, kt as toLocationCoordinates, nt as PUBLIC_FILE_FIELD_KINDS, o as publicMembershipProductCollectionSchema, p as calendarWindowPageSchema, q as RichTextDocSchema, rt as isDisplayMediaKind, s as publicPassProductCollectionSchema, tn as toUtcIsoDateTimeString, v as eventCalendarVariantMeaning, x as isEventCalendarDisplayMode, z as publicEventsArraySchema } from "./noop-B_f7RqLD.mjs";
|
|
6
6
|
import { M as assertNever$1 } from "./creditProducts-CMOmhWm2.mjs";
|
|
7
7
|
import { t as formatEventDuration } from "./duration-Q6_QNgiv.mjs";
|
|
8
8
|
import { n as selectCategoryView } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import {
|
|
9
|
+
import { B as mergeStyles, F as resolveThemeColorReferenceValue, L as backgroundColorStyle, U as textColorStyle, V as rgbColorValue, o as serializeSurfaceTree } from "./accessibleSurfaces-_7jkuinl.mjs";
|
|
10
|
+
import { a as CalendarRecurringWeek, c as LinkNode, d as LocationMapView, i as buildWeekBoardViewProps, l as RichTextNode, n as WeekBoardView, o as RecurringSchedule, r as buildWeekBoardNavigationState, s as ButtonNode, t as buildTimetableModel, u as TextNode } from "./timetableModel-GsDrJxxw.mjs";
|
|
10
11
|
import { d as formatDateKey, h as getWeekCalendarDayTuple, m as getOrderedDayNames } from "./src-xrjaKaCj.mjs";
|
|
11
|
-
import { B as mergeStyles, F as resolveThemeColorReferenceValue, L as backgroundColorStyle, U as textColorStyle, V as rgbColorValue, o as serializeSurfaceTree } from "./accessibleSurfaces-chpD4C2c.mjs";
|
|
12
12
|
import { h as SYSTEM_BLOCK_KINDS } from "./types-5fOsPIpL.mjs";
|
|
13
|
-
import { C as asPartialObject, _ as DEFAULT_SECTION_SPACING, a as EventCard, c as boxStyleClassNames, d as normalizeBoxStylesBorder, f as resolveCardRoleForBoxStyles, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
13
|
+
import { C as asPartialObject, _ as DEFAULT_SECTION_SPACING, a as EventCard, c as boxStyleClassNames, d as normalizeBoxStylesBorder, f as resolveCardRoleForBoxStyles, i as EventCompactRow, r as EmptyState, t as EventListingFrameView } from "./EventListing.view-CtVfe3VG.mjs";
|
|
14
14
|
import { S as clsx, _ as FileAudioIcon, a as ThemedDownloadLink, b as MinusIcon, c as isSemanticIconId, d as ChevronDownIcon, f as CircleMinusIcon, g as FileArchiveIcon, i as ThemedButtonLink, l as SpinnerNode, p as CirclePlusIcon, r as ThemedButton, s as getIconComponent, u as ArrowDownIcon, v as FileSpreadsheetIcon, x as PlusIcon, y as FileTextIcon } from "./ThemedButton-BdnEwA38.mjs";
|
|
15
|
-
import { a as deriveEventScheduleSummary, i as eventCardListContent, n as resolveEventDetailsPresentation, o as derivePreviewRunSchedule, t as EventDetailsView } from "./view-
|
|
16
|
-
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-
|
|
15
|
+
import { a as deriveEventScheduleSummary, i as eventCardListContent, n as resolveEventDetailsPresentation, o as derivePreviewRunSchedule, t as EventDetailsView } from "./view-oToSpu1N.mjs";
|
|
16
|
+
import { n as resolveEventCta, r as resolveEventLinkProps } from "./cta-CfuyGqXL.mjs";
|
|
17
17
|
import { i as SvgNode, o as formatEventLocation } from "./MapDrawingSvg-DDWfmgpA.mjs";
|
|
18
|
-
import { n as CardListItems, r as EventItem } from "./EventItem-
|
|
19
|
-
import { c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-
|
|
18
|
+
import { n as CardListItems, r as EventItem } from "./EventItem-gFuZn-dE.mjs";
|
|
19
|
+
import { c as CalendarDayHeaders, i as CombinedLookFrame, l as buildMonthDay, n as WeekAgendaView, o as MonthLookView, u as resolveMonthSelectedDay } from "./CalendarNavigationChevron-CH7z2m47.mjs";
|
|
20
20
|
import { t as resolveDedicatedBookingHref } from "./bookingRoute-D6DlxYx6.mjs";
|
|
21
21
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
22
22
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
23
23
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, r as carouselContents, t as CarouselSlideContent, u as resolveSlidesToShowMobile } from "./carousel.shared-BFQ3kBEw.mjs";
|
|
24
24
|
import { t as coerceRichTextDoc } from "./richText-coerce-BTurYEao.mjs";
|
|
25
|
-
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
26
|
-
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-
|
|
27
|
-
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
28
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
29
|
-
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
25
|
+
import { a as PassPurchaseUnavailable, c as ProductDetailView, d as ShopPurchaseAction, f as VariantSelectView, i as PassCardView, l as ProductGalleryFrameView, n as CheckoutShellView, o as PassesMembershipsSectionView, r as MembershipCardView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-CgComegl.mjs";
|
|
26
|
+
import { n as EventListWeekNavigation, t as EventListWeekEmptyState } from "./EventListWeekNavigation-D-kLg1jQ.mjs";
|
|
27
|
+
import { i as RegistrationClosedState, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-CR7_0yu4.mjs";
|
|
28
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-DWLf_3PF.mjs";
|
|
29
|
+
import { a as partitionNewsletterFields, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-DDD-LRyW.mjs";
|
|
30
30
|
import React, { forwardRef } from "react";
|
|
31
|
-
import { z } from "zod";
|
|
32
31
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
32
|
+
import { z } from "zod";
|
|
33
|
+
import { IslandDelivery } from "#island-delivery";
|
|
33
34
|
//#region ../core/src/public-profile.ts
|
|
34
35
|
const publicProfileWeekdays = [
|
|
35
36
|
"monday",
|
|
@@ -2058,7 +2059,7 @@ function EventQuickDateCard(props) {
|
|
|
2058
2059
|
const { event } = props;
|
|
2059
2060
|
const { date, bookingLink } = quickDateCardPresentation(props);
|
|
2060
2061
|
return /* @__PURE__ */ jsxs("article", {
|
|
2061
|
-
className: "event-quick-date rb-flex rb-min-w-12rem rb-shrink-0 rb-flex-col rb-gap-3 rb-rounded-lg rb-border rb-
|
|
2062
|
+
className: "event-quick-date rb-flex rb-min-w-12rem rb-shrink-0 rb-flex-col rb-gap-3 rb-rounded-lg rb-border rb-p-4",
|
|
2062
2063
|
children: [
|
|
2063
2064
|
/* @__PURE__ */ jsx("time", {
|
|
2064
2065
|
className: "event-quick-date-when",
|
|
@@ -8022,14 +8023,16 @@ function getIslandRootProps(kind, id) {
|
|
|
8022
8023
|
if (id) resolved["data-rb-island-id"] = id;
|
|
8023
8024
|
return resolved;
|
|
8024
8025
|
}
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
|
|
8029
|
-
|
|
8030
|
-
|
|
8031
|
-
|
|
8032
|
-
|
|
8026
|
+
/** The one owner of an island's root element and how its props reach the browser. */
|
|
8027
|
+
function IslandRoot({ kind, id, value, as = "div", attributes, children }) {
|
|
8028
|
+
return /* @__PURE__ */ jsx(IslandDelivery, {
|
|
8029
|
+
as,
|
|
8030
|
+
rootProps: {
|
|
8031
|
+
...attributes,
|
|
8032
|
+
...getIslandRootProps(kind, id)
|
|
8033
|
+
},
|
|
8034
|
+
transport: serializeSurfaceTree(value),
|
|
8035
|
+
children
|
|
8033
8036
|
});
|
|
8034
8037
|
}
|
|
8035
8038
|
//#endregion
|
|
@@ -8054,30 +8057,30 @@ const CarouselNodeSSR = (props) => {
|
|
|
8054
8057
|
});
|
|
8055
8058
|
const normalizedSlidesToShow = normalizeSlidesToShow(settings.slidesToShow);
|
|
8056
8059
|
const controlsEnabled = settings.arrowVisibility === "never" ? false : normalizeBoolean(settings.showControls);
|
|
8057
|
-
return /* @__PURE__ */ jsxs(
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
|
|
8067
|
-
|
|
8068
|
-
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
|
|
8072
|
-
props.
|
|
8073
|
-
|
|
8074
|
-
|
|
8075
|
-
|
|
8076
|
-
|
|
8077
|
-
|
|
8078
|
-
|
|
8079
|
-
|
|
8080
|
-
]
|
|
8060
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
8061
|
+
kind: "carousel",
|
|
8062
|
+
id: props.blockId,
|
|
8063
|
+
attributes: {
|
|
8064
|
+
className: clsx("carousel-root rb-relative", props.className),
|
|
8065
|
+
style: getCarouselSlidesToShowCssVars(normalizedSlidesToShow),
|
|
8066
|
+
...carouselRegionAttributes(props),
|
|
8067
|
+
"data-slides-to-show": resolveSlidesToShowMobile(normalizedSlidesToShow),
|
|
8068
|
+
"data-transition": settings.transition,
|
|
8069
|
+
"data-show-controls": controlsEnabled ? "true" : "false"
|
|
8070
|
+
},
|
|
8071
|
+
value: carouselIslandValue(props, settings, indicator),
|
|
8072
|
+
children: [/* @__PURE__ */ jsx(CarouselSsrFrame, {
|
|
8073
|
+
slides,
|
|
8074
|
+
transition: settings.transition,
|
|
8075
|
+
arrangement: props.arrangement
|
|
8076
|
+
}), props.mode === "arrangement" ? /* @__PURE__ */ jsx(CarouselSsrControls, {
|
|
8077
|
+
props: {
|
|
8078
|
+
...props,
|
|
8079
|
+
indicator: indicator ?? props.indicator
|
|
8080
|
+
},
|
|
8081
|
+
count: slides.length,
|
|
8082
|
+
renderDots: settings.autoplay === true
|
|
8083
|
+
}) : null]
|
|
8081
8084
|
});
|
|
8082
8085
|
};
|
|
8083
8086
|
/** What the client needs to hydrate as the server rendered; auto-advance is carried only when on. */
|
|
@@ -8239,17 +8242,21 @@ const ACCORDION_ICONS = {
|
|
|
8239
8242
|
CircleMinus: CircleMinusIcon
|
|
8240
8243
|
};
|
|
8241
8244
|
const AccordionNodeSSR = ({ blockId, children, className, type = "single", defaultValue, collapsible, ...look }) => {
|
|
8242
|
-
return /* @__PURE__ */
|
|
8243
|
-
|
|
8244
|
-
|
|
8245
|
-
|
|
8246
|
-
|
|
8247
|
-
|
|
8248
|
-
|
|
8245
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
8246
|
+
kind: "accordion",
|
|
8247
|
+
id: blockId,
|
|
8248
|
+
attributes: {
|
|
8249
|
+
...accordionLookAttributes(look),
|
|
8250
|
+
className: clsx("accordion-root", className),
|
|
8251
|
+
"data-accordion-type": type,
|
|
8252
|
+
"data-default-value": Array.isArray(defaultValue) ? defaultValue.join(",") : defaultValue
|
|
8253
|
+
},
|
|
8254
|
+
value: {
|
|
8249
8255
|
type,
|
|
8250
8256
|
defaultValue,
|
|
8251
8257
|
collapsible
|
|
8252
|
-
}
|
|
8258
|
+
},
|
|
8259
|
+
children
|
|
8253
8260
|
});
|
|
8254
8261
|
};
|
|
8255
8262
|
const AccordionItemNodeSSR = ({ className, value, trigger, content, question, answer, iconStyle, iconTreatment, ...look }) => {
|
|
@@ -8308,31 +8315,55 @@ function resolveNode(value) {
|
|
|
8308
8315
|
}
|
|
8309
8316
|
//#endregion
|
|
8310
8317
|
//#region ../blocks/src/system/runtime/nodes/header-section.frame.tsx
|
|
8311
|
-
|
|
8312
|
-
|
|
8313
|
-
|
|
8314
|
-
ref: rootRef,
|
|
8315
|
-
className: rootClassName,
|
|
8318
|
+
function headerRootAttributes(input) {
|
|
8319
|
+
return {
|
|
8320
|
+
className: input.rootClassName,
|
|
8316
8321
|
role: "navigation",
|
|
8317
8322
|
"aria-label": "Primary navigation",
|
|
8323
|
+
"data-rb-island-mounted": input.islandMounted ? "true" : void 0,
|
|
8324
|
+
"data-block": "site-header",
|
|
8325
|
+
"data-block-kind": input.blockKind,
|
|
8326
|
+
"data-block-id": input.blockId ?? void 0,
|
|
8327
|
+
"data-block-content": input.hasBlockContent ? "true" : void 0,
|
|
8328
|
+
"data-fragment-registry": input.hasFragmentRegistry ? "true" : void 0,
|
|
8329
|
+
"data-path-base": input.pathBase,
|
|
8330
|
+
"data-preview-site-chrome-surface": input.previewSiteChromeSurface
|
|
8331
|
+
};
|
|
8332
|
+
}
|
|
8333
|
+
/** Shared DOM frame for server-rendered and React-owned site headers. */
|
|
8334
|
+
function HeaderSectionFrame({ rootRef, rootClassName, sectionClassName, blockId, blockKind = "block.site-header", previewSiteChromeSurface, islandMounted, islandId, islandValue, hasBlockContent, hasFragmentRegistry, pathBase, as, style, background = "background", dataSlot, children }) {
|
|
8335
|
+
const attributes = headerRootAttributes({
|
|
8336
|
+
rootClassName,
|
|
8337
|
+
blockId,
|
|
8338
|
+
blockKind,
|
|
8339
|
+
previewSiteChromeSurface,
|
|
8340
|
+
islandMounted,
|
|
8341
|
+
hasBlockContent,
|
|
8342
|
+
hasFragmentRegistry,
|
|
8343
|
+
pathBase
|
|
8344
|
+
});
|
|
8345
|
+
const section = /* @__PURE__ */ jsx(Section, {
|
|
8346
|
+
as,
|
|
8347
|
+
style,
|
|
8348
|
+
background,
|
|
8349
|
+
"data-slot": dataSlot,
|
|
8350
|
+
className: sectionClassName || void 0,
|
|
8351
|
+
children
|
|
8352
|
+
});
|
|
8353
|
+
if (islandValue !== void 0) return /* @__PURE__ */ jsx(IslandRoot, {
|
|
8354
|
+
kind: "headerSection",
|
|
8355
|
+
id: islandId,
|
|
8356
|
+
as: "nav",
|
|
8357
|
+
attributes,
|
|
8358
|
+
value: islandValue,
|
|
8359
|
+
children: section
|
|
8360
|
+
});
|
|
8361
|
+
return /* @__PURE__ */ jsx("nav", {
|
|
8362
|
+
ref: rootRef,
|
|
8363
|
+
...attributes,
|
|
8318
8364
|
"data-rb-island": "headerSection",
|
|
8319
8365
|
"data-rb-island-id": islandId,
|
|
8320
|
-
|
|
8321
|
-
"data-block": "site-header",
|
|
8322
|
-
"data-block-kind": blockKind,
|
|
8323
|
-
"data-block-id": blockId ?? void 0,
|
|
8324
|
-
"data-block-content": hasBlockContent ? "true" : void 0,
|
|
8325
|
-
"data-fragment-registry": hasFragmentRegistry ? "true" : void 0,
|
|
8326
|
-
"data-path-base": pathBase,
|
|
8327
|
-
"data-preview-site-chrome-surface": previewSiteChromeSurface,
|
|
8328
|
-
children: [islandPropsNode, /* @__PURE__ */ jsx(Section, {
|
|
8329
|
-
as,
|
|
8330
|
-
style,
|
|
8331
|
-
background,
|
|
8332
|
-
"data-slot": dataSlot,
|
|
8333
|
-
className: sectionClassName || void 0,
|
|
8334
|
-
children
|
|
8335
|
-
})]
|
|
8366
|
+
children: section
|
|
8336
8367
|
});
|
|
8337
8368
|
}
|
|
8338
8369
|
//#endregion
|
|
@@ -8360,7 +8391,7 @@ const HeaderSectionNode = ({ blockId, children, className, runtime, "data-previe
|
|
|
8360
8391
|
blockId,
|
|
8361
8392
|
islandId: blockId ?? void 0,
|
|
8362
8393
|
previewSiteChromeSurface,
|
|
8363
|
-
|
|
8394
|
+
islandValue: { runtime: runtime ?? staticHeaderChromeRuntime },
|
|
8364
8395
|
as: asProp,
|
|
8365
8396
|
style: styleProp,
|
|
8366
8397
|
background: backgroundProp,
|
|
@@ -8724,7 +8755,7 @@ function AppointmentServiceGroups({ groups, hasSectionHeading, idPrefix }) {
|
|
|
8724
8755
|
function appointmentSectionHeading(value) {
|
|
8725
8756
|
return typeof value === "string" ? value : void 0;
|
|
8726
8757
|
}
|
|
8727
|
-
function AppointmentServicesNode({ Carousel, preparedView, sectionHeading, categoryId, services, pathname, servicePathPrefix, blockId, className, ...presentation }) {
|
|
8758
|
+
function AppointmentServicesNode({ Carousel, preparedView, sectionHeading, categoryId, services, pathname, servicePathPrefix, blockId, className, children, ...presentation }) {
|
|
8728
8759
|
const view = preparedView ?? buildAppointmentServicesView({
|
|
8729
8760
|
...appointmentReadInput({
|
|
8730
8761
|
services,
|
|
@@ -8735,14 +8766,28 @@ function AppointmentServicesNode({ Carousel, preparedView, sectionHeading, categ
|
|
|
8735
8766
|
arrangement: presentation.cardArrangement
|
|
8736
8767
|
});
|
|
8737
8768
|
const hasSectionHeading = Boolean(sectionHeading);
|
|
8738
|
-
|
|
8769
|
+
const body = presentation.lookSlots && (view.kind === "items" || view.kind === "groups") ? /* @__PURE__ */ jsx(AppointmentCardLists, {
|
|
8739
8770
|
sectionHeading: appointmentSectionHeading(sectionHeading),
|
|
8740
8771
|
categoryChosen: readCategoryFilter(categoryId) !== null,
|
|
8741
8772
|
Carousel,
|
|
8742
8773
|
view,
|
|
8743
8774
|
presentation,
|
|
8744
8775
|
hasSectionHeading
|
|
8776
|
+
}) : /* @__PURE__ */ jsx(AppointmentServicesFallback, {
|
|
8777
|
+
view,
|
|
8778
|
+
className,
|
|
8779
|
+
hasSectionHeading,
|
|
8780
|
+
idPrefix: `appointment-services-${blockId ?? "block"}`
|
|
8745
8781
|
});
|
|
8782
|
+
return presentation.lookSlots ? /* @__PURE__ */ jsxs("div", {
|
|
8783
|
+
...listLookSlot(presentation, "layout"),
|
|
8784
|
+
children: [/* @__PURE__ */ jsx("header", {
|
|
8785
|
+
...listLookSlot(presentation, "head"),
|
|
8786
|
+
children
|
|
8787
|
+
}), /* @__PURE__ */ jsx("div", { children: body })]
|
|
8788
|
+
}) : /* @__PURE__ */ jsxs(Fragment, { children: [children, body] });
|
|
8789
|
+
}
|
|
8790
|
+
function AppointmentServicesFallback({ view, className, hasSectionHeading, idPrefix }) {
|
|
8746
8791
|
const rootClassName = `appointment-services ${className ?? ""}`.trim();
|
|
8747
8792
|
const populated = view.kind === "items" || view.kind === "groups";
|
|
8748
8793
|
return /* @__PURE__ */ jsx("div", {
|
|
@@ -8751,7 +8796,7 @@ function AppointmentServicesNode({ Carousel, preparedView, sectionHeading, categ
|
|
|
8751
8796
|
children: /* @__PURE__ */ jsx(AppointmentServicesContent, {
|
|
8752
8797
|
view,
|
|
8753
8798
|
hasSectionHeading,
|
|
8754
|
-
idPrefix
|
|
8799
|
+
idPrefix
|
|
8755
8800
|
})
|
|
8756
8801
|
});
|
|
8757
8802
|
}
|
|
@@ -8990,62 +9035,60 @@ function TeamMembersNode(props) {
|
|
|
8990
9035
|
function BookingFormSSR({ blockId, children, ...sourceProps }) {
|
|
8991
9036
|
const islandProps = buildBookingFormInteractiveIslandProps(sourceProps);
|
|
8992
9037
|
const display = islandProps.render.display;
|
|
8993
|
-
return /* @__PURE__ */ jsxs(
|
|
8994
|
-
|
|
8995
|
-
|
|
8996
|
-
|
|
8997
|
-
|
|
8998
|
-
|
|
8999
|
-
|
|
9000
|
-
|
|
9001
|
-
|
|
9002
|
-
|
|
9003
|
-
|
|
9004
|
-
|
|
9005
|
-
|
|
9006
|
-
})
|
|
9038
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
9039
|
+
kind: "booking-form",
|
|
9040
|
+
id: blockId,
|
|
9041
|
+
attributes: { "data-block": "appointment-booking" },
|
|
9042
|
+
value: islandProps,
|
|
9043
|
+
children: [display.state === "missing" ? /* @__PURE__ */ jsx("div", {
|
|
9044
|
+
className: `rb-reg-surface booking-form-ssr ${sourceProps.className ?? ""}`.trim(),
|
|
9045
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
9046
|
+
className: "alert alert-error",
|
|
9047
|
+
role: "alert",
|
|
9048
|
+
children: /* @__PURE__ */ jsx("p", {
|
|
9049
|
+
className: "ab-text",
|
|
9050
|
+
children: display.message
|
|
9007
9051
|
})
|
|
9008
|
-
})
|
|
9009
|
-
|
|
9010
|
-
|
|
9011
|
-
|
|
9012
|
-
|
|
9013
|
-
|
|
9014
|
-
|
|
9015
|
-
|
|
9016
|
-
|
|
9017
|
-
|
|
9018
|
-
|
|
9019
|
-
|
|
9020
|
-
|
|
9021
|
-
|
|
9022
|
-
|
|
9023
|
-
|
|
9024
|
-
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm" })]
|
|
9025
|
-
})
|
|
9026
|
-
}),
|
|
9027
|
-
/* @__PURE__ */ jsxs("div", {
|
|
9052
|
+
})
|
|
9053
|
+
}) : /* @__PURE__ */ jsxs("div", {
|
|
9054
|
+
className: `rb-reg-surface booking-form-ssr ab-shell ${sourceProps.className ?? ""}`.trim(),
|
|
9055
|
+
"aria-busy": true,
|
|
9056
|
+
"aria-label": "Loading booking form",
|
|
9057
|
+
role: "status",
|
|
9058
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
9059
|
+
className: "rb-sr-only",
|
|
9060
|
+
children: "Loading booking form..."
|
|
9061
|
+
}), /* @__PURE__ */ jsxs("div", {
|
|
9062
|
+
className: "rb-reg-stack",
|
|
9063
|
+
"aria-hidden": "true",
|
|
9064
|
+
children: [
|
|
9065
|
+
/* @__PURE__ */ jsx("div", {
|
|
9066
|
+
className: "rb-reg-summary",
|
|
9067
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
9028
9068
|
className: "rb-reg-stack rb-reg-stack--sm",
|
|
9029
|
-
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--
|
|
9030
|
-
}),
|
|
9031
|
-
/* @__PURE__ */ jsx("div", {
|
|
9032
|
-
className: "rb-wizard-actions",
|
|
9033
|
-
children: /* @__PURE__ */ jsx("div", {
|
|
9034
|
-
className: "ab-shell-button",
|
|
9035
|
-
children: display.submitLabel
|
|
9036
|
-
})
|
|
9069
|
+
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--md" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--sm" })]
|
|
9037
9070
|
})
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9071
|
+
}),
|
|
9072
|
+
/* @__PURE__ */ jsxs("div", {
|
|
9073
|
+
className: "rb-reg-stack rb-reg-stack--sm",
|
|
9074
|
+
children: [/* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--lg" }), /* @__PURE__ */ jsx("div", { className: "rb-shell-line rb-shell-line--xs" })]
|
|
9075
|
+
}),
|
|
9076
|
+
/* @__PURE__ */ jsx("div", {
|
|
9077
|
+
className: "rb-wizard-actions",
|
|
9078
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
9079
|
+
className: "ab-shell-button",
|
|
9080
|
+
children: display.submitLabel
|
|
9081
|
+
})
|
|
9082
|
+
})
|
|
9083
|
+
]
|
|
9084
|
+
})]
|
|
9085
|
+
}), children]
|
|
9043
9086
|
});
|
|
9044
9087
|
}
|
|
9045
9088
|
//#endregion
|
|
9046
9089
|
//#region ../blocks/src/system/runtime/nodes/event-details.server.tsx
|
|
9047
|
-
function
|
|
9048
|
-
return
|
|
9090
|
+
function eventDetailsIslandValue({ props, presentation, scopedEvents, subject, nowIso }) {
|
|
9091
|
+
return {
|
|
9049
9092
|
...props.arrangement ? {
|
|
9050
9093
|
arrangement: props.arrangement,
|
|
9051
9094
|
entryTitle: props.entryTitle,
|
|
@@ -9073,7 +9116,7 @@ function EventDetailsHydration({ props, presentation, scopedEvents, subject, now
|
|
|
9073
9116
|
autoApplyDiscount: presentation.autoApplyDiscount,
|
|
9074
9117
|
className: props.className,
|
|
9075
9118
|
nowIso
|
|
9076
|
-
}
|
|
9119
|
+
};
|
|
9077
9120
|
}
|
|
9078
9121
|
function EventDetailsSSR(props) {
|
|
9079
9122
|
const { blockId, occurrenceContext = null, subject, events = null, className, children } = props;
|
|
@@ -9090,24 +9133,24 @@ function EventDetailsSSR(props) {
|
|
|
9090
9133
|
subject: normalizedSubject,
|
|
9091
9134
|
nowIso
|
|
9092
9135
|
});
|
|
9093
|
-
return /* @__PURE__ */ jsxs(
|
|
9094
|
-
|
|
9095
|
-
|
|
9096
|
-
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
|
|
9101
|
-
|
|
9102
|
-
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
]
|
|
9136
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
9137
|
+
kind: "event-details",
|
|
9138
|
+
id: blockId,
|
|
9139
|
+
attributes: {
|
|
9140
|
+
className: `event-details ${className ?? ""}`.trim(),
|
|
9141
|
+
"data-block": "event-details"
|
|
9142
|
+
},
|
|
9143
|
+
value: eventDetailsIslandValue({
|
|
9144
|
+
props,
|
|
9145
|
+
presentation,
|
|
9146
|
+
scopedEvents,
|
|
9147
|
+
subject: normalizedSubject,
|
|
9148
|
+
nowIso
|
|
9149
|
+
}),
|
|
9150
|
+
children: [/* @__PURE__ */ jsx(EventDetailsView, {
|
|
9151
|
+
...presentation,
|
|
9152
|
+
mapClassName: "venue-map event-details-map"
|
|
9153
|
+
}), children]
|
|
9111
9154
|
});
|
|
9112
9155
|
}
|
|
9113
9156
|
//#endregion
|
|
@@ -9228,37 +9271,37 @@ const EventCombinedSSR = ({ blockId, ...source }) => {
|
|
|
9228
9271
|
const listDisplay = buildEventCombinedListingDisplay(render);
|
|
9229
9272
|
const islandProps = buildEventCombinedInteractiveIslandProps(source);
|
|
9230
9273
|
const ssrEmptyMessage = render.hydration.prefetchedEvents ? render.display.emptyMessage : listDisplay.loadingMessage;
|
|
9231
|
-
return /* @__PURE__ */ jsxs(
|
|
9232
|
-
|
|
9233
|
-
|
|
9234
|
-
|
|
9235
|
-
|
|
9236
|
-
|
|
9237
|
-
|
|
9238
|
-
|
|
9239
|
-
|
|
9240
|
-
|
|
9241
|
-
|
|
9242
|
-
|
|
9243
|
-
|
|
9244
|
-
|
|
9245
|
-
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
|
|
9249
|
-
|
|
9250
|
-
|
|
9251
|
-
|
|
9252
|
-
|
|
9253
|
-
|
|
9254
|
-
|
|
9255
|
-
|
|
9256
|
-
|
|
9257
|
-
|
|
9258
|
-
|
|
9259
|
-
|
|
9274
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
9275
|
+
kind: "event-combined",
|
|
9276
|
+
id: blockId,
|
|
9277
|
+
attributes: {
|
|
9278
|
+
className: `event-combined ${render.display.className || ""}`,
|
|
9279
|
+
"data-block": "event-combined"
|
|
9280
|
+
},
|
|
9281
|
+
value: islandProps,
|
|
9282
|
+
children: [/* @__PURE__ */ jsxs("div", {
|
|
9283
|
+
className: "nav-tabs",
|
|
9284
|
+
role: "tablist",
|
|
9285
|
+
children: [/* @__PURE__ */ jsx("button", {
|
|
9286
|
+
type: "button",
|
|
9287
|
+
role: "tab",
|
|
9288
|
+
"aria-selected": true,
|
|
9289
|
+
className: "nav-tab nav-tab--active",
|
|
9290
|
+
children: "List"
|
|
9291
|
+
}), /* @__PURE__ */ jsx("button", {
|
|
9292
|
+
type: "button",
|
|
9293
|
+
role: "tab",
|
|
9294
|
+
"aria-selected": false,
|
|
9295
|
+
className: "nav-tab",
|
|
9296
|
+
children: "Calendar"
|
|
9297
|
+
})]
|
|
9298
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
9299
|
+
className: "event-combined-content",
|
|
9300
|
+
children: listDisplay.events.length === 0 ? /* @__PURE__ */ jsx(EmptyState, { message: ssrEmptyMessage }) : /* @__PURE__ */ jsx("div", {
|
|
9301
|
+
className: listDisplay.containerClass,
|
|
9302
|
+
children: listDisplay.events.map((event) => renderEventListItem(event, listDisplay))
|
|
9260
9303
|
})
|
|
9261
|
-
]
|
|
9304
|
+
})]
|
|
9262
9305
|
});
|
|
9263
9306
|
};
|
|
9264
9307
|
//#endregion
|
|
@@ -9358,7 +9401,7 @@ function OfferingsCatalogue(props) {
|
|
|
9358
9401
|
events: props.catalogueEvents
|
|
9359
9402
|
});
|
|
9360
9403
|
const shape = offeringsCatalogueShape(state, {
|
|
9361
|
-
listDates: props
|
|
9404
|
+
listDates: cardsListDates(props),
|
|
9362
9405
|
oneOfferingRequested: props.oneOffering === true
|
|
9363
9406
|
});
|
|
9364
9407
|
switch (state.kind) {
|
|
@@ -9405,13 +9448,17 @@ function OfferingsCatalogue(props) {
|
|
|
9405
9448
|
function catalogueShapeHook(shape) {
|
|
9406
9449
|
return shape === "single" ? { "data-has-one-offering": "true" } : {};
|
|
9407
9450
|
}
|
|
9451
|
+
/** Date rows exist only on Look cards set to list their next dates. */
|
|
9452
|
+
function cardsListDates(props) {
|
|
9453
|
+
return props.lookSlots !== void 0 && props.datesMode === "next-dates";
|
|
9454
|
+
}
|
|
9408
9455
|
/** One offering has room for a Book link on each date; several keep plain rows. */
|
|
9409
9456
|
function catalogueDateBooking(shape, pathname) {
|
|
9410
9457
|
return shape === "single" ? (event, dateLabel) => eventDateBookingLink(event, pathname ?? "/", dateLabel) : void 0;
|
|
9411
9458
|
}
|
|
9412
9459
|
function renderOfferingsCatalogueGroups({ props, groups, shape }) {
|
|
9413
9460
|
const enabledSeriesIds = new Set(groups.flatMap((load) => load.kind === "items" ? load.items.map((item) => item.kind === "event" ? item.event.seriesId : item.run.eventSeriesId) : []));
|
|
9414
|
-
const quickDateEvents =
|
|
9461
|
+
const quickDateEvents = cardsListDates(props) ? [] : selectQuickDateEvents((props.quickDateEvents ?? []).filter((event) => enabledSeriesIds.has(event.seriesId)));
|
|
9415
9462
|
const populated = groups.flatMap(catalogueGroupItems);
|
|
9416
9463
|
const frames = listGroupFrames(props);
|
|
9417
9464
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -9997,7 +10044,7 @@ function styledGroupFrame(cardStyles, baseClass) {
|
|
|
9997
10044
|
}
|
|
9998
10045
|
function resolveGroupFrame(cardStyles) {
|
|
9999
10046
|
if (!cardStyles) return {
|
|
10000
|
-
containerClassName: "offerings-preview-card rb-flex rb-h-full rb-min-h-full rb-flex-col rb-rounded-lg rb-border rb-border-border rb-
|
|
10047
|
+
containerClassName: "offerings-preview-card offerings-preview-card--default rb-flex rb-h-full rb-min-h-full rb-flex-col rb-rounded-lg rb-border rb-border-border rb-p-5",
|
|
10001
10048
|
contentClassName: GROUP_FRAME_CONTENT_CLASS
|
|
10002
10049
|
};
|
|
10003
10050
|
const role = resolveCardRoleForBoxStyles(cardStyles, void 0);
|
|
@@ -10295,18 +10342,18 @@ function CartSSR({ blockId, siteId, apiBaseUrl, stage, children, ...rest }) {
|
|
|
10295
10342
|
stage,
|
|
10296
10343
|
...rest
|
|
10297
10344
|
});
|
|
10298
|
-
return /* @__PURE__ */ jsxs(
|
|
10299
|
-
|
|
10300
|
-
id:
|
|
10301
|
-
|
|
10302
|
-
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
]
|
|
10345
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
10346
|
+
kind: "cart",
|
|
10347
|
+
id: blockId,
|
|
10348
|
+
attributes: {
|
|
10349
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
10350
|
+
id: "shop",
|
|
10351
|
+
"data-shop": true,
|
|
10352
|
+
"data-block": "shop",
|
|
10353
|
+
"data-site-id": siteId ?? void 0
|
|
10354
|
+
},
|
|
10355
|
+
value: islandProps,
|
|
10356
|
+
children: [/* @__PURE__ */ jsx(CartServerContent, { render: islandProps.render }), children]
|
|
10310
10357
|
});
|
|
10311
10358
|
}
|
|
10312
10359
|
//#endregion
|
|
@@ -10319,18 +10366,18 @@ function CheckoutSSR({ blockId, siteId, apiBaseUrl, stage, demoEmailSuppressed,
|
|
|
10319
10366
|
demoEmailSuppressed,
|
|
10320
10367
|
...rest
|
|
10321
10368
|
});
|
|
10322
|
-
return /* @__PURE__ */ jsxs(
|
|
10323
|
-
|
|
10324
|
-
id:
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
]
|
|
10369
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
10370
|
+
kind: "checkout",
|
|
10371
|
+
id: blockId,
|
|
10372
|
+
attributes: {
|
|
10373
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
10374
|
+
id: "shop-checkout",
|
|
10375
|
+
"data-shop": true,
|
|
10376
|
+
"data-block": "shop",
|
|
10377
|
+
"data-site-id": siteId ?? void 0
|
|
10378
|
+
},
|
|
10379
|
+
value: islandProps,
|
|
10380
|
+
children: [/* @__PURE__ */ jsx(CheckoutServerContent, { render: islandProps.render }), children]
|
|
10334
10381
|
});
|
|
10335
10382
|
}
|
|
10336
10383
|
//#endregion
|
|
@@ -10339,12 +10386,17 @@ function GiftingSSR({ blockId, ...rest }) {
|
|
|
10339
10386
|
const islandProps = buildGiftingInteractiveIslandProps(rest);
|
|
10340
10387
|
const offers = islandProps.render.hydration.offers;
|
|
10341
10388
|
const hasOffers = Boolean((offers?.giftCards.length ?? 0) > 0 || (offers?.vouchers.length ?? 0) > 0);
|
|
10342
|
-
return /* @__PURE__ */
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10389
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
10390
|
+
kind: "gifting",
|
|
10391
|
+
id: blockId,
|
|
10392
|
+
as: "section",
|
|
10393
|
+
attributes: {
|
|
10394
|
+
className: rest.className ?? void 0,
|
|
10395
|
+
"data-block": "gifting",
|
|
10396
|
+
style: { color: "rgb(var(--tb-text, 17 24 39))" }
|
|
10397
|
+
},
|
|
10398
|
+
value: islandProps,
|
|
10399
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
10348
10400
|
className: "rb-grid",
|
|
10349
10401
|
style: { gap: "1.5rem" },
|
|
10350
10402
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
@@ -10444,7 +10496,7 @@ function GiftingSSR({ blockId, ...rest }) {
|
|
|
10444
10496
|
style: { margin: 0 },
|
|
10445
10497
|
children: islandProps.render.display.emptyStateText
|
|
10446
10498
|
})]
|
|
10447
|
-
})
|
|
10499
|
+
})
|
|
10448
10500
|
});
|
|
10449
10501
|
}
|
|
10450
10502
|
//#endregion
|
|
@@ -10788,9 +10840,11 @@ function renderEventCalendarMode(display, hydration) {
|
|
|
10788
10840
|
}
|
|
10789
10841
|
const EventCalendarSSR = (props) => {
|
|
10790
10842
|
const islandProps = buildEventCalendarInteractiveIslandProps(props);
|
|
10791
|
-
return /* @__PURE__ */
|
|
10792
|
-
|
|
10793
|
-
|
|
10843
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
10844
|
+
kind: "event-calendar",
|
|
10845
|
+
id: props.blockId,
|
|
10846
|
+
value: islandProps,
|
|
10847
|
+
children: renderEventCalendarMode(islandProps.render.display, islandProps.render.hydration)
|
|
10794
10848
|
});
|
|
10795
10849
|
};
|
|
10796
10850
|
function CombinedSsrTabs({ look }) {
|
|
@@ -10823,12 +10877,14 @@ function CombinedSsrTabs({ look }) {
|
|
|
10823
10877
|
const EventListingSSR = (props) => {
|
|
10824
10878
|
const islandProps = buildEventListingInteractiveIslandProps(props);
|
|
10825
10879
|
const display = islandProps.render.display;
|
|
10826
|
-
return /* @__PURE__ */
|
|
10827
|
-
|
|
10828
|
-
|
|
10880
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
10881
|
+
kind: "event-listing",
|
|
10882
|
+
id: props.blockId,
|
|
10883
|
+
value: islandProps,
|
|
10884
|
+
children: /* @__PURE__ */ jsx(EventListingFrameView, {
|
|
10829
10885
|
display,
|
|
10830
10886
|
renderEventCard: (event) => renderEventListItem(event, display)
|
|
10831
|
-
})
|
|
10887
|
+
})
|
|
10832
10888
|
});
|
|
10833
10889
|
};
|
|
10834
10890
|
//#endregion
|
|
@@ -10845,24 +10901,24 @@ function EventRegistrationSSR({ blockId, subject, loaderFailures, children, ...s
|
|
|
10845
10901
|
});
|
|
10846
10902
|
const display = islandProps.render.display;
|
|
10847
10903
|
const className = sourceProps.className;
|
|
10848
|
-
return /* @__PURE__ */ jsxs(
|
|
10849
|
-
|
|
10850
|
-
|
|
10851
|
-
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10858
|
-
|
|
10859
|
-
|
|
10860
|
-
|
|
10861
|
-
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
]
|
|
10904
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
10905
|
+
kind: "event-registration",
|
|
10906
|
+
id: blockId,
|
|
10907
|
+
attributes: {
|
|
10908
|
+
className: `event-registration ${className ?? ""}`.trim(),
|
|
10909
|
+
"data-block": "event-registration",
|
|
10910
|
+
"data-rb-island-required": "true",
|
|
10911
|
+
"data-rb-island-error-message": "We couldn’t load the booking options for this event. Please refresh this page and try again. If this keeps happening, contact the organiser for help.",
|
|
10912
|
+
"data-rb-island-error-class": "event-registration__hydration-error"
|
|
10913
|
+
},
|
|
10914
|
+
value: islandProps,
|
|
10915
|
+
children: [display.state === "booking-card" ? /* @__PURE__ */ jsx("div", {
|
|
10916
|
+
id: EVENT_REGISTRATION_ANCHOR_ID,
|
|
10917
|
+
children: /* @__PURE__ */ jsx(BookingEntryCard, {
|
|
10918
|
+
entry: display.entry,
|
|
10919
|
+
buttonVariant: display.buttonVariant ?? "primary"
|
|
10920
|
+
})
|
|
10921
|
+
}) : /* @__PURE__ */ jsx(EventRegistrationShell, { display }), children]
|
|
10866
10922
|
});
|
|
10867
10923
|
}
|
|
10868
10924
|
function EventRegistrationShell({ display }) {
|
|
@@ -10946,18 +11002,22 @@ const FormNodeSSR = ({ blockId, lookSlots, value, submitLabel, successMessage, c
|
|
|
10946
11002
|
});
|
|
10947
11003
|
const display = islandProps.render.display;
|
|
10948
11004
|
const form = display.form;
|
|
10949
|
-
if (!form) return /* @__PURE__ */
|
|
10950
|
-
|
|
10951
|
-
|
|
11005
|
+
if (!form) return /* @__PURE__ */ jsx(IslandRoot, {
|
|
11006
|
+
kind: "form",
|
|
11007
|
+
id: blockId,
|
|
11008
|
+
value: islandProps,
|
|
11009
|
+
children: /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
10952
11010
|
tone: "warning",
|
|
10953
11011
|
className: clsx("fb-empty", className),
|
|
10954
11012
|
role: "status",
|
|
10955
11013
|
children: "Missing or unknown form."
|
|
10956
|
-
})
|
|
11014
|
+
})
|
|
10957
11015
|
});
|
|
10958
|
-
return /* @__PURE__ */
|
|
10959
|
-
|
|
10960
|
-
|
|
11016
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
11017
|
+
kind: "form",
|
|
11018
|
+
id: blockId,
|
|
11019
|
+
value: islandProps,
|
|
11020
|
+
children: /* @__PURE__ */ jsxs("form", {
|
|
10961
11021
|
method: "POST",
|
|
10962
11022
|
action,
|
|
10963
11023
|
onSubmit,
|
|
@@ -10986,7 +11046,7 @@ const FormNodeSSR = ({ blockId, lookSlots, value, submitLabel, successMessage, c
|
|
|
10986
11046
|
lookSlots: display.lookSlots
|
|
10987
11047
|
})
|
|
10988
11048
|
]
|
|
10989
|
-
})
|
|
11049
|
+
})
|
|
10990
11050
|
});
|
|
10991
11051
|
};
|
|
10992
11052
|
//#endregion
|
|
@@ -11019,11 +11079,15 @@ function NewsletterFormSSR(props) {
|
|
|
11019
11079
|
})
|
|
11020
11080
|
});
|
|
11021
11081
|
const { email: emailField, extra: extraFields } = partitionNewsletterFields(fields);
|
|
11022
|
-
return /* @__PURE__ */
|
|
11023
|
-
|
|
11024
|
-
|
|
11025
|
-
|
|
11026
|
-
|
|
11082
|
+
return /* @__PURE__ */ jsx(IslandRoot, {
|
|
11083
|
+
kind: "newsletter-form",
|
|
11084
|
+
id: blockId,
|
|
11085
|
+
attributes: {
|
|
11086
|
+
...listLookSlot(display, "panel"),
|
|
11087
|
+
className: clsx("newsletter-form-ssr", className)
|
|
11088
|
+
},
|
|
11089
|
+
value: islandProps,
|
|
11090
|
+
children: /* @__PURE__ */ jsxs("form", {
|
|
11027
11091
|
method: "POST",
|
|
11028
11092
|
className: "newsletter-form fb-form",
|
|
11029
11093
|
children: [
|
|
@@ -11068,7 +11132,7 @@ function NewsletterFormSSR(props) {
|
|
|
11068
11132
|
children: display.privacyNote
|
|
11069
11133
|
})
|
|
11070
11134
|
]
|
|
11071
|
-
})
|
|
11135
|
+
})
|
|
11072
11136
|
});
|
|
11073
11137
|
}
|
|
11074
11138
|
//#endregion
|
|
@@ -11080,18 +11144,18 @@ function ProductDetailSSR({ blockId, siteId, apiBaseUrl, stage, children, ...res
|
|
|
11080
11144
|
stage,
|
|
11081
11145
|
...rest
|
|
11082
11146
|
});
|
|
11083
|
-
return /* @__PURE__ */ jsxs(
|
|
11084
|
-
|
|
11085
|
-
id:
|
|
11086
|
-
|
|
11087
|
-
|
|
11088
|
-
|
|
11089
|
-
|
|
11090
|
-
|
|
11091
|
-
|
|
11092
|
-
|
|
11093
|
-
|
|
11094
|
-
]
|
|
11147
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
11148
|
+
kind: "product-detail",
|
|
11149
|
+
id: blockId,
|
|
11150
|
+
attributes: {
|
|
11151
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
11152
|
+
id: "shop",
|
|
11153
|
+
"data-shop": true,
|
|
11154
|
+
"data-block": "shop",
|
|
11155
|
+
"data-site-id": siteId ?? void 0
|
|
11156
|
+
},
|
|
11157
|
+
value: islandProps,
|
|
11158
|
+
children: [/* @__PURE__ */ jsx(ProductDetailServerContent, { render: islandProps.render }), children]
|
|
11095
11159
|
});
|
|
11096
11160
|
}
|
|
11097
11161
|
//#endregion
|
|
@@ -11103,18 +11167,18 @@ function ProductListSSR({ blockId, siteId, apiBaseUrl, stage, children, ...rest
|
|
|
11103
11167
|
stage,
|
|
11104
11168
|
...rest
|
|
11105
11169
|
});
|
|
11106
|
-
return /* @__PURE__ */ jsxs(
|
|
11107
|
-
|
|
11108
|
-
id:
|
|
11109
|
-
|
|
11110
|
-
|
|
11111
|
-
|
|
11112
|
-
|
|
11113
|
-
|
|
11114
|
-
|
|
11115
|
-
|
|
11116
|
-
|
|
11117
|
-
]
|
|
11170
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
11171
|
+
kind: "product-list",
|
|
11172
|
+
id: blockId,
|
|
11173
|
+
attributes: {
|
|
11174
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
11175
|
+
id: "shop",
|
|
11176
|
+
"data-shop": true,
|
|
11177
|
+
"data-block": "shop",
|
|
11178
|
+
"data-site-id": siteId ?? void 0
|
|
11179
|
+
},
|
|
11180
|
+
value: islandProps,
|
|
11181
|
+
children: [/* @__PURE__ */ jsx(ProductListServerContent, { render: islandProps.render }), children]
|
|
11118
11182
|
});
|
|
11119
11183
|
}
|
|
11120
11184
|
//#endregion
|
|
@@ -11127,18 +11191,18 @@ function ShopSSR({ blockId, siteId, apiBaseUrl, stage, children, checkoutEndpoin
|
|
|
11127
11191
|
...rest
|
|
11128
11192
|
});
|
|
11129
11193
|
const render = islandProps.render;
|
|
11130
|
-
return /* @__PURE__ */ jsxs(
|
|
11131
|
-
|
|
11132
|
-
id:
|
|
11133
|
-
|
|
11134
|
-
|
|
11135
|
-
|
|
11136
|
-
|
|
11137
|
-
|
|
11138
|
-
|
|
11139
|
-
|
|
11140
|
-
|
|
11141
|
-
]
|
|
11194
|
+
return /* @__PURE__ */ jsxs(IslandRoot, {
|
|
11195
|
+
kind: "shop",
|
|
11196
|
+
id: blockId,
|
|
11197
|
+
attributes: {
|
|
11198
|
+
className: `shop ${rest.className ?? ""}`.trim(),
|
|
11199
|
+
id: rest.mode === "checkout" ? "shop-checkout" : "shop",
|
|
11200
|
+
"data-shop": true,
|
|
11201
|
+
"data-block": "shop",
|
|
11202
|
+
"data-site-id": siteId ?? void 0
|
|
11203
|
+
},
|
|
11204
|
+
value: islandProps,
|
|
11205
|
+
children: [/* @__PURE__ */ jsx(ShopSsrProducts, { render }), children]
|
|
11142
11206
|
});
|
|
11143
11207
|
}
|
|
11144
11208
|
function ShopSsrProducts({ render }) {
|