"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[397],{51240:(n,e,t)=>{t.d(e,{J:()=>l});var r,o=t(82856),i=t(71893),a=t(30305),u=(t(67294),function(n,e){return n?"width: ".concat(n/e*100,"%"):""}),c=function(n,e){return n?"margin-left: ".concat(n/e*100,"%"):""},l=i.ZP.div(r||(r=(0,o.Z)(["\n display: block;\n margin: 0;\n padding: 0 ",";\n position: relative;\n ",";\n\n /* Media queries for display different layout spacing */\n "," {\n ",";\n ",";\n }\n "," {\n ",";\n ",";\n }\n "," {\n ",";\n ",";\n }\n "," {\n ",";\n ",";\n }\n"])),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.xs?u(n.xs,n.theme.layout.grid.columns):"width: 100%"}),a.B.tabletPortrait,(function(n){return n.sm&&u(n.sm,n.theme.layout.grid.columns)}),(function(n){return n.smOffset&&c(n.smOffset,n.theme.layout.grid.columns)}),a.B.tabletLandscape,(function(n){return n.md?u(n.md,n.theme.layout.grid.columns):""}),(function(n){return n.mdOffset?c(n.mdOffset,n.theme.layout.grid.columns):""}),a.B.desktop,(function(n){return n.lg?u(n.lg,n.theme.layout.grid.columns):""}),(function(n){return n.lgOffset?c(n.lgOffset,n.theme.layout.grid.columns):""}),a.B.desktopLarge,(function(n){return n.xl?u(n.xl,n.theme.layout.grid.columns):""}),(function(n){return n.xlOffset?c(n.xlOffset,n.theme.layout.grid.columns):""}))},98:(n,e,t)=>{var r;t.d(e,{p:()=>r}),function(n){n.REPORT="report",n.FEEDBACK="usefull-feedback",n.REPLY="reply"}(r||(r={}))},90397:(n,e,t)=>{t.d(e,{Z:()=>Qt});var r=t(67294),o=t(26793),i=t(25368);function a(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t a {\n &:not(:last-child) {\n ","\n }\n }\n"]);return gn=function(){return n},n}function hn(){var n=fn(["\n display: inline-flex;\n flex-wrap: ",";\n align-items: center;\n ","\n width: 100%;\n "," {\n display: none;\n }\n & > a {\n &:not(:last-child) {\n ","\n }\n }\n"]);return hn=function(){return n},n}function yn(){var n=fn(["\n margin-right: 0.75rem;\n"]);return yn=function(){return n},n}function vn(){var n=fn(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n font-size: ",";\n"]);return vn=function(){return n},n}function bn(){var n=fn(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n letter-spacing: ",";\n color: ",";\n"]);return bn=function(){return n},n}function En(){var n=fn(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n "," {\n width: 50%;\n }\n"]);return En=function(){return n},n}function wn(){var n=fn(["\n width: fit-content;\n margin-right: ",";\n"]);return wn=function(){return n},n}function Sn(){var n=fn(["\n padding-left: ",";\n display: flex;\n gap: 5px;\n"]);return Sn=function(){return n},n}function On(){var n=fn(["\n flex-direction: column;\n margin-top: 12px;\n "," {\n margin-top: 16px;\n }\n "," {\n flex: 1;\n margin-top: 16px;\n }\n"]);return On=function(){return n},n}function An(){var n=fn(["\n text-decoration: none;\n padding: 0 1rem;\n"]);return An=function(){return n},n}function Pn(){var n=fn(["\n min-height: 1rem;\n border: 1px solid ",";\n ",";\n\n "," {\n ","\n }\n"]);return Pn=function(){return n},n}function kn(){var n=fn(["\n "," {\n display: none;\n }\n"]);return kn=function(){return n},n}function xn(){var n=fn(["\n display: none;\n\n "," {\n display: block;\n white-space: nowrap;\n }\n"]);return xn=function(){return n},n}function Cn(){var n=fn(["\n "," {\n display: none;\n }\n"]);return Cn=function(){return n},n}function jn(){var n=fn(["\n display: none;\n\n "," {\n display: block;\n white-space: nowrap;\n }\n"]);return jn=function(){return n},n}function In(){var n=fn(["\n display: flex;\n width: 100%;\n margin-bottom: ",";\n\n & > a {\n padding: 0;\n }\n"]);return In=function(){return n},n}function Rn(){var n=fn(["\n display: block;\n width: 100%;\n"]);return Rn=function(){return n},n}var Zn=l.ZP.div(mn(),y.B.tabletPortrait,(function(n){return n.isMoreUseful?"column":"row"})),Bn=(0,l.iv)(pn()),Tn=(0,l.iv)(dn(),(function(n){return"1px solid ".concat(n.theme.colors.environment.percent20)})),zn=l.ZP.div(gn(),(function(n){return n.noWrap?"nowrap":"wrap"}),(function(n){return n.isColumn&&Bn}),(function(n){return n.hasSeparator&&Tn})),_n=(l.ZP.div(hn(),(function(n){return n.noWrap?"nowrap":"wrap"}),(function(n){return n.isColumn&&Bn}),y.B.desktop,(function(n){return n.hasSeparator&&Tn})),l.ZP.div(yn()),l.ZP.span(vn(),(function(n){return n.theme.typography.body2Bold.size}),(function(n){return n.theme.typography.body2Bold.weight}),(function(n){return n.theme.typography.body2Bold.lineHeight}),(function(n){return n.theme.colors.black})),l.ZP.div(bn(),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.letter}),(function(n){return n.theme.colors.environment.percent40})),l.ZP.div(En(),y.B.desktop)),Un=(0,l.ZP)(m.z)(wn(),(function(n){return n.theme.spacing.spacing01})),Nn=l.ZP.span(Sn(),(function(n){return n.theme.spacing.spacing005})),$n=l.ZP.div(On(),y.B.tabletPortrait,y.B.desktop),Ln=l.ZP.a(An()),Fn=l.ZP.div(Pn(),(function(n){return n.theme.colors.environment.percent20}),(function(n){var e=n.theme.spacing;return n.margin&&"margin: 0 ".concat(e.spacing01,";")}),y.B.desktop,(function(n){return n.hiddenDesktop&&"display: none;"})),Mn=l.ZP.span(kn(),y.B.tabletPortrait),qn=l.ZP.span(xn(),y.B.tabletPortrait),Dn=l.ZP.div(Cn(),y.B.tabletPortrait),Jn=l.ZP.div(jn(),y.B.tabletPortrait),Hn=l.ZP.div(In(),(function(n){return n.theme.spacing.spacing01})),Kn=l.ZP.div(Rn()),Vn=t(51240),Xn=t(68607);function Qn(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function Wn(){var n=Qn(["\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n"]);return Wn=function(){return n},n}function Yn(){var n=Qn(["\n border-right: ",";\n"]);return Yn=function(){return n},n}function Gn(){var n=Qn(["\n display: inline-flex;\n flex-wrap: ",";\n align-items: center;\n ","\n width: 100%;\n\n & > a {\n &:not(:last-child) {\n ","\n }\n }\n"]);return Gn=function(){return n},n}function ne(){var n=Qn(["\n width: 100%;\n margin-bottom: 0;\n"]);return ne=function(){return n},n}function ee(){var n=Qn(["\n margin-bottom: ",";\n margin-top: ",";\n"]);return ee=function(){return n},n}var te=(0,l.iv)(Wn()),re=(0,l.iv)(Yn(),(function(n){return"1px solid ".concat(n.theme.colors.environment.percent20)})),oe=l.ZP.div(Gn(),(function(n){return n.noWrap?"nowrap":"wrap"}),(function(n){return n.isColumn&&te}),(function(n){return n.hasSeparator&&re})),ie=(0,l.ZP)(Xn.N)(ne()),ae=(0,l.ZP)(oe)(ee(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing02}));function ue(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t a {\n &:not(:last-child) {\n ","\n }\n }\n"]);return we=function(){return n},n}function Se(){var n=he(["\n display: flex;\n flex-direction: column;\n"]);return Se=function(){return n},n}function Oe(){var n=he(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n letter-spacing: ",";\n color: ",";\n"]);return Oe=function(){return n},n}function Ae(){var n=he(["\n display: flex;\n width: 100%;\n\n & > a {\n padding: ",";\n margin-top: ",";\n }\n"]);return Ae=function(){return n},n}function Pe(){var n=he(["\n & > span {\n margin-right: ",";\n font-weight: ",";\n\n &::before {\n content: '@';\n }\n }\n"]);return Pe=function(){return n},n}var ke=l.ZP.div(ye(),(function(n){return n.theme.colors.environment.percent05}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.isNestedReply?0:n.theme.spacing.spacing02}),(function(n){return n.isNestedReply&&{paddingTop:n.theme.spacing.spacing02,paddingBottom:n.theme.spacing.spacing02}}),(function(n){return n.theme.spacing.spacing02}),y.B.desktop),xe=l.ZP.div(ve(),(function(n){return n.theme.spacing.spacing01})),Ce=l.ZP.span(be(),(function(n){return n.theme.typography.body2Bold.size}),(function(n){return n.theme.typography.body2Bold.weight}),(function(n){return n.theme.typography.body2Bold.lineHeight}),(function(n){return n.theme.colors.black})),je=(0,l.iv)(Ee(),(function(n){return"1px solid ".concat(n.theme.colors.environment.percent20)})),Ie=l.ZP.div(we(),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.hasSeparator&&je})),Re=l.ZP.div(Se()),Ze=l.ZP.div(Oe(),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.letter}),(function(n){return n.theme.colors.environment.percent40})),Be=l.ZP.div(Ae(),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02})),Te=l.ZP.p(Pe(),(function(n){return n.theme.spacing.spacing005}),(function(n){return n.theme.typography.body2Bold.weight})),ze=t(33407),_e=t(35857);function Ue(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&r.createElement(xe,null,r.createElement(_e.s,{marginTop:w.spacing.spacing005,idComment:I,badges:e||[],userBadges:null===t||void 0===t?void 0:t.reduce((function(n,e){return e.idUser===(A||P)?$e(n).concat([e.badgeLevel]):n}),[]),widthIcon:16,heightIcon:16})))),r.createElement(Ie,null,r.createElement(Ze,null,fe()(k).fromNow())),r.createElement(Ie,null,r.createElement(Te,null,r.createElement("span",{"data-testid":"response-parent-nick"},Z||s)," ",x)),r.createElement(Ie,{hasSeparator:!0},void 0!==B&&r.createElement(Un,{secondary:!0,onClick:function(){return L(I,!0)}},r.createElement(v.J,{key:"vote_thumbs_up",icon:"vote_thumbs_up",small:!0}),r.createElement(Nn,{likes:B||0},r.createElement(Dn,null,"".concat(E("".concat(b,".useful")))),r.createElement(Jn,null,"".concat(E("".concat(b,".usefulOpinion")))),Number.isInteger(B)&&B>0&&r.createElement("span",{"data-testid":"value-rating"}," ","(".concat(B,")")))),r.createElement(Ln,{role:"button",onClick:function(){d?$(!N):g&&g("comment-".concat(b))}},E("".concat(b,".comment"))),r.createElement(Ln,{role:"button",onClick:function(){return F()}},E("".concat(b,".report")))),r.createElement(le,{nick:a.user.nick,openReply:N,closeReply:$,handleAddReply:function(n){p({isComment:!0,commentValue:n.commentValue,replyCommentId:u?c:I,parentCommentId:I}),$(!N)},translationKey:b}),R&&(null===R||void 0===R?void 0:R.length)>0&&r.createElement(Be,null,r.createElement(Ln,{onClick:function(){_(!z)}},E("".concat(b,z?".hide_responses":".show_more_responses")))),z&&(null===R||void 0===R?void 0:R.map((function(n){return r.createElement(Fe,{badges:e,usersBadges:t,type:i,key:"nested-reply-".concat(n.idComment),parentNick:O,isNestedReply:!0,reportFunction:F,response:n,usefulFunction:function(n){return L(n,!0)},parentCommentId:I,setCookieAndLogin:g,isUserLogged:d,handleAddReply:p,translationKey:b})}))))},Me=t(98),qe=t(82277),De=t(97291),Je=t(98550);function He(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0?a:"Anónimo";return r.createElement(De.kI,null,r.createElement(De.X2,null,r.createElement(De.JX,null,r.createElement(ze.q,{username:l})),r.createElement(De.JX,null,r.createElement(De.Ly,null,l))),r.createElement(De.X2,null,r.createElement(_e.s,{idComment:c,badges:e,userBadges:t})),r.createElement(De.X2,null,r.createElement(De.JX,null,r.createElement(De.Ej,null,fe()(u).format(Je.Th))),i==an.$.VALORATIONS&&r.createElement(Ve,{comment:o})))},Qe=t(3323);function We(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function Ye(){var n=We(["\n flex-direction: column;\n align-items: flex-start;\n justify-content: center;\n"]);return Ye=function(){return n},n}function Ge(){var n=We(["\n border-right: ",";\n"]);return Ge=function(){return n},n}function nt(){var n=We(["\n margin-right: 0.75rem;\n"]);return nt=function(){return n},n}function et(){var n=We(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n letter-spacing: ",";\n word-break: break-word;\n white-space: pre-wrap;\n"]);return et=function(){return n},n}function tt(){var n=We(["\n display: inline-flex;\n flex-wrap: ",";\n align-items: center;\n ","\n width: 100%;\n\n & > a {\n &:not(:last-child) {\n ","\n }\n }\n"]);return tt=function(){return n},n}function rt(){var n=We(["\n width: 5.625rem;\n"]);return rt=function(){return n},n}var ot=(0,l.iv)(Ye()),it=(0,l.iv)(Ge(),(function(n){return"1px solid ".concat(n.theme.colors.environment.percent20)})),at=l.ZP.div(nt()),ut=l.ZP.p(et(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.typography.body2Regular.letter})),ct=l.ZP.div(tt(),(function(n){return n.noWrap?"nowrap":"wrap"}),(function(n){return n.isColumn&&ot}),(function(n){return n.hasSeparator&&it})),lt=(0,l.ZP)(Qe.i)(rt()),st=t(17484),ft=t(22169),mt=function(n){var e=n.slug,t=n.comment,o=n.queryComment,i=(0,l.Fg)(),a=t.idComment,u=t.text,c=t.yes,s=t.advantages,f=t.disadvantages,m=t.media,p=t.valoration;return r.createElement(r.Fragment,null,r.createElement(ct,{key:a,style:{marginBottom:"1rem"}},r.createElement(at,null,r.createElement(lt,{"data-testid":"rating",rating:p,type:2,fill:i.colors.warning.main})),r.createElement(at,null)),r.createElement(ct,{style:{marginBottom:"1rem"}},r.createElement(ut,null,u)),r.createElement(ct,{"data-testid":"pros-cons",isColumn:!0,style:{marginBottom:"1rem",gap:"1rem"}},s&&r.createElement(st.c,{type:st.$.PROS,text:s}),f&&r.createElement(st.c,{type:st.$.CONS,text:f})),m&&m.length>0&&r.createElement(ct,{style:{marginBottom:"1rem"}},r.createElement(ft.Z,{slug:e,medias:m,idComment:a,amountYes:c,showGoTo:!(null===o||void 0===o?void 0:o.commentId)})))};function pt(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function dt(){var n=pt(["\n width: 4rem;\n height: 4rem;\n"]);return dt=function(){return n},n}function gt(){var n=pt(["\n display: flex;\n flex-direction: column;\n"]);return gt=function(){return n},n}function ht(){var n=pt(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n cursor: pointer;\n text-decoration: underline;\n"]);return ht=function(){return n},n}function yt(){var n=pt(["\n font-weight: ",";\n font-size: ",";\n line-height: ",";\n letter-spacing: ",";\n color: ",";\n"]);return yt=function(){return n},n}function vt(){var n=pt(["\n font-weight: 700;\n font-size: ",";\n line-height: ",";\n margin-bottom: ",";\n"]);return vt=function(){return n},n}function bt(){var n=pt(["\n display: flex;\n margin-bottom: ",";\n gap: ",";\n"]);return bt=function(){return n},n}function Et(){var n=pt(["\n display: flex;\n margin-bottom: ",";\n gap: ",";\n"]);return Et=function(){return n},n}var wt=l.ZP.img(dt()),St=l.ZP.div(gt()),Ot=l.ZP.span(ht(),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.spacing.spacing01})),At=l.ZP.span(yt(),(function(n){return n.theme.typography.captionRegular.weight}),(function(n){return n.theme.typography.captionRegular.size}),(function(n){return n.theme.typography.captionRegular.lineHeight}),(function(n){return n.theme.typography.captionRegular.letter}),(function(n){return n.theme.colors.environment.percent40})),Pt=l.ZP.p(vt(),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.body1Regular.lineHeight}),(function(n){return n.theme.spacing.spacing02})),kt=l.ZP.div(bt(),(function(n){return n.theme.spacing.spacing05}),(function(n){return n.theme.spacing.spacing01})),xt=l.ZP.div(Et(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing01}));function Ct(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);tn.length)&&(e=n.length);for(var t=0,r=new Array(e);tn.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]h)}),[A]);var pn=function(){var n=zt((function(n,e){return qt(this,(function(t){switch(t.label){case 0:return T.email?[4,on(n,e)]:[3,2];case 1:return t.sent(),[3,3];case 2:rn("provide-usefull-".concat(P,"-feedback"),n.toString()),t.label=3;case 3:return[2]}}))}));return function(e,t){return n.apply(this,arguments)}}(),dn=function(){var n=zt((function(n){return qt(this,(function(e){switch(e.label){case 0:return T.email?[4,fn(n)]:[3,2];case 1:return e.sent(),[3,3];case 2:rn("report-".concat(P,"-feedback"),n.toString()),e.label=3;case 3:return[2]}}))}));return function(e){return n.apply(this,arguments)}}(),gn=function(){H(!J),g&&g(!J)},hn=function(){var n=zt((function(n){var e,t,r,o,i,a;return qt(this,(function(u){switch(u.label){case 0:return e=n.commentValue,t=n.parentCommentId,r=n.replyCommentId,o=n.isComment,q(!0),(null===l||void 0===l||null===(i=l.article)||void 0===i?void 0:i.idArticle)?[4,p({text:e,idArticle:l.article.idArticle,email:T.email,nick:T.nick,idComment:S,parentCommentId:t,replyCommentId:r,isComment:o,language:w})]:[2];case 1:return a=u.sent().data,Z.delete("goTo"),Z.delete("openReply"),x.replace({search:Z.toString()}),q(!1),X(!1),d({status:null===a||void 0===a?void 0:a.status,message:null===a||void 0===a?void 0:a.message,type:Me.p.REPLY,id:B},{limits:null===a||void 0===a?void 0:a.limits,scorable:null===a||void 0===a?void 0:a.scorable}),[2]}}))}));return function(e){return n.apply(this,arguments)}}();return r.createElement(Zn,{id:S.toString(),"data-testid":"item",isMoreUseful:c},r.createElement(Xe,{badges:i,userBadges:a,comment:l,type:E}),r.createElement($n,null,E===an.$.VALORATIONS&&r.createElement(mt,{slug:t,comment:l,queryComment:y}),E===an.$.QUESTIONS&&r.createElement(It,{comment:l,showArticle:b}),r.createElement(_n,null,r.createElement(Dn,null,r.createElement(zn,{hasSeparator:!0,noWrap:!0,style:{marginBottom:"1rem"}},_>-1&&r.createElement(Un,{disabled:M,secondary:!0,onClick:function(){return pn(S)}},r.createElement(v.J,{key:"vote_thumbs_up",icon:"vote_thumbs_up",small:!0}),r.createElement(Nn,{likes:_},r.createElement(Mn,null,"".concat(k("".concat(P,".useful")))),r.createElement(qn,null,"".concat(k("".concat(P,".usefulOpinion")))),_>0&&r.createElement("span",{"data-testid":"value-rating"}," ","(".concat(_,")")))))),r.createElement(zn,{hasSeparator:!0,noWrap:!0,style:{marginBottom:"1rem"}},r.createElement(Jn,null,_>-1&&r.createElement(Un,{disabled:M,secondary:!0,onClick:function(){return pn(S)}},r.createElement(v.J,{key:"vote_thumbs_up",icon:"vote_thumbs_up",small:!0}),r.createElement(Nn,{likes:_},r.createElement(Mn,null,"".concat(k("".concat(P,".useful")))),r.createElement(qn,null,"".concat(k("".concat(P,".usefulOpinion")))),_>0&&r.createElement("span",{"data-testid":"value-rating"}," ","(".concat(_,")"))))),r.createElement(m.z,Ut({},_>-1?{ghost:!0}:{secondary:!0},{onClick:function(){return function(n){T.email?X(!V):rn("comment-".concat(P,"-feedback"),n,!0)}(S.toString())}}),k("".concat(P,".comment"))),r.createElement(Fn,{margin:!0}),r.createElement(m.z,{ghost:!0,onClick:function(){return dn(S)}},k("".concat(P,".report"))))),r.createElement(le,{nick:O,openReply:V,closeReply:X,handleAddReply:hn,translationKey:P}),W.length>0&&I!==S.toString()&&r.createElement(Hn,null,r.createElement(un.r,{"data-testid":"toggle-responses",onClick:gn},J?k("".concat(P,".hide_responses")):k("".concat(P,".show_responses"),{text:A.length}))),J&&r.createElement(Kn,{"data-testid":"responses"},W.filter((function(n){var e;if(!j||j===n.idComment.toString())return!0;var t=null===n||void 0===n||null===(e=n.responses)||void 0===e?void 0:e.map((function(n){return n.idComment.toString()}));return null===t||void 0===t?void 0:t.includes(j)})).map((function(n){return r.createElement(Fe,{badges:i,usersBadges:u,type:E,response:n,parentCommentId:S,parentNick:O,reportFunction:dn,usefulFunction:function(n,e){return pn(n,e)},handleAddReply:hn,key:"reply-".concat(n.idComment),isUserLogged:!!T.email,setCookieAndLogin:rn,isExpandedResponsesInitialState:!(I!==S.toString()||!j),translationKey:P})})),nn&&I!==S.toString()&&r.createElement(un.r,{onClick:function(){var n=mn(A,h,$);Y(Ft(W).concat(Ft(n))),en(A.length/h>$),L($+1)}},k("".concat(P,".show_more_responses")))),!nn&&J&&A.length>h&&I!==S.toString()&&r.createElement(Hn,null,r.createElement(un.r,{"data-testid":"toggle-responses",onClick:gn},k("".concat(P,".hide_responses"))))))};function Jt(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{var r;t.d(e,{$:()=>r}),function(n){n[n.QUESTIONS=0]="QUESTIONS",n[n.VALORATIONS=1]="VALORATIONS"}(r||(r={}))}}]); //# sourceMappingURL=397.js.map