@loczer/storefront-sdk 0.193.0 → 0.194.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.
Files changed (31) hide show
  1. package/dist/chunks/pkg/booking-engine/dist/models/{Product.shared-cjcvMCMa.js → Product.shared-iVSHRdn4.js} +21 -21
  2. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-asset-CsOe0vXi.js → base-asset-BRQVuIes.js} +1 -1
  3. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-booking-Sjsqh31e.js → base-booking-Bhy2Kww1.js} +2 -2
  4. package/dist/chunks/pkg/booking-engine/dist/schemas/{base-product-C_ATjuc6.js → base-product-BJHQLX8t.js} +1 -1
  5. package/dist/chunks/pkg/booking-engine/dist/schemas/{insurance-B01h642r.js → insurance-CPeHsTss.js} +1 -1
  6. package/dist/chunks/pkg/booking-engine/dist/schemas-BfXM1Dgb.js +14 -0
  7. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.d.ts.map +1 -1
  8. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +35 -53
  9. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.d.ts.map +1 -1
  10. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +35 -53
  11. package/dist/components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js +1 -1
  12. package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts +7 -0
  13. package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.d.ts.map +1 -0
  14. package/dist/components/BookingPeriodSelector/components/internal/BookingHourPickerField.js +29 -0
  15. package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.d.ts.map +1 -1
  16. package/dist/components/BookingPeriodSelector/components/internal/ModalHourPickerField.js +11 -2
  17. package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts +3 -0
  18. package/dist/components/BookingPeriodSelector/useBookingPeriodController.d.ts.map +1 -1
  19. package/dist/components/BookingPeriodSelector/useBookingPeriodController.js +114 -110
  20. package/dist/index.d.ts +5 -0
  21. package/dist/index.js +70 -70
  22. package/dist/lib/booking.js +1 -1
  23. package/dist/lib/checkoutSubmit.js +2 -2
  24. package/dist/pages/BookingPage.d.ts.map +1 -1
  25. package/dist/pages/BookingPage.js +180 -152
  26. package/dist/pages/HomePage.d.ts.map +1 -1
  27. package/dist/pages/HomePage.js +263 -257
  28. package/dist/storefront.css +1 -1
  29. package/dist/storefrontSchemas.js +1 -1
  30. package/package.json +1 -1
  31. package/dist/chunks/pkg/booking-engine/dist/schemas-D_yUBLa0.js +0 -14
package/dist/index.js CHANGED
@@ -2,81 +2,81 @@
2
2
  import { createLocalizedStringEntry as e, getLocalizedStringValue as t, localizedStringArraySchema as n, localizedStringEntrySchema as r, localizedStringSchema as i } from "./chunks/pkg/booking-engine/dist/models/LocalizedString-D_TRgAdr.js";
3
3
  import { currencyCodeSchema as a, currencyMinorUnitDigits as o, majorToMinor as s, minorToMajor as c, moneyMinorSchema as l, signedMoneyMinorSchema as u } from "./chunks/pkg/booking-engine/dist/schemas/money-CVoCY4of.js";
4
4
  import { priceSchema as d, priceUnitSchema as f } from "./chunks/pkg/booking-engine/dist/models/Price-DCAgqkKh.js";
