@loczer/storefront-sdk 0.212.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 (62) 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/BikeProductCard/index.d.ts.map +1 -1
  8. package/dist/components/BikeProductCard/index.js +5 -5
  9. package/dist/components/BookingBikeVariantDialog/index.d.ts.map +1 -1
  10. package/dist/components/BookingBikeVariantDialog/index.js +23 -27
  11. package/dist/components/BookingFlowSteps/index.d.ts.map +1 -1
  12. package/dist/components/BookingFlowSteps/index.js +73 -32
  13. package/dist/components/BookingPeriodSelector/components/BookingEndDateField.js +1 -1
  14. package/dist/components/BookingPeriodSelector/components/BookingEndTimeField.js +1 -1
  15. package/dist/components/BookingPeriodSelector/components/BookingMobileDateDrawer.js +16 -16
  16. package/dist/components/BookingPeriodSelector/components/BookingStartDateField.js +1 -1
  17. package/dist/components/BookingPeriodSelector/components/BookingStartTimeField.js +1 -1
  18. package/dist/components/BookingPeriodSelector/components/internal/StorefrontHourPickerField.js +2 -2
  19. package/dist/components/BookingPeriodSelector/index.js +3 -3
  20. package/dist/components/Footer/index.d.ts +2 -1
  21. package/dist/components/Footer/index.d.ts.map +1 -1
  22. package/dist/components/Footer/index.js +64 -58
  23. package/dist/components/FulfillmentSection/index.js +10 -4
  24. package/dist/components/Header/index.d.ts.map +1 -1
  25. package/dist/components/Header/index.js +205 -100
  26. package/dist/components/Layout/index.d.ts.map +1 -1
  27. package/dist/components/Layout/index.js +3 -2
  28. package/dist/components/PlatformFooter/index.js +6 -6
  29. package/dist/components/ProductPriceBadge/index.js +16 -10
  30. package/dist/components/StorefrontCancellationPolicyNotice/index.js +1 -1
  31. package/dist/components/StorefrontInsuranceNotice/index.js +1 -1
  32. package/dist/components/StorefrontPopupMessages/index.js +1 -1
  33. package/dist/i18n/en.d.ts +13 -4
  34. package/dist/i18n/en.d.ts.map +1 -1
  35. package/dist/i18n/en.js +13 -4
  36. package/dist/i18n/fr.d.ts +13 -4
  37. package/dist/i18n/fr.d.ts.map +1 -1
  38. package/dist/i18n/fr.js +13 -4
  39. package/dist/index.d.ts +88 -11
  40. package/dist/index.js +69 -68
  41. package/dist/lib/cart.d.ts +6 -2
  42. package/dist/lib/cart.d.ts.map +1 -1
  43. package/dist/lib/cart.js +45 -23
  44. package/dist/lib/checkoutSubmit.d.ts +3 -0
  45. package/dist/lib/checkoutSubmit.d.ts.map +1 -1
  46. package/dist/lib/checkoutSubmit.js +14 -2
  47. package/dist/pages/BookingPage.d.ts.map +1 -1
  48. package/dist/pages/BookingPage.js +8 -2
  49. package/dist/pages/CheckoutPage.d.ts.map +1 -1
  50. package/dist/pages/CheckoutPage.js +235 -245
  51. package/dist/pages/HomePage.d.ts.map +1 -1
  52. package/dist/pages/HomePage.js +253 -235
  53. package/dist/pages/RentalTermsPage.d.ts +2 -0
  54. package/dist/pages/RentalTermsPage.d.ts.map +1 -0
  55. package/dist/pages/RentalTermsPage.js +52 -0
  56. package/dist/routes.d.ts.map +1 -1
  57. package/dist/routes.js +14 -10
  58. package/dist/storefront.css +1 -1
  59. package/dist/storefrontSchemas.d.ts +19 -0
  60. package/dist/storefrontSchemas.d.ts.map +1 -1
  61. package/dist/storefrontSchemas.js +39 -35
  62. package/package.json +1 -1
@@ -13,31 +13,32 @@ import { BookingStartTimeField as oe } from "../components/BookingPeriodSelector
13
13
  import { BookingEndDateField as se } from "../components/BookingPeriodSelector/components/BookingEndDateField.js";
14
14
  import { BookingEndTimeField as ce } from "../components/BookingPeriodSelector/components/BookingEndTimeField.js";
15
15
  import { BookingTimeSlotsStatus as le } from "../components/BookingPeriodSelector/components/BookingTimeSlotsStatus.js";
16
+ import { BookingMobileDateDrawer as ue } from "../components/BookingPeriodSelector/components/BookingMobileDateDrawer.js";
16
17
  import "../components/BookingPeriodSelector/index.js";
17
- import { DeliveryAddressSelector as ue } from "../components/DeliveryAddressSelector/index.js";
18
- import { ContactSection as de } from "../components/ContactSection/index.js";
19
- import { TestimonialsSection as fe } from "../components/TestimonialsSection/index.js";
20
- import { AboutSection as pe } from "../components/AboutSection/index.js";
21
- import { ItinerariesSection as me } from "../components/Itineraries/ItinerariesSection.js";
18
+ import { DeliveryAddressSelector as de } from "../components/DeliveryAddressSelector/index.js";
19
+ import { ContactSection as fe } from "../components/ContactSection/index.js";
20
+ import { TestimonialsSection as pe } from "../components/TestimonialsSection/index.js";
21
+ import { AboutSection as me } from "../components/AboutSection/index.js";
22
+ import { ItinerariesSection as he } from "../components/Itineraries/ItinerariesSection.js";
22
23
  import "../components/Itineraries/index.js";
