PageSourceSearch

https://samsonite.com.br/_next/static/chunks/6695-aead5db21bb1f5ed.js

js samsonite.com.br collected 2026-10-03 21:25:48 UTC 130,029 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6695],{1129:(e,l,t)=>{t.d(l,{ProductSlider:()=>v});var a=t(70862),s=t(48756),r=t(88910),n=t(74859),i=t(99049),o=t(21255),d=t(94972),c=t(17543),u=t(63055),m=t(18526),x=t(56281),p=t(29745),h=t(65594);let v=e=>{let{slides:l,video:t}=e,[o,d]=m.useState(!1),[u,v]=m.useState(!0),[N,y]=m.useState(),[w,C]=m.useState(),[k,S]=m.useState(0),[z,_]=m.useState(),{selectedIndex:A,scrollSnaps:P,onDotButtonClick:I}=(0,n.R)(w),T=m.useCallback(()=>{N&&z&&(S(N.selectedScrollSnap()),z.scrollTo(N.selectedScrollSnap()),w&&w.scrollTo(N.selectedScrollSnap(),!0))},[N,z,w,S]),F=Array.isArray(t)?t.filter(e=>!!(e&&"Video"===e.node.__typename)):[],L=m.useCallback(e=>{N&&z&&N.scrollTo(e)},[N,z]);m.useEffect(()=>{N&&(T(),N.on("select",T),N.on("reInit",T))},[N,T]);let B=m.useCallback(e=>{N&&v(1===e.state.scale)},[N]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Dialog,{open:o,onOpenChange:e=>d(e),children:(0,a.jsxs)(r.DialogContent,{className:"h-screen max-w-full max-md:p-0",children:[(0,a.jsx)(r.DialogHeader,{className:"max-md:p-2",children:(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(r.DialogClose,{asChild:!0,children:(0,a.jsx)(h.Button,{asChild:!0,variant:"icon-outline",size:"icon-md",className:"relative z-10",children:(0,a.jsx)("span",{children:(0,a.jsx)(c.A,{})})})})})}),(0,a.jsxs)(s.Carousel,{className:"flex h-full w-full items-center justify-between",setApi:C,opts:{watchDrag:u},children:[(0,a.jsx)(s.CarouselPrevious,{className:"absolute left-0 z-10 max-md:left-2",variant:"icon-outline",size:"icon-md",cleanClass:!0}),(0,a.jsx)("div",{className:"w-full xl:px-10",children:(0,a.jsxs)(s.CarouselContent,{tabIndex:0,children:[l.map((e,l)=>(0,a.jsx)(s.CarouselItem,{className:"basis-full cursor-zoom-in",children:(0,a.jsx)(x.GT,{onZoomStop:B,children:(0,a.jsx)(b,{image:e.node,carouselApi:w})})},"dialog-carousel".concat(l))),F.map((e,l)=>(0,a.jsx)(s.CarouselItem,{className:"basis-full",children:(0,a.jsx)(f,{video:e.node,className:"cursor-default"})},"dialog-carousel-video-".concat(l)))]})}),(0,a.jsx)(s.CarouselNext,{className:"absolute  right-0 z-10 max-md:right-2",variant:"icon-outline",size:"icon-md",cleanClass:!0})]}),(0,a.jsx)("div",{className:"mt-4 flex w-full justify-center",children:P.map((e,l)=>(0,a.jsx)(p.DotButton,{active:l===A,className:(0,i.cn)(l===A?"!bg-primary":"!border-primary"),onClick:()=>I(l)},l))})]})}),(0,a.jsxs)("div",{className:"xl:flex mb-2 xl:mb-0",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-y-3",children:[(0,a.jsx)(s.Carousel,{className:"flex w-full flex-col gap-3",setApi:y,children:(0,a.jsxs)(s.CarouselContent,{children:[l.map((e,l)=>(0,a.jsx)(s.CarouselItem,{onClick:()=>d(!0),children:(0,a.jsx)(j,{className:"cursor-pointer",image:e.node})},"main-carousel".concat(l))),F.map((e,l)=>(0,a.jsx)(s.CarouselItem,{children:(0,a.jsx)(f,{video:e.node})},"main-carousel-video-".concat(l)))]})}),(0,a.jsx)("div",{className:"flex w-full justify-center xl:hidden",children:(0,a.jsx)("div",{className:"flex xl:hidden",children:(0,a.jsxs)(s.Carousel,{orientation:"horizontal",setApi:_,className:"flex max-xl:max-w-[65vw] max-md:max-w-[75vw] items-center justify-center px-5",children:[(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex mr-3",children:(0,a.jsx)(s.CarouselPrevious,{classNameIcon:"text-primary",variant:"icon-outline",size:"icon-sm",className:"size-9",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden mr-3",children:(0,a.jsx)(s.CarouselPrevious,{classNameIcon:"text-primary",variant:"icon-outline",size:"icon-sm",className:"size-9",cleanClass:!0})}),(0,a.jsxs)(s.CarouselContent,{children:[l.map((e,l)=>(0,a.jsx)(s.CarouselItem,{className:"basis-1/3 md:basis-1/4 md:pl-5",children:(0,a.jsx)(g,{className:"cursor-pointer",active:l===k,onClick:()=>L(l),image:e.node})},"Thumbs-carousel".concat(l))),F.map((e,t)=>(0,a.jsx)(s.CarouselItem,{className:(0,i.cn)("basis-1/3 md:basis-1/4 md:pl-5"),children:(0,a.jsx)(g,{className:"cursor-pointer",active:t+l.length===k,onClick:()=>L(t+l.length),video:e.node,image:void 0})},"Thumbs-carousel-video-".concat(t)))]}),(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex",children:(0,a.jsx)(s.CarouselNext,{className:"ml-4 size-9",classNameIcon:"text-primary",variant:"icon-outline",size:"icon-sm",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden",children:(0,a.jsx)(s.CarouselNext,{className:"ml-4 size-9",classNameIcon:"text-primary",variant:"icon-outline",size:"icon-sm",cleanClass:!0})})]})})})]}),(0,a.jsx)("div",{className:"right-full hidden xl:flex ml-4",children:(0,a.jsxs)(s.Carousel,{orientation:"vertical",setApi:_,className:"flex flex-col justify-center",children:[(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex",children:(0,a.jsx)(s.CarouselPrevious,{className:"mx-auto mb-3 rotate-90",classNameIcon:"text-primary",variant:"icon-outline",size:"none",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden",children:(0,a.jsx)(s.CarouselPrevious,{className:"mx-auto mb-3 rotate-90",classNameIcon:"text-primary",variant:"icon-outline",size:"none",cleanClass:!0})}),(0,a.jsxs)(s.CarouselContent,{className:"h-[287px]",children:[l.map((e,l)=>(0,a.jsx)(s.CarouselItem,{className:"basis-1/4",children:(0,a.jsx)(g,{className:"cursor-pointer",active:l===k,onClick:()=>L(l),image:e.node})},"Thumbs-carousel".concat(l))),F.map((e,t)=>(0,a.jsx)(s.CarouselItem,{className:"basis-1/4",children:(0,a.jsx)(g,{className:"cursor-pointer",active:t+l.length===k,onClick:()=>L(t+l.length),video:e.node,image:void 0})},"Thumbs-carousel".concat(t)))]}),(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex",children:(0,a.jsx)(s.CarouselNext,{className:"mx-auto mt-3 rotate-90",classNameIcon:"text-primary",variant:"icon-outline",size:"none",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden",children:(0,a.jsx)(s.CarouselNext,{className:"mx-auto mt-3 rotate-90",classNameIcon:"text-primary",variant:"icon-outline",size:"none",cleanClass:!0})})]})})]})]})},f=e=>{let{video:l,className:t}=e,s=l.sources[0];
1return s?(0,a.jsxs)("video",{playsInline:!0,autoPlay:!0,loop:!0,muted:!0,controls:!0,preload:"none",className:(0,i.cn)("mx-auto h-full w-full max-w-lg object-contain xl:max-w-full max-h-[450px]",t),children:[(0,a.jsx)("source",{src:s.url,type:s.mimeType}),"Your browser does not support the video tag."]}):null},g=e=>{let{active:l,onClick:t,image:s,video:r,className:n}=e;if(r)return(0,a.jsx)("div",{"aria-hidden":"true",className:(0,i.cn)("bg-basic-tertiary h-14 w-12 overflow-hidden rounded-md shadow-md flex items-center justify-center",l&&"opacity-100 border border-primary",n),onClick:()=>t(),children:(0,a.jsx)(u.A,{className:"h-6 w-6 text-primary",fill:"currentColor"})});if(s){var c;let e=(0,o.ni)(o.sI,s);return(0,a.jsx)("div",{"aria-hidden":"true",className:(0,i.cn)("bg-basic-tertiary h-14 w-12 overflow-hidden rounded-md shadow-md",l&&"opacity-100 border border-primary",n),onClick:()=>t(),children:(0,a.jsx)("img",{loading:"lazy",className:"w-full h-full object-cover",src:(0,d.Q)(e.url.toString(),100),alt:null!=(c=e.altText)?c:""})})}return null},j=e=>{var l;let{image:t,className:s}=e,r=(0,o.ni)(o.sI,t);return(0,a.jsx)("img",{loading:"lazy",className:(0,i.cn)("mx-auto h-full w-full max-w-lg object-contain xl:max-w-full",s),src:(0,d.Q)(r.url.toString(),1200),alt:null!=(l=r.altText)?l:""})},b=e=>{let{image:l,carouselApi:t}=e,{resetTransform:s}=(0,x._5)();return m.useEffect(()=>{t&&(t.on("select",()=>s()),t.on("reInit",()=>s()))},[t,s]),(0,a.jsx)(x.WZ,{wrapperClass:"!w-full !h-full m-auto",contentClass:"!w-full !h-full m-auto",children:(0,a.jsx)(j,{className:"max-h-[80vh]",image:l})})}},3255:(e,l,t)=>{t.d(l,{default:()=>n});var a=t(70862);t(18526);var s=t(53281),r=t(51020);let n=e=>{let{installmentsValue:l,installmentsNumber:t,installmentsMessage:n,installmentsLimitEnabled:i,availableInstallments:o}=e,d=(0,r.k)({installmentsValue:l,installmentsNumber:t,installmentsMessage:n,installmentsLimitEnabled:i});return(0,a.jsx)(a.Fragment,{children:o&&(0,a.jsx)(a.Fragment,{children:d&&(0,a.jsxs)("div",{className:"typ-medium flex items-center gap-3 text-primary",children:[(0,a.jsx)(s.A,{width:20,height:20}),(0,a.jsx)(a.Fragment,{children:d})]})})})}},4223:(e,l,t)=>{t.d(l,{default:()=>p});var a=t(70862),s=t(18526),r=t(74859),n=t(48756),i=t(99049),o=t(65594),d=t(70044),c=t(3333);let u=s.forwardRef((e,l)=>{let{className:t,variant:s="link",size:r="icon-md",cleanClass:n=!1,buttonText:c="Previous slide",canScroll:u,scrollFunction:m,orientation:x,...p}=e;return(0,a.jsx)(o.Button,{ref:l,variant:s,size:r,"aria-label":c,className:(0,i.cn)("absolute h-8",n?"":"horizontal"===x?"absolute -left-16 top-1/2 -translate-y-1/2":"absolute -top-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!u,onClick:m,...p,children:(0,a.jsxs)("div",{className:"group inline-flex min-w-36 max-w-36 items-center justify-center gap-2 overflow-hidden",children:[(0,a.jsx)(d.A,{className:"text-primary-foreground h-8 w-8"}),(0,a.jsx)("span",{className:"text-primary-foreground typ-text-button line-clamp-1 -translate-x-full transform opacity-0 transition group-hover:translate-x-0 group-hover:opacity-100",children:c})]})})});u.displayName="PreviousButton";let m=s.forwardRef((e,l)=>{let{className:t,variant:s="link",size:r="icon-md",cleanClass:n=!1,buttonText:d="Next slide",canScroll:u,scrollFunction:m,orientation:x,...p}=e;return(0,a.jsx)(o.Button,{ref:l,variant:s,size:r,"aria-label":d,className:(0,i.cn)("absolute h-8",n?"":"horizontal"===x?"absolute right-16 top-1/2 -translate-y-1/2":"absolute -bottom-12 left-1/2 -translate-x-1/2 rotate-90",t),disabled:!u,onClick:m,...p,children:(0,a.jsxs)("div",{className:"group inline-flex min-w-36 max-w-36 items-center justify-center gap-2 overflow-hidden",children:[(0,a.jsx)("span",{className:"text-primary-foreground typ-text-button line-clamp-1 translate-x-full transform opacity-0 transition group-hover:translate-x-0 group-hover:opacity-100",children:d}),(0,a.jsx)(c.A,{className:"text-primary-foreground size-8"})]})})});m.displayName="NextButton";let x=e=>{let{children:l,className:t,active:s,...r}=e;return(0,a.jsx)("button",{className:(0,i.cn)("border-primary-foreground ml-2 inline-flex size-3 flex-col items-center justify-center rounded-full border",t,s&&"bg-primary-foreground"),type:"button",...r,children:l})},p=e=>{let{not_arrows:l,nextText:t,prevText:o}=e,{api:d,orientation:c,scrollNext:p,canScrollNext:h,scrollPrev:v,canScrollPrev:f}=(0,n.useCarousel)(),{selectedIndex:g,scrollSnaps:j,onDotButtonClick:b}=(0,r.R)(d),N=(0,s.useId)();return(0,a.jsxs)(a.Fragment,{children:[!l&&(0,a.jsxs)("div",{className:"hidden xl:block",children:[(0,a.jsx)(u,{size:"icon-sm",className:"left-20",orientation:c,scrollFunction:v,canScroll:f,buttonText:o}),(0,a.jsx)(m,{size:"icon-sm",className:"right-20",orientation:c,scrollFunction:p,canScroll:h,buttonText:t})]}),(0,a.jsx)("div",{className:"absolute bottom-12 left-0 block w-full flex-col md:bottom-16",children:(0,a.jsx)("div",{className:(0,i.cn)("flex w-full justify-center"),children:j.length>1?j.map((e,l)=>(0,a.jsx)(x,{active:l===g,onClick:()=>b(l)},"".concat(N).concat(l))):null})})]})}},4327:(e,l,t)=>{t.r(l),t.d(l,{Separator:()=>i});var a=t(70862),s=t(21350),r=t(18526),n=t(99049);let i=r.forwardRef((e,l)=>{let{className:t,orientation:r="horizontal",decorative:i=!0,...o}=e;return(0,a.jsx)(s.b,{ref:l,decorative:i,orientation:r,className:(0,n.cn)("bg-border shrink-0","horizontal"===r?"h-[1px] w-full":"h-full w-[1px]",t),...o})});i.displayName=s.b.displayName},4530:(e,l,t)=>{t.r(l),t.d(l,{AddToWishList:()=>m});var a=t(70862),s=t(99049),r=t(91542),n=t(20238),i=t(65594),o=t(44087),d=t(64816),c=t.n(d);let u=e=>{let{pending:l=!1,buttonText:t,variant:n="secondary",size:d="lg",className:u,isAdded:m=!1,isLogged:x}=e;return(0,a.jsx)(a.Fragment,{children:x?(0,a.jsx)(i.Button,{size:d,variant:n,className:(0,s.cn)("flex h-full items-center justify-center",u),type:"submit",children:l?(0,a.jsx)(r.X,{className:"bg-basic-primary my-auto"}):(0,a.jsxs)("div",{className:"flex flex-row items-center gap-2 h-full",children:[(0,a.jsx)(o.A,{fill:m?"#DD1D1D":"none",className:m?"text-destructive":""}),t]})}):(0,a.jsx)(i.Button,{size:d,variant:n,className:(0,s.cn)("flex h-full items-center justify-center",u),asChild:!0,children:(0,a.jsx)(c(),{href:"/account",children:(0,a.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,a.jsx)(o.A,{}),t]})})})})},m=e=>{let{buttonText:l,variant:t="secondary",size:s="lg",data:r,className:i,isAdded:o=!1,isLogged:d}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(n.WishListWrapper,{isAdded:o,data:r,renderButton:e=>{let{pending:r}=e;return(0,a.jsx)(u,{buttonText:l,className:i,isAdded:o,pending:r,size:s,variant:t,isLogged:d})}})})}},4612:(e,l,t)=>{t.r(l),t.d(l,{default:()=>u});var a=t(70862),s=t(31440),r=t(99049),n=t(88880),i=t(55700),o=t(64816),d=t.n(o);let c={cabina:1,pequena:2,s:3,m:4,l:5,xl:6},u=e=>{var l,t;let{product:o,sizesTitleText:u}=e,m=null==(t=(()=>{var e;let l=(0,n.UW)(null==o||null==(e=o.metafields.find(e=>(null==e?void 0:e.key)==="jp_attributes"))?void 0:e.value,"p_attributes");if(l.success)return l.data})())||null==(l=t.find(e=>e.slug===s.cV.PRODUCT_SIZE))?void 0:l.value,x=(()=>{var e,l,t,a;let s=(0,n.UW)(null==o||null==(e=o.metafields.find(e=>(null==e?void 0:e.key)==="jp_relations"))?void 0:e.value,"relations");
1if(s.success)return null==(a=s.data.find(e=>"Tama\xf1o"===e.name||"Size"===e.name))||null==(t=a.values)||null==(l=t.map(e=>e.sku))?void 0:l.join(",")})(),{data:p}=(0,i._)(x);return(0,a.jsxs)("div",{className:"mt-4 flex flex-col flex-wrap items-center justify-center gap-3 xl:mt-0 xl:flex-row xl:justify-start",children:[(m||p&&p.length>0)&&(0,a.jsx)("p",{className:"typ-large-medium",children:null!=u?u:"Tama\xf1os:"}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[m&&(0,a.jsx)(a.Fragment,{children:(null==o?void 0:o.availableForSale)?(0,a.jsx)(d(),{style:{"--sort":(null==c?void 0:c[null==m?void 0:m.toLowerCase()])||99},href:"/products/".concat(null==o?void 0:o.handle),className:"typ-small-medium border-primary bg-primary text-primary-foreground relative z-10 order-[var(--sort)]  block rounded-sm border p-2",children:m}):(0,a.jsx)(d(),{href:"/products/".concat(null==o?void 0:o.handle),className:"typ-small-medium border-muted-foreground bg-muted-foreground text-primary-foreground relative z-10  order-[var(--sort)] block rounded-sm border p-2",style:{"--sort":(null==c?void 0:c[null==m?void 0:m.toLowerCase()])||99},children:m})}),null==p?void 0:p.map(e=>{var l;return(0,a.jsx)(d(),{style:{"--sort":(null==c?void 0:c[null==(l=e.size)?void 0:l.toLowerCase()])||99},href:"/products/".concat(e.handle),className:(0,r.cn)("typ-small-medium border-primary relative z-10 order-[var(--sort)]  block rounded-sm border p-2",!e.availableForSale&&"typ-small-medium border-muted-foreground bg-muted-foreground text-primary-foreground relative z-10   block rounded-sm border p-2 "),children:e.size},e.handle)})]})]})}},7814:(e,l,t)=>{t.r(l),t.d(l,{FLoatingImageProvider:()=>m,IntersectionObserver:()=>d,PDPClientContext:()=>o,StickySection:()=>c,floatingContext:()=>u});var a=t(70862),s=t(99049),r=t(18526),n=t(47718);let i=r.createContext(null),o=e=>{let{children:l}=e,{outView:t,setOutView:s}=(()=>{let[e,l]=r.useState(!1);return{outView:e,setOutView:l}})();return(0,a.jsx)(i.Provider,{value:{outView:t,setOutView:s},children:l})},d=e=>{let{children:l,className:t}=e,s=r.useContext(i);if(!s)throw Error("StickyButton is not defined");return(0,a.jsx)(n.pL,{onChange:e=>s.setOutView(!e),children:e=>{let{ref:s}=e;return(0,a.jsx)("div",{ref:s,className:t,children:l})}})},c=e=>{let{children:l}=e,t=r.useContext(i);if(!t)throw Error("HeaderContext is not defined");return(0,a.jsx)("div",{className:(0,s.cn)(t.outView?"block":"hidden"),children:l})},u=r.createContext(null),m=e=>{let{children:l}=e,t=(()=>{let[e,l]=r.useState(null),t=r.useRef(null),a=r.useRef(null),s=()=>{let e=a.current,s=t.current;s&&e&&l((null==e?void 0:e.offsetTop)>=window.scrollY+(null==s?void 0:s.offsetHeight)+(null==e?void 0:e.offsetHeight)+80)};return r.useEffect(()=>(s(),window.addEventListener("scroll",s),()=>{window.removeEventListener("scroll",s)}),[t,a]),{sliderRef:t,buttonRef:a,isSticky:e,setIsSticky:l}})();return(0,a.jsx)(u.Provider,{value:t,children:l})}},16411:(e,l,t)=>{t.d(l,{default:()=>v});var a=t(70862),s=t(99049),r=t(64816),n=t.n(r),i=t(9233),o=t(85902),d=t(4e3),c=t(1796),u=t(65465),m=t(85107),x=t(4530),p=t(65222),h=t(80870);let v=e=>{var l,t,r,v,f,g,j,b,N,y,w,C,k,S,z;let{product:_,globalSettings:A,tags:P,withBackground:I,weightLabel:T,capacityLabel:F,showWishListPage:L,isLogged:B,isAlreadyAdded:R,data:D}=e;if(!_)return null;let E=null==_||null==(l=_.id)?void 0:l.slice((null==_?void 0:_.id.lastIndexOf("/"))+1),H=String(_.maxPrice),V=String(_.minPrice),M=_.variantId,U=null==P?void 0:P.filter(e=>{var l;return null==_||null==(l=_.tags)?void 0:l.find(l=>l===e.id)}).toSorted((e,l)=>{var t,a;return(null!=(t=e.order)?t:0)-(null!=(a=l.order)?a:0)}).slice(0,3),W=null==A||null==(t=A.compare)?void 0:t.activateBackground,O=null==A||null==(r=A.compare)?void 0:r.textInProductCard,q=Number(_.minPrice),Z=Number(_.maxPrice),G=(0,c.G)({minPrice:q,availableForSale:_.availableForSale,maxPrice:Z,isBadge:!0}),K=null==U?void 0:U.map((e,l)=>(0,a.jsx)(m.E,{variant:e.variant,className:(0,s.cn)("rounded-sm opacity-0 group-hover:opacity-100",e.imageUrl&&"rounded-full",(null==U?void 0:U.length)===1&&!G&&"opacity-100",(null==U?void 0:U.length)>1&&0===l&&!G&&"opacity-100"),children:e.imageUrl?(0,a.jsx)("img",{className:"h-4 w-4",src:e.imageUrl,alt:e.label}):e.label},e.id)),{weight:Q,weightUnit:Y,capacity:J,capacityUnit:X}=_;return(0,a.jsxs)("div",{className:"group relative z-0 mx-auto",children:[(0,a.jsx)(n(),{href:"/products/".concat(_.handle),className:"absolute inset-0 z-10"}),(0,a.jsxs)("div",{className:(0,s.cn)("border-border group  flex w-full max-w-[450px]  flex-col gap-2 border p-3 xl:border-0  ",{"bg-white":I}),children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between gap-x-1 ",children:[(0,a.jsxs)("div",{className:"absolute flex min-h-[2lh] w-[60%] flex-row flex-wrap items-start justify-start gap-2 ",children:[(0,a.jsx)(i.A,{maxPrice:H,minPrice:V}),K]}),(0,a.jsx)("div",{className:"invisible flex w-full justify-end group-hover:visible",children:(0,a.jsx)(d.CompareButton,{handle:_.handle,title:null==_?void 0:_.title,image:String(null==_||null==(v=_.featuredImage)?void 0:v.url),price:H,capacity:null!=J?J:"",weight:null!=Q?Q:"",maxPrice:H,minPrice:V,buttonText:O,activateBackgroun
1d:W})})]}),(0,a.jsx)("div",{className:"mx-auto",children:(0,a.jsx)("img",{src:String(null==_||null==(f=_.featuredImage)?void 0:f.url),className:"aspect-square size-full object-cover",alt:null==_?void 0:_.title})}),(0,a.jsxs)("div",{className:"flex flex-col gap-1 text-center",children:[(0,a.jsxs)("div",{className:"gap-1",children:[(0,a.jsx)("p",{className:"text-muted typ-brand-name  min-h-[1lh]",children:_.brand}),(0,a.jsx)("h2",{"atrr-qa":"subtitle",className:"text-primary  typ-product-title  line-clamp-2 min-h-[2lh] overflow-hidden",children:null==_?void 0:_.title})]}),(0,a.jsxs)("div",{className:"mx-auto inline-flex min-h-[1lh] items-center justify-start gap-1 overflow-hidden ",children:[J&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:" flex items-start justify-start gap-1",children:[(0,a.jsx)("p",{className:"text-muted  typ-product-subtitle line-clamp-1 overflow-hidden",children:F}),(0,a.jsxs)("p",{className:"text-primary typ-product-subtitle line-clamp-1 overflow-hidden",children:[J," ",X]})]}),(0,a.jsx)("div",{className:"text-muted",children:"|"})]}),(0,a.jsx)(a.Fragment,{children:Q&&(0,a.jsxs)("div",{className:"flex items-start justify-start gap-1",children:[(0,a.jsx)("p",{className:"text-muted typ-product-subtitle line-clamp-1 overflow-hidden",children:T}),(0,a.jsxs)("p",{className:"text-primary typ-product-subtitle line-clamp-1 overflow-hidden",children:[Q," ",Y]})]})})]}),(0,a.jsx)("div",{className:"h-7",children:E?(0,a.jsx)(u.default,{id:E}):null}),(0,a.jsx)("div",{className:"inline-flex items-center justify-start gap-1",children:(0,a.jsx)("div",{className:"mx-auto flex  min-h-[1lh] flex-row  items-center gap-2",children:(0,a.jsx)(c.B,{maxPrice:Number(H),minPrice:Number(V)})})}),(0,a.jsx)(h.ProductColorsPlp,{relations:_.relations,isCardView:!0,handle:_.handle,availableForSale:_.availableForSale,productColor:_.colorHex}),(0,a.jsxs)("div",{children:[(null==A||null==(g=A.productCard)?void 0:g.availableInstallments)&&(0,a.jsx)("div",{className:"hidden h-11 px-1 py-3 text-center xl:block xl:group-hover:hidden",children:(0,a.jsx)("p",{className:"typ-small-medium text-muted min-h-[1lh]  group-hover:hidden",children:(0,a.jsx)(p.default,{installmentsValue:Number(V),installmentsNumber:null==A||null==(j=A.productCard)?void 0:j.installmentsNumber,installmentsMessage:null==A||null==(b=A.productCard)?void 0:b.installments,installmentsLimitEnabled:null==A||null==(N=A.productCard)?void 0:N.installmentsLimitEnabled})})}),(0,a.jsx)("div",{className:"relative inset-0 z-20 flex flex-row items-center gap-1 group-hover:visible xl:invisible",children:M?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(o.AddToCart,{availableForSale:(0,c.G)({availableForSale:_.availableForSale,minPrice:Number(V)}),selectedVariantId:M,variant:"primary",className:"hover:bg-brand-primary hover:text-primary-foreground",buttonText:null!=(C=null==A||null==(y=A.productCard)?void 0:y.addToCartText)?C:"",unavailableText:null!=(k=null==A||null==(w=A.cart)?void 0:w.unavailableText)?k:"",size:"lg"}),L&&(0,a.jsx)("div",{className:"border-brand-primary h-11 border",children:(0,a.jsx)(x.AddToWishList,{data:{variantId:M,productId:null!=(S=_.id)?S:"",handle:null!=(z=_.handle)?z:""},isLogged:B,isAdded:R,variant:"link",size:"icon-md"})})]}):null})]})]})]})]})}},20469:(e,l,t)=>{t.d(l,{InstallmentSection:()=>n});var a=t(70862);t(18526);var s=t(53281),r=t(51020);let n=e=>{let{installmentsValue:l,installmentsNumber:t,installmentsMessage:n,installmentsLimitEnabled:i,availableInstallments:o}=e,d=(0,r.k)({installmentsValue:l,installmentsNumber:t,installmentsMessage:n,installmentsLimitEnabled:i});return(0,a.jsx)(a.Fragment,{children:o&&(0,a.jsx)(a.Fragment,{children:d&&(0,a.jsxs)("div",{className:"typ-medium flex items-center gap-3",children:[(0,a.jsx)(s.A,{width:20,height:20}),(0,a.jsx)(a.Fragment,{children:d})]})})})}},22070:(e,l,t)=>{t.d(l,{TitleWrap:()=>n});var a=t(70862),s=t(18526),r=t(7814);let n=e=>{let{children:l}=e,t=s.useContext(r.floatingContext);if(!t)throw Error("floatingContext is not defined");return(0,a.jsx)("div",{ref:t.buttonRef,children:l})}},24501:(e,l,t)=>{t.d(l,{default:()=>m});var a=t(70862),s=t(48756),r=t(74859),n=t(99049);t(18526);var i=t(29745),o=t(64816),d=t.n(o);let c=e=>{let{imageUrl:l,className:t}=e;return(0,a.jsx)("img",{loading:"lazy",className:(0,n.cn)("mx-auto h-full w-full max-w-lg object-contain",t),src:l,alt:"Intagram Post"})},u=()=>{let{api:e}=(0,s.useCarousel)(),{selectedIndex:l,scrollSnaps:t,onDotButtonClick:o}=(0,r.R)(e);return(0,a.jsx)("div",{className:"flex items-center justify-center xl:hidden",children:t.map((e,t)=>(0,a.jsx)(i.DotButton,{active:t===l,className:(0,n.cn)(t===l?"!bg-primary":"!border-primary"),onClick:()=>o(t)},t))})},m=e=>{let{slides:l}=e;return(0,a.jsx)("div",{className:"flex flex-col-reverse",children:(0,a.jsxs)(s.Carousel,{className:"flex w-full gap-3 max-xl:flex-col",children:[(0,a.jsxs)("div",{className:"hidden flex-row justify-center gap-3 xl:flex",children:[(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex",children:(0,a.jsx)(s.CarouselPrevious,{className:"absolute -left-7 z-10",variant:"icon-primary",size:"icon-md",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden",children:(0,a.jsx)(s.CarouselPrevious,{className:"absolute -left-7 z-10",variant:"icon-primary",size:"icon-md",cleanClass:!0})})]}),(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(s.CarouselContent,{children:null==l?void 0:l.map(e=>(0,a.jsx)(s.CarouselItem,{className:"flex w-full basis-2/3 md:basis-2/5 xl:basis-1/4 ",children:(0,a.jsx)(d(),{href:null==e?void 0:e.permalink,target:"_blank",children:(0,a.jsx)(c,{className:"cursor-pointer rounded-sm",imageUrl:null==e?void 0:e.media_url})})},"main-carousel_".concat(null==e?void 0:e.id)))})}),(0,a.jsxs)("div",{className:"hidden flex-row justify-center gap-3 xl:flex",children:[(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex",children:(0,a.jsx)(s.CarouselNext,{className:"absolute -right-7 z-10",variant:"icon-primary",size:"icon-md",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden",children:(0,a.jsx)(s.CarouselNext,{className:"absolute -right-7 z-10 ",variant:"icon-primary",size:"icon-md",cleanClass:!0})})]}),(0,a.jsx)(u,{})]})})}},26190:(e,l,t)=>{t.r(l),t.d(l,{DotButtons:()=>c,default:()=>m});var a=t(70862),s=t(48756),r=t(87582),n=t(74859),i=t(18526);let o=e=>{let{children:l,...t}=e;return(0,a.jsx)("button",{className:"p-3",type:"button",...t,children:l})},d=i.createContext(null),c=()=>{let e=i.useContext(d);if(!e)throw Error("DotButtonsContext is not defined");let{selectedIndex:l,scrollSnaps:t,onDotButtonClick:s}=e;return(0,a.jsx)(a.Fragment,{children:t.length>1?t.map((e,t)=>(0,a.jsx)(o,{className:"inset-0 ml-2 inline-flex h-4 w-4 flex-col items-center justify-center rounded-full ".concat(t===l?"bg-primary-foreground":"border-primary-foreground  border"),onClick:()=>{s(t)}},t)):null})},u={"3s":"3000","5s":"5000","7s":"7000"};function m(e){let{children:l,autoScroll:t=!1,speed:o="3s"}=e,[c,m]=i.useState(),x=(0,n.R)(c);return(0,a.jsx)(s.Carousel,{className:"relative h-full w-full",opts:{loop:!0},plugins:t?[(0,r.A)({delay:u[o]})]:[],setApi:m,children:(0,a.jsx)(s.CarouselContent,{children:(0,a.jsx)(d.Provider,{value:x,children:l})})})}},28528:(e,l,t)=>{t.d(l,{default:()=>r});var a=t(70862),s=t(18526);let r=e=>{let{id:l}=e,t=(0,s.useRef)(null),r=()=>{var e;return null==(e=window.okeWidgetApi)?void 0:e.initWidget(t.current)};return(0,s.useEffect)(()=>{var e;return(null==(e=window.okeWidgetApi)?void 0:e.initWidget)?r():document.addEventListener("oke-script-loaded",r),()=>{document.removeEventListener("oke-script-loaded",r)}},[l]),(0,a.jsx)("div",{className:"okendo-widget-container",children:(0,a.jsx)("div",{ref:t,"data-oke-widget":!0,"data-oke-reviews-product-id":"shopify-".concat(l)})})}},29745:(e,l,t)=>{t.r(l),t.d(l,{CarouselBody:()=>h,CarouselDefaultControls:()=>p,CarouselDefaultTitle:()=>x,CarouselHeader:()=>m,CarouselLayout:()=>v,DotButton:()=>u});var a=t(70862),s=t(48756),r=t(74859),n=t(99049),i=t(87582),o=t(64816),d=t.n(o);t(18526);var c=t(65594);let u=e=>{let{children:l,className:t,active:s,...r}=e;return(0,a.jsx)("button",{className:(0,n.cn)("ml-2 inline-flex size-3 flex-col items-center justify-center rounded-full border",t,s?"bg-primary":"border-primary"),type:"button",...r,children:l})},m=e=>{let{children:l,className:t,...s}=e;return(0,a.jsx)("div",{className:t,...s,children:l})},x=e=>{let{title:l,urlButton:t,textButton:s,showButton:r=!0}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("h2",{className:"typ-h4 text-primary",children:l}),r&&(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(c.Button,{variant:"secondary",size:"sm",className:"w-28",asChild:!0,children:(0,a.jsx)(d(),{href:null!=t?t:"",children:s})})})]})})},p=e=>{let{not_arrows:l}=e,{api:t}=(0,s.useCarousel)(),{selectedIndex:i,scrollSnaps:o,onDotButtonClick:d}=(0,r.R)(t);return(0,a.jsxs)(a.Fragment,{children:[!l&&(0,a.jsxs)("div",{className:"hidden xl:block",children:[(0,a.jsx)(s.CarouselPrevious,{variant:"icon-primary",size:"icon-sm"}),(0,a.jsx)(s.CarouselNext,{variant:"icon-primary",size:"icon-sm"})]}),(0,a.jsx)("div",{className:"mt-4  block flex-col xl:hidden  ",children:(0,a.jsx)("div",{className:(0,n.cn)("flex w-full justify-center  "),children:o.length>1?o.map((e,l)=>(0,a.jsx)(u,{active:l===i,onClick:()=>d(l)},l)):null})})]})},h=e=>{let{setApi:l,autoScroll:t=!1,opts:r,children:n,className:o}=e;return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(s.Carousel,{className:o,setApi:l,plugins:t?[(0,i.A)({delay:3e3})]:[],opts:r,children:n})})},v=e=>{let{children:l,className:t}=e;return(0,a.jsx)("div",{className:(0,n.cn)("flex flex-col gap-4",t),children:l})}},29746:(e,l,t)=>{t.d(l,{default:()=>N});var a=t(70862),s=t(18526),r=t(90239),n=t(12959),i=t(35793),o=t(63862),d=t(99049),c=t(89263),u=t(65594);let m=e=>{let{coordinates:l,getDirectionsText:t}=e;return(0,a.jsxs)(u.Button,{onClick:()=>{navigator.geolocation.getCurrentPosition(e=>{let{coords:{latitude:t,longitude:a}}=e,s="https://www.google.com/maps/dir/?api=1&origin=".concat(t,",").concat(a,"&destination=").concat(null==l?void 0:l.lat,",").concat(null==l?void 0:l.lng),r=window.open(s,"_blank");if(r)r.focus();else throw Error("Failed to open the directions URL")},e=>{throw Error("Error getting geolocation: ".concat(e.message))})},variant:"link",className:"typ-text-button text-brand-accent relative right-0 z-10 flex items-center gap-2 xl:px-4 px-0 justify-start xl:justify-end",children:[t&&String(t).toUpperCase(),(0,a.jsx)(c.A,{className:"size-4"})]})},x=e=>{var l,t;let{props:s,location:r,position:c,setPosition:u}=e,{getDirectionsText:x}=s,p={schedules:"schedule",mainAddress:"address"},h=(e,l)=>{let t=p[l];return e.map(e=>"".concat(e[t]," "))};return(0,a.jsxs)("div",{className:(0,d.cn)("border-border relative z-0 flex flex-col gap-3 rounded-lg border p-4",r.position===c&&"border-brand-primary"),children:[(0,a.jsx)("button",{className:"absolute inset-0 z-10",onClick:()=>{u(r.position)},type:"button"}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsx)("p",{className:"typ-large-medium text-primary",children:r.name}),(0,a.jsx)("p",{className:"typ-medium text-muted",children:r.mainAddress?h(r.mainAddress,"mainAddress"):r.city})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,a.jsxs)("p",{className:"typ-medium text-muted flex gap-1 ",children:[(0,a.jsx)(n.A,{className:"text-brand-primary size-4"}),null!=(l=r.phoneNumber)?l:""]}),(0,a.jsxs)("p",{className:"typ-medium text-muted flex gap-1 ",children:[(0,a.jsx)(i.A,{className:"text-brand-primary size-4"}),r.schedules?h(r.schedules,"schedules"):"No available"]}),(0,a.jsxs)("div",{className:"relative flex flex-col justify-between gap-2 sm:flex-row",children:[(0,a.jsxs)("p",{className:"typ-medium text-muted flex gap-1 ",children:[(0,a.jsx)(o.A,{className:"text-brand-primary size-4"}),null!=(t=r.email)?t:""]}),(0,a.jsx)(m,{coordinates:r.position,getDirectionsText:x})]})]})]})},p=e=>{let{props:l,locations:t,position:s,setPosition:n}=e,{currentLocation:i,noFoundText:o}=l;return(0,a.jsxs)("div",{className:"mt-4",children:[(0,a.jsxs)("button",{onClick:()=>{navigator.geolocation.getCurrentPosition(e=>{let{coords:{latitude:l,longitude:t}}=e;n({lat:l,lng:t})},e=>{throw Error("Error getting geolocation: ".concat(e.message))})},type:"button",className:"typ-text-button text-brand-accent flex items-center gap-1",children:[i&&String(i).toUpperCase(),(0,a.jsx)(r.A,{className:"size-4"})]}),(0,a.jsxs)("div",{className:"mt-6 flex flex-col gap-4 overflow-auto pr-2 xl:h-[65vh]",children:[(null==t?void 0:t.length)===0&&(0,a.jsxs)("p",{children:[" ",o," "]}),null==t?void 0:t.map(e=>(0,a.jsx)(x,{location:e,position:s,setPosition:n,props:l},e.id))]})]})};var h=t(80109);let v=e=>{let{props:l,handleSearch:t}=e,{placeholder:r,buttonName:n}=l,i=(0,s.useRef)(null);return(0,a.jsxs)("form",{className:"flex w-full gap-7",onSubmit:e=>t(e,i),children:[(0,a.jsxs)("div",{className:"border-border hover:border-brand-primary flex w-full items-center gap-3 rounded-md border px-2",children:[(0,a.jsx)(h.A,{className:"size-4"}),(0,a.jsx)("input",{className:"typ-p text-muted bg-primary-foreground h-11 w-full focus-visible:outline-none",type:"text",placeholder:r,ref:i})]}),(0,a.jsx)("div",{children:(0,a.jsx)(u.Button,{variant:"primary",type:"submit",className:"typ-text-button text-primary-foreground h-11 w-fit roun
1ded-md",children:n})})]})};var f=t(56602);let g={width:"100%",height:"90vh",borderRadius:"0px"},j={lat:0,lng:0},b=e=>{var l;let{pinImage:t,locations:r,position:n}=e;(0,s.useEffect)(()=>{var e;c(n||(null==(e=r.at(0))?void 0:e.position))},[n,r]);let[i,o]=(0,s.useState)(12),[d,c]=(0,s.useState)(n||(null==(l=r.at(0))?void 0:l.position)),u=(0,s.useMemo)(()=>({disableDefaultUI:!0,clickableIcons:!0,scrollwheel:!1,zoomControl:!0,mapTypeId:"roadmap",tilt:0,gestureHandling:"auto"}),[]);return(0,a.jsx)("div",{className:"w-full",children:(0,a.jsx)(f.u6,{options:u,zoom:i,center:d,mapTypeId:google.maps.MapTypeId.ROADMAP,mapContainerStyle:g,mapContainerClassName:"w-full h-[466px] xl:h-full",children:null==r?void 0:r.map(e=>(0,a.jsx)(f.pH,{position:e.position||j,icon:t,title:e.name,clickable:!0,onClick:()=>{c(e.position||j),o(14)}},e.id))})})},N=e=>{var l;let{props:t,allLocations:r}=e,{sectionTitle:n,pinImage:i}=t,[o,d]=s.useState(r),[c,u]=s.useState(null==(l=r.at(0))?void 0:l.position);return(0,a.jsxs)("div",{className:"grid-cols-12 gap-x-8 pb-14 xl:grid xl:pt-14",children:[(0,a.jsx)("div",{className:"order-last col-start-7 col-end-13 w-full",children:(0,a.jsx)(b,{pinImage:i,position:c,locations:o})}),(0,a.jsxs)("div",{className:"container col-start-2 col-end-7 mr-auto pt-6 xl:p-0",children:[(0,a.jsx)("p",{className:"typ-h4 text-primary pb-6",children:n}),(0,a.jsx)(v,{props:t,handleSearch:(e,l)=>{var t;e.preventDefault();let a=(null==(t=l.current)?void 0:t.value.trim().toLowerCase())||"";if(u(void 0),""==a)return void d(r);d(r.filter(e=>{var l;return"".concat(e.country).concat(e.city).concat(e.branchName).concat(e.zip).concat(null==(l=e.mainAddress)?void 0:l.map(e=>e.address)).toLowerCase().includes(a)}))}}),(0,a.jsx)(p,{props:t,locations:o,position:c,setPosition:u})]})]})}},34145:(e,l,t)=>{t.d(l,{default:()=>u});var a=t(70862),s=t(6934),r=t(80109),n=t(31927),i=t(65594),o=t(35338),d=t(35994);let c=d.z.object({purchase_number:d.z.string().min(1)}),u=e=>{let{register:l,watch:t}=(0,n.mN)({mode:"all",resolver:(0,s.u)(c)}),d=t("purchase_number"),u=c.safeParse({purchase_number:d}).success;return(0,a.jsx)("form",{className:"w-full",children:(0,a.jsxs)("div",{className:"flex w-full items-center gap-4",children:[(0,a.jsxs)("div",{className:"bg-background border-border flex w-full items-center gap-4 roun
1ded-md border px-3 py-1",children:[!d&&(0,a.jsx)(r.A,{size:20,className:"text-muted"}),(0,a.jsx)(o.p,{type:"text",placeholder:e.placeholder,className:"w-full border-0 bg-transparent p-0 outline-none focus:ring-0 focus-visible:ring-0",...l("purchase_number")})]}),(0,a.jsx)(i.Button,{type:"button",variant:"tertiary",asChild:!0,className:"size-12 p-3",disabled:!u,children:(0,a.jsx)("a",{href:u?"".concat(e.trackingURL).concat(d):"#",target:"_blank",children:(0,a.jsx)(r.A,{size:20})})})]})})}},35338:(e,l,t)=>{t.d(l,{p:()=>n});var a=t(70862),s=t(18526),r=t(99049);let n=s.forwardRef((e,l)=>{let{className:t,type:s,...n}=e;return(0,a.jsx)("input",{type:s,className:(0,r.cn)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",t),ref:l,...n})});n.displayName="Input"},36746:(e,l,t)=>{t.d(l,{AnalyticsInView:()=>i});var a=t(70862),s=t(47718),r=t(18526),n=t(73508);function i(e){let{children:l,creative_name:t,creative_slot:i,eventName:o="view_promotion"}=e,d=(0,r.useRef)(!1),[c,u]=(0,r.useState)(!1);return(0,a.jsx)(s.pL,{as:"div",triggerOnce:!0,onChange:e=>{e&&!d.current&&(d.current=!0,u(!0))},children:e=>{let{ref:s}=e;return(0,a.jsxs)("div",{ref:s,className:"h-full",children:[l,c&&(0,a.jsx)(n.AnalyticsOnLoadPage,{eventName:o,creative_name:t,creative_slot:i})]})}})}},40938:(e,l,t)=>{t.r(l),t.d(l,{Tabs:()=>i,TabsContent:()=>c,TabsList:()=>o,TabsTrigger:()=>d});var a=t(70862),s=t(99049),r=t(58757),n=t(18526);let i=r.bL,o=n.forwardRef((e,l)=>{let{className:t,...n}=e;return(0,a.jsx)(r.B8,{ref:l,className:(0,s.cn)("text-muted inline-flex items-center justify-center",t),...n})});o.displayName=r.B8.displayName;let d=n.forwardRef((e,l)=>{let{className:t,...n}=e;return(0,a.jsx)(r.l9,{ref:l,className:(0,s.cn)("data-[state=active]:text-brand-primary typ-h5 data-[state=active]:border-brand-primary inline-flex items-center justify-center whitespace-nowrap border-b-2 border-transparent px-3 py-1.5 transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",t),...n})});d.displayName=r.l9.displayName;let c=n.forwardRef((e,l)=>{let{className:t,...n}=e;return(0,a.jsx)(r.UC,{ref:l,className:(0,s.cn)("focus-visible:outline-none",t),...n})});c.displayName=r.UC.displayName},43114:(e,l,t)=>{t.r(l),t.d(l,{default:()=>i});var a=t(70862),s=t(88880),r=t(43740),n=t(84817);let i=e=>{let{product:l,openText:t}=e,[i,o]=(0,r.useQueryState)("open-customization",r.parseAsBoolean.withDefault(!1));return(0,a.jsx)(a.Fragment,{children:(()=>{let e=(0,s.UW)((()=>{var e;return null==l||null==(e=l.metafields.find(e=>(null==e?void 0:e.key)==="jp_attributes"))?void 0:e.value})(),"p_attributes");if(e.success){var t,a,r;return null==(r=e.data)||null==(a=r.find(e=>"available-customizations"===e.slug))||null==(t=a.value)?void 0:t.split(",")}})()&&(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[(0,a.jsx)(n.A,{width:20,height:20}),(0,a.jsx)("button",{onClick:()=>{o(!0)},className:"text-primary typ-medium",children:t})]})})}},45235:(e,l,t)=>{t.d(l,{default:()=>p});var a=t(70862),s=t(74859),r=t(87582),n=t(18526),i=t(48756),o=t(21255),d=t(64816),c=t.n(d);let u=e=>{var l,t;let{collection:s}=e,r=(0,o.ni)(o.dm,s),n=(0,o.ni)(o.sI,r.image);return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(c(),{href:"/collections/".concat(null==r?void 0:r.handle),children:(0,a.jsxs)("div",{className:"flex  flex-col gap-1 ",children:[(0,a.jsx)("figure",{className:"mx-auto flex size-full items-center p-4",children:(0,a.jsx)("img",{src:null!=(l=null==n?void 0:n.url.toString())?l:"",alt:null!=(t=null==n?void 0:n.altText)?t:"",className:"mx-auto  h-full   w-full  object-contain sm:max-h-96 "})}),(0,a.jsx)("div",{className:"flex w-full",children:(0,a.jsx)("p",{className:"typ-h2 text-primary mx-auto overflow-hidden text-center",children:r.title})})]})})})},m=(e,l,t)=>Math.min(Math.max(e,l),t),x=e=>{let{children:l,...t}=e;return(0,a.jsx)("button",{className:"p-3",type:"button",...t,children:l})},p=e=>{var l;let{data:t,categories:o}=e,[d,c]=n.useState(),{selectedIndex:p,scrollSnaps:h,onDotButtonClick:v}=(0,s.R)(d),f=n.useRef(0),g=n.useRef([]),j=n.useCallback(e=>{if(!e)return null;g.current=e.slideNodes().map(e=>e.querySelector(".slider-card"))},[]),b=n.useCallback(e=>{if(!e)return null;f.current=.84*e.scrollSnapList().length},[]),N=n.useCallback((e,l)=>{if(!e)return null;let t=e.internalEngine(),a=e.scrollProgress(),s=e.slidesInView(),r="scroll"===l;
1e.scrollSnapList().forEach((l,n)=>{let i=l-a;t.slideRegistry[n].forEach(n=>{if(r&&!s.includes(n))return;t.options.loop&&t.slideLooper.loopPoints.forEach(e=>{let t=e.target();if(n===e.index&&0!==t){let e=Math.sign(t);-1===e&&(i=l-(1+a)),1===e&&(i=l+(1-a))}});let o=1-Math.abs(i*f.current),d=m(o,0,1).toString(),c=m(o,.7,1).toString();e.slideNodes()[n].style.opacity=d,g.current[n].style.transform="scale(".concat(c,")")})})},[]);return n.useEffect(()=>{d&&(b(d),j(d),N(d),d.on("reInit",j).on("reInit",b).on("reInit",N).on("scroll",N))},[d,N]),(0,a.jsxs)("div",{className:"container mx-auto flex w-full flex-col items-center justify-center gap-4 overflow-hidden py-8 xl:overflow-visible",children:[(0,a.jsx)("div",{className:"w-full max-w-4xl ",children:(0,a.jsxs)("div",{className:"flex w-full flex-col items-center gap-2 text-center ",children:[(0,a.jsx)("h3",{className:"typ-extra-large-medium text-muted line-clamp-1 ",children:null!=(l=t.subtitle)?l:"Subtitle"}),(0,a.jsx)("h1",{className:"typ-h1 text-primary line-clamp-1",children:t.title})]})}),(0,a.jsx)("div",{className:"w-full max-w-7xl",children:(0,a.jsxs)(i.Carousel,{setApi:c,opts:{loop:!0,slidesToScroll:1},plugins:t.autoScroll?[(0,r.A)({delay:3e3})]:[],children:[(0,a.jsx)(i.CarouselContent,{children:null==o?void 0:o.map((e,l)=>(0,a.jsx)(i.CarouselItem,{className:o.length>8?"basis-56 overflow-hidden sm:basis-1/3":"basis-56 overflow-hidden sm:basis-5/12",children:(0,a.jsx)("div",{className:"slider-card",children:e.category.collection?(0,a.jsx)(u,{collection:e.category.collection}):null})},l))}),(0,a.jsxs)("div",{className:"hidden xl:block",children:[(0,a.jsx)(i.CarouselPrevious,{variant:"icon-primary",size:"icon-sm"}),(0,a.jsx)(i.CarouselNext,{variant:"icon-primary",size:"icon-sm"})]}),(0,a.jsx)("div",{className:"mt-3 block flex-col xl:hidden ",children:(0,a.jsx)("div",{className:"flex w-full justify-center",children:h.map((e,l)=>(0,a.jsx)(x,{className:"inset-0 ml-2 inline-flex h-4 w-4 flex-col items-center justify-center rounded-full  ".concat(l===p?"bg-primary":"border-primary  border"),onClick:()=>v(l)},l))})})]})})]})}},47034:(e,l,t)=>{t.d(l,{default:()=>i});var a=t(70862),s=t(31440),r=t(88880),n=t(21255);let i=e=>{var l;let t=e.product,i=(0,n.ni)(n.eG,t),o=null==(l=(()=>{var e;let l=(0,r.UW)(null==(e=i.metafields.find(e=>(null==e?void 0:e.key)==="jp_assets"))?void 0:e.value,"p_assets");if(l.success)return l.data})())?void 0:l.find(e=>e.type===s.LY["MARKETING-BANNER-VIDEO"]);return(0,a.jsx)(a.Fragment,{children:(null==o?void 0:o.uri_internal)?(0,a.jsx)("div",{className:"bg-page-background",children:(0,a.jsx)("div",{className:"container relative py-14",children:(0,a.jsx)("div",{className:"min:w-[328px] relative flex h-[220px] sm:h-[400px] md:h-[520px] lg:h-[720px] bg-black rounded-lg",children:(0,a.jsx)("video",{playsInline:!0,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"none",className:"h-full w-full rounded-lg object-contain",children:(0,a.jsx)("source",{src:o.uri_internal,type:"video/mp4"})})})})}):null})}},50257:(e,l,t)=>{t.d(l,{CollectionGrid:()=>ez});var a,s,r=t(70862),n=t(85107);let i=["png","jpg"];
1var o=t(99049),d=t(73508),c=t(64816),u=t.n(c),m=t(9233),x=t(85902),p=t(4e3),h=t(1796),v=t(65465),f=t(4530),g=t(65222),j=t(80870),b=t(78593);let N=e=>{var l;let t=e.id,a=e.handle,s=e.title,c=e.image,N=e.assets,y=e.price,w=e.tags,C=e.brand,k=e.availableForSale,S=e.selectVariantId,z=e.textAddToCart,_=e.installmentsNumber,A=e.installmentsText,P=e.installmentsLimitEnabled,I=e.availableInstallments,T=e.capacity,F=e.weight,L=e.capacityText,B=e.weightText,R=e.relations,D=e.unavailableText,E=e.colorHex,H=e.showWishListPage,V=e.isLogged,M=e.isAlreadyAdded,U=e.storeInfo.localization.country.currency.isoCode,W=e.activateBackground;e.sku;let O=e.colorLabel;e.item_categories;let q=e.onProductClick,Z=e.onAddToCartClick,G=(e=>(()=>{try{return(e?JSON.parse(e||"[]"):[]).filter(e=>i.includes(function(e){let l=e.match(/\.([0-9a-z]+)(?:[\?#]|$)/i);return l?l[1]:""}((null==e?void 0:e.uri_internal)||""))&&0===e.private).at(1)}catch(e){console.log(e)}})())(N),K=null==w||null==(l=w.builderTags)?void 0:l.filter(e=>{var l;return null==(l=w.tags)?void 0:l.find(l=>l===e.id)}).toSorted((e,l)=>{var t,a;return(null!=(t=e.order)?t:0)-(null!=(a=l.order)?a:0)}).slice(0,3),Q=Number(null==y?void 0:y.maxPrice),Y=Number(null==y?void 0:y.minPrice),J=Q>Y?Q-Y:0,X=(0,h.G)({minPrice:Y,availableForSale:k,maxPrice:Q,isBadge:!0}),$=e.collection_id,ee=(0,b.H)($),el=(0,b.H)(e.variantId),et=K&&K.length>0?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"flex md:hidden",children:(0,r.jsx)(n.E,{variant:K[0].variant,className:(0,o.cn)("rounded-sm",K[0].imageUrl&&"rounded-full",!X&&"opacity-100"),children:K[0].imageUrl?(0,r.jsx)("img",{className:"size-4",src:K[0].imageUrl,alt:K[0].label}):K[0].label},K[0].id)}),(0,r.jsx)("span",{className:"hidden md:flex gap-2",children:K.map((e,l)=>(0,r.jsx)(n.E,{variant:e.variant,className:(0,o.cn)("rounded-sm opacity-0 group-hover:opacity-100",e.imageUrl&&"rounded-full",1===K.length&&!X&&"opacity-100",K.length>1&&0===l&&!X&&"opacity-100"),children:e.imageUrl?(0,r.jsx)("img",{className:"size-4",src:e.imageUrl,alt:e.label}):e.label},e.id))})]}):null;return(0,r.jsx)("div",{className:"group relative z-0 block h-full max-sm:shadow-sm",children:(0,r.jsxs)("div",{className:"flex h-full flex-col justify-between gap-3 p-5",children:[(0,r.jsx)(u(),{href:"/products/".concat(a),className:"absolute inset-0 z-10",onClick:q}),(0,r.jsxs)("div",{className:"absolute left-3 top-2 flex w-[60%] flex-wrap justify-start gap-2",children:[(0,r.jsx)(m.A,{maxPrice:null==y?void 0:y.maxPrice,minPrice:null==y?void 0:y.minPrice}),et]}),e.withCompareButton&&(0,r.jsx)("div",{className:"absolute right-3 top-2 hidden md:flex justify-end xl:hidden xl:group-hover:flex",children:(0,r.jsx)(p.CompareButton,{buttonText:e.compareButtonText,handle:a,title:s,image:c,price:null==y?void 0:y.minPrice,capacity:null!=T?T:"",weight:null!=F?F:"",maxPrice:null==y?void 0:y.maxPrice,minPrice:null==y?void 0:y.minPrice,activateBackground:W})}),(0,r.jsxs)("div",{className:"group",children:[(0,r.jsx)("img",{className:(0,o.cn)("aspect-[21/25] object-cover bg-white",G?"group-hover:hidden":""),alt:s,src:c}),G&&(0,r.jsx)("img",{className:"hidden aspect-[21/25] object-cover pt-3 group-hover:block bg-white",alt:s,src:G.uri_internal})]}),(0,r.jsxs)("div",{className:"flex flex-col gap-1",children:[(0,r.jsx)("p",{className:"typ-brand-name text-muted text-center",children:C}),(0,r.jsx)("h2",{className:"typ-product-title line-clamp-2 min-h-[2lh] text-center",children:s}),(0,r.jsxs)("div",{className:" hidden justify-center md:flex",children:[T&&(0,r.jsxs)("div",{className:(0,o.cn)("border-border flex gap-1",F&&T&&"border-r pr-3"),children:[(0,r.jsxs)("p",{className:"typ-subtitle text-muted",children:[null!=L?L:"Capacidad"," "]}),(0,r.jsxs)("p",{className:"typ-subtitle",children:[T,"L"]})]}),F&&(0,r.jsxs)("div",{className:"flex gap-1 pl-3",children:[(0,r.jsxs)("p",{className:"typ-subtitle text-muted",children:[null!=B?B:"Peso"," "]}),(0,r.jsxs)("p",{className:"typ-subtitle",children:[F,"KG"]})]})]}),(0,r.jsx)("div",{className:"grid place-items-center min-h-[25px] text-center",children:t?(0,r.jsx)(v.default,{id:t}):null})]}),(0,r.jsx)(j.ProductColorsPlp,{relations:R,isCardView:!0,handle:a,availableForSale:k,productC
1olor:E,colorLabel:O}),(0,r.jsx)("div",{className:"flex justify-center",children:(0,r.jsx)("div",{className:"text-primary flex flex-col-reverse md:flex-row items-center justify-center gap-0 md:gap-1 text-center h-[34px]",children:(0,r.jsx)(h.B,{maxPrice:Number(null==y?void 0:y.maxPrice),minPrice:Number(null==y?void 0:y.minPrice)})})}),(0,r.jsxs)("div",{className:"relative",children:[I?(0,r.jsx)("div",{className:"typ-small-mini text-muted absolute left-0 right-0 m-auto hidden px-2 py-2 text-center group-hover:opacity-0 xl:block ",children:(0,r.jsx)(g.default,{installmentsValue:Number(null==y?void 0:y.minPrice),installmentsNumber:_,installmentsMessage:A,installmentsLimitEnabled:P})}):null,S?(0,r.jsxs)("div",{className:"relative z-50 flex cursor-pointer flex-row  items-center gap-1 group-hover:opacity-100 xl:opacity-0",children:[(0,r.jsx)(d.AnalyticsWrapper,{eventName:"add_to_cart",items:{item_name:e.title,item_id:el,item_sku:e.sku,item_groupcode:e.id,item_imagen_url:e.image,price:Y,item_brand:e.brand,item_category:e.collection_name,item_variant:e.selectVariantId,item_list_name:e.collection_name,item_list_id:ee,item_categories:e.item_categories,index:1,quantity:1,discount:J,affiliation:e.brand},value:Y,currency:U,children:(0,r.jsx)("div",{onClick:Z,className:"w-full h-full",children:(0,r.jsx)(x.AddToCart,{availableForSale:(0,h.G)({minPrice:Number(null==y?void 0:y.minPrice),availableForSale:k}),buttonText:z,selectedVariantId:S,unavailableText:D,variant:"primary",size:"sm",iconMobile:!0})})}),H&&(0,r.jsx)("div",{className:"border-brand-primary h-11 border",children:(0,r.jsx)(f.AddToWishList,{data:{variantId:S,productId:null!=t?t:"",handle:null!=a?a:""},isLogged:V,isAdded:M,variant:"link",size:"icon-md"})})]}):null]})]})})};N.displayName="FullProductCard";var y=t(85879);let w=(a=[{label:"Receba em casa",value:"Cd E-Commerce Br"}],a);var C=t(88770);let k="filter.";var S=t(66443),z=t(90807),_=t(72943),A=t(73973),P=t(18526),I=t(65594),T=t(48830),F=t(49867);let L=P.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)(T.bL,{ref:l,className:(0,o.cn)("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground",t),...a,children:(0,r.jsx)(T.C1,{className:(0,o.cn)("flex items-center justify-center text-current"),children:(0,r.jsx)(F.A,{className:"h-4 w-4"})})})});L.displayName=T.bL.displayName;var B=t(77737);let R=B.bL,D=B.R6,E=B.Ke;var H=t(8139),V=t(40450);let M=P.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsxs)(V.bL,{ref:l,className:(0,o.cn)("relative flex w-full touch-none select-none items-center",t),...a,children:[(0,r.jsx)(V.CC,{className:"bg-muted-foreground relative h-2 w-full grow overflow-hidden rounded-full",children:(0,r.jsx)(V.Q6,{className:"bg-primary absolute h-full"})}),(0,r.jsx)(V.zi,{className:"bg-primary ring-offset-background focus-visible:ring-ring block h-5 w-5 rounded-full transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"}),(0,r.jsx)(V.zi,{className:"bg-primary ring-offset-background focus-visible:ring-ring block h-5 w-5 rounded-full transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50"})]})});M.displayName=V.bL.displayName;var U=t(22525),W=t(1481);let O=(0,t(15749).F)("inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground",{variants:{variant:{default:"bg-transparent",outline:"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"},size:{default:"h-10 px-3",sm:"h-9 px-2.5",lg:"h-11 px-5"}},defaultVariants:{variant:"default",size:"default"}});P.forwardRef((e,l)=>{let{className:t,variant:a,size:s,...n}=e;return(0,r.jsx)(W.b,{ref:l,className:(0,o.cn)(O({variant:a,size:s,className:t})),...n})}).displayName=W.b.displayName;let q=P.createContext({size:"default",variant:"default"});P.forwardRef((e,l)=>{let{className:t,variant:a,size:s,children:n,...i}=e;return(0,r.jsx)(U.bL,{ref:l,className:(0,o.cn)("flex items-center justify-center gap-1",t),...i,children:(0,r.jsx)(q.Provider,{value:{variant:a,size:s},children:n})})}).displayName=U.bL.displayName,P.forwardRef((e,l)=>{var t,a;let{className:s,children:n,variant:i,size:d,...c}=e,u=P.useContext(q);return(0,r.jsx)(U.q7,{ref:l,className:(0,o.cn)(O({variant:null!=(t=u.variant)?t:i,size:null!=(a=u.size)?a:d}),"border !border-border data-[state=on]:!border-black hover:!border-black hover:bg-gray-200 data-[state=on]:border-primary data-[state=on]:bg-transparent data-[state=on]:bg-gray-200",s),...c,children:n})}).displayName=U.q7.displayName;var Z=t(44049),G=t(25811);let K="filter.";async function Q(){for(var e=arguments.length,l=Array(e),t=0;t<e;t++)l[t]=arguments[t];let[a,s]=l;return fetch(a,{...s,cache:"no-store"})}
1new G.K({siteId:"54gf6w"},{fetchApi:Q});let Y=()=>{let e=(0,P.useId)(),l=(0,A.useRouter)(),t=(0,A.usePathname)(),a=(0,A.useSearchParams)(),[s,r]=P.useTransition();return{id:e,router:l,pathname:t,searchParams:a,loading:s,startTransition:r}};var J=t(4944),X=t(17543),$=t(81041);let ee=P.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)($.uB,{ref:l,className:(0,o.cn)("flex h-full w-full flex-col overflow-hidden",t),...a})});ee.displayName=$.uB.displayName;let el=P.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)($.uB.List,{ref:l,className:(0,o.cn)("max-h-[300px] overflow-y-auto overflow-x-hidden",t),...a})});el.displayName=$.uB.List.displayName;let et=P.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)($.uB.Item,{ref:l,className:(0,o.cn)("aria-[selected='true']:bg-muted-foreground typ-small-medium relative flex cursor-default select-none items-center px-6 py-2 text-sm outline-none data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50",t),...a})});et.displayName=$.uB.Item.displayName;var ea=t(34862);let es=ea.bL,er=ea.l9,en=P.forwardRef((e,l)=>{let{className:t,align:a="center",sideOffset:s=4,...n}=e;return(0,r.jsx)(ea.ZL,{children:(0,r.jsx)(ea.UC,{ref:l,align:a,sideOffset:s,className:(0,o.cn)("bg-background text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-10 border p-4 outline-none data-[side=bottom]:rounded-b-sm data-[side=left]:rounded-l-sm data-[side=right]:rounded-r-sm data-[side=top]:rounded-t-sm",t),...n})})});en.displayName=ea.UC.displayName;var ei=t(91929),eo=t(71137);let ed=P.forwardRef((e,l)=>{let{className:t,...a}=e;return(0,r.jsx)(eo.bL,{className:(0,o.cn)("peer inline-flex h-6 w-11 shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary data-[state=unchecked]:bg-black",t),...a,ref:l,children:(0,r.jsx)(eo.zi,{className:(0,o.cn)("pointer-events-none block h-5 w-5 rounded-full bg-background shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0")})})});ed.displayName=eo.bL.displayName;let ec=null!==(s="pt_BR".startsWith("pt"))&&void 0!==s&&s,eu=e=>{let{facet:l,meta:t,labelText:a,listLimit:s=10}=e,{id:n,loading:i,onChange:d}=((e,l)=>{let{id:t,router:a,pathname:s,searchParams:r,loading:n,startTransition:i}=Y();return{id:t,loading:n,onChange:P.useCallback((t,n)=>{let o="".concat(K).concat(e.field),d=new URLSearchParams(r.toString());"or"===l.multiple||"and"===l.multiple?"add"===n?d.append(o,t):d.delete(o,t):"single"===l.multiple&&("add"===n?(d.delete(o),d.set(o,t)):d.delete(o)),i(()=>{a.push("".concat(s,"?").concat(d.toString()),{scroll:!1})})},[e.field,l.multiple,s,a,r])}})(l,t),[c,u]=P.useState(!1);return(0,r.jsxs)(r.Fragment,{children:[l.values.map((e,t)=>{var a,u,m;return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center gap-2",i&&"pointer-events-none animate-pulse",!c&&t>=s&&"hidden"),children:[(0,r.jsx)(L,{checked:e.filtered,onCheckedChange:l=>d(e.value,l?"add":"remove"),value:null==(a=e.value)?void 0:a.toString(),id:n.concat(e.value)}),e.filtered,(0,r.jsxs)("label",{htmlFor:n.concat(e.value),children:[(e=>{switch(e){case"0":return"No stock";case"1":return"In stock";default:return e}})(e.label)," ",null==(u=function(e){switch(e){case"weight":return{title:"Kgs"};case"capacity":return{title:"Lts"};default:return null}}(null==(m=l.field)?void 0:m.toString()))?void 0:u.title]})]},"".concat(l.field,"-").concat(e.value))}),!c&&l.values.length>s&&(0,r.jsx)("button",{onClick:()=>{u(!0)},className:"no-underline text-primary hover:text-primary-dark font-bold",children:null!=a?a:"Show More"})]})},em=e=>{var l,t;let{facet:a,meta:s}=e,{id:n,loading:i,onChange:d}=((e,l)=>{let{id:t,router:a,pathname:s,searchParams:r,loading:n,startTransition:i}=Y();return{id:t,loading:n,onChange:P.useCallback((t,n)=>{let o="".concat(K).concat(e.field),d=new URLSearchParams(r.toString()),[c,u]=t;"or"===l.multiple||"and"===l.multiple?"add"===n?("number"==typeof c&&d.append("".concat(o,".low"),c.toString()),"number"==typeof u&&d.append("".concat(o,".high"),u.toString())):("number"==typeof c&&d.delete("".concat(o,".low"),c.toString()),"number"==typeof u&&d.delete("".concat(o,".high"),u.toString())):"single"===l.multiple&&("add"===n?(d.delete("".concat(o,".low")),d.delete("".concat(o,".high")),"number"==typeof c&&d.set("".concat(o,".low"),c.toString()),"number"==typeof u&&d.set("".concat(o,".high"),u.toString())):(d.delete("".concat(o,".low")),d.delete("".concat(o,".high")))),i(()=>{a.push("".concat(s,"?").concat(d.toString()),{scroll:!1})})},[e.field,l.multiple,s,a,r])}})(a,s),c=(0,A.useSearchParams)(),u=null!=(l=c.get("filter.price.low"))?l:c.get("filter.discount.low"),m=null!=(t=c.get("filter.price.high"))?t:c.get("filter.discount.high"),x=u&&m?"[".concat(u,"~").concat(m,"]"):null;return a.values.map(e=>{var l,t,s,c,u,m,p,h,v,f;let g=n.concat(null!=(s=null==(l=e.low)?void 0:l.toString())?s:"",null!=(c=null==(t=e.high)?void 0:t.toString())?c:"");return(0,r.jsxs)("div",{className:(0,o.cn)("flex items-center gap-2",i&&"pointer-events-none animate-pulse"),children:[(0,r.jsx)(L,{checked:x==="[".concat(null!=(u=e.low)?u:0,"~").concat(null!=(m=e.high)?m:0,"]"),onCheckedChange:l=>d([e.low,e.high],l?"add":"remove"),value:[null!=(p=e.low)?p:0,null!=(h=e.high)?h:0].map(e=>e.toString()),id:g}),"price"===a.field?(0,r.jsxs)("label",{htmlFor:g,children:[(0,r.jsx)(ei.Price,{amount:null!=(v=e.low)?v:0})," - ",(0,r.jsx)(ei.Price,{amount:null!=(f=e.high)?f:0})," "]}):"discount"===a.field?(0,r.jsx)("label",{htmlFor:g,children:0===e.low?(0,r.jsxs)(r.Fragment,{children:[" ",ec?"At\xe9":"Hasta"," ",e.high,"%"," "]}):(0,r.jsxs)(r.Fragment,{children:[e.low,"-",e.high,"%"]})}):(0,r.jsx)("label",{htmlFor:g,children:e.label})]},"".concat(a.field,"-").concat(e.low,"-").concat(e.high))})};function ex(e){let{name:l}=e,t=(0,A.useRouter)(),a=(0,A.useSearchParams)(),s="".concat("filter.").concat(l),n="true"===a.get(s);return(0,r.jsxs)("div",{className:"flex items-center gap-3 ",children:[(0,r.jsx)(ed,{checked:n,onCheckedChange:e=>{let l=new URLSearchParams(a.toString());e?l.set(s,"true"):l.delete(s),t.push("?".concat(l.toString()),{scroll:!1})}}),n?" In stock":"All products"]})}let ep=e=>
1{let{facet:l,labelFrom:t,labelTo:a}=e,{inputs:s,storedMin:n,storedMax:i,minValue:o,maxValue:d,setFilter:c,highestMax:u,lowestMin:m}=((e,l,t)=>{var a,s,r,n,i,o,d,c;let{id:u,router:m,pathname:x,searchParams:p}=Y(),h=p.get("highestMax"),v=p.get("lowestMin"),f=h?parseInt(h,10):null!=(a=e.range.high)?a:0,g=v?parseInt(v,10):null!=(s=e.range.low)?s:0,[j,b]=P.useState(null!=(r=e.range.low)?r:0),[N,y]=P.useState(null!=(n=e.range.high)?n:0),[w,C]=P.useState(j),[k,S]=P.useState(N),[z,_]=P.useState(j),[A,I]=P.useState(N);j>(null!=(i=e.range.low)?i:0)&&b(null!=(o=e.range.low)?o:0),N<(null!=(d=e.range.high)?d:0)&&y(null!=(c=e.range.high)?c:0);let T=P.useCallback((l,t)=>{let a="".concat(K).concat(e.field),s=new URLSearchParams(p.toString());l<=0&&(l=j),l===t&&(t=l+1),C(l),_(l),s.set("".concat(a,".low"),l.toString()),S(t),I(t),s.set("".concat(a,".high"),t.toString()),h||s.set("highestMax",f.toString()),v||s.set("lowestMin",g.toString()),m.push("".concat(x,"?").concat(s.toString()),{scroll:!1})},[e.field,x,m,p]);return{inputs:P.useMemo(()=>[{id:u.concat("input-min"),value:z,label:null!=l?l:"From $",onChange:e=>{_(e.target.valueAsNumber)},onBlur:e=>{!isNaN(Number(e.target.value))&&isFinite(Number(e.target.value))&&T(e.target.valueAsNumber<j?j:e.target.valueAsNumber,Math.max(Math.min(Number(e.target.value),k),j))}},{id:u.concat("input-max"),value:A,label:null!=t?t:"To $",onChange:e=>{I(e.target.valueAsNumber)},onBlur:e=>{!isNaN(Number(e.target.value))&&isFinite(Number(e.target.value))&&T(w,Math.max(Math.min(Number(e.target.value),N),w))}}],[u,z,l,A,t,T,k,j,w,N]),storedMin:j,storedMax:N,minValue:w,maxValue:k,setFilter:T,highestMax:f,lowestMin:g}})(l,t,a);return(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,r.jsx)(M,{className:"mx-auto py-2.5",min:m,max:u,value:[o,d],onValueChange:e=>{var l,t;return c(null!=(l=e[0])?l:n,null!=(t=e[1])?t:i)},step:l.step,defaultValue:[n,i]}),(0,r.jsx)("div",{className:"typ-small-mini flex justify-between",children:s.map(e=>(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[(0,r.jsx)("label",{htmlFor:e.id,children:e.label}),(0,r.jsx)("input",{value:e.value,type:"number",className:"typ-small m-0 max-w-20 grow-0 bg-transparent px-1 py-0.5",id:e.id,onChange:e.onChange,onBlur:e.onBlur})]},e.id))})]})},eh=e=>{var l;let{children:t,loadMore:a,initialShowing:s,totalResults:n,staticTexts:i={buttonText:"Load more",paginationText:"Showing {current} of {total} products"}}=e,o=null==i||null==(l=i.paginationText)?void 0:l.replaceAll("{current}",s.toString()).replaceAll("{total}",null==n?void 0:n.toString());return(0,r.jsxs)(r.Fragment,{children:[t,(0,r.jsxs)("div",{className:"col-span-full flex flex-col items-center justify-center gap-4 p-4",children:[(0,r.jsx)(I.Button,{disabled:s===n,size:"lg",variant:"secondary",onClick:a,children:null==i?void 0:i.buttonText}),(0,r.jsx)("span",{className:"text-muted typ-medium text-center",children:o})]})]})},ev=e=>{var l;let{meta:t,sortByLabel:a}=e,{value:s,setOpen:n,open:i,loading:d,onValueChange:c}=(()=>{let{router:e,pathname:l,searchParams:t,loading:a,startTransition:s}=Y(),[r,n]=P.useState(()=>{var e;return null!=(e=t.get("sort"))?e:""}),[i,o]=P.useState(!1),d=P.useCallback(a=>{let r=new URLSearchParams(t.toString());r.delete("sort"),a&&r.set("sort",a),s(()=>{e.push("".concat(l,"?").concat(r.toString()),{scroll:!1}),n(a),o(!1)})},[l,e,t]);return{value:r,setOpen:o,open:i,loading:a,onValueChange:d}})(),[u,m]=P.useState(""),x=new URLSearchParams((0,A.useSearchParams)().toString()).get("sort"),p=null==t||null==(l=t.find(e=>"".concat(e.type)===x))?void 0:l.label;return(0,r.jsxs)("div",{className:"flex items-center gap-2 md:gap-4 ",children:[(0,r.jsx)("div",{className:"typ-medium-medium",children:null!=a?a:"Sort by"}),(0,r.jsxs)(es,{open:i,onOpenChange:n,children:[(0,r.jsxs)(er,{className:"border-border typ-medium flex items-center justify-between  gap-2 rounded-md border  px-3 py-2 shadow",children:[(0,r.jsxs)("p",{className:"w-20 md:min-w-32",children:[p," "]}),(0,r.jsx)(J.A,{className:" text-muted size-4"})]}),(0,r.jsx)(en,{className:"ring-border mt-1 w-11/12 overflow-hidden rounded-md border-0 p-0 shadow-lg ring-1 md:w-80 ",sideOffset:1,align:"end",side:"bottom",avoidCollisions:!1,children:(0,r.jsx)(ee,{value:s,className:(0,o.cn)(d&&"pointer-events-none animate-pulse"),children:(0,r.jsx)(el,{children:null==t?void 0:t.map(e=>{let l="".concat(e.type);return(0,r.jsxs)(et,{className:"cursor-pointer",value:l,onSelect:l=>{var t;c(l===s?"":l),m(l===s?"":null!=(t=e.label)?t:"")},children:[(0,r.jsx)(F.A,{className:(0,o.cn)("mr-2 size-4",s===l?"opacity-100":"opacity-0")}),e.label]},e.type)})})})})]})]})},ef=e=>{let{sortByLabel:l,itemsPerPage:t}=e,{value:a,setOpen:s,open:n,loading:i,onValueChange:d}=(e=>{let{itemsPerPage:l}
1=e,[t,a]=P.useState(null!=l?l:"48"),[s,r]=P.useState(!1),{router:n,pathname:i,searchParams:o,loading:d,startTransition:c}=Y(),u=P.useCallback(e=>{let l=new URLSearchParams(o.toString());l.delete("page"),e&&l.set("page",e),c(()=>{n.push("".concat(i,"?").concat(l.toString()),{scroll:!1}),a(e),r(!1)})},[i,n,o]);return{value:t,setOpen:r,open:s,loading:d,onValueChange:u}})({itemsPerPage:t});return(0,r.jsxs)("div",{className:"hidden items-center gap-4 md:flex ",children:[(0,r.jsx)("div",{className:"typ-medium-medium",children:null!=l?l:"Per page"}),(0,r.jsxs)(es,{open:n,onOpenChange:s,children:[(0,r.jsxs)(er,{className:"border-border typ-medium flex items-center justify-between  gap-2 rounded-md border  px-3 py-2 shadow",children:[a,(0,r.jsx)(J.A,{className:"text-muted size-4"})]}),(0,r.jsx)(en,{className:"ring-border mt-1 w-screen overflow-hidden rounded-md border-0 p-0 shadow-lg ring-1 md:w-16",sideOffset:1,align:"start",side:"bottom",avoidCollisions:!1,children:(0,r.jsx)(ee,{value:a,className:(0,o.cn)(i&&"pointer-events-none animate-pulse"),children:(0,r.jsx)(el,{children:["8","16","24","48","96"].map(e=>(0,r.jsxs)(et,{className:"cursor-pointer px-1",value:e,onSelect:e=>{d(e===a?"":e)},children:[(0,r.jsx)(F.A,{className:(0,o.cn)("mr-2 size-4",a===e?"opacity-100":"opacity-0"),strokeWidth:1}),e]},e))})})})]})]})},eg=P.forwardRef((e,l)=>{let{className:t,asChild:a=!1,onClick:s,...n}=e,i=a?Z.DX:"button",{clearFacets:o}=(e=>{let{router:l,pathname:t,searchParams:a,loading:s,startTransition:r}=Y();return{clearFacets:s=>{"function"==typeof e&&e(s);let r=new URLSearchParams(a.toString());Array.from(r.keys()).forEach(e=>{e.startsWith(K)&&r.delete(e)}),l.push("".concat(t,"?").concat(r.toString()),{scroll:!1})}}})();return(0,r.jsx)(i,{className:t,ref:l,onClick:o,...n})});eg.displayName="ClearFacets";let ej=P.createContext(!0),eb=e=>{let{children:l}=e,t=function(e){let l=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[t,a]=P.useState(l);return P.useEffect(()=>{function l(e){a(e.matches)}let t=matchMedia(e);return t.addEventListener("change",l),a(t.matches),()=>t.removeEventListener("change",l)},[e]),t}("(min-width: 1024px)",!0);return(0,r.jsx)(ej.Provider,{value:t,children:(0,r.jsx)(eN,{children:l})})},eN=e=>{let{children:l}=e;return P.useContext(ej)?(0,r.jsx)(R,{asChild:!0,"aria-orientation":"horizontal",defaultOpen:!0,children:l}):(0,r.jsx)(H.Sheet,{children:l})},ey=e=>{let{children:l,filtersLabel:t,showResultsLabel:a,clearLabel:s,totalFacets:n}=e,i=P.useContext(ej),[d,c]=P.useState(!0);return(P.useEffect(()=>{let e=()=>{0===window.scrollY?c(!0):c(!1)};return window.addEventListener("scroll",e),()=>{window.removeEventListener("scroll",e)}},[d]),i)?(0,r.jsx)(E,{className:"bg-card data-[state='closed']:animate-collapsible-side-exit data-[state='open']:animate-collapsible-side-enter w-[25%] flex-shrink-0 overflow-hidden data-[state='open']:hidden data-[state='open']:md:flex",children:l}):(0,r.jsxs)(H.SheetContent,{transparentOverlay:!0,className:(0,o.cn)("flex  flex-col gap-0 p-0","h-[calc(100vh-135px)] md:h-[calc(100vh-232px)]"),side:"bottom",children:[(0,r.jsxs)("div",{className:"bg-card flex items-center justify-between px-6 pb-4 pt-10",children:[(0,r.jsxs)("h5",{className:"typ-h5",children:[null!=t?t:"Filters"," "]}),(0,r.jsx)(H.SheetClose,{asChild:!0,children:(0,r.jsx)("button",{className:"bg-muted-foreground rounded-full p-1","aria-label":"Filters",type:"button",children:(0,r.jsx)(X.A,{className:"size-6",strokeWidth:1})})})]}),(0,r.jsx)("div",{className:"bg-card flex-grow overflow-auto",children:l}),(0,r.jsxs)("div",{className:"bg-card flex items-center gap-4 px-6 py-5",children:[n>0?(0,r.jsx)(eg,{asChild:!0,children:(0,r.jsxs)("div",{className:"flex w-1/3 items-center justify-center gap-3 md:w-1/2",children:[(0,r.jsx)("button",{className:"bg-muted-foreground rounded-full p-1","aria-label":"Filters",type:"button",children:(0,r.jsx)(X.A,{className:"size-6",strokeWidth:1})}),null!=s?s:"Clear all"]})}):null,(0,r.jsx)(H.SheetClose,{asChild:!0,children:(0,r.jsx)("div",{className:"w-2/3 md:w-1/2",children:(0,r.jsx)(I.Button,{variant:"primary",size:"lg",className:"w-full xl:w-56",children:null!=a?a:"Show results"})})})]})]})},ew=e=>{let{children:l}=e;return P.useContext(ej)?(0,r.jsx)(D,{asChild:!0,children:l}):(0,r.jsx)(H.SheetTrigger,{asChild:!0,children:l})},eC=e=>{let{className:l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"151",height:"24",viewBox:"0 0 151 24",fill:"none",className:l,children:[(0,r.jsx)("path",{d:"M28.5884 3.9959H20.2461V7.04297H28.5884C29.7071 7.04297 30.6466 7.95665 30.6466 9.10983V9.82392H23.8076C21.0283 9.82392 18.769 12.1081 18.769 14.929C18.769 17.7498 21.0283 20.034 23.8076 20.034H33.6226V9.10983C33.6226 6.28897 31.3808 3.9959 28.5884 3.9959ZM30.6466 17.018H23.8076C22.6758 17.018 21.745 16.0866 21.745 14.9334C21.745 13.7802 22.6714 12.8444 23.8076 12.8444H30.6466V17.018Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M40.9598 3.99147C38.1848 3.99147 35.9212 6.28897 35.9212 9.10983V20.0385H38.8928V9.12757C38.8928 7.97439 39.8236 7.04297 40.9598 7.04297H45.8279V20.0385H48.8126V7.04297H53.9998C55.1316 7.04297 56.0537 7.97439 56.0537 9.12757V20.0385H59.0296V9.10983C59.0296 6.28897 56.7791 3.99147 54.0085 3.99147H40.9598Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M72.996 11.6247L69.7361 10.5868L65.0514 9.06991C64.6363 8.92355 64.361 8.53324 64.361 8.08527C64.361 7.50868 64.8198 7.03853 65.3879 7.03853H74.1017V3.98703H65.3879C63.1636 3.98703 61.3544 5.82769 61.3544 8.08527C61.3544 9.77069 62.3464 11.261 63.9021 11.8863C69.1869 13.5718 71.8307 14.4145 71.8336 14.4145C72.3624 14.5963 72.712 15.1019 72.712 15.6741C72.712 16.4104 72.1221 17.0136 71.3966 17.0136H61.3107V20.034H71.3966C73.7739 20.034 75.7011 18.0781 75.7011 15.6741C75.7011 13.8822 74.6304 12.2944 72.9917 11.6247H72.996Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M112.356 4.00034H107.178C104.403 4.00034 102.139 6.28897 102.139 9.10983V20.034H105.115V9.12757C105.115 7.97882 106.042 7.04297 107.178 7.04297H112.356C113.479 7.04297 114.415 7.97882 114.415 9.12757C114.415 9.12757 114.406 19.728 114.406 20.034H117.382V9.1054C117.382 6.28453 115.123 3.9959 112.356 3.9959V4.00034Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M127.918 14.9201V7.04297H132.633V3.9959H127.918V0.939967H124.942C124.942 2.31492 124.946 11.8154 124.946 11.8154L124.938 14.9245C124.938 17.7454 127.201 20.0385 129.976 20.0385H134.132V17.0091H129.976C128.836 17.0091 127.913 16.0822 127.913 14.9245L127.918 14.9201Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M122.656 3.99147H119.685V20.0385H122.656V3.99147Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M150.218 13.248V9.14531C150.218 6.32888 147.959 4.04026 145.188 4.04026H14
10.91C138.131 4.04026 135.88 6.32888 135.88 9.14531V14.9378C135.88 17.7498 138.139 20.0429 140.914 20.0429H148.728V17.0136H140.914C139.774 17.0136 138.856 16.0866 138.856 14.929V13.2569C138.856 13.2569 149.916 13.2569 150.222 13.2569L150.218 13.248ZM138.852 10.2275V9.14531C138.852 7.99657 139.774 7.06071 140.91 7.06071H145.188C146.315 7.06071 147.242 7.99657 147.242 9.14531V10.2275H138.852Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M13.879 10.3428L9.07207 8.79936L4.0903 7.18934C3.43917 6.96313 3.00217 6.33332 3.00217 5.63254C3.00217 4.71886 3.75381 3.99147 4.61906 3.99147H15.4828V0.939967H4.62343C2.08011 0.939967 0 3.04231 0 5.63254C0 7.5619 1.14493 9.2695 2.89729 9.98802L12.6817 13.1016C13.4726 13.3855 14.0145 14.1484 14.0145 15.0088C14.0145 16.1132 13.1274 17.0224 12.0305 17.0224H0V20.0429H12.0349C14.7661 20.0429 16.9905 17.7809 16.9905 15.0132C16.9905 12.9553 15.7669 11.119 13.879 10.3517V10.3428Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M91.7345 10.5646C92.2458 13.0794 91.5859 15.8027 89.7199 17.8164C87.8627 19.83 85.2232 20.6683 82.7192 20.3135C83.0601 20.9654 83.5146 21.5642 84.0652 22.0965C86.862 24.7532 91.2669 24.6113 93.8802 21.7815C96.5021 18.9474 96.3579 14.4766 93.5743 11.8198C93.0149 11.2964 92.39 10.8751 91.7345 10.5646Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M88.5095 7.04297C87.9851 7.60626 87.5699 8.23607 87.2771 8.90581C89.7505 8.38687 92.4381 9.05217 94.4089 10.9416C96.3973 12.8266 97.2232 15.5056 96.8736 18.0514C97.5116 17.701 98.1103 17.2442 98.6347 16.6765C101.252 13.8468 101.117 9.37151 98.3157 6.72363C95.5276 4.06243 91.1314 4.20436 88.5095 7.04297Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M85.6384 13.4343C85.1315 10.915 85.787 8.19615 87.6442 6.18695C89.5102 4.17332 92.1409 3.33948 94.6493 3.6943C94.304 3.03787 93.8583 2.43911 93.3033 1.90687C90.5109 -0.754326 86.1103 -0.612396 83.4927 2.22177C80.8664 5.05151 81.0062 9.52232 83.7986 12.1835C84.3492 12.7069 84.9785 13.1282 85.6384 13.4298V13.4343Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M88.8547 16.9604C89.3747 16.3971 89.7899 15.7628 90.0958 15.0975C87.618 15.6165 84.9305 14.9423 82.9552 13.0573C80.9756 11.1678 80.1366 8.50219 80.4906 5.94745C79.8525 6.29784 79.2626 6.75911 78.7338 7.31796C76.1162 10.1566 76.2604 14.6185 79.0528 17.2797C81.8321 19.9365 86.2371 19.7945 88.8547 16.9648V16.9604Z",fill:"currentColor"})]})},ek=()=>(0,r.jsx)("div",{className:"flex h-screen w-full items-center justify-center",children:(0,r.jsx)("span",{className:"animate-pulse",children:(0,r.jsx)(eC,{className:"text-primary h-auto w-60"})})});var eS=t(64023);let ez=e=>{var l,t,a,s,n,i,o,c,m,x,p,h,v,f,g,j,b,T,F,L,B,R,D,E,H,V,M,U,W,O,q,Z,G,K,Q,Y,J;let X,$,ee,{tags:el,handle:et,title:ea,globalSettings:es,storeInfo:er,isLogged:en,productsInUserList:ei,weightText:eo,capacityText:ed,configSection:ec}=e,{pageSize:eg,search:ej,sorts:eN,filters:eC}=((e,l)=>{var t;let a=parseInt(null!=(t=e.get("page"))?t:"48",10),s=e.getAll("sort"),r=e.get("q"),n=P.useMemo(()=>{var e;return e=null!=r?r:"",l?void 0:{query:{string:e}}},[r,l]),i=P.useMemo(()=>s.map(e=>(e.split(":"),{field:e.split(":")[0],direction:e.split(":")[1]})),[s]),{filters:o}=P.useMemo(()=>((e,l)=>({filters:[e?{field:"collection_handle",type:"value",background:!0,value:e}:{},...l?Object.entries(l).filter(e=>{let[l]=e;return!l.endsWith(".low")&&!l.endsWith(".high")}).flatMap(e=>{let[l,t]=e;return Array.isArray(t)?t.map(e=>({field:l,type:"value",value:e})):[{field:l,type:"value",value:t}]}):[],...l?Object.values(Object.entries(l).filter(e=>{let[l]=e;return l.endsWith(".low")||l.endsWith(".high")}).reduce((e,l)=>{let[t,a]=l,[s,r]=t.split(".");if(Array.isArray(a))return e;if(("low"===r||"high"===r)&&s){var n;e[s]={field:s,type:"range",value:{...(null==(n=e[s])?void 0:n.value)||{},[r]:a}}}return e},{})):[]]}))(l,Array.from(e.entries()).filter(e=>{let[l]=e;return l.startsWith(k)}).map(e=>{let[l,t]=e;return[l.replace(k,""),t]}).reduce((e,l)=>{let[t,a]=l;return"string"==typeof a&&"string"==typeof t&&(e[t]?e[t]=[...Array.isArray(e[t])?e[t]:[e[t]],a]:e[t]=a),e},{})),[e,l]);return{search:n,sorts:i,filters:o,pageSize:a}})((0,A.useSearchParams)(),et),ez=null==es||null==(l=es.compare)?void 0:l.activateBackgroun
1d,e_=(null==es||null==(t=es.wishlist)?void 0:t.active)||!1,eA={buttonText:null==es||null==(a=es.plpSlp)?void 0:a.showMoreProductsText,paginationText:null==es||null==(s=es.plpSlp)?void 0:s.paginationText},eP=P.useCallback(e=>{var l;return{pageFrom:e*eg,pageSize:eg,type:"search",query:(null==ej||null==(l=ej.query)?void 0:l.string)||"",sorts:eN,filters:eC}},[eg,ej,eN,eC]),eI=(X=P.useCallback(e=>({pageFrom:e*eg,type:"category",pageSize:eg,query:ea||"",sorts:eN,filters:eC}),[eg,ea,eN,eC]),$={keepPreviousData:!0,enabled:!!ea},(0,S.Ay)(X,async e=>(0,z.Nd)(e),$)),eT=(ee={keepPreviousData:!0,enabled:!ea},(0,S.Ay)(eP,async e=>(0,z.w2)(e),ee)),{data:eF,size:eL,isLoading:eB,setSize:eR}=ea?eI:eT,eD=null!=(W=null==eF?void 0:eF.flatMap(e=>{var l,t;return null!=(t=null==e||null==(l=e.data)?void 0:l.items)?t:[]}))?W:[],eE=(0,C.Oj)(null!=(O=null==eF||null==(i=eF.at(0))||null==(n=i.data)?void 0:n.items)?O:[]),eH=(null==ej||null==(o=ej.query)?void 0:o.string)||et||"",eV=et?"category-listing":"search-listing",eM=P.useMemo(()=>(0,eS.vH)({query:eH,response:null==eF?void 0:eF.at(0),source:eV,currency:er.localization.country.currency.isoCode}),[eH,eV,eF,er]);if((null==eF||null==(c=eF.at(0))?void 0:c.status)==="SuccessFallback"||(null==eF||null==(m=eF.at(0))?void 0:m.status)==="ErrorFallback")return(0,r.jsx)("div",{className:"container mt-10 px-5",children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 p-0 ",children:[(0,r.jsx)("div",{className:"typ-h4 text-wrap",children:null!=(K=null==es||null==(q=es.plpSlp)?void 0:q.errorWithFilter)?K:"Hubo un error, intenta de nuevo."}),(0,r.jsx)(u(),{href:"search?q=".concat(encodeURIComponent((null==ej||null==(Z=ej.query)?void 0:Z.string)||"")),children:(0,r.jsx)(I.Button,{children:null!=(Q=null==es||null==(G=es.plpSlp)?void 0:G.tryAgainButton)?Q:"Intenta de nuevo"})})]})});let eU=null!=(Y=null==eF||null==(p=eF.at(0))||null==(x=p.data)?void 0:x.navigation.totalItems)?Y:0;return(0,r.jsxs)(r.Fragment,{children:[eM&&(0,r.jsx)(eS.ap,{eventType:et?"product-list-view":"search",payload:eM,dedupeKey:eM.SearchSessionId,enabled:!eB}),eB?(0,r.jsx)(ek,{}):(0,r.jsx)(eb,{children:(0,r.jsx)("div",{className:"container mt-10",children:(0,r.jsxs)("div",{className:"flex gap-4 p-0",children:[(0,r.jsx)(ey,{filtersLabel:null==es||null==(h=es.search)?void 0:h.gridFiltersLabel,showResultsLabel:null==es||null==(v=es.plpSlp)?void 0:v.showResultsText,clearLabel:null==es||null==(f=es.plpSlp)?void 0:f.clearAllText,totalFacets:null!=(J=null==eF||null==(b=eF.at(0))||null==(j=b.data)||null==(g=j.aggregations)?void 0:g.length)?J:0,children:(0,r.jsx)("aside",{className:"flex w-full shrink-0 flex-grow flex-col overflow-visible ",children:(0,r.jsx)(y.Accordion,{type:"multiple",children:null==eF||null==(L=eF.at(0))||null==(F=L.data)||null==(T=F.aggregations)?void 0:T.map(e=>{var l,t,a,s,n,i,o,d,c,u;return(0,r.jsxs)(y.AccordionItem,{value:e.name,children:[(0,r.jsx)(y.AccordionTrigger,{className:"px-6 py-3",icon:"chevron",children:(0,r.jsx)("span",{className:"typ-small-medium line-clamp-1 align-middle",children:e.label})}),(0,r.jsx)(y.AccordionContent,{className:"px-6 pt-1",children:(0,r.jsxs)("div",{className:"flex flex-col gap-2 py-2",children:["Range"===e.style&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(em,{facet:{field:e.name,type:"range-buckets",step:1,filtered:!1,values:null==e||null==(l=e.items)?void 0:l.map(e=>({label:e.name,low:e.min,high:e.max,count:e.documentCount,filtered:e.selected}))},meta:{display:"list",label:e.label,collapsed:!1,multiple:"single"}})}),"Checkboxes"===e.style&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(eu,{facet:{field:e.name,type:"value",filtered:!1,values:null==e||null==(t=e.items)?void 0:t.map(l=>({label:((e,l)=>{var t,a;if(!w.length||"locations_array"!==e)return l;let s=l.toLowerCase();return null!=(a=null==(t=w.find(e=>e.value.toLowerCase()===s))?void 0:t.label)?a:l})(e.name,l.name||""),value:l.name,count:l.documentCount,filtered:l.selected}))},meta:{display:"list",label:e.label,collapsed:!1,multiple:"or"},labelText:null==es||null==(a=es.plpSlp)?void 0:a.showResultsText,listLimit:ec.listLimit})}),"Slider"===e.style&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(ep,{labelFrom
1:null==es||null==(s=es.search)?void 0:s.gridPriceFacetFrom,labelTo:null==es||null==(n=es.search)?void 0:n.gridPriceFacetTo,facet:{field:e.name,filtered:null!=(c=null==(i=e.items.at(-1))?void 0:i.selected)&&c,type:"range",step:1e4,range:{low:0,high:null!=(u=null==(o=e.items.at(-1))?void 0:o.max)?u:void 0}}},null==(d=e.items.at(-1))?void 0:d.label)}),"Toggle"===e.style&&(0,r.jsx)(r.Fragment,{children:(0,r.jsx)(ex,{name:e.name})})]})})]},e.name)})})})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsxs)("div",{className:" bg-primary-foreground border-border sticky top-[var(--header-height-scroll)] z-10 mb-4 flex justify-between border-b pb-4 pt-4 md:top-[60px] ",children:[(0,r.jsx)(ew,{children:(0,r.jsx)("div",{className:"border-border flex w-fit gap-2 rounded-sm border px-4 py-2",children:(0,r.jsxs)("div",{className:"flex items-center gap-2 cursor-pointer",children:[(0,r.jsx)(_.A,{strokeWidth:1,className:"size-5"}),null==es||null==(B=es.search)?void 0:B.gridFiltersLabel]})})}),(0,r.jsx)(ef,{itemsPerPage:String(eg),sortByLabel:null==es||null==(R=es.plpSlp)?void 0:R.pageSizeText}),(null==eF||null==(E=eF.at(0))||null==(D=E.data)?void 0:D.sortings)!==void 0&&(0,r.jsx)(ev,{sortByLabel:null==es||null==(H=es.plpSlp)?void 0:H.sortByText,meta:null==eF||null==(M=eF.at(0))||null==(V=M.data)?void 0:V.sortings})]}),(0,r.jsx)("div",{className:"grid grow auto-rows-min grid-cols-2 sm:grid-cols-[repeat(auto-fit,minmax(theme('size.52'),1fr))] md:grid-cols-2 xl:grid-cols-3 gap-2 md:gap-0",children:(0,r.jsx)(eh,{loadMore:()=>{eR(eL+1)},staticTexts:eA,totalResults:eU,initialShowing:eD.length,children:eD.map((e,l)=>{var t,a,s,n,i,o,c,u,m,x,p,h,v,f,g,j,b,y,w;let k=e.itemProperties.item_card,S=null==es||null==(t=es.compare)?void 0:t.textInProductCard,z=null==e?void 0:e.itemId,_=!!e_&&!!ei.find(e=>e.handle===I),A=null==k||null==(a=k.category)?void 0:a.at(0),I=k.url?null==(s=k.url.split("/products/")[1])?void 0:s.split("?")[0]:"",T=(0,C.Oj)([e]),F=k.product_attributes.shopify_tag,L=(null==k?void 0:k.price)&&null!=(f=null==(n=Object.values(k.price)[0])?void 0:n.toString())?f:"",B=(null==k?void 0:k.original_price)&&null!=(g=null==(i=Object.values(k.original_price)[0])?void 0:i.toString())?g:"";return(0,r.jsx)(P.Fragment,{children:(0,r.jsx)(d.AnalyticsWrapper,{eventName:"select_item",items:null==T?void 0:T.items,item_list_id:null==T?void 0:T.item_list_id,item_list_name:null==T?void 0:T.item_list_name,children:(0,r.jsx)(N,{capacityText:ed,weightText:eo,id:k.id,tags:{builderTags:el,tags:F},activateBackground:ez,buttonTextCompare:S,installmentsNumber:null!=(j=null==es||null==(o=es.productCard)?void 0:o.installmentsNumber)?j:0,installmentsText:null!=(b=null==es||null==(c=es.productCard)?void 0:c.installments)?b:"",availableInstallments:null!=(y=null==es||null==(u=es.productCard)?void 0:u.availableInstallments)&&y,selectVariantId:"gid://shopify/ProductVariant/".concat(z),availableForSale:"number"==typeof k.in_stock&&1===k.in_stock,textAddToCart:null==es||null==(m
1=es.productCard)?void 0:m.addToCartText,unavailableText:null==es||null==(x=es.cart)?void 0:x.unavailableText,installmentsLimitEnabled:null!=(w=null==es||null==(p=es.productCard)?void 0:p.installmentsLimitEnabled)&&w,brand:k.brand,price:{minPrice:L,maxPrice:B},handle:I,capacity:null==k?void 0:k.product_attributes.capacity,weight:null==k?void 0:k.product_attributes.weight,image:null==k?void 0:k.image_url,title:null==k?void 0:k.name,withCompareButton:null==es||null==(h=es.compare)?void 0:h.activateInProductCard,compareButtonText:null==es||null==(v=es.compare)?void 0:v.textInProductCard,colorHex:k.product_attributes.color_hex,showWishListPage:e_,isLogged:en,isAlreadyAdded:_,collection_name:A,storeInfo:er,colorLabel:ec.colorLabel,item_categories:Array.isArray(k.category)?k.category.filter(e=>!!e):[],variantId:z?"gid://shopify/ProductVariant/".concat(z):void 0,onProductClick:()=>{let t=(0,eS.Er)({query:eH,response:null==eF?void 0:eF.at(0),item:e,index:l,source:eV,currency:er.localization.country.currency.isoCode});t&&(0,eS.Cm)({eventType:"product-click",payload:t})},onAddToCartClick:()=>{if((null==k?void 0:k.in_stock)!==1||!z)return;let t=(0,eS.LO)({query:eH,response:null==eF?void 0:eF.at(0),item:e,index:l,source:eV,currency:er.localization.country.currency.isoCode});t&&(0,eS.Cm)({eventType:"add-to-cart",payload:t})}},null==k?void 0:k.id)})},k.id)})})})]})]})})}),(null==eE?void 0:eE.items)&&(null==eE||null==(U=eE.items)?void 0:U.length)>0&&(0,r.jsx)(d.AnalyticsOnLoadPage,{eventName:"view_item_list",items:null==eE?void 0:eE.items,item_list_id:null==eE?void 0:eE.item_list_id,item_list_name:null==eE?void 0:eE.item_list_name})]})}},51020:(e,l,t)=>{t.d(l,{k:()=>r});var a=t(18526),s=t(27141);let r=e=>{let{installmentsValue:l=0,installmentsNumber:t=0,installmentsMessage:r="",installmentsLimitEnabled:n=!1}=e,{formatMoney:i,moneyFormat:o}=(0,s.useFormatMoney)(),d=(e,l,t)=>{if(!e||!l||!t)return null;let a=Math.ceil(e/l);return t.replace("__number__",String(l)).replace("__price__",i(a,o))};return(0,a.useMemo)(()=>{if(!n)return d(l,t,r);{let e=Math.floor(l/100);return e>=2&&e<t?d(l,e,r):e>=t?d(l,t,r):null}},[n,l,t,r,i,o])}},55700:(e,l,t)=>{t.d(l,{_:()=>r});var a=t(96422);let s=e=>fetch(e).then(e=>{if(!e.ok)throw Error(e.statusText);return e.json()}),r=(e,l)=>{let{data:t,error:r,isLoading:n}=(0,a.Ay)(l?"/api/variations?handle=".concat(l):e?"/api/variations?skus=".concat(e):null,s);return{data:null!=t?t:null,error:r,isLoading:n}}},61363:(e,l,t)=>{t.d(l,{default:()=>x});var a=t(70862),s=t(65594),r=t(88910),n=t(17543),i=t(78441),o=t(57560),d=t(64816),c=t.n(d),u=t(73973),m=t(18526);let x=e=>{let{mediaData:l,className:t}=e,[d,x]=(0,m.useState)(!1),p=(0,u.usePathname)(),h="https://samsonite.com.br",v=async()=>{await navigator.clipboard.writeText("".concat(h).concat(p)),x(!0),setTimeout(()=>{x(!1)},1e3)};return(0,a.jsxs)(r.DialogContent,{className:"top-3/4 w-11/12 select-none rounded-lg p-5 md:top-1/2 md:max-w-xl lg:px-8 lg:py-10 ".concat(t),children:[(0,a.jsx)(r.DialogHeader,{className:"content-between",children:(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("div",{className:"typ-extra-large-medium text-left",children:(0,a.jsx)("h2",{children:null==l?void 0:l.title})}),(0,a.jsx)(r.DialogClose,{asChild:!0,children:(0,a.jsx)(s.Button,{variant:"icon-outline",size:"icon-sm",className:"relative size-6",children:(0,a.jsx)(n.A,{})})})]})}),(0,a.jsxs)("div",{className:"max-md:no-scrollbar flex w-full flex-nowrap items-start justify-evenly gap-4 overflow-x-auto border-b-2 border-b-gray-100 pb-4",children:[(0,a.jsxs)("div",{className:"relative flex w-16 flex-col items-center gap-2 md:hidden",children:[(0,a.jsx)("div",{onClick:()=>v(),className:"w-12 p-0 active:scale-90",children:(0,a.jsx)("figure",{className:"bg-card text-accent flex items-center justify-center gap-2 rounded-lg p-3",children:(0,a.jsx)(i.A,{size:"full"})})}),(0,a.jsx)("p",{className:"text-secondary typ-small-mini mt-1 line-clamp-1 min-h-[1lh] text-center",children:null==l?void 0:l.textToCopyLink}),d&&(0,a.jsx)("p",{className:"typ-small-mini border-border absolute -top-1 right-0 rounded-md opacity-65",children:null==l?void 0:l.textAfterCopied})]}),(null==l?void 0:l.socialMedias)&&(null==l?void 0:l.socialMedias.map(e=>(0,a.jsxs)("div",{className:"flex w-16 flex-col items-center gap-2",children:[(0,a.jsx)(c(),{href:encodeURI("".concat(e.apiLink).concat(h).concat(p)),target:"_blank",className:"bg-card flex items-center gap-2 rounded-lg p-3 active:scale-90 md:hover:drop-shadow-md",children:(0,a.jsx)("figure",{className:"bg-card flex w-7 items-center gap-2 rounded-lg mix-blend-multiply",children:(0,a.jsx)("img",{src:e.icon,alt:"social_media_icon_".concat(e.name),className:"aspect-square size-full object-cover",loading:"lazy"})})}),(0,a.jsx)("p",{className:"text-secondary typ-small-mini line-clamp-1 min-h-[1lh] text-center",children:e.name})]},"option-to-share-".concat(p,"-").concat(e.name))))]}),(0,a.jsx)(r.DialogFooter,{children:(0,a.jsxs)("div",{className:"flex flex-col items-start gap-2",children:[(0,a.jsx)(r.DialogClose,{asChild:!0,className:"md:hidden",children:(0,a.jsx)(s.Button,{variant:"outline",size:"lg",className:"border-border w-full text-black",children:null==l?void 0:l.textToCancel})}),(0,a.jsx)("h5",{className:"typ-large-medium line-clamp-1 hidden min-h-[1lh] w-full md:block",children:null==l?void 0:l.linkTitle}),(0,a.jsxs)("div",{className:"bg-input border-border relative hidden items-center justify-between rounded-md border-2 px-3 md:flex",children:[(0,a.jsx)("p",{className:"text-muted typ-medium line-clamp-1 min-h-[1lh] w-11/12",children:"".concat(h).concat(p)}),(0,a.jsx)(s.Button,{onClick:e=>{v()},variant:"link",className:"p-0",children:(0,a.jsx)(o.A,{className:"text-muted hover:text-black active:scale-90"})}),d&&(0,a.jsx)("p",{className:"typ-small-mini border-border absolute -top-5 right-0 rounded-md opacity-65",children:null==l?void 0:l.textAfterCopied})]})]})})]})}},61520:(e,l,t)=>{t.r(l),t.d(l,{default:()=>c});var a=t(70862),s=t(18526),r=t(65594),n=t(88910),i=t(17543);let o=e=>{let{titleModal:l,openDialog:t,setOpenDialog:s,contentText:o,extraLinkUrl:d,extraLinkText:c}=e;return(0,a.jsx)(n.Dialog,{open:t,onOpenChange:e=>s(e),children:(0,a.jsxs)(n.DialogContent,{className:"flex w-11/12 max-w-5xl flex-col items-center gap-4 p-5 md:p-
15 xl:p-10 xl:px-8",children:[(0,a.jsx)(n.DialogHeader,{className:"w-full content-between",children:(0,a.jsxs)("div",{className:"flex justify-between",children:[(0,a.jsx)("h2",{className:"typ-extra-large-medium mb-3 text-left",children:l}),(0,a.jsx)(n.DialogClose,{asChild:!0,children:(0,a.jsx)(r.Button,{variant:"icon-secondary",size:"icon-sm",className:"bg-basic-secondary relative z-10",children:(0,a.jsx)(i.A,{size:20,className:"text-basic-primary"})})})]})}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 w-full",children:[(0,a.jsx)("div",{className:"typ-p text-muted",dangerouslySetInnerHTML:{__html:o}}),d&&(0,a.jsx)("a",{href:d,target:"_blank",rel:"noopener noreferrer",className:"text-brand-primary typ-p cursor-pointer underline self-start",children:c||d})]})]})})};var d=t(99049);let c=e=>{let{text:l,titleReadMore:t,maximumLengthText:r=350,titleModalReadMore:n,classNameContent:i,extraLinkUrl:c,extraLinkText:u}=e,[m,x]=(0,s.useState)(!1),p=(null==l?void 0:l.length)>r;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"typ-p-medium text-muted",children:[(0,a.jsx)("div",{className:(0,d.cn)("h-[3lh] overflow-hidden",i),dangerouslySetInnerHTML:{__html:l}}),p&&(0,a.jsx)("span",{onClick:()=>x(!0),className:"text-brand-primary typ-p-medium cursor-pointer underline",children:t||""})]})}),m&&(0,a.jsx)(o,{openDialog:m,setOpenDialog:x,titleModal:n||"",contentText:l,extraLinkUrl:c,extraLinkText:u})]})}},64311:(e,l,t)=>{t.d(l,{default:()=>n});var a=t(70862),s=t(56602);let r=["places","drawing","geometry"],n=e=>{let{children:l,props:t}=e,{loadingMapText:n,googleMapsApiKey:i}=t,{isLoaded:o,loadError:d}=(0,s.KD)({googleMapsApiKey:i,libraries:r});return d?(0,a.jsx)("p",{className:"container animate-pulse py-10",children:"Encountered error while loading google maps"}):o?l:(0,a.jsx)("p",{className:"container animate-pulse py-10 text-center",children:n})}},65222:(e,l,t)=>{t.d(l,{default:()=>r});var a=t(70862),s=t(51020);let r=e=>{let{installmentsValue:l=0,installmentsNumber:t=0,installmentsMessage:r="",installmentsLimitEnabled:n=!1}=e,i=(0,s.k)({installmentsValue:l,installmentsNumber:t,installmentsMessage:r,installmentsLimitEnabled:n});return(0,a.jsx)(a.Fragment,{children:i})}},65465:(e,l,t)=>{t.r(l),t.d(l,{default:()=>r});var a=t(70862),s=t(18526);let r=e=>{let{id:l}=e,t=(0,s.useRef)(null),r=()=>window.okeWidgetApi.initWidget(t.current);return(0,s.useEffect)(()=>{var e;return(null==(e=window.okeWidgetApi)?void 0:e.initWidget)?r():document.addEventListener("oke-script-loaded",r),()=>{document.removeEventListener("oke-script-loaded",r)}},[l]),(0,a.jsx)("div",{className:"okendo-widget-container",children:(0,a.jsx)("div",{ref:t,"data-oke-star-rating":!0,"data-oke-reviews-product-id":"shopify-".concat(l)})})}},69403:(e,l,t)=>{t.d(l,{default:()=>j});var a=t(70862),s=t(31440),r=t(88770),n=t(99049),i=t(88880),o=t(21255),d=t(73508),c=t(94972),u=t(27141),m=t(64816),x=t.n(m),p=t(65222),h=t(80870),v=t(85902),f=t(1796),g=t(85107);let j=e=>{var l,t,m,j,b,N,y,w,C,k,S,z,_,A,P,I,T,F,L,B;let{product:R,globalSettings:D,tags:E,weight:H,capacity:V}=e;if(!R)return null;let{formatMoney:M,moneyFormat:U}=(0,u.useFormatMoney)(),W=(0,o.ni)(o.sI,R.featuredImage),O=null==(t=(()=>{var e;let l=(0,i.UW)(null==R||null==(e=R.metafields.find(e=>(null==e?void 0:e.key)==="jp_attributes"))?void 0:e.value,"p_attributes");if(l.success)return l.data})())||null==(l=t.find(e=>e.slug===s.cV.BRAND_NAME))?void 0:l.value,q=null==R||null==(m=R.variants.edges.at(0))?void 0:m.node,Z=String(null==q||null==(j=q.compareAtPrice)?void 0:j.amount),G=String(null==q?void 0:q.price.amount),K=R.availableForSale,Q=null==(b=R.variants.edges.at(0))?void 0:b.node.id,Y=M(Number(G)/Number(null==D||null==(N=D.productCard)?void 0:N.installmentsNumber),U),J=String(null==R?void 0:R.priceRange.minVariantPrice.currencyCode),X=null==D||null==(y=D.productCard)?void 0:y.installments;null==X||X.replace("__number__",String(null==D||null==(w=D.productCard)?void 0:w.installmentsNumber)).replace("__price__",String(Y));let $=null==E?void 0:E.filter(e=>{var l;
1return null==R||null==(l=R.tags)?void 0:l.find(l=>l===e.id)}).toSorted((e,l)=>{var t,a;return(null!=(t=e.order)?t:0)-(null!=(a=l.order)?a:0)}).slice(0,3),ee=null==$||null==(C=$.slice(0,1))?void 0:C.map(e=>(0,a.jsx)(g.E,{variant:e.variant,className:(0,n.cn)("rounded-sm",e.imageUrl&&"rounded-full"),children:e.imageUrl?(0,a.jsx)("img",{className:"h-4 w-4",src:e.imageUrl,alt:e.label}):e.label},e.id));return(0,a.jsxs)("div",{className:"group relative z-0 mx-auto",children:[(0,a.jsx)(x(),{href:"/products/".concat(R.handle),className:"absolute inset-0 z-10"}),(0,a.jsxs)("div",{className:"border-border bg-background  group flex w-full  max-w-[450px] flex-col gap-2 border p-3  xl:border-0",children:[(0,a.jsx)("div",{className:"flex flex-row justify-between ",children:(0,a.jsx)("div",{className:"flex min-h-[2lh] flex-row items-start justify-start gap-2 [&>*:nth-child(1)]:opacity-100 [&>*:nth-child(2)]:opacity-0 group-hover:[&>*:nth-child(2)]:opacity-100 [&>*:nth-child(3)]:opacity-0 group-hover:[&>*:nth-child(3)]:opacity-100",children:ee})}),(0,a.jsx)("div",{className:"mx-auto",children:(0,a.jsx)("img",{src:(0,c.Q)(null==W?void 0:W.url.toString(),640),className:"aspect-square size-full object-cover ",alt:null==R?void 0:R.title})}),(0,a.jsxs)("div",{className:"flex flex-col gap-1 text-center",children:[(0,a.jsxs)("div",{className:"gap-1",children:[(0,a.jsx)("p",{className:"text-muted typ-brand-name  min-h-[1lh]",children:O}),(0,a.jsx)("p",{className:"text-primary  typ-product-title  line-clamp-2 min-h-[2lh] overflow-hidden",children:null==R?void 0:R.title})]}),(0,a.jsxs)("div",{className:"mx-auto inline-flex  min-h-[1lh] items-center justify-start gap-1 overflow-hidden max-xl:hidden ",children:[V.text?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:" flex items-start justify-start gap-1",children:[(0,a.jsx)("div",{className:"text-muted  typ-product-subtitle line-clamp-1 overflow-hidden ",children:null!=(I=null==V?void 0:V.title)?I:""}),(0,a.jsx)("div",{className:"text-primary typ-product-subtitle line-clamp-1 overflow-hidden",children:null!=(T=V.text)?T:""})]}),(0,a.jsx)("div",{className:"text-muted",children:"|"})]}):null,(0,a.jsx)(a.Fragment,{children:H.text?(0,a.jsxs)("div",{className:"flex items-start justify-start gap-1",children:[(0,a.jsx)("div",{className:"text-muted  typ-product-subtitle line-clamp-1 overflow-hidden",children:null!=(F=H.title)?F:""}),(0,a.jsx)("div",{className:"text-primary typ-product-subtitle line-clamp-1 overflow-hidden",children:null!=(L=H.text)?L:""})]}):null})]}),(0,a.jsx)("div",{className:"inline-flex items-center justify-start gap-1",children:(0,a.jsx)("p",{className:" mx-auto flex  min-h-[1lh] flex-row  items-center  gap-2",children:(0,a.jsx)(f.B,{maxPrice:Number(Z),minPrice:Number(G)})})}),(0,a.jsx)(h.ProductColors,{product:R,isCardView:!0}),(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:"flex h-11 items-center justify-center px-2 text-center max-xl:hidden xl:group-hover:hidden",children:(null==D||null==(k=D.productCard)?void 0:k.availableInstallments)&&(0,a.jsx)("p",{className:"typ-small-medium text-muted min-h-[1lh]  group-hover:hidden",children:(0,a.jsx)(p.default,{installmentsValue:Number(G),installmentsNumber:null==D||null==(S=D.productCard)?void 0:S.installmentsNumber,installmentsMessage:null==D||null==(z=D.productCard)?void 0:z.installments,installmentsLimitEnabled:null==D||null==(_=D.productCard)?void 0:_.installmentsLimitEnabled})})}),(0,a.jsx)("div",{className:"relative inset-0 z-20 block  group-hover:block xl:hidden",children:Q?(0,a.jsx)(d.AnalyticsWrapper,{eventName:"add_to_cart",items:(0,r.Lc)(R),currency:J,value:Number(G),children:(0,a.jsx)(v.AddToCart,{availableForSale:(0,f.G)({availableForSale:K,minPrice:Number(G)}),selectedVariantId:Q,variant:"primary",buttonText:null!=(B=null==D||null==(A=D.productCard)?void 0:A.addToCartText)?B:"",unavailableText:null==D||null==(P=D.cart)?void 0:P.unavailableText})}):null})]})]})]})]})}},71486:(e,l,t)=>{t.d(l,{default:()=>h});var a=t(70862),s=t(29745),r=t(65594),n=t(94972),i=t(48756),o=t(88910),d=t(74859),c=t(99049),u=t(98714),m=t
1(17543),x=t(18526),p=t(56281);let h=e=>{let{imagesLifeStyle:l,titleButton:t}=e,h=null==l?void 0:l.find(e=>{var l;return!(null==e||null==(l=e.uri_internal)?void 0:l.endsWith(".mp4"))}),[v,g]=x.useState(!1),[j,b]=x.useState(),{selectedIndex:N,scrollSnaps:y,onDotButtonClick:w}=(0,d.R)(j),C=()=>{g(!0)};return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:"relative flex w-full",children:(0,a.jsxs)("div",{className:"flex h-screen max-h-[518px] w-full max-w-[360px] xl:max-h-[696px] xl:max-w-[401px]",children:[(0,a.jsx)("div",{className:"absolute -right-5 z-0 h-full w-full flex-shrink-0 translate-y-10 rounded-bl-sm rounded-tl-sm bg-gradient-to-b from-[#1B43C2] to-[#1B1B1B] xl:static xl:translate-x-10"}),(0,a.jsxs)("div",{className:"absolute z-10 flex h-full max-h-[518px] w-full max-w-[360px] flex-col justify-between xl:max-h-[696px] xl:max-w-[401px]",children:[(0,a.jsx)("img",{src:(0,n.Q)(null==h?void 0:h.uri_internal,800),alt:(null==h?void 0:h.name)||"",className:"h-full w-full flex-shrink-0 rounded-sm object-cover",onClick:C}),(0,a.jsx)("div",{className:"absolute bottom-0 z-[11] flex w-full p-7",children:(0,a.jsxs)(r.Button,{variant:"outline",size:"icon-md",className:"flex w-full items-center justify-center gap-x-2 rounded-none uppercase text-white",onClick:C,children:[(0,a.jsx)(u.A,{size:20}),t]})})]})]})}),(0,a.jsx)(o.Dialog,{open:v,onOpenChange:e=>g(e),children:(0,a.jsxs)(o.DialogContent,{className:"h-screen max-w-full max-md:p-0",children:[(0,a.jsx)(o.DialogHeader,{className:"max-md:p-2",children:(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(o.DialogClose,{asChild:!0,children:(0,a.jsx)(r.Button,{asChild:!0,variant:"icon-outline",size:"icon-md",className:"relative z-10",children:(0,a.jsx)("span",{children:(0,a.jsx)(m.A,{})})})})})}),(0,a.jsxs)(i.Carousel,{className:"flex h-full w-full items-center justify-between",setApi:b,children:[(0,a.jsx)(i.CarouselPrevious,{className:"absolute left-0 z-10 hidden max-md:left-2 lg:flex",variant:"icon-outline",size:"icon-md",cleanClass:!0}),(0,a.jsx)("div",{className:"w-full xl:px-10",children:(0,a.jsx)(i.CarouselContent,{tabIndex:0,children:null==l?void 0:l.map((e,l)=>{var t,s;let r=(null==e||null==(t=e.uri_internal)?void 0:t.endsWith(".mp4"))||(null==e||null==(s=e.uri_internal)?void 0:s.endsWith(".mov"));return(0,a.jsx)(i.CarouselItem,{className:"basis-full cursor-zoom-in",children:r?(0,a.jsxs)("video",{playsInline:!0,autoPlay:!0,loop:!0,muted:!0,controls:!1,preload:"none",className:"aspect-video h-full max-h-[80vh] w-full object-cover object-center",children:[(0,a.jsx)("source",{src:(null==e?void 0:e.uri_internal)||"",type:"video/mp4"}),"Your browser does not support the video tag."]}):(0,a.jsx)(p.GT,{children:(0,a.jsx)(f,{image:e,carouselApi:j})})},"dialog-carousel".concat(l))})})}),(0,a.jsx)(i.CarouselNext,{className:"absolute  right-0 z-10 hidden max-md:right-2 lg:flex",variant:"icon-outline",size:"icon-md",cleanClass:!0})]}),(0,a.jsx)("div",{className:"mt-4 flex w-full justify-center",children:y.map((e,l)=>(0,a.jsx)(s.DotButton,{active:l===N,className:(0,c.cn)(l===N?"!bg-primary":"!border-primary"),onClick:()=>w(l)},l))})]})})]})},v=e=>{var l;let{image:t,className:s}=e;return(0,a.jsx)("img",{loading:"lazy",className:(0,c.cn)("mx-auto h-full w-full max-w-lg object-contain xl:max-w-full",s),src:(0,n.Q)(null==t?void 0:t.uri_internal,1280),alt:null!=(l=t.name)?l:""})},f=e=>{let{image:l,carouselApi:t}=e,{resetTransform:s}=(0,p._5)();return x.useEffect(()=>{t&&(t.on("select",()=>s()),t.on("reInit",()=>s()))},[t,s]),(0,a.jsx)(p.WZ,{wrapperClass:"!w-full !h-full m-auto",contentClass:"!w-full !h-full m-auto",children:(0,a.jsx)(v,{className:"max-h-[80vh]",image:l})})}},73818:(e,l,t)=>{t.d(l,{MoreDetailsButton:()=>o});var a=t(70862),s=t(18526),r=t(7814),n=t(65594),i=t(53679);let o=e=>{let{}=e,l=s.useContext(r.floatingContext);if(!l)throw Error("floatingContext is not defined");let t=null==l?void 0:l.buttonRef;return(0,a.jsx)("div",{children:(0,a.jsx)(n.Button,{asChild:!0,variant:"icon-outline",size:"icon-md",className:"relative z-10",onClick:()=>{t.current&&t.current.scrollIntoView({behavior:"smooth",block:"center"})},children:(0,a.jsx)("span",{children:(0,a.jsx)(i.A,{})})})})}},74859:(e,l,t)=>{t.d(l,{R:()=>s});var a=t(18526);let s=e=>{let[l,t]=(0,a.useState)(0),[s,r]=(0,a.useState)([]),n=(0,a.useCallback)(l=>{e&&e.scrollTo(l)},[e]),i=(0,a.useCallback)(e=>{e&&r(e.scrollSnapList())},[]),o=(0,a.useCallback)(e=>{e&&t(e.selectedScrollSnap())},[]);return(0,a.useEffect)(()=>{e&&(i(e),o(e),e.on("reInit",i),e.on("reInit",o),e.on("select",o))},[e,i,o]),{selectedIndex:l,scrollSnaps:s,onDotButtonClick:n}}},80870:(e,l,t)=>{t.r(l),t.d(l,{ProductColors:()=>p,ProductColorsPlp:()=>h});var a=t(70862),s=t(31440),r=t(99049),n=t(88880),i=t(55700),o=t(64816),d=t.n(o),c=t(18526);let u="not-available relative z-10 rounded-full bg-[var(--color-background)] opacity-50",m=e=>
1{let{productColors:l,mainProductHandle:t,productColor:s,mainProductAvailableForSale:n,colorTitleText:i,disableNavigate:o}=e;return(0,a.jsxs)("div",{className:"flex min-h-[1lh] flex-col flex-wrap items-center justify-center gap-3 xl:flex-row xl:justify-start",children:[(0,a.jsx)("p",{className:"typ-large-medium",children:null!=i?i:"Colors:"}),(0,a.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[n?(0,a.jsx)(d(),{style:{"--color-background":null!=s?s:"",pointerEvents:o?"none":"auto"},href:"/products/".concat(t),className:"border-basic-secondary relative z-10 size-6 rounded-full border-4 bg-[var(--color-background)]"}):(0,a.jsx)("span",{className:"bg-muted not-available relative z-10 size-6 rounded-full"}),null==l?void 0:l.map(e=>{var l,t;return(0,a.jsx)(c.Fragment,{children:e.availableForSale?(0,a.jsx)(d(),{style:{"--color-background":null!=(l=e.colorHex)?l:"",pointerEvents:o?"none":"auto"},href:"/products/".concat(e.handle),className:"border-muted relative z-10 size-6 rounded-full border bg-[var(--color-background)] "}):(0,a.jsx)("span",{style:{"--color-background":null!=(t=e.colorHex)?t:""},className:(0,r.cn)("size-6",u)})},e.handle)})]})]})},x=e=>
1{let{productColors:l,mainProductHandle:t,productColor:s,mainProductAvailableForSale:n,disableNavigate:i,colorLabel:o}=e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:"hidden min-h-[1lh] items-center justify-center gap-2 md:flex",children:[s?(0,a.jsx)(a.Fragment,{children:n?(0,a.jsx)(d(),{style:{"--color-background":null!=s?s:"",pointerEvents:i?"none":"auto"},href:"/products/".concat(t),className:"border-basic-secondary relative z-10 size-4 rounded-full border-2 bg-[var(--color-background)] hover:scale-150 transition-all duration-300"}):(0,a.jsx)("span",{style:{"--color-background":null!=s?s:""},className:(0,r.cn)("size-4",u)})}):null,null==l?void 0:l.slice(0,4).map((e,l)=>{var t,s;return(0,a.jsx)(c.Fragment,{children:e.availableForSale?(0,a.jsx)(d(),{style:{"--color-background":null!=(t=e.colorHex)?t:"",pointerEvents:i?"none":"auto"},href:"/products/".concat(e.handle),className:"border-muted relative z-10 size-4 rounded-full border bg-[var(--color-background)] hover:scale-150 transition-all duration-300"}):(0,a.jsx)("span",{style:{"--color-background":null!=(s=e.colorHex)?s:""},className:(0,r.cn)("size-4",u)})},"".concat(e.handle,"-").concat(l,"-desktop"))}),l&&(null==l?void 0:l.length)>4&&(0,a.jsxs)("p",{className:"typ-subtitle",children:["+",(null==l?void 0:l.length)-4]})]}),(0,a.jsxs)("div",{className:"flex min-h-[1lh] items-center justify-center gap-2 md:hidden ",children:[o&&(0,a.jsx)("span",{className:"typ-subtitle text-muted",children:o}),n?(0,a.jsx)(d(),{style:{"--color-background":null!=s?s:"",pointerEvents:i?"none":"auto"},href:"/products/".concat(t),className:"border-basic-secondary relative z-10 size-4 rounded-full border-2 bg-[var(--color-background)]"}):(0,a.jsx)("span",{style:{"--color-background":null!=s?s:""},className:(0,r.cn)("size-4",u)}),null==l?void 0:l.slice(0,2).map((e,l)=>{var t,s;return(0,a.jsx)(c.Fragment,{children:e.availableForSale?(0,a.jsx)(d(),{style:{"--color-background":null!=(t=e.colorHex)?t:"",pointerEvents:i?"none":"auto"},href:"/products/".concat(e.handle),className:"border-muted relative z-10 size-4 rounded-full border bg-[var(--color-background)]"}):(0,a.jsx)("span",{style:{"--color-background":null!=(s=e.colorHex)?s:""},className:(0,r.cn)("size-4",u)})},"".concat(e.handle,"-").concat(l,"-mobile"))}),l&&(null==l?void 0:l.length)>2&&(0,a.jsxs)("p",{className:"typ-subtitle",children:["+",(null==l?void 0:l.length)-2]})]})]})},p=e=>{var l,t;let{product:r,isCardView:o,colorTitleText:d}=e,c=null==(t=(()=>{var e;let l=(0,n.UW)(null==r||null==(e=r.metafields.find(e=>(null==e?void 0:e.key)==="jp_attributes"))?void 0:e.value,"p_attributes");if(l.success)return l.data})())||null==(l=t.find(e=>e.slug===s.cV.PRODUCT_COLOR_HEX))?void 0:l.value,u=(()=>{var e,l,t,a;let s=(0,n.UW)(null==r||null==(e=r.metafields.find(e=>(null==e?void 0:e.key)==="jp_relations"))?void 0:e.value,"relations");if(s.success)return null==(a=s.data.find(e=>"Color"===e.name))||null==(t=a.values)||null==(l=t.map(e=>e.sku))?void 0:l.join(",")})(),{data:p,isLoading:h}=(0,i._)(u);return(0,a.jsx)(a.Fragment,{children:h?(0,a.jsx)("div",{className:"w-4 h-4 bg-gray-200 rounded-full animate-pulse"}):(0,a.jsx)(a.Fragment,{children:o?(0,a.jsx)(x,{productColors:p,mainProductHandle:null==r?void 0:r.handle,productColor:c,mainProductAvailableForSale:null==r?void 0:r.availableForSale}
1):(0,a.jsx)(m,{productColors:p,mainProductHandle:null==r?void 0:r.handle,productColor:c,mainProductAvailableForSale:null==r?void 0:r.availableForSale,colorTitleText:d})})})},h=e=>{let{isCardView:l,handle:t,relations:s,availableForSale:r,productColor:n,disableNavigate:o,colorLabel:d}=e,{data:c,isLoading:u}=(0,i._)(s,t);return(0,a.jsx)(a.Fragment,{children:l?(0,a.jsx)(a.Fragment,{children:u?(0,a.jsx)("div",{className:"w-4 h-4 bg-gray-200 rounded-full animate-pulse"}):(0,a.jsx)(x,{productColors:c,mainProductHandle:t,productColor:n,mainProductAvailableForSale:r,disableNavigate:o,colorLabel:d})}):(0,a.jsx)(a.Fragment,{children:u?(0,a.jsx)("div",{className:"w-4 h-4 bg-gray-200 rounded-full animate-pulse"}):(0,a.jsx)(m,{productColors:c,mainProductHandle:t,productColor:n,mainProductAvailableForSale:r,disableNavigate:o})})})}},80924:(e,l,t)=>{t.r(l),t.d(l,{NeomodeSection:()=>A});var a=t(70862),s=t(6934),r=t(18526),n=t(31927),i=t(35994),o=t(85879),d=t(65594),c=t(44049),u=t(99049),m=t(92526);let x=(0,t(15749).F)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=r.forwardRef((e,l)=>{let{className:t,...s}=e;return(0,a.jsx)(m.b,{ref:l,className:(0,u.cn)(x(),t),...s})});p.displayName=m.b.displayName;let h=n.Op,v=r.createContext({}),f=e=>{let{...l}=e;return(0,a.jsx)(v.Provider,{value:{name:l.name},children:(0,a.jsx)(n.xI,{...l})})},g=()=>{let e=r.useContext(v),l=r.useContext(j),{getFieldState:t,formState:a}=(0,n.xW)(),s=t(e.name,a);if(!e)throw Error("useFormField should be used within <FormField>");let{id:i}=l;return{id:i,name:e.name,formItemId:"".concat(i,"-form-item"),formDescriptionId:"".concat(i,"-form-item-description"),formMessageId:"".concat(i,"-form-item-message"),...s}},j=r.createContext({}),b=r.forwardRef((e,l)=>{let{className:t,...s}=e,n=r.useId();return(0,a.jsx)(j.Provider,{value:{id:n},children:(0,a.jsx)("div",{ref:l,className:(0,u.cn)("space-y-2",t),...s})})});b.displayName="FormItem",r.forwardRef((e,l)=>{let{className:t,...s}=e,{error:r,formItemId:n}=g();return(0,a.jsx)(p,{ref:l,className:(0,u.cn)(r&&"text-destructive",t),htmlFor:n,...s})}).displayName="FormLabel";let N=r.forwardRef((e,l)=>{let{...t}=e,{error:s,formItemId:r,formDescriptionId:n,formMessageId:i}=g();return(0,a.jsx)(c.DX,{ref:l,id:r,"aria-describedby":s?"".concat(n," ").concat(i):"".concat(n),"aria-invalid":!!s,...t})});N.displayName="FormControl",r.forwardRef((e,l)=>{let{className:t,...s}=e,{formDescriptionId:r}=g();return(0,a.jsx)("p",{ref:l,id:r,className:(0,u.cn)("text-sm text-muted-foreground",t),...s})}).displayName="FormDescription";let y=r.forwardRef((e,l)=>{let{className:t,children:s,...r}=e,{error:n,formMessageId:i}=g(),o=n?String(null==n?void 0:n.message):s;return o?(0,a.jsx)("p",{ref:l,id:i,className:(0,u.cn)("text-sm font-medium text-destructive",t),...r,children:o}):null});y.displayName="FormMessage";var w=t(35338),C=t(91929),k=t(13328),S=t(96951);let z=(0,S.createServerReference)("4026506022e5d50c17a09182a7a611da9b15550a8a",S.callServer,void 0,S.findSourceMapURL,"searchNeomodeDelivery"),_=i.z.object({postalCode:i.z.string().min(1,{message:" "})}),A=e=>{var l,t,i,c,u,m,x,p,v,g,j,S,A;let{sku:P,name:I,title:T,zipcode:F,deliveryTitleLabel:L,pickupTitleLabel:B,deliveryLabel:R,pickupLabel:D,freeText:E,calculateText:H,showMoreText:V,noResultsText:M,textwhite:U,needHelpInfo:W,querySku:O,...q}=e,[Z,G]=(0,r.useState)(null),K=(0,n.mN)({resolver:(0,s.u)(_),defaultValues:{postalCode:""}}),{isSubmitting:Q}=K.formState;if(!P)return null;async function Y(e){let{postalCode:l}=e;G(null);let t=await z({postalCode:l,sku:P,name:I});t.error||G(t)}let J=(null==Z||null==(c=Z.productos)||null==(i=c[0])||null==(t=i.modalidades)||null==(l=t.find(e=>"DESPACHO_DOMICILIO"===e.modo))?void 0:l.despacho_domicilios)||[],X=(null==Z||null==(p=Z.productos)||null==(x=p[0])||null==(m
1=x.modalidades)||null==(u=m.find(e=>"TIENDA"===e.modo))?void 0:u.retiro_tienda)||[],$=null!=(A=null==Z||null==(S=Z.productos)||null==(j=S[0])||null==(g=j.modalidades)||null==(v=g.find(e=>"TIENDA"===e.modo))?void 0:v.retiro_tienda)?A:[],ee=e=>Number(e/100),el={tracked:!0,locations:$.map(e=>({name:e.tienda,hasActiveInventory:!0,address:{address1:e.direccion.direccion,city:e.direccion.segunda_jerarquia,province:e.direccion.primera_jerarquia,country:e.direccion.pais},quantity:1}))};return(0,a.jsxs)("div",{className:"gap-1",children:[(0,a.jsx)("p",{className:"typ-medium pb-1",children:T}),(0,a.jsx)(h,{...K,children:(0,a.jsxs)("form",{onSubmit:K.handleSubmit(Y),className:"flex flex-col sm:flex-row w-full items-start gap-4 pb-4",children:[(0,a.jsx)(f,{control:K.control,name:"postalCode",render:e=>{let{field:l}=e;return(0,a.jsxs)(b,{className:"w-full",children:[(0,a.jsx)(N,{children:(0,a.jsx)(w.p,{type:"text",placeholder:F,className:"border-gray-300 w-full rounded-sm border py-2 px-3 typ-medium text-muted focus:ring-0 focus-visible:ring-0 h-[36px]",disabled:Q,...l})}),(0,a.jsx)(y,{})]})}}),(0,a.jsx)(d.Button,{variant:"secondary",className:"w-full min-w-[110px] px-3 overflow-hidden md:w-auto",size:"sm",type:"submit",disabled:Q||!K.watch("postalCode").trim(),children:Q?"...":H})]})}),null!==Z&&(J.length>0||X.length>0?(0,a.jsxs)(o.Accordion,{type:"multiple",defaultValue:["delivery","pickup"],className:"w-full gap-3",children:[J.length>0&&(0,a.jsxs)(o.AccordionItem,{value:"delivery",children:[(0,a.jsx)(o.AccordionTrigger,{icon:"plus-minus-left",className:"font-semibold py-3 px-2",children:L}),(0,a.jsx)(o.AccordionContent,{className:"px-2",children:J.map((e,l)=>(0,a.jsxs)("div",{className:"flex flex-col pl-5 pb-3 gap-1",children:[(0,a.jsx)("p",{className:"typ-medium ".concat(U?"":"text-muted"),children:e.tipo}),(0,a.jsx)("p",{className:"typ-medium ".concat(U?"":"text-muted"),children:null==R?void 0:R.replace("{x}",e.rango_entrega.dias_utiles.toString())}),(0,a.jsx)("p",{className:"typ-medium ".concat(U?"":"text-muted"),children:0===ee(e.costo)?E:(0,a.jsx)(C.Price,{amount:ee(e.costo)})})]},l))})]}),X.length>0&&(0,a.jsxs)(o.AccordionItem,{value:"pickup",children:[(0,a.jsx)(o.AccordionTrigger,{icon:"plus-minus-left",className:"font-semibold py-3 px-2",children:B}),(0,a.jsx)(o.AccordionContent,{className:"px-2",children:X.slice(0,1).map((e,l)=>(0,a.jsxs)("div",{className:"flex flex-col pl-5 gap-1",children:[(0,a.jsx)("p",{className:"typ-medium ".concat(U?"":"text-muted"),children:e.tienda}),(0,a.jsx)("p",{className:"typ-medium ".concat(U?"":"text-muted"),children:null==D?void 0:D.replace("{x}",e.rango_vigencia.dias_utiles.toString())}),(0,a.jsx)("p",{className:"typ-medium ".concat(U?"":"text-muted"),children:0===ee(e.costo||0)?E:(0,a.jsx)(C.Price,{amount:ee(e.costo||0)})}),(0,a.jsx)(k.DialogSection,{showMoreText:V,showNeomode:!0,needHelpInfo:W,querySku:el,showNewContent:!0,...q})]},l))})]})]}):(0,a.jsx)("div",{className:"typ-medium py-2 text-muted",children:M}))]})}},81572:(e,l,t)=>{t.d(l,{default:()=>y});var a=t(70862),s=t(18526),r=t(29745),n=t(48756),i=t(99049),o=t(64816),d=t.n(o),c=t(9233),u=t(85902),m=t(4e3),x=t(1796),p=t(65465),h=t(85107),v=t(4530),f=t(65222),g=t(80870),j=t(73508);let b=e=>{var l,t,s,r,n,o,b,N,y,w,C,k,S,z,_,A,P,I,T,F,L,B,R,D,E,H,V;let{product:M,globalSettings:U,tags:W,withBackground:O,weightLabel:q,capacityLabel:Z,showWishListPage:G,isLogged:K,isAlreadyAdded:Q,isoCode:Y}=e;if(!M)return null;let J=M.price&&null!=(F=null==(l=Object.values(M.price)[0])?void 0:l.toString())?F:"",X=M.original_price&&null!=(L=null==(t=Object.values(M.original_price)[0])?void 0:t.toString())?L:"",$=M.item_id,ee="gid://shopify/ProductVariant/".concat($),el=1===M.in_stock,et=null==W?void 0:W.filter(e=>{var l,t;return null==M||null==(t=M.product_attributes)||null==(l=t.shopify_tag)?void 0:l.find(l=>l===e.id)}).toSorted((e,l)=>{var t,a;return(null!=(t=e.order)?t:0)-(null!=(a=l.order)?a:0)}).slice(0,3),ea=null==U||null==(s=U.compare)?void 0:s.activateBackground,es=null==U||null==(r=U.compare)?void 0:r.textInProductCard,er=M.url?null==(n=M.url.split("/products/")[1])?void 0:n.split("?")[0]:"",en=Number(J),ei=Number(X),eo=(0,x.G)({minPrice:en,availableForSale:el,maxPrice:ei,isBadge:!0}),ed=null==et?void 0:et.map((e,l)=>(0,a.jsx)(h.E,{variant:e.variant,className:(0,i.cn)("rounded-sm opacity-0 group-hover:opacity-100",e.imageUrl&&"rounded-full",(null==et?void 0:et.length)===1&&!eo&&"opacity-100",(null==et?void 0:et.length)>1&&0===l&&!eo&&"opacity-100"),children:e.imageUrl?(0,a.jsx)("img",{className:"h-4 w-4",src:e.imageUrl,alt:e.label}):e.label},e.id));return(0,a.jsxs)("div",{className:"group relative z-0 mx-auto ins-product-box ins-element-link ins-sr-api","ins-product-id":M.item_id,"data-product-categories":JSON.stringify(null!=(B=M.category)?B:[]),"event-collection":"true",children:[(0,a.jsx)(d(),{href:"/products/".concat(er),className:"absolute inset-0 z-10"}),(0,a.jsxs)("div",{className:(0,i.cn)("border-border group  flex w-full max-w-[450px]  flex-col gap-2 border p-3 xl:border-0  ",{"bg-white":O}),children:[(0,a.jsxs)("div",{className:"flex flex-row justify-between gap-x-1 ",children:[(0,a.jsxs)("div",{className:"absolute flex min-h-[2lh] w-[60%] flex-row flex-wrap items-start justify-start gap-2 ",children:[(0,a.jsx)(c.A,{maxPrice:X,minPrice:J}),ed]}),(0,a.jsx)("div",{className:"invisible flex w-full justify-end group-hover:visible",children:(0,a.jsx)(m.CompareButton,{handle:er,title:null==M?void 0:M.name,image:String(null==M?void 0:M.image_url),price:X,capacity:null!=(R=null==(o=M.product_attributes)?void 0:o.capacity)?R:"",weight:null!=(D=null==(b=M.product_attributes)?void 0:b.weight)?D:"",maxPrice:X,minPrice:J,buttonText:es,activateBackgroun
1d:ea})})]}),(0,a.jsx)("div",{className:"mx-auto",children:(0,a.jsx)("img",{src:String(null==M?void 0:M.image_url),className:"aspect-square size-full object-cover",alt:null==M?void 0:M.name})}),(0,a.jsxs)("div",{className:"flex flex-col gap-1 text-center",children:[(0,a.jsxs)("div",{className:"gap-1",children:[(0,a.jsx)("p",{className:"text-muted typ-brand-name  min-h-[1lh]",children:M.brand}),(0,a.jsx)("h2",{"atrr-qa":"subtitle",className:"text-primary  typ-product-title  line-clamp-2 min-h-[2lh] overflow-hidden",children:null==M?void 0:M.name})]}),(0,a.jsxs)("div",{className:"mx-auto inline-flex min-h-[1lh] items-center justify-start gap-1 overflow-hidden ",children:[(null==(N=M.product_attributes)?void 0:N.capacity)&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)("div",{className:" flex items-start justify-start gap-1",children:[(0,a.jsx)("p",{className:"text-muted  typ-product-subtitle line-clamp-1 overflow-hidden",children:Z}),(0,a.jsxs)("p",{className:"text-primary typ-product-subtitle line-clamp-1 overflow-hidden",children:[null==(y=M.product_attributes)?void 0:y.capacity," L"]})]}),(0,a.jsx)("div",{className:"text-muted",children:"|"})]}),(0,a.jsx)(a.Fragment,{children:(null==(w=M.product_attributes)?void 0:w.weight)&&(0,a.jsxs)("div",{className:"flex items-start justify-start gap-1",children:[(0,a.jsx)("p",{className:"text-muted typ-product-subtitle line-clamp-1 overflow-hidden",children:q}),(0,a.jsxs)("p",{className:"text-primary typ-product-subtitle line-clamp-1 overflow-hidden",children:[null==(C=M.product_attributes)?void 0:C.weight," KG"]})]})})]}),(0,a.jsx)("div",{className:"h-7",children:M.groupcode?(0,a.jsx)(p.default,{id:M.groupcode}):null}),(0,a.jsx)("div",{className:"inline-flex items-center justify-start gap-1",children:(0,a.jsx)("div",{className:"mx-auto flex  min-h-[1lh] flex-row  items-center gap-2",children:(0,a.jsx)(x.B,{maxPrice:Number(X),minPrice:Number(J)})})}),(0,a.jsx)(g.ProductColorsPlp,{isCardView:!0,handle:er,availableForSale:el}),(0,a.jsxs)("div",{children:[(null==U||null==(k=U.productCard)?void 0:k.availableInstallments)&&(0,a.jsx)("div",{className:"hidden h-11 px-1 py-3 text-center xl:block xl:group-hover:hidden",children:(0,a.jsx)("p",{className:"typ-small-medium text-muted min-h-[1lh]  group-hover:hidden",children:(0,a.jsx)(f.default,{installmentsValue:Number(J),installmentsNumber:null==U||null==(S=U.productCard)?void 0:S.installmentsNumber,installmentsMessage:null==U||null==(z=U.productCard)?void 0:z.installments,installmentsLimitEnabled:null==U||null==(_=U.productCard)?void 0:_.installmentsLimitEnabled})})}),(0,a.jsx)("div",{className:"relative inset-0 z-20 flex flex-row items-center gap-1 group-hover:visible xl:invisible",children:$?(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(j.AnalyticsWrapper,{eventName:"add_to_cart",items:{item_name:M.name,item_id:M.item_id,item_sku:M.sku,item_groupcode:M.groupcode,item_imagen_url:M.image_url,price:en,item_brand:M.brand,item_category:null==(A=M.category)?void 0:A[0],item_variant:ee,item_list_name:null==(P=M.category)?void 0:P[0],item_categories:M.category,index:1,quantity:1,discount:ei-en,affiliation:M.brand},value:en,currency:Y,children:(0,a.jsx)("div",{className:"ins-add-to-cart-wrapper w-full h-full","ins-product-id":M.item_id,children:(0,a.jsx)(u.AddToCart,{availableForSale:el,selectedVariantId:ee,variant:"primary",className:"ins-element-link ins-sr-api hover:bg-brand-primary hover:text-primary-foreground",buttonText:null!=(E=null==U||null==(I=U.productCard)?void 0:I.addToCartText)?E:"",unavailableText:null!=(H=null==U||null==(T=U.cart)?void 0:T.unavailableText)?H:"",size:"lg"})})}),G&&(0,a.jsx)("div",{className:"border-brand-primary h-11 border",children:(0,a.jsx)(v.AddToWishList,{data:{variantId:$,productId:null!=(V=M.groupcode)?V:"",handle:null!=er?er:""},isLogged:K,isAdded:Q,variant:"link",size:"icon-md"})})]}):null})]})]})]})]})};var N=t(5007);let y=(0,s.memo)(e=>{var l,t,i,o;let{data:d,tags:c,capacityLabel:u,weightLabel:m,isLogged:x,productsInUserList:p,globalSettings:h,isoCode:v}=e,{products:f,variationId:g,hasLoadedBefore:j}=(0,N.useInsiderCampaign)(d.campaignId),y=(0,s.useMemo)(()=>f.map(e=>e.item_id),[f]);if(0===f.length&&!j)return null;let w=(null==h||null==(l=h.wishlist)?void 0:l.active)||!1;return(0,a.jsxs)(r.CarouselLayout,{children:[(0,a.jsx)(r.CarouselHeader,{children:(0,a.jsx)(r.CarouselDefaultTitle,{title:null!=(t=d.title)?t:"",urlButton:null!=(i=d.urlButton)?i:"",textButton:null!=(o=d.textButton)?o:"",showButton:d.hideSectionButton})}),(0,a.jsxs)(r.CarouselBody,{opts:{align:"start",slidesToScroll:1},className:g?"ins-preview-wrapper-".concat(g," ins-sr-api-wrapper"):void 0,children:[(0,a.jsx)(n.CarouselContent,{className:"ins-web-smart-recommender-body","data-recommended-items":JSON.stringify(y),children:0===f.length?(0,a.jsx)("div",{className:"flex items-center justify-center w-full py-10",children:(0,a.jsx)("p",{className:"text-center text-lg animate-pulse",children:d.loadingMessage||"Loading..."})}):f.map((e,l)=>{var t;let s=e.url?null==(t=e.url.split("/products/")[1])?void 0:t.split("?")[0]:"",r=!!w&&!!p.find(e=>e.handle===s);return(0,a.jsx)(n.CarouselItem,{className:"ins-web-smart-recommender-box-item flex w-full sm:basis-1/2 xl:basis-1/4",children:(0,a.jsx)(b,{product:e,capacityLabel:u,weightLabel:m,tags:c,showWishListPage:w,isLogged:x,isAlreadyAdded:r,globalSettings:h,isoCode:v})},l)})}),(0,a.jsx)(r.CarouselDefaultControls,{})]})]})})},82924:(e,l,t)=>{t.r(l),t.d(l,{IntersectionObserver:()=>d,PDPClientContext:()=>o,StickySection:()=>c});
1var a=t(70862),s=t(99049),r=t(18526),n=t(47718);let i=r.createContext(null),o=e=>{let{children:l}=e,{outView:t,setOutView:s}=(()=>{let[e,l]=r.useState(!1);return{outView:e,setOutView:l}})();return(0,a.jsx)(i.Provider,{value:{outView:t,setOutView:s},children:l})},d=e=>{let{children:l,className:t}=e,s=r.useContext(i);if(!s)throw Error("StickyButton is not defined");return(0,a.jsx)(n.pL,{onChange:e=>s.setOutView(!e),children:e=>{let{ref:s}=e;return(0,a.jsx)("div",{ref:s,className:t,children:l})}})},c=e=>{let{children:l}=e,t=r.useContext(i);if(!t)throw Error("HeaderContext is not defined");return(0,a.jsx)("div",{className:(0,s.cn)(t.outView?"block":"hidden"),children:l})}},84291:(e,l,t)=>{t.r(l),t.d(l,{ProductSlider:()=>h});var a=t(70862),s=t(48756),r=t(88910),n=t(74859),i=t(99049),o=t(21255),d=t(94972),c=t(17543),u=t(18526),m=t(56281),x=t(29745),p=t(65594);let h=e=>{let{slides:l}=e,[t,o]=u.useState(!1),[d,h]=u.useState(!0),[g,j]=u.useState(),[b,N]=u.useState(),{selectedIndex:y,scrollSnaps:w,onDotButtonClick:C}=(0,n.R)(b),{selectedIndex:k,scrollSnaps:S,onDotButtonClick:z}=(0,n.R)(g),_=u.useCallback(()=>{g&&b&&b.scrollTo(g.selectedScrollSnap(),!0)},[g,b]);u.useEffect(()=>{g&&(_(),g.on("select",_),g.on("reInit",_))},[g,_]);let A=u.useCallback(e=>{g&&h(1===e.state.scale)},[g]);return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(r.Dialog,{open:t,onOpenChange:e=>o(e),children:(0,a.jsxs)(r.DialogContent,{className:"h-screen max-w-full max-md:p-0",children:[(0,a.jsx)(r.DialogHeader,{className:"max-md:p-2",children:(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsx)(r.DialogClose,{asChild:!0,children:(0,a.jsx)(p.Button,{asChild:!0,variant:"icon-outline",size:"icon-md",className:"relative z-10",children:(0,a.jsx)("span",{children:(0,a.jsx)(c.A,{})})})})})}),(0,a.jsxs)(s.Carousel,{className:"flex h-full w-full items-center justify-between",setApi:N,opts:{watchDrag:d},children:[(0,a.jsx)(s.CarouselPrevious,{className:"absolute left-0 z-10 max-md:left-2",variant:"icon-outline",size:"icon-md",cleanClass:!0}),(0,a.jsx)("div",{className:"w-full px-10",children:(0,a.jsx)(s.CarouselContent,{tabIndex:0,children:l.map((e,l)=>(0,a.jsx)(s.CarouselItem,{className:"basis-full cursor-zoom-in",children:(0,a.jsx)(m.GT,{onZoomStop:A,children:(0,a.jsx)(f,{image:e.node,carouselApi:b})})},"dialog-carousel".concat(l)))})}),(0,a.jsx)(s.CarouselNext,{className:"absolute  right-0 z-10 max-md:right-2",variant:"icon-outline",size:"icon-md",cleanClass:!0})]}),(0,a.jsx)("div",{className:"mt-4 flex w-full justify-center",children:w.map((e,l)=>(0,a.jsx)(x.DotButton,{active:l===y,className:(0,i.cn)(l===y?"!bg-primary":"!border-primary"),onClick:()=>C(l)},l))})]})}),(0,a.jsx)("div",{className:"flex flex-col-reverse m-auto max-w-[450px] mt-10",children:(0,a.jsxs)(s.Carousel,{className:"flex w-full flex-col gap-3 ",setApi:j,children:[(0,a.jsx)(s.CarouselContent,{children:l.map((e,l)=>(0,a.jsx)(s.CarouselItem,{onClick:()=>o(!0),children:(0,a.jsx)(v,{className:"cursor-pointer",image:e.node})},"main-carousel".concat(l)))}),(0,a.jsxs)("div",{className:"hidden flex-row justify-center gap-3 xl:flex",children:[(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex",children:(0,a.jsx)(s.CarouselPrevious,{className:"",variant:"icon-outline",size:"icon-md",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden",children:(0,a.jsx)(s.CarouselPrevious,{className:"",variant:"icon-outline",size:"icon-md",cleanClass:!0})}),(0,a.jsx)("div",{className:"hidden items-center gap-2 dark:flex",children:(0,a.jsx)(s.CarouselNext,{className:"",variant:"icon-outline",size:"icon-md",cleanClass:!0})}),(0,a.jsx)("div",{className:"flex items-center gap-2 dark:hidden",children:(0,a.jsx)(s.CarouselNext,{className:"",variant:"icon-outline",size:"icon-md",cleanClass:!0})})]}),(0,a.jsx)("div",{className:"flex items-center justify-center xl:hidden",children:S.map((e,l)=>(0,a.jsx)(x.DotButton,{active:l===k,className:(0,i.cn)(l===k?"!bg-primary":"!border-primary"),onClick:()=>z(l)},l))})]})})]})},v=e=>{let{image:l,className:t}=e,s=(0,o.ni)(o.sI,l);return(0,a.jsx)("img",{loading:"lazy",className:(0,i.cn)("mx-auto h-full w-full max-w-lg object-contain",t),src:(0,d.Q)(s.url.toString(),1200),alt:""})},f=e=>{let{image:l,carouselApi:t}=e,{resetTransform:s}=(0,m._5)();return u.useEffect(()=>{t&&(t.on("select",()=>s()),t.on("reInit",()=>s()))},[t,s]),(0,a.jsx)(m.WZ,{wrapperClass:"!w-full !h-full m-auto",contentClass:"!w-full !h-full m-auto",children:(0,a.jsx)(v,{className:"max-h-[80vh]",image:l})})}},85604:(e,l,t)=>{t.d(l,{FloatingImage:()=>i});var a=t(70862),s=t(99049),r=t(18526),n=t(7814);let i=e=>{var l;let{children:t,props:i}=e,o=r.useContext(n.floatingContext);if(!o)throw Error("floatingContext is not defined");let d=null==o||null==(l=o.buttonRef.current)?void 0:l.offsetHeight;return(0,a.jsx)("div",{className:(0,s.cn)("hidden xl:block"),children:(0,a.jsx)("div",{className:"flex justify-center",children:(0,a.jsx)("div",{className:"w-1/3",children:(0,a.jsx)("div",{ref:o.sliderRef,style:{"--height-button":"".concat(d&&d+92,"px")},className:(0,s.cn)("inline-block w-1/3 xl:mt-[var(--header-height)]",null===o.isSticky?"hidden":o.isSticky?"fixed":"absolute bottom-[--height-button]"),children:t})})})})}},85879:(e,l,t)=>{t.d(l,{Accordion:()=>u,AccordionContent:()=>h,AccordionItem:()=>x,AccordionTrigger:()=>p});var a=t(70862),s=t(99049),r=t(68818),n=t(15749),i=t(32473),o=t(83031),d=t(53679),c=t(18526);let u=r.bL,m=(0,n.F)("flex flex-1 items-center justify-between py-7 font-medium transition-all",{variants:{icon:{"plus-minus":"[&[data-state=closed]>.close]:!block [&[data-state=open]>.open]:!block",chevron:"[&[data-state=open]>svg]:rotate-180",hidden:"","plus-minus-left":"justify-start gap-2 [&[data-state=closed]>.close]:!block [&[data-state=open]>.open]:!block"}},defaultVariants:{icon:"plus-minus"}}),x=c.forwardRef((e,l)=>{let{className:t,...n}=e;return(0,a.jsx)(r.q7,{ref:l,className:(0,s.cn)("border-b",t),...n})});x.displayName="AccordionItem";let p=c.forwardRef((e,l)=>{let{className:t,children:n,icon:c="plus-minus",...u}=e;return(0,a.jsx)(r.Y9,{className:"flex",children:(0,a.jsxs)(r.l9,{ref:l,className:(0,s.cn)(m({icon:c,className:t})),...u,children:["plus-minus-left"===c&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.A,{className:"close hidden h-4 w-4 shrink-0 transition-transform"}),(0,a.jsx)(o.A,{className:"open hidden h-4 w-4 shrink-0 transition-transform"})]}),n,"plus-minus"===c&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.A,{className:"close hidden h-4 w-4 shrink-0 transition-transform"}),(0,a.jsx)(o.A,{className:"open hidden h-4 w-4 shrink-0 transition-transform"})]}),"chevron"===c?(0,a.jsx)(d.A,{className:"h-4 w-4 shrink-0 transition-transform"}):null]})})});p.displayName=r.l9.displayName;let h=c.forwardRef((e,l)=>{let{className:t,children:n,...i}=e;return(0,a.jsx)(r.UC,{ref:l,className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm transition-all",...i,children:(0,a.jsx)("div",{className:(0,s.cn)("pb-4 pt-0",t),children:n})})});h.displayName=r.UC.displayName},88910:(e,l,t)=>{t.r(l),t.d(l,{Dialog:()=>o,DialogClose:()=>u,DialogContent:()=>x,DialogDescription:()=>f,DialogFooter:()=>h,DialogHeader:()=>p,DialogOverlay:()=>m,DialogPortal:()=>c,DialogTitle:()=>v,DialogTrigger:()=>d});var a=t(70862),s=t(47443),r=t(17543),n=t(18526),i=t(99049);let o=s.bL,d=s.l9,c=s.ZL,u=s.bm,m=n.forwardRef((e,l)=>{let{className:t,...r}=e;return(0,a.jsx)(s.hJ,{ref:l,className:(0,i.cn)("fixed inset-0 z-50 bg-black/80  data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",t),...r})});m.displayName=s.hJ.displayName;let x=n.forwardRef((e,l)=>{let{className:t,children:n,showCloseButton:o,...d}=e;return(0,a.jsxs)(c,{children:[(0,a.jsx)(m,{}),(0,a.jsxs)(s.UC,{ref:l,className:(0,i.cn)("fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",t),...d,children:[n,o?(0,a.jsxs)(s.bm,{className:"absolute right-4 top-4 roun
1ded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[(0,a.jsx)(r.A,{className:"h-4 w-4"}),(0,a.jsx)("span",{className:"sr-only",children:"Close"})]}):null]})]})});x.displayName=s.UC.displayName;let p=e=>{let{className:l,...t}=e;return(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col space-y-1.5 text-center sm:text-left justify-center",l),...t})};p.displayName="DialogHeader";let h=e=>{let{className:l,...t}=e;return(0,a.jsx)("div",{className:(0,i.cn)("flex flex-col-reverse sm:flex-row sm:justify-start sm:space-x-2",l),...t})};h.displayName="DialogFooter";let v=n.forwardRef((e,l)=>{let{className:t,...r}=e;return(0,a.jsx)(s.hE,{ref:l,className:(0,i.cn)("text-lg font-semibold leading-none tracking-tight",t),...r})});v.displayName=s.hE.displayName;let f=n.forwardRef((e,l)=>{let{className:t,...r}=e;return(0,a.jsx)(s.VY,{ref:l,className:(0,i.cn)("text-sm text-muted-foreground",t),...r})});f.displayName=s.VY.displayName}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.