@nok-integration/storefront-react 0.21.1 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -63,8 +63,8 @@ function requireUtil() {
63
63
  return void 0;
64
64
  };
65
65
  util3.isInteger = typeof Number.isInteger === "function" ? (val) => Number.isInteger(val) : (val) => typeof val === "number" && Number.isFinite(val) && Math.floor(val) === val;
66
- function joinValues(array, separator = " | ") {
67
- return array.map((val) => typeof val === "string" ? `'${val}'` : val).join(separator);
66
+ function joinValues(array, separator2 = " | ") {
67
+ return array.map((val) => typeof val === "string" ? `'${val}'` : val).join(separator2);
68
68
  }
69
69
  util3.joinValues = joinValues;
70
70
  util3.jsonStringifyReplacer = (_, value2) => {
@@ -4516,6 +4516,8 @@ function requireVip() {
4516
4516
  });
4517
4517
  exports.VipHero = zod_1.z.object({
4518
4518
  image: common_1.Url.nullable(),
4519
+ desktop_image: common_1.Url.nullable().optional(),
4520
+ desktop_video: common_1.Url.nullable().optional(),
4519
4521
  headline: zod_1.z.string(),
4520
4522
  body: zod_1.z.string().nullable(),
4521
4523
  cta_label: zod_1.z.string()
@@ -5798,7 +5800,7 @@ function ShopLink({ to, children, ...rest }) {
5798
5800
  children
5799
5801
  });
5800
5802
  }
5801
- function ShopImage({ src, alt, fill: fill2 = false, width, height, sizes, className, style, priority = false }) {
5803
+ function ShopImage({ src, alt, fill: fill2 = false, width, height, sizes: sizes2, className, style, priority = false }) {
5802
5804
  const assetUrl = useAssetUrl();
5803
5805
  const fillStyle = fill2 ? {
5804
5806
  position: "absolute",
@@ -5811,7 +5813,7 @@ function ShopImage({ src, alt, fill: fill2 = false, width, height, sizes, classN
5811
5813
  alt,
5812
5814
  width: fill2 ? void 0 : width,
5813
5815
  height: fill2 ? void 0 : height,
5814
- sizes,
5816
+ sizes: sizes2,
5815
5817
  className,
5816
5818
  style: {
5817
5819
  ...fillStyle,
@@ -5897,7 +5899,7 @@ const neutral$2 = "_neutral_1bagf_12";
5897
5899
  const success$1 = "_success_1bagf_17";
5898
5900
  const critical$2 = "_critical_1bagf_22";
5899
5901
  const promo = "_promo_1bagf_27";
5900
- const styles$T = {
5902
+ const styles$V = {
5901
5903
  badge: badge$5,
5902
5904
  neutral: neutral$2,
5903
5905
  success: success$1,
@@ -5906,7 +5908,7 @@ const styles$T = {
5906
5908
  };
5907
5909
  function Badge({ tone = "neutral", children }) {
5908
5910
  return jsx("span", {
5909
- className: [styles$T.badge, styles$T[tone]].join(" "),
5911
+ className: [styles$V.badge, styles$V[tone]].join(" "),
5910
5912
  children
5911
5913
  });
5912
5914
  }
@@ -5915,7 +5917,7 @@ const fullWidth = "_fullWidth_ci424_25";
5915
5917
  const primary = "_primary_ci424_29";
5916
5918
  const secondary = "_secondary_ci424_34";
5917
5919
  const ghost = "_ghost_ci424_40";
5918
- const styles$S = {
5920
+ const styles$U = {
5919
5921
  button: button$1,
5920
5922
  fullWidth,
5921
5923
  primary,
@@ -5923,12 +5925,12 @@ const styles$S = {
5923
5925
  ghost
5924
5926
  };
5925
5927
  const spinner = "_spinner_1rueh_5";
5926
- const styles$R = {
5928
+ const styles$T = {
5927
5929
  spinner
5928
5930
  };
5929
5931
  function Spinner({ className }) {
5930
5932
  return jsx("span", {
5931
- className: [styles$R.spinner, className ?? ""].filter(Boolean).join(" "),
5933
+ className: [styles$T.spinner, className ?? ""].filter(Boolean).join(" "),
5932
5934
  "aria-hidden": "true"
5933
5935
  });
5934
5936
  }
@@ -5937,7 +5939,7 @@ const Button = forwardRef(function Button2({ variant = "primary", loading = fals
5937
5939
  return jsxs("button", {
5938
5940
  ref,
5939
5941
  type,
5940
- className: [styles$S.button, styles$S[variant], fullWidth2 ? styles$S.fullWidth : "", className ?? ""].filter(Boolean).join(" "),
5942
+ className: [styles$U.button, styles$U[variant], fullWidth2 ? styles$U.fullWidth : "", className ?? ""].filter(Boolean).join(" "),
5941
5943
  disabled: isDisabled,
5942
5944
  "aria-busy": loading || void 0,
5943
5945
  ...rest,
@@ -5947,7 +5949,7 @@ const Button = forwardRef(function Button2({ variant = "primary", loading = fals
5947
5949
  });
5948
5950
  });
5949
5951
  const skeleton = "_skeleton_1nxz7_1";
5950
- const styles$Q = {
5952
+ const styles$S = {
5951
5953
  skeleton
5952
5954
  };
5953
5955
  function Skeleton({ width, height, radius, className, circle }) {
@@ -5958,13 +5960,13 @@ function Skeleton({ width, height, radius, className, circle }) {
5958
5960
  };
5959
5961
  return jsx("span", {
5960
5962
  "aria-hidden": "true",
5961
- className: [styles$Q.skeleton, className ?? ""].filter(Boolean).join(" "),
5963
+ className: [styles$S.skeleton, className ?? ""].filter(Boolean).join(" "),
5962
5964
  style
5963
5965
  });
5964
5966
  }
5965
5967
  const surface$1 = "_surface_stwld_10";
5966
5968
  const fill = "_fill_stwld_35";
5967
- const styles$P = {
5969
+ const styles$R = {
5968
5970
  surface: surface$1,
5969
5971
  fill
5970
5972
  };
@@ -6111,7 +6113,7 @@ const ShopSurface = forwardRef(function ShopSurface2({ tone, fill: fill2 = false
6111
6113
  ...rest,
6112
6114
  ref: attach,
6113
6115
  "data-shop-theme": tone,
6114
- className: [styles$P.surface, fill2 ? styles$P.fill : "", className ?? ""].filter(Boolean).join(" "),
6116
+ className: [styles$R.surface, fill2 ? styles$R.fill : "", className ?? ""].filter(Boolean).join(" "),
6115
6117
  children
6116
6118
  });
6117
6119
  });
@@ -6124,7 +6126,7 @@ const lineMid = "_lineMid_ney0g_45";
6124
6126
  const lineNarrow = "_lineNarrow_ney0g_49";
6125
6127
  const row$9 = "_row_ney0g_53";
6126
6128
  const action$2 = "_action_ney0g_57";
6127
- const styles$O = {
6129
+ const styles$Q = {
6128
6130
  root: root$6,
6129
6131
  inner,
6130
6132
  media: media$3,
@@ -6331,6 +6333,10 @@ const ES = {
6331
6333
  "Item is damaged": "El artículo está dañado",
6332
6334
  "Measurement unit": "Unidad de medida",
6333
6335
  "Need help?": "¿Necesita ayuda?",
6336
+ "Need help with your order?": "¿Necesita ayuda con su pedido?",
6337
+ Homepage: "Inicio",
6338
+ Breadcrumb: "Ruta de navegación",
6339
+ "Show image {0} of {1}": "Ver imagen {0} de {1}",
6334
6340
  "Nothing left to return": "No queda nada por devolver",
6335
6341
  "Order #{0} · Placed {1}": "Pedido n.º {0} · Realizado el {1}",
6336
6342
  "Order cancelled": "Pedido cancelado",
@@ -6423,36 +6429,36 @@ function ScreenSkeleton({ tone, shape = "media" }) {
6423
6429
  return jsx(ShopSurface, {
6424
6430
  tone,
6425
6431
  fill: true,
6426
- className: styles$O.root,
6432
+ className: styles$Q.root,
6427
6433
  children: jsx("div", {
6428
- className: styles$O.inner,
6434
+ className: styles$Q.inner,
6429
6435
  role: "status",
6430
6436
  "aria-label": t("Loading"),
6431
6437
  children: shape === "media" ? jsxs(Fragment, {
6432
6438
  children: [jsx(Skeleton, {
6433
- className: styles$O.media
6439
+ className: styles$Q.media
6434
6440
  }), jsxs("div", {
6435
- className: styles$O.lines,
6441
+ className: styles$Q.lines,
6436
6442
  children: [jsx(Skeleton, {
6437
6443
  height: 22,
6438
- className: styles$O.lineWide
6444
+ className: styles$Q.lineWide
6439
6445
  }), jsx(Skeleton, {
6440
6446
  height: 16,
6441
- className: styles$O.lineMid
6447
+ className: styles$Q.lineMid
6442
6448
  }), jsx(Skeleton, {
6443
6449
  height: 16,
6444
- className: styles$O.lineNarrow
6450
+ className: styles$Q.lineNarrow
6445
6451
  })]
6446
6452
  }), jsx(Skeleton, {
6447
6453
  height: 48,
6448
6454
  radius: 8,
6449
- className: styles$O.action
6455
+ className: styles$Q.action
6450
6456
  })]
6451
6457
  }) : jsx("div", {
6452
- className: styles$O.lines,
6458
+ className: styles$Q.lines,
6453
6459
  children: [0, 1, 2, 3].map((i) => jsx(Skeleton, {
6454
6460
  height: 72,
6455
- className: styles$O.row
6461
+ className: styles$Q.row
6456
6462
  }, i))
6457
6463
  })
6458
6464
  })
@@ -6464,7 +6470,7 @@ const text$6 = "_text_ryf3q_21";
6464
6470
  const title$n = "_title_ryf3q_35";
6465
6471
  const body$9 = "_body_ryf3q_40";
6466
6472
  const action$1 = "_action_ryf3q_48";
6467
- const styles$N = {
6473
+ const styles$P = {
6468
6474
  root: root$5,
6469
6475
  icon: icon$4,
6470
6476
  text: text$6,
@@ -6474,22 +6480,22 @@ const styles$N = {
6474
6480
  };
6475
6481
  function EmptyState({ title: title2, body: body3, action: action2, icon: icon2 }) {
6476
6482
  return jsxs("div", {
6477
- className: styles$N.root,
6483
+ className: styles$P.root,
6478
6484
  role: "status",
6479
6485
  children: [icon2 && jsx("div", {
6480
- className: styles$N.icon,
6486
+ className: styles$P.icon,
6481
6487
  children: icon2
6482
6488
  }), jsxs("div", {
6483
- className: styles$N.text,
6489
+ className: styles$P.text,
6484
6490
  children: [jsx("h2", {
6485
- className: styles$N.title,
6491
+ className: styles$P.title,
6486
6492
  children: title2
6487
6493
  }), body3 && jsx("p", {
6488
- className: styles$N.body,
6494
+ className: styles$P.body,
6489
6495
  children: body3
6490
6496
  })]
6491
6497
  }), action2 && jsx("div", {
6492
- className: styles$N.action,
6498
+ className: styles$P.action,
6493
6499
  children: action2
6494
6500
  })]
6495
6501
  });
@@ -6626,7 +6632,7 @@ function isDuplicateOrder(err) {
6626
6632
  const root$4 = "_root_1lbpx_1";
6627
6633
  const title$m = "_title_1lbpx_10";
6628
6634
  const body$8 = "_body_1lbpx_15";
6629
- const styles$M = {
6635
+ const styles$O = {
6630
6636
  root: root$4,
6631
6637
  title: title$m,
6632
6638
  body: body$8
@@ -6636,13 +6642,13 @@ function ErrorState({ code, title: title2, body: body3, onRetry, retryLabel }) {
6636
6642
  const treatment = treatmentFor(code);
6637
6643
  const showRetry = Boolean(onRetry) && treatment.retriable;
6638
6644
  return jsxs("div", {
6639
- className: styles$M.root,
6645
+ className: styles$O.root,
6640
6646
  role: "alert",
6641
6647
  children: [jsx("h2", {
6642
- className: styles$M.title,
6648
+ className: styles$O.title,
6643
6649
  children: title2 ?? t(treatment.title)
6644
6650
  }), jsx("p", {
6645
- className: styles$M.body,
6651
+ className: styles$O.body,
6646
6652
  children: body3 ?? t(treatment.body)
6647
6653
  }), showRetry && jsx(Button, {
6648
6654
  variant: "secondary",
@@ -6688,9 +6694,9 @@ const success = "_success_oz4st_163";
6688
6694
  const critical$1 = "_critical_oz4st_168";
6689
6695
  const rich = "_rich_oz4st_183";
6690
6696
  const description = "_description_oz4st_198";
6691
- const thumb$3 = "_thumb_oz4st_216";
6697
+ const thumb$4 = "_thumb_oz4st_216";
6692
6698
  const thumbImage = "_thumbImage_oz4st_227";
6693
- const styles$L = {
6699
+ const styles$N = {
6694
6700
  viewport,
6695
6701
  anchor,
6696
6702
  caret,
@@ -6703,7 +6709,7 @@ const styles$L = {
6703
6709
  critical: critical$1,
6704
6710
  rich,
6705
6711
  description,
6706
- thumb: thumb$3,
6712
+ thumb: thumb$4,
6707
6713
  thumbImage
6708
6714
  };
6709
6715
  const ToastContext = createContext(null);
@@ -6813,41 +6819,41 @@ function ToastProvider({ children }) {
6813
6819
  return jsxs(ToastContext.Provider, {
6814
6820
  value: api,
6815
6821
  children: [children, jsx("div", {
6816
- className: styles$L.viewport,
6822
+ className: styles$N.viewport,
6817
6823
  ref: viewportRef,
6818
6824
  "aria-live": "polite",
6819
6825
  "aria-atomic": "false",
6820
6826
  children: toasts.map((t) => {
6821
6827
  const rich2 = Boolean(t.description || t.image);
6822
6828
  return jsxs("div", {
6823
- className: styles$L.anchor,
6829
+ className: styles$N.anchor,
6824
6830
  children: [t.anchor === "cart" && jsx("span", {
6825
- className: styles$L.caret,
6831
+ className: styles$N.caret,
6826
6832
  children: jsx(Caret, {})
6827
6833
  }), jsxs("div", {
6828
- className: [styles$L.toast, rich2 ? styles$L.rich : styles$L[t.tone]].join(" "),
6834
+ className: [styles$N.toast, rich2 ? styles$N.rich : styles$N[t.tone]].join(" "),
6829
6835
  role: "status",
6830
6836
  children: [t.image && jsx("span", {
6831
- className: styles$L.thumb,
6837
+ className: styles$N.thumb,
6832
6838
  children: jsx(ShopImage, {
6833
6839
  src: t.image,
6834
6840
  alt: "",
6835
6841
  fill: true,
6836
6842
  sizes: "40px",
6837
- className: styles$L.thumbImage
6843
+ className: styles$N.thumbImage
6838
6844
  })
6839
6845
  }), jsxs("span", {
6840
- className: styles$L.text,
6846
+ className: styles$N.text,
6841
6847
  children: [jsx("span", {
6842
- className: styles$L.message,
6848
+ className: styles$N.message,
6843
6849
  children: t.message
6844
6850
  }), t.description && jsx("span", {
6845
- className: styles$L.description,
6851
+ className: styles$N.description,
6846
6852
  children: t.description
6847
6853
  })]
6848
6854
  }), t.action && jsx("button", {
6849
6855
  type: "button",
6850
- className: styles$L.action,
6856
+ className: styles$N.action,
6851
6857
  onClick: () => {
6852
6858
  t.action?.onAction();
6853
6859
  dismiss(t.id);
@@ -6862,15 +6868,15 @@ function ToastProvider({ children }) {
6862
6868
  }
6863
6869
  const badge$4 = "_badge_156ya_2";
6864
6870
  const icon$3 = "_icon_156ya_18";
6865
- const styles$K = {
6871
+ const styles$M = {
6866
6872
  badge: badge$4,
6867
6873
  icon: icon$3
6868
6874
  };
6869
6875
  function SaleBadge({ pct }) {
6870
6876
  return jsxs("span", {
6871
- className: styles$K.badge,
6877
+ className: styles$M.badge,
6872
6878
  children: [jsxs("svg", {
6873
- className: styles$K.icon,
6879
+ className: styles$M.icon,
6874
6880
  width: "12",
6875
6881
  height: "12",
6876
6882
  viewBox: "0 0 24 24",
@@ -6900,7 +6906,7 @@ const badge$3 = "_badge_rvfx9_48";
6900
6906
  const price$4 = "_price_rvfx9_52";
6901
6907
  const compareAt = "_compareAt_rvfx9_57";
6902
6908
  const strikethrough = "_strikethrough_rvfx9_65";
6903
- const styles$J = {
6909
+ const styles$L = {
6904
6910
  root: root$3,
6905
6911
  center: center$1,
6906
6912
  end,
@@ -6918,12 +6924,12 @@ function PriceBlock({ price: price2, compareAt: compareAt2, discountPct: discoun
6918
6924
  const pct = discountPct$1 ?? discountPct(price2, compareAt2);
6919
6925
  const hasCompare = compareAt2 && compareAt2.amount > price2.amount;
6920
6926
  return jsxs("div", {
6921
- className: [styles$J.root, styles$J[size], styles$J[align], styles$J[variant]].join(" "),
6927
+ className: [styles$L.root, styles$L[size], styles$L[align], styles$L[variant]].join(" "),
6922
6928
  children: [jsx("span", {
6923
- className: styles$J.price,
6929
+ className: styles$L.price,
6924
6930
  children: format(price2)
6925
6931
  }), hasCompare && jsxs("span", {
6926
- className: styles$J.compareAt,
6932
+ className: styles$L.compareAt,
6927
6933
  children: [jsx("span", {
6928
6934
  className: "visually-hidden",
6929
6935
  children: t("Was {0}", format(compareAt2))
@@ -6937,7 +6943,7 @@ function PriceBlock({ price: price2, compareAt: compareAt2, discountPct: discoun
6937
6943
  });
6938
6944
  }
6939
6945
  const STATE_KEY = "__daznShop";
6940
- function current$1(name2) {
6946
+ function current$2(name2) {
6941
6947
  if (typeof window === "undefined") return null;
6942
6948
  const state = window.history.state;
6943
6949
  const ours = state?.[STATE_KEY];
@@ -6946,9 +6952,9 @@ function current$1(name2) {
6946
6952
  return typeof value2 === "string" ? value2 : null;
6947
6953
  }
6948
6954
  function useInPlaceScreen(name2) {
6949
- const [value2, setValue] = useState(() => current$1(name2));
6955
+ const [value2, setValue] = useState(() => current$2(name2));
6950
6956
  useEffect(() => {
6951
- const onPop = () => setValue(current$1(name2));
6957
+ const onPop = () => setValue(current$2(name2));
6952
6958
  window.addEventListener("popstate", onPop);
6953
6959
  return () => window.removeEventListener("popstate", onPop);
6954
6960
  }, [name2]);
@@ -6968,7 +6974,7 @@ function useInPlaceScreen(name2) {
6968
6974
  setValue(next);
6969
6975
  }, [name2]);
6970
6976
  const close2 = useCallback(() => {
6971
- if (current$1(name2) !== null) {
6977
+ if (current$2(name2) !== null) {
6972
6978
  window.history.back();
6973
6979
  return;
6974
6980
  }
@@ -6990,10 +6996,10 @@ const connector = "_connector_1cum7_68";
6990
6996
  const text$4 = "_text_1cum7_84";
6991
6997
  const label$2 = "_label_1cum7_101";
6992
6998
  const past = "_past_1cum7_113";
6993
- const current = "_current_1cum7_118";
6999
+ const current$1 = "_current_1cum7_118";
6994
7000
  const future = "_future_1cum7_133";
6995
7001
  const date$1 = "_date_1cum7_138";
6996
- const styles$I = {
7002
+ const styles$K = {
6997
7003
  timeline,
6998
7004
  row: row$8,
6999
7005
  line: line$3,
@@ -7004,7 +7010,7 @@ const styles$I = {
7004
7010
  text: text$4,
7005
7011
  label: label$2,
7006
7012
  past,
7007
- current,
7013
+ current: current$1,
7008
7014
  future,
7009
7015
  date: date$1
7010
7016
  };
@@ -7027,39 +7033,39 @@ function OrderTimeline({ progress: progress2, estimatedDelivery, locale: localeP
7027
7033
  const t = useT();
7028
7034
  const currentIndex = progress2.findIndex((e) => e.current);
7029
7035
  return jsx("ol", {
7030
- className: styles$I.timeline,
7036
+ className: styles$K.timeline,
7031
7037
  children: progress2.map((entry, i) => {
7032
7038
  const state = stateOf(entry, i, currentIndex);
7033
7039
  const estimate = !entry.at && i === progress2.length - 1 && estimatedDelivery ? formatWindow(estimatedDelivery, locale) : void 0;
7034
7040
  return jsxs("li", {
7035
- className: styles$I.row,
7041
+ className: styles$K.row,
7036
7042
  "aria-current": entry.current ? "step" : void 0,
7037
7043
  children: [jsxs("div", {
7038
- className: styles$I.line,
7044
+ className: styles$K.line,
7039
7045
  children: [jsx("span", {
7040
- className: styles$I.marker,
7046
+ className: styles$K.marker,
7041
7047
  children: state === "future" ? jsx("span", {
7042
- className: styles$I.pending,
7048
+ className: styles$K.pending,
7043
7049
  "aria-hidden": "true"
7044
7050
  }) : jsx(StepTick, {
7045
7051
  tone: state
7046
7052
  })
7047
7053
  }), jsxs("span", {
7048
- className: styles$I.text,
7054
+ className: styles$K.text,
7049
7055
  children: [jsx("span", {
7050
- className: [styles$I.label, styles$I[state]].join(" "),
7056
+ className: [styles$K.label, styles$K[state]].join(" "),
7051
7057
  children: t(labelFor(entry))
7052
7058
  }), entry.at ? jsx("time", {
7053
- className: styles$I.date,
7059
+ className: styles$K.date,
7054
7060
  dateTime: entry.at,
7055
7061
  children: formatStepDate(entry.at, locale)
7056
7062
  }) : estimate && jsx("span", {
7057
- className: styles$I.date,
7063
+ className: styles$K.date,
7058
7064
  children: estimate
7059
7065
  })]
7060
7066
  })]
7061
7067
  }), i < progress2.length - 1 && jsx("span", {
7062
- className: styles$I.connector,
7068
+ className: styles$K.connector,
7063
7069
  "aria-hidden": "true"
7064
7070
  })]
7065
7071
  }, entry.step);
@@ -7073,7 +7079,7 @@ function stateOf(entry, index, currentIndex) {
7073
7079
  }
7074
7080
  function StepTick({ tone }) {
7075
7081
  return jsxs("svg", {
7076
- className: styles$I.tick,
7082
+ className: styles$K.tick,
7077
7083
  width: "28",
7078
7084
  height: "28",
7079
7085
  viewBox: "0 0 28 28",
@@ -7218,7 +7224,7 @@ const row$7 = "_row_1hsxt_16";
7218
7224
  const free = "_free_1hsxt_53";
7219
7225
  const pending$1 = "_pending_1hsxt_59";
7220
7226
  const discount = "_discount_1hsxt_69";
7221
- const styles$H = {
7227
+ const styles$J = {
7222
7228
  summary,
7223
7229
  row: row$7,
7224
7230
  free,
@@ -7247,11 +7253,11 @@ function OrderSummary({ pricing, deferred = [], hidden = [], rows = CART_ROWS, d
7247
7253
  const isDeferred = (key) => deferred.includes(key);
7248
7254
  const visible = rows.filter((row2) => !hidden.includes(row2.key)).filter((row2) => row2.key !== "discount" || discount2 !== void 0);
7249
7255
  return jsx("dl", {
7250
- className: styles$H.summary,
7256
+ className: styles$J.summary,
7251
7257
  children: visible.map(({ label: label2, key }) => {
7252
7258
  if (key === "discount" && discount2) {
7253
7259
  return jsxs("div", {
7254
- className: [styles$H.row, styles$H.discount].join(" "),
7260
+ className: [styles$J.row, styles$J.discount].join(" "),
7255
7261
  children: [jsx("dt", {
7256
7262
  children: t(label2)
7257
7263
  }), jsx("dd", {
@@ -7261,11 +7267,11 @@ function OrderSummary({ pricing, deferred = [], hidden = [], rows = CART_ROWS, d
7261
7267
  }
7262
7268
  const pending2 = key !== "total" && isDeferred(key);
7263
7269
  return jsxs("div", {
7264
- className: styles$H.row,
7270
+ className: styles$J.row,
7265
7271
  children: [jsx("dt", {
7266
7272
  children: t(label2)
7267
7273
  }), jsx("dd", {
7268
- className: pending2 ? styles$H.pending : void 0,
7274
+ className: pending2 ? styles$J.pending : void 0,
7269
7275
  children: pending2 ? t("Calculated at checkout") : renderValue(key, pricing, format, t)
7270
7276
  })]
7271
7277
  }, key);
@@ -7275,7 +7281,7 @@ function OrderSummary({ pricing, deferred = [], hidden = [], rows = CART_ROWS, d
7275
7281
  function renderValue(key, pricing, format, t) {
7276
7282
  if (key === "shipping" && pricing.shipping.amount === 0) {
7277
7283
  return jsx("span", {
7278
- className: styles$H.free,
7284
+ className: styles$J.free,
7279
7285
  children: t("Free")
7280
7286
  });
7281
7287
  }
@@ -7283,8 +7289,8 @@ function renderValue(key, pricing, format, t) {
7283
7289
  }
7284
7290
  const lines$1 = "_lines_1lx0d_19";
7285
7291
  const line$2 = "_line_1lx0d_19";
7286
- const thumb$2 = "_thumb_1lx0d_34";
7287
- const image$a = "_image_1lx0d_44";
7292
+ const thumb$3 = "_thumb_1lx0d_34";
7293
+ const image$b = "_image_1lx0d_44";
7288
7294
  const placeholder$8 = "_placeholder_1lx0d_51";
7289
7295
  const lineBody = "_lineBody_1lx0d_56";
7290
7296
  const lineText = "_lineText_1lx0d_65";
@@ -7302,11 +7308,11 @@ const itemsHeader = "_itemsHeader_1lx0d_14";
7302
7308
  const itemsTitle = "_itemsTitle_1lx0d_238";
7303
7309
  const itemsCount = "_itemsCount_1lx0d_249";
7304
7310
  const cardLines = "_cardLines_1lx0d_268";
7305
- const styles$G = {
7311
+ const styles$I = {
7306
7312
  lines: lines$1,
7307
7313
  line: line$2,
7308
- thumb: thumb$2,
7309
- image: image$a,
7314
+ thumb: thumb$3,
7315
+ image: image$b,
7310
7316
  placeholder: placeholder$8,
7311
7317
  lineBody,
7312
7318
  lineText,
@@ -7345,42 +7351,42 @@ function OrderLine({ item: item2 }) {
7345
7351
  const pct = compareAt2 ? discountPct(item2.unit_price, compareAt2) : void 0;
7346
7352
  const details2 = detailsOf(item2, t);
7347
7353
  return jsxs("li", {
7348
- className: styles$G.line,
7354
+ className: styles$I.line,
7349
7355
  children: [jsx("div", {
7350
- className: styles$G.thumb,
7356
+ className: styles$I.thumb,
7351
7357
  children: item2.image ? jsx(ShopImage, {
7352
7358
  src: item2.image,
7353
7359
  alt: "",
7354
7360
  fill: true,
7355
7361
  sizes: "48px",
7356
- className: styles$G.image
7362
+ className: styles$I.image
7357
7363
  }) : jsx("div", {
7358
- className: styles$G.placeholder,
7364
+ className: styles$I.placeholder,
7359
7365
  "aria-hidden": "true"
7360
7366
  })
7361
7367
  }), jsxs("div", {
7362
- className: styles$G.lineBody,
7368
+ className: styles$I.lineBody,
7363
7369
  children: [jsxs("div", {
7364
- className: styles$G.lineText,
7370
+ className: styles$I.lineText,
7365
7371
  children: [jsx("span", {
7366
- className: styles$G.lineTitle,
7372
+ className: styles$I.lineTitle,
7367
7373
  children: item2.title ?? item2.sku
7368
7374
  }), jsxs("span", {
7369
- className: styles$G.lineMeta,
7375
+ className: styles$I.lineMeta,
7370
7376
  children: [details2.map((detail2) => jsx("span", {
7371
- className: styles$G.detail,
7377
+ className: styles$I.detail,
7372
7378
  children: detail2
7373
7379
  }, detail2)), pct !== void 0 && jsx(SaleBadge, {
7374
7380
  pct
7375
7381
  })]
7376
7382
  })]
7377
7383
  }), jsxs("span", {
7378
- className: styles$G.linePrice,
7384
+ className: styles$I.linePrice,
7379
7385
  children: [jsx("span", {
7380
- className: styles$G.paid,
7386
+ className: styles$I.paid,
7381
7387
  children: format(item2.line_total)
7382
7388
  }), compareAt2 && jsxs("span", {
7383
- className: styles$G.was,
7389
+ className: styles$I.was,
7384
7390
  children: [jsx("span", {
7385
7391
  className: "visually-hidden",
7386
7392
  children: t("Was {0}", format(compareAt2))
@@ -7396,7 +7402,7 @@ function OrderLine({ item: item2 }) {
7396
7402
  function OrderLines({ order }) {
7397
7403
  const t = useT();
7398
7404
  return jsx("ul", {
7399
- className: styles$G.lines,
7405
+ className: styles$I.lines,
7400
7406
  "aria-label": t("Items"),
7401
7407
  children: order.items.map((item2) => jsx(OrderLine, {
7402
7408
  item: item2
@@ -7407,19 +7413,19 @@ function OrderItemsCard({ order }) {
7407
7413
  const t = useT();
7408
7414
  const itemCount = order.items.reduce((n, i) => n + i.qty, 0);
7409
7415
  return jsxs("section", {
7410
- className: styles$G.card,
7416
+ className: styles$I.card,
7411
7417
  "aria-label": t("Items"),
7412
7418
  children: [jsxs("div", {
7413
- className: styles$G.itemsHeader,
7419
+ className: styles$I.itemsHeader,
7414
7420
  children: [jsx("h2", {
7415
- className: styles$G.itemsTitle,
7421
+ className: styles$I.itemsTitle,
7416
7422
  children: t("Items")
7417
7423
  }), jsx("span", {
7418
- className: styles$G.itemsCount,
7424
+ className: styles$I.itemsCount,
7419
7425
  children: itemCount
7420
7426
  })]
7421
7427
  }), jsx("ul", {
7422
- className: [styles$G.lines, styles$G.cardLines].join(" "),
7428
+ className: [styles$I.lines, styles$I.cardLines].join(" "),
7423
7429
  children: order.items.map((item2) => jsx(OrderLine, {
7424
7430
  item: item2
7425
7431
  }, item2.line_ref))
@@ -7429,13 +7435,13 @@ function OrderItemsCard({ order }) {
7429
7435
  function ShippingAddressCard({ order }) {
7430
7436
  const t = useT();
7431
7437
  return jsxs("section", {
7432
- className: styles$G.card,
7438
+ className: styles$I.card,
7433
7439
  "aria-label": t("Shipping address"),
7434
7440
  children: [jsx("h2", {
7435
- className: styles$G.cardTitle,
7441
+ className: styles$I.cardTitle,
7436
7442
  children: t("Shipping address")
7437
7443
  }), jsx("p", {
7438
- className: styles$G.cardBody,
7444
+ className: styles$I.cardBody,
7439
7445
  children: formatAddress(order.ship_to)
7440
7446
  })]
7441
7447
  });
@@ -7443,10 +7449,10 @@ function ShippingAddressCard({ order }) {
7443
7449
  function OrderSummaryCard({ order }) {
7444
7450
  const t = useT();
7445
7451
  return jsxs("section", {
7446
- className: [styles$G.card, styles$G.summaryCard].join(" "),
7452
+ className: [styles$I.card, styles$I.summaryCard].join(" "),
7447
7453
  "aria-label": t("Order summary"),
7448
7454
  children: [jsx("h2", {
7449
- className: styles$G.cardTitle,
7455
+ className: styles$I.cardTitle,
7450
7456
  children: t("Order summary")
7451
7457
  }), jsx(OrderSummary, {
7452
7458
  pricing: toPricing(order),
@@ -7483,7 +7489,7 @@ const handleSlot = "_handleSlot_1f3nh_23";
7483
7489
  const handle = "_handle_1f3nh_23";
7484
7490
  const closeSlot$1 = "_closeSlot_1f3nh_35";
7485
7491
  const close$2 = "_close_1f3nh_35";
7486
- const styles$F = {
7492
+ const styles$H = {
7487
7493
  header: header$6,
7488
7494
  slot,
7489
7495
  handleSlot,
@@ -7511,23 +7517,23 @@ function CloseIcon$1() {
7511
7517
  }
7512
7518
  function SheetHeader({ onClose, closeLabel }) {
7513
7519
  return jsxs("div", {
7514
- className: styles$F.header,
7520
+ className: styles$H.header,
7515
7521
  children: [jsx("div", {
7516
- className: styles$F.slot,
7522
+ className: styles$H.slot,
7517
7523
  "aria-hidden": "true"
7518
7524
  }), jsx("div", {
7519
- className: styles$F.handleSlot,
7525
+ className: styles$H.handleSlot,
7520
7526
  "aria-hidden": "true",
7521
7527
  children: jsx("div", {
7522
- className: styles$F.handle
7528
+ className: styles$H.handle
7523
7529
  })
7524
7530
  }), jsx("button", {
7525
7531
  type: "button",
7526
- className: styles$F.closeSlot,
7532
+ className: styles$H.closeSlot,
7527
7533
  onClick: onClose,
7528
7534
  "aria-label": closeLabel,
7529
7535
  children: jsx("span", {
7530
- className: styles$F.close,
7536
+ className: styles$H.close,
7531
7537
  children: jsx(CloseIcon$1, {})
7532
7538
  })
7533
7539
  })]
@@ -7583,7 +7589,7 @@ const radio = "_radio_1oaa3_95";
7583
7589
  const label$1 = "_label_1oaa3_125";
7584
7590
  const footer$1 = "_footer_1oaa3_134";
7585
7591
  const error$1 = "_error_1oaa3_142";
7586
- const styles$E = {
7592
+ const styles$G = {
7587
7593
  scrim: scrim$5,
7588
7594
  sheet: sheet$3,
7589
7595
  body: body$7,
@@ -7601,12 +7607,12 @@ function ReasonSheet({ title: title2, options: options2, ctaLabel, selected: sel
7601
7607
  const t = useT();
7602
7608
  useModalDialog(true, onClose, sheetRef);
7603
7609
  return jsx("div", {
7604
- className: styles$E.scrim,
7610
+ className: styles$G.scrim,
7605
7611
  onClick: onClose,
7606
7612
  children: jsxs(ShopSurface, {
7607
7613
  tone: "light",
7608
7614
  ref: sheetRef,
7609
- className: styles$E.sheet,
7615
+ className: styles$G.sheet,
7610
7616
  role: "dialog",
7611
7617
  "aria-modal": "true",
7612
7618
  "aria-labelledby": "reason-sheet-title",
@@ -7615,23 +7621,23 @@ function ReasonSheet({ title: title2, options: options2, ctaLabel, selected: sel
7615
7621
  onClose,
7616
7622
  closeLabel
7617
7623
  }), jsxs("div", {
7618
- className: styles$E.body,
7624
+ className: styles$G.body,
7619
7625
  children: [jsx("h2", {
7620
7626
  id: "reason-sheet-title",
7621
- className: styles$E.title,
7627
+ className: styles$G.title,
7622
7628
  children: t(title2)
7623
7629
  }), jsx("div", {
7624
- className: styles$E.options,
7630
+ className: styles$G.options,
7625
7631
  role: "radiogroup",
7626
7632
  "aria-labelledby": "reason-sheet-title",
7627
7633
  children: options2.map((o) => jsxs("button", {
7628
7634
  type: "button",
7629
7635
  role: "radio",
7630
7636
  "aria-checked": o.value === choice,
7631
- className: styles$E.option,
7637
+ className: styles$G.option,
7632
7638
  onClick: () => setChoice(o.value),
7633
7639
  children: [jsx("span", {
7634
- className: styles$E.radio,
7640
+ className: styles$G.radio,
7635
7641
  "aria-hidden": "true",
7636
7642
  children: o.value === choice && jsxs("svg", {
7637
7643
  width: "20",
@@ -7652,15 +7658,15 @@ function ReasonSheet({ title: title2, options: options2, ctaLabel, selected: sel
7652
7658
  })]
7653
7659
  })
7654
7660
  }), jsx("span", {
7655
- className: styles$E.label,
7661
+ className: styles$G.label,
7656
7662
  children: t(o.label)
7657
7663
  })]
7658
7664
  }, o.value))
7659
7665
  })]
7660
7666
  }), jsxs("div", {
7661
- className: styles$E.footer,
7667
+ className: styles$G.footer,
7662
7668
  children: [error2 && jsx("p", {
7663
- className: styles$E.error,
7669
+ className: styles$G.error,
7664
7670
  role: "alert",
7665
7671
  children: error2
7666
7672
  }), jsx(Button, {
@@ -7676,7 +7682,7 @@ function ReasonSheet({ title: title2, options: options2, ctaLabel, selected: sel
7676
7682
  });
7677
7683
  }
7678
7684
  const line$1 = "_line_1pjby_6";
7679
- const thumb$1 = "_thumb_1pjby_12";
7685
+ const thumb$2 = "_thumb_1pjby_12";
7680
7686
  const img$1 = "_img_1pjby_22";
7681
7687
  const placeholder$7 = "_placeholder_1pjby_29";
7682
7688
  const meta$3 = "_meta_1pjby_34";
@@ -7685,9 +7691,9 @@ const attrs$1 = "_attrs_1pjby_55";
7685
7691
  const price$3 = "_price_1pjby_63";
7686
7692
  const paid$2 = "_paid_1pjby_72";
7687
7693
  const was$3 = "_was_1pjby_80";
7688
- const styles$D = {
7694
+ const styles$F = {
7689
7695
  line: line$1,
7690
- thumb: thumb$1,
7696
+ thumb: thumb$2,
7691
7697
  img: img$1,
7692
7698
  placeholder: placeholder$7,
7693
7699
  meta: meta$3,
@@ -7701,35 +7707,35 @@ function ReturnItemRow({ item: item2, className }) {
7701
7707
  const { format } = useMoney();
7702
7708
  const t = useT();
7703
7709
  return jsxs("div", {
7704
- className: [styles$D.line, className ?? ""].join(" ").trim(),
7710
+ className: [styles$F.line, className ?? ""].join(" ").trim(),
7705
7711
  children: [jsx("div", {
7706
- className: styles$D.thumb,
7712
+ className: styles$F.thumb,
7707
7713
  children: item2.image ? jsx(ShopImage, {
7708
7714
  src: item2.image,
7709
7715
  alt: "",
7710
7716
  fill: true,
7711
7717
  sizes: "48px",
7712
- className: styles$D.img
7718
+ className: styles$F.img
7713
7719
  }) : jsx("div", {
7714
- className: styles$D.placeholder,
7720
+ className: styles$F.placeholder,
7715
7721
  "aria-hidden": "true"
7716
7722
  })
7717
7723
  }), jsxs("div", {
7718
- className: styles$D.meta,
7724
+ className: styles$F.meta,
7719
7725
  children: [jsx("p", {
7720
- className: styles$D.name,
7726
+ className: styles$F.name,
7721
7727
  children: item2.title ?? item2.sku
7722
7728
  }), item2.attributes?.size && jsx("p", {
7723
- className: styles$D.attrs,
7729
+ className: styles$F.attrs,
7724
7730
  children: t("Size: {0}", item2.attributes.size)
7725
7731
  })]
7726
7732
  }), jsxs("div", {
7727
- className: styles$D.price,
7733
+ className: styles$F.price,
7728
7734
  children: [jsx("span", {
7729
- className: styles$D.paid,
7735
+ className: styles$F.paid,
7730
7736
  children: format(item2.unit_price)
7731
7737
  }), item2.compare_at_unit_price && jsxs("span", {
7732
- className: styles$D.was,
7738
+ className: styles$F.was,
7733
7739
  children: [jsx("span", {
7734
7740
  className: "visually-hidden",
7735
7741
  children: t("Was {0}", format(item2.compare_at_unit_price))
@@ -7752,7 +7758,7 @@ const check = "_check_15fz5_66";
7752
7758
  const row$6 = "_row_15fz5_110";
7753
7759
  const reason = "_reason_15fz5_135";
7754
7760
  const reasonSet = "_reasonSet_15fz5_155";
7755
- const styles$C = {
7761
+ const styles$E = {
7756
7762
  page: page$6,
7757
7763
  titles: titles$2,
7758
7764
  title: title$k,
@@ -7859,55 +7865,55 @@ function ReturnItemsView({ order, onSubmit, busy = false }) {
7859
7865
  }
7860
7866
  if (returnable.length === 0) {
7861
7867
  return jsx("div", {
7862
- className: styles$C.page,
7868
+ className: styles$E.page,
7863
7869
  children: jsxs("div", {
7864
- className: styles$C.titles,
7870
+ className: styles$E.titles,
7865
7871
  children: [jsx("h1", {
7866
- className: styles$C.title,
7872
+ className: styles$E.title,
7867
7873
  children: t("Nothing left to return")
7868
7874
  }), jsx("p", {
7869
- className: styles$C.subtitle,
7875
+ className: styles$E.subtitle,
7870
7876
  children: t("Every item on this order has already been returned or cancelled.")
7871
7877
  })]
7872
7878
  })
7873
7879
  });
7874
7880
  }
7875
7881
  return jsxs("div", {
7876
- className: styles$C.page,
7882
+ className: styles$E.page,
7877
7883
  children: [jsxs("div", {
7878
- className: styles$C.titles,
7884
+ className: styles$E.titles,
7879
7885
  children: [jsx("h1", {
7880
- className: styles$C.title,
7886
+ className: styles$E.title,
7881
7887
  children: t("What do you want to return?")
7882
7888
  }), jsx("p", {
7883
- className: styles$C.subtitle,
7889
+ className: styles$E.subtitle,
7884
7890
  children: t("Select items you want to return")
7885
7891
  })]
7886
7892
  }), jsx("div", {
7887
- className: styles$C.list,
7893
+ className: styles$E.list,
7888
7894
  children: returnable.map((item2) => {
7889
7895
  const picked = item2.line_ref in chosen;
7890
7896
  const reason2 = chosen[item2.line_ref];
7891
7897
  return jsxs("div", {
7892
- className: styles$C.card,
7898
+ className: styles$E.card,
7893
7899
  children: [jsx("button", {
7894
7900
  type: "button",
7895
7901
  role: "checkbox",
7896
7902
  "aria-checked": picked,
7897
7903
  "aria-label": item2.title ?? item2.sku,
7898
- className: styles$C.checkSlot,
7904
+ className: styles$E.checkSlot,
7899
7905
  onClick: () => toggle2(item2.line_ref),
7900
7906
  children: jsx("span", {
7901
- className: styles$C.check,
7907
+ className: styles$E.check,
7902
7908
  children: picked ? jsx(Tick, {}) : null
7903
7909
  })
7904
7910
  }), jsxs("div", {
7905
- className: styles$C.row,
7911
+ className: styles$E.row,
7906
7912
  children: [jsx(ReturnItemRow, {
7907
7913
  item: item2
7908
7914
  }), jsxs("button", {
7909
7915
  type: "button",
7910
- className: `${styles$C.reason} ${reason2 ? styles$C.reasonSet : ""}`,
7916
+ className: `${styles$E.reason} ${reason2 ? styles$E.reasonSet : ""}`,
7911
7917
  onClick: () => setReasonFor(item2.line_ref),
7912
7918
  "aria-haspopup": "dialog",
7913
7919
  children: [jsx("span", {
@@ -7959,7 +7965,7 @@ const body$6 = "_body_51f4e_113";
7959
7965
  const body2 = "_body2_51f4e_121";
7960
7966
  const download = "_download_51f4e_139";
7961
7967
  const note$1 = "_note_51f4e_161";
7962
- const styles$B = {
7968
+ const styles$D = {
7963
7969
  page: page$5,
7964
7970
  top,
7965
7971
  items: items$2,
@@ -8033,42 +8039,42 @@ function ReturnLabelView({ ret, onDone }) {
8033
8039
  const t = useT();
8034
8040
  const { preparing, unavailable, onDownload } = useLabelDownload(ret.label_url);
8035
8041
  return jsxs("div", {
8036
- className: styles$B.page,
8042
+ className: styles$D.page,
8037
8043
  children: [jsxs("div", {
8038
- className: styles$B.top,
8044
+ className: styles$D.top,
8039
8045
  children: [jsx("div", {
8040
- className: styles$B.items,
8046
+ className: styles$D.items,
8041
8047
  children: ret.items.map((item2) => jsx(ReturnItemRow, {
8042
8048
  item: item2
8043
8049
  }, item2.line_ref))
8044
8050
  }), jsxs("div", {
8045
- className: styles$B.intro,
8051
+ className: styles$D.intro,
8046
8052
  children: [jsx("h1", {
8047
- className: styles$B.title,
8053
+ className: styles$D.title,
8048
8054
  children: t("We’ve generated your return label")
8049
8055
  }), jsx("p", {
8050
- className: styles$B.subtitle,
8056
+ className: styles$D.subtitle,
8051
8057
  children: t("Follow the instructions below to complete your return")
8052
8058
  })]
8053
8059
  }), jsxs("div", {
8054
- className: styles$B.card,
8060
+ className: styles$D.card,
8055
8061
  children: [jsxs("section", {
8056
- className: styles$B.step,
8062
+ className: styles$D.step,
8057
8063
  children: [jsxs("div", {
8058
- className: styles$B.stepHead,
8064
+ className: styles$D.stepHead,
8059
8065
  children: [jsx("span", {
8060
- className: styles$B.number,
8066
+ className: styles$D.number,
8061
8067
  "aria-hidden": "true",
8062
8068
  children: "1"
8063
8069
  }), jsx("h2", {
8064
- className: styles$B.stepTitle,
8070
+ className: styles$D.stepTitle,
8065
8071
  children: t("Download your return label")
8066
8072
  })]
8067
8073
  }), jsx("p", {
8068
- className: styles$B.body,
8074
+ className: styles$D.body,
8069
8075
  children: t("Tap the button below to download your pre-paid return label")
8070
8076
  }), ret.label_url && jsxs("a", {
8071
- className: styles$B.download,
8077
+ className: styles$D.download,
8072
8078
  href: ret.label_url,
8073
8079
  target: "_blank",
8074
8080
  rel: "noopener noreferrer",
@@ -8080,27 +8086,27 @@ function ReturnLabelView({ ret, onDone }) {
8080
8086
  children: ` ${t("(opens in a new tab)")}`
8081
8087
  })]
8082
8088
  }), unavailable && jsx("p", {
8083
- className: styles$B.note,
8089
+ className: styles$D.note,
8084
8090
  role: "status",
8085
8091
  children: t("Your return label is not ready yet. Try again in a moment.")
8086
8092
  }), ret.label_email && jsxs("p", {
8087
- className: styles$B.note,
8093
+ className: styles$D.note,
8088
8094
  children: [t("You’ll receive a shipping label PDF to your email as well."), jsx("br", {}), ret.label_email]
8089
8095
  })]
8090
8096
  }), jsxs("section", {
8091
- className: styles$B.step2,
8097
+ className: styles$D.step2,
8092
8098
  children: [jsxs("div", {
8093
- className: styles$B.stepHead,
8099
+ className: styles$D.stepHead,
8094
8100
  children: [jsx("span", {
8095
- className: styles$B.number,
8101
+ className: styles$D.number,
8096
8102
  "aria-hidden": "true",
8097
8103
  children: "2"
8098
8104
  }), jsx("h2", {
8099
- className: styles$B.stepTitle,
8105
+ className: styles$D.stepTitle,
8100
8106
  children: t("Pack and ship the item")
8101
8107
  })]
8102
8108
  }), jsxs("p", {
8103
- className: styles$B.body2,
8109
+ className: styles$D.body2,
8104
8110
  children: [t("Repackage the item securely and attach the return label to the outside of the package."), jsx("br", {}), t("Drop it off at your local carrier or post office.")]
8105
8111
  })]
8106
8112
  })]
@@ -8119,7 +8125,7 @@ const title$i = "_title_g4vus_15";
8119
8125
  const subtitle$5 = "_subtitle_g4vus_35";
8120
8126
  const items$1 = "_items_g4vus_43";
8121
8127
  const item$1 = "_item_g4vus_43";
8122
- const thumb = "_thumb_g4vus_58";
8128
+ const thumb$1 = "_thumb_g4vus_58";
8123
8129
  const img = "_img_g4vus_68";
8124
8130
  const placeholder$6 = "_placeholder_g4vus_75";
8125
8131
  const meta$2 = "_meta_g4vus_80";
@@ -8128,14 +8134,14 @@ const attrs = "_attrs_g4vus_108";
8128
8134
  const price$2 = "_price_g4vus_123";
8129
8135
  const paid$1 = "_paid_g4vus_132";
8130
8136
  const was$2 = "_was_g4vus_140";
8131
- const styles$A = {
8137
+ const styles$C = {
8132
8138
  page: page$4,
8133
8139
  titles: titles$1,
8134
8140
  title: title$i,
8135
8141
  subtitle: subtitle$5,
8136
8142
  items: items$1,
8137
8143
  item: item$1,
8138
- thumb,
8144
+ thumb: thumb$1,
8139
8145
  img,
8140
8146
  placeholder: placeholder$6,
8141
8147
  meta: meta$2,
@@ -8162,42 +8168,42 @@ function ReturnTrackingView({ ret, locale: localeProp }) {
8162
8168
  tone: "light",
8163
8169
  fill: true,
8164
8170
  children: jsxs("div", {
8165
- className: styles$A.page,
8171
+ className: styles$C.page,
8166
8172
  children: [jsxs("div", {
8167
- className: styles$A.titles,
8173
+ className: styles$C.titles,
8168
8174
  children: [jsx("h1", {
8169
- className: styles$A.title,
8175
+ className: styles$C.title,
8170
8176
  children: t("Return in progress")
8171
8177
  }), jsx("p", {
8172
- className: styles$A.subtitle,
8178
+ className: styles$C.subtitle,
8173
8179
  children: t("Return #{0} · Reported {1}", ret.return_ref, reported)
8174
8180
  })]
8175
8181
  }), jsx(OrderTimeline, {
8176
8182
  progress: ret.progress,
8177
8183
  locale
8178
8184
  }), jsx("ul", {
8179
- className: styles$A.items,
8185
+ className: styles$C.items,
8180
8186
  children: ret.items.map((item2) => jsxs("li", {
8181
- className: styles$A.item,
8187
+ className: styles$C.item,
8182
8188
  children: [jsx("div", {
8183
- className: styles$A.thumb,
8189
+ className: styles$C.thumb,
8184
8190
  children: item2.image ? jsx(ShopImage, {
8185
8191
  src: item2.image,
8186
8192
  alt: "",
8187
8193
  fill: true,
8188
8194
  sizes: "48px",
8189
- className: styles$A.img
8195
+ className: styles$C.img
8190
8196
  }) : jsx("div", {
8191
- className: styles$A.placeholder,
8197
+ className: styles$C.placeholder,
8192
8198
  "aria-hidden": "true"
8193
8199
  })
8194
8200
  }), jsxs("div", {
8195
- className: styles$A.meta,
8201
+ className: styles$C.meta,
8196
8202
  children: [jsx("p", {
8197
- className: styles$A.name,
8203
+ className: styles$C.name,
8198
8204
  children: item2.title ?? item2.sku
8199
8205
  }), (item2.attributes?.size || pctOff(item2)) && jsxs("p", {
8200
- className: styles$A.attrs,
8206
+ className: styles$C.attrs,
8201
8207
  children: [item2.attributes?.size && jsx("span", {
8202
8208
  children: t("Size: {0}", item2.attributes.size)
8203
8209
  }), pctOff(item2) !== void 0 && jsx(SaleBadge, {
@@ -8205,12 +8211,12 @@ function ReturnTrackingView({ ret, locale: localeProp }) {
8205
8211
  })]
8206
8212
  })]
8207
8213
  }), jsxs("div", {
8208
- className: styles$A.price,
8214
+ className: styles$C.price,
8209
8215
  children: [jsx("span", {
8210
- className: styles$A.paid,
8216
+ className: styles$C.paid,
8211
8217
  children: format(item2.unit_price)
8212
8218
  }), item2.compare_at_unit_price && jsx("span", {
8213
- className: styles$A.was,
8219
+ className: styles$C.was,
8214
8220
  children: format(item2.compare_at_unit_price)
8215
8221
  })]
8216
8222
  })]
@@ -8332,7 +8338,7 @@ const titleRow = "_titleRow_1iwin_26";
8332
8338
  const headline$2 = "_headline_1iwin_42";
8333
8339
  const track$5 = "_track_1iwin_74";
8334
8340
  const rule$1 = "_rule_1iwin_99";
8335
- const help = "_help_1iwin_109";
8341
+ const help$2 = "_help_1iwin_109";
8336
8342
  const helpTitle = "_helpTitle_1iwin_115";
8337
8343
  const helpRows = "_helpRows_1iwin_122";
8338
8344
  const helpRowEnd = "_helpRowEnd_1iwin_131";
@@ -8342,14 +8348,14 @@ const cancel = "_cancel_1iwin_197";
8342
8348
  const cancelledHead = "_cancelledHead_1iwin_221";
8343
8349
  const cancelledTitle = "_cancelledTitle_1iwin_227";
8344
8350
  const cancelledMeta = "_cancelledMeta_1iwin_241";
8345
- const styles$z = {
8351
+ const styles$B = {
8346
8352
  page: page$3,
8347
8353
  widget,
8348
8354
  titleRow,
8349
8355
  headline: headline$2,
8350
8356
  track: track$5,
8351
8357
  rule: rule$1,
8352
- help,
8358
+ help: help$2,
8353
8359
  helpTitle,
8354
8360
  helpRows,
8355
8361
  helpRowEnd,
@@ -8449,7 +8455,7 @@ function OrderTrackingContent({ orderRef, locale: localeProp, onStartReturn, onO
8449
8455
  }, [cancelled]);
8450
8456
  if (state === "loading") {
8451
8457
  return jsxs("div", {
8452
- className: styles$z.page,
8458
+ className: styles$B.page,
8453
8459
  children: [jsx(Skeleton, {
8454
8460
  height: 206,
8455
8461
  radius: 8
@@ -8527,15 +8533,15 @@ function OrderTrackingContent({ orderRef, locale: localeProp, onStartReturn, onO
8527
8533
  }
8528
8534
  if (order.status === "cancelled") {
8529
8535
  return jsxs("div", {
8530
- className: styles$z.page,
8536
+ className: styles$B.page,
8531
8537
  ref: cancelledPage,
8532
8538
  children: [jsxs("div", {
8533
- className: styles$z.cancelledHead,
8539
+ className: styles$B.cancelledHead,
8534
8540
  children: [jsx("h1", {
8535
- className: styles$z.cancelledTitle,
8541
+ className: styles$B.cancelledTitle,
8536
8542
  children: t("Order cancelled")
8537
8543
  }), jsx("p", {
8538
- className: styles$z.cancelledMeta,
8544
+ className: styles$B.cancelledMeta,
8539
8545
  children: t("Order #{0} · Placed {1}", shortRef$1(order.order_ref), placedOn(order.placed_at, locale))
8540
8546
  })]
8541
8547
  }), !order.vip && jsx(Button, {
@@ -8554,17 +8560,17 @@ function OrderTrackingContent({ orderRef, locale: localeProp, onStartReturn, onO
8554
8560
  });
8555
8561
  }
8556
8562
  return jsxs("div", {
8557
- className: styles$z.page,
8563
+ className: styles$B.page,
8558
8564
  children: [jsxs("section", {
8559
- className: styles$z.widget,
8565
+ className: styles$B.widget,
8560
8566
  "aria-label": t("Delivery status"),
8561
8567
  children: [jsxs("div", {
8562
- className: styles$z.titleRow,
8568
+ className: styles$B.titleRow,
8563
8569
  children: [jsx("h1", {
8564
- className: styles$z.headline,
8570
+ className: styles$B.headline,
8565
8571
  children: t("Order #{0}", shortRef$1(order.order_ref))
8566
8572
  }), order.tracking?.url && inTransit && jsxs("a", {
8567
- className: styles$z.track,
8573
+ className: styles$B.track,
8568
8574
  href: order.tracking.url,
8569
8575
  target: "_blank",
8570
8576
  rel: "noopener noreferrer",
@@ -8581,7 +8587,7 @@ function OrderTrackingContent({ orderRef, locale: localeProp, onStartReturn, onO
8581
8587
  locale
8582
8588
  })]
8583
8589
  }), jsx("hr", {
8584
- className: styles$z.rule
8590
+ className: styles$B.rule
8585
8591
  }), jsx(OrderLines, {
8586
8592
  order
8587
8593
  }), jsx(ShippingAddressCard, {
@@ -8590,7 +8596,7 @@ function OrderTrackingContent({ orderRef, locale: localeProp, onStartReturn, onO
8590
8596
  order
8591
8597
  }), order.can_cancel && jsx("button", {
8592
8598
  type: "button",
8593
- className: styles$z.cancel,
8599
+ className: styles$B.cancel,
8594
8600
  onClick: () => setCancelOpen(true),
8595
8601
  children: t("Cancel order")
8596
8602
  }), jsx(NeedHelp, {
@@ -8643,14 +8649,14 @@ function NeedHelp({ order, onStartReturn, onOpenReturn, onContactSupport }) {
8643
8649
  if (order.status !== "delivered") return null;
8644
8650
  const returns = order.returns ?? [];
8645
8651
  return jsxs("section", {
8646
- className: styles$z.help,
8652
+ className: styles$B.help,
8647
8653
  "aria-labelledby": "order-help",
8648
8654
  children: [jsx("h2", {
8649
- className: styles$z.helpTitle,
8655
+ className: styles$B.helpTitle,
8650
8656
  id: "order-help",
8651
8657
  children: t("Need help?")
8652
8658
  }), jsxs("div", {
8653
- className: styles$z.helpRows,
8659
+ className: styles$B.helpRows,
8654
8660
  children: [returns.map((ret) => jsx(HelpRow, {
8655
8661
  label: returns.length > 1 ? t("Track return {0}", ret.return_ref) : "Track your return",
8656
8662
  status: RETURN_STATUS[ret.status] ?? ret.status.replace(/_/g, " "),
@@ -8680,14 +8686,14 @@ function HelpRow({ label: label2, status, onClick }) {
8680
8686
  const t = useT();
8681
8687
  return jsxs("button", {
8682
8688
  type: "button",
8683
- className: styles$z.helpRow,
8689
+ className: styles$B.helpRow,
8684
8690
  onClick,
8685
8691
  children: [jsx("span", {
8686
8692
  children: t(label2)
8687
8693
  }), jsxs("span", {
8688
- className: styles$z.helpRowEnd,
8694
+ className: styles$B.helpRowEnd,
8689
8695
  children: [status && jsx("span", {
8690
- className: styles$z.helpStatus,
8696
+ className: styles$B.helpStatus,
8691
8697
  children: t(status)
8692
8698
  }), jsx(ChevronRight$1, {})]
8693
8699
  })]
@@ -8703,7 +8709,7 @@ const headline$1 = "_headline_vqbqs_47";
8703
8709
  const subtitle$4 = "_subtitle_vqbqs_65";
8704
8710
  const rule = "_rule_vqbqs_77";
8705
8711
  const done = "_done_vqbqs_94";
8706
- const styles$y = {
8712
+ const styles$A = {
8707
8713
  page: page$2,
8708
8714
  confirmed,
8709
8715
  title: title$h,
@@ -8757,7 +8763,7 @@ function OrderConfirmationContent({ orderRef, locale: localeProp, onDone }) {
8757
8763
  }, [load]);
8758
8764
  if (state === "loading") {
8759
8765
  return jsxs("div", {
8760
- className: styles$y.page,
8766
+ className: styles$A.page,
8761
8767
  children: [jsx(Skeleton, {
8762
8768
  height: 140,
8763
8769
  radius: 8
@@ -8780,17 +8786,17 @@ function OrderConfirmationContent({ orderRef, locale: localeProp, onDone }) {
8780
8786
  });
8781
8787
  }
8782
8788
  return jsxs("div", {
8783
- className: styles$y.page,
8789
+ className: styles$A.page,
8784
8790
  children: [jsxs("section", {
8785
- className: styles$y.confirmed,
8791
+ className: styles$A.confirmed,
8786
8792
  "aria-label": t("Order confirmation"),
8787
8793
  children: [jsxs("div", {
8788
- className: styles$y.title,
8794
+ className: styles$A.title,
8789
8795
  children: [jsx("h1", {
8790
- className: styles$y.headline,
8796
+ className: styles$A.headline,
8791
8797
  children: t("Your order is confirmed")
8792
8798
  }), order.email && jsx("p", {
8793
- className: styles$y.subtitle,
8799
+ className: styles$A.subtitle,
8794
8800
  children: t("We’ve sent a confirmation to {0}", order.email)
8795
8801
  })]
8796
8802
  }), jsx(OrderTimeline, {
@@ -8801,7 +8807,7 @@ function OrderConfirmationContent({ orderRef, locale: localeProp, onDone }) {
8801
8807
  locale
8802
8808
  })]
8803
8809
  }), jsx("hr", {
8804
- className: styles$y.rule
8810
+ className: styles$A.rule
8805
8811
  }), jsx(OrderLines, {
8806
8812
  order
8807
8813
  }), jsx(ShippingAddressCard, {
@@ -8811,7 +8817,7 @@ function OrderConfirmationContent({ orderRef, locale: localeProp, onDone }) {
8811
8817
  }), onDone && jsx(Button, {
8812
8818
  variant: "secondary",
8813
8819
  fullWidth: true,
8814
- className: styles$y.done,
8820
+ className: styles$A.done,
8815
8821
  onClick: onDone,
8816
8822
  children: t("Done")
8817
8823
  })]
@@ -8822,7 +8828,7 @@ const progress = "_progress_u46qd_22";
8822
8828
  const delivered = "_delivered_u46qd_27";
8823
8829
  const neutral = "_neutral_u46qd_34";
8824
8830
  const critical = "_critical_u46qd_43";
8825
- const styles$x = {
8831
+ const styles$z = {
8826
8832
  badge: badge$2,
8827
8833
  progress,
8828
8834
  delivered,
@@ -8848,7 +8854,7 @@ function OrderStatusBadge({ status }) {
8848
8854
  const label2 = LABEL[status] ?? status.replace(/_/g, " ");
8849
8855
  const tone = TONE[status] ?? "neutral";
8850
8856
  return jsx("span", {
8851
- className: [styles$x.badge, styles$x[tone]].join(" "),
8857
+ className: [styles$z.badge, styles$z[tone]].join(" "),
8852
8858
  children: t(label2)
8853
8859
  });
8854
8860
  }
@@ -8867,13 +8873,13 @@ function ReturnStatusBadge({ status }) {
8867
8873
  const label2 = RETURN_LABEL[status] ?? status.replace(/_/g, " ");
8868
8874
  const tone = RETURN_TONE[status] ?? "neutral";
8869
8875
  return jsx("span", {
8870
- className: [styles$x.badge, styles$x[tone]].join(" "),
8876
+ className: [styles$z.badge, styles$z[tone]].join(" "),
8871
8877
  children: t(label2)
8872
8878
  });
8873
8879
  }
8874
8880
  const page$1 = "_page_qj11j_2";
8875
8881
  const empty = "_empty_qj11j_22";
8876
- const cta$2 = "_cta_qj11j_32";
8882
+ const cta$3 = "_cta_qj11j_32";
8877
8883
  const card$1 = "_card_qj11j_55";
8878
8884
  const tappable = "_tappable_qj11j_70";
8879
8885
  const head$1 = "_head_qj11j_79";
@@ -8884,14 +8890,14 @@ const bottom$1 = "_bottom_qj11j_120";
8884
8890
  const strip = "_strip_qj11j_128";
8885
8891
  const meta$1 = "_meta_qj11j_141";
8886
8892
  const tile$2 = "_tile_qj11j_150";
8887
- const image$9 = "_image_qj11j_160";
8893
+ const image$a = "_image_qj11j_160";
8888
8894
  const placeholder$5 = "_placeholder_qj11j_167";
8889
8895
  const more = "_more_qj11j_174";
8890
8896
  const chevron$2 = "_chevron_qj11j_187";
8891
- const styles$w = {
8897
+ const styles$y = {
8892
8898
  page: page$1,
8893
8899
  empty,
8894
- cta: cta$2,
8900
+ cta: cta$3,
8895
8901
  card: card$1,
8896
8902
  tappable,
8897
8903
  head: head$1,
@@ -8902,7 +8908,7 @@ const styles$w = {
8902
8908
  strip,
8903
8909
  meta: meta$1,
8904
8910
  tile: tile$2,
8905
- image: image$9,
8911
+ image: image$a,
8906
8912
  placeholder: placeholder$5,
8907
8913
  more,
8908
8914
  chevron: chevron$2
@@ -8966,7 +8972,7 @@ function OrderListContent({ onOpenOrder, onOpenReturn, onStartShopping, locale:
8966
8972
  }, [load]);
8967
8973
  if (state === "loading") {
8968
8974
  return jsxs("div", {
8969
- className: styles$w.page,
8975
+ className: styles$y.page,
8970
8976
  children: [jsx(Skeleton, {
8971
8977
  height: 148,
8972
8978
  radius: 12
@@ -8987,14 +8993,14 @@ function OrderListContent({ onOpenOrder, onOpenReturn, onStartShopping, locale:
8987
8993
  }
8988
8994
  if (orders2.length === 0 && returns.length === 0) {
8989
8995
  return jsx("div", {
8990
- className: styles$w.empty,
8996
+ className: styles$y.empty,
8991
8997
  children: jsx(EmptyState, {
8992
8998
  title: t("Nothing here yet"),
8993
8999
  body: t("Your orders will show up here once you've shopped."),
8994
9000
  ...onStartShopping ? {
8995
9001
  action: jsx("button", {
8996
9002
  type: "button",
8997
- className: styles$w.cta,
9003
+ className: styles$y.cta,
8998
9004
  onClick: onStartShopping,
8999
9005
  children: t("Continue shopping")
9000
9006
  })
@@ -9012,7 +9018,7 @@ function OrderListContent({ onOpenOrder, onOpenReturn, onStartShopping, locale:
9012
9018
  ret
9013
9019
  }))].sort((a, b) => Date.parse(b.at) - Date.parse(a.at));
9014
9020
  return jsx("ul", {
9015
- className: styles$w.page,
9021
+ className: styles$y.page,
9016
9022
  children: rows.map((row2) => jsx("li", {
9017
9023
  children: "order" in row2 ? jsx(OrderCard, {
9018
9024
  order: row2.order,
@@ -9036,39 +9042,39 @@ function ReturnCard({ ret, locale, onOpen }) {
9036
9042
  const items2 = `${ret.item_count} ${ret.item_count === 1 ? t("item") : t("items")}`;
9037
9043
  const body3 = jsxs(Fragment, {
9038
9044
  children: [jsxs("div", {
9039
- className: styles$w.head,
9045
+ className: styles$y.head,
9040
9046
  children: [jsxs("div", {
9041
- className: styles$w.heading,
9047
+ className: styles$y.heading,
9042
9048
  children: [jsx("span", {
9043
- className: styles$w.title,
9049
+ className: styles$y.title,
9044
9050
  children: `${t("Return")} #${shortRef(ret.return_ref)}`
9045
9051
  }), jsx("span", {
9046
- className: styles$w.date,
9052
+ className: styles$y.date,
9047
9053
  children: formatPlaced(ret.reported_at, locale)
9048
9054
  })]
9049
9055
  }), jsx(ReturnStatusBadge, {
9050
9056
  status: ret.status
9051
9057
  })]
9052
9058
  }), jsxs("div", {
9053
- className: styles$w.bottom,
9059
+ className: styles$y.bottom,
9054
9060
  children: [jsx(ReturnThumbnails, {
9055
9061
  ret
9056
9062
  }), jsx("span", {
9057
- className: styles$w.meta,
9063
+ className: styles$y.meta,
9058
9064
  children: `${items2} · ${money2(ret.value)}`
9059
9065
  }), onOpen && jsx("span", {
9060
- className: styles$w.chevron,
9066
+ className: styles$y.chevron,
9061
9067
  children: jsx(Chevron, {})
9062
9068
  })]
9063
9069
  })]
9064
9070
  });
9065
9071
  if (!onOpen) return jsx("div", {
9066
- className: styles$w.card,
9072
+ className: styles$y.card,
9067
9073
  children: body3
9068
9074
  });
9069
9075
  return jsx("button", {
9070
9076
  type: "button",
9071
- className: [styles$w.card, styles$w.tappable].join(" "),
9077
+ className: [styles$y.card, styles$y.tappable].join(" "),
9072
9078
  onClick: onOpen,
9073
9079
  "aria-label": `${t("Return")} ${shortRef(ret.return_ref)}, ${ret.headline}`,
9074
9080
  children: body3
@@ -9081,27 +9087,27 @@ function ReturnThumbnails({ ret }) {
9081
9087
  const overflow = images.length >= TILES && hidden > 1 ? hidden : 0;
9082
9088
  if (images.length === 0) {
9083
9089
  return jsx("div", {
9084
- className: styles$w.strip,
9090
+ className: styles$y.strip,
9085
9091
  children: jsx("div", {
9086
- className: [styles$w.tile, styles$w.placeholder].join(" "),
9092
+ className: [styles$y.tile, styles$y.placeholder].join(" "),
9087
9093
  "aria-hidden": "true"
9088
9094
  })
9089
9095
  });
9090
9096
  }
9091
9097
  return jsx("div", {
9092
- className: styles$w.strip,
9098
+ className: styles$y.strip,
9093
9099
  children: images.map((src, i) => {
9094
9100
  const last = i === images.length - 1;
9095
9101
  return jsxs("div", {
9096
- className: styles$w.tile,
9102
+ className: styles$y.tile,
9097
9103
  children: [jsx(ShopImage, {
9098
9104
  src,
9099
9105
  alt: "",
9100
9106
  fill: true,
9101
9107
  sizes: "56px",
9102
- className: styles$w.image
9108
+ className: styles$y.image
9103
9109
  }), overflow > 0 && last && jsxs("span", {
9104
- className: styles$w.more,
9110
+ className: styles$y.more,
9105
9111
  children: [jsxs("span", {
9106
9112
  "aria-hidden": "true",
9107
9113
  children: ["+", overflow]
@@ -9118,36 +9124,36 @@ function OrderCard({ order, locale, onOpen }) {
9118
9124
  const t = useT();
9119
9125
  const body3 = jsxs(Fragment, {
9120
9126
  children: [jsxs("div", {
9121
- className: styles$w.head,
9127
+ className: styles$y.head,
9122
9128
  children: [jsxs("div", {
9123
- className: styles$w.heading,
9129
+ className: styles$y.heading,
9124
9130
  children: [jsx("span", {
9125
- className: styles$w.title,
9131
+ className: styles$y.title,
9126
9132
  children: t("Order #{0}", shortRef(order.order_ref))
9127
9133
  }), jsx("span", {
9128
- className: styles$w.date,
9134
+ className: styles$y.date,
9129
9135
  children: formatPlaced(order.placed_at, locale)
9130
9136
  })]
9131
9137
  }), jsx(OrderStatusBadge, {
9132
9138
  status: order.status
9133
9139
  })]
9134
9140
  }), jsxs("div", {
9135
- className: styles$w.bottom,
9141
+ className: styles$y.bottom,
9136
9142
  children: [jsx(Thumbnails, {
9137
9143
  order
9138
9144
  }), onOpen && jsx("span", {
9139
- className: styles$w.chevron,
9145
+ className: styles$y.chevron,
9140
9146
  children: jsx(Chevron, {})
9141
9147
  })]
9142
9148
  })]
9143
9149
  });
9144
9150
  if (!onOpen) return jsx("div", {
9145
- className: styles$w.card,
9151
+ className: styles$y.card,
9146
9152
  children: body3
9147
9153
  });
9148
9154
  return jsx("button", {
9149
9155
  type: "button",
9150
- className: [styles$w.card, styles$w.tappable].join(" "),
9156
+ className: [styles$y.card, styles$y.tappable].join(" "),
9151
9157
  onClick: onOpen,
9152
9158
  "aria-label": `Order ${shortRef(order.order_ref)}, ${order.headline}`,
9153
9159
  children: body3
@@ -9160,27 +9166,27 @@ function Thumbnails({ order }) {
9160
9166
  const overflow = images.length >= TILES && hidden > 1 ? hidden : 0;
9161
9167
  if (images.length === 0) {
9162
9168
  return jsx("div", {
9163
- className: styles$w.strip,
9169
+ className: styles$y.strip,
9164
9170
  children: jsx("div", {
9165
- className: [styles$w.tile, styles$w.placeholder].join(" "),
9171
+ className: [styles$y.tile, styles$y.placeholder].join(" "),
9166
9172
  "aria-hidden": "true"
9167
9173
  })
9168
9174
  });
9169
9175
  }
9170
9176
  return jsx("div", {
9171
- className: styles$w.strip,
9177
+ className: styles$y.strip,
9172
9178
  children: images.map((src, i) => {
9173
9179
  const last = i === images.length - 1;
9174
9180
  return jsxs("div", {
9175
- className: styles$w.tile,
9181
+ className: styles$y.tile,
9176
9182
  children: [jsx(ShopImage, {
9177
9183
  src,
9178
9184
  alt: "",
9179
9185
  fill: true,
9180
9186
  sizes: "56px",
9181
- className: styles$w.image
9187
+ className: styles$y.image
9182
9188
  }), overflow > 0 && last && jsxs("span", {
9183
- className: styles$w.more,
9189
+ className: styles$y.more,
9184
9190
  children: [jsxs("span", {
9185
9191
  "aria-hidden": "true",
9186
9192
  children: ["+", overflow]
@@ -9210,7 +9216,7 @@ const swatches = "_swatches_mdi63_1";
9210
9216
  const swatch = "_swatch_mdi63_1";
9211
9217
  const swatchActive = "_swatchActive_mdi63_18";
9212
9218
  const swatchDot = "_swatchDot_mdi63_22";
9213
- const styles$v = {
9219
+ const styles$x = {
9214
9220
  swatches,
9215
9221
  swatch,
9216
9222
  swatchActive,
@@ -9220,12 +9226,12 @@ function ColourSwatches({ variants, className }) {
9220
9226
  const colours = colourOptions(variants);
9221
9227
  if (colours.length === 0) return null;
9222
9228
  return jsx("div", {
9223
- className: [styles$v.swatches, className ?? ""].join(" ").trim(),
9229
+ className: [styles$x.swatches, className ?? ""].join(" ").trim(),
9224
9230
  "aria-hidden": "true",
9225
9231
  children: colours.map((c, i) => jsx("span", {
9226
- className: [styles$v.swatch, i === 0 ? styles$v.swatchActive : ""].join(" "),
9232
+ className: [styles$x.swatch, i === 0 ? styles$x.swatchActive : ""].join(" "),
9227
9233
  children: jsx("span", {
9228
- className: styles$v.swatchDot,
9234
+ className: styles$x.swatchDot,
9229
9235
  style: {
9230
9236
  background: swatchColour(c.value)
9231
9237
  }
@@ -9235,7 +9241,7 @@ function ColourSwatches({ variants, className }) {
9235
9241
  }
9236
9242
  const tile$1 = "_tile_yg69t_7";
9237
9243
  const media$2 = "_media_yg69t_15";
9238
- const image$8 = "_image_yg69t_25";
9244
+ const image$9 = "_image_yg69t_25";
9239
9245
  const placeholder$4 = "_placeholder_yg69t_29";
9240
9246
  const topBadge = "_topBadge_yg69t_37";
9241
9247
  const saleBadge$2 = "_saleBadge_yg69t_78";
@@ -9245,10 +9251,10 @@ const titlePrice$1 = "_titlePrice_yg69t_100";
9245
9251
  const title$f = "_title_yg69t_5";
9246
9252
  const large = "_large_yg69t_185";
9247
9253
  const swatchSlot = "_swatchSlot_yg69t_223";
9248
- const styles$u = {
9254
+ const styles$w = {
9249
9255
  tile: tile$1,
9250
9256
  media: media$2,
9251
- image: image$8,
9257
+ image: image$9,
9252
9258
  placeholder: placeholder$4,
9253
9259
  topBadge,
9254
9260
  saleBadge: saleBadge$2,
@@ -9267,37 +9273,37 @@ function ProductTile({ product, priority, size = "default" }) {
9267
9273
  const t = useT();
9268
9274
  return jsxs(ShopLink, {
9269
9275
  to: `/product/${encodeURIComponent(product.sku)}`,
9270
- className: [styles$u.tile, size === "large" ? styles$u.large : ""].join(" "),
9276
+ className: [styles$w.tile, size === "large" ? styles$w.large : ""].join(" "),
9271
9277
  children: [jsxs("div", {
9272
- className: styles$u.media,
9278
+ className: styles$w.media,
9273
9279
  children: [image2 ? jsx(ShopImage, {
9274
9280
  src: image2,
9275
9281
  alt: product.title,
9276
9282
  fill: true,
9277
9283
  sizes: size === "large" ? "(max-width: 480px) 100vw, 480px" : "(max-width: 480px) 45vw, 200px",
9278
- className: styles$u.image,
9284
+ className: styles$w.image,
9279
9285
  priority
9280
9286
  }) : jsx("div", {
9281
- className: styles$u.placeholder,
9287
+ className: styles$w.placeholder,
9282
9288
  "aria-hidden": "true"
9283
9289
  }), anyInStock && topBadge2 && jsx("span", {
9284
- className: styles$u.topBadge,
9290
+ className: styles$w.topBadge,
9285
9291
  children: topBadge2
9286
9292
  }), anyInStock && pct !== void 0 && jsx("span", {
9287
- className: styles$u.saleBadge,
9293
+ className: styles$w.saleBadge,
9288
9294
  children: jsx(SaleBadge, {
9289
9295
  pct
9290
9296
  })
9291
9297
  }), !anyInStock && jsx("span", {
9292
- className: styles$u.oos,
9298
+ className: styles$w.oos,
9293
9299
  children: t("Out of stock")
9294
9300
  })]
9295
9301
  }), jsxs("div", {
9296
- className: styles$u.bottom,
9302
+ className: styles$w.bottom,
9297
9303
  children: [jsxs("div", {
9298
- className: styles$u.titlePrice,
9304
+ className: styles$w.titlePrice,
9299
9305
  children: [jsx("span", {
9300
- className: styles$u.title,
9306
+ className: styles$w.title,
9301
9307
  children: product.title
9302
9308
  }), jsx(PriceBlock, {
9303
9309
  price: product.price,
@@ -9308,7 +9314,7 @@ function ProductTile({ product, priority, size = "default" }) {
9308
9314
  })]
9309
9315
  }), jsx(ColourSwatches, {
9310
9316
  variants: product.variants,
9311
- className: styles$u.swatchSlot
9317
+ className: styles$w.swatchSlot
9312
9318
  })]
9313
9319
  })]
9314
9320
  });
@@ -9318,7 +9324,7 @@ const title$e = "_title_v48ok_21";
9318
9324
  const link = "_link_v48ok_30";
9319
9325
  const track$4 = "_track_v48ok_42";
9320
9326
  const frame = "_frame_v48ok_62";
9321
- const image$7 = "_image_v48ok_73";
9327
+ const image$8 = "_image_v48ok_73";
9322
9328
  const placeholder$3 = "_placeholder_v48ok_77";
9323
9329
  const saleBadge$1 = "_saleBadge_v48ok_89";
9324
9330
  const oos$2 = "_oos_v48ok_97";
@@ -9328,13 +9334,13 @@ const name = "_name_v48ok_142";
9328
9334
  const price$1 = "_price_v48ok_155";
9329
9335
  const paid = "_paid_v48ok_164";
9330
9336
  const was$1 = "_was_v48ok_170";
9331
- const styles$t = {
9337
+ const styles$v = {
9332
9338
  section: section$3,
9333
9339
  title: title$e,
9334
9340
  link,
9335
9341
  track: track$4,
9336
9342
  frame,
9337
- image: image$7,
9343
+ image: image$8,
9338
9344
  placeholder: placeholder$3,
9339
9345
  saleBadge: saleBadge$1,
9340
9346
  oos: oos$2,
@@ -9352,54 +9358,54 @@ function ProductGallery({ title: title2, product }) {
9352
9358
  const inStock = product.variants.some((v) => v.in_stock);
9353
9359
  const images = product.media.length > 0 ? product.media : [void 0];
9354
9360
  return jsxs("section", {
9355
- className: styles$t.section,
9361
+ className: styles$v.section,
9356
9362
  "aria-labelledby": `gallery-${product.sku}`,
9357
9363
  children: [jsx("h2", {
9358
- className: styles$t.title,
9364
+ className: styles$v.title,
9359
9365
  id: `gallery-${product.sku}`,
9360
9366
  children: title2
9361
9367
  }), jsxs(ShopLink, {
9362
9368
  to: `/product/${encodeURIComponent(product.sku)}`,
9363
- className: styles$t.link,
9369
+ className: styles$v.link,
9364
9370
  children: [jsx("ul", {
9365
- className: styles$t.track,
9371
+ className: styles$v.track,
9366
9372
  "aria-label": t("{0} photographs", product.title),
9367
9373
  children: images.map((src, i) => jsxs("li", {
9368
- className: styles$t.frame,
9374
+ className: styles$v.frame,
9369
9375
  children: [src ? jsx(ShopImage, {
9370
9376
  src,
9371
9377
  alt: "",
9372
9378
  fill: true,
9373
9379
  sizes: "165px",
9374
- className: styles$t.image,
9380
+ className: styles$v.image,
9375
9381
  ...i === 0 ? {
9376
9382
  priority: true
9377
9383
  } : {}
9378
9384
  }) : jsx("div", {
9379
- className: styles$t.placeholder,
9385
+ className: styles$v.placeholder,
9380
9386
  "aria-hidden": "true"
9381
9387
  }), i === 0 && inStock && pct !== void 0 && jsx("span", {
9382
- className: styles$t.saleBadge,
9388
+ className: styles$v.saleBadge,
9383
9389
  children: jsx(SaleBadge, {
9384
9390
  pct
9385
9391
  })
9386
9392
  }), i === 0 && !inStock && jsx("span", {
9387
- className: styles$t.oos,
9393
+ className: styles$v.oos,
9388
9394
  children: t("Out of stock")
9389
9395
  })]
9390
9396
  }, src ?? i))
9391
9397
  }), jsxs("div", {
9392
- className: styles$t.caption,
9398
+ className: styles$v.caption,
9393
9399
  children: [jsx("span", {
9394
- className: styles$t.name,
9400
+ className: styles$v.name,
9395
9401
  children: product.title
9396
9402
  }), jsxs("span", {
9397
- className: styles$t.price,
9403
+ className: styles$v.price,
9398
9404
  children: [jsx("span", {
9399
- className: styles$t.paid,
9405
+ className: styles$v.paid,
9400
9406
  children: format(product.price)
9401
9407
  }), product.compare_at && jsxs("span", {
9402
- className: styles$t.was,
9408
+ className: styles$v.was,
9403
9409
  children: [jsx("span", {
9404
9410
  className: "visually-hidden",
9405
9411
  children: t("Was {0}", format(product.compare_at))
@@ -9410,7 +9416,7 @@ function ProductGallery({ title: title2, product }) {
9410
9416
  })]
9411
9417
  }), jsx(ColourSwatches, {
9412
9418
  variants: product.variants,
9413
- className: styles$t.swatchRow
9419
+ className: styles$v.swatchRow
9414
9420
  })]
9415
9421
  })]
9416
9422
  })]
@@ -9421,7 +9427,7 @@ const chips$1 = "_chips_6p29u_8";
9421
9427
  const chip$1 = "_chip_6p29u_8";
9422
9428
  const on = "_on_6p29u_36";
9423
9429
  const clear = "_clear_6p29u_42";
9424
- const styles$s = {
9430
+ const styles$u = {
9425
9431
  bar: bar$1,
9426
9432
  chips: chips$1,
9427
9433
  chip: chip$1,
@@ -9432,24 +9438,24 @@ function FilterBar({ options: options2, active, onToggle, onClear }) {
9432
9438
  const t = useT();
9433
9439
  const hasActive = active.length > 0;
9434
9440
  return jsxs("div", {
9435
- className: styles$s.bar,
9441
+ className: styles$u.bar,
9436
9442
  role: "group",
9437
9443
  "aria-label": t("Filters"),
9438
9444
  children: [jsx("div", {
9439
- className: styles$s.chips,
9445
+ className: styles$u.chips,
9440
9446
  children: options2.map((opt) => {
9441
9447
  const on2 = active.includes(opt.value);
9442
9448
  return jsx("button", {
9443
9449
  type: "button",
9444
9450
  "aria-pressed": on2,
9445
- className: [styles$s.chip, on2 ? styles$s.on : ""].join(" "),
9451
+ className: [styles$u.chip, on2 ? styles$u.on : ""].join(" "),
9446
9452
  onClick: () => onToggle(opt.value),
9447
9453
  children: opt.label
9448
9454
  }, opt.value);
9449
9455
  })
9450
9456
  }), hasActive && onClear && jsx("button", {
9451
9457
  type: "button",
9452
- className: styles$s.clear,
9458
+ className: styles$u.clear,
9453
9459
  onClick: onClear,
9454
9460
  children: t("Clear")
9455
9461
  })]
@@ -9457,7 +9463,7 @@ function FilterBar({ options: options2, active, onToggle, onClear }) {
9457
9463
  }
9458
9464
  const wrap$2 = "_wrap_15ntf_1";
9459
9465
  const grid$1 = "_grid_15ntf_7";
9460
- const styles$r = {
9466
+ const styles$t = {
9461
9467
  wrap: wrap$2,
9462
9468
  grid: grid$1
9463
9469
  };
@@ -9503,7 +9509,7 @@ function ProductGrid({ category, initialProducts, initialCursor, filters = [] })
9503
9509
  }, [loadMore]);
9504
9510
  const visible = active.length === 0 ? products : products.filter((p) => active.includes(p.category));
9505
9511
  return jsxs("div", {
9506
- className: styles$r.wrap,
9512
+ className: styles$t.wrap,
9507
9513
  children: [filters.length > 0 && jsx(FilterBar, {
9508
9514
  options: filters,
9509
9515
  active,
@@ -9518,7 +9524,7 @@ function ProductGrid({ category, initialProducts, initialCursor, filters = [] })
9518
9524
  children: t("Clear filters")
9519
9525
  }) : void 0
9520
9526
  }) : jsx("ul", {
9521
- className: styles$r.grid,
9527
+ className: styles$t.grid,
9522
9528
  children: visible.map((product, i) => jsx("li", {
9523
9529
  children: jsx(ProductTile, {
9524
9530
  product,
@@ -9526,7 +9532,7 @@ function ProductGrid({ category, initialProducts, initialCursor, filters = [] })
9526
9532
  })
9527
9533
  }, product.sku))
9528
9534
  }), loading && jsx("div", {
9529
- className: styles$r.grid,
9535
+ className: styles$t.grid,
9530
9536
  "aria-hidden": "true",
9531
9537
  children: [0, 1].map((i) => jsx(Skeleton, {
9532
9538
  height: 200,
@@ -9545,7 +9551,7 @@ const seeAll = "_seeAll_1rll1_27";
9545
9551
  const track$3 = "_track_1rll1_33";
9546
9552
  const item = "_item_1rll1_67";
9547
9553
  const inset = "_inset_1rll1_79";
9548
- const styles$q = {
9554
+ const styles$s = {
9549
9555
  rail,
9550
9556
  header: header$5,
9551
9557
  title: title$d,
@@ -9558,22 +9564,22 @@ function RailCarousel({ title: title2, products, seeAllTo, inset: inset2 }) {
9558
9564
  const t = useT();
9559
9565
  if (products.length === 0) return null;
9560
9566
  return jsxs("section", {
9561
- className: [styles$q.rail, inset2 ? styles$q.inset : ""].join(" "),
9567
+ className: [styles$s.rail, inset2 ? styles$s.inset : ""].join(" "),
9562
9568
  "aria-label": title2,
9563
9569
  children: [jsxs("div", {
9564
- className: styles$q.header,
9570
+ className: styles$s.header,
9565
9571
  children: [jsx("h2", {
9566
- className: styles$q.title,
9572
+ className: styles$s.title,
9567
9573
  children: title2
9568
9574
  }), seeAllTo && jsx(ShopLink, {
9569
- className: styles$q.seeAll,
9575
+ className: styles$s.seeAll,
9570
9576
  to: seeAllTo,
9571
9577
  children: t("See all")
9572
9578
  })]
9573
9579
  }), jsx("ul", {
9574
- className: styles$q.track,
9580
+ className: styles$s.track,
9575
9581
  children: products.map((product, i) => jsx("li", {
9576
- className: styles$q.item,
9582
+ className: styles$s.item,
9577
9583
  children: jsx(ProductTile, {
9578
9584
  product,
9579
9585
  priority: i < 2
@@ -9592,7 +9598,7 @@ const title$c = "_title_uxpgl_67";
9592
9598
  const close$1 = "_close_uxpgl_71";
9593
9599
  const body$5 = "_body_uxpgl_84";
9594
9600
  const footer = "_footer_uxpgl_97";
9595
- const styles$p = {
9601
+ const styles$r = {
9596
9602
  overlay: overlay$2,
9597
9603
  scrim: scrim$4,
9598
9604
  sheet: sheet$2,
@@ -9632,14 +9638,14 @@ function BottomSheet({ open, onClose, title: title2, children, footer: footer2 }
9632
9638
  useModalDialog(open, onClose, sheetRef);
9633
9639
  if (!open) return null;
9634
9640
  return jsxs("div", {
9635
- className: styles$p.overlay,
9641
+ className: styles$r.overlay,
9636
9642
  children: [jsx("div", {
9637
- className: styles$p.scrim,
9643
+ className: styles$r.scrim,
9638
9644
  onClick: onClose,
9639
9645
  "aria-hidden": "true"
9640
9646
  }), jsxs(ShopSurface, {
9641
9647
  tone: "light",
9642
- className: styles$p.sheet,
9648
+ className: styles$r.sheet,
9643
9649
  role: "dialog",
9644
9650
  "aria-modal": "true",
9645
9651
  "aria-labelledby": titleId,
@@ -9649,7 +9655,7 @@ function BottomSheet({ open, onClose, title: title2, children, footer: footer2 }
9649
9655
  transition: "none"
9650
9656
  } : void 0,
9651
9657
  children: [jsx("div", {
9652
- className: styles$p.grabArea,
9658
+ className: styles$r.grabArea,
9653
9659
  onPointerDown: (e) => {
9654
9660
  e.currentTarget.setPointerCapture(e.pointerId);
9655
9661
  onDragStart(e.clientY);
@@ -9658,18 +9664,18 @@ function BottomSheet({ open, onClose, title: title2, children, footer: footer2 }
9658
9664
  onPointerUp: onDragEnd,
9659
9665
  onPointerCancel: onDragEnd,
9660
9666
  children: jsx("div", {
9661
- className: styles$p.grabber,
9667
+ className: styles$r.grabber,
9662
9668
  "aria-hidden": "true"
9663
9669
  })
9664
9670
  }), jsxs("div", {
9665
- className: styles$p.header,
9671
+ className: styles$r.header,
9666
9672
  children: [jsx("h2", {
9667
9673
  id: titleId,
9668
- className: styles$p.title,
9674
+ className: styles$r.title,
9669
9675
  children: title2
9670
9676
  }), jsx("button", {
9671
9677
  type: "button",
9672
- className: styles$p.close,
9678
+ className: styles$r.close,
9673
9679
  onClick: onClose,
9674
9680
  "aria-label": t("Close"),
9675
9681
  children: jsx("svg", {
@@ -9687,10 +9693,10 @@ function BottomSheet({ open, onClose, title: title2, children, footer: footer2 }
9687
9693
  })
9688
9694
  })]
9689
9695
  }), jsx("div", {
9690
- className: styles$p.body,
9696
+ className: styles$r.body,
9691
9697
  children
9692
9698
  }), footer2 && jsx("div", {
9693
- className: styles$p.footer,
9699
+ className: styles$r.footer,
9694
9700
  children: footer2
9695
9701
  })]
9696
9702
  })]
@@ -9710,7 +9716,7 @@ const stepper = "_stepper_1rmip_10";
9710
9716
  const cap = "_cap_1rmip_23";
9711
9717
  const button = "_button_1rmip_31";
9712
9718
  const value$1 = "_value_1rmip_50";
9713
- const styles$o = {
9719
+ const styles$q = {
9714
9720
  wrap: wrap$1,
9715
9721
  stepper,
9716
9722
  cap,
@@ -9788,24 +9794,24 @@ function QtyStepper({ qty, max, onChange, onRemove, disabled: disabled2, capDesc
9788
9794
  if (!atMax) onChange(qty + 1);
9789
9795
  }
9790
9796
  return jsxs("div", {
9791
- className: styles$o.wrap,
9797
+ className: styles$q.wrap,
9792
9798
  children: [jsxs("div", {
9793
- className: styles$o.stepper,
9799
+ className: styles$q.stepper,
9794
9800
  children: [jsx("button", {
9795
9801
  type: "button",
9796
- className: styles$o.button,
9802
+ className: styles$q.button,
9797
9803
  onClick: decrement,
9798
9804
  disabled: disabled2,
9799
9805
  "aria-label": willDelete ? t("Remove item") : t("Decrease quantity"),
9800
9806
  children: willDelete ? jsx(TrashIcon, {}) : jsx(MinusIcon, {})
9801
9807
  }), jsx("span", {
9802
- className: styles$o.value,
9808
+ className: styles$q.value,
9803
9809
  "aria-live": "polite",
9804
9810
  "aria-label": `Quantity ${qty}`,
9805
9811
  children: qty
9806
9812
  }), jsx("button", {
9807
9813
  type: "button",
9808
- className: styles$o.button,
9814
+ className: styles$q.button,
9809
9815
  onClick: increment,
9810
9816
  disabled: disabled2 || atMax,
9811
9817
  "aria-label": t("Increase quantity"),
@@ -9814,7 +9820,7 @@ function QtyStepper({ qty, max, onChange, onRemove, disabled: disabled2, capDesc
9814
9820
  })]
9815
9821
  }), atMax && capDescribedBy === void 0 && jsx("span", {
9816
9822
  id: ownCapId,
9817
- className: styles$o.cap,
9823
+ className: styles$q.cap,
9818
9824
  role: "status",
9819
9825
  children: max === 0 ? t("Out of stock") : t("Only {0} left", max)
9820
9826
  })]
@@ -9826,7 +9832,7 @@ const pending = "_pending_1dx14_18";
9826
9832
  const labels = "_labels_1dx14_24";
9827
9833
  const lowStock$1 = "_lowStock_1dx14_39";
9828
9834
  const media$1 = "_media_1dx14_49";
9829
- const image$6 = "_image_1dx14_59";
9835
+ const image$7 = "_image_1dx14_59";
9830
9836
  const placeholder$2 = "_placeholder_1dx14_75";
9831
9837
  const saleBadge = "_saleBadge_1dx14_88";
9832
9838
  const oos$1 = "_oos_1dx14_103";
@@ -9839,14 +9845,14 @@ const detail = "_detail_1dx14_164";
9839
9845
  const price = "_price_1dx14_183";
9840
9846
  const amount = "_amount_1dx14_191";
9841
9847
  const was = "_was_1dx14_200";
9842
- const styles$n = {
9848
+ const styles$p = {
9843
9849
  line,
9844
9850
  row: row$5,
9845
9851
  pending,
9846
9852
  labels,
9847
9853
  lowStock: lowStock$1,
9848
9854
  media: media$1,
9849
- image: image$6,
9855
+ image: image$7,
9850
9856
  placeholder: placeholder$2,
9851
9857
  saleBadge,
9852
9858
  oos: oos$1,
@@ -9873,53 +9879,53 @@ function CartLineItem({ item: item2, title: title2, image: image2, compareAt: co
9873
9879
  const noticeId = useStableId("cart-line-stock");
9874
9880
  const notice = lowStock2 || soldOut ? noticeId : void 0;
9875
9881
  return jsxs("div", {
9876
- className: [styles$n.line, pending2 ? styles$n.pending : ""].join(" "),
9882
+ className: [styles$p.line, pending2 ? styles$p.pending : ""].join(" "),
9877
9883
  children: [jsxs("div", {
9878
- className: styles$n.row,
9884
+ className: styles$p.row,
9879
9885
  children: [jsxs("div", {
9880
- className: styles$n.media,
9886
+ className: styles$p.media,
9881
9887
  children: [displayImage ? jsx(ShopImage, {
9882
9888
  src: displayImage,
9883
9889
  alt: "",
9884
9890
  fill: true,
9885
9891
  sizes: "100px",
9886
- className: styles$n.image
9892
+ className: styles$p.image
9887
9893
  }) : jsx("div", {
9888
- className: styles$n.placeholder,
9894
+ className: styles$p.placeholder,
9889
9895
  "aria-hidden": "true"
9890
9896
  }), soldOut ? jsx("span", {
9891
- className: styles$n.oos,
9897
+ className: styles$p.oos,
9892
9898
  id: noticeId,
9893
9899
  children: t("Out of stock")
9894
9900
  }) : pct !== void 0 && jsx("span", {
9895
- className: styles$n.saleBadge,
9901
+ className: styles$p.saleBadge,
9896
9902
  children: jsx(SaleBadge, {
9897
9903
  pct
9898
9904
  })
9899
9905
  })]
9900
9906
  }), jsxs("div", {
9901
- className: styles$n.info,
9907
+ className: styles$p.info,
9902
9908
  children: [jsxs("div", {
9903
- className: styles$n.head,
9909
+ className: styles$p.head,
9904
9910
  children: [jsxs("div", {
9905
- className: styles$n.meta,
9911
+ className: styles$p.meta,
9906
9912
  children: [jsx("span", {
9907
- className: styles$n.title,
9913
+ className: styles$p.title,
9908
9914
  children: displayTitle
9909
9915
  }), pairs.length > 0 && jsx("div", {
9910
- className: styles$n.details,
9916
+ className: styles$p.details,
9911
9917
  children: pairs.map(({ key, label: label2, value: value2 }) => jsxs("span", {
9912
- className: styles$n.detail,
9918
+ className: styles$p.detail,
9913
9919
  children: [t(label2), ": ", value2]
9914
9920
  }, key))
9915
9921
  })]
9916
9922
  }), jsxs("div", {
9917
- className: styles$n.price,
9923
+ className: styles$p.price,
9918
9924
  children: [jsx("span", {
9919
- className: styles$n.amount,
9925
+ className: styles$p.amount,
9920
9926
  children: format(item2.line_total)
9921
9927
  }), compareAt2 && jsx("span", {
9922
- className: styles$n.was,
9928
+ className: styles$p.was,
9923
9929
  children: format(compareAt2)
9924
9930
  })]
9925
9931
  })]
@@ -9933,22 +9939,22 @@ function CartLineItem({ item: item2, title: title2, image: image2, compareAt: co
9933
9939
  })]
9934
9940
  })]
9935
9941
  }), lowStock2 && jsx("div", {
9936
- className: styles$n.labels,
9942
+ className: styles$p.labels,
9937
9943
  children: jsx("span", {
9938
9944
  id: noticeId,
9939
- className: styles$n.lowStock,
9945
+ className: styles$p.lowStock,
9940
9946
  role: "status",
9941
9947
  children: t("Only {0} left", available)
9942
9948
  })
9943
9949
  })]
9944
9950
  });
9945
9951
  }
9946
- const box$1 = "_box_1cf1a_1";
9947
- const row$4 = "_row_1cf1a_10";
9948
- const icon$2 = "_icon_1cf1a_16";
9949
- const label = "_label_1cf1a_22";
9950
- const divider$1 = "_divider_1cf1a_29";
9951
- const styles$m = {
9952
+ const box$1 = "_box_w9fja_1";
9953
+ const row$4 = "_row_w9fja_10";
9954
+ const icon$2 = "_icon_w9fja_16";
9955
+ const label = "_label_w9fja_22";
9956
+ const divider$1 = "_divider_w9fja_29";
9957
+ const styles$o = {
9952
9958
  box: box$1,
9953
9959
  row: row$4,
9954
9960
  icon: icon$2,
@@ -9958,66 +9964,43 @@ const styles$m = {
9958
9964
  function ShippingInfo() {
9959
9965
  const t = useT();
9960
9966
  return jsxs("section", {
9961
- className: styles$m.box,
9967
+ className: styles$o.box,
9962
9968
  "aria-label": t("Shipping and returns"),
9963
9969
  children: [jsxs("div", {
9964
- className: styles$m.row,
9965
- children: [jsxs("svg", {
9966
- className: styles$m.icon,
9970
+ className: styles$o.row,
9971
+ children: [jsx("svg", {
9972
+ className: styles$o.icon,
9967
9973
  width: "24",
9968
9974
  height: "24",
9969
9975
  viewBox: "0 0 24 24",
9970
9976
  fill: "none",
9971
9977
  "aria-hidden": "true",
9972
- children: [jsx("path", {
9973
- d: "M3 6.5h10v9H3v-9Zm10 3h4l3 3v3h-7v-6Z",
9974
- stroke: "currentColor",
9975
- strokeWidth: "1.5",
9976
- strokeLinejoin: "round"
9977
- }), jsx("circle", {
9978
- cx: "7",
9979
- cy: "17",
9980
- r: "1.6",
9981
- stroke: "currentColor",
9982
- strokeWidth: "1.5"
9983
- }), jsx("circle", {
9984
- cx: "17.5",
9985
- cy: "17",
9986
- r: "1.6",
9987
- stroke: "currentColor",
9988
- strokeWidth: "1.5"
9989
- })]
9978
+ children: jsx("path", {
9979
+ d: "M15.459 14.2744C14.6592 14.835 14.1396 15.7646 14.1396 16.8174C14.1396 16.9951 14.1602 17.1729 14.1875 17.3369H10.5098C10.5371 17.166 10.5576 16.9951 10.5576 16.8174C10.5576 15.0537 9.12207 13.6182 7.35156 13.6182C5.58105 13.6182 4.13867 15.0537 4.13867 16.8174C4.13867 16.9883 4.15234 17.1523 4.18652 17.3164H3.91992C2.6416 17.3164 1.9375 16.3799 1.9375 15.0264V6.31738C1.9375 4.84766 2.77832 4 4.25488 4H13.1484C14.6182 4 15.459 4.84766 15.459 6.31738V14.2744ZM16.4365 7.58203H18.1865C18.9795 7.58203 19.5127 7.78711 19.9844 8.32031L22.2949 10.9316C22.7393 11.4238 22.8691 11.7998 22.8691 12.5859V15.0264C22.8691 16.4277 22.1172 17.3438 20.7773 17.3438H20.5107C20.5381 17.1729 20.5586 16.9951 20.5586 16.8174C20.5586 15.0469 19.1094 13.6113 17.3457 13.6113C17.0244 13.6113 16.7168 13.6729 16.4365 13.7686V7.58203ZM18.6377 12.21H21.0303C21.0166 12.0664 20.9551 11.9707 20.8594 11.8613L19.0615 9.83105C18.8359 9.57812 18.665 9.50977 18.3506 9.50977H17.9268V11.499C17.9268 11.9365 18.207 12.21 18.6377 12.21ZM17.3525 19.1279C16.0811 19.1279 15.042 18.0957 15.042 16.8174C15.042 15.5459 16.0811 14.5137 17.3525 14.5137C18.624 14.5137 19.6562 15.5459 19.6562 16.8174C19.6562 18.1162 18.6309 19.1279 17.3525 19.1279ZM7.35156 19.1279C6.08008 19.1279 5.04102 18.0957 5.04102 16.8174C5.04102 15.5459 6.08008 14.5137 7.35156 14.5137C8.62305 14.5137 9.65527 15.5459 9.65527 16.8174C9.65527 18.0889 8.62305 19.1279 7.35156 19.1279Z",
9980
+ fill: "currentColor"
9981
+ })
9990
9982
  }), jsx("p", {
9991
- className: styles$m.label,
9983
+ className: styles$o.label,
9992
9984
  children: t("Standard or express delivery")
9993
9985
  })]
9994
9986
  }), jsx("div", {
9995
- className: styles$m.divider,
9987
+ className: styles$o.divider,
9996
9988
  role: "presentation"
9997
9989
  }), jsxs("div", {
9998
- className: styles$m.row,
9999
- children: [jsxs("svg", {
10000
- className: styles$m.icon,
9990
+ className: styles$o.row,
9991
+ children: [jsx("svg", {
9992
+ className: styles$o.icon,
10001
9993
  width: "24",
10002
9994
  height: "24",
10003
9995
  viewBox: "0 0 24 24",
10004
9996
  fill: "none",
10005
9997
  "aria-hidden": "true",
10006
- children: [jsx("path", {
10007
- d: "M9 7 5.5 10.5 9 14",
10008
- stroke: "currentColor",
10009
- strokeWidth: "1.5",
10010
- strokeLinecap: "round",
10011
- strokeLinejoin: "round"
10012
- }), jsx("path", {
10013
- d: "M5.5 10.5H15a4 4 0 0 1 0 8h-3",
10014
- stroke: "currentColor",
10015
- strokeWidth: "1.5",
10016
- strokeLinecap: "round",
10017
- strokeLinejoin: "round"
10018
- })]
9998
+ children: jsx("path", {
9999
+ d: "M12.2449 19.8028C12.2449 20.4839 11.7649 21 11.1087 21C10.6386 21 10.2566 20.7936 9.79628 20.3394L2.47992 13.0734C2.11753 12.7225 2 12.3303 2 12C2 11.6594 2.11753 11.2775 2.47992 10.9163L9.79628 3.71216C10.3056 3.21674 10.619 3 11.0891 3C11.7649 3 12.2449 3.56766 12.2449 4.24885V7.88188H12.4995C19.0813 7.88188 22 12.3303 22 19.5034C22 20.4633 21.5299 20.9794 20.9912 20.9794C20.57 20.9794 20.1391 20.8658 19.8061 20.2156C18.2292 17.1193 16.0255 16.1388 12.4995 16.1388H12.2449V19.8028Z",
10000
+ fill: "currentColor"
10001
+ })
10019
10002
  }), jsx("p", {
10020
- className: styles$m.label,
10003
+ className: styles$o.label,
10021
10004
  children: t("14 days returns")
10022
10005
  })]
10023
10006
  })]
@@ -10028,21 +10011,21 @@ const floating$1 = "_floating_23dkv_52";
10028
10011
  const divider = "_divider_23dkv_58";
10029
10012
  const info$1 = "_info_23dkv_62";
10030
10013
  const actions = "_actions_23dkv_70";
10031
- const styles$l = {
10014
+ const styles$n = {
10032
10015
  bar,
10033
10016
  floating: floating$1,
10034
10017
  divider,
10035
10018
  info: info$1,
10036
10019
  actions
10037
10020
  };
10038
- function StickyCtaBar({ children, info: info2, variant = "floating" }) {
10021
+ function StickyCtaBar({ children, info: info2, variant = "floating", className }) {
10039
10022
  return jsxs("div", {
10040
- className: [styles$l.bar, styles$l[variant]].join(" "),
10023
+ className: [styles$n.bar, styles$n[variant], className ?? ""].join(" "),
10041
10024
  children: [info2 && jsx("div", {
10042
- className: styles$l.info,
10025
+ className: styles$n.info,
10043
10026
  children: info2
10044
10027
  }), jsx("div", {
10045
- className: styles$l.actions,
10028
+ className: styles$n.actions,
10046
10029
  children
10047
10030
  })]
10048
10031
  });
@@ -10055,7 +10038,7 @@ const sectionHeader = "_sectionHeader_1bdb0_40";
10055
10038
  const sectionTitle = "_sectionTitle_1bdb0_46";
10056
10039
  const count = "_count_1bdb0_67";
10057
10040
  const lines = "_lines_1bdb0_91";
10058
- const styles$k = {
10041
+ const styles$m = {
10059
10042
  surface,
10060
10043
  screen,
10061
10044
  body: body$4,
@@ -10071,7 +10054,7 @@ function CartView(props = {}) {
10071
10054
  return jsx(ShopSurface, {
10072
10055
  tone: "light",
10073
10056
  fill: true,
10074
- className: styles$k.surface,
10057
+ className: styles$m.surface,
10075
10058
  children: jsx(CartViewContent, {
10076
10059
  ...props
10077
10060
  })
@@ -10233,22 +10216,22 @@ function CartViewContent({ onContinueShopping, checkoutLabel } = {}) {
10233
10216
  }
10234
10217
  const itemCount = cart2.items.reduce((n, i) => n + i.qty, 0);
10235
10218
  return jsxs("div", {
10236
- className: styles$k.screen,
10219
+ className: styles$m.screen,
10237
10220
  children: [jsxs("div", {
10238
- className: styles$k.body,
10221
+ className: styles$m.body,
10239
10222
  children: [jsxs("section", {
10240
- className: styles$k.items,
10223
+ className: styles$m.items,
10241
10224
  children: [jsxs("div", {
10242
- className: styles$k.sectionHeader,
10225
+ className: styles$m.sectionHeader,
10243
10226
  children: [jsx("h2", {
10244
- className: styles$k.sectionTitle,
10227
+ className: styles$m.sectionTitle,
10245
10228
  children: t("Items")
10246
10229
  }), jsx("span", {
10247
- className: styles$k.count,
10230
+ className: styles$m.count,
10248
10231
  children: itemCount
10249
10232
  })]
10250
10233
  }), jsx("ul", {
10251
- className: styles$k.lines,
10234
+ className: styles$m.lines,
10252
10235
  children: cart2.items.map((item2) => jsx("li", {
10253
10236
  children: jsx(CartLineItem, {
10254
10237
  item: item2,
@@ -10313,19 +10296,19 @@ function CartSheetProvider({ children }) {
10313
10296
  })]
10314
10297
  });
10315
10298
  }
10316
- const gallery = "_gallery_1vbj7_1";
10299
+ const gallery$1 = "_gallery_1vbj7_1";
10317
10300
  const track$2 = "_track_1vbj7_5";
10318
10301
  const slide$1 = "_slide_1vbj7_20";
10319
- const image$5 = "_image_1vbj7_27";
10302
+ const image$6 = "_image_1vbj7_27";
10320
10303
  const placeholder$1 = "_placeholder_1vbj7_31";
10321
10304
  const dots$2 = "_dots_1vbj7_49";
10322
10305
  const dot$2 = "_dot_1vbj7_49";
10323
10306
  const dotActive$2 = "_dotActive_1vbj7_100";
10324
- const styles$j = {
10325
- gallery,
10307
+ const styles$l = {
10308
+ gallery: gallery$1,
10326
10309
  track: track$2,
10327
10310
  slide: slide$1,
10328
- image: image$5,
10311
+ image: image$6,
10329
10312
  placeholder: placeholder$1,
10330
10313
  dots: dots$2,
10331
10314
  dot: dot$2,
@@ -10372,30 +10355,30 @@ function MediaGallery({ media: media2, alt, focus }) {
10372
10355
  }
10373
10356
  if (media2.length === 0) {
10374
10357
  return jsx("div", {
10375
- className: styles$j.placeholder,
10358
+ className: styles$l.placeholder,
10376
10359
  "aria-hidden": "true"
10377
10360
  });
10378
10361
  }
10379
10362
  return jsxs("div", {
10380
- className: styles$j.gallery,
10363
+ className: styles$l.gallery,
10381
10364
  children: [jsx("div", {
10382
- className: styles$j.track,
10365
+ className: styles$l.track,
10383
10366
  ref: trackRef,
10384
10367
  role: "group",
10385
10368
  "aria-label": `${alt} images`,
10386
10369
  children: media2.map((src, i) => jsx("div", {
10387
- className: styles$j.slide,
10370
+ className: styles$l.slide,
10388
10371
  children: jsx(ShopImage, {
10389
10372
  src,
10390
10373
  alt: `${alt} — image ${i + 1} of ${media2.length}`,
10391
10374
  fill: true,
10392
10375
  sizes: "(max-width: 480px) 100vw, 480px",
10393
- className: styles$j.image,
10376
+ className: styles$l.image,
10394
10377
  priority: i === 0
10395
10378
  })
10396
10379
  }, src))
10397
10380
  }), media2.length > 1 && jsx("div", {
10398
- className: styles$j.dots,
10381
+ className: styles$l.dots,
10399
10382
  role: "tablist",
10400
10383
  "aria-label": t("Gallery pagination"),
10401
10384
  children: media2.map((src, i) => jsx("button", {
@@ -10403,12 +10386,89 @@ function MediaGallery({ media: media2, alt, focus }) {
10403
10386
  role: "tab",
10404
10387
  "aria-selected": i === active,
10405
10388
  "aria-label": `Go to image ${i + 1}`,
10406
- className: [styles$j.dot, i === active ? styles$j.dotActive : ""].join(" "),
10389
+ className: [styles$l.dot, i === active ? styles$l.dotActive : ""].join(" "),
10407
10390
  onClick: () => goTo(i)
10408
10391
  }, src))
10409
10392
  })]
10410
10393
  });
10411
10394
  }
10395
+ const row$3 = "_row_l4edh_1";
10396
+ const badge$1 = "_badge_l4edh_11";
10397
+ const styles$k = {
10398
+ row: row$3,
10399
+ badge: badge$1
10400
+ };
10401
+ function PdpBadges({ badges: badges2 }) {
10402
+ const flags = badges2.filter((b) => b.trim().length > 0);
10403
+ if (flags.length === 0) return null;
10404
+ return jsx("ul", {
10405
+ className: styles$k.row,
10406
+ children: flags.map((flag) => jsx("li", {
10407
+ className: styles$k.badge,
10408
+ children: flag
10409
+ }, flag))
10410
+ });
10411
+ }
10412
+ const gallery = "_gallery_1m6o7_1";
10413
+ const thumbs = "_thumbs_1m6o7_7";
10414
+ const thumb = "_thumb_1m6o7_7";
10415
+ const main = "_main_1m6o7_34";
10416
+ const image$5 = "_image_1m6o7_44";
10417
+ const badges = "_badges_1m6o7_49";
10418
+ const styles$j = {
10419
+ gallery,
10420
+ thumbs,
10421
+ thumb,
10422
+ main,
10423
+ image: image$5,
10424
+ badges
10425
+ };
10426
+ function DesktopGallery({ media: media2, alt, badges: badges2, focus }) {
10427
+ const t = useT();
10428
+ const [active, setActive] = useState(0);
10429
+ const mediaKey = media2.join("|");
10430
+ useEffect(() => {
10431
+ setActive(focus !== void 0 && focus >= 0 && focus < media2.length ? focus : 0);
10432
+ }, [mediaKey, focus, media2.length]);
10433
+ const shown = media2[active] ?? media2[0];
10434
+ return jsxs("div", {
10435
+ className: styles$j.gallery,
10436
+ children: [media2.length > 0 && jsx("div", {
10437
+ className: styles$j.thumbs,
10438
+ role: "group",
10439
+ "aria-label": t("{0} images", alt),
10440
+ children: media2.map((src, i) => jsx("button", {
10441
+ type: "button",
10442
+ className: styles$j.thumb,
10443
+ "aria-pressed": i === active,
10444
+ "aria-label": t("Show image {0} of {1}", String(i + 1), String(media2.length)),
10445
+ onClick: () => setActive(i),
10446
+ children: jsx(ShopImage, {
10447
+ src,
10448
+ alt: "",
10449
+ fill: true,
10450
+ sizes: "72px",
10451
+ className: styles$j.image
10452
+ })
10453
+ }, src))
10454
+ }), jsxs("div", {
10455
+ className: styles$j.main,
10456
+ children: [shown ? jsx(ShopImage, {
10457
+ src: shown,
10458
+ alt: t("{0} — image {1} of {2}", alt, String(active + 1), String(media2.length)),
10459
+ fill: true,
10460
+ sizes: "440px",
10461
+ className: styles$j.image,
10462
+ priority: true
10463
+ }) : null, jsx("div", {
10464
+ className: styles$j.badges,
10465
+ children: jsx(PdpBadges, {
10466
+ badges: badges2
10467
+ })
10468
+ })]
10469
+ })]
10470
+ });
10471
+ }
10412
10472
  const scrim$3 = "_scrim_r4azu_8";
10413
10473
  const sheet$1 = "_sheet_r4azu_2";
10414
10474
  const body$3 = "_body_r4azu_40";
@@ -10617,7 +10677,7 @@ const styles$h = {
10617
10677
  sizeGuide,
10618
10678
  info
10619
10679
  };
10620
- function SizeSelector({ sizes, selected: selected2, onSelect, error: error2 = false, lowStock: lowStock2, guide }) {
10680
+ function SizeSelector({ sizes: sizes2, selected: selected2, onSelect, error: error2 = false, lowStock: lowStock2, guide }) {
10621
10681
  const t = useT();
10622
10682
  const [guideOpen, setGuideOpen] = useState(false);
10623
10683
  const showGuide = useShopFeatures().sizeCharts && guide !== void 0;
@@ -10667,7 +10727,7 @@ function SizeSelector({ sizes, selected: selected2, onSelect, error: error2 = fa
10667
10727
  role: "radiogroup",
10668
10728
  "aria-label": t("Size"),
10669
10729
  "aria-required": "true",
10670
- children: sizes.map((size) => {
10730
+ children: sizes2.map((size) => {
10671
10731
  const isSelected = size.value === selected2;
10672
10732
  const disabled2 = !size.available;
10673
10733
  return jsxs("button", {
@@ -10903,28 +10963,11 @@ function ProductDetails({ description: description2 }) {
10903
10963
  }) : null]
10904
10964
  });
10905
10965
  }
10906
- const row$3 = "_row_l4edh_1";
10907
- const badge$1 = "_badge_l4edh_11";
10908
- const styles$d = {
10909
- row: row$3,
10910
- badge: badge$1
10911
- };
10912
- function PdpBadges({ badges }) {
10913
- const flags = badges.filter((b) => b.trim().length > 0);
10914
- if (flags.length === 0) return null;
10915
- return jsx("ul", {
10916
- className: styles$d.row,
10917
- children: flags.map((flag) => jsx("li", {
10918
- className: styles$d.badge,
10919
- children: flag
10920
- }, flag))
10921
- });
10922
- }
10923
10966
  const banner = "_banner_1xvw4_2";
10924
10967
  const message = "_message_1xvw4_14";
10925
10968
  const icon$1 = "_icon_1xvw4_22";
10926
10969
  const timer = "_timer_1xvw4_27";
10927
- const styles$c = {
10970
+ const styles$d = {
10928
10971
  banner,
10929
10972
  message,
10930
10973
  icon: icon$1,
@@ -10948,11 +10991,11 @@ function PromoBanner({ promo: promo2 }) {
10948
10991
  const remaining = promo2.ends_at && now !== null ? new Date(promo2.ends_at).getTime() - now : null;
10949
10992
  const showTimer = remaining !== null && remaining > 0;
10950
10993
  return jsxs("div", {
10951
- className: styles$c.banner,
10994
+ className: styles$d.banner,
10952
10995
  children: [jsxs("span", {
10953
- className: styles$c.message,
10996
+ className: styles$d.message,
10954
10997
  children: [jsxs("svg", {
10955
- className: styles$c.icon,
10998
+ className: styles$d.icon,
10956
10999
  width: "24",
10957
11000
  height: "24",
10958
11001
  viewBox: "0 0 24 24",
@@ -10974,7 +11017,7 @@ function PromoBanner({ promo: promo2 }) {
10974
11017
  })]
10975
11018
  }), promo2.message]
10976
11019
  }), showTimer && jsxs("span", {
10977
- className: styles$c.timer,
11020
+ className: styles$d.timer,
10978
11021
  children: [jsxs("svg", {
10979
11022
  width: "16",
10980
11023
  height: "16",
@@ -10998,16 +11041,24 @@ function PromoBanner({ promo: promo2 }) {
10998
11041
  })]
10999
11042
  });
11000
11043
  }
11001
- const page = "_page_1hv16_1";
11002
- const content = "_content_1hv16_14";
11003
- const intro = "_intro_1hv16_21";
11004
- const productInfo = "_productInfo_1hv16_28";
11005
- const titlePrice = "_titlePrice_1hv16_34";
11006
- const title$6 = "_title_1hv16_34";
11007
- const availability = "_availability_1hv16_55";
11008
- const low = "_low_1hv16_62";
11009
- const oos = "_oos_1hv16_66";
11010
- const styles$b = {
11044
+ const page = "_page_1479k_1";
11045
+ const content = "_content_1479k_14";
11046
+ const intro = "_intro_1479k_21";
11047
+ const productInfo = "_productInfo_1479k_28";
11048
+ const titlePrice = "_titlePrice_1479k_34";
11049
+ const title$6 = "_title_1479k_34";
11050
+ const availability = "_availability_1479k_55";
11051
+ const low = "_low_1479k_62";
11052
+ const oos = "_oos_1479k_66";
11053
+ const breadcrumb = "_breadcrumb_1479k_70";
11054
+ const help$1 = "_help_1479k_71";
11055
+ const desktopGallery = "_desktopGallery_1479k_72";
11056
+ const wide = "_wide_1479k_77";
11057
+ const phoneGallery = "_phoneGallery_1479k_101";
11058
+ const introBadges = "_introBadges_1479k_115";
11059
+ const sizes = "_sizes_1479k_119";
11060
+ const cta$2 = "_cta_1479k_123";
11061
+ const styles$c = {
11011
11062
  page,
11012
11063
  content,
11013
11064
  intro,
@@ -11016,9 +11067,17 @@ const styles$b = {
11016
11067
  title: title$6,
11017
11068
  availability,
11018
11069
  low,
11019
- oos
11070
+ oos,
11071
+ breadcrumb,
11072
+ help: help$1,
11073
+ desktopGallery,
11074
+ wide,
11075
+ phoneGallery,
11076
+ introBadges,
11077
+ sizes,
11078
+ cta: cta$2
11020
11079
  };
11021
- function ProductDetail({ product, inventory: inventory2, recommendations = [], claim }) {
11080
+ function ProductDetail({ product, inventory: inventory2, recommendations = [], claim, breadcrumb: breadcrumb2, help: help2 }) {
11022
11081
  const t = useT();
11023
11082
  const toast2 = useToast();
11024
11083
  const { api, emit } = useShop();
@@ -11045,7 +11104,7 @@ function ProductDetail({ product, inventory: inventory2, recommendations = [], c
11045
11104
  const structured = hasSizes || hasColours;
11046
11105
  const [selectedSize, setSelectedSize] = useState(null);
11047
11106
  const [selectedColour, setSelectedColour] = useState(hasColours ? baseColours.find((c) => c.available)?.value ?? baseColours[0].value : null);
11048
- const sizes = useMemo(() => sizeOptions(variants, selectedColour), [variants, selectedColour]);
11107
+ const sizes2 = useMemo(() => sizeOptions(variants, selectedColour), [variants, selectedColour]);
11049
11108
  const colours = useMemo(() => colourOptions(variants, selectedSize), [variants, selectedSize]);
11050
11109
  const [genericSku, setGenericSku] = useState(null);
11051
11110
  const [busy, setBusy] = useState(null);
@@ -11246,25 +11305,47 @@ function ProductDetail({ product, inventory: inventory2, recommendations = [], c
11246
11305
  return jsxs(ShopSurface, {
11247
11306
  tone: "light",
11248
11307
  fill: true,
11249
- className: styles$b.page,
11250
- children: [jsx(MediaGallery, {
11251
- media: media2,
11252
- alt: product.title,
11253
- ...focus !== void 0 ? {
11254
- focus
11255
- } : {}
11308
+ className: [styles$c.page, claim ? styles$c.wide : ""].join(" "),
11309
+ ...claim ? {
11310
+ "data-shop-layout": "wide"
11311
+ } : {},
11312
+ children: [breadcrumb2 && jsx("div", {
11313
+ className: styles$c.breadcrumb,
11314
+ children: breadcrumb2
11315
+ }), jsx("div", {
11316
+ className: styles$c.phoneGallery,
11317
+ children: jsx(MediaGallery, {
11318
+ media: media2,
11319
+ alt: product.title,
11320
+ ...focus !== void 0 ? {
11321
+ focus
11322
+ } : {}
11323
+ })
11324
+ }), claim && jsx("div", {
11325
+ className: styles$c.desktopGallery,
11326
+ children: jsx(DesktopGallery, {
11327
+ media: media2,
11328
+ alt: product.title,
11329
+ badges: product.badges ?? [],
11330
+ ...focus !== void 0 ? {
11331
+ focus
11332
+ } : {}
11333
+ })
11256
11334
  }), jsxs("div", {
11257
- className: styles$b.content,
11335
+ className: styles$c.content,
11258
11336
  children: [jsxs("div", {
11259
- className: styles$b.intro,
11260
- children: [jsx(PdpBadges, {
11261
- badges: product.badges ?? []
11337
+ className: styles$c.intro,
11338
+ children: [jsx("div", {
11339
+ className: styles$c.introBadges,
11340
+ children: jsx(PdpBadges, {
11341
+ badges: product.badges ?? []
11342
+ })
11262
11343
  }), jsxs("div", {
11263
- className: styles$b.productInfo,
11344
+ className: styles$c.productInfo,
11264
11345
  children: [jsxs("div", {
11265
- className: styles$b.titlePrice,
11346
+ className: styles$c.titlePrice,
11266
11347
  children: [jsx("h1", {
11267
- className: styles$b.title,
11348
+ className: styles$c.title,
11268
11349
  children: product.title
11269
11350
  }), jsx(PriceBlock, {
11270
11351
  price: claim ? {
@@ -11281,7 +11362,7 @@ function ProductDetail({ product, inventory: inventory2, recommendations = [], c
11281
11362
  })]
11282
11363
  })]
11283
11364
  }), stockNotice && jsx("p", {
11284
- className: [styles$b.availability, anyInStock ? styles$b.low : styles$b.oos].join(" "),
11365
+ className: [styles$c.availability, anyInStock ? styles$c.low : styles$c.oos].join(" "),
11285
11366
  role: "status",
11286
11367
  children: availabilityLabel
11287
11368
  }), hasColours && jsx("div", {
@@ -11293,8 +11374,9 @@ function ProductDetail({ product, inventory: inventory2, recommendations = [], c
11293
11374
  })
11294
11375
  }), hasSizes && jsx("div", {
11295
11376
  ref: sizeRef,
11377
+ className: styles$c.sizes,
11296
11378
  children: jsx(SizeSelector, {
11297
- sizes,
11379
+ sizes: sizes2,
11298
11380
  selected: selectedSize,
11299
11381
  onSelect: selectSize,
11300
11382
  error: sizeError,
@@ -11315,7 +11397,11 @@ function ProductDetail({ product, inventory: inventory2, recommendations = [], c
11315
11397
  inset: true
11316
11398
  })]
11317
11399
  }), jsx(StickyCtaBar, {
11400
+ className: styles$c.cta,
11318
11401
  children: cta2
11402
+ }), help2 && jsx("div", {
11403
+ className: styles$c.help,
11404
+ children: help2
11319
11405
  })]
11320
11406
  });
11321
11407
  }
@@ -11327,7 +11413,7 @@ const text$3 = "_text_1tiqx_108";
11327
11413
  const title$5 = "_title_1tiqx_157";
11328
11414
  const subtitle$2 = "_subtitle_1tiqx_168";
11329
11415
  const noImage = "_noImage_1tiqx_183";
11330
- const styles$a = {
11416
+ const styles$b = {
11331
11417
  hero: hero$2,
11332
11418
  image: image$3,
11333
11419
  scrim: scrim$1,
@@ -11343,10 +11429,10 @@ function PcpHero({ hero: hero2 }) {
11343
11429
  const t = useT();
11344
11430
  return jsxs("section", {
11345
11431
  ref: heroRef,
11346
- className: [styles$a.hero, hero2.image ? "" : styles$a.noImage].join(" "),
11432
+ className: [styles$b.hero, hero2.image ? "" : styles$b.noImage].join(" "),
11347
11433
  children: [hero2.image && jsxs(Fragment, {
11348
11434
  children: [jsx("div", {
11349
- className: styles$a.image,
11435
+ className: styles$b.image,
11350
11436
  children: jsx(ShopImage, {
11351
11437
  src: hero2.image,
11352
11438
  alt: "",
@@ -11355,19 +11441,19 @@ function PcpHero({ hero: hero2 }) {
11355
11441
  priority: true
11356
11442
  })
11357
11443
  }), jsx("div", {
11358
- className: styles$a.scrim,
11444
+ className: styles$b.scrim,
11359
11445
  "aria-hidden": "true"
11360
11446
  }), jsx("div", {
11361
- className: styles$a.fade,
11447
+ className: styles$b.fade,
11362
11448
  "aria-hidden": "true"
11363
11449
  })]
11364
11450
  }), jsxs("div", {
11365
- className: styles$a.text,
11451
+ className: styles$b.text,
11366
11452
  children: [jsx("h1", {
11367
- className: styles$a.title,
11453
+ className: styles$b.title,
11368
11454
  children: t(hero2.title)
11369
11455
  }), hero2.subtitle && jsx("p", {
11370
- className: styles$a.subtitle,
11456
+ className: styles$b.subtitle,
11371
11457
  children: t(hero2.subtitle)
11372
11458
  })]
11373
11459
  })]
@@ -11376,14 +11462,14 @@ function PcpHero({ hero: hero2 }) {
11376
11462
  const text$2 = "_text_1saw4_6";
11377
11463
  const center = "_center_1saw4_18";
11378
11464
  const left = "_left_1saw4_23";
11379
- const styles$9 = {
11465
+ const styles$a = {
11380
11466
  text: text$2,
11381
11467
  center,
11382
11468
  left
11383
11469
  };
11384
11470
  function LifestyleText({ text: text2, align = "center" }) {
11385
11471
  return jsx("p", {
11386
- className: [styles$9.text, align === "left" ? styles$9.left : styles$9.center].join(" "),
11472
+ className: [styles$a.text, align === "left" ? styles$a.left : styles$a.center].join(" "),
11387
11473
  children: text2
11388
11474
  });
11389
11475
  }
@@ -11395,7 +11481,7 @@ const image$2 = "_image_79nr3_46";
11395
11481
  const dots$1 = "_dots_79nr3_51";
11396
11482
  const dot$1 = "_dot_79nr3_51";
11397
11483
  const dotActive$1 = "_dotActive_79nr3_76";
11398
- const styles$8 = {
11484
+ const styles$9 = {
11399
11485
  wrap,
11400
11486
  box,
11401
11487
  track: track$1,
@@ -11419,36 +11505,36 @@ function LifestyleImage({ images, videos }) {
11419
11505
  }, []);
11420
11506
  if (images.length === 0) return null;
11421
11507
  return jsx("div", {
11422
- className: styles$8.wrap,
11508
+ className: styles$9.wrap,
11423
11509
  children: jsxs("div", {
11424
- className: styles$8.box,
11510
+ className: styles$9.box,
11425
11511
  children: [jsx("ul", {
11426
- className: styles$8.track,
11512
+ className: styles$9.track,
11427
11513
  ref: trackRef,
11428
11514
  children: images.map((src, i) => {
11429
11515
  const clip = videos?.[i];
11430
11516
  return jsx("li", {
11431
- className: styles$8.slide,
11517
+ className: styles$9.slide,
11432
11518
  children: clip ? jsx(ShopVideo, {
11433
11519
  src: clip,
11434
11520
  poster: src,
11435
11521
  fill: true,
11436
- className: styles$8.image
11522
+ className: styles$9.image
11437
11523
  }) : jsx(ShopImage, {
11438
11524
  src,
11439
11525
  alt: "",
11440
11526
  fill: true,
11441
11527
  sizes: "(max-width: 480px) 100vw, 480px",
11442
- className: styles$8.image,
11528
+ className: styles$9.image,
11443
11529
  priority: i === 0
11444
11530
  })
11445
11531
  }, src);
11446
11532
  })
11447
11533
  }), images.length > 1 && jsx("div", {
11448
- className: styles$8.dots,
11534
+ className: styles$9.dots,
11449
11535
  "aria-hidden": "true",
11450
11536
  children: images.map((src, i) => jsx("span", {
11451
- className: [styles$8.dot, i === active ? styles$8.dotActive : ""].join(" ")
11537
+ className: [styles$9.dot, i === active ? styles$9.dotActive : ""].join(" ")
11452
11538
  }, src))
11453
11539
  })]
11454
11540
  })
@@ -11462,7 +11548,7 @@ const author = "_author_qsxtq_58";
11462
11548
  const dots = "_dots_qsxtq_69";
11463
11549
  const dot = "_dot_qsxtq_69";
11464
11550
  const dotActive = "_dotActive_qsxtq_85";
11465
- const styles$7 = {
11551
+ const styles$8 = {
11466
11552
  section: section$2,
11467
11553
  track,
11468
11554
  card,
@@ -11486,26 +11572,26 @@ function ReviewCarousel({ quotes }) {
11486
11572
  return () => track2.removeEventListener("scroll", onScroll);
11487
11573
  }, []);
11488
11574
  return jsxs("section", {
11489
- className: styles$7.section,
11575
+ className: styles$8.section,
11490
11576
  "aria-label": t("Reviews"),
11491
11577
  children: [jsx("ul", {
11492
- className: styles$7.track,
11578
+ className: styles$8.track,
11493
11579
  ref: trackRef,
11494
11580
  children: quotes.map((q, i) => jsxs("li", {
11495
- className: styles$7.card,
11581
+ className: styles$8.card,
11496
11582
  children: [jsxs("blockquote", {
11497
- className: styles$7.quote,
11583
+ className: styles$8.quote,
11498
11584
  children: ["“", q.quote, "”"]
11499
11585
  }), jsx("p", {
11500
- className: styles$7.author,
11586
+ className: styles$8.author,
11501
11587
  children: q.author
11502
11588
  })]
11503
11589
  }, i))
11504
11590
  }), quotes.length > 1 && jsx("div", {
11505
- className: styles$7.dots,
11591
+ className: styles$8.dots,
11506
11592
  "aria-hidden": "true",
11507
11593
  children: quotes.map((_, i) => jsx("span", {
11508
- className: [styles$7.dot, i === active ? styles$7.dotActive : ""].join(" ")
11594
+ className: [styles$8.dot, i === active ? styles$8.dotActive : ""].join(" ")
11509
11595
  }, i))
11510
11596
  })]
11511
11597
  });
@@ -11514,7 +11600,7 @@ const section$1 = "_section_1nrsi_1";
11514
11600
  const row$2 = "_row_1nrsi_9";
11515
11601
  const title$4 = "_title_1nrsi_20";
11516
11602
  const body$1 = "_body_1nrsi_43";
11517
- const styles$6 = {
11603
+ const styles$7 = {
11518
11604
  section: section$1,
11519
11605
  row: row$2,
11520
11606
  title: title$4,
@@ -11523,15 +11609,15 @@ const styles$6 = {
11523
11609
  function WhyUs({ items: items2 }) {
11524
11610
  const t = useT();
11525
11611
  return jsx("section", {
11526
- className: styles$6.section,
11612
+ className: styles$7.section,
11527
11613
  "aria-label": t("Why shop with us"),
11528
11614
  children: items2.map((it, i) => jsxs("div", {
11529
- className: styles$6.row,
11615
+ className: styles$7.row,
11530
11616
  children: [jsx("p", {
11531
- className: styles$6.title,
11617
+ className: styles$7.title,
11532
11618
  children: it.title
11533
11619
  }), jsx("p", {
11534
- className: styles$6.body,
11620
+ className: styles$7.body,
11535
11621
  children: it.body
11536
11622
  })]
11537
11623
  }, i))
@@ -11541,7 +11627,7 @@ const section = "_section_snuuj_1";
11541
11627
  const title$3 = "_title_snuuj_10";
11542
11628
  const list$1 = "_list_snuuj_17";
11543
11629
  const row$1 = "_row_snuuj_32";
11544
- const styles$5 = {
11630
+ const styles$6 = {
11545
11631
  section,
11546
11632
  title: title$3,
11547
11633
  list: list$1,
@@ -11550,17 +11636,17 @@ const styles$5 = {
11550
11636
  function ExploreList({ title: title2, links }) {
11551
11637
  const t = useT();
11552
11638
  return jsxs("section", {
11553
- className: styles$5.section,
11639
+ className: styles$6.section,
11554
11640
  "aria-label": title2,
11555
11641
  children: [jsx("h2", {
11556
- className: styles$5.title,
11642
+ className: styles$6.title,
11557
11643
  children: title2
11558
11644
  }), jsx("ul", {
11559
- className: styles$5.list,
11645
+ className: styles$6.list,
11560
11646
  children: links.map((l) => jsx("li", {
11561
11647
  children: jsxs(ShopLink, {
11562
11648
  to: `/category/${encodeURIComponent(l.code)}`,
11563
- className: styles$5.row,
11649
+ className: styles$6.row,
11564
11650
  children: [jsx("span", {
11565
11651
  children: t(l.label)
11566
11652
  }), jsx("svg", {
@@ -11588,7 +11674,7 @@ const featured = "_featured_1kft8_36";
11588
11674
  const gridBlock = "_gridBlock_1kft8_37";
11589
11675
  const blockTitle = "_blockTitle_1kft8_44";
11590
11676
  const grid = "_grid_1kft8_37";
11591
- const styles$4 = {
11677
+ const styles$5 = {
11592
11678
  pcp,
11593
11679
  blocks,
11594
11680
  featured,
@@ -11611,9 +11697,9 @@ function Block({ block }) {
11611
11697
  });
11612
11698
  case "featured":
11613
11699
  return jsxs("div", {
11614
- className: styles$4.featured,
11700
+ className: styles$5.featured,
11615
11701
  children: [block.title && jsx("h2", {
11616
- className: styles$4.blockTitle,
11702
+ className: styles$5.blockTitle,
11617
11703
  children: t(block.title)
11618
11704
  }), jsx(ProductTile, {
11619
11705
  product: block.product,
@@ -11633,12 +11719,12 @@ function Block({ block }) {
11633
11719
  });
11634
11720
  case "grid":
11635
11721
  return jsxs("div", {
11636
- className: styles$4.gridBlock,
11722
+ className: styles$5.gridBlock,
11637
11723
  children: [block.title && jsx("h2", {
11638
- className: styles$4.blockTitle,
11724
+ className: styles$5.blockTitle,
11639
11725
  children: t(block.title)
11640
11726
  }), jsx("ul", {
11641
- className: styles$4.grid,
11727
+ className: styles$5.grid,
11642
11728
  children: block.products.map((p) => jsx("li", {
11643
11729
  children: jsx(ProductTile, {
11644
11730
  product: p
@@ -11667,11 +11753,11 @@ function CategoryContent({ page: page2 }) {
11667
11753
  return jsxs(ShopSurface, {
11668
11754
  tone: "dark",
11669
11755
  fill: true,
11670
- className: styles$4.pcp,
11756
+ className: styles$5.pcp,
11671
11757
  children: [jsx(PcpHero, {
11672
11758
  hero: page2.hero
11673
11759
  }), jsx("div", {
11674
- className: styles$4.blocks,
11760
+ className: styles$5.blocks,
11675
11761
  children: page2.blocks.map((block, i) => jsx(Block, {
11676
11762
  block
11677
11763
  }, i))
@@ -11845,16 +11931,19 @@ function ProductView({ sku, initialData, showRecommendations = true, onNotFound
11845
11931
  })
11846
11932
  });
11847
11933
  }
11848
- const hero$1 = "_hero_1j0m8_1";
11849
- const image$1 = "_image_1j0m8_11";
11850
- const foot = "_foot_1j0m8_34";
11851
- const text$1 = "_text_1j0m8_40";
11852
- const logo$1 = "_logo_1j0m8_48";
11853
- const copy$1 = "_copy_1j0m8_53";
11854
- const headline = "_headline_1j0m8_62";
11855
- const body = "_body_1j0m8_70";
11856
- const cta$1 = "_cta_1j0m8_79";
11857
- const styles$3 = {
11934
+ const hero$1 = "_hero_dctyt_1";
11935
+ const image$1 = "_image_dctyt_11";
11936
+ const foot = "_foot_dctyt_34";
11937
+ const text$1 = "_text_dctyt_40";
11938
+ const logo$1 = "_logo_dctyt_48";
11939
+ const copy$1 = "_copy_dctyt_53";
11940
+ const headline = "_headline_dctyt_62";
11941
+ const body = "_body_dctyt_70";
11942
+ const cta$1 = "_cta_dctyt_79";
11943
+ const video = "_video_dctyt_83";
11944
+ const desktopOnly = "_desktopOnly_dctyt_87";
11945
+ const phoneOnly = "_phoneOnly_dctyt_97";
11946
+ const styles$4 = {
11858
11947
  hero: hero$1,
11859
11948
  image: image$1,
11860
11949
  foot,
@@ -11863,21 +11952,28 @@ const styles$3 = {
11863
11952
  copy: copy$1,
11864
11953
  headline,
11865
11954
  body,
11866
- cta: cta$1
11955
+ cta: cta$1,
11956
+ video,
11957
+ desktopOnly,
11958
+ phoneOnly
11867
11959
  };
11868
11960
  function VipHero({ hero: hero2, onContinue }) {
11869
11961
  const t = useT();
11870
11962
  const assetUrl = useAssetUrl();
11871
11963
  const ref = useRef(null);
11872
11964
  useTopOffset(ref, "--vip-hero-top");
11965
+ const desktopImage = hero2.desktop_image ?? null;
11966
+ const desktopVideo = hero2.desktop_video ?? null;
11967
+ const wide2 = desktopImage !== null || desktopVideo !== null;
11873
11968
  return jsx(ShopSurface, {
11874
11969
  tone: "dark",
11875
11970
  fill: true,
11971
+ "data-shop-layout": "wide",
11876
11972
  children: jsxs("section", {
11877
11973
  ref,
11878
- className: styles$3.hero,
11974
+ className: styles$4.hero,
11879
11975
  children: [hero2.image && jsx("div", {
11880
- className: styles$3.image,
11976
+ className: [styles$4.image, wide2 ? styles$4.phoneOnly : ""].join(" "),
11881
11977
  children: jsx(ShopImage, {
11882
11978
  src: hero2.image,
11883
11979
  alt: "",
@@ -11885,26 +11981,41 @@ function VipHero({ hero: hero2, onContinue }) {
11885
11981
  sizes: "(max-width: 480px) 100vw, 480px",
11886
11982
  priority: true
11887
11983
  })
11984
+ }), wide2 && jsxs("div", {
11985
+ className: [styles$4.image, styles$4.desktopOnly].join(" "),
11986
+ children: [desktopImage && jsx(ShopImage, {
11987
+ src: desktopImage,
11988
+ alt: "",
11989
+ fill: true,
11990
+ sizes: "100vw"
11991
+ }), desktopVideo && jsx(ShopVideo, {
11992
+ src: desktopVideo,
11993
+ ...desktopImage ? {
11994
+ poster: desktopImage
11995
+ } : {},
11996
+ fill: true,
11997
+ className: styles$4.video
11998
+ })]
11888
11999
  }), jsxs("div", {
11889
- className: styles$3.foot,
12000
+ className: styles$4.foot,
11890
12001
  children: [jsxs("div", {
11891
- className: styles$3.text,
12002
+ className: styles$4.text,
11892
12003
  children: [jsx("img", {
11893
12004
  src: assetUrl("/figma/home/dazn-logo.svg"),
11894
12005
  alt: t("DAZN"),
11895
- className: styles$3.logo
12006
+ className: styles$4.logo
11896
12007
  }), jsxs("div", {
11897
- className: styles$3.copy,
12008
+ className: styles$4.copy,
11898
12009
  children: [jsx("h1", {
11899
- className: styles$3.headline,
12010
+ className: styles$4.headline,
11900
12011
  children: hero2.headline
11901
12012
  }), hero2.body && jsx("p", {
11902
- className: styles$3.body,
12013
+ className: styles$4.body,
11903
12014
  children: hero2.body
11904
12015
  })]
11905
12016
  })]
11906
12017
  }), jsx("div", {
11907
- className: styles$3.cta,
12018
+ className: styles$4.cta,
11908
12019
  children: jsx(Button, {
11909
12020
  variant: "primary",
11910
12021
  fullWidth: true,
@@ -11916,7 +12027,82 @@ function VipHero({ hero: hero2, onContinue }) {
11916
12027
  })
11917
12028
  });
11918
12029
  }
11919
- function VipLandingView({ token, onUnavailable }) {
12030
+ function HelpIcon() {
12031
+ return jsx("svg", {
12032
+ width: "24",
12033
+ height: "24",
12034
+ viewBox: "0 0 24 24",
12035
+ fill: "none",
12036
+ "aria-hidden": "true",
12037
+ children: jsxs("g", {
12038
+ transform: "translate(1.93 1.93)",
12039
+ children: [jsx("path", {
12040
+ d: "M10.0781 14.1543C10.52 14.1543 10.8779 14.5123 10.8779 14.9541C10.8778 15.3958 10.5199 15.7539 10.0781 15.7539H10.0693C9.62757 15.7539 9.26963 15.3958 9.26953 14.9541C9.26953 14.5123 9.62751 14.1543 10.0693 14.1543H10.0781Z",
12041
+ fill: "currentColor"
12042
+ }), jsx("path", {
12043
+ d: "M8.21777 4.7168C8.93457 4.29562 9.77726 4.14167 10.5967 4.28223C11.4161 4.42286 12.1599 4.84835 12.6953 5.48438C13.2303 6.12005 13.5233 6.92505 13.5225 7.75586L13.5107 8.00098C13.3992 9.19732 12.4886 10.0076 11.8057 10.4629C11.4401 10.7066 11.0785 10.8882 10.8018 11.0137V11.8223C10.8014 12.2637 10.4425 12.622 10.001 12.6221C9.55954 12.6219 9.20156 12.2637 9.20117 11.8223V10.4775C9.20117 10.1332 9.42146 9.82671 9.74805 9.71777C9.75073 9.71685 9.75671 9.71536 9.76367 9.71289C9.77824 9.70771 9.80199 9.69931 9.83301 9.6875C9.89571 9.66361 9.98896 9.62621 10.1016 9.57617C10.3291 9.47505 10.6264 9.32523 10.918 9.13086C11.5496 8.70973 11.9217 8.23795 11.9219 7.75586C11.9225 7.30239 11.7627 6.86161 11.4707 6.51465C11.1787 6.16788 10.773 5.93611 10.3262 5.85938C9.87921 5.78271 9.41933 5.86603 9.02832 6.0957C8.63742 6.32547 8.34003 6.68657 8.18945 7.11426C8.04274 7.53077 7.58557 7.74995 7.16895 7.60352C6.75252 7.45687 6.53351 7.00053 6.67969 6.58398C6.9556 5.79964 7.50096 5.1381 8.21777 4.7168Z",
12044
+ fill: "currentColor"
12045
+ }), jsx("path", {
12046
+ fillRule: "evenodd",
12047
+ clipRule: "evenodd",
12048
+ d: "M10.0693 0C15.6304 0.000197913 20.1395 4.50828 20.1396 10.0693C20.1395 15.6304 15.6304 20.1395 10.0693 20.1396C4.50828 20.1395 0.000197917 15.6304 0 10.0693C0.00019791 4.50828 4.50828 0.000197906 10.0693 0ZM10.0693 2C5.61285 2.0002 2.0002 5.61285 2 10.0693C2.0002 14.5258 5.61285 18.1395 10.0693 18.1396C14.5258 18.1395 18.1395 14.5258 18.1396 10.0693C18.1395 5.61285 14.5258 2.0002 10.0693 2Z",
12049
+ fill: "currentColor"
12050
+ })]
12051
+ })
12052
+ });
12053
+ }
12054
+ const crumbs = "_crumbs_wl5mz_1";
12055
+ const home = "_home_wl5mz_13";
12056
+ const separator = "_separator_wl5mz_25";
12057
+ const current = "_current_wl5mz_31";
12058
+ const help = "_help_wl5mz_36";
12059
+ const helpLabel = "_helpLabel_wl5mz_50";
12060
+ const styles$3 = {
12061
+ crumbs,
12062
+ home,
12063
+ separator,
12064
+ current,
12065
+ help,
12066
+ helpLabel
12067
+ };
12068
+ function VipBreadcrumb({ title: title2, onHome }) {
12069
+ const t = useT();
12070
+ return jsx("nav", {
12071
+ "aria-label": t("Breadcrumb"),
12072
+ children: jsxs("ol", {
12073
+ className: styles$3.crumbs,
12074
+ children: [jsx("li", {
12075
+ children: jsx("button", {
12076
+ type: "button",
12077
+ className: styles$3.home,
12078
+ onClick: onHome,
12079
+ children: t("Homepage")
12080
+ })
12081
+ }), jsx("li", {
12082
+ className: styles$3.separator,
12083
+ "aria-hidden": "true",
12084
+ children: "›"
12085
+ }), jsx("li", {
12086
+ "aria-current": "page",
12087
+ className: styles$3.current,
12088
+ children: title2
12089
+ })]
12090
+ })
12091
+ });
12092
+ }
12093
+ function VipHelpLink({ onHelp }) {
12094
+ const t = useT();
12095
+ return jsxs("button", {
12096
+ type: "button",
12097
+ className: styles$3.help,
12098
+ onClick: onHelp,
12099
+ children: [jsx(HelpIcon, {}), jsx("span", {
12100
+ className: styles$3.helpLabel,
12101
+ children: t("Need help with your order?")
12102
+ })]
12103
+ });
12104
+ }
12105
+ function VipLandingView({ token, onUnavailable, onHelp }) {
11920
12106
  const t = useT();
11921
12107
  const { api, emit } = useShop();
11922
12108
  const [load, setLoad] = useState({
@@ -11979,10 +12165,13 @@ function VipLandingView({ token, onUnavailable }) {
11979
12165
  }
11980
12166
  return jsx(ActiveLanding, {
11981
12167
  token,
11982
- invite
12168
+ invite,
12169
+ ...onHelp ? {
12170
+ onHelp
12171
+ } : {}
11983
12172
  });
11984
12173
  }
11985
- function ActiveLanding({ token, invite }) {
12174
+ function ActiveLanding({ token, invite, onHelp }) {
11986
12175
  const t = useT();
11987
12176
  const toast2 = useToast();
11988
12177
  const { api, emit } = useShop();
@@ -12041,7 +12230,22 @@ function ActiveLanding({ token, invite }) {
12041
12230
  return jsx(ProductDetail, {
12042
12231
  product: loaded.product,
12043
12232
  inventory: loaded.inventory,
12044
- claim
12233
+ claim,
12234
+ ...invite.hero ? {
12235
+ breadcrumb: jsx(VipBreadcrumb, {
12236
+ title: loaded.product.title,
12237
+ onHome: product.close
12238
+ })
12239
+ } : {},
12240
+ help: jsx(VipHelpLink, {
12241
+ onHelp: () => {
12242
+ emit({
12243
+ type: "help_requested",
12244
+ inviteRef: invite.invite_ref
12245
+ });
12246
+ onHelp?.();
12247
+ }
12248
+ })
12045
12249
  }, loaded.product.sku);
12046
12250
  }
12047
12251
  if (loaded.loading) return jsx(ScreenSkeleton, {
@@ -12298,9 +12502,9 @@ function useSlides() {
12298
12502
  const api = shop?.api;
12299
12503
  if (!api) return;
12300
12504
  let live = true;
12301
- void api.content.home().then((home) => {
12302
- if (!live || home.slides.length === 0) return;
12303
- setFetched(home.slides.map((s) => ({
12505
+ void api.content.home().then((home2) => {
12506
+ if (!live || home2.slides.length === 0) return;
12507
+ setFetched(home2.slides.map((s) => ({
12304
12508
  key: s.key,
12305
12509
  title: s.title,
12306
12510
  subtitle: s.subtitle,
@@ -12724,30 +12928,6 @@ function OrderIcon() {
12724
12928
  })]
12725
12929
  });
12726
12930
  }
12727
- function HelpIcon() {
12728
- return jsx("svg", {
12729
- width: "24",
12730
- height: "24",
12731
- viewBox: "0 0 24 24",
12732
- fill: "none",
12733
- "aria-hidden": "true",
12734
- children: jsxs("g", {
12735
- transform: "translate(1.93 1.93)",
12736
- children: [jsx("path", {
12737
- d: "M10.0781 14.1543C10.52 14.1543 10.8779 14.5123 10.8779 14.9541C10.8778 15.3958 10.5199 15.7539 10.0781 15.7539H10.0693C9.62757 15.7539 9.26963 15.3958 9.26953 14.9541C9.26953 14.5123 9.62751 14.1543 10.0693 14.1543H10.0781Z",
12738
- fill: "currentColor"
12739
- }), jsx("path", {
12740
- d: "M8.21777 4.7168C8.93457 4.29562 9.77726 4.14167 10.5967 4.28223C11.4161 4.42286 12.1599 4.84835 12.6953 5.48438C13.2303 6.12005 13.5233 6.92505 13.5225 7.75586L13.5107 8.00098C13.3992 9.19732 12.4886 10.0076 11.8057 10.4629C11.4401 10.7066 11.0785 10.8882 10.8018 11.0137V11.8223C10.8014 12.2637 10.4425 12.622 10.001 12.6221C9.55954 12.6219 9.20156 12.2637 9.20117 11.8223V10.4775C9.20117 10.1332 9.42146 9.82671 9.74805 9.71777C9.75073 9.71685 9.75671 9.71536 9.76367 9.71289C9.77824 9.70771 9.80199 9.69931 9.83301 9.6875C9.89571 9.66361 9.98896 9.62621 10.1016 9.57617C10.3291 9.47505 10.6264 9.32523 10.918 9.13086C11.5496 8.70973 11.9217 8.23795 11.9219 7.75586C11.9225 7.30239 11.7627 6.86161 11.4707 6.51465C11.1787 6.16788 10.773 5.93611 10.3262 5.85938C9.87921 5.78271 9.41933 5.86603 9.02832 6.0957C8.63742 6.32547 8.34003 6.68657 8.18945 7.11426C8.04274 7.53077 7.58557 7.74995 7.16895 7.60352C6.75252 7.45687 6.53351 7.00053 6.67969 6.58398C6.9556 5.79964 7.50096 5.1381 8.21777 4.7168Z",
12741
- fill: "currentColor"
12742
- }), jsx("path", {
12743
- fillRule: "evenodd",
12744
- clipRule: "evenodd",
12745
- d: "M10.0693 0C15.6304 0.000197913 20.1395 4.50828 20.1396 10.0693C20.1395 15.6304 15.6304 20.1395 10.0693 20.1396C4.50828 20.1395 0.000197917 15.6304 0 10.0693C0.00019791 4.50828 4.50828 0.000197906 10.0693 0ZM10.0693 2C5.61285 2.0002 2.0002 5.61285 2 10.0693C2.0002 14.5258 5.61285 18.1395 10.0693 18.1396C14.5258 18.1395 18.1395 14.5258 18.1396 10.0693C18.1395 5.61285 14.5258 2.0002 10.0693 2Z",
12746
- fill: "currentColor"
12747
- })]
12748
- })
12749
- });
12750
- }
12751
12931
  function ChevronRight() {
12752
12932
  return jsx("svg", {
12753
12933
  width: "16",
@@ -12938,6 +13118,7 @@ function toGa4Event(event) {
12938
13118
  case "ready":
12939
13119
  case "navigate":
12940
13120
  case "support_requested":
13121
+ case "help_requested":
12941
13122
  case "order_cancellation_requested":
12942
13123
  case "reorder_requested":
12943
13124
  case "session_required":