@riverbankcms/sdk 0.135.0 → 0.135.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/dist/{PreviewEditorSidebar-roNY0GVy.mjs → PreviewEditorSidebar-D4p_5TdY.mjs} +3 -3
- package/dist/{PreviewEditorUI-KboDbEh_.mjs → PreviewEditorUI-D0cRoTX1.mjs} +2 -2
- package/dist/{SdkPreviewModeRuntime-DBrF7Caa.mjs → SdkPreviewModeRuntime-BKLtM3Nz.mjs} +3 -3
- package/dist/{SiteChromeCustomizeContext-DrIEpJKn.mjs → SiteChromeCustomizeContext-61X2m7QV.mjs} +35 -24
- package/dist/_dts/blocks/src/system/blocks/events/shared/schemas.d.ts +25 -0
- package/dist/_dts/blocks/src/system/runtime/nodes/events/shared/eventCollectionContract.d.ts +10 -0
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/client/{BookingConsentAgreement-BQqwi8Oa.mjs → BookingConsentAgreement-Bz9znbpn.mjs} +2 -2
- package/dist/client/{DiscountCodeDisclosure-B97aMo0V.mjs → DiscountCodeDisclosure-35Ru8yB9.mjs} +1 -1
- package/dist/client/{EventCombined.client-Bs2Iw9Q6.mjs → EventCombined.client-BKB0ZxRR.mjs} +2 -2
- package/dist/client/{EventListing.client-C4QUQdmg.mjs → EventListing.client-Dx8I21ok.mjs} +2 -2
- package/dist/client/{LeafletStaticMap-CwWRk69M.mjs → LeafletStaticMap-CEWx-Bhe.mjs} +1 -1
- package/dist/client/{accordion-BA0j8Mpw.mjs → accordion-KIDsKTwS.mjs} +1 -1
- package/dist/client/{bookingForm-Br2e41H0.mjs → bookingForm-D96Rmp-5.mjs} +4 -4
- package/dist/client/bookings.mjs +1 -0
- package/dist/client/{carousel-B4dmwnpD.mjs → carousel-YwUgyL66.mjs} +1 -1
- package/dist/client/{cart-B_ckGW4b.mjs → cart-BbwuNrUT.mjs} +3 -3
- package/dist/client/{checkout-DAyspHdf.mjs → checkout-hp1ucmEY.mjs} +3 -3
- package/dist/client/client.mjs +36 -25
- package/dist/client/{eventCalendar-pJu3FUod.mjs → eventCalendar-DU4iNLpo.mjs} +4 -4
- package/dist/client/{eventCombined-B6Kacm9F.mjs → eventCombined-CZuupW8m.mjs} +2 -2
- package/dist/client/{eventDetails-CaX9z1pv.mjs → eventDetails-DPQWwCIi.mjs} +2 -2
- package/dist/client/{eventListing-B9aXPO-I.mjs → eventListing-C7oMidwS.mjs} +2 -2
- package/dist/client/{eventRegistration-CBSovBkg.mjs → eventRegistration-zEiunlUs.mjs} +4 -4
- package/dist/client/{form-Cm0tu_7o.mjs → form-D2KIyCVJ.mjs} +1 -1
- package/dist/client/{headerSection-OgRtHeKS.mjs → headerSection-CK5uChUK.mjs} +2 -2
- package/dist/client/hooks.mjs +29 -22
- package/dist/client/{locationMap-DmjcYqNM.mjs → locationMap-DLQNH1ln.mjs} +2 -2
- package/dist/client/{newsletterForm-D08OZQAC.mjs → newsletterForm-ZuhIG7fZ.mjs} +1 -1
- package/dist/client/{productDetail-BqZeu2P4.mjs → productDetail-7hIcGeae.mjs} +3 -3
- package/dist/client/{productList-mNyIF9FG.mjs → productList-T4Cii1ot.mjs} +3 -3
- package/dist/client/{propsDecoder-DwHXRm9X.mjs → propsDecoder-mB0aC_Fi.mjs} +29 -22
- package/dist/client/rendering/client.mjs +35 -24
- package/dist/client/rendering/islands.mjs +17 -17
- package/dist/client/rendering.mjs +35 -24
- package/dist/client/{scrollToBlock-DtmdM3v-.mjs → scrollToBlock-Du5mHgvL.mjs} +1 -1
- package/dist/client/{shop-CNjZK16F.mjs → shop-B5zAcKZn.mjs} +5 -5
- package/dist/client/{shop-commerce-DkNNao1J.mjs → shop-commerce-BKBZB6l5.mjs} +4 -4
- package/dist/client/{shop-commerce-store-9WA--zuW.mjs → shop-commerce-store-Cq4qlNtQ.mjs} +1 -1
- package/dist/client/{shopShared-CHCVfccY.mjs → shopShared-DYGzEs9D.mjs} +2 -2
- package/dist/client/{useEventFilters-DvuaB4ZN.mjs → useEventFilters-Bphkda8m.mjs} +2 -2
- package/dist/preview-next/client/runtime.mjs +3 -3
- package/dist/{sdk-runtime-3GhW4knb.mjs → sdk-runtime-BbIC8G4J.mjs} +1 -1
- package/dist/{separator-D3bCWYYb.mjs → separator-CadhAtI7.mjs} +1 -1
- package/dist/server/components.mjs +35 -24
- package/dist/server/config-validation.mjs +29 -22
- package/dist/server/config.mjs +29 -22
- package/dist/server/data.mjs +29 -22
- package/dist/server/index.mjs +1 -1
- package/dist/server/next.mjs +36 -25
- package/dist/server/page-converter.mjs +29 -22
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +35 -24
- package/dist/server/rendering.mjs +35 -24
- package/dist/server/routing.mjs +29 -22
- package/dist/server/server.mjs +30 -23
- package/package.json +1 -1
package/dist/client/hooks.mjs
CHANGED
|
@@ -26799,6 +26799,7 @@ const publicWholeSeriesPriceDisplaySchema = z.discriminatedUnion("kind", [
|
|
|
26799
26799
|
freePriceDisplaySchema,
|
|
26800
26800
|
exactPriceDisplaySchema,
|
|
26801
26801
|
fromPriceDisplaySchema,
|
|
26802
|
+
rangePriceDisplaySchema,
|
|
26802
26803
|
unavailablePriceDisplaySchema
|
|
26803
26804
|
]);
|
|
26804
26805
|
z.discriminatedUnion("kind", [
|
|
@@ -27902,13 +27903,16 @@ function buildEventRegistrationShellStepLabels(source) {
|
|
|
27902
27903
|
}) : false).map((step) => shellLabelForRegistrationStep(step, scopedEvents));
|
|
27903
27904
|
}
|
|
27904
27905
|
function scopeEventRegistrationEvents(source) {
|
|
27906
|
+
return toRegistrationEvents(scopeEventRegistrationSourceEvents(source));
|
|
27907
|
+
}
|
|
27908
|
+
function scopeEventRegistrationSourceEvents(source) {
|
|
27905
27909
|
const scope = planEventRegistrationScope({
|
|
27906
|
-
events:
|
|
27910
|
+
events: source.events ?? [],
|
|
27907
27911
|
wholeSeriesOffering: source.wholeSeriesOffering,
|
|
27908
27912
|
occurrenceContext: source.occurrenceContext,
|
|
27909
27913
|
subject: source.subject
|
|
27910
27914
|
});
|
|
27911
|
-
return scope.kind === "invalidSelectedRun" ? [] : scope.events;
|
|
27915
|
+
return scope.kind === "invalidSelectedRun" ? [] : [...scope.events];
|
|
27912
27916
|
}
|
|
27913
27917
|
function shellLabelForRegistrationStep(step, events) {
|
|
27914
27918
|
switch (step) {
|
|
@@ -27940,26 +27944,29 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
27940
27944
|
source: createZodCodec(eventRegistrationSourceSchema),
|
|
27941
27945
|
render: createZodCodec(eventRegistrationRenderSchema)
|
|
27942
27946
|
},
|
|
27943
|
-
buildRender: (source) =>
|
|
27944
|
-
|
|
27945
|
-
|
|
27946
|
-
|
|
27947
|
-
|
|
27948
|
-
|
|
27949
|
-
|
|
27950
|
-
|
|
27951
|
-
|
|
27952
|
-
|
|
27953
|
-
|
|
27954
|
-
|
|
27955
|
-
|
|
27956
|
-
|
|
27957
|
-
|
|
27958
|
-
|
|
27959
|
-
|
|
27960
|
-
|
|
27961
|
-
|
|
27962
|
-
|
|
27947
|
+
buildRender: (source) => {
|
|
27948
|
+
const events = source.events == null ? null : scopeEventRegistrationSourceEvents(source);
|
|
27949
|
+
return {
|
|
27950
|
+
display: buildEventRegistrationDisplay(source),
|
|
27951
|
+
hydration: {
|
|
27952
|
+
occurrenceContext: source.occurrenceContext ?? null,
|
|
27953
|
+
subject: source.subject ?? null,
|
|
27954
|
+
events,
|
|
27955
|
+
wholeSeriesOfferings: source.wholeSeriesOfferings ?? null,
|
|
27956
|
+
wholeSeriesOffering: resolveWholeSeriesOffering(source),
|
|
27957
|
+
maxTickets: source.maxTickets ?? void 0,
|
|
27958
|
+
showVenue: source.showVenue,
|
|
27959
|
+
showCapacity: source.showCapacity,
|
|
27960
|
+
successMessage: source.successMessage,
|
|
27961
|
+
buttonVariant: source.buttonVariant,
|
|
27962
|
+
overlayEnabled: source.overlayEnabled,
|
|
27963
|
+
spamProtectionEnabled: source.spamProtectionEnabled,
|
|
27964
|
+
supportEmail: source.supportEmail,
|
|
27965
|
+
sitePasses: source.sitePasses ?? null,
|
|
27966
|
+
siteMemberships: source.siteMemberships ?? null
|
|
27967
|
+
}
|
|
27968
|
+
};
|
|
27969
|
+
}
|
|
27963
27970
|
});
|
|
27964
27971
|
function normalizeEventRegistrationEventInput(value) {
|
|
27965
27972
|
if (!isRecord$5(value)) return value;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { i as textColorStyle } from "./colorStyles-CrxJrPjJ.mjs";
|
|
2
|
-
import { st as themeButtonClassName, t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { st as themeButtonClassName, t as defineIslandPropsDecoder } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
3
3
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
4
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
4
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-CEWx-Bhe.mjs";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region ../core/src/location.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { D as clsx } from "./colorStyles-CrxJrPjJ.mjs";
|
|
3
|
-
import { At as assertNever, en as assertNever$1, st as themeButtonClassName, t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
3
|
+
import { At as assertNever, en as assertNever$1, st as themeButtonClassName, t as defineIslandPropsDecoder } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
4
4
|
import { n as useBlockApi, t as BlockApiProvider } from "./context-DljQn8L5.mjs";
|
|
5
5
|
import { n as isSpamProtectionEnabled, r as AltchaWidget, t as getChallengeUrl } from "./src-B833rYRr.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
-
import { r as ProductDetailController } from "./shop-commerce-
|
|
3
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
2
|
+
import { r as ProductDetailController } from "./shop-commerce-BKBZB6l5.mjs";
|
|
3
|
+
import { t as mountShopBlockIsland } from "./shopShared-DYGzEs9D.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/product-detail.client.tsx
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
-
import { i as ProductListController } from "./shop-commerce-
|
|
3
|
-
import { t as mountShopBlockIsland } from "./shopShared-
|
|
1
|
+
import { t as defineIslandPropsDecoder } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
2
|
+
import { i as ProductListController } from "./shop-commerce-BKBZB6l5.mjs";
|
|
3
|
+
import { t as mountShopBlockIsland } from "./shopShared-DYGzEs9D.mjs";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region ../blocks/src/system/runtime/nodes/product-list.client.tsx
|
|
@@ -6325,6 +6325,7 @@ const publicWholeSeriesPriceDisplaySchema = z.discriminatedUnion("kind", [
|
|
|
6325
6325
|
freePriceDisplaySchema,
|
|
6326
6326
|
exactPriceDisplaySchema,
|
|
6327
6327
|
fromPriceDisplaySchema,
|
|
6328
|
+
rangePriceDisplaySchema,
|
|
6328
6329
|
unavailablePriceDisplaySchema
|
|
6329
6330
|
]);
|
|
6330
6331
|
z.discriminatedUnion("kind", [
|
|
@@ -10876,13 +10877,16 @@ function buildEventRegistrationShellStepLabels(source) {
|
|
|
10876
10877
|
}) : false).map((step) => shellLabelForRegistrationStep(step, scopedEvents));
|
|
10877
10878
|
}
|
|
10878
10879
|
function scopeEventRegistrationEvents(source) {
|
|
10880
|
+
return toRegistrationEvents(scopeEventRegistrationSourceEvents(source));
|
|
10881
|
+
}
|
|
10882
|
+
function scopeEventRegistrationSourceEvents(source) {
|
|
10879
10883
|
const scope = planEventRegistrationScope({
|
|
10880
|
-
events:
|
|
10884
|
+
events: source.events ?? [],
|
|
10881
10885
|
wholeSeriesOffering: source.wholeSeriesOffering,
|
|
10882
10886
|
occurrenceContext: source.occurrenceContext,
|
|
10883
10887
|
subject: source.subject
|
|
10884
10888
|
});
|
|
10885
|
-
return scope.kind === "invalidSelectedRun" ? [] : scope.events;
|
|
10889
|
+
return scope.kind === "invalidSelectedRun" ? [] : [...scope.events];
|
|
10886
10890
|
}
|
|
10887
10891
|
function shellLabelForRegistrationStep(step, events) {
|
|
10888
10892
|
switch (step) {
|
|
@@ -10914,26 +10918,29 @@ const eventRegistrationBlockRuntime = defineClientOwnedBlockRuntime({
|
|
|
10914
10918
|
source: createZodCodec(eventRegistrationSourceSchema),
|
|
10915
10919
|
render: createZodCodec(eventRegistrationRenderSchema)
|
|
10916
10920
|
},
|
|
10917
|
-
buildRender: (source) =>
|
|
10918
|
-
|
|
10919
|
-
|
|
10920
|
-
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10921
|
+
buildRender: (source) => {
|
|
10922
|
+
const events = source.events == null ? null : scopeEventRegistrationSourceEvents(source);
|
|
10923
|
+
return {
|
|
10924
|
+
display: buildEventRegistrationDisplay(source),
|
|
10925
|
+
hydration: {
|
|
10926
|
+
occurrenceContext: source.occurrenceContext ?? null,
|
|
10927
|
+
subject: source.subject ?? null,
|
|
10928
|
+
events,
|
|
10929
|
+
wholeSeriesOfferings: source.wholeSeriesOfferings ?? null,
|
|
10930
|
+
wholeSeriesOffering: resolveWholeSeriesOffering(source),
|
|
10931
|
+
maxTickets: source.maxTickets ?? void 0,
|
|
10932
|
+
showVenue: source.showVenue,
|
|
10933
|
+
showCapacity: source.showCapacity,
|
|
10934
|
+
successMessage: source.successMessage,
|
|
10935
|
+
buttonVariant: source.buttonVariant,
|
|
10936
|
+
overlayEnabled: source.overlayEnabled,
|
|
10937
|
+
spamProtectionEnabled: source.spamProtectionEnabled,
|
|
10938
|
+
supportEmail: source.supportEmail,
|
|
10939
|
+
sitePasses: source.sitePasses ?? null,
|
|
10940
|
+
siteMemberships: source.siteMemberships ?? null
|
|
10941
|
+
}
|
|
10942
|
+
};
|
|
10943
|
+
}
|
|
10937
10944
|
});
|
|
10938
10945
|
function normalizeEventRegistrationEventInput(value) {
|
|
10939
10946
|
if (!isRecord(value)) return value;
|
|
@@ -15946,9 +15946,13 @@ function EventDetailsSSR(props) {
|
|
|
15946
15946
|
const { blockId, occurrenceContext = null, subject, events = null, className, children } = props;
|
|
15947
15947
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
15948
15948
|
const normalizedSubject = normalizeEventRegistrationPageSurfaceSubject(subject);
|
|
15949
|
+
const scopedEvents = events === null ? null : resolveEventRegistrationScopedEvents(events, {
|
|
15950
|
+
occurrenceContext,
|
|
15951
|
+
subject: normalizedSubject
|
|
15952
|
+
});
|
|
15949
15953
|
const presentation = resolveEventDetailsPresentation({
|
|
15950
15954
|
...props,
|
|
15951
|
-
events,
|
|
15955
|
+
events: scopedEvents,
|
|
15952
15956
|
occurrenceContext,
|
|
15953
15957
|
subject: normalizedSubject,
|
|
15954
15958
|
nowIso
|
|
@@ -15961,7 +15965,7 @@ function EventDetailsSSR(props) {
|
|
|
15961
15965
|
/* @__PURE__ */ jsx(IslandPropsScript, { value: {
|
|
15962
15966
|
occurrenceContext,
|
|
15963
15967
|
subject: normalizedSubject,
|
|
15964
|
-
events,
|
|
15968
|
+
events: scopedEvents,
|
|
15965
15969
|
showVenue: presentation.showVenue,
|
|
15966
15970
|
showMap: presentation.showMap,
|
|
15967
15971
|
showOtherDates: presentation.showOtherDates,
|
|
@@ -16812,6 +16816,7 @@ var init_schemas = __esmMin((() => {
|
|
|
16812
16816
|
freePriceDisplaySchema,
|
|
16813
16817
|
exactPriceDisplaySchema,
|
|
16814
16818
|
fromPriceDisplaySchema,
|
|
16819
|
+
rangePriceDisplaySchema,
|
|
16815
16820
|
unavailablePriceDisplaySchema
|
|
16816
16821
|
]);
|
|
16817
16822
|
z.discriminatedUnion("kind", [
|
|
@@ -31949,13 +31954,16 @@ function buildEventRegistrationShellStepLabels(source) {
|
|
|
31949
31954
|
}) : false).map((step) => shellLabelForRegistrationStep(step, scopedEvents));
|
|
31950
31955
|
}
|
|
31951
31956
|
function scopeEventRegistrationEvents(source) {
|
|
31957
|
+
return toRegistrationEvents(scopeEventRegistrationSourceEvents(source));
|
|
31958
|
+
}
|
|
31959
|
+
function scopeEventRegistrationSourceEvents(source) {
|
|
31952
31960
|
const scope = planEventRegistrationScope({
|
|
31953
|
-
events:
|
|
31961
|
+
events: source.events ?? [],
|
|
31954
31962
|
wholeSeriesOffering: source.wholeSeriesOffering,
|
|
31955
31963
|
occurrenceContext: source.occurrenceContext,
|
|
31956
31964
|
subject: source.subject
|
|
31957
31965
|
});
|
|
31958
|
-
return scope.kind === "invalidSelectedRun" ? [] : scope.events;
|
|
31966
|
+
return scope.kind === "invalidSelectedRun" ? [] : [...scope.events];
|
|
31959
31967
|
}
|
|
31960
31968
|
function shellLabelForRegistrationStep(step, events) {
|
|
31961
31969
|
switch (step) {
|
|
@@ -32098,26 +32106,29 @@ var init_event_registration_interactive = __esmMin((() => {
|
|
|
32098
32106
|
source: createZodCodec(eventRegistrationSourceSchema),
|
|
32099
32107
|
render: createZodCodec(eventRegistrationRenderSchema)
|
|
32100
32108
|
},
|
|
32101
|
-
buildRender: (source) =>
|
|
32102
|
-
|
|
32103
|
-
|
|
32104
|
-
|
|
32105
|
-
|
|
32106
|
-
|
|
32107
|
-
|
|
32108
|
-
|
|
32109
|
-
|
|
32110
|
-
|
|
32111
|
-
|
|
32112
|
-
|
|
32113
|
-
|
|
32114
|
-
|
|
32115
|
-
|
|
32116
|
-
|
|
32117
|
-
|
|
32118
|
-
|
|
32119
|
-
|
|
32120
|
-
|
|
32109
|
+
buildRender: (source) => {
|
|
32110
|
+
const events = source.events == null ? null : scopeEventRegistrationSourceEvents(source);
|
|
32111
|
+
return {
|
|
32112
|
+
display: buildEventRegistrationDisplay(source),
|
|
32113
|
+
hydration: {
|
|
32114
|
+
occurrenceContext: source.occurrenceContext ?? null,
|
|
32115
|
+
subject: source.subject ?? null,
|
|
32116
|
+
events,
|
|
32117
|
+
wholeSeriesOfferings: source.wholeSeriesOfferings ?? null,
|
|
32118
|
+
wholeSeriesOffering: resolveWholeSeriesOffering(source),
|
|
32119
|
+
maxTickets: source.maxTickets ?? void 0,
|
|
32120
|
+
showVenue: source.showVenue,
|
|
32121
|
+
showCapacity: source.showCapacity,
|
|
32122
|
+
successMessage: source.successMessage,
|
|
32123
|
+
buttonVariant: source.buttonVariant,
|
|
32124
|
+
overlayEnabled: source.overlayEnabled,
|
|
32125
|
+
spamProtectionEnabled: source.spamProtectionEnabled,
|
|
32126
|
+
supportEmail: source.supportEmail,
|
|
32127
|
+
sitePasses: source.sitePasses ?? null,
|
|
32128
|
+
siteMemberships: source.siteMemberships ?? null
|
|
32129
|
+
}
|
|
32130
|
+
};
|
|
32131
|
+
}
|
|
32121
32132
|
});
|
|
32122
32133
|
eventRegistrationInteractiveIslandPropsCodec = createInteractiveIslandCodec({
|
|
32123
32134
|
runtime: eventRegistrationBlockRuntime,
|
|
@@ -75,23 +75,23 @@ function isSafeHttpsUrl(value) {
|
|
|
75
75
|
//#endregion
|
|
76
76
|
//#region src/rendering/islands/hydrateBlocksIslands.ts
|
|
77
77
|
const defaultEnhancerLoaders = {
|
|
78
|
-
accordion: () => import("../accordion-
|
|
79
|
-
headerSection: () => import("../headerSection-
|
|
80
|
-
carousel: () => import("../carousel-
|
|
81
|
-
form: () => import("../form-
|
|
82
|
-
"booking-form": () => import("../bookingForm-
|
|
83
|
-
"event-registration": () => import("../eventRegistration-
|
|
84
|
-
"event-details": () => import("../eventDetails-
|
|
85
|
-
"location-map": () => import("../locationMap-
|
|
86
|
-
"event-listing": () => import("../eventListing-
|
|
87
|
-
"event-calendar": () => import("../eventCalendar-
|
|
88
|
-
"event-combined": () => import("../eventCombined-
|
|
89
|
-
"product-list": () => import("../productList-
|
|
90
|
-
"product-detail": () => import("../productDetail-
|
|
91
|
-
"cart": () => import("../cart-
|
|
92
|
-
"checkout": () => import("../checkout-
|
|
93
|
-
shop: () => import("../shop-
|
|
94
|
-
"newsletter-form": () => import("../newsletterForm-
|
|
78
|
+
accordion: () => import("../accordion-KIDsKTwS.mjs"),
|
|
79
|
+
headerSection: () => import("../headerSection-CK5uChUK.mjs"),
|
|
80
|
+
carousel: () => import("../carousel-YwUgyL66.mjs"),
|
|
81
|
+
form: () => import("../form-D2KIyCVJ.mjs"),
|
|
82
|
+
"booking-form": () => import("../bookingForm-D96Rmp-5.mjs"),
|
|
83
|
+
"event-registration": () => import("../eventRegistration-zEiunlUs.mjs"),
|
|
84
|
+
"event-details": () => import("../eventDetails-DPQWwCIi.mjs"),
|
|
85
|
+
"location-map": () => import("../locationMap-DLQNH1ln.mjs"),
|
|
86
|
+
"event-listing": () => import("../eventListing-C7oMidwS.mjs"),
|
|
87
|
+
"event-calendar": () => import("../eventCalendar-DU4iNLpo.mjs"),
|
|
88
|
+
"event-combined": () => import("../eventCombined-CZuupW8m.mjs"),
|
|
89
|
+
"product-list": () => import("../productList-T4Cii1ot.mjs"),
|
|
90
|
+
"product-detail": () => import("../productDetail-7hIcGeae.mjs"),
|
|
91
|
+
"cart": () => import("../cart-BbwuNrUT.mjs"),
|
|
92
|
+
"checkout": () => import("../checkout-hp1ucmEY.mjs"),
|
|
93
|
+
shop: () => import("../shop-B5zAcKZn.mjs"),
|
|
94
|
+
"newsletter-form": () => import("../newsletterForm-ZuhIG7fZ.mjs")
|
|
95
95
|
};
|
|
96
96
|
const DEFAULT_MAX_RETRIES = 2;
|
|
97
97
|
const RETRY_DELAYS_MS = [250, 1e3];
|
|
@@ -12377,6 +12377,7 @@ var init_schemas = __esmMin((() => {
|
|
|
12377
12377
|
freePriceDisplaySchema,
|
|
12378
12378
|
exactPriceDisplaySchema,
|
|
12379
12379
|
fromPriceDisplaySchema,
|
|
12380
|
+
rangePriceDisplaySchema,
|
|
12380
12381
|
unavailablePriceDisplaySchema
|
|
12381
12382
|
]);
|
|
12382
12383
|
z$1.discriminatedUnion("kind", [
|
|
@@ -31570,13 +31571,16 @@ function buildEventRegistrationShellStepLabels(source) {
|
|
|
31570
31571
|
}) : false).map((step) => shellLabelForRegistrationStep(step, scopedEvents));
|
|
31571
31572
|
}
|
|
31572
31573
|
function scopeEventRegistrationEvents(source) {
|
|
31574
|
+
return toRegistrationEvents(scopeEventRegistrationSourceEvents(source));
|
|
31575
|
+
}
|
|
31576
|
+
function scopeEventRegistrationSourceEvents(source) {
|
|
31573
31577
|
const scope = planEventRegistrationScope({
|
|
31574
|
-
events:
|
|
31578
|
+
events: source.events ?? [],
|
|
31575
31579
|
wholeSeriesOffering: source.wholeSeriesOffering,
|
|
31576
31580
|
occurrenceContext: source.occurrenceContext,
|
|
31577
31581
|
subject: source.subject
|
|
31578
31582
|
});
|
|
31579
|
-
return scope.kind === "invalidSelectedRun" ? [] : scope.events;
|
|
31583
|
+
return scope.kind === "invalidSelectedRun" ? [] : [...scope.events];
|
|
31580
31584
|
}
|
|
31581
31585
|
function shellLabelForRegistrationStep(step, events) {
|
|
31582
31586
|
switch (step) {
|
|
@@ -31719,26 +31723,29 @@ var init_event_registration_interactive = __esmMin((() => {
|
|
|
31719
31723
|
source: createZodCodec(eventRegistrationSourceSchema),
|
|
31720
31724
|
render: createZodCodec(eventRegistrationRenderSchema)
|
|
31721
31725
|
},
|
|
31722
|
-
buildRender: (source) =>
|
|
31723
|
-
|
|
31724
|
-
|
|
31725
|
-
|
|
31726
|
-
|
|
31727
|
-
|
|
31728
|
-
|
|
31729
|
-
|
|
31730
|
-
|
|
31731
|
-
|
|
31732
|
-
|
|
31733
|
-
|
|
31734
|
-
|
|
31735
|
-
|
|
31736
|
-
|
|
31737
|
-
|
|
31738
|
-
|
|
31739
|
-
|
|
31740
|
-
|
|
31741
|
-
|
|
31726
|
+
buildRender: (source) => {
|
|
31727
|
+
const events = source.events == null ? null : scopeEventRegistrationSourceEvents(source);
|
|
31728
|
+
return {
|
|
31729
|
+
display: buildEventRegistrationDisplay(source),
|
|
31730
|
+
hydration: {
|
|
31731
|
+
occurrenceContext: source.occurrenceContext ?? null,
|
|
31732
|
+
subject: source.subject ?? null,
|
|
31733
|
+
events,
|
|
31734
|
+
wholeSeriesOfferings: source.wholeSeriesOfferings ?? null,
|
|
31735
|
+
wholeSeriesOffering: resolveWholeSeriesOffering(source),
|
|
31736
|
+
maxTickets: source.maxTickets ?? void 0,
|
|
31737
|
+
showVenue: source.showVenue,
|
|
31738
|
+
showCapacity: source.showCapacity,
|
|
31739
|
+
successMessage: source.successMessage,
|
|
31740
|
+
buttonVariant: source.buttonVariant,
|
|
31741
|
+
overlayEnabled: source.overlayEnabled,
|
|
31742
|
+
spamProtectionEnabled: source.spamProtectionEnabled,
|
|
31743
|
+
supportEmail: source.supportEmail,
|
|
31744
|
+
sitePasses: source.sitePasses ?? null,
|
|
31745
|
+
siteMemberships: source.siteMemberships ?? null
|
|
31746
|
+
}
|
|
31747
|
+
};
|
|
31748
|
+
}
|
|
31742
31749
|
});
|
|
31743
31750
|
eventRegistrationInteractiveIslandPropsCodec = createInteractiveIslandCodec({
|
|
31744
31751
|
runtime: eventRegistrationBlockRuntime,
|
|
@@ -127561,9 +127568,13 @@ function EventDetailsSSR(props) {
|
|
|
127561
127568
|
const { blockId, occurrenceContext = null, subject, events = null, className, children } = props;
|
|
127562
127569
|
const nowIso = (/* @__PURE__ */ new Date()).toISOString();
|
|
127563
127570
|
const normalizedSubject = normalizeEventRegistrationPageSurfaceSubject(subject);
|
|
127571
|
+
const scopedEvents = events === null ? null : resolveEventRegistrationScopedEvents(events, {
|
|
127572
|
+
occurrenceContext,
|
|
127573
|
+
subject: normalizedSubject
|
|
127574
|
+
});
|
|
127564
127575
|
const presentation = resolveEventDetailsPresentation({
|
|
127565
127576
|
...props,
|
|
127566
|
-
events,
|
|
127577
|
+
events: scopedEvents,
|
|
127567
127578
|
occurrenceContext,
|
|
127568
127579
|
subject: normalizedSubject,
|
|
127569
127580
|
nowIso
|
|
@@ -127576,7 +127587,7 @@ function EventDetailsSSR(props) {
|
|
|
127576
127587
|
/* @__PURE__ */ jsx(IslandPropsScript, { value: {
|
|
127577
127588
|
occurrenceContext,
|
|
127578
127589
|
subject: normalizedSubject,
|
|
127579
|
-
events,
|
|
127590
|
+
events: scopedEvents,
|
|
127580
127591
|
showVenue: presentation.showVenue,
|
|
127581
127592
|
showMap: presentation.showMap,
|
|
127582
127593
|
showOtherDates: presentation.showOtherDates,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
2
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-35Ru8yB9.mjs";
|
|
3
3
|
import { useEffect, useReducer, useRef } from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region ../blocks/src/system/runtime/shared/components/CheckIcon.tsx
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { At as assertNever, en as assertNever$1, o as formatCommercePrice, s as formatInterval, st as themeButtonClassName, t as defineIslandPropsDecoder } from "./propsDecoder-
|
|
2
|
+
import { At as assertNever, en as assertNever$1, o as formatCommercePrice, s as formatInterval, st as themeButtonClassName, t as defineIslandPropsDecoder } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
3
3
|
import { n as useBlockApi } from "./context-DljQn8L5.mjs";
|
|
4
|
-
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-
|
|
5
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
4
|
+
import { a as CheckIcon, i as StateIcon, n as useDiscountCodeUi, r as TerminalPanel, t as scrollToBlock } from "./scrollToBlock-Du5mHgvL.mjs";
|
|
5
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-35Ru8yB9.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
7
|
import { t as createBodyThemePortalRoot } from "./themePortalRoot-AGs4cE7t.mjs";
|
|
8
8
|
import { n as consumeSearchParams } from "./urlParams-D71VXFGx.mjs";
|
|
9
9
|
import { t as CrossIcon } from "./CrossIcon-Dn1KRKW5.mjs";
|
|
10
|
-
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-
|
|
11
|
-
import { t as addPassToCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { _ as MembershipCardView, a as getDiscountApplyFeedback, b as PassesMembershipsSectionView, d as planDirectShopCheckoutRequest, i as getAppliedDiscountCode, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, t as mountShopBlockIsland, v as PassCardView, y as PassPurchaseUnavailable } from "./shopShared-DYGzEs9D.mjs";
|
|
11
|
+
import { t as addPassToCommerceCart } from "./shop-commerce-store-Cq4qlNtQ.mjs";
|
|
12
12
|
import { t as ModalShell } from "./ModalShell-CqkBvBIC.mjs";
|
|
13
13
|
import React, { useCallback, useEffect, useRef, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { At as assertNever, Ft as reportWorkflowError, Ot as RichTextDocSchema, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, jt as clearWorkflowFeedback, lt as logger, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, st as themeButtonClassName, u as buildProductCartItem } from "./propsDecoder-
|
|
2
|
+
import { At as assertNever, Ft as reportWorkflowError, Ot as RichTextDocSchema, a as buildProductDetailDisplay, d as deriveCommerceCheckoutState, i as buildProductCardDisplay, jt as clearWorkflowFeedback, lt as logger, n as getShopDisplayForItems, o as formatCommercePrice, p as productItemKey, st as themeButtonClassName, u as buildProductCartItem } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
3
3
|
import { n as useBlockApi } from "./context-DljQn8L5.mjs";
|
|
4
|
-
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-
|
|
4
|
+
import { t as DiscountCodeDisclosure } from "./DiscountCodeDisclosure-35Ru8yB9.mjs";
|
|
5
5
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
6
6
|
import { n as RichText, t as buildCheckoutReturnUrls } from "./checkoutUrls-BuseL0dw.mjs";
|
|
7
7
|
import { t as consumeSearchParam } from "./urlParams-D71VXFGx.mjs";
|
|
8
8
|
import { t as CarouselNodeClient } from "./carousel.client-59G_WMr4.mjs";
|
|
9
9
|
import { t as resolveDedicatedCheckoutPath } from "./checkoutRoute-ClwHwYVA.mjs";
|
|
10
|
-
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-
|
|
11
|
-
import { n as useCommerceCart } from "./shop-commerce-store-
|
|
10
|
+
import { C as ProductGalleryFrameView, S as ProductDetailView, T as VariantSelectView, a as getDiscountApplyFeedback, c as aggregateCartDiscountUiState, f as planUnifiedCheckoutRequest, g as CheckoutShellView, h as CartShellView, i as getAppliedDiscountCode, l as checkoutFormForDiscountUiState, m as useTransientShopAddFeedback, n as useDiscountApply, o as initialDiscountApplyState, p as ShopAddFeedback, r as discountApplyReducer, s as isDiscountApplyInFlight, u as planCartDiscountAvailabilityRequests, w as ProductListSectionView, x as ProductCardView } from "./shopShared-DYGzEs9D.mjs";
|
|
11
|
+
import { n as useCommerceCart } from "./shop-commerce-store-Cq4qlNtQ.mjs";
|
|
12
12
|
import * as React$1 from "react";
|
|
13
13
|
import { useEffect, useState } from "react";
|
|
14
14
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-
|
|
2
|
+
import { c as EMPTY_COMMERCE_CART_STATE, f as parseStoredCommerceCartState, l as buildPassCartItem, m as reduceCommerceCart } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
//#region ../blocks/src/system/runtime/nodes/shop-commerce-store.ts
|
|
5
5
|
const EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { E as ok, T as err } from "./colorStyles-CrxJrPjJ.mjs";
|
|
3
|
-
import { At as assertNever } from "./propsDecoder-
|
|
3
|
+
import { At as assertNever } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
4
4
|
import { t as BlockApiProvider } from "./context-DljQn8L5.mjs";
|
|
5
|
-
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-
|
|
5
|
+
import { i as getAutoAppliedDiscountPreview, n as discountAvailabilityAllowsManualEntry, r as discountAvailabilityHasDiscounts } from "./DiscountCodeDisclosure-35Ru8yB9.mjs";
|
|
6
6
|
import { t as FeedbackMessage } from "./FeedbackMessage-CtLvvS_d.mjs";
|
|
7
7
|
import { t as mountReactIsland } from "./reactMount-SY8AVRof.mjs";
|
|
8
8
|
import { t as buildRouteIslandApiConfig } from "./routeIslandApiConfig-UNsfPcYq.mjs";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { d as hexToRgb, u as relativeLuminance } from "./colorStyles-CrxJrPjJ.mjs";
|
|
3
|
-
import { A as isSemanticSpacing, At as assertNever, B as formatEventPrice, F as normalizeCsvString, H as formatEventTeacherLine, I as normalizeOptionalId, L as formatDate, N as getEventRuntimeFiltersKey, P as normalizeCsvIds, R as formatEventCompactDateRail, U as formatTime, X as getEventAvailability, at as resolveOnColorForThemeToken, ct as normalizeCardRole, it as isCssColorLiteral, j as resolveSpacing, k as SEMANTIC_SPACING_VALUES, ot as resolveTokenOrCssColorValue, q as resolveEventCta, rt as boxBackgroundSchema, st as themeButtonClassName } from "./propsDecoder-
|
|
3
|
+
import { A as isSemanticSpacing, At as assertNever, B as formatEventPrice, F as normalizeCsvString, H as formatEventTeacherLine, I as normalizeOptionalId, L as formatDate, N as getEventRuntimeFiltersKey, P as normalizeCsvIds, R as formatEventCompactDateRail, U as formatTime, X as getEventAvailability, at as resolveOnColorForThemeToken, ct as normalizeCardRole, it as isCssColorLiteral, j as resolveSpacing, k as SEMANTIC_SPACING_VALUES, ot as resolveTokenOrCssColorValue, q as resolveEventCta, rt as boxBackgroundSchema, st as themeButtonClassName } from "./propsDecoder-mB0aC_Fi.mjs";
|
|
4
4
|
import { a as getCurrentResolveImageUrlContext, i as computeMediaTransformStyle, l as resolveMediaNodeResponsiveImage, n as MediaPlaceholder, o as renderAudio, s as renderVideo, t as ImagePresets } from "./media-BOHuueS5.mjs";
|
|
5
5
|
import { n as useBlockApi } from "./context-DljQn8L5.mjs";
|
|
6
|
-
import { t as LeafletStaticMap } from "./LeafletStaticMap-
|
|
6
|
+
import { t as LeafletStaticMap } from "./LeafletStaticMap-CEWx-Bhe.mjs";
|
|
7
7
|
import { useCallback, useEffect, useId, useMemo, useReducer, useRef, useState } from "react";
|
|
8
8
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region ../theme-core/src/palette/utils/textColor.ts
|
|
@@ -4,13 +4,13 @@ import React from "react";
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region src/preview-next/client/runtime.tsx
|
|
6
6
|
const LazySdkPreviewMode = React.lazy(async () => {
|
|
7
|
-
return { default: (await import("../../SdkPreviewModeRuntime-
|
|
7
|
+
return { default: (await import("../../SdkPreviewModeRuntime-BKLtM3Nz.mjs").then((n) => n.n)).SdkPreviewModeRuntime };
|
|
8
8
|
});
|
|
9
9
|
const LazyPreviewShell = React.lazy(async () => {
|
|
10
|
-
return { default: (await import("../../sdk-runtime-
|
|
10
|
+
return { default: (await import("../../sdk-runtime-BbIC8G4J.mjs")).PreviewShell };
|
|
11
11
|
});
|
|
12
12
|
const LazyPreviewShellLayout = React.lazy(async () => {
|
|
13
|
-
return { default: (await import("../../sdk-runtime-
|
|
13
|
+
return { default: (await import("../../sdk-runtime-BbIC8G4J.mjs")).PreviewShellLayout };
|
|
14
14
|
});
|
|
15
15
|
function SdkPreviewMode(props) {
|
|
16
16
|
return /* @__PURE__ */ jsx(React.Suspense, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "./PreviewQueryProvider-DcgaESkm.mjs";
|
|
3
|
-
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-
|
|
3
|
+
import { i as PreviewShellLayout, r as PreviewShell } from "./SdkPreviewModeRuntime-BKLtM3Nz.mjs";
|
|
4
4
|
export { PreviewShell, PreviewShellLayout };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { Oa as Primitive, ja as cn } from "./SiteChromeCustomizeContext-
|
|
2
|
+
import { Oa as Primitive, ja as cn } from "./SiteChromeCustomizeContext-61X2m7QV.mjs";
|
|
3
3
|
import * as React$1 from "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../node_modules/.pnpm/@radix-ui+react-separator@1.1.10_@types+react-dom@19.2.3_@types+react@19.2.17__@types+r_adfab47c9055efb8b0c4b77a2b96b053/node_modules/@radix-ui/react-separator/dist/index.mjs
|