5
- import { PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as p, PRODUCT_VARIANT_CODE_MAX_LENGTH as m, accessoryProductSchema as h, bikeProductSchema as g, eBikeProductSchema as _, isProductVariantCodeIdentifierKind as v, productInsuranceSchema as y, productKindSchema as b, productSchema as x, productStorefrontDisplayModeSchema as S, productVariantAttributeSchema as C, productVariantCodeSchema as w, productVariantIdentifierSchema as T, productVariantSchema as E } from "./chunks/pkg/booking-engine/dist/models/Product.shared-cjcvMCMa.js";
6
- import { richTextJsonDocSchema as D, richTextSchema as O, richTextVersionSchema as k } from "./chunks/pkg/booking-engine/dist/schemas/rich-text-DTRh7U3z.js";
7
- import { isoDateSchema as A, shopConfigurationSchema as j, shopExtraTimeSlotRuleSchema as M, shopOpeningDayIndexSchema as N, shopOpeningDaySchema as P, shopOpeningHoursOverrideSchema as F, shopOpeningHoursPeriodSchema as I, shopOpeningSlotSchema as L, timeOfDaySchema as R } from "./chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-BlLD1gfz.js";
8
- import { DEFAULT_CANCELLATION_POLICY as z, DEFAULT_PAYMENT_POLICIES as B, cancellationPolicySchema as V, cancellationPolicyTierSchema as H, paymentPoliciesSchema as U } from "./chunks/pkg/booking-engine/dist/schemas/booking-engine-configuration-LnrhShqm.js";
9
- import { fulfillmentModeSchema as W, publicBookingEngineConfigurationSchema as G, publicCheckoutConfigurationSchema as K, publicCheckoutDynamicOptionsSchema as q } from "./chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-CEM9mexX.js";
10
- import { DEFAULT_BOOKING_DELIVERY_OPTION as J, bookingCustomerInputSchema as Y, bookingDeliveryOptionSchema as X, bookingScheduleInputSchema as Z, cartItemInputSchema as Q, createBookingInputBaseSchema as $, createBookingInputSchema as ee, resolveBookingDeliveryOption as te, validateBookingDeliveryAddress as ne } from "./chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js";
11
- import { bookingInsuranceConsentSourceSchema as re, bookingInsuranceItemSnapshotSchema as ie, bookingInsuranceSnapshotSchema as ae, buildBookingInsuranceSnapshot as oe, calculateInsuranceCalendarDays as se, insuranceProviderSchema as ce } from "./chunks/pkg/booking-engine/dist/schemas/insurance-B01h642r.js";
12
- import { baseAssetSchema as le, baseAssetStatusSchema as ue } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-CsOe0vXi.js";
13
- import { baseBookingItemSchema as de, baseBookingSchema as fe, baseBookingStateSchema as pe } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-Sjsqh31e.js";
14
- import "./chunks/pkg/booking-engine/dist/schemas-D_yUBLa0.js";
15
- import { STOREFRONT_HERO_MODES as me, storefrontCheckoutModeSchema as he, storefrontConfigurationSchema as ge, storefrontContentSchema as _e, storefrontFaqItemSchema as ve, storefrontFaqSchema as ye, storefrontFulfillmentModeSchema as be, storefrontHeroModeSchema as xe, storefrontLocalizedRichTextSchema as Se, storefrontModalMessageSchema as Ce, storefrontModulesSchema as we, storefrontReviewsModuleSchema as Te, storefrontRichTextSchema as Ee, storefrontSettingsSchema as De, storefrontShopSchema as Oe, storefrontStatusSchema as ke, storefrontWorkspaceSchema as Ae } from "./storefrontSchemas.js";
16
- import { BOOKING_SEARCH_KEYS as je, TIME_OPTIONS as Me, applyBookingParamsToSearch as Ne, createBookingPeriodConfigFromBookingEngineConfiguration as Pe, createBookingPeriodConfigFromShopConfiguration as Fe, createBookingPeriodConfigFromStorefrontConfiguration as Ie, getBookingDurationLabel as Le, getBookingDurationMinutes as Re, getBookingParamsFromSearch as ze, getBookingSessionStorageKey as Be, getDefaultBookingParams as Ve, getDefaultBookingParamsForStorefrontConfiguration as He, pickBookingSearchParams as Ue, readBookingSearchParamsFromSessionStorage as We, readBookingSearchParamsFromStorage as Ge, resolveBookingSearchParams as Ke, resolveBookingSearchParamsFromSessionStorage as qe, writeBookingSearchParamsToSessionStorage as Je, writeBookingSearchParamsToStorage as Ye } from "./lib/booking.js";
17
- import { CATALOG_PRODUCT_BASE_RATE_UNSET as Xe, buildStorefrontProductSlug as Ze, buildVariantStorefrontProductId as Qe, compareCatalogProducts as $e, compareStorefrontAccessoryProducts as et, compareStorefrontBikeProducts as tt, findStorefrontProduct as nt, findStorefrontProductBySlug as rt, getCatalogProductBaseRateMinor as it, getCatalogProductPaginationSort as at, getCatalogProductSortFieldForPriceUnit as ot, getStorefrontBaseDailyRateMinor as st, getStorefrontCheckoutProductId as ct, getStorefrontRepresentedVariantId as lt, toStorefrontAccessoryProducts as ut, toStorefrontBikeProducts as dt, toStorefrontBookingProducts as ft, toStorefrontBookingProductsCollections as pt } from "./lib/products.js";
18
- import { StorefrontCartProvider as mt, resolveStorefrontCartItemProduct as ht, useStorefrontCart as gt } from "./lib/cart.js";
19
- import { cn as _t, formatPriceMinor as vt, getAvailabilityVariant as yt, getMinDayPriceMinor as bt } from "./lib/utils.js";
20
- import { buildDailyPriceRows as xt, buildPriceTierLabels as St, calculateDailyPriceForQuantity as Ct, formatStorefrontPriceMinor as wt } from "./lib/pricing.js";
21
- import { getLocalizedEntry as Tt, getLocalizedValue as Et } from "./localization.js";
22
- import { buildStorefrontCartSummary as Dt } from "./lib/cartSummary.js";
23
- import { ROUTE as Ot, requestSchema as kt, responseSchema as At } from "./lib/contactForm.js";
24
- import { formatStorefrontPhoneDisplay as jt, resolveStorefrontMapsHref as Mt, resolveStorefrontPhoneContact as Nt } from "./lib/storefrontContact.js";
25
- import { buildWhatsAppHref as Pt, resolveStorefrontWhatsAppContact as Ft, resolveStorefrontWhatsAppHref as It } from "./lib/whatsapp.js";
26
- import { ROUTE as Lt, requestBaseSchema as Rt, requestCheckoutItemSchema as zt, requestDeliveryRefinement as Bt, requestSchema as Vt, responseSchema as Ht } from "./lib/checkoutSubmit.js";
27
- import { ROUTE as Ut, requestSchema as Wt, responseSchema as Gt, storefrontPublicAccessoryProductSchema as Kt, storefrontPublicBikeAvailabilityStatusSchema as qt, storefrontPublicBikeProductSchema as Jt, storefrontPublicProductDisplayModeSchema as Yt, storefrontPublicProductPriceSchema as Xt, storefrontPublicProductVariantAttributeSchema as Zt, storefrontPublicProductVariantIdentifierSchema as Qt, storefrontPublicProductVariantSchema as $t } from "./lib/storefrontProducts.js";
28
- import { ROUTE as en, buildStorefrontAvailabilityKey as tn, doesStorefrontAvailabilityDisplaySoldOut as nn, getStorefrontAvailabilityIssue as rn, getStorefrontAvailabilityStatus as an, isStorefrontAvailabilityInsufficient as on, publicAvailabilityDisplayModeSchema as sn, requestSchema as cn, responseSchema as ln, shouldBlockStorefrontUnavailableItem as un, storefrontAvailabilityProductSchema as dn, storefrontAvailabilityScheduleSchema as fn, storefrontPublicAvailabilityRecordSchema as pn } from "./lib/storefrontAvailability.js";
29
- import { ROUTE as mn, buildStorefrontImageUrl as hn, requestSchema as gn } from "./lib/storefrontImage.js";
30
- import { ROUTE as _n, requestSchema as vn, responseSchema as yn, storefrontTimeSlotSchema as bn, timeSlotJourneySchema as xn } from "./lib/storefrontTimeSlots.js";
31
- import { Footer as Sn } from "./components/Footer/index.js";
32
- import { Badge as Cn, badgeVariants as wn } from "./ui/badge.js";
33
- import { Button as Tn, buttonVariants as En } from "./ui/button.js";
34
- import { Header as Dn } from "./components/Header/index.js";
35
- import { storefront as On } from "./i18n/en.js";
36
- import { storefront as kn } from "./i18n/fr.js";
37
- import { PoweredByLoczerBadge as An } from "./components/PoweredByLoczerBadge/index.js";
38
- import { PlatformFooter as jn } from "./components/PlatformFooter/index.js";
39
- import { useWhatsAppFloatingButton as Mn } from "./components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js";
40
- import { WhatsAppFloatingButton as Nn } from "./components/WhatsAppFloatingButton/WhatsAppFloatingButton.js";
5
+ import { DEFAULT_PRODUCT_KIND as p, PRODUCT_VARIANT_CODE_IDENTIFIER_KIND as m, PRODUCT_VARIANT_CODE_MAX_LENGTH as h, accessoryProductSchema as g, bikeProductSchema as _, eBikeProductSchema as v, isProductVariantCodeIdentifierKind as y, productInsuranceSchema as b, productKindSchema as x, productSchema as S, productStorefrontDisplayModeSchema as C, productVariantAttributeSchema as w, productVariantCodeSchema as T, productVariantIdentifierSchema as E, productVariantSchema as D } from "./chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js";
6
+ import { richTextJsonDocSchema as O, richTextSchema as k, richTextVersionSchema as A } from "./chunks/pkg/booking-engine/dist/schemas/rich-text-DTRh7U3z.js";
7
+ import { isoDateSchema as j, shopConfigurationSchema as M, shopExtraTimeSlotRuleSchema as N, shopOpeningDayIndexSchema as P, shopOpeningDaySchema as F, shopOpeningHoursOverrideSchema as I, shopOpeningHoursPeriodSchema as L, shopOpeningSlotSchema as R, timeOfDaySchema as z } from "./chunks/pkg/booking-engine/dist/schemas/shop-opening-hours-BlLD1gfz.js";
8
+ import { DEFAULT_CANCELLATION_POLICY as B, DEFAULT_PAYMENT_POLICIES as V, cancellationPolicySchema as H, cancellationPolicyTierSchema as U, paymentPoliciesSchema as W } from "./chunks/pkg/booking-engine/dist/schemas/booking-engine-configuration-LnrhShqm.js";
9
+ import { fulfillmentModeSchema as G, publicBookingEngineConfigurationSchema as K, publicCheckoutConfigurationSchema as q, publicCheckoutDynamicOptionsSchema as J } from "./chunks/pkg/booking-engine/dist/schemas/public-booking-engine-configuration-CEM9mexX.js";
10
+ import { DEFAULT_BOOKING_DELIVERY_OPTION as Y, bookingCustomerInputSchema as X, bookingDeliveryOptionSchema as Z, bookingScheduleInputSchema as Q, cartItemInputSchema as $, createBookingInputBaseSchema as ee, createBookingInputSchema as te, resolveBookingDeliveryOption as ne, validateBookingDeliveryAddress as re } from "./chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js";
11
+ import { bookingInsuranceConsentSourceSchema as ie, bookingInsuranceItemSnapshotSchema as ae, bookingInsuranceSnapshotSchema as oe, buildBookingInsuranceSnapshot as se, calculateInsuranceCalendarDays as ce, insuranceProviderSchema as le } from "./chunks/pkg/booking-engine/dist/schemas/insurance-CPeHsTss.js";
12
+ import { baseAssetSchema as ue, baseAssetStatusSchema as de } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-BRQVuIes.js";
13
+ import { baseBookingItemSchema as fe, baseBookingSchema as pe, baseBookingStateSchema as me } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js";
14
+ import "./chunks/pkg/booking-engine/dist/schemas-BfXM1Dgb.js";
15
+ import { STOREFRONT_HERO_MODES as he, storefrontCheckoutModeSchema as ge, storefrontConfigurationSchema as _e, storefrontContentSchema as ve, storefrontFaqItemSchema as ye, storefrontFaqSchema as be, storefrontFulfillmentModeSchema as xe, storefrontHeroModeSchema as Se, storefrontLocalizedRichTextSchema as Ce, storefrontModalMessageSchema as we, storefrontModulesSchema as Te, storefrontReviewsModuleSchema as Ee, storefrontRichTextSchema as De, storefrontSettingsSchema as Oe, storefrontShopSchema as ke, storefrontStatusSchema as Ae, storefrontWorkspaceSchema as je } from "./storefrontSchemas.js";
16
+ import { BOOKING_SEARCH_KEYS as Me, TIME_OPTIONS as Ne, applyBookingParamsToSearch as Pe, createBookingPeriodConfigFromBookingEngineConfiguration as Fe, createBookingPeriodConfigFromShopConfiguration as Ie, createBookingPeriodConfigFromStorefrontConfiguration as Le, getBookingDurationLabel as Re, getBookingDurationMinutes as ze, getBookingParamsFromSearch as Be, getBookingSessionStorageKey as Ve, getDefaultBookingParams as He, getDefaultBookingParamsForStorefrontConfiguration as Ue, pickBookingSearchParams as We, readBookingSearchParamsFromSessionStorage as Ge, readBookingSearchParamsFromStorage as Ke, resolveBookingSearchParams as qe, resolveBookingSearchParamsFromSessionStorage as Je, writeBookingSearchParamsToSessionStorage as Ye, writeBookingSearchParamsToStorage as Xe } from "./lib/booking.js";
17
+ import { CATALOG_PRODUCT_BASE_RATE_UNSET as Ze, buildStorefrontProductSlug as Qe, buildVariantStorefrontProductId as $e, compareCatalogProducts as et, compareStorefrontAccessoryProducts as tt, compareStorefrontBikeProducts as nt, findStorefrontProduct as rt, findStorefrontProductBySlug as it, getCatalogProductBaseRateMinor as at, getCatalogProductPaginationSort as ot, getCatalogProductSortFieldForPriceUnit as st, getStorefrontBaseDailyRateMinor as ct, getStorefrontCheckoutProductId as lt, getStorefrontRepresentedVariantId as ut, toStorefrontAccessoryProducts as dt, toStorefrontBikeProducts as ft, toStorefrontBookingProducts as pt, toStorefrontBookingProductsCollections as mt } from "./lib/products.js";
18
+ import { StorefrontCartProvider as ht, resolveStorefrontCartItemProduct as gt, useStorefrontCart as _t } from "./lib/cart.js";
19
+ import { cn as vt, formatPriceMinor as yt, getAvailabilityVariant as bt, getMinDayPriceMinor as xt } from "./lib/utils.js";
20
+ import { buildDailyPriceRows as St, buildPriceTierLabels as Ct, calculateDailyPriceForQuantity as wt, formatStorefrontPriceMinor as Tt } from "./lib/pricing.js";
21
+ import { getLocalizedEntry as Et, getLocalizedValue as Dt } from "./localization.js";
22
+ import { buildStorefrontCartSummary as Ot } from "./lib/cartSummary.js";
23
+ import { ROUTE as kt, requestSchema as At, responseSchema as jt } from "./lib/contactForm.js";
24
+ import { formatStorefrontPhoneDisplay as Mt, resolveStorefrontMapsHref as Nt, resolveStorefrontPhoneContact as Pt } from "./lib/storefrontContact.js";
25
+ import { buildWhatsAppHref as Ft, resolveStorefrontWhatsAppContact as It, resolveStorefrontWhatsAppHref as Lt } from "./lib/whatsapp.js";
26
+ import { ROUTE as Rt, requestBaseSchema as zt, requestCheckoutItemSchema as Bt, requestDeliveryRefinement as Vt, requestSchema as Ht, responseSchema as Ut } from "./lib/checkoutSubmit.js";
27
+ import { ROUTE as Wt, requestSchema as Gt, responseSchema as Kt, storefrontPublicAccessoryProductSchema as qt, storefrontPublicBikeAvailabilityStatusSchema as Jt, storefrontPublicBikeProductSchema as Yt, storefrontPublicProductDisplayModeSchema as Xt, storefrontPublicProductPriceSchema as Zt, storefrontPublicProductVariantAttributeSchema as Qt, storefrontPublicProductVariantIdentifierSchema as $t, storefrontPublicProductVariantSchema as en } from "./lib/storefrontProducts.js";
28
+ import { ROUTE as tn, buildStorefrontAvailabilityKey as nn, doesStorefrontAvailabilityDisplaySoldOut as rn, getStorefrontAvailabilityIssue as an, getStorefrontAvailabilityStatus as on, isStorefrontAvailabilityInsufficient as sn, publicAvailabilityDisplayModeSchema as cn, requestSchema as ln, responseSchema as un, shouldBlockStorefrontUnavailableItem as dn, storefrontAvailabilityProductSchema as fn, storefrontAvailabilityScheduleSchema as pn, storefrontPublicAvailabilityRecordSchema as mn } from "./lib/storefrontAvailability.js";
29
+ import { ROUTE as hn, buildStorefrontImageUrl as gn, requestSchema as _n } from "./lib/storefrontImage.js";
30
+ import { ROUTE as vn, requestSchema as yn, responseSchema as bn, storefrontTimeSlotSchema as xn, timeSlotJourneySchema as Sn } from "./lib/storefrontTimeSlots.js";
31
+ import { Footer as Cn } from "./components/Footer/index.js";
32
+ import { Badge as wn, badgeVariants as Tn } from "./ui/badge.js";
33
+ import { Button as En, buttonVariants as Dn } from "./ui/button.js";
34
+ import { Header as On } from "./components/Header/index.js";
35
+ import { storefront as kn } from "./i18n/en.js";
36
+ import { storefront as An } from "./i18n/fr.js";
37
+ import { PoweredByLoczerBadge as jn } from "./components/PoweredByLoczerBadge/index.js";
38
+ import { PlatformFooter as Mn } from "./components/PlatformFooter/index.js";
39
+ import { useWhatsAppFloatingButton as Nn } from "./components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js";
40
+ import { WhatsAppFloatingButton as Pn } from "./components/WhatsAppFloatingButton/WhatsAppFloatingButton.js";
41
41
  import "./components/WhatsAppFloatingButton/index.js";
