!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9a2a5ab0-cebb-47e2-99ea-233dc7a9a283",e._sentryDebugIdIdentifier="sentry-dbid-9a2a5ab0-cebb-47e2-99ea-233dc7a9a283")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2412],{26012:function(e,t,r){r.d(t,{B:function(){return y}});var n=r(95235),o=r(82269),i=r(2784),c=r(13980),a=r.n(c),l=r(83290),s=r(17844),d=r(82731),u=r(61240),f=r(94077),h=r(52322);const p=["as","text","hiddenText","href","color","icon","iconColor","renderContent","renderBeforeContent","renderAfterContent","children","className"];function b(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{let{iconColor:t}=e;return t&&"currentColor"!==t&&(0,d.iv)(["--icon-color:",";"],(0,f.a)(t))}),(e=>{let{$color:t}=e;return"black"===t?(0,d.iv)(["--bg-color:#000;--text-color:#fff;--hover-bg-color:#ccc;--hover-text-color:#000;"]):(0,d.iv)(["--bg-color:#ccc;--text-color:#000;--hover-bg-color:#000;--hover-text-color:#fff;"])})),v=d.ZP.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;@media (hover:hover){",":hover &{background-color:var(--hover-bg-color);}}"],m),w=(0,i.forwardRef)(((e,t)=>{let{as:r,text:n,hiddenText:c,href:a,color:s,icon:d,iconColor:u,renderContent:f,renderBeforeContent:b,renderAfterContent:w,children:y,className:O}=e,x=(0,o.Z)(e,p);const j=(0,i.useRef)(),P=t||j;return(0,h.jsxs)(m,g(g({className:O,ref:P,as:a?"a":r,href:a,$color:s,iconColor:u},x),{},{children:[b&&b({text:n,hiddenText:c}),f?f({text:n,hiddenText:c}):(0,h.jsxs)(v,{children:[y,(0,h.jsx)("span",{"aria-hidden":c?"true":null,children:n}),c&&(0,h.jsx)(l.S,{children:c})]}),w&&w({text:n,hiddenText:c})]}))}));w.displayName="Button",w.defaultProps={as:"button"},w.propTypes=g(g({},s.e),{},{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});var y=w},9258:function(e,t,r){r.d(t,{I:function(){return v},a:function(){return O}});var n=r(95235),o=r(82269),i=r(2784),c=r(13980),a=r.n(c),l=r(82731),s=r(52322);const d=["width","height","maxWidth","children","className"],u=["width","left","top","noMaxWidth","children","className"];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 h(e){for(var t=1;t{let{value:t,relativeTo:r}=e;if(!isNaN(t)&&null!==t&&!isNaN(r)&&null!==r)return t/r*100+"%"},b=l.ZP.div.withConfig({componentId:"pmp-module__sc-6zzwsp-0"})(["",""],(e=>{let{$width:t,$height:r,maxWidth:n}=e;return(0,l.iv)(["max-width:",";position:relative;&::before{content:'';display:block;padding-top:",";}"],n,p({value:r,relativeTo:t}))})),g=(0,i.createContext)(),m=e=>{let{width:t,height:r,maxWidth:n,children:i,className:c}=e,a=(0,o.Z)(e,d);const l={parentWidth:t,parentHeight:r};return(0,s.jsx)(g.Provider,{value:l,children:(0,s.jsx)(b,h(h({$width:t,$height:r,maxWidth:n,className:c},a),{},{children:i}))})};m.defaultProps={maxWidth:"100%"},m.propTypes={children:a().node,className:a().string,height:a().number.isRequired,maxWidth:a().string.isRequired,width:a().number.isRequired};var v=m;const w=l.ZP.div.withConfig({componentId:"pmp-module__sc-1p75k38-0"})(["pointer-events:none;position:absolute;max-width:100%;"," ",""],(e=>{let{noMaxWidth:t}=e;return t&&(0,l.iv)(["max-width:none;"])}),(e=>{let{$width:t,left:r,top:n,parentWidth:o,parentHeight:i}=e;return(0,l.iv)(["left:",";top:",";width:",";"],p({value:r,relativeTo:o}),p({value:n,relativeTo:i}),p({value:t,relativeTo:o}))})),y=e=>{let{width:t,left:r,top:n,noMaxWidth:c,children:a,className:l}=e,d=(0,o.Z)(e,u);const{parentWidth:f,parentHeight:p}=(0,i.useContext)(g);return(0,s.jsx)(w,h(h({$width:t,left:r,top:n,parentWidth:f,parentHeight:p,noMaxWidth:c,className:l},d),{},{children:a}))};y.propTypes={children:a().node,className:a().string,left:a().number.isRequired,noMaxWidth:a().bool,top:a().number.isRequired,width:a().number.isRequired};var O=y},54870:function(e,t,r){r.r(t),r.d(t,{default:function(){return n.P}});var n=r(68375);r(46533),r(52322),r(2784),r(13610),r(52049),r(82562),r(20204),r(72692)},53280:function(e,t,r){r.d(t,{W:function(){return h}});var n=r(95235),o=r(82269),i=r(17844),c=r(82731),a=r(52322);const l=["children","className"];function s(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 d(e){for(var t=1;t{let{theme:t}=e;return t.pmp.layout.totalWidth})),f=e=>{let{children:t,className:r}=e,n=(0,o.Z)(e,l);return(0,a.jsx)(u,d(d({className:r},n),{},{children:t}))};f.propTypes=d({},i.e);var h=f},13157:function(e,t,r){r.d(t,{u:function(){return o}});var n=r(2784);const o=e=>{let{id:t,margin:r=100}=e;(0,n.useEffect)((()=>{if(!t)return;const e=document.querySelector(`#${t}`),n=window.location.hash;if(!e||n!==`#${t}`)return;const o=setTimeout((()=>{let t=e,n=0;for(;t.offsetParent!==document.body;)n+=t.offsetTop,t=t.parentElement;t.offsetParent===document.body&&(n+=t.offsetTop),e.tabindex=-1,e.focus({preventScroll:!0}),e.removeAttribute("tabindex"),window.scroll(0,n-r)}),500);return()=>{clearTimeout(o)}}),[])}}}]); //# sourceMappingURL=2412.b17444396f2dfdbc.js.map