import{a as Pe}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-G4ZXSOXH.js";import{a as Z}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-4VI6VPGF.js";import{a as We}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-WNNU7VSX.js";import{a as q}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-2QYYRPCP.js";import{b as _e,c as X,d as Le,e as Me,f as De,g as Te}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-QFPICWWG.js";import{b as Ce}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-V3ZAHICS.js";import{a as Q,e as Ie}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-VXTBK6ZS.js";import{a as je}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-2F6MU2CF.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-5CQV35QH.js";import{a as ne}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-XPAAZIKZ.js";import{a as Ae}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-WYHSXIQV.js";import{f as Ne,g as ke,h as J}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-UGXOKZDB.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-AYJSO2VA.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-EWETJPYA.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-DAHG5S7K.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-PGQ47SEG.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-UCMUZ6LN.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-YKOKJHWM.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-K5JNLX2T.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-VRXE3SXE.js";import{a as re}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-JG2DATSI.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-XEPBHM2O.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-PRQL7CDJ.js";import{$ as me,G as K,N as Se,g as T,k as ye,l as U,m as $,s as we,x as ve}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-3AWCCX5S.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-EIUNJM7O.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-C322IFDF.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-Y6K5Z6SS.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-OMYQV4CB.js";import{e as le}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-UMJHMB76.js";import{a as be}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-XUBHGGEC.js";import{a as L,c as Y}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-6ODWWT4U.js";import{e as se,g as f}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-QFSHI6QZ.js";import{a as N}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-4WUWJLQN.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-2RPO5ZYY.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-3C5PSLFX.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-SDAP2KAJ.js";import{b as xe,l as ge,o as _,t as G,u as he}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-GSUAV5SD.js";import{a as r}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-T3SAXWHR.js";import{a as F}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-ZQ5CXEJV.js";import"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-65IJ64Z3.js";import{d as o}from"https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_shared/chunk-ISGSLAJR.js";var Be=o(Q());var w=o(r()),Fe=({label:e,subtitle:t,link:s,footerText:a,imgBunzl:l,imgLogo:i,description:n,builder:c})=>(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("ul",{className:"pl-4",children:(0,w.jsx)("li",{className:"list-disc text-sm font-[600] leading-[24px] text-[#FE522A]",children:e})}),(0,w.jsx)("h4",{className:"text-[20px] font-bold leading-[24px] text-black md:text-xl xl:leading-[120%]",children:t}),(0,w.jsx)("p",{className:"article-about text-base text-normal !leading-[140%] tracking-[0em] text-black",children:n}),(0,w.jsx)(_,{to:s.slug||"/",children:(0,w.jsxs)("button",{type:"button",style:{fontWeight:600},className:"text-base leading-normal flex flex-row items-center gap-x-2 whitespace-nowrap text-black underline",children:[s?.title,(0,w.jsx)("div",{children:(0,w.jsx)(q,{})})]})}),(0,w.jsxs)("div",{className:"flex flex-row items-center gap-[17px]",children:[(0,w.jsx)(f,{src:i?.url?c?.auto("format")?.image(i)?.quality(100)?.url():"",width:36,height:40}),(0,w.jsx)("p",{className:"w-[136px] pl-1 text-xs font-bold uppercase leading-[14.40px] !text-[#AAA9AA]",children:a}),(0,w.jsx)(f,{src:l?.url?c?.auto("format")?.image(l)?.quality(100)?.url():"",width:39,height:38})]})]});var R=o(r()),Ee=({aboutStore:e,sanityDataset:t,sanityProjectId:s})=>{let{label:a,subtitle:l,description:i,link:n,img:c,imgLogo:u,footerText:m,imgBunzl:d}=e,A=(0,Be.default)({projectId:s,dataset:t});return(0,R.jsxs)("section",{className:"about-section mx-auto flex h-[366px] w-full max-w-[1312px] flex-col gap-x-6 gap-y-10 lg:flex-row xl:gap-x-[141px]",children:[(0,R.jsx)(f,{width:990,src:c?A.auto("format").image(c).format("webp").width(800).quality(80).url():"",className:"article-photo aspect-video h-auto pl-0 md:rounded-lg lg:ml-4 xl:h-[366px] xl:w-[624px]"}),(0,R.jsx)("div",{className:"article-description hidden h-auto w-full flex-col !items-start gap-y-6 px-4 md:flex lg:gap-y-2 lg:pl-0 xl:gap-y-6",children:(0,R.jsx)(Fe,{subtitle:l,description:i,link:n,label:a,imgLogo:u,footerText:m,imgBunzl:d,builder:A})})]})};var C=o(r());function ce({module:e}){return(0,C.jsxs)("div",{className:N("flex gap-5 md:gap-[5vw]",e.layout==="left"&&"flex-col md:flex-row",e.layout==="right"&&"flex-col-reverse md:flex-row-reverse"),children:[(0,C.jsx)("div",{className:"relative aspect-[864/485] grow",children:e.content&&(0,C.jsx)(nt,{content:e.content})}),(0,C.jsxs)("div",{className:N("mr-auto flex w-full shrink-0 flex-col items-start","md:max-w-[20rem]"),children:[(0,C.jsx)("div",{className:N("text-xl font-bold","md:text-2xl"),children:e.title}),e.body&&(0,C.jsx)("div",{className:"mt-4 leading-paragraph",children:e.body}),e.link&&(0,C.jsx)("div",{className:"mt-4",children:(0,C.jsx)(_e,{className:"font-bold underline hover:no-underline",link:e.link,children:e.link.title})})]})]})}function nt({content:e}){let[t]=G(),{sanityDataset:s,sanityProjectId:a}=t.data.envs;switch(e?._type){case"image":return(0,C.jsx)(Ie,{alt:e?.altText,crop:e?.crop,dataset:s,hotspot:e?.hotspot,layout:"fill",objectFit:"cover",projectId:a,sizes:"100vw",src:e?.asset?._ref});case"productWithVariant":return!e?.gid||!e.variantGid?null:(0,C.jsx)(Pe,{gid:e?.gid,variantGid:e.variantGid});default:return null}}var M=o(r());function ee({module:e}){let t=e?.collection,s=t?.gid,a=J(s);if(!t||!t?.slug)return null;let l=e?.image?.url||t?.image||"";return(0,M.jsxs)(L,{to:t.slug,children:[(0,M.jsx)(T,{placeholder:e?.image?.blurDataURL,className:"relative -z-10",src:l,layout:"fullWidth",objectFit:"cover",height:406,alt:t.title}),(0,M.jsxs)("div",{className:"item-tile-description !lg:min-w-[331px] z-20 flex flex-col justify-center gap-4 px-[6px] py-6 md:flex-row md:p-8",children:[(0,M.jsxs)("div",{className:"text-center md:text-left",children:[(0,M.jsx)("h4",{className:"mb-2 text-xl font-bold leading-[31px] text-white",children:e?.title||e.collection.title}),e?.description&&(0,M.jsx)("p",{className:"tile-description",children:e.description})]}),(0,M.jsx)(Y,{className:"h-12 w-[116px] shrink-0 whitespace-nowrap rounded-full bg-white px-5 py-3 text-[16px] font-[600] !leading-[24px] text-black",children:"Shop Now"})]})]})}var P=o(r());function de({imageAspectClassName:e,module:t}){switch(t._type){case"module.callout":return(0,P.jsx)(Le,{module:t});case"module.callToAction":return(0,P.jsx)(ce,{module:t});case"module.collection":return(0,P.jsx)(ee,{module:t});case"module.collectionWithDescription":return(0,P.jsx)(ee,{module:t});case"module.image":return(0,P.jsx)(Me,{module:t});case"module.instagram":return(0,P.jsx)(De,{module:t});case"module.product":return(0,P.jsx)(Te,{imageAspectClassName:e,module:t});default:return null}}var b=o(r());function pe({imageAspectClassName:e="aspect-square",storefrontProduct:t,variantGid:s}){let a=J(s)??t.variants.nodes.find(c=>c.id==s)??t.variants.nodes[0];if(a==null)return null;let l=Ne(t.options),i=ke(t.options),n={productGid:t.id?t.id:"",variantGid:a.id,name:t.title?t.title:"",variantName:a.title,brand:t.vendor?t.vendor:"",price:a.price.amount,quantity:1};return(0,b.jsxs)("div",{className:"group relative flex max-w-[450px] flex-col",children:[(0,b.jsxs)("div",{className:N([e,"relative flex items-center justify-center overflow-hidden rounded bg-lightGray object-cover transition-[border-radius] duration-500 ease-out","hover:rounded-xl"]),children:[(0,b.jsxs)(L,{className:"absolute left-0 top-0 h-full w-full",to:`/products/${t.handle}`,onClick:K,children:[a.image&&(0,b.jsx)(f,{className:"absolute h-full w-full transform bg-cover bg-center object-cover object-center ease-in-out",data:a.image,crop:"center",sizes:"100%"}),(0,b.jsxs)("div",{className:"absolute left-4 top-4",children:[a?.availableForSale&&a?.compareAtPrice&&(0,b.jsx)(ne,{label:"Sale",tone:"critical"}),!a?.availableForSale&&(0,b.jsx)(ne,{label:"Sold out"})]})]}),a.availableForSale&&(0,b.jsx)("div",{className:N("absolute bottom-0 right-4 translate-y-full pb-4 duration-200 ease-in-out","group-hover:block group-hover:translate-y-0"),children:(0,b.jsx)(Ce,{lines:[{merchandiseId:a.id,quantity:1}],disabled:!a.availableForSale,analytics:{products:[n],totalValue:parseFloat(n.price)},children:"Quick add"})})]}),(0,b.jsxs)("div",{className:"mt-3 text-md",children:[(0,b.jsxs)("div",{className:"space-y-1",children:[(0,b.jsx)(L,{className:N("font-bold","hover:underline"),to:`/products/${t.handle}`,children:t.title}),t.vendor&&(0,b.jsx)("div",{className:"text-darkGray",children:t.vendor}),l&&(0,b.jsx)("div",{className:"text-darkGray",children:i})]}),(0,b.jsxs)("div",{className:"mt-3 flex font-bold",children:[a.compareAtPrice&&(0,b.jsx)("span",{className:"text-darkGray",children:(0,b.jsx)(se,{data:a.compareAtPrice,className:"mr-2.5 line-through decoration-red"})}),a.price&&(0,b.jsx)(se,{data:a.price})]})]})]})}var B=o(r());var He={flexAlign:{center:"items-center",end:"items-end",start:"items-start"},flexJustify:{center:"justify-center",end:"justify-end",start:"justify-start"},imageAspect:{landscape:"aspect-square md:aspect-[16/9]",square:"aspect-square"},width:{sm:"w-full md:w-[55%]",md:"w-full md:w-[65%]",lg:"w-full md:w-full"}},Oe=[{aspect:"square",flex:{align:"start",justify:"start"},offsetY:!1,width:"md"},{aspect:"square",flex:{align:"start",justify:"end"},offsetY:!1,width:"lg"},{aspect:"square",flex:{align:"start",justify:"start"},offsetY:!1,width:"lg"},{aspect:"square",flex:{align:"center",justify:"start"},offsetY:!1,width:"sm"},{aspect:"square",flex:{align:"start",justify:"end"},offsetY:!1,width:"md"},{aspect:"square",flex:{align:"start",justify:"end"},offsetY:!0,width:"md"},{aspect:"square",flex:{align:"start",justify:"start"},offsetY:!1,width:"lg"},{aspect:"landscape",flex:{align:"center",justify:"end"},offsetY:!1,width:"lg"}];function ue({items:e}){return(0,B.jsx)("ul",{className:"modules-list z-10 flex w-full flex-wrap justify-between gap-4 px-0 md:mt-5 md:gap-8",children:e.map((t,s)=>{let a=Oe[s%Oe.length],l=He.imageAspect[a.aspect],i=He.width[a.width];return mt(t)?(0,B.jsx)("li",{className:"modules-list item flex w-full flex-col flex-wrap rounded-[12px] md:flex-row",style:{background:"linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.40) 66%)"},children:(0,B.jsx)(de,{imageAspectClassName:l,module:t})},t._key):(0,B.jsx)("li",{className:"",children:(0,B.jsx)("div",{className:i,children:(0,B.jsx)(pe,{imageAspectClassName:l,storefrontProduct:t})})},t.id)})})}var mt=e=>e._type?.startsWith("module");var z=o(r()),Ge=()=>(0,z.jsxs)("div",{className:"content-wrapper main-page-banner flex flex-col px-4 text-center text-[32px] font-bold leading-[120%] tracking-[-0.96px] md:text-[48px] md:tracking-[-1.44px]",children:[(0,z.jsx)("p",{className:"text-[#FE522A]",children:"Over 2,000,000"}),(0,z.jsx)("p",{className:"text-black",children:"Happy Customers Since 2005!"})]});var V=o(F()),Ve=o(re());var te=o(F()),D=o(r()),Re=({handle:e,id:t,image:s,title:a,publishedAt:l,content:i})=>{let[n,c]=(0,te.useState)("");return(0,te.useEffect)(()=>{let u=Z(new Date(l),"MMMM DD, YYYY");c(u)},[]),(0,D.jsx)(_,{className:"w-full xl:w-[405px]",to:`/blogs/news/${e}`,children:(0,D.jsxs)("div",{className:"flex flex-col items-start gap-4",children:[s&&(0,D.jsx)(f,{className:"rounded-lg xl:h-[243px]",data:s,sizes:"(min-width: 55em) 50vw, 100vw",aspectRatio:"3/1.7",alt:"title",srcSetOptions:{intervals:2,startingWidth:400,incrementSize:200,placeholderWidth:200}}),(0,D.jsxs)("div",{className:"flex flex-col items-start gap-1",children:[(0,D.jsx)("p",{className:"mb-1 text-sm font-medium leading-[19px] text-[#888888]",children:n}),(0,D.jsx)("h4",{className:"text-lg font-bold leading-[140%] text-black",children:a}),(0,D.jsxs)("p",{className:"text-base font-[400] leading-[22.40px] text-black opacity-60",children:[i.substring(0,150),"..."]})]})]})},t)};var p=o(r()),ze=o(F()),qe=({articles:e})=>{let t=(0,V.useRef)(null),[s,a]=(0,V.useState)(40),l=e.edges.map(m=>m.node),i={mobile:{breakpoint:{max:430,min:0},items:1,partialVisibilityGutter:s}},n=(m,{currentSlide:d,totalItems:A,transform:I})=>{d+1===A&&t.current.setState({transform:I-14})},c=m=>{t.current&&t.current.isAnimationAllowed&&(t.current.isAnimationAllowed=!1);let d=Math.ceil(m/t.current.state.itemWidth);t.current.isAnimationAllowed=!0,t.current.setState({transform:-m-(d+1===t.current.state.totalItems?14:0),currentSlide:d})},u=({carouselState:m})=>(0,p.jsx)(p.Fragment,{children:m.totalItems>2&&(0,p.jsx)("div",{className:"absolute bottom-0 block w-full translate-y-[-50%] px-4 md:hidden",children:(0,p.jsx)("input",{type:"range",value:Math.abs(m.transform),min:0,max:m.itemWidth*(m.totalItems-1),onChange:d=>{c(+d.target.value)},className:"w-full"})})});return(0,V.useEffect)(()=>{let m=ye(()=>{let d=window.innerWidth-302-16;a(d)},400);return window.addEventListener("resize",m),m(),()=>window.removeEventListener("resize",m)},[]),(0,p.jsxs)("div",{className:"content-wrapper relative max-w-full flex-col px-4 md:px-0",children:[(0,p.jsxs)("div",{className:"flex w-full flex-row items-center justify-between pb-[42px] md:pb-6",children:[(0,p.jsx)("h4",{className:"text-xl font-bold !leading-[31px] text-black",children:"Recent Blogs"}),(0,p.jsx)(L,{to:"/blogs/news/",children:(0,p.jsx)(Y,{className:"h-12 w-[127px] whitespace-nowrap rounded-full bg-[#FE522A] px-5 py-3 !text-[16px] !font-[600] leading-[24px] text-white",children:"View all"})})]}),(0,p.jsx)("div",{className:"hidden w-full justify-between gap-3 smm:flex smm:flex-col md:flex-row",children:!!l.length&&l.map(m=>(0,ze.createElement)(Re,{...m,key:m.id}))}),(0,p.jsx)("div",{className:"contents smm:hidden",children:(0,p.jsx)(Ve.default,{arrows:!1,ref:t,partialVisible:!0,renderButtonGroupOutside:!0,afterChange:n,customButtonGroup:(0,p.jsx)(u,{}),responsive:i,containerClass:"static smm:hidden pb-16 mb-6 w-screen carousel-wrapper-mobile px-4",itemClass:"overflow-hidden min-w-[302px]",children:l.map(({id:m,content:d,handle:A,image:I,publishedAt:oe,title:W})=>{let ae=Z(new Date(oe),"MMMM DD, YYYY");return(0,p.jsx)(L,{to:`/blogs/news/${A}`,children:(0,p.jsxs)("div",{className:"flex w-full flex-col items-start gap-4 pr-5",children:[I&&(0,p.jsx)(f,{className:"h-[169px] rounded-lg",data:I,sizes:"(min-width: 55em) 50vw, 100vw",aspectRatio:"3/1.7",alt:W,srcSetOptions:{intervals:1,startingWidth:200,incrementSize:200,placeholderWidth:200}}),(0,p.jsxs)("div",{className:"flex w-[282px] flex-col items-start gap-1",children:[(0,p.jsx)("p",{className:"text-sm font-medium leading-[19px] text-[#888888]",children:ae}),(0,p.jsx)("h4",{className:"text-lg font-bold leading-[140%] text-black",children:W}),(0,p.jsxs)("p",{className:"text-base font-[400] leading-[22.40px] text-black opacity-60",children:[d.substring(0,150),"..."]})]})]})},m)})})})]})};var Ye=o(re());var g=o(r()),ct={desktop:{breakpoint:{max:4e3,min:360},items:1}},dt=({carouselState:e,next:t,previous:s})=>{let{currentSlide:a,slidesToShow:l,totalItems:i}=e;return(0,g.jsxs)("div",{className:"absolute bottom-[116px] flex w-full flex-grow justify-between gap-4 px-4 lg:right-0 lg:top-0 lg:w-auto",children:[(0,g.jsx)("button",{"aria-label":"previous feedback",onClick:()=>s&&s(),className:`${a===0?"disabled cursor-default":"cursor-pointer"} flex h-[40px] w-[40px] items-center justify-center overflow-hidden rounded-full bg-[#DBDCDC] md:-left-2 md:h-[54px] md:w-[54px]`,children:(0,g.jsx)(U,{className:"text-gray-400 h-[16px] w-[19px] md:w-[22px]"})}),(0,g.jsx)("button",{"aria-label":"next feedback",onClick:()=>t&&t(),className:`${i-l===a?"disabled cursor-default":"cursor-pointer"} flex h-[40px] w-[40px] items-center justify-center overflow-hidden rounded-full bg-[#DBDCDC] md:left-16 md:h-[54px] md:w-[54px]`,children:(0,g.jsx)($,{className:"text-gray-400 h-[16px] w-[19px] md:w-[22px]"})})]})},Ue=({opinions:{feedbacks:e}})=>(0,g.jsx)(Ye.default,{arrows:!1,infinite:!0,renderButtonGroupOutside:!0,customButtonGroup:(0,g.jsx)(dt,{}),responsive:ct,containerClass:"md:w-[514px] relative w-full",children:e?.map(t=>(0,g.jsxs)("div",{className:"mt-10 flex flex-col items-center space-y-6 md:space-y-8 lg:items-start",children:[(0,g.jsx)("ul",{className:"md:pl-4",children:(0,g.jsx)("li",{className:"list-disc text-[14px] font-[600] leading-[24px] text-[#FE522A]",children:"Testimonials"})}),(0,g.jsx)("p",{className:"text-base mt-6 text-center font-[400] leading-[140%] text-black opacity-60 md:mt-[32px] md:text-left",children:t.message}),(0,g.jsxs)("div",{className:"flex items-center lg:w-full lg:justify-between",children:[(0,g.jsxs)("div",{className:"flex flex-col items-center gap-2 lg:flex-row lg:gap-4",children:[(0,g.jsx)(T,{height:48,width:48,src:t.image?.url,className:"aspect-square max-h-[48px] max-w-[48px] rounded-full md:max-h-[59px] md:max-w-[59px]",alt:t.name}),(0,g.jsxs)("div",{className:"flex flex-col gap-1 text-center lg:text-left",children:[(0,g.jsx)("h3",{className:"text-xl font-bold leading-[31px] text-black",children:t.name}),(0,g.jsx)("p",{className:"text-sm font-[600] leading-[24px] text-[#FE522A]",children:t.role})]})]}),(0,g.jsx)("div",{children:(0,g.jsx)(T,{className:"hidden h-4 w-24 lg:block",src:t.stars.url,height:16,aspectRatio:6/1,alt:"start"})})]})]},t._key))});var E=o(F()),Qe=o(re());var v=o(r()),$e=({item:e,currency:t,gstIsActive:s,isOn:a,gst:l,isLoggedAsB2b:i})=>{let n=e.productWithVariant.fromPrice,c=e?.productWithVariant?.compareAtPrice,u=n+n*Number(l)/100,m=a?u:n,d=e.productWithVariant?.compareAtPrice>e.productWithVariant?.price,A=c+c*Number(l)/100,I=a?A:c;return(0,v.jsx)(_,{className:"pr-1 md:w-[18rem] md:pr-2",to:`/products/${e.productWithVariant.slug}`,onClick:K,children:(0,v.jsxs)("div",{className:"relative flex flex-col",children:[(0,v.jsx)("div",{className:"absolute right-2.5 top-2",children:d&&(0,v.jsx)(Se,{})}),(0,v.jsx)(f,{srcSetOptions:{intervals:2,startingWidth:200,incrementSize:200,placeholderWidth:200},sizes:"200w",className:"rounded-lg border-2 border-solid border-slate-200 md:h-auto",src:e?.productWithVariant?.image||"https://cdn.shopify.com/s/files/1/0012/8440/7394/files/placegolder.svg?v=1701691776",loading:"lazy",aspectRatio:"294 / 324",alt:e.productWithVariant.title}),(0,v.jsx)("p",{className:"mt-2 flex items-start text-sm font-[400] leading-[24px] text-[#888888] md:mt-4",children:e.productWithVariant.vendor}),(0,v.jsx)("p",{className:"mt-1 text-sm font-[600] leading-[19.6px] text-black lg:leading-[24px]",children:e.productWithVariant.title}),!i&&(0,v.jsxs)("div",{className:"mt-4 flex w-full flex-col items-center justify-start gap-1 font-bold md:gap-2 lg:flex-row",children:[(0,v.jsxs)("div",{className:"flex flex-wrap gap-x-2 self-start md:self-center",children:[(0,v.jsx)(be.P2,{className:"flex self-start text-GREY_ONE md:w-auto md:leading-[20px]",children:"From"}),!!d&&(0,v.jsxs)("p",{className:"text-[12px] font-bold leading-[1.5] text-GREY_TWO line-through md:hidden",children:[t,I.toFixed(2)]})]}),(0,v.jsxs)("div",{className:"flex flex-wrap gap-x-2 self-start md:self-center",children:[!!d&&(0,v.jsxs)("span",{className:"hidden self-center !text-[12px] font-bold leading-[14.4px] text-GREY_TWO line-through md:block",children:[t,I.toFixed(2)]}),(0,v.jsxs)("span",{className:`!text-md font-bold !leading-[24px] ${d?"text-[#D00000]":"text-[#282828]"}`,children:[t,m.toFixed(2)]}),s&&(0,v.jsx)("span",{className:"text-8 whitespace-nowrap leading-[24px] text-[#AAA9AA]",children:a?"incl. GST":"excl. GST"})]})]})]})})};var h=o(r()),pt={desktop:{breakpoint:{max:3e3,min:1024},items:4},mobile:{breakpoint:{max:767,min:0},items:2},tablet:{breakpoint:{max:1024,min:768},items:3}},ut=({carouselState:e,current:t,next:s,previous:a})=>{let[l,i]=(0,E.useState)(0),[n,c]=(0,E.useState)(0),u=O=>{let j=Math.ceil(O/n);t.setState({transform:-O,currentSlide:j})};(0,E.useEffect)(()=>{if(e){c(e.itemWidth);let O=Math.round(n*(e.totalItems-e.slidesToShow)+150);i(O/100)}},[e]);let{transform:m,currentSlide:d,slidesToShow:A,totalItems:I}=e,oe=O=>{let j=+O.target.value;j+1>=W&&(j=W),j-1<=0&&(j=0),u(j*l)},W=n*(e.totalItems-e.slidesToShow)/l,ae=Number.isNaN(m/l)?0:Math.abs(m)/l;return(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)("div",{className:"carousel-button-group-featured pointer-events-none absolute inset-0 top-[37%] w-full justify-between md:w-[calc(100%+2rem)]",children:(0,h.jsxs)("div",{className:"relative hidden w-full justify-between md:flex",children:[(0,h.jsx)("button",{"aria-label":"previous slides",onClick:()=>a&&a(),className:N(d===0?"disabled invisible cursor-default":"pointer-events-auto cursor-pointer","absolute left-0 inline-flex h-12 w-12 translate-x-0 items-center justify-center overflow-hidden rounded-full bg-[#DBDCDC] 2xl:-left-2"),children:(0,h.jsx)(U,{className:"text-gray-400 h-10 w-10"})}),(0,h.jsx)("button",{"aria-label":"next slides",onClick:()=>s&&s(),className:N(I-A===d?"disabled invisible cursor-default":"pointer-events-auto cursor-pointer","absolute right-0 inline-flex h-12 w-12 translate-x-0 items-center justify-center overflow-hidden rounded-full bg-[#DBDCDC] 2xl:-right-2"),children:(0,h.jsx)($,{className:"text-gray-400 h-10 w-10"})})]})}),(0,h.jsx)("div",{className:"absolute bottom-0 left-4 w-[calc(100%-32px)]",children:(0,h.jsx)("input",{id:"scroller",name:"top rated scroll bar",type:"range",value:ae,max:Number.isNaN(W)?0:W,onChange:oe,className:"w-full"})})]})},Je=({featured:e,deviceType:t})=>{let{isOn:s,gst:a}=we(),l=(0,E.useRef)(null),[i]=G(),n=i.data.currency.symbol,c=i.data.layout.gstIsActive,u=i.data.b2bUserIsLoggedIn,m=d=>(0,h.jsx)(ut,{...d,current:l.current});return(0,h.jsxs)("div",{className:"content-wrapper relative max-w-full flex-col px-4 md:px-0 lg:pt-2",children:[(0,h.jsxs)("div",{className:"flex w-full flex-row justify-between pb-[25px] md:pb-[35px]",children:[(0,h.jsx)("label",{htmlFor:"scroller",className:"self-center text-xl font-bold leading-[31px] text-black",children:"Bestsellers"}),(0,h.jsx)(X,{className:"!h-12 w-[127px] px-5 py-3 !text-[16px] !font-[600] leading-[24px]",link:e?.link,textColor:"white",backgroundColor:"#FE522A"})]}),(0,h.jsx)(Qe.default,{arrows:!1,responsive:pt,renderButtonGroupOutside:!0,customButtonGroup:(0,h.jsx)(m,{}),ref:l,ssr:!0,deviceType:t,containerClass:"w-[calc(100%+20px)] md:w-[calc(100%+2rem)] md:static flex gap-x-3 flex-nowrap relative md:mb-6",itemClass:"px-2.5 md:px-4 pb-4 md:pb-0",children:!!e?.products.length&&e?.products?.map((d,A)=>(0,h.jsx)($e,{item:d,currency:n,isOn:s,gstIsActive:c,gst:a,isLoggedAsB2b:u},A))})]})};var ie=o(F()),Ke=o(Q());var k=o(r()),Xe=({brands:e,sanityProjectId:t,sanityDataset:s})=>{let a=(0,ie.useRef)(null),l=(0,Ke.default)({projectId:t,dataset:s});return(0,ie.useEffect)(()=>{let i=a.current;if(!i)return;let n=i.innerHTML;i.innerHTML+=n;let c=0,u=()=>{c+=.5,c>=i.scrollWidth/2&&(c=0),i.scrollLeft=c,requestAnimationFrame(u)};return u(),()=>{i.innerHTML=n}},[]),(0,k.jsxs)("div",{children:[(0,k.jsx)("div",{className:"main-page-logos hidden justify-between lg:flex",children:e.map((i,n)=>(0,k.jsxs)("div",{className:"mx-4 flex shrink-0 items-center justify-center",children:[i.brands_item_url._type==="linkInternal"&&(0,k.jsx)(L,{to:i.brands_item_url.slug||"#",className:"flex w-auto items-center justify-center lg:h-8 xl:h-12",children:(0,k.jsx)(f,{src:l.auto("format").format("webp").image(i.brands_item_image).quality(80).url(),alt:i.brands_item_title,className:"w-auto object-contain lg:h-8 xl:h-12"})},i.brands_item_url._key),i.brands_item_url._type==="linkExternal"&&(0,k.jsx)("a",{href:i.brands_item_url.url||"#",className:"flex w-auto items-center justify-center lg:h-8 xl:h-12",target:i.brands_item_url.newWindow?"_blank":"_self",rel:"noreferrer",children:(0,k.jsx)(f,{src:l.auto("format").format("webp").image(i.brands_item_image).quality(80).url(),alt:i.brands_item_title,className:"w-auto object-contain lg:h-8 xl:h-12"})},i.brands_item_url._key+i.brands_item_url.title)]},n))}),(0,k.jsx)("div",{className:"main-page-logos flex w-full justify-center overflow-x-hidden lg:hidden",children:(0,k.jsx)("div",{ref:a,className:"scroll-container flex w-max items-center",children:e.map((i,n)=>(0,k.jsxs)("div",{className:"mx-4 flex shrink-0 select-none items-center justify-center",children:[i.brands_item_url._type==="linkInternal"&&(0,k.jsx)(L,{to:i.brands_item_url.slug||"#",className:"flex h-12 w-auto select-none items-center justify-center",children:(0,k.jsx)(f,{src:l.auto("format").format("webp").image(i.brands_item_image).quality(80).url(),alt:i.brands_item_title,className:"h-12 w-auto select-none object-contain"})},i.brands_item_url._key),i.brands_item_url._type==="linkExternal"&&(0,k.jsx)("a",{href:i.brands_item_url.url||"#",className:"flex h-12 w-auto select-none items-center justify-center",target:i.brands_item_url.newWindow?"_blank":"_self",rel:"noreferrer",children:(0,k.jsx)(f,{src:l.auto("format").format("webp").image(i.brands_item_image).quality(80).url(),alt:i.brands_item_title,className:"h-12 w-auto select-none object-contain"})},i.brands_item_url._key+i.brands_item_url.title)]},n))})})]})};var H=o(r()),Ze=({feedbacks:e})=>(0,H.jsxs)("section",{className:"content-wrapper relative flex flex-1 flex-col items-center gap-x-6 gap-y-0 md:justify-between md:gap-y-4 lg:flex-row lg:gap-y-0",children:[(0,H.jsx)("div",{className:"flex smm:mx-auto lg:w-[51.33%] xl:pl-[46px]",children:(0,H.jsx)(_,{to:"/pages/medshop-reviews","aria-label":"yotpo feedbacks",children:(0,H.jsx)(f,{src:e.feedbacksImage.url,height:414,width:458,className:"min-h-[326px] min-w-[358px] object-contain p-0"})})}),(0,H.jsx)(Ue,{opinions:e})]});var st=o(F());var it=o(Q());var tt=o(r()),et=({children:e,className:t,backgroundImage:s})=>(0,tt.jsx)("div",{className:N("h-[673px] lg:h-[691px] lg:max-h-[691px]",t),style:{backgroundSize:"cover",width:"100%",backgroundPosition:"center",backgroundRepeat:"no-repeat",aspectRatio:"16/9",backgroundImage:`url(${s})`},children:e});var S=o(r()),ft=({hero:e})=>{let{quoteSettings:t}=ve(),s=t?.show_ndis;return(0,S.jsxs)("div",{className:"color-white mx-auto flex max-w-[1312px] flex-col items-center space-y-4 px-4 pt-[128px] md:items-start md:space-y-6 md:pt-[252px]",children:[(0,S.jsx)("ul",{className:"pl-[7px] lg:pl-5",children:(0,S.jsx)("li",{className:"list-disc text-[14px] font-[600] leading-[24px] text-[#FE522A]",children:"Trusted by thousands"})}),e.title&&(0,S.jsx)("h1",{className:"main-title-homepage max-w-[624px] text-center text-[32px] font-bold leading-[120%] tracking-[-1.44px;] md:px-0 md:text-left md:text-[48px]",children:e.title}),e.description&&(0,S.jsx)("p",{className:"main-hero-text-homepage text-base max-w-[515px] text-center font-[400] leading-[140%] opacity-60 md:text-left",children:e.description}),(0,S.jsxs)("div",{className:"main-hero-button-homepage flex w-full flex-col items-center justify-between gap-8 md:flex-row",children:[e.customLinks?.link&&(0,S.jsx)(X,{className:"!h-12 !w-[116px] whitespace-nowrap !px-5 !py-3 !text-[16px] !font-[600] leading-[24px] tracking-[-0.48px]",border:`${e.customLinks.customStyle?e.customLinks.border:0}px solid ${e.customLinks.borderColor?.hex}`,link:e.customLinks.link,textColor:e.customLinks.customStyle&&e.customLinks.textColor?.hex?e.customLinks.textColor?.hex:"white",backgroundColor:e.customLinks.customStyle&&e.customLinks.backgroundColor?.hex?e.customLinks.backgroundColor?.hex:"#FE522A"}),(0,S.jsxs)("div",{className:N("flex h-[51px] w-full flex-row items-center justify-center md:w-auto md:min-w-fit md:justify-end"),children:[(0,S.jsxs)("div",{className:"flex flex-col-reverse items-center lg:flex-col lg:gap-y-[2px]",children:[(0,S.jsx)("p",{className:"text-[12px] font-[700] leading-[120%] lg:text-[13px]",children:"11k+ reviews!"}),(0,S.jsx)(T,{className:"!h-[27px] !w-[85px] !object-contain",src:me.yotpo,width:85,height:27,alt:"yotpo logo"})]}),(0,S.jsx)(T,{className:N(" h-full !object-contain transition-all",s?"ml-4":"w-0"),src:me.ndis,width:105,height:51,alt:"ndis logo"})]})]})]})};function fe({hero:e,sanityDataset:t,sanityProjectId:s,mobileDevice:a}){let l=(0,it.default)({projectId:s,dataset:t}),i=a?e?.mobileContent?.img?l.auto("format").format("webp").width(400).image(e?.mobileContent?.img).quality(80).url():"":e?.content?.image?l.auto("format").format("webp").image(e?.content?.image).quality(80).url():"";return(0,S.jsx)(et,{backgroundImage:i,className:"",children:(0,S.jsx)(ft,{hero:e})})}var ot=o(Q());var y=o(r()),at=({ndis:e,sanityDataset:t,sanityProjectId:s})=>{let{label:a,subtitle:l,description:i,linkServices:n,linkSupplies:c,img:u}=e,m=(0,ot.default)({projectId:s,dataset:t});return(0,y.jsxs)("section",{className:"about-section mx-auto flex max-w-[1312px] flex-col-reverse justify-between gap-x-6 gap-y-10 lg:flex-row xl:gap-x-36",children:[(0,y.jsxs)("div",{className:"content-wrapper article-description !md:mb-0 !mb-6 flex h-auto w-full flex-col !items-start gap-y-6 md:rounded-lg md:!pr-0 lg:gap-y-2 xl:gap-y-6",children:[(0,y.jsx)("ul",{className:"pl-4",children:(0,y.jsx)("li",{className:"list-disc text-sm font-[600] leading-[24px] text-[#FE522A]",children:a})}),(0,y.jsx)("h4",{className:"text-[20px] font-bold leading-[24px] text-black md:text-xl xl:leading-[31px]",children:l}),(0,y.jsx)("p",{className:"article-about text-base text-normal !leading-[140%] tracking-[0em] text-black",children:i}),(0,y.jsxs)("div",{className:"flex flex-row gap-x-6",children:[(0,y.jsx)(_,{to:n.slug||"/",children:(0,y.jsxs)("button",{type:"button",style:{fontWeight:600},className:"text-base flex flex-row items-center gap-x-2 whitespace-nowrap leading-[24px] text-black underline",children:[n.title,(0,y.jsx)("div",{children:(0,y.jsx)(q,{})})]})}),(0,y.jsx)(_,{to:c.slug||"/",children:(0,y.jsxs)("button",{type:"button",style:{fontWeight:600},className:"text-base flex flex-row items-center gap-x-2 whitespace-nowrap leading-[24px] text-black underline",children:[c.title,(0,y.jsx)("div",{children:(0,y.jsx)(q,{})})]})})]})]}),(0,y.jsx)(f,{width:990,src:u?m.auto("format").image(u).format("webp").width(800).quality(80).url():"",className:"article-photo mr-0 aspect-video h-auto md:rounded-lg lg:mr-4 xl:h-[366px] xl:w-[624px]"})]})};var x=o(r()),lt=()=>{let{blog:e,page:t,deviceType:s}=he(),[a]=G(),[l]=ge(),i=xe(),{sanityDataset:n,sanityProjectId:c}=a.data.envs,u={sanityDataset:n,sanityProjectId:c},m=s==="mobile",d=l.get("code");return(0,st.useEffect)(()=>{d&&(d==="session_expired"&&le("Session has expired. User was logged out","info"),d==="invalid_b2b_customer"&&le("Invalid credentials","info"),i("/",{replace:!0}))},[l.size]),(0,x.jsxs)(x.Fragment,{children:[t?.hero&&(0,x.jsx)(fe,{hero:t.hero,...u,mobileDevice:m}),(0,x.jsxs)("div",{className:"flex flex-col gap-10 lg:gap-16",children:[t?.modules&&(0,x.jsx)("div",{className:"z-10 mx-auto -mt-15 flex w-full max-w-[1312px] items-center justify-center px-4 leading-[31px] smm:-mt-25 md:-mt-20",children:(0,x.jsx)(ue,{items:t.modules})}),t?.brands&&(0,x.jsx)(Xe,{...u,brands:t?.brands}),t?.featured&&(0,x.jsx)(Je,{deviceType:s,featured:t?.featured}),(0,x.jsx)(Ge,{}),t?.ndis&&(0,x.jsx)(at,{ndis:t?.ndis,...u}),t?.aboutStore&&(0,x.jsx)(Ee,{aboutStore:t?.aboutStore,...u}),!!e.articles?.edges.length&&(0,x.jsx)("div",{className:"mt-6 md:mt-2",children:(0,x.jsx)(qe,{articles:e.articles})}),t?.benefits&&(0,x.jsx)("div",{className:"mb-6 mt-6 w-screen md:mb-4 md:mt-4",children:(0,x.jsx)(We,{benefits:t?.benefits})}),t?.reviews&&(0,x.jsx)("div",{className:"mb-6 md:mb-0",children:(0,x.jsx)(Ze,{feedbacks:t?.reviews})}),(0,x.jsx)("div",{className:"lg:!mt-7",children:(0,x.jsx)(Ae,{})})]})]})};var rt="https://cdn.shopify.com/oxygen-v2/26431/10783/22349/1653411/build/_assets/home-JG5J6DNJ.css";var gt=({data:e})=>e.dynamicLinks,ht=({data:e})=>{let s=e?.page?.hero?.content?.image.url??"https://cdn.shopify.com/s/files/1/0012/8440/7394/files/placegolder.svg?v=1701691776";return[{property:"og:image",content:s},{property:"twitter:image",content:s}]},bt=()=>[{rel:"stylesheet",href:rt,"data-async-style":"true"}],yt=({data:e})=>({title:je(e?.page?.seo?.title,e?.storeDomain)||"Sanity x Hydrogen",description:e?.page?.seo?.description?.slice(0,155)||"A custom storefront powered by Hydrogen and Sanity",jsonLd:[{"@context":"https://schema.org","@type":"Organization",name:"Medshop Australia",description:"Medical Supplies from leading brands 3M Littmann Stethoscopes, Welch Allyn and Omron Blood Pressure Monitors is just the start of the vital medical equipment Medshop provides to the Australian medical market. Medshop is an official NDIS Provider",legalName:"Multipoint Technologies Pty Ltd",address:{"@type":"PostalAddress",streetAddress:"2/52 Fox Drive",addressLocality:"Dandenong South",addressRegion:"VIC",postalCode:"3175",addressCountry:"Australia"},email:"sales@medshopaustralia.com.au",url:"https://www.medshop.com.au/",sameAs:["https://www.facebook.com/MedshopAustralia/","https://www.instagram.com/medshop.official/"],taxID:"ABN: 77 112 642 798",identifier:"NDIS PROVIDER No.: 4050075557",logo:"https://cdn.shopify.com/oxygen/1284407394/1000000355/4p42g8re1/build/_assets/logo-DU6BVD77.svg?width=328&height=48"},{"@context":"https://schema.org","@type":"WebSite",name:"Medshop Australia",url:"https://www.medshop.com.au/"}]}),wt={seo:yt,dynamicLinks:gt};var vt=lt;export{vt as default,wt as handle,bt as links,ht as meta};