"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[934],{70934:function(e,t,a){a.r(t),a.d(t,{default:function(){return qa}});var i=a(95235),o=a(82269),s=a(13980),n=a.n(s),r=a(7307),l=a(4215),d=a(52322),c=a(49653),p=a(91383),m=a(2784),h=a(80692),g=a(66771),u=a(53431),b=a(34693),x=a(72692),f=a(57736);const w=["id","use","className"],j=["id"],v=["pattern","gradient","src","children"],y=["color","className"],_=["content","banner"],C=["assetPath","alt","small","boxShadow","thickBoxShadow","color","bgColor","wave","waveType","decorationOpacity","spinny","corners","overflow","children"],k=["border","rotate","children"],I=["content"],z=["content"],N=["content"],P=["children","className","tag"],U=["reversed"],q=["reversed"],M=["children","className"],L=["content"],R=["content"],S=["fruit","settings"],O=["content","bgSrc","offCenter"],A=["content"],F=["local","localVideoAlt","online","onlineVideoAlt"],T=["entryID","pattern","paddingBottom"];function D(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,i)}return a}function Z(e){for(var t=1;t{let{fillColor:t,theme:a}=e;return t&&(0,r.css)(["fill:",";"],a.pmp.colors[t])}),(e=>{let{strokeColor:t,theme:a}=e;return t&&(0,r.css)(["stroke:",";"],a.pmp.colors[t])}),(e=>{let{theme:t}=e;return(0,r.css)(["height:",";width:",";"],t.pmp.iconSize.inline,t.pmp.iconSize.inline)})),$=e=>{let{id:t,use:a,className:i}=e,s=(0,o.Z)(e,w);return a?(0,d.jsx)(V,Z(Z({className:i},s),{},{"aria-hidden":"true",children:(0,d.jsx)("use",{xlinkHref:`#${l.N}-icon-${t}`,style:{width:"100%",height:"100%"}})})):K(Z({id:t,className:i,as:"svg","aria-hidden":!0},s))};$.defaultProps={use:!0},$.propTypes={id:s.string.isRequired,use:s.bool,fillColor:s.string,strokeColor:s.string,className:s.string};var W=$;const K=e=>{let{id:t}=e,a=(0,o.Z)(e,j);return{"arrow-right":(0,d.jsx)(l.g,Z(Z({},a),{},{id:"arrow-right",width:30,height:30,children:(0,d.jsxs)("g",{fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,d.jsx)("line",{x1:"3.5",y1:"15.071",x2:"22.5",y2:"15.071",stroke:"currentColor",strokeWidth:"3"}),(0,d.jsx)("polyline",{stroke:"currentColor",strokeWidth:"3",transform:"rotate(45 19.036 15.071)",points:"14.0355339 10.0710678 24.0355339 10.0710678 24.0355339 20.0710678"})]})})),"chevron-left":(0,d.jsx)(l.g,Z(Z({},a),{},{id:"chevron-left",width:20,height:20,children:(0,d.jsx)("path",{d:"m10 17-7-7 7-7",strokeWidth:"3",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})})),"chevron-right":(0,d.jsx)(l.g,Z(Z({},a),{},{id:"chevron-right",width:20,height:20,children:(0,d.jsx)("path",{d:"m10 3 7 7-7 7",strokeWidth:"3",stroke:"currentColor",fill:"none",fillRule:"evenodd",strokeLinecap:"round",strokeLinejoin:"round"})})),close:(0,d.jsx)(l.g,Z(Z({},a),{},{id:"close",width:28,height:28,children:(0,d.jsx)("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"4",d:"m2.444 2.444 23.112 23.112m0-23.112L2.444 25.556"})})),star:(0,d.jsx)(l.g,Z(Z({},a),{},{id:"star",width:16,height:16,children:(0,d.jsx)("path",{d:"M15.8362 8C12.6792 6.27326 10.0804 3.67442 8.33618 0.5C6.60944 3.65698 4.0106 6.25582 0.836182 8C3.99316 9.72675 6.592 12.3256 8.33618 15.5C10.0629 12.343 12.6618 9.74419 15.8362 8Z",fill:"#FFD200"})})),"star-white":(0,d.jsx)(l.g,Z(Z({},a),{},{id:"star-white",width:16,height:16,children:(0,d.jsx)("path",{d:"M15.8362 8C12.6792 6.27326 10.0804 3.67442 8.33618 0.5C6.60944 3.65698 4.0106 6.25582 0.836182 8C3.99316 9.72675 6.592 12.3256 8.33618 15.5C10.0629 12.343 12.6618 9.74419 15.8362 8Z",fill:"#FFF"})})),"star-hollow":(0,d.jsx)(l.g,Z(Z({},a),{},{id:"star-hollow",width:200,height:200,children:(0,d.jsx)("path",{d:"m100 0c-15.25 47.51-52.49 84.75-100 100 47.51 15.26 84.75 52.49 100 100 15.25-47.51 52.49-84.74 100-100-47.51-15.25-84.75-52.49-100-100zm0 132.55c-7.51-13.74-18.81-25.03-32.55-32.55 13.74-7.51 25.04-18.81 32.55-32.55 7.51 13.74 18.81 25.04 32.55 32.55-13.74 7.51-25.04 18.81-32.55 32.55z",fill:"#fff"})})),"star-blue":(0,d.jsx)(l.g,Z(Z({},a),{},{id:"star-blue",width:16,height:16,children:(0,d.jsx)("path",{d:"M15.8362 8C12.6792 6.27326 10.0804 3.67442 8.33618 0.5C6.60944 3.65698 4.0106 6.25582 0.836182 8C3.99316 9.72675 6.592 12.3256 8.33618 15.5C10.0629 12.343 12.6618 9.74419 15.8362 8Z",fill:"#0064C8"})})),prev:(0,d.jsx)(l.g,Z(Z({},a),{},{id:"prev",width:82,height:82,children:(0,d.jsx)("path",{d:"M37.271 38.8394L44.0274 33.0056C45.2393 31.9615 45.3302 30.1716 44.2351 29.0157L44.1832 28.9618C43.0492 27.7644 41.1318 27.6732 39.8939 28.7546C37.4225 30.9133 33.4578 34.3605 30.9864 36.5067C29.7529 37.5757 29.6663 39.3988 30.783 40.5796L38.8811 49.1231C39.9978 50.3039 41.9066 50.3909 43.1358 49.3219C44.3693 48.253 44.4602 46.4258 43.3435 45.2491L37.271 38.8394Z",fill:"#1E281E"})})),next:(0,d.jsx)(l.g,Z(Z({},a),{},{id:"next",width:82,height:82,children:(0,d.jsx)("path",{d:"M40.729 39.2302L33.9726 45.0639C32.7607 46.108 32.6698 47.8979 33.7649 49.0539L33.8168 49.1078C34.9508 50.3052 36.8682 50.3963 38.1061 49.3149C40.5775 47.1563 44.5422 43.7091 47.0136 41.5628C48.2471 40.4939 48.3337 38.6708 47.217 37.49L39.1189 28.9465C38.0022 27.7657 36.0934 27.6787 34.8642 28.7476C33.6307 29.8166 33.5398 31.6438 34.6565 32.8205L40.729 39.2302Z",fill:"#1E281E"})}))}[t]},Y=()=>(0,d.jsx)(p.S,{children:(0,d.jsx)("svg",{children:(0,d.jsxs)("defs",{children:[K({id:"arrow-right"}),K({id:"chevron-right"}),K({id:"chevron-left"}),K({id:"close"}),K({id:"star"}),K({id:"star-white"}),K({id:"star-blue"}),K({id:"star-hollow"}),K({id:"prev"}),K({id:"next"})]})})}),G=(0,r.default)("div").withConfig({shouldForwardProp:e=>!["pattern"].includes(e)}).withConfig({componentId:"pmp-module__sc-13oyrvc-0"})(["background:",";background-repeat:repeat;position:relative;"," "," "," "," ",""],(e=>{let{pattern:t}=e;return t?.asset&&`url(${t?.asset})`}),(e=>{let{pattern:t}=e;return t?.asset&&(0,r.css)(["background-image:url(",");"],t?.asset)}),(e=>{let{pattern:t}=e;return t?.fallbackColor&&(0,r.css)(["background-color:",";"],(0,l.b)(t?.fallbackColor))}),(e=>{let{pattern:t}=e;return t?.gradient&&(0,r.css)(["background-image:",";"],t?.gradient)}),(e=>{let{pattern:t}=e;return t?.size&&(0,r.css)(["background-size:",";"],t?.size)}),(e=>{let{src:t}=e;return t&&(0,r.css)(["background-image:url(",");background-size:cover;background-repeat:none;background-position:center;"],t)})),Q={ivory:{asset:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/patterns/pattern-2-ivory-2x",fallbackColor:"ivory",size:"400px"},yellow:{asset:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/patterns/pattern-1-yellow-2x",fallbackColor:"yellow",size:"400px"},red:{fallbackColor:"red"},blue:{asset:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/patterns/pattern-2-blue-2x",fallbackColor:"blue-1",size:"400px"},"dots-ivory":{asset:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/patterns/pattern-dots-ivory-2x",fallbackColor:"ivory",size:"25px"},"gradient-blue":{gradient:"linear-gradient(180deg, #0064C8 0%, #003C96 45.67%, #0064C8 100%)"},"gradient-pink":{gradient:"linear-gradient(180deg, #FF3D9E 0%, #FF9394 45.67%, #FF3D9E 100%)"},"gradient-yellow":{gradient:"linear-gradient(180deg, #FFD200 0%, #FFEF5B 47.92%, #FFD200 100%)"}},J=e=>{let{pattern:t,gradient:a,src:i,children:s}=e,n=(0,o.Z)(e,v);return(0,d.jsx)(G,Z(Z({pattern:Q[t],src:i,gradient:a},n),{},{children:s}))};var ee=J;J.propTypes={pattern:n().oneOf(Object.keys(Q)).isRequired,gradient:n().bool,src:n().string,children:n().node.isRequired};const te=r.default.div.withConfig({componentId:"pmp-module__sc-1mg2fj-0"})([""]),ae=e=>{let{color:t="blue",className:a}=e,i=(0,o.Z)(e,y);const s={blue:{small:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-blue-small",medium:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-blue-medium",large:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-blue-large"},ivory:{small:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-ivory-small",medium:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-ivory-medium",large:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-ivory-large"},"light-blue":{small:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-light-blue-small",medium:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-light-blue-medium",large:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/dividers/divider-light-blue-large"}},{breakpointName:n,mediumUp:r,largeUp:l}=(0,h.u)(),{0:c,1:p}=(0,m.useState)();return(0,m.useEffect)((()=>{switch(!0){case l:p(s[t].large);break;case r:p(s[t].medium);break;default:p(s[t].small)}}),[n]),(0,d.jsx)(h.I,Z(Z({as:te,className:a},i),{},{children:(0,d.jsx)(h.b,{animation:"fade",children:(0,d.jsx)(g.I,{assetPath:c,lazyLoad:!1,className:"divider",alt:""})})}))};var ie=ae;ae.propTypes={color:n().oneOfType([n().string,n().func]),className:n().string};const oe=r.default.div.withConfig({componentId:"pmp-module__sc-1xcvf7i-0"})(["padding:"," 0 0;.row{padding:"," 0;align-items:center;text-align:center;.title-1{margin-bottom:",";}p{margin-bottom:",";}.mario{max-width:307px;position:absolute;}.blob{max-width:408px;}.image-group{max-width:266px;margin:0 auto;}}@media ","{padding:"," 0 0;.row{padding:40px 0;.image-group{max-width:100%;}}}@media ","{padding:"," 0 0;.row{padding:80px 0 24px;.title-1{margin-bottom:32px;}}}@media ","{.row{padding:32px 0 24px;}}"],(0,l.s)(16.875),(0,l.s)(4),(0,l.s)(2),(0,l.s)(1.5),(0,l.a)("mediumUp"),(0,l.s)(8),(0,l.a)("largeUp"),(0,l.s)(16),(0,l.a)("xlargeUp")),se=r.default.div.withConfig({componentId:"pmp-module__sc-1xcvf7i-1"})(["position:relative;background-color:",";border-radius:16px;display:block;margin:0 auto;width:341px;padding:"," "," ",";text-align:center;max-width:100%;"," .image{position:absolute;top:",";left:50%;transform:translate(-50%,-50%);width:189px;}span.title-4{display:block;font-size:",";line-height:",";}@media ","{width:534px;padding:"," "," "," ",";.image{width:195px;left:",";top:50%;transform:translateY(-50%);}}@media ","{width:944px;padding:"," "," "," ",";.image{width:244px;left:",";}span.title-4{display:block;font-size:",";line-height:",";}}"],(0,l.b)("red"),(0,l.s)(5),(0,l.s)(2),(0,l.s)(4),(e=>{let{locale:t}=e;return!t.includes("es-")&&"pt-br"!==t&&(0,r.css)(["background-color:",";color:",";"],(0,l.b)("yellow"),(0,l.b)("black"))}),(0,l.s)(-4),(0,l.d)(22),(0,l.d)(26),(0,l.a)("mediumUp"),(0,l.s)(2),(0,l.s)(2),(0,l.s)(2),(0,l.s)(27.5),(0,l.s)(2),(0,l.a)("largeUp"),(0,l.s)(2),(0,l.s)(6),(0,l.s)(2),(0,l.s)(37),(0,l.s)(4),(0,l.d)(30),(0,l.d)(38));(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-1xcvf7i-2"})(["align-items:center;"]),(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-1xcvf7i-3"})(["height:min-content;"]);const ne={parent:{width:408,height:521},mario:{width:307,left:50,top:0},blob:{width:408,left:0,top:69}},re={parent:{width:266,height:316},mario:{width:186,left:40,top:0},blob:{width:266,left:0,top:33}},le=e=>{let{content:t,banner:a}=e,i=(0,o.Z)(e,_);const{mediumUp:s}=(0,h.u)(),{locale:n}=(0,h.c)(),{0:r,1:l}=(0,m.useState)(re.parent),{0:c,1:p}=(0,m.useState)(re.mario),{0:b,1:x}=(0,m.useState)(re.blob);(0,m.useEffect)((()=>{if(!0===s)l(ne.parent),p(ne.mario),x(ne.blob);else l(re.parent),p(re.mario),x(re.blob)}),[s]);const f=!n.includes("es-")&&"pt-br"!==n;return(0,d.jsxs)(h.I,Z(Z({as:oe},i),{},{children:[(0,d.jsx)(h.b,{animation:"shortUp",children:(0,d.jsxs)(se,Z(Z({},f?{as:"a",href:"#hardware"}:{}),{},{locale:n,children:[(0,d.jsx)(g.I,{assetPath:a?.asset?.primary?.assetPath,alt:a?.asset?.alt,className:"image"}),(0,d.jsx)("p",{className:"title-4 "+(f?"color-black":"color-white"),children:a?.heading})]}))}),(0,d.jsxs)(h.R,{className:"row",children:[(0,d.jsxs)(h.C,{span:6,children:[(0,d.jsx)(h.b,{animation:"shortUp",children:(0,d.jsx)("h2",{className:"title-1 color-yellow",children:t.heading})}),(0,d.jsx)(h.b,{animation:"shortUp",delay:.3,children:(0,d.jsx)(h.e,{data:t.body,className:"body--larger text-weight-bold color-white"})})]}),(0,d.jsx)(h.C,{span:4,children:(0,d.jsxs)(u.I,{width:r.width,height:r.height,className:"image-group",children:[(0,d.jsx)(u.a,{width:b.width,top:b.top,left:b.left,children:(0,d.jsx)(h.b,{animation:"pop",delay:.6,children:(0,d.jsx)(g.I,{assetPath:t?.asset?.secondary?.assetPath,alt:"",lazyLoad:!1})})}),(0,d.jsx)(u.a,{width:c.width,top:c.top,left:c.left,children:(0,d.jsx)(h.b,{animation:"pop",delay:.9,children:(0,d.jsx)(g.I,{assetPath:t?.asset?.primary?.assetPath,alt:t?.asset?.alt,lazyLoad:!1})})})]})})]})]}))};var de=le;le.propTypes={content:n().object.isRequired,banner:n().object.isRequired};const ce=r.default.div.withConfig({componentId:"pmp-module__sc-jziuda-0"})(["position:relative;overflow:",";border:4px solid ",";background-color:",";"," border-radius:",";",""],(e=>{let{overflow:t}=e;return t?"visible":"hidden"}),(e=>{let{color:t}=e;return t}),(e=>{let{bgColor:t}=e;return t||(0,l.b)("white")}),(e=>{let{boxShadow:t,thickBoxShadow:a,color:i}=e;return t&&(0,r.css)(["box-shadow:"," "," 0 "," ",";"],a?"4px":"2px",a?"8px":"4px",a?"4px":"2px",i)}),(e=>{let{corners:t}=e;return t.map((e=>e?"80px":"20px")).join(" ")}),(e=>{let{small:t}=e;return t&&(0,r.css)(["border-radius:",";"],(e=>{let{corners:t}=e;return t.map((e=>e?"60px":"20px")).join(" ")}))})),pe=r.default.div.withConfig({componentId:"pmp-module__sc-jziuda-1"})(["overflow:hidden;border-radius:",";",""],(e=>{let{corners:t}=e;return t.map((e=>e?"80px":"16px")).join(" ")}),(e=>{let{small:t}=e;return t&&(0,r.css)(["border-radius:",";"],(e=>{let{corners:t}=e;return t.map((e=>e?"60px":"16px")).join(" ")}))})),me=r.default.div.withConfig({componentId:"pmp-module__sc-jziuda-2"})(["position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden;overflow:clip;overflow-clip-margin:2px;pointer-events:none;transition:opacity "," ease;border-radius:",";"," ",""],(0,h.d)(.3),(e=>{let{corners:t}=e;return t.map((e=>e?"80px":"20px")).join(" ")}),(e=>{let{small:t}=e;return t&&(0,r.css)(["border-radius:",";"],(e=>{let{corners:t}=e;return t.map((e=>e?"60px":"20px")).join(" ")}))}),(e=>{let{decorationOpacity:t}=e;return(0,r.css)(["opacity:",";"],t)})),he=r.default.svg.withConfig({componentId:"pmp-module__sc-jziuda-3"})(["display:block;position:absolute;bottom:-1px;left:-1px;width:101%;height:auto;path{fill:",";}"],(e=>{let{color:t}=e;return t})),ge=r.default.svg.withConfig({componentId:"pmp-module__sc-jziuda-4"})(["position:absolute;top:calc(50% - 32px);left:50%;transform:translate(-50%,-50%);max-width:80%;transition:opacity "," ease;z-index:0;",""],(0,h.d)(.3),(e=>{let{decorationOpacity:t}=e;return(0,r.css)(["opacity:",";"],t)})),ue={a:{width:802,height:162,path:(0,d.jsx)("path",{d:"M0 154C0 158.418 3.58172 162 8 162H786C794.837 162 802 154.837 802 146V0C798.526 41.2237 770.988 84.6437 740.738 105.206C709.81 126.167 655.242 138.145 600.928 138.145C452.221 138.145 359.862 96.2221 232.339 96.2221C171.076 96.2221 76.0904 107.701 0 136.348V154Z"})},b:{width:684,height:116,path:(0,d.jsx)("path",{d:"M0 100C0 108.837 7.16344 116 16 116H610C650.869 116 684 82.8691 684 42V0C681.037 19.6122 657.55 40.2693 631.751 50.0516C605.374 60.0239 558.835 65.7226 512.512 65.7226C385.685 65.7226 306.915 45.7776 198.154 45.7776C145.906 45.7776 64.8951 51.2388 0 64.8676V100Z"})},c:{width:496,height:86,path:(0,d.jsx)("path",{d:"M0 72.3823C0 79.9031 6.09686 86 13.6177 86H480C488.837 86 496 78.8366 496 70V0C493.851 21.8842 476.82 44.9343 458.112 55.8499C438.985 66.9775 405.237 73.3363 371.646 73.3363C279.678 73.3363 222.558 51.0809 143.691 51.0809C105.803 51.0809 47.0584 57.1746 0 72.3823Z"})}},be=e=>{let{assetPath:t,alt:a,small:i,boxShadow:s,thickBoxShadow:n=!1,color:r=(0,l.b)("black"),bgColor:c,wave:p=!1,waveType:m="a",decorationOpacity:h=1,spinny:u,corners:b=[!1,!1,!1,!1],overflow:x,children:f}=e,w=(0,o.Z)(e,C);return(0,d.jsxs)(ce,Z(Z({small:i,color:r,bgColor:c,corners:b,boxShadow:s,thickBoxShadow:n,overflow:x},w),{},{children:[(0,d.jsx)(pe,{small:i,corners:b,children:t&&(0,d.jsx)(g.I,{assetPath:t,alt:a,lazyLoad:!1})}),f,p&&(0,d.jsx)(me,{corners:b,decorationOpacity:h,children:(0,d.jsx)(he,{xmlns:"http://www.w3.org/2000/svg",width:ue[m].width,height:ue[m].height,viewBox:`0 0 ${ue[m].width} ${ue[m].height}`,color:r,"aria-hidden":"true",children:ue[m].path})}),u&&(0,d.jsx)(ge,{xmlns:"http://www.w3.org/2000/svg",width:317,height:317,viewBox:"0 0 317 317","aria-hidden":"true",decorationOpacity:h,children:(0,d.jsx)("path",{opacity:"0.2",d:"M158.513 0L181.205 31.6416L213.542 9.54835L223.909 46.9291L261.945 37.076L258.696 75.7011L297.892 79.2563L281.414 114.428L317 130.985L289.305 158.487L317 186.015L281.414 202.547L297.892 237.744L258.696 241.299L261.945 279.924L223.909 270.045L213.542 307.426L181.205 285.358L158.513 317L135.795 285.358L103.458 307.426L93.0912 270.045L55.0553 279.924L58.3045 241.299L19.1082 237.744L35.5861 202.547L0 186.015L27.6953 158.487L0 130.985L35.5861 114.428L19.1082 79.2563L58.3045 75.7011L55.0553 37.076L93.0912 46.9291L103.458 9.54835L135.795 31.6416L158.513 0Z",fill:"#FFFDF2"})})]}))};var xe=be;be.propTypes={assetPath:n().string,alt:n().string,small:n().bool,boxShadow:n().bool,thickBoxShadow:n().bool,color:n().string,bgColor:n().string,wave:n().bool,waveType:n().oneOf(["a","b","c"]),decorationOpacity:n().number,spinny:n().bool,corners:n().arrayOf(n().bool),overflow:n().bool,children:n().node};const fe=r.default.div.withConfig({componentId:"pmp-module__sc-11l8quz-0"})(["position:relative;button{width:100%;}.row{align-items:center;justify-content:center;}&:hover{.play-button{top:49.5%;left:49.5%;path{&:nth-of-type(2){fill:",";}}}}"],(0,l.b)("blue-2")),we=r.default.div.withConfig({componentId:"pmp-module__sc-11l8quz-1"})(["width:60px;height:60px;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transition:all "," ease;svg{max-width:100%;height:auto;}@media ","{width:104px;height:104px;}"],(0,h.d)(.3),(0,l.a)("largeUp")),je=e=>{let{assetPath:t,alt:a,dialogLabel:i,lang:o,onClick:s,posterPath:n,className:r,color:l="white",overflow:c="false",hashId:m,children:g}=e;const{text:u}=(0,b.useLocalizer)();return(0,d.jsx)(fe,{children:(0,d.jsx)(h.V,{assetPath:t,dialogLabel:i,lang:o,onClick:s,posterPath:n,className:r,hashId:m,children:(0,d.jsxs)(xe,{wave:!0,color:l,boxShadow:!0,overflow:c,assetPath:n,alt:a,children:[g,(0,d.jsxs)(we,{className:"play-button",children:[(0,d.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:116,height:116,viewBox:"0 0 116 116",fill:"none","aria-hidden":"true",children:[(0,d.jsx)("path",{d:"M112.928 59.4385C112.928 44.4933 106.784 30.9847 96.9057 21.281C96.73 21.0998 96.5316 20.9038 96.3695 20.7437C96.3069 20.6819 96.2498 20.6254 96.2014 20.5772C96.0225 20.3922 95.8183 20.1905 95.6522 20.0265C95.5898 19.9648 95.5327 19.9084 95.4844 19.8603C95.3064 19.6762 95.1035 19.4758 94.9348 19.3091C94.8664 19.2415 94.8036 19.1794 94.7504 19.1263C85.043 9.22397 71.5229 3.08069 56.566 3.08069C27.0255 3.08069 3.08093 27.0229 3.08093 56.5614C3.08093 71.5097 9.22752 85.0206 19.1095 94.7247C19.2863 94.9071 19.4863 95.1047 19.6495 95.2659C19.7118 95.3275 19.7688 95.3837 19.817 95.4318C19.9959 95.6168 20.2002 95.8186 20.3663 95.9826C20.4288 96.0443 20.4859 96.1007 20.5342 96.1489C20.713 96.3338 20.9172 96.5355 21.0833 96.6995C21.1492 96.7647 21.2091 96.8239 21.2591 96.8737C30.9572 106.767 44.4861 112.919 59.4434 112.919C88.9839 112.919 112.928 88.9771 112.928 59.4385Z",fill:"#1E281E",stroke:"white",strokeWidth:6}),(0,d.jsx)("path",{d:"M56.375 102.117C30.9863 102.117 10.3334 81.707 10.3334 56.6169C10.3334 31.5269 30.9863 11.1169 56.375 11.1169C81.7638 11.1169 102.417 31.5269 102.417 56.6169C102.417 81.707 81.7638 102.117 56.375 102.117Z",fill:"#FFD200"}),(0,d.jsx)("path",{d:"M76.6478 54.91C78.5371 56.0836 78.5371 58.833 76.6478 60.0067L49.583 76.8196C47.5846 78.0611 45 76.6239 45 74.2713L45 40.6454C45 38.2927 47.5846 36.8556 49.5831 38.097L76.6478 54.91Z",fill:"#1E281E"})]}),(0,d.jsx)(p.S,{children:u("Play video")})]})]})})})};var ve=je;je.propTypes={className:n().string,children:n().oneOfType([n().node,n().arrayOf(n().node)]),assetPath:n().string.isRequired,posterPath:n().string,alt:n().string,lang:n().oneOf(["en","es","fr","pt"]),dialogLabel:n().string.isRequired,onClick:n().func,hiddenText:n().string,color:n().oneOfType([n().string,n().func]),boxShadow:n().oneOf(["true","false"]),overflow:n().oneOf(["true","false"]),hashId:n().string};const ye=r.default.div.withConfig({componentId:"pmp-module__sc-1tusuh1-0"})(["position:absolute;width:60px;z-index:4;.coin{animation:float "," var(--float-delay,0s) ease-in-out infinite alternate;@keyframes float{to{transform:translateY(-10px);}}}@media ","{width:80px;}@media ","{width:116px;}"],(0,h.d)(2),(0,l.a)("mediumUp"),(0,l.a)("largeUp")),_e=e=>{let{popDelay:t,floatDelay:a,className:i}=e;const o=(0,m.useMemo)((()=>-2*Math.random()),[]);return(0,d.jsx)(h.I,{as:ye,style:{"--pop-delay":`${t||0}s`,"--float-delay":`${a||o}s`},className:i,children:(0,d.jsx)(h.b,{animation:"pop",delay:.3,children:(0,d.jsx)(g.I,{assetPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/wonder-coin",lazyLoad:!1,className:"coin",alt:""})})})};var Ce=_e;_e.propTypes={popDelay:n().number,floatDelay:n().number,className:n().string};const ke=r.default.div.withConfig({componentId:"pmp-module__sc-hc9a89-0"})(["height:48px;width:100%;position:relative;background:transparent;z-index:2;background-repeat:repeat-x;background-size:auto 100%;",""],(e=>{let{border:t}=e;switch(t){case"jagged-blue-bottom":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/smbu9dzkahcyknymcp7d');top:-1px;"]);case"jagged-red-top":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/zxkstbym5iv0ph84foit');top:1px;"]);case"jagged-yellow-bottom":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/mypaf9qglkg0tueqinbf');top:-1px;"]);case"wave-blue-top":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/gdr5op5j4s5bzgqv9rwx');height:46px;top:1px;background-repeat:no-repeat;background-size:100% 100%;@media ","{height:78px;}@media ","{height:141px;}@media ","{background-size:auto 100%;height:201px;}@media ","{height:301px;}"],(0,l.a)("mediumUp"),(0,l.a)("largeUp"),(0,l.a)("xlargeUp"),(0,l.a)("xxlarge"));case"wave-small-blue-top":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/xnvv8jsovbo4vhbsqtrr');top:1px;"]);case"wave-small-pink-bottom":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/vcjxnutdzo84mtgafwft');top:-1px;"]);case"wave-small-pink-top":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/p3uccfcqf6nnl37xwo7s');top:1px;"]);case"wave-small-white-bottom":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/apofoxhpfsvaso7w22ta');top:-1px;"]);case"wave-small-white-top":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/xukftucd4iqt32dvkiu7');top:1px;"]);case"wave-small-white-top-higher":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/xukftucd4iqt32dvkiu7');top:-32px;"]);case"wave-small-yellow-top":return(0,r.css)(["background-image:url('https://assets.nintendo.com/image/upload/f_svg,q_auto/Marketing/pmp_smb-wonder/borders/trenzd3uheqkb589otme');top:1px;"])}})),Ie=e=>{let{border:t,rotate:a,children:i}=e,s=(0,o.Z)(e,k);return(0,d.jsx)(ke,Z(Z({border:t,rotate:a},s),{},{children:i}))};var ze=Ie;Ie.propTypes={border:n().string,rotate:n().bool,children:n().node};const Ne=r.default.div.withConfig({componentId:"pmp-module__sc-1pp7vqa-0"})(["padding:"," 0 ",";.title-2{text-align:center;margin-bottom:",";}.coin-1{left:30%;bottom:-20%;transform:translateX(-50%);}.coin-2{left:50%;bottom:-17.5%;transform:translateX(-50%);}.coin-3{left:70%;bottom:-25%;transform:translateX(-50%);}@media ","{padding:"," 0 ",";.title-2{margin-bottom:",";}}@media ","{padding:"," 0 ",";.title-2{margin-bottom:",";}}"],(0,l.s)(4),(0,l.s)(8),(0,l.s)(3),(0,l.a)("mediumUp"),(0,l.s)(5),(0,l.s)(9),(0,l.s)(4),(0,l.a)("largeUp"),(0,l.s)(7),(0,l.s)(20),(0,l.s)(4.5)),Pe=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-1pp7vqa-1"})(["align-items:center;"]),Ue=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-1pp7vqa-2"})(["position:relative;"]),qe=r.default.div.withConfig({componentId:"pmp-module__sc-1pp7vqa-3"})(["transform:rotate(-5deg);max-width:180px;margin:0 auto ",";@media ","{margin:0;max-width:100%;}"],(0,l.s)(-2),(0,l.a)("mediumUp")),Me=r.default.div.withConfig({componentId:"pmp-module__sc-1pp7vqa-4"})([".stars{width:100%;height:auto;transform:scale(1);animation:animated "," ease-in-out infinite alternate;","}@keyframes animated{to{transform:scale(0);}}"],(0,h.d)(.6),(e=>{let{delay:t}=e;return t?`animation-delay: ${t}s;`:""})),Le={width:233,height:221,flower:{width:180,top:24,left:28},stars:[{width:36,top:-60,left:20},{width:18,top:-40,left:10},{width:24,top:-40,left:200},{width:18,top:130,left:0}],hollows:[{width:60,top:-60,left:160},{width:60,top:100,left:0},{width:36,top:130,left:200}]},Re={width:231,height:219,flower:{width:180,top:14,left:95},stars:[{width:36,top:-60,left:80},{width:18,top:-40,left:70},{width:24,top:-40,left:260},{width:18,top:130,left:60}],hollows:[{width:60,top:-60,left:220},{width:60,top:100,left:60},{width:36,top:130,left:260}]},Se={width:421,height:399,flower:{width:328,top:42,left:150},stars:[{width:48,top:-20,left:160},{width:24,top:10,left:150},{width:36,top:10,left:460},{width:24,top:310,left:460}],hollows:[{width:72,top:-20,left:400},{width:72,top:280,left:120},{width:48,top:280,left:480}]},Oe=e=>{let{content:t}=e,a=(0,o.Z)(e,I);const{mediumUp:i,largeUp:s}=(0,h.u)(),{0:n,1:r}=(0,m.useState)(Le),{videoAlt:l}=(0,h.a)({videoAlt:"2UKboyldRjVeo3i5LUfhzb"});return(0,m.useEffect)((()=>{switch(!0){case s:r(Se);break;case i:r(Re);break;default:r(Le)}}),[i,s]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(h.I,Z(Z({as:Ne},a),{},{id:"wonderflower",children:[(0,d.jsx)(Pe,{children:(0,d.jsx)(Ue,{span:6,children:(0,d.jsx)(h.b,{animation:"shortUp",children:(0,d.jsx)("h3",{className:"title-2 color-white",children:t?.heading})})})}),(0,d.jsxs)(Pe,{children:[(0,d.jsx)(Ue,{span:4,style:{zIndex:1},children:(0,d.jsx)(h.b,{animation:"pop",delay:.3,children:(0,d.jsxs)(u.I,{as:qe,width:n.width,height:n.height,children:[(0,d.jsx)(u.a,{width:n.flower.width,top:n.flower.top,left:n.flower.left,children:(0,d.jsx)(g.I,{assetPath:t?.asset?.primary?.assetPath,alt:t?.asset?.alt,lazyLoad:!1,className:"flower"})}),n.stars.map(((e,t)=>(0,d.jsx)(u.a,{width:e.width,top:e.top,left:e.left,"aria-hidden":"true",children:(0,d.jsx)(Me,{delay:Math.floor(9*Math.random())/8*-1,children:(0,d.jsx)(W,{id:"star-white",className:"stars"})})},t))),n.hollows.map(((e,t)=>(0,d.jsx)(u.a,{width:e.width,top:e.top,left:e.left,"aria-hidden":"true",children:(0,d.jsx)(Me,{delay:Math.floor(9*Math.random())/8*-1,children:(0,d.jsx)(W,{id:"star-hollow",className:"stars"})})},t)))]})})}),(0,d.jsx)(Ue,{span:7,children:(0,d.jsx)(h.b,{animation:"pop",children:(0,d.jsxs)(ve,{assetPath:"https://assets.nintendo.com/video/upload/Microsites/super-mario-bros-wonder/PMP/video/wonder-flowers.mp4",posterPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/video/posters/wonder-flowers",alt:l?.heading,overflow:"true",dialogLabel:t?.heading,hashId:"wonderflower",children:[(0,d.jsx)(Ce,{className:"coin-1"}),(0,d.jsx)(Ce,{className:"coin-2"}),(0,d.jsx)(Ce,{className:"coin-3"})]})})})]})]})),(0,d.jsx)(ze,{border:"wave-small-white-top"})]})};var Ae=Oe;Oe.propTypes={content:n().object.isRequired};const Fe=r.default.div.withConfig({componentId:"pmp-module__sc-tnn2r7-0"})(["margin-bottom:",";padding:0 0 ",";.title-2,p{text-align:center;}.body{margin:"," 0 ",";}.elephant--large{display:none;}@media ","{padding:0 0 ",";}@media ","{padding:0 0 ",";.elephant--large{position:relative;display:block;top:",";}}"],(0,l.s)(-4),(0,l.s)(4),(0,l.s)(2),(0,l.s)(4),(0,l.a)("mediumUp"),(0,l.s)(6),(0,l.a)("largeUp"),(0,l.s)(4),(0,l.s)(5)),Te=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-tnn2r7-1"})(["position:relative;align-items:center;"]),De=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-tnn2r7-2"})(["height:min-content;"]),Ze=r.default.div.withConfig({componentId:"pmp-module__sc-tnn2r7-3"})(["display:flex;flex-direction:column-reverse;.elephant--small{max-width:317px;margin:"," auto ",";}@media ","{flex-direction:row;.elephant--small{position:relative;flex-basis:50%;margin-top:0;margin-right:",";top:",";z-index:4;}}@media ","{.elephant--small{display:none;}}"],(0,l.s)(4),(0,l.s)(-4),(0,l.a)("mediumUp"),(0,l.s)(-7),(0,l.s)(3),(0,l.a)("largeUp")),Ee=e=>{let{content:t}=e,a=(0,o.Z)(e,z);const{videoAlt:i}=(0,h.a)({videoAlt:"3FDUq0exFWep9J5EkmLyH3"});return(0,d.jsx)(d.Fragment,{children:(0,d.jsx)(h.I,Z(Z({as:Fe},a),{},{id:"flowerkingdom",children:(0,d.jsxs)(Te,{stackMedium:!0,children:[(0,d.jsx)(De,{span:6,children:(0,d.jsx)(h.b,{animation:"up",delay:.6,style:{zIndex:1},children:(0,d.jsx)(g.I,{assetPath:t?.asset?.primary?.assetPath,alt:t?.asset?.alt,lazyLoad:!1,className:"elephant--large"})})}),(0,d.jsx)(De,{span:6,children:(0,d.jsx)(Te,{children:(0,d.jsxs)(De,{span:10,children:[(0,d.jsx)(h.b,{animation:"shortUp",children:(0,d.jsx)("h3",{className:"title-2 color-blue-1",children:t?.heading})}),(0,d.jsx)(h.b,{animation:"shortUp",delay:.3,children:(0,d.jsx)(h.e,{data:t?.body,className:"body color-black"})}),(0,d.jsxs)(Ze,{children:[(0,d.jsx)(h.b,{animation:"up",delay:.6,style:{zIndex:2},children:(0,d.jsx)(g.I,{assetPath:t?.asset?.secondary?.assetPath,alt:t?.asset?.alt,lazyLoad:!1,className:"elephant--small",style:{zIndex:1}})}),(0,d.jsx)(h.b,{animation:"pop",delay:.6,children:(0,d.jsx)(ve,{assetPath:"https://assets.nintendo.com/video/upload/Microsites/super-mario-bros-wonder/PMP/video/main-trailer-pmp.mp4",color:"black",className:"video",posterPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/video/posters/main-trailer-pmp",overflow:!0,dialogLabel:t?.heading,hashId:"flowerkingdom",alt:i?.heading})})]})]})})})]})}))})};var He=Ee;Ee.propTypes={content:n().object.isRequired};const Be=r.default.div.withConfig({componentId:"pmp-module__sc-1yhp68k-0"})([""]);var Xe=()=>{const{content_1:e,content_2:t,content_3:a,banner:i}=(0,h.a)({banner:"5k31wTiQRsktyhnV0OKFpc",content_1:"4KcSQqJs0b88cau3UgBe6c",content_2:"2yGyMATIs2Ut9xEASZe9lD",content_3:"6o5B6pxgHIFlK5S1lnWOrp"});return(0,d.jsxs)(Be,{children:[(0,d.jsxs)(ee,{pattern:"blue",children:[(0,d.jsx)(de,{content:e,banner:i}),(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:10,children:(0,d.jsx)(ie,{color:"light-blue"})})}),(0,d.jsx)(Ae,{content:t})]}),(0,d.jsx)(ee,{pattern:"dots-ivory",children:(0,d.jsx)(He,{content:a})})]})};const Ve=r.default.div.withConfig({componentId:"pmp-module__sc-levhdx-0"})(["text-align:center;padding:"," 0 ",";.title-2{margin-bottom:",";}.row{align-items:center;display:flex;flex-direction:column-reverse;}.col{height:min-content;}.image{margin-bottom:",";}@media ","{padding:"," 0 ",";.title-2{margin-bottom:",";}.row{flex-direction:row;}.image{margin-bottom:0;}}@media ","{padding:"," 0 ",";.title-2{margin-bottom:",";}}"],(0,l.s)(8.5),(0,l.s)(5),(0,l.s)(2),(0,l.s)(3),(0,l.a)("mediumUp"),(0,l.s)(8),(0,l.s)(7),(0,l.s)(1),(0,l.a)("largeUp"),(0,l.s)(10),(0,l.s)(8),(0,l.s)(3)),$e=e=>{let{content:t}=e,a=(0,o.Z)(e,N);const{largeUp:i}=(0,h.u)(),s={small:t?.asset?.secondary?.assetPath,large:t?.asset?.primary?.assetPath},{0:n,1:r}=(0,m.useState)(s.small);return(0,m.useEffect)((()=>{if(!0===i)r(s.large);else r(s.small)}),[i]),(0,d.jsx)(h.I,Z(Z({as:Ve},a),{},{children:(0,d.jsxs)(h.R,{className:"row",children:[(0,d.jsx)(h.C,{span:6,large:4,className:"col",children:(0,d.jsxs)(h.b,{animation:"shortUp",children:[(0,d.jsx)("h3",{className:"title-2 color-blue-1",children:t?.heading}),(0,d.jsx)(h.e,{data:t?.body,className:"body--larger text-weight-bold"})]})}),(0,d.jsx)(h.C,{span:6,className:"col",children:(0,d.jsx)(h.b,{animation:"pop",delay:.3,children:(0,d.jsx)(g.I,{assetPath:n,alt:t?.asset?.alt,lazyLoad:!1,className:"image"})})})]})}))};var We=$e;$e.propTypes={content:n().object};const Ke=r.default.span.withConfig({componentId:"pmp-module__sc-4xjr9a-0"})(["display:inline-block;border-radius:36px;border:4px solid ",";background:",";box-shadow:2px 4px 0px 2px ",";padding:6px 24px;@media ","{padding:8px 32px;}"],(0,l.b)("black"),(0,l.b)("ivory"),(0,l.b)("black"),(0,l.a)("mediumUp")),Ye=e=>{let{children:t,className:a="title-4",tag:i="h4"}=e,s=(0,o.Z)(e,P);const n=i;return(0,d.jsx)(n,{children:(0,d.jsx)(Ke,Z(Z({className:a},s),{},{children:t}))})};var Ge=Ye;Ye.propTypes={tag:n().string,children:n().node.isRequired,className:n().string};const Qe=r.default.div.withConfig({componentId:"pmp-module__sc-z251zd-0"})(["",";padding:"," 0 ",";@media ","{padding:"," 0 ",";}"],u.w,(0,l.s)(8),(0,l.s)(9),(0,l.a)("largeUp"),(0,l.s)(8),(0,l.s)(12)),Je=r.default.div.withConfig({componentId:"pmp-module__sc-z251zd-1"})(["--controls-offset:15%;--ease-back-in:cubic-bezier(0.38,-0.37,0.83,0.23);--ease-back-out:cubic-bezier(0.21,0.12,0.35,1.43);.gallery{--gap:0%;--active-gap:80px;--duration:",";}"," position:relative;ul{list-style:none;padding:0;}.gallery__item{max-width:448px;}&::after{"," border-radius:100vmax;content:'';height:0;left:50%;padding-top:50%;position:absolute;top:calc(50% - var(--controls-offset));transform:translate(-50%,-50%);width:60%;}.gallery__pagination-item button{",";}@media ","{--controls-offset:7.5%;.gallery{--gap:0%;--active-gap:60px;}}@media ","{&::after{padding-top:70%;width:80%;}}"],(0,h.d)(.5),(e=>{let{controlsTop:t}=e;return t&&(0,r.css)(["--controlsTop:",";"],t)}),(e=>{let{theme:t}=e;return(0,r.css)(["background-color:",";"],t.pmp.colors["light-blue-alt"])}),(0,h.f)(),(0,l.a)("mediumUp"),(0,l.a)("largeUp")),et=r.default.div.withConfig({componentId:"pmp-module__sc-z251zd-2"})(["transform:scale(0.5);transition-duration:",";transition-property:transform;transition-timing-function:var(--ease-back-in);"," .image{position:absolute;top:-5%;z-index:1;"," ","}.container{padding-top:100%;}"],(0,h.d)(.3),(e=>{let{active:t}=e;return t&&(0,r.css)(["transform:scale(1);transition-delay:",";transition-duration:",";transition-timing-function:var(--ease-back-out);"],(0,h.d)(.2),(0,h.d)(.5))}),(e=>{let{scale:t}=e;return t&&(0,r.css)(["transform:",";"],`scale(${t})`)}),(e=>{let{topPos:t}=e;return t&&(0,r.css)(["top:",";"],t)})),tt=r.default.div.withConfig({componentId:"pmp-module__sc-z251zd-3"})(["position:absolute;bottom:2.5%;left:50%;transform:translate(-50%);transition:transform "," ease,opacity "," ease;opacity:0;z-index:1;",""],(0,h.d)(.3),(0,h.d)(.3),(e=>{let{decorationOpacity:t}=e;return(0,r.css)(["opacity:",";"],t)})),at=r.default.div.withConfig({componentId:"pmp-module__sc-z251zd-4"})(["margin-top:",";text-align:center;opacity:0;transform:scale(0.5) translateY(0);transition-duration:",";transition-property:opacity,transform;.text-container{padding:"," ",";}"," @media ","{.text-container{padding:"," ",";}}"],(0,l.s)(3),(0,h.d)(.3),(0,l.s)(3),(0,l.s)(3.5),(e=>{let{active:t}=e;return t&&(0,r.css)(["opacity:1;transform:scale(1) translateY(0);transition-duration:",";transition-timing-function:var(--ease-back-out);transition-delay:",";"],(0,h.d)(.3),(0,h.d)(.6))}),(0,l.a)("largeUp"),(0,l.s)(3.5),(0,l.s)(4)),it=r.default.div.withConfig({componentId:"pmp-module__sc-z251zd-5"})(["position:absolute;top:calc(50% - var(--controls-offset));transform:translateY(-50%);z-index:10;span{padding:0.5em;}svg{margin:0;}"," ",""],(e=>{let{previous:t}=e;return t&&(0,r.css)(["left:-5%;@media ","{left:0;}@media ","{left:-2%;}"],(0,l.a)("mediumUp"),(0,l.a)("largeUp"))}),(e=>{let{next:t}=e;return t&&(0,r.css)(["right:-5%;@media ","{right:0;}@media ","{right:-2%;}"],(0,l.a)("mediumUp"),(0,l.a)("largeUp"))})),ot=r.default.div.withConfig({componentId:"pmp-module__sc-z251zd-6"})(["width:50px;height:50px;background-color:",";box-shadow:2px 4px 0px 2px ",";border:4px solid ",";&.prev{border-radius:0 100% 100% 0;}&.next{border-radius:100% 0 0 100%;}svg{width:100%;height:100%;transform:scale(1.5);}@media ","{&.prev,&.next{border-radius:100%;}}@media ","{width:70px;height:70px;}"],(0,l.b)("white"),(0,l.b)("black"),(0,l.b)("black"),(0,l.a)("mediumUp"),(0,l.a)("largeUp")),st=r.default.span.withConfig({componentId:"pmp-module__sc-z251zd-7"})(["display:block;position:relative;border-radius:100%;background-color:transparent;width:15px;height:15px;&:before{content:'';width:9px;height:9px;background-color:",";position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border-radius:100%;}",""],(0,l.b)("black"),(e=>{let{active:t}=e;return t&&(0,r.css)(["background-color:",";&:before{background-color:",";}"],(0,l.b)("black"),(0,l.b)("white"))}));var nt=()=>{const{text:e}=(0,b.useLocalizer)(),{0:t,1:a}=(0,m.useState)({oldIndex:0,newIndex:0,direction:0}),i=(0,h.a)({characters:"6h50B7XOdlO2b6vGtzUg36",marioAlt:"1P7RF5pyUChoRzMoVLjwyT",luigiAlt:"4WCW0hCqAC9DiMp7tunodI",peachAlt:"5FV2Usz90RGhzJedwh93nV",daisyAlt:"xrgXf4h5jP0zgTO1XntJ3",toadsAlt:"1pOaGBmqTkImScU5SztkjK",toadetteAlt:"7kh95hwhAwU63zfHYLQ1Le"}),o=(0,f.g)(i.characters),s=[(0,l.b)("red"),(0,l.b)("neon-green"),(0,l.b)("pink"),(0,l.b)("yellow"),(0,l.b)("blue-1"),(0,l.b)("pink")];i.marioAlt?.heading,i.luigiAlt?.heading,i.peachAlt?.heading,i.daisyAlt?.heading,i.toadsAlt?.heading,i.toadetteAlt?.heading;const n=[1.3,1,1,1,1,1],r=["-10%","-15%","-10%","-15%","-15%","-10%"];return(0,d.jsx)(Qe,{children:(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:10,children:(0,d.jsx)(Je,{children:(0,d.jsxs)(x.ri,{style:{"--gap":"-20%"},items:o,onChange:a,activeIndex:t,loop:!0,ariaLiveText:e("Active gallery item: $i of $t."),children:[(0,d.jsx)(x.nH,{renderGalleryItem:e=>{let{item:t,index:a,active:i}=e;return(0,d.jsx)(x.Lm,{index:a,active:i,children:(0,d.jsxs)(et,{active:i,scale:n[a],topPos:r[a],children:[(0,d.jsxs)(xe,{wave:!0,waveType:"b",decorationOpacity:a===i.newIndex?1:0,spinny:!0,corners:[!0,!1,!0,!1],boxShadow:!0,thickboxShadow:!0,bgColor:s[a],overflow:!0,className:"container",children:[(0,d.jsx)(g.I,{assetPath:t?.assetPath,alt:t?.alt,lazyLoad:!1,className:"image"}),(0,d.jsx)(tt,{as:Ge,className:"title-4 color-black",decorationOpacity:a===i.newIndex?1:0,children:t.alt})]}),(0,d.jsx)(at,{active:i,className:"child-spacing--3",children:(0,d.jsx)(xe,{corners:[!1,!0,!1,!0],bgColor:(0,l.b)("black"),small:!0,overflow:!0,className:"text-container",children:(0,d.jsx)("p",{className:"body--smaller color-white",children:t.caption})})})]})},t?.assetPath)}}),(0,d.jsx)(it,{previous:!0,children:(0,d.jsx)(x.__,{direction:0,children:(0,d.jsxs)(ot,{className:"prev",children:[(0,d.jsx)(W,{id:"prev"}),(0,d.jsx)(p.S,{children:e("Previous gallery item")})]})})}),(0,d.jsx)(it,{next:!0,children:(0,d.jsx)(x.__,{direction:1,children:(0,d.jsxs)(ot,{className:"next",children:[(0,d.jsx)(W,{id:"next"}),(0,d.jsx)(p.S,{children:e("Next gallery item")})]})})}),(0,d.jsx)(x.oL,{renderPaginationItem:t=>{let{item:a,index:i,active:o}=t;return(0,d.jsx)(x.UD,{index:i,active:o,children:(0,d.jsx)(st,{active:o,children:(0,d.jsxs)(p.S,{children:[e("Gallery item"),": ",a.alt]})})},a.alt)}})]})})})})})};const rt=r.default.div.withConfig({componentId:"pmp-module__sc-qepnvi-0"})([".title{white-space:normal;}@media ","{align-items:center;display:grid;grid-template-columns:40px 1fr auto 1fr 40px;}"],(0,l.a)("largeUp")),lt=r.default.div.withConfig({componentId:"pmp-module__sc-qepnvi-1"})(["display:none;@media ","{--size:100%;align-items:center;display:grid;gap:4px;grid-template-columns:1.2fr 1fr;&.is-reversed{direction:rtl;}}"],(0,l.a)("largeUp")),dt=r.default.div.withConfig({componentId:"pmp-module__sc-qepnvi-2"})(["display:none;@media ","{--size:4px;--start-x:0;--start-y:0;--start-scale-x:0;--end-scale-x:1;--start-scale-y:1;--easing-fn-show:ease-in-out;align-items:center;display:grid;grid-template-columns:auto 1fr;padding-inline-start:4px;transform-origin:right center;&::before{aspect-ratio:1 / 1;background-color:",";content:'';margin-inline-end:calc(var(--size) / -2);transform:rotate(45deg);width:var(--size);}&::after{background-color:",";content:'';height:var(--size);}&.is-reversed{direction:rtl;transform-origin:left center;}}"],(0,l.a)("largeUp"),(0,l.b)("black"),(0,l.b)("black")),ct=e=>{let{reversed:t}=e,a=(0,o.Z)(e,U);return(0,d.jsxs)(h.I,Z(Z({as:lt,className:t&&"is-reversed",staggerChildren:{animation:"pop",stagger:.3}},a),{},{children:[(0,d.jsx)(W,{id:"star-blue"}),(0,d.jsx)(W,{id:"star-blue"})]}))},pt=e=>{let{reversed:t}=e,a=(0,o.Z)(e,q);return(0,d.jsx)(dt,Z({className:t&&"is-reversed"},a))},mt=e=>{let{children:t,className:a}=e,i=(0,o.Z)(e,M);return(0,d.jsxs)(h.I,Z(Z({as:rt},i),{},{children:[(0,d.jsx)(ct,{reversed:!0}),(0,d.jsx)(h.b,{animation:!0,children:(0,d.jsx)(pt,{})}),(0,d.jsx)(Ge,{className:`${a} title`,children:(0,d.jsx)("h3",{children:t})}),(0,d.jsx)(h.b,{animation:!0,children:(0,d.jsx)(pt,{reversed:!0})}),(0,d.jsx)(ct,{})]}))};var ht=mt;mt.propTypes={children:n().node.isRequired,className:n().string},pt.propTypes={reversed:n().bool},ct.propTypes={reversed:n().bool};const gt=r.default.div.withConfig({componentId:"pmp-module__sc-1gieqz9-0"})(["text-align:center;padding-bottom:",";position:relative;.body--larger{margin:"," 0 ",";}.container{padding:",";margin-bottom:",";}.image{max-height:337px;}.yoshi{position:relative;top:",";img{width:auto;}}.nabbit{position:relative;top:",";}.text-container{padding:",";}.label{position:absolute;z-index:1;bottom:5%;left:50%;transform:translateX(-50%);}.spacing{margin-bottom:",";}@media ","{padding-bottom:",";}@media ","{.body--larger{margin:"," 0 ",";}.container{margin-bottom:",";}.yoshi{top:",";}.text-container{padding:"," ",";}.spacing{margin-bottom:0;}}"],(0,l.s)(4),(0,l.s)(3),(0,l.s)(10),(0,l.s)(2.5),(0,l.s)(2),(0,l.s)(-6),(0,l.s)(-2),(0,l.s)(3),(0,l.s)(5),(0,l.a)("mediumUp"),(0,l.s)(4.5),(0,l.a)("largeUp"),(0,l.s)(4),(0,l.s)(10),(0,l.s)(3),(0,l.s)(-9),(0,l.s)(5),(0,l.s)(4)),ut=r.default.div.withConfig({componentId:"pmp-module__sc-1gieqz9-1"})(["position:absolute;width:100%;height:100%;top:50%;left:50%;transform:translate(-50%,-50%);.relative{width:100%;height:100%;}.coin-4{left:calc(50% - 80px);bottom:-40%;transform:translateX(-50%);}.coin-5{left:50%;bottom:-70%;transform:translateX(-50%);}.coin-6{left:calc(50% + 80px);bottom:-55%;transform:translateX(-50%);}@media ","{.coin-4{left:10%;bottom:0;}.coin-5{left:calc(10% + 96px);bottom:-40%;}.coin-6{left:calc(10% + 192px);bottom:-20%;}}@media ","{.coin-4{left:10%;bottom:0;}.coin-5{left:calc(10% + 116px);bottom:-40%;}.coin-6{left:calc(10% + 232px);bottom:-20%;}}@media ","{.coin-4{left:10%;bottom:20%;}.coin-5{left:calc(10% + 116px);bottom:0%;}.coin-6{left:calc(10% + 232px);bottom:10%;}}"],(0,l.a)("mediumUp"),(0,l.a)("largeUp"),(0,l.a)("xlargeUp")),bt=e=>{let{content:t}=e,a=(0,o.Z)(e,L);const{yoshiAlt:i,nabbitAlt:s}=(0,h.a)({yoshiAlt:"6vFx10Qg7JUPqeQebt0GlZ",nabbitAlt:"2MJoqypjPu8Bh4uBhmZkyi"}),n=t.modules[0],r=t.modules[1],c=t.modules[2],p={yoshi:r?.secondary?.assetPath},u={yoshi:r?.primary?.assetPath},{largeUp:b}=(0,h.u)(),{0:x,1:f}=(0,m.useState)(r?.secondary?.assetPath);return(0,m.useEffect)((()=>{if(!0===b)f(u?.yoshi);else f(p?.yoshi)}),[b]),(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)(h.I,Z(Z({as:gt},a),{},{children:[(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:12,children:(0,d.jsx)(ht,{className:"title-3 color-blue-1",children:n?.heading})})}),(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:10,children:(0,d.jsx)(h.b,{animation:"shortUp",children:(0,d.jsx)(h.e,{data:n?.body,className:"body--larger text-weight-bold"})})})}),(0,d.jsxs)(h.R,{stackMedium:!0,className:"relative",children:[(0,d.jsx)(h.C,{span:6,className:"spacing",children:(0,d.jsx)(h.R,{children:(0,d.jsxs)(h.C,{span:6,large:12,children:[(0,d.jsx)(h.b,{animation:"up",delay:.3,children:(0,d.jsxs)(xe,{corners:[!0,!1,!0,!1],bgColor:(0,l.b)("blue-1"),wave:!0,waveType:"b",overflow:!0,className:"container",children:[(0,d.jsx)(Ge,{className:"title-4 label",children:r?.alt}),(0,d.jsx)(g.I,{assetPath:x,alt:i?.heading,lazyLoad:!1,className:"image yoshi"})]})}),(0,d.jsx)(h.b,{animation:"up",delay:.6,children:(0,d.jsx)(xe,{corners:[!1,!0,!1,!0],bgColor:(0,l.b)("black"),small:!0,overflow:!0,className:"text-container",children:(0,d.jsx)("p",{className:"body--smaller color-white",children:r?.caption})})})]})})}),(0,d.jsx)(h.C,{span:4,children:(0,d.jsx)(h.R,{children:(0,d.jsxs)(h.C,{span:6,large:12,children:[(0,d.jsx)(h.b,{animation:"up",delay:.6,children:(0,d.jsxs)(xe,{corners:[!0,!1,!0,!1],bgColor:(0,l.b)("blue-1"),wave:!0,waveType:"b",overflow:!0,className:"container",children:[(0,d.jsx)(Ge,{className:"title-4 label",children:c?.alt}),(0,d.jsx)(g.I,{assetPath:c?.primary?.assetPath,alt:s?.heading,lazyLoad:!1,className:"image nabbit"})]})}),(0,d.jsx)(h.b,{animation:"up",delay:.9,children:(0,d.jsx)(xe,{corners:[!1,!0,!1,!0],bgColor:(0,l.b)("black"),small:!0,overflow:!0,className:"text-container",children:(0,d.jsx)("p",{className:"body--smaller color-white",children:c?.caption})})})]})})})]})]})),(0,d.jsx)(ze,{border:"wave-blue-top",children:(0,d.jsx)(h.R,{as:ut,children:(0,d.jsxs)(h.C,{span:10,className:"relative",children:[(0,d.jsx)(Ce,{className:"coin-4"}),(0,d.jsx)(Ce,{className:"coin-5"}),(0,d.jsx)(Ce,{className:"coin-6"})]})})})]})};var xt=bt;bt.propTypes={content:n().object};const ft=r.default.div.withConfig({componentId:"pmp-module__sc-adw7ed-0"})(["margin-top:",";.coin-1{left:15%;bottom:0;transform:translateX(-50%);}.coin-2{left:35%;bottom:",";transform:translateX(-50%);}@media ","{.coin-1{left:0;}.coin-2{left:17%;}}@media ","{.coin-1{left:10%;bottom:",";}.coin-2{left:22%;bottom:",";}}"],(0,l.s)(-3),(0,l.s)(-3),(0,l.a)("mediumUp"),(0,l.a)("largeUp"),(0,l.s)(-4),(0,l.s)(-10)),wt=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-adw7ed-1"})([""]),jt=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-adw7ed-2"})(["position:relative;"]);var vt=()=>{const{intro:e,beginners:t}=(0,h.a)({intro:"27bzJ8zXhjKO0g8ht3iYUY",beginners:"6NI6ghOVsVOCeBSb0NxqTw"});return(0,d.jsx)(ft,{id:"characters",children:(0,d.jsxs)(ee,{pattern:"yellow",children:[(0,d.jsx)(We,{content:e}),(0,d.jsx)(wt,{children:(0,d.jsxs)(jt,{span:10,children:[(0,d.jsx)(ie,{color:"ivory"}),(0,d.jsx)(Ce,{className:"coin-1"}),(0,d.jsx)(Ce,{className:"coin-2"})]})}),(0,d.jsx)(nt,{}),(0,d.jsx)(xt,{content:t})]})})};const yt=r.default.div.withConfig({componentId:"pmp-module__sc-7jljru-0"})(["padding:0 0 ",";text-align:center;margin-bottom:",";.title-2{margin-bottom:",";}p{margin-bottom:",";}.coin-1{transform:translateX(-50%);left:37.5%;bottom:-30%;}.coin-2{transform:translateX(-50%);left:62.5%;bottom:-25%;}@media ","{padding:0 0 ",";margin-bottom:",";.title-2{margin-bottom:",";}p{margin-bottom:",";padding:0 ",";}}@media ","{margin-bottom:",";.title-2{margin-bottom:",";}p{padding:0;}.coin-1{left:39%;bottom:-30%;}.coin-2{left:61%;bottom:-25%;}}"],(0,l.s)(8),(0,l.s)(24.5),(0,l.s)(2.5),(0,l.s)(5),(0,l.a)("mediumUp"),(0,l.s)(6),(0,l.s)(25.75),(0,l.s)(1),(0,l.s)(4),(0,l.s)(10),(0,l.a)("largeUp"),(0,l.s)(25.25),(0,l.s)(3)),_t=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-7jljru-1"})(["@media ","{display:flex;align-items:center;}"],(0,l.a)("largeUp")),Ct=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-7jljru-2"})(["height:min-content;"]),kt=e=>{let{content:t}=e,a=(0,o.Z)(e,R);const{videoAlt:i}=(0,h.a)({videoAlt:"5Rm2FVqa56pBX9r40gVxVR"});return(0,d.jsx)(h.I,Z(Z({as:yt},a),{},{children:(0,d.jsx)(_t,{children:(0,d.jsx)(Ct,{span:9,large:12,children:(0,d.jsxs)(_t,{stackMedium:!0,children:[(0,d.jsxs)(Ct,{span:3,children:[(0,d.jsx)(h.b,{animation:"shortUp",delay:.3,children:(0,d.jsx)("h3",{className:"title-2 color-yellow",children:t?.heading})}),(0,d.jsx)(h.b,{animation:"shortUp",delay:.6,children:(0,d.jsx)(h.e,{data:t?.body,className:"body--larger text-weight-bold color-white"})})]}),(0,d.jsx)(Ct,{span:6,children:(0,d.jsx)(h.b,{animation:"pop",delay:.9,children:(0,d.jsxs)(ve,{assetPath:"https://assets.nintendo.com/video/upload/Microsites/super-mario-bros-wonder/PMP/video/power-ups.mp4",color:"white",className:"video",posterPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/video/posters/power-ups",overflow:!0,dialogLabel:t?.heading,alt:i?.heading,children:[(0,d.jsx)(Ce,{className:"coin-1"}),(0,d.jsx)(Ce,{className:"coin-2"})]})})})]})})})}))};var It=kt;kt.propTypes={content:n().object.isRequired};const zt=r.default.div.withConfig({componentId:"pmp-module__sc-1fmeyzj-0"})([""," ",""],(e=>{let{spacing:t}=e;return"true"===t&&(0,r.css)(["margin:"," 0;@media ","{margin:"," 0;}@media ","{margin:"," 0 0;}"],(0,l.s)(22.125),(0,l.a)("mediumUp"),(0,l.s)(20),(0,l.a)("largeUp"),(0,l.s)(9))}),(e=>{let{offCenter:t}=e;return"true"===t&&(0,r.css)(["@media ","{margin:"," 0 0;}"],(0,l.a)("largeUp"),(0,l.s)(6))})),Nt=r.default.div.withConfig({componentId:"pmp-module__sc-1fmeyzj-1"})(["display:flex;flex-direction:column;text-align:center;justify-content:center;padding:0 "," ",";margin-top:",";.fruit{display:block;margin:0 auto;max-width:256px;margin-bottom:",";}.title-4{margin:0 auto;margin-bottom:",";}.body{margin-bottom:",";}@media ","{padding:0 "," ",";.title-4{margin:0 auto;margin-bottom:",";}.body{margin-bottom:",";}}@media ","{padding:0 "," ",";.fruit{margin-bottom:",";}.title-4{margin:0 auto;margin-bottom:",";}.body{margin-bottom:",";}}"],(0,l.s)(2.5),(0,l.s)(3.5),(0,l.s)(-15.5),(0,l.s)(2),(0,l.s)(3),(0,l.s)(4),(0,l.a)("mediumUp"),(0,l.s)(6.5),(0,l.s)(5),(0,l.s)(3.5),(0,l.s)(3),(0,l.a)("largeUp"),(0,l.s)(3),(0,l.s)(4),(0,l.s)(3.5),(0,l.s)(2),(0,l.s)(4)),Pt=[!0,!1,!1,!1],Ut=e=>{let{fruit:t,settings:a}=e,i=(0,o.Z)(e,S);return(0,d.jsx)(zt,Z(Z({spacing:a.spacing,offCenter:a.offCenter},i),{},{children:(0,d.jsx)(xe,{corners:Pt,bgColor:a.bgColor,overflow:!0,children:(0,d.jsxs)(Nt,{children:[(0,d.jsx)(g.I,{assetPath:t?.content?.primary?.assetPath,lazyLoad:!1,alt:t?.content?.alt,className:"fruit"}),(0,d.jsx)(Ge,{className:"title-4 color-black",children:t?.content?.alt}),(0,d.jsx)("p",{className:"body",children:t?.content?.caption}),(0,d.jsx)(xe,{wave:!0,color:"white",children:(0,d.jsx)(g.I,{assetPath:t?.thumbnail,lazyLoad:!1,alt:t?.thumbnailAlt||t?.content?.alt})})]})})}))};var qt=Ut;Ut.propTypes={fruit:n().object.isRequired,settings:n().object.isRequired};const Mt=r.default.div.withConfig({componentId:"pmp-module__sc-1v54u5i-0"})(["padding:"," 0 ",";@media ","{padding:"," 0 ",";}@media ","{padding:"," 0 ",";}"],(0,l.s)(8),(0,l.s)(7),(0,l.a)("mediumUp"),(0,l.s)(6),(0,l.s)(7),(0,l.a)("largeUp"),(0,l.s)(6),(0,l.s)(14)),Lt=r.default.div.withConfig({componentId:"pmp-module__sc-1v54u5i-1"})([""]);var Rt=e=>{let t=Object.assign({},e);const{intro:a,content_1:i,content_2:o,content_3:s,fruit_1_alt:n,fruit_2_alt:r,fruit_3_alt:c}=(0,h.a)({intro:"3MWbiMl1KGoehWPnuLjwa5",content_1:"1xWMuAgvQz6OlSN3mdVZAc",content_2:"2aY66s2DKpbnW1XEaDOyFy",content_3:"3RZwp4ENwx4vuBB4xO0Vts",fruit_1_alt:"7v4a9DSWxl8d2UgBPRGYqy",fruit_2_alt:"2CQVygnho1DonHEM0g3AyF",fruit_3_alt:"4SDHc5dLyutQbjgjlkOZ8D"}),p={fruit_1:{content:i,thumbnail:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/elephant-fruit",thumbnailAlt:n?.heading},fruit_2:{content:o,thumbnail:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/bubble-flower",thumbnailAlt:r?.heading},fruit_3:{content:s,thumbnail:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/drill-mushroom",thumbnailAlt:c?.heading}},m=[{bgColor:(0,l.b)("blue-2"),spacing:"false",offCenter:"false"},{bgColor:(0,l.b)("pink"),spacing:"true",offCenter:"false"},{bgColor:(0,l.b)("yellow"),spacing:"false",offCenter:"true"}];return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ee,{pattern:"gradient-blue",children:(0,d.jsxs)(Mt,Z(Z({},t),{},{children:[(0,d.jsx)(It,{content:a}),(0,d.jsx)(h.I,{as:Lt,children:(0,d.jsx)(h.R,{children:Object.keys(p).map(((e,t)=>(0,d.jsx)(h.C,{span:9,large:4,children:(0,d.jsx)(h.b,{animation:"up",delay:.3*t,children:(0,d.jsx)(qt,{fruit:p[e],settings:m[t]})})},t)))})})]}))}),(0,d.jsx)(ze,{border:"jagged-blue-bottom"})]})};const St=r.default.div.withConfig({componentId:"pmp-module__sc-lk0fmd-0"})(["text-align:center;margin-bottom:",";@media ","{","}"],(0,l.s)(5),(0,l.a)("largeUp"),(e=>{let{offCenter:t}=e;return t&&(0,r.css)(["margin-top:",";"],(0,l.s)(7))})),Ot=r.default.div.withConfig({componentId:"pmp-module__sc-lk0fmd-1"})(["position:relative;box-shadow:2px 4px 0 2px ",";border-radius:100%;width:100%;padding-top:100%;"," .badge{width:73.364%;height:auto;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);}"],(0,l.b)("black"),(e=>{let{bgSrc:t}=e;return t&&(0,r.css)(["background-image:url(",");"],t)})),At=r.default.div.withConfig({componentId:"pmp-module__sc-lk0fmd-2"})(["position:relative;margin-top:",";z-index:1;.body{margin-top:",";}@media ","{margin-top:",";.body{margin-top:",";}}"],(0,l.s)(-3),(0,l.s)(2),(0,l.a)("largeUp"),(0,l.s)(-3.5),(0,l.s)(3)),Ft=e=>{let{content:t,bgSrc:a,offCenter:i}=e,s=(0,o.Z)(e,O);return(0,d.jsxs)(St,Z(Z({offCenter:i},s),{},{children:[(0,d.jsx)(Ot,{bgSrc:a,children:(0,d.jsx)(g.I,{assetPath:t?.primary?.assetPath,alt:t?.alt,lazyLoad:!1,className:"badge"})}),(0,d.jsxs)(At,{children:[(0,d.jsx)(Ge,{className:"title-4 color-blue-1",children:t?.alt}),(0,d.jsx)("p",{className:"body",children:t?.caption})]})]}))};var Tt=Ft;Ft.propTypes={content:n().object.isRequired,bgSrc:n().string.isRequired,offCenter:n().bool};const Dt=r.default.div.withConfig({componentId:"pmp-module__sc-gh4oi9-0"})(["margin-top:",";padding:"," 0 ",";.luigi{margin:0 auto;margin-top:",";max-width:312px;}.badges{position:relative;z-index:4;margin-top:",";}@media ","{padding:"," 0 ",";.luigi{max-width:288px;margin:0;margin-top:",";}.container{left:-10%;}.badges{margin-top:",";}}@media ","{padding:"," 0 ",";.luigi{max-width:none;margin-top:",";}.container{left:auto;}.badges{margin-top:",";}}@media ","{.badges{margin-top:",";}}"],(0,l.s)(-4),(0,l.s)(8),(0,l.s)(5.5),(0,l.s)(-5),(0,l.s)(-18),(0,l.a)("mediumUp"),(0,l.s)(9),(0,l.s)(3),(0,l.s)(-12.625),(0,l.s)(5),(0,l.a)("largeUp"),(0,l.s)(14.5),(0,l.s)(6),(0,l.s)(-20),(0,l.s)(-10),(0,l.a)("xlargeUp"),(0,l.s)(-20)),Zt=r.default.div.withConfig({componentId:"pmp-module__sc-gh4oi9-1"})(["text-align:center;padding:",";.title-2{margin-bottom:",";}.video{margin-top:",";}@media ","{padding:",";.video{margin-top:",";}}@media ","{padding:"," ",";.video{margin-top:",";}}"],(0,l.s)(3),(0,l.s)(2),(0,l.s)(4),(0,l.a)("mediumUp"),(0,l.s)(3),(0,l.s)(2.5),(0,l.a)("largeUp"),(0,l.s)(5),(0,l.s)(6),(0,l.s)(5)),Et=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-gh4oi9-2"})(["display:flex;flex-direction:column-reverse;@media ","{flex-direction:row;}"],(0,l.a)("mediumUp")),Ht=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-gh4oi9-3"})(["@media ","{display:flex;justify-content:flex-end;}@media ","{justify-content:flex-start;}"],(0,l.a)("mediumUp"),(0,l.a)("largeUp"));var Bt=e=>{let t=Object.assign({},e);const{intro:a,action:i,boost:o,expert:s,videoAlt:n}=(0,h.a)({intro:"6ITTVZVr4GCh0vbHlDNKvN",action:"4clbeKQrvgXxwr32bMgFys",boost:"3RSBB4FI0Sz7PCwGsyoW8",expert:"2Q1MPhv5m643lf2Ui79Iog",videoAlt:"1gD1QhxmnyrQeKlDDXvtIX"}),r=["https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/badges/background-1","https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/badges/background-2","https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/badges/background-3"];return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ee,{pattern:"dots-ivory",children:(0,d.jsxs)(Dt,Z(Z({},t),{},{children:[(0,d.jsx)(h.I,{children:(0,d.jsxs)(Et,{children:[(0,d.jsx)(Ht,{span:6,large:5,style:{zIndex:3},children:(0,d.jsx)(h.b,{animation:"right",delay:.3,children:(0,d.jsx)(g.I,{assetPath:a?.asset?.primary?.assetPath,alt:a?.asset?.alt,lazyLoad:!1,className:"luigi"})})}),(0,d.jsx)(Ht,{span:6,large:5,children:(0,d.jsx)(h.b,{animation:"left",children:(0,d.jsx)(xe,{bgColor:(0,l.b)("pink"),boxShadow:!0,overflow:!0,className:"container",children:(0,d.jsxs)(Zt,{children:[(0,d.jsx)("h3",{className:"title-2 color-black",children:a?.heading}),(0,d.jsx)(h.e,{data:a?.body}),(0,d.jsx)(ve,{assetPath:"https://assets.nintendo.com/video/upload/Microsites/super-mario-bros-wonder/PMP/video/pins.mp4",posterPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/video/posters/pins",dialogLabel:a?.heading,color:"black",overflow:!0,className:"video",alt:n?.heading})]})})})})]})}),(0,d.jsx)(h.I,{children:(0,d.jsxs)(h.R,{className:"badges",children:[(0,d.jsx)(h.C,{span:6,large:4,children:(0,d.jsx)(h.b,{animation:"up",children:(0,d.jsx)(Tt,{content:i,bgSrc:r[0]})})}),(0,d.jsx)(h.C,{span:6,large:4,children:(0,d.jsx)(h.b,{animation:"up",delay:.3,children:(0,d.jsx)(Tt,{content:o,bgSrc:r[1],offCenter:!0})})}),(0,d.jsx)(h.C,{span:6,large:4,children:(0,d.jsx)(h.b,{animation:"up",delay:.6,children:(0,d.jsx)(Tt,{content:s,bgSrc:r[2]})})})]})})]}))}),(0,d.jsx)(ze,{border:"wave-small-white-bottom"})]})};const Xt=r.default.div.withConfig({componentId:"pmp-module__sc-gkwb5m-0"})(["text-align:center;padding:"," 0;position:relative;background:url('https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/multiplayer/mp-bg-image-x-large-2x');background-size:cover;background-position:center;margin:"," 0;.title-3{margin-bottom:",";}.container{padding:",";overflow:visible;}.col{position:relative;}.coin-1,.coin-2,.coin-3{display:none;}@media ","{.image{position:absolute;top:50%;left:0;transform:translateY(-50%);}.coin-1{display:block;left:15%;bottom:-40%;transform:translateX(-50%);}.coin-2{display:block;left:28%;bottom:-45%;transform:translateX(-50%);}.coin-3{display:block;left:42%;bottom:-40%;transform:translateX(-50%);}}@media ","{padding:"," ",";.title{margin-bottom:",";}.container{padding:",";}.coin-1{left:10%;bottom:-70%;}.coin-2{left:22.5%;bottom:-75%;}.coin-3{left:35%;bottom:-70%;}}"],(0,l.s)(11),(0,l.s)(-6),(0,l.s)(2),(0,l.s)(3),(0,l.a)("mediumUp"),(0,l.a)("largeUp"),(0,l.s)(21),(0,l.s)(15),(0,l.s)(3),(0,l.s)(6)),Vt=e=>{let{content:t}=e,a=(0,o.Z)(e,A);return(0,d.jsx)(h.I,Z(Z({as:Xt},a),{},{children:(0,d.jsx)(h.R,{className:"relative",children:(0,d.jsx)(h.C,{span:12,children:(0,d.jsx)(h.b,{animation:"up",children:(0,d.jsx)(xe,{className:"container",boxShadow:!0,overflow:!0,children:(0,d.jsxs)(h.R,{children:[(0,d.jsxs)(h.C,{span:6,children:[(0,d.jsx)("h3",{className:"title-3 color-blue-1",children:t?.heading}),(0,d.jsx)(h.e,{data:t?.body})]}),(0,d.jsx)(h.C,{span:6,className:"col",children:(0,d.jsx)(g.I,{assetPath:t?.asset?.primary?.assetPath,alt:t?.asset?.alt,lazyLoad:!1,className:"image"})})]})})})})})}))};var $t=Vt;Vt.propTypes={content:n().object.isRequired};const Wt=r.default.div.withConfig({componentId:"pmp-module__sc-plwx3l-0"})(["position:relative;text-align:center;padding:"," 0 0;"," .video{position:relative;overflow:visible;}.title-4{position:absolute;top:",";left:50%;transform:translateX(-50%);z-index:1;}.body{margin-top:",";}.spacing{margin-bottom:",";}.divider{margin-top:",";}@media ","{padding:"," 0 0;"," .spacing{margin-top:",";margin-bottom:0;}.divider{margin-top:",";}}@media ","{padding:"," 0 0;"," .spacing{margin-top:",";}}@media ","{","}"],(0,l.s)(6),(e=>{let{padding:t}=e;return t&&(0,r.css)(["margin-bottom:",";padding-bottom:",";"],(0,l.s)(-4),(0,l.s)(10))}),(0,l.s)(-4),(0,l.s)(3),(0,l.s)(8),(0,l.s)(5),(0,l.a)("mediumUp"),(0,l.s)(8),(e=>{let{padding:t}=e;return t&&(0,r.css)(["margin-bottom:",";padding-bottom:",";"],(0,l.s)(-4),(0,l.s)(10))}),(0,l.s)(2),(0,l.s)(8),(0,l.a)("largeUp"),(0,l.s)(10),(e=>{let{padding:t}=e;return t&&(0,r.css)(["margin-bottom:",";padding-bottom:",";"],(0,l.s)(-4),(0,l.s)(10))}),(0,l.s)(4),(0,l.a)("xlargeUp"),(e=>{let{padding:t}=e;return t&&(0,r.css)(["margin-bottom:",";padding-bottom:",";"],(0,l.s)(-4),(0,l.s)(20))})),Kt=r.default.div.withConfig({componentId:"pmp-module__sc-plwx3l-1"})(["position:relative;z-index:4;"]),Yt={parent:{width:375,height:113},bulls:[{width:172,top:29.58,left:10},{width:172,top:-6,left:188.31},{width:172,top:5.71,left:295.51},{width:0,top:0,left:0}]},Gt={parent:{width:663,height:94},bulls:[{width:172,top:8.58,left:200},{width:172,top:-34,left:378.31},{width:172,top:10.71,left:485.51},{width:0,top:0,left:0}]},Qt={parent:{width:1440,height:228},bulls:[{width:339,top:24,left:129},{width:339,top:83,left:549},{width:339,top:-20,left:854},{width:339,top:36,left:1065}]},Jt=e=>{let{local:t,localVideoAlt:a,online:i,onlineVideoAlt:s}=e,n=(0,o.Z)(e,F);const{breakpointName:r,mediumUp:l,largeUp:c}=(0,h.u)(),{locale:p}=(0,h.c)(),{0:b,1:x}=(0,m.useState)(Yt);(0,m.useEffect)((()=>{switch(!0){case c:x(Qt);break;case l:x(Gt);break;default:x(Yt)}}),[r]);return(0,d.jsxs)(ee,{pattern:"gradient-yellow",children:[(0,d.jsxs)(h.I,Z(Z({as:Wt,padding:p.includes("es-")||"pt-br"===p},n),{},{children:[(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:12,children:(0,d.jsxs)(h.R,{children:[(0,d.jsx)(h.C,{span:5,className:"spacing",children:(0,d.jsxs)(h.b,{animation:"up",children:[(0,d.jsx)(ve,{assetPath:"https://assets.nintendo.com/video/upload/Microsites/super-mario-bros-wonder/PMP/video/local-multiplayer.mp4",posterPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/video/posters/local-multiplayer",color:"black",className:"video",overflow:!0,dialogLabel:t?.heading,alt:a?.heading,children:(0,d.jsx)(Ge,{className:"title-4 color-blue-1",children:t?.heading})}),(0,d.jsx)(h.e,{data:t?.body,className:"body"})]})}),(0,d.jsx)(h.C,{span:5,children:(0,d.jsxs)(h.b,{animation:"up",delay:.3,children:[(0,d.jsx)(ve,{assetPath:"https://assets.nintendo.com/video/upload/Microsites/super-mario-bros-wonder/PMP/video/online-multiplayer.mp4",posterPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Microsites/super-mario-bros-wonder/PMP/video/posters/online-multiplayer",color:"black",className:"video",overflow:!0,dialogLabel:i?.heading,hashId:"online",alt:s?.heading,children:(0,d.jsx)(Ge,{className:"title-4 color-blue-1",children:i?.heading})}),(0,d.jsx)(h.e,{data:i?.body,className:"body"})]})})]})})}),(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:10,children:(0,d.jsx)(ie,{color:"blue",className:"divider"})})})]})),!p.includes("es-")&&"pt-br"!==p&&(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:12,children:(0,d.jsx)(h.I,{as:Kt,children:(0,d.jsx)(u.I,{width:b.parent.width,height:b.parent.height,children:["https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/multiplayer/bulrush-2x","https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/multiplayer/bulrush-2x","https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/multiplayer/bulrush-2x","https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/multiplayer/bulrush-2x"].map(((e,t)=>(0,d.jsx)(u.a,{width:b.bulls[t].width,top:b.bulls[t].top,left:b.bulls[t].left,children:(0,d.jsx)(h.b,{animation:"left",delay:.2*t,children:(0,d.jsx)(g.I,{assetPath:e,lazyLoad:!1,alt:""})})},t)))})})})})]})};var ea=Jt;Jt.propTypes={local:n().object.isRequired,localVideoAlt:n().string,online:n().object.isRequired,onlineVideoAlt:n().string};const ta=r.default.div.withConfig({componentId:"pmp-module__sc-11e5d8m-0"})(["scroll-margin-top:150px;"]),aa=r.default.div.withConfig({componentId:"pmp-module__sc-11e5d8m-1"})(["position:absolute;width:100%;height:100%;top:50%;left:50%;transform:translate(-50%,-50%);.relative{width:100%;height:100%;}.coin-1,.coin-2,.coin-3{display:none;}@media ","{.coin-1,.coin-2,.coin-3{display:block;transform:translateX(-50%);}.coin-1{left:5%;bottom:-70%;}.coin-2{left:calc(5% + 96px);bottom:-100%;}.coin-3{left:calc(5% + 192px);bottom:-85%;}}@media ","{.coin-1{left:15%;bottom:-70%;}.coin-2{left:calc(15% + 148px);bottom:-100%;}.coin-3{left:calc(15% + 296px);bottom:-85%;}}@media ","{.coin-1{left:15%;bottom:-70%;}.coin-2{left:calc(15% + 148px);bottom:-100%;}.coin-3{left:calc(15% + 296px);bottom:-85%;}}"],(0,l.a)("mediumUp"),(0,l.a)("largeUp"),(0,l.a)("xlargeUp")),ia="multiplayer";var oa=e=>{let t=Object.assign({},e);const{intro:a,local:i,online:o,localVideoAlt:s,onlineVideoAlt:n}=(0,h.a)({intro:"fj8a8StZoRaxRrytLODpr",local:"1tgfx0sI9TeS7u5qosZD1X",online:"4vpb1eCdgKAhkrX3xjWAXi",localVideoAlt:"UqXrBGBIo2Q42WlTKr9wx",onlineVideoAlt:"9CrgD2HVKRSMbCXuNYG11"}),{locale:r}=(0,h.c)();return(0,c.u)({id:ia}),(0,d.jsxs)(ta,Z(Z({},t),{},{id:ia,children:[(0,d.jsx)($t,{content:a}),(0,d.jsx)(ze,{border:"wave-small-yellow-top",children:(0,d.jsx)(h.R,{as:aa,children:(0,d.jsxs)(h.C,{span:10,className:"relative",children:[(0,d.jsx)(Ce,{className:"coin-1"}),(0,d.jsx)(Ce,{className:"coin-2"}),(0,d.jsx)(Ce,{className:"coin-3"})]})})}),(0,d.jsx)(ea,{local:i,localVideoAlt:s,online:o,onlineVideoAlt:n}),!r.includes("es-")&&"pt-br"!==r&&(0,d.jsx)(ze,{border:"jagged-yellow-bottom"})]}))};const sa=r.default.div.withConfig({componentId:"pmp-module__sc-19a1gst-0"})(["text-align:center;padding:"," 0 ",";margin:"," 0 ",";.image-group{margin:0 auto ",";}@media ","{padding:"," 0 ",";}@media ","{padding:"," 0 ",";.image-group{margin:0 auto;}}"],(0,l.s)(11),(0,l.s)(16),(0,l.s)(-4),(0,l.s)(-4),(0,l.s)(3),(0,l.a)("mediumUp"),(0,l.s)(11),(0,l.s)(10.5),(0,l.a)("largeUp"),(0,l.s)(12),(0,l.s)(8.5)),na=r.default.div.withConfig({componentId:"pmp-module__sc-19a1gst-1"})([".title-4{margin-bottom:",";}.body{margin-bottom:",";}"],(0,l.s)(1),(0,l.s)(3)),ra=r.default.a.withConfig({componentId:"pmp-module__sc-19a1gst-2"})(["cursor:pointer;display:inline-flex;align-items:center;border-radius:15px;border:4px solid ",";background:",";box-shadow:2px 4px 0px 2px ",";padding:"," ",";transition:transform "," ease;span{margin:0 ",";}.star{width:16px;height:16px;}&:hover{transform:translate(-2px,-2px);}"],(0,l.b)("black"),(0,l.b)("blue-1"),(0,l.b)("black"),(0,l.s)(2),(0,l.s)(5),(0,h.d)(.3),(0,l.s)(1)),la=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-19a1gst-3"})(["align-items:center;scroll-margin-top:150px;"]),da=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-19a1gst-4"})(["height:min-content;"]),ca={parent:{width:486,height:353},items:{blob:{left:61,top:0,width:359},ns:{left:0,top:0,width:486}}},pa={parent:{width:683,height:527},items:{blob:{left:72,top:0,width:532},ns:{left:0,top:25,width:683}}};var ma=e=>{let t=Object.assign({},e);const{content:a}=(0,h.a)({content:"1q7h6jWnoKfQ8uIAJmhr1D"}),{largeUp:i}=(0,h.u)(),{locale:o}=(0,h.c)(),{0:s,1:n}=(0,m.useState)(ca.parent),{0:r,1:l}=(0,m.useState)(ca.items.ns),{0:p,1:b}=(0,m.useState)(ca.items.blob);return(0,c.u)({id:"hardware"}),(0,m.useEffect)((()=>{if(!0===i)n(pa.parent),l(pa.items.ns),b(pa.items.blob);else n(ca.parent),l(ca.items.ns),b(ca.items.blob)}),[i]),!o.includes("es-")&&"pt-br"!==o&&(0,d.jsx)(ee,{pattern:"ivory",children:(0,d.jsx)(h.I,Z(Z({as:sa},t),{},{children:(0,d.jsxs)(la,{stackMedium:!0,id:"hardware",children:[(0,d.jsx)(da,{span:6,children:(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:10,large:12,children:(0,d.jsxs)(u.I,{width:s.width,height:s.height,className:"image-group",children:[(0,d.jsx)(u.a,{width:p.width,left:p.left,top:p.top,children:(0,d.jsx)(h.b,{animation:"pop",children:(0,d.jsx)(g.I,{assetPath:a?.asset?.secondary?.assetPath,alt:a?.alt,lazyLoad:!1})})}),(0,d.jsx)(u.a,{width:r.width,left:r.left,top:r.top,children:(0,d.jsx)(h.b,{animation:"pop",delay:.3,children:(0,d.jsx)(g.I,{assetPath:a?.asset?.primary?.assetPath,alt:a?.asset?.alt,lazyLoad:!1})})})]})})})}),(0,d.jsx)(da,{span:4,children:(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:10,large:12,children:(0,d.jsx)(h.b,{animation:"shortUp",delay:.6,children:(0,d.jsxs)(na,{children:[(0,d.jsx)("h3",{className:"title-4 color-black",children:a?.heading}),(0,d.jsx)(h.e,{data:a?.body,className:"body color-black"}),(0,d.jsxs)(ra,{href:a?.cta?.url,rel:"noopener noreferrer",children:[(0,d.jsx)(W,{id:"star",className:"star"}),(0,d.jsx)("span",{className:"cta-primary color-white",children:a?.cta?.label}),(0,d.jsx)(W,{id:"star",className:"star"})]})]})})})})})]})}))})};const ha=r.default.div.withConfig({componentId:"pmp-module__sc-w68xic-0"})(["padding:0 0 ",";a{text-decoration:underline;}.divider{margin-top:",";}.coin-1{left:15%;bottom:0;transform:translateX(-50%);}.coin-2{left:35%;bottom:",";transform:translateX(-50%);}@media ","{padding:"," 0 ",";.divider{margin-top:",";}.coin-1{left:0;}.coin-2{left:17%;}}@media ","{padding:10% 0 ",";.divider{margin-top:",";}.coin-1{left:10%;bottom:",";}.coin-2{left:22%;bottom:",";}}"],(0,l.s)(5),(0,l.s)(7),(0,l.s)(-3),(0,l.a)("mediumUp"),(0,l.s)(7),(0,l.s)(8),(0,l.s)(6),(0,l.a)("largeUp"),(0,l.s)(14),(0,l.s)(10.5),(0,l.s)(-4),(0,l.s)(-10)),ga=r.default.div.withConfig({componentId:"pmp-module__sc-w68xic-1"})(["margin-bottom:",";.image{max-width:270px;margin:"," auto ",";}@media ","{.image{margin:0 0 0 ",";max-width:none;}.container{margin-right:",";}}@media ","{margin-bottom:",";.image{margin:"," 0 0 ",";}.container{margin-right:",";}}"],(0,l.s)(6),(0,l.s)(-5),(0,l.s)(-3),(0,l.a)("mediumUp"),(0,l.s)(-3),(0,l.s)(-3),(0,l.a)("largeUp"),(0,l.s)(10),(0,l.s)(-18.75),(0,l.s)(-6),(0,l.s)(-6)),ua=r.default.div.withConfig({componentId:"pmp-module__sc-w68xic-2"})(["text-align:center;padding:"," ",";.title-3{margin-bottom:",";}.body{margin-bottom:",";}@media ","{padding:"," ",";.title-3{margin-bottom:",";}.body{margin-bottom:",";}}"],(0,l.s)(4),(0,l.s)(3),(0,l.s)(2),(0,l.s)(2),(0,l.a)("largeUp"),(0,l.s)(7.5),(0,l.s)(6),(0,l.s)(3),(0,l.s)(3)),ba=r.default.div.withConfig({componentId:"pmp-module__sc-w68xic-3"})(["width:78%;padding:"," ",";background-color:",";border-radius:20px;margin:0 auto ",";@media ","{width:60%;margin:0 auto ",";}@media ","{width:50%;padding:"," ",";margin:0 auto ",";}"],(0,l.s)(2),(0,l.s)(4),(0,l.b)("mario-red"),(0,l.s)(3),(0,l.a)("mediumUp"),(0,l.s)(2),(0,l.a)("largeUp"),(0,l.s)(3),(0,l.s)(5),(0,l.s)(4.5)),xa=r.default.div.withConfig({componentId:"pmp-module__sc-w68xic-4"})(["@media ","{.container{margin:0 ",";}}@media ","{.container{margin:0;}}"],(0,l.a)("mediumUp"),(0,l.s)(12),(0,l.a)("largeUp")),fa=r.default.div.withConfig({componentId:"pmp-module__sc-w68xic-5"})(["text-align:center;margin:0 0 ",";.title-4{margin-bottom:",";}.body{margin-bottom:",";}@media ","{margin:0 "," ",";.body{margin-bottom:",";}}@media ","{margin:0;.title-4{margin-bottom:",";}.body{margin-bottom:",";}}"],(0,l.s)(5),(0,l.s)(2),(0,l.s)(3),(0,l.a)("mediumUp"),(0,l.s)(6),(0,l.s)(4),(0,l.s)(2),(0,l.a)("largeUp"),(0,l.s)(1),(0,l.s)(3)),wa=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-w68xic-6"})(["display:flex;flex-direction:column-reverse;@media ","{flex-direction:row;align-items:center;}@media ","{align-items:flex-end;}"],(0,l.a)("mediumUp"),(0,l.a)("largeUp")),ja=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-w68xic-7"})(["display:flex;height:min-content;"]);var va=e=>{let t=Object.assign({},e);const{membership:a,vouchers:i}=(0,h.a)({membership:"5PKCKS3EJTCXBZYARe3ME",vouchers:"4TzYlDJSSJZt3CmsNTCxYc"});return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(ze,{border:"jagged-red-top"}),(0,d.jsxs)(ee,{pattern:"red",children:[(0,d.jsxs)(ha,Z(Z({},t),{},{children:[(0,d.jsx)(h.I,{as:ga,children:(0,d.jsxs)(wa,{gutterless:!0,children:[(0,d.jsx)(h.C,{span:7,large:6,children:(0,d.jsx)(h.b,{animation:"right",children:(0,d.jsx)(xe,{className:"container",boxShadow:!0,corners:[!0,!1,!0,!1],overflow:!0,children:(0,d.jsxs)(ua,{children:[(0,d.jsx)(ba,{children:(0,d.jsx)(g.I,{assetPath:"https://assets.nintendo.com/image/upload/f_auto,q_auto/Marketing/pmp_smb-wonder/switch_online_logo",alt:"Nintendo Switch Online",lazyLoad:!1,className:"logo"})}),(0,d.jsx)("h3",{className:"title-3 color-red",children:a?.heading}),(0,d.jsx)(h.e,{data:a?.body,className:"body"}),(0,d.jsx)("a",{href:a?.cta?.url,rel:"noopener noreferrer",children:a?.cta?.label})]})})})}),(0,d.jsx)(ja,{span:5,large:5,children:(0,d.jsx)(h.b,{animation:"left",delay:.3,style:{zIndex:4},children:(0,d.jsx)(g.I,{assetPath:a?.asset?.primary?.assetPath,alt:a?.asset?.alt,className:"image",lazyLoad:!1})})})]})}),(0,d.jsxs)(h.I,{as:xa,children:[(0,d.jsxs)(h.R,{stackMedium:!0,children:[(0,d.jsx)(h.C,{span:5,children:(0,d.jsx)(h.b,{animation:"right",children:(0,d.jsxs)(fa,{children:[(0,d.jsx)("h4",{className:"title-4 color-white",children:i?.heading}),(0,d.jsx)(h.e,{data:i?.body,className:"body color-white"}),(0,d.jsx)("a",{href:i?.cta?.url,rel:"noopener noreferrer",className:"color-white",children:i?.cta?.label})]})})}),(0,d.jsx)(h.C,{span:5,children:(0,d.jsx)(h.b,{animation:"left",delay:.3,children:(0,d.jsx)(xe,{className:"container",children:(0,d.jsx)(g.I,{assetPath:i?.asset?.primary?.assetPath,alt:i?.asset?.alt,className:"image",lazyLoad:!0})})})})]}),(0,d.jsx)(h.R,{children:(0,d.jsxs)(h.C,{span:10,style:{position:"relative"},children:[(0,d.jsx)(ie,{color:"ivory",className:"divider"}),(0,d.jsx)(Ce,{className:"coin-1"}),(0,d.jsx)(Ce,{className:"coin-2"})]})})]})]})),(0,d.jsx)(ze,{border:"wave-small-blue-top"})]})]})};const ya=r.default.div.withConfig({componentId:"pmp-module__sc-u0nd3n-0"})(["padding:"," 0;.bubble-wrapper{display:grid;align-items:end;position:relative;z-index:1;width:max-content;margin:0 auto;}.text-bubble{position:relative;list-style:none;font-weight:",";&.quote{background-color:",";padding:"," ",";text-align:center;border-radius:45px;opacity:0;transform:translateX(100%);transition:opacity "," ease,transform "," ease;grid-column:1;grid-row:1;&:before{content:'';width:0;height:0;border-left:10px solid transparent;border-right:10px solid transparent;border-top:20px solid ",";position:absolute;bottom:-16px;left:50%;transform:translateX(-50%);}&.quote--active{transform:translateX(0%);opacity:1;}@media ","{padding:"," ",";&:before{top:50%;bottom:auto;left:-16px;border-left:none;border-top:10px solid transparent;border-bottom:10px solid transparent;border-right:20px solid ",";transform:translateY(-50%);}}@media ","{padding:"," ",";}}}"," .bubble-wrapper{width:auto;}.flower{margin:"," auto 0;max-width:209px;}@media ","{padding:"," 0;"," .flower{margin-top:0;}}"],(0,l.s)(2),(0,l.t)("bold"),(0,l.b)("white"),(0,l.s)(3),(0,l.s)(3),(0,h.d)(.6),(0,h.d)(.6),(0,l.b)("white"),(0,l.a)("mediumUp"),(0,l.s)(3),(0,l.s)(3),(0,l.b)("white"),(0,l.a)("largeUp"),(0,l.s)(3),(0,l.s)(11),(e=>{let{paddingBottom:t}=e;return t&&(0,r.css)(["padding:"," 0 ",";"],(0,l.s)(2),(0,l.s)(7))}),(0,l.s)(4),(0,l.a)("mediumUp"),(0,l.s)(4),(e=>{let{paddingBottom:t}=e;return t&&(0,r.css)(["padding:"," 0 ",";"],(0,l.s)(4),(0,l.s)(9))})),_a=(0,r.default)(h.R).withConfig({componentId:"pmp-module__sc-u0nd3n-1"})(["align-items:center;&.column-reverse{display:flex;flex-direction:column-reverse;@media ","{flex-direction:row;}}"],(0,l.a)("mediumUp")),Ca=(0,r.default)(h.C).withConfig({componentId:"pmp-module__sc-u0nd3n-2"})(["height:min-content;"]),ka=e=>{let{entryID:t,pattern:a="gradient-blue",paddingBottom:i}=e,s=(0,o.Z)(e,T);const{flower:n}=(0,h.a)({flower:t}),{mediumUp:r}=(0,h.u)(),{0:l,1:c}=(0,m.useState)(0);return(0,m.useEffect)((()=>{const e=setInterval((()=>{c((e=>eclearInterval(e)}),[]),(0,d.jsx)(h.I,{children:(0,d.jsx)(ee,{pattern:a,style:{zIndex:2},children:(0,d.jsx)(ya,Z(Z({paddingBottom:i},s),{},{children:(0,d.jsx)(_a,{children:(0,d.jsx)(Ca,{span:10,large:7,children:(0,d.jsx)(_a,{children:r?(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(Ia,{alt:n?.heading}),(0,d.jsx)(za,{quotes:n?.modules,active:l})]}):(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)(za,{quotes:n?.modules,active:l}),(0,d.jsx)(Ia,{alt:n?.heading})]})})})})}))})})};function Ia(e){let{alt:t}=e;return(0,d.jsx)(Ca,{span:4,children:(0,d.jsx)(h.b,{animation:"pop",delay:.3,children:(0,d.jsx)(g.I,{assetPath:"https://assets.nintendo.com/image/upload/v1690926641/Marketing/pmp_smb-wonder/flower/talking-flower-2x.png",alt:t,lazyLoad:!1,className:"flower"})})})}function za(e){let{quotes:t,active:a}=e;return(0,d.jsx)(Ca,{span:8,children:(0,d.jsx)(h.b,{animation:"pop",delay:.6,className:"bubble-wrapper",children:t.map(((e,t)=>(0,d.jsx)(h.e,{data:e.richText,className:"cta-primary text-bubble quote "+(a===t?"quote--active":""),"aria-hidden":a===t?"false":"true"},t)))})})}Ia.propTypes={alt:n().string.isRequired},za.propTypes={quotes:n().array.isRequired,active:n().number.isRequired};var Na=ka;ka.propTypes={entryID:n().string.isRequired,pattern:n().string,paddingBottom:n().bool};const Pa=r.default.div.withConfig({componentId:"pmp-module__sc-4j7cnn-0"})(["background-color:",";margin-top:",";padding:"," 0;.body--legal{margin-bottom:",";}"],(0,l.b)("ivory"),(0,l.s)(-4),(0,l.s)(2),(0,l.s)(2));var Ua=e=>{let t=Object.assign({},e);const{disclaimer:a}=(0,h.a)({disclaimer:"4AfwT0J7bqaAYJEgeM8QmE"});return(0,d.jsx)(Pa,Z(Z({},t),{},{children:(0,d.jsx)(h.R,{children:(0,d.jsx)(h.C,{span:10,children:(0,d.jsx)(h.e,{data:a.body,className:"body--legal"})})})}))};var qa=e=>(0,d.jsxs)(l.P,{customTheme:H,pageProps:e,i18n:(0,c.m)(E),children:[(0,d.jsx)(Y,{}),(0,d.jsx)(X,{}),(0,d.jsx)(Xe,{}),(0,d.jsx)(ze,{border:"wave-small-pink-top"}),(0,d.jsx)(Na,{entryID:"6LyZ1z7PzxGIrWNKKaMDZB",pattern:"gradient-pink"}),(0,d.jsx)(ze,{border:"wave-small-pink-bottom"}),(0,d.jsx)(vt,{}),(0,d.jsx)(Rt,{}),(0,d.jsx)(Bt,{}),(0,d.jsx)(oa,{}),(0,d.jsx)(ma,{}),(0,d.jsx)(va,{}),(0,d.jsx)(Na,{entryID:"61iPrPajYAJPcnIB8F5ElO",paddingBottom:!0}),(0,d.jsx)(ze,{border:"wave-small-white-top-higher"}),(0,d.jsx)(Ua,{})]});a(52049),a(80865),a(84004)},57736:function(e,t,a){a.d(t,{g:function(){return i}});const i=e=>e.assets.map((e=>{let{primary:t,alt:a,caption:i}=e;return{assetPath:t.assetPath,alt:a,caption:i}}))},49653:function(e,t,a){a.d(t,{m:function(){return n},u:function(){return r}});var i=a(4215),o=a(2784),s={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 n(e){return(0,i.m)(s,e)}const r=e=>{let{id:t,margin:a=100}=e;(0,o.useEffect)((()=>{if(!t)return;const e=document.querySelector(`#${t}`),i=window.location.hash;if(!e||i!==`#${t}`)return;const o=setTimeout((()=>{e.tabindex=-1,e.focus({preventScroll:!0}),e.removeAttribute("tabindex"),window.scroll(0,e.offsetTop-a)}),500);return()=>{clearTimeout(o)}}),[])}}}]);