"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[61667],{13150:(e,n,t)=>{t.r(n),t.d(n,{default:()=>X});t(47941),t(82526),t(57327),t(38880),t(89554),t(54747),t(49337),t(33321),t(69070);var r,i,o,a=t(29439),l=t(4942),s=(t(92222),t(21249),t(67294)),c=t(28225),u=t(30168),d=t(71893),p=t(51062),h=t(30305),g=t(42347),f=d.ZP.div(r||(r=(0,u.Z)(["\n display: flex;\n flex-direction: column;\n flex-basis: 100%;\n margin-top: ",";\n"])),(function(e){return e.theme.spacing.spacing06})),m=d.ZP.h3(i||(i=(0,u.Z)(["\n ",";\n "," {\n margin-bottom: ",";\n }\n"])),p.g.header.h5,h.B.desktop,(function(e){return e.theme.spacing.spacing03})),O=(0,d.ZP)(g.r)(o||(o=(0,u.Z)(["\n width: 0;\n height: 0;\n overflow: hidden;\n"]))),v=t(39826),E=t(42631),y=t(39306),P=t(78585),_=t(15861),b=t(64687),C=t.n(b),R=t(25272),x=t(64815),D=t(18950),j=t(49954),Z=t(86706),S=t(75826),L=t(21914),T=t(21055),A=t(12055),I=t(66260);function w(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}function N(e){for(var n=1;n0,Oe=u.length>0,ve=o.length>5,Ee=o.length+u.length>=10,ye=0===o.length&&0===u.length;return(0,$.jsxs)($.Fragment,{children:[(0,$.jsxs)(f,{children:[(0,$.jsx)(m,{children:ne("valoration.titleValorationsList_plural")}),ye?(0,$.jsx)($.Fragment,{children:ne("valoration.list_empty")}):(0,$.jsx)(E.Z,{filterBarText:ne("valoration.amount",{text:g+b}),filterBarOptions:[{optionSelected:H||"",label:ne("valoration.sort.title"),options:K.map((function(e){return{name:ne("valoration.sort.".concat(e)),id:e}})),handleChange:pe[y.D.CHANGE_ORDER]}],hasFilterVariants:ve&&!1,handleOpenFilterPanel:pe[y.D.OPEN_CLOSE_FILTER_PANEL]}),me&&(0,$.jsx)(P.o,{itemsProps:p?[]:o.map((function(e){return{slug:w,variants:i,verified:!!e.idPurchase,comment:e,idArticle:h,key:e.id,badges:null!==n&&void 0!==n?n:[],userBadges:null===t||void 0===t?void 0:t[e.user.id],handlers:ge,replyIdToOpen:ce,isTranslationOnDemandActive:!0,handleOpenVerifiedModal:function(){pe[y.D.OPEN_CLOSE_MODAL_VERIFIED]&&pe[y.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}}})),itemType:v._o,headerComponent:(0,$.jsx)($.Fragment,{children:(0,$.jsx)("h4",{children:"".concat(ne("valoration.titleValorationsList.fromCurrentChannel")," ").concat(fe.of(ie.toUpperCase())||"")})}),loading:p,paginationComponent:function(e){var n=e.hasMorePages;return(0,$.jsx)(V.C,{children:n&&!p&&(0,$.jsx)(G.z,{secondary:!0,onClick:function(){window.location.href="".concat(ae,"?channel=").concat(ie)},children:"".concat(ne("valoration.loadMore_currentChannel")," ").concat(fe.of(ie.toUpperCase())||"")})})},options:{pagination:{pageSize:F.I,totalPages:Math.ceil(g/F.I)},styles:{gap:te.spacing.spacing03,margin:"".concat(te.spacing.spacing02," 0")}}}),Oe&&(0,$.jsx)(P.o,{itemsProps:p?[]:u.map((function(e){return{slug:w,variants:i,verified:!!e.idPurchase,comment:e,idArticle:h,key:e.id,badges:null!==n&&void 0!==n?n:[],userBadges:null===t||void 0===t?void 0:t[e.user.id],handlers:ge,replyIdToOpen:ce,isTranslationOnDemandActive:!0,handleOpenVerifiedModal:function(){pe[y.D.OPEN_CLOSE_MODAL_VERIFIED]&&pe[y.D.OPEN_CLOSE_MODAL_VERIFIED](!0)}}})),itemType:v._o,headerComponent:(0,$.jsx)("h4",{children:ne("valoration.titleValorationsList.fromOthersChannels")}),loading:p,paginationComponent:function(e){var n=e.hasMorePages;return(0,$.jsx)(V.C,{children:n&&!p&&(0,$.jsx)(G.z,{secondary:!0,onClick:function(){window.location.href=ae},children:ne("valoration.loadMore_allChannels")})})},options:{pagination:{pageSize:F.I,totalPages:Math.ceil(b/F.I)},styles:{gap:te.spacing.spacing03,margin:"".concat(te.spacing.spacing02," 0")}}})]}),Ee&&(0,$.jsx)(O,{href:(0,z.K)(re,ae),text:ne("valoration.loadMore")}),(0,$.jsx)(B._,{onClose:function(){return pe[y.D.OPEN_CLOSE_MODAL_VERIFIED]&&pe[y.D.OPEN_CLOSE_MODAL_VERIFIED](!1)},visible:!!X}),(0,$.jsx)(v.hR,{onClose:function(){return pe[y.D.OPEN_CLOSE_FILTER_PANEL]&&pe[y.D.OPEN_CLOSE_FILTER_PANEL](!1)},visible:!!q,variants:r,selectedChannel:W,selectedVariant:Q,handleApplyFilters:function(e){var n=e.channel,t=e.variant;window.location.href="".concat(ae,"?channel=").concat(n,"&variant=").concat(t)}})]})};const X=function(e){return(0,$.jsx)(H.Z,{children:(0,$.jsx)(J,Y({},e))})}},39306:(e,n,t)=>{var r;t.d(n,{D:()=>r}),function(e){e.APPLY_VALORATIONS_FILTERS="onApplyValorationsFilters",e.CHANGE_ORDER="onChangeOrder",e.NEXT_PAGE="onNextPage",e.ADD_TO_CART="onAddToCart",e.ADD_FEEDBACK="onAddFeedback",e.REMOVE_TOAST="onRemoveToast",e.OPEN_CLOSE_MODAL_VERIFIED="onOpenCloseModalVerified",e.OPEN_CLOSE_FILTER_PANEL="onOpenCloseFilterPanel",e.REMOVE_CHANNEL_FILTER="onRemoveChannelFilter",e.REMOVE_VARIANT_FILTER="onRemoveVariantFilter"}(r||(r={}))},42631:(e,n,t)=>{t.d(n,{Z:()=>s});var r=t(29439),i=(t(21249),t(83710),t(41539),t(39714),t(28225)),o=t(67141),a=t(63742),l=t(85893);const s=function(e){var n=e.filterBarText,t=e.filterBarOptions,s=e.hasFilterVariants,c=e.handleOpenFilterPanel,u=(0,i.$G)(),d=(0,r.Z)(u,1)[0];return(0,l.jsxs)(o.xr,{children:[(0,l.jsxs)(o.yR,{children:[(0,l.jsxs)(o.$G,{children:[d("cart.total")," "]}),(0,l.jsx)(o.xv,{children:n})]}),(0,l.jsxs)(o.y1,{className:"comment-list-filters-container",children:[s&&(0,l.jsx)(o.CJ,{children:(0,l.jsxs)(o.Sn,{onClick:function(){return c&&c(!0)},secondary:!0,children:[(0,l.jsx)(a.J,{icon:"settings",right:!0}),d("valoration.filter.title")]})}),t.length&&t.map((function(e,n){var r=e.optionSelected,i=e.label,a=e.handleChange,s=e.options,c=e.id;return(0,l.jsx)(o.W$,{id:c,zIndex:t.length-n,defaultValue:r,label:i,small:!0,selectId:Math.random().toString(),handleChange:a,options:s},i)}))]})]})}},67141:(e,n,t)=>{t.d(n,{$G:()=>y,CJ:()=>b,Sn:()=>C,W$:()=>O,xr:()=>v,xv:()=>P,y1:()=>_,yR:()=>E});var r,i,o,a,l,s,c,u,d,p=t(30168),h=t(71893),g=t(36717),f=t(30305),m=t(46229),O=(h.ZP.h2(r||(r=(0,p.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n margin-bottom: ",";\n"])),(function(e){return e.theme.typography.header.h4.size}),(function(e){return e.theme.typography.header.h4.weight}),(function(e){return e.theme.typography.header.h4.lineHeight}),(function(e){return e.marginBottom?e.theme.spacing.spacing03:e.theme.spacing.spacing02})),(0,h.ZP)(g.m)(i||(i=(0,p.Z)(["\n z-index: ",";\n width: 100%;\n\n "," {\n width: 12.25rem;\n }\n"])),(function(e){return e.zIndex}),f.B.tabletPortrait)),v=h.ZP.div(o||(o=(0,p.Z)(["\n display: flex;\n border-bottom: solid 1px ",";\n flex-direction: column;\n\n "," {\n flex-direction: row;\n justify-content: space-between;\n align-items: flex-end;\n }\n"])),(function(e){return e.theme.colors.environment.percent20}),f.B.tabletPortrait),E=h.ZP.div(a||(a=(0,p.Z)(["\n display: flex;\n margin-bottom: 28px;\n\n "," {\n flex-direction: column;\n }\n"])),f.B.tabletPortrait),y=h.ZP.span(l||(l=(0,p.Z)(["\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n\n "," {\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n color: ",";\n }\n"])),(function(e){return e.theme.typography.body2Regular.size}),(function(e){return e.theme.typography.body2Regular.letter}),(function(e){return e.theme.typography.body2Regular.weight}),(function(e){return e.theme.typography.body2Regular.lineHeight}),f.B.tabletPortrait,(function(e){return e.theme.typography.captionRegular.size}),(function(e){return e.theme.typography.captionRegular.letter}),(function(e){return e.theme.typography.captionRegular.weight}),(function(e){return e.theme.typography.captionRegular.lineHeight}),(function(e){return e.theme.colors.environment.percent40})),P=h.ZP.span(s||(s=(0,p.Z)(["\n font-size: ",";\n font-style: ",";\n font-weight: ",";\n line-height: ",";\n"])),(function(e){return e.theme.typography.body2Regular.size}),(function(e){return e.theme.typography.body2Regular.letter}),(function(e){return e.theme.typography.body2Regular.weight}),(function(e){return e.theme.typography.body2Regular.lineHeight})),_=h.ZP.div(c||(c=(0,p.Z)(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: row;\n gap: ",";\n }\n"])),f.B.tabletPortrait,(function(e){return e.theme.spacing.spacing02})),b=h.ZP.div(u||(u=(0,p.Z)(["\n margin: "," 0;\n"])),(function(e){return e.theme.spacing.spacing01})),C=(0,h.ZP)(m.z)(d||(d=(0,p.Z)(["\n height: 2.725rem;\n width: 100%;\n justify-content: center;\n"])))},16695:(e,n,t)=>{t.d(n,{_:()=>d});var r=t(29439),i=(t(67294),t(28225)),o=t(65739),a=t(95703),l={es_ES:a.Z.SUPPORT_CENTER_OPINIONS,fr_FR:a.Z.SUPPORT_CENTER_OPINIONS_FR,it_IT:a.Z.SUPPORT_CENTER_OPINIONS_IT,pt_PT:a.Z.SUPPORT_CENTER_OPINIONS_PT},s=t(86706),c=t(75826),u=t(85893),d=function(e){var n=e.onClose,t=e.visible,d=(0,i.$G)(),p=(0,r.Z)(d,1)[0],h=(0,s.v9)(c.lE);return(0,u.jsx)(o.u,{title:p("opinion.verified.title"),visible:t,actionButtons:[{action:function(){window.location.href=l[h]||a.Z.SUPPORT_CENTER_OPINIONS},displayText:p("opinion.verified.moreInfo")},{action:n,displayText:p("opinion.verified.close_modal"),secondary:!0}],onCancel:n,size:"medium",children:p("opinion.verified.text")})}},49954:(e,n,t)=>{t.d(n,{gk:()=>a,iU:()=>o});var r,i=t(4942),o=16,a=16;r={},(0,i.Z)(r,"null","refurbished"),(0,i.Z)(r,"like-new","refurbished-type-a"),(0,i.Z)(r,"seminew","refurbished-type-b"),(0,i.Z)(r,"functional","refurbished-type-c")},36717:(e,n,t)=>{t.d(n,{m:()=>f});var r,i=t(96891),o=t(90542),a=t(39780),l=t(67294),s=t(7898),c=t(7730),u=t(35440),d=t(82856),p=t(71893).ZP.div(r||(r=(0,d.Z)(["\n margin: "," 0;\n position: relative;\n"])),(function(e){return e.theme.spacing.spacing01})),h=["assistiveText","autoFocus","defaultValue","disabled","handleBlur","handleChange","isRequired","label","onSubmitForm","options","placeholder","selectId","small","smallSelectTextOnly","underline","ghost","status","value","right"];function g(e,n){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);n&&(r=r.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),t.push.apply(t,r)}return t}var f=function(e){var n=e.assistiveText,t=e.autoFocus,r=e.defaultValue,d=e.disabled,f=e.handleBlur,m=e.handleChange,O=e.isRequired,v=e.label,E=e.onSubmitForm,y=e.options,P=e.placeholder,_=e.selectId,b=e.small,C=e.smallSelectTextOnly,R=e.underline,x=e.ghost,D=e.status,j=e.value,Z=e.right,S=(0,a.Z)(e,h),L=(0,l.useState)(!1),T=(0,o.Z)(L,2),A=T[0],I=T[1];return l.createElement(p,function(e){for(var n=1;n