!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]="4a09ce19-6b49-4bae-9001-b564c366d23e",e._sentryDebugIdIdentifier="sentry-dbid-4a09ce19-6b49-4bae-9001-b564c366d23e")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9358],{9358:function(e,t,r){r.d(t,{I:function(){return b},S:function(){return g}});var n=r(95235),a=r(82269),i=r(13980),s=r.n(i),o=r(7307),l=r(52232),c=r(69549),p=r(52322),d=r(43992);const u=["assetPath","alt","aspectRatio","dimensions","className","assetEntry"];function m(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{aspectRatio:t}=e;return t&&(0,o.css)(["padding-top:","%;","{",";}"],100*t,g,(0,c.f)())})),y=e=>{let{assetPath:t,alt:r,aspectRatio:n,dimensions:i,className:s,assetEntry:o}=e,l=(0,a.Z)(e,u),c=n||i&&i.height/i.width;if(o){const e=(0,d.r)(o);if(!e)return void console.log('Asset is undefinded, Please check the "assetEntry"');t=e,r||(r=o?.alt)}return"string"===typeof c&&isNaN(c)||!c?(0,p.jsx)(g,{assetPath:t,alt:r,className:s}):c?(0,p.jsx)(f,h(h({aspectRatio:c,className:s},l),{},{children:(0,p.jsx)(g,{assetPath:t,alt:r})})):null};y.defaultProps={alt:""},y.propTypes={className:s().string,assetPath:s().string.isRequired,alt:s().string.isRequired,aspectRatio:s().oneOfType([s().string,s().number]),assetEntry:s().object,dimensions:s().shape({width:s().number,height:s().number})};var b=y},69549:function(e,t,r){r.d(t,{N:function(){return w},P:function(){return ie},S:function(){return oe},a:function(){return L},b:function(){return W},c:function(){return F},d:function(){return A},e:function(){return G},f:function(){return D},g:function(){return f},h:function(){return q},i:function(){return T},j:function(){return B},k:function(){return Z},l:function(){return v},m:function(){return b},n:function(){return j},s:function(){return R},t:function(){return V}});var n=r(82269),a=r(95235),i=r(13980),s=r.n(i),o=r(7307),l=r(3517),c=r(82091),p=r(52322),d=r(2784),u=r(34406);const m=["id","width","height","children","as"];function h(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;t0&&void 0!==arguments[0]?arguments[0]:[];if(!e||!Array.isArray(e)||!e.length)return null;let t=[];return e.forEach((e=>{"string"===typeof e&&t.push(e)})),t.join(" ")},y=e=>{let{settings:t,prefix:r}=e;return Object.entries(t).reduce(((e,t)=>{let[n,a]=t;return e+`\n --${r}-${n}: ${a};\n `}),"")},b=(e,t)=>{const r=g(g({},e),t);for(const[n,a]of Object.entries(r))if("object"===typeof a&&null!==a){if(!t[n])continue;r[n]=b(e[n],t[n])}return r},v="https://www.nintendo.com/_next/static",w="pmp-module",x="is-reduced-motion",j=(0,d.createContext)(),k=e=>{let{marketingPage:t,locale:r,DemoButton:n,children:a}=e;const{0:i,1:s}=(0,d.useState)(!1),o={marketingPage:t,locale:r,DemoButton:n,modalOpen:i,setModalOpen:s};return(0,p.jsx)(j.Provider,{value:o,children:a})};k.defaultProps={locale:"en-us"},k.propTypes={marketingPage:s().object.isRequired,locale:s().string.isRequired,DemoButton:s().node,children:s().oneOfType([s().node,s().arrayOf(s().node)])};var O=(0,o.createGlobalStyle)([".","{--duration-factor:",";"," &.","{--duration-factor:",";}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return t.pmp.animation.durationFactor.default}),(e=>{let{theme:t}=e;return(0,o.css)([""," ",""],y({settings:t.pmp.animation.easing,prefix:"ease"}),y({settings:t.pmp.animation.inView.defaults,prefix:"default"}))}),x,(e=>{let{theme:t}=e;return t.pmp.animation.durationFactor.reducedMotion}));var $=(0,o.createGlobalStyle)([".","{--gutter-width:","px;@media ","{--gutter-width:","px;}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return t.pmp.layout.gutterWidth}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>{let{theme:t}=e;return t.pmp.layout.gutterWidthMediumUp}));var P=(0,o.createGlobalStyle)([".","{*:focus{"," outline:none;&:not(:focus-visible){box-shadow:none;}}img{border-style:none;height:auto;max-width:100%;}figure{margin:0;}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,o.css)(["",";"],(e=>(0,o.css)(["box-shadow:0 0 0 2px ",",0 0 0 4px ",";"],e.pmp.colors.black,e.pmp.colors.white))(t))}));var N=(0,o.createGlobalStyle)([".","{color:",";text-size-adjust:none;h1,h2,h3,h4,h5,h6,p{margin:0;}p,ul,ol{font-weight:",";}b,strong{font-weight:",";}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline;}sub{bottom:-0.25em;}sup{top:-0.5em;}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return t.pmp.colors.main}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.regular}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.bold}));var _=(0,o.createGlobalStyle)([".","{.visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.focus-reverse:focus{","}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,o.css)(["",";"],(e=>(0,o.css)(["box-shadow:0 0 0 2px ",",0 0 0 4px ",";"],e.pmp.colors.white,e.pmp.colors.black))(t))}));var z=(0,o.createGlobalStyle)([".","{","}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,o.css)(["",";",";"],(e=>Object.entries(e.pmp.colors).reduce(((e,t)=>{let[r,n]=t;return e+`\n .color-${r} {\n color: ${n};\n }\n `}),""))(t),(e=>Object.entries(e.pmp.colors).reduce(((e,t)=>{let[r,n]=t;return e+`\n .bg-${r} {\n background-color: ${n};\n }\n `}),""))(t))}));const C=e=>`calc(${e} * 0.1 * 1s * var(--duration-factor))`,I=e=>`calc(((${e} - 1) * (var(--in-view-stagger-amount) * 1s) + var(--in-view-stagger-delay) * 1s) * var(--duration-factor))`;var S=(0,o.createGlobalStyle)([".","{.in-view__anim{","}.in-view{.in-view__anim{","}","}.in-view__anim--left{--start-x:50%;--start-y:0;--start-scale:1;}.in-view__anim--right{--start-x:-50%;--start-y:0;--start-scale:1;}.in-view__anim--up{--start-x:0;--start-y:50%;--start-scale:1;}.in-view__anim--up-min{--start-x:0;--start-y:30px;--start-scale:1;}.in-view__anim--down{--start-x:0;--start-y:-50%;--start-scale:1;}.in-view__anim--pop{--start-x:0;--start-y:0;--start-scale:0.5;--easing-fn-show:var(--ease-back-out);--easing-fn-hide:var(--ease-back-in);}.in-view__stagger{--in-view-stagger-delay:var(--in-view-delay);> *{","}}.in-view .in-view__stagger > *{","}"," .in-view__stagger--up-min{--start-x:0;--start-y:30px;--start-scale:1;}.in-view__stagger--pop{--start-x:0;--start-y:0;--start-scale:0.5;--easing-fn-show:var(--ease-back-out);--easing-fn-hide:var(--ease-back-in);}&.","{.in-view__anim,.in-view__stagger > *{opacity:1;transform:none;transition:none;}}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),"\n opacity: var(--start-alpha, 0);\n transform: translate(var(--start-x, 0), var(--start-y, 0)) scale(var(--start-scale, 1))\n rotate(var(--start-rotate, 0deg));\n transition-delay: 0s;\n transition-duration: var(--duration-hide, 0.4s);\n transition-property: transform, opacity;\n transition-timing-function: var(--easing-fn-hide, ease);\n ","\n opacity: var(--end-alpha, 1);\n transform: translate(var(--end-x, 0), var(--end-y, 0)) scale(var(--end-scale, 1))\n rotate(var(--end-rotate, 0deg));\n transition-delay: var(--in-view-delay);\n transition-duration: var(--duration-show, 0.4s);\n transition-timing-function: var(--easing-fn-show);\n ",(()=>{let e="";for(let t=0;t<=20;t++)e+=`\n .in-view__anim--delay-${t} {\n --in-view-delay: ${C(t)}\n }\n `;return e}),"\n opacity: var(--start-alpha, 0);\n transform: translate(var(--start-x, 0), var(--start-y, 0)) scale(var(--start-scale, 1))\n rotate(var(--start-rotate, 0deg));\n transition-delay: 0s;\n transition-duration: var(--duration-hide, 0.4s);\n transition-property: transform, opacity;\n transition-timing-function: var(--easing-fn-hide, ease);\n ","\n opacity: var(--end-alpha, 1);\n transform: translate(var(--end-x, 0), var(--end-y, 0)) scale(var(--end-scale, 1))\n rotate(var(--end-rotate, 0deg));\n transition-delay: var(--in-view-delay);\n transition-duration: var(--duration-show, 0.4s);\n transition-timing-function: var(--easing-fn-show);\n ",(()=>{let e="";for(let t=0;t<=10;t++)e+=`\n .in-view .in-view__stagger > *:nth-child(${t}) {\n --in-view-delay: ${I(t)}\n }\n `;return e}),x);const T=(e,t)=>100/e.pmp.layout.numberOfColumns*t+"%",R=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return t=>t?.theme?.pmp?.layout?.baseSpace*e+"px"},D=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"px";return isNaN(e)||null===e?(0,o.css)(["position:absolute;top:0;left:0;width:100%;height:100%;"]):(0,o.css)(["position:absolute;top:","",";right:","",";bottom:","",";left:","",";"],e,t,e,t,e,t,e,t)},E=function(){let{theme:e,breakpoint:t,start:r=0,steps:n=15,baseClassName:a="child-spacing"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r>n)return;let i="",s=`${a}${t?"-"+t:""}`;for(let o=r;o<=n;o++)i+=`\n .${s}--${o} {\n > * + * {\n margin-top: ${e.pmp.layout.baseSpace*o}px;\n }\n }\n `;return i},U=function(){let{theme:e,breakpoint:t,start:r=0,steps:n=15,type:a,direction:i}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!a||!i)return;if(r>n)return;let s="",o=`${a}-${i}${t?"-"+t:""}`;for(let l=r;l<=n;l++)s+=`\n .${o}--${l} {\n ${a}-${i}: ${e.pmp.layout.baseSpace*l}px;\n }\n `;return s},M=function(){for(var e=arguments.length,t=new Array(e),r=0;rr=>{const n=r?.theme?.pmp;if(!n)throw new Error("No PMP theme found");let a=n;for(const e of t)a=a[e];if(a=a[e],!a)throw new Error(`Value \`${a}\` not found in \`theme.pmp.${t.join(".")}\``);return a}},V=M("breakpoints"),L=M("colors"),q=M("gradients"),A=M("animation","easing"),B=M("typography","weights"),G=e=>e?(0,o.css)(["-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;"]):(0,o.css)(["-webkit-font-smoothing:subpixel-antialiased;-moz-osx-font-smoothing:auto;"]),W=e=>(0,o.css)(["font-family:",";font-weight:",";"],e.pmp.typography.families.heading,e.pmp.typography.weights.heading),Z=e=>(0,o.css)(["font-family:",";font-weight:",";"],e.pmp.typography.families.legal,e.pmp.typography.weights.regular),F=e=>e/16+"rem",X=function(){let{size:e,letterSpacing:t,lineHeight:r}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return`\n font-size: ${F(e)};\n ${isNaN(t)||null===t?"":`letter-spacing: ${(t/e).toFixed(2)}em`};\n ${r?`line-height: ${(r/e).toFixed(2)}`:""};\n `},J=(e,t)=>{const r=e.pmp.typography[t];if(r){return Object.entries(r).reduce(((e,t)=>{let[r,n]=t,a=`.${r}`;return r.includes("title-")&&(a=`.${r}, h${r.slice(-1)}`),"body"===r&&(a=`.${r}, p, ul, ol`),e+`\n ${a} {\n ${X(n)}\n }\n\n `}),"")}},Y=(0,o.createGlobalStyle)([".","{"," "," .flex{display:flex;}.flex--center{place-content:center;}.flex--wrap{flex-wrap:wrap;}.block{display:block;}.fit{width:100%;}.center{margin-left:auto;margin-right:auto;}.relative{position:relative;}.hide-overflow{overflow:hidden;}@media ","{","}@media ","{","}@media ","{","}@media ","{","}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,o.css)([""," "," "," "," ",""],E({theme:t}),U({type:"margin",direction:"top",theme:t}),U({type:"margin",direction:"bottom",theme:t}),U({type:"padding",direction:"top",theme:t}),U({type:"padding",direction:"bottom",theme:t}))}),function(){let{start:e=0,steps:t=10}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(isNaN(e)||isNaN(t)||e>t)return;let r="";for(let n=e;n<=t;n++){const e=5*n;r+=`\n .layer-${e} {\n z-index: ${e};\n }\n `}return r}(),V("small"),(e=>{let{theme:t}=e;return(0,o.css)([""," "," "," ",""],E({breakpoint:"small",theme:t}),U({type:"margin",direction:"top",breakpoint:"small",theme:t}),U({type:"padding",direction:"top",steps:5,breakpoint:"small",theme:t}),U({type:"padding",direction:"bottom",steps:5,breakpoint:"small",theme:t}))}),V("medium"),(e=>{let{theme:t}=e;return(0,o.css)([""," "," "," ",""],E({breakpoint:"medium",theme:t}),U({type:"margin",direction:"top",breakpoint:"medium",theme:t}),U({type:"padding",direction:"top",steps:5,breakpoint:"medium",theme:t}),U({type:"padding",direction:"bottom",steps:5,breakpoint:"medium",theme:t}))}),V("large"),(e=>{let{theme:t}=e;return(0,o.css)([""," ",""],E({breakpoint:"large",theme:t}),U({type:"margin",direction:"top",breakpoint:"large",theme:t}))}),V("xlarge"),(e=>{let{theme:t}=e;return(0,o.css)(["",""],E({breakpoint:"xlarge",theme:t}))}));var H=Y;var K=(0,o.createGlobalStyle)([".","{"," h1,.title-1,h2,.title-2,h3,.title-3,h4,.title-4,h5,.title-5,h6,.title-6{","}&,.body,p,ul,ol{","}.body--legal{}.text-center{text-align:center;}.text-nowrap{white-space:nowrap;}.text-weight-regular{font-weight:",";}.text-weight-bold{font-weight:",";}.font-smoothing-subpixel{",";}@media ","{","}@media ","{","}}"],(e=>{let{theme:t}=e;return t.pmp.namespace}),(e=>{let{theme:t}=e;return(0,o.css)([""," ",""],X(t.pmp.typography.small.body),J(t,"small"))}),(e=>{let{theme:t}=e;return W(t)}),(e=>{let{theme:t}=e;return(e=>(0,o.css)(["font-family:",";font-weight:",";"],e.pmp.typography.families.body,e.pmp.typography.weights.body))(t)}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.regular}),(e=>{let{theme:t}=e;return t.pmp.typography.weights.bold}),G(!1),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>{let{theme:t}=e;return(0,o.css)([""," ",""],X(t.pmp.typography.medium.body),J(t,"medium"))}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>{let{theme:t}=e;return(0,o.css)([""," ",""],X(t.pmp.typography.large.body),J(t,"large"))}));const Q={small:{max:"639px"},medium:{min:"640px",max:"1023px"},large:{min:"1024px",max:"1143px"},xlarge:{min:"1144px",max:"1439px"},xxlarge:{min:"1440px"},heroOverlap:{min:"1240px"}},ee=Object.entries(Q).reduce(((e,t)=>{let[r,{min:n,max:a}]=t;const i=n&&a,s=""+(n?"(min-width: "+n+")":""),o={[r]:`${s}${i?" and ":""}${""+(a?"(max-width: "+a+")":"")}`};return i&&(o[`${r}Up`]=`${s}`),g(g({},e),o)}),{}),te={namespace:w,animation:{durationFactor:{default:1,reducedMotion:0},easing:{in:"cubic-bezier(0.51, 0, 0.9, 0.43)","back-in":"cubic-bezier(0.38, -0.37, 0.83, 0.23)",out:"cubic-bezier(0.35, 0.91, 0.3, 0.99)","back-out":"cubic-bezier(0.21, 0.12, 0.35, 1.43)","in-out":"cubic-bezier(0.75, 0, 0.21, 0.99)","in-out-quart":"cubic-bezier(0.77, 0, 0.175, 1)"},inView:{defaults:{"start-alpha":0,"start-rotate":"0deg","start-scale":1,"start-x":0,"start-y":0,"end-alpha":1,"end-rotate":"0deg","end-scale":1,"end-x":0,"end-y":0,"show-delay":0,"show-duration":.4,"show-easing":"cubic-bezier(0.75, 0, 0.21, 0.99)","hide-delay":0,"hide-duration":.4,"hide-easing":"cubic-bezier(0.75, 0, 0.21, 0.99)","stagger-amount":.2,"stagger-delay":0},presets:{fade:{"start-alpha":0},pop:{"start-scale":.5,"start-alpha":0,"show-easing":"cubic-bezier(0.21, 0.12, 0.35, 1.43)","hide-easing":"cubic-bezier(0.38, -0.37, 0.83, 0.23)"},up:{"start-alpha":0,"start-y":"50%"},shortUp:{"start-alpha":0,"start-y":"1em"},down:{"start-alpha":0,"start-y":"-50%"},right:{"start-alpha":0,"start-x":"-50%"},left:{"start-alpha":0,"start-x":"50%"}}}},breakpoints:g(g({},ee),{},{ranges:Q}),colors:{main:"#222222",black:"#000000","grey-100":"#cccccc","grey-200":"#888888","grey-300":"#555555","grey-400":"#222222",white:"#ffffff"},layout:{totalWidth:1392,numberOfColumns:12,gutterWidth:16,gutterWidthMediumUp:24,baseSpace:8},typography:{families:{body:"sans-serif",heading:"sans-serif"},weights:{regular:400,bold:700,body:400,heading:700},small:{"title-1":{size:30},"title-2":{size:24},"title-3":{size:20},"title-4":{size:16},"title-5":{size:16},"title-6":{size:16},body:{size:16},"body--larger":{size:18},"body--smaller":{size:12},"body--legal":{size:10}},medium:{"title-1":{size:30},"title-2":{size:24},"title-3":{size:20},"title-4":{size:16},"title-5":{size:16},"title-6":{size:16},body:{size:16},"body--larger":{size:18},"body--smaller":{size:12},"body--legal":{size:10}},large:{"title-1":{size:54},"title-2":{size:38},"title-3":{size:30},"title-4":{size:24},"title-5":{size:24},"title-6":{size:24},body:{size:18},"body--larger":{size:22},"body--smaller":{size:16},"body--legal":{size:10}}},iconSize:{inline:"1em"}},re=o.default.div.withConfig({componentId:"pmp-module__sc-1r15whz-0"})(["--breakpoint:'S';overflow-x:clip;&::after{background:#fff;bottom:0;color:#000;content:var(--breakpoint);font-size:1.5rem;line-height:1;opacity:0;padding:14px;pointer-events:none;position:fixed;right:0;z-index:100;","}@media ","{--breakpoint:'M';}@media ","{--breakpoint:'L';}@media ","{--breakpoint:'XL';}@media ","{--breakpoint:'XXL';}"],(e=>{let{debug:t}=e;return t&&(0,o.css)(["opacity:1;"])}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xlargeUp}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xxlarge})),ne=e=>{let{className:t,children:r}=e;const n=(0,l.J)();return(0,p.jsx)(re,{className:f([w,n&&x,t]),debug:"true"===u.env?.WTC_DEBUG,children:r})},ae=e=>{let{pageProps:t,customTheme:r,i18n:n,className:a,children:i}=e;if(!t.marketingPage)throw new Error("You must supply a `marketingPage` prop containing Contentful data to your PMP Template.");return(0,p.jsx)(k,{marketingPage:t.marketingPage,DemoButton:t.DemoButton,locale:t.locale,children:(0,p.jsx)(c.LocalizerProvider,{locale:t.locale,translations:n,children:(0,p.jsx)(o.ThemeProvider,{theme:e=>g(g({},e),{},{pmp:b(te,r)}),children:(0,p.jsxs)(ne,{className:a,children:[(0,p.jsx)(P,{}),(0,p.jsx)($,{}),(0,p.jsx)(N,{}),(0,p.jsx)(O,{}),(0,p.jsx)(_,{}),(0,p.jsx)(z,{}),(0,p.jsx)(H,{}),(0,p.jsx)(K,{}),(0,p.jsx)(S,{}),i]})})})})};ne.propTypes={children:s().node,className:s().string},ae.propTypes={children:s().node,className:s().string,customTheme:s().object,pageProps:s().shape({marketingPage:s().object.isRequired,DemoButton:s().node,locale:s().string.isRequired}),i18n:s().object};var ie=ae;const se=e=>{let{id:t,width:r,height:a,children:i,as:s}=e,o=(0,n.Z)(e,m);const l=s||"symbol";return(0,p.jsx)(l,g(g({id:"svg"===s?null:`${w}-icon-${t}`,viewBox:`0 0 ${r} ${a}`},o),{},{children:i}))};se.propTypes={id:i.string.isRequired,width:(0,i.oneOfType)([i.string,i.number]).isRequired,height:(0,i.oneOfType)([i.string,i.number]).isRequired,children:(0,i.oneOfType)([i.node,(0,i.arrayOf)(i.node)]),as:i.string};var oe=se},43992:function(e,t,r){r.d(t,{C:function(){return D},I:function(){return G},R:function(){return S},V:function(){return ie},a:function(){return te},b:function(){return F},c:function(){return ee},d:function(){return _},e:function(){return J},f:function(){return z},g:function(){return B},h:function(){return Q},r:function(){return N},u:function(){return K}});var n=r(95235),a=r(82269),i=r(13980),s=r.n(i),o=r(7307),l=r(52322),c=r(69549),p=r(2784),d=r(3517),u=r(52049),m=r(80865),h=r(84004),g=r(68209),f=r(4923),y=r(34406);const b=["children","className","horizontalUncenter","noWrap","reverse","stackMedium","verticalBaseline","verticalCenter"],v=["children","className","deep","span","large","xlarge","xxlarge"],w=["$staggerChildren"],x=["threshold","once","setInViewIfScrolledPast","matchRootMarginToThreshold","staggerChildren","className","children"],j=["animation","duration","delay","staggerChildren","className","children"],k=["tag","className"],O=["data","options","className"];function $(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 P(e){for(var t=1;t`calc(${e} * 1s * var(--duration-factor))`,z=()=>(0,o.css)(["appearance:none;background:none;border-radius:0;border:none;color:inherit;cursor:pointer;display:inline-block;font-family:inherit;font-size:100%;font:inherit;line-height:1.15;margin:0;padding:0;"]),C=o.default.div.withConfig({componentId:"pmp-module__sc-10u0s65-0"})(["&&{list-style:none;margin-inline:auto;max-width:calc( var(--gutter-width) * 2 + ","px );padding-left:calc(var(--gutter-width) * 0.5);padding-right:calc(var(--gutter-width) * 0.5);}& &{padding-left:0;padding-right:0;}@media ","{"," "," "," "," "," ","}@media ","{","}"],(e=>{let{theme:t}=e;return t.pmp.layout.totalWidth}),(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>!e.stackMedium&&(0,o.css)(["display:flex;flex-wrap:wrap;justify-content:center;"])),(e=>e.noWrap&&(0,o.css)(["flex-wrap:nowrap;"])),(e=>e.verticalCenter&&(0,o.css)(["align-items:center;"])),(e=>e.verticalBaseline&&(0,o.css)(["align-items:baseline;"])),(e=>e.horizontalUncenter&&(0,o.css)(["justify-content:flex-start;"])),(e=>e.reverse&&(0,o.css)(["flex-direction:row-reverse;"])),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>e.stackMedium&&(0,o.css)(["display:flex;flex-wrap:wrap;justify-content:center;"]))),I=e=>{let{children:t,className:r,horizontalUncenter:n,noWrap:i,reverse:s,stackMedium:o,verticalBaseline:c,verticalCenter:p}=e,d=(0,a.Z)(e,b);return(0,l.jsx)(C,P(P({className:r,noWrap:i,verticalCenter:p,verticalBaseline:c,horizontalUncenter:n,stackMedium:o,reverse:s},d),{},{children:t}))};I.propTypes={children:s().node,className:s().string,horizontalUncenter:s().bool,noWrap:s().bool,reverse:s().bool,stackMedium:s().bool,verticalBaseline:s().bool,verticalCenter:s().bool};var S=I;const T=o.default.div.withConfig({componentId:"pmp-module__sc-fsfwz4-0"})(["&&{padding-right:calc(var(--gutter-width) * 0.5);padding-left:calc(var(--gutter-width) * 0.5);}@media ","{flex:0 0 auto;"," ","}@media ","{","}@media ","{","}@media ","{","}"],(e=>{let{theme:t}=e;return t.pmp.breakpoints.mediumUp}),(e=>e.$span&&(0,o.css)(["flex-basis:",";"],(0,c.i)(e.theme,e.$span))),(e=>e.deep&&(0,o.css)(["&&{padding-right:0;padding-left:0;}"])),(e=>{let{theme:t}=e;return t.pmp.breakpoints.largeUp}),(e=>e.large&&(0,o.css)(["flex-basis:",";"],(0,c.i)(e.theme,e.large))),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xlargeUp}),(e=>e.xlarge&&(0,o.css)(["flex-basis:",";"],(0,c.i)(e.theme,e.xlarge))),(e=>{let{theme:t}=e;return t.pmp.breakpoints.xxlarge}),(e=>e.xxlarge&&(0,o.css)(["flex-basis:",";"],(0,c.i)(e.theme,e.xxlarge)))),R=e=>{let{children:t,className:r,deep:n,span:i,large:s,xlarge:o,xxlarge:c}=e,p=(0,a.Z)(e,v);return(0,l.jsx)(T,P(P({className:r,$span:i,large:s,xlarge:o,xxlarge:c,deep:n},p),{},{children:t}))};R.propTypes={className:s().string,span:s().number,large:s().number,xlarge:s().number,xxlarge:s().number,deep:s().bool,children:s().node};var D=R;const E=(0,o.css)(["--default-end-x:0;--default-end-y:0;opacity:var(--end-alpha,var(--default-end-alpha));transform:translate( var(--end-x,var(--default-end-x)),var(--end-y,var(--default-end-y)) ) scale(var(--end-scale,var(--default-end-scale))) rotate(var(--end-rotate,var(--default-end-rotate)));transition-duration:",";transition-delay:",";transition-property:opacity,transform;transition-timing-function:var(--show-easing,var(--default-show-easing));"],_("var(--show-duration, var(--default-show-duration))"),_("var(--show-delay, var(--default-show-delay))")),U=(0,o.css)(["opacity:var(--start-alpha,var(--default-start-alpha));transform:translate( var(--start-x,var(--default-start-x)),var(--start-y,var(--default-start-y)) ) scale(var(--start-scale,var(--default-start-scale))) rotate(var(--start-rotate,var(--default-start-rotate)));transition-duration:",";transition-delay:",";transition-property:opacity,transform;transition-timing-function:var(--hide-easing,var(--default-hide-easing));"],_("var(--hide-duration, var(--default-hide-duration))"),_("var(--hide-delay, var(--default-hide-delay))")),M=e=>{let{$staggerChildren:t,$numChildren:r,$animationDefaults:n}=e;if(!t||!r)return;let a="",i=t.delay||n["stagger-delay"]||0;for(let s=0;s *:nth-child(${s+1}) {\n --show-delay: ${parseFloat(e.toFixed(2))};\n }\n `}return a},V=e=>{let{$staggerChildren:t,$numChildren:r,$animationDefaults:n}=e;if(t&&r)return(0,o.css)(["--show-duration:",";"],t.duration||n["show-duration"]||.4)},L=e=>{let{animation:t,$animationPresets:r}=e;if(t&&r){const e=r[t]||r.fade;switch(t){case"fade":return(0,o.css)(["--start-alpha:",";"],e["start-alpha"]);case"pop":return(0,o.css)(["--start-alpha:",";--start-scale:",";--show-easing:",";--hide-easing:",";"],e["start-alpha"],e["start-scale"],e["show-easing"],e["hide-easing"]);case"up":case"shortUp":case"down":return(0,o.css)(["--start-alpha:",";--start-y:",";"],e["start-alpha"],e["start-y"]);case"right":case"left":return(0,o.css)(["--start-alpha:",";--start-x:",";"],e["start-alpha"],e["start-x"])}}},q=e=>{let{$staggerChildren:t,$isInView:r}=e;if(t)return r?(0,o.css)(["> *{","}"],E):(0,o.css)(["> *{","}"],U)},A=o.default.div.attrs((e=>{let{theme:t}=e;return{$animationDefaults:t.pmp.animation.inView.defaults,$animationPresets:t.pmp.animation.inView.presets}})).withConfig({componentId:"pmp-module__sc-12ak7mp-0"})([""," "," "," ",""],(e=>q(e)),(e=>M(e)),(e=>V(e)),(e=>{let{$staggerChildren:t}=e,r=(0,a.Z)(e,w);if(!t)return;const{animation:n}=t;return n?L(P({animation:n},r)):void 0})),B=(0,p.createContext)(),G=e=>{let{threshold:t,once:r,setInViewIfScrolledPast:n,matchRootMarginToThreshold:i,staggerChildren:s,className:o,children:c}=e,d=(0,a.Z)(e,x);const m=(0,p.useMemo)((()=>P(P(P({},"object"!==typeof t&&{threshold:t}),i&&{rootMargin:100*t+"% 0px 0px 0px"}),"object"===typeof t&&{threshold:t})),[i,t]),[h,g,f]=(0,u.YD)(m,r,!(!r||!n)&&n),y={isInView:g,domNode:f},b=c?Array.isArray(c)?c.length:1:0;return(0,l.jsx)(B.Provider,{value:y,children:(0,l.jsx)(A,P(P({ref:h,className:o,$staggerChildren:s,$numChildren:b,$isInView:g},d),{},{children:c}))})};G.defaultProps={threshold:.3,once:!1,matchRootMarginToThreshold:!0,setInViewIfScrolledPast:!1},G.propTypes={threshold:s().oneOfType([s().number,s().object]).isRequired,once:s().bool.isRequired,setInViewIfScrolledPast:s().bool,matchRootMarginToThreshold:s().bool,staggerChildren:s().shape({animation:s().oneOf(["fade","up","down","left","right","shortUp","pop",!0]),duration:s().number,delay:s().number,stagger:s().number}),className:s().string,children:s().oneOfType([s().node,s().arrayOf(s().node)])};const W=o.default.div.attrs((e=>{let{theme:t}=e;return{$animationDefaults:t.pmp.animation.inView.defaults,$animationPresets:t.pmp.animation.inView.presets}})).withConfig({componentId:"pmp-module__sc-c0yj7u-0"})([""," "," "," "," "," "," "," will-change:transform,opacity;"],(e=>{let{$isInView:t,animation:r}=e;return t&&r||(0,d.J)()?E:U}),(e=>L(e)),(e=>{let{delay:t}=e;return!isNaN(t)&&null!==t&&(0,o.css)(["--show-delay:",";"],t)}),(e=>{let{duration:t}=e;return!isNaN(t)&&null!==t&&(0,o.css)(["--show-duration:",";"],t)}),(e=>q(e)),(e=>M(e)),(e=>V(e))),Z=e=>{let{animation:t,duration:r,delay:n,staggerChildren:i,className:s,children:o}=e,c=(0,a.Z)(e,j);const{isInView:u}=(0,p.useContext)(B),m=(0,d.J)(),h=o?Array.isArray(o)?o.length:1:0;return(0,l.jsx)(W,P(P({$isInView:!(!m||!t)||u,animation:t,duration:r,delay:n,className:s,children:o},c),{},{$staggerChildren:i,$numChildren:h,children:o}))};Z.defaultProps={delay:0},Z.propTypes={animation:s().oneOf(["fade","up","down","left","right","shortUp","pop",!0]),duration:s().number,delay:s().number,staggerChildren:s().shape({animation:s().oneOf(["fade","up","down","left","right","shortUp","pop",!0]),duration:s().number,delay:s().number,stagger:s().number}),className:s().string,children:s().oneOfType([s().node,s().arrayOf(s().node)])};var F=Z;const X=e=>{let{tag:t,className:r}=e,n=(0,a.Z)(e,k);return(e,a)=>{const i=t;return(0,l.jsx)(i,P(P({className:r},n),{},{children:a}))}},J=e=>{let{data:t,options:r,className:n}=e,i=(0,a.Z)(e,O);const s={renderNode:{[m.RG.PARAGRAPH]:X(P({tag:"p",className:n},i)),[m.RG.UL_LIST]:X(P({tag:"ul",className:n},i)),[m.RG.OL_LIST]:X(P({tag:"ul",className:n},i))}};return(0,h.h)(t,P(P({},r),s))};J.defaultProps={options:{}},J.propTypes={data:s().object.isRequired,options:s().object,className:s().string};const Y=new Map([["S",[1,"small"]],["M",[2,"medium"]],["L",[3,"large"]],["XL",[4,"xlarge"]],["XXL",[5,"xxlarge"]]]),H=[...Y].reduce(((e,t)=>{const r=t[1][1];return e[r]=r,e}),{}),K=()=>{const{0:e,1:t}=(0,p.useState)([null,null]),r=e[0],n=(0,p.useCallback)((()=>{t(Y.get(window.getComputedStyle(document.querySelector(`.${c.N}`),"::after").content.replace(/'|"/gi,"")))}),[]);return(0,p.useEffect)((()=>(window.addEventListener("resize",n),n(),()=>{window.removeEventListener("resize",n)})),[]),{breakpoint:r,breakpointName:e[1],mediumUp:r>1,mediumDown:r<3,largeUp:r>2,xlargeUp:r>3,BREAKPOINTS:H}},Q=(e,t)=>{for(const r of t){if(r.__entryId===e)return r;if(r.modules){const t=Q(e,r.modules);if(t)return t}else;}},ee=()=>{const e=(0,p.useContext)(c.n);if(!e)throw new Error("usePage hook must be used within a PageProvider.");return e},te=e=>{if("object"!==typeof e)throw new Error("Must pass an object of keys that map to entry IDs.");const{marketingPage:t}=ee(),r=(0,p.useCallback)(((e,n)=>{let[a,i]=n;switch(typeof i){case"string":e[a]=Q(i,t.modules);break;case"object":e[a]=Object.entries(i).reduce(r,{})}return e}),[t.modules]);return Object.entries(e).reduce(r,{})},re=o.default.button.withConfig({componentId:"pmp-module__sc-s2evg1-0"})(["",";font:inherit;"],z()),ne=o.default.div.withConfig({componentId:"pmp-module__sc-s2evg1-1"})(["border-radius:",";overflow:hidden;text-align:center;width:min(90vw,120vh);"],(e=>{let{theme:t}=e;return t.borderRadius})),ae=e=>{let{assetPath:t,posterPath:r,lang:n,dialogLabel:a,onClick:i,className:s,children:o,hashId:c,assetEntry:d}=e;const{setModalOpen:u}=ee(),{0:m,1:h}=(0,p.useState)(!1),y=(0,p.useRef)();if(d){const e=N(d);e||console.log('Asset is undefinded, Please check the "assetEntry"'),t=e}const b=(0,p.useCallback)((()=>{i&&i(),h(!0),u(!0)}),[i,u]);return(0,p.useEffect)((()=>{if(!c)return;const{hash:e}=window.location;e===`#${c}`&&(document.getElementById(c)?.scrollIntoView(),setTimeout((()=>{b()}),100))}),[c,b]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(re,{ref:y,onClick:b,className:s,children:o}),(0,l.jsx)(g.M,{visible:m,lang:n,dialogLabel:a,onClose:()=>{h(!1),u(!1)},containChildren:!1,children:(0,l.jsx)(ne,{className:"text-center",children:m&&(0,l.jsx)(f.V,{assetPath:t,posterPath:r,lang:n})})})]})};ae.propTypes={assetPath:s().string.isRequired,posterPath:s().string,lang:s().oneOf(["en","es","fr","pt"]),dialogLabel:s().string.isRequired,onClick:s().func,className:s().string,children:s().oneOfType([s().node,s().oneOfType([s().node,s().arrayOf(s().node)])]),hashId:s().string,assetEntry:s().object},ae.defaultProps={autoplay:!0,lang:"en"};var ie=ae},52049:function(e,t,r){r.d(t,{YD:function(){return a}});var n=r(2784);r(52322);function a(e=.3,t=!0,r=!1){const[a,i]=(0,n.useState)(!1),[s,o]=(0,n.useState)(),l=(0,n.useRef)(),c=(0,n.useCallback)((([e],n)=>{const a=e.isIntersecting||r&&e.boundingClientRect.top<0;i(a),t&&a&&n.unobserve(e.target)}),[t,r]);return(0,n.useEffect)((()=>{if(l.current||!s)return;const t="number"==typeof e?{threshold:e}:e;return l.current=new IntersectionObserver(c,t),l.current.observe(s),()=>{l.current&&l.current.unobserve(s)}}),[c,s,e]),[o,a,s]}(0,n.createContext)({})}}]); //# sourceMappingURL=9358.d78739b913a5788e.js.map