"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6703],{3377:function(e,r,t){t.d(r,{B:function(){return x}});var o=t(95235),n=t(82269),i=t(2784),c=t(13980),a=t.n(c),l=t(91383),s=t(7307),d=t(80692),f=t(4215),u=t(52322);const g=["as","text","hiddenText","href","color","icon","iconColor","renderContent","renderBeforeContent","renderAfterContent","children","className"];function p(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);r&&(o=o.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,o)}return t}function m(e){for(var r=1;r{let{iconColor:r}=e;return r&&(0,s.css)(["--icon-color:",";"],(0,f.b)(r))}),(e=>{let{$color:r}=e;return"black"===r?(0,s.css)(["--bg-color:#000;--text-color:#fff;--hover-bg-color:#ccc;--hover-text-color:#000;"]):(0,s.css)(["--bg-color:#ccc;--text-color:#000;--hover-bg-color:#000;--hover-text-color:#fff;"])})),b=s.default.span.withConfig({componentId:"pmp-module__sc-1dwtk0t-1"})(["align-items:center;background-color:var(--bg-color);display:flex;justify-content:center;line-height:1;padding:0.6em 0.8em;text-transform:uppercase;transition:background-color 0.2s ease;",":hover &{background-color:var(--hover-bg-color);}"],h),v=(0,i.forwardRef)(((e,r)=>{let{as:t,text:o,hiddenText:c,href:a,color:s,icon:d,iconColor:f,renderContent:p,renderBeforeContent:v,renderAfterContent:x,children:y,className:O}=e,j=(0,n.Z)(e,g);const w=(0,i.useRef)(),C=r||w;return(0,u.jsxs)(h,m(m({className:O,ref:C,as:a?"a":t,href:a,$color:s,iconColor:f},j),{},{children:[v&&v({text:o,hiddenText:c}),p?p({text:o,hiddenText:c}):(0,u.jsxs)(b,{children:[y,(0,u.jsx)("span",{"aria-hidden":c?"true":null,children:o}),c&&(0,u.jsx)(l.S,{children:c})]}),x&&x({text:o,hiddenText:c})]}))}));v.displayName="Button",v.defaultProps={as:"button"},v.propTypes={as:a().oneOf(["button","a","span","div"]),text:a().string.isRequired,hiddenText:a().string,color:a().string,icon:a().string,iconColor:a().string,href:a().string,renderContent:a().func,renderBeforeContent:a().func,renderAfterContent:a().func,children:a().oneOfType([a().node,a().arrayOf(a().node)]),className:a().string};var x=v},46363:function(e,r,t){t.r(r),t.d(r,{default:function(){return o.P}});var o=t(23851);t(97729),t(52322),t(34693),t(2784),t(52049),t(80865),t(84004),t(72692)},49653:function(e,r,t){t.d(r,{m:function(){return c},u:function(){return a}});var o=t(4215),n=t(2784),i={Characters:{es:"Personajes",fr:"Personnages",pt:"Personagens"},"Reduced motion":{es:"Reducir movimiento",fr:"Arr\xeater l\u2019animation",pt:"Movimento reduzido"},"Active gallery item: $i of $t.":{es:"Elemento activo de la galer\xeda: $i de $t.",fr:"Objet de galerie actif : $i sur $t.",pt:"Item ativo da galeria: $i de $t."},"Gallery item":{es:"Elemento de la galer\xeda",fr:"Objet de la galerie",pt:"Item da galeria"},"Next gallery item":{es:"Siguiente art\xedculo de la galer\xeda",fr:"\xc9l\xe9ment suivant de la galerie",pt:"Pr\xf3ximo item da galeria"},"Previous gallery item":{es:"Art\xedculo anterior de la galer\xeda",fr:"\xc9l\xe9ment pr\xe9c\xe9dent de la galerie",pt:"Item anterior da galeria"},"Download demo":{es:"Descargar la versi\xf3n de prueba",fr:"T\xe9l\xe9charger la d\xe9mo",pt:"Baixar vers\xe3o demo"},"Play video":{es:"Reproducir video",fr:"Lire la vid\xe9o",pt:"Reproduzir v\xeddeo"}};function c(e){return(0,o.m)(i,e)}const a=e=>{let{id:r,margin:t=100}=e;(0,n.useEffect)((()=>{if(!r)return;const e=document.querySelector(`#${r}`),o=window.location.hash;if(!e||o!==`#${r}`)return;const n=setTimeout((()=>{e.tabindex=-1,e.focus({preventScroll:!0}),e.removeAttribute("tabindex"),window.scroll(0,e.offsetTop-t)}),500);return()=>{clearTimeout(n)}}),[])}}}]);