import{a as S}from"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-6SXJSXKV.js";import{a as T,b as N}from"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-EUS5WXAM.js";import{a as U}from"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-B7KGTTWN.js";import{C as v,D as b,E,F as P,G as R,H as i,Ka as O,La as A,aa as o,d as y,e as C,m as w}from"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-WBUZYK2C.js";import"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-ETAMIKPL.js";import"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-T2ODFR6D.js";import"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-A5X4ILTT.js";import"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-TX35JSAS.js";import"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-W2S7ONQM.js";import{u as h}from"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-ANEL4B2W.js";import"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-YXZDBDOP.js";import{a as _,b as s}from"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-UJLG5X7C.js";import{d as t}from"https://cdn.shopify.com/oxygen-v2/26990/12114/24902/1271030/build/_shared/chunk-CFWRSLVV.js";var H=t(U());var k=t(O()),l=t(_()),a=t(s());function L({fields:c}){let[d,m]=c,n={imageUrls:d.references.nodes,redirectUrls:JSON.parse(m.value)},[p,f]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{window.innerWidth<=450&&f(!0);let r=()=>{window.innerWidth<=450?f(!0):f(!1)};return window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[]),(0,a.jsx)("div",{className:"grid items-center home-carousel",children:(0,a.jsx)(k.Carousel,{autoPlay:!0,infiniteLoop:!0,showStatus:!1,showThumbs:!1,interval:5e3,children:n.imageUrls.map((u,r)=>{let g=(0,a.jsx)(C,{src:u.image.url,width:p?450:1200,height:p?121:322,alt:"hero banner",className:"object-fill w-full h-full",loading:"eager"},u.image.url);return n.redirectUrls[r]==="/"?g:(0,a.jsx)(y,{to:n.redirectUrls[r],className:"inline-block w-full object-cover h-full",children:g},r)})})})}var e=t(s()),F=()=>[{rel:"stylesheet",href:S}];function M(){let{fields:c,featuredProducts:d}=h(),m=d.collection,n=w([{},{},{}]);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(L,{fields:c}),(0,e.jsx)(I,{}),(0,e.jsx)(P,{}),(0,e.jsx)(i,{}),(0,e.jsx)(R,{}),(0,e.jsx)(i,{}),(0,e.jsx)(v,{collection:m}),(0,e.jsx)(i,{}),(0,e.jsx)(b,{}),(0,e.jsx)(i,{}),(0,e.jsx)(E,{})]})}function I(){return(0,e.jsxs)("div",{className:"bg-footer md:bg-colorLink pb-1 md:pb-2 border-t-2 border-white",children:[(0,e.jsxs)("div",{className:"flex md:gap-4 items-center justify-between md:py-2 text-white",children:[(0,e.jsx)("div",{className:"bg-white h-[3px] w-1/4"}),(0,e.jsxs)("div",{className:"flex",children:[(0,e.jsxs)("span",{className:" hidden md:flex md:items-center lg:visible",children:[(0,e.jsx)(o,{fill:"#efce4a"}),(0,e.jsx)(o,{fill:"#efce4a"}),(0,e.jsx)(o,{fill:"#efce4a"}),(0,e.jsx)(o,{fill:"#efce4a"})]}),(0,e.jsx)("p",{className:"font-semibold text-center mt-1",children:"WHAT OUR CUSTOMERS ARE SAYING!"}),(0,e.jsxs)("span",{className:"hidden md:flex md:items-center lg:visible",children:[(0,e.jsx)(o,{fill:"#efce4a"}),(0,e.jsx)(o,{fill:"#efce4a"}),(0,e.jsx)(o,{fill:"#efce4a"}),(0,e.jsx)(o,{fill:"#efce4a"})]})]}),(0,e.jsx)("div",{className:"bg-white h-[3px] w-1/4"})]}),(0,e.jsx)("div",{className:"bg-white border-4 border-[#534536] rounded mx-4",children:(0,e.jsx)(A,{blackText:!0})})]})}var x=`#graphql fragment CollectionContent on Collection { id handle title descriptionHtml heading: metafield(namespace: "hero", key: "title") { value } byline: metafield(namespace: "hero", key: "byline") { value } cta: metafield(namespace: "hero", key: "cta") { value } spread: metafield(namespace: "hero", key: "spread") { reference { ...Media } } spreadSecondary: metafield(namespace: "hero", key: "spread_secondary") { reference { ...Media } } } ${T} `,X=`#graphql query seoCollectionContent($handle: String, $country: CountryCode, $language: LanguageCode) @inContext(country: $country, language: $language) { hero: collection(handle: $handle) { ...CollectionContent } shop { name description } } ${x} `,Z=`#graphql query { collection(id: "gid://shopify/Collection/261821235315") { title products(first: 18) { nodes{ ...ProductCard } } } } ${N} `;export{M as default,F as links};