23
- import { Card as he } from "../ui/card.js";
24
- import { ProductWarningNotice as ge } from "../components/ProductWarningNotice/index.js";
25
- import { ProductPriceBadge as _e } from "../components/ProductPriceBadge/index.js";
26
- import ve from "../chunks/assets/playground-hero-preview-kf4c9tSc.js";
27
- import { resolveProductImageContainerStyle as ye } from "../lib/productImageStyles.js";
28
- import { BikeProductCard as be } from "../components/BikeProductCard/index.js";
29
- import { StorefrontCancellationPolicyNotice as xe } from "../components/StorefrontCancellationPolicyNotice/index.js";
30
- import { StorefrontInsuranceNotice as Se } from "../components/StorefrontInsuranceNotice/index.js";
31
- import { createStorefrontTimeSlotsFetcher as Ce } from "../lib/fetchStorefrontTimeSlots.js";
32
- import { FulfillmentSection as we } from "../components/FulfillmentSection/index.js";
33
- import { useEffect as f, useMemo as p, useRef as Te, useState as m } from "react";
24
+ import { Card as ge } from "../ui/card.js";
25
+ import { ProductWarningNotice as _e } from "../components/ProductWarningNotice/index.js";
26
+ import { ProductPriceBadge as ve } from "../components/ProductPriceBadge/index.js";
27
+ import ye from "../chunks/assets/playground-hero-preview-kf4c9tSc.js";
28
+ import { resolveProductImageContainerStyle as be } from "../lib/productImageStyles.js";
29
+ import { BikeProductCard as xe } from "../components/BikeProductCard/index.js";
30
+ import { StorefrontCancellationPolicyNotice as Se } from "../components/StorefrontCancellationPolicyNotice/index.js";
31
+ import { StorefrontInsuranceNotice as Ce } from "../components/StorefrontInsuranceNotice/index.js";
32
+ import { createStorefrontTimeSlotsFetcher as we } from "../lib/fetchStorefrontTimeSlots.js";
33
+ import { FulfillmentSection as Te } from "../components/FulfillmentSection/index.js";
34
+ import { useEffect as f, useMemo as p, useRef as Ee, useState as m } from "react";
34
35
  import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
35
- import { Link as v, useLocation as Ee, useNavigate as De, useParams as Oe, useSearchParams as ke } from "@rpcbase/router";
36
- import { useTranslation as Ae } from "react-i18next";
36
+ import { Link as v, useLocation as De, useNavigate as Oe, useParams as ke, useSearchParams as Ae } from "@rpcbase/router";
37
+ import { useTranslation as je } from "react-i18next";
37
38
  import { cn as y } from "@rpcbase/ui";
38
- import { ArrowRight as b, Bike as je, Clock as Me, MapPin as Ne, ShieldCheck as Pe, Truck as Fe } from "lucide-react";
39
+ import { ArrowRight as b, Bike as Me, Clock as Ne, MapPin as Pe, ShieldCheck as Fe, Truck as Ie } from "lucide-react";
39
40
  //#region src/pages/HomePage.tsx
