formica-ui-lib 1.0.329 → 1.0.331

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.js CHANGED
@@ -6826,81 +6826,93 @@ var Mo = {
6826
6826
  }) : null]
6827
6827
  });
6828
6828
  }, tc = ({ documentInfoCardItem: e, layoutVariant: t = "table", onDownloadClick: n, onRangeClick: r }) => {
6829
- let { name: i, range: a, documentType: o, documentSubtype: s } = e;
6829
+ let { name: i, range: a, documentType: o, documentSubtype: s } = e, c = /* @__PURE__ */ l(q, {
6830
+ ariaLabel: `Download ${i}`,
6831
+ onCardClick: () => n({ documentInfoCardItem: e }),
6832
+ className: "absolute inset-0 cursor-pointer border-0 bg-transparent p-0 text-left focus-visible:z-10 focus-visible:outline-2 focus-visible:outline-offset-[-2px] focus-visible:outline-primary",
6833
+ children: /* @__PURE__ */ u("span", {
6834
+ className: "sr-only",
6835
+ children: ["Download ", i]
6836
+ })
6837
+ });
6830
6838
  return t === "compact" ? /* @__PURE__ */ u("article", {
6831
- className: "flex w-full items-center gap-4 border-b border-borderTertiary px-3 py-3 transition-colors hover:bg-multibarBackground/20",
6832
- children: [/* @__PURE__ */ u("div", {
6833
- className: "flex min-w-0 flex-1 flex-col gap-1 md:flex-row md:items-center md:gap-6",
6834
- children: [/* @__PURE__ */ u("div", {
6835
- className: "min-w-0 flex-1",
6836
- children: [/* @__PURE__ */ l(v, {
6837
- variant: "free",
6838
- className: "text-sm font-medium text-primary",
6839
- children: i
6840
- }), /* @__PURE__ */ u("div", {
6841
- className: "flex flex-wrap items-center gap-2 text-xs text-tertiary",
6842
- children: [
6843
- o ? /* @__PURE__ */ l("span", { children: o }) : null,
6844
- o && s ? /* @__PURE__ */ l("span", {
6845
- "aria-hidden": "true",
6846
- children: "•"
6847
- }) : null,
6848
- s ? /* @__PURE__ */ l("span", { children: s }) : null
6849
- ]
6850
- })]
6851
- }), a ? /* @__PURE__ */ l("div", {
6852
- className: "md:w-40 md:shrink-0",
6853
- children: /* @__PURE__ */ l(P, {
6854
- variant: "link",
6855
- intent: "accent",
6856
- onClick: () => r({ documentInfoCardItem: e }),
6857
- className: "p-0! text-left! text-sm",
6858
- children: a
6859
- })
6860
- }) : null]
6861
- }), /* @__PURE__ */ l(Ce, {
6862
- iconType: "fa-solid",
6863
- iconName: "download",
6864
- iconSize: "lg",
6865
- intent: "primary",
6866
- size: "sm",
6867
- "aria-label": `Download ${i}`,
6868
- onClick: () => n({ documentInfoCardItem: e })
6869
- })]
6839
+ className: "relative flex w-full items-center gap-4 border-b border-borderTertiary px-3 py-3 transition-colors hover:bg-multibarBackground/20",
6840
+ children: [
6841
+ c,
6842
+ /* @__PURE__ */ u("div", {
6843
+ className: "pointer-events-none flex min-w-0 flex-1 flex-col gap-1 md:flex-row md:items-center md:gap-6",
6844
+ children: [/* @__PURE__ */ u("div", {
6845
+ className: "min-w-0 flex-1",
6846
+ children: [/* @__PURE__ */ l(v, {
6847
+ variant: "free",
6848
+ className: "text-sm font-medium text-primary",
6849
+ children: i
6850
+ }), /* @__PURE__ */ u("div", {
6851
+ className: "flex flex-wrap items-center gap-2 text-xs text-tertiary",
6852
+ children: [
6853
+ o ? /* @__PURE__ */ l("span", { children: o }) : null,
6854
+ o && s ? /* @__PURE__ */ l("span", {
6855
+ "aria-hidden": "true",
6856
+ children: "•"
6857
+ }) : null,
6858
+ s ? /* @__PURE__ */ l("span", { children: s }) : null
6859
+ ]
6860
+ })]
6861
+ }), a ? /* @__PURE__ */ l("div", {
6862
+ className: "md:w-40 md:shrink-0",
6863
+ children: /* @__PURE__ */ l(P, {
6864
+ variant: "link",
6865
+ intent: "accent",
6866
+ onClick: () => r({ documentInfoCardItem: e }),
6867
+ className: "pointer-events-auto relative z-20 p-0! text-left! text-sm",
6868
+ children: a
6869
+ })
6870
+ }) : null]
6871
+ }),
6872
+ /* @__PURE__ */ l(S, {
6873
+ iconType: "fa-solid",
6874
+ iconName: "download",
6875
+ size: "lg",
6876
+ color: "primary",
6877
+ className: "pointer-events-none"
6878
+ })
6879
+ ]
6870
6880
  }) : /* @__PURE__ */ u("div", {
6871
- className: "w-full flex flex-row justify-between items-center py-5 border-b border-borderTertiary",
6872
- children: [/* @__PURE__ */ u("div", {
6873
- className: "w-full flex flex-col md:flex-row justify-between items-start md:items-center gap-1 md:gap-4",
6874
- children: [
6875
- /* @__PURE__ */ l(v, {
6876
- className: "flex-2",
6877
- children: i
6878
- }),
6879
- /* @__PURE__ */ l(P, {
6880
- variant: "link",
6881
- intent: "accent",
6882
- onClick: () => r({ documentInfoCardItem: e }),
6883
- className: "flex-1 justify-start! text-xs md:text-sm p-0! text-left!",
6884
- children: a
6885
- }),
6886
- /* @__PURE__ */ l(v, {
6887
- className: "flex-1 text-xs md:text-sm",
6888
- children: o
6889
- }),
6890
- /* @__PURE__ */ l(v, {
6891
- className: "flex-1 text-xs md:text-sm",
6892
- children: s
6893
- })
6894
- ]
6895
- }), /* @__PURE__ */ l(Ce, {
6896
- iconType: "fa-solid",
6897
- iconName: "download",
6898
- iconSize: "xl",
6899
- intent: "primary",
6900
- size: "lg",
6901
- "aria-label": `Download ${i}`,
6902
- onClick: () => n({ documentInfoCardItem: e })
6903
- })]
6881
+ className: "relative w-full flex flex-row justify-between items-center py-5 border-b border-borderTertiary hover:bg-multibarBackground/20 transition-colors",
6882
+ children: [
6883
+ c,
6884
+ /* @__PURE__ */ u("div", {
6885
+ className: "pointer-events-none w-full flex flex-col md:flex-row justify-between items-start md:items-center gap-1 md:gap-4",
6886
+ children: [
6887
+ /* @__PURE__ */ l(v, {
6888
+ className: "flex-2",
6889
+ children: i
6890
+ }),
6891
+ /* @__PURE__ */ l(P, {
6892
+ variant: "link",
6893
+ intent: "accent",
6894
+ onClick: () => r({ documentInfoCardItem: e }),
6895
+ className: "pointer-events-auto relative z-20 flex-1 justify-start! text-xs md:text-sm p-0! text-left!",
6896
+ children: a
6897
+ }),
6898
+ /* @__PURE__ */ l(v, {
6899
+ className: "flex-1 text-xs md:text-sm",
6900
+ children: o
6901
+ }),
6902
+ /* @__PURE__ */ l(v, {
6903
+ className: "flex-1 text-xs md:text-sm",
6904
+ children: s
6905
+ })
6906
+ ]
6907
+ }),
6908
+ /* @__PURE__ */ l(S, {
6909
+ iconType: "fa-solid",
6910
+ iconName: "download",
6911
+ size: "xl",
6912
+ color: "primary",
6913
+ className: "pointer-events-none"
6914
+ })
6915
+ ]
6904
6916
  });
6905
6917
  }, nc = ({ title: e, details: t, iconName: n = "file-pdf", onDocumentClick: r }) => /* @__PURE__ */ l(P, {
6906
6918
  buttonType: "primary",
@@ -7918,7 +7930,10 @@ var Mo = {
7918
7930
  })]
7919
7931
  })]
7920
7932
  }) : null;
7921
- }, Vc = ({ open: e, title: t, body: i, acceptButton: a, acceptButtonHelpText: d = "You must scroll to accept the Terms & Conditions.", imageSrc: f, imageAlt: p = "", onClose: m, closeLabel: h = "Close Opt In Modal" }) => {
7933
+ }, Vc = ({ html: e = "", className: t = "" }) => e ? /* @__PURE__ */ l("div", {
7934
+ className: `html-block ${t}`,
7935
+ dangerouslySetInnerHTML: { __html: e }
7936
+ }) : null, Hc = ({ open: e, title: t, body: i, acceptButton: a, acceptButtonHelpText: d = "You must scroll to accept the Terms & Conditions.", imageSrc: f, imageAlt: p = "", onClose: m, closeLabel: h = "Close Opt In Modal" }) => {
7922
7937
  let [g, _] = s(!0), y = r(), b = r(), x = o(null), S = o(null), C = o(null);
7923
7938
  if (n(() => {
7924
7939
  let e = C.current;
@@ -7942,7 +7957,8 @@ var Mo = {
7942
7957
  ...a,
7943
7958
  intent: "accent",
7944
7959
  className: "w-1/2",
7945
- disabled: g
7960
+ disabled: g,
7961
+ label: a.label || "I Accept"
7946
7962
  }), /* @__PURE__ */ l(v, {
7947
7963
  variant: "caption",
7948
7964
  hidden: !g,
@@ -8005,7 +8021,7 @@ var Mo = {
8005
8021
  /* @__PURE__ */ l(v, {
8006
8022
  id: b,
8007
8023
  variant: "body",
8008
- children: i
8024
+ children: /* @__PURE__ */ l(Vc, { html: i })
8009
8025
  }),
8010
8026
  /* @__PURE__ */ l("div", {
8011
8027
  ref: C,
@@ -8027,7 +8043,7 @@ var Mo = {
8027
8043
  ]
8028
8044
  })]
8029
8045
  });
8030
- }, Hc = ({ items: e, selectedId: t, onSelect: n, layoutVariant: r = "content", visualVariant: i = "default", className: a = "", buttonClassName: o = "", disabled: s = !1, ariaLabel: c = "Segmented control" }) => {
8046
+ }, Uc = ({ items: e, selectedId: t, onSelect: n, layoutVariant: r = "content", visualVariant: i = "default", className: a = "", buttonClassName: o = "", disabled: s = !1, ariaLabel: c = "Segmented control" }) => {
8031
8047
  if (!e?.length) return null;
8032
8048
  let u = e.filter((e) => !e.disabled), d = u.findIndex((e) => e.id === t), f = (e) => {
8033
8049
  let t = u[e];
@@ -8070,7 +8086,7 @@ var Mo = {
8070
8086
  }, r.id);
8071
8087
  })
8072
8088
  });
