PageSourceSearch

https://www.gap.it/_next/static/chunks/20-0728198398c6667c.js

js gap.it collected 2026-09-26 15:44:02 UTC 25,608 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[20],{9999:e=>{e.exports={"price-color":"Price_price-color__qQ6v5","recommended-price-color":"Price_recommended-price-color__6prbn"}},10511:(e,t,r)=>{"use strict";r.d(t,{B:()=>c,b:()=>l});var a=r(26514),i=r(75834);let s=(0,i.createContext)(null),l=({value:e,children:t})=>(0,a.jsx)(s.Provider,{value:e,children:t}),c=()=>(0,i.useContext)(s)},22502:(e,t,r)=>{"use strict";r.d(t,{gm:()=>j,b5:()=>b});var a,i=r(26514),s=r(55047),l=r(9999),c=r.n(l),n=r(80254),o=r(89860),d=r(70386),u=r(84775),p=r(75834);let m=e=>Math.floor(e.getTime()/1e3)-Math.floor(new Date().getTime()/1e3),x=(e,t=!1)=>{let r=m(e);if(t&&(r=1e3*Math.round(r/1e3)),r<=0)return{days:0,hours:0,minutes:0,seconds:0};let a=Math.floor(r/86400),i=Math.floor((r-=86400*a)/3600),s=Math.floor((r-=3600*i)/60);return r-=60*s,{days:a,hours:i,minutes:s,seconds:r}},h=({endTime:e,prefix:t})=>{let{t:r}=(0,s.Bd)("common"),a=new Date(e),[l,c]=(0,p.useState)(x(a,!0));(0,p.useEffect)(()=>{let e=setInterval(()=>{c(x(a))},1e3);return()=>{clearInterval(e)}},[]);let n=l?.days>0,o=e=>{let t=String(e);return n?t:t.padStart(2,"0")};return l?(0,i.jsxs)(i.Fragment,{children:[t,l.days>0&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("strong",{children:l.days})," ",r("countdown__day",{count:l.days})," "]}),(0,i.jsx)("strong",{children:l.hours}),n?` ${r("countdown__hours")} `:":",(0,i.jsx)("strong",{children:o(l.minutes)}),n?` ${r("countdown__minutes")} `:":",(0,i.jsx)("strong",{children:o(l.seconds)}),n&&` ${r("countdown__seconds")} `]}):null};var _=r(75406),g=r(39285),f=r(47754),b=((a={}).ProductDetail="product-detail",a.ProductCard="product-card",a);let v=({variant:e,couponPrice:t,pricePrefix:r,...a})=>{let{t:l}=(0,s.Bd)("common");return(0,i.jsx)("div",{"data-testid":n.Q.ProductDetailCouponPricePopoverInfoCodeDiv,className:(0,_.cn)({"text-white":!0,"[font-size:--product-card-prices__coupon-price__font-size] mt-1":"product-card"===e,"[font-size:--product-detail-prices__coupon-price__font-size] mb-1":"product-detail"===e}),...a,children:(0,i.jsx)("span",{className:"inline-block bg-[--prices__coupon-price__bg-color] py-[--prices__coupon-price__padding-y] px-[--prices__coupon-price__padding-x]","data-testid":n.Q.ProductDetailCouponPriceTextDiv,children:(0,i.jsx)(s.x6,{i18nKey:"product-detail"===e?"price_coupon__price_text_extra":"price_coupon__price_text",values:{code:t.code,percentage:t.discountPercentFinalEshop},components:{Price:(0,i.jsx)(({couponPrice:e,pricePrefix:t})=>(0,i.jsx)("div",{className:"inline-flex",children:(0,i.jsx)(u.j,{testId:n.Q.CouponPriceSpan,value:e.priceEshop,prefix:t})}),{couponPrice:t,pricePrefix:r}),Countdown:(0,i.jsx)(()=>m(new Date(t.publishedTo))>=172800?null:(0,i.jsx)("span",{children:(0,i.jsx)(h,{prefix:l("price_coupon__countdown_prefix"),endTime:t.publishedTo})}),{})}})})})},j=({prices:e,item:t,type:r,variant:a})=>{let l=(e=>{let{settings:t}=(0,o.Pj)();return"product-detail"!==e?["[font-size:--product-card-prices__primary__font-size]","[font-size:--product-card-prices__secondary__font-size]"]:t.isOrsay()?["text-5xl","text-3xl"]:["text-3xl","text-xl"]})(a),{settings:p}=(0,o.Pj)(),{t:m}=(0,s.Bd)("common");if("product-card-tiny"===r){let{selling:t,recommended:r,discount:a}=e;return(0,i.jsxs)("div",{children:[a&&(0,i.jsx)("div",{children:(0,i.jsxs)(d.J,{variant:"danger",size:"xs",children:["-"," ",(0,i.jsx)(u.j,{testId:n.Q.ProductCardDiscountSumSpan,decimalScale:p.numberFormat?.percentageDecimals||0,value:a,suffix:" %"})]})}),void 0!==r&&r>t?(0,i.jsxs)("div",{className:"inline-flex items-center gap-x-4",children:[(0,i.jsx)("strong",{className:"text-red-600 text-lg",children:(0,i.jsx)(u.j,{testId:n.Q.ProductCardTinyDiscountedSellingPriceSpan,value:t})}),(0,i.jsx)("s",{className:"text-gray-700",children:(0,i.jsx)(u.j,{testId:n.Q.ProductCardTinyRecommendedPriceSpan,value:r})})]}):(0,i.jsx)("div",{children:(0,i.jsx)("span",{className:"text-gray-700",children:(0,i.jsx)(u.j,{testId:n.Q.ProductCardTinySellingPriceSpan,value:t})})})]})}let{prices:{selling:x,recommended:h,couponPrice:b},hasDifferentPrices:j}=t,y=j?`${m("price_different_from")} `:void 0;return(0,i.jsxs)("div",{className:"[container-type:inline-size]",children:["product-detail"
1===a&&b&&(0,i.jsx)(v,{variant:a,couponPrice:b,pricePrefix:y}),(0,i.jsx)(()=>null!==h&&h>x?(0,i.jsxs)("div",{className:(0,_.cn)({"flex-wrap gap-x-4":!0,...(0,g.H)({base:"items-center",orsay:"product-card"===a?"justify-center":""}),"inline-flex":!p.showBGSecondPrice()}),children:[(0,i.jsx)("strong",{className:(0,_.cn)({"text-red-600":!b,[`${l[0]}`]:l[0]}),children:p.showBGSecondPrice()?(0,i.jsxs)("div",{className:"inline-flex gap-x-2",children:[(0,i.jsx)(u.j,{testId:n.Q.PriceDiscountedSellingPriceSpan,value:x,prefix:y}),(0,i.jsx)(f.c,{value:x})]}):(0,i.jsx)(u.j,{testId:n.Q.PriceDiscountedSellingPriceSpan,value:x,prefix:y})}),(0,i.jsx)("div",{className:(0,_.cn)({"inline-flex":!p.showBGSecondPrice()}),children:(0,i.jsx)("s",{className:(0,_.cn)({[`${c()["recommended-price-color"]}`]:c()["recommended-price-color"],"content-center":!0,[`${l[1]}`]:l[1]}),children:(0,i.jsx)(u.j,{testId:n.Q.PriceRecommendedPriceSpan,value:h,prefix:y})})})]}):(0,i.jsx)("strong",{className:(0,_.cn)({[`${c()["price-color"]}`]:c()["price-color"],[`${l[0]}`]:l[0]}),children:p.showBGSecondPrice()?(0,i.jsxs)("div",{className:"inline-flex gap-x-2",children:[(0,i.jsx)(u.j,{testId:n.Q.PriceRecommendedSellingPriceSpan,value:x,prefix:y}),(0,i.jsx)(f.c,{value:x})]}):(0,i.jsx)(u.j,{testId:n.Q.PriceRecommendedSellingPriceSpan,value:x,prefix:y})}),{}),"product-card"===a&&b&&(0,i.jsx)(v,{variant:a,couponPrice:b,pricePrefix:y})]})}},33908:(e,t,r)=>{"use strict";r.d(t,{O:()=>p});var a=r(75834),i=r(46225),s=r.n(i),l=r(89860),c=r(10511),n=r(49898),o=r(82600),d=r(11157);let u=!1,p=(e,t)=>{let{dataLayer:r}=(0,l.Pj)(),i=(0,c.B)(),p=(0,a.useRef)(null),m=e.listIndex??(void 0===t?null:t+1),x=(0,a.useCallback)(e=>{p.current=e},[]),h=i?.stateKey,_=(0,a.useRef)(i);return _.current=i,(0,a.useEffect)(()=>{u||(u=!0,s().events?.on("routeChangeStart",d.Qp),s().events?.on("routeChangeComplete",d.Ir),window.addEventListener("pagehide",d.Qp),document.addEventListener("visibilitychange",()=>{document.hidden&&(0,d.Qp)()}));let t=p.current,r=_.current;if(t&&r&&null!==m)return(0,n.w0)(t,()=>{(0,d.uz)(r,(0,o.HS)(e,m))})},[h,e,m]),{ref:x,onClick:(0,a.useCallback)(()=>{i&&null!==m&&r.selectItem(i,(0,o.HS)(e,m))},[r,i,e,m])}}},34780:e=>{e.exports={mainImage:"MainImage_mainImage__L8hwy",upperLeft:"MainImage_upperLeft__j3BG8",lowerRight:"MainImage_lowerRight__U4X7G",lowerLeft:"MainImage_lowerLeft__SoPma"}},40020:(e,t,r)=>{"use strict";r.d(t,{E:()=>G});var a=r(26514),i=r(51973),s=r(75406),l=r(86750),c=r(89860);let n=({children:e,className:t,item:r,onClick:n,...o})=>{let{settings:d}=(0,c.Pj)();return(0,a.jsxs)("div",{className:(0,s.cn)({"relative overflow-hidden":!0,[`${t}`]:t}),"data-component":"ProductCardPicture",...o,children:[r.media?(0,a.jsx)(i.A,{tabIndex:-1,href:r.url,onClick:n,className:"w-full max-w-xl items-center content-center block",children:(0,a.jsx)(l.$,{...d.productMediaSizes.productCardVertical,src:r.media[0]?.path,alt:`${r.title} - ${String(1).padStart(3,"0")}`,sizes:{custom:"(max-width: 367px) 100vw,(max-width: 555px) 50vw,(max-width: 743px) 33vw,(max-width: 1023px) 25vw,20vw"},style:{aspectRatio:`${d.productMediaSizes.productCardVertical.width}/${d.productMediaSizes.productCardVertical.height}`},className:"w-full object-cover"})}):null,e]})},o=({children:e,className:t,...r})=>(0,a.jsx)("div",{className:(0,s.cn)({"absolute inset-[--inset]":!0,"flex gap-1 [flex-direction:--flex-direction] [align-items:--align-items]":!0,[`${t}`]:t}),"data-area":"top left",style:{"--inset":"var(--product-card__image-area__upper-left__inset, var(--2) auto auto var(--2))","--align-items":"flex-start","--flex-direction":"var(--product-card__image-area__upper-left__flex-direction, column)"},...r,children:e}),d=({children:e,className:t,...r})=>(0,a.jsx)("div",{className:(0,s.cn)({"absolute inset-[--inset]":!0,"flex gap-1 [flex-direction:--flex-direction] [align-items:--align-items]":!0,[`${t}`]:t}),"data-area":"top right",style:{"--inset":"var(--product-card__image-area__upper-right__inset, var(--2) var(--2) auto auto)","--align-items":"flex-end","--flex-direction":"var(--product-card__image-area__upper-right__flex-direction, column)"},...r,children:e}),u=({children:e,className:t,...r})=>(0,a.jsx)("div",{className:(0,s.cn)({"absolute inset-[--inset]":!0,"flex flex-col gap-1 [align-items:--align-items]":!0,[`${t}`]:t}),"data-area":"bottom left",style:{"--inset":"var(--product-card__image-area__lower-left__inset, auto auto var(--2) var(--2))","--align-items":"flex-start","--flex-direction":"var(--product-card__image-area__lower-left__flex-direction, column)"},...r,children:e}),p=({children:e,className:t,...r})=>(0,a.jsx)("div",{className:(0,s.cn)({"absolute inset-[--inset]":!0,"flex flex-col gap-1 [align-items:--align-items]":!0,[`${t}`]:t}),"data-area":"bottom right",style:{"--inset":"var(--product-card__image-area__lower-right__inset, auto var(--2) var(--2) auto)","--align-items":"flex-end","--flex-direction":"var(--product-card__image-area__lower-right__flex-direction, column)"},...r,children:e}),m=({children:e,className:t,...r})=>(0,a.jsx)("div",{className:(0,s.cn)({"hidden absolute z-10 bottom-0 left-0 w-full bg-white overflow-hidden md:flex flex-col cursor-default":!0,"py-[--product-card__sizes-and-colors-wrapper__padding-y] px-[--product-card__sizes-and-colors-wrapper__padding-x]":!0,"gap-[--product-card__sizes-and-colors-wrapper__gap-y]":!0,"[will-change:transform] translate-y-full opacity-0 transition duration-300":!0,"group-hover:translate-y-0 group-hover:opacity-100":!0,[`${t}`]:t}),"aria-hidden":"true",...r,children:e});var x=r(25847),h=r(39285),_=r(78499),g=r(75834),f=r(78618),b=r(44229);let v=({badge:e})=>(0,a.jsxs)("div",{className:"flex items-center gap-0.5",children:[(0,a.jsx)(l.$,{alt:e.title,src:e.picture,width:24,height:24}),(0,a.jsxs)("span",{className:(0,s.cn)({"block relative py-1 px-1.25 font-bold text-2xs uppercase":!0}),style:{color:e.textColor},children:[(0,a.jsx)("span",{className:"absolute top-0 left-0 w-full h-full rounded",style:{backgroundColor:""!=`${e.backgroundColor}`?`${e.backgroundColor}`:"#fff",opacity:"40%"}}),(0,a.jsx)("span",{className:"relative",children:e.title})]})]}),j=({badge:e})=>(0,a.jsxs)("div",{className:"flex items-center gap-1 relative py-1 px-1.25",children:[(0,a.jsx)("span",{className:"absolute top-0 left-0 w-full h-full",style:{backgroundColor:""!=`${e.backgroundColor}`?`${e.backgroundColor}`:"#fff",opacity:"40%"}}),(0,a.jsx)(l.$,{alt:e.title,src:e.picture,width:24,height:24,className:"relative"}),(0,a.jsx)("span",{className:(0,s.cn)({"block relative font-bold text-2xs":!0}),style:{color:e.textColor},children:e.title})]}),y=({badge:e})=>(0,a.jsx)("div",{className:"flex items-center gap-0.5",children:(0,a.jsx)(l.$,{alt:e.title,src:e.picture,width:24,height:24})});var C=r(54170),P=r(55047),w=r(70386),N=r(84775),$=r(22502),S=r(80254),z=r(34780),I=r.n(z),R=r(16074),D=r(14366),T=r(49421),V=r(52661),k=r(59429),B=r(44557),L=r.n(B);
1let E=(0,k.PA)(({className:e,item:t,iconType:r,...i})=>{let{addToWishlist:l,removeFromWishlist:n,isInWishlist:o,isLoading:d}=(()=>{let{wishList:e,dataLayer:t}=(0,c.Pj)(),[r,a]=(0,g.useState)(!1),i=(0,g.useCallback)(async i=>{if(!r){a(!0);try{let r=await e.addToWishList(i.id);return r&&t.addToWishList(i),r}finally{a(!1)}}},[e,t,r]);return{addToWishlist:i,removeFromWishlist:(0,g.useCallback)(async i=>{if(!r){a(!0);try{let r=await e.removeFromWishList(i.id);return r&&t.removeFromWishList(i),r}finally{a(!1)}}},[e,t,r]),isInWishlist:(0,g.useCallback)(t=>!!e.concatedWishList.find(e=>e.id===t),[e.concatedWishList]),isLoading:r}})(),u=o(t.id),{t:p}=(0,P.Bd)("common"),m=(0,g.useMemo)(()=>"bin"===r||u?p("remove-from-wishlist"):p("add-to-wishlist"),[u,r,p]),h=async()=>{if(d)return;let e=u?n:l;await (0,V.h5)(()=>e(t))};return(0,a.jsxs)("button",{type:"button",className:(0,s.cn)({"relative flex items-center justify-center rounded-full":!0,[L().binIconWrapper]:"bin"===r,[L().heartIconWrapper]:"bin"!==r,[`${e}`]:e}),onClick:h,"aria-label":m,title:m,"data-module":x.DR.Wishlist,...i,children:["bin"===r?(0,a.jsx)(D.I,{icon:"/images/icons/bin.svg",className:(0,s.cn)({[`${L().binIcon}`]:L().binIcon}),"data-testid":S.Q.ProductImageAreaRemoveFromWishListIcon,"aria-hidden":!0}):(0,a.jsx)(D.I,{icon:"/images/icons/heart.svg",className:(0,s.cn)({[`${L().heartIcon}`]:L().heartIcon,[`${L()["is-active"]}`]:u}),"data-testid":S.Q.ProductImageAreaAddToWishListIcon,"aria-hidden":!0}),(0,a.jsx)(T.a,{isActive:d,className:"absolute inset-0 overflow-hidden rounded-full"})]})}),F=[x.DR.Video,x.DR.BadgesPictureText,x.DR.Wishlist,x.DR.DiscountLabel,x.DR.SaleLabel,x.DR.TextLabel],M={[x.aV.TopLeft]:F,[x.aV.TopRight]:F,[x.aV.BottomLeft]:F,[x.aV.BottomRight]:F,[x.aV.Drawer]:[x.gE.Colors,x.gE.Sizes],[x.aV.Description]:[x.zx.BadgesOverPicture,x.zx.ColorsCounter,x.zx.Title,x.zx.Price,x.zx.BadgesUnderPicture]},Q={[x.gE.Colors]:({className:e,item:t,...r})=>{let{settings:n}=(0,c.Pj)();return 0===t.colors.length?null:(0,a.jsx)("div",{className:(0,s.cn)({"grid grid-cols-5 items-center justify-center overflow-hidden w-full gap-1":!0,[`${e}`]:e}),"data-module":x.gE.Colors,...r,children:t.colors.map((e,r)=>r<5&&(0,a.jsx)(i.A,{tabIndex:-1,className:"h-full",href:e.link?e.link:e.url?e.url:"#","aria-label":e.title,title:e.title,children:(0,a.jsx)("div",{className:(0,s.cn)({"c-media-thumbn
1ail h-full transition overflow-hidden border-2 border-transparent":!0,"border-black":e.isActive,"hover:border-black":r<4,"cursor-default":r>=4,rounded:!n.isCelio()}),"data-active":e.isActive,children:4!==r?(0,a.jsx)(l.$,{...n.productMediaSizes.productCardVerticalColor,src:e.media[0]?.path,alt:`${t.title}-${e.title} - ${String(r+1).padStart(3,"0")}`,style:{aspectRatio:`${n.productMediaSizes.productCardVerticalColor.width}/${n.productMediaSizes.productCardVerticalColor.height}`},className:"w-full object-cover"}):(0,a.jsxs)("div",{className:"w-full bg-gray-400 text-gray-700 flex items-center h-full justify-center text-xl overflow-hidden",children:["+",t.colorsCount-4]})})},r))})},[x.gE.Sizes]:({className:e,item:t,...r})=>{let i=t?.sizes?.filter(e=>e.isAvailable)||[];return 0===i.length?null:(0,a.jsx)("div",{className:(0,s.cn)({"text-center overflow-hidden w-full px-4 truncate text-gray-700 text-sm":!0,[`${e}`]:e}),"data-module":x.gE.Sizes,...r,children:i.map((e,t)=>(0,a.jsx)("span",{className:"px-2",children:e.title},`size-${e.title}-${t}`))})},[x.DR.Video]:({className:e,...t})=>(0,a.jsx)(D.I,{icon:"/images/icons/play.svg",className:(0,s.cn)({"w-[--product-card__video__size] h-[--product-card__video__size]":!0,[`${e}`]:e}),"data-module":x.DR.Video,...t}),[x.DR.BadgesPictureText]:({className:e,item:t,...r})=>{let{settings:i}=(0,c.Pj)(),l=t.badges.filter(e=>e.type===b.r.PICTURE_TEXT),n=v;return i.isOrsay()&&(n=j),i.isGap()&&(n=y),(0,a.jsx)("div",{className:(0,s.cn)({"flex flex-col [align-items:--align-items] gap-2":!0,[`${e}`]:e}),"data-module":x.DR.BadgesPictureText,...r,children:l.map((e,t)=>(0,a.jsx)(n,{badge:e},`${e.type}-${t}`))})},[x.DR.Wishlist]:E,[x.DR.DiscountLabel]:({className:e,item:t,mobileCarousel:r,...i})=>{let{settings:l}=(0,c.Pj)(),{t:n}=(0,P.Bd)(),o=t.hasDifferentPrices?`${n("price_different_up_to")} - `:"- ";return(0,a.jsx)("div",{className:(0,s.cn)({"!mb-12":r,[`${e}`]:e}),"data-module":x.DR.DiscountLabel,...i,children:(0,a.jsx)(w.J,{variant:"danger",size:"sm",children:(0,a.jsx)(N.j,{decimalScale:l.numberFormat?.percentageDecimals||0,value:t.prices.discount?.percentage,prefix:o,suffix:" %"})})})},[x.DR.SaleLabel]:({className:e,mobileCarousel:t,...r})=>{let{t:i}=(0,P.Bd)();return(0,a.jsx)("div",{className:(0,s.cn)({[I().lowerLeft]:!0,"!mb-12":t,[`${e}`]:e}),"data-module":x.DR.SaleLabel,...r,children:(0,a.jsx)(w.J,{variant:"danger",size:"sm",children:i("sale-label")})})},[x.DR.TextLabel]:({item:e,className:t,mobileCarousel:r,...i})=>{let l=e.badges.filter(e=>e.type===b.r.TEXT);return(0,a.jsx)(a.Fragment,{children:l.map((e,l)=>(0,a.jsx)("div",{className:(0,s.cn)({[I().lowerLeft]:!0,"!mb-12":r,[`${t}`]:t}),style:{backgroundColor:e.backgroundColor,color:e.textColor},"data-module":x.DR.TextLabel,...i,children:(0,a.jsx)(w.J,{size:"sm",children:e.title})},`text-label-${e.type}-${l}`))})},[x.zx.BadgesOverPicture]:({item:e,...t})=>e.badges?.length===0?null:(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(f.BadgesOverPicture,{badges:e.badges,variant:"product-card","data-module":x.zx.BadgesOverPicture,...t})}),[x.zx.ColorsCounter]:({className:e,item:t,...r})=>{let{t:i}=(0,P.Bd)();return t.colorsCount?(0,a.jsx)("div",{className:(0,s.cn)({"[font-size:--product-card__data__colors-label__font-size] [color:--product-card__data__colors-label__color]":!0,[`${e}`]:e}),"data-module":x.zx.ColorsCounter,...r,children:(0,a.jsxs)("span",{children:[t.colorsCount," ",i("colorWithCount",{count:t.colorsCount})]})}):null},[x.zx.Title]:({className:e,item:t,...r})=>(0,a.jsx)(R.h,{variant:R.Z.None,heading:3,className:(0,s.cn)({"[font-size:--product-card__data__title__font-size]":!0,[`${e}`]:e}),"data-module":x.zx.Title,...r,children:t.title}),[x.zx.Price]:({className:e,item:t,...r})=>(0,a.jsx)("div",{className:(0,s.cn)({"[font-size:--product-card__data__price__font-size]":!0,[`${e}`]:e}),"data-module":x.zx.Price,...r,children:(0,a.jsx)($.gm,{testId:S.Q.ProductCardVerticalSellingPriceSpan,item:t,prices:void 0,type:void 0,variant:$.b5.ProductCard})}),[x.zx.BadgesUnderPicture]:({item:e,...t})=>(0,a.jsx)(C.BadgesUnderPicture,{badges:e.badges,variant:"product-card",className:"justify-center","data-module":x.zx.BadgesUnderPicture,...t}),[x.DR.BadgesPicture]:({className:e,item:t})=>{let r=t.badges.filter(e=>e.type===b.r.PICTURE);return(0,a.jsx)(a.Fragment,{children:r.map((t,r)=>(0,a.jsx)(l.$,{className:(0,s.cn)({"w-[--product-card__badges-picture__size] h-[--product-card__badges-picture__size]":!0,[`${e}`]:e}),alt:t.title,src:t.picture,width:24,height:24,"data-module":x.DR.BadgesPicture},`${t.type}-${r}`))})}},W=(e,t,r)=>{let{settings:i}
1=(0,c.Pj)(),s=i.productCardVerticalConfig[e],l=!!t.hasVideo,n=!!t.prices?.discount?.percentage,o=(0,_.I)(t.prices);return(0,g.useMemo)(()=>{let e=[];return s.forEach((i,s)=>{let c=Q[i];c&&(i!==x.DR.Video||l)&&(i!==x.DR.DiscountLabel||n)&&(i!==x.DR.SaleLabel||o)&&e.push((0,a.jsx)(c,{item:t,...r},`${String(i)}-${s}`))}),e},[s,t,r,l,n,o])},U=e=>{let{settings:t}=(0,c.Pj)();return t.productCardVerticalConfig[e].some(t=>M[e].includes(t))};var O=r(33908);let A=({isTrue:e,children:t})=>e?(0,a.jsx)(a.Fragment,{children:t}):null,G=({item:e,c:t,onClick:r,iconType:l,isSoldOut:c=!1,index:_,...g})=>{let f=(0,O.O)(e,_),b=()=>{r?.(),f.onClick()};return(0,a.jsxs)("article",{ref:f.ref,"data-code":e.code,className:(0,s.cn)({"group cursor-pointer [container-type:inline-size]":!0,"[&>div>*:not(.preserve-opacity)]:opacity-50":c,[`${t}`]:t}),"data-lb-id":`product/${e.id}`,...g,children:[(0,a.jsxs)(n,{item:e,onClick:b,children:[(0,a.jsx)(A,{isTrue:U(x.aV.TopLeft),children:(0,a.jsx)(o,{children:W(x.aV.TopLeft,e,{iconType:l,mobileCarousel:!1})})}),(0,a.jsx)(A,{isTrue:U(x.aV.TopRight),children:(0,a.jsx)(d,{className:"preserve-opacity",children:W(x.aV.TopRight,e,{iconType:l,mobileCarousel:!1})})}),(0,a.jsx)(A,{isTrue:U(x.aV.BottomLeft),children:(0,a.jsx)(u,{children:W(x.aV.BottomLeft,e,{iconType:l,mobileCarousel:!1})})}),(0,a.jsx)(A,{isTrue:U(x.aV.BottomRight),children:(0,a.jsx)(p,{children:W(x.aV.BottomRight,e,{iconType:l,mobileCarousel:!1})})}),(0,a.jsx)(A,{isTrue:U(x.aV.Drawer),children:(0,a.jsx)(m,{children:W(x.aV.Drawer,e)})})]}),(0,a.jsx)(i.A,{href:e.url,className:(0,s.cn)({"focus-visible:outline-none focus-visible:border-2 focus-visible:border-black":!0,"flex flex-col gap-2":!0,"[padding-inline:--product-card__data__padding-x] [padding-block:--product-card__data__padding-y]":!0,...(0,h.H)({orsay:"text-center"})}),onClick:b,children:W(x.aV.Description,e)})]},e.id)}},44229:(e,t,r)=>{"use strict";r.d(t,{r:()=>i});var a,i=((a={}).OVER_PICTURE="over_picture",a.UNDER_PICTURE="under_picture",a.PICTURE_TEXT="picture_text",a.PICTURE="picture",a.TEXT="text",a)},44557:e=>{e.exports={heartIconWrapper:"ProductCardVertical_heartIconWrapper__WGjQN","is-active":"ProductCardVertical_is-active__A9YeQ",heartIcon:"ProductCardVertical_heartIcon__ElpP9",binIconWrapper:"ProductCardVertical_binIconWrapper__hMyCu",binIcon:"ProductCardVertical_binIcon__CjK_q"}},47754:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var a=r(26514),i=r(89860),s=r(73700),l=r(84775),c=r(80254);let n=({value:e,className:t="",affix:r})=>{let{settings:n}=(0,i.Pj)(),o="number"==typeof e?e:Number(e);if(isNaN(o))return null;let d=o/1.95583,u="€";return"EUR"===n.defaultCurrency&&(d=1.95583*o,u="лв"),(0,a.jsxs)("span",{className:`${t} whitespace-nowrap`,children:[(0,a.jsx)(s.HG,{value:d,"data-testid":c.Q.NumberFormatBGSpan,displayType:"text",thousandSeparator:n.numberFormat?.thousandsSeparator?(0,l.s)(n.numberFormat?.thousandsSeparator):"\xa0",decimalSeparator:n.numberFormat?.decimalSeparator?(0,l.s)(n.numberFormat?.decimalSeparator):",",decimalScale:2,prefix:"(",suffix:`\u00a0${u})`,fixedDecimalScale:!0}),r]})}},49898:(e,t,r)=>{"use strict";r.d(t,{w0:()=>s});let a=[0,.1,.2,.3,.4,.5],i=(({areaRatio:e,dwellMs:t,viewportRatio:r=e,thresholds:i=a})=>{let s=null,l=!1,c=new Map,n=e=>{null!==e.timer&&(clearTimeout(e.timer),e.timer=null)},o=e=>{let t=c.get(e);t&&(n(t),c.delete(e),s?.unobserve(e))},d=(e,r)=>{null!==r.timer||document.hidden||(r.timer=setTimeout(()=>{o(e),r.onVisible()},t))},u=t=>{t.forEach(t=>{let a=c.get(t.target);a&&(a.isVisible=!!t.isIntersecting&&(t.intersectionRatio>=e||t.boundingClientRect.height>window.innerHeight&&t.intersectionRect.height>=window.innerHeight*r),a.isVisible?d(t.target,a):n(a))})},p=()=>{c.forEach((e,t)=>{document.hidden?n(e):e.isVisible&&d(t,e)})};return{observe:(e,t)=>window.IntersectionObserver?(s||(s=new IntersectionObserver(u,{threshold:i})),l||(l=!0,document.addEventListener("visibilitychange",p)),c.set(e,{onVisible:t,timer:null,isVisible:!1}),s.observe(e),()=>o(e)):()=>{}}})({areaRatio:.5,dwellMs:300}),s=(e,t)=>i.observe(e,t)},54170:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BadgesUnderPicture:()=>o});var a=r(26514),i=r(44229),s=r(75406),l=r(89860),c=r(39285);let n=({badgeItem:e,variant:t})=>(0,a.jsx)("span",{className:(0,s.cn)({"font-semibold":!0,...(0,c.H)({base:"uppercase text-sm",orsay:"product-card"===t?"py-1 px-4 [font-size:--product-card__badges-under-picture__font-size]":"py-2 px-4 text-2xs"})}),style:{backgroundColor:e.backgroundColor,color:e.textColor},children:e.title}),o=({badges:e,className:t,variant:r,...c})=>{let{settings:o}=(0,l.Pj)(),d=e?.filter(e=>e.type===i.r.UNDER_PICTURE);return 0===d.length?null:(0,a.jsx)("div",{className:(0,s.cn)({"inline-flex flex-wrap gap-1":o.isOrsay(),[`${t}`]:t}),"data-component":"BadgesUnderPicture",...c,children:d.map((e,t)=>(0,a.jsx)(n,{badgeItem:e,variant:r},`badge-${t}`))})}},63899:e=>{e.exports={label:"Label_label__ol0Xk","label--variant-danger":"Label_label--variant-danger__tIpMy","label--size-xs":"Label_label--size-xs__1MxyQ","label--size-sm":"Label_label--size-sm__r0DWZ"}},70386:(e,t,r)=>{"use strict";r.d(t,{J:()=>c});var a=r(26514),i=r(75406),s=r(63899),l=r.n(s);let c=({className:e,children:t,size:r,variant:s,...c})=>(0,a.jsx)("div",{className:(0,i.cn)({[l().label]:!0,[l()["label--variant-danger"]]:"danger"===s,[l()["label--size-xs"]]:"xs"===r,[l()["label--size-sm"]]:"sm"===r,[`${e}`]:e}),...c,children:t})},78499:(e,t,r)=>{"use strict";r.d(t,{I:()=>s});var a=r(78471),i=r(55047);let s=e=>{let{t}=(0,i.Bd)();return(0,a.k)(t("sale-label"),"sale-label")&&e?.discount===null&&!!e?.displaySaleTranslation}},78618:(e,t,r)=>{"use strict";r.r(t),r.d(t,{BadgesOverPicture:()=>d});var a=r(26514),i=r(44229),s=r(80254),l=r(75406),c=r(89860),n=r(39285),o=r(75834);let d=({badges:e,className:t,variant:r,...d})=>{let{settings:u}
1=(0,c.Pj)(),p=(0,n.H)({base:"text-xs",orsay:"product-card"===r?"[font-size:--product-card__badges-over-picture__font-size]":"text-base"}),m=(0,n.H)({base:"uppercase",gap:"",orsay:""}),x=e?.filter(e=>e.type===i.r.OVER_PICTURE);return 0===x.length?null:(0,a.jsx)("div",{className:(0,l.cn)({...p,[`${t}`]:t}),"data-testid":s.Q.ProductBadgesBellowImageDiv,"data-component":"BadgesOverPicture",...d,children:x?.map((e,t)=>(0,a.jsxs)(o.Fragment,{children:[(0,a.jsx)("span",{className:(0,l.cn)({"font-semibold":!0,...m,"px-1":!!e.backgroundColor}),style:{backgroundColor:e.backgroundColor,color:e.textColor},children:e.title}),t<x.length-1&&(0,a.jsxs)(a.Fragment,{children:[u.isOrsay()&&(0,a.jsx)("span",{className:"bg-gray-400 w-2 h-2 inline-block rounded-full mx-2.5"}),!u.isOrsay()&&(0,a.jsx)("span",{className:"text-neutral-700",children:" • "})]})]},`badge-${t}`))})}},84775:(e,t,r)=>{"use strict";r.d(t,{j:()=>o,s:()=>n});var a=r(26514),i=r(89860),s=r(73700),l=r(75406),c=r(75834);let n=(e="")=>e.replaceAll("&nbsp;","\xa0"),o=({testId:e,value:t,suffix:r,prefix:o,decimalScale:d,className:u,affix:p})=>{let{settings:m}=(0,i.Pj)(),x=(0,c.useMemo)(()=>!("string"==typeof o&&o.startsWith("-")),[o]);return(0,a.jsxs)("div",{className:(0,l.cn)({[`${u}`]:u,"whitespace-nowrap":!0}),children:[(0,a.jsx)(s.HG,{"data-testid":e,value:t,thousandSeparator:m.numberFormat?.thousandsSeparator?n(m.numberFormat?.thousandsSeparator):"\xa0",decimalSeparator:m.numberFormat?.decimalSeparator?n(m.numberFormat?.decimalSeparator):",",decimalScale:null==d?m.numberFormat?.decimals:d,prefix:o,suffix:r?` ${r}`:` ${m.defaultCurrency}`,fixedDecimalScale:!0,displayType:"text",allowNegative:x}),p]})}}}]);

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.