@loczer/storefront-sdk 0.213.0 → 0.214.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 (39) hide show
  1. package/dist/StorefrontContext.d.ts +18 -0
  2. package/dist/StorefrontContext.d.ts.map +1 -1
  3. package/dist/StorefrontProvider.d.ts +9 -0
  4. package/dist/StorefrontProvider.d.ts.map +1 -1
  5. package/dist/chunks/pkg/ui/dist/Drawer/{index-CSvSVP_J.js → index-Dp62Y2o5.js} +10 -7
  6. package/dist/chunks/pkg/ui/dist/{ResponsiveDialog-BVwhTZQo.js → ResponsiveDialog-BJ0RG6gh.js} +1 -1
  7. package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
  8. package/dist/components/BookingBikeVariantDialog/index.js +22 -27
  9. package/dist/components/Footer/index.d.ts +2 -1
  10. package/dist/components/Footer/index.d.ts.map +1 -1
  11. package/dist/components/Footer/index.js +64 -58
  12. package/dist/components/Layout/index.d.ts.map +1 -1
  13. package/dist/components/Layout/index.js +1 -0
  14. package/dist/components/PlatformFooter/index.js +6 -6
  15. package/dist/components/StorefrontCancellationPolicyNotice/index.js +1 -1
  16. package/dist/components/StorefrontInsuranceNotice/index.js +1 -1
  17. package/dist/components/StorefrontPopupMessages/index.js +1 -1
  18. package/dist/i18n/en.d.ts +6 -3
  19. package/dist/i18n/en.d.ts.map +1 -1
  20. package/dist/i18n/en.js +6 -3
  21. package/dist/i18n/fr.d.ts +6 -3
  22. package/dist/i18n/fr.d.ts.map +1 -1
  23. package/dist/i18n/fr.js +6 -3
  24. package/dist/index.d.ts +64 -7
  25. package/dist/index.js +69 -68
  26. package/dist/pages/BookingPage.d.ts.map +1 -1
  27. package/dist/pages/BookingPage.js +1 -0
  28. package/dist/pages/HomePage.d.ts.map +1 -1
  29. package/dist/pages/HomePage.js +1 -0
  30. package/dist/pages/RentalTermsPage.d.ts +2 -0
  31. package/dist/pages/RentalTermsPage.d.ts.map +1 -0
  32. package/dist/pages/RentalTermsPage.js +52 -0
  33. package/dist/routes.d.ts.map +1 -1
  34. package/dist/routes.js +14 -10
  35. package/dist/storefront.css +1 -1
  36. package/dist/storefrontSchemas.d.ts +19 -0
  37. package/dist/storefrontSchemas.d.ts.map +1 -1
  38. package/dist/storefrontSchemas.js +39 -35
  39. package/package.json +1 -1