8073
- }, Uc = ({ options: e, value: t, defaultValue: r, onChange: i, ariaLabel: o = "Radio buttons", disabled: c = !1, className: u = "", containerClassName: d = "", buttonClassName: f = "", visualVariant: p = "default" }) => {
8089
+ }, Wc = ({ options: e, value: t, defaultValue: r, onChange: i, ariaLabel: o = "Radio buttons", disabled: c = !1, className: u = "", containerClassName: d = "", buttonClassName: f = "", visualVariant: p = "default" }) => {
8074
8090
  let m = t !== void 0, h = a(() => e?.[0], [e]), [g, _] = s(r && e.includes(r) ? r : h);
8075
8091
  if (n(() => {
8076
8092
  if (!e?.length) {
@@ -8080,7 +8096,7 @@ var Mo = {
8080
8096
  _((t) => t && e.includes(t) ? t : r && e.includes(r) ? r : e[0]);
8081
8097
  }, [r, e.join("|")]), !e?.length) return null;
8082
8098
  let v = (m ? t : g) ?? e[0];
8083
- return /* @__PURE__ */ l(Hc, {
8099
+ return /* @__PURE__ */ l(Uc, {
8084
8100
  ariaLabel: o,
8085
8101
  disabled: c,
8086
8102
  className: [d, u].filter(Boolean).join(" "),
@@ -8096,32 +8112,32 @@ var Mo = {
8096
8112
  _(t), i?.(t, n);
8097
8113
  }
8098
8114
  });
8099
- }, Wc = (e) => typeof e == "object" && !!e && !Array.isArray(e), Gc = (e) => {
8100
- if (!Wc(e)) return e;
8115
+ }, Gc = (e) => typeof e == "object" && !!e && !Array.isArray(e), Kc = (e) => {
8116
+ if (!Gc(e)) return e;
8101
8117
  let t = e.value ?? e.jsonValue;
8102
- return t === void 0 ? e : Gc(t);
8103
- }, Kc = (e, t, n = !0) => {
8104
- let r = Gc(e);
8118
+ return t === void 0 ? e : Kc(t);
8119
+ }, qc = (e, t, n = !0) => {
8120
+ let r = Kc(e);
8105
8121
  if (typeof r == "string") return n ? r : "";
8106
- if (!Wc(r)) return "";
8122
+ if (!Gc(r)) return "";
8107
8123
  for (let e of t) {
8108
8124
  let t = r[e];
8109
8125
  if (typeof t == "string") return t;
8110
8126
  }
8111
8127
  return "";
8112
- }, qc = (e, t) => {
8113
- let n = Gc(t);
8114
- return Wc(n) ? `${e}${typeof n.querystring == "string" ? n.querystring : ""}${typeof n.anchor == "string" ? n.anchor : ""}` : e;
8115
- }, Jc = (e) => Kc(e, [
8128
+ }, Jc = (e, t) => {
8129
+ let n = Kc(t);
8130
+ return Gc(n) ? `${e}${typeof n.querystring == "string" ? n.querystring : ""}${typeof n.anchor == "string" ? n.anchor : ""}` : e;
8131
+ }, Yc = (e) => qc(e, [
8116
8132
  "text",
8117
8133
  "title",
8118
8134
  "label",
8119
8135
  "href",
8120
8136
  "url"
8121
- ]).trim(), Yc = (e) => {
8122
- let t = Kc(e, ["href", "url"]).trim();
8123
- return t ? qc(t, e) : "";
8124
- }, Xc = (e, t) => Kc(e, ["target"], !1).trim() || t, Zc = (e, t) => Kc(e, ["rel"], !1).trim() || t, Qc = ({ brands: e = [], showProPortalSelector: t = !1, isNorthAmerica: n = !0, selectedCustomerType: r = "Commercial", onBrandClick: i, onCustomerTypeChange: a }) => {
8137
+ ]).trim(), Xc = (e) => {
8138
+ let t = qc(e, ["href", "url"]).trim();
8139
+ return t ? Jc(t, e) : "";
8140
+ }, Zc = (e, t) => qc(e, ["target"], !1).trim() || t, Qc = (e, t) => qc(e, ["rel"], !1).trim() || t, $c = ({ brands: e = [], showProPortalSelector: t = !1, isNorthAmerica: n = !0, selectedCustomerType: r = "Commercial", onBrandClick: i, onCustomerTypeChange: a }) => {
8125
8141
  let o = t && n;
8126
8142
  return /* @__PURE__ */ l("div", {
8127
8143
  className: "bg-primary text-white text-sm w-full",
@@ -8131,7 +8147,7 @@ var Mo = {
8131
8147
  /* @__PURE__ */ l("div", {
8132
8148
  className: "flex w-full justify-center gap-6 pt-1 md:w-1/2 md:justify-around",
8133
8149
  children: e.map((e, t) => {
8134
- let n = Jc(e.label), r = Yc(e.href), a = Le(n), o = `${n || r || "brand"}-${r || t}`;
8150
+ let n = Yc(e.label), r = Xc(e.href), a = Le(n), o = `${n || r || "brand"}-${r || t}`;
8135
8151
  return /* @__PURE__ */ l("button", {
8136
8152
  type: "button",
8137
8153
  className: "flex items-center hover:opacity-90",
@@ -8153,7 +8169,7 @@ var Mo = {
8153
8169
  /* @__PURE__ */ l("div", { className: "hidden md:block md:w-1/4" }),
8154
8170
  /* @__PURE__ */ l("div", {
8155
8171
  className: "hidden md:flex md:w-1/4 md:justify-end",
8156
- children: o ? /* @__PURE__ */ l(Uc, {
8172
+ children: o ? /* @__PURE__ */ l(Wc, {
8157
8173
  ariaLabel: "Customer type",
8158
8174
  defaultValue: r,
8159
8175
  buttonClassName: "aria-checked:font-bold text-secondary",
@@ -8165,7 +8181,7 @@ var Mo = {
8165
8181
  ]
8166
8182
  })
8167
8183
  });
8168
- }, $c = ({ activeItem: e, onMegaMenuLinkClick: t }) => e ? /* @__PURE__ */ l("div", {
8184
+ }, el = ({ activeItem: e, onMegaMenuLinkClick: t }) => e ? /* @__PURE__ */ l("div", {
8169
8185
  className: "w-full px-10 pt-6 pb-8",
8170
8186
  children: /* @__PURE__ */ l("div", {
8171
8187
  className: "grid grid-cols-4 gap-x-10 gap-y-8",
@@ -8192,7 +8208,7 @@ var Mo = {
8192
8208
  })]
8193
8209
  }, e.id))
8194
8210
  })
8195
- }) : null, el = (e) => [e.title, e.subtitle].filter(Boolean).join(" "), tl = ({ id: e, items: t = [], viewAllLabel: n = "View all results", ariaLabel: r = "Search results", layoutVariant: i = "popover", onResultClick: a, onViewAllClick: o }) => t.length ? /* @__PURE__ */ u("div", {
8211
+ }) : null, tl = (e) => [e.title, e.subtitle].filter(Boolean).join(" "), nl = ({ id: e, items: t = [], viewAllLabel: n = "View all results", ariaLabel: r = "Search results", layoutVariant: i = "popover", onResultClick: a, onViewAllClick: o }) => t.length ? /* @__PURE__ */ u("div", {
8196
8212
  id: e,
8197
8213
  className: `${i === "contained" ? "w-full" : "w-80"} overflow-hidden rounded-md border border-gray-200 bg-white text-primary shadow-lg`,
8198
8214
  role: "region",
@@ -8200,7 +8216,7 @@ var Mo = {
8200
8216
  children: [/* @__PURE__ */ l("ul", {
8201
8217
  className: "max-h-96 divide-y divide-gray-200 overflow-y-auto",
8202
8218
  children: t.map((e) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ u(q, {
8203
- ariaLabel: el(e),
8219
+ ariaLabel: tl(e),
8204
8220
  className: "flex w-full items-center gap-3 px-3 py-2 text-left hover:bg-gray-50 focus:bg-gray-50 focus:outline-none",
8205
8221
  onCardClick: () => a?.({ item: e }),
8206
8222
  children: [e.imageSrc ? /* @__PURE__ */ l(L, {
@@ -8238,7 +8254,7 @@ var Mo = {
8238
8254
  onClick: o
8239
8255
  })
8240
8256
  })]
8241
- }) : null, nl = 300, rl = ({ Countries: e, countries: t, selectedCountry: r, Login: i, Account: a, Cart: c = {
8257
+ }) : null, rl = 300, il = ({ Countries: e, countries: t, selectedCountry: r, Login: i, Account: a, Cart: c = {
8242
8258
  hasCart: !1,
8243
8259
  itemCount: 0
8244
8260
  }, showCart: d = !0, showFavorites: f = !0, showLogin: p = !0, searchPlaceholder: m = "Search", searchLabel: h = "Search", searchResultsAriaLabel: g = "Search results", clearSearchLabel: _ = "Clear search", searchResultItems: v = [], searchViewAllLabel: y, onSearchClick: b, onSearchChange: x, onSearchSubmit: S, onSearchResultClick: C, onSearchViewAllClick: w, onCartClick: T, onLoginClick: E, onAccountClick: D, onFavoritesClick: O, onCountrySelect: k }) => {
@@ -8247,7 +8263,7 @@ var Mo = {
8247
8263
  if (!F.current) return;
8248
8264
  let e = window.setTimeout(() => {
8249
8265
  x?.({ query: M });
8250
- }, nl);
8266
+ }, rl);
8251
8267
  return () => {
8252
8268
  window.clearTimeout(e);
8253
8269
  };
@@ -8305,7 +8321,7 @@ var Mo = {
8305
8321
  }),
8306
8322
  A && B ? /* @__PURE__ */ l("div", {
8307
8323
  className: "absolute top-full right-0 z-30 mt-2",
8308
- children: /* @__PURE__ */ l(tl, {
8324
+ children: /* @__PURE__ */ l(nl, {
8309
8325
  id: "top-nav-search-results",
8310
8326
  items: v,
8311
8327
  viewAllLabel: y,
@@ -8371,11 +8387,11 @@ var Mo = {
8371
8387
  }) }) : null
8372
8388
  ]
8373
8389
  });
8374
- }, il = 750, al = "\n @keyframes top-nav-account-drawer-slide-in {\n from { transform: translate3d(100%, 0, 0); }\n to { transform: translate3d(0, 0, 0); }\n }\n\n @keyframes top-nav-account-drawer-slide-out {\n from { transform: translate3d(0, 0, 0); }\n to { transform: translate3d(100%, 0, 0); }\n }\n\n @keyframes top-nav-account-backdrop-in {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n\n @keyframes top-nav-account-backdrop-out {\n from { opacity: 1; }\n to { opacity: 0; }\n }\n\n .top-nav-account-drawer-panel[data-phase=\"opening\"] {\n animation: top-nav-account-drawer-slide-in 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n .top-nav-account-drawer-panel[data-phase=\"open\"] {\n transform: translate3d(0, 0, 0);\n }\n\n .top-nav-account-drawer-panel[data-phase=\"closing\"] {\n animation: top-nav-account-drawer-slide-out 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n .top-nav-account-drawer-backdrop[data-phase=\"opening\"] {\n animation: top-nav-account-backdrop-in 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n .top-nav-account-drawer-backdrop[data-phase=\"open\"] {\n opacity: 1;\n }\n\n .top-nav-account-drawer-backdrop[data-phase=\"closing\"] {\n animation: top-nav-account-backdrop-out 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n @media (min-width: 768px) {\n .top-nav-account-drawer-panel[data-phase=\"opening\"],\n .top-nav-account-drawer-panel[data-phase=\"closing\"] {\n animation-duration: 700ms;\n }\n }\n\n", ol = ({ isOpen: e, customerName: t, title: r = "Account", orderHistoryLabel: i = "Order History", favoritesLabel: a = "Favorites", profileLabel: o = "Profile & Addresses", logoutLabel: c = "Log Out", onClose: f, onOrderHistoryClick: p, onFavoritesClick: m, onProfileClick: h, onLogoutClick: g }) => {
8390
+ }, al = 750, ol = "\n @keyframes top-nav-account-drawer-slide-in {\n from { transform: translate3d(100%, 0, 0); }\n to { transform: translate3d(0, 0, 0); }\n }\n\n @keyframes top-nav-account-drawer-slide-out {\n from { transform: translate3d(0, 0, 0); }\n to { transform: translate3d(100%, 0, 0); }\n }\n\n @keyframes top-nav-account-backdrop-in {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n\n @keyframes top-nav-account-backdrop-out {\n from { opacity: 1; }\n to { opacity: 0; }\n }\n\n .top-nav-account-drawer-panel[data-phase=\"opening\"] {\n animation: top-nav-account-drawer-slide-in 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n .top-nav-account-drawer-panel[data-phase=\"open\"] {\n transform: translate3d(0, 0, 0);\n }\n\n .top-nav-account-drawer-panel[data-phase=\"closing\"] {\n animation: top-nav-account-drawer-slide-out 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n .top-nav-account-drawer-backdrop[data-phase=\"opening\"] {\n animation: top-nav-account-backdrop-in 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n .top-nav-account-drawer-backdrop[data-phase=\"open\"] {\n opacity: 1;\n }\n\n .top-nav-account-drawer-backdrop[data-phase=\"closing\"] {\n animation: top-nav-account-backdrop-out 500ms cubic-bezier(0.4, 0, 0.2, 1) both;\n }\n\n @media (min-width: 768px) {\n .top-nav-account-drawer-panel[data-phase=\"opening\"],\n .top-nav-account-drawer-panel[data-phase=\"closing\"] {\n animation-duration: 700ms;\n }\n }\n\n", sl = ({ isOpen: e, customerName: t, title: r = "Account", orderHistoryLabel: i = "Order History", favoritesLabel: a = "Favorites", profileLabel: o = "Profile & Addresses", logoutLabel: c = "Log Out", onClose: f, onOrderHistoryClick: p, onFavoritesClick: m, onProfileClick: h, onLogoutClick: g }) => {
8375
8391
  let [_, y] = s(e), [b, x] = s(e ? "opening" : "open");
8376
8392
  if (n(() => {
8377
8393
  let t;
8378
- return e ? (y(!0), x("opening")) : _ && (x("closing"), t = window.setTimeout(() => y(!1), il)), () => window.clearTimeout(t);
8394
+ return e ? (y(!0), x("opening")) : _ && (x("closing"), t = window.setTimeout(() => y(!1), al)), () => window.clearTimeout(t);
8379
8395
  }, [e, _]), n(() => {
8380
8396
  if (!_) return;
8381
8397
  let e = document.body.style.overflow, t = document.body.style.paddingRight, n = window.innerWidth - document.documentElement.clientWidth, r = (e) => {
@@ -8395,7 +8411,7 @@ var Mo = {
8395
8411
  return d(/* @__PURE__ */ u("div", {
8396
8412
  className: `fixed inset-0 z-60 ${e ? "" : "pointer-events-none"}`,
8397
8413
  children: [
8398
- /* @__PURE__ */ l("style", { children: al }),
8414
+ /* @__PURE__ */ l("style", { children: ol }),
8399
8415
  /* @__PURE__ */ l("button", {
8400
8416
  type: "button",
8401
8417
  "aria-label": "Close account overlay",
@@ -8512,7 +8528,7 @@ var Mo = {
8512
8528
  })
8513
8529
  ]
8514
8530
  }), document.body);
8515
- }, sl = "__mobile-menu-open__", cl = 300, ll = ({ NavMenuWithSubItems: e = [], countries: t, selectedCountry: r, Login: i, Account: a, Cart: c, showCart: d = !0, showFavorites: f = !0, showLogin: p = !0, Logo: m, searchPlaceholder: h = "Search", searchLabel: g = "Search", searchResultsAriaLabel: _ = "Search results", clearSearchLabel: v = "Clear search", closeSearchLabel: y = "Close search", searchResultItems: b, searchViewAllLabel: x, onLogoClick: S, onNavItemClick: C, onMegaMenuLinkClick: w, onSearchClick: T, onSearchChange: E, onSearchSubmit: D, onSearchResultClick: O, onSearchViewAllClick: k, onCartClick: A, onLoginClick: j, onAccountClick: M, onOrderHistoryClick: N, onProfileClick: F, onLogoutClick: I, onFavoritesClick: R, onCountrySelect: z }) => {
8531
+ }, cl = "__mobile-menu-open__", ll = 300, ul = ({ NavMenuWithSubItems: e = [], countries: t, selectedCountry: r, Login: i, Account: a, Cart: c, showCart: d = !0, showFavorites: f = !0, showLogin: p = !0, Logo: m, searchPlaceholder: h = "Search", searchLabel: g = "Search", searchResultsAriaLabel: _ = "Search results", clearSearchLabel: v = "Clear search", closeSearchLabel: y = "Close search", searchResultItems: b, searchViewAllLabel: x, onLogoClick: S, onNavItemClick: C, onMegaMenuLinkClick: w, onSearchClick: T, onSearchChange: E, onSearchSubmit: D, onSearchResultClick: O, onSearchViewAllClick: k, onCartClick: A, onLoginClick: j, onAccountClick: M, onOrderHistoryClick: N, onProfileClick: F, onLogoutClick: I, onFavoritesClick: R, onCountrySelect: z }) => {
8516
8532
  let B = o(null), [V, ee] = s(null), [te, ne] = s(null), [re, ie] = s(!1), [ae, H] = s(!1), [oe, U] = s(""), W = o(!1), G = te !== null, se = e.find((e) => e.id === V), ce = t ?? [], le = i ?? {
8517
8533
  label: "Log In",
8518
8534
  href: "/login"
@@ -8534,7 +8550,7 @@ var Mo = {
8534
8550
  if (!W.current) return;
8535
8551
  let e = window.setTimeout(() => {
8536
8552
  E?.({ query: oe });
8537
- }, cl);
8553
+ }, ll);
8538
8554
  return () => window.clearTimeout(e);
8539
8555
  }, [oe, E]);
8540
8556
  let xe = () => {
@@ -8561,7 +8577,7 @@ var Mo = {
8561
8577
  }, ke = (e, t = {}) => {
8562
8578
  ee(null), t.closeMobile && Ee(), w?.(e);
8563
8579
  }, Ae = (e) => {
8564
- ne((t) => t === e ? sl : e);
8580
+ ne((t) => t === e ? cl : e);
8565
8581
  };
8566
8582
  return /* @__PURE__ */ u("header", {
8567
8583
  ref: B,
@@ -8630,7 +8646,7 @@ var Mo = {
8630
8646
  className: "h-9 w-9 p-0",
8631
8647
  "aria-label": G ? "Close menu" : "Open menu",
8632
8648
  onClick: () => {
8633
- ne((e) => e === null ? sl : null);
8649
+ ne((e) => e === null ? cl : null);
8634
8650
  },
8635
8651
  "aria-expanded": G
8636
8652
  })
@@ -8715,7 +8731,7 @@ var Mo = {
8715
8731
  active: V === t
8716
8732
  }, t);
8717
8733
  })
8718
- }), /* @__PURE__ */ l(rl, {
8734
+ }), /* @__PURE__ */ l(il, {
8719
8735
  Countries: ce,
8720
8736
  selectedCountry: r,
8721
8737
  Login: le,
@@ -8755,14 +8771,14 @@ var Mo = {
8755
8771
  className: "px-8",
8756
8772
  children: /* @__PURE__ */ l("div", {
8757
8773
  className: "max-w-screen-xl mx-auto",
8758
- children: /* @__PURE__ */ l($c, {
8774
+ children: /* @__PURE__ */ l(el, {
8759
8775
  activeItem: se,
8760
8776
  onMegaMenuLinkClick: ke
8761
8777
  })
8762
8778
  })
8763
8779
  })
8764
8780
  }),
8765
- /* @__PURE__ */ l(ol, {
8781
+ /* @__PURE__ */ l(sl, {
8766
8782
  ...de,
8767
8783
  isOpen: re,
8768
8784
  onClose: () => ie(!1),
@@ -8794,7 +8810,7 @@ var Mo = {
8794
8810
  W.current = !0, U(e.target.value);
8795
8811
  },
8796
8812
  onSearchSubmit: Ce
8797
- }), /* @__PURE__ */ l(tl, {
8813
+ }), /* @__PURE__ */ l(nl, {
8798
8814
  id: "top-nav-mobile-search-results",
8799
8815
  items: b,
8800
8816
  viewAllLabel: x,
@@ -8808,7 +8824,7 @@ var Mo = {
8808
8824
  })
8809
8825
  ]
8810
8826
  });
8811
- }, ul = ({ message: e, buttonLabel: t, onButtonClick: n, children: r }) => {
8827
+ }, dl = ({ message: e, buttonLabel: t, onButtonClick: n, children: r }) => {
8812
8828
  let i = e?.trim();
8813
8829
  return i ? /* @__PURE__ */ l("div", {
8814
8830
  className: "w-full bg-primary",
@@ -8838,7 +8854,7 @@ var Mo = {
8838
8854
  ]
8839
8855
  })
8840
8856
  }) : null;
8841
- }, dl = ({ Breadcrumbs: e = [], onBreadcrumbClick: t }) => {
8857
+ }, fl = ({ Breadcrumbs: e = [], onBreadcrumbClick: t }) => {
8842
8858
  if (!e.length) return null;
8843
8859
  let n = e.at(-1), r = e.slice(0, -1), i = (e, n) => {
8844
8860
  !t || !n.href || (e.preventDefault(), t(n.href, n));
@@ -8881,13 +8897,13 @@ var Mo = {
8881
8897
  })
8882
8898
  })
8883
8899
  });
8884
- }, fl = ({ img: e, size: t = "default" }) => {
8900
+ }, pl = ({ img: e, size: t = "default" }) => {
8885
8901
  let n = {
8886
8902
  default: "h-10 w-auto",
8887
8903
  primary: "h-24 w-auto mb-3",
8888
8904
  parent: "h-10 w-auto opacity-95",
8889
8905
  affiliate: "h-5 w-auto opacity-90 hover:opacity-100 transition"
8890
- }[t], r = Jc(e.src), i = Jc(e.alt), a = e.label ? Jc(e.label) : "", o = e.alt === void 0 || e.alt === null ? a : i, s = Le(r, Le(a || i)) ?? "";
8906
+ }[t], r = Yc(e.src), i = Yc(e.alt), a = e.label ? Yc(e.label) : "", o = e.alt === void 0 || e.alt === null ? a : i, s = Le(r, Le(a || i)) ?? "";
8891
8907
  if (!s) return null;
8892
8908
  let c = /* @__PURE__ */ l(L, {
8893
8909
  src: s,
@@ -8896,22 +8912,22 @@ var Mo = {
8896
8912
  loading: "lazy",
8897
8913
  decoding: "async",
8898
8914
  quality: 90
8899
- }), u = Yc(e.href);
8915
+ }), u = Xc(e.href);
8900
8916
  if (!u) return c;
8901
- let d = Xc(e.href, e.target) ?? "_self";
8917
+ let d = Zc(e.href, e.target) ?? "_self";
8902
8918
  return /* @__PURE__ */ l("a", {
8903
8919
  href: u,
8904
8920
  target: d,
8905
- rel: Zc(e.href, e.rel) ?? (d === "_blank" ? "noreferrer noopener" : void 0),
8921
+ rel: Qc(e.href, e.rel) ?? (d === "_blank" ? "noreferrer noopener" : void 0),
8906
8922
  className: "inline-flex",
8907
8923
  children: c
8908
8924
  });
8909
- }, pl = ({ primaryLogo: e, phoneLine: t, socials: n = [] }) => {
8910
- let r = t ? Jc(t) : "";
8925
+ }, ml = ({ primaryLogo: e, phoneLine: t, socials: n = [] }) => {
8926
+ let r = t ? Yc(t) : "";
8911
8927
  return /* @__PURE__ */ u("div", {
8912
8928
  className: "space-y-6",
8913
8929
  children: [
8914
- /* @__PURE__ */ l(fl, {
8930
+ /* @__PURE__ */ l(pl, {
8915
8931
  img: e,
8916
8932
  size: "primary"
8917
8933
  }),
@@ -8923,7 +8939,7 @@ var Mo = {
8923
8939
  n.length ? /* @__PURE__ */ l("div", {
8924
8940
  className: "flex items-center gap-3 pt-3",
8925
8941
  children: n.map((e) => {
8926
- let t = Jc(e.label), n = Yc(e.href), r = e.iconSrc ? Jc(e.iconSrc) : "";
8942
+ let t = Yc(e.label), n = Xc(e.href), r = e.iconSrc ? Yc(e.iconSrc) : "";
8927
8943
  return n ? /* @__PURE__ */ u("a", {
8928
8944
  href: n,
8929
8945
  "aria-label": t,
@@ -8943,12 +8959,12 @@ var Mo = {
8943
8959
  }) : null
8944
8960
  ]
8945
8961
  });
8946
- }, ml = ({ item: e, variant: t = "default" }) => {
8962
+ }, hl = ({ item: e, variant: t = "default" }) => {
8947
8963
  let n = {
8948
8964
  default: "text-xs mt-4 text-secondary/85 hover:underline",
8949
8965
  mobile: "text-sm text-secondary hover:underline",
8950
8966
  legal: "text-white/80 hover:text-white hover:underline text-xs"
8951
- }[t], r = Jc(e.label), i = Yc(e.href), a = Xc(e.href, e.target) ?? "_self", o = Zc(e.href, e.rel) ?? (a === "_blank" ? "noreferrer noopener" : void 0);
8967
+ }[t], r = Yc(e.label), i = Xc(e.href), a = Zc(e.href, e.target) ?? "_self", o = Qc(e.href, e.rel) ?? (a === "_blank" ? "noreferrer noopener" : void 0);
8952
8968
  return i ? /* @__PURE__ */ l(v, {
8953
8969
  as: "a",
8954
8970
  href: i,
@@ -8962,34 +8978,34 @@ var Mo = {
8962
8978
  className: n,
8963
8979
  children: r
8964
8980
  });
8965
- }, hl = ({ columns: e }) => /* @__PURE__ */ l("div", {
8981
+ }, gl = ({ columns: e }) => /* @__PURE__ */ l("div", {
8966
8982
  className: "w-fit",
8967
8983
  children: /* @__PURE__ */ l("div", {
8968
8984
  className: "grid grid-cols-3 gap-y-8 gap-x-20",
8969
8985
  children: e.map((e, t) => {
8970
- let n = Jc(e.heading);
8986
+ let n = Yc(e.heading);
8971
8987
  return /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(v, {
8972
8988
  variant: "body",
8973
8989
  className: "font-semibold mb-4 text-sm text-secondary",
8974
8990
  children: n
8975
8991
  }), /* @__PURE__ */ l("ul", {
8976
8992
  className: "space-y-2",
8977
- children: e.links.map((e, t) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(ml, { item: e }) }, `${n}-${Jc(e.label)}-${t}`))
8993
+ children: e.links.map((e, t) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(hl, { item: e }) }, `${n}-${Yc(e.label)}-${t}`))
8978
8994
  })] }, `${n}-${t}`);
8979
8995
  })
8980
8996
  })
8981
- }), gl = ({ links: e = [], utilityLink: t, disclaimerLines: n = [], copyrightLine: r }) => {
8982
- let i = r ? Jc(r) : "", a = n.length || i;
8997
+ }), _l = ({ links: e = [], utilityLink: t, disclaimerLines: n = [], copyrightLine: r }) => {
8998
+ let i = r ? Yc(r) : "", a = n.length || i;
8983
8999
  return /* @__PURE__ */ u("div", {
8984
9000
  className: "border-t border-white/15 mt-4 pt-2 space-y-4",
8985
9001
  children: [/* @__PURE__ */ u("div", {
8986
9002
  className: "flex flex-wrap items-center gap-x-5 gap-y-2",
8987
- children: [e.map((e, t) => /* @__PURE__ */ l(ml, {
9003
+ children: [e.map((e, t) => /* @__PURE__ */ l(hl, {
8988
9004
  item: e,
8989
9005
  variant: "legal"
8990
- }, `${Jc(e.label)}-${t}`)), t ? /* @__PURE__ */ l("div", {
9006
+ }, `${Yc(e.label)}-${t}`)), t ? /* @__PURE__ */ l("div", {
8991
9007
  className: "ml-auto",
8992
- children: /* @__PURE__ */ l(ml, {
9008
+ children: /* @__PURE__ */ l(hl, {
8993
9009
  item: t,
8994
9010
  variant: "legal"
8995
9011
  })
@@ -8999,7 +9015,7 @@ var Mo = {
8999
9015
  children: [n.map((e, t) => /* @__PURE__ */ l(v, {
9000
9016
  variant: "standard",
9001
9017
  className: "text-white/70 text-xs leading-relaxed",
9002
- children: Jc(e)
9018
+ children: Yc(e)
9003
9019
  }, t)), i ? /* @__PURE__ */ l(v, {
9004
9020
  variant: "standard",
9005
9021
  className: "text-white/70 text-xs leading-relaxed",
@@ -9007,12 +9023,12 @@ var Mo = {
9007
9023
  }) : null]
9008
9024
  }) : null]
9009
9025
  });
9010
- }, _l = ({ affiliateLogos: e = [], parentLogo: t, phoneLine: n }) => {
9011
- let r = n ? Jc(n) : "";
9026
+ }, vl = ({ affiliateLogos: e = [], parentLogo: t, phoneLine: n }) => {
9027
+ let r = n ? Yc(n) : "";
9012
9028
  if (!e.length && !t && !r) return null;
9013
9029
  let i = t ? /* @__PURE__ */ l("div", {
9014
9030
  className: "ml-6 shrink-0",
9015
- children: /* @__PURE__ */ l(fl, {
9031
+ children: /* @__PURE__ */ l(pl, {
9016
9032
  img: t,
9017
9033
  size: "parent"
9018
9034
  })
@@ -9028,17 +9044,17 @@ var Mo = {
9028
9044
  children: [
9029
9045
  /* @__PURE__ */ l("div", {
9030
9046
  className: "flex flex-wrap items-center gap-x-6 gap-y-3",
9031
- children: e.map((e, t) => /* @__PURE__ */ l(fl, {
9047
+ children: e.map((e, t) => /* @__PURE__ */ l(pl, {
9032
9048
  img: e,
9033
9049
  size: "affiliate"
9034
- }, `${e.label ? Jc(e.label) : ""}|${Jc(e.alt)}|${Yc(e.href)}|${Jc(e.src)}|${t}`))
9050
+ }, `${e.label ? Yc(e.label) : ""}|${Yc(e.alt)}|${Xc(e.href)}|${Yc(e.src)}|${t}`))
9035
9051
  }),
9036
9052
  i,
9037
9053
  a
9038
9054
  ]
9039
9055
  })
9040
9056
  });
9041
- }, vl = ({ brand: e, columns: t, parentLogo: n, phoneLinePlacement: r = "brand", legal: i }) => {
9057
+ }, yl = ({ brand: e, columns: t, parentLogo: n, phoneLinePlacement: r = "brand", legal: i }) => {
9042
9058
  let a = r === "logosBar";
9043
9059
  return /* @__PURE__ */ l("footer", {
9044
9060
  className: "bg-footBackground text-secondary pt-6",
@@ -9050,7 +9066,7 @@ var Mo = {
9050
9066
  children: [
9051
9067
  /* @__PURE__ */ l("div", {
9052
9068
  className: "md:col-span-4",
9053
- children: /* @__PURE__ */ l(pl, { ...a ? {
9069
+ children: /* @__PURE__ */ l(ml, { ...a ? {
9054
9070
  ...e,
9055
9071
  phoneLine: void 0
9056
9072
  } : e })
@@ -9059,13 +9075,13 @@ var Mo = {
9059
9075
  className: "hidden md:col-span-8 md:block",
9060
9076
  children: [/* @__PURE__ */ l("div", {
9061
9077
  className: "flex justify-end",
9062
- children: /* @__PURE__ */ l(hl, { columns: t })
9078
+ children: /* @__PURE__ */ l(gl, { columns: t })
9063
9079
  }), /* @__PURE__ */ l("div", { className: "block col-span-3" })]
9064
9080
  }),
9065
9081
  /* @__PURE__ */ l("div", {
9066
9082
  className: "space-y-2 md:hidden",
9067
9083
  children: t.map((e, t) => {
9068
- let n = Jc(e.heading);
9084
+ let n = Yc(e.heading);
9069
9085
  return /* @__PURE__ */ u("details", {
9070
9086
  className: "border-t border-white/20 py-3",
9071
9087
  children: [/* @__PURE__ */ l("summary", {
@@ -9073,31 +9089,31 @@ var Mo = {
9073
9089
  children: n
9074
9090
  }), /* @__PURE__ */ l("ul", {
9075
9091
  className: "mt-3 space-y-2",
9076
- children: e.links.map((e, t) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(ml, {
9092
+ children: e.links.map((e, t) => /* @__PURE__ */ l("li", { children: /* @__PURE__ */ l(hl, {
9077
9093
  item: e,
9078
9094
  variant: "mobile"
9079
- }) }, `${n}-${Jc(e.label)}-${t}`))
9095
+ }) }, `${n}-${Yc(e.label)}-${t}`))
9080
9096
  })]
9081
9097
  }, `${n}-${t}`);
9082
9098
  })
9083
9099
  })
9084
9100
  ]
9085
9101
  }),
9086
- /* @__PURE__ */ l(_l, {
9102
+ /* @__PURE__ */ l(vl, {
9087
9103
  affiliateLogos: e.affiliateLogos,
9088
9104
  parentLogo: n,
9089
9105
  phoneLine: a ? e.phoneLine : void 0
9090
9106
  }),
9091
- /* @__PURE__ */ l(gl, { ...i })
9107
+ /* @__PURE__ */ l(_l, { ...i })
9092
9108
  ]
9093
9109
  })
9094
9110
  });
9095
- }, yl = (...e) => e.filter(Boolean).join(" "), bl = ({ imageSrc: e, imageAlt: t = "Banner image", children: n, sectionClassName: r = "w-full flex justify-center", bannerClassName: i = "relative h-80 md:h-119.25 w-full max-w-6xl overflow-hidden", imageClassName: a = "h-full w-full object-cover", overlayClassName: o = "absolute inset-0 flex", imageQuality: s = 90 }) => {
9111
+ }, bl = (...e) => e.filter(Boolean).join(" "), xl = ({ imageSrc: e, imageAlt: t = "Banner image", children: n, sectionClassName: r = "w-full flex justify-center", bannerClassName: i = "relative h-80 md:h-119.25 w-full max-w-6xl overflow-hidden", imageClassName: a = "h-full w-full object-cover", overlayClassName: o = "absolute inset-0 flex", imageQuality: s = 90 }) => {
9096
9112
  let c = e?.trim() ? e : "https://picsum.photos/1600/900";
9097
9113
  return /* @__PURE__ */ l("section", {
9098
9114
  className: r,
9099
9115
  children: /* @__PURE__ */ u("div", {
9100
- className: yl("relative", i),
9116
+ className: bl("relative", i),
9101
9117
  children: [/* @__PURE__ */ l(L, {
9102
9118
  src: c,
9103
9119
  alt: t,
@@ -9109,7 +9125,7 @@ var Mo = {
9109
9125
  })]
9110
9126
  })
9111
9127
  });
9112
- }, xl = ({ imageSrc: t, imageAlt: n = "Where to buy", heading: r, productDropdownProps: i, searchInputProps: a, searchButtonLabel: o = "Search", onProductChange: s, onSearchSubmit: c }) => {
9128
+ }, Sl = ({ imageSrc: t, imageAlt: n = "Where to buy", heading: r, productDropdownProps: i, searchInputProps: a, searchButtonLabel: o = "Search", onProductChange: s, onSearchSubmit: c }) => {
9113
9129
  let d = !!i?.options?.length, [f, p] = e.useState(i?.value ?? ""), [m, h] = e.useState(a.value ?? "");
9114
9130
  e.useEffect(() => {
9115
9131
  p(i?.value ?? "");
@@ -9120,7 +9136,7 @@ var Mo = {
9120
9136
  let t = e.target.value;
9121
9137
  p(t), s?.({ productValue: t });
9122
9138
  };
9123
- return /* @__PURE__ */ l(bl, {
9139
+ return /* @__PURE__ */ l(xl, {
9124
9140
  imageSrc: t,
9125
9141
  imageAlt: n,
9126
9142
  bannerClassName: "relative h-80 w-full overflow-hidden md:h-96",
@@ -9170,7 +9186,7 @@ var Mo = {
9170
9186
  })]
9171
9187
  })
9172
9188
  });
9173
- }, Sl = ({ imageSrc: e, imageAlt: t = "Call To Action Hero", heading: n, subheading: r, body: i, eyebrow: a, ctas: o = [] }) => /* @__PURE__ */ l(bl, {
9189
+ }, Cl = ({ imageSrc: e, imageAlt: t = "Call To Action Hero", heading: n, subheading: r, body: i, eyebrow: a, ctas: o = [] }) => /* @__PURE__ */ l(xl, {
9174
9190
  imageSrc: e,
9175
9191
  imageAlt: t,
9176
9192
  sectionClassName: "w-full",
@@ -9183,7 +9199,7 @@ var Mo = {
9183
9199
  eyebrow: a,
9184
9200
  ctas: o
9185
9201
  })
9186
- }), Cl = ({ imageSrc: e, imageAlt: t = "Featured article banner", heading: n, subheading: r, articleCategory: i, ctaLabel: a, onCtaClick: o }) => /* @__PURE__ */ l(bl, {
9202
+ }), wl = ({ imageSrc: e, imageAlt: t = "Featured article banner", heading: n, subheading: r, articleCategory: i, ctaLabel: a, onCtaClick: o }) => /* @__PURE__ */ l(xl, {
9187
9203
  imageSrc: e,
9188
9204
  imageAlt: t,
9189
9205
  sectionClassName: "px-4 md:px-0 md:mx-auto mb-16 md:mb-20 flex w-full max-w-6xl",
@@ -9197,7 +9213,7 @@ var Mo = {
9197
9213
  ctaLabel: a,
9198
9214
  onCtaClick: o
9199
9215
  })
9200
- }), wl = ({ items: e, value: t, onChange: n, renderTab: r, className: c = "", durationMs: d = 700, thicknessClassName: f = "h-[3px]", baselineClassName: p = "h-px" }) => {
9216
+ }), Tl = ({ items: e, value: t, onChange: n, renderTab: r, className: c = "", durationMs: d = 700, thicknessClassName: f = "h-[3px]", baselineClassName: p = "h-px" }) => {
9201
9217
  let m = o(null), h = o([]), [g, _] = s({
9202
9218
  left: 0,
9203
9219
  width: 0
@@ -9273,7 +9289,7 @@ var Mo = {
9273
9289
  ]
9274
9290
  })
9275
9291
  });
9276
- }, Tl = (e) => e.id || e.href || e.label, El = ({ items: e, startIndex: t, desktopVisibleCount: n = e.length, activeIndex: r, setActiveIndex: i, canPrev: a, canNext: o, onPrev: s, onNext: c, loadedIds: d, favoriteIds: f, showFavorites: p = !0, onLoaded: m, onToggleFav: h, onItemClick: g, getItemId: _ = Tl }) => e.length ? /* @__PURE__ */ u("div", {
9292
+ }, El = (e) => e.id || e.href || e.label, Dl = ({ items: e, startIndex: t, desktopVisibleCount: n = e.length, activeIndex: r, setActiveIndex: i, canPrev: a, canNext: o, onPrev: s, onNext: c, loadedIds: d, favoriteIds: f, showFavorites: p = !0, onLoaded: m, onToggleFav: h, onItemClick: g, getItemId: _ = El }) => e.length ? /* @__PURE__ */ u("div", {
9277
9293
  className: "mt-4 relative",
9278
9294
  children: [
9279
9295
  /* @__PURE__ */ l("button", {
@@ -9336,13 +9352,13 @@ var Mo = {
9336
9352
  })
9337
9353
  })
9338
9354
  ]
9339
- }) : null, Dl = 4, Ol = (e) => {
9355
+ }) : null, Ol = 4, kl = (e) => {
9340
9356
  e.forEach((e) => {
9341
9357
  if (!e) return;
9342
9358
  let t = new window.Image();
9343
9359
  t.decoding = "async", t.src = e;
9344
9360
  });
9345
- }, kl = ({ heading: t, body: n, TabsWithColumns: r = [], favoriteIds: i = [], showFavorites: o = !0, onFavoriteToggle: c, onItemClick: d }) => {
9361
+ }, Al = ({ heading: t, body: n, TabsWithColumns: r = [], favoriteIds: i = [], showFavorites: o = !0, onFavoriteToggle: c, onItemClick: d }) => {
9346
9362
  let [f, p] = s(r?.[0]?.label ?? null);
9347
9363
  e.useEffect(() => {
9348
9364
  if (!r?.length) {
@@ -9358,7 +9374,7 @@ var Mo = {
9358
9374
  e.useEffect(() => {
9359
9375
  _(0), b(null);
9360
9376
  }, [f]);
9361
- let x = g > 0, S = g + Dl < h.length, C = () => _((e) => Math.max(0, e - 1)), w = () => _((e) => Math.min(Math.max(h.length - Dl, 0), e + 1)), [T, E] = s(/* @__PURE__ */ new Set()), D = (e) => {
9377
+ let x = g > 0, S = g + Ol < h.length, C = () => _((e) => Math.max(0, e - 1)), w = () => _((e) => Math.min(Math.max(h.length - Ol, 0), e + 1)), [T, E] = s(/* @__PURE__ */ new Set()), D = (e) => {
9362
9378
  E((t) => {
9363
9379
  if (t.has(e)) return t;
9364
9380
  let n = new Set(t);
@@ -9368,7 +9384,7 @@ var Mo = {
9368
9384
  e.useEffect(() => {
9369
9385
  E(/* @__PURE__ */ new Set());
9370
9386
  }, [f]), e.useEffect(() => {
9371
- Ol(h.slice(g, g + Dl * 2).map((e) => e.source).filter(Boolean));
9387
+ kl(h.slice(g, g + Ol * 2).map((e) => e.source).filter(Boolean));
9372
9388
  }, [h, g]);
9373
9389
  let O = e.useMemo(() => new Set(i), [i]);
9374
9390
  return /* @__PURE__ */ l("section", {
@@ -9394,16 +9410,16 @@ var Mo = {
9394
9410
  })
9395
9411
  }) : null, /* @__PURE__ */ u("div", {
9396
9412
  className: "mx-auto w-full px-4 md:px-0",
9397
- children: [/* @__PURE__ */ l(wl, {
9413
+ children: [/* @__PURE__ */ l(Tl, {
9398
9414
  items: m,
9399
9415
  value: f ?? m[0]?.label ?? "",
9400
9416
  onChange: (e) => p(e),
9401
9417
  className: "mb-2",
9402
9418
  durationMs: 700
9403
- }), /* @__PURE__ */ l(El, {
9419
+ }), /* @__PURE__ */ l(Dl, {
9404
9420
  items: h,
9405
9421
  startIndex: g,
9406
- desktopVisibleCount: Dl,
9422
+ desktopVisibleCount: Ol,
9407
9423
  activeIndex: y,
9408
9424
  setActiveIndex: b,
9409
9425
  canPrev: x,
@@ -9424,16 +9440,16 @@ var Mo = {
9424
9440
  })
9425
9441
  })
9426
9442
  });
9427
- }, Al = (e) => e === 1 ? "md:grid-cols-1" : e === 2 ? "md:grid-cols-2" : "md:grid-cols-3", jl = (e, t) => e === "vertical" && t === 2 ? "grid-cols-2" : e === "vertical" && t === 3 ? "grid-cols-3" : "grid-cols-1", Ml = (e) => e === "underBanner" ? "mt-10 md:mt-16" : "", Nl = ({ title: e, body: t, cards: n = [], spacing: r = "default", footerBlurb: i, footerButtonLabel: a, footerButtonHref: o, onFooterButtonClick: s }) => {
9443
+ }, jl = (e) => e === 1 ? "md:grid-cols-1" : e === 2 ? "md:grid-cols-2" : "md:grid-cols-3", Ml = (e, t) => e === "vertical" && t === 2 ? "grid-cols-2" : e === "vertical" && t === 3 ? "grid-cols-3" : "grid-cols-1", Nl = (e) => e === "underBanner" ? "mt-10 md:mt-16" : "", Pl = ({ title: e, body: t, cards: n = [], spacing: r = "default", footerBlurb: i, footerButtonLabel: a, footerButtonHref: o, onFooterButtonClick: s }) => {
9428
9444
  if (!n.length && !e && !t && !i && !a) return null;
9429
9445
  let c = () => {
9430
9446
  a && s?.({
9431
9447
  buttonLabel: a,
9432
9448
  buttonHref: o
9433
9449
  });
9434
- }, d = Al(n.length), f = jl(n[0]?.cardStyle, n.length);
9450
+ }, d = jl(n.length), f = Ml(n[0]?.cardStyle, n.length);
9435
9451
  return /* @__PURE__ */ l("section", {
9436
- className: `flex justify-center ${Ml(r)}`,
9452
+ className: `flex justify-center ${Nl(r)}`,
9437
9453
  children: /* @__PURE__ */ u("div", {
9438
9454
  className: "w-full max-w-6xl px-4 mb-16 md:mb-20 md:px-0",
9439
9455
  children: [
@@ -9474,7 +9490,7 @@ var Mo = {
9474
9490
  ]
9475
9491
  })
9476
9492
  });
9477
- }, Pl = ({ heading: e, body: t, cards: n, className: r = "" }) => /* @__PURE__ */ l("section", {
9493
+ }, Fl = ({ heading: e, body: t, cards: n, className: r = "" }) => /* @__PURE__ */ l("section", {
9478
9494
  className: `w-full bg-white ${r}`,
9479
9495
  children: /* @__PURE__ */ u("div", {
9480
9496
  className: "mx-auto max-w-6xl mb-16 md:mb-30 px-4 md:px-0",
@@ -9495,7 +9511,7 @@ var Mo = {
9495
9511
  children: n.map((e, t) => /* @__PURE__ */ l(ac, { ...e }, `${e.title}-${t}`))
9496
9512
  })]
9497
9513
  })
9498
- }), Fl = ({ title: e = "Sample Order Summary", items: t, sampleCountLabel: n, note: r = "No payment is required for sample requests." }) => {
9514
+ }), Il = ({ title: e = "Sample Order Summary", items: t, sampleCountLabel: n, note: r = "No payment is required for sample requests." }) => {
9499
9515
  let i = n ?? `${t.length} ${t.length === 1 ? "sample" : "samples"}`;
9500
9516
  return /* @__PURE__ */ u("aside", {
9501
9517
  className: "rounded-lg border border-secondaryActive bg-white p-6",
@@ -9557,7 +9573,7 @@ var Mo = {
9557
9573
  hasError: r,
9558
9574
  ...s
9559
9575
  })]
9560
- }), Il = ({ title: e = "Personal & Project Information", idPrefix: t = "salesforce-customer", firstName: n = "", lastName: r = "", profession: i = "", companyName: a = "", projectType: o = "", projectSquareMetres: s = "", projectName: c = "", projectDetails: d = "", phoneNumber: f = "", email: p = "", confirmEmail: m = "", firstNamePlaceholder: h = "First Name*", lastNamePlaceholder: g = "Last Name*", professionPlaceholder: _ = "Profession*", companyNamePlaceholder: y = "Company Name*", projectTypePlaceholder: b = "Project Type", projectSquareMetresPlaceholder: x = "Project Square Metres", projectNamePlaceholder: S = "Project Name", projectDetailsPlaceholder: C = "Project Details", phoneNumberPlaceholder: w = "Phone Number*", emailPlaceholder: T = "Email*", confirmEmailPlaceholder: E = "Confirm Email*", professionOptions: D = [], projectTypeOptions: O = [], projectSquareMetresOptions: k = [], errors: A = {}, onFirstNameChange: j, onLastNameChange: M, onProfessionChange: N, onCompanyNameChange: P, onProjectTypeChange: F, onProjectSquareMetresChange: I, onProjectNameChange: L, onProjectDetailsChange: R, onPhoneNumberChange: z, onEmailChange: B, onConfirmEmailChange: V }) => /* @__PURE__ */ u("section", {
9576
+ }), Ll = ({ title: e = "Personal & Project Information", idPrefix: t = "salesforce-customer", firstName: n = "", lastName: r = "", profession: i = "", companyName: a = "", projectType: o = "", projectSquareMetres: s = "", projectName: c = "", projectDetails: d = "", phoneNumber: f = "", email: p = "", confirmEmail: m = "", firstNamePlaceholder: h = "First Name*", lastNamePlaceholder: g = "Last Name*", professionPlaceholder: _ = "Profession*", companyNamePlaceholder: y = "Company Name*", projectTypePlaceholder: b = "Project Type", projectSquareMetresPlaceholder: x = "Project Square Metres", projectNamePlaceholder: S = "Project Name", projectDetailsPlaceholder: C = "Project Details", phoneNumberPlaceholder: w = "Phone Number*", emailPlaceholder: T = "Email*", confirmEmailPlaceholder: E = "Confirm Email*", professionOptions: D = [], projectTypeOptions: O = [], projectSquareMetresOptions: k = [], errors: A = {}, onFirstNameChange: j, onLastNameChange: M, onProfessionChange: N, onCompanyNameChange: P, onProjectTypeChange: F, onProjectSquareMetresChange: I, onProjectNameChange: L, onProjectDetailsChange: R, onPhoneNumberChange: z, onEmailChange: B, onConfirmEmailChange: V }) => /* @__PURE__ */ u("section", {
9561
9577
  className: "flex flex-col gap-6",
9562
9578
  children: [/* @__PURE__ */ l(v, {
9563
9579
  as: "h2",
@@ -9683,17 +9699,17 @@ var Mo = {
9683
9699
  })
9684
9700
  ]
9685
9701
  })]
9686
- }), Ll = (e, t, n) => Math.max(t, Math.min(n, e)), Rl = (e) => ["h-12 w-12 border-secondaryActive!", e ? "text-primary! hover:text-accent!" : "border-secondaryHover! text-tertiary!"].join(" "), zl = ({ initialQuantity: t = 1, minQuantity: n = 1, maxQuantity: r = 99, onAddToWishlist: i, onAddToCart: a, onQuantityChange: o, wishlistLabel: s = "Add To Wishlist", cartLabel: d = "Add to Cart", decreaseQuantityLabel: f = "Decrease quantity", increaseQuantityLabel: p = "Increase quantity", showFavorites: m = !0, className: h = "" }) => {
9687
- let [g, _] = e.useState(() => Ll(t, n, r));
9702
+ }), Rl = (e, t, n) => Math.max(t, Math.min(n, e)), zl = (e) => ["h-12 w-12 border-secondaryActive!", e ? "text-primary! hover:text-accent!" : "border-secondaryHover! text-tertiary!"].join(" "), Bl = ({ initialQuantity: t = 1, minQuantity: n = 1, maxQuantity: r = 99, onAddToWishlist: i, onAddToCart: a, onQuantityChange: o, wishlistLabel: s = "Add To Wishlist", cartLabel: d = "Add to Cart", decreaseQuantityLabel: f = "Decrease quantity", increaseQuantityLabel: p = "Increase quantity", showFavorites: m = !0, className: h = "" }) => {
9703
+ let [g, _] = e.useState(() => Rl(t, n, r));
9688
9704
  e.useEffect(() => {
9689
- _(Ll(t, n, r));
9705
+ _(Rl(t, n, r));
9690
9706
  }, [
9691
9707
  t,
9692
9708
  n,
9693
9709
  r
9694
9710
  ]);
9695
9711
  let y = (e) => {
9696
- let t = Ll(e, n, r);
9712
+ let t = Rl(e, n, r);
9697
9713
  _(t), o?.(t);
9698
9714
  }, b = () => y(g - 1), x = () => y(g + 1), S = g > n, C = g < r, w = () => a(g), T = /* @__PURE__ */ u("div", {
9699
9715
  className: "flex shrink-0 items-stretch gap-3",
@@ -9707,7 +9723,7 @@ var Mo = {
9707
9723
  type: "button",
9708
9724
  disabled: !S,
9709
9725
  onClick: b,
9710
- className: Rl(S)
9726
+ className: zl(S)
9711
9727
  }),
9712
9728
  /* @__PURE__ */ l("div", {
9713
9729
  className: "flex min-w-10 items-center justify-center",
@@ -9726,7 +9742,7 @@ var Mo = {
9726
9742
  type: "button",
9727
9743
  disabled: !C,
9728
9744
  onClick: x,
9729
- className: Rl(C)
9745
+ className: zl(C)
9730
9746
  })
9731
9747
  ]
9732
9748
  }), E = /* @__PURE__ */ l(P, {
@@ -9769,7 +9785,7 @@ var Mo = {
9769
9785
  })]
9770
9786
  })
9771
9787
  });
9772
- }, Bl = ({ heading: e, items: t, value: n, onChange: r }) => {
9788
+ }, Vl = ({ heading: e, items: t, value: n, onChange: r }) => {
9773
9789
  if (!t?.length) return null;
9774
9790
  let i = (e) => {
9775
9791
  e.disabled || r(e.value, e);
@@ -9802,7 +9818,7 @@ var Mo = {
9802
9818
  }, e.id))
9803
9819
  })]
9804
9820
  });
9805
- }, Vl = (e) => {
9821
+ }, Hl = (e) => {
9806
9822
  let { title: t, decor: n, description: r, colourMatching: i, colourMatchingLabel: a, patternRepeat: o, onDownloadSwatch: s, onDownloadFullSheet: c, downloadSwatchLabel: d = "Download Swatch", downloadFullSheetLabel: f = "Download Full Sheet", tabs: p = ["Sample", "Buy Now"], tabLabels: m, labels: h, activeTab: g, onTabChange: _, productOptions: y = [], gradeOptions: b = [], textureOptions: x = [], sizeOptions: S = [], selectedProduct: C, selectedGrade: w, selectedTexture: T, selectedSize: E, onQuantityChange: D, availabilityHref: O, availabilityLabel: k = "View full product availability and information", notReturnableText: A = "This item is not returnable.", returnPolicyHref: j, returnPolicyLabel: M = "View return policy", onPurchaseInfoLinkClick: N, priceLabel: F, initialQuantity: I = 1, minQuantity: L = 1, maxQuantity: R = 99, showCartActions: z = !0, showFavorites: B = !0, actionMode: V = "cart", contactActions: ee, onAddToWishlist: te, onAddToCart: ne, onContactActionClick: re, mobileMediaSlot: ie } = e, ae = p.map((e) => ({
9807
9823
  label: m?.[e] ?? e,
9808
9824
  value: e
@@ -9878,7 +9894,7 @@ var Mo = {
9878
9894
  }) : null,
9879
9895
  U ? /* @__PURE__ */ l("div", {
9880
9896
  className: "mb-5",
9881
- children: /* @__PURE__ */ l(wl, {
9897
+ children: /* @__PURE__ */ l(Tl, {
9882
9898
  items: ae,
9883
9899
  value: g,
9884
9900
  onChange: _,
@@ -9901,7 +9917,7 @@ var Mo = {
9901
9917
  variant: "bold",
9902
9918
  className: "mb-2 text-sm md:text-base md:font-medium!",
9903
9919
  children: [h?.product ?? "Product", ":"]
9904
- }), /* @__PURE__ */ l(Bl, {
9920
+ }), /* @__PURE__ */ l(Vl, {
9905
9921
  items: y,
9906
9922
  value: C ?? void 0,
9907
9923
  onChange: W(y)
@@ -9911,7 +9927,7 @@ var Mo = {
9911
9927
  variant: "bold",
9912
9928
  className: "mb-2 text-sm md:text-base md:font-medium!",
9913
9929
  children: [h?.grade ?? "Grade", ":"]
9914
- }), /* @__PURE__ */ l(Bl, {
9930
+ }), /* @__PURE__ */ l(Vl, {
9915
9931
  items: b,
9916
9932
  value: w ?? void 0,
9917
9933
  onChange: W(b)
@@ -9921,7 +9937,7 @@ var Mo = {
9921
9937
  variant: "bold",
9922
9938
  className: "mb-2 text-sm md:text-base md:font-medium!",
9923
9939
  children: [h?.texture ?? "Texture", ":"]
9924
- }), /* @__PURE__ */ l(Bl, {
9940
+ }), /* @__PURE__ */ l(Vl, {
9925
9941
  items: x,
9926
9942
  value: T ?? void 0,
9927
9943
  onChange: W(x)
@@ -9931,7 +9947,7 @@ var Mo = {
9931
9947
  variant: "bold",
9932
9948
  className: "mb-2 text-sm md:text-base md:font-medium!",
9933
9949
  children: [h?.size ?? "Size", ":"]
9934
- }), /* @__PURE__ */ l(Bl, {
9950
+ }), /* @__PURE__ */ l(Vl, {
9935
9951
  items: S,
9936
9952
  value: E ?? void 0,
9937
9953
  onChange: W(S)
@@ -9965,7 +9981,7 @@ var Mo = {
9965
9981
  }) : null
9966
9982
  ]
9967
9983
  }),
9968
- H ? /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(zl, {
9984
+ H ? /* @__PURE__ */ l("div", { children: /* @__PURE__ */ l(Bl, {
9969
9985
  initialQuantity: I,
9970
9986
  minQuantity: L,
9971
9987
  maxQuantity: R,
@@ -10003,16 +10019,16 @@ var Mo = {
10003
10019
  })
10004
10020
  }) : null]
10005
10021
  });
10006
- }, Hl = (e, t) => Math.max(0, Math.min(e, t - 1)), Ul = ({ items: t, initialIndex: n = 0, loop: r = !0, showArrows: i = !0, arrowPosition: a = "sides", onSelect: o, renderItem: s, className: d = "", trackClassName: f = "", ariaLabel: p = "Carousel", header: m }) => {
10007
- let h = t?.length ?? 0, [g, _] = e.useState(() => Hl(n, h || 1)), [v, y] = e.useState(() => Hl(n, h || 1));
10022
+ }, Ul = (e, t) => Math.max(0, Math.min(e, t - 1)), Wl = ({ items: t, initialIndex: n = 0, loop: r = !0, showArrows: i = !0, arrowPosition: a = "sides", onSelect: o, renderItem: s, className: d = "", trackClassName: f = "", ariaLabel: p = "Carousel", header: m }) => {
10023
+ let h = t?.length ?? 0, [g, _] = e.useState(() => Ul(n, h || 1)), [v, y] = e.useState(() => Ul(n, h || 1));
10008
10024
  if (e.useEffect(() => {
10009
- h > 0 && (_((e) => Hl(e, h)), y((e) => Hl(e, h)));
10025
+ h > 0 && (_((e) => Ul(e, h)), y((e) => Ul(e, h)));
10010
10026
  }, [h]), h === 0) return null;
10011
10027
  let b = (e) => {
10012
- let n = Hl(e, h);
10028
+ let n = Ul(e, h);
10013
10029
  _(n), o?.(n, t[n]);
10014
10030
  }, x = (e) => {
10015
- y(r ? (e + h) % h : Hl(e, h));
10031
+ y(r ? (e + h) % h : Ul(e, h));
10016
10032
  }, C = () => x(v - 1), w = () => x(v + 1), T = h > 1, E = i && T && a === "top-right", D = i && T && a === "sides";
10017
10033
  return /* @__PURE__ */ u("div", {
10018
10034
  className: ["relative w-full", d].join(" "),
@@ -10105,25 +10121,25 @@ var Mo = {
10105
10121
  })
10106
10122
  ]
10107
10123
  });
10108
- }, Wl = (e, t) => Math.max(0, Math.min(e, t - 1)), Gl = (e) => typeof e == "string" ? e.replace(/^http:\/\//i, "https://") : "", Kl = ({ slides: t, initialIndex: n = 0, text: r, fallbackImage: i }) => {
10124
+ }, Gl = (e, t) => Math.max(0, Math.min(e, t - 1)), Kl = (e) => typeof e == "string" ? e.replace(/^http:\/\//i, "https://") : "", ql = ({ slides: t, initialIndex: n = 0, text: r, fallbackImage: i }) => {
10109
10125
  let a = t ?? [], o = i ? {
10110
10126
  id: "fallback-image",
10111
10127
  image: i
10112
10128
  } : null, s = a;
10113
10129
  !s.length && o && (s = [o]);
10114
- let c = s.length, [d, f] = e.useState(() => Wl(n, c || 1)), [p, m] = e.useState(() => /* @__PURE__ */ new Set());
10130
+ let c = s.length, [d, f] = e.useState(() => Gl(n, c || 1)), [p, m] = e.useState(() => /* @__PURE__ */ new Set());
10115
10131
  if (e.useEffect(() => {
10116
- c > 0 && f((e) => Wl(e, c));
10132
+ c > 0 && f((e) => Gl(e, c));
10117
10133
  }, [c]), c === 0) return null;
10118
10134
  let h = s[d];
10119
10135
  if (!h?.image?.src && !i?.src) return null;
10120
- let g = (e, t) => (!e || p.has(e) || p.has(Gl(e))) && i?.src ? i : {
10136
+ let g = (e, t) => (!e || p.has(e) || p.has(Kl(e))) && i?.src ? i : {
10121
10137
  src: e ?? "",
10122
10138
  alt: t ?? ""
10123
- }, _ = g(h?.image?.src, h?.image?.alt), y = Gl(_.src), b = _.alt ?? "", x = (e) => {
10139
+ }, _ = g(h?.image?.src, h?.image?.alt), y = Kl(_.src), b = _.alt ?? "", x = (e) => {
10124
10140
  !e || i?.src === e || m((t) => {
10125
10141
  let n = new Set(t);
10126
- return n.add(e), n.add(Gl(e)), n;
10142
+ return n.add(e), n.add(Kl(e)), n;
10127
10143
  });
10128
10144
  };
10129
10145
  return /* @__PURE__ */ u("section", {
@@ -10143,7 +10159,7 @@ var Mo = {
10143
10159
  }),
10144
10160
  /* @__PURE__ */ l("div", {
10145
10161
  className: "mt-4",
10146
- children: /* @__PURE__ */ l(Ul, {
10162
+ children: /* @__PURE__ */ l(Wl, {
10147
10163
  items: s,
10148
10164
  initialIndex: d,
10149
10165
  loop: !0,
@@ -10151,7 +10167,7 @@ var Mo = {
10151
10167
  ariaLabel: "Thumbnail carousel",
10152
10168
  onSelect: (e) => f(e),
10153
10169
  renderItem: ({ item: e, isActive: t, select: n, index: r }) => {
10154
- let i = g(e.thumbnail?.src ?? e.image?.src, e.thumbnail?.alt ?? e.image?.alt), a = Gl(i.src), o = i.alt ?? "";
10170
+ let i = g(e.thumbnail?.src ?? e.image?.src, e.thumbnail?.alt ?? e.image?.alt), a = Kl(i.src), o = i.alt ?? "";
10155
10171
  return a ? /* @__PURE__ */ l("button", {
10156
10172
  type: "button",
10157
10173
  onClick: n,
@@ -10189,7 +10205,7 @@ var Mo = {
10189
10205
  })
10190
10206
  ]
10191
10207
  });
10192
- }, ql = ({ carousel: e }) => {
10208
+ }, Jl = ({ carousel: e }) => {
10193
10209
  let t = !!e?.slides?.length, n = e?.fallbackImage;
10194
10210
  if (!t && !n?.src) return /* @__PURE__ */ l("div", {
10195
10211
  className: "w-full min-h-96",
@@ -10198,30 +10214,30 @@ var Mo = {
10198
10214
  let { slides: r = [], initialIndex: i = 0, text: a } = e ?? {};
10199
10215
  return /* @__PURE__ */ l("div", {
10200
10216
  className: "w-full h-full min-h-0 md:min-h-96",
10201
- children: /* @__PURE__ */ l(Kl, {
10217
+ children: /* @__PURE__ */ l(ql, {
10202
10218
  slides: r,
10203
10219
  initialIndex: i,
10204
10220
  text: a,
10205
10221
  fallbackImage: n
10206
10222
  })
10207
10223
  });
10208
- }, Jl = (e) => {
10224
+ }, Yl = (e) => {
10209
10225
  let t = e.find((e) => e.active);
10210
10226
  if (t) return t.value ?? t.id ?? null;
10211
10227
  let n = e[0];
10212
10228
  return n ? n.value ?? n.id ?? null : null;
10213
- }, Yl = (e, t) => !!(t && e.some((e) => (e.value ?? e.id) === t)), Xl = (e) => {
10229
+ }, Xl = (e, t) => !!(t && e.some((e) => (e.value ?? e.id) === t)), Zl = (e) => {
10214
10230
  let t = /* @__PURE__ */ new Set();
10215
10231
  return e.reduce((e, n) => !n.value || t.has(n.value) ? e : (t.add(n.value), e.push({
10216
10232
  id: n.value,
10217
10233
  value: n.value,
10218
10234
  label: n.label || n.value
10219
10235
  }), e), []);
10220
- }, Zl = (e, t) => !e || !t ? null : `${e}x${t}`, Ql = (e, t, n) => Math.max(t, Math.min(n, e)), $l = (e, t = "USD") => new Intl.NumberFormat("en-US", {
10236
+ }, Ql = (e, t) => !e || !t ? null : `${e}x${t}`, $l = (e, t, n) => Math.max(t, Math.min(n, e)), eu = (e, t = "USD") => new Intl.NumberFormat("en-US", {
10221
10237
  style: "currency",
10222
10238
  currency: t
10223
- }).format(e), eu = (e) => !!e?.length, tu = (e, t) => eu(e) && eu(t), nu = (e = []) => e.some((e) => !!e.sku && !!e.rangeId && !!e.grade && !!e.texture && !!e.widthIn && !!e.lengthIn), ru = (t) => {
10224
- let { sku: n, decor: r, title: i, description: a, colourMatching: o, colourMatchingLabel: s, patternRepeat: c, onDownloadSwatch: d, onDownloadFullSheet: f, downloadSwatchLabel: p, downloadFullSheetLabel: m, carousel: h, tabs: g = ["Sample", "Buy Now"], tabLabels: _, labels: v, initialTab: y = "Sample", tabOptions: b, productOptions: x = [], sizeOptions: S = [], variants: C = [], currency: w, initialQuantity: T = 1, minQuantity: E = 1, maxQuantity: D = 99, showFavorites: O = !0, actionMode: k = "cart", contactActions: A, onAddToWishlist: j, onAddToCart: M, onContactActionClick: N, availabilityHref: P, availabilityLabel: F = "View full product availability and information", returnPolicyHref: I, returnPolicyLabel: L = "View return policy", notReturnableText: R = "This item is not returnable.", onPurchaseInfoLinkClick: z } = t, B = Array.isArray(g) && g.length ? g : ["Sample", "Buy Now"], V = b?.Sample, ee = b?.["Buy Now"], te = V?.productOptions ?? x ?? [], ne = V?.sizeOptions ?? S ?? [], re = ee?.productOptions ?? x ?? [], ie = tu(te, ne), ae = eu(re) && nu(C), H = B.filter((e) => e === "Sample" ? ie : e === "Buy Now" ? ae : !0), oe = H[0] ?? "Sample", [U, W] = e.useState(H.includes(y) ? y : oe);
10239
+ }).format(e), tu = (e) => !!e?.length, nu = (e, t) => tu(e) && tu(t), ru = (e = []) => e.some((e) => !!e.sku && !!e.rangeId && !!e.grade && !!e.texture && !!e.widthIn && !!e.lengthIn), iu = (t) => {
10240
+ let { sku: n, decor: r, title: i, description: a, colourMatching: o, colourMatchingLabel: s, patternRepeat: c, onDownloadSwatch: d, onDownloadFullSheet: f, downloadSwatchLabel: p, downloadFullSheetLabel: m, carousel: h, tabs: g = ["Sample", "Buy Now"], tabLabels: _, labels: v, initialTab: y = "Sample", tabOptions: b, productOptions: x = [], sizeOptions: S = [], variants: C = [], currency: w, initialQuantity: T = 1, minQuantity: E = 1, maxQuantity: D = 99, showFavorites: O = !0, actionMode: k = "cart", contactActions: A, onAddToWishlist: j, onAddToCart: M, onContactActionClick: N, availabilityHref: P, availabilityLabel: F = "View full product availability and information", returnPolicyHref: I, returnPolicyLabel: L = "View return policy", notReturnableText: R = "This item is not returnable.", onPurchaseInfoLinkClick: z } = t, B = Array.isArray(g) && g.length ? g : ["Sample", "Buy Now"], V = b?.Sample, ee = b?.["Buy Now"], te = V?.productOptions ?? x ?? [], ne = V?.sizeOptions ?? S ?? [], re = ee?.productOptions ?? x ?? [], ie = nu(te, ne), ae = tu(re) && ru(C), H = B.filter((e) => e === "Sample" ? ie : e === "Buy Now" ? ae : !0), oe = H[0] ?? "Sample", [U, W] = e.useState(H.includes(y) ? y : oe);
10225
10241
  e.useEffect(() => {
10226
10242
  if (!H.length) {
10227
10243
  W("Sample");
@@ -10234,37 +10250,37 @@ var Mo = {
10234
10250
  oe
10235
10251
  ]);
10236
10252
  let G = b?.[U], se = !!G, ce = G?.minQuantity ?? E, le = G?.maxQuantity ?? D, ue = G?.productOptions ?? (se ? [] : x) ?? [], de = U === "Buy Now", [fe, pe] = e.useState(() => ({
10237
- product: Jl(ue),
10253
+ product: Yl(ue),
10238
10254
  grade: null,
10239
10255
  texture: null,
10240
10256
  size: null
10241
- })), K = e.useRef(!1), me = Yl(ue, fe.product) ? fe.product : Jl(ue), he = de && me ? C.filter((e) => e.rangeId === me) : [], q = Xl(he.map((e) => ({
10257
+ })), K = e.useRef(!1), me = Xl(ue, fe.product) ? fe.product : Yl(ue), he = de && me ? C.filter((e) => e.rangeId === me) : [], q = Zl(he.map((e) => ({
10242
10258
  value: e.grade,
10243
10259
  label: e.grade
10244
- }))), ge = de ? q : G?.gradeOptions ?? [], _e = Yl(ge, fe.grade) ? fe.grade : Jl(ge), ve = _e ? he.filter((e) => e.grade === _e) : he, ye = Xl(ve.map((e) => ({
10260
+ }))), ge = de ? q : G?.gradeOptions ?? [], _e = Xl(ge, fe.grade) ? fe.grade : Yl(ge), ve = _e ? he.filter((e) => e.grade === _e) : he, ye = Zl(ve.map((e) => ({
10245
10261
  value: e.texture,
10246
10262
  label: e.finish || e.texture
10247
- }))), be = de ? ye : G?.textureOptions ?? [], xe = Yl(be, fe.texture) ? fe.texture : Jl(be), Se = xe ? ve.filter((e) => e.texture === xe) : ve, Ce = new Map((G?.sizeOptions ?? S ?? []).map((e) => [e.value ?? e.id, e.label])), we = Xl(Se.map((e) => {
10248
- let t = Zl(e.widthIn, e.lengthIn) ?? void 0;
10263
+ }))), be = de ? ye : G?.textureOptions ?? [], xe = Xl(be, fe.texture) ? fe.texture : Yl(be), Se = xe ? ve.filter((e) => e.texture === xe) : ve, Ce = new Map((G?.sizeOptions ?? S ?? []).map((e) => [e.value ?? e.id, e.label])), we = Zl(Se.map((e) => {
10264
+ let t = Ql(e.widthIn, e.lengthIn) ?? void 0;
10249
10265
  return {
10250
10266
  value: t,
10251
10267
  label: t ? Ce.get(t) ?? t : void 0
10252
10268
  };
10253
- })), Te = de ? we : G?.sizeOptions ?? (se ? [] : S) ?? [], Ee = Yl(Te, fe.size) ? fe.size : Jl(Te);
10269
+ })), Te = de ? we : G?.sizeOptions ?? (se ? [] : S) ?? [], Ee = Xl(Te, fe.size) ? fe.size : Yl(Te);
10254
10270
  e.useEffect(() => {
10255
10271
  if (!K.current) {
10256
10272
  K.current = !0;
10257
10273
  return;
10258
10274
  }
10259
10275
  pe({
10260
- product: Jl(ue),
10261
- grade: Jl(ge),
10262
- texture: Jl(be),
10263
- size: Jl(Te)
10276
+ product: Yl(ue),
10277
+ grade: Yl(ge),
10278
+ texture: Yl(be),
10279
+ size: Yl(Te)
10264
10280
  });
10265
10281
  }, [U]), e.useEffect(() => {
10266
10282
  pe((e) => {
10267
- let t = e.product && ue.some((t) => (t.value ?? t.id) === e.product) ? e.product : Jl(ue), n = e.grade && ge.some((t) => (t.value ?? t.id) === e.grade) ? e.grade : Jl(ge), r = e.texture && be.some((t) => (t.value ?? t.id) === e.texture) ? e.texture : Jl(be), i = e.size && Te.some((t) => (t.value ?? t.id) === e.size) ? e.size : Jl(Te);
10283
+ let t = e.product && ue.some((t) => (t.value ?? t.id) === e.product) ? e.product : Yl(ue), n = e.grade && ge.some((t) => (t.value ?? t.id) === e.grade) ? e.grade : Yl(ge), r = e.texture && be.some((t) => (t.value ?? t.id) === e.texture) ? e.texture : Yl(be), i = e.size && Te.some((t) => (t.value ?? t.id) === e.size) ? e.size : Yl(Te);
10268
10284
  return e.product === t && e.grade === n && e.texture === r && e.size === i ? e : {
10269
10285
  product: t,
10270
10286
  grade: n,
@@ -10286,7 +10302,7 @@ var Mo = {
10286
10302
  texture: xe,
10287
10303
  size: Ee
10288
10304
  }, t = C.filter((t) => {
10289
- let n = Zl(t.widthIn, t.lengthIn);
10305
+ let n = Ql(t.widthIn, t.lengthIn);
10290
10306
  return (t.rangeId ?? null) === e.product && (t.grade ?? null) === e.grade && (t.texture ?? null) === e.texture && n === e.size;
10291
10307
  });
10292
10308
  return t.length ? t.find((e) => e.isWebEnabled) ?? t[0] ?? null : null;
@@ -10297,9 +10313,9 @@ var Mo = {
10297
10313
  _e,
10298
10314
  xe,
10299
10315
  Ee
10300
- ]), Oe = U !== "Buy Now" || !!De, ke = U === "Buy Now" && De ? De.price?.label ?? $l(De.price?.value ?? 0, w) : "", Ae = U === "Buy Now" && De ? De.price?.value ?? 0 : 0, je = U === "Buy Now" ? De?.sku ?? n : n, [Me, Ne] = e.useState(() => Ql(T, ce, le)), Pe = e.useRef(U);
10316
+ ]), Oe = U !== "Buy Now" || !!De, ke = U === "Buy Now" && De ? De.price?.label ?? eu(De.price?.value ?? 0, w) : "", Ae = U === "Buy Now" && De ? De.price?.value ?? 0 : 0, je = U === "Buy Now" ? De?.sku ?? n : n, [Me, Ne] = e.useState(() => $l(T, ce, le)), Pe = e.useRef(U);
10301
10317
  e.useEffect(() => {
10302
- Ne(Ql(T, ce, le));
10318
+ Ne($l(T, ce, le));
10303
10319
  }, [
10304
10320
  T,
10305
10321
  ce,
@@ -10399,7 +10415,7 @@ var Mo = {
10399
10415
  },
10400
10416
  onQuantityChange: (e) => Ne(e),
10401
10417
  onPurchaseInfoLinkClick: z,
10402
- mobileMediaSlot: /* @__PURE__ */ l(ql, { carousel: h })
10418
+ mobileMediaSlot: /* @__PURE__ */ l(Jl, { carousel: h })
10403
10419
  };
10404
10420
  return /* @__PURE__ */ l("section", {
10405
10421
  className: "w-full flex justify-center",
@@ -10409,12 +10425,12 @@ var Mo = {
10409
10425
  className: "grid grid-cols-1 md:grid-cols-2 gap-8",
10410
10426
  children: [/* @__PURE__ */ l("div", {
10411
10427
  className: "hidden md:block",
10412
- children: /* @__PURE__ */ l(ql, { carousel: h })
10413
- }), /* @__PURE__ */ l(Vl, { ...J })]
10428
+ children: /* @__PURE__ */ l(Jl, { carousel: h })
10429
+ }), /* @__PURE__ */ l(Hl, { ...J })]
10414
10430
  })
10415
10431
  })
10416
10432
  });
10417
- }, iu = ({ imageSrc: e, imageAlt: t = "Standard Copy Hero", heading: n, subheading: r, body: i, linkLabel: a, onLinkClick: o }) => /* @__PURE__ */ l(bl, {
10433
+ }, au = ({ imageSrc: e, imageAlt: t = "Standard Copy Hero", heading: n, subheading: r, body: i, linkLabel: a, onLinkClick: o }) => /* @__PURE__ */ l(xl, {
10418
10434
  imageSrc: e,
10419
10435
  imageAlt: t,
10420
10436
  bannerClassName: "relative h-80 md:h-119.25 w-full mb-10 md:mb-16 overflow-hidden",
@@ -10429,7 +10445,7 @@ var Mo = {
10429
10445
  onLinkClick: o
10430
10446
  })
10431
10447
  })
10432
- }), au = ({ categoryText: e, imageSrc: t, imageAlt: n = "Article Header", tags: r = [], onTagClick: i }) => /* @__PURE__ */ l(bl, {
10448
+ }), ou = ({ categoryText: e, imageSrc: t, imageAlt: n = "Article Header", tags: r = [], onTagClick: i }) => /* @__PURE__ */ l(xl, {
10433
10449
  imageSrc: t,
10434
10450
  imageAlt: n,
10435
10451
  sectionClassName: "w-full",
@@ -10440,7 +10456,7 @@ var Mo = {
10440
10456
  tags: r,
10441
10457
  onTagClick: i
10442
10458
  })
10443
- }), ou = ({ slides: t, initialIndex: n = 0, ...r }) => {
10459
+ }), su = ({ slides: t, initialIndex: n = 0, ...r }) => {
10444
10460
  let [i, a] = e.useState(n);
10445
10461
  if (e.useEffect(() => {
10446
10462
  a(n);
@@ -10470,7 +10486,7 @@ var Mo = {
10470
10486
  ]
10471
10487
  })
10472
10488
  });
10473
- }, su = (e) => {
10489
+ }, cu = (e) => {
10474
10490
  let { imageSrc: t = "", imageAlt: n = "" } = e;
10475
10491
  return /* @__PURE__ */ l("section", {
10476
10492
  className: "h-56 w-full overflow-hidden md:h-190",
@@ -10481,10 +10497,7 @@ var Mo = {
10481
10497
  quality: 90
10482
10498
  })
10483
10499
  });
10484
- }, cu = ({ html: e = "", className: t = "" }) => e ? /* @__PURE__ */ l("div", {
10485
- className: `html-block ${t}`,
10486
- dangerouslySetInnerHTML: { __html: e }
10487
- }) : null, lu = {
10500
+ }, lu = {
10488
10501
  left: "text-left",
10489
10502
  center: "text-center",
10490
10503
  right: "text-right"
@@ -10514,7 +10527,7 @@ var Mo = {
10514
10527
  className: `${f} text-primary mb-4`,
10515
10528
  children: i
10516
10529
  }) : null,
10517
- a ? /* @__PURE__ */ l(cu, {
10530
+ a ? /* @__PURE__ */ l(Vc, {
10518
10531
  html: a,
10519
10532
  className: f
10520
10533
  }) : null
@@ -10554,7 +10567,7 @@ var Mo = {
10554
10567
  className: "mt-4 text-primary",
10555
10568
  children: t
10556
10569
  })]
10557
- }) : null, /* @__PURE__ */ l(Ul, {
10570
+ }) : null, /* @__PURE__ */ l(Wl, {
10558
10571
  items: i,
10559
10572
  ariaLabel: e,
10560
10573
  arrowPosition: "top-right",
@@ -11508,7 +11521,7 @@ var Mo = {
11508
11521
  return /* @__PURE__ */ u("div", {
11509
11522
  className: "flex w-full flex-col gap-8",
11510
11523
  children: [
11511
- /* @__PURE__ */ l(Hc, {
11524
+ /* @__PURE__ */ l(Uc, {
11512
11525
  ariaLabel: n?.modeAriaLabel ?? "Login mode",
11513
11526
  layoutVariant: "equalWidth",
11514
11527
  items: k,
@@ -11742,7 +11755,7 @@ var Mo = {
11742
11755
  "aria-label": "Customer account sections",
11743
11756
  children: /* @__PURE__ */ l("div", {
11744
11757
  role: "tablist",
11745
- children: /* @__PURE__ */ l(wl, {
11758
+ children: /* @__PURE__ */ l(Tl, {
11746
11759
  items: n.map((e) => ({
11747
11760
  label: e.label,
11748
11761
  value: e.id
@@ -11957,7 +11970,7 @@ var Mo = {
11957
11970
  className: "max-w-6xl w-full mx-auto px-4 md:px-6",
11958
11971
  children: /* @__PURE__ */ l("div", {
11959
11972
  className: "flex justify-start",
11960
- children: /* @__PURE__ */ l(wl, {
11973
+ children: /* @__PURE__ */ l(Tl, {
11961
11974
  items: f.map((e) => ({
11962
11975
  label: e.label,
11963
11976
  value: e.value,
@@ -12275,12 +12288,12 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
12275
12288
  children: [/* @__PURE__ */ u("div", {
12276
12289
  className: "flex flex-col gap-4",
12277
12290
  children: [
12278
- t && /* @__PURE__ */ l(dl, { ...t }),
12279
- /* @__PURE__ */ l(ru, { ...oe }),
12291
+ t && /* @__PURE__ */ l(fl, { ...t }),
12292
+ /* @__PURE__ */ l(iu, { ...oe }),
12280
12293
  /* @__PURE__ */ l(id, { ...U }),
12281
12294
  /* @__PURE__ */ l("div", {
12282
12295
  className: "hidden md:block",
12283
- children: x && /* @__PURE__ */ l(iu, {
12296
+ children: x && /* @__PURE__ */ l(au, {
12284
12297
  imageSrc: x.imageSrc ?? "",
12285
12298
  imageAlt: x.imageAlt ?? "",
12286
12299
  heading: x.heading ?? "",
@@ -12327,10 +12340,10 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
12327
12340
  })
12328
12341
  });
12329
12342
  }, hd = ({ standardCopyHeroProps: e, multiButtonBarProps: t, featuredArticleBannerProps: n, featureCardCollectionProps: r }) => /* @__PURE__ */ u(c, { children: [
12330
- /* @__PURE__ */ l(iu, { ...e }),
12343
+ /* @__PURE__ */ l(au, { ...e }),
12331
12344
  /* @__PURE__ */ l(md, { ...t }),
12332
- /* @__PURE__ */ l(Cl, { ...n }),
12333
- /* @__PURE__ */ l(Nl, { ...r })
12345
+ /* @__PURE__ */ l(wl, { ...n }),
12346
+ /* @__PURE__ */ l(Pl, { ...r })
12334
12347
  ] }), gd = (e, t) => e.id ?? [
12335
12348
  e.decorNumber,
12336
12349
  e.title,
@@ -12395,7 +12408,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
12395
12408
  return /* @__PURE__ */ u("section", {
12396
12409
  className: n,
12397
12410
  children: [
12398
- /* @__PURE__ */ l(iu, {
12411
+ /* @__PURE__ */ l(au, {
12399
12412
  ...t.hero,
12400
12413
  onLinkClick: () => r?.(t)
12401
12414
  }),
@@ -12539,7 +12552,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
12539
12552
  })
12540
12553
  }) }, `${e.alt}-${n}`))
12541
12554
  }), Dd = ({ standardCopyHeroProps: e, multiButtonBarProps: t, imageGridProps: n }) => /* @__PURE__ */ u(c, { children: [
12542
- /* @__PURE__ */ l(iu, { ...e }),
12555
+ /* @__PURE__ */ l(au, { ...e }),
12543
12556
  /* @__PURE__ */ l(md, { ...t }),
12544
12557
  /* @__PURE__ */ l(Os, { layoutVariant: "separator" }),
12545
12558
  /* @__PURE__ */ l(Ed, { ...n })
@@ -12569,7 +12582,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
12569
12582
  e.subheading,
12570
12583
  e.body,
12571
12584
  e.linkLabel
12572
- ].some(kd) && /* @__PURE__ */ l(iu, { ...e }),
12585
+ ].some(kd) && /* @__PURE__ */ l(au, { ...e }),
12573
12586
  t && !!t.options?.length && /* @__PURE__ */ l(md, { ...t }),
12574
12587
  n && kd(n.body) && /* @__PURE__ */ l(H, {
12575
12588
  spacing: "section",
@@ -12703,7 +12716,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
12703
12716
  return /* @__PURE__ */ u("section", {
12704
12717
  className: t,
12705
12718
  children: [
12706
- /* @__PURE__ */ l(xl, {
12719
+ /* @__PURE__ */ l(Sl, {
12707
12720
  ...e.banner,
12708
12721
  onProductChange: (t) => n?.(t, e),
12709
12722
  onSearchSubmit: (t) => r?.(t, e)
@@ -12712,7 +12725,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
12712
12725
  spacing: "none",
12713
12726
  className: "mb-8 pt-10",
12714
12727
  innerClassName: "flex justify-center",
12715
- children: /* @__PURE__ */ l(wl, {
12728
+ children: /* @__PURE__ */ l(Tl, {
12716
12729
  className: "w-full",
12717
12730
  items: e.tabs.options.map((e) => ({
12718
12731
  label: e.label,
@@ -13348,7 +13361,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
13348
13361
  /* @__PURE__ */ l(Kd, { ...n }),
13349
13362
  /* @__PURE__ */ l("div", {
13350
13363
  className: "mt-8",
13351
- children: /* @__PURE__ */ l(Fl, { ...r })
13364
+ children: /* @__PURE__ */ l(Il, { ...r })
13352
13365
  }),
13353
13366
  /* @__PURE__ */ l("div", {
13354
13367
  className: "mt-8",
@@ -13400,7 +13413,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
13400
13413
  /* @__PURE__ */ l(Kd, { ...n }),
13401
13414
  /* @__PURE__ */ l("div", {
13402
13415
  className: "mt-8",
13403
- children: /* @__PURE__ */ l(Fl, { ...r })
13416
+ children: /* @__PURE__ */ l(Il, { ...r })
13404
13417
  }),
13405
13418
  /* @__PURE__ */ u("div", {
13406
13419
  className: "mt-8 flex flex-col gap-3 bg-white",
@@ -13427,7 +13440,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
13427
13440
  children: /* @__PURE__ */ u("div", {
13428
13441
  className: "grid w-full grid-cols-1 gap-8 md:grid-cols-2",
13429
13442
  children: [/* @__PURE__ */ u("div", { children: [
13430
- /* @__PURE__ */ l(Il, { ...e }),
13443
+ /* @__PURE__ */ l(Ll, { ...e }),
13431
13444
  /* @__PURE__ */ l("div", {
13432
13445
  className: "mt-8",
13433
13446
  children: /* @__PURE__ */ l(Wd, {
@@ -13444,7 +13457,7 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
13444
13457
  /* @__PURE__ */ l(Kd, { ...r }),
13445
13458
  /* @__PURE__ */ l("div", {
13446
13459
  className: "mt-8",
13447
- children: /* @__PURE__ */ l(Fl, { ...i })
13460
+ children: /* @__PURE__ */ l(Il, { ...i })
13448
13461
  }),
13449
13462
  /* @__PURE__ */ u("div", {
13450
13463
  className: "mt-8 flex flex-wrap items-center gap-x-1 gap-y-2",
@@ -13672,16 +13685,16 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
13672
13685
  })]
13673
13686
  })]
13674
13687
  })]
13675
- }), $d = ({ shippingMethodSelectorProps: e, cartPaymentPanelProps: t, checkoutProgressIndicatorProps: n, cartTotalsPanelProps: r }) => /* @__PURE__ */ l("section", {
13688
+ }), $d = ({ requiresPayment: e = !0, shippingMethodSelectorProps: t, cartPaymentPanelProps: n, checkoutProgressIndicatorProps: r, cartTotalsPanelProps: i }) => /* @__PURE__ */ l("section", {
13676
13689
  className: "w-full flex justify-center mt-10 pb-16",
13677
13690
  children: /* @__PURE__ */ u("div", {
13678
13691
  className: "grid w-full max-w-6xl grid-cols-2 gap-8",
13679
- children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Gd, { ...e }), /* @__PURE__ */ l("div", {
13692
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Gd, { ...t }), e ? /* @__PURE__ */ l("div", {
13680
13693
  className: "mt-8",
13681
- children: /* @__PURE__ */ l(Qd, { ...t })
13682
- })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Kd, { ...n }), /* @__PURE__ */ l("div", {
13694
+ children: /* @__PURE__ */ l(Qd, { ...n })
13695
+ }) : null] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Kd, { ...r }), /* @__PURE__ */ l("div", {
13683
13696
  className: "mt-8",
13684
- children: /* @__PURE__ */ l(Zd, { ...r })
13697
+ children: /* @__PURE__ */ l(Zd, { ...i })
13685
13698
  })] })]
13686
13699
  })
13687
13700
  }), ef = ({ shippingAddressFormProps: t, billingAddressFormProps: n = {}, checkoutProgressIndicatorProps: r, cartTotalsPanelProps: i, billingSectionTitle: a = "Billing Information", sameAsShipping: o = !0, sameAsShippingLabel: s = "My billing address is the same as my shipping address", onSameAsShippingChange: c }) => {
@@ -18325,9 +18338,9 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
18325
18338
  })
18326
18339
  ]
18327
18340
  }),
18328
- /* @__PURE__ */ l(Vc, { ...h })
18341
+ /* @__PURE__ */ l(Hc, { ...h })
18329
18342
  ]
18330
18343
  });
18331
18344
  };
18332
18345
  //#endregion
18333
- export { Ju as AccountAccessPanel, yf as AdminAuthStatusTemplate, Rc as AdminBackgroundJobTray, ff as AdminDashboardTemplate, Df as AdminDataIssuesSourceTemplate, Sf as AdminDataReportTemplate, Nf as AdminImportDataIssuesTemplate, Lf as AdminImportDataReviewTemplate, jf as AdminImportDataSourceTemplate, of as AdminPageTemplateShell, Vf as AdminProductGuidesTemplate, Ko as AdminRegionSelector, jc as AdminSideNav, gf as AdminUsersTemplate, ul as AnnouncementBar, au as ArticleBanner, Js as ArticleBannerContent, hd as ArticleLandingPageTemplate, Ud as BpcsCartConfirmationTemplate, Jd as BpcsCartSamplesTemplate, qd as BpcsCartShippingTemplate, Qc as BrandNavBar, dl as Breadcrumbs, fe as BusinessInfoCard, P as Button, Sl as CallToActionHero, Ys as CallToActionHeroContent, Ns as CarouselArrowControls, Ps as CarouselDots, me as CartItemCard, Td as CategoryPageTemplate, q as ClickableCard, cc as ColourMatchingChart, kl as ColumnBanner, Lo as ColumnCarouselCard, Uu as CommerceSyncPanel, ou as ContentCarousel, H as ContentContainer, W as ContentGrid, Wo as CountrySelector, Kf as CustomerAccountFavoritesTemplate, Xf as CustomerAccountOrderDetailTemplate, Jf as CustomerAccountOrderHistoryTemplate, qf as CustomerAccountSettingsTemplate, Yu as CustomerAccountShell, Tc as CustomerAddressCard, ku as DataReportCollection, we as DecorSummaryCard, Au as DecorSummaryCollection, tc as DocumentInfoCard, Mu as DocumentInfoCollection, nc as DocumentLinkCard, Qf as DocumentResultsTemplate, As as DropdownFilter, ys as DynamicForm, Xd as EcommCartConfirmationTemplate, $d as EcommCartPaymentTemplate, ef as EcommCartShippingTemplate, af as EcommCartSummaryTemplate, B as EmbeddedVideo, ec as EmbeddedVideoCard, rc as FaqCard, hu as FaqCardCollection, Ro as FeatureCard, Nl as FeatureCardCollection, Cl as FeaturedArticleBanner, Xs as FeaturedArticleBannerContent, zo as FeaturedProductCard, pu as FeaturedProductsCarousel, Os as FilterBar, ks as FilterBarButton, le as FlowRow, vl as Footer, v as FormicaText, Dd as GalleryTemplate, S as Icon, L as Image, su as ImageCard, $s as ImageOverlayCard, vu as ImageOverlayGrid, ic as InfoCard, V as Interactive3DViewer, xu as LocalizationMarketCollection, xc as LocalizationStatusCard, Uo as LocationCard, bu as LocationCardCollection, Ru as LocationMap, Fd as LoginTemplate, bf as MarketReadinessBrowseTemplate, Es as MarketReadinessItemSkuSection, qo as MarketReadinessRangeSelector, xf as MarketReadinessRangeTemplate, ve as MarketReadinessSampleCard, Se as MarketReadinessSaveStatusIndicator, be as MarketReadinessSkuCard, ge as MarketReadinessStatusDots, df as MarketReadinessTemplate, Ds as MarketReadinessVariantAvailabilitySection, Jo as MarketReadinessVariantOptions, Bc as Modal, ac as MoreInfoHighlightsCard, Pl as MoreInfoHighlightsCollection, Vc as OptInModal, Dc as OrderDetailHeaderCard, kc as OrderItemDetailCard, Ad as ProResourceTemplate, he as ProductContactActions, pd as ProductDetailPageTemplate, uc as QuantityCheckoutCard, ze as RangeSummaryCard, ju as RangeSummaryCollection, vc as RecentArticleCard, mu as RecentArticleCollection, te as ResilientImage, Yd as SalesforceCartShippingTemplate, Il as SalesforceCustomerDetailsForm, Fl as SampleOrderSummaryPanel, Zo as SearchCombobox, Ms as SearchFilter, Pd as SearchResultsTemplate, yc as SingleButtonCard, Qs as SocialLinkRow, w as Spinner, bl as StandardBannerContainer, Gs as StandardCarousel, Zs as StandardCopyBannerContent, iu as StandardCopyHero, wc as SwatchCard, ru as SwatchPurchasePanel, du as TextCard, ne as Textarea, ol as TopNavAccountDrawer, rl as TopNavActions, ll as TopNavBar, $c as TopNavMegaMenu, tl as TopNavSearchResults, Hf as VendorImportSection, Gu as VerticalCheckboxListCollection, qs as VerticalColorSwatchList, fu as WarrantyCard, Gf as WhereToBuyDetailPage, Uf as WhereToBuyLandingPage, xl as WhereToBuySearchBanner, Ld as WhereToBuyTemplate, h as applySketchfabTexture, _ as connectSketchfabViewer, p as setSketchfabAppearance, Ku as userTypeOptions };
18346
+ export { Ju as AccountAccessPanel, yf as AdminAuthStatusTemplate, Rc as AdminBackgroundJobTray, ff as AdminDashboardTemplate, Df as AdminDataIssuesSourceTemplate, Sf as AdminDataReportTemplate, Nf as AdminImportDataIssuesTemplate, Lf as AdminImportDataReviewTemplate, jf as AdminImportDataSourceTemplate, of as AdminPageTemplateShell, Vf as AdminProductGuidesTemplate, Ko as AdminRegionSelector, jc as AdminSideNav, gf as AdminUsersTemplate, dl as AnnouncementBar, ou as ArticleBanner, Js as ArticleBannerContent, hd as ArticleLandingPageTemplate, Ud as BpcsCartConfirmationTemplate, Jd as BpcsCartSamplesTemplate, qd as BpcsCartShippingTemplate, $c as BrandNavBar, fl as Breadcrumbs, fe as BusinessInfoCard, P as Button, Cl as CallToActionHero, Ys as CallToActionHeroContent, Ns as CarouselArrowControls, Ps as CarouselDots, me as CartItemCard, Td as CategoryPageTemplate, q as ClickableCard, cc as ColourMatchingChart, Al as ColumnBanner, Lo as ColumnCarouselCard, Uu as CommerceSyncPanel, su as ContentCarousel, H as ContentContainer, W as ContentGrid, Wo as CountrySelector, Kf as CustomerAccountFavoritesTemplate, Xf as CustomerAccountOrderDetailTemplate, Jf as CustomerAccountOrderHistoryTemplate, qf as CustomerAccountSettingsTemplate, Yu as CustomerAccountShell, Tc as CustomerAddressCard, ku as DataReportCollection, we as DecorSummaryCard, Au as DecorSummaryCollection, tc as DocumentInfoCard, Mu as DocumentInfoCollection, nc as DocumentLinkCard, Qf as DocumentResultsTemplate, As as DropdownFilter, ys as DynamicForm, Xd as EcommCartConfirmationTemplate, $d as EcommCartPaymentTemplate, ef as EcommCartShippingTemplate, af as EcommCartSummaryTemplate, B as EmbeddedVideo, ec as EmbeddedVideoCard, rc as FaqCard, hu as FaqCardCollection, Ro as FeatureCard, Pl as FeatureCardCollection, wl as FeaturedArticleBanner, Xs as FeaturedArticleBannerContent, zo as FeaturedProductCard, pu as FeaturedProductsCarousel, Os as FilterBar, ks as FilterBarButton, le as FlowRow, yl as Footer, v as FormicaText, Dd as GalleryTemplate, S as Icon, L as Image, cu as ImageCard, $s as ImageOverlayCard, vu as ImageOverlayGrid, ic as InfoCard, V as Interactive3DViewer, xu as LocalizationMarketCollection, xc as LocalizationStatusCard, Uo as LocationCard, bu as LocationCardCollection, Ru as LocationMap, Fd as LoginTemplate, bf as MarketReadinessBrowseTemplate, Es as MarketReadinessItemSkuSection, qo as MarketReadinessRangeSelector, xf as MarketReadinessRangeTemplate, ve as MarketReadinessSampleCard, Se as MarketReadinessSaveStatusIndicator, be as MarketReadinessSkuCard, ge as MarketReadinessStatusDots, df as MarketReadinessTemplate, Ds as MarketReadinessVariantAvailabilitySection, Jo as MarketReadinessVariantOptions, Bc as Modal, ac as MoreInfoHighlightsCard, Fl as MoreInfoHighlightsCollection, Hc as OptInModal, Dc as OrderDetailHeaderCard, kc as OrderItemDetailCard, Ad as ProResourceTemplate, he as ProductContactActions, pd as ProductDetailPageTemplate, uc as QuantityCheckoutCard, ze as RangeSummaryCard, ju as RangeSummaryCollection, vc as RecentArticleCard, mu as RecentArticleCollection, te as ResilientImage, Yd as SalesforceCartShippingTemplate, Ll as SalesforceCustomerDetailsForm, Il as SampleOrderSummaryPanel, Zo as SearchCombobox, Ms as SearchFilter, Pd as SearchResultsTemplate, yc as SingleButtonCard, Qs as SocialLinkRow, w as Spinner, xl as StandardBannerContainer, Gs as StandardCarousel, Zs as StandardCopyBannerContent, au as StandardCopyHero, wc as SwatchCard, iu as SwatchPurchasePanel, du as TextCard, ne as Textarea, sl as TopNavAccountDrawer, il as TopNavActions, ul as TopNavBar, el as TopNavMegaMenu, nl as TopNavSearchResults, Hf as VendorImportSection, Gu as VerticalCheckboxListCollection, qs as VerticalColorSwatchList, fu as WarrantyCard, Gf as WhereToBuyDetailPage, Uf as WhereToBuyLandingPage, Sl as WhereToBuySearchBanner, Ld as WhereToBuyTemplate, h as applySketchfabTexture, _ as connectSketchfabViewer, p as setSketchfabAppearance, Ku as userTypeOptions };