42
- import { Layout as Pn } from "./components/Layout/index.js";
43
- import { DelayedPlaceholder as Fn, DelayedReveal as In } from "./components/DelayedReveal/index.js";
44
- import { BookingPeriodProvider as Ln, useBookingPeriod as Rn } from "./components/BookingPeriodSelector/BookingPeriodContext.js";
45
- import { Label as zn } from "./ui/label.js";
46
- import { BookingStartDateField as Bn } from "./components/BookingPeriodSelector/components/BookingStartDateField.js";
47
- import { BookingStartTimeField as Vn } from "./components/BookingPeriodSelector/components/BookingStartTimeField.js";
48
- import { BookingEndDateField as Hn } from "./components/BookingPeriodSelector/components/BookingEndDateField.js";
49
- import { BookingEndTimeField as Un } from "./components/BookingPeriodSelector/components/BookingEndTimeField.js";
50
- import { BookingTimeSlotsStatus as Wn } from "./components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js";
51
- import { BookingMobileDateDrawer as Gn } from "./components/BookingPeriodSelector/components/BookingMobileDateDrawer.js";
52
- import { BookingPeriodSelector as Kn } from "./components/BookingPeriodSelector/index.js";
53
- import { BookingFlowSteps as qn } from "./components/BookingFlowSteps/index.js";
54
- import { Input as Jn } from "./ui/input.js";
55
- import { DeliveryAddressSelector as Yn } from "./components/DeliveryAddressSelector/index.js";
56
- import { loader as Xn, useOptionalStorefront as Zn, useStorefront as Qn, useStorefrontBookingProducts as $n, useStorefrontConfig as er, useStorefrontProducts as tr, useStorefrontWorkspaceLanguage as nr } from "./StorefrontProvider.js";
57
- import { Form as rr, FormControl as ir, FormDescription as ar, FormField as or, FormItem as sr, FormLabel as cr, FormMessage as lr, useFormField as ur } from "./ui/form.js";
58
- import { Textarea as dr } from "./ui/textarea.js";
59
- import { ContactSection as fr } from "./components/ContactSection/index.js";
60
- import { TestimonialsSection as pr } from "./components/TestimonialsSection/index.js";
61
- import { AboutSection as mr } from "./components/AboutSection/index.js";
62
- import { StepSectionTitle as hr } from "./components/StepSectionTitle/index.js";
63
- import { Card as gr, CardAction as _r, CardContent as vr, CardDescription as yr, CardFooter as br, CardHeader as xr, CardTitle as Sr } from "./ui/card.js";
64
- import { ProductWarningNotice as Cr } from "./components/ProductWarningNotice/index.js";
65
- import { StorefrontCartPanel as wr } from "./components/StorefrontCartPanel/index.js";
66
- import { ProductPriceBadge as Tr } from "./components/ProductPriceBadge/index.js";
67
- import { ContractSaleDocument as Er } from "./components/ContractSaleDocument/Invoice.js";
42
+ import { Layout as Fn } from "./components/Layout/index.js";
43
+ import { DelayedPlaceholder as In, DelayedReveal as Ln } from "./components/DelayedReveal/index.js";
44
+ import { BookingPeriodProvider as Rn, useBookingPeriod as zn } from "./components/BookingPeriodSelector/BookingPeriodContext.js";
45
+ import { Label as Bn } from "./ui/label.js";
46
+ import { BookingStartDateField as Vn } from "./components/BookingPeriodSelector/components/BookingStartDateField.js";
47
+ import { BookingStartTimeField as Hn } from "./components/BookingPeriodSelector/components/BookingStartTimeField.js";
48
+ import { BookingEndDateField as Un } from "./components/BookingPeriodSelector/components/BookingEndDateField.js";
49
+ import { BookingEndTimeField as Wn } from "./components/BookingPeriodSelector/components/BookingEndTimeField.js";
50
+ import { BookingTimeSlotsStatus as Gn } from "./components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js";
51
+ import { BookingMobileDateDrawer as Kn } from "./components/BookingPeriodSelector/components/BookingMobileDateDrawer.js";
52
+ import { BookingPeriodSelector as qn } from "./components/BookingPeriodSelector/index.js";
53
+ import { BookingFlowSteps as Jn } from "./components/BookingFlowSteps/index.js";
54
+ import { Input as Yn } from "./ui/input.js";
55
+ import { DeliveryAddressSelector as Xn } from "./components/DeliveryAddressSelector/index.js";
56
+ import { loader as Zn, useOptionalStorefront as Qn, useStorefront as $n, useStorefrontBookingProducts as er, useStorefrontConfig as tr, useStorefrontProducts as nr, useStorefrontWorkspaceLanguage as rr } from "./StorefrontProvider.js";
57
+ import { Form as ir, FormControl as ar, FormDescription as or, FormField as sr, FormItem as cr, FormLabel as lr, FormMessage as ur, useFormField as dr } from "./ui/form.js";
58
+ import { Textarea as fr } from "./ui/textarea.js";
59
+ import { ContactSection as pr } from "./components/ContactSection/index.js";
60
+ import { TestimonialsSection as mr } from "./components/TestimonialsSection/index.js";
61
+ import { AboutSection as hr } from "./components/AboutSection/index.js";
62
+ import { StepSectionTitle as gr } from "./components/StepSectionTitle/index.js";
63
+ import { Card as _r, CardAction as vr, CardContent as yr, CardDescription as br, CardFooter as xr, CardHeader as Sr, CardTitle as Cr } from "./ui/card.js";
64
+ import { ProductWarningNotice as wr } from "./components/ProductWarningNotice/index.js";
65
+ import { StorefrontCartPanel as Tr } from "./components/StorefrontCartPanel/index.js";
66
+ import { ProductPriceBadge as Er } from "./components/ProductPriceBadge/index.js";
67
+ import { ContractSaleDocument as Dr } from "./components/ContractSaleDocument/Invoice.js";
68
68
  import "./components/ContractSaleDocument/index.js";
