@riverbankcms/sdk 0.173.0 → 0.174.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/dist/_dts/{BlocksIslandsHydrator-O50mTMCY.d.ts → BlocksIslandsHydrator-YRmc-Yxz.d.ts} +1 -1
- package/dist/_dts/{Page-Bk99sJwV.d.ts → Page-Du0zX1B-.d.ts} +27 -16
- package/dist/_dts/{SdkPreviewMode-DzAue6Kj.d.ts → SdkPreviewMode-4L8v3FkY.d.ts} +14 -7
- package/dist/_dts/{client-ZlNEIvlU.d.ts → client-B1J6Akyf.d.ts} +1 -1
- package/dist/_dts/{content-types-DBXPNc0h.d.ts → content-types-CGGYI0u_.d.ts} +2 -2
- package/dist/_dts/{contracts-D9bhu0bb.d.ts → contracts-CHMlw9hT.d.ts} +5 -4
- package/dist/_dts/{footerPageOutline-Bfap3soN.d.ts → footerPageOutline-DIHSU1Vr.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-DwCdg31h.d.ts → generatePageMetadata-JITXD6BU.d.ts} +2 -2
- package/dist/_dts/{index-Dq_AboWN.d.ts → index-BLEKFHt1.d.ts} +1 -1
- package/dist/_dts/{index-BnatulTs.d.ts → index-BgOr1Xyz.d.ts} +3 -3
- package/dist/_dts/{index-KXh8FQ2s.d.ts → index-CF62FntA.d.ts} +2 -2
- package/dist/_dts/{index-CJzs-yIJ.d.ts → index-CXZSy_9M.d.ts} +2 -2
- package/dist/_dts/{index-DutLU2d2.d.ts → index-D9ZYmGAJ.d.ts} +2 -1
- package/dist/_dts/{index-DW3eeNph.d.ts → index-DpJm0NpL.d.ts} +4 -4
- package/dist/_dts/{index-C611wjIL.d.ts → index-yWDbUojb.d.ts} +1 -1
- package/dist/_dts/{loadContent-Bde2y870.d.ts → loadContent-M-s0p0rq.d.ts} +11 -11
- package/dist/_dts/{request-Bysk4QPI.d.ts → request-BK-pHf0P.d.ts} +3685 -1762
- package/dist/_dts/{resolveBlockData-ChbNvpSF.d.ts → resolveBlockData-DZAlnhwt.d.ts} +5 -5
- package/dist/_dts/{resolvePageContent-CGa6QMgc.d.ts → resolvePageContent-DXUCWJ3y.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 +9 -9
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/data/dataLoaderContext.d.ts +2 -2
- package/dist/_dts/sdk/src/data/resolveBlockData.d.ts +1 -1
- package/dist/_dts/sdk/src/data/types.d.ts +2 -2
- package/dist/_dts/sdk/src/index.d.ts +8 -8
- package/dist/_dts/sdk/src/manifest/index.d.ts +3 -3
- package/dist/_dts/sdk/src/metadata/index.d.ts +1 -1
- package/dist/_dts/sdk/src/navigation/index.d.ts +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 +4 -2
- package/dist/_dts/sdk/src/prebuild/index.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/before-render.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/index.d.ts +2 -2
- package/dist/_dts/sdk/src/preview-next/client/runtime.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/client.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/components/pageShared.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/loadPage.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/helpers/pageRuntimeSupport.d.ts +13 -8
- package/dist/_dts/sdk/src/rendering/index.d.ts +6 -6
- package/dist/_dts/sdk/src/rendering/islands/client.d.ts +1 -1
- package/dist/_dts/sdk/src/rendering/server.d.ts +2 -2
- package/dist/_dts/sdk/src/rendering/themeAdmission.d.ts +1 -1
- package/dist/_dts/sdk/src/routing/index.d.ts +5 -5
- package/dist/_dts/sdk/src/server.d.ts +5 -5
- package/dist/_dts/sdk/src/spam-protection/index.d.ts +2 -2
- package/dist/_dts/sdk/src/theme/index.d.ts +36 -204
- package/dist/_dts/{types-BwitGNTl.d.ts → types-CwmB2NHU.d.ts} +7 -7
- package/dist/_dts/{types-BoEk9ZON.d.ts → types-DjVNADXR.d.ts} +3 -3
- package/dist/_dts/{types-kpp8XyXv.d.ts → types-Dmow_FI6.d.ts} +2 -2
- package/dist/_dts/{validation-ChftKX-o.d.ts → validation-h8t1HLlL.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-BnUeSE3d.mjs → BlocksIslandsHydrator-DRVx_XLi.mjs} +17 -17
- package/dist/client/{BookingMailingListNote-LHQMODqB.mjs → BookingMailingListNote-CwrMzj-k.mjs} +10 -10
- package/dist/client/{BookingPanelArrangement-Be704P85.mjs → BookingPanelArrangement-C2_hFT6K.mjs} +1 -1
- package/dist/client/{BookingQuestionFields-BewbU_cV.mjs → BookingQuestionFields-DZMrGvBh.mjs} +3 -3
- package/dist/client/{CalendarNavigationChevron-BMZp3RS3.mjs → CalendarNavigationChevron-Az1-TIEI.mjs} +6 -6
- package/dist/client/{DemoBookingPortalAccess-CARUWQ_E.mjs → DemoBookingPortalAccess-1p-pJ1lg.mjs} +5 -5
- package/dist/client/{EventCalendar.client-CaI6upCX.mjs → EventCalendar.client-CDkkP-Lv.mjs} +9 -9
- package/dist/client/{EventCombined.client-CoRUaYHY.mjs → EventCombined.client-DK3aaz62.mjs} +7 -7
- package/dist/client/{EventItem-Doe4KodB.mjs → EventItem-WeUipfIP.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-CXWLKDfa.mjs → EventListWeekNavigation-D3sbAeDo.mjs} +1 -1
- package/dist/client/{EventListing.client-DvJ5tGTx.mjs → EventListing.client-DL3gGGmF.mjs} +3 -3
- package/dist/client/{EventListing.view-BmfyK7S5.mjs → EventListing.view-DKFImKOx.mjs} +6 -6
- package/dist/client/{EventRegistrationPayment-DwMlJB2V.mjs → EventRegistrationPayment-Dn9TpWyL.mjs} +45 -18
- package/dist/client/{LocationMapActions-CdRPU6gp.mjs → LocationMapActions-BJT7MqP2.mjs} +1 -1
- package/dist/client/{MapDrawingSvg-DCLtxOnt.mjs → MapDrawingSvg-DCIwlON6.mjs} +1 -1
- package/dist/client/{Page-D46Dmr7b.mjs → Page-BpeP9xdt.mjs} +731 -1549
- package/dist/client/{StepIndicator-CrSZCZn1.mjs → StepIndicator-CP6zrwkl.mjs} +6 -242
- package/dist/client/{accessibleSurfaces-D4DhWo9j.mjs → accessibleSurfaces-DN8it_Cx.mjs} +35 -7
- package/dist/client/{accordion-P8xcfKxq.mjs → accordion-nR7D4m1a.mjs} +1 -1
- package/dist/client/{booking-form.client-BM2s-NqR.mjs → booking-form.client-Ce-mQZ7W.mjs} +362 -47
- package/dist/client/{bookingForm-JnaZPZge.mjs → bookingForm-B-qT_AQB.mjs} +4 -4
- package/dist/client/bookings.mjs +6 -6
- package/dist/client/{boxStyleClassNames-Cahps5kR.mjs → boxStyleClassNames-CrE3TDpW.mjs} +2 -29
- package/dist/client/{carousel-CQQ_m0KA.mjs → carousel-CVUOatsY.mjs} +1 -1
- package/dist/client/{cart-0Q4fjw_K.mjs → cart-DE0K6E0R.mjs} +3 -3
- package/dist/client/{cart.client-BI0IaHX3.mjs → cart.client-C23E6WQ5.mjs} +1 -1
- package/dist/client/{checkout-1J-3ftxF.mjs → checkout-76cdHyPL.mjs} +3 -3
- package/dist/client/{checkout.client-DOGYDlDk.mjs → checkout.client-DJOzqb26.mjs} +1 -1
- package/dist/client/{checkoutUrls-CwHqcqzP.mjs → checkoutUrls-CvIP5DCO.mjs} +1 -1
- package/dist/client/client.mjs +159 -7
- package/dist/client/{context-D0KCgbOq.mjs → context-CNlesLfF.mjs} +1 -1
- package/dist/client/{course-CmOuoZHN.mjs → course-DHIrXqNT.mjs} +2 -2
- package/dist/client/{creditProducts-BTRX4edc.mjs → creditProducts-KYMVIH3J.mjs} +2 -84
- package/dist/client/{dateFormatting-Dmfaczzq.mjs → dateFormatting-B73Ll0s4.mjs} +9 -1
- package/dist/client/{demoPortalMagicLink-CL7KGRta.mjs → demoPortalMagicLink-BVbLD4pi.mjs} +1 -1
- package/dist/client/{display-lL-YRApN.mjs → display-Cf_j5stk.mjs} +2574 -763
- package/dist/client/{enhanceHeaderSection-B-eLGs2C.mjs → enhanceHeaderSection-5GD5o4Mt.mjs} +3 -3
- package/dist/client/{event-details.client-DH1-Jxsh.mjs → event-details.client-D7Oz1q2L.mjs} +1 -1
- package/dist/client/{event-registration.client-GuuElczW.mjs → event-registration.client-zbuX36aA.mjs} +137 -131
- package/dist/client/{eventCalendar-BiCINPkV.mjs → eventCalendar-uZrksODt.mjs} +4 -4
- package/dist/client/{eventCombined-BtzmH6FW.mjs → eventCombined-DxhvNAx8.mjs} +4 -4
- package/dist/client/{eventDetails-BJpAD10-.mjs → eventDetails-DCIH4BYG.mjs} +2 -2
- package/dist/client/{eventListing-jLB8iRqp.mjs → eventListing-B9KrnPvc.mjs} +4 -4
- package/dist/client/{eventRegistration-WhtpDEbq.mjs → eventRegistration-TjnURMKl.mjs} +4 -4
- package/dist/client/{form-DO6qKH3M.mjs → form-CfqIAhfN.mjs} +3 -3
- package/dist/client/{form.client-D12ljYiX.mjs → form.client-CL6fF0cW.mjs} +6 -6
- package/dist/client/{form.parts-C8QHaQOI.mjs → form.parts-Bf-L66Gg.mjs} +1 -1
- package/dist/client/{formatDate-BnhfIpCa.mjs → formatDate-Dp7POa9Y.mjs} +1 -1
- package/dist/client/gifting/client.mjs +2 -2
- package/dist/client/{headerSection-BtFWtoUm.mjs → headerSection-WVXtOcuW.mjs} +2 -2
- package/dist/client/{newsletter-form.client-oHrqM_Ao.mjs → newsletter-form.client-Bb7GAZpO.mjs} +9 -7
- package/dist/client/{newsletter-form.parts-D5U-FuVy.mjs → newsletter-form.parts-BqOVRdIc.mjs} +1 -1
- package/dist/client/{newsletterForm-CBYbFxSx.mjs → newsletterForm-DOVe-qY3.mjs} +3 -3
- package/dist/client/{noop-CN0o0yjH.mjs → noop-D5mFWXtN.mjs} +30 -6
- package/dist/client/portal/client.mjs +346 -272
- package/dist/client/{product-detail.client-d_sNCapC.mjs → product-detail.client-CNzeFnFf.mjs} +1 -1
- package/dist/client/{product-list.client-DkSpw6WQ.mjs → product-list.client-LKpzC7pj.mjs} +1 -1
- package/dist/client/{productDetail-DaqM-LgL.mjs → productDetail-D2JNeEgx.mjs} +3 -3
- package/dist/client/{productList-CMx4-XlG.mjs → productList-DTgZXOEq.mjs} +3 -3
- package/dist/client/{propsDecoder-BZbUKstC.mjs → propsDecoder-mpBQt2AT.mjs} +3 -3
- package/dist/client/{registry.server-Cdot3dMk.mjs → registry.server-DdTJyar2.mjs} +31 -47
- package/dist/client/rendering/client.mjs +26 -26
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +16 -13
- package/dist/client/{richText-coerce-ByApwB4q.mjs → richText-coerce-C32cRQ03.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-DTET8f__.mjs → routeIslandApiConfig-8cfSgT0E.mjs} +1 -1
- package/dist/client/{runtimeResponse-IkOwKZD0.mjs → runtimeResponse-9v8q2NBc.mjs} +1 -1
- package/dist/client/runtimeResponse-CVkM0dHy.mjs +3 -0
- package/dist/client/{shop-Cy6xXDM7.mjs → shop-5LBhftWx.mjs} +3 -3
- package/dist/client/{shop-commerce-oDR76k1q.mjs → shop-commerce-DkValjZj.mjs} +12 -12
- package/dist/client/{shop-commerce-store-DjoUpL3a.mjs → shop-commerce-store-BOmXFmk_.mjs} +1 -1
- package/dist/client/{shop-discount-apply.state-WsGb9DD8.mjs → shop-discount-apply.state-D0ifS6KX.mjs} +2 -2
- package/dist/client/{shop.client-Brha4BSM.mjs → shop.client-BTtZqNmv.mjs} +13 -13
- package/dist/client/{shop.interactive-CXhYl0DW.mjs → shop.interactive-DNRqG4aX.mjs} +18 -24
- package/dist/client/{shopShared-JCa_SRhP.mjs → shopShared-Nky6kPYr.mjs} +2 -2
- package/dist/client/{timetableModel-CZeJwMxP.mjs → timetableModel-DZArznD_.mjs} +25 -152
- package/dist/client/{useAvailableSlots-DfbSkWop.mjs → useAvailableSlots-CUVRD1nx.mjs} +24 -4
- package/dist/client/{useDiscountApply-Dq-wjb1d.mjs → useDiscountApply-BBnStWXU.mjs} +1 -1
- package/dist/client/{useDiscountCodeUi-Cyy0meCH.mjs → useDiscountCodeUi-d7viY_mu.mjs} +1 -1
- package/dist/client/{useEventPagination-CCAGQHsD.mjs → useEventPagination-Da2JqxGC.mjs} +6 -6
- package/dist/client/{view-Sw075FOY.mjs → view-BvuYmQJ5.mjs} +2 -2
- package/dist/client/{view-D6yebI4r.mjs → view-D9ObkFtz.mjs} +12 -11
- package/dist/preview-next/client/{LocationPickerEnvironment-D4F_5rnr.mjs → LocationPickerEnvironment-8iKKoYZr.mjs} +1 -1
- package/dist/preview-next/client/{MapLibreEditMap-BKMNxSEJ.mjs → MapLibreEditMap-AIUPN1Zx.mjs} +2 -2
- package/dist/preview-next/client/{PageSectionToolbar-DG2rXUmo.mjs → PageSectionToolbar-DwxHT-2k.mjs} +57 -144
- package/dist/preview-next/client/{PreviewEditorSidebar-BDY5vdHU.mjs → PreviewEditorSidebar-D4SBxGU6.mjs} +758 -1279
- package/dist/preview-next/client/{PreviewEditorUI-CqZCfOaz.mjs → PreviewEditorUI-D8mUct32.mjs} +29 -26
- package/dist/preview-next/client/{PreviewShell-Bv2HZ7JY.mjs → PreviewShell-L2AEdNUQ.mjs} +50 -30
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BMTcR-MW.mjs → SdkPreviewModeRuntime-bhVAU2D2.mjs} +47 -19
- package/dist/preview-next/client/{lucide-react-BCNn8dEQ.mjs → lucide-react-Dfgl3Vtq.mjs} +7 -1
- package/dist/preview-next/client/{previewAssistantSlot-La6MerV_.mjs → previewAssistantSlot-Jpj_HDra.mjs} +101003 -51855
- package/dist/preview-next/client/{previewChromeRoot-BcOQqJIP.mjs → previewChromeRoot-CYTDvx4u.mjs} +1 -1
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-BkckHox4.mjs → sdk-runtime-CZHX6J_4.mjs} +2 -2
- package/dist/preview-next/client/siteStyleAccess-DmGIG9Hk.mjs +9356 -0
- package/dist/preview-next/client/{useAutosaveStatus-CPAHgGqI.mjs → useAutosaveStatus-DQCyswQ-.mjs} +2 -2
- package/dist/preview-next/client/{useOpenBlockForSetup-BDkuSZxQ.mjs → useOpenBlockForSetup-LwE5yXvL.mjs} +19 -4
- package/dist/preview-next/container-responsive.css +117 -32
- package/dist/preview-next/keepAlive.mjs +1 -1
- package/dist/preview-next/middleware.mjs +1 -1
- package/dist/preview-next/{route-contract-CPV30ABr.mjs → route-contract-BOuNcOcN.mjs} +153 -2
- package/dist/server/{Block.shared-BaMMstO1.mjs → Block.shared-wfJfhs08.mjs} +10 -5
- package/dist/server/{ThemeScopeCore-D1NTXZdX.mjs → ThemeScopeCore-BtrJNHTB.mjs} +23 -6
- package/dist/server/{accessibleSurfaces-Dbd2__Le.mjs → accessibleSurfaces-CM3QANtw.mjs} +22 -5
- package/dist/server/{bindings-Dge4sqel.mjs → bindings-P1CF2Gm6.mjs} +6 -4
- package/dist/server/{client-VVIQjC4r.mjs → client-CGtU5fHI.mjs} +156 -4
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/customCss-BGB8gMVb.mjs +210 -0
- package/dist/server/data/resolveBlockData.mjs +1 -1
- package/dist/server/index.mjs +2 -2
- package/dist/server/{loadContent-BIJb3WAK.mjs → loadContent-ChnkJSay.mjs} +8 -9
- package/dist/server/{loadPage-DjTU19y7.mjs → loadPage-DesHhgxj.mjs} +3 -3
- package/dist/server/lookMediaFrame-BBr0mkze.mjs +2626 -0
- package/dist/server/manifest.mjs +2 -2
- package/dist/server/next.mjs +9 -8
- package/dist/server/{overrideResolution-1Ru3NMQj.mjs → overrideResolution-DHEkHcZs.mjs} +3 -4
- package/dist/server/page-converter.mjs +2 -2
- package/dist/server/{pageRenderPlan-CytPhrI9.mjs → pageRenderPlan-0jvm0RBk.mjs} +29 -331
- package/dist/server/{pageRuntimeSupport-DWspU5EZ.mjs → pageRuntimeSupport-8-f1Zr9e.mjs} +14 -6
- package/dist/server/{pageShared-Bhx8bVe1.mjs → pageShared-CuVFoV4z.mjs} +370 -291
- package/dist/server/{parseThemeForPersistence-CtgRtvo3.mjs → parseThemeForPersistence-Cwqb5pZx.mjs} +2 -2
- package/dist/server/{portal-Ce1Prfl3.mjs → portal-BjVHMAUC.mjs} +1 -1
- package/dist/server/portal.mjs +1 -1
- package/dist/server/{prebuild-BjvFb0CA.mjs → prebuild-Bms_Y7wQ.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-Db3stNpp.mjs → prefetchBlockData-5oC5kyHe.mjs} +2 -2
- package/dist/server/{registry-BMCfcev6.mjs → registry-DmqxC8th.mjs} +1258 -3166
- 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 +2 -2
- package/dist/server/rendering/server.mjs +3 -3
- package/dist/server/rendering.mjs +7 -7
- package/dist/server/{resolveBlockData--yUbI-Ll.mjs → resolveBlockData-EYogtwQc.mjs} +1 -1
- package/dist/server/{resolveButtonColourStates-CCPUY9Xh.mjs → resolveButtonColourStates--6yJp9Tq.mjs} +15 -4
- package/dist/server/{schema-D5Vfmqzw.mjs → schema-CUDHMirj.mjs} +46 -153
- package/dist/server/server.mjs +3 -3
- package/dist/server/{src-Cxucn-1P.mjs → src-DHK4JUlp.mjs} +4 -1
- package/dist/server/theme-bridge.mjs +21 -15
- package/dist/server/theme.mjs +2 -2
- package/dist/server/{three-pass-converter-Bsfdy_ZV.mjs → three-pass-converter-39SXCCnh.mjs} +1 -1
- package/dist/server/{titleSourceSchema-DwKJfMYb.mjs → titleSourceSchema-Cu-3PRvv.mjs} +0 -1
- package/dist/server/{validation-EgTtnTcY.mjs → validation-Bt_8IL1g.mjs} +4 -4
- package/dist/server/{version-LjgU0Cq1.mjs → version-DT_efohp.mjs} +1 -1
- package/dist/styles/index.css +989 -279
- package/package.json +1 -1
- package/dist/client/bookability-SargNwlO.mjs +0 -17
- package/dist/client/runtimeResponse-Wd6kwhE_.mjs +0 -3
- package/dist/preview-next/client/SiteChromeCustomizeButton-D1MGyN_Z.mjs +0 -55403
- package/dist/server/customCss-QymcmOZ-.mjs +0 -97
- package/dist/server/opaqueSurface-COEKXVwk.mjs +0 -54
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { t as buildCartDisplay } from "./display-
|
|
2
|
+
import { _n as staticHeaderChromeRuntime } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { t as buildCartDisplay } from "./display-Cf_j5stk.mjs";
|
|
4
4
|
import { i as ThemedButtonLink, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
5
5
|
import { n as NAV_DROPDOWN_SHIFT_PROPERTY } from "./navDropdownSizing-CUjDrcIt.mjs";
|
|
6
6
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-DKlZRNZD.mjs";
|
|
7
7
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
8
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
8
|
+
import { n as useCommerceCart } from "./shop-commerce-store-BOmXFmk_.mjs";
|
|
9
9
|
import * as React$1 from "react";
|
|
10
10
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
11
11
|
import { createPortal } from "react-dom";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-
|
|
2
|
+
import { n as resolveEventDetailsPresentation, t as EventDetailsView } from "./view-D9ObkFtz.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,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { $t as runPricingChoice, An as formatDate, B as placeCountCeiling, C as panelShouldOpen, D as registrationStepLabel, Dn as areEntitlementsDisabledForTicketCount,
|
|
4
|
-
import {
|
|
5
|
-
import { S as formatCreditProductUnits, p as assertNever } from "./creditProducts-
|
|
6
|
-
import { c as NavigationHandOffPanel, i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-
|
|
7
|
-
import { n as useBlockApi } from "./context-
|
|
8
|
-
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-
|
|
2
|
+
import { L as offeringNounForEvent, M as buildEventRegistrationInteractiveIslandProps, N as displayButtonText, an as formatEventPriceDisplay, at as bookingPanelHeading, et as DEFAULT_BOOKING_BUTTON_TEXT, it as bookingEntryProgress, j as buildEventRegistrationDisplayFromScopedEvents, nt as bookingCardEntry, ot as courseTitleOf, rt as bookingEntry, tt as bookingBarPlacement } from "./shop.interactive-DNRqG4aX.mjs";
|
|
3
|
+
import { $c as publicEventPricingCurrency, $t as runPricingChoice, An as formatDate, B as placeCountCeiling, C as panelShouldOpen, D as registrationStepLabel, Dn as areEntitlementsDisabledForTicketCount, En as ENTITLEMENT_SINGLE_TICKET_TOOLTIP, G as resolveRegistrationAvailabilityBlocker, Ha as resolveEventRegistrationScopedEvents, Ht as SELECTION_LIMIT_NOTE, L as shouldPromptForLogin, Ln as getTicketTypeAvailabilityLabel, Mi as formatCentsAsCurrencyInput, Mn as formatPassCreditUsageLabel, Nc as INCOMPATIBLE_ATTENDANCE_MESSAGE, Ni as formatPrice, Nn as formatRegistrationSchedule, O as registrationStepLabelContext, Pn as formatTime, Qn as canRequestTicketOption, Qt as runNeedsPricingChoice, R as fullyBookedLabel, Rn as getVisibleTicketTypes, S as getEventSelectionMode, Sn as selectionItemName, Ut as SEVERAL_BOOKINGS_ACCOUNT_NOTE, Vn as withOccurrenceTitle, Wt as canToggleSelectionItem, X as isEventRegistrationAvailable, Z as normalizeEventRegistrationMaxTickets, Zt as runChoiceUsable, _i as getRegistrationSuccessCopy, _r as shownVenue, an as selectionIncludes, ao as getEventAvailability, ar as setTicketLineQuantity, bt as confirmationPaymentRows, cn as selectionPlacesLabel, co as isEventFull, do as groupPublicEventsByRun, en as runUnitPriceCents, eo as canJoinEventWaitlist, er as getTicketLineQuantity, fn as severalConfirmationSentence, in as selectionEntitlementNote, jn as formatEventDateTime, k as areEventRegistrationPaymentSelectionsEqual, kn as formatBookingWhen, ln as selectionPlacesNote, lo as selectEventCapacitySource, mr as placesLeftLabel, nl as publicEventPricingType, nn as selectionConfirmationHint, nr as getTicketTypeLineMax, ot as paymentChoiceDetails, pr as bookingPresentation, q as settledRemainingPlaces, rn as selectionConsentLabel, sn as selectionItemsLabel, so as getRemainingPlaces, st as paymentChoicePrice, tl as publicEventPricingStrategy, tn as selectionAtLimit, to as canJoinEventWaitlistOnAnyMode, tr as getTicketSelectionTotal, un as selectionRowAvailability, uo as selectMostOpenCapacitySource, vn as combinationOfferLine, xt as resolveFinishedPresentation, yn as combinationOffersOf, zn as occurrenceTitleOverride } from "./display-Cf_j5stk.mjs";
|
|
4
|
+
import { mn as formatCurrencyAmount } from "./noop-D5mFWXtN.mjs";
|
|
5
|
+
import { S as formatCreditProductUnits, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
6
|
+
import { c as NavigationHandOffPanel, i as SiteTermsChangedNotice, l as DiscountCodeDisclosure, r as SiteTermsAgreementField, s as eventSiteTermsSurface, t as BookingConfirmation } from "./DemoBookingPortalAccess-1p-pJ1lg.mjs";
|
|
7
|
+
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
8
|
+
import { a as getWaitlistClaimEntryIdFromUrl, i as eventRegistrationCheckoutReturnRequest, o as getWaitlistClaimTokenFromUrl, r as useEventRegistrationWizard, t as EventPaymentMount } from "./EventRegistrationPayment-Dn9TpWyL.mjs";
|
|
9
9
|
import { l as SpinnerNode, r as ThemedButton } from "./ThemedButton-DuaYtnvG.mjs";
|
|
10
|
-
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CrSZCZn1.mjs";
|
|
11
10
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-DeP49PT8.mjs";
|
|
12
11
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
13
12
|
import { t as CrossIcon } from "./CrossIcon-CpG9VRyW.mjs";
|
|
14
13
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
15
14
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
16
|
-
import { i as useBookingNowIso } from "./BookingQuestionFields-
|
|
17
|
-
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-
|
|
15
|
+
import { i as useBookingNowIso } from "./BookingQuestionFields-DZMrGvBh.mjs";
|
|
16
|
+
import { n as TerminalPanel, r as StateIcon } from "./useDiscountCodeUi-d7viY_mu.mjs";
|
|
18
17
|
import { t as ModalShell } from "./ModalShell-B_fHWK71.mjs";
|
|
19
|
-
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-
|
|
18
|
+
import { i as BookingConsentAgreement, l as PaymentChoiceRows, n as BookingQuestionSections, r as MagicLinkForm, t as BookingMailingListNote } from "./BookingMailingListNote-CwrMzj-k.mjs";
|
|
20
19
|
import { t as EVENT_REGISTRATION_ANCHOR_ID } from "./constants-4o4_hl34.mjs";
|
|
20
|
+
import { a as planEventBookingPanel, c as EventBookingPanelView, i as RegistrationClosedState, n as BookingEntryBar, o as registrationSourceForPanel, r as BookingEntryCard, s as resolveBookingPanelSelection, t as StepIndicator } from "./StepIndicator-CP6zrwkl.mjs";
|
|
21
21
|
import { t as createLucideIcon } from "./createLucideIcon-BrXgHVKN.mjs";
|
|
22
22
|
import React, { useCallback, useEffect, useId, useLayoutEffect, useRef, useState } from "react";
|
|
23
23
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -520,10 +520,10 @@ function CombinationPricing(props) {
|
|
|
520
520
|
className: "er-summary-bar-pricing",
|
|
521
521
|
children: [/* @__PURE__ */ jsx("span", {
|
|
522
522
|
className: "er-summary-bar-price er-summary-bar-price--struck",
|
|
523
|
-
children: formatPrice
|
|
523
|
+
children: formatPrice(props.listCents, props.currency)
|
|
524
524
|
}), /* @__PURE__ */ jsx("span", {
|
|
525
525
|
className: "er-summary-bar-price",
|
|
526
|
-
children: formatPrice
|
|
526
|
+
children: formatPrice(props.totalCents, props.currency)
|
|
527
527
|
})]
|
|
528
528
|
});
|
|
529
529
|
}
|
|
@@ -652,7 +652,7 @@ function EntitlementSummaryRow(props) {
|
|
|
652
652
|
children: props.copy.productPrice ? /* @__PURE__ */ jsx("span", {
|
|
653
653
|
className: "er-summary-bar-included",
|
|
654
654
|
children: props.copy.productPrice
|
|
655
|
-
}) : productPrice && productCurrency ? formatPrice
|
|
655
|
+
}) : productPrice && productCurrency ? formatPrice(productPrice, productCurrency) : null
|
|
656
656
|
})]
|
|
657
657
|
});
|
|
658
658
|
}
|
|
@@ -699,9 +699,26 @@ function PaymentProductRow(props) {
|
|
|
699
699
|
function summaryCountLabel(wizard, summaryEvent) {
|
|
700
700
|
if (wizard.severalItems !== null) return selectionPlacesLabel(wizard.severalItems, wizard.selection, wizard.ticketsCount);
|
|
701
701
|
if (wizard.ticketsCount <= 0) return null;
|
|
702
|
-
const
|
|
702
|
+
const tiered = summaryEvent !== null && summaryEvent !== void 0 && publicEventPricingStrategy(summaryEvent.pricing) === "tiered";
|
|
703
|
+
if (tiered) {
|
|
704
|
+
const byType = ticketTypeCountLabel(wizard.selectedTicketLines, wizard.visibleTicketTypes);
|
|
705
|
+
if (byType) return byType;
|
|
706
|
+
}
|
|
707
|
+
const unit = tiered ? "ticket" : "place";
|
|
703
708
|
return `${wizard.ticketsCount} ${unit}${wizard.ticketsCount === 1 ? "" : "s"}`;
|
|
704
709
|
}
|
|
710
|
+
/** "1 Standard, 1 Concession" when tickets of more than one type are chosen; otherwise null. */
|
|
711
|
+
function ticketTypeCountLabel(lines, ticketTypes) {
|
|
712
|
+
const chosen = lines.filter((line) => line.quantity > 0);
|
|
713
|
+
if (chosen.length < 2) return null;
|
|
714
|
+
const parts = [];
|
|
715
|
+
for (const line of chosen) {
|
|
716
|
+
const name = ticketTypes.find((type) => type.pricingOptionId === line.pricingOptionId)?.name;
|
|
717
|
+
if (!name) return null;
|
|
718
|
+
parts.push(`${line.quantity} ${name}`);
|
|
719
|
+
}
|
|
720
|
+
return parts.join(", ");
|
|
721
|
+
}
|
|
705
722
|
/**
|
|
706
723
|
* The footer's one line (issue 1581): how many, the discount's name, then
|
|
707
724
|
* when. Ticket types are tickets; a single price, or a course, is places.
|
|
@@ -809,7 +826,7 @@ function SeveralStepSummary({ wizard }) {
|
|
|
809
826
|
className: "er-summary-bar-pricing",
|
|
810
827
|
children: /* @__PURE__ */ jsx("span", {
|
|
811
828
|
className: "er-summary-bar-price",
|
|
812
|
-
children: formatPrice
|
|
829
|
+
children: formatPrice(total, currency)
|
|
813
830
|
})
|
|
814
831
|
}) : null,
|
|
815
832
|
/* @__PURE__ */ jsx(CombinationDetail, { working })
|
|
@@ -918,21 +935,21 @@ function EventRegistrationSummaryBar(props) {
|
|
|
918
935
|
className: "er-summary-bar-pricing",
|
|
919
936
|
children: productMethod ? /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("span", {
|
|
920
937
|
className: "er-summary-bar-price er-summary-bar-price--struck",
|
|
921
|
-
children: formatPrice
|
|
938
|
+
children: formatPrice(subtotalCents, summaryCurrency)
|
|
922
939
|
}), /* @__PURE__ */ jsx("div", {
|
|
923
940
|
className: "er-summary-bar-included",
|
|
924
941
|
children: entitlementCopy.pricingNote
|
|
925
942
|
})] }) : flexibleBalanceSummary ? /* @__PURE__ */ jsx(FlexibleBalancePricing, {
|
|
926
943
|
summary: flexibleBalanceSummary,
|
|
927
|
-
fallbackDueToday: formatPrice
|
|
944
|
+
fallbackDueToday: formatPrice(discountedTotalCents, summaryCurrency)
|
|
928
945
|
}) : autoAppliedDiscount && autoAppliedDiscountCents > 0 ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
929
946
|
/* @__PURE__ */ jsx("span", {
|
|
930
947
|
className: "er-summary-bar-price er-summary-bar-price--struck",
|
|
931
|
-
children: formatPrice
|
|
948
|
+
children: formatPrice(subtotalCents, summaryCurrency)
|
|
932
949
|
}),
|
|
933
950
|
/* @__PURE__ */ jsx("span", {
|
|
934
951
|
className: "er-summary-bar-price",
|
|
935
|
-
children: formatPrice
|
|
952
|
+
children: formatPrice(discountedTotalCents, summaryCurrency)
|
|
936
953
|
}),
|
|
937
954
|
autoAppliedDiscount.description ? /* @__PURE__ */ jsx("div", {
|
|
938
955
|
className: "er-summary-bar-product-detail er-summary-bar-discount-detail",
|
|
@@ -940,7 +957,7 @@ function EventRegistrationSummaryBar(props) {
|
|
|
940
957
|
}) : null
|
|
941
958
|
] }) : /* @__PURE__ */ jsx("span", {
|
|
942
959
|
className: "er-summary-bar-price",
|
|
943
|
-
children: formatPrice
|
|
960
|
+
children: formatPrice(subtotalCents, summaryCurrency)
|
|
944
961
|
})
|
|
945
962
|
}),
|
|
946
963
|
/* @__PURE__ */ jsx(CombinationDetail, { working })
|
|
@@ -1426,9 +1443,9 @@ function BookingQuantityPrompt(props) {
|
|
|
1426
1443
|
}
|
|
1427
1444
|
function SlidingScaleAmountField(props) {
|
|
1428
1445
|
const id = props.id ?? "er-sliding-amount";
|
|
1429
|
-
const minLabel = formatPrice
|
|
1430
|
-
const maxLabel = formatPrice
|
|
1431
|
-
const suggestedLabel = props.slidingScale.suggestedAmount !== null ? formatPrice
|
|
1446
|
+
const minLabel = formatPrice(props.slidingScale.minAmount, props.currency);
|
|
1447
|
+
const maxLabel = formatPrice(props.slidingScale.maxAmount, props.currency);
|
|
1448
|
+
const suggestedLabel = props.slidingScale.suggestedAmount !== null ? formatPrice(props.slidingScale.suggestedAmount, props.currency) : null;
|
|
1432
1449
|
return /* @__PURE__ */ jsxs("div", {
|
|
1433
1450
|
className: "er-field",
|
|
1434
1451
|
children: [
|
|
@@ -1482,9 +1499,10 @@ function TicketTypeQuantityRows(props) {
|
|
|
1482
1499
|
const availabilityLabel = getTicketTypeAvailabilityLabel(ticketType);
|
|
1483
1500
|
const ticketTypeRemainingLabel = placesLeftLabel({
|
|
1484
1501
|
kind: "ticketType",
|
|
1485
|
-
remaining: ticketType.availability.remainingPlaces
|
|
1502
|
+
remaining: ticketType.availability.remainingPlaces,
|
|
1503
|
+
dateRemaining: props.availableSpots ?? null
|
|
1486
1504
|
}, props.display);
|
|
1487
|
-
const priceLabel = ticketType.priceAmount > 0 ? formatPrice
|
|
1505
|
+
const priceLabel = ticketType.priceAmount > 0 ? formatPrice(ticketType.priceAmount, props.currency) : "Free";
|
|
1488
1506
|
const maxAllowed = getTicketTypeLineMax({
|
|
1489
1507
|
currentQuantity: quantity,
|
|
1490
1508
|
totalSelectedQuantity,
|
|
@@ -1792,7 +1810,7 @@ function RunTicketTypeChoice({ run, name, choice, facts, onChange }) {
|
|
|
1792
1810
|
id: option.id,
|
|
1793
1811
|
label: option.name,
|
|
1794
1812
|
details: option.description ? [option.description] : [],
|
|
1795
|
-
price: option.priceAmount > 0 ? formatPrice
|
|
1813
|
+
price: option.priceAmount > 0 ? formatPrice(option.priceAmount, currency) : "Free",
|
|
1796
1814
|
selected: choice.pricingOptionId === option.id,
|
|
1797
1815
|
disabled: !usable,
|
|
1798
1816
|
disabledReason: usable ? void 0 : "Not available",
|
|
@@ -1929,110 +1947,98 @@ function SeveralRunsTicketStep(props) {
|
|
|
1929
1947
|
}
|
|
1930
1948
|
//#endregion
|
|
1931
1949
|
//#region ../blocks/src/system/runtime/nodes/event-registration/SelectionPaymentSummary.tsx
|
|
1932
|
-
|
|
1933
|
-
|
|
1934
|
-
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
const money =
|
|
1950
|
-
return /* @__PURE__ */ jsxs(
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
1962
|
-
|
|
1963
|
-
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
label: summary.placesLabel,
|
|
1969
|
-
value: money(summary.subtotalCents)
|
|
1970
|
-
},
|
|
1971
|
-
...summary.reductions.map((row) => ({
|
|
1972
|
-
key: row.key,
|
|
1973
|
-
label: row.label,
|
|
1974
|
-
value: `−${money(row.amountCents)}`
|
|
1975
|
-
})),
|
|
1976
|
-
{
|
|
1977
|
-
key: "total",
|
|
1978
|
-
label: "Total",
|
|
1979
|
-
value: money(summary.totalCents)
|
|
1980
|
-
}
|
|
1981
|
-
] })
|
|
1982
|
-
})]
|
|
1983
|
-
}),
|
|
1984
|
-
summary.note ? /* @__PURE__ */ jsx("p", {
|
|
1985
|
-
className: "er-combination-note",
|
|
1986
|
-
role: "status",
|
|
1987
|
-
children: summary.note
|
|
1988
|
-
}) : null,
|
|
1989
|
-
summary.savingCents !== null ? /* @__PURE__ */ jsxs("p", {
|
|
1990
|
-
className: "er-combination-saving",
|
|
1991
|
-
children: ["You save ", money(summary.savingCents)]
|
|
1992
|
-
}) : null
|
|
1993
|
-
] });
|
|
1950
|
+
function Lines(props) {
|
|
1951
|
+
return /* @__PURE__ */ jsx("dl", {
|
|
1952
|
+
className: "er-selection-payment__lines",
|
|
1953
|
+
children: props.lines.map((line) => /* @__PURE__ */ jsxs("div", {
|
|
1954
|
+
className: "er-confirmation-summary__row",
|
|
1955
|
+
children: [/* @__PURE__ */ jsxs("dt", { children: [line.label, line.multiplier ? /* @__PURE__ */ jsxs("span", {
|
|
1956
|
+
className: "er-selection-payment__multiplier",
|
|
1957
|
+
children: [
|
|
1958
|
+
line.multiplier.places,
|
|
1959
|
+
" × ",
|
|
1960
|
+
props.money(line.multiplier.unitPriceCents)
|
|
1961
|
+
]
|
|
1962
|
+
}) : null] }), /* @__PURE__ */ jsx("dd", { children: props.money(line.amountCents) })]
|
|
1963
|
+
}, line.key))
|
|
1964
|
+
});
|
|
1965
|
+
}
|
|
1966
|
+
function Totals(props) {
|
|
1967
|
+
const { money } = props;
|
|
1968
|
+
return /* @__PURE__ */ jsxs("dl", {
|
|
1969
|
+
className: "er-selection-payment__lines er-selection-payment__totals",
|
|
1970
|
+
children: [[...props.subtotalCents === null ? [] : [{
|
|
1971
|
+
key: "subtotal",
|
|
1972
|
+
label: "Subtotal",
|
|
1973
|
+
value: money(props.subtotalCents)
|
|
1974
|
+
}], ...props.reductions.map((row) => ({
|
|
1975
|
+
key: row.key,
|
|
1976
|
+
label: row.label,
|
|
1977
|
+
value: `−${money(row.amountCents)}`
|
|
1978
|
+
}))].map((row) => /* @__PURE__ */ jsxs("div", {
|
|
1979
|
+
className: "er-confirmation-summary__row",
|
|
1980
|
+
children: [/* @__PURE__ */ jsx("dt", { children: row.label }), /* @__PURE__ */ jsx("dd", { children: row.value })]
|
|
1981
|
+
}, row.key)), /* @__PURE__ */ jsxs("div", {
|
|
1982
|
+
className: "er-confirmation-summary__row er-selection-payment__total",
|
|
1983
|
+
children: [/* @__PURE__ */ jsx("dt", { children: "Total" }), /* @__PURE__ */ jsx("dd", { children: money(props.totalCents) })]
|
|
1984
|
+
})]
|
|
1985
|
+
});
|
|
1994
1986
|
}
|
|
1995
1987
|
/**
|
|
1996
|
-
* What several items cost, above the payment choice (issue 1725):
|
|
1997
|
-
*
|
|
1998
|
-
*
|
|
1988
|
+
* What several items cost, above the payment choice (issue 1725): the items
|
|
1989
|
+
* and places as a caption, each item at what all its places cost, then the
|
|
1990
|
+
* total (after a subtotal and any code when something comes off). With
|
|
1991
|
+
* combination prices the items are grouped by combination, with the note
|
|
1992
|
+
* and saving under the list.
|
|
1999
1993
|
*/
|
|
2000
1994
|
function SelectionPaymentSummary(props) {
|
|
2001
1995
|
const { summary, currency } = props;
|
|
1996
|
+
const money = (cents) => formatCurrencyAmount(cents, currency);
|
|
1997
|
+
const groups = summary.kind === "combined" ? summary.groups : [{
|
|
1998
|
+
key: "items",
|
|
1999
|
+
heading: null,
|
|
2000
|
+
lines: summary.lines
|
|
2001
|
+
}];
|
|
2002
2002
|
return /* @__PURE__ */ jsxs("div", {
|
|
2003
2003
|
className: "rb-reg-stack er-stack er-selection-payment-summary",
|
|
2004
|
-
children: [
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
|
|
2011
|
-
|
|
2012
|
-
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2032
|
-
|
|
2033
|
-
|
|
2034
|
-
|
|
2035
|
-
|
|
2004
|
+
children: [
|
|
2005
|
+
/* @__PURE__ */ jsx("h3", {
|
|
2006
|
+
tabIndex: -1,
|
|
2007
|
+
className: "er-title",
|
|
2008
|
+
children: "Your booking"
|
|
2009
|
+
}),
|
|
2010
|
+
/* @__PURE__ */ jsxs("div", {
|
|
2011
|
+
className: "er-confirmation-summary er-selection-payment",
|
|
2012
|
+
children: [
|
|
2013
|
+
/* @__PURE__ */ jsx("p", {
|
|
2014
|
+
className: "er-selection-payment__caption",
|
|
2015
|
+
children: summary.caption
|
|
2016
|
+
}),
|
|
2017
|
+
groups.map((group) => /* @__PURE__ */ jsxs(React.Fragment, { children: [group.heading ? /* @__PURE__ */ jsx("p", {
|
|
2018
|
+
className: "er-selection-payment__group",
|
|
2019
|
+
children: group.heading
|
|
2020
|
+
}) : null, /* @__PURE__ */ jsx(Lines, {
|
|
2021
|
+
lines: group.lines,
|
|
2022
|
+
money
|
|
2023
|
+
})] }, group.key)),
|
|
2024
|
+
/* @__PURE__ */ jsx(Totals, {
|
|
2025
|
+
subtotalCents: summary.subtotalCents,
|
|
2026
|
+
reductions: summary.reductions,
|
|
2027
|
+
totalCents: summary.totalCents,
|
|
2028
|
+
money
|
|
2029
|
+
})
|
|
2030
|
+
]
|
|
2031
|
+
}),
|
|
2032
|
+
summary.kind === "combined" && summary.note ? /* @__PURE__ */ jsx("p", {
|
|
2033
|
+
className: "er-combination-note",
|
|
2034
|
+
role: "status",
|
|
2035
|
+
children: summary.note
|
|
2036
|
+
}) : null,
|
|
2037
|
+
summary.kind === "combined" && summary.savingCents !== null ? /* @__PURE__ */ jsxs("p", {
|
|
2038
|
+
className: "er-combination-saving",
|
|
2039
|
+
children: ["You save ", money(summary.savingCents)]
|
|
2040
|
+
}) : null
|
|
2041
|
+
]
|
|
2036
2042
|
});
|
|
2037
2043
|
}
|
|
2038
2044
|
//#endregion
|
|
@@ -2928,7 +2934,7 @@ function SiteCreditPreviewPanel(props) {
|
|
|
2928
2934
|
children: [
|
|
2929
2935
|
"You have",
|
|
2930
2936
|
" ",
|
|
2931
|
-
formatPrice
|
|
2937
|
+
formatPrice(preview.availableCreditCents, preview.creditCurrency),
|
|
2932
2938
|
" ",
|
|
2933
2939
|
"in site credit, but it can't be used for this",
|
|
2934
2940
|
" ",
|
|
@@ -2947,18 +2953,18 @@ function SiteCreditPreviewPanel(props) {
|
|
|
2947
2953
|
}),
|
|
2948
2954
|
/* @__PURE__ */ jsxs("p", {
|
|
2949
2955
|
className: "er-text",
|
|
2950
|
-
children: ["Available: ", formatPrice
|
|
2956
|
+
children: ["Available: ", formatPrice(preview.availableCreditCents, props.currency)]
|
|
2951
2957
|
}),
|
|
2952
2958
|
/* @__PURE__ */ jsx("p", {
|
|
2953
2959
|
className: "er-text",
|
|
2954
|
-
children: preview.outcome === "credit_only" ? `Your credit covers this registration. ${formatPrice
|
|
2960
|
+
children: preview.outcome === "credit_only" ? `Your credit covers this registration. ${formatPrice(preview.appliedCreditCents, props.currency)} will be used and no card payment is needed.` : preview.cardDueNowCents === 0 ? `${formatPrice(preview.appliedCreditCents, props.currency)} will be applied automatically. No card payment is needed today.` : `${formatPrice(preview.appliedCreditCents, props.currency)} will be applied automatically. ${formatPrice(preview.cardDueNowCents, props.currency)} is due by card today.`
|
|
2955
2961
|
}),
|
|
2956
2962
|
preview.laterBalanceCents > 0 && /* @__PURE__ */ jsxs("p", {
|
|
2957
2963
|
className: "er-text er-text--muted",
|
|
2958
2964
|
children: [
|
|
2959
2965
|
"Remaining balance after today:",
|
|
2960
2966
|
" ",
|
|
2961
|
-
formatPrice
|
|
2967
|
+
formatPrice(preview.laterBalanceCents, props.currency)
|
|
2962
2968
|
]
|
|
2963
2969
|
}),
|
|
2964
2970
|
preview.remainingCreditCents > 0 && /* @__PURE__ */ jsxs("p", {
|
|
@@ -2966,7 +2972,7 @@ function SiteCreditPreviewPanel(props) {
|
|
|
2966
2972
|
children: [
|
|
2967
2973
|
"Credit left afterwards:",
|
|
2968
2974
|
" ",
|
|
2969
|
-
formatPrice
|
|
2975
|
+
formatPrice(preview.remainingCreditCents, props.currency)
|
|
2970
2976
|
]
|
|
2971
2977
|
}),
|
|
2972
2978
|
preview.manualDiscountPending && /* @__PURE__ */ jsx("p", {
|
|
@@ -3077,7 +3083,7 @@ function purchasablePassChoices(eligibility) {
|
|
|
3077
3083
|
},
|
|
3078
3084
|
label: pass.name,
|
|
3079
3085
|
details: [`${pass.creditsTotal} credits`, ...pass.description ? [pass.description] : []],
|
|
3080
|
-
price: formatPrice
|
|
3086
|
+
price: formatPrice(pass.price, pass.currency)
|
|
3081
3087
|
}));
|
|
3082
3088
|
}
|
|
3083
3089
|
function purchasableMembershipChoices(eligibility) {
|
|
@@ -3093,7 +3099,7 @@ function purchasableMembershipChoices(eligibility) {
|
|
|
3093
3099
|
},
|
|
3094
3100
|
label: membership.name,
|
|
3095
3101
|
details: membership.description ? [membership.description] : [],
|
|
3096
|
-
price: `${formatPrice
|
|
3102
|
+
price: `${formatPrice(membership.price, membership.currency)}/${membership.interval}`
|
|
3097
3103
|
}));
|
|
3098
3104
|
}
|
|
3099
3105
|
/** Passes and memberships, when the selection can use them (one item, issue 1725). */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventCalendarClient } from "./EventCalendar.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { t as EventCalendarClient } from "./EventCalendar.client-CDkkP-Lv.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.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 BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { n as EventCombinedIslandClient } from "./EventCombined.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { n as EventCombinedIslandClient } from "./EventCombined.client-DK3aaz62.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.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-mpBQt2AT.mjs";
|
|
3
|
+
import { t as EventDetailsIslandClient } from "./event-details.client-D7Oz1q2L.mjs";
|
|
4
4
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.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 BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as EventListingClient } from "./EventListing.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { t as EventListingClient } from "./EventListing.client-DL3gGGmF.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.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 { n as EventRegistrationIslandClient } from "./event-registration.client-
|
|
3
|
-
import { t as BlockApiProvider } from "./context-
|
|
4
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { n as EventRegistrationIslandClient } from "./event-registration.client-zbuX36aA.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
4
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
|
-
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-
|
|
6
|
+
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-8cfSgT0E.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 BlockApiProvider } from "./context-
|
|
3
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
4
|
-
import { t as FormNodeClient } from "./form.client-
|
|
2
|
+
import { t as BlockApiProvider } from "./context-CNlesLfF.mjs";
|
|
3
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mpBQt2AT.mjs";
|
|
4
|
+
import { t as FormNodeClient } from "./form.client-CL6fF0cW.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-DFQy3CmO.mjs";
|
|
6
6
|
import { n as snapshotForm, t as restoreForm } from "./formSnapshot-Cy4abc0T.mjs";
|
|
7
7
|
import "react";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
import { h as ok, m as err, p as assertNever } from "./creditProducts-
|
|
4
|
-
import { n as useBlockApi } from "./context-
|
|
2
|
+
import { vo as listLookSlot } from "./display-Cf_j5stk.mjs";
|
|
3
|
+
import { h as ok, m as err, p as assertNever } from "./creditProducts-KYMVIH3J.mjs";
|
|
4
|
+
import { n as useBlockApi } from "./context-CNlesLfF.mjs";
|
|
5
5
|
import { S as clsx } from "./ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CSJrAuXH.mjs";
|
|
7
|
-
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-
|
|
7
|
+
import { n as FormSubmitAction, t as FormFieldGroups } from "./form.parts-Bf-L66Gg.mjs";
|
|
8
8
|
import { t as SpamProtectionWidget } from "./SpamProtectionWidget-CCF6YLUX.mjs";
|
|
9
9
|
import { t as useAltchaProtection } from "./altchaProtection-DjIV9A5n.mjs";
|
|
10
10
|
import { useReducer, useRef } from "react";
|
|
@@ -108,7 +108,7 @@ const FormNodeClient = ({ render }) => {
|
|
|
108
108
|
const formData = new FormData(e.currentTarget);
|
|
109
109
|
const honeypot = formData.get("company");
|
|
110
110
|
if (typeof honeypot !== "string" || honeypot.trim()) return;
|
|
111
|
-
await submit({
|
|
111
|
+
if (!(await submit({
|
|
112
112
|
authorization: protection.submission.authorization,
|
|
113
113
|
formId: form.id,
|
|
114
114
|
data: submittedFormFields(formData),
|
|
@@ -117,7 +117,7 @@ const FormNodeClient = ({ render }) => {
|
|
|
117
117
|
referer: typeof window !== "undefined" ? window.location.href : void 0,
|
|
118
118
|
userAgent: typeof navigator !== "undefined" ? navigator.userAgent : void 0
|
|
119
119
|
}
|
|
120
|
-
});
|
|
120
|
+
})).ok) protection.reset();
|
|
121
121
|
};
|
|
122
122
|
if (state.tag === "succeeded") return /* @__PURE__ */ jsx(FormSuccessMessage, { display: render.display });
|
|
123
123
|
const errorBanner = state.tag === "failed" ? /* @__PURE__ */ jsx(FeedbackMessage, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
2
|
+
import { _o as listLookControl, vo as listLookSlot } from "./display-Cf_j5stk.mjs";
|
|
3
3
|
import { t as CheckboxChoice } from "./CheckboxChoice-b-PJLEXe.mjs";
|
|
4
4
|
import { t as ProtectedSubmitButton } from "./ProtectedSubmitButton-C-ql101B.mjs";
|
|
5
5
|
import "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Bt as
|
|
2
|
+
import { Bt as formatDate$1, Ht as formatDateTime, cn as parseUtcIsoDateTimeString, rn as parseBookingLocalDate } from "./noop-D5mFWXtN.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,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
3
|
+
import { Bt as formatDate, hn as formatGiftCardAmountLabel, ln as toUtcIsoDateTimeString, on as resolveBookingTimeZoneId, t as logger } from "../noop-D5mFWXtN.mjs";
|
|
4
|
+
import { i as BlockApiError, n as useBlockApi, t as BlockApiProvider } from "../context-CNlesLfF.mjs";
|
|
5
5
|
import { i as ThemedButtonLink, r as ThemedButton } from "../ThemedButton-DuaYtnvG.mjs";
|
|
6
6
|
import { t as CheckIcon } from "../CheckIcon-CVcKteXH.mjs";
|
|
7
7
|
import React from "react";
|
|
@@ -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-mpBQt2AT.mjs";
|
|
3
|
+
import { t as mountHeaderChromeRuntime } from "./enhanceHeaderSection-5GD5o4Mt.mjs";
|
|
4
4
|
//#region src/rendering/islands/enhancers/headerSection.ts
|
|
5
5
|
const decode = defineIslandPropsDecoder("headerSection");
|
|
6
6
|
const enhance = (root, props) => {
|