"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[8345],{62514:(e,t,r)=>{r.d(t,{S:()=>Y});var n=r(47941),o=r.n(n),i=r(82526),a=r.n(i),c=r(57327),u=r.n(c),l=r(38880),s=r.n(l),f=r(89554),p=r.n(f),d=r(54747),y=r.n(d),b=r(49337),v=r.n(b),m=r(33321),O=r.n(m),g=r(69070),h=r.n(g),P=r(4942),w=r(29439),j=r(66992),S=r.n(j),A=r(41539),I=r.n(A),k=r(88674),E=r.n(k),D=r(78783),x=r.n(D),C=r(33948),B=r.n(C),T=r(83710),U=r.n(T),V=r(39714),N=r.n(V),F=r(79753),M=r.n(F),L=r(67294),R=r(13961),_=r(43398),W=r(26793),$=r(40684),q=r(53174),Q=r(82277);function Z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function G(e){for(var t=1;t{r.d(t,{F2:()=>b,OB:()=>v,_9:()=>y,hD:()=>d});r(47941),r(82526),r(57327),r(38880),r(89554),r(54747),r(49337),r(33321),r(69070);var n=r(4942),o=r(15861),i=r(87757),a=r.n(i),c=r(55285),u=r(54461),l=r(49670),s=r(58846);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function p(e){for(var t=1;t{r.d(t,{RA:()=>u,_9:()=>l,hs:()=>f,v4:()=>s});var n=r(15861),o=r(87757),i=r.n(o),a=r(49670),c=r(58846),u=function(){var e=(0,n.Z)(i().mark((function e(t){var r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.articleId,e.abrupt("return",c.w.serviceGWFetch("/api-v1/show/".concat(r,"/valoration/functional-features"),a.w.GET));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var e=(0,n.Z)(i().mark((function e(t){var r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.idComment,e.abrupt("return",c.w.serviceGWFetch("/api-v1/show/valoration/provide-useful-feedback",a.w.POST,{idComment:r}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),s=function(){var e=(0,n.Z)(i().mark((function e(t){var r;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.idComment,e.abrupt("return",c.w.serviceGWFetch("/api-v1/show/valoration/report",a.w.POST,{idComment:r}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),f=function(){var e=(0,n.Z)(i().mark((function e(t){var r,n,o,u,l,s,f;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.idComment,n=t.idArticle,o=t.nick,u=t.parentCommentId,l=t.replyCommentId,s=t.text,f=t.email,e.abrupt("return",c.w.serviceGWFetch("/api-v1/show/valoration/reply",a.w.POST,{idArticle:n,idComment:r,idCommentReplyParent:u,replyCommentId:l,nick:o,opinion:s,email:f}));case 2:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()},19883:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var n=r(67294),o=r(87378),i=r(85915),a=r(70568),c=r(13961),u=r(43398),l=r(30305),s=r(71893),f=r(97210);function p(){var e,t,r=(e=["\n padding: 1rem 1rem 0.5rem;\n width: 100vw;\n\n "," {\n padding: 1rem 2rem 0.5rem;\n }\n"],t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));return p=function(){return r},r}var d=(0,s.ZP)(f.a)(p(),l.B.tabletPortrait),y=r(28216),b=r(78946),v=r(69847),m=r(34205),O=r(6327);function g(){return g=Object.assign||function(e){for(var t=1;t{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rl});var i={run:function(e){setTimeout(e,0)}},a=function(e,t){return t.get(e)||[]},c=function(e,t){return o(e).concat([t])},u=function(e,t){return e.filter((function(e){return e!==t}))};function l(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=new Map;return{subscribe:function(e,r){return t.set(e,c(a(e,t),r)),function(){t.set(e,u(a(e,t),r))}},publish:function(r){a(r.name,t).forEach((function(t){e.run((function(){return t(r)}))}))}}}},63686:(e,t,r)=>{r.d(t,{GW:()=>u,H3:()=>c,Ut:()=>n,YR:()=>a,o_:()=>i});var n,o=r(23031);!function(e){e.FEATURES="sticky-bar-features",e.OPINIONS="sticky-bar-opinions",e.QUESTIONS_ANSWERS="sticky-bar-questions-answer",e.BUY_BOX="sticky-bar-buy-box"}(n||(n={}));var i=[{icon:"file_new",text:(0,o.t)("productDetail.stickyBar.options.features"),id:n.FEATURES},{icon:"vote_star_filled",text:(0,o.t)("productDetail.stickyBar.options.opinions"),badgeAmount:0,id:n.OPINIONS},{icon:"interface_question_mark",text:(0,o.t)("productDetail.stickyBar.options.questionsAndAnswers"),badgeAmount:0,id:n.QUESTIONS_ANSWERS}],a={inStock:(0,o.t)("productDetail.inStock"),noExactDeliveryDate:(0,o.t)("productDetail.stickyBar.noExactDeliveryDate")},c={BRANDS:[1421],FAMILIES:[1179]},u=["normal","deal","reaconditioned","refurbished"]},40258:(e,t,r)=>{r.d(t,{e:()=>k});var n=r(82277),o=r(6327),i=r(88527),a=r(63686),c=r(23031),u=r(70397);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);rMath.round(E)||V?"PriceBox.click.info":void 0,notAvailable:!x,crossedOutPrice:D&&D>Math.round(E)?{amount:D,type:"PVPR"}:C>E&&{amount:C,type:"PVP"}||void 0,lowestIn30Days:!D&&C>E&&B||void 0,discountBadge:T||void 0,expirationDate:U||void 0});return{reacoDetail:e.defectDetail||"",articleInfo:{articleType:e.type,sinSo:e.sinSo,productId:e.productId,offerId:e.offerId,priceInfo:{originalPrice:e.originalPrice,recommendedPrice:e.recommendedPrice||null}},PriceInfo:{showPVPRInfo:!!e.recommendedPrice&&e.recommendedPrice>Math.round(e.price),showHistoyPrice:e.isWinnerPCC},PanelInfo:{visible:!1,eventName:"PanelInfo.click.close",loading:!1},TitleWithRating:{title:e.name,valoration:null===(u=e.valoration)||void 0===u?void 0:u.avg,opinionsNum:(null===(l=e.valoration)||void 0===l?void 0:l.totalComments)||0,eventName:"TitleWithRating.click.opinions"},RefurbishedPanel:{hidden:"new"===e.condition,status:e.condition.replace("reaconditioned-",""),eventName:"RefurbishedPanel.click.info"},FeaturedAttributes:{hidden:!(null===e||void 0===e?void 0:e.topAttributes),topAttributes:null===e||void 0===e?void 0:e.topAttributes},LabelCampaign:{hidden:!e.prioritaryCampaign,title:(null===t||void 0===t?void 0:t.name)||"",stockBar:{totalUnits:(null===(s=e.prioritaryCampaign)||void 0===s?void 0:s.initialStock)||0,unitsLeft:(null===(f=e.prioritaryCampaign)||void 0===f?void 0:f.stock)||0},colors:{textColor:(null===t||void 0===t||null===(p=t.style)||void 0===p?void 0:p.secondaryColor)||"",bgColor:(null===t||void 0===t||null===(d=t.style)||void 0===d?void 0:d.primaryColor)||""},otherOffersLink:null===t||void 0===t?void 0:t.slug,isDealOfTheDay:!1},Lightbox:{images:[e.mainImage].concat(I(e.secondaryImages)).map((function(t){return A(S({},t),{alt:e.name})})),badges:e.badges.map((function(t){return{path:t.path,alt:e.name}})),flags:e.flags.filter((0,n.AW)(i.W)),eventWishListName:"Lightbox.click.favorite",onWishList:!1},ArticleIdentifiers:{reference:"P/N: ".concat(e.reference),brandName:e.brandName,brandLink:e.brandLink,articleId:e.productId},MarketplaceVendors:A(S({hidden:!(null===e||void 0===e?void 0:e.sellers),winner:S({},(null===(v=e.sellers)||void 0===v?void 0:v.winner)||{name:""},e.isWinnerPCC&&{icon:{icon:"pcc_icon",color:"#FF6000"}})},(null===(m=e.sellers)||void 0===m?void 0:m.otherVendors)&&{otherVendors:S({},null===(O=e.sellers)||void 0===O?void 0:O.otherVendors,(null===(g=e.sellers)||void 0===g||null===(h=g.otherVendors)||void 0===h?void 0:h.offeredBy)&&{offeredBy:A(S({},e.sellers.otherVendors.offeredBy),{icon:{icon:"pcc_icon",color:"#FF6000"}})})}),{eventName:"MarketplaceVendors.click.info"}),Variants:S({hidden:!(null===e||void 0===e?void 0:e.variants)},e.variants&&{variants:e.variants}),BuyBox:{notifyMe:e.notifyMe,id:a.Ut.BUY_BOX,priceBox:N,idArticle:e.productId,efficiencyData:e.efficiencyData&&A(S({},e.efficiencyData),{eventName:"EfficiencyData.click.info"})||void 0,triggerLists:b({financing:e.financing,promotions:e.promotions,extraServices:e.extraServices,insurances:e.insurances,isWinnerPCC:e.isWinnerPCC,delivery:e.delivery,stock:e.stock,articleType:e.type,trademarkId:e.trademarkId,familyId:e.family.id}),eventButtonName:"BuyBox.click.addToCart",eventNotifyMeName:"BuyBox.click.NotifyMe"},StickyBar:{notifyMe:e.notifyMe,options:y({stickyBarOptions:a.o_,totalCommentsQuestionAnswer:e.questionAnswer.totalComments,totalCommentsValorations:e.valoration.totalComments}),product:S({priceBox:N,image:{src:e.mainImage.cdn,alt:e.name},name:e.name},e.deliveryDateStr&&!e.notifyMe&&{shippingMessage:e.deliveryDateStr}),fromScrollBar:a.Ut.FEATURES,addToCart:"StickyBar.click.addToCart",visible:!0},ProductDescription:{description:e.description,id:a.Ut.FEATURES,sectionTitle:(0,c.t)("productDetail.productDescription.sectionTitle")},UsersBadgesState:{idsUsers:[]},ProductRating:{id:a.Ut.OPINIONS,productId:e.productId,totalComments:e.valoration.totalComments,valorationAverage:e.valoration.avg,rating:e.valoration.rating,functionalFeaturesAverages:[]},ProductMostUsefulValoration:{idArticle:e.productId,slug:e.slug,valoration:e.mostUsefulValoration,badges:[],usersBadges:[],listActions:{eventAddToastName:"ProductToasts.action.addToast",eventShowModalVerifiedOpinion:"ProductValorations.action.showModalVerifiedOpinion"},commentActions:{eventProvideUsefulFeedback:"ProductValorations.action.provideUsefulFeedback"}},ProductUsersMedias:{slug:e.slug,medias:e.images.medias,articleName:e.name},ProductValorations:{badges:[],usersBadges:[],valorations:(null===(P=e.valorations)||void 0===P?void 0:P.items)||[],productId:e.productId,valoration:null===(w=e.valoration)||void 0===w?void 0:w.avg,totalComments:(null===(j=e.valoration)||void 0===j?void 0:j.totalValorationsWithText)||0,slug:e.slug,selectedSort:o.wC.BEST,sortOptions:Object.values(o.wC),isVisibleVerifiedModal:!1,listActions:{eventLoading:"ProductValorations.action.loadingList",eventSelectSortOption:"ProductValorations.action.selectSortOption",eventUpdateList:"ProductValorations.action.updateList",eventLoadMoreBadgesByUsersIds:"UsersBadges.action.loadingList",eventAddToastName:"ProductToasts.action.addToast",eventShowModalVerifiedOpinion:"ProductValorations.action.showModalVerifiedOpinion"},commentActions:{eventProvideUsefulFeedback:"ProductValorations.action.provideUsefulFeedback"}},ProductQuestionsAnswers:{id:a.Ut.QUESTIONS_ANSWERS,badges:[],usersBadges:[],comments:e.questionAnswer.comments,productId:e.productId,totalComments:e.questionAnswer.totalComments,selectedSort:"",sortOptions:[],toastActions:{eventAddToastName:"ProductToasts.action.addToast"},listActions:{eventSelectSortOption:"ProductQuestionsAnswers.action.selectSortOption",eventUpdateList:"ProductQuestionsAnswers.action.updateList",eventLoading:"ProductQuestionsAnswers.action.loadingList",eventLoadMoreBadgesByUsersIds:"UsersBadges.action.loadingList"}},PageToasts:{toasts:[],toastActions:{eventRemoveToastName:"ProductToasts.action.removeToast"}},ErrorReport:{className:"cn_banner_placeholder",id:"cn_banner_articledata"},BuyTogetherSmallAdobe:{id:"pcc-main-accesory-at"},BuyTogetherBigAdobe:{id:"pcc-recommender-cross-selling"},SimilarArticlesAdobe:{id:"similar-articles"},CarouselAdobe:{id:"carousel-adobe"},ShareLinks:{hidden:!(null===e||void 0===e?void 0:e.share),share:(null===e||void 0===e?void 0:e.share)||{}},DFPProductDetail:{idArticle:String(e.productId),brand:e.brandName,category:e.family.name}}}},46973:(e,t,r)=>{r.d(t,{Z:()=>A});var n=r(67294),o=r(28216),i=r(54461),a=r(43398),c=r(78946),u=r(14155),l=r(53174),s=r(8218),f=r(15355),p=r(34433),d=r(81766),y=r(65147),b=r(17051),v=r(5205);function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]Math.round(r)?{amount:o,type:"PVPR"}:n>r&&{amount:n,type:"PVP"}||void 0,a={price:r,crossedOutPrice:i,discount:i&&(0,d.f)({originalPrice:i.amount,price:r})};return w(P({},e),{BuyBox:w(P({},e.BuyBox),{priceBox:P({},e.BuyBox.priceBox,a)}),StickyBar:w(P({},e.StickyBar),{product:w(P({},e.StickyBar.product),{priceBox:P({},e.StickyBar.product.priceBox,a)})})})})),D.current.priceAndAvailability=!1}}),[C,e,h,B])}},71987:(e,t,r)=>{r.d(t,{N:()=>yt});var n=r(67294),o=r(13961),i=r(43398),a=r(26793),c=r(29715),u=r(69395),l=r(34433),s=r(7294),f=r(16550),p=r(28216),d=r(82277);function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r1?"productDetail.freeReplacement.year_plural":"productDetail.freeReplacement.year",{year:t});return lt(ut({},e),{PanelInfo:lt(ut({},e.PanelInfo),{visible:!0,title:r("productDetail.freeReplacement.title"),content:n.createElement(Ye.o,{domString:r("productDetail.freeReplacement.panelInfo",{quantity:o})})})})}))}));return function(){o()}}),[e,r,t])}(),(0,n.useEffect)((function(){var t=e.subscribe("PanelInfo.click.close",(function(){return y(dt(pt({},r),{PanelInfo:dt(pt({},r.PanelInfo),{title:void 0,content:void 0,visible:!1})}))}));return function(){t()}}),[e,r,y]),null}}}]); //# sourceMappingURL=ProductDetail-448d780a.js.map