@riverbankcms/sdk 0.160.0 → 0.161.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-CoqeotCL.d.ts → BlocksIslandsHydrator-Bx4kLiTA.d.ts} +1 -1
- package/dist/_dts/{Page-C0ENVLCF.d.ts → Page-Dm7_P13o.d.ts} +211 -9
- package/dist/_dts/{SdkPreviewMode-jZK0A49V.d.ts → SdkPreviewMode-D7HdWWwF.d.ts} +4 -4
- package/dist/_dts/{auth-contract-FPg0-2MC.d.ts → auth-contract-CgJ5nMaH.d.ts} +2 -0
- package/dist/_dts/{client-uMMuPq9V.d.ts → client-Ep0jI9eE.d.ts} +1 -1
- package/dist/_dts/{content-types-D6nXGqdQ.d.ts → content-types-BgAzCrBc.d.ts} +2 -2
- package/dist/_dts/{contracts-Bnmj1nxu.d.ts → contracts-DUiOnj9e.d.ts} +8 -5
- package/dist/_dts/{footerPageOutline-CeLjFX8b.d.ts → footerPageOutline-B-uXamTG.d.ts} +6 -6
- package/dist/_dts/{generatePageMetadata-nyU8q02J.d.ts → generatePageMetadata-BDkZYEcS.d.ts} +2 -2
- package/dist/_dts/{index-Blwl7yl6.d.ts → index-BQDBQvdu.d.ts} +1 -1
- package/dist/_dts/{index-lkpjIg5i.d.ts → index-BVkP8f70.d.ts} +1 -1
- package/dist/_dts/{index-CEaKil7G.d.ts → index-CF6Cjs7b.d.ts} +2 -2
- package/dist/_dts/{index-nVoi_74l.d.ts → index-CSsfq6KG.d.ts} +3 -17
- package/dist/_dts/{index-DahMwisK.d.ts → index-D_8uz4OP.d.ts} +3 -3
- package/dist/_dts/{index-Bg64CkV-.d.ts → index-DvKQA6AZ.d.ts} +4 -4
- package/dist/_dts/{index-C5xslEBn.d.ts → index-KPrWM0KF.d.ts} +1 -1
- package/dist/_dts/{index-BaaGBY1v.d.ts → index-ylivB7Jj.d.ts} +2 -2
- package/dist/_dts/{loadContent-CYLmzvLq.d.ts → loadContent-DTjKOO-T.d.ts} +10 -10
- package/dist/_dts/{resolvePageContent-DqnxChOs.d.ts → resolvePageContent-C1vA5c5w.d.ts} +2 -2
- package/dist/_dts/{schema-D0bNcPWK.d.ts → schema-BHu0PYWl.d.ts} +18821 -16622
- package/dist/_dts/sdk/src/bookings/index.d.ts +2 -2
- package/dist/_dts/sdk/src/client/types.d.ts +2 -2
- package/dist/_dts/sdk/src/client.d.ts +7 -7
- package/dist/_dts/sdk/src/config/index.d.ts +6 -6
- package/dist/_dts/sdk/src/config/template-validation.d.ts +1 -1
- package/dist/_dts/sdk/src/config/validation.d.ts +1 -1
- package/dist/_dts/sdk/src/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/preview-next/keep-alive.d.ts +1 -1
- package/dist/_dts/sdk/src/preview-next/session.d.ts +2 -2
- 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/theme/index.d.ts +1 -1
- package/dist/_dts/{session-Ba2CsnK5.d.ts → session-C_gtSFyZ.d.ts} +2 -1
- package/dist/_dts/{types-D8czmbQF.d.ts → types-BR1Yboa9.d.ts} +1060 -140
- package/dist/_dts/{types-Dm-KW7nj.d.ts → types-CJXTCF_F.d.ts} +3 -3
- package/dist/_dts/{types-CFrYuXYP.d.ts → types-D02ngcUH.d.ts} +4 -2
- package/dist/_dts/{types-DSgmJ15W.d.ts → types-ZGUiHpDE.d.ts} +7 -7
- package/dist/_dts/{validation-Bmb4WnHg.d.ts → validation-BaV565gb.d.ts} +4 -4
- package/dist/client/{BlocksIslandsHydrator-DZRKi6tT.mjs → BlocksIslandsHydrator-DTExCJsb.mjs} +22 -21
- package/dist/client/{BookingMailingListNote-C00sLLdL.mjs → BookingMailingListNote-BDpxmn1p.mjs} +1 -1
- package/dist/client/{CalendarNavigationChevron-CHSi9b3E.mjs → CalendarNavigationChevron-PeCiL82X.mjs} +6 -6
- package/dist/client/{CheckboxChoice-Bhm6RAUL.mjs → CheckboxChoice-DWexRLf6.mjs} +1 -1
- package/dist/client/{DemoBookingPortalAccess-CaN-7ui7.mjs → DemoBookingPortalAccess-3zmIqakW.mjs} +5 -5
- package/dist/client/{DemoPortalSignInLink-ClxN5_xZ.mjs → DemoPortalSignInLink-GHi-8BW5.mjs} +1 -1
- package/dist/client/{EventCalendar.client-BncvSa1n.mjs → EventCalendar.client-BxQLY5cX.mjs} +9 -9
- package/dist/client/{EventCombined.client-DluBxVVu.mjs → EventCombined.client-B5bmQ03b.mjs} +8 -8
- package/dist/client/{EventEmbeddedCheckoutStep-BiJrMtfp.mjs → EventEmbeddedCheckoutStep-CgMZ9TeU.mjs} +1 -1
- package/dist/client/{EventItem-CXhnT9pF.mjs → EventItem-BEx-qiDE.mjs} +4 -4
- package/dist/client/{EventListWeekNavigation-V-dtoDlD.mjs → EventListWeekNavigation-CyH5tA6Y.mjs} +1 -1
- package/dist/client/{EventListing.client-DPO6SZbx.mjs → EventListing.client-D3uySdGP.mjs} +3 -3
- package/dist/client/{EventListing.view-B-Yi5JZS.mjs → EventListing.view-9RFrBejr.mjs} +29 -13
- package/dist/client/{EventRegistrationPayment-Dc3Fnlnw.mjs → EventRegistrationPayment-CG2tQx8K.mjs} +25 -13
- package/dist/client/LocationMapActions-Wsr83Q7q.mjs +268 -0
- package/dist/client/{Page-7PkzO04N.mjs → Page-Bf2nPACI.mjs} +809 -298
- package/dist/client/{StepIndicator-DiD6euZ8.mjs → StepIndicator-CZweb1vs.mjs} +2 -2
- package/dist/client/{TabBarFragment-BHd8GN8y.mjs → TabBarFragment-Bkgz67gt.mjs} +1 -1
- package/dist/client/ThemedButton-CnyL3s1A.mjs +2243 -0
- package/dist/client/{accordion-2m27DsIk.mjs → accordion-TcimLLRQ.mjs} +1 -1
- package/dist/client/{booking-form.client-BddWV5w1.mjs → booking-form.client-q-RpJ4aF.mjs} +12 -12
- package/dist/client/{bookingForm-bcdXQjmw.mjs → bookingForm-DjGfk3Wj.mjs} +4 -4
- package/dist/client/bookings.mjs +5 -5
- package/dist/client/{carousel-D7nj9I0y.mjs → carousel-CGAk6j0m.mjs} +2 -2
- package/dist/client/{carousel.client-AffDJo_s.mjs → carousel.client-ArlGmYWV.mjs} +1 -1
- package/dist/client/{cart-PN6yCw1H.mjs → cart-D_h3rAZ2.mjs} +3 -3
- package/dist/client/{cart.client-D4t1f0cJ.mjs → cart.client-DHOxZbJ7.mjs} +1 -1
- package/dist/client/{checkout-CsTwXVSb.mjs → checkout-tC-3CzuM.mjs} +3 -3
- package/dist/client/{checkout.client-BhQE3zY7.mjs → checkout.client-DsBb2Pkm.mjs} +1 -1
- package/dist/client/client.mjs +5 -4
- package/dist/client/{context-BLAvalAa.mjs → context-9ZfMb6GA.mjs} +1 -1
- package/dist/client/{cta-CUXhX_D7.mjs → cta-D-ZqL7-e.mjs} +1 -1
- package/dist/client/{dateFormatting-BHIHxNuo.mjs → dateFormatting-BCwLqYpW.mjs} +1 -1
- package/dist/client/{demoPortalMagicLink-R-awbk_0.mjs → demoPortalMagicLink-BxkSS9fx.mjs} +1 -1
- package/dist/client/{enhanceHeaderSection-9Q93uvTo.mjs → enhanceHeaderSection-xg6to91E.mjs} +3 -3
- package/dist/client/{event-details.client-BS1WtG-a.mjs → event-details.client-C670TgRd.mjs} +2 -17
- package/dist/client/{event-registration.client-BXndwsET.mjs → event-registration.client-C6GApWTB.mjs} +16 -16
- package/dist/client/{eventCalendar-HyoOt1Qz.mjs → eventCalendar-CWc0dg9i.mjs} +4 -4
- package/dist/client/{eventCombined-sdG5oEaH.mjs → eventCombined-D4DbOrvQ.mjs} +4 -4
- package/dist/client/{eventDetails-FFAknE4w.mjs → eventDetails-C2DfmbC0.mjs} +2 -2
- package/dist/client/{eventListing-CGK6urk3.mjs → eventListing-C_yXmHyz.mjs} +4 -4
- package/dist/client/{eventRegistration-VhrvCs4l.mjs → eventRegistration-DJuaCB-O.mjs} +4 -4
- package/dist/client/{form-C-B5O_ko.mjs → form-QZhtdFHA.mjs} +3 -3
- package/dist/client/{form.client-DoZVcl8d.mjs → form.client-CgvPACwG.mjs} +4 -4
- package/dist/client/{form.parts-mttKpgif.mjs → form.parts-2uI0-5N-.mjs} +3 -3
- package/dist/client/{formatDate-xUSCknEO.mjs → formatDate-Danr0Nk4.mjs} +1 -1
- package/dist/client/gifting/client.mjs +3 -3
- package/dist/client/{headerSection-BHUEXsaI.mjs → headerSection-DJdlLdvZ.mjs} +2 -2
- package/dist/client/{mediaAssets-BOj-Co0B.mjs → mediaAssets-BvjcAZpS.mjs} +1 -1
- package/dist/client/mediaContext-jPeJ2PmJ.mjs +10801 -0
- package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-Cbepz2KU.mjs} +5 -5
- package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-DN8oMCQ0.mjs} +2 -2
- package/dist/client/{newsletterForm-tEaYelzx.mjs → newsletterForm-wjLtW-wq.mjs} +3 -3
- package/dist/client/{noop-B610YKEx.mjs → noop-B7H6gCbj.mjs} +297 -3
- package/dist/client/portal/client.mjs +12 -12
- package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-CYTR165c.mjs} +1 -1
- package/dist/client/{product-list.client-Cqp1BPTV.mjs → product-list.client-B4vTvag8.mjs} +1 -1
- package/dist/client/{productDetail-B8bBiogP.mjs → productDetail-k8LEMSWn.mjs} +3 -3
- package/dist/client/{productList-BKN4D-1z.mjs → productList-DEo8Bqoe.mjs} +3 -3
- package/dist/client/{propsDecoder-2nNZh2Oe.mjs → propsDecoder-G0j0HXBO.mjs} +3 -28
- package/dist/client/{registry.server-BAm4RPNJ.mjs → registry.server-BTmSXE3D.mjs} +355 -162
- package/dist/client/rendering/client.mjs +27 -28
- package/dist/client/rendering/islands.mjs +1 -1
- package/dist/client/rendering.mjs +15 -9
- package/dist/client/{richText-coerce-Cv-qomNB.mjs → richText-coerce-B19taoH6.mjs} +1 -1
- package/dist/client/{routeIslandApiConfig-C5u8MbAA.mjs → routeIslandApiConfig-Chu5BHra.mjs} +1 -1
- package/dist/client/{ThemedButton-C22C9cCF.mjs → schema-C-m8XHuW.mjs} +990 -2310
- package/dist/client/{shop-DZNC0VKk.mjs → shop-RGWa43H7.mjs} +3 -3
- package/dist/client/{shop-commerce-DdX4LSa3.mjs → shop-commerce-TJYCBO_H.mjs} +11 -11
- package/dist/client/{shop-commerce-store-BJtrZov9.mjs → shop-commerce-store-CjCcUB_o.mjs} +1 -1
- package/dist/client/{shop.client-DmDd-igg.mjs → shop.client-tsKfZw1W.mjs} +12 -12
- package/dist/client/{shop.interactive-5SnnDHz3.mjs → shop.interactive-CVqLAU53.mjs} +6 -158
- package/dist/client/{shopShared-CPqUlAh9.mjs → shopShared-C3lHMz_R.mjs} +2 -2
- package/dist/client/{timetableModel-C19rcHEw.mjs → timetableModel-V2ifvGGy.mjs} +148 -8
- package/dist/client/{useAvailableSlots-BjbJXotk.mjs → useAvailableSlots-D1X69-pN.mjs} +3 -3
- package/dist/client/{useBookingNowIso-CMgfL7YJ.mjs → useBookingNowIso-Ch30jino.mjs} +1 -1
- package/dist/client/{useDiscountApply-KG8jB7WC.mjs → useDiscountApply-Bwzr1RjV.mjs} +2 -2
- package/dist/client/{useDiscountCodeUi-DK2w_i0a.mjs → useDiscountCodeUi-BimJbFC7.mjs} +1 -1
- package/dist/client/{useEventPagination-DW6MCirb.mjs → useEventPagination-CLAS0upd.mjs} +8 -21
- package/dist/client/{view-CkUn3Y0Y.mjs → view-BUh4LnLS.mjs} +4 -4
- package/dist/client/{view-CseyBW07.mjs → view-Dj_FZHmg.mjs} +18 -15
- package/dist/client/wizardSteps-BkZc-hKH.mjs +6598 -0
- package/dist/preview-next/before-render.mjs +5 -4
- package/dist/preview-next/chrome.css +2 -0
- package/dist/preview-next/client/{EventEmbeddedCheckoutStep-lUHBrzHv.mjs → EventEmbeddedCheckoutStep-CwerMfzn.mjs} +2 -1
- package/dist/preview-next/client/LocationPickerEnvironment-QtSG2Bl-.mjs +138 -0
- package/dist/preview-next/client/MapLibreEditMap-B-rohNcG.mjs +488 -0
- package/dist/preview-next/client/{PreviewEditorSidebar-DWyUGCAG.mjs → PreviewEditorSidebar-Dvq-RW9-.mjs} +110 -63
- package/dist/preview-next/client/{PreviewEditorUI-Wq0b3Daw.mjs → PreviewEditorUI-BdFjS39R.mjs} +4 -3
- package/dist/preview-next/client/{SdkPreviewModeRuntime-wSI_R361.mjs → SdkPreviewModeRuntime-BEfHln1E.mjs} +425 -412
- package/dist/preview-next/client/{SdkPreviewModeRuntime-BtZPcwYV.mjs → SdkPreviewModeRuntime-CjkGh1IG.mjs} +1 -1
- package/dist/preview-next/client/{SiteChromeCustomizeContext-Hc4pYnNe.mjs → SiteChromeCustomizeContext-CDbxk_qZ.mjs} +2982 -53859
- package/dist/preview-next/client/{ThemedButton-DzeycIlD.mjs → ThemedButton-b14Bv03E.mjs} +1079 -340
- package/dist/preview-next/client/lucide-react-CA9cpo0P.mjs +51984 -0
- package/dist/preview-next/client/maplibre-gl-DykfOYYn.mjs +34208 -0
- package/dist/preview-next/client/{previewChromeSurface-Corq4AG7.mjs → previewChromeSurface-Dd1_mNIg.mjs} +1 -1
- package/dist/preview-next/client/result-BjJUoxUF.mjs +16 -0
- package/dist/preview-next/client/rolldown-runtime-CE6sIgz8.mjs +34 -0
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/preview-next/client/{sdk-runtime-CWymRWhK.mjs → sdk-runtime-B-CXyGVb.mjs} +1 -1
- package/dist/preview-next/client/siteStyleAccess-Kqk0j0dE.mjs +5812 -0
- package/dist/preview-next/client/{spinner-C4If5Y-O.mjs → spinner-CGxS8Ns-.mjs} +2 -1
- package/dist/preview-next/{constants-D8Ya7bO4.mjs → constants-Bf-vqdKH.mjs} +2 -1
- package/dist/preview-next/editor-base.css +2 -2
- package/dist/preview-next/keepAlive.mjs +2 -2
- package/dist/preview-next/middleware.mjs +7 -3
- package/dist/preview-next/{route-contract-8csADeIT.mjs → route-contract-hLg-yjQN.mjs} +41 -4
- package/dist/preview-next/{session-BgkrPqu0.mjs → session-P1R_ajT7.mjs} +12 -2
- package/dist/preview-next/session.mjs +1 -1
- package/dist/server/{Block.shared-D1_gonwM.mjs → Block.shared-CeTd2saO.mjs} +4 -4
- package/dist/server/{bindings-CFmJg5lm.mjs → bindings-C5YpKuKt.mjs} +2 -1
- package/dist/server/{client-DPsi0Dai.mjs → client-Cv26lZQ4.mjs} +7 -5
- package/dist/server/config-validation.mjs +1 -1
- package/dist/server/config.mjs +2 -2
- package/dist/server/{siteChromeOverlayClearance-DALIAMwo.mjs → effectiveNavLinkStyle-CGvGr3yD.mjs} +461 -1064
- package/dist/server/index.mjs +3 -3
- package/dist/server/{loadContent-RMCcuVU_.mjs → loadContent-C8a0b-cC.mjs} +11 -5
- package/dist/server/loadPage--DXBwI8V.mjs +2 -0
- package/dist/server/{loadPage-DhDGzj7t.mjs → loadPage-BW7dklu3.mjs} +3 -2
- package/dist/server/next.mjs +9 -9
- package/dist/server/{overrideResolution-OxY5FMuy.mjs → overrideResolution-tIuqmJB3.mjs} +1 -1
- package/dist/server/{overrides-Bz_A6sB9.mjs → overrides-D1fiPOKF.mjs} +596 -301
- package/dist/server/page-converter.mjs +1 -1
- package/dist/server/{prebuild-B_1vrSru.mjs → prebuild--fO0E2tr.mjs} +1 -1
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/{prefetchBlockData-B7ukYXXR.mjs → prefetchBlockData-CqJnokWJ.mjs} +133 -87
- package/dist/server/{publicProducts-Djbpc81A.mjs → publicProducts-CvvZ4JIe.mjs} +41 -3
- package/dist/server/{registry-eFjKtEhF.mjs → registry-BVfCqaCq.mjs} +477 -1021
- package/dist/server/rendering/server.mjs +4 -4
- package/dist/server/rendering.mjs +8 -8
- package/dist/server/{resolveBlockData-DYvEa9c5.mjs → resolveBlockData-DPNvhXEz.mjs} +1 -1
- package/dist/server/routing.mjs +1 -1
- package/dist/server/{schema-C3dJ5UkL.mjs → schema-CD4peO7m.mjs} +2203 -1223
- package/dist/server/server.mjs +3 -3
- package/dist/server/site-styles-H-EvTJiW.mjs +787 -0
- package/dist/server/siteChromeOverlayClearance-DNC2k1U0.mjs +750 -0
- package/dist/server/{src-C5Mu-z0F.mjs → src-ILxc6pid.mjs} +161 -3
- package/dist/server/theme-bridge.mjs +1 -1
- package/dist/server/theme.mjs +1 -1
- package/dist/server/{themeAdmission-ruoyXb_0.mjs → themeAdmission-BNHIXiUj.mjs} +117 -26
- package/dist/server/{validation-B-Xar8QS.mjs → validation-B1ieVemg.mjs} +2 -2
- package/dist/server/{version-Bg7VHK3i.mjs → version-BQK44wFg.mjs} +1 -1
- package/dist/styles/index.css +157 -0
- package/package.json +1 -1
- package/dist/client/LeafletStaticMap-ClZCCzAm.mjs +0 -135
- package/dist/client/location-map.client-Cylb_MHw.mjs +0 -28
- package/dist/client/location-map.view-Cx4Bl7ij.mjs +0 -345
- package/dist/client/locationMap-QnKJi-nZ.mjs +0 -15
- package/dist/client/mediaContext-DThoeEBU.mjs +0 -136
- package/dist/client/renderableMediaAssetAdmission-DGjBr_e-.mjs +0 -152
- package/dist/client/wizardSteps-zgq10lN1.mjs +0 -17181
- package/dist/preview-next/client/siteStyleAccess-QZkJRHl5.mjs +0 -1359
- package/dist/server/loadPage-DUPP51C-.mjs +0 -2
- package/dist/server/media-CcHwZkdJ.mjs +0 -243
package/dist/client/{newsletter-form.client-D_n0rftg.mjs → newsletter-form.client-Cbepz2KU.mjs}
RENAMED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { C as clsx } from "./ThemedButton-
|
|
2
|
+
import { C as clsx } from "./ThemedButton-CnyL3s1A.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 { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, fn as parseMailingListVisitorSelection } from "./shop.interactive-
|
|
4
|
+
import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
|
|
5
|
+
import { I as newsletterBlockSubmissionMessage, P as NEWSLETTER_SIGNUPS_PAUSED_MESSAGE, fn as parseMailingListVisitorSelection } from "./shop.interactive-CVqLAU53.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-DN8oMCQ0.mjs";
|
|
8
|
+
import { n as useBlockApi, r as BlockApiError } from "./context-9ZfMb6GA.mjs";
|
|
9
9
|
import { i as AltchaWidget, r as isSpamProtectionEnabled, t as getChallengeUrl } from "./src-BNZzXgWu.mjs";
|
|
10
10
|
import { t as MAILING_LIST_CONFIRMATION_MESSAGE } from "./mailingListSignupCopy-CX4sDozG.mjs";
|
|
11
11
|
import { useEffect, useReducer, useRef, useState } from "react";
|
package/dist/client/{newsletter-form.parts-DKHye4IE.mjs → newsletter-form.parts-DN8oMCQ0.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ThemedButton } from "./ThemedButton-
|
|
3
|
-
import { Pr as listLookSlot } from "./wizardSteps-
|
|
2
|
+
import { r as ThemedButton } from "./ThemedButton-CnyL3s1A.mjs";
|
|
3
|
+
import { Pr as listLookSlot } from "./wizardSteps-BkZc-hKH.mjs";
|
|
4
4
|
import { n as getFieldValidationControlProps, t as FieldValidationMessage } from "./FieldValidationMessage-CsqxShw4.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -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 NewsletterFormClient } from "./newsletter-form.client-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
|
|
3
|
+
import { t as BlockApiProvider } from "./context-9ZfMb6GA.mjs";
|
|
4
|
+
import { t as NewsletterFormClient } from "./newsletter-form.client-Cbepz2KU.mjs";
|
|
5
5
|
import { t as mountReactIsland } from "./reactMount-BGJVsHRb.mjs";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { c as addMonths } from "./src-1PJxc8KO.mjs";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { Xn as runtimeMediaSchema, br as err, lr as parseSiteTermsVersionId, xr as ok } from "./schema-C-m8XHuW.mjs";
|
|
4
|
+
import { A as confirmationPaymentSchema, R as validateBookingPaymentOptionKinds } from "./ThemedButton-CnyL3s1A.mjs";
|
|
5
5
|
import { z } from "zod";
|
|
6
6
|
//#region ../core/src/date-time-formatter.ts
|
|
7
7
|
/** Shared Intl engine, internal to core's date presentation owners. */
|
|
@@ -548,6 +548,299 @@ function formatTimeZoneCityLabel(timeZone) {
|
|
|
548
548
|
return timeZone.startsWith("Etc/") ? "local time" : `${timeZone.split("/").slice(-1)[0]?.replace(/_/gu, " ") ?? timeZone} time`;
|
|
549
549
|
}
|
|
550
550
|
//#endregion
|
|
551
|
+
//#region ../core/src/map-drawing/model.ts
|
|
552
|
+
const MAX_DRAWING_BYTES = 1024 * 1024;
|
|
553
|
+
/** Current real city extracts fit with >2x headroom; reservations precede allocation. */
|
|
554
|
+
const DRAWING_DECODE_LIMITS = {
|
|
555
|
+
pathsPerFeature: 2048,
|
|
556
|
+
verticesPerPath: 8192,
|
|
557
|
+
verticesPerFeature: 32768,
|
|
558
|
+
featuresPerLayer: 1e4,
|
|
559
|
+
featuresPerTile: 16e3,
|
|
560
|
+
featuresPerAttempt: 6e4,
|
|
561
|
+
verticesPerAttempt: 1e6
|
|
562
|
+
};
|
|
563
|
+
/**
|
|
564
|
+
* The two fixed framings. Neighbourhood draws 1 m per view-box unit, wider 4 m, so the same stroke and label
|
|
565
|
+
* sizes read well in both. The wider view leaves out buildings, distant paths and small green patches, which turn to
|
|
566
|
+
* noise at that scale. `minParkArea` is in square view-box units. Labels go to the nearest streets first, with a
|
|
567
|
+
* minor street counted as `minorLabelDistance` times further away than it is, so the wider view names main roads.
|
|
568
|
+
*/
|
|
569
|
+
const FRAMINGS = [{
|
|
570
|
+
name: "neighbourhood",
|
|
571
|
+
radiusMeters: 400,
|
|
572
|
+
zoom: 15,
|
|
573
|
+
roads: [
|
|
574
|
+
"major",
|
|
575
|
+
"minor",
|
|
576
|
+
"path"
|
|
577
|
+
],
|
|
578
|
+
maxPathDistance: 800,
|
|
579
|
+
buildings: true,
|
|
580
|
+
minParkArea: .3,
|
|
581
|
+
maxLabels: 6,
|
|
582
|
+
minorLabelDistance: 1.5
|
|
583
|
+
}, {
|
|
584
|
+
name: "wider",
|
|
585
|
+
radiusMeters: 1600,
|
|
586
|
+
zoom: 14,
|
|
587
|
+
roads: [
|
|
588
|
+
"major",
|
|
589
|
+
"minor",
|
|
590
|
+
"path"
|
|
591
|
+
],
|
|
592
|
+
maxPathDistance: 100,
|
|
593
|
+
buildings: false,
|
|
594
|
+
minParkArea: 40,
|
|
595
|
+
maxLabels: 5,
|
|
596
|
+
minorLabelDistance: 4
|
|
597
|
+
}];
|
|
598
|
+
const tilePoint = z.tuple([z.number().finite().min(-8192).max(12288), z.number().finite().min(-8192).max(12288)]).readonly();
|
|
599
|
+
const paths = z.array(z.array(tilePoint).min(2).max(DRAWING_DECODE_LIMITS.verticesPerPath).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly();
|
|
600
|
+
const featureFields = {
|
|
601
|
+
kind: z.string().max(80),
|
|
602
|
+
name: z.string().trim().max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/).nullish().transform((value) => value === void 0 || value === null || value === "" ? null : value),
|
|
603
|
+
sortRank: z.number().finite().min(-1e4).max(1e4).default(0),
|
|
604
|
+
paths: paths.refine((value) => value.reduce((n, path) => n + path.length, 0) <= DRAWING_DECODE_LIMITS.verticesPerFeature)
|
|
605
|
+
};
|
|
606
|
+
const feature = z.discriminatedUnion("geometry", [z.strictObject({
|
|
607
|
+
...featureFields,
|
|
608
|
+
layer: z.literal("roads"),
|
|
609
|
+
geometry: z.literal("line")
|
|
610
|
+
}).readonly(), z.strictObject({
|
|
611
|
+
...featureFields,
|
|
612
|
+
layer: z.enum([
|
|
613
|
+
"earth",
|
|
614
|
+
"water",
|
|
615
|
+
"landuse",
|
|
616
|
+
"buildings"
|
|
617
|
+
]),
|
|
618
|
+
geometry: z.literal("polygon")
|
|
619
|
+
}).refine((value) => value.paths.every((ring) => ring.length >= 3)).readonly()]);
|
|
620
|
+
const tile = z.strictObject({
|
|
621
|
+
z: z.union([z.literal(14), z.literal(15)]),
|
|
622
|
+
x: z.number().int().nonnegative(),
|
|
623
|
+
y: z.number().int().nonnegative(),
|
|
624
|
+
extent: z.literal(4096),
|
|
625
|
+
features: z.array(feature).max(DRAWING_DECODE_LIMITS.featuresPerTile).readonly()
|
|
626
|
+
}).refine((value) => value.x < 2 ** value.z && value.y < 2 ** value.z).readonly();
|
|
627
|
+
z.strictObject({
|
|
628
|
+
buildId: z.string().regex(/^\d{8}$/),
|
|
629
|
+
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
630
|
+
pin: z.lazy(() => locationPinSchema),
|
|
631
|
+
tiles: z.array(tile).min(1).max(96).readonly()
|
|
632
|
+
}).superRefine((value, ctx) => {
|
|
633
|
+
const features = value.tiles.flatMap((item) => item.features);
|
|
634
|
+
if (features.length > DRAWING_DECODE_LIMITS.featuresPerAttempt || features.reduce((sum, item) => sum + item.paths.reduce((count, path) => count + path.length, 0), 0) > DRAWING_DECODE_LIMITS.verticesPerAttempt) ctx.addIssue({
|
|
635
|
+
code: "custom",
|
|
636
|
+
message: "Decoded geometry exceeds the attempt budget."
|
|
637
|
+
});
|
|
638
|
+
}).readonly();
|
|
639
|
+
const point = z.tuple([z.number().min(0).max(800), z.number().min(0).max(800)]).readonly();
|
|
640
|
+
const polygon = z.strictObject({
|
|
641
|
+
kind: z.literal("polygon"),
|
|
642
|
+
fillRule: z.literal("evenodd"),
|
|
643
|
+
className: z.enum([
|
|
644
|
+
"map-land",
|
|
645
|
+
"map-water",
|
|
646
|
+
"map-park",
|
|
647
|
+
"map-building"
|
|
648
|
+
]),
|
|
649
|
+
rings: z.array(z.array(point).min(3).max(8192).readonly()).min(1).max(DRAWING_DECODE_LIMITS.pathsPerFeature).readonly()
|
|
650
|
+
}).readonly();
|
|
651
|
+
const line = z.strictObject({
|
|
652
|
+
kind: z.literal("line"),
|
|
653
|
+
className: z.enum([
|
|
654
|
+
"map-road-major-casing",
|
|
655
|
+
"map-road-major",
|
|
656
|
+
"map-road-minor-casing",
|
|
657
|
+
"map-road-minor",
|
|
658
|
+
"map-road-path"
|
|
659
|
+
]),
|
|
660
|
+
points: z.array(point).min(2).max(8192).readonly()
|
|
661
|
+
}).readonly();
|
|
662
|
+
const drawingPathSchema = z.discriminatedUnion("kind", [polygon, line]);
|
|
663
|
+
const label = z.strictObject({
|
|
664
|
+
className: z.literal("map-label"),
|
|
665
|
+
haloClassName: z.literal("map-label-halo"),
|
|
666
|
+
text: z.string().trim().min(1).max(60).regex(/^[^<>\u0000-\u001f\u007f]*$/),
|
|
667
|
+
point,
|
|
668
|
+
angle: z.number().min(-90).max(90)
|
|
669
|
+
}).readonly();
|
|
670
|
+
const drawingFrameSchema = z.strictObject({
|
|
671
|
+
radiusMeters: z.union([z.literal(FRAMINGS[0].radiusMeters), z.literal(FRAMINGS[1].radiusMeters)]),
|
|
672
|
+
viewBox: z.tuple([
|
|
673
|
+
z.literal(0),
|
|
674
|
+
z.literal(0),
|
|
675
|
+
z.literal(800),
|
|
676
|
+
z.literal(800)
|
|
677
|
+
]).readonly(),
|
|
678
|
+
backgroundClass: z.literal("map-water"),
|
|
679
|
+
paths: z.array(drawingPathSchema).max(1800).readonly(),
|
|
680
|
+
labels: z.array(label).max(12).readonly(),
|
|
681
|
+
pin: z.strictObject({
|
|
682
|
+
className: z.literal("map-pin"),
|
|
683
|
+
point: z.tuple([z.literal(400), z.literal(400)]).readonly()
|
|
684
|
+
}).readonly()
|
|
685
|
+
}).superRefine((value, ctx) => {
|
|
686
|
+
if (value.paths.reduce((sum, path) => sum + (path.kind === "line" ? path.points.length : path.rings.reduce((n, ring) => n + ring.length, 0)), 0) > 5e4) ctx.addIssue({
|
|
687
|
+
code: "custom",
|
|
688
|
+
message: "Drawing exceeds its vertex budget."
|
|
689
|
+
});
|
|
690
|
+
}).readonly();
|
|
691
|
+
const mapDrawingSchema = z.strictObject({
|
|
692
|
+
schemaVersion: z.literal(2),
|
|
693
|
+
generatorVersion: z.literal(3),
|
|
694
|
+
buildId: z.string().regex(/^\d{8}$/),
|
|
695
|
+
tileSchemaVersion: z.string().regex(/^4\.\d+\.\d+$/),
|
|
696
|
+
frames: z.strictObject({
|
|
697
|
+
neighbourhood: drawingFrameSchema,
|
|
698
|
+
wider: drawingFrameSchema
|
|
699
|
+
}).readonly()
|
|
700
|
+
}).refine((value) => value.frames.neighbourhood.radiusMeters === FRAMINGS[0].radiusMeters && value.frames.wider.radiusMeters === FRAMINGS[1].radiusMeters).refine((value) => new TextEncoder().encode(JSON.stringify(value)).byteLength <= MAX_DRAWING_BYTES, { error: "Drawing exceeds its byte budget." }).readonly();
|
|
701
|
+
//#endregion
|
|
702
|
+
//#region ../core/src/string.ts
|
|
703
|
+
/**
|
|
704
|
+
* Trim a user-entered string and collapse blank values to null.
|
|
705
|
+
*/
|
|
706
|
+
function trimmedStringOrNull(value) {
|
|
707
|
+
const trimmed = typeof value === "string" ? value.trim() : "";
|
|
708
|
+
return trimmed.length > 0 ? trimmed : null;
|
|
709
|
+
}
|
|
710
|
+
//#endregion
|
|
711
|
+
//#region ../core/src/location.ts
|
|
712
|
+
/** One complete, finite, bounded arrival pin; zero is a valid coordinate. */
|
|
713
|
+
const locationPinSchema = z.strictObject({
|
|
714
|
+
lat: z.number().min(-90).max(90),
|
|
715
|
+
lng: z.number().min(-180).max(180)
|
|
716
|
+
}).readonly().brand();
|
|
717
|
+
const addressPart = z.string().trim().max(200).nullish().transform((value) => trimmedStringOrNull(value));
|
|
718
|
+
/** Building identifies the place; unit/floor refine it without moving it. */
|
|
719
|
+
const locationAddressSchema = z.strictObject({
|
|
720
|
+
building: addressPart,
|
|
721
|
+
unit: addressPart,
|
|
722
|
+
floor: addressPart,
|
|
723
|
+
street: addressPart,
|
|
724
|
+
locality: addressPart,
|
|
725
|
+
region: addressPart,
|
|
726
|
+
postalCode: addressPart,
|
|
727
|
+
country: addressPart.transform((value) => value?.length === 2 ? value.toUpperCase() : value)
|
|
728
|
+
}).readonly().transform((address) => Object.values(address).some((part) => part !== null) ? address : null);
|
|
729
|
+
const locationAddressMatchSchema = z.strictObject({
|
|
730
|
+
point: locationPinSchema,
|
|
731
|
+
precision: z.enum([
|
|
732
|
+
"building",
|
|
733
|
+
"street",
|
|
734
|
+
"area",
|
|
735
|
+
"unknown"
|
|
736
|
+
]),
|
|
737
|
+
placeId: z.string().trim().max(1024).regex(/^[a-z][a-z0-9-]*:\S+$/),
|
|
738
|
+
attribution: z.array(z.strictObject({
|
|
739
|
+
text: z.string().trim().min(1).max(500),
|
|
740
|
+
url: z.url().max(2048).refine((value) => /^https?:\/\//.test(value))
|
|
741
|
+
}).readonly()).min(1).max(4).readonly()
|
|
742
|
+
}).readonly();
|
|
743
|
+
const locationValueSchema = z.strictObject({
|
|
744
|
+
address: locationAddressSchema.nullable().default(null),
|
|
745
|
+
pin: locationPinSchema.nullable().default(null),
|
|
746
|
+
doorNote: z.string().trim().max(1e3).nullish().transform(trimmedStringOrNull),
|
|
747
|
+
addressMatch: locationAddressMatchSchema.nullable().default(null),
|
|
748
|
+
addressCheckSettled: z.literal(true).optional(),
|
|
749
|
+
ownerConfirmedPinAndAddress: z.boolean().default(false)
|
|
750
|
+
}).superRefine((value, context) => {
|
|
751
|
+
if (value.address === null && value.pin === null) context.addIssue({
|
|
752
|
+
code: "custom",
|
|
753
|
+
path: ["address"],
|
|
754
|
+
message: "Use null to remove a location."
|
|
755
|
+
});
|
|
756
|
+
if (value.address === null && value.addressMatch !== null) context.addIssue({
|
|
757
|
+
code: "custom",
|
|
758
|
+
path: ["addressMatch"],
|
|
759
|
+
message: "Address evidence requires an address."
|
|
760
|
+
});
|
|
761
|
+
if (value.address === null && value.addressCheckSettled) context.addIssue({
|
|
762
|
+
code: "custom",
|
|
763
|
+
path: ["addressCheckSettled"],
|
|
764
|
+
message: "A settled address check requires an address."
|
|
765
|
+
});
|
|
766
|
+
if (value.ownerConfirmedPinAndAddress && (value.address === null || value.pin === null)) context.addIssue({
|
|
767
|
+
code: "custom",
|
|
768
|
+
path: ["ownerConfirmedPinAndAddress"],
|
|
769
|
+
message: "Confirmation requires both address and pin."
|
|
770
|
+
});
|
|
771
|
+
}).readonly();
|
|
772
|
+
/** API/DB ingress parses once. Removed locations are represented by null. */
|
|
773
|
+
function parseLocationValue(input) {
|
|
774
|
+
const parsed = locationValueSchema.nullable().safeParse(input);
|
|
775
|
+
return parsed.success ? ok(parsed.data) : err({
|
|
776
|
+
kind: "invalid_location",
|
|
777
|
+
issues: parsed.error.issues
|
|
778
|
+
});
|
|
779
|
+
}
|
|
780
|
+
/** One display formatter: a known matching site country is redundant. */
|
|
781
|
+
function formatLocationAddress(address, siteCountry) {
|
|
782
|
+
if (address === null) return null;
|
|
783
|
+
return [
|
|
784
|
+
address.building,
|
|
785
|
+
address.street,
|
|
786
|
+
address.unit,
|
|
787
|
+
address.floor,
|
|
788
|
+
address.locality,
|
|
789
|
+
address.region,
|
|
790
|
+
address.postalCode,
|
|
791
|
+
sameLocationCountry(address.country, siteCountry) ? null : address.country
|
|
792
|
+
].filter((part) => part !== null).join(", ") || null;
|
|
793
|
+
}
|
|
794
|
+
const regionNames = new Intl.DisplayNames(["en"], { type: "region" });
|
|
795
|
+
const countryIdentity = (country) => {
|
|
796
|
+
const text = country.trim();
|
|
797
|
+
const code = text.toUpperCase() === "UK" ? "GB" : text.toUpperCase();
|
|
798
|
+
return (code.length === 2 && /^[A-Z]{2}$/.test(code) ? regionNames.of(code) ?? text : text).toLowerCase();
|
|
799
|
+
};
|
|
800
|
+
function sameLocationCountry(country, siteCountry) {
|
|
801
|
+
return country !== null && Boolean(siteCountry?.trim()) && countryIdentity(country) === countryIdentity(siteCountry ?? "");
|
|
802
|
+
}
|
|
803
|
+
const publicLocationSchema = z.strictObject({
|
|
804
|
+
drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
|
|
805
|
+
address: locationAddressSchema.nullable(),
|
|
806
|
+
displayAddress: z.string().nullable().default(null),
|
|
807
|
+
pin: locationPinSchema.nullable(),
|
|
808
|
+
doorNote: z.string().max(1e3).nullable(),
|
|
809
|
+
attribution: z.array(locationAddressMatchSchema.unwrap().shape.attribution.unwrap().element).max(4).readonly()
|
|
810
|
+
}).readonly();
|
|
811
|
+
/** Permission belongs to the resource/source owner before this projection. */
|
|
812
|
+
function projectPublicLocation(location, siteCountry) {
|
|
813
|
+
return {
|
|
814
|
+
address: location.address,
|
|
815
|
+
displayAddress: formatLocationAddress(location.address, siteCountry),
|
|
816
|
+
pin: location.pin,
|
|
817
|
+
doorNote: location.doorNote,
|
|
818
|
+
attribution: location.addressMatch?.attribution ?? []
|
|
819
|
+
};
|
|
820
|
+
}
|
|
821
|
+
function normalizeLocationAddressText(value) {
|
|
822
|
+
if (typeof value !== "string") return null;
|
|
823
|
+
return trimmedStringOrNull(value);
|
|
824
|
+
}
|
|
825
|
+
function hasLocationCoordinates(value) {
|
|
826
|
+
return value != null && typeof value.lat === "number" && Number.isFinite(value.lat) && Math.abs(value.lat) <= 90 && typeof value.lng === "number" && Number.isFinite(value.lng) && Math.abs(value.lng) <= 180;
|
|
827
|
+
}
|
|
828
|
+
function toLocationCoordinates(value) {
|
|
829
|
+
if (!hasLocationCoordinates(value)) return null;
|
|
830
|
+
return {
|
|
831
|
+
lat: value.lat,
|
|
832
|
+
lng: value.lng
|
|
833
|
+
};
|
|
834
|
+
}
|
|
835
|
+
/** Decide permission before loading or projecting the selected source. */
|
|
836
|
+
function decideLocationSourcePermission(source, businessAddressVisibility) {
|
|
837
|
+
if (source === "business_address" && businessAddressVisibility === void 0) return { kind: "unresolved" };
|
|
838
|
+
return source === "business_address" && businessAddressVisibility === "hidden" ? { kind: "hidden" } : {
|
|
839
|
+
kind: "permitted",
|
|
840
|
+
source
|
|
841
|
+
};
|
|
842
|
+
}
|
|
843
|
+
//#endregion
|
|
551
844
|
//#region ../core/src/event-series-behaviour.ts
|
|
552
845
|
const WHOLE_SERIES_EVENT_PRESET_VALUES = ["course", "term"];
|
|
553
846
|
const SURFACE_EVENT_PRESET_VALUES = [
|
|
@@ -870,6 +1163,7 @@ const publicEventDestinationSchema = z.discriminatedUnion("kind", [z.object({
|
|
|
870
1163
|
* Zod schema for venue data
|
|
871
1164
|
*/
|
|
872
1165
|
const eventVenueSchema = z.object({
|
|
1166
|
+
drawing: z.lazy(() => mapDrawingSchema).optional().catch(void 0),
|
|
873
1167
|
id: z.string(),
|
|
874
1168
|
name: z.string(),
|
|
875
1169
|
address: z.string().nullable(),
|
|
@@ -1673,4 +1967,4 @@ const logger = {
|
|
|
1673
1967
|
withFields: (_) => logger
|
|
1674
1968
|
};
|
|
1675
1969
|
//#endregion
|
|
1676
|
-
export { isRecord as $, eventScheduleScopeValues as A, normalizeIdList as B, eventCalendarVariantMeaning as C,
|
|
1970
|
+
export { isRecord as $, eventScheduleScopeValues as A, toScheduledBookingDateTime as At, normalizeIdList as B, eventCalendarVariantMeaning as C, getLocalScheduleDate as Ct, isEventCalendarListLayout as D, resolveBookingBusinessTimeZone as Dt, isEventCalendarDisplayMode as E, parseUtcIsoDateTimeString as Et, normalizeEventStaffMemberId as F, blockBookingConsentSchema as G, publicEventLoaderQuerySchemaShape as H, normalizeEventSurfacePresets as I, toBookingRequirementConsentField as J, bookingConsentCarrierSchema as K, normalizeEventSurfacePresetsCsv as L, normalizeEventCategoryIds as M, normalizeEventCategoryIdsCsv as N, normalizeEventCalendarDisplayMode as O, resolveBookingTimeZoneId as Ot, normalizeEventScheduleScope as P, isObjectRecord as Q, normalizeEventSurfaceScope as R, eventCalendarListLayoutValues as S, getBookingLocalDateKey as St, isEventCalendarDefaultView as T, parseLocalScheduleTime as Tt, publicEventSchema as U, publicEventDestinationSchema as V, publicEventsArraySchema as W, RichTextDocSchema as X, blockBookingPaymentTermsSchema as Y, isRichTextDoc as Z, eventCalendarDefaultViewValues as _, addLocalScheduleDays as _t, eventCheckoutReturnResponseSchema as a, projectPublicLocation as at, eventCalendarListLayoutCompatibleDisplayModeValues as b, formatBookingCompactEnglishTime as bt, calendarMonthKey as c, mapDrawingSchema as ct, calendarWindowBounds as d, formatDateTime as dt, WHOLE_SERIES_EVENT_PRESET_VALUES as et, calendarWindowMonths as f, formatDateTimeRange as ft, resolveCalendarReadProfile as g, resolveBookingDisplayContext as gt, planCalendarMonthRanges as h, inferSiteDateLocale as ht, eventCheckoutResponseSchema as i, parseLocationValue as it, eventSurfaceScopeValues as j, toUtcIsoDateTimeString as jt, resolveEventCalendarReadPlan as k, toBookingTimeZone as kt, calendarPageResponseError as l, formatDate as lt, calendarWindowQuerySchema as m, formatTimeRange as mt, blockSiteTermsSchema as n, locationValueSchema as nt, eventRegisterResponseSchema as o, publicLocationSchema as ot, calendarWindowPageSchema as p, formatTime as pt, isBookingRequirementConsentFieldId as q, verifiedSiteTermsAcceptanceSchema as r, normalizeLocationAddressText as rt, calendarMonthDate as s, toLocationCoordinates as st, logger as t, decideLocationSourcePermission as tt, calendarQueryKey as u, formatDateRange as ut, eventCalendarDisplayModeValues as v, buildBookingUtcDateWindow as vt, eventListArrangementValues as w, parseBookingLocalDate as wt, eventCalendarListLayoutOptions as x, formatLocalScheduleDate as xt, eventCalendarListGroupingDecision as y, compareLocalScheduleDates as yt, normalizeEventVenueId as z };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
"use client";
|
|
3
|
-
import {
|
|
4
|
-
import { C as clsx,
|
|
3
|
+
import { dr as unsafeAsAppointmentResourceId } from "../schema-C-m8XHuW.mjs";
|
|
4
|
+
import { C as clsx, H as parsePositiveMoneyInputToCents, U as formatCurrencyAmount, V as resolveFlexibleBalancePaymentEligibility, i as ThemedButtonLink, o as ThemedFileChooser, r as ThemedButton, t as ThemedActionsButton, u as SpinnerNode, z as formatOrderInstalmentStatusLabel$1 } from "../ThemedButton-CnyL3s1A.mjs";
|
|
5
5
|
import { c as assertNever$1, t as assertNever } from "../src-VIsPY-kw.mjs";
|
|
6
|
-
import { t as logger } from "../noop-
|
|
6
|
+
import { t as logger } from "../noop-B7H6gCbj.mjs";
|
|
7
7
|
import { t as generateUuidV4 } from "../uuid-BETKW8rS.mjs";
|
|
8
8
|
import { t as resolveDedicatedBookingHref } from "../bookingRoute-Bqlyu5Vb.mjs";
|
|
9
|
-
import { t as CheckboxChoice } from "../CheckboxChoice-
|
|
10
|
-
import { t as DemoPortalSignInLink } from "../DemoPortalSignInLink-
|
|
9
|
+
import { t as CheckboxChoice } from "../CheckboxChoice-DWexRLf6.mjs";
|
|
10
|
+
import { t as DemoPortalSignInLink } from "../DemoPortalSignInLink-GHi-8BW5.mjs";
|
|
11
11
|
import { t as ModalShell } from "../ModalShell-B_fHWK71.mjs";
|
|
12
|
-
import { t as TabBarFragment } from "../TabBarFragment-
|
|
12
|
+
import { t as TabBarFragment } from "../TabBarFragment-Bkgz67gt.mjs";
|
|
13
13
|
import { i as getPortalCreditProductCreditNoun, r as getCreditProductTypeLabel, t as deriveCreditProductLabels } from "../creditProducts-BOWi1QLp.mjs";
|
|
14
|
-
import { t as formatDate } from "../formatDate-
|
|
15
|
-
import { i as createBlockApi, n as useBlockApi, t as BlockApiProvider } from "../context-
|
|
16
|
-
import { n as useAvailableDates, t as useAvailableSlots } from "../useAvailableSlots-
|
|
17
|
-
import { t as useBookingNowIso } from "../useBookingNowIso-
|
|
18
|
-
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-
|
|
19
|
-
import { a as isPast, i as formatPortalSession, n as formatDateTime, o as portalSessionDisplay, r as formatEntitlementEnd, t as formatDate$1 } from "../dateFormatting-
|
|
14
|
+
import { t as formatDate } from "../formatDate-Danr0Nk4.mjs";
|
|
15
|
+
import { i as createBlockApi, n as useBlockApi, t as BlockApiProvider } from "../context-9ZfMb6GA.mjs";
|
|
16
|
+
import { n as useAvailableDates, t as useAvailableSlots } from "../useAvailableSlots-D1X69-pN.mjs";
|
|
17
|
+
import { t as useBookingNowIso } from "../useBookingNowIso-Ch30jino.mjs";
|
|
18
|
+
import { n as buildPortalCallbackUrl, r as requestDemoPortalMagicLink } from "../demoPortalMagicLink-BxkSS9fx.mjs";
|
|
19
|
+
import { a as isPast, i as formatPortalSession, n as formatDateTime, o as portalSessionDisplay, r as formatEntitlementEnd, t as formatDate$1 } from "../dateFormatting-BCwLqYpW.mjs";
|
|
20
20
|
import * as React$1 from "react";
|
|
21
21
|
import React, { createContext, forwardRef, useCallback, useContext, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
22
22
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
package/dist/client/{product-detail.client-DUf5x5Jt.mjs → product-detail.client-CYTR165c.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { r as ProductDetailController } from "./shop-commerce-
|
|
2
|
+
import { r as ProductDetailController } from "./shop-commerce-TJYCBO_H.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as ProductListController } from "./shop-commerce-
|
|
2
|
+
import { i as ProductListController } from "./shop-commerce-TJYCBO_H.mjs";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/nodes/product-list.client.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductDetailClient } from "./product-detail.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
|
|
3
|
+
import { t as ProductDetailClient } from "./product-detail.client-CYTR165c.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-C3lHMz_R.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productDetail.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-detail");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductDetailClient, "product-detail");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
-
import { t as ProductListClient } from "./product-list.client-
|
|
4
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
2
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-G0j0HXBO.mjs";
|
|
3
|
+
import { t as ProductListClient } from "./product-list.client-B4vTvag8.mjs";
|
|
4
|
+
import { t as mountShopBlockIsland } from "./shopShared-C3lHMz_R.mjs";
|
|
5
5
|
//#region src/rendering/islands/enhancers/productList.tsx
|
|
6
6
|
const decode = defineIslandPropsDecoder("product-list");
|
|
7
7
|
const enhance = (root, props) => mountShopBlockIsland(root, props, ProductListClient, "product-list");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Fr as lookListPresentationSchemaShape, Or as createZodCodec, Pn as bookingFormInteractiveIslandPropsCodec, Tr as eventRegistrationPageSurfaceSubjectSchema, jr as isDecodeSuccess } from "./wizardSteps-
|
|
3
|
-
import { U as publicEventSchema } from "./noop-
|
|
4
|
-
import { Ct as eventCombinedInteractiveIslandPropsCodec, G as formInteractiveIslandPropsCodec, Nt as eventListingInteractiveIslandPropsCodec, Ot as eventCalendarInteractiveIslandPropsCodec, R as newsletterFormInteractiveIslandPropsCodec, V as giftingInteractiveIslandPropsCodec, X as eventRegistrationInteractiveIslandPropsCodec, cn as publicPassProductCollectionSchema, en as headerChromeRuntimeContractSchema, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec,
|
|
2
|
+
import { Fr as lookListPresentationSchemaShape, Or as createZodCodec, Pn as bookingFormInteractiveIslandPropsCodec, Tr as eventRegistrationPageSurfaceSubjectSchema, jr as isDecodeSuccess } from "./wizardSteps-BkZc-hKH.mjs";
|
|
3
|
+
import { U as publicEventSchema } from "./noop-B7H6gCbj.mjs";
|
|
4
|
+
import { Ct as eventCombinedInteractiveIslandPropsCodec, G as formInteractiveIslandPropsCodec, Nt as eventListingInteractiveIslandPropsCodec, Ot as eventCalendarInteractiveIslandPropsCodec, R as newsletterFormInteractiveIslandPropsCodec, V as giftingInteractiveIslandPropsCodec, X as eventRegistrationInteractiveIslandPropsCodec, cn as publicPassProductCollectionSchema, en as headerChromeRuntimeContractSchema, f as productDetailInteractiveIslandPropsCodec, g as shopInteractiveIslandPropsCodec, l as checkoutInteractiveIslandPropsCodec, m as productListInteractiveIslandPropsCodec, s as cartInteractiveIslandPropsCodec, sn as publicMembershipProductCollectionSchema } from "./shop.interactive-CVqLAU53.mjs";
|
|
5
5
|
import { t as eventAutoApplyDiscountPreviewSchema } from "./events-BmqPeeQm.mjs";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
//#region ../blocks/src/system/runtime/nodes/event-details/lookPresentation.ts
|
|
@@ -108,30 +108,6 @@ const eventDetailsIslandSchema = z.object({
|
|
|
108
108
|
className: z.string().nullable().optional(),
|
|
109
109
|
nowIso: z.string().datetime({ offset: true })
|
|
110
110
|
});
|
|
111
|
-
const weeklyHoursSchema = z.unknown().transform((value, ctx) => {
|
|
112
|
-
const parsed = parseWeeklyOpeningHours(value);
|
|
113
|
-
if (parsed.ok) return parsed.value;
|
|
114
|
-
ctx.addIssue({
|
|
115
|
-
code: "custom",
|
|
116
|
-
message: parsed.error.message
|
|
117
|
-
});
|
|
118
|
-
return z.NEVER;
|
|
119
|
-
});
|
|
120
|
-
const locationMapIslandSchema = z.object({
|
|
121
|
-
openingHours: weeklyHoursSchema.nullable().optional(),
|
|
122
|
-
showOpeningHours: z.boolean().optional(),
|
|
123
|
-
location: z.object({
|
|
124
|
-
addressText: z.string().nullable(),
|
|
125
|
-
lat: z.number().nullable(),
|
|
126
|
-
lng: z.number().nullable()
|
|
127
|
-
}).nullable().optional(),
|
|
128
|
-
zoom: z.number().nullable().optional(),
|
|
129
|
-
heightPx: z.number().nullable().optional(),
|
|
130
|
-
showAddressText: z.boolean().optional(),
|
|
131
|
-
showDirections: z.boolean().optional(),
|
|
132
|
-
directionsLabel: z.string().nullable().optional(),
|
|
133
|
-
className: z.string().nullable().optional()
|
|
134
|
-
});
|
|
135
111
|
const accordionIslandPropsCodec = createZodCodec(accordionIslandSchema);
|
|
136
112
|
const headerSectionIslandPropsCodec = createZodCodec(headerSectionIslandSchema);
|
|
137
113
|
const runtimeIslandCodecs = {
|
|
@@ -139,7 +115,6 @@ const runtimeIslandCodecs = {
|
|
|
139
115
|
carousel: createZodCodec(carouselIslandSchema),
|
|
140
116
|
headerSection: headerSectionIslandPropsCodec,
|
|
141
117
|
"event-details": createZodCodec(eventDetailsIslandSchema),
|
|
142
|
-
"location-map": createZodCodec(locationMapIslandSchema),
|
|
143
118
|
"booking-form": bookingFormInteractiveIslandPropsCodec,
|
|
144
119
|
"event-registration": eventRegistrationInteractiveIslandPropsCodec,
|
|
145
120
|
form: formInteractiveIslandPropsCodec,
|