69
- import { RadioGroup as Dr, RadioGroupItem as Or } from "./ui/radio-group.js";
69
+ import { RadioGroup as Or, RadioGroupItem as kr } from "./ui/radio-group.js";
70
70
  import "./pages/HomePage.js";
71
71
  import "./pages/BookingPage.js";
72
72
  import "./pages/ProductPage.js";
73
73
  import "./pages/CheckoutPage.js";
74
74
  import "./pages/CheckoutSuccessPage.js";
75
75
  import "./pages/NotFoundPage.js";
76
- import { accessories as kr } from "./data/accessories.js";
77
- import Ar from "./data/bikes.js";
78
- import { contractSaleDocumentAcceptanceLevelSchema as jr, contractSaleDocumentAcceptanceRecordSchema as Mr, contractSaleDocumentAcceptanceSchema as Nr, contractSaleDocumentAddressSchema as Pr, contractSaleDocumentAppendixKindSchema as Fr, contractSaleDocumentAppendixSchema as Ir, contractSaleDocumentContactSchema as Lr, contractSaleDocumentKindSchema as Rr, contractSaleDocumentLanguageCodeSchema as zr, contractSaleDocumentLanguageSchema as Br, contractSaleDocumentLineItemSchema as Vr, contractSaleDocumentRentalSchema as Hr, contractSaleDocumentSchema as Ur, contractSaleDocumentSignatureSchema as Wr } from "./lib/contractSaleDocument.js";
79
- import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Gr, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as Kr, GET_CONTRACT_SALE_DOCUMENT_ROUTE as qr, acceptContractSaleDocumentRequestSchema as Jr, acceptContractSaleDocumentResponseSchema as Yr, contractSaleDocumentAcceptanceInputSchema as Xr, contractSaleDocumentAcceptanceRecordInputSchema as Zr, contractSaleDocumentApiAcceptanceRecordSchema as Qr, contractSaleDocumentApiAcceptanceSchema as $r, contractSaleDocumentApiSchema as ei, contractSaleDocumentApiSignatureSchema as ti, contractSaleDocumentReferenceSchema as ni, contractSaleDocumentReferenceTypeSchema as ri, contractSaleDocumentSignatureInputSchema as ii, downloadContractSaleDocumentPdfRequestSchema as ai, getContractSaleDocumentRequestSchema as oi, getContractSaleDocumentResponseSchema as si } from "./lib/contractSaleDocumentApi.js";
80
- import ci from "./routes.js";
81
- import { Select as li, SelectContent as ui, SelectGroup as di, SelectIcon as fi, SelectItem as pi, SelectItemIndicator as mi, SelectItemText as hi, SelectLabel as gi, SelectScrollDownButton as _i, SelectScrollUpButton as vi, SelectSeparator as yi, SelectTrigger as bi, SelectValue as xi } from "./ui/select.js";
82
- export { Gr as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, mr as AboutSection, je as BOOKING_SEARCH_KEYS, Cn as Badge, Hn as BookingEndDateField, Un as BookingEndTimeField, qn as BookingFlowSteps, Gn as BookingMobileDateDrawer, Ln as BookingPeriodProvider, Kn as BookingPeriodSelector, Bn as BookingStartDateField, Vn as BookingStartTimeField, Wn as BookingTimeSlotsStatus, Tn as Button, Xe as CATALOG_PRODUCT_BASE_RATE_UNSET, gr as Card, _r as CardAction, vr as CardContent, yr as CardDescription, br as CardFooter, xr as CardHeader, Sr as CardTitle, fr as ContactSection, Er as ContractSaleDocument, J as DEFAULT_BOOKING_DELIVERY_OPTION, z as DEFAULT_CANCELLATION_POLICY, B as DEFAULT_PAYMENT_POLICIES, Kr as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, Fn as DelayedPlaceholder, In as DelayedReveal, Yn as DeliveryAddressSelector, Sn as Footer, rr as Form, ir as FormControl, ar as FormDescription, or as FormField, sr as FormItem, cr as FormLabel, lr as FormMessage, qr as GET_CONTRACT_SALE_DOCUMENT_ROUTE, Dn as Header, Jn as Input, zn as Label, Pn as Layout, p as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, m as PRODUCT_VARIANT_CODE_MAX_LENGTH, jn as PlatformFooter, An as PoweredByLoczerBadge, Tr as ProductPriceBadge, Cr as ProductWarningNotice, Ot as ROUTE, Dr as RadioGroup, Or as RadioGroupItem, en as STOREFRONT_AVAILABILITY_ROUTE, Lt as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, me as STOREFRONT_HERO_MODES, mn as STOREFRONT_IMAGE_ROUTE, Ut as STOREFRONT_PRODUCTS_ROUTE, _n as STOREFRONT_TIME_SLOTS_ROUTE, li as Select, ui as SelectContent, di as SelectGroup, fi as SelectIcon, pi as SelectItem, mi as SelectItemIndicator, hi as SelectItemText, gi as SelectLabel, _i as SelectScrollDownButton, vi as SelectScrollUpButton, yi as SelectSeparator, bi as SelectTrigger, xi as SelectValue, hr as StepSectionTitle, wr as StorefrontCartPanel, mt as StorefrontCartProvider, Me as TIME_OPTIONS, pr as TestimonialsSection, dr as Textarea, Nn as WhatsAppFloatingButton, Jr as acceptContractSaleDocumentRequestSchema, Yr as acceptContractSaleDocumentResponseSchema, kr as accessories, h as accessoryProductSchema, Ne as applyBookingParamsToSearch, wn as badgeVariants, le as baseAssetSchema, ue as baseAssetStatusSchema, de as baseBookingItemSchema, fe as baseBookingSchema, pe as baseBookingStateSchema, g as bikeProductSchema, Ar as bikes, Y as bookingCustomerInputSchema, X as bookingDeliveryOptionSchema, re as bookingInsuranceConsentSourceSchema, ie as bookingInsuranceItemSnapshotSchema, ae as bookingInsuranceSnapshotSchema, Z as bookingScheduleInputSchema, oe as buildBookingInsuranceSnapshot, xt as buildDailyPriceRows, St as buildPriceTierLabels, tn as buildStorefrontAvailabilityKey, Dt as buildStorefrontCartSummary, hn as buildStorefrontImageUrl, Ze as buildStorefrontProductSlug, Qe as buildVariantStorefrontProductId, Pt as buildWhatsAppHref, En as buttonVariants, Ct as calculateDailyPriceForQuantity, se as calculateInsuranceCalendarDays, V as cancellationPolicySchema, H as cancellationPolicyTierSchema, Q as cartItemInputSchema, _t as cn, $e as compareCatalogProducts, et as compareStorefrontAccessoryProducts, tt as compareStorefrontBikeProducts, Xr as contractSaleDocumentAcceptanceInputSchema, jr as contractSaleDocumentAcceptanceLevelSchema, Zr as contractSaleDocumentAcceptanceRecordInputSchema, Mr as contractSaleDocumentAcceptanceRecordSchema, Nr as contractSaleDocumentAcceptanceSchema, Pr as contractSaleDocumentAddressSchema, Qr as contractSaleDocumentApiAcceptanceRecordSchema, $r as contractSaleDocumentApiAcceptanceSchema, ei as contractSaleDocumentApiSchema, ti as contractSaleDocumentApiSignatureSchema, Fr as contractSaleDocumentAppendixKindSchema, Ir as contractSaleDocumentAppendixSchema, Lr as contractSaleDocumentContactSchema, Rr as contractSaleDocumentKindSchema, zr as contractSaleDocumentLanguageCodeSchema, Br as contractSaleDocumentLanguageSchema, Vr as contractSaleDocumentLineItemSchema, ni as contractSaleDocumentReferenceSchema, ri as contractSaleDocumentReferenceTypeSchema, Hr as contractSaleDocumentRentalSchema, Ur as contractSaleDocumentSchema, ii as contractSaleDocumentSignatureInputSchema, Wr as contractSaleDocumentSignatureSchema, $ as createBookingInputBaseSchema, ee as createBookingInputSchema, Pe as createBookingPeriodConfigFromBookingEngineConfiguration, Fe as createBookingPeriodConfigFromShopConfiguration, Ie as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, nn as doesStorefrontAvailabilityDisplaySoldOut, ai as downloadContractSaleDocumentPdfRequestSchema, _ as eBikeProductSchema, nt as findStorefrontProduct, rt as findStorefrontProductBySlug, vt as formatPriceMinor, jt as formatStorefrontPhoneDisplay, wt as formatStorefrontPriceMinor, W as fulfillmentModeSchema, yt as getAvailabilityVariant, Le as getBookingDurationLabel, Re as getBookingDurationMinutes, ze as getBookingParamsFromSearch, Be as getBookingSessionStorageKey, it as getCatalogProductBaseRateMinor, at as getCatalogProductPaginationSort, ot as getCatalogProductSortFieldForPriceUnit, oi as getContractSaleDocumentRequestSchema, si as getContractSaleDocumentResponseSchema, Ve as getDefaultBookingParams, He as getDefaultBookingParamsForStorefrontConfiguration, Tt as getLocalizedEntry, t as getLocalizedStringValue, Et as getLocalizedValue, bt as getMinDayPriceMinor, rn as getStorefrontAvailabilityIssue, an as getStorefrontAvailabilityStatus, st as getStorefrontBaseDailyRateMinor, ct as getStorefrontCheckoutProductId, lt as getStorefrontRepresentedVariantId, ce as insuranceProviderSchema, v as isProductVariantCodeIdentifierKind, on as isStorefrontAvailabilityInsufficient, A as isoDateSchema, Xn as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, U as paymentPoliciesSchema, Ue as pickBookingSearchParams, d as priceSchema, f as priceUnitSchema, y as productInsuranceSchema, b as productKindSchema, x as productSchema, S as productStorefrontDisplayModeSchema, C as productVariantAttributeSchema, w as productVariantCodeSchema, T as productVariantIdentifierSchema, E as productVariantSchema, sn as publicAvailabilityDisplayModeSchema, G as publicBookingEngineConfigurationSchema, K as publicCheckoutConfigurationSchema, q as publicCheckoutDynamicOptionsSchema, We as readBookingSearchParamsFromSessionStorage, Ge as readBookingSearchParamsFromStorage, kt as requestSchema, te as resolveBookingDeliveryOption, Ke as resolveBookingSearchParams, qe as resolveBookingSearchParamsFromSessionStorage, ht as resolveStorefrontCartItemProduct, Mt as resolveStorefrontMapsHref, Nt as resolveStorefrontPhoneContact, Ft as resolveStorefrontWhatsAppContact, It as resolveStorefrontWhatsAppHref, At as responseSchema, D as richTextJsonDocSchema, O as richTextSchema, k as richTextVersionSchema, j as shopConfigurationSchema, M as shopExtraTimeSlotRuleSchema, N as shopOpeningDayIndexSchema, P as shopOpeningDaySchema, F as shopOpeningHoursOverrideSchema, I as shopOpeningHoursPeriodSchema, L as shopOpeningSlotSchema, un as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, dn as storefrontAvailabilityProductSchema, cn as storefrontAvailabilityRequestSchema, ln as storefrontAvailabilityResponseSchema, fn as storefrontAvailabilityScheduleSchema, he as storefrontCheckoutModeSchema, Bt as storefrontCheckoutSubmitDeliveryRefinement, zt as storefrontCheckoutSubmitItemSchema, Rt as storefrontCheckoutSubmitRequestBaseSchema, Vt as storefrontCheckoutSubmitRequestSchema, Ht as storefrontCheckoutSubmitResponseSchema, ge as storefrontConfigurationSchema, _e as storefrontContentSchema, On as storefrontEn, ve as storefrontFaqItemSchema, ye as storefrontFaqSchema, kn as storefrontFr, be as storefrontFulfillmentModeSchema, xe as storefrontHeroModeSchema, gn as storefrontImageRequestSchema, Se as storefrontLocalizedRichTextSchema, Ce as storefrontModalMessageSchema, we as storefrontModulesSchema, Wt as storefrontProductsRequestSchema, Gt as storefrontProductsResponseSchema, Kt as storefrontPublicAccessoryProductSchema, pn as storefrontPublicAvailabilityRecordSchema, qt as storefrontPublicBikeAvailabilityStatusSchema, Jt as storefrontPublicBikeProductSchema, Yt as storefrontPublicProductDisplayModeSchema, Xt as storefrontPublicProductPriceSchema, Zt as storefrontPublicProductVariantAttributeSchema, Qt as storefrontPublicProductVariantIdentifierSchema, $t as storefrontPublicProductVariantSchema, Te as storefrontReviewsModuleSchema, Ee as storefrontRichTextSchema, ci as storefrontRoutes, De as storefrontSettingsSchema, Oe as storefrontShopSchema, ke as storefrontStatusSchema, xn as storefrontTimeSlotJourneySchema, bn as storefrontTimeSlotSchema, vn as storefrontTimeSlotsRequestSchema, yn as storefrontTimeSlotsResponseSchema, Ae as storefrontWorkspaceSchema, R as timeOfDaySchema, ut as toStorefrontAccessoryProducts, dt as toStorefrontBikeProducts, ft as toStorefrontBookingProducts, pt as toStorefrontBookingProductsCollections, Rn as useBookingPeriod, ur as useFormField, Zn as useOptionalStorefront, Qn as useStorefront, $n as useStorefrontBookingProducts, gt as useStorefrontCart, er as useStorefrontConfig, tr as useStorefrontProducts, nr as useStorefrontWorkspaceLanguage, Mn as useWhatsAppFloatingButton, ne as validateBookingDeliveryAddress, Je as writeBookingSearchParamsToSessionStorage, Ye as writeBookingSearchParamsToStorage };
76
+ import { accessories as Ar } from "./data/accessories.js";
77
+ import jr from "./data/bikes.js";
78
+ import { contractSaleDocumentAcceptanceLevelSchema as Mr, contractSaleDocumentAcceptanceRecordSchema as Nr, contractSaleDocumentAcceptanceSchema as Pr, contractSaleDocumentAddressSchema as Fr, contractSaleDocumentAppendixKindSchema as Ir, contractSaleDocumentAppendixSchema as Lr, contractSaleDocumentContactSchema as Rr, contractSaleDocumentKindSchema as zr, contractSaleDocumentLanguageCodeSchema as Br, contractSaleDocumentLanguageSchema as Vr, contractSaleDocumentLineItemSchema as Hr, contractSaleDocumentRentalSchema as Ur, contractSaleDocumentSchema as Wr, contractSaleDocumentSignatureSchema as Gr } from "./lib/contractSaleDocument.js";
79
+ import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Kr, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as qr, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Jr, acceptContractSaleDocumentRequestSchema as Yr, acceptContractSaleDocumentResponseSchema as Xr, contractSaleDocumentAcceptanceInputSchema as Zr, contractSaleDocumentAcceptanceRecordInputSchema as Qr, contractSaleDocumentApiAcceptanceRecordSchema as $r, contractSaleDocumentApiAcceptanceSchema as ei, contractSaleDocumentApiSchema as ti, contractSaleDocumentApiSignatureSchema as ni, contractSaleDocumentReferenceSchema as ri, contractSaleDocumentReferenceTypeSchema as ii, contractSaleDocumentSignatureInputSchema as ai, downloadContractSaleDocumentPdfRequestSchema as oi, getContractSaleDocumentRequestSchema as si, getContractSaleDocumentResponseSchema as ci } from "./lib/contractSaleDocumentApi.js";
80
+ import li from "./routes.js";
81
+ import { Select as ui, SelectContent as di, SelectGroup as fi, SelectIcon as pi, SelectItem as mi, SelectItemIndicator as hi, SelectItemText as gi, SelectLabel as _i, SelectScrollDownButton as vi, SelectScrollUpButton as yi, SelectSeparator as bi, SelectTrigger as xi, SelectValue as Si } from "./ui/select.js";
82
+ export { Kr as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, hr as AboutSection, Me as BOOKING_SEARCH_KEYS, wn as Badge, Un as BookingEndDateField, Wn as BookingEndTimeField, Jn as BookingFlowSteps, Kn as BookingMobileDateDrawer, Rn as BookingPeriodProvider, qn as BookingPeriodSelector, Vn as BookingStartDateField, Hn as BookingStartTimeField, Gn as BookingTimeSlotsStatus, En as Button, Ze as CATALOG_PRODUCT_BASE_RATE_UNSET, _r as Card, vr as CardAction, yr as CardContent, br as CardDescription, xr as CardFooter, Sr as CardHeader, Cr as CardTitle, pr as ContactSection, Dr as ContractSaleDocument, Y as DEFAULT_BOOKING_DELIVERY_OPTION, B as DEFAULT_CANCELLATION_POLICY, V as DEFAULT_PAYMENT_POLICIES, p as DEFAULT_PRODUCT_KIND, qr as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, In as DelayedPlaceholder, Ln as DelayedReveal, Xn as DeliveryAddressSelector, Cn as Footer, ir as Form, ar as FormControl, or as FormDescription, sr as FormField, cr as FormItem, lr as FormLabel, ur as FormMessage, Jr as GET_CONTRACT_SALE_DOCUMENT_ROUTE, On as Header, Yn as Input, Bn as Label, Fn as Layout, m as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, h as PRODUCT_VARIANT_CODE_MAX_LENGTH, Mn as PlatformFooter, jn as PoweredByLoczerBadge, Er as ProductPriceBadge, wr as ProductWarningNotice, kt as ROUTE, Or as RadioGroup, kr as RadioGroupItem, tn as STOREFRONT_AVAILABILITY_ROUTE, Rt as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, he as STOREFRONT_HERO_MODES, hn as STOREFRONT_IMAGE_ROUTE, Wt as STOREFRONT_PRODUCTS_ROUTE, vn as STOREFRONT_TIME_SLOTS_ROUTE, ui as Select, di as SelectContent, fi as SelectGroup, pi as SelectIcon, mi as SelectItem, hi as SelectItemIndicator, gi as SelectItemText, _i as SelectLabel, vi as SelectScrollDownButton, yi as SelectScrollUpButton, bi as SelectSeparator, xi as SelectTrigger, Si as SelectValue, gr as StepSectionTitle, Tr as StorefrontCartPanel, ht as StorefrontCartProvider, Ne as TIME_OPTIONS, mr as TestimonialsSection, fr as Textarea, Pn as WhatsAppFloatingButton, Yr as acceptContractSaleDocumentRequestSchema, Xr as acceptContractSaleDocumentResponseSchema, Ar as accessories, g as accessoryProductSchema, Pe as applyBookingParamsToSearch, Tn as badgeVariants, ue as baseAssetSchema, de as baseAssetStatusSchema, fe as baseBookingItemSchema, pe as baseBookingSchema, me as baseBookingStateSchema, _ as bikeProductSchema, jr as bikes, X as bookingCustomerInputSchema, Z as bookingDeliveryOptionSchema, ie as bookingInsuranceConsentSourceSchema, ae as bookingInsuranceItemSnapshotSchema, oe as bookingInsuranceSnapshotSchema, Q as bookingScheduleInputSchema, se as buildBookingInsuranceSnapshot, St as buildDailyPriceRows, Ct as buildPriceTierLabels, nn as buildStorefrontAvailabilityKey, Ot as buildStorefrontCartSummary, gn as buildStorefrontImageUrl, Qe as buildStorefrontProductSlug, $e as buildVariantStorefrontProductId, Ft as buildWhatsAppHref, Dn as buttonVariants, wt as calculateDailyPriceForQuantity, ce as calculateInsuranceCalendarDays, H as cancellationPolicySchema, U as cancellationPolicyTierSchema, $ as cartItemInputSchema, vt as cn, et as compareCatalogProducts, tt as compareStorefrontAccessoryProducts, nt as compareStorefrontBikeProducts, Zr as contractSaleDocumentAcceptanceInputSchema, Mr as contractSaleDocumentAcceptanceLevelSchema, Qr as contractSaleDocumentAcceptanceRecordInputSchema, Nr as contractSaleDocumentAcceptanceRecordSchema, Pr as contractSaleDocumentAcceptanceSchema, Fr as contractSaleDocumentAddressSchema, $r as contractSaleDocumentApiAcceptanceRecordSchema, ei as contractSaleDocumentApiAcceptanceSchema, ti as contractSaleDocumentApiSchema, ni as contractSaleDocumentApiSignatureSchema, Ir as contractSaleDocumentAppendixKindSchema, Lr as contractSaleDocumentAppendixSchema, Rr as contractSaleDocumentContactSchema, zr as contractSaleDocumentKindSchema, Br as contractSaleDocumentLanguageCodeSchema, Vr as contractSaleDocumentLanguageSchema, Hr as contractSaleDocumentLineItemSchema, ri as contractSaleDocumentReferenceSchema, ii as contractSaleDocumentReferenceTypeSchema, Ur as contractSaleDocumentRentalSchema, Wr as contractSaleDocumentSchema, ai as contractSaleDocumentSignatureInputSchema, Gr as contractSaleDocumentSignatureSchema, ee as createBookingInputBaseSchema, te as createBookingInputSchema, Fe as createBookingPeriodConfigFromBookingEngineConfiguration, Ie as createBookingPeriodConfigFromShopConfiguration, Le as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, rn as doesStorefrontAvailabilityDisplaySoldOut, oi as downloadContractSaleDocumentPdfRequestSchema, v as eBikeProductSchema, rt as findStorefrontProduct, it as findStorefrontProductBySlug, yt as formatPriceMinor, Mt as formatStorefrontPhoneDisplay, Tt as formatStorefrontPriceMinor, G as fulfillmentModeSchema, bt as getAvailabilityVariant, Re as getBookingDurationLabel, ze as getBookingDurationMinutes, Be as getBookingParamsFromSearch, Ve as getBookingSessionStorageKey, at as getCatalogProductBaseRateMinor, ot as getCatalogProductPaginationSort, st as getCatalogProductSortFieldForPriceUnit, si as getContractSaleDocumentRequestSchema, ci as getContractSaleDocumentResponseSchema, He as getDefaultBookingParams, Ue as getDefaultBookingParamsForStorefrontConfiguration, Et as getLocalizedEntry, t as getLocalizedStringValue, Dt as getLocalizedValue, xt as getMinDayPriceMinor, an as getStorefrontAvailabilityIssue, on as getStorefrontAvailabilityStatus, ct as getStorefrontBaseDailyRateMinor, lt as getStorefrontCheckoutProductId, ut as getStorefrontRepresentedVariantId, le as insuranceProviderSchema, y as isProductVariantCodeIdentifierKind, sn as isStorefrontAvailabilityInsufficient, j as isoDateSchema, Zn as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, W as paymentPoliciesSchema, We as pickBookingSearchParams, d as priceSchema, f as priceUnitSchema, b as productInsuranceSchema, x as productKindSchema, S as productSchema, C as productStorefrontDisplayModeSchema, w as productVariantAttributeSchema, T as productVariantCodeSchema, E as productVariantIdentifierSchema, D as productVariantSchema, cn as publicAvailabilityDisplayModeSchema, K as publicBookingEngineConfigurationSchema, q as publicCheckoutConfigurationSchema, J as publicCheckoutDynamicOptionsSchema, Ge as readBookingSearchParamsFromSessionStorage, Ke as readBookingSearchParamsFromStorage, At as requestSchema, ne as resolveBookingDeliveryOption, qe as resolveBookingSearchParams, Je as resolveBookingSearchParamsFromSessionStorage, gt as resolveStorefrontCartItemProduct, Nt as resolveStorefrontMapsHref, Pt as resolveStorefrontPhoneContact, It as resolveStorefrontWhatsAppContact, Lt as resolveStorefrontWhatsAppHref, jt as responseSchema, O as richTextJsonDocSchema, k as richTextSchema, A as richTextVersionSchema, M as shopConfigurationSchema, N as shopExtraTimeSlotRuleSchema, P as shopOpeningDayIndexSchema, F as shopOpeningDaySchema, I as shopOpeningHoursOverrideSchema, L as shopOpeningHoursPeriodSchema, R as shopOpeningSlotSchema, dn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, fn as storefrontAvailabilityProductSchema, ln as storefrontAvailabilityRequestSchema, un as storefrontAvailabilityResponseSchema, pn as storefrontAvailabilityScheduleSchema, ge as storefrontCheckoutModeSchema, Vt as storefrontCheckoutSubmitDeliveryRefinement, Bt as storefrontCheckoutSubmitItemSchema, zt as storefrontCheckoutSubmitRequestBaseSchema, Ht as storefrontCheckoutSubmitRequestSchema, Ut as storefrontCheckoutSubmitResponseSchema, _e as storefrontConfigurationSchema, ve as storefrontContentSchema, kn as storefrontEn, ye as storefrontFaqItemSchema, be as storefrontFaqSchema, An as storefrontFr, xe as storefrontFulfillmentModeSchema, Se as storefrontHeroModeSchema, _n as storefrontImageRequestSchema, Ce as storefrontLocalizedRichTextSchema, we as storefrontModalMessageSchema, Te as storefrontModulesSchema, Gt as storefrontProductsRequestSchema, Kt as storefrontProductsResponseSchema, qt as storefrontPublicAccessoryProductSchema, mn as storefrontPublicAvailabilityRecordSchema, Jt as storefrontPublicBikeAvailabilityStatusSchema, Yt as storefrontPublicBikeProductSchema, Xt as storefrontPublicProductDisplayModeSchema, Zt as storefrontPublicProductPriceSchema, Qt as storefrontPublicProductVariantAttributeSchema, $t as storefrontPublicProductVariantIdentifierSchema, en as storefrontPublicProductVariantSchema, Ee as storefrontReviewsModuleSchema, De as storefrontRichTextSchema, li as storefrontRoutes, Oe as storefrontSettingsSchema, ke as storefrontShopSchema, Ae as storefrontStatusSchema, Sn as storefrontTimeSlotJourneySchema, xn as storefrontTimeSlotSchema, yn as storefrontTimeSlotsRequestSchema, bn as storefrontTimeSlotsResponseSchema, je as storefrontWorkspaceSchema, z as timeOfDaySchema, dt as toStorefrontAccessoryProducts, ft as toStorefrontBikeProducts, pt as toStorefrontBookingProducts, mt as toStorefrontBookingProductsCollections, zn as useBookingPeriod, dr as useFormField, Qn as useOptionalStorefront, $n as useStorefront, er as useStorefrontBookingProducts, _t as useStorefrontCart, tr as useStorefrontConfig, nr as useStorefrontProducts, rr as useStorefrontWorkspaceLanguage, Nn as useWhatsAppFloatingButton, re as validateBookingDeliveryAddress, Ye as writeBookingSearchParamsToSessionStorage, Xe as writeBookingSearchParamsToStorage };
@@ -1,5 +1,5 @@
1
1
  import { DEFAULT_BOOKING_DELIVERY_OPTION as e } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js";