40
- var x = (e) => String(e).padStart(2, "0"), Ie = "text-2xs font-semibold uppercase tracking-wide text-slate-600", Le = "h-10", S = 6, C = 5, Re = [
41
+ var x = (e) => String(e).padStart(2, "0"), Le = "text-2xs font-semibold uppercase tracking-wide text-slate-600", Re = "h-10", S = 6, C = 5, ze = [
41
42
  15,
42
43
  25,
43
44
  42,
@@ -53,7 +54,7 @@ var x = (e) => String(e).padStart(2, "0"), Ie = "text-2xs font-semibold uppercas
53
54
  "4 / 3",
54
55
  "9 / 16",
55
56
  "6 / 7"
56
- ], ze = ({ buttonRef: e, className: t, label: n, onSubmit: r }) => {
57
+ ], Be = ({ buttonRef: e, className: t, label: n, onSubmit: r }) => {
57
58
  let { hasConfirmedTimeSlots: i, startTime: a, endTime: o } = d();
58
59
  return /* @__PURE__ */ _(u, {
59
60
  ref: e,
@@ -71,8 +72,8 @@ var x = (e) => String(e).padStart(2, "0"), Ie = "text-2xs font-semibold uppercas
71
72
  if (!t) return;
72
73
  let n = Number(t[1]), r = Number(t[2]), i = Number(t[3]), a = new Date(n, r - 1, i);
73
74
  if (!(Number.isNaN(a.getTime()) || a.getFullYear() !== n || a.getMonth() !== r - 1 || a.getDate() !== i)) return a;
74
- }, Be = (e) => {
75
- let t = e.length > 0 ? e : [ve];
75
+ }, Ve = (e) => {
76
+ let t = e.length > 0 ? e : [ye];
76
77
  return Array.from({ length: S }, (e, n) => Array.from({ length: C }, (e, r) => {
77
78
  let i = n * C + r;
78
79
  return {
@@ -82,15 +83,15 @@ var x = (e) => String(e).padStart(2, "0"), Ie = "text-2xs font-semibold uppercas
82
83
  }));
83
84
  };
84
85
  function D() {
85
- let { t: d, i18n: x } = Ae(), { storeSlug: S } = Oe(), C = Ee(), { storefrontConfiguration: w } = te(), D = w.shop.address?.trim() ?? "", O = w.workspace?.workspaceLanguage, { bikes: k, accessories: Ve } = ne(), [A, He] = ke(), Ue = De(), j = p(() => a(A, S), [A, S]), We = p(() => n(w), [w]), M = p(() => i(w), [w]), N = p(() => E(M.start_date), [M.start_date]), Ge = p(() => E(M.end_date) ?? N, [M.end_date, N]), P = w.settings.fulfillmentModes.includes("delivery"), Ke = w.settings.deliveryDisabledReason.trim(), F = p(() => r(j, M), [M, j]), [I, qe] = m(() => F.fulfillment === "delivery" && P ? "delivery" : "pickup"), [L, Je] = m(() => E(j.get("start_date")) ?? N), [R, Ye] = m(() => j.get("start_time") ?? M.start_time), [z, Xe] = m(() => {
86
+ let { t: d, i18n: x } = je(), { storeSlug: S } = ke(), C = De(), { storefrontConfiguration: w } = te(), D = w.shop.address?.trim() ?? "", O = w.workspace?.workspaceLanguage, { bikes: k, accessories: He } = ne(), [A, Ue] = Ae(), We = Oe(), j = p(() => a(A, S), [A, S]), Ge = p(() => n(w), [w]), M = p(() => i(w), [w]), N = p(() => E(M.start_date), [M.start_date]), Ke = p(() => E(M.end_date) ?? N, [M.end_date, N]), P = w.settings.fulfillmentModes.includes("delivery"), F = w.settings.deliveryDisabledReason.trim(), I = p(() => r(j, M), [M, j]), [L, qe] = m(() => I.fulfillment === "delivery" && P ? "delivery" : "pickup"), [R, Je] = m(() => E(j.get("start_date")) ?? N), [z, Ye] = m(() => j.get("start_time") ?? M.start_time), [B, Xe] = m(() => {
86
87
  let e = E(j.get("start_date")) ?? N;
87
- return E(j.get("end_date")) ?? e ?? Ge;
88
- }), [B, Ze] = m(() => j.get("end_time") ?? M.end_time), [Qe, $e] = m(void 0), [et, tt] = m(!1), [V, H] = m(() => F.start_address), [U, W] = m(() => F.end_address), G = Te(null), nt = [
89
- L ? T(L) : "",
90
- R,
91
- z ? T(z) : "",
92
- B
93
- ].join(":"), K = Qe === nt, rt = p(() => k.slice(0, 4), [k]), { heroMode: it } = re(), at = it ?? w.content?.heroMode ?? "current_booking_hero", q = at === "vertical_marquee_hero", J = at === "booking_bar_overlay_hero" || q, ot = Ce(S), st = p(() => ({
88
+ return E(j.get("end_date")) ?? e ?? Ke;
89
+ }), [V, Ze] = m(() => j.get("end_time") ?? M.end_time), [Qe, $e] = m(void 0), [et, tt] = m(!1), [H, U] = m(() => I.start_address), [W, G] = m(() => I.end_address), K = Ee(null), nt = [
90
+ R ? T(R) : "",
91
+ z,
92
+ B ? T(B) : "",
93
+ V
94
+ ].join(":"), q = Qe === nt, rt = p(() => k.slice(0, 4), [k]), { heroMode: it } = re(), at = it ?? w.content?.heroMode ?? "current_booking_hero", J = at === "vertical_marquee_hero", Y = at === "booking_bar_overlay_hero" || J, ot = we(S), st = p(() => ({
94
95
  startDate: d("booking_start_date"),
95
96
  pickStartDate: d("booking_start_date"),
96
97
  startTime: d("booking_start_time"),
@@ -98,186 +99,207 @@ function D() {
98
99
  pickEndDate: d("booking_end_date"),
99
100
  endTime: d("booking_end_time"),
100
101
  selectedDaysTooltip: ({ count: e }) => d("booking_selected_days_tooltip", { count: e }),
102
+ rentalPeriod: d("booking_rental_period"),
103
+ dateDrawerNext: d("booking_date_drawer_continue"),
104
+ closeDrawer: d("booking_date_drawer_close"),
101
105
  timeSlotsLoading: d("booking_time_slots_loading"),
102
106
  timeSlotsUnavailable: d("booking_time_slots_unavailable"),
103
107
  timeSlotsLoadError: d("booking_time_slots_load_error"),
104
108
  retryTimeSlots: d("booking_time_slots_retry")
105
- }), [x.language, d]), Y = p(() => {
106
- let e = L ?? N ?? /* @__PURE__ */ new Date(), n = z ?? e;
109
+ }), [x.language, d]), X = p(() => {
110
+ let e = R ?? N ?? /* @__PURE__ */ new Date(), n = B ?? e;
107
111
  return t(new URLSearchParams(), {
108
- fulfillment: I === "delivery" && P ? "delivery" : "pickup",
112
+ fulfillment: L === "delivery" && P ? "delivery" : "pickup",
109
113
  start_date: T(e),
110
- start_time: K ? R : "",
114
+ start_time: q ? z : "",
111
115
  end_date: T(n),
112
- end_time: K ? B : "",
113
- start_address: V,
114
- end_address: U
116
+ end_time: q ? V : "",
117
+ start_address: H,
118
+ end_address: W
115
119
  });
116
120
  }, [
117
121
  N,
118
122
  P,
119
- U,
120
- z,
123
+ W,
121
124
  B,
122
- I,
123
- K,
124
125
  V,
125
126
  L,
126
- R
127
- ]), ct = Y.toString(), lt = ct ? `?${ct}` : "";
127
+ q,
128
+ H,
129
+ R,
130
+ z
131
+ ]), ct = X.toString(), lt = ct ? `?${ct}` : "";
128
132
  f(() => {
129
- o(S, Y);
130
- }, [Y, S]), f(() => {
133
+ o(S, X);
134
+ }, [X, S]), f(() => {
131
135
  let t = new URLSearchParams(A);
132
136
  for (let n of e) t.delete(n);
133
- for (let [e, n] of Y.entries()) t.set(e, n);
134
- t.toString() !== A.toString() && He(t, { replace: !0 });
137
+ for (let [e, n] of X.entries()) t.set(e, n);
138
+ t.toString() !== A.toString() && Ue(t, { replace: !0 });
135
139
  }, [
136
- Y,
140
+ X,
137
141
  A,
138
- He
142
+ Ue
139
143
  ]), f(() => {
140
- !et || !K || (tt(!1), G.current?.focus({ preventScroll: !0 }));
141
- }, [K, et]);
142
- let ut = K && !!(R && B), dt = {
143
- startDate: L,
144
+ !et || !q || (tt(!1), K.current?.focus({ preventScroll: !0 }));
145
+ }, [q, et]);
146
+ let ut = q && !!(z && V), dt = {
147
+ startDate: R,
144
148
  onStartDateChange: Je,
145
- startTime: R,
149
+ startTime: z,
146
150
  onStartTimeChange: Ye,
147
- endDate: z,
151
+ endDate: B,
148
152
  onEndDateChange: Xe,
149
- endTime: B,
153
+ endTime: V,
150
154
  onEndTimeChange: Ze,
151
155
  onEndTimeCommit: () => tt(!0),
152
- bookingPeriodConfig: We,
156
+ bookingPeriodConfig: Ge,
157
+ withMobileDateDrawer: !0,
153
158
  fetchTimeSlots: ot,
154
159
  onTimeSlotsConfirmationChange: (e) => {
155
160
  $e(e ? nt : void 0);
156
161
  },
157
162
  labels: st,
158
163
  localeCode: x.language
159
- }, X = () => {
164
+ }, Z = () => {
160
165
  if (!ut) return;
161
166
  let e = new URLSearchParams(A);
162
- for (let [t, n] of Y.entries()) e.set(t, n);
163
- Ue(`/${S ?? ""}/booking?${e.toString()}#booking-products`);
164
- }, ft = (e) => `/${S ?? ""}/products/${e}`, Z = { backTo: `${C.pathname}${C.search}${C.hash}` }, pt = /* @__PURE__ */ _("div", { children: [
165
- /* @__PURE__ */ _("div", {
166
- className: "flex items-center gap-2",
167
- children: [/* @__PURE__ */ _(l, {
168
- variant: "secondary",
169
- children: [/* @__PURE__ */ g(Me, {
170
- className: "h-3 w-3",
171
- "aria-hidden": "true"
172
- }), /* @__PURE__ */ g("span", { children: d("status_open") })]
173
- }), /* @__PURE__ */ _(l, {
174
- variant: "outline",
175
- className: y(!D && "border-destructive/40 text-destructive"),
176
- children: [/* @__PURE__ */ g(Ne, {
177
- className: "h-3 w-3",
178
- "aria-hidden": "true"
179
- }), /* @__PURE__ */ g("span", { children: D || "[Missing shop address]" })]
180
- })]
181
- }),
182
- /* @__PURE__ */ g("h1", {
183
- className: "mt-4 text-3xl font-semibold tracking-tight sm:text-4xl",
184
- children: /* @__PURE__ */ g("span", { children: d("hero_title") })
185
- }),
186
- /* @__PURE__ */ g("p", {
187
- className: "mt-3 text-sm text-slate-700 sm:text-base",
188
- children: /* @__PURE__ */ g("span", { children: d("hero_description") })
189
- }),
190
- /* @__PURE__ */ g("div", {
191
- className: y("mt-6", !J && "rounded-xl border bg-white/70 p-3"),
192
- children: /* @__PURE__ */ _("ul", {
193
- className: y("space-y-3", J && "space-y-2"),
194
- "data-testid": "storefront-home-trust-features",
195
- children: [
196
- /* @__PURE__ */ _("li", {
197
- className: "flex items-start gap-3",
198
- "data-testid": "storefront-secure-payment-notice",
199
- children: [/* @__PURE__ */ g(Pe, {
200
- className: "mt-0.5 h-5 w-5 text-success",
201
- "aria-hidden": "true"
202
- }), /* @__PURE__ */ _("div", {
203
- className: "flex flex-col gap-0.5",
204
- children: [/* @__PURE__ */ g("p", {
205
- className: "text-sm font-medium text-slate-950",
206
- children: /* @__PURE__ */ g("span", { children: d("feature_secure_payment_title") })
207
- }), /* @__PURE__ */ g("p", {
208
- className: "text-xs text-slate-600",
209
- children: /* @__PURE__ */ g("span", { children: d("feature_secure_payment_description") })
167
+ for (let [t, n] of X.entries()) e.set(t, n);
168
+ We(`/${S ?? ""}/booking?${e.toString()}#booking-products`);
169
+ }, ft = (e) => `/${S ?? ""}/products/${e}`, Q = { backTo: `${C.pathname}${C.search}${C.hash}` }, pt = /* @__PURE__ */ _("div", {
170
+ className: "min-w-0",
171
+ children: [
172
+ /* @__PURE__ */ _("div", {
173
+ className: "flex min-w-0 flex-wrap items-center gap-2",
174
+ children: [/* @__PURE__ */ _(l, {
175
+ variant: "secondary",
176
+ children: [/* @__PURE__ */ g(Ne, {
177
+ className: "h-3 w-3",
178
+ "aria-hidden": "true"
179
+ }), /* @__PURE__ */ g("span", { children: d("status_open") })]
180
+ }), /* @__PURE__ */ _(l, {
181
+ variant: "outline",
182
+ className: y("min-w-0 max-w-full", !D && "border-destructive/40 text-destructive"),
183
+ children: [/* @__PURE__ */ g(Pe, {
184
+ className: "h-3 w-3",
185
+ "aria-hidden": "true"
186
+ }), /* @__PURE__ */ g("span", {
187
+ className: "truncate",
188
+ children: D || "[Missing shop address]"
189
+ })]
190
+ })]
191
+ }),
192
+ /* @__PURE__ */ g("h1", {
193
+ className: "mt-4 text-[1.75rem] font-semibold leading-tight tracking-tight sm:text-4xl",
194
+ children: /* @__PURE__ */ g("span", { children: d("hero_title") })
195
+ }),
196
+ /* @__PURE__ */ g("p", {
197
+ className: "mt-3 text-sm text-slate-700 sm:text-base",
198
+ children: /* @__PURE__ */ g("span", { children: d("hero_description") })
199
+ }),
200
+ /* @__PURE__ */ g("div", {
201
+ className: y("mt-6", !Y && "rounded-xl border bg-white/70 p-3"),
202
+ children: /* @__PURE__ */ _("ul", {
203
+ className: y("space-y-3", Y && "space-y-2"),
204
+ "data-testid": "storefront-home-trust-features",
205
+ children: [
206
+ /* @__PURE__ */ _("li", {
207
+ className: "flex items-start gap-3",
208
+ "data-testid": "storefront-secure-payment-notice",
209
+ children: [/* @__PURE__ */ g(Fe, {
210
+ className: "mt-0.5 h-5 w-5 text-success",
211
+ "aria-hidden": "true"
212
+ }), /* @__PURE__ */ _("div", {
213
+ className: "flex min-w-0 flex-col gap-0.5",
214
+ children: [/* @__PURE__ */ g("p", {
215
+ className: "text-sm font-medium text-slate-950",
216
+ children: /* @__PURE__ */ g("span", { children: d("feature_secure_payment_title") })
217
+ }), /* @__PURE__ */ g("p", {
218
+ className: "text-xs text-slate-600",
219
+ children: /* @__PURE__ */ g("span", { children: d("feature_secure_payment_description") })
220
+ })]
210
221
  })]
211
- })]
222
+ }),
223
+ /* @__PURE__ */ g(Se, {
224
+ policy: w.bookingEngine.cancellationPolicy,
225
+ className: y(!Y && "border-t border-slate-200/70 pt-3")
226
+ }),
227
+ P ? /* @__PURE__ */ _("li", {
228
+ className: y("flex items-start gap-3", !Y && "border-t border-slate-200/70 pt-3"),
229
+ "data-testid": "storefront-delivery-notice",
230
+ children: [/* @__PURE__ */ g(Ie, {
231
+ className: "mt-0.5 h-5 w-5 text-slate-900",
232
+ "aria-hidden": "true"
233
+ }), /* @__PURE__ */ _("div", {
234
+ className: "flex flex-col gap-0.5",
235
+ children: [/* @__PURE__ */ g("p", {
236
+ className: "text-sm font-medium text-slate-950",
237
+ children: /* @__PURE__ */ g("span", { children: d("feature_delivery_title") })
238
+ }), /* @__PURE__ */ g("p", {
239
+ className: "text-xs text-slate-600",
240
+ children: /* @__PURE__ */ g("span", { children: d("feature_delivery_description") })
241
+ })]
242
+ })]
243
+ }) : null,
244
+ /* @__PURE__ */ g(Ce, {
245
+ bikes: k,
246
+ currency: w.bookingEngine.currency,
247
+ className: y(!Y && "border-t border-slate-200/70 pt-3")
248
+ })
249
+ ]
250
+ })
251
+ })
252
+ ]
253
+ }), mt = ({ className: e, showSubmitButton: t = !1, submitButtonClassName: n }) => /* @__PURE__ */ g(ie, {
254
+ ...dt,
255
+ selectionFlow: "dates-first",
256
+ labelClassName: Le,
257
+ inputClassName: Re,
258
+ children: /* @__PURE__ */ _(h, { children: [
259
+ /* @__PURE__ */ _("div", {
260
+ className: e,
261
+ children: [
262
+ /* @__PURE__ */ g("div", {
263
+ className: "min-w-0",
264
+ children: /* @__PURE__ */ g(ae, {})
212
265
  }),
213
- /* @__PURE__ */ g(xe, {
214
- policy: w.bookingEngine.cancellationPolicy,
215
- className: y(!J && "border-t border-slate-200/70 pt-3")
266
+ /* @__PURE__ */ g("div", {
267
+ className: "min-w-0",
268
+ children: /* @__PURE__ */ g(oe, {})
216
269
  }),
217
- P ? /* @__PURE__ */ _("li", {
218
- className: y("flex items-start gap-3", !J && "border-t border-slate-200/70 pt-3"),
219
- "data-testid": "storefront-delivery-notice",
220
- children: [/* @__PURE__ */ g(Fe, {
221
- className: "mt-0.5 h-5 w-5 text-slate-900",
222
- "aria-hidden": "true"
223
- }), /* @__PURE__ */ _("div", {
224
- className: "flex flex-col gap-0.5",
225
- children: [/* @__PURE__ */ g("p", {
226
- className: "text-sm font-medium text-slate-950",
227
- children: /* @__PURE__ */ g("span", { children: d("feature_delivery_title") })
228
- }), /* @__PURE__ */ g("p", {
229
- className: "text-xs text-slate-600",
230
- children: /* @__PURE__ */ g("span", { children: d("feature_delivery_description") })
231
- })]
232
- })]
233
- }) : null,
234
- /* @__PURE__ */ g(Se, {
235
- bikes: k,
236
- currency: w.bookingEngine.currency,
237
- className: y(!J && "border-t border-slate-200/70 pt-3")
238
- })
270
+ /* @__PURE__ */ g("div", {
271
+ className: "min-w-0",
272
+ children: /* @__PURE__ */ g(se, {})
273
+ }),
274
+ /* @__PURE__ */ g("div", {
275
+ className: "min-w-0",
276
+ children: /* @__PURE__ */ g(ce, {})
277
+ }),
278
+ t ? /* @__PURE__ */ g(Be, {
279
+ buttonRef: K,
280
+ className: n,
281
+ label: d("booking_submit"),
282
+ onSubmit: Z
283
+ }) : null
239
284
  ]
285
+ }),
286
+ /* @__PURE__ */ g(ue, {}),
287
+ /* @__PURE__ */ g(le, {
288
+ className: "mt-2",
289
+ testId: "booking-home-time-slots-status"
240
290
  })
241
- })
242
- ] }), Q = ({ className: e, showSubmitButton: t = !1, submitButtonClassName: n }) => /* @__PURE__ */ g(ie, {
243
- ...dt,
244
- labelClassName: Ie,
245
- inputClassName: Le,
246
- children: /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ _("div", {
247
- className: e,
248
- children: [
249
- /* @__PURE__ */ g("div", {
250
- className: "min-w-0",
251
- children: /* @__PURE__ */ g(ae, {})
252
- }),
253
- /* @__PURE__ */ g(oe, {}),
254
- /* @__PURE__ */ g("div", {
255
- className: "min-w-0",
256
- children: /* @__PURE__ */ g(se, {})
257
- }),
258
- /* @__PURE__ */ g(ce, {}),
259
- t ? /* @__PURE__ */ g(ze, {
260
- buttonRef: G,
261
- className: n,
262
- label: d("booking_submit"),
263
- onSubmit: X
264
- }) : null
265
- ]
266
- }), /* @__PURE__ */ g(le, {
267
- className: "mt-2",
268
- testId: "booking-home-time-slots-status"
269
- })] })
270
- }), mt = (e) => P ? /* @__PURE__ */ g(ue, {
271
- open: I === "delivery",
291
+ ] })
292
+ }), ht = (e) => P ? /* @__PURE__ */ g(de, {
293
+ open: L === "delivery",
272
294
  className: "sm:min-h-[6.75rem]",
273
- inputClassName: `${Le} bg-white`,
274
- labelClassName: Ie,
275
- startAddress: V,
276
- onStartAddressChange: H,
277
- returnAddress: U,
278
- onReturnAddressChange: W,
295
+ inputClassName: `${Re} bg-white`,
296
+ labelClassName: Le,
297
+ startAddress: H,
298
+ onStartAddressChange: U,
299
+ returnAddress: W,
300
+ onReturnAddressChange: G,
279
301
  testIdPrefix: e
280
- }) : null, ht = mt("storefront-home-fulfillment-delivery-address"), gt = mt("storefront-home-compact-fulfillment-delivery-address"), _t = /* @__PURE__ */ _(he, {
302
+ }) : null, gt = ht("storefront-home-fulfillment-delivery-address"), _t = ht("storefront-home-compact-fulfillment-delivery-address"), vt = /* @__PURE__ */ _(ge, {
281
303
  className: "border-slate-200 bg-white/80 shadow-none",
282
304
  children: [/* @__PURE__ */ _("div", {
283
305
  className: "border-b border-slate-200 px-4 py-4",
@@ -291,30 +313,26 @@ function D() {
291
313
  }), /* @__PURE__ */ _("div", {
292
314
  className: "grid gap-4 px-4 py-4",
293
315
  children: [
294
- /* @__PURE__ */ g(we, {
295
- value: I,
316
+ /* @__PURE__ */ g(Te, {
317
+ value: L,
296
318
  onValueChange: qe,
297
319
  pickupAddress: D,
298
320
  deliveryEnabled: P,
299
- deliveryDisabledReason: Ke,
300
- startAddress: V,
301
- onStartAddressChange: H,
302
- endAddress: U,
303
- onEndAddressChange: W,
321
+ deliveryDisabledReason: F,
322
+ startAddress: H,
323
+ onStartAddressChange: U,
324
+ endAddress: W,
325
+ onEndAddressChange: G,
304
326
  showDeliveryAddressSelector: !1,
305
327
  testIdPrefix: "storefront-home-fulfillment"
306
328
  }),
307
- Q({ className: "grid grid-cols-1 gap-3 md:grid-cols-2 xl:grid-cols-[minmax(0,1fr)_150px_minmax(0,1fr)_150px] xl:items-start" }),
308
- ht,
309
- /* @__PURE__ */ g("p", {
310
- className: "text-xs text-slate-600",
311
- children: /* @__PURE__ */ g("span", { children: d("booking_minimum_duration", { hours: 4 }) })
312
- }),
329
+ mt({ className: "grid grid-cols-1 gap-3 md:grid-cols-2 xl:grid-cols-[minmax(0,1fr)_150px_minmax(0,1fr)_150px] xl:items-start" }),
330
+ gt,
313
331
  /* @__PURE__ */ _(u, {
314
- ref: G,
315
- className: "h-11 w-fit justify-self-start rounded-xl text-sm font-semibold gap-2",
332
+ ref: K,
333
+ className: "h-11 w-full justify-self-start gap-2 rounded-xl text-sm font-semibold sm:w-fit",
316
334
  disabled: !ut,
317
- onClick: X,
335
+ onClick: Z,
318
336
  children: [/* @__PURE__ */ g("span", { children: d("booking_submit") }), /* @__PURE__ */ g(b, {
319
337
  className: "h-4 w-4",
320
338
  "aria-hidden": "true"
@@ -322,33 +340,33 @@ function D() {
322
340
  })
323
341
  ]
324
342
  })]
325
- }), vt = /* @__PURE__ */ g(he, {
343
+ }), yt = /* @__PURE__ */ g(ge, {
326
344
  className: "border-slate-200 bg-white/95 shadow-xl",
327
345
  children: /* @__PURE__ */ _("div", {
328
346
  className: "grid gap-3 p-4",
329
347
  children: [
330
- /* @__PURE__ */ g("div", { children: /* @__PURE__ */ g(we, {
331
- value: I,
348
+ /* @__PURE__ */ g("div", { children: /* @__PURE__ */ g(Te, {
349
+ value: L,
332
350
  onValueChange: qe,
333
351
  pickupAddress: D,
334
352
  deliveryEnabled: P,
335
- deliveryDisabledReason: Ke,
336
- startAddress: V,
337
- onStartAddressChange: H,
338
- endAddress: U,
339
- onEndAddressChange: W,
353
+ deliveryDisabledReason: F,
354
+ startAddress: H,
355
+ onStartAddressChange: U,
356
+ endAddress: W,
357
+ onEndAddressChange: G,
340
358
  showDeliveryAddressSelector: !1,
341
359
  testIdPrefix: "storefront-home-compact-fulfillment"
342
360
  }) }),
343
- Q({
361
+ mt({
344
362
  className: "grid gap-3 md:grid-cols-2 xl:grid-cols-[minmax(0,1fr)_150px_minmax(0,1fr)_150px_auto] xl:items-end",
345
363
  showSubmitButton: !0,
346
- submitButtonClassName: "h-10 rounded-xl text-sm font-semibold xl:self-end"
364
+ submitButtonClassName: "h-10 w-full rounded-xl text-sm font-semibold md:w-fit xl:self-end"
347
365
  }),
348
- gt
366
+ _t
349
367
  ]
350
368
  })
351
- }), $ = (w.content?.galleryImageIds ?? []).map((e) => e.trim()).filter((e) => e.length > 0), yt = $.map((e) => c(e, S ?? w.storeSlug, 320)).filter((e) => e.length > 0), bt = [...k, ...Ve].flatMap((e) => Array.isArray(e.images) ? e.images : []).filter((e) => typeof e == "string" && e.trim().length > 0).map((e) => e.trim()).slice(0, 12), xt = Be(yt.length > 0 ? yt : bt), St = $[0] ? c($[0], S ?? w.storeSlug, 1600) : ve, Ct = q ? /* @__PURE__ */ g("style", { children: "\n @keyframes storefront-hero-marquee-up {\n 0% { transform: translateY(0); }\n 100% { transform: translateY(calc(-50% - (var(--storefront-hero-marquee-gap) / 2))); }\n }\n @keyframes storefront-hero-marquee-down {\n 0% { transform: translateY(calc(-50% - (var(--storefront-hero-marquee-gap) / 2))); }\n 100% { transform: translateY(0); }\n }\n .storefront-hero-marquee-track {\n animation: storefront-hero-marquee-up var(--storefront-hero-marquee-duration, 32s) linear infinite;\n will-change: transform;\n }\n .storefront-hero-marquee-track-reverse {\n animation-name: storefront-hero-marquee-down;\n }\n @media (prefers-reduced-motion: reduce) {\n .storefront-hero-marquee-track,\n .storefront-hero-marquee-track-reverse {\n animation: none !important;\n transform: none !important;\n }\n }\n " }) : null, wt = (e) => /* @__PURE__ */ g("div", {
369
+ }), $ = (w.content?.galleryImageIds ?? []).map((e) => e.trim()).filter((e) => e.length > 0), bt = $.map((e) => c(e, S ?? w.storeSlug, 320)).filter((e) => e.length > 0), xt = [...k, ...He].flatMap((e) => Array.isArray(e.images) ? e.images : []).filter((e) => typeof e == "string" && e.trim().length > 0).map((e) => e.trim()).slice(0, 12), St = Ve(bt.length > 0 ? bt : xt), Ct = $[0] ? c($[0], S ?? w.storeSlug, 1600) : ye, wt = J ? /* @__PURE__ */ g("style", { children: "\n @keyframes storefront-hero-marquee-up {\n 0% { transform: translateY(0); }\n 100% { transform: translateY(calc(-50% - (var(--storefront-hero-marquee-gap) / 2))); }\n }\n @keyframes storefront-hero-marquee-down {\n 0% { transform: translateY(calc(-50% - (var(--storefront-hero-marquee-gap) / 2))); }\n 100% { transform: translateY(0); }\n }\n .storefront-hero-marquee-track {\n animation: storefront-hero-marquee-up var(--storefront-hero-marquee-duration, 32s) linear infinite;\n will-change: transform;\n }\n .storefront-hero-marquee-track-reverse {\n animation-name: storefront-hero-marquee-down;\n }\n @media (prefers-reduced-motion: reduce) {\n .storefront-hero-marquee-track,\n .storefront-hero-marquee-track-reverse {\n animation: none !important;\n transform: none !important;\n }\n }\n " }) : null, Tt = (e) => /* @__PURE__ */ g("div", {
352
370
  className: y("relative h-full min-h-[340px] overflow-hidden", e),
353
371
  style: {
354
372
  WebkitMaskImage: "linear-gradient(to bottom, transparent 0%, black 5%, black 95%, transparent 100%)",
@@ -361,8 +379,8 @@ function D() {
361
379
  "aria-hidden": "true",
362
380
  children: /* @__PURE__ */ g("div", {
363
381
  className: "absolute inset-0 grid grid-cols-2 gap-3 md:grid-cols-3 lg:grid-cols-6",
364
- children: xt.map((e, t) => {
365
- let n = Re[t % Re.length] ?? 32, r = [...e, ...e];
382
+ children: St.map((e, t) => {
383
+ let n = ze[t % ze.length] ?? 32, r = [...e, ...e];
366
384
  return /* @__PURE__ */ g("div", {
367
385
  className: y("relative min-h-0 overflow-hidden", t === 2 && "hidden md:block", t >= 3 && "hidden lg:block"),
368
386
  children: /* @__PURE__ */ g("div", {
@@ -389,26 +407,26 @@ function D() {
389
407
  }, `hero-marquee-column-${t}`);
390
408
  })
391
409
  })
392
- }), Tt = q ? /* @__PURE__ */ g("div", {
410
+ }), Et = J ? /* @__PURE__ */ g("div", {
393
411
  className: "pointer-events-none absolute inset-0 hidden lg:block",
394
412
  "aria-hidden": "true",
395
413
  children: /* @__PURE__ */ _("div", {
396
414
  className: "mx-auto grid h-full max-w-7xl grid-cols-12 gap-8 px-4 sm:px-6",
397
415
  children: [/* @__PURE__ */ g("div", { className: "lg:col-span-5" }), /* @__PURE__ */ g("div", {
398
416
  className: "lg:col-span-7",
399
- children: wt()
417
+ children: Tt()
400
418
  })]
401
419
  })
402
- }) : null, Et = q ? /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("div", {
420
+ }) : null, Dt = J ? /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g("div", {
403
421
  className: "lg:hidden",
404
- children: wt()
422
+ children: Tt()
405
423
  }), /* @__PURE__ */ g("div", {
406
424
  className: "hidden min-h-[510px] lg:block",
407
425
  "aria-hidden": "true"
408
426
  })] }) : /* @__PURE__ */ _("div", {
409
427
  className: "relative min-h-[340px] overflow-hidden rounded-3xl border border-slate-200 bg-slate-900 shadow-sm lg:min-h-[510px]",
410
428
  children: [/* @__PURE__ */ g("img", {
411
- src: St,
429
+ src: Ct,
412
430
  alt: "",
413
431
  className: "absolute inset-0 h-full w-full object-cover",
414
432
  "aria-hidden": "true"
@@ -430,36 +448,36 @@ function D() {
430
448
  style: { backgroundImage: "radial-gradient(circle at 20% 20%, rgba(15, 23, 42, 0.9) 0px, transparent 55%), radial-gradient(circle at 80% 35%, rgba(14, 116, 144, 0.9) 0px, transparent 55%), radial-gradient(circle at 55% 85%, rgba(99, 102, 241, 0.9) 0px, transparent 55%)" },
431
449
  "aria-hidden": "true"
432
450
  }),
433
- Ct,
434
- Tt,
435
- J ? /* @__PURE__ */ _("div", {
451
+ wt,
452
+ Et,
453
+ Y ? /* @__PURE__ */ _("div", {
436
454
  className: "relative mx-auto grid max-w-7xl gap-x-8 px-4 py-10 sm:px-6 lg:grid-cols-12 lg:py-14",
437
455
  children: [
438
456
  /* @__PURE__ */ g("div", {
439
- className: "lg:col-span-5 lg:col-start-1 lg:row-start-1",
457
+ className: "min-w-0 lg:col-span-5 lg:col-start-1 lg:row-start-1",
440
458
  children: pt
441
459
  }),
442
460
  /* @__PURE__ */ g("div", {
443
- className: y("mt-8 lg:col-span-7 lg:col-start-6 lg:row-span-2 lg:row-start-1 lg:mt-0", !q && "lg:pt-4"),
444
- children: Et
461
+ className: y("mt-8 min-w-0 lg:col-span-7 lg:col-start-6 lg:row-span-2 lg:row-start-1 lg:mt-0", !J && "lg:pt-4"),
462
+ children: Dt
445
463
  }),
446
464
  /* @__PURE__ */ g("div", {
447
465
  className: "relative z-20 mt-4 lg:col-span-5 lg:col-start-1 lg:row-start-2 lg:mt-7",
448
466
  "data-testid": "storefront-home-booking-bar",
449
467
  children: /* @__PURE__ */ g("div", {
450
468
  className: "lg:w-[calc(100%+24rem)] lg:max-w-none",
451
- children: vt
469
+ children: yt
452
470
  })
453
471
  })
454
472
  ]
455
473
  }) : /* @__PURE__ */ _("div", {
456
474
  className: "relative mx-auto grid max-w-7xl gap-8 px-4 py-10 sm:px-6 lg:grid-cols-12 lg:items-center lg:py-14",
457
475
  children: [/* @__PURE__ */ g("div", {
458
- className: "lg:col-span-5",
476
+ className: "min-w-0 lg:col-span-5",
459
477
  children: pt
460
478
  }), /* @__PURE__ */ g("div", {
461
- className: "lg:col-span-7",
462
- children: _t
479
+ className: "min-w-0 lg:col-span-7",
480
+ children: vt
463
481
  })]
464
482
  })
465
483
  ]
@@ -489,13 +507,13 @@ function D() {
489
507
  }), /* @__PURE__ */ g("div", {
490
508
  className: "mt-6 grid gap-4 sm:grid-cols-2 lg:grid-cols-4",
491
509
  children: rt.map((e) => {
492
- let t = e.id, n = e.slug, r = s(e.name, x.language, O), i = s(e.description, x.language, O), a = typeof e.images?.[0] == "string" ? e.images[0].trim() : "", o = ye(e.primaryImageStyle), c = ee(e.availabilityStatus), u = ft(n);
510
+ let t = e.id, n = e.slug, r = s(e.name, x.language, O), i = s(e.description, x.language, O), a = typeof e.images?.[0] == "string" ? e.images[0].trim() : "", o = be(e.primaryImageStyle), c = ee(e.availabilityStatus), u = ft(n);
493
511
  return /* @__PURE__ */ _("div", {
494
- className: "group flex h-full flex-col gap-2 rounded-xl border border-slate-200 bg-white p-3 text-left shadow-sm transition hover:border-slate-400",
512
+ className: "group flex h-full min-w-0 flex-col gap-2 rounded-xl border border-slate-200 bg-white p-3 text-left shadow-sm transition hover:border-slate-400",
495
513
  children: [
496
514
  /* @__PURE__ */ g(v, {
497
515
  to: u,
498
- state: Z,
516
+ state: Q,
499
517
  className: "block",
500
518
  children: /* @__PURE__ */ g("span", {
501
519
  className: y("relative block aspect-[1618/1000] overflow-hidden rounded-xl", o.className),
@@ -507,7 +525,7 @@ function D() {
507
525
  loading: "lazy"
508
526
  }) : /* @__PURE__ */ g("span", {
509
527
  className: "absolute inset-0 flex items-center justify-center text-slate-400",
510
- children: /* @__PURE__ */ g(je, {
528
+ children: /* @__PURE__ */ g(Me, {
511
529
  className: "h-8 w-8",
512
530
  "aria-hidden": "true"
513
531
  })
@@ -519,11 +537,11 @@ function D() {
519
537
  children: [
520
538
  /* @__PURE__ */ g(v, {
521
539
  to: u,
522
- state: Z,
540
+ state: Q,
523
541
  className: "text-sm font-semibold text-slate-950 hover:text-slate-700",
524
542
  children: /* @__PURE__ */ g("span", { children: r })
525
543
  }),
526
- /* @__PURE__ */ g(_e, {
544
+ /* @__PURE__ */ g(ve, {
527
545
  prices: e.prices,
528
546
  className: "self-start"
529
547
  }),
@@ -546,7 +564,7 @@ function D() {
546
564
  }),
547
565
  /* @__PURE__ */ g(v, {
548
566
  to: u,
549
- state: Z,
567
+ state: Q,
550
568
  className: "text-xs font-medium text-slate-700 hover:text-slate-950",
551
569
  children: /* @__PURE__ */ g("span", { children: d("product_details_link") })
552
570
  })
@@ -576,12 +594,12 @@ function D() {
576
594
  })
577
595
  }), /* @__PURE__ */ g("div", {
578
596
  className: "mt-6 grid gap-4 md:grid-cols-2",
579
- children: k.map((e) => /* @__PURE__ */ g(be, {
597
+ children: k.map((e) => /* @__PURE__ */ g(xe, {
580
598
  bike: e,
581
599
  detailsPath: ft(e.slug),
582
- productDetailsLinkState: Z,
600
+ productDetailsLinkState: Q,
583
601
  fallbackLanguage: O,
584
- onAction: X
602
+ onAction: Z
585
603
  }, e.id))
586
604
  })]
587
605
  })
@@ -602,10 +620,10 @@ function D() {
602
620
  })
603
621
  }), /* @__PURE__ */ g("div", {
604
622
  className: "mt-6 grid gap-4 sm:grid-cols-2 lg:grid-cols-4",
605
- children: Ve.slice(0, 4).map((e) => {
606
- let t = s(e.name, x.language, O), n = s(e.description, x.language, O), r = s(e.warning, x.language, O), i = typeof e.images?.[0] == "string" ? e.images[0].trim() : "", a = ye(e.primaryImageStyle);
623
+ children: He.slice(0, 4).map((e) => {
624
+ let t = s(e.name, x.language, O), n = s(e.description, x.language, O), r = s(e.warning, x.language, O), i = typeof e.images?.[0] == "string" ? e.images[0].trim() : "", a = be(e.primaryImageStyle);
607
625
  return /* @__PURE__ */ _("div", {
608
- className: "flex h-full flex-col gap-2 rounded-xl border border-slate-200 bg-white p-3 shadow-sm",
626
+ className: "flex h-full min-w-0 flex-col gap-2 rounded-xl border border-slate-200 bg-white p-3 shadow-sm",
609
627
  children: [
610
628
  /* @__PURE__ */ g("div", {
611
629
  className: y("relative aspect-[1618/1000] overflow-hidden rounded-xl", a.className),
@@ -617,7 +635,7 @@ function D() {
617
635
  loading: "lazy"
618
636
  }) : /* @__PURE__ */ g("div", {
619
637
  className: "absolute inset-0 flex items-center justify-center text-slate-400",
620
- children: /* @__PURE__ */ g(je, {
638
+ children: /* @__PURE__ */ g(Me, {
621
639
  className: "h-8 w-8",
622
640
  "aria-hidden": "true"
623
641
  })
@@ -634,7 +652,7 @@ function D() {
634
652
  className: "line-clamp-2 text-xs text-slate-600",
635
653
  children: /* @__PURE__ */ g("span", { children: n })
636
654
  }),
637
- /* @__PURE__ */ g(ge, {
655
+ /* @__PURE__ */ g(_e, {
638
656
  warning: r,
639
657
  className: "mt-1"
640
658
  })
@@ -642,7 +660,7 @@ function D() {
642
660
  }),
643
661
  /* @__PURE__ */ g("div", {
644
662
  className: "flex items-center justify-between gap-2",
645
- children: /* @__PURE__ */ g(_e, {
663
+ children: /* @__PURE__ */ g(ve, {
646
664
  prices: e.prices,
647
665
  openOnHover: !1
648
666
  })
@@ -652,10 +670,10 @@ function D() {
652
670
  })
653
671
  })]
654
672
  }),
655
- /* @__PURE__ */ g(pe, {}),
656
673
  /* @__PURE__ */ g(me, {}),
657
- /* @__PURE__ */ g(fe, {}),
658
- /* @__PURE__ */ g(de, { storeSlug: S ?? "" })
674
+ /* @__PURE__ */ g(he, {}),
675
+ /* @__PURE__ */ g(pe, {}),
676
+ /* @__PURE__ */ g(fe, { storeSlug: S ?? "" })
659
677
  ] });
660
678
  }
661
679
  //#endregion