"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[2176],{33947:(n,t,e)=>{e.d(t,{Z:()=>s});var r=e(67294),o=e(71893);function i(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function a(){var n=i(["\n overflow: hidden;\n width: ","px;\n height: ","px;\n border: 1px #f2f2f2 solid;\n position: relative;\n"]);return a=function(){return n},n}function c(){var n=i(["\n display: flex;\n justify-content: center;\n"]);return c=function(){return n},n}var u=o.ZP.div(a(),(function(n){var t=n.width;return t||64}),(function(n){var t=n.height;return t||64})),l=o.ZP.div(c());const s=function(n){var t=n.media,e=n.width,o=n.height,i=n.onClick;return r.createElement(u,{style:{minWidth:"".concat(e||o,"px")},width:e||o,height:o},r.createElement(l,{onClick:function(){return i&&i(t)}},r.createElement("img",{style:{objectFit:"cover"},height:"".concat(o,"px"),width:"".concat(e||o,"px"),src:t.url,alt:t.idResource,loading:"lazy"})))}},13817:(n,t,e)=>{e.d(t,{Z:()=>K});var r=e(67294),o=e(26793),i=e(65739),a=e(71893),c=e(30305),u=e(46229),l=e(42347);function s(n,t){return t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}}))}function f(){var n=s(["\n width: 100%;\n height: 100%;\n & img {\n max-height: calc(100vh - 348px);\n "," {\n max-height: calc(100vh - 256px);\n }\n "," {\n max-height: calc(100vh - 256px);\n }\n }\n position: relative;\n overflow: hidden;\n"]);return f=function(){return n},n}function d(){var n=s(["\n width: 100%;\n display: flex;\n padding: 16px 0px;\n flex-direction: column;\n gap: ",";\n "," {\n flex-direction: row;\n justify-content: space-between;\n gap: 0;\n }\n "," {\n flex-direction: row;\n justify-content: space-between;\n gap: 0;\n }\n"]);return d=function(){return n},n}function h(){var n=s(["\n display: flex;\n gap: ",";\n flex-direction: column;\n align-items: center;\n "," {\n flex-direction: row;\n }\n "," {\n flex-direction: row;\n }\n"]);return h=function(){return n},n}function p(){var n=s(["\n margin-right: ",";\n justify-content: center;\n width: 100%;\n "," {\n width: fit-content;\n }\n "," {\n width: fit-content;\n }\n"]);return p=function(){return n},n}function m(){var n=s(["\n padding-left: ",";\n display: flex;\n gap: 5px;\n"]);return m=function(){return n},n}function v(){var n=s(["\n justify-content: center;\n"]);return v=function(){return n},n}function y(){var n=s(["\n position: absolute;\n left: ",";\n top: calc(50% - 20px);\n z-index: 1;\n &:hover {\n background-color: ",";\n border-color: rgb(204, 204, 204);\n }\n width: 24px;\n height: 24px;\n\n "," {\n width: 48px;\n height: 48px;\n }\n "," {\n width: 48px;\n height: 48px;\n }\n padding: 0;\n display: flex;\n justify-content: center;\n"]);return y=function(){return n},n}function g(){var n=s(["\n position: absolute;\n right: ",";\n top: calc(50% - 20px);\n z-index: 1;\n &:hover {\n background-color: ",";\n border-color: rgb(204, 204, 204);\n }\n width: 24px;\n height: 24px;\n\n "," {\n width: 48px;\n height: 48px;\n }\n "," {\n width: 48px;\n height: 48px;\n }\n padding: 0;\n display: flex;\n justify-content: center;\n"]);return g=function(){return n},n}var b=a.ZP.div(f(),c.B.tabletPortrait,c.B.desktop),w=a.ZP.div(d(),(function(n){return n.theme.spacing.spacing02}),c.B.tabletPortrait,c.B.desktop),x=a.ZP.div(h(),(function(n){return n.theme.spacing.spacing02}),c.B.tabletPortrait,c.B.desktop),E=(0,a.ZP)(u.z)(p(),(function(n){return n.theme.spacing.spacing01}),c.B.tabletPortrait,c.B.desktop),S=a.ZP.span(m(),(function(n){return n.theme.spacing.spacing005})),k=(0,a.ZP)(l.r)(v()),j=(0,a.ZP)(u.z)(y(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.colors.white}),c.B.tabletPortrait,c.B.desktop),A=(0,a.ZP)(u.z)(g(),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.colors.white}),c.B.tabletPortrait,c.B.desktop),_=e(22981),P=e(63742),C=e(28216),O=e(2961),B=e(5205),I=e(16550);function Z(){var n,t,e=(n=["\n position: relative;\n animation: ","\n 0.5s ease 0s 1 normal forwards;\n @keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n }\n @keyframes fadeInRight {\n from {\n opacity: 0;\n right: -100%;\n }\n to {\n opacity: 1;\n right: 0%;\n }\n }\n @keyframes fadeInLeft {\n from {\n opacity: 0;\n left: -100%;\n }\n to {\n opacity: 1;\n left: 0%;\n }\n }\n"],t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}})));return Z=function(){return e},e}var T=a.ZP.img(Z(),(function(n){var t=n.direction;return"left"===t?"fadeInLeft":"right"===t?"fadeInRight":"fadeIn"}));const z=function(n){var t=n.id,e=n.url,o=n.direction;return r.createElement(T,{direction:o,key:t,style:{objectFit:"cover"},src:e,alt:t,width:"100%"})};var M=e(6327),L=e(54461);function D(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1&&r.createElement(j,{secondary:!0,onClick:function(){return W("left"),void Y((function(n){return 0===n?i.length-1:n-1}))},small:!q&&!Q},r.createElement(P.J,{icon:"chevron_left"})),r.createElement(z,{url:V.url,id:V.idResource,direction:K}),i.length>1&&r.createElement(A,{secondary:!0,onClick:function(){return W("right"),void Y((function(n){return n===i.length-1?0:n+1}))},small:!q&&!Q},r.createElement(P.J,{icon:"chevron_right"}))),f&&r.createElement(w,null,r.createElement(k,{onClick:nn,decorated:!0},p("valoration_media.denounce")),r.createElement(x,null,r.createElement(E,{disabled:Z,secondary:!0,onClick:tn},r.createElement(P.J,{key:"vote_thumbs_up",icon:"vote_thumbs_up",small:!0}),r.createElement(S,{likes:l},r.createElement("span",null,p("valoration_media.useful_vote")),l>0&&r.createElement("span",null," ","(".concat(l,")")))),(s||void 0===s)&&r.createElement(E,{onClick:function(){return function(n){return window.location.href="".concat((0,I.Gn)(M.G6[y],{product:e}),"?valoration=").concat(n)}(u)}},p("valoration_media.view_opinion")))))};function F(){var n,t,e=(n=["\n & > div > div {\n width: fit-content;\n }\n"],t||(t=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(t)}})));return F=function(){return e},e}var N=a.ZP.div(F());function Y(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e0&&r.createElement(J,{slug:t,medias:c,defaultMediaIndex:u||0,idComment:e,amountYes:a,handleClose:h,setToasts:p,showGoTo:s,showButtons:d})))}},43018:(n,t,e)=>{e.d(t,{Z:()=>l});var r=e(67294),o=e(99426);function i(n,t){(null==t||t>n.length)&&(t=n.length);for(var e=0,r=new Array(t);e