@riverbankcms/sdk 0.164.0 → 0.165.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-CubPwupc.d.ts → BlocksIslandsHydrator-CdsSMQEv.d.ts} +1 -1
- package/dist/_dts/{Page-CDzsagB2.d.ts → Page-D6gp2Ipb.d.ts} +7 -7
- package/dist/_dts/{SdkPreviewMode-CPRQbRCI.d.ts → SdkPreviewMode-DNXAvnet.d.ts} +83 -71
- package/dist/_dts/{client-CbeYTSry.d.ts → client-BkkExozE.d.ts} +1 -1
- package/dist/_dts/{content-types--uYRIcIF.d.ts → content-types-CXNAD7ef.d.ts} +2 -2
- package/dist/_dts/{contracts-DJQYAOsv.d.ts → contracts-XRXhbLWP.d.ts} +4 -4
- package/dist/_dts/{footerPageOutline-CKkhBwgJ.d.ts → footerPageOutline-BP2bJYdY.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata--qd7NCIA.d.ts → generatePageMetadata-DcMtbztV.d.ts} +2 -2
- package/dist/_dts/{index-D_pQO-AS.d.ts → index-B4ozSzFP.d.ts} +35642 -35443
- package/dist/_dts/{index-DYQFmf--.d.ts → index-BdkHhyf8.d.ts} +1 -1
- package/dist/_dts/{index-BZE-1azr.d.ts → index-CQfJhOEA.d.ts} +2 -2
- package/dist/_dts/{index-BpEbwDM7.d.ts → index-CRRiddNp.d.ts} +4 -4
- package/dist/_dts/{index-CjdIn9-_.d.ts → index-C_3kdrUb.d.ts} +2 -2
- package/dist/_dts/{index-JS8WYgD3.d.ts → index-DAPTSmBM.d.ts} +401 -569
- package/dist/_dts/{index-DriYVLfT.d.ts → index-DKNEgSOS.d.ts} +2 -2
- package/dist/_dts/{index-wegfy7lf.d.ts → index-RXkE3a7M.d.ts} +3 -3
- package/dist/_dts/{loadContent-DUi94Qfk.d.ts → loadContent-B9vJMq3s.d.ts} +6 -6
- package/dist/_dts/{resolvePageContent-JDE0ry6T.d.ts → resolvePageContent-DIQyYUi-.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 +6 -6
- 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/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/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/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-W40f2olO.d.ts → types-BDF73NzM.d.ts} +2 -2
- package/dist/_dts/{types-DiciZDrk.d.ts → types-Cl0nP6al.d.ts} +3 -3
- package/dist/_dts/{types-DubJnBnI.d.ts → types-mstFvhK4.d.ts} +7 -7
- package/dist/_dts/{validation-BF4_zNkR.d.ts → validation-DVWqSvjK.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-64hFxF02.mjs → BlocksIslandsHydrator-CzKpH9Pm.mjs} +20 -20
- package/dist/client/{BookingMailingListNote-CSQyFm9J.mjs → BookingMailingListNote-rUqsBN7L.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-Bvkx8Z7Y.mjs → CalendarNavigationChevron-YGzw2IPB.mjs} +6 -6
- package/dist/client/{CheckboxChoice-3PhxDxgR.mjs → CheckboxChoice-DlTC4J2a.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-pt2xXBQp.mjs → DemoBookingPortalAccess-D2LyS_Bi.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-Qw780EfW.mjs → DemoPortalSignInLink-BaFg2Uit.mjs} +1 -1
- package/dist/client/{EventCalendar.client-DWoboRW5.mjs → EventCalendar.client-tRrhPscX.mjs} +17 -10
- package/dist/client/{EventCombined.client-C98ucpcP.mjs → EventCombined.client-6cfAVtnZ.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-DHRlFfkp.mjs → EventEmbeddedCheckoutStep-CDNUpI0S.mjs} +2 -2
- package/dist/client/{EventItem-hrSyTApW.mjs → EventItem-dILw2PN_.mjs} +11 -5
- package/dist/client/{EventListWeekNavigation-C3t7H13W.mjs → EventListWeekNavigation-ClgLtjNY.mjs} +1 -1
- package/dist/client/{EventListing.client-Cp11sBX_.mjs → EventListing.client-BNueAHmU.mjs} +3 -3
- package/dist/client/{EventListing.view-Dd5QHIAf.mjs → EventListing.view-DtVbKVkt.mjs} +56 -12
- package/dist/client/{EventRegistrationPayment-ByT88VHR.mjs → EventRegistrationPayment-CzkG0NSJ.mjs} +10 -10
- package/dist/client/{LocationMapActions-BsepG5Vv.mjs → LocationMapActions-zWQsJhE5.mjs} +2 -2
- package/dist/client/{MapDrawingSvg-R4JMT4yd.mjs → MapDrawingSvg-D1AO_o4h.mjs} +1 -1
- package/dist/client/{Page-Dub71o3c.mjs → Page-DUr2YhFR.mjs} +1521 -235
- package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-2fJqT_NR.mjs} +1 -1
- package/dist/client/{SpamProtectionWidget-CRsKTQV-.mjs → SpamProtectionWidget-CCF6YLUX.mjs} +5 -3
- package/dist/client/{StepIndicator-Bp7MyutT.mjs → StepIndicator-udNHcpOT.mjs} +2 -2
- package/dist/client/{TabBarFragment-C4WJyybx.mjs → TabBarFragment-C_kt-PXh.mjs} +1 -1
- package/dist/client/{ThemedButton-BGVwNwE-.mjs → ThemedButton-Cfbo1bfh.mjs} +1 -1
- package/dist/client/{accordion-vCG_JC5t.mjs → accordion-3CYNWzTS.mjs} +1 -1
- package/dist/client/{altchaProtection-BWchRM3v.mjs → altchaProtection-DjIV9A5n.mjs} +1 -1
- package/dist/client/{booking-form.client-CHTbcZJM.mjs → booking-form.client-BSbWgLyx.mjs} +13 -13
- package/dist/client/{bookingForm-BxbUbzUr.mjs → bookingForm-2MoFBWSt.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-FM1mkkL0.mjs → carousel-Cu5mcpO-.mjs} +2 -2
- package/dist/client/{carousel.client-ChoLiWwD.mjs → carousel.client-CQLV8_Al.mjs} +1 -1
- package/dist/client/{cart-BDFhbh9j.mjs → cart-CDc6x9cR.mjs} +3 -3
- package/dist/client/{cart.client-x3HOke6T.mjs → cart.client-BWS2r5Ef.mjs} +1 -1
- package/dist/client/{checkout-BibhwnTd.mjs → checkout-CkxPqSwD.mjs} +3 -3
- package/dist/client/{checkout.client-CE4jUi0G.mjs → checkout.client-DJfomKQc.mjs} +1 -1
- package/dist/client/client.mjs +2 -2
- package/dist/client/{context-BNAM7NsW.mjs → context-CBV21-9L.mjs} +1 -1
- package/dist/client/{cta-ChiN1Vgg.mjs → cta-Bw-al3cs.mjs} +26 -2
- package/dist/client/{dateFormatting-QwBSo0hK.mjs → dateFormatting-CFIUJ4Uf.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-NwKJk6gn.mjs → demoPortalMagicLink-D0veHJyi.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-D4zqEBDl.mjs → enhanceHeaderSection-CEqqq92r.mjs} +3 -3
- package/dist/client/{event-details.client-jFyFjOIC.mjs → event-details.client-Bk2kQ7ax.mjs} +1 -1
- package/dist/client/{event-registration.client-BK_jVv3R.mjs → event-registration.client-QMqtIywj.mjs} +23 -14
- package/dist/client/{eventCalendar-DSkzejQh.mjs → eventCalendar-BTDTMosr.mjs} +4 -4
- package/dist/client/{eventCombined-BG-BEaYh.mjs → eventCombined-BC7a709c.mjs} +4 -4
- package/dist/client/{eventDetails-BhIwXAKe.mjs → eventDetails-DL08GpUc.mjs} +2 -2
- package/dist/client/{eventListing-DQtyO1Xj.mjs → eventListing-BfzuEQp_.mjs} +4 -4
- package/dist/client/{eventRegistration-DRTz8X0M.mjs → eventRegistration-Lfyzh1Ab.mjs} +4 -4
- package/dist/client/{form-GXqjObPC.mjs → form-L-xZOBUS.mjs} +3 -3
- package/dist/client/{form.client-CoKNba2e.mjs → form.client-BtpK3TZW.mjs} +6 -6
- package/dist/client/{form.parts-magB_epJ.mjs → form.parts-Djos5Un4.mjs} +3 -3
- package/dist/client/{formatDate-BiloOyjS.mjs → formatDate-DGmrm7YB.mjs} +1 -1
- package/dist/client/gifting/client.mjs +5 -5
- package/dist/client/{headerSection-BMQCPHT3.mjs → headerSection-f16OGkz-.mjs} +2 -2
- package/dist/client/{mediaAssets-BX-vWwQc.mjs → mediaAssets-DHAmrVIi.mjs} +1 -1
- package/dist/client/{mediaContext-CdqGYlWl.mjs → mediaContext-CwT6ZOm7.mjs} +1 -1
- package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-DpHNZc7k.mjs} +8 -8
- package/dist/client/{newsletter-form.parts-D8NgHY_F.mjs → newsletter-form.parts-CLGH20PL.mjs} +2 -2
- package/dist/client/{newsletterForm-BhBNsS3n.mjs → newsletterForm-BEU0Ocu9.mjs} +3 -3
- package/dist/client/{noop-C2vZse15.mjs → noop-CQU7tiMg.mjs} +8 -4
- package/dist/client/portal/client.mjs +13 -13
- package/dist/client/{product-detail.client-CQ0k0fbH.mjs → product-detail.client-Be-om1BT.mjs} +1 -1
- package/dist/client/{product-list.client-Xlr1P0x9.mjs → product-list.client-DR7hD5Vs.mjs} +1 -1
- package/dist/client/{productDetail-BsCao6X4.mjs → productDetail-BD42UOmG.mjs} +3 -3
- package/dist/client/{productList-Cc-PmbEe.mjs → productList-CSk8sXCl.mjs} +3 -3
- package/dist/client/{propsDecoder-DikkDJ9x.mjs → propsDecoder-C_Y6VYnF.mjs} +3 -3
- package/dist/client/{purchase-BMsWpx8y.mjs → purchase-BV5xfaZH.mjs} +1 -1
- package/dist/client/{registry.server-BpLZo3bC.mjs → registry.server-CIKtTsCl.mjs} +189 -162
- package/dist/client/rendering/client.mjs +27 -27
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +7 -7
- package/dist/client/{richText-coerce-WuMYrBm3.mjs → richText-coerce-spWtx86G.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DNx6b07x.mjs → routeIslandApiConfig-CROHPlYS.mjs} +1 -1
- package/dist/client/{schema-DMUkBtIO.mjs → schema-BdSglH2X.mjs} +189 -20
- package/dist/client/{shop-DyXtB5TD.mjs → shop-DscvMz86.mjs} +3 -3
- package/dist/client/{shop-commerce-xjWH7-Ym.mjs → shop-commerce-CDUohm_2.mjs} +11 -11
- package/dist/client/{shop-commerce-store-CbBsS1kD.mjs → shop-commerce-store-B9nw4lRP.mjs} +1 -1
- package/dist/client/{shop.client-QOKqQPgK.mjs → shop.client-M3kNsVPi.mjs} +12 -12
- package/dist/client/{shop.interactive-BQdm441g.mjs → shop.interactive-BGmkdIAZ.mjs} +251 -24
- package/dist/client/{shopShared-CyW6MU48.mjs → shopShared-BdWp6LHa.mjs} +2 -2
- package/dist/client/{site-styles-BLHYJ8S7.mjs → site-styles-CWHmlVT5.mjs} +2612 -448
- package/dist/client/spam-protection.mjs +2 -2
- package/dist/client/{timetableModel-BgdkhRuA.mjs → timetableModel-Dynh5-j4.mjs} +10 -10
- package/dist/client/{useAvailableSlots-wmdo6uZ8.mjs → useAvailableSlots-Cw9paRPY.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CUExAee1.mjs → useBookingNowIso-C9SF2rC6.mjs} +1 -1
- package/dist/client/{useDiscountApply-BRM-OoTN.mjs → useDiscountApply-B-QJfBg0.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-BEIvL31G.mjs → useDiscountCodeUi-Uvum8q9d.mjs} +1 -1
- package/dist/client/{useEventPagination-Dk3g64we.mjs → useEventPagination-BfM3xk6j.mjs} +9 -156
- package/dist/client/{view-BnaOmrap.mjs → view-DXOuduIr.mjs} +4 -4
- package/dist/client/{view-vhKGFfC3.mjs → view-DlkCDfuN.mjs} +45 -32
- package/dist/client/{wizardSteps-xqU4q63H.mjs → wizardSteps-DManVJpc.mjs} +49 -39
- package/dist/preview-next/before-render.mjs +2 -2
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-43wIAWr4.mjs → EventEmbeddedCheckoutStep-Die6Y25O.mjs} +1 -1
- package/dist/preview-next/client/{LocationPickerEnvironment-QtSG2Bl-.mjs → LocationPickerEnvironment-Bp4BHLCL.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-B-rohNcG.mjs → MapLibreEditMap-Cb0JhM9p.mjs} +2 -2
- package/dist/preview-next/client/{PreviewEditorSidebar-C3AQVxQt.mjs → PreviewEditorSidebar-DEP3xD9K.mjs} +3566 -3197
- package/dist/preview-next/client/{PreviewEditorUI-C-1zDCR_.mjs → PreviewEditorUI-CxwlLBGw.mjs} +577 -172
- package/dist/preview-next/client/{SdkPreviewModeRuntime-C6Rhm2NQ.mjs → SdkPreviewModeRuntime-Cpe-XP8e.mjs} +1 -1
- package/dist/preview-next/client/{SdkPreviewModeRuntime-B47yHFL0.mjs → SdkPreviewModeRuntime-QDkMPASV.mjs} +3811 -4882
- package/dist/preview-next/client/{siteStyleAccess-BiSyYyyr.mjs → SiteChromeCustomizeButton-1JaoGOKX.mjs} +8506 -13317
- package/dist/preview-next/client/{ThemedButton-g7NPrsGp.mjs → ThemedButton-Dc6aJ34Z.mjs} +214 -23
- package/dist/preview-next/client/editorStatusDecision-DR4BBKhy.mjs +101 -0
- package/dist/preview-next/client/{lucide-react-CA9cpo0P.mjs → lucide-react-CqxuVAyz.mjs} +1 -1
- package/dist/preview-next/client/{previewChromeSurface-Cjwxv90x.mjs → previewChromeSurface-yuwnDP3B.mjs} +49 -6
- package/dist/preview-next/client/{previewAuthStore-By_zfrS5.mjs → previewSidebarNavigation-AXUj9-qQ.mjs} +205988 -193500
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BG2HYvQj.mjs → sdk-runtime-O-eA9-rV.mjs} +1 -1
- package/dist/preview-next/keepAlive.mjs +3 -3
- package/dist/preview-next/middleware.mjs +2 -2
- package/dist/preview-next/{route-contract-D5tHZEz5.mjs → route-contract-BBAJjFIz.mjs} +11 -8
- package/dist/preview-next/{session-P1R_ajT7.mjs → session-DU6zpYUQ.mjs} +1 -1
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-Iy7g11iP.mjs → Block.shared-ClFI3qpX.mjs} +4 -4
- package/dist/server/{bindings-BVJGgUT0.mjs → bindings-Bi8EoRZD.mjs} +2 -2
- package/dist/server/{client-CiKaE8ms.mjs → client-DfMDbZ41.mjs} +2 -2
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{effectiveNavLinkStyle-EDSdd_oK.mjs → effectiveNavLinkStyle-BHIYPVG1.mjs} +2353 -214
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-BuintpdO.mjs → loadContent-dEEhQxL7.mjs} +4 -4
- package/dist/server/loadPage-CnVB-aeL.mjs +2 -0
- package/dist/server/{loadPage-Dk4wea8M.mjs → loadPage-DBFBad8A.mjs} +2 -2
- package/dist/server/next/middleware.mjs +1 -1
- package/dist/server/next/revalidate.mjs +1 -1
- package/dist/server/next.mjs +11 -11
- package/dist/server/{overrideResolution-BDiQWM7D.mjs → overrideResolution-BIJbiXYc.mjs} +1 -1
- package/dist/server/{overrides-DVemf-GV.mjs → overrides-DhF87Vsd.mjs} +294 -103
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-DubLNgRH.mjs → prebuild-DaemmWQL.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Bnbwoe5n.mjs → prefetchBlockData-FwcsT5H2.mjs} +293 -90
- package/dist/server/{publicProducts-D3Fc5TKk.mjs → publicProducts-Bz8loTRn.mjs} +13 -10
- package/dist/server/{registry-zjd1P2Dl.mjs → registry-Cdvz1OtL.mjs} +499 -374
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-CZJ--nH6.mjs → resolveBlockData-CLpAJWWf.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-BlTWmTSl.mjs → schema-uSA_x1Zh.mjs} +189 -20
- package/dist/server/server.mjs +3 -3
- package/dist/server/{site-styles-yHytcXIB.mjs → site-styles-CntHn2KI.mjs} +55 -30
- package/dist/server/{siteChromeOverlayClearance-D0uCNZ7E.mjs → siteChromeOverlayClearance-DqP40Ka0.mjs} +2 -2
- package/dist/server/{src-cbbK3Bho.mjs → src-DsYPhTbs.mjs} +1009 -25
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-BdY8lP-K.mjs → themeAdmission-CSknYpxk.mjs} +2 -2
- package/dist/server/{validation-CGH-Xs4E.mjs → validation-DYxhLzqQ.mjs} +2 -2
- package/dist/server/{version-DoOG6F13.mjs → version-Beu4q-Gv.mjs} +1 -1
- package/dist/styles/index.css +914 -10
- package/package.json +1 -1
- package/dist/_dts/previewCompiler-BVVgDSdq.d.ts +0 -1
- package/dist/preview-next/client/spinner-DnWpeDp2.mjs +0 -67
- package/dist/server/loadPage-BwjncpJf.mjs +0 -2
package/dist/client/{ProtectedSubmitButton-DGbgGvdh.mjs → ProtectedSubmitButton-2fJqT_NR.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/ProtectedSubmitButton.tsx
|
|
@@ -130,10 +130,12 @@ function useSpamProtection(policy) {
|
|
|
130
130
|
//#region ../altcha/src/SpamProtectionWidget.tsx
|
|
131
131
|
/** The widget and submission control share one verification lifetime. */
|
|
132
132
|
function SpamProtectionWidget({ protection, ...options }) {
|
|
133
|
-
|
|
133
|
+
if (protection.widget === null) return null;
|
|
134
|
+
const { key, ...widget } = protection.widget;
|
|
135
|
+
return /* @__PURE__ */ jsx(AltchaWidget, {
|
|
134
136
|
...options,
|
|
135
|
-
...
|
|
136
|
-
})
|
|
137
|
+
...widget
|
|
138
|
+
}, key);
|
|
137
139
|
}
|
|
138
140
|
//#endregion
|
|
139
141
|
export { hasSpamProtection as i, useSpamProtection as n, getChallengeUrl as r, SpamProtectionWidget as t };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./shop.interactive-
|
|
2
|
+
import "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
3
|
import { c as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
4
|
+
import { r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
5
5
|
import { t as StepIndicator$1 } from "./StepIndicator-BK0GEDoP.mjs";
|
|
6
6
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
7
7
|
import React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/TabBarFragment.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { M as themeButtonExtraClassesWithTrailingIcon, N as themeButtonSizeClassName, P as themeButtonVariantClassNames } from "./schema-
|
|
2
|
+
import { M as themeButtonExtraClassesWithTrailingIcon, N as themeButtonSizeClassName, P as themeButtonVariantClassNames } from "./schema-BdSglH2X.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
3
|
//#region src/rendering/islands/enhancers/accordion.ts
|
|
4
4
|
const decode = defineIslandPropsDecoder("accordion");
|
|
5
5
|
function parseDefaultValues(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as useSpamProtection, r as getChallengeUrl } from "./SpamProtectionWidget-
|
|
2
|
+
import { n as useSpamProtection, r as getChallengeUrl } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/altchaProtection.ts
|
|
4
4
|
/** Bind the shared verification lifetime to the existing form API and configured policy. */
|
|
5
5
|
function useAltchaProtection(input) {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { b as formatCurrencyAmount } from "./purchase-
|
|
2
|
+
import { Ar as unsafeAsSiteId, Dr as unsafeAsFormId, Er as unsafeAsCustomerPassId, Tr as unsafeAsAppointmentServiceId, kr as unsafeAsPassId, wr as unsafeAsAppointmentResourceId } from "./schema-BdSglH2X.mjs";
|
|
3
|
+
import { b as formatCurrencyAmount } from "./purchase-BV5xfaZH.mjs";
|
|
4
4
|
import { a as clearWorkflowFeedback, i as okWith, n as err, o as reportWorkflowError, s as reportWorkflowSuccess, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
5
|
-
import { $n as resolveDefaultBookingServiceId, B as paymentChoiceDetails, Bn as getBookingRedirectStateFromLocation, Fn as buildBookingFormInteractiveIslandProps, Gn as isBookingServiceSlidingAmountInRange, Hn as getBookingSuccessCopy, In as readOverrideServiceCategories, Jn as parseBookingCurrencyInputToCents, Kn as normalizeBookingFormConfig, Kr as resolveBookingSignupOffer, Ln as deriveBookingFormViewState, Qn as resolveBookingSiteId, R as buildBookingPaymentSelectionViewModel, Rn as formatBookingCentsAsCurrencyInput, V as paymentChoicePrice, Vn as getBookingServiceSlidingScale, Xn as resolveAppointmentCheckoutVerificationState, Yn as prepareBookingSubmission, Zn as resolveBookingPaymentStep, br as readRuntimeNow, er as selectedBookingCollectionOptionKind, ir as BOOKING_FORM_DATA_RESERVED_KEYS, nr as projectSelectedAppointmentConsentIntoForm, qn as normalizeBookingServices, rr as resolveSelectedAppointmentConsent, tr as toSelectedCollectionOptionKind, xr as resolveDateRuntimeContext, z as buildReviewedBookingPaymentViewModel, zn as formatBookingSubmissionPreparationError } from "./wizardSteps-
|
|
6
|
-
import { At as resolveBookingTimeZoneId, J as isBookingRequirementConsentFieldId, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, gt as formatTimeZoneCityLabel, kt as resolveBookingBusinessTimeZone, mt as formatTime, pt as formatDateTimeRange, t as logger, ut as formatDate, vt as resolveBookingDisplayContext } from "./noop-
|
|
7
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
5
|
+
import { $n as resolveDefaultBookingServiceId, B as paymentChoiceDetails, Bn as getBookingRedirectStateFromLocation, Fn as buildBookingFormInteractiveIslandProps, Gn as isBookingServiceSlidingAmountInRange, Hn as getBookingSuccessCopy, In as readOverrideServiceCategories, Jn as parseBookingCurrencyInputToCents, Kn as normalizeBookingFormConfig, Kr as resolveBookingSignupOffer, Ln as deriveBookingFormViewState, Qn as resolveBookingSiteId, R as buildBookingPaymentSelectionViewModel, Rn as formatBookingCentsAsCurrencyInput, V as paymentChoicePrice, Vn as getBookingServiceSlidingScale, Xn as resolveAppointmentCheckoutVerificationState, Yn as prepareBookingSubmission, Zn as resolveBookingPaymentStep, br as readRuntimeNow, er as selectedBookingCollectionOptionKind, ir as BOOKING_FORM_DATA_RESERVED_KEYS, nr as projectSelectedAppointmentConsentIntoForm, qn as normalizeBookingServices, rr as resolveSelectedAppointmentConsent, tr as toSelectedCollectionOptionKind, xr as resolveDateRuntimeContext, z as buildReviewedBookingPaymentViewModel, zn as formatBookingSubmissionPreparationError } from "./wizardSteps-DManVJpc.mjs";
|
|
6
|
+
import { At as resolveBookingTimeZoneId, J as isBookingRequirementConsentFieldId, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, gt as formatTimeZoneCityLabel, kt as resolveBookingBusinessTimeZone, mt as formatTime, pt as formatDateTimeRange, t as logger, ut as formatDate, vt as resolveBookingDisplayContext } from "./noop-CQU7tiMg.mjs";
|
|
7
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, o as useSiteTermsAgreement, r as SiteTermsAgreementField, t as BookingConfirmation } from "./DemoBookingPortalAccess-D2LyS_Bi.mjs";
|
|
8
8
|
import { t as layoutServicesByCategory } from "./appointment-service-categories-Cl2pqw-z.mjs";
|
|
9
|
-
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-
|
|
9
|
+
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
10
10
|
import { t as buildCheckoutReturnUrls } from "./checkoutUrls-CYj06rX1.mjs";
|
|
11
11
|
import { t as scrollToBlock } from "./scrollToBlock-DrgKE0qZ.mjs";
|
|
12
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
12
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-DlTC4J2a.mjs";
|
|
13
13
|
import { t as CheckIcon } from "./CheckIcon-CVcKteXH.mjs";
|
|
14
14
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
15
15
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-
|
|
17
|
-
import { i as PaymentChoiceRows, n as BookingConsentAgreement, r as usePolling, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon, t as useDiscountCodeUi } from "./useDiscountCodeUi-Uvum8q9d.mjs";
|
|
17
|
+
import { i as PaymentChoiceRows, n as BookingConsentAgreement, r as usePolling, t as BookingMailingListNote } from "./BookingMailingListNote-rUqsBN7L.mjs";
|
|
18
18
|
import { t as StepIndicator } from "./StepIndicator-BK0GEDoP.mjs";
|
|
19
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
20
|
-
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-
|
|
21
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
22
|
-
import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-
|
|
19
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
20
|
+
import { a as formatTime$1, i as formatDatePillParts, n as useAvailableDates, o as getRuntimeTimeZone, r as formatDate$1, t as useAvailableSlots } from "./useAvailableSlots-Cw9paRPY.mjs";
|
|
21
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-C9SF2rC6.mjs";
|
|
22
|
+
import { s as storeDemoBookingPassIfAvailable } from "./demoPortalMagicLink-D0veHJyi.mjs";
|
|
23
23
|
import React, { useCallback, useEffect, useLayoutEffect, useMemo, useReducer, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
25
25
|
//#region ../blocks/src/system/runtime/nodes/booking-form.date-display.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as BookingFormClient } from "./booking-form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
4
|
+
import { t as BookingFormClient } from "./booking-form.client-BSbWgLyx.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CROHPlYS.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/bookingForm.tsx
|
package/dist/client/bookings.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
-
import { Er as normalizeEventRegistrationPageSurfaceSubject, F as toHeadlessPaymentSelection, I as toInternalPaymentSelection, Kn as normalizeBookingFormConfig, M as resolveEventRegistrationSubmitPlan, N as resolveHeadlessEventRegistrationStatus, Ot as getSingleSelectedPricingOptionId, P as resolveHeadlessEventRegistrationView, Vt as resolveRegistrationDisplay, Wt as createHostedBlockApiConfig, ar as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, br as readRuntimeNow, j as normalizeEventRegistrationMaxTickets, k as deriveEventRegistrationSteps, qn as normalizeBookingServices, xn as resolveRuntimeEventDestination } from "./wizardSteps-
|
|
4
|
-
import { W as publicEventSchema } from "./noop-
|
|
5
|
-
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-
|
|
6
|
-
import { n as useBlockApi, t as BlockApiProvider } from "./context-
|
|
7
|
-
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-
|
|
3
|
+
import { Er as normalizeEventRegistrationPageSurfaceSubject, F as toHeadlessPaymentSelection, I as toInternalPaymentSelection, Kn as normalizeBookingFormConfig, M as resolveEventRegistrationSubmitPlan, N as resolveHeadlessEventRegistrationStatus, Ot as getSingleSelectedPricingOptionId, P as resolveHeadlessEventRegistrationView, Vt as resolveRegistrationDisplay, Wt as createHostedBlockApiConfig, ar as BOOKING_FORM_DATA_RESERVED_KEY_VALUES, br as readRuntimeNow, j as normalizeEventRegistrationMaxTickets, k as deriveEventRegistrationSteps, qn as normalizeBookingServices, xn as resolveRuntimeEventDestination } from "./wizardSteps-DManVJpc.mjs";
|
|
4
|
+
import { W as publicEventSchema } from "./noop-CQU7tiMg.mjs";
|
|
5
|
+
import { n as EventRegistrationPayment, r as useEventRegistrationWizard } from "./EventRegistrationPayment-CzkG0NSJ.mjs";
|
|
6
|
+
import { n as useBlockApi, t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
7
|
+
import { a as useHeadlessBookingFlow, i as HeadlessBookingProvider$1, o as createBookingBlockApiConfig, r as HeadlessBookingPaymentSelectionStep$1, s as getAppointmentBookingOverrideInput, t as BookingFormClient$1 } from "./booking-form.client-BSbWgLyx.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import React, { useCallback, useEffect, useMemo, useReducer } from "react";
|
|
10
10
|
//#region ../blocks/src/system/runtime/nodes/event-registration/event-registration.headless.override.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
3
|
import { i as carouselRegionAttributes } from "./carousel.shared-DBnWEJzo.mjs";
|
|
4
|
-
import { t as CarouselNodeClient } from "./carousel.client-
|
|
4
|
+
import { t as CarouselNodeClient } from "./carousel.client-CQLV8_Al.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
3
3
|
import { a as carouselShape, c as getCarouselSlidesToShowCssVars, i as carouselRegionAttributes, l as normalizeSlidesToShow, n as arrangementCarouselSettings, o as carouselStatus, r as carouselContents, u as resolveSlidesToShowMobile } from "./carousel.shared-DBnWEJzo.mjs";
|
|
4
4
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
5
5
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CartClient } from "./cart.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as CartClient } from "./cart.client-BWS2r5Ef.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BdWp6LHa.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/cart.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("cart");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CartClient, "cart");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as CartController } from "./shop-commerce-
|
|
2
|
+
import { t as CartController } from "./shop-commerce-CDUohm_2.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/cart.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as CheckoutClient } from "./checkout.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as CheckoutClient } from "./checkout.client-DJfomKQc.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-BdWp6LHa.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/checkout.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("checkout");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, CheckoutClient, "checkout");
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as CheckoutController } from "./shop-commerce-
|
|
2
|
+
import { n as CheckoutController } from "./shop-commerce-CDUohm_2.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/checkout.client.tsx
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { $ as unwrapResponse, C as siteLocationRenderContext, D as requireSdkTheme, G as createInternalAPIClient, K as setSdkVersion, O as prefetchBlockDataWithFailures, Q as isApiError, U as encodePublicProductCategorySelector, W as createBearerAPIClient, X as ApiRequestError, Z as ApiEnvelopeError, _ as collectMediaAssetSidecar, at as isPublicReadEndpoint, et as PUBLIC_READ_ENDPOINT_DEFINITIONS, g as buildSiteRenderSupport, h as buildRenderablePageOutline, it as getPublicReadCachePolicy, nt as buildPublicReadMemoryCacheTags, ot as publicReadFreshnessSeconds, q as isSupportedLoaderEndpoint, rt as buildSiteReadTags, t as Page, tt as TAG_TEMPLATES, w as resolveSiteCustomBlocks, y as projectRenderablePageOutline } from "./Page-
|
|
2
|
+
import { $ as unwrapResponse, C as siteLocationRenderContext, D as requireSdkTheme, G as createInternalAPIClient, K as setSdkVersion, O as prefetchBlockDataWithFailures, Q as isApiError, U as encodePublicProductCategorySelector, W as createBearerAPIClient, X as ApiRequestError, Z as ApiEnvelopeError, _ as collectMediaAssetSidecar, at as isPublicReadEndpoint, et as PUBLIC_READ_ENDPOINT_DEFINITIONS, g as buildSiteRenderSupport, h as buildRenderablePageOutline, it as getPublicReadCachePolicy, nt as buildPublicReadMemoryCacheTags, ot as publicReadFreshnessSeconds, q as isSupportedLoaderEndpoint, rt as buildSiteReadTags, t as Page, tt as TAG_TEMPLATES, w as resolveSiteCustomBlocks, y as projectRenderablePageOutline } from "./Page-DUr2YhFR.mjs";
|
|
3
3
|
import { useEffect, useState } from "react";
|
|
4
4
|
//#region src/rendering/hooks/usePage.ts
|
|
5
5
|
/**
|
|
@@ -577,7 +577,7 @@ var SimpleCache = class {
|
|
|
577
577
|
* 1. This constant
|
|
578
578
|
* 2. The "version" field in package.json
|
|
579
579
|
*/
|
|
580
|
-
const SDK_VERSION = "0.
|
|
580
|
+
const SDK_VERSION = "0.165.0";
|
|
581
581
|
//#endregion
|
|
582
582
|
//#region src/client/error.ts
|
|
583
583
|
let _Symbol$for;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-
|
|
2
|
+
import { a as eventCheckoutReturnResponseSchema, i as eventCheckoutResponseSchema, n as blockSiteTermsSchema, o as eventRegisterResponseSchema, p as calendarWindowPageSchema } from "./noop-CQU7tiMg.mjs";
|
|
3
3
|
import { n as submissionProof } from "./protection-C0PoH1lT.mjs";
|
|
4
4
|
import { createContext, useContext, useMemo } from "react";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
-
import { An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, xn as resolveRuntimeEventDestination } from "./wizardSteps-
|
|
3
|
+
import { An as isEventFull, Cn as canJoinEventWaitlistOnAnyMode, xn as resolveRuntimeEventDestination } from "./wizardSteps-DManVJpc.mjs";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/events/domain/cta.ts
|
|
5
5
|
/**
|
|
6
6
|
* Booking call-to-action resolution for events: where an event links to and
|
|
@@ -76,5 +76,29 @@ function resolveEventCta(event, buttonText) {
|
|
|
76
76
|
hidden: false
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
|
+
/**
|
|
80
|
+
* The CTA for a catalogue card that stands for a whole dated series. The card
|
|
81
|
+
* carries the next occurrence's capacity, but the visitor picks from the
|
|
82
|
+
* series' upcoming dates, so it says "Sold out" (or offers the waitlist) only
|
|
83
|
+
* when none of `upcomingDates` can be booked. The first date with places
|
|
84
|
+
* decides; failing that, the first full date with a waitlist; failing both,
|
|
85
|
+
* the next occurrence as {@link resolveEventCta} reads it. The link always
|
|
86
|
+
* goes to the series, never to the date that decided.
|
|
87
|
+
*
|
|
88
|
+
* Whole-series events share one run capacity, so they need no dates and read
|
|
89
|
+
* exactly as {@link resolveEventCta}; so does a dated series with none listed.
|
|
90
|
+
*/
|
|
91
|
+
function resolveDatedSeriesCta(series, upcomingDates, buttonText) {
|
|
92
|
+
const deciding = series.bookingScope === "single_occurrence" ? upcomingDates.find((date) => isOpenForBooking(date) && !isEventFull(date)) ?? upcomingDates.find((date) => isOpenForBooking(date) && isEventFull(date) && canJoinEventWaitlistOnAnyMode(date)) : void 0;
|
|
93
|
+
if (!deciding) return resolveEventCta(series, buttonText);
|
|
94
|
+
return {
|
|
95
|
+
...resolveEventCta(deciding, buttonText),
|
|
96
|
+
href: resolveEventHref(series),
|
|
97
|
+
external: resolveRuntimeEventDestination(series).kind === "external"
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
function isOpenForBooking(event) {
|
|
101
|
+
return event.bookingAvailability.kind !== "closed";
|
|
102
|
+
}
|
|
79
103
|
//#endregion
|
|
80
|
-
export {
|
|
104
|
+
export { resolveEventCta as n, resolveEventLinkProps as r, resolveDatedSeriesCta as t };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, ft as formatDateTime$1, mt as formatTime, pt as formatDateTimeRange, ut as formatDate$1, vt as resolveBookingDisplayContext } from "./noop-
|
|
2
|
+
import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, Ot as parseUtcIsoDateTimeString, ft as formatDateTime$1, mt as formatTime, pt as formatDateTimeRange, ut as formatDate$1, vt as resolveBookingDisplayContext } from "./noop-CQU7tiMg.mjs";
|
|
3
3
|
//#region ../blocks/src/portal/dateFormatting.ts
|
|
4
4
|
/** Optional API timestamps enter the display model here; invalid values never render a Date. */
|
|
5
5
|
function readInstant(value) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as BlockApiError } from "./context-
|
|
2
|
+
import { r as BlockApiError } from "./context-CBV21-9L.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/shared/utils/demoBookingPassStorage.ts
|
|
4
4
|
const STORAGE_KEY = "riverbank:demo-booking-passes:v1";
|
|
5
5
|
const CHECKOUT_RETURN_EMAIL_KEY = "riverbank:demo-booking-checkout-email:v1";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-
|
|
2
|
+
import { fn as staticHeaderChromeRuntime, v as buildCartDisplay } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
4
4
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
5
5
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
6
6
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
7
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
7
|
+
import { n as useCommerceCart } from "./shop-commerce-store-B9nw4lRP.mjs";
|
|
8
8
|
import * as React$1 from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
10
|
import { createPortal } from "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { a as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-
|
|
2
|
+
import { a as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-DlkCDfuN.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/event-details.client.tsx
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent,
|
|
2
|
+
import { J as displayButtonText, K as buildEventRegistrationDisplayFromScopedEvents, Z as offeringNounForEvent, dt as DEFAULT_BOOKING_BUTTON_TEXT, ft as bookingBarPlacement, gt as bookingPanelHeading, ht as bookingEntryProgress, mt as bookingEntry, pt as bookingCardEntry, sn as formatEventPriceDisplay } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
3
|
import { t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { A as isEventRegistrationAvailable, An as isEventFull, At as getTicketSelectionTotal, B as paymentChoiceDetails, Cn as canJoinEventWaitlistOnAnyMode, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Dt as canRequestTicketOption, Et as formatPrice, Ht as shownVenue, Mn as selectMostOpenCapacitySource, Nn as groupPublicEventsByRun, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlist, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, Un as getRegistrationSuccessCopy, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as
|
|
5
|
-
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
6
|
-
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-
|
|
7
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
4
|
+
import { A as isEventRegistrationAvailable, An as isEventFull, At as getTicketSelectionTotal, B as paymentChoiceDetails, Cn as canJoinEventWaitlistOnAnyMode, Ct as occurrenceTitleOverride, D as settledRemainingPlaces, Dn as getEventAvailability, Dr as resolveEventRegistrationScopedEvents, Dt as canRequestTicketOption, Et as formatPrice, Ht as shownVenue, Mn as selectMostOpenCapacitySource, Nn as groupPublicEventsByRun, Pt as setTicketLineQuantity, Sn as canJoinEventWaitlist, St as getVisibleTicketTypes, T as resolveRegistrationAvailabilityBlocker, Tt as withOccurrenceTitle, Un as getRegistrationSuccessCopy, V as paymentChoicePrice, _ as shouldPromptForLogin, _t as formatRegistrationSchedule, ai as publicEventPricingStrategy, b as placeCountCeiling, c as registrationStepLabelContext, ct as confirmationPaymentRows, dt as areEntitlementsDisabledForTicketCount, gt as formatPassCreditUsageLabel, ht as formatEventDateTime, j as normalizeEventRegistrationMaxTickets, jn as selectEventCapacitySource, jt as getTicketTypeLineMax, kn as getRemainingPlaces, kt as getTicketLineQuantity, l as areEventRegistrationPaymentSelectionsEqual, lt as resolveFinishedPresentation, mt as formatDate, n as getEventSelectionMode, oi as publicEventPricingType, pt as formatBookingWhen, r as panelShouldOpen, ri as publicEventPricingCurrency, s as registrationStepLabel, ut as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, v as fullyBookedLabel, vt as formatTime, xt as getTicketTypeAvailabilityLabel, zt as placesLeftLabel } from "./wizardSteps-DManVJpc.mjs";
|
|
5
|
+
import { d as DiscountCodeDisclosure, i as SiteTermsChangedNotice, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-D2LyS_Bi.mjs";
|
|
6
|
+
import { r as ThemedButton, u as SpinnerNode } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
7
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-CzkG0NSJ.mjs";
|
|
8
8
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
9
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
9
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-DlTC4J2a.mjs";
|
|
10
10
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
11
11
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
12
12
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
13
|
-
import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-
|
|
14
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
13
|
+
import { t as DemoPortalSignInLink } from "./DemoPortalSignInLink-BaFg2Uit.mjs";
|
|
14
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-Uvum8q9d.mjs";
|
|
15
15
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
16
|
-
import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
16
|
+
import { i as PaymentChoiceRows, n as BookingConsentAgreement, t as BookingMailingListNote } from "./BookingMailingListNote-rUqsBN7L.mjs";
|
|
17
17
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
18
|
-
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-
|
|
19
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
20
|
-
import { t as useBookingNowIso } from "./useBookingNowIso-
|
|
21
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-
|
|
18
|
+
import { i as RegistrationClosedState, n as BookingEntryBar, r as BookingEntryCard, t as StepIndicator } from "./StepIndicator-udNHcpOT.mjs";
|
|
19
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-CBV21-9L.mjs";
|
|
20
|
+
import { t as useBookingNowIso } from "./useBookingNowIso-C9SF2rC6.mjs";
|
|
21
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "./demoPortalMagicLink-D0veHJyi.mjs";
|
|
22
22
|
import { t as createLucideIcon } from "./createLucideIcon-CIbxe9em.mjs";
|
|
23
23
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useReducer, useRef, useState } from "react";
|
|
24
24
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -150,10 +150,19 @@ function measureBar(card, bar, cardNear, panelOpen) {
|
|
|
150
150
|
bottom: rect.bottom
|
|
151
151
|
} : null,
|
|
152
152
|
viewportHeight: viewportHeight(),
|
|
153
|
-
barHeight: bar
|
|
153
|
+
barHeight: barStripHeight(bar),
|
|
154
154
|
reducedMotion: window.matchMedia?.("(prefers-reduced-motion: reduce)").matches ?? false
|
|
155
155
|
});
|
|
156
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* The bar's height plus the inset a site style may set below it, so the push
|
|
159
|
+
* and the hand-over travel the whole way off screen. Zero inset is today's bar.
|
|
160
|
+
*/
|
|
161
|
+
function barStripHeight(bar) {
|
|
162
|
+
if (!bar) return 0;
|
|
163
|
+
const inset = Number.parseFloat(window.getComputedStyle(bar).bottom);
|
|
164
|
+
return bar.offsetHeight + (Number.isFinite(inset) && inset > 0 ? inset : 0);
|
|
165
|
+
}
|
|
157
166
|
/** Writes the push straight onto the bar, so following the scroll never re-renders. */
|
|
158
167
|
function applyPush(bar, push) {
|
|
159
168
|
if (!bar) return;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-tRrhPscX.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CROHPlYS.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCalendar.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-6cfAVtnZ.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CROHPlYS.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventCombined.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventDetailsIslandClient } from "./event-details.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-Bk2kQ7ax.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-BNueAHmU.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CROHPlYS.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventListing.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as EventRegistrationIslandClient } from "./event-registration.client-
|
|
4
|
-
import { t as BlockApiProvider } from "./context-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as EventRegistrationIslandClient } from "./event-registration.client-QMqtIywj.mjs";
|
|
4
|
+
import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-CROHPlYS.mjs";
|
|
7
7
|
import "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
9
|
//#region src/rendering/islands/enhancers/eventRegistration.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CBV21-9L.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-BtpK3TZW.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { n as err, r as ok, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
3
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
4
|
-
import { C as clsx } from "./ThemedButton-
|
|
3
|
+
import { Pr as listLookSlot } from "./wizardSteps-DManVJpc.mjs";
|
|
4
|
+
import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
6
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
-
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-
|
|
9
|
-
import { t as useAltchaProtection } from "./altchaProtection-
|
|
6
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Djos5Un4.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-CBV21-9L.mjs";
|
|
8
|
+
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
|
+
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
//#region ../blocks/src/system/runtime/hooks/useFormSubmission.state.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Nr as listLookControl, Pr as listLookSlot } from "./wizardSteps-
|
|
3
|
-
import { t as CheckboxChoice } from "./CheckboxChoice-
|
|
4
|
-
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-
|
|
2
|
+
import { Nr as listLookControl, Pr as listLookSlot } from "./wizardSteps-DManVJpc.mjs";
|
|
3
|
+
import { t as CheckboxChoice } from "./CheckboxChoice-DlTC4J2a.mjs";
|
|
4
|
+
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-2fJqT_NR.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/form.fields.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, ft as formatDateTime, ut as formatDate$1 } from "./noop-
|
|
2
|
+
import { Et as parseBookingLocalDate, Ot as parseUtcIsoDateTimeString, ft as formatDateTime, ut as formatDate$1 } from "./noop-CQU7tiMg.mjs";
|
|
3
3
|
//#region ../blocks/src/bindings/formatDate.ts
|
|
4
4
|
/** Admit stored civil dates or offset-aware instants before core projection. */
|
|
5
5
|
function formatDate(value, context, options) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import { x as formatGiftCardAmountLabel } from "../purchase-
|
|
4
|
-
import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, t as logger, ut as formatDate } from "../noop-
|
|
5
|
-
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-
|
|
3
|
+
import { x as formatGiftCardAmountLabel } from "../purchase-BV5xfaZH.mjs";
|
|
4
|
+
import { At as resolveBookingTimeZoneId, Nt as toUtcIsoDateTimeString, t as logger, ut as formatDate } from "../noop-CQU7tiMg.mjs";
|
|
5
|
+
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-Cfbo1bfh.mjs";
|
|
6
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
|
-
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-
|
|
7
|
+
import { n as useBlockApi, r as BlockApiError, t as BlockApiProvider } from "../context-CBV21-9L.mjs";
|
|
8
8
|
import React from "react";
|
|
9
9
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
import { useRouter } from "next/navigation
|
|
10
|
+
import { useRouter } from "next/navigation";
|
|
11
11
|
//#region ../core/src/gift-expiry.ts
|
|
12
12
|
/** Gifts expire at an exclusive boundary; vouchers include their end instant. */
|
|
13
13
|
function formatGiftExpiryDate(expiresAt, context, kind = "gift_card") {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-C_Y6VYnF.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-CEqqq92r.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { ur as renderableMediaAssetSchema } from "./schema-BdSglH2X.mjs";
|
|
3
3
|
//#region src/rendering/mediaAssets.ts
|
|
4
4
|
function toBlocksMediaAssets(assets) {
|
|
5
5
|
if (!assets) return void 0;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { lr as buildRenderableMediaAssetIndex } from "./schema-BdSglH2X.mjs";
|
|
3
3
|
//#region ../blocks/src/system/runtime/nodes/mediaContext.ts
|
|
4
4
|
function buildMediaAssetIndex(assets) {
|
|
5
5
|
return buildRenderableMediaAssetIndex(assets);
|
package/dist/client/{newsletter-form.client-8orCez1z.mjs → newsletter-form.client-DpHNZc7k.mjs}
RENAMED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE,
|
|
2
|
+
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, xn as parseMailingListVisitorSelection } from "./shop.interactive-BGmkdIAZ.mjs";
|
|
3
3
|
import { c as assertNever$1, t as assertNever } from "./src-VIsPY-kw.mjs";
|
|
4
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
5
|
-
import { C as clsx } from "./ThemedButton-
|
|
4
|
+
import { Pr as listLookSlot } from "./wizardSteps-DManVJpc.mjs";
|
|
5
|
+
import { C as clsx } from "./ThemedButton-Cfbo1bfh.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-
|
|
8
|
-
import { n as useBlockApi, r as BlockApiError } from "./context-
|
|
7
|
+
import { a as partitionNewsletterFields, i as TOPIC_CHOICE_FIELD_ID, n as NewsletterSubmitRow, r as NewsletterTopicChips, t as NewsletterExtraField } from "./newsletter-form.parts-CLGH20PL.mjs";
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-CBV21-9L.mjs";
|
|
9
9
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
10
|
-
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-
|
|
11
|
-
import { t as useAltchaProtection } from "./altchaProtection-
|
|
10
|
+
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
11
|
+
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
12
12
|
import { useEffect, useReducer, useRef } from "react";
|
|
13
13
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
14
14
|
//#region ../blocks/src/system/runtime/nodes/newsletter-form.client.state.ts
|
|
@@ -95,7 +95,7 @@ function resolveNewsletterSubmitTarget(input) {
|
|
|
95
95
|
tag: "unavailable",
|
|
96
96
|
reason: "missing_block_source"
|
|
97
97
|
};
|
|
98
|
-
case "signed-
|
|
98
|
+
case "signed-source": return publishedSourceTarget(input.sourceRef);
|
|
99
99
|
case "preview": return {
|
|
100
100
|
tag: "unavailable",
|
|
101
101
|
reason: "preview_only_source"
|