"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[4835],{76644:(e,n,r)=>{var t;r.d(n,{Z:()=>t}),function(e){e.IMPRESSION="impression"}(t||(t={}))},84982:(e,n,r)=>{r.r(n),r.d(n,{default:()=>Q});var t=r(93433),i=r(87462),o=r(66992),a=r.n(o),s=r(41539),l=r.n(s),c=r(88674),u=r.n(c),d=r(78783),m=r.n(d),v=r(33948),f=r.n(v),p=r(21249),y=r.n(p),g=r(26699),h=r.n(g),C=r(32023),A=r.n(C),P=r(92222),I=r.n(P),k=r(68309),E=r.n(k),S=r(92087),L=r.n(S),N=r(89554),b=r.n(N),O=r(54747),D=r.n(O),_=r(40561),Z=r.n(_),w=r(91038),q=r.n(w),T=r(67294),B=r(40684),R=r(77410),j=r(77862),x=r(76644),F=r(55285),H=r(98720),K=r(29843),M=(0,B.ZP)({resolved:{},chunkName:function(){return"ProductLink"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!r.m[n]},importAsync:function(){return r.e(4566).then(r.bind(r,14973))},requireAsync:function(e){var n=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return n.resolved[r]=!0,e}))},requireSync:function e(n){var t=this.resolve(n);return r(t)},resolve:function e(){return 14973}}),G=(0,B.ZP)({resolved:{},chunkName:function(){return"CardComponent"},isReady:function(e){var n=this.resolve(e);return!0===this.resolved[n]&&!!r.m[n]},importAsync:function(){return Promise.all([r.e(2478),r.e(8548),r.e(9350)]).then(r.bind(r,83338))},requireAsync:function(e){var n=this,r=this.resolve(e);return this.resolved[r]=!1,this.importAsync(e).then((function(e){return n.resolved[r]=!0,e}))},requireSync:function e(n){var t=this.resolve(n);return r(t)},resolve:function e(){return 83338}}),U=15,Y=function(e){var n=e.cards,r=e.onPageH1,t=e.domain,o=e.typeListing,a=e.queryId,s=e.onClickBuy,l=e.isDesktop,c=e.shouldShowCompare,u=void 0!==c&&c,d=e.cardType,m=e.ads,v=e.campaignTitle,f=e.campaignTitleForLinks,p=e.loading,y=e.flashOffersEnabled;if(p)return J(d);var g=z(n,o,m);return T.createElement(T.Fragment,null,g.map((function(e,n){var c=![j.IL.CATEGORY,j.IL.CAMPAIGNS].includes(o),m={listName:r,loop:n,eccAction:x.Z.IMPRESSION};return T.createElement("div",{key:"".concat(e.id).concat(n)},T.createElement(M,(0,i.Z)({article:e,dataList:!e.adId&&v?"".concat((0,F.mg)(v.toLowerCase())):e.adId?R.ws:c?"search results":m.listName&&(0,F.mg)(m.listName.toLowerCase())||void 0,options:m,href:(0,F.KA)(t,e.slug)},s&&{onClick:function(r){return s({event:r,article:e,loop:n})}},{title:"".concat(e.name).concat(f||""),isAlgoliaLink:c,queryId:a}),T.createElement(G,{name:e.name,offerId:e.offerId,delivery:e.delivery,additionalDeliveryInfo:e.additionalDeliveryInfo,discount:e.discount,familyName:e.familyName,flags:e.flags,id:e.id,images:e.images,initialStock:e.initialStock,originalPrice:e.originalPrice,promotionalPrice:e.promotionalPrice,ratingAvg:e.ratingAvg,ratingCount:e.ratingCount,slug:e.slug,stock:e.stock,title:e.name,adId:e.adId,isDesktop:l,showCompare:u,cardType:d,typeListing:o,amountDiscountCart:e.discountInCart,brandName:e.brandName,isPCC:e.isPCC,mainCategory:e.mainCategory,hideStockBar:e.hideStockBar,variants:null===e||void 0===e?void 0:e.variants,isInPriorityCampaign:null===e||void 0===e?void 0:e.isInPriorityCampaign,topAttributes:null===e||void 0===e?void 0:e.topAttributes,sellerName:null===e||void 0===e?void 0:e.sellerName,expirationDate:y?"":e.campaignPromotionExpirationDate,recommendedPrice:e.recommendedPrice,bestPrice:e.bestPrice})))})))},z=function(e,n,r){if(null!==r&&void 0!==r&&r.length&&null!==e&&void 0!==e&&e.length){var i=(0,t.Z)(e);return r.forEach((function(e,r){var t=K.d7[n];!t||t&&t.length{r.d(n,{Z:()=>i});var t=r(63366);function i(e,n){if(null==e)return{};var r,i,o=(0,t.Z)(e,n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}}}]); //# sourceMappingURL=CardsList.js.map