@riverbankcms/sdk 0.184.0 → 0.185.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_dts/{BlocksIslandsHydrator-DjBTJYiF.d.ts → BlocksIslandsHydrator-Bu0O7l4p.d.ts} +1 -1
- package/dist/_dts/{Page-BpXEM2ET.d.ts → Page-DYoL0IWL.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-Bb3h7KRE.d.ts → SdkPreviewMode-DgFAiR8r.d.ts} +2 -2
- package/dist/_dts/{client-DgTRRtl_.d.ts → client-BKdjJ7A0.d.ts} +23 -4
- package/dist/_dts/{content-types-DZQJp_ak.d.ts → content-types-6K7zlJuF.d.ts} +2 -2
- package/dist/_dts/{contracts-Ww1fmd-c.d.ts → contracts-CUR8ccnX.d.ts} +3 -3
- package/dist/_dts/{generatePageMetadata-BGc7dju6.d.ts → generatePageMetadata-CveWSMew.d.ts} +2 -2
- package/dist/_dts/{index-Cni4jykw.d.ts → index-6WypKfbu.d.ts} +4 -4
- package/dist/_dts/{index-ukS-Ffem.d.ts → index-BMwrFX_K.d.ts} +1 -1
- package/dist/_dts/{index-W9-7djG3.d.ts → index-Bp5lk6I8.d.ts} +1 -1
- package/dist/_dts/{index-Cc85KVLW.d.ts → index-DTKn1H8g.d.ts} +1 -1
- package/dist/_dts/{index-DxxTQ_0V.d.ts → index-DX-Xe54X.d.ts} +2 -2
- package/dist/_dts/{index-BECaUNYs.d.ts → index-SD1fTP_7.d.ts} +2 -2
- package/dist/_dts/{loadContent-BlSWTlbD.d.ts → loadContent-BN8GtRsL.d.ts} +7 -7
- package/dist/_dts/{request-CZz2BoXJ.d.ts → request-BwYvMqLf.d.ts} +459 -109
- package/dist/_dts/{resolveBlockData-D12HXnS3.d.ts → resolveBlockData-CYy0VlSK.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-BteMsSGP.d.ts → resolvePageContent-BwUDLi_W.d.ts} +1 -1
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/gifting/client.d.ts +1 -1
- package/dist/_dts/sdk/src/index.d.ts +7 -7
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +3 -3
- package/dist/_dts/sdk/src/next/index.d.ts +7 -7
- package/dist/_dts/sdk/src/next/middleware.d.ts +2 -2
- package/dist/_dts/sdk/src/page-converter/index.d.ts +3 -3
- package/dist/_dts/sdk/src/portal/client.d.ts +1 -1
- package/dist/_dts/sdk/src/portal/index.d.ts +1 -1
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +4 -4
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +6 -6
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +1 -1
- package/dist/_dts/{serviceBookingOutline-aTlOvO3U.d.ts → serviceBookingOutline-CMNev0gz.d.ts} +10 -7
- package/dist/_dts/{types-CCcQlRBi.d.ts → types-BBazdRQf.d.ts} +3 -3
- package/dist/_dts/{types-Du4aMnWC.d.ts → types-BwngWRQ8.d.ts} +7 -7
- package/dist/_dts/{types-Bi7R07RX.d.ts → types-C9_amrul.d.ts} +2 -2
- package/dist/_dts/{validation-CjCWVmwe.d.ts → validation-B58kUTuV.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-CFLWxjxR.mjs → BlocksIslandsHydrator-CooOPhs3.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-C4LcfwyA.mjs → BookingMailingListNote-D_khdttF.mjs} +59 -60
- package/dist/client/{BookingQuestionFields-DdcmoHqQ.mjs → BookingQuestionFields-Bia1E7Cj.mjs} +48 -35
- package/dist/client/{CalendarAction-DYGewmvh.mjs → CalendarAction-C-AbMmct.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-ZfrUiiiI.mjs → CalendarNavigationChevron-oaHxRbUO.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-pzkGVkgG.mjs → DemoBookingPortalAccess-M2xKYQjX.mjs} +4 -4
- package/dist/client/{EventCalendar.client-Ct1B3xI4.mjs → EventCalendar.client-By7e9nyF.mjs} +10 -10
- package/dist/client/{EventCombined.client-DgfNtcgW.mjs → EventCombined.client-BdRZXB14.mjs} +9 -9
- package/dist/client/EventEmbeddedCheckoutStep-CJoxbx2Y.mjs +147 -0
- package/dist/client/{EventItem-KGKkK19N.mjs → EventItem-CDMa9zOX.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-Ba9ezxuC.mjs → EventListWeekNavigation-B8WKaCrN.mjs} +1 -1
- package/dist/client/{EventListing.client-xFKRDLwC.mjs → EventListing.client-BEGiiFnO.mjs} +3 -3
- package/dist/client/{EventListing.view-Dy36vWHi.mjs → EventListing.view-B6LOK-z4.mjs} +5 -5
- package/dist/client/{EventRegistrationPayment-Dth9L00x.mjs → EventRegistrationPayment-CARdr15t.mjs} +44 -35
- package/dist/client/{Page-DB5KODiu.mjs → Page-uP7AKSyp.mjs} +37 -30
- package/dist/client/SiteChoiceGroup-BZ5I0Vhy.mjs +96 -0
- package/dist/client/{SiteTermsAgreementField-BDVP_HeK.mjs → SiteTermsAgreementField-BDqRo2C5.mjs} +2 -2
- package/dist/client/{StepIndicator-CLgDVzCs.mjs → StepIndicator-BWrXAKvs.mjs} +1 -1
- package/dist/client/{StepIndicator-DRyZ8igu.mjs → StepIndicator-Cb3NMw-Y.mjs} +29 -17
- package/dist/client/{accessibleSurfaces-CqroimVQ.mjs → accessibleSurfaces-q-dDOwsW.mjs} +5 -3
- package/dist/client/{accordion-BQYRP5xV.mjs → accordion-BYW2YSUN.mjs} +1 -1
- package/dist/client/{booking-form.client-B7ckDuOC.mjs → booking-form.client-DAlWWWjV.mjs} +108 -70
- package/dist/client/{bookingCalendar--aWnqFDn.mjs → bookingCalendar-9nFa_do4.mjs} +6 -2
- package/dist/client/{bookingForm-BeD4650p.mjs → bookingForm-DtVk9p5l.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{boxStyleClassNames-CA7FirMH.mjs → boxStyleClassNames-CaSq3-r-.mjs} +2 -2
- package/dist/client/{EventEmbeddedCheckoutStep-CjoaG1zy.mjs → browserStripe-Dh-LcDoW.mjs} +36 -142
- package/dist/client/{carousel-DJ9Aa1m3.mjs → carousel-msur7fxW.mjs} +1 -1
- package/dist/client/{cart-DdCenbTy.mjs → cart-Bx-JuY2n.mjs} +3 -3
- package/dist/client/{cart.client-BQm06qNw.mjs → cart.client-hB_9MimN.mjs} +1 -1
- package/dist/client/{checkout-45wPQULN.mjs → checkout-BVWZn5Qu.mjs} +3 -3
- package/dist/client/{checkout.client-bSv4cc5z.mjs → checkout.client-Bt_GtHW9.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwlaMl3W.mjs → checkoutUrls-CP-rQOZV.mjs} +1 -1
- package/dist/client/client.mjs +43 -18
- package/dist/client/{constants-DXV4KR7l.mjs → constants-yA1RJGXD.mjs} +1 -1
- package/dist/client/{context-lCPfX-xe.mjs → context-CG77Keax.mjs} +30 -3
- package/dist/client/{dateFormatting-HvfmS_cH.mjs → dateFormatting-DIRIgfYr.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-Ce3Gyin_.mjs → demoPortalMagicLink-CgzNiOQ0.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-CGcDE9aE.mjs → enhanceHeaderSection-DgzZNM2M.mjs} +3 -3
- package/dist/client/{event-registration.client-DlPfn4YG.mjs → event-registration.client-Ckb4aDE9.mjs} +79 -58
- package/dist/client/{eventCalendar-CioAdryV.mjs → eventCalendar-lqqQSzBQ.mjs} +4 -4
- package/dist/client/{eventCombined-Dwt0G6ez.mjs → eventCombined-BIMyHrd-.mjs} +4 -4
- package/dist/client/{eventListing-B3H9ifOC.mjs → eventListing-CBYxfvNf.mjs} +4 -4
- package/dist/client/{eventRegistration-Do7cAhXb.mjs → eventRegistration-BhAqvkCb.mjs} +4 -4
- package/dist/client/{form-CsqzgC6v.mjs → form-CkOfk-Eb.mjs} +3 -3
- package/dist/client/{form.client-DVDB7hY6.mjs → form.client-Whi43oio.mjs} +4 -4
- package/dist/client/{form.parts-1q2rzSYt.mjs → form.parts-BgsWo2Me.mjs} +1 -1
- package/dist/client/gifting/client.mjs +7 -7
- package/dist/client/{gifting-BrXQGX-k.mjs → gifting-XtNpLcFI.mjs} +4 -4
- package/dist/client/{gifting.client--zAjnY5N.mjs → gifting.client-CraWj4I4.mjs} +173 -71
- package/dist/client/{gifting.interactive-CrwHpUJG.mjs → gifting.interactive-DiPDObN0.mjs} +3 -2
- package/dist/client/{gifting.parts-CcKdDaQq.mjs → gifting.parts-_mgGOcbA.mjs} +12 -43
- package/dist/client/{headerSection-DlcDH4bi.mjs → headerSection-CPIN3VSU.mjs} +2 -2
- package/dist/client/{islands-dMh0Oxli.mjs → islands-C95FyxUF.mjs} +11 -9
- package/dist/client/{newsletter-form.client-BxA1PsdS.mjs → newsletter-form.client-BgVJdKVe.mjs} +6 -6
- package/dist/client/{newsletter-form.interactive-D0iRg7p2.mjs → newsletter-form.interactive-DpcfRbI_.mjs} +35 -15
- package/dist/client/{newsletter-form.parts-Dmuklz0r.mjs → newsletter-form.parts-poPgHrUh.mjs} +1 -1
- package/dist/client/{newsletterForm-CBzvgIfg.mjs → newsletterForm-Dt6wFjTe.mjs} +3 -3
- package/dist/client/portal/client.mjs +978 -72
- package/dist/client/{portalOrders-tCxS04g0.mjs → portalOrders-CAfjTyV9.mjs} +1 -1
- package/dist/client/{portalRoutes-DiGibcZI.mjs → portalRoutes-D3Ttfv5x.mjs} +48 -13
- package/dist/client/presentation-CudSUZ6Q.mjs +169 -0
- package/dist/client/{product-detail.client-D9MP8hvH.mjs → product-detail.client-BrBNT7Mq.mjs} +1 -1
- package/dist/client/{product-list.client-wCz1qcUY.mjs → product-list.client-CftTl7n6.mjs} +1 -1
- package/dist/client/{productDetail-D9-fCY6c.mjs → productDetail-b1tpt585.mjs} +3 -3
- package/dist/client/{productList-PJyxXSac.mjs → productList-DRT5sabi.mjs} +3 -3
- package/dist/client/{propsDecoder-B8lrKGPw.mjs → propsDecoder-Co1VXFaW.mjs} +4 -4
- package/dist/client/{registry.server-CI63JVHW.mjs → registry.server-0UDNY7dO.mjs} +185 -224
- package/dist/client/rendering/client.mjs +23 -23
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +5 -5
- package/dist/client/{richText-coerce-Jt9hDHdh.mjs → richText-coerce-BFDEPZZA.mjs} +2 -2
- package/dist/client/{routeIslandApiConfig-ZSPcJWx1.mjs → routeIslandApiConfig-DtqRutuX.mjs} +1 -1
- package/dist/client/{runtimeResponse-_iW9oEYc.mjs → runtimeResponse-DBVXbcuz.mjs} +1 -1
- package/dist/client/runtimeResponse-LQnQdtNI.mjs +3 -0
- package/dist/client/{shop-CbdJlWOw.mjs → shop-DL3CYR7i.mjs} +3 -3
- package/dist/client/{shop-commerce-BqLbzUUn.mjs → shop-commerce-CDth2_qq.mjs} +13 -13
- package/dist/client/{shop-commerce-store-BT0-zRqN.mjs → shop-commerce-store-CE0aaSHJ.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-Cws0lnSb.mjs → shop-discount-apply.state-p4aXtVsF.mjs} +2 -2
- package/dist/client/{shop.client-0cNErhJT.mjs → shop.client-BI2iw6Z3.mjs} +56 -21
- package/dist/client/{shopShared-COuQ2MhQ.mjs → shopShared-BNWzgWAC.mjs} +2 -2
- package/dist/client/{src-Do_s2lqH.mjs → src-CJf3u16T.mjs} +1 -1
- package/dist/{preview-next/client/src-lX6heoDA.mjs → client/src-CMuv8vSO.mjs} +5 -1
- package/dist/client/src-CXOxpNtj.mjs +3 -0
- package/dist/client/{timetableModel-DqI6U1BS.mjs → timetableModel-DZzGD6rS.mjs} +8 -8
- package/dist/client/{useAutomaticDiscountPreview-CeVUVzGf.mjs → useAutomaticDiscountPreview-CJDylOUe.mjs} +1 -1
- package/dist/client/{useAvailableSlots-B0mjVhZr.mjs → useAvailableSlots-nD6nuvSW.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-B_hfgdAP.mjs → useDiscountCodeUi-DMtTHqex.mjs} +1 -1
- package/dist/client/{useEventPagination-Ct4A6iR1.mjs → useEventPagination-CM-DCokc.mjs} +7 -7
- package/dist/client/{view-Cj151w4m.mjs → view-CHOhliHv.mjs} +3 -3
- package/dist/client/{wizardSteps-B3gsXNnb.mjs → wizardSteps-BbroaNkT.mjs} +68 -22
- package/dist/preview-next/client/{PageSectionToolbar-Dv4CW0AQ.mjs → PageSectionToolbar-CR99z8BL.mjs} +3 -3
- package/dist/preview-next/client/{PreviewEditorSidebar-B7WW58uE.mjs → PreviewEditorSidebar-BaKS6H8F.mjs} +6 -6
- package/dist/preview-next/client/{PreviewEditorUI-BnJ1ughv.mjs → PreviewEditorUI-D6IG119o.mjs} +4 -4
- package/dist/preview-next/client/{PreviewShell-C7qWzAe4.mjs → PreviewShell-CKjkFOZS.mjs} +5 -5
- package/dist/preview-next/client/{SdkPreviewModeRuntime-CYi4UHtG.mjs → SdkPreviewModeRuntime-BexDQWGj.mjs} +4 -4
- package/dist/preview-next/client/{previewAssistantSlot-DrUoRNu9.mjs → previewAssistantSlot-DcEwU9l_.mjs} +977 -505
- package/dist/preview-next/client/{previewChromeRoot-CEYp90mM.mjs → previewChromeRoot-VqseF0yf.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-DnO2_c0A.mjs → sdk-runtime-DcoVpKUf.mjs} +2 -2
- package/dist/preview-next/client/{siteStyleAccess-B3PwHw2z.mjs → siteStyleAccess-BL1fZnUD.mjs} +1 -1
- package/dist/{client/src-uwCpbHXG.mjs → preview-next/client/src-B5x3r4cg.mjs} +5 -1
- package/dist/preview-next/client/src-CrT7h--V.mjs +3 -0
- package/dist/preview-next/client/{useAutosaveStatus-DrdQ4ier.mjs → useAutosaveStatus-CdFnzKac.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-kuGRKaRL.mjs → useOpenBlockForSetup-B62h7dhR.mjs} +1 -1
- package/dist/preview-next/container-responsive.css +8 -0
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CwrXkLT3.mjs → route-contract-CQfEvfbg.mjs} +38 -13
- package/dist/server/{Block.shared-C5ucphCJ.mjs → Block.shared-CbGnxkWX.mjs} +5 -5
- package/dist/server/{ThemeScopeCore-DvbqYXdK.mjs → ThemeScopeCore-BjxlpVaV.mjs} +5 -5
- package/dist/server/{accessibleSurfaces-CAcf1lHT.mjs → accessibleSurfaces-CZ7pLuJ7.mjs} +2 -2
- package/dist/server/{accordions-DjcsqjCK.mjs → accordions-C_C52VkS.mjs} +1 -1
- package/dist/server/{bindings-CFw4M-gZ.mjs → bindings-D-n66Oqc.mjs} +5 -5
- package/dist/server/{client-D0XCgITW.mjs → client-BGGlrkft.mjs} +41 -16
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{constants-BZduY8jG.mjs → constants-TkO9Uxma.mjs} +45 -10
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-C-qyB8Tq.mjs → loadContent-8H1hHdXo.mjs} +4 -4
- package/dist/server/{loadPage-BpKKmi8E.mjs → loadPage-BZyqF_g3.mjs} +3 -3
- package/dist/server/{lookMediaFrame-EFws7tAj.mjs → lookMediaFrame-Dw6R9B0L.mjs} +13 -11
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/{navigation-DYkuiNXa.mjs → navigation-9TOyY5Zf.mjs} +1 -1
- package/dist/server/navigation.mjs +1 -1
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-DmZn4xUE.mjs → overrideResolution-CuduOS6V.mjs} +1 -1
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/{pageRenderPlan-DRB7cUZ0.mjs → pageRenderPlan-DmP0HVMu.mjs} +30 -8
- package/dist/server/{pageRuntimeSupport-Uv1xDieJ.mjs → pageRuntimeSupport-BQ1dWs1V.mjs} +3 -3
- package/dist/server/{pageShared-BdQF875z.mjs → pageShared-ALu7y5Dq.mjs} +272 -165
- package/dist/server/{parseThemeForPersistence-CwcWZL7u.mjs → parseThemeForPersistence-D_8I28BB.mjs} +3 -3
- package/dist/server/{portal-BQ8qiQnk.mjs → portal-P4oHSRho.mjs} +2 -1
- package/dist/server/portal.mjs +2 -2
- package/dist/server/{prebuild-B51QZVNe.mjs → prebuild-BLL6RhjS.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-CppDAfJW.mjs → prefetchBlockData-aR5W1dVF.mjs} +3 -3
- package/dist/server/{registry-Bf4W8Qa7.mjs → registry-DD_s7l3Y.mjs} +82 -33
- package/dist/server/rendering/components/pageShared.mjs +1 -1
- package/dist/server/rendering/helpers/loadPage.mjs +1 -1
- package/dist/server/rendering/helpers/pageRuntimeSupport.mjs +1 -1
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +9 -9
- package/dist/server/{resolveBlockData-DMHAZooQ.mjs → resolveBlockData-DnQ2N0lI.mjs} +2 -2
- package/dist/server/{resolveButtonColourStates-BMtAAPzp.mjs → resolveButtonColourStates-ChlP4NJ9.mjs} +1 -1
- package/dist/server/{responseMedia-DKYfR518.mjs → responseMedia-D6F1tvIm.mjs} +1 -1
- package/dist/server/{schema-DGaihVwp.mjs → schema-ClDfFtz2.mjs} +3 -3
- package/dist/server/server.mjs +3 -3
- package/dist/server/{servicePageContent-CRvmreX7.mjs → servicePageContent-CsUerbJ1.mjs} +14 -12
- package/dist/server/theme-bridge.mjs +3 -3
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-mcy2E1Yd.mjs → three-pass-converter-CLJrZb7s.mjs} +1 -1
- package/dist/server/{titleSourceSchema-B2qFOUwZ.mjs → titleSourceSchema-DA_iErtG.mjs} +2 -2
- package/dist/server/{types-C_S0pWbR.mjs → types-CcKy8_tj.mjs} +5 -3
- package/dist/server/{validation-CUtNT_EZ.mjs → validation-BbImAsVs.mjs} +5 -5
- package/dist/server/{version-DebJQ4zn.mjs → version-BY48jPoe.mjs} +1 -1
- package/dist/styles/index.css +192 -134
- package/package.json +1 -1
- package/dist/client/appointment-service-categories-Cl2pqw-z.mjs +0 -70
- package/dist/client/runtimeResponse-DlPBWBd9.mjs +0 -3
- package/dist/client/src-DqMbCjI1.mjs +0 -3
- package/dist/preview-next/client/src-EO5QoRlU.mjs +0 -3
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { _n as staticHeaderChromeRuntime } from "../newsletter-form.interactive-
|
|
3
|
+
import { _n as staticHeaderChromeRuntime } from "../newsletter-form.interactive-DpcfRbI_.mjs";
|
|
4
4
|
import { r as indexRenderableMediaAssets } from "../renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
5
|
-
import {
|
|
6
|
-
import { n as BookingFormNodeClient } from "../booking-form.client-
|
|
7
|
-
import { t as EventRegistrationBlockClient } from "../event-registration.client-
|
|
8
|
-
import { h as Text } from "../timetableModel-
|
|
9
|
-
import { Bt as accordionLookAttributes, Dt as EventDetailsView, Ft as markEditableSurfaceForwarding,
|
|
10
|
-
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-
|
|
11
|
-
import "../accessibleSurfaces-
|
|
5
|
+
import { Ro as RichText, as as computeMediaTransformStyle, cs as renderVideo, fs as resolveMediaNodeResponsiveImage, is as MediaPlaceholder, os as mediaImageHostProps, rs as ImagePresets, ss as renderAudio } from "../wizardSteps-BbroaNkT.mjs";
|
|
6
|
+
import { n as BookingFormNodeClient } from "../booking-form.client-DAlWWWjV.mjs";
|
|
7
|
+
import { t as EventRegistrationBlockClient } from "../event-registration.client-Ckb4aDE9.mjs";
|
|
8
|
+
import { h as Text } from "../timetableModel-DZzGD6rS.mjs";
|
|
9
|
+
import { Bn as ICON_CONFIG, Bt as accordionLookAttributes, Dt as EventDetailsView, Ft as markEditableSurfaceForwarding, Ht as resolveAccordionIconStyle, It as splitPositioningClasses, Nt as HeaderSectionFrame, Pt as composeHeaderSectionWrapperClassName, Vt as accordionIconColorStyle, jt as resolveEventDetailsPresentation, n as runtimeBackedBlockModes, r as runtimeBackedBlockServerEntries, rt as WeeklySlotAvailabilityView, t as serverComponentRegistry, vt as LocationMapSSR, zt as accordionItemPartSlots } from "../registry.server-0UDNY7dO.mjs";
|
|
10
|
+
import { n as useBlockApi, t as BlockApiProvider$1 } from "../context-CG77Keax.mjs";
|
|
11
|
+
import "../accessibleSurfaces-q-dDOwsW.mjs";
|
|
12
12
|
import { O as clsx } from "../ThemedButton-C4rCsPCt.mjs";
|
|
13
13
|
import { t as CarouselSlideContent } from "../carousel.shared-BFQ3kBEw.mjs";
|
|
14
|
-
import { t as coerceRichTextDoc } from "../richText-coerce-
|
|
15
|
-
import { n as useEditorParts, t as ShopClient } from "../shop.client-
|
|
16
|
-
import { n as EventCombinedIslandClient } from "../EventCombined.client-
|
|
17
|
-
import { o as getRuntimeTimeZone } from "../useAvailableSlots-
|
|
14
|
+
import { t as coerceRichTextDoc } from "../richText-coerce-BFDEPZZA.mjs";
|
|
15
|
+
import { n as useEditorParts, t as ShopClient } from "../shop.client-BI2iw6Z3.mjs";
|
|
16
|
+
import { n as EventCombinedIslandClient } from "../EventCombined.client-BdRZXB14.mjs";
|
|
17
|
+
import { o as getRuntimeTimeZone } from "../useAvailableSlots-nD6nuvSW.mjs";
|
|
18
18
|
import { t as createLucideIcon } from "../createLucideIcon-BrXgHVKN.mjs";
|
|
19
19
|
import { t as CarouselNodeClient } from "../carousel.client-DKWqVHHh.mjs";
|
|
20
|
-
import { t as ProductListClient } from "../product-list.client-
|
|
21
|
-
import { t as ProductDetailClient } from "../product-detail.client-
|
|
22
|
-
import { t as CartClient } from "../cart.client-
|
|
23
|
-
import { t as CheckoutClient } from "../checkout.client-
|
|
24
|
-
import { t as GiftingClient } from "../gifting.client
|
|
25
|
-
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-
|
|
26
|
-
import { t as EventListingClient } from "../EventListing.client-
|
|
27
|
-
import { t as EventCalendarClient } from "../EventCalendar.client-
|
|
28
|
-
import { t as FormNodeClient } from "../form.client-
|
|
29
|
-
import { t as NewsletterFormClient } from "../newsletter-form.client-
|
|
30
|
-
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-
|
|
20
|
+
import { t as ProductListClient } from "../product-list.client-CftTl7n6.mjs";
|
|
21
|
+
import { t as ProductDetailClient } from "../product-detail.client-BrBNT7Mq.mjs";
|
|
22
|
+
import { t as CartClient } from "../cart.client-hB_9MimN.mjs";
|
|
23
|
+
import { t as CheckoutClient } from "../checkout.client-Bt_GtHW9.mjs";
|
|
24
|
+
import { t as GiftingClient } from "../gifting.client-CraWj4I4.mjs";
|
|
25
|
+
import { t as mountHeaderChromeRuntime } from "../enhanceHeaderSection-DgzZNM2M.mjs";
|
|
26
|
+
import { t as EventListingClient } from "../EventListing.client-BEGiiFnO.mjs";
|
|
27
|
+
import { t as EventCalendarClient } from "../EventCalendar.client-By7e9nyF.mjs";
|
|
28
|
+
import { t as FormNodeClient } from "../form.client-Whi43oio.mjs";
|
|
29
|
+
import { t as NewsletterFormClient } from "../newsletter-form.client-BgVJdKVe.mjs";
|
|
30
|
+
import { t as BlocksIslandsHydrator } from "../BlocksIslandsHydrator-CooOPhs3.mjs";
|
|
31
31
|
import * as React$1 from "react";
|
|
32
32
|
import React, { createContext, createElement, useContext, useEffect, useMemo, useRef } from "react";
|
|
33
33
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, i as resolveManagedMediaReference, n as renderableMediaAssetSchema, o as parseCanonicalMediaIdentifier, s as parseMediaIdentifier, t as buildRenderableMediaAssetIndex } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import { Cn as toUtcIsoDateTimeString, J as persistableMediaSchema, Y as runtimeMediaSchema, q as mediaSchema } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-
|
|
6
|
-
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-
|
|
7
|
-
import { q as parseFieldDefinition } from "./registry.server-
|
|
3
|
+
import { Cn as toUtcIsoDateTimeString, J as persistableMediaSchema, Y as runtimeMediaSchema, q as mediaSchema } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { Fs as sanitizeHref, Ns as readRuntimeNow, Ps as resolveDateRuntimeContext, Ro as RichText$2, as as computeMediaTransformStyle, ds as resolveImageUrlWithContext$1, ls as resolveImageSourceSetWithContext$1, us as resolveImageUrl$1 } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { t as CUSTOMER_PORTAL_PATH } from "./portalRoutes-D3Ttfv5x.mjs";
|
|
6
|
+
import { $ as bookingPageDesign, B as SERVICE_BOOKING_BLOCK_IDS, C as siteBlockRenderContext, D as resolveBlockDataWithDeps, E as createBlockDataLoadPolicy, G as bookingPageSeedData, H as BOOKING_PAGE_BLOCK_IDS, I as MISSING_SDK_THEME_ERROR_CODE, J as plainTextDoc, K as buildBookingPageOutline, L as MissingSdkThemeError, N as normalizeDataLoaderSearchParams, O as SUPPORTED_LOADER_ENDPOINTS, Q as bookingHero, R as requireSdkTheme, S as projectRenderablePageOutline, T as DEFAULT_RESOLVE_BLOCK_DATA_DEPS, U as bookingDetailEvents, V as buildServiceBookingOutline, W as bookingPageFacts, X as createPublicBlockContentContractResolver, Y as buildCodeOwnedPageBlocks, Z as bookingDescription, a as solvedInksForThemeRuntime, at as makeDefaultBlockComponent, b as buildSiteRenderSupport, c as MissingBlockOverrideError, ct as deriveFieldValidationPlan, d as buildThemeRuntime, dt as getDefaultComponentRegistry, et as bookingSectionBlocks, f as parseBlocksTheme, ft as resolveAuthoredLinkHref, g as loadContent, h as isPageSurfaceContent, ht as resolveRouteHrefForStage, i as renderWithSdkThemeRuntime, it as siteHeaderManifest, k as prefetchBlockDataWithFailures, l as PageRenderer, lt as projectRepeaterGridLayout$1, m as isPageContent, mt as normalizeRenderStage, n as planLayoutThemeRuntime, nt as getBlockDefinition, o as ThemeScope, ot as renderBlock, p as isEntryContent, pt as isRouteVisibleInStage, q as bookingPageIdentity, r as renderWithOverrideOnlyRuntime, rt as siteFooterManifest, s as EditorPageRenderer, st as admitLayoutGridForPlan, t as Page, tt as planBlockDataRequests, u as toBlocksPageRendererDataContext, ut as projectRepeaterGridLayoutForRendering$1, v as loadContentFromContentResponseWithDeps, w as resolveSiteCustomBlocks, x as collectMediaAssetSidecar, y as buildRenderablePageOutline, z as parseServicePageContent } from "./Page-uP7AKSyp.mjs";
|
|
7
|
+
import { q as parseFieldDefinition } from "./registry.server-0UDNY7dO.mjs";
|
|
8
8
|
import { o as setContextResolveImageUrlContext, t as buildResolveImageUrlContext } from "./mediaContext-DzvnjYXm.mjs";
|
|
9
9
|
import { n as toBlocksImageResolveContextInput, r as toBlocksMediaAssets } from "./mediaAssets-COfQolI3.mjs";
|
|
10
10
|
import "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { B as RichTextDocSchema } from "./src-
|
|
3
|
-
import { c as logger } from "./islands-
|
|
2
|
+
import { B as RichTextDocSchema } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { c as logger } from "./islands-C95FyxUF.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/richText-coerce.ts
|
|
5
5
|
function parseRichTextDoc(value) {
|
|
6
6
|
const parsed = RichTextDocSchema.safeParse(value);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { no as createHostedBlockApiConfig } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/routeIslandApiConfig.ts
|
|
4
4
|
function buildRouteIslandApiConfig({ apiBaseUrl, portalToken, previewToken, siteId, stage, readAuthority }) {
|
|
5
5
|
if (readAuthority) return createHostedBlockApiConfig({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as parseSurfaceTree } from "./accessibleSurfaces-
|
|
2
|
+
import { r as parseSurfaceTree } from "./accessibleSurfaces-q-dDOwsW.mjs";
|
|
3
3
|
//#region ../site-renderer/src/runtimeResponse.ts
|
|
4
4
|
/** Recreate owner-produced rendering values at a JSON boundary, never trust copied proofs. */
|
|
5
5
|
function restoreRuntimeResponse(serialized) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as ShopClient } from "./shop.client-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as ShopClient } from "./shop.client-BI2iw6Z3.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-Co1VXFaW.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BNWzgWAC.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/shop.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("shop");
|
|
7
7
|
const enhance = (root, props) => {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { G as getShopDisplayForItems } from "./newsletter-form.interactive-
|
|
3
|
-
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
6
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { G as getShopDisplayForItems } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { a as clearWorkflowFeedback, o as reportWorkflowError, t as assertNever } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { Qr as formatCommercePrice, Ro as RichText, Xr as buildProductDetailDisplay, Yr as buildProductCardDisplay, li as productItemKey, oi as buildProductCartItem, si as deriveCommerceCheckoutState } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
|
|
6
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
7
7
|
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
9
|
-
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-
|
|
10
|
-
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-
|
|
11
|
-
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-
|
|
12
|
-
import { n as consumeSearchParam, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-
|
|
8
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-BFDEPZZA.mjs";
|
|
9
|
+
import { a as isDiscountCodeRefusal, c as checkoutFormForDiscountUiState, f as planUnifiedCheckoutRequest, m as DiscountCodeDisclosure, n as DemoBookingPortalAccess, o as useDiscountApply, s as aggregateCartDiscountUiState, u as planCartDiscountAvailabilityRequests } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
10
|
+
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CP-rQOZV.mjs";
|
|
11
|
+
import { n as resolveDedicatedCheckoutPath, t as useCommerceCart } from "./shop-commerce-store-CE0aaSHJ.mjs";
|
|
12
|
+
import { n as consumeSearchParam, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-CJDylOUe.mjs";
|
|
13
13
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
14
|
-
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-
|
|
15
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
16
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
14
|
+
import { c as ProductDetailView, f as VariantSelectView, l as ProductGalleryFrameView, n as CheckoutShellView, s as ProductCardView, t as CartShellView, u as ProductListSectionView } from "./view-CHOhliHv.mjs";
|
|
15
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-CgzNiOQ0.mjs";
|
|
16
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-p4aXtVsF.mjs";
|
|
17
17
|
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
18
18
|
import * as React$1 from "react";
|
|
19
19
|
import { useEffect, useState } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ai as buildPassCartItem, ci as parseStoredCommerceCartState, ii as EMPTY_COMMERCE_CART_STATE, ui as reduceCommerceCart } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/shared/utils/checkoutRoute.ts
|
|
5
5
|
function resolveDedicatedCheckoutTarget(pathname) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as assertNever } from "./src-
|
|
3
|
-
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { t as assertNever } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { l as normalizeManualDiscountCode } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-discount-apply.state.ts
|
|
5
5
|
const initialDiscountApplyState = {
|
|
6
6
|
isOpen: false,
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Q as shopProductPresentation } from "./newsletter-form.interactive-
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { h as assertNever$1 } from "./bookingCalendar
|
|
6
|
-
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Q as shopProductPresentation } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { $r as formatInterval, Gr as appliedDiscountHint, Qr as formatCommercePrice, Ui as getShopSuccessCopy } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { h as assertNever$1 } from "./bookingCalendar-9nFa_do4.mjs";
|
|
6
|
+
import { i as useSiteTermsAgreement, n as SiteTermsChangedNotice, t as SiteTermsAgreementField } from "./SiteTermsAgreementField-BDqRo2C5.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
8
8
|
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
9
|
-
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
9
|
+
import { a as isDiscountCodeRefusal, d as planDirectShopCheckoutRequest, m as DiscountCodeDisclosure, o as useDiscountApply, t as BookingConfirmation } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
10
10
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
11
11
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
|
-
import { r as consumeSearchParams, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-
|
|
12
|
+
import { r as consumeSearchParams, t as useAutomaticDiscountPreview } from "./useAutomaticDiscountPreview-CJDylOUe.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-DMtTHqex.mjs";
|
|
17
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
18
|
-
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, p as noEditorParts, r as MembershipCardView } from "./view-
|
|
19
|
-
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-
|
|
20
|
-
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-
|
|
18
|
+
import { a as PassPurchaseUnavailable, d as ShopPurchaseAction, i as PassCardView, o as PassesMembershipsSectionView, p as noEditorParts, r as MembershipCardView } from "./view-CHOhliHv.mjs";
|
|
19
|
+
import { a as readDemoBookingCheckoutReturnEmail, o as storeDemoBookingCheckoutReturn } from "./demoPortalMagicLink-CgzNiOQ0.mjs";
|
|
20
|
+
import { a as initialDiscountApplyState, i as getDiscountApplyFeedback, n as discountDraftAwaitingApply, o as isDiscountApplyInFlight, r as getAppliedDiscountCode, t as discountApplyReducer } from "./shop-discount-apply.state-p4aXtVsF.mjs";
|
|
21
21
|
import { t as CarouselNodeClient } from "./carousel.client-DKWqVHHh.mjs";
|
|
22
|
-
import { n as formatEntitlementEnd } from "./dateFormatting-
|
|
22
|
+
import { n as formatEntitlementEnd } from "./dateFormatting-DIRIgfYr.mjs";
|
|
23
23
|
import React, { createContext, useCallback, useContext, useEffect, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
//#region ../blocks/src/system/runtime/shared/components/ActionRow.tsx
|
|
@@ -393,6 +393,38 @@ function checkoutSubmitLabel(checkout, status) {
|
|
|
393
393
|
if (totalAfterDiscountCents !== 0) return `Pay ${formatCommercePrice(totalAfterDiscountCents, currency)}`;
|
|
394
394
|
return checkout.item.productType === "membership" ? "Continue to payment" : "Complete purchase";
|
|
395
395
|
}
|
|
396
|
+
/** Manual application owns the displayed price; otherwise the automatic quote does. */
|
|
397
|
+
function checkoutDiscountPresentation(status, automatic) {
|
|
398
|
+
if (status.type === "applied" || !automatic) return {
|
|
399
|
+
status,
|
|
400
|
+
automatic: false
|
|
401
|
+
};
|
|
402
|
+
return {
|
|
403
|
+
status: {
|
|
404
|
+
type: "applied",
|
|
405
|
+
discount: automatic
|
|
406
|
+
},
|
|
407
|
+
automatic: true
|
|
408
|
+
};
|
|
409
|
+
}
|
|
410
|
+
function ShopAutomaticDiscountNotice(props) {
|
|
411
|
+
if (props.presentation.automatic) return /* @__PURE__ */ jsxs(FeedbackMessage, {
|
|
412
|
+
tone: "success",
|
|
413
|
+
className: "shop__modal-discount",
|
|
414
|
+
role: "status",
|
|
415
|
+
children: [
|
|
416
|
+
getDiscountApplyFeedback(props.presentation.status, formatCommercePrice)?.message,
|
|
417
|
+
" ",
|
|
418
|
+
checkoutDiscountHint(props.checkout, props.presentation.status)
|
|
419
|
+
]
|
|
420
|
+
});
|
|
421
|
+
return !props.loading && props.discountsAvailable && !props.manualCodeEntryAllowed ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
422
|
+
tone: "info",
|
|
423
|
+
className: "shop__modal-discount",
|
|
424
|
+
role: "status",
|
|
425
|
+
children: "Eligible discounts will be applied at checkout."
|
|
426
|
+
}) : null;
|
|
427
|
+
}
|
|
396
428
|
function getCheckoutModalTitle(checkout) {
|
|
397
429
|
if (!checkout) return "";
|
|
398
430
|
if (checkout.item.productType === "membership") return "Subscribe to Membership";
|
|
@@ -453,6 +485,8 @@ function PassesMembershipsController({ render }) {
|
|
|
453
485
|
api,
|
|
454
486
|
...directShopAutomaticDiscountInput(checkout)
|
|
455
487
|
});
|
|
488
|
+
const discountPresentation = checkoutDiscountPresentation(discountApply.status, automaticPreview.discount);
|
|
489
|
+
const shownDiscountStatus = discountPresentation.status;
|
|
456
490
|
const discountApplyFeedback = getDiscountApplyFeedback(discountApply.status, formatCommercePrice);
|
|
457
491
|
const handleBuyPass = useCallback((pass, teamMember) => {
|
|
458
492
|
dispatch({
|
|
@@ -641,7 +675,7 @@ function PassesMembershipsController({ render }) {
|
|
|
641
675
|
children: [
|
|
642
676
|
/* @__PURE__ */ jsxs("p", {
|
|
643
677
|
className: "shop__modal-product",
|
|
644
|
-
children: [checkoutProductLabel(checkout, checkoutShownTotalCents(checkout,
|
|
678
|
+
children: [checkoutProductLabel(checkout, checkoutShownTotalCents(checkout, shownDiscountStatus)), checkout.item.productType === "membership" ? /* @__PURE__ */ jsx("span", {
|
|
645
679
|
className: "shop__modal-interval",
|
|
646
680
|
children: formatInterval(checkout.item.product.billingInterval)
|
|
647
681
|
}) : null]
|
|
@@ -759,12 +793,13 @@ function PassesMembershipsController({ render }) {
|
|
|
759
793
|
isApplying: isDiscountApplyInFlight(discountApply),
|
|
760
794
|
disabled: checkout.submitting
|
|
761
795
|
}) : null,
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
796
|
+
/* @__PURE__ */ jsx(ShopAutomaticDiscountNotice, {
|
|
797
|
+
checkout,
|
|
798
|
+
presentation: discountPresentation,
|
|
799
|
+
discountsAvailable: discountUi.discountsAvailable,
|
|
800
|
+
loading: discountUi.discountsAvailableLoading,
|
|
801
|
+
manualCodeEntryAllowed: discountUi.manualCodeEntryAllowed
|
|
802
|
+
}),
|
|
768
803
|
checkout.formError ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
769
804
|
tone: "error",
|
|
770
805
|
className: "shop__modal-error",
|
|
@@ -790,7 +825,7 @@ function PassesMembershipsController({ render }) {
|
|
|
790
825
|
type: "submit",
|
|
791
826
|
variant: "default",
|
|
792
827
|
size: "md",
|
|
793
|
-
label: checkoutSubmitLabel(checkout,
|
|
828
|
+
label: checkoutSubmitLabel(checkout, shownDiscountStatus),
|
|
794
829
|
disabled: checkoutPayBlocked(checkout, discountApply)
|
|
795
830
|
})]
|
|
796
831
|
})
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CG77Keax.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
4
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
4
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-DtqRutuX.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
7
7
|
//#region src/rendering/islands/enhancers/shopShared.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { a as mediaIdentifierSchema, f as parseUuidBrand, m as ok$1, n as renderableMediaAssetSchema, p as err$1 } from "./renderableMediaAssetAdmission-BsOWd9lf.mjs";
|
|
3
|
-
import {
|
|
3
|
+
import { l as addMonths } from "./src-CMuv8vSO.mjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
//#region ../core/src/branded/events.ts
|
|
6
6
|
const unsafeAsEventOfferingId = (id) => id;
|
|
@@ -553,6 +553,10 @@ function calendarLinks(entry) {
|
|
|
553
553
|
outlookUrl: outlook.toString()
|
|
554
554
|
};
|
|
555
555
|
}
|
|
556
|
+
/** A booking keeps its calendar identity when its time changes or a neighbouring date is removed. */
|
|
557
|
+
function customerBookingCalendarUid(identity) {
|
|
558
|
+
return identity.kind === "appointment" ? `appointment-${identity.appointmentId}@riverbankcms.com` : `booking-${identity.bookingId}-${identity.occurrenceId}@riverbankcms.com`;
|
|
559
|
+
}
|
|
556
560
|
//#endregion
|
|
557
561
|
//#region ../../node_modules/.pnpm/@date-fns+tz@1.5.0/node_modules/@date-fns/tz/tzName/index.js
|
|
558
562
|
/**
|
|
@@ -1692,4 +1696,4 @@ function calendarEvent(entry, generatedAt) {
|
|
|
1692
1696
|
};
|
|
1693
1697
|
}
|
|
1694
1698
|
//#endregion
|
|
1695
|
-
export { getWeekCalendarDays as _, buildTimetableModel as a, shiftCalendarAnchorDate as b, addDays as c, formatCalendarTitle as d, formatDateKey as f, getWeekCalendarDayTuple as g, getOrderedDayNames as h, groupItemsByDate as i, addMonths as l, getMonthCalendarDays as m,
|
|
1699
|
+
export { getWeekCalendarDays as _, buildTimetableModel as a, shiftCalendarAnchorDate as b, addDays as c, formatCalendarTitle as d, formatDateKey as f, getWeekCalendarDayTuple as g, getOrderedDayNames as h, groupItemsByDate as i, addMonths as l, getMonthCalendarDays as m, calendarLinks as n, DAY_NAMES as o, getDayOfWeek as p, customerBookingCalendarUid as r, MONTH_NAMES as s, renderCalendarFeedIcs as t, buildCalendarViewport as u, isSameCalendarDay as v, isToday as y };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-
|
|
3
|
-
import {
|
|
4
|
-
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-
|
|
5
|
-
import { h as assertNever } from "./bookingCalendar
|
|
6
|
-
import { U as textColorStyle } from "./accessibleSurfaces-
|
|
2
|
+
import { $t as mapDrawingSchema, Gt as normalizeLocationAddressText, mn as toScheduledBookingDateTime, nn as formatDate, pn as formatBookingCompactEnglishTime, xn as parseLocalScheduleTime } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { Ao as getEventAvailabilityStatus, Ds as isInlineTextEmpty, Eo as formatEventRemainingPlaces, Ho as eventDateOptions, Ko as formatEventClockLabel, Mo as isEventFull, Os as parseInlineTextFromUnknown, Ps as resolveDateRuntimeContext, Qo as formatEventTimeRange, Ro as RichText, bo as resolveEventPageLink, go as eventDestinationBookingLink, ns as resolveEventTimeZone, ts as groupEventsByDate } from "./wizardSteps-BbroaNkT.mjs";
|
|
4
|
+
import { n as CALENDAR_LOAD_FAILURE_MESSAGE, t as CalendarNavigationChevron } from "./CalendarNavigationChevron-oaHxRbUO.mjs";
|
|
5
|
+
import { h as assertNever } from "./bookingCalendar-9nFa_do4.mjs";
|
|
6
|
+
import { U as textColorStyle } from "./accessibleSurfaces-q-dDOwsW.mjs";
|
|
7
7
|
import { O as clsx, k as parseThemeButtonVariantId, n as ThemedButton, r as ThemedButtonLink, t as ThemedAuthoredButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
|
-
import {
|
|
8
|
+
import { a as buildTimetableModel$1, f as formatDateKey, p as getDayOfWeek, y as isToday } from "./src-CMuv8vSO.mjs";
|
|
9
9
|
import { t as getAtPath } from "./src-Al4ooTl_.mjs";
|
|
10
|
-
import { t as coerceRichTextDoc } from "./richText-coerce-
|
|
11
|
-
import { m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-
|
|
10
|
+
import { t as coerceRichTextDoc } from "./richText-coerce-BFDEPZZA.mjs";
|
|
11
|
+
import { m as formatEventTeacherLine, u as eventDisplayTitleText } from "./EventItem-CDMa9zOX.mjs";
|
|
12
12
|
import "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../core/src/locationLinks.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { hr as isEmailAddress } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/shared/utils/urlParams.ts
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Fn as unsafeAsAppointmentResourceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, _n as formatLocalScheduleDate, bn as parseBookingLocalDate, cn as formatTime$1, hn as addLocalScheduleDays, nn as formatDate$1, t as assertNever, yn as getLocalScheduleDate } from "./src-
|
|
3
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { Fn as unsafeAsAppointmentResourceId, Sn as parseUtcIsoDateTimeString, Tn as resolveBookingTimeZoneId, _n as formatLocalScheduleDate, bn as parseBookingLocalDate, cn as formatTime$1, hn as addLocalScheduleDays, nn as formatDate$1, t as assertNever, yn as getLocalScheduleDate } from "./src-CJf3u16T.mjs";
|
|
3
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
4
4
|
import { useCallback, useEffect, useReducer, useRef } from "react";
|
|
5
5
|
//#region ../blocks/src/utils/date-formatting.ts
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { _ as getAutoAppliedDiscountPreview, g as discountAvailabilityHasDiscounts, h as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-
|
|
2
|
+
import { _ as getAutoAppliedDiscountPreview, g as discountAvailabilityHasDiscounts, h as discountAvailabilityAllowsManualEntry } from "./DemoBookingPortalAccess-M2xKYQjX.mjs";
|
|
3
3
|
import { useEffect, useReducer, useState } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/StateIcon.tsx
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { At as getEventRuntimeFiltersKey, Bt as createInitialEventPaginationLoadState, Gt as planEventPageOperation, Ht as eventPaginationLoadReducer, Kt as toEventPaginationLoadError, Mt as normalizeCsvString, Nt as normalizeOptionalId, Ut as getEventIdentity, Vt as eventPageOperationQuery, Wt as getEventPaginationView, jt as normalizeCsvIds, qt as toError } from "./newsletter-form.interactive-
|
|
3
|
-
import { t as assertNever } from "./src-
|
|
4
|
-
import {
|
|
5
|
-
import { n as useBlockApi } from "./context-
|
|
6
|
-
import { d as listLookSlot, l as listItemPresentation } from "./islands-
|
|
2
|
+
import { At as getEventRuntimeFiltersKey, Bt as createInitialEventPaginationLoadState, Gt as planEventPageOperation, Ht as eventPaginationLoadReducer, Kt as toEventPaginationLoadError, Mt as normalizeCsvString, Nt as normalizeOptionalId, Ut as getEventIdentity, Vt as eventPageOperationQuery, Wt as getEventPaginationView, jt as normalizeCsvIds, qt as toError } from "./newsletter-form.interactive-DpcfRbI_.mjs";
|
|
3
|
+
import { t as assertNever } from "./src-CJf3u16T.mjs";
|
|
4
|
+
import { ro as getBlockApiReadStage } from "./wizardSteps-BbroaNkT.mjs";
|
|
5
|
+
import { n as useBlockApi } from "./context-CG77Keax.mjs";
|
|
6
|
+
import { d as listLookSlot, l as listItemPresentation } from "./islands-C95FyxUF.mjs";
|
|
7
7
|
import { n as ThemedButton, r as ThemedButtonLink } from "./ThemedButton-C4rCsPCt.mjs";
|
|
8
|
-
import { r as EventItem } from "./EventItem-
|
|
9
|
-
import { a as filterOffersChoice, c as EventCompactRow, l as EventCard, o as hasUpcomingEvents, r as categoryMenuShows, s as EmptyState, t as EventListingFrameView } from "./EventListing.view-
|
|
8
|
+
import { r as EventItem } from "./EventItem-CDMa9zOX.mjs";
|
|
9
|
+
import { a as filterOffersChoice, c as EventCompactRow, l as EventCard, o as hasUpcomingEvents, r as categoryMenuShows, s as EmptyState, t as EventListingFrameView } from "./EventListing.view-B6LOK-z4.mjs";
|
|
10
10
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
11
11
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/hooks/useEventFilters.state.ts
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { d as listLookSlot } from "./islands-
|
|
2
|
+
import { ni as membershipClassesLabel, ri as passCardListContent, ti as membershipCardListContent } from "./wizardSteps-BbroaNkT.mjs";
|
|
3
|
+
import { d as listLookSlot } from "./islands-C95FyxUF.mjs";
|
|
4
4
|
import { n as ThemedButton } from "./ThemedButton-C4rCsPCt.mjs";
|
|
5
|
-
import { r as EventItem, t as CardListCollection } from "./EventItem-
|
|
5
|
+
import { r as EventItem, t as CardListCollection } from "./EventItem-CDMa9zOX.mjs";
|
|
6
6
|
import React from "react";
|
|
7
7
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region ../blocks/src/system/runtime/editorParts.ts
|