2
- import "../chunks/pkg/booking-engine/dist/schemas-D_yUBLa0.js";
2
+ import "../chunks/pkg/booking-engine/dist/schemas-BfXM1Dgb.js";
3
3
  import { getDefaultBookingPeriod as t, parseTimeToMinutes as n } from "./booking-period.js";
4
4
  import { differenceInMinutes as r, format as i } from "date-fns";
5
5
  //#region src/lib/booking.ts
@@ -1,6 +1,6 @@
1
- import { productKindSchema as e } from "../chunks/pkg/booking-engine/dist/models/Product.shared-cjcvMCMa.js";
1
+ import { productKindSchema as e } from "../chunks/pkg/booking-engine/dist/models/Product.shared-iVSHRdn4.js";
2
2
  import { DEFAULT_BOOKING_DELIVERY_OPTION as t, bookingScheduleInputSchema as n } from "../chunks/pkg/booking-engine/dist/schemas/cart-inputs-D1_Wmkca.js";
3
- import "../chunks/pkg/booking-engine/dist/schemas-D_yUBLa0.js";
3
+ import "../chunks/pkg/booking-engine/dist/schemas-BfXM1Dgb.js";
4
4
  import { storefrontFulfillmentModeSchema as r } from "../storefrontSchemas.js";
5
5
  import { MISSING_ONLINE_PAYMENT_PROVIDER_ERROR_CODE as i, checkoutPaymentErrorCodeSchema as a } from "./checkoutPaymentDecision.js";
6
6
  import { z as o } from "zod";
@@ -1 +1 @@
1
- {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AA4QA,MAAM,CAAC,OAAO,UAAU,WAAW,4CA6lBlC"}
1
+ {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AA4QA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAsoBlC"}