package/dist/i18n/en.d.ts CHANGED
@@ -369,8 +369,11 @@ export declare const storefront: {
369
369
  contact_form_validation_phone_invalid: string;
370
370
  contact_form_validation_message_required: string;
371
371
  contact_form_validation_message_too_long: string;
372
- footer_brand_title: string;
373
- footer_brand_description: string;
372
+ footer_information_title: string;
373
+ rental_terms_title: string;
374
+ rental_terms_description: string;
375
+ rental_terms_effective_date: string;
376
+ rental_terms_unavailable: string;
374
377
  footer_contact_title: string;
375
378
  footer_whatsapp_link: string;
376
379
  footer_hours_title: string;
@@ -381,7 +384,7 @@ export declare const storefront: {
381
384
  footer_hours_week: string;
382
385
  footer_hours_weekend: string;
383
386
  platform_footer_powered_by: string;
384
- platform_footer_terms: string;
387
+ platform_footer_legal_mentions: string;
385
388
  platform_footer_privacy: string;
386
389
  platform_footer_tagline: string;
387
390
  secure_payment_link: {
@@ -1 +1 @@
1
- {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqftB,CAAA"}
1
+ {"version":3,"file":"en.d.ts","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwftB,CAAA"}
package/dist/i18n/en.js CHANGED
@@ -370,8 +370,11 @@ var e = {
370
370
  contact_form_validation_phone_invalid: "Invalid phone number.",
371
371
  contact_form_validation_message_required: "Message is required.",
372
372
  contact_form_validation_message_too_long: "Message is too long.",
373
- footer_brand_title: "Need help choosing?",
374
- footer_brand_description: "Contact us and we’ll help you pick the right bikes and accessories.",
373
+ footer_information_title: "Information",
374
+ rental_terms_title: "Rental terms",
375
+ rental_terms_description: "These terms govern bookings and rentals provided by {{shop_name}}.",
376
+ rental_terms_effective_date: "Version in effect on {{date}}.",
377
+ rental_terms_unavailable: "The rental terms have not been published yet.",
375
378
  footer_contact_title: "Contact",
376
379
  footer_whatsapp_link: "WhatsApp",
377
380
  footer_hours_title: "Opening hours",
@@ -382,7 +385,7 @@ var e = {
382
385
  footer_hours_week: "Mon–Fri: 10:00–18:30",
383
386
  footer_hours_weekend: "Sat–Sun: 10:00–18:30",
384
387
  platform_footer_powered_by: "Powered by LOCZER",
385
- platform_footer_terms: "Terms of use",
388
+ platform_footer_legal_mentions: "Legal notice",
386
389
  platform_footer_privacy: "Privacy policy",
387
390
  platform_footer_tagline: "The software that runs bike rental shops.",
388
391
  secure_payment_link: {
package/dist/i18n/fr.d.ts CHANGED
@@ -370,8 +370,11 @@ export declare const storefront: {
370
370
  contact_form_validation_phone_invalid: string;
371
371
  contact_form_validation_message_required: string;
372
372
  contact_form_validation_message_too_long: string;
373
- footer_brand_title: string;
374
- footer_brand_description: string;
373
+ footer_information_title: string;
374
+ rental_terms_title: string;
375
+ rental_terms_description: string;
376
+ rental_terms_effective_date: string;
377
+ rental_terms_unavailable: string;
375
378
  footer_contact_title: string;
376
379
  footer_whatsapp_link: string;
377
380
  footer_hours_title: string;
@@ -382,7 +385,7 @@ export declare const storefront: {
382
385
  footer_hours_week: string;
383
386
  footer_hours_weekend: string;
384
387
  platform_footer_powered_by: string;
385
- platform_footer_terms: string;
388
+ platform_footer_legal_mentions: string;
386
389
  platform_footer_privacy: string;
387
390
  platform_footer_tagline: string;
388
391
  secure_payment_link: {
@@ -1 +1 @@
1
- {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsftB,CAAA"}
1
+ {"version":3,"file":"fr.d.ts","sourceRoot":"","sources":["../../src/i18n/fr.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyftB,CAAA"}
package/dist/i18n/fr.js CHANGED
@@ -371,8 +371,11 @@ var e = {
371
371
  contact_form_validation_phone_invalid: "Numéro de téléphone invalide.",
372
372
  contact_form_validation_message_required: "Le message est requis.",
373
373
  contact_form_validation_message_too_long: "Le message est trop long.",
374
- footer_brand_title: "Besoin de conseils ?",
375
- footer_brand_description: "Contactez-nous, on vous aide à choisir les bons vélos et accessoires.",
374
+ footer_information_title: "Informations",
375
+ rental_terms_title: "Conditions générales de location",
376
+ rental_terms_description: "Ces conditions encadrent les réservations et locations proposées par {{shop_name}}.",
377
+ rental_terms_effective_date: "Version en vigueur au {{date}}.",
378
+ rental_terms_unavailable: "Les conditions générales de location n’ont pas encore été publiées.",
376
379
  footer_contact_title: "Contact",
377
380
  footer_whatsapp_link: "WhatsApp",
378
381
  footer_hours_title: "Horaires d’ouverture",
@@ -383,7 +386,7 @@ var e = {
383
386
  footer_hours_week: "Lun–Ven : 10:00–18:30",
384
387
  footer_hours_weekend: "Sam–Dim : 10:00–18:30",
385
388
  platform_footer_powered_by: "Propulsé par LOCZER",
386
- platform_footer_terms: "Conditions d'utilisation",
389
+ platform_footer_legal_mentions: "Mentions légales",
387
390
  platform_footer_privacy: "Politique de confidentialité",
388
391
  platform_footer_tagline: "Le logiciel qui fait tourner les loueurs de vélos.",
389
392
  secure_payment_link: {
package/dist/index.d.ts CHANGED
@@ -1759,9 +1759,10 @@ export declare const findStorefrontProduct: (id: string, products: StorefrontPro
1759
1759
 
1760
1760
  export declare const findStorefrontProductBySlug: (slug: string, products: StorefrontProductsCollections) => StorefrontProduct | null;
1761
1761
 
1762
- export declare function Footer({ shop, whatsappHref, whatsappPhoneDisplay, openingHours, openingHoursOverrides, }: FooterProps): JSX.Element;
1762
+ export declare function Footer({ storeSlug, shop, whatsappHref, whatsappPhoneDisplay, openingHours, openingHoursOverrides, }: FooterProps): JSX.Element;
1763
1763
 
1764
1764
  declare type FooterProps = {
1765
+ storeSlug?: string;
1765
1766
  shop?: StorefrontShop;
1766
1767
  whatsappHref?: string;
1767
1768
  whatsappPhoneDisplay?: string;
@@ -2368,6 +2369,15 @@ export declare const loader: ({ ctx, params }: LoaderArgs) => Promise<{
2368
2369
  autoTranslated?: boolean | undefined;
2369
2370
  }> | undefined;
2370
2371
  } | undefined;
2372
+ information?: {
2373
+ rentalTerms?: {
2374
+ version: 1;
2375
+ json: string;
2376
+ html: string;
2377
+ text: string;
2378
+ } | undefined;
2379
+ rentalTermsUpdatedAt?: string | null | undefined;
2380
+ } | undefined;
2371
2381
  modules?: {
2372
2382
  reviews?: {
2373
2383
  enabled: boolean;
@@ -3018,6 +3028,8 @@ export declare type RentalPriceRow = {
3018
3028
  perUnitPriceLabel: string;
3019
3029
  };
3020
3030
 
3031
+ export declare function RentalTermsPage(): JSX.Element;
3032
+
3021
3033
  export declare type RequestPayload = z.infer<typeof requestSchema>;
3022
3034
 
3023
3035
  export declare const requestSchema: z.ZodObject<{
@@ -3860,6 +3872,15 @@ export declare const storefrontConfigurationSchema: z.ZodObject<{
3860
3872
  }, z.core.$strip>>>;
3861
3873
  }, z.core.$strip>>;
3862
3874
  }, z.core.$strip>>;
3875
+ information: z.ZodOptional<z.ZodObject<{
3876
+ rentalTerms: z.ZodOptional<z.ZodObject<{
3877
+ version: z.ZodLiteral<1>;
3878
+ json: z.ZodString;
3879
+ html: z.ZodString;
3880
+ text: z.ZodString;
3881
+ }, z.core.$strict>>;
3882
+ rentalTermsUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3883
+ }, z.core.$strip>>;
3863
3884
  modules: z.ZodOptional<z.ZodObject<{
3864
3885
  reviews: z.ZodOptional<z.ZodObject<{
3865
3886
  enabled: z.ZodBoolean;
@@ -4361,8 +4382,11 @@ export declare const storefrontEn: {
4361
4382
  contact_form_validation_phone_invalid: string;
4362
4383
  contact_form_validation_message_required: string;
4363
4384
  contact_form_validation_message_too_long: string;
4364
- footer_brand_title: string;
4365
- footer_brand_description: string;
4385
+ footer_information_title: string;
4386
+ rental_terms_title: string;
4387
+ rental_terms_description: string;
4388
+ rental_terms_effective_date: string;
4389
+ rental_terms_unavailable: string;
4366
4390
  footer_contact_title: string;
4367
4391
  footer_whatsapp_link: string;
4368
4392
  footer_hours_title: string;
@@ -4373,7 +4397,7 @@ export declare const storefrontEn: {
4373
4397
  footer_hours_week: string;
4374
4398
  footer_hours_weekend: string;
4375
4399
  platform_footer_powered_by: string;
4376
- platform_footer_terms: string;
4400
+ platform_footer_legal_mentions: string;
4377
4401
  platform_footer_privacy: string;
4378
4402
  platform_footer_tagline: string;
4379
4403
  secure_payment_link: {
@@ -4896,8 +4920,11 @@ export declare const storefrontFr: {
4896
4920
  contact_form_validation_phone_invalid: string;
4897
4921
  contact_form_validation_message_required: string;
4898
4922
  contact_form_validation_message_too_long: string;
4899
- footer_brand_title: string;
4900
- footer_brand_description: string;
4923
+ footer_information_title: string;
4924
+ rental_terms_title: string;
4925
+ rental_terms_description: string;
4926
+ rental_terms_effective_date: string;
4927
+ rental_terms_unavailable: string;
4901
4928
  footer_contact_title: string;
4902
4929
  footer_whatsapp_link: string;
4903
4930
  footer_hours_title: string;
@@ -4908,7 +4935,7 @@ export declare const storefrontFr: {
4908
4935
  footer_hours_week: string;
4909
4936
  footer_hours_weekend: string;
4910
4937
  platform_footer_powered_by: string;
4911
- platform_footer_terms: string;
4938
+ platform_footer_legal_mentions: string;
4912
4939
  platform_footer_privacy: string;
4913
4940
  platform_footer_tagline: string;
4914
4941
  secure_payment_link: {
@@ -5024,6 +5051,18 @@ export declare const storefrontImageRequestSchema: z.ZodObject<{
5024
5051
  w: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
5025
5052
  }, z.core.$strip>;
5026
5053
 
5054
+ export declare type StorefrontInformation = z.infer<typeof storefrontInformationSchema>;
5055
+
5056
+ export declare const storefrontInformationSchema: z.ZodObject<{
5057
+ rentalTerms: z.ZodOptional<z.ZodObject<{
5058
+ version: z.ZodLiteral<1>;
5059
+ json: z.ZodString;
5060
+ html: z.ZodString;
5061
+ text: z.ZodString;
5062
+ }, z.core.$strict>>;
5063
+ rentalTermsUpdatedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5064
+ }, z.core.$strip>;
5065
+
5027
5066
  export declare const storefrontItinerariesFeaturedRequestSchema: z.ZodObject<{
5028
5067
  storeSlug: z.ZodString;
5029
5068
  }, z.core.$strip>;
@@ -6354,6 +6393,15 @@ export declare function useStorefrontConfig(): {
6354
6393
  autoTranslated?: boolean | undefined;
6355
6394
  }> | undefined;
6356
6395
  } | undefined;
6396
+ information?: {
6397
+ rentalTerms?: {
6398
+ version: 1;
6399
+ json: string;
6400
+ html: string;
6401
+ text: string;
6402
+ } | undefined;
6403
+ rentalTermsUpdatedAt?: string | null | undefined;
6404
+ } | undefined;
6357
6405
  modules?: {
6358
6406
  reviews?: {
6359
6407
  enabled: boolean;
@@ -6581,6 +6629,15 @@ export declare function useStorefrontConfig(): {
6581
6629
  autoTranslated?: boolean | undefined;
6582
6630
  }> | undefined;
6583
6631
  } | undefined;
6632
+ information?: {
6633
+ rentalTerms?: {
6634
+ version: 1;
6635
+ json: string;
6636
+ html: string;
6637
+ text: string;
6638
+ } | undefined;
6639
+ rentalTermsUpdatedAt?: string | null | undefined;
6640
+ } | undefined;
6584
6641
  modules?: {
6585
6642
  reviews?: {
6586
6643
  enabled: boolean;
package/dist/index.js CHANGED
@@ -12,81 +12,82 @@ import { bookingInsuranceConsentSourceSchema as ie, bookingInsuranceItemSnapshot
12
12
  import { assetIdSchema as ue, baseAssetSchema as de, baseAssetStatusSchema as fe } from "./chunks/pkg/booking-engine/dist/schemas/base-asset-B4y__1qj.js";
13
13
  import { baseBookingItemSchema as pe, baseBookingSchema as me, baseBookingStateSchema as he } from "./chunks/pkg/booking-engine/dist/schemas/base-booking-Bhy2Kww1.js";
14
14
  import "./chunks/pkg/booking-engine/dist/schemas-C2PdkXfm.js";
15
- import { STOREFRONT_HERO_MODES as ge, storefrontCheckoutModeSchema as _e, storefrontConfigurationSchema as ve, storefrontContentSchema as ye, storefrontFaqItemSchema as be, storefrontFaqSchema as xe, storefrontFulfillmentModeSchema as Se, storefrontHeroModeSchema as Ce, storefrontLocalizedRichTextSchema as we, storefrontModalMessageSchema as Te, storefrontModulesSchema as Ee, storefrontReviewsModuleSchema as De, storefrontRichTextSchema as Oe, storefrontSettingsSchema as ke, storefrontShopSchema as Ae, storefrontStatusSchema as je, storefrontWorkspaceSchema as Me } from "./storefrontSchemas.js";
16
- import { BOOKING_SEARCH_KEYS as Ne, TIME_OPTIONS as Pe, applyBookingParamsToSearch as Fe, createBookingPeriodConfigFromBookingEngineConfiguration as Ie, createBookingPeriodConfigFromShopConfiguration as Le, createBookingPeriodConfigFromStorefrontConfiguration 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 { getLocalizedEntry as Xe, getLocalizedValue as Ze } from "./localization.js";
18
- import { CATALOG_PRODUCT_BASE_RATE_UNSET as Qe, buildStorefrontProductSlug as $e, buildVariantStorefrontProductId as et, compareCatalogProducts as tt, compareStorefrontAccessoryProducts as nt, compareStorefrontBikeProducts as rt, findStorefrontProduct as it, findStorefrontProductBySlug as at, getCatalogProductBaseRateMinor as ot, getCatalogProductPaginationSort as st, getCatalogProductSortFieldForPriceUnit as ct, getStorefrontBaseDailyRateMinor as lt, getStorefrontCheckoutProductId as ut, getStorefrontProductSelectionDisplayName as dt, getStorefrontRepresentedVariantId as ft, toStorefrontAccessoryProducts as pt, toStorefrontBikeProducts as mt, toStorefrontBookingProducts as ht, toStorefrontBookingProductsCollections as gt } from "./lib/products.js";
19
- import { StorefrontCartProvider as _t, resolveStorefrontCartItemProduct as vt, useStorefrontCart as yt } from "./lib/cart.js";
20
- import { cn as bt, formatPriceMinor as xt, getAvailabilityVariant as St, getMinDayPriceMinor as Ct } from "./lib/utils.js";
21
- import { buildPriceTierLabels as wt, buildRentalPriceRows as Tt, calculateBookingRentalUnitSummary as Et, calculateRentalPriceForQuantity as Dt, formatRentalUnitQuantity as Ot, formatStorefrontPriceMinor as kt, getPricingUnitLabel as At } from "./lib/pricing.js";
22
- import { buildStorefrontCartSummary as jt } from "./lib/cartSummary.js";
23
- import { ROUTE as Mt, requestSchema as Nt, responseSchema as Pt } from "./lib/contactForm.js";
24
- import { formatStorefrontPhoneDisplay as Ft, resolveStorefrontMapsHref as It, resolveStorefrontPhoneContact as Lt } from "./lib/storefrontContact.js";
25
- import { STOREFRONT_ITINERARIES_FEATURED_ROUTE as Rt, STOREFRONT_ITINERARIES_LIST_ROUTE as zt, STOREFRONT_ITINERARY_DETAIL_ROUTE as Bt, storefrontItinerariesFeaturedRequestSchema as Vt, storefrontItinerariesFeaturedResponseSchema as Ht, storefrontItinerariesListRequestSchema as Ut, storefrontItinerariesListResponseSchema as Wt, storefrontItineraryBoundsSchema as Gt, storefrontItineraryCoordinateSchema as Kt, storefrontItineraryDetailRequestSchema as qt, storefrontItineraryDetailResponseSchema as Jt, storefrontItineraryDetailSchema as Yt, storefrontItineraryDifficultySchema as Xt, storefrontItineraryLocalizedStringSchema as Zt, storefrontItineraryMetricsSchema as Qt, storefrontItineraryPreviewSchema as $t, storefrontItineraryStepSchema as en, storefrontItinerarySummarySchema as tn, storefrontItineraryTripTypeSchema as nn } from "./lib/storefrontItineraries.js";
26
- import { buildWhatsAppHref as rn, resolveStorefrontWhatsAppContact as an, resolveStorefrontWhatsAppHref as on } from "./lib/whatsapp.js";
27
- import { ROUTE as sn, requestBaseSchema as cn, requestCheckoutItemSchema as ln, requestDeliveryRefinement as un, requestSchema as dn, responseSchema as fn } from "./lib/checkoutSubmit.js";
28
- import { ROUTE as pn, requestSchema as mn, responseSchema as hn, storefrontPublicAccessoryProductSchema as gn, storefrontPublicBikeAvailabilityStatusSchema as _n, storefrontPublicBikeProductSchema as vn, storefrontPublicProductDisplayModeSchema as yn, storefrontPublicProductPriceSchema as bn, storefrontPublicProductVariantAttributeSchema as xn, storefrontPublicProductVariantIdentifierSchema as Sn, storefrontPublicProductVariantSchema as Cn } from "./lib/storefrontProducts.js";
29
- import { ROUTE as wn, buildStorefrontAvailabilityKey as Tn, doesStorefrontAvailabilityDisplaySoldOut as En, getStorefrontAvailabilityIssue as Dn, getStorefrontAvailabilityStatus as On, isStorefrontAvailabilityInsufficient as kn, publicAvailabilityDisplayModeSchema as An, requestSchema as jn, responseSchema as Mn, shouldBlockStorefrontUnavailableItem as Nn, storefrontAvailabilityProductSchema as Pn, storefrontAvailabilityScheduleSchema as Fn, storefrontPublicAvailabilityRecordSchema as In } from "./lib/storefrontAvailability.js";
30
- import { ROUTE as Ln, buildStorefrontImageUrl as Rn, requestSchema as zn } from "./lib/storefrontImage.js";
31
- import { ROUTE as Bn, requestSchema as Vn, responseSchema as Hn, storefrontTimeSlotSchema as Un, timeSlotJourneySchema as Wn } from "./lib/storefrontTimeSlots.js";
32
- import { Footer as Gn } from "./components/Footer/index.js";
33
- import { Badge as Kn, badgeVariants as qn } from "./ui/badge.js";
34
- import { Button as Jn, buttonVariants as Yn, storefrontButtonRadiusClassName as Xn } from "./ui/button.js";
35
- import { StorefrontContext as Zn, useOptionalStorefront as Qn, useStorefront as $n, useStorefrontBookingProducts as er, useStorefrontConfig as tr, useStorefrontItineraries as nr, useStorefrontProducts as rr, useStorefrontWorkspaceLanguage as ir } from "./StorefrontContext.js";
36
- import { Header as ar } from "./components/Header/index.js";
37
- import { storefront as or } from "./i18n/en.js";
38
- import { storefront as sr } from "./i18n/fr.js";
39
- import { PoweredByLoczerBadge as cr } from "./components/PoweredByLoczerBadge/index.js";
40
- import { PlatformFooter as lr } from "./components/PlatformFooter/index.js";
41
- import { useWhatsAppFloatingButton as ur } from "./components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js";
42
- import { WhatsAppFloatingButton as dr } from "./components/WhatsAppFloatingButton/WhatsAppFloatingButton.js";
15
+ import { STOREFRONT_HERO_MODES as ge, storefrontCheckoutModeSchema as _e, storefrontConfigurationSchema as ve, storefrontContentSchema as ye, storefrontFaqItemSchema as be, storefrontFaqSchema as xe, storefrontFulfillmentModeSchema as Se, storefrontHeroModeSchema as Ce, storefrontInformationSchema as we, storefrontLocalizedRichTextSchema as Te, storefrontModalMessageSchema as Ee, storefrontModulesSchema as De, storefrontReviewsModuleSchema as Oe, storefrontRichTextSchema as ke, storefrontSettingsSchema as Ae, storefrontShopSchema as je, storefrontStatusSchema as Me, storefrontWorkspaceSchema as Ne } from "./storefrontSchemas.js";
16
+ import { BOOKING_SEARCH_KEYS as Pe, TIME_OPTIONS as Fe, applyBookingParamsToSearch as Ie, createBookingPeriodConfigFromBookingEngineConfiguration as Le, createBookingPeriodConfigFromShopConfiguration as Re, createBookingPeriodConfigFromStorefrontConfiguration 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 { getLocalizedEntry as Ze, getLocalizedValue as Qe } from "./localization.js";
18
+ import { CATALOG_PRODUCT_BASE_RATE_UNSET as $e, buildStorefrontProductSlug as et, buildVariantStorefrontProductId as tt, compareCatalogProducts as nt, compareStorefrontAccessoryProducts as rt, compareStorefrontBikeProducts as it, findStorefrontProduct as at, findStorefrontProductBySlug as ot, getCatalogProductBaseRateMinor as st, getCatalogProductPaginationSort as ct, getCatalogProductSortFieldForPriceUnit as lt, getStorefrontBaseDailyRateMinor as ut, getStorefrontCheckoutProductId as dt, getStorefrontProductSelectionDisplayName as ft, getStorefrontRepresentedVariantId as pt, toStorefrontAccessoryProducts as mt, toStorefrontBikeProducts as ht, toStorefrontBookingProducts as gt, toStorefrontBookingProductsCollections as _t } from "./lib/products.js";
19
+ import { StorefrontCartProvider as vt, resolveStorefrontCartItemProduct as yt, useStorefrontCart as bt } from "./lib/cart.js";
20
+ import { cn as xt, formatPriceMinor as St, getAvailabilityVariant as Ct, getMinDayPriceMinor as wt } from "./lib/utils.js";
21
+ import { buildPriceTierLabels as Tt, buildRentalPriceRows as Et, calculateBookingRentalUnitSummary as Dt, calculateRentalPriceForQuantity as Ot, formatRentalUnitQuantity as kt, formatStorefrontPriceMinor as At, getPricingUnitLabel as jt } from "./lib/pricing.js";
22
+ import { buildStorefrontCartSummary as Mt } from "./lib/cartSummary.js";
23
+ import { ROUTE as Nt, requestSchema as Pt, responseSchema as Ft } from "./lib/contactForm.js";
24
+ import { formatStorefrontPhoneDisplay as It, resolveStorefrontMapsHref as Lt, resolveStorefrontPhoneContact as Rt } from "./lib/storefrontContact.js";
25
+ import { STOREFRONT_ITINERARIES_FEATURED_ROUTE as zt, STOREFRONT_ITINERARIES_LIST_ROUTE as Bt, STOREFRONT_ITINERARY_DETAIL_ROUTE as Vt, storefrontItinerariesFeaturedRequestSchema as Ht, storefrontItinerariesFeaturedResponseSchema as Ut, storefrontItinerariesListRequestSchema as Wt, storefrontItinerariesListResponseSchema as Gt, storefrontItineraryBoundsSchema as Kt, storefrontItineraryCoordinateSchema as qt, storefrontItineraryDetailRequestSchema as Jt, storefrontItineraryDetailResponseSchema as Yt, storefrontItineraryDetailSchema as Xt, storefrontItineraryDifficultySchema as Zt, storefrontItineraryLocalizedStringSchema as Qt, storefrontItineraryMetricsSchema as $t, storefrontItineraryPreviewSchema as en, storefrontItineraryStepSchema as tn, storefrontItinerarySummarySchema as nn, storefrontItineraryTripTypeSchema as rn } from "./lib/storefrontItineraries.js";
26
+ import { buildWhatsAppHref as an, resolveStorefrontWhatsAppContact as on, resolveStorefrontWhatsAppHref as sn } from "./lib/whatsapp.js";
27
+ import { ROUTE as cn, requestBaseSchema as ln, requestCheckoutItemSchema as un, requestDeliveryRefinement as dn, requestSchema as fn, responseSchema as pn } from "./lib/checkoutSubmit.js";
28
+ import { ROUTE as mn, requestSchema as hn, responseSchema as gn, storefrontPublicAccessoryProductSchema as _n, storefrontPublicBikeAvailabilityStatusSchema as vn, storefrontPublicBikeProductSchema as yn, storefrontPublicProductDisplayModeSchema as bn, storefrontPublicProductPriceSchema as xn, storefrontPublicProductVariantAttributeSchema as Sn, storefrontPublicProductVariantIdentifierSchema as Cn, storefrontPublicProductVariantSchema as wn } from "./lib/storefrontProducts.js";
29
+ import { ROUTE as Tn, buildStorefrontAvailabilityKey as En, doesStorefrontAvailabilityDisplaySoldOut as Dn, getStorefrontAvailabilityIssue as On, getStorefrontAvailabilityStatus as kn, isStorefrontAvailabilityInsufficient as An, publicAvailabilityDisplayModeSchema as jn, requestSchema as Mn, responseSchema as Nn, shouldBlockStorefrontUnavailableItem as Pn, storefrontAvailabilityProductSchema as Fn, storefrontAvailabilityScheduleSchema as In, storefrontPublicAvailabilityRecordSchema as Ln } from "./lib/storefrontAvailability.js";
30
+ import { ROUTE as Rn, buildStorefrontImageUrl as zn, requestSchema as Bn } from "./lib/storefrontImage.js";
31
+ import { ROUTE as Vn, requestSchema as Hn, responseSchema as Un, storefrontTimeSlotSchema as Wn, timeSlotJourneySchema as Gn } from "./lib/storefrontTimeSlots.js";
32
+ import { Footer as Kn } from "./components/Footer/index.js";
33
+ import { Badge as qn, badgeVariants as Jn } from "./ui/badge.js";
34
+ import { Button as Yn, buttonVariants as Xn, storefrontButtonRadiusClassName as Zn } from "./ui/button.js";
35
+ import { StorefrontContext as Qn, useOptionalStorefront as $n, useStorefront as er, useStorefrontBookingProducts as tr, useStorefrontConfig as nr, useStorefrontItineraries as rr, useStorefrontProducts as ir, useStorefrontWorkspaceLanguage as ar } from "./StorefrontContext.js";
36
+ import { Header as or } from "./components/Header/index.js";
37
+ import { storefront as sr } from "./i18n/en.js";
38
+ import { storefront as cr } from "./i18n/fr.js";
39
+ import { PoweredByLoczerBadge as lr } from "./components/PoweredByLoczerBadge/index.js";
40
+ import { PlatformFooter as ur } from "./components/PlatformFooter/index.js";
41
+ import { useWhatsAppFloatingButton as dr } from "./components/WhatsAppFloatingButton/useWhatsAppFloatingButton.js";
42
+ import { WhatsAppFloatingButton as fr } from "./components/WhatsAppFloatingButton/WhatsAppFloatingButton.js";
43
43
  import "./components/WhatsAppFloatingButton/index.js";
44
- import { Layout as fr } from "./components/Layout/index.js";
45
- import { DelayedPlaceholder as pr, DelayedReveal as mr } from "./components/DelayedReveal/index.js";
46
- import { BookingPeriodProvider as hr, useBookingPeriod as gr } from "./components/BookingPeriodSelector/BookingPeriodContext.js";
47
- import { Label as _r } from "./ui/label.js";
48
- import { BookingStartDateField as vr } from "./components/BookingPeriodSelector/components/BookingStartDateField.js";
49
- import { BookingStartTimeField as yr } from "./components/BookingPeriodSelector/components/BookingStartTimeField.js";
50
- import { BookingEndDateField as br } from "./components/BookingPeriodSelector/components/BookingEndDateField.js";
51
- import { BookingEndTimeField as xr } from "./components/BookingPeriodSelector/components/BookingEndTimeField.js";
52
- import { BookingTimeSlotsStatus as Sr } from "./components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js";
53
- import { BookingMobileDateDrawer as Cr } from "./components/BookingPeriodSelector/components/BookingMobileDateDrawer.js";
54
- import { BookingPeriodSelector as wr } from "./components/BookingPeriodSelector/index.js";
55
- import { BookingFlowSteps as Tr } from "./components/BookingFlowSteps/index.js";
56
- import { Input as Er } from "./ui/input.js";
57
- import { DeliveryAddressSelector as Dr } from "./components/DeliveryAddressSelector/index.js";
58
- import { Form as Or, FormControl as kr, FormDescription as Ar, FormField as jr, FormItem as Mr, FormLabel as Nr, FormMessage as Pr, useFormField as Fr } from "./ui/form.js";
59
- import { Textarea as Ir } from "./ui/textarea.js";
60
- import { ContactSection as Lr } from "./components/ContactSection/index.js";
61
- import { TestimonialsSection as Rr } from "./components/TestimonialsSection/index.js";
62
- import { AboutSection as zr } from "./components/AboutSection/index.js";
63
- import { AdminFloatingButton as Br } from "./components/AdminFloatingButton/AdminFloatingButton.js";
44
+ import { Layout as pr } from "./components/Layout/index.js";
45
+ import { DelayedPlaceholder as mr, DelayedReveal as hr } from "./components/DelayedReveal/index.js";
46
+ import { BookingPeriodProvider as gr, useBookingPeriod as _r } from "./components/BookingPeriodSelector/BookingPeriodContext.js";
47
+ import { Label as vr } from "./ui/label.js";
48
+ import { BookingStartDateField as yr } from "./components/BookingPeriodSelector/components/BookingStartDateField.js";
49
+ import { BookingStartTimeField as br } from "./components/BookingPeriodSelector/components/BookingStartTimeField.js";
50
+ import { BookingEndDateField as xr } from "./components/BookingPeriodSelector/components/BookingEndDateField.js";
51
+ import { BookingEndTimeField as Sr } from "./components/BookingPeriodSelector/components/BookingEndTimeField.js";
52
+ import { BookingTimeSlotsStatus as Cr } from "./components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js";
53
+ import { BookingMobileDateDrawer as wr } from "./components/BookingPeriodSelector/components/BookingMobileDateDrawer.js";
54
+ import { BookingPeriodSelector as Tr } from "./components/BookingPeriodSelector/index.js";
55
+ import { BookingFlowSteps as Er } from "./components/BookingFlowSteps/index.js";
56
+ import { Input as Dr } from "./ui/input.js";
57
+ import { DeliveryAddressSelector as Or } from "./components/DeliveryAddressSelector/index.js";
58
+ import { Form as kr, FormControl as Ar, FormDescription as jr, FormField as Mr, FormItem as Nr, FormLabel as Pr, FormMessage as Fr, useFormField as Ir } from "./ui/form.js";
59
+ import { Textarea as Lr } from "./ui/textarea.js";
60
+ import { ContactSection as Rr } from "./components/ContactSection/index.js";
61
+ import { TestimonialsSection as zr } from "./components/TestimonialsSection/index.js";
62
+ import { AboutSection as Br } from "./components/AboutSection/index.js";
63
+ import { AdminFloatingButton as Vr } from "./components/AdminFloatingButton/AdminFloatingButton.js";
64
64
  import "./components/AdminFloatingButton/index.js";
65
- import { ItineraryListItem as Vr } from "./components/Itineraries/ItineraryListItem.js";
66
- import { ItineraryRouteMap as Hr } from "./components/Itineraries/ItineraryRouteMap.js";
67
- import { ItinerariesSection as Ur } from "./components/Itineraries/ItinerariesSection.js";
65
+ import { ItineraryListItem as Hr } from "./components/Itineraries/ItineraryListItem.js";
66
+ import { ItineraryRouteMap as Ur } from "./components/Itineraries/ItineraryRouteMap.js";
67
+ import { ItinerariesSection as Wr } from "./components/Itineraries/ItinerariesSection.js";
68
68
  import "./components/Itineraries/index.js";
69
- import { StepSectionTitle as Wr } from "./components/StepSectionTitle/index.js";
70
- import { Card as Gr, CardAction as Kr, CardContent as qr, CardDescription as Jr, CardFooter as Yr, CardHeader as Xr, CardTitle as Zr } from "./ui/card.js";
71
- import { ProductWarningNotice as Qr } from "./components/ProductWarningNotice/index.js";
72
- import { StorefrontCartPanel as $r } from "./components/StorefrontCartPanel/index.js";
73
- import { ProductPriceBadge as ei } from "./components/ProductPriceBadge/index.js";
74
- import { ContractSaleDocument as ti } from "./components/ContractSaleDocument/Invoice.js";
69
+ import { StepSectionTitle as Gr } from "./components/StepSectionTitle/index.js";
70
+ import { Card as Kr, CardAction as qr, CardContent as Jr, CardDescription as Yr, CardFooter as Xr, CardHeader as Zr, CardTitle as Qr } from "./ui/card.js";
71
+ import { ProductWarningNotice as $r } from "./components/ProductWarningNotice/index.js";
72
+ import { StorefrontCartPanel as ei } from "./components/StorefrontCartPanel/index.js";
73
+ import { ProductPriceBadge as ti } from "./components/ProductPriceBadge/index.js";
74
+ import { ContractSaleDocument as ni } from "./components/ContractSaleDocument/Invoice.js";
75
75
  import "./components/ContractSaleDocument/index.js";
76
- import { RadioGroup as ni, RadioGroupItem as ri } from "./ui/radio-group.js";
76
+ import { RadioGroup as ri, RadioGroupItem as ii } from "./ui/radio-group.js";
77
77
  import "./pages/HomePage.js";
78
78
  import "./pages/BookingPage.js";
79
79
  import "./pages/ProductPage.js";
80
- import ii from "./pages/ItinerariesPage.js";
81
- import ai, { loader as oi } from "./pages/ItineraryDetailsPage.js";
80
+ import ai from "./pages/ItinerariesPage.js";
81
+ import oi, { loader as si } from "./pages/ItineraryDetailsPage.js";
82
+ import ci from "./pages/RentalTermsPage.js";
82
83
  import "./pages/CheckoutPage.js";
83
84
  import "./pages/CheckoutSuccessPage.js";
84
85
  import "./pages/NotFoundPage.js";
85
- import { accessories as si } from "./data/accessories.js";
86
- import ci from "./data/bikes.js";
87
- import { contractSaleDocumentAcceptanceLevelSchema as li, contractSaleDocumentAcceptanceRecordSchema as ui, contractSaleDocumentAcceptanceSchema as di, contractSaleDocumentAddressSchema as fi, contractSaleDocumentAppendixKindSchema as pi, contractSaleDocumentAppendixSchema as mi, contractSaleDocumentContactSchema as hi, contractSaleDocumentKindSchema as gi, contractSaleDocumentLanguageCodeSchema as _i, contractSaleDocumentLanguageSchema as vi, contractSaleDocumentLineItemSchema as yi, contractSaleDocumentRentalSchema as bi, contractSaleDocumentSchema as xi, contractSaleDocumentSignatureSchema as Si } from "./lib/contractSaleDocument.js";
88
- import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Ci, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as wi, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Ti, acceptContractSaleDocumentRequestSchema as Ei, acceptContractSaleDocumentResponseSchema as Di, contractSaleDocumentAcceptanceInputSchema as Oi, contractSaleDocumentAcceptanceRecordInputSchema as ki, contractSaleDocumentApiAcceptanceRecordSchema as Ai, contractSaleDocumentApiAcceptanceSchema as ji, contractSaleDocumentApiSchema as Mi, contractSaleDocumentApiSignatureSchema as Ni, contractSaleDocumentReferenceSchema as Pi, contractSaleDocumentReferenceTypeSchema as Fi, contractSaleDocumentSignatureInputSchema as Ii, downloadContractSaleDocumentPdfRequestSchema as Li, getContractSaleDocumentRequestSchema as Ri, getContractSaleDocumentResponseSchema as zi } from "./lib/contractSaleDocumentApi.js";
89
- import Bi from "./routes.js";
90
- import { loader as Vi } from "./StorefrontProvider.js";
91
- import { Select as Hi, SelectContent as Ui, SelectGroup as Wi, SelectIcon as Gi, SelectItem as Ki, SelectItemIndicator as qi, SelectItemText as Ji, SelectLabel as Yi, SelectScrollDownButton as Xi, SelectScrollUpButton as Zi, SelectSeparator as Qi, SelectTrigger as $i, SelectValue as ea } from "./ui/select.js";
92
- export { Ci as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, zr as AboutSection, Br as AdminFloatingButton, Ne as BOOKING_SEARCH_KEYS, Kn as Badge, br as BookingEndDateField, xr as BookingEndTimeField, Tr as BookingFlowSteps, Cr as BookingMobileDateDrawer, hr as BookingPeriodProvider, wr as BookingPeriodSelector, vr as BookingStartDateField, yr as BookingStartTimeField, Sr as BookingTimeSlotsStatus, Jn as Button, Qe as CATALOG_PRODUCT_BASE_RATE_UNSET, Gr as Card, Kr as CardAction, qr as CardContent, Jr as CardDescription, Yr as CardFooter, Xr as CardHeader, Zr as CardTitle, Lr as ContactSection, ti as ContractSaleDocument, Y as DEFAULT_BOOKING_DELIVERY_OPTION, B as DEFAULT_CANCELLATION_POLICY, V as DEFAULT_PAYMENT_POLICIES, p as DEFAULT_PRODUCT_KIND, wi as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, pr as DelayedPlaceholder, mr as DelayedReveal, Dr as DeliveryAddressSelector, Gn as Footer, Or as Form, kr as FormControl, Ar as FormDescription, jr as FormField, Mr as FormItem, Nr as FormLabel, Pr as FormMessage, Ti as GET_CONTRACT_SALE_DOCUMENT_ROUTE, ar as Header, Er as Input, ii as ItinerariesPage, Ur as ItinerariesSection, ai as ItineraryDetailsPage, Vr as ItineraryListItem, Hr as ItineraryRouteMap, _r as Label, fr as Layout, m as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, h as PRODUCT_VARIANT_CODE_MAX_LENGTH, lr as PlatformFooter, cr as PoweredByLoczerBadge, ei as ProductPriceBadge, Qr as ProductWarningNotice, Mt as ROUTE, ni as RadioGroup, ri as RadioGroupItem, wn as STOREFRONT_AVAILABILITY_ROUTE, sn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, ge as STOREFRONT_HERO_MODES, Ln as STOREFRONT_IMAGE_ROUTE, Rt as STOREFRONT_ITINERARIES_FEATURED_ROUTE, zt as STOREFRONT_ITINERARIES_LIST_ROUTE, Bt as STOREFRONT_ITINERARY_DETAIL_ROUTE, pn as STOREFRONT_PRODUCTS_ROUTE, Bn as STOREFRONT_TIME_SLOTS_ROUTE, Hi as Select, Ui as SelectContent, Wi as SelectGroup, Gi as SelectIcon, Ki as SelectItem, qi as SelectItemIndicator, Ji as SelectItemText, Yi as SelectLabel, Xi as SelectScrollDownButton, Zi as SelectScrollUpButton, Qi as SelectSeparator, $i as SelectTrigger, ea as SelectValue, Wr as StepSectionTitle, $r as StorefrontCartPanel, _t as StorefrontCartProvider, Zn as StorefrontContext, Pe as TIME_OPTIONS, Rr as TestimonialsSection, Ir as Textarea, dr as WhatsAppFloatingButton, Ei as acceptContractSaleDocumentRequestSchema, Di as acceptContractSaleDocumentResponseSchema, si as accessories, g as accessoryProductSchema, Fe as applyBookingParamsToSearch, ue as assetIdSchema, qn as badgeVariants, de as baseAssetSchema, fe as baseAssetStatusSchema, pe as baseBookingItemSchema, me as baseBookingSchema, he as baseBookingStateSchema, _ as bikeProductSchema, ci as bikes, X as bookingCustomerInputSchema, Z as bookingDeliveryOptionSchema, ie as bookingInsuranceConsentSourceSchema, ae as bookingInsuranceItemSnapshotSchema, oe as bookingInsuranceSnapshotSchema, Q as bookingScheduleInputSchema, se as buildBookingInsuranceSnapshot, wt as buildPriceTierLabels, Tt as buildRentalPriceRows, Tn as buildStorefrontAvailabilityKey, jt as buildStorefrontCartSummary, Rn as buildStorefrontImageUrl, $e as buildStorefrontProductSlug, et as buildVariantStorefrontProductId, rn as buildWhatsAppHref, Yn as buttonVariants, Et as calculateBookingRentalUnitSummary, ce as calculateInsuranceCalendarDays, Dt as calculateRentalPriceForQuantity, H as cancellationPolicySchema, U as cancellationPolicyTierSchema, $ as cartItemInputSchema, bt as cn, tt as compareCatalogProducts, nt as compareStorefrontAccessoryProducts, rt as compareStorefrontBikeProducts, Oi as contractSaleDocumentAcceptanceInputSchema, li as contractSaleDocumentAcceptanceLevelSchema, ki as contractSaleDocumentAcceptanceRecordInputSchema, ui as contractSaleDocumentAcceptanceRecordSchema, di as contractSaleDocumentAcceptanceSchema, fi as contractSaleDocumentAddressSchema, Ai as contractSaleDocumentApiAcceptanceRecordSchema, ji as contractSaleDocumentApiAcceptanceSchema, Mi as contractSaleDocumentApiSchema, Ni as contractSaleDocumentApiSignatureSchema, pi as contractSaleDocumentAppendixKindSchema, mi as contractSaleDocumentAppendixSchema, hi as contractSaleDocumentContactSchema, gi as contractSaleDocumentKindSchema, _i as contractSaleDocumentLanguageCodeSchema, vi as contractSaleDocumentLanguageSchema, yi as contractSaleDocumentLineItemSchema, Pi as contractSaleDocumentReferenceSchema, Fi as contractSaleDocumentReferenceTypeSchema, bi as contractSaleDocumentRentalSchema, xi as contractSaleDocumentSchema, Ii as contractSaleDocumentSignatureInputSchema, Si as contractSaleDocumentSignatureSchema, ee as createBookingInputBaseSchema, te as createBookingInputSchema, Ie as createBookingPeriodConfigFromBookingEngineConfiguration, Le as createBookingPeriodConfigFromShopConfiguration, Re as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, En as doesStorefrontAvailabilityDisplaySoldOut, Li as downloadContractSaleDocumentPdfRequestSchema, v as eBikeProductSchema, it as findStorefrontProduct, at as findStorefrontProductBySlug, xt as formatPriceMinor, Ot as formatRentalUnitQuantity, Ft as formatStorefrontPhoneDisplay, kt as formatStorefrontPriceMinor, G as fulfillmentModeSchema, St as getAvailabilityVariant, ze as getBookingParamsFromSearch, Be as getBookingSessionStorageKey, ot as getCatalogProductBaseRateMinor, st as getCatalogProductPaginationSort, ct as getCatalogProductSortFieldForPriceUnit, Ri as getContractSaleDocumentRequestSchema, zi as getContractSaleDocumentResponseSchema, Ve as getDefaultBookingParams, He as getDefaultBookingParamsForStorefrontConfiguration, Xe as getLocalizedEntry, t as getLocalizedStringValue, Ze as getLocalizedValue, Ct as getMinDayPriceMinor, At as getPricingUnitLabel, Dn as getStorefrontAvailabilityIssue, On as getStorefrontAvailabilityStatus, lt as getStorefrontBaseDailyRateMinor, ut as getStorefrontCheckoutProductId, dt as getStorefrontProductSelectionDisplayName, ft as getStorefrontRepresentedVariantId, le as insuranceProviderSchema, y as isProductVariantCodeIdentifierKind, kn as isStorefrontAvailabilityInsufficient, j as isoDateSchema, oi as itineraryDetailsLoader, Vi as loader, n as localizedStringArraySchema, r as localizedStringEntrySchema, i as localizedStringSchema, s as majorToMinor, c as minorToMajor, l as moneyMinorSchema, W as paymentPoliciesSchema, Ue 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, An as publicAvailabilityDisplayModeSchema, K as publicBookingEngineConfigurationSchema, q as publicCheckoutConfigurationSchema, J as publicCheckoutDynamicOptionsSchema, We as readBookingSearchParamsFromSessionStorage, Ge as readBookingSearchParamsFromStorage, Nt as requestSchema, ne as resolveBookingDeliveryOption, Ke as resolveBookingSearchParams, qe as resolveBookingSearchParamsFromSessionStorage, vt as resolveStorefrontCartItemProduct, It as resolveStorefrontMapsHref, Lt as resolveStorefrontPhoneContact, an as resolveStorefrontWhatsAppContact, on as resolveStorefrontWhatsAppHref, Pt 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, Nn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, Pn as storefrontAvailabilityProductSchema, jn as storefrontAvailabilityRequestSchema, Mn as storefrontAvailabilityResponseSchema, Fn as storefrontAvailabilityScheduleSchema, Xn as storefrontButtonRadiusClassName, _e as storefrontCheckoutModeSchema, un as storefrontCheckoutSubmitDeliveryRefinement, ln as storefrontCheckoutSubmitItemSchema, cn as storefrontCheckoutSubmitRequestBaseSchema, dn as storefrontCheckoutSubmitRequestSchema, fn as storefrontCheckoutSubmitResponseSchema, ve as storefrontConfigurationSchema, ye as storefrontContentSchema, or as storefrontEn, be as storefrontFaqItemSchema, xe as storefrontFaqSchema, sr as storefrontFr, Se as storefrontFulfillmentModeSchema, Ce as storefrontHeroModeSchema, zn as storefrontImageRequestSchema, Vt as storefrontItinerariesFeaturedRequestSchema, Ht as storefrontItinerariesFeaturedResponseSchema, Ut as storefrontItinerariesListRequestSchema, Wt as storefrontItinerariesListResponseSchema, Gt as storefrontItineraryBoundsSchema, Kt as storefrontItineraryCoordinateSchema, qt as storefrontItineraryDetailRequestSchema, Jt as storefrontItineraryDetailResponseSchema, Yt as storefrontItineraryDetailSchema, Xt as storefrontItineraryDifficultySchema, Zt as storefrontItineraryLocalizedStringSchema, Qt as storefrontItineraryMetricsSchema, $t as storefrontItineraryPreviewSchema, en as storefrontItineraryStepSchema, tn as storefrontItinerarySummarySchema, nn as storefrontItineraryTripTypeSchema, we as storefrontLocalizedRichTextSchema, Te as storefrontModalMessageSchema, Ee as storefrontModulesSchema, mn as storefrontProductsRequestSchema, hn as storefrontProductsResponseSchema, gn as storefrontPublicAccessoryProductSchema, In as storefrontPublicAvailabilityRecordSchema, _n as storefrontPublicBikeAvailabilityStatusSchema, vn as storefrontPublicBikeProductSchema, yn as storefrontPublicProductDisplayModeSchema, bn as storefrontPublicProductPriceSchema, xn as storefrontPublicProductVariantAttributeSchema, Sn as storefrontPublicProductVariantIdentifierSchema, Cn as storefrontPublicProductVariantSchema, De as storefrontReviewsModuleSchema, Oe as storefrontRichTextSchema, Bi as storefrontRoutes, ke as storefrontSettingsSchema, Ae as storefrontShopSchema, je as storefrontStatusSchema, Wn as storefrontTimeSlotJourneySchema, Un as storefrontTimeSlotSchema, Vn as storefrontTimeSlotsRequestSchema, Hn as storefrontTimeSlotsResponseSchema, Me as storefrontWorkspaceSchema, z as timeOfDaySchema, pt as toStorefrontAccessoryProducts, mt as toStorefrontBikeProducts, ht as toStorefrontBookingProducts, gt as toStorefrontBookingProductsCollections, gr as useBookingPeriod, Fr as useFormField, Qn as useOptionalStorefront, $n as useStorefront, er as useStorefrontBookingProducts, yt as useStorefrontCart, tr as useStorefrontConfig, nr as useStorefrontItineraries, rr as useStorefrontProducts, ir as useStorefrontWorkspaceLanguage, ur as useWhatsAppFloatingButton, re as validateBookingDeliveryAddress, Je as writeBookingSearchParamsToSessionStorage, Ye as writeBookingSearchParamsToStorage };
86
+ import { accessories as li } from "./data/accessories.js";
87
+ import ui from "./data/bikes.js";
88
+ import { contractSaleDocumentAcceptanceLevelSchema as di, contractSaleDocumentAcceptanceRecordSchema as fi, contractSaleDocumentAcceptanceSchema as pi, contractSaleDocumentAddressSchema as mi, contractSaleDocumentAppendixKindSchema as hi, contractSaleDocumentAppendixSchema as gi, contractSaleDocumentContactSchema as _i, contractSaleDocumentKindSchema as vi, contractSaleDocumentLanguageCodeSchema as yi, contractSaleDocumentLanguageSchema as bi, contractSaleDocumentLineItemSchema as xi, contractSaleDocumentRentalSchema as Si, contractSaleDocumentSchema as Ci, contractSaleDocumentSignatureSchema as wi } from "./lib/contractSaleDocument.js";
89
+ import { ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE as Ti, DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE as Ei, GET_CONTRACT_SALE_DOCUMENT_ROUTE as Di, acceptContractSaleDocumentRequestSchema as Oi, acceptContractSaleDocumentResponseSchema as ki, contractSaleDocumentAcceptanceInputSchema as Ai, contractSaleDocumentAcceptanceRecordInputSchema as ji, contractSaleDocumentApiAcceptanceRecordSchema as Mi, contractSaleDocumentApiAcceptanceSchema as Ni, contractSaleDocumentApiSchema as Pi, contractSaleDocumentApiSignatureSchema as Fi, contractSaleDocumentReferenceSchema as Ii, contractSaleDocumentReferenceTypeSchema as Li, contractSaleDocumentSignatureInputSchema as Ri, downloadContractSaleDocumentPdfRequestSchema as zi, getContractSaleDocumentRequestSchema as Bi, getContractSaleDocumentResponseSchema as Vi } from "./lib/contractSaleDocumentApi.js";
90
+ import Hi from "./routes.js";
91
+ import { loader as Ui } from "./StorefrontProvider.js";
92
+ import { Select as Wi, SelectContent as Gi, SelectGroup as Ki, SelectIcon as qi, SelectItem as Ji, SelectItemIndicator as Yi, SelectItemText as Xi, SelectLabel as Zi, SelectScrollDownButton as Qi, SelectScrollUpButton as $i, SelectSeparator as ea, SelectTrigger as ta, SelectValue as na } from "./ui/select.js";
93
+ export { Ti as ACCEPT_CONTRACT_SALE_DOCUMENT_ROUTE, Br as AboutSection, Vr as AdminFloatingButton, Pe as BOOKING_SEARCH_KEYS, qn as Badge, xr as BookingEndDateField, Sr as BookingEndTimeField, Er as BookingFlowSteps, wr as BookingMobileDateDrawer, gr as BookingPeriodProvider, Tr as BookingPeriodSelector, yr as BookingStartDateField, br as BookingStartTimeField, Cr as BookingTimeSlotsStatus, Yn as Button, $e as CATALOG_PRODUCT_BASE_RATE_UNSET, Kr as Card, qr as CardAction, Jr as CardContent, Yr as CardDescription, Xr as CardFooter, Zr as CardHeader, Qr as CardTitle, Rr as ContactSection, ni as ContractSaleDocument, Y as DEFAULT_BOOKING_DELIVERY_OPTION, B as DEFAULT_CANCELLATION_POLICY, V as DEFAULT_PAYMENT_POLICIES, p as DEFAULT_PRODUCT_KIND, Ei as DOWNLOAD_CONTRACT_SALE_DOCUMENT_PDF_ROUTE, mr as DelayedPlaceholder, hr as DelayedReveal, Or as DeliveryAddressSelector, Kn as Footer, kr as Form, Ar as FormControl, jr as FormDescription, Mr as FormField, Nr as FormItem, Pr as FormLabel, Fr as FormMessage, Di as GET_CONTRACT_SALE_DOCUMENT_ROUTE, or as Header, Dr as Input, ai as ItinerariesPage, Wr as ItinerariesSection, oi as ItineraryDetailsPage, Hr as ItineraryListItem, Ur as ItineraryRouteMap, vr as Label, pr as Layout, m as PRODUCT_VARIANT_CODE_IDENTIFIER_KIND, h as PRODUCT_VARIANT_CODE_MAX_LENGTH, ur as PlatformFooter, lr as PoweredByLoczerBadge, ti as ProductPriceBadge, $r as ProductWarningNotice, Nt as ROUTE, ri as RadioGroup, ii as RadioGroupItem, ci as RentalTermsPage, Tn as STOREFRONT_AVAILABILITY_ROUTE, cn as STOREFRONT_CHECKOUT_SUBMIT_ROUTE, ge as STOREFRONT_HERO_MODES, Rn as STOREFRONT_IMAGE_ROUTE, zt as STOREFRONT_ITINERARIES_FEATURED_ROUTE, Bt as STOREFRONT_ITINERARIES_LIST_ROUTE, Vt as STOREFRONT_ITINERARY_DETAIL_ROUTE, mn as STOREFRONT_PRODUCTS_ROUTE, Vn as STOREFRONT_TIME_SLOTS_ROUTE, Wi as Select, Gi as SelectContent, Ki as SelectGroup, qi as SelectIcon, Ji as SelectItem, Yi as SelectItemIndicator, Xi as SelectItemText, Zi as SelectLabel, Qi as SelectScrollDownButton, $i as SelectScrollUpButton, ea as SelectSeparator, ta as SelectTrigger, na as SelectValue, Gr as StepSectionTitle, ei as StorefrontCartPanel, vt as StorefrontCartProvider, Qn as StorefrontContext, Fe as TIME_OPTIONS, zr as TestimonialsSection, Lr as Textarea, fr as WhatsAppFloatingButton, Oi as acceptContractSaleDocumentRequestSchema, ki as acceptContractSaleDocumentResponseSchema, li as accessories, g as accessoryProductSchema, Ie as applyBookingParamsToSearch, ue as assetIdSchema, Jn as badgeVariants, de as baseAssetSchema, fe as baseAssetStatusSchema, pe as baseBookingItemSchema, me as baseBookingSchema, he as baseBookingStateSchema, _ as bikeProductSchema, ui as bikes, X as bookingCustomerInputSchema, Z as bookingDeliveryOptionSchema, ie as bookingInsuranceConsentSourceSchema, ae as bookingInsuranceItemSnapshotSchema, oe as bookingInsuranceSnapshotSchema, Q as bookingScheduleInputSchema, se as buildBookingInsuranceSnapshot, Tt as buildPriceTierLabels, Et as buildRentalPriceRows, En as buildStorefrontAvailabilityKey, Mt as buildStorefrontCartSummary, zn as buildStorefrontImageUrl, et as buildStorefrontProductSlug, tt as buildVariantStorefrontProductId, an as buildWhatsAppHref, Xn as buttonVariants, Dt as calculateBookingRentalUnitSummary, ce as calculateInsuranceCalendarDays, Ot as calculateRentalPriceForQuantity, H as cancellationPolicySchema, U as cancellationPolicyTierSchema, $ as cartItemInputSchema, xt as cn, nt as compareCatalogProducts, rt as compareStorefrontAccessoryProducts, it as compareStorefrontBikeProducts, Ai as contractSaleDocumentAcceptanceInputSchema, di as contractSaleDocumentAcceptanceLevelSchema, ji as contractSaleDocumentAcceptanceRecordInputSchema, fi as contractSaleDocumentAcceptanceRecordSchema, pi as contractSaleDocumentAcceptanceSchema, mi as contractSaleDocumentAddressSchema, Mi as contractSaleDocumentApiAcceptanceRecordSchema, Ni as contractSaleDocumentApiAcceptanceSchema, Pi as contractSaleDocumentApiSchema, Fi as contractSaleDocumentApiSignatureSchema, hi as contractSaleDocumentAppendixKindSchema, gi as contractSaleDocumentAppendixSchema, _i as contractSaleDocumentContactSchema, vi as contractSaleDocumentKindSchema, yi as contractSaleDocumentLanguageCodeSchema, bi as contractSaleDocumentLanguageSchema, xi as contractSaleDocumentLineItemSchema, Ii as contractSaleDocumentReferenceSchema, Li as contractSaleDocumentReferenceTypeSchema, Si as contractSaleDocumentRentalSchema, Ci as contractSaleDocumentSchema, Ri as contractSaleDocumentSignatureInputSchema, wi as contractSaleDocumentSignatureSchema, ee as createBookingInputBaseSchema, te as createBookingInputSchema, Le as createBookingPeriodConfigFromBookingEngineConfiguration, Re as createBookingPeriodConfigFromShopConfiguration, ze as createBookingPeriodConfigFromStorefrontConfiguration, e as createLocalizedStringEntry, a as currencyCodeSchema, o as currencyMinorUnitDigits, Dn as doesStorefrontAvailabilityDisplaySoldOut, zi as downloadContractSaleDocumentPdfRequestSchema, v as eBikeProductSchema, at as findStorefrontProduct, ot as findStorefrontProductBySlug, St as formatPriceMinor, kt as formatRentalUnitQuantity, It as formatStorefrontPhoneDisplay, At as formatStorefrontPriceMinor, G as fulfillmentModeSchema, Ct as getAvailabilityVariant, Be as getBookingParamsFromSearch, Ve as getBookingSessionStorageKey, st as getCatalogProductBaseRateMinor, ct as getCatalogProductPaginationSort, lt as getCatalogProductSortFieldForPriceUnit, Bi as getContractSaleDocumentRequestSchema, Vi as getContractSaleDocumentResponseSchema, He as getDefaultBookingParams, Ue as getDefaultBookingParamsForStorefrontConfiguration, Ze as getLocalizedEntry, t as getLocalizedStringValue, Qe as getLocalizedValue, wt as getMinDayPriceMinor, jt as getPricingUnitLabel, On as getStorefrontAvailabilityIssue, kn as getStorefrontAvailabilityStatus, ut as getStorefrontBaseDailyRateMinor, dt as getStorefrontCheckoutProductId, ft as getStorefrontProductSelectionDisplayName, pt as getStorefrontRepresentedVariantId, le as insuranceProviderSchema, y as isProductVariantCodeIdentifierKind, An as isStorefrontAvailabilityInsufficient, j as isoDateSchema, si as itineraryDetailsLoader, Ui 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, jn as publicAvailabilityDisplayModeSchema, K as publicBookingEngineConfigurationSchema, q as publicCheckoutConfigurationSchema, J as publicCheckoutDynamicOptionsSchema, Ge as readBookingSearchParamsFromSessionStorage, Ke as readBookingSearchParamsFromStorage, Pt as requestSchema, ne as resolveBookingDeliveryOption, qe as resolveBookingSearchParams, Je as resolveBookingSearchParamsFromSessionStorage, yt as resolveStorefrontCartItemProduct, Lt as resolveStorefrontMapsHref, Rt as resolveStorefrontPhoneContact, on as resolveStorefrontWhatsAppContact, sn as resolveStorefrontWhatsAppHref, Ft 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, Pn as shouldBlockStorefrontUnavailableItem, u as signedMoneyMinorSchema, Fn as storefrontAvailabilityProductSchema, Mn as storefrontAvailabilityRequestSchema, Nn as storefrontAvailabilityResponseSchema, In as storefrontAvailabilityScheduleSchema, Zn as storefrontButtonRadiusClassName, _e as storefrontCheckoutModeSchema, dn as storefrontCheckoutSubmitDeliveryRefinement, un as storefrontCheckoutSubmitItemSchema, ln as storefrontCheckoutSubmitRequestBaseSchema, fn as storefrontCheckoutSubmitRequestSchema, pn as storefrontCheckoutSubmitResponseSchema, ve as storefrontConfigurationSchema, ye as storefrontContentSchema, sr as storefrontEn, be as storefrontFaqItemSchema, xe as storefrontFaqSchema, cr as storefrontFr, Se as storefrontFulfillmentModeSchema, Ce as storefrontHeroModeSchema, Bn as storefrontImageRequestSchema, we as storefrontInformationSchema, Ht as storefrontItinerariesFeaturedRequestSchema, Ut as storefrontItinerariesFeaturedResponseSchema, Wt as storefrontItinerariesListRequestSchema, Gt as storefrontItinerariesListResponseSchema, Kt as storefrontItineraryBoundsSchema, qt as storefrontItineraryCoordinateSchema, Jt as storefrontItineraryDetailRequestSchema, Yt as storefrontItineraryDetailResponseSchema, Xt as storefrontItineraryDetailSchema, Zt as storefrontItineraryDifficultySchema, Qt as storefrontItineraryLocalizedStringSchema, $t as storefrontItineraryMetricsSchema, en as storefrontItineraryPreviewSchema, tn as storefrontItineraryStepSchema, nn as storefrontItinerarySummarySchema, rn as storefrontItineraryTripTypeSchema, Te as storefrontLocalizedRichTextSchema, Ee as storefrontModalMessageSchema, De as storefrontModulesSchema, hn as storefrontProductsRequestSchema, gn as storefrontProductsResponseSchema, _n as storefrontPublicAccessoryProductSchema, Ln as storefrontPublicAvailabilityRecordSchema, vn as storefrontPublicBikeAvailabilityStatusSchema, yn as storefrontPublicBikeProductSchema, bn as storefrontPublicProductDisplayModeSchema, xn as storefrontPublicProductPriceSchema, Sn as storefrontPublicProductVariantAttributeSchema, Cn as storefrontPublicProductVariantIdentifierSchema, wn as storefrontPublicProductVariantSchema, Oe as storefrontReviewsModuleSchema, ke as storefrontRichTextSchema, Hi as storefrontRoutes, Ae as storefrontSettingsSchema, je as storefrontShopSchema, Me as storefrontStatusSchema, Gn as storefrontTimeSlotJourneySchema, Wn as storefrontTimeSlotSchema, Hn as storefrontTimeSlotsRequestSchema, Un as storefrontTimeSlotsResponseSchema, Ne as storefrontWorkspaceSchema, z as timeOfDaySchema, mt as toStorefrontAccessoryProducts, ht as toStorefrontBikeProducts, gt as toStorefrontBookingProducts, _t as toStorefrontBookingProductsCollections, _r as useBookingPeriod, Ir as useFormField, $n as useOptionalStorefront, er as useStorefront, tr as useStorefrontBookingProducts, bt as useStorefrontCart, nr as useStorefrontConfig, rr as useStorefrontItineraries, ir as useStorefrontProducts, ar as useStorefrontWorkspaceLanguage, dr as useWhatsAppFloatingButton, re as validateBookingDeliveryAddress, Ye as writeBookingSearchParamsToSessionStorage, Xe as writeBookingSearchParamsToStorage };
@@ -1 +1 @@
1
- {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AAuMA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAgoBlC"}
1
+ {"version":3,"file":"BookingPage.d.ts","sourceRoot":"","sources":["../../src/pages/BookingPage.tsx"],"names":[],"mappings":"AAuMA,MAAM,CAAC,OAAO,UAAU,WAAW,4CAioBlC"}
@@ -375,6 +375,7 @@ function S() {
375
375
  }),
376
376
  /* @__PURE__ */ h(me, {
377
377
  ...mt,
378
+ selectionFlow: "dates-first",
378
379
  className: "gap-3",
379
380
  labelClassName: "text-xs font-medium text-slate-700",
380
381
  inputClassName: "h-10"
@@ -1 +1 @@
1
- {"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../src/pages/HomePage.tsx"],"names":[],"mappings":"AA4IA,MAAM,CAAC,OAAO,UAAU,QAAQ,4CAwvB/B"}
1
+ {"version":3,"file":"HomePage.d.ts","sourceRoot":"","sources":["../../src/pages/HomePage.tsx"],"names":[],"mappings":"AA4IA,MAAM,CAAC,OAAO,UAAU,QAAQ,4CAyvB/B"}
@@ -252,6 +252,7 @@ function D() {
252
252
  ]
253
253
  }), mt = ({ className: e, showSubmitButton: t = !1, submitButtonClassName: n }) => /* @__PURE__ */ g(ie, {
254
254
  ...dt,
255
+ selectionFlow: "dates-first",
255
256
  labelClassName: Le,
256
257
  inputClassName: Re,
257
258
  children: /* @__PURE__ */ _(h, { children: [
@@ -0,0 +1,2 @@
1
+ export default function RentalTermsPage(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=RentalTermsPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RentalTermsPage.d.ts","sourceRoot":"","sources":["../../src/pages/RentalTermsPage.tsx"],"names":[],"mappings":"AA8CA,MAAM,CAAC,OAAO,UAAU,eAAe,4CA8CtC"}
@@ -0,0 +1,52 @@
1
+ import { useStorefront as e } from "../StorefrontContext.js";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ import { useTranslation as r } from "react-i18next";
4
+ import { cn as i } from "@rpcbase/ui";
5
+ //#region src/pages/RentalTermsPage.tsx
6
+ var a = i("mt-10 text-[0.9375rem] leading-7 text-slate-700 sm:mt-12 sm:text-base sm:leading-8", "[&_a]:font-medium [&_a]:text-primary [&_a]:underline [&_a]:decoration-primary/30 [&_a]:underline-offset-4 [&_a:hover]:decoration-primary", "[&_blockquote]:my-6 [&_blockquote]:border-l-2 [&_blockquote]:border-slate-300 [&_blockquote]:pl-5 [&_blockquote]:text-slate-600", "[&_code]:rounded [&_code]:bg-slate-100 [&_code]:px-1.5 [&_code]:py-0.5 [&_code]:text-sm [&_code]:text-slate-900", "[&_h1]:mt-10 [&_h1]:border-t [&_h1]:border-slate-200 [&_h1]:pt-8 [&_h1]:font-serif [&_h1]:text-2xl [&_h1]:font-normal [&_h1]:leading-tight [&_h1]:tracking-tight [&_h1]:text-slate-950 sm:[&_h1]:mt-12 sm:[&_h1]:pt-9 sm:[&_h1]:text-3xl", "[&_h1:first-child]:mt-0 [&_h1:first-child]:border-t-0 [&_h1:first-child]:pt-0", "[&_h2]:mt-10 [&_h2]:border-t [&_h2]:border-slate-200 [&_h2]:pt-8 [&_h2]:font-serif [&_h2]:text-xl [&_h2]:font-normal [&_h2]:leading-tight [&_h2]:tracking-tight [&_h2]:text-slate-950 sm:[&_h2]:mt-12 sm:[&_h2]:pt-9 sm:[&_h2]:text-2xl", "[&_h2:first-child]:mt-0 [&_h2:first-child]:border-t-0 [&_h2:first-child]:pt-0", "[&_h3]:mt-8 [&_h3]:font-serif [&_h3]:text-lg [&_h3]:font-normal [&_h3]:leading-tight [&_h3]:tracking-tight [&_h3]:text-slate-950", "[&_hr]:my-10 [&_hr]:border-slate-200", "[&_img]:my-8 [&_img]:max-w-full", "[&_li]:pl-1 [&_ol]:my-5 [&_ol]:list-decimal [&_ol]:space-y-2 [&_ol]:pl-6", "[&_p]:my-4 [&_p]:whitespace-pre-wrap", "[&_strong]:font-semibold [&_strong]:text-slate-950", "[&_table]:my-8 [&_table]:w-full [&_table]:border-collapse [&_table]:text-sm", "[&_td]:border [&_td]:border-slate-200 [&_td]:p-3 [&_td]:align-top", "[&_th]:border [&_th]:border-slate-200 [&_th]:bg-slate-50 [&_th]:p-3 [&_th]:text-left [&_th]:font-semibold [&_th]:text-slate-950", "[&_ul]:my-5 [&_ul]:list-disc [&_ul]:space-y-2 [&_ul]:pl-6"), o = ({ language: e, timeZone: t, value: n }) => n ? new Intl.DateTimeFormat(e, {
7
+ day: "numeric",
8
+ month: "long",
9
+ year: "numeric",
10
+ timeZone: t || "UTC"
11
+ }).format(new Date(n)) : "";
12
+ function s() {
13
+ let { t: s, i18n: c } = r(), { storefrontConfiguration: l } = e(), u = l.information?.rentalTerms, d = u?.text.trim() ? u.html.trim() : "", f = o({
14
+ language: c.resolvedLanguage || c.language || "en",
15
+ timeZone: l.shop.timeZone,
16
+ value: l.information?.rentalTermsUpdatedAt
17
+ });
18
+ return /* @__PURE__ */ t("section", {
19
+ className: "min-h-[70vh] bg-white",
20
+ children: /* @__PURE__ */ t("div", {
21
+ className: "mx-auto max-w-7xl px-4 sm:px-6",
22
+ children: /* @__PURE__ */ n("article", {
23
+ className: "mx-auto max-w-3xl py-10 sm:py-14",
24
+ children: [/* @__PURE__ */ n("header", {
25
+ className: "border-b border-slate-200 pb-8 sm:pb-10",
26
+ children: [
27
+ f ? /* @__PURE__ */ t("p", {
28
+ className: "text-sm text-slate-500",
29
+ children: /* @__PURE__ */ t("span", { children: s("rental_terms_effective_date", { date: f }) })
30
+ }) : null,
31
+ /* @__PURE__ */ t("h1", {
32
+ className: i("font-serif text-4xl font-normal leading-tight tracking-tight text-slate-950 sm:text-5xl", f && "mt-3"),
33
+ children: /* @__PURE__ */ t("span", { children: s("rental_terms_title") })
34
+ }),
35
+ /* @__PURE__ */ t("p", {
36
+ className: "mt-4 max-w-2xl text-base leading-7 text-slate-600 sm:text-lg sm:leading-8",
37
+ children: /* @__PURE__ */ t("span", { children: s("rental_terms_description", { shop_name: l.shop.name }) })
38
+ })
39
+ ]
40
+ }), d ? /* @__PURE__ */ t("div", {
41
+ className: a,
42
+ dangerouslySetInnerHTML: { __html: d }
43
+ }) : /* @__PURE__ */ t("p", {
44
+ className: "mt-10 border-l-2 border-slate-300 pl-5 text-base leading-8 text-slate-600 sm:mt-12",
45
+ children: /* @__PURE__ */ t("span", { children: s("rental_terms_unavailable") })
46
+ })]
47
+ })
48
+ })
49
+ });
50
+ }
51
+ //#endregion
52
+ export { s as default };
@@ -1 +1 @@
1
- {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.tsx"],"names":[],"mappings":";AAgCA,wBAwBC"}
1
+ {"version":3,"file":"routes.d.ts","sourceRoot":"","sources":["../src/routes.tsx"],"names":[],"mappings":";AAiCA,wBAyBC"}