@riverbankcms/sdk 0.92.0 → 0.94.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/{PreviewEditorSidebar-3CI5MKV3.mjs → PreviewEditorSidebar-D3PAF7NW.mjs} +3 -3
- package/dist/{PreviewEditorUI-DKEP636I.mjs → PreviewEditorUI-G5JVJEIJ.mjs} +3 -3
- package/dist/SdkPreviewModeRuntime-NHTLRNQD.mjs +8 -0
- package/dist/_dts/api/src/common/envelope.d.ts +10 -0
- package/dist/_dts/api/src/index.d.ts +2 -2
- package/dist/_dts/api/src/request.d.ts +1 -1
- package/dist/_dts/blocks/src/system/manifest/fieldValidation/index.d.ts +1 -0
- package/dist/_dts/content-editor/src/controller/EntryControllerProvider.d.ts +14 -14
- package/dist/_dts/content-editor/src/controller/useEntrySyncHelpers.d.ts +1 -1
- package/dist/_dts/content-editor/src/hooks/useEntryActions.d.ts +5 -15
- package/dist/_dts/content-editor/src/ui/editorSnapshot.d.ts +46 -0
- package/dist/_dts/content-editor/src/ui/editorUiStore.d.ts +43 -36
- package/dist/_dts/media-core/src/fileUploadFinalization.d.ts +29 -1
- package/dist/_dts/media-core/src/index.d.ts +1 -0
- package/dist/_dts/media-core/src/legacyMediaValue.d.ts +11 -0
- package/dist/_dts/media-react/src/hooks/useApiMediaUploader.d.ts +2 -1
- package/dist/_dts/sdk/src/version.d.ts +1 -1
- package/dist/{chunk-UOMTCHZD.mjs → chunk-A63UXN3P.mjs} +21 -19
- package/dist/{chunk-U5YM4AWE.mjs → chunk-AJZGT6YG.mjs} +1 -1
- package/dist/{chunk-6D7PLF4M.mjs → chunk-AQ6RT6LZ.mjs} +2 -2
- package/dist/{chunk-ZA2S7H34.mjs → chunk-NT76QGIJ.mjs} +98 -1
- package/dist/{chunk-I6EOKV6B.mjs → chunk-PCNCETBI.mjs} +676 -386
- package/dist/{chunk-LERKJM3E.mjs → chunk-XIK2HYI3.mjs} +7 -7
- package/dist/cli/index.mjs +198 -87
- package/dist/client/{accordion-BUDH2G3S.mjs → accordion-RNQIPG55.mjs} +2 -2
- package/dist/client/{bookingForm-NQMCELVB.mjs → bookingForm-HYEEVRLP.mjs} +5 -5
- package/dist/client/{carousel-ONCEW6IJ.mjs → carousel-W7DQ3YPU.mjs} +3 -3
- package/dist/client/{cart-V2TCK2GI.mjs → cart-PXJ3SXXO.mjs} +6 -6
- package/dist/client/{checkout-ZI7SWNCS.mjs → checkout-X3JYSOXI.mjs} +6 -6
- package/dist/client/{chunk-R3CZQLXF.mjs → chunk-6SYGVVWA.mjs} +1 -1
- package/dist/client/{chunk-N2WJPTF7.mjs → chunk-DUOHLWLF.mjs} +3 -3
- package/dist/client/{chunk-KXYEKEV6.mjs → chunk-IXDSXF2D.mjs} +7 -7
- package/dist/client/{chunk-ZJDBOLX7.mjs → chunk-J6TMMMXW.mjs} +2 -2
- package/dist/client/{chunk-B5UC2D6X.mjs → chunk-JNE6UI6U.mjs} +1 -1
- package/dist/client/{chunk-QQNVQ62W.mjs → chunk-OLAOAZEO.mjs} +1 -1
- package/dist/client/{chunk-AUMRQ242.mjs → chunk-PICR3NTQ.mjs} +2 -2
- package/dist/client/{chunk-ERQDHUS2.mjs → chunk-Q47XGAGS.mjs} +1 -1
- package/dist/client/{chunk-HQWIJLYN.mjs → chunk-WERRJXNJ.mjs} +1 -1
- package/dist/client/{chunk-JXY6NHG6.mjs → chunk-YYVGSYBO.mjs} +5 -5
- package/dist/client/client.mjs +127 -17
- package/dist/client/{courseRegistration-JPWAQ6KM.mjs → courseRegistration-QZ67PVHO.mjs} +5 -5
- package/dist/client/{eventCalendar-QDOCHBBV.mjs → eventCalendar-V3BDHQNT.mjs} +8 -8
- package/dist/client/{eventCombined-ZS2CXSIE.mjs → eventCombined-XYFRN2RG.mjs} +8 -8
- package/dist/client/{eventDetails-5LOBMPLN.mjs → eventDetails-TFE5TWKV.mjs} +8 -8
- package/dist/client/{eventListing-SBGY4I3L.mjs → eventListing-IQ6AGWZ6.mjs} +8 -8
- package/dist/client/{eventRegistration-XGPIU3Z2.mjs → eventRegistration-WGJVFKQJ.mjs} +8 -8
- package/dist/client/{form-R7D4LZWW.mjs → form-6UZY6RUA.mjs} +2 -2
- package/dist/client/{headerSection-RRLYUCGC.mjs → headerSection-RSFXY6V3.mjs} +3 -3
- package/dist/client/hooks.mjs +35 -3
- package/dist/client/{locationMap-35ZJMRBZ.mjs → locationMap-24FH67I4.mjs} +3 -3
- package/dist/client/{newsletterForm-MJ2VCFUT.mjs → newsletterForm-QVL3MLTN.mjs} +2 -2
- package/dist/client/{productDetail-2O7YQNBX.mjs → productDetail-ZDYN3G4T.mjs} +6 -6
- package/dist/client/{productList-FDP5BH7W.mjs → productList-4BMJLQHZ.mjs} +6 -6
- package/dist/client/rendering/client.mjs +8 -0
- package/dist/client/rendering/islands.mjs +19 -19
- package/dist/client/rendering.mjs +69 -2
- package/dist/client/{shop-BGYJ3LDT.mjs → shop-U5C634FF.mjs} +6 -6
- package/dist/preview-next/client/runtime.mjs +5 -5
- package/dist/{sdk-runtime-B3TFXRXZ.mjs → sdk-runtime-VGV46WVB.mjs} +6 -6
- package/dist/server/components.mjs +121 -61
- package/dist/server/config-validation.mjs +35 -3
- package/dist/server/config.mjs +35 -3
- package/dist/server/data.mjs +35 -3
- package/dist/server/index.mjs +104 -29
- package/dist/server/next.mjs +183 -80
- package/dist/server/page-converter.mjs +3 -3
- package/dist/server/prebuild.mjs +1 -1
- package/dist/server/rendering/server.mjs +121 -61
- package/dist/server/rendering.mjs +121 -61
- package/dist/server/routing.mjs +102 -62
- package/dist/server/server.mjs +167 -92
- package/package.json +1 -1
- package/dist/SdkPreviewModeRuntime-BRGRDQFH.mjs +0 -8
- /package/dist/client/{chunk-GH6IIOOE.mjs → chunk-PCHACQEB.mjs} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
2
|
-
import './chunk-
|
|
1
|
+
import { defineIslandPropsDecoder } from './chunk-6SYGVVWA.mjs';
|
|
2
|
+
import './chunk-PCHACQEB.mjs';
|
|
3
3
|
|
|
4
4
|
// src/rendering/islands/enhancers/accordion.ts
|
|
5
5
|
var decode = defineIslandPropsDecoder("accordion");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { buildBookingPaymentSelectionViewModel, usePolling } from './chunk-
|
|
3
|
-
import { SpinnerNode } from './chunk-
|
|
2
|
+
import { buildBookingPaymentSelectionViewModel, usePolling } from './chunk-DUOHLWLF.mjs';
|
|
3
|
+
import { SpinnerNode } from './chunk-OLAOAZEO.mjs';
|
|
4
4
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
5
|
-
import { scrollToBlock, useDiscountCodeUi, buildCheckoutReturnUrls, DiscountCodeDisclosure } from './chunk-
|
|
5
|
+
import { scrollToBlock, useDiscountCodeUi, buildCheckoutReturnUrls, DiscountCodeDisclosure } from './chunk-J6TMMMXW.mjs';
|
|
6
6
|
import { FieldValidationMessage, getFieldValidationControlProps } from './chunk-3DCJ45Z2.mjs';
|
|
7
7
|
import './chunk-WBQG7VJA.mjs';
|
|
8
8
|
import { isSpamProtectionEnabled, getChallengeUrl, AltchaWidget } from './chunk-LJCX6V7Q.mjs';
|
|
9
9
|
import { BlockApiProvider, useBlockApi, FeedbackMessage } from './chunk-TNGL2WJF.mjs';
|
|
10
10
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder, resolveBookingSiteId, resolveDefaultBookingServiceId, getBookingRedirectStateFromLocation, deriveBookingFormViewState, logger, getBookingSuccessMessage, getBookingServiceSlidingScale, formatBookingCentsAsCurrencyInput, parseBookingCurrencyInputToCents, resolveAppointmentCheckoutVerificationState, themeButtonClassName, toSelectedCollectionOptionKind, assertNever, prepareBookingSubmission, formatBookingSubmissionPreparationError, resolveBookingPaymentStep, BOOKING_FORM_DATA_RESERVED_KEYS, isBookingServiceSlidingAmountInRange, clearWorkflowFeedback, reportWorkflowError, reportWorkflowSuccess, okWith, err } from './chunk-
|
|
12
|
-
import { resolveBookingTimeZoneId, DEFAULT_BOOKING_TIME_ZONE, unsafeAsFormId, unsafeAsAppointmentResourceId, unsafeAsCustomerPassId, unsafeAsAppointmentServiceId, formatLocalScheduleDate, addLocalScheduleDays, parseBookingLocalDate, unsafeAsPassId, formatCurrencyAmount, formatBookingInstant } from './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder, resolveBookingSiteId, resolveDefaultBookingServiceId, getBookingRedirectStateFromLocation, deriveBookingFormViewState, logger, getBookingSuccessMessage, getBookingServiceSlidingScale, formatBookingCentsAsCurrencyInput, parseBookingCurrencyInputToCents, resolveAppointmentCheckoutVerificationState, themeButtonClassName, toSelectedCollectionOptionKind, assertNever, prepareBookingSubmission, formatBookingSubmissionPreparationError, resolveBookingPaymentStep, BOOKING_FORM_DATA_RESERVED_KEYS, isBookingServiceSlidingAmountInRange, clearWorkflowFeedback, reportWorkflowError, reportWorkflowSuccess, okWith, err } from './chunk-6SYGVVWA.mjs';
|
|
12
|
+
import { resolveBookingTimeZoneId, DEFAULT_BOOKING_TIME_ZONE, unsafeAsFormId, unsafeAsAppointmentResourceId, unsafeAsCustomerPassId, unsafeAsAppointmentServiceId, formatLocalScheduleDate, addLocalScheduleDays, parseBookingLocalDate, unsafeAsPassId, formatCurrencyAmount, formatBookingInstant } from './chunk-PCHACQEB.mjs';
|
|
13
13
|
import React2, { useRef, useState, useMemo, useReducer, useEffect, useCallback, useLayoutEffect } from 'react';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { normalizeCarouselProps, CarouselNodeClient } from './chunk-
|
|
1
|
+
import { normalizeCarouselProps, CarouselNodeClient } from './chunk-JNE6UI6U.mjs';
|
|
2
2
|
import './chunk-6N7YRNYU.mjs';
|
|
3
3
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
4
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
5
|
-
import './chunk-
|
|
4
|
+
import { defineIslandPropsDecoder } from './chunk-6SYGVVWA.mjs';
|
|
5
|
+
import './chunk-PCHACQEB.mjs';
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var decode = defineIslandPropsDecoder("carousel");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { mountShopBlockIsland, CartClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { mountShopBlockIsland, CartClient } from './chunk-YYVGSYBO.mjs';
|
|
2
|
+
import './chunk-Q47XGAGS.mjs';
|
|
3
|
+
import './chunk-JNE6UI6U.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
5
|
import './chunk-L4J5Y62O.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-J6TMMMXW.mjs';
|
|
7
7
|
import './chunk-3DCJ45Z2.mjs';
|
|
8
8
|
import './chunk-WBQG7VJA.mjs';
|
|
9
9
|
import './chunk-TNGL2WJF.mjs';
|
|
10
10
|
import './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder } from './chunk-6SYGVVWA.mjs';
|
|
12
|
+
import './chunk-PCHACQEB.mjs';
|
|
13
13
|
|
|
14
14
|
// src/rendering/islands/enhancers/cart.tsx
|
|
15
15
|
var decode = defineIslandPropsDecoder("cart");
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { mountShopBlockIsland, CheckoutClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { mountShopBlockIsland, CheckoutClient } from './chunk-YYVGSYBO.mjs';
|
|
2
|
+
import './chunk-Q47XGAGS.mjs';
|
|
3
|
+
import './chunk-JNE6UI6U.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
5
|
import './chunk-L4J5Y62O.mjs';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-J6TMMMXW.mjs';
|
|
7
7
|
import './chunk-3DCJ45Z2.mjs';
|
|
8
8
|
import './chunk-WBQG7VJA.mjs';
|
|
9
9
|
import './chunk-TNGL2WJF.mjs';
|
|
10
10
|
import './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
12
|
-
import './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder } from './chunk-6SYGVVWA.mjs';
|
|
12
|
+
import './chunk-PCHACQEB.mjs';
|
|
13
13
|
|
|
14
14
|
// src/rendering/islands/enhancers/checkout.tsx
|
|
15
15
|
var decode = defineIslandPropsDecoder("checkout");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { parseAspectRatioValue, parseColorTokenParts, toBookingTimeZone, formatBookingDate, toScheduledBookingDateTime, formatBookingTime, toScheduledBookingDateRange, formatBookingDateParts, formatEventPricing, ImagePresets, getBookingLocalDateKey, publicEventPricingType, formatCurrencyAmount, getCurrentResolveImageUrlContext, renderVideo, renderAudio, resolveMediaNodeResponsiveImage, MediaPlaceholder, computeMediaTransformStyle, rgbColorValue } from './chunk-
|
|
1
|
+
import { parseAspectRatioValue, parseColorTokenParts, toBookingTimeZone, formatBookingDate, toScheduledBookingDateTime, formatBookingTime, toScheduledBookingDateRange, formatBookingDateParts, formatEventPricing, ImagePresets, getBookingLocalDateKey, publicEventPricingType, formatCurrencyAmount, getCurrentResolveImageUrlContext, renderVideo, renderAudio, resolveMediaNodeResponsiveImage, MediaPlaceholder, computeMediaTransformStyle, rgbColorValue } from './chunk-PCHACQEB.mjs';
|
|
2
2
|
import z2, { z } from 'zod';
|
|
3
3
|
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
4
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { formatPrice } from './chunk-
|
|
3
|
-
import { assertNever } from './chunk-
|
|
4
|
-
import { resolveFlexibleBalanceInitialPaymentCents, resolveFlexibleBalanceDueAt, getBookingInstalmentDepositRefundability, splitAmountWithRemainderInFirst, addIntervalPreservingMonthAnchor, clampConfiguredAmount, getBookingInstalmentPlanIntervalCount, omitZeroAmountFutureRows } from './chunk-
|
|
2
|
+
import { formatPrice } from './chunk-J6TMMMXW.mjs';
|
|
3
|
+
import { assertNever } from './chunk-6SYGVVWA.mjs';
|
|
4
|
+
import { resolveFlexibleBalanceInitialPaymentCents, resolveFlexibleBalanceDueAt, getBookingInstalmentDepositRefundability, splitAmountWithRemainderInFirst, addIntervalPreservingMonthAnchor, clampConfiguredAmount, getBookingInstalmentPlanIntervalCount, omitZeroAmountFutureRows } from './chunk-PCHACQEB.mjs';
|
|
5
5
|
import { useReducer, useRef, useCallback, useEffect } from 'react';
|
|
6
6
|
|
|
7
7
|
// ../blocks/src/system/runtime/shared/bookingPaymentOptionCopy.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { LeafletStaticMap } from './chunk-
|
|
3
|
-
import { resolveCoursePricingState, useWaitlistClaim, MagicLinkForm, formatCoursePriceAmount, formatCoursePriceDisplay } from './chunk-
|
|
2
|
+
import { LeafletStaticMap } from './chunk-WERRJXNJ.mjs';
|
|
3
|
+
import { resolveCoursePricingState, useWaitlistClaim, MagicLinkForm, formatCoursePriceAmount, formatCoursePriceDisplay } from './chunk-PICR3NTQ.mjs';
|
|
4
4
|
import { CreditCard, Ticket, Star, Sparkles } from './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import { usePolling, buildBookingPaymentSelectionViewModel } from './chunk-
|
|
6
|
-
import { SpinnerNode } from './chunk-
|
|
7
|
-
import { createBodyThemePortalRoot, TabBarFragment, useDiscountCodeUi, logoutPortal, consumeSearchParam, StepIndicator, DiscountCodeDisclosure, TerminalPanel, StateIcon, formatPrice, CrossIcon, ClockIcon, LoggedInAsUser, CheckIcon } from './chunk-
|
|
5
|
+
import { usePolling, buildBookingPaymentSelectionViewModel } from './chunk-DUOHLWLF.mjs';
|
|
6
|
+
import { SpinnerNode } from './chunk-OLAOAZEO.mjs';
|
|
7
|
+
import { createBodyThemePortalRoot, TabBarFragment, useDiscountCodeUi, logoutPortal, consumeSearchParam, StepIndicator, DiscountCodeDisclosure, TerminalPanel, StateIcon, formatPrice, CrossIcon, ClockIcon, LoggedInAsUser, CheckIcon } from './chunk-J6TMMMXW.mjs';
|
|
8
8
|
import { getFieldValidationControlProps, FieldValidationMessage } from './chunk-3DCJ45Z2.mjs';
|
|
9
9
|
import { ModalShell } from './chunk-WBQG7VJA.mjs';
|
|
10
10
|
import { isSpamProtectionEnabled, AltchaWidget, getChallengeUrl } from './chunk-LJCX6V7Q.mjs';
|
|
11
11
|
import { useBlockApi, FeedbackMessage } from './chunk-TNGL2WJF.mjs';
|
|
12
|
-
import { buildEventRuntimeFilters, buildEventCalendarListingRender, groupEventsByDate, getOrderedDayNames, formatDateKey, getEventRuntimeFiltersKey, themeButtonClassName, normalizeCsvIds, normalizeOptionalId, normalizeEventBlockKind, normalizeCsvString, EventCompactRow, EmptyState, getContainerClass, getCardOrientation, isToday, MAX_EVENTS_PER_DAY, formatTime, WIZARD_STEPS, getWizardStepsForContext, getStepNumber, formatEventPriceDisplay, resolveRuntimeEventPricing, formatEventPrice, formatEventDateParts, resolveEventLinkProps, DateTimeTile, assertNever, EventCard, buildCalendarViewport, shiftCalendarAnchorDate, addMonths, getThreeMonthRange, buildTimetableModel, formatDate, MONTH_NAMES, getEventAvailability, formatEventTeacherLine, toRegistrationEvents, isEventContentType, findPreSelectedEvent, resolveRegistrationTarget, findEventByOccurrenceId, resolveEventRequiresPayment, resolveDiscountContext } from './chunk-
|
|
13
|
-
import { publicEventPricingType, getBookingLocalDateKey, toScheduledBookingDateTime, toBookingTimeZone, publicEventPricingCurrency, formatBookingDateTime, publicEventPricingMode, publicEventScalarPrice, publicEventTicketTypes, formatCurrencyAmount, formatBookingDate, formatBookingTime } from './chunk-
|
|
12
|
+
import { buildEventRuntimeFilters, buildEventCalendarListingRender, groupEventsByDate, getOrderedDayNames, formatDateKey, getEventRuntimeFiltersKey, themeButtonClassName, normalizeCsvIds, normalizeOptionalId, normalizeEventBlockKind, normalizeCsvString, EventCompactRow, EmptyState, getContainerClass, getCardOrientation, isToday, MAX_EVENTS_PER_DAY, formatTime, WIZARD_STEPS, getWizardStepsForContext, getStepNumber, formatEventPriceDisplay, resolveRuntimeEventPricing, formatEventPrice, formatEventDateParts, resolveEventLinkProps, DateTimeTile, assertNever, EventCard, buildCalendarViewport, shiftCalendarAnchorDate, addMonths, getThreeMonthRange, buildTimetableModel, formatDate, MONTH_NAMES, getEventAvailability, formatEventTeacherLine, toRegistrationEvents, isEventContentType, findPreSelectedEvent, resolveRegistrationTarget, findEventByOccurrenceId, resolveEventRequiresPayment, resolveDiscountContext } from './chunk-6SYGVVWA.mjs';
|
|
13
|
+
import { publicEventPricingType, getBookingLocalDateKey, toScheduledBookingDateTime, toBookingTimeZone, publicEventPricingCurrency, formatBookingDateTime, publicEventPricingMode, publicEventScalarPrice, publicEventTicketTypes, formatCurrencyAmount, formatBookingDate, formatBookingTime } from './chunk-PCHACQEB.mjs';
|
|
14
14
|
import React9, { createContext, useId, useMemo, useReducer, useState, useRef, useEffect, useCallback, useContext } from 'react';
|
|
15
15
|
import { createPortal } from 'react-dom';
|
|
16
16
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { FeedbackMessage, discountAvailabilityHasDiscounts, getAutoAppliedDiscountPreview, discountAvailabilityAllowsManualEntry } from './chunk-TNGL2WJF.mjs';
|
|
3
|
-
import { themeButtonClassName } from './chunk-
|
|
4
|
-
import { formatCurrencyAmount, clsx_default } from './chunk-
|
|
3
|
+
import { themeButtonClassName } from './chunk-6SYGVVWA.mjs';
|
|
4
|
+
import { formatCurrencyAmount, clsx_default } from './chunk-PCHACQEB.mjs';
|
|
5
5
|
import { useReducer, useEffect, useId, useRef } from 'react';
|
|
6
6
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { ChevronLeft, ChevronRight } from './chunk-6N7YRNYU.mjs';
|
|
3
|
-
import { clsx_default } from './chunk-
|
|
3
|
+
import { clsx_default } from './chunk-PCHACQEB.mjs';
|
|
4
4
|
import React, { useRef, useState, useCallback, useEffect } from 'react';
|
|
5
5
|
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { useBlockApi } from './chunk-TNGL2WJF.mjs';
|
|
3
|
-
import { themeButtonClassName, assertNever } from './chunk-
|
|
4
|
-
import { resolvePlanningDateInput, formatBookingPriceDisplay } from './chunk-
|
|
3
|
+
import { themeButtonClassName, assertNever } from './chunk-6SYGVVWA.mjs';
|
|
4
|
+
import { resolvePlanningDateInput, formatBookingPriceDisplay } from './chunk-PCHACQEB.mjs';
|
|
5
5
|
import { useState, useReducer, useSyncExternalStore, useEffect } from 'react';
|
|
6
6
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EMPTY_COMMERCE_CART_STATE, parseStoredCommerceCartState, reduceCommerceCart, buildPassCartItem } from './chunk-
|
|
1
|
+
import { EMPTY_COMMERCE_CART_STATE, parseStoredCommerceCartState, reduceCommerceCart, buildPassCartItem } from './chunk-6SYGVVWA.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
|
|
4
4
|
var EMPTY_STATE = EMPTY_COMMERCE_CART_STATE;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { addPassToCommerceCart, useCommerceCart } from './chunk-
|
|
3
|
-
import { CarouselNodeClient } from './chunk-
|
|
2
|
+
import { addPassToCommerceCart, useCommerceCart } from './chunk-Q47XGAGS.mjs';
|
|
3
|
+
import { CarouselNodeClient } from './chunk-JNE6UI6U.mjs';
|
|
4
4
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
5
|
-
import { useDiscountCodeUi, createBodyThemePortalRoot, consumeSearchParams, scrollToBlock, TerminalPanel, StateIcon, CheckIcon, CrossIcon, ActionRow, DiscountCodeDisclosure, consumeSearchParam, buildCheckoutReturnUrls } from './chunk-
|
|
5
|
+
import { useDiscountCodeUi, createBodyThemePortalRoot, consumeSearchParams, scrollToBlock, TerminalPanel, StateIcon, CheckIcon, CrossIcon, ActionRow, DiscountCodeDisclosure, consumeSearchParam, buildCheckoutReturnUrls } from './chunk-J6TMMMXW.mjs';
|
|
6
6
|
import { ModalShell, resolveDedicatedCheckoutPath } from './chunk-WBQG7VJA.mjs';
|
|
7
7
|
import { useBlockApi, FeedbackMessage, BlockApiProvider, discountAvailabilityHasDiscounts, discountAvailabilityAllowsManualEntry, getAutoAppliedDiscountPreview } from './chunk-TNGL2WJF.mjs';
|
|
8
8
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
9
|
-
import { themeButtonClassName, formatCommercePrice, formatInterval, getShopDisplayForItems, deriveCommerceCheckoutState, buildProductDetailDisplay, productItemKey, buildProductCartItem, buildProductCardDisplay, assertNever as assertNever$1, reportWorkflowError, clearWorkflowFeedback, unwrapRichTextRoot, createRichTextDocFromMarkdown, isRecord } from './chunk-
|
|
10
|
-
import { assertNever, ok, err, getCurrentResolveImageUrlContext, resolveImageUrlWithContext, ImagePresets } from './chunk-
|
|
9
|
+
import { themeButtonClassName, formatCommercePrice, formatInterval, getShopDisplayForItems, deriveCommerceCheckoutState, buildProductDetailDisplay, productItemKey, buildProductCartItem, buildProductCardDisplay, assertNever as assertNever$1, reportWorkflowError, clearWorkflowFeedback, unwrapRichTextRoot, createRichTextDocFromMarkdown, isRecord } from './chunk-6SYGVVWA.mjs';
|
|
10
|
+
import { assertNever, ok, err, getCurrentResolveImageUrlContext, resolveImageUrlWithContext, ImagePresets } from './chunk-PCHACQEB.mjs';
|
|
11
11
|
import * as React3 from 'react';
|
|
12
12
|
import React3__default, { useState, useRef, useCallback, useEffect } from 'react';
|
|
13
13
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
package/dist/client/client.mjs
CHANGED
|
@@ -1709,6 +1709,28 @@ var init_renderableMediaAsset = __esm({
|
|
|
1709
1709
|
}
|
|
1710
1710
|
});
|
|
1711
1711
|
|
|
1712
|
+
// ../media-core/src/legacyMediaValue.ts
|
|
1713
|
+
function legacyStringMediaTypeForField(field) {
|
|
1714
|
+
if (field.type === "file") {
|
|
1715
|
+
return field.fileKinds?.[0] ?? "document";
|
|
1716
|
+
}
|
|
1717
|
+
return field.mediaKinds?.[0] ?? "image";
|
|
1718
|
+
}
|
|
1719
|
+
function normalizeLegacyStringMediaValueForField(value, field) {
|
|
1720
|
+
if (typeof value !== "string") return value;
|
|
1721
|
+
const src = value.trim();
|
|
1722
|
+
if (!src) return value;
|
|
1723
|
+
return {
|
|
1724
|
+
type: legacyStringMediaTypeForField(field),
|
|
1725
|
+
src
|
|
1726
|
+
};
|
|
1727
|
+
}
|
|
1728
|
+
var init_legacyMediaValue = __esm({
|
|
1729
|
+
"../media-core/src/legacyMediaValue.ts"() {
|
|
1730
|
+
"use strict";
|
|
1731
|
+
}
|
|
1732
|
+
});
|
|
1733
|
+
|
|
1712
1734
|
// ../media-core/src/index.ts
|
|
1713
1735
|
var init_src2 = __esm({
|
|
1714
1736
|
"../media-core/src/index.ts"() {
|
|
@@ -1751,6 +1773,7 @@ var init_src2 = __esm({
|
|
|
1751
1773
|
init_mediaUsageProjection();
|
|
1752
1774
|
init_portableMediaReferences();
|
|
1753
1775
|
init_renderableMediaAsset();
|
|
1776
|
+
init_legacyMediaValue();
|
|
1754
1777
|
}
|
|
1755
1778
|
});
|
|
1756
1779
|
|
|
@@ -33035,7 +33058,7 @@ var init_embla_carousel_autoplay_esm = __esm({
|
|
|
33035
33058
|
function isObject(subject) {
|
|
33036
33059
|
return Object.prototype.toString.call(subject) === "[object Object]";
|
|
33037
33060
|
}
|
|
33038
|
-
function
|
|
33061
|
+
function isRecord16(subject) {
|
|
33039
33062
|
return isObject(subject) || Array.isArray(subject);
|
|
33040
33063
|
}
|
|
33041
33064
|
function canUseDOM() {
|
|
@@ -33052,7 +33075,7 @@ function areOptionsEqual(optionsA, optionsB) {
|
|
|
33052
33075
|
const valueA = optionsA[key];
|
|
33053
33076
|
const valueB = optionsB[key];
|
|
33054
33077
|
if (typeof valueA === "function") return `${valueA}` === `${valueB}`;
|
|
33055
|
-
if (!
|
|
33078
|
+
if (!isRecord16(valueA) || !isRecord16(valueB)) return valueA === valueB;
|
|
33056
33079
|
return areOptionsEqual(valueA, valueB);
|
|
33057
33080
|
});
|
|
33058
33081
|
}
|
|
@@ -35868,7 +35891,7 @@ function encodePublicProductCategorySelector2(selector) {
|
|
|
35868
35891
|
};
|
|
35869
35892
|
}
|
|
35870
35893
|
}
|
|
35871
|
-
function
|
|
35894
|
+
function isRecord17(value) {
|
|
35872
35895
|
return typeof value === "object" && value !== null;
|
|
35873
35896
|
}
|
|
35874
35897
|
function isJsonResponseContentType(contentType) {
|
|
@@ -35891,10 +35914,10 @@ async function parseJsonBody(response) {
|
|
|
35891
35914
|
}
|
|
35892
35915
|
}
|
|
35893
35916
|
function getBlockApiErrorDetails(data) {
|
|
35894
|
-
if (!
|
|
35917
|
+
if (!isRecord17(data)) {
|
|
35895
35918
|
return {};
|
|
35896
35919
|
}
|
|
35897
|
-
const nestedError =
|
|
35920
|
+
const nestedError = isRecord17(data.error) ? data.error : void 0;
|
|
35898
35921
|
const message = typeof nestedError?.message === "string" ? nestedError.message : typeof data.message === "string" ? data.message : void 0;
|
|
35899
35922
|
const code = typeof nestedError?.code === "string" ? nestedError.code : typeof data.code === "string" ? data.code : void 0;
|
|
35900
35923
|
return { message, code };
|
|
@@ -62226,6 +62249,7 @@ import { z as z69 } from "zod";
|
|
|
62226
62249
|
import * as React6 from "react";
|
|
62227
62250
|
|
|
62228
62251
|
// ../blocks/src/system/manifest/fieldValidation/index.ts
|
|
62252
|
+
init_src2();
|
|
62229
62253
|
import { z as z6 } from "zod";
|
|
62230
62254
|
|
|
62231
62255
|
// ../blocks/src/system/types/link.ts
|
|
@@ -62954,7 +62978,10 @@ function deriveFieldValidationPlan(field, path = [field.id]) {
|
|
|
62954
62978
|
return makePlan("richText", "object", field, path, required, commonConstraints(required, { kind: "richTextDoc" }));
|
|
62955
62979
|
case "media":
|
|
62956
62980
|
case "file":
|
|
62957
|
-
return
|
|
62981
|
+
return {
|
|
62982
|
+
...makePlan("media", "object", field, path, required, commonConstraints(required, { kind: "mediaObject" })),
|
|
62983
|
+
legacyStringType: legacyStringMediaTypeForField(field)
|
|
62984
|
+
};
|
|
62958
62985
|
case "link":
|
|
62959
62986
|
return makePlan("link", "object", field, path, required, commonConstraints(required, { kind: "linkObject" }));
|
|
62960
62987
|
case "boolean":
|
|
@@ -63139,15 +63166,23 @@ function normalizeFieldValue(plan, value, ctx) {
|
|
|
63139
63166
|
return normalizeRepeaterItems(plan, value, ctx);
|
|
63140
63167
|
case "boolean":
|
|
63141
63168
|
case "richText":
|
|
63142
|
-
case "media":
|
|
63143
63169
|
case "link":
|
|
63144
63170
|
case "select":
|
|
63145
63171
|
case "passthrough":
|
|
63146
63172
|
return value;
|
|
63173
|
+
case "media":
|
|
63174
|
+
return normalizeMediaInput(plan, value);
|
|
63147
63175
|
default:
|
|
63148
63176
|
return assertNever4(plan);
|
|
63149
63177
|
}
|
|
63150
63178
|
}
|
|
63179
|
+
function normalizeMediaInput(plan, value) {
|
|
63180
|
+
return normalizeLegacyStringMediaValueForField(value, {
|
|
63181
|
+
type: plan.fieldType,
|
|
63182
|
+
mediaKinds: plan.fieldType === "media" ? [plan.legacyStringType] : void 0,
|
|
63183
|
+
fileKinds: plan.fieldType === "file" ? [plan.legacyStringType] : void 0
|
|
63184
|
+
});
|
|
63185
|
+
}
|
|
63151
63186
|
function normalizeObjectChildren(children, value, ctx) {
|
|
63152
63187
|
if (!value || typeof value !== "object" || Array.isArray(value)) return value;
|
|
63153
63188
|
const normalized = {
|
|
@@ -97118,12 +97153,85 @@ function resolveApiBaseUrl() {
|
|
|
97118
97153
|
}
|
|
97119
97154
|
|
|
97120
97155
|
// ../api/src/common/envelope.ts
|
|
97156
|
+
var API_ERROR_CODES = [
|
|
97157
|
+
"auth:unauthenticated",
|
|
97158
|
+
"auth:token_expired",
|
|
97159
|
+
"auth:token_invalid",
|
|
97160
|
+
"auth:forbidden",
|
|
97161
|
+
"auth:mfa_required",
|
|
97162
|
+
"auth:sudo_required",
|
|
97163
|
+
"auth:insufficient_permissions",
|
|
97164
|
+
"auth:impersonation_restricted",
|
|
97165
|
+
"validation:invalid_input",
|
|
97166
|
+
"validation:missing_field",
|
|
97167
|
+
"validation:invalid_format",
|
|
97168
|
+
"validation:payload_too_large",
|
|
97169
|
+
"resource:not_found",
|
|
97170
|
+
"resource:already_exists",
|
|
97171
|
+
"resource:conflict",
|
|
97172
|
+
"resource:gone",
|
|
97173
|
+
"rate_limit:exceeded",
|
|
97174
|
+
"billing:payment_required",
|
|
97175
|
+
"billing:plan_limit_exceeded",
|
|
97176
|
+
"billing:pass_redemption_failed",
|
|
97177
|
+
"server:internal_error",
|
|
97178
|
+
"server:unavailable",
|
|
97179
|
+
"external:service_error",
|
|
97180
|
+
"external:registrar_orphaned_contact_profile",
|
|
97181
|
+
"network:connection_error",
|
|
97182
|
+
"network:timeout",
|
|
97183
|
+
"network:dns_error"
|
|
97184
|
+
];
|
|
97185
|
+
var API_ERROR_CODE_SET = new Set(API_ERROR_CODES);
|
|
97186
|
+
function isApiErrorCode(value) {
|
|
97187
|
+
return typeof value === "string" && API_ERROR_CODE_SET.has(value);
|
|
97188
|
+
}
|
|
97121
97189
|
function isApiError(result) {
|
|
97122
97190
|
return result.success === false;
|
|
97123
97191
|
}
|
|
97124
97192
|
function isApiSuccess(result) {
|
|
97125
97193
|
return result.success === true;
|
|
97126
97194
|
}
|
|
97195
|
+
function isRecord13(value) {
|
|
97196
|
+
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
97197
|
+
}
|
|
97198
|
+
function isFieldError(value) {
|
|
97199
|
+
return isRecord13(value) && typeof value.field === "string" && typeof value.code === "string" && typeof value.message === "string";
|
|
97200
|
+
}
|
|
97201
|
+
function fieldErrorsFromUnknown(value) {
|
|
97202
|
+
if (!Array.isArray(value)) return null;
|
|
97203
|
+
return value.every(isFieldError) ? value : null;
|
|
97204
|
+
}
|
|
97205
|
+
function extractEnvelopeErrorObject(body) {
|
|
97206
|
+
if (!isRecord13(body)) return null;
|
|
97207
|
+
const error = body.error;
|
|
97208
|
+
if (!isRecord13(error)) return null;
|
|
97209
|
+
if ("success" in body && body.success !== false) {
|
|
97210
|
+
return null;
|
|
97211
|
+
}
|
|
97212
|
+
return error;
|
|
97213
|
+
}
|
|
97214
|
+
function extractApiEnvelopeErrorDetails(body) {
|
|
97215
|
+
const error = extractEnvelopeErrorObject(body);
|
|
97216
|
+
if (!error) {
|
|
97217
|
+
return {
|
|
97218
|
+
rawCode: null,
|
|
97219
|
+
code: null,
|
|
97220
|
+
message: null,
|
|
97221
|
+
status: null,
|
|
97222
|
+
fieldErrors: null
|
|
97223
|
+
};
|
|
97224
|
+
}
|
|
97225
|
+
const rawCode = typeof error.code === "string" ? error.code : null;
|
|
97226
|
+
const message = typeof error.message === "string" && error.message.trim().length > 0 ? error.message : null;
|
|
97227
|
+
return {
|
|
97228
|
+
rawCode,
|
|
97229
|
+
code: isApiErrorCode(rawCode) ? rawCode : null,
|
|
97230
|
+
message,
|
|
97231
|
+
status: typeof error.status === "number" && Number.isFinite(error.status) ? error.status : null,
|
|
97232
|
+
fieldErrors: fieldErrorsFromUnknown(error.fieldErrors)
|
|
97233
|
+
};
|
|
97234
|
+
}
|
|
97127
97235
|
var ApiEnvelopeError = class extends Error {
|
|
97128
97236
|
constructor(error) {
|
|
97129
97237
|
super(error.message);
|
|
@@ -97520,6 +97628,7 @@ function createParsedClient(rawClient) {
|
|
|
97520
97628
|
const auth = config.auth ?? "user";
|
|
97521
97629
|
if (!response.ok) {
|
|
97522
97630
|
const body = await parseErrorBody(response);
|
|
97631
|
+
const envelopeError = extractApiEnvelopeErrorDetails(body);
|
|
97523
97632
|
const requestId = response.headers.get("x-request-id") ?? void 0;
|
|
97524
97633
|
const retryAfterMs = parseRetryAfterHeader(response.headers.get("retry-after"));
|
|
97525
97634
|
throw new ApiRequestError(
|
|
@@ -97531,6 +97640,7 @@ function createParsedClient(rawClient) {
|
|
|
97531
97640
|
auth,
|
|
97532
97641
|
requestId,
|
|
97533
97642
|
body,
|
|
97643
|
+
errorCode: envelopeError.code ?? void 0,
|
|
97534
97644
|
retryAfterMs
|
|
97535
97645
|
}
|
|
97536
97646
|
);
|
|
@@ -97847,7 +97957,7 @@ function preset(id, verticalId, canonicalBehaviour, label, pluralLabel, descript
|
|
|
97847
97957
|
}
|
|
97848
97958
|
|
|
97849
97959
|
// ../api/src/utils/isRecord.ts
|
|
97850
|
-
function
|
|
97960
|
+
function isRecord14(value) {
|
|
97851
97961
|
return typeof value === "object" && value !== null && !Array.isArray(value);
|
|
97852
97962
|
}
|
|
97853
97963
|
|
|
@@ -98154,7 +98264,7 @@ function sanitizeMarks(marks) {
|
|
|
98154
98264
|
if (mark.type === "bold" || mark.type === "strong" || mark.type === "italic" || mark.type === "em") {
|
|
98155
98265
|
return [{ type: mark.type }];
|
|
98156
98266
|
}
|
|
98157
|
-
if (mark.type === "link" &&
|
|
98267
|
+
if (mark.type === "link" && isRecord14(mark.attrs) && typeof mark.attrs.href === "string") {
|
|
98158
98268
|
const attrs = { href: mark.attrs.href };
|
|
98159
98269
|
if (typeof mark.attrs.target === "string" && mark.attrs.target.trim().length > 0) {
|
|
98160
98270
|
attrs.target = mark.attrs.target;
|
|
@@ -98169,10 +98279,10 @@ function sanitizeMarks(marks) {
|
|
|
98169
98279
|
return sanitized.length > 0 ? sanitized : void 0;
|
|
98170
98280
|
}
|
|
98171
98281
|
function unwrapRichTextValue(value) {
|
|
98172
|
-
if (
|
|
98282
|
+
if (isRecord14(value) && isRecord14(value.doc)) {
|
|
98173
98283
|
return unwrapRichTextValue(value.doc);
|
|
98174
98284
|
}
|
|
98175
|
-
if (
|
|
98285
|
+
if (isRecord14(value) && value.type === "doc") {
|
|
98176
98286
|
return {
|
|
98177
98287
|
type: "doc",
|
|
98178
98288
|
content: Array.isArray(value.content) ? value.content.filter(isTipTapNodeLike).map(coerceTipTapNode) : []
|
|
@@ -98181,7 +98291,7 @@ function unwrapRichTextValue(value) {
|
|
|
98181
98291
|
return EMPTY_SITE_BANNER_BODY;
|
|
98182
98292
|
}
|
|
98183
98293
|
function isTipTapNodeLike(value) {
|
|
98184
|
-
return
|
|
98294
|
+
return isRecord14(value) && typeof value.type === "string";
|
|
98185
98295
|
}
|
|
98186
98296
|
function coerceTipTapNode(value) {
|
|
98187
98297
|
return {
|
|
@@ -98189,9 +98299,9 @@ function coerceTipTapNode(value) {
|
|
|
98189
98299
|
...Array.isArray(value.content) ? { content: value.content.filter(isTipTapNodeLike).map(coerceTipTapNode) } : {},
|
|
98190
98300
|
...typeof value.text === "string" ? { text: value.text } : {},
|
|
98191
98301
|
...Array.isArray(value.marks) ? {
|
|
98192
|
-
marks: value.marks.filter((mark) =>
|
|
98302
|
+
marks: value.marks.filter((mark) => isRecord14(mark) && typeof mark.type === "string").map((mark) => ({
|
|
98193
98303
|
type: mark.type,
|
|
98194
|
-
...
|
|
98304
|
+
...isRecord14(mark.attrs) ? { attrs: mark.attrs } : {}
|
|
98195
98305
|
}))
|
|
98196
98306
|
} : {}
|
|
98197
98307
|
};
|
|
@@ -98381,7 +98491,7 @@ var ENTRY_REF_KEYS = [
|
|
|
98381
98491
|
"entryId",
|
|
98382
98492
|
"slug"
|
|
98383
98493
|
];
|
|
98384
|
-
function
|
|
98494
|
+
function isRecord15(value) {
|
|
98385
98495
|
return Boolean(value) && typeof value === "object" && !Array.isArray(value);
|
|
98386
98496
|
}
|
|
98387
98497
|
function extractManualEntryRef(item) {
|
|
@@ -98389,7 +98499,7 @@ function extractManualEntryRef(item) {
|
|
|
98389
98499
|
const trimmed = item.trim();
|
|
98390
98500
|
return trimmed.length > 0 ? trimmed : null;
|
|
98391
98501
|
}
|
|
98392
|
-
if (!
|
|
98502
|
+
if (!isRecord15(item)) return null;
|
|
98393
98503
|
for (const key of ENTRY_REF_KEYS) {
|
|
98394
98504
|
const raw = item[key];
|
|
98395
98505
|
if (typeof raw === "string" && raw.trim().length > 0) {
|
|
@@ -99575,7 +99685,7 @@ var SimpleCache = class {
|
|
|
99575
99685
|
};
|
|
99576
99686
|
|
|
99577
99687
|
// src/version.ts
|
|
99578
|
-
var SDK_VERSION = "0.
|
|
99688
|
+
var SDK_VERSION = "0.94.0";
|
|
99579
99689
|
|
|
99580
99690
|
// src/client/error.ts
|
|
99581
99691
|
var RiverbankApiError = class _RiverbankApiError extends Error {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import { useWaitlistClaim, resolveCoursePricingState, formatCoursePriceDisplay, formatCoursePriceAmount, MagicLinkForm } from './chunk-
|
|
3
|
-
import { SpinnerNode } from './chunk-
|
|
2
|
+
import { useWaitlistClaim, resolveCoursePricingState, formatCoursePriceDisplay, formatCoursePriceAmount, MagicLinkForm } from './chunk-PICR3NTQ.mjs';
|
|
3
|
+
import { SpinnerNode } from './chunk-OLAOAZEO.mjs';
|
|
4
4
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
5
|
-
import { DiscountCodeDisclosure, useDiscountCodeUi, getStepNumber, logoutPortal, StepIndicator, LoggedInAsUser, CheckIcon, formatPrice, TerminalPanel, StateIcon, ClockIcon, CrossIcon, scrollToBlock, buildCheckoutReturnUrls, MembershipHero, validateFormData } from './chunk-
|
|
5
|
+
import { DiscountCodeDisclosure, useDiscountCodeUi, getStepNumber, logoutPortal, StepIndicator, LoggedInAsUser, CheckIcon, formatPrice, TerminalPanel, StateIcon, ClockIcon, CrossIcon, scrollToBlock, buildCheckoutReturnUrls, MembershipHero, validateFormData } from './chunk-J6TMMMXW.mjs';
|
|
6
6
|
import { getFieldValidationControlProps, FieldValidationMessage } from './chunk-3DCJ45Z2.mjs';
|
|
7
7
|
import { ModalShell } from './chunk-WBQG7VJA.mjs';
|
|
8
8
|
import { AltchaWidget, getChallengeUrl, isSpamProtectionEnabled } from './chunk-LJCX6V7Q.mjs';
|
|
9
9
|
import { BlockApiProvider, useBlockApi } from './chunk-TNGL2WJF.mjs';
|
|
10
10
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
11
|
-
import { defineIslandPropsDecoder, themeButtonClassName } from './chunk-
|
|
12
|
-
import { formatBookingDate, toScheduledBookingDateTime, toBookingTimeZone, formatBookingTime } from './chunk-
|
|
11
|
+
import { defineIslandPropsDecoder, themeButtonClassName } from './chunk-6SYGVVWA.mjs';
|
|
12
|
+
import { formatBookingDate, toScheduledBookingDateTime, toBookingTimeZone, formatBookingTime } from './chunk-PCHACQEB.mjs';
|
|
13
13
|
import React2, { Component, useMemo, useState, useEffect } from 'react';
|
|
14
14
|
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
15
15
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventCalendarClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventCalendarClient } from './chunk-IXDSXF2D.mjs';
|
|
2
|
+
import './chunk-WERRJXNJ.mjs';
|
|
3
|
+
import './chunk-PICR3NTQ.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-DUOHLWLF.mjs';
|
|
6
|
+
import './chunk-OLAOAZEO.mjs';
|
|
7
7
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-J6TMMMXW.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-WBQG7VJA.mjs';
|
|
11
11
|
import './chunk-LJCX6V7Q.mjs';
|
|
12
12
|
import { BlockApiProvider } from './chunk-TNGL2WJF.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-6SYGVVWA.mjs';
|
|
15
|
+
import './chunk-PCHACQEB.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-calendar");
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { EventCombinedIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventCombinedIslandClient } from './chunk-IXDSXF2D.mjs';
|
|
2
|
+
import './chunk-WERRJXNJ.mjs';
|
|
3
|
+
import './chunk-PICR3NTQ.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
5
|
+
import './chunk-DUOHLWLF.mjs';
|
|
6
|
+
import './chunk-OLAOAZEO.mjs';
|
|
7
7
|
import { buildRouteIslandApiConfig } from './chunk-L4J5Y62O.mjs';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-J6TMMMXW.mjs';
|
|
9
9
|
import './chunk-3DCJ45Z2.mjs';
|
|
10
10
|
import './chunk-WBQG7VJA.mjs';
|
|
11
11
|
import './chunk-LJCX6V7Q.mjs';
|
|
12
12
|
import { BlockApiProvider } from './chunk-TNGL2WJF.mjs';
|
|
13
13
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
14
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
15
|
-
import './chunk-
|
|
14
|
+
import { defineIslandPropsDecoder } from './chunk-6SYGVVWA.mjs';
|
|
15
|
+
import './chunk-PCHACQEB.mjs';
|
|
16
16
|
import { jsx } from 'react/jsx-runtime';
|
|
17
17
|
|
|
18
18
|
var decode = defineIslandPropsDecoder("event-combined");
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { EventDetailsIslandClient } from './chunk-
|
|
2
|
-
import './chunk-
|
|
3
|
-
import './chunk-
|
|
1
|
+
import { EventDetailsIslandClient } from './chunk-IXDSXF2D.mjs';
|
|
2
|
+
import './chunk-WERRJXNJ.mjs';
|
|
3
|
+
import './chunk-PICR3NTQ.mjs';
|
|
4
4
|
import './chunk-6N7YRNYU.mjs';
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
5
|
+
import './chunk-DUOHLWLF.mjs';
|
|
6
|
+
import './chunk-OLAOAZEO.mjs';
|
|
7
|
+
import './chunk-J6TMMMXW.mjs';
|
|
8
8
|
import './chunk-3DCJ45Z2.mjs';
|
|
9
9
|
import './chunk-WBQG7VJA.mjs';
|
|
10
10
|
import './chunk-LJCX6V7Q.mjs';
|
|
11
11
|
import './chunk-TNGL2WJF.mjs';
|
|
12
12
|
import { mountReactIsland } from './chunk-N7PBWBWQ.mjs';
|
|
13
|
-
import { defineIslandPropsDecoder } from './chunk-
|
|
14
|
-
import './chunk-
|
|
13
|
+
import { defineIslandPropsDecoder } from './chunk-6SYGVVWA.mjs';
|
|
14
|
+
import './chunk-PCHACQEB.mjs';
|
|
15
15
|
import { jsx } from 'react/jsx-runtime';
|
|
16
16
|
|
|
17
17
|
var decode = defineIslandPropsDecoder("event-details");
|