(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4464],{59615:function(e,i,t){"use strict";t.r(i),t.d(i,{__N_SSP:function(){return U},default:function(){return K}});var n=t(50488),s=t(2784),o=t(13980),a=t.n(o),r=t(52322);const l=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"FamilyAccountIcon",...e,children:(0,r.jsx)("path",{d:"M24.3 10.7c4.2 0 7.7 3.3 7.7 7.4s-3.5 7.4-7.7 7.4c-1.9 0-3.5-.6-4.9-1.7-2.2 1.9-5 3-7.9 3-6.3 0-11.5-5-11.5-11.1 0-6 5.2-11 11.6-11 4.6 0 8.6 2.6 10.4 6.4.7-.2 1.5-.4 2.3-.4zM11.5 21.4c1.8 0 3.5-.8 4.7-2 .4-.4.3-1.1-.1-1.5H16c-.5-.4-1.2-.3-1.5.2-.7.8-1.9 1.3-3 1.3-1.2 0-2.2-.5-2.9-1.3-.4-.5-1.1-.5-1.5-.2-.5.4-.5 1-.2 1.5v.1c1.1 1.2 2.8 1.9 4.6 1.9zm-1.6-8c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5.7 1.5 1.5 1.5 1.5-.7 1.5-1.5zm6.3 0c0-.8-.7-1.5-1.5-1.5s-1.5.7-1.5 1.5.7 1.5 1.5 1.5 1.5-.7 1.5-1.5zm13.7 4.8c0-3-2.5-5.5-5.6-5.5s-5.6 2.5-5.6 5.5 2.5 5.5 5.6 5.5c3.2-.1 5.6-2.5 5.6-5.5zm-6.6-1.5c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zm3.8 0c0 .5-.4.9-.9.9s-.9-.4-.9-.9.4-.9.9-.9.9.4.9.9zm-2.9 4.9c-1.1 0-2.1-.5-2.8-1.2-.2-.2-.2-.6.1-.8.3-.2.7-.2.9.1.5.5 1.1.8 1.8.8s1.4-.3 1.9-.8c.2-.2.6-.3.9-.1.2.2.3.6.1.8-.7.7-1.7 1.2-2.9 1.2z",fill:e.color})});l.propTypes={className:a().string,color:a().string,size:a().oneOfType([a().number,a().string])},l.defaultProps={color:"currentColor",size:24};var c=t(77879),d=t(57055),m=t(3946),h=t(93065),p=t(7307),g=t(67868),u=t(83950),f=t(42107),w=t(3599),x=t(28132),v=t(58877);const b=p.default.div.withConfig({componentId:"sc-wiivdj-0"})(["&:nth-child(even){background-color:var(--theme-color-lightGray4);}&:nth-child(odd){background-color:var(--theme-color-white);}"]),j=(0,p.default)(w.Z).withConfig({componentId:"sc-wiivdj-1"})(["transform:translateY(50%);"]),y=(0,p.default)(g.H).withConfig({componentId:"sc-wiivdj-2"})(["margin-top:var(--theme-spacing-16);margin-bottom:var(--theme-spacing-16);","{margin-top:var(--theme-spacing-24);margin-bottom:var(--theme-spacing-24);margin-left:var(--theme-spacing-16);}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),C=(0,p.default)(x.Z).withConfig({componentId:"sc-wiivdj-3"})(["img{border-radius:var(--border-radius);}"]),k=p.default.div.withConfig({componentId:"sc-wiivdj-4"})(["width:100%;"]),I=p.default.div.withConfig({componentId:"sc-wiivdj-5"})(["border:1px solid var(--theme-colors-ui-line);border-radius:var(--border-radius);padding:var(--theme-spacing-40);display:flex;flex-direction:column;gap:var(--theme-spacing-20);align-items:center;margin-top:var(--theme-spacing-16);margin-bottom:var(--theme-spacing-16);background-color:var(--theme-color-white);position:relative;&::after{content:'';display:block;position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 4px 18px 0 rgba(0,0,0,0.2);border-radius:var(--border-radius);opacity:0;transition:opacity 0.3s ease-in-out;pointer-events:none;}&:hover{&::after{opacity:1;}}","{gap:var(--theme-spacing-40);flex-direction:row;justify-content:center;}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),L=(0,p.default)(u.I).withConfig({componentId:"sc-wiivdj-6"})(["min-width:80px;width:80px;height:80px;"]),N=p.default.div.withConfig({componentId:"sc-wiivdj-7"})(["display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;","{text-align:left;}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),T=(0,p.default)(g.H).withConfig({componentId:"sc-wiivdj-8"})(["width:100%;"]),z=p.default.div.withConfig({componentId:"sc-wiivdj-9"})(["display:flex;flex-direction:column;box-shadow:0 4px 16px 0 rgba(0,0,0,0.1);border-radius:var(--border-radius);padding:var(--theme-spacing-32);position:relative;&::after{content:'';display:block;position:absolute;top:0;left:0;width:100%;height:100%;box-shadow:0 6px 20px 0 rgba(0,0,0,0.3);border-radius:var(--border-radius);opacity:0;transition:opacity 0.3s ease-in-out;pointer-events:none;}&:hover{&::after{opacity:1;}}"]),S=(0,p.default)(g.H).withConfig({componentId:"sc-wiivdj-10"})(["display:none;","{display:block;margin-bottom:var(--theme-spacing-32);order:0;}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),_=(0,p.default)(S).withConfig({componentId:"sc-wiivdj-11"})(["display:block;margin-bottom:var(--theme-spacing-16);margin-top:var(--theme-spacing-16);","{display:none;}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),E=p.default.div.withConfig({componentId:"sc-wiivdj-12"})(["display:flex;flex-direction:column;","{flex-direction:row;gap:var(--theme-spacing-20);}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),M=(0,p.default)(u.I).withConfig({componentId:"sc-wiivdj-13"})(["order:0;width:100%;border-radius:var(--border-radius);overflow:hidden;","{order:1;width:58%;min-width:58%;}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),O=p.default.div.withConfig({componentId:"sc-wiivdj-14"})(["order:2;","{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;}"],(e=>{let{theme:i}=e;return i.mediaQuery.tablet})),Z=p.default.div.withConfig({componentId:"sc-wiivdj-15"})(["width:100%;margin-top:",";"],(e=>{let{theme:i}=e;return i.spacing[24]})),H=(0,p.default)(v.Z).withConfig({componentId:"sc-wiivdj-16"})(["a{color:var(--theme-color-white);span{border-bottom-color:var(--theme-color-white);}}"]),P=(0,p.default)(x.Z).withConfig({componentId:"sc-wiivdj-17"})(["> div{max-width:93rem;}p:not(:has(a)){min-height:0;margin:0;}"]),$=(0,p.default)(v.Z).withConfig({componentId:"sc-wiivdj-18"})(["line-height:1.35;font-size:var(--theme-font-size-h1LMobile);","{font-size:var(--theme-font-size-h1LDesktop);}"],(e=>{let{theme:i}=e;return i.mediaQuery.tabletSmall})),Q=(0,p.default)(f.B).withConfig({componentId:"sc-wiivdj-19"})(["min-width:340px;"]),A=(0,p.default)(f.B).withConfig({componentId:"sc-wiivdj-20"})(["min-width:300px;"]),B=(0,p.default)(m.N).withConfig({componentId:"sc-wiivdj-21"})(["",""],(e=>{let{$isSuccess:i}=e;return i&&"background-color: #F0FBEA;"}));var F=t(32899),V=t(90643),R=t(15820),D=t(80963),q=t(72848);const G="8181c210f019c1b0",W="6ba340fa83027279",X=e=>{let{module:i,ctaOnClickHandler:t=(()=>{}),linkTarget:n="_blank",ctaTarget:s="_blank"}=e;return(0,r.jsxs)("div",{children:[(0,r.jsx)(y,{variant:"h2",children:i?.heading}),(0,r.jsx)(C,{content:{assetPath:i.asset.primary.assetPath,description:i.body,cta:{url:i.cta.url,label:i.cta.label},assetPathAlt:i?.asset?.alt},reverseContent:!0,noScrim:!0,ctaOnClickHandler:t,linkTarget:n,ctaTarget:s})]})};var U=!0,K=function(e){let{page:i,locale:t,preview:o}=e;const{modules:a}=i.content,{trackCtaClick:p}=(0,F.z$)(),g=(0,F.xe)(),{data:u,loading:f}=(0,F.ON)(),w=(0,D.Z)(D.o.DESKTOP),{0:x,1:v}=(0,s.useState)(null),{0:y,1:C}=(0,s.useState)(null),U=(0,s.useMemo)((()=>({goldSuccess:{type:"success",message:a[6]?.richText},platinumSuccess:{type:"success",message:a[7]?.richText},unqualified:{type:"error",message:a[8]?.richText},promotionEnded:{type:"warning",message:a[12]?.richText}})),[a]),K=(0,s.useMemo)((()=>u?(0,V.xs)(u?.birthday,13):null),[u]),Y=(0,s.useMemo)((()=>!1===(0,V.A0)(u)),[u]),{data:J,loading:ee}=(0,R.aM)(R.o$.rs,{missionId:G,locale:t},{authenticated:!0,errorPolicy:"all",skip:!g?.isLoggedIn}),[ie,te]=(0,R.Db)(R.P$.CQ,{missionId:G},{authenticated:!0,errorPolicy:"all"});(0,s.useEffect)((()=>{a?.[11]?.hide?v(U.promotionEnded):g?.isLoggedIn&&"COMPLETED"===J?.customer?.missionStatus?.state&&v(U.goldSuccess)}),[J,U,a,g]);const{data:ne,loading:se}=(0,R.aM)(R.o$.rs,{missionId:W,locale:t},{authenticated:!0,errorPolicy:"all",skip:!g?.isLoggedIn}),[oe,ae]=(0,R.Db)(R.P$.CQ,{missionId:W},{authenticated:!0,errorPolicy:"all"});(0,s.useEffect)((()=>{g?.isLoggedIn&&"COMPLETED"===ne?.customer?.missionStatus?.state&&C(U.platinumSuccess)}),[ne,U,a,g]),(0,s.useEffect)((()=>{Y&&(v(U.unqualified),C(U.unqualified)),K&&v(U.unqualified)}),[K,U,Y,v,C]);const re=(0,s.useCallback)((()=>{g?.isLoggedIn?(p("family-membership-platinum-points-cta","family membership promotion page"),oe()):(p("family-membership-platinum-points-cta-login","family membership promotion page"),g?.promptLogin())}),[g,oe,p]),le=(0,s.useCallback)((()=>{g?.isLoggedIn?(p("family-membership-gold-points-cta","family membership promotion page"),ie()):(p("family-membership-gold-points-cta-login","family membership promotion page"),g?.promptLogin())}),[g,ie,p]),ce=(0,s.useCallback)((()=>{p("family-membership-multiplayer-games-sale-cta","family membership promotion page")}),[p]);(0,s.useEffect)((()=>(te?.loading||!te?.called||v(te?.error?{type:"error",message:te?.error?.message}:U.goldSuccess),()=>{})),[te?.error,te?.called,te?.loading,U]),(0,s.useEffect)((()=>(ae?.loading||!ae?.called||C(ae?.error?{type:"error",message:ae?.error?.message}:U.platinumSuccess),()=>{})),[ae?.error,ae?.called,ae?.loading,U]);const de=(0,s.useMemo)((()=>(0,r.jsxs)(r.Fragment,{children:[!x&&(0,r.jsx)(A,{onClick:le,isLoading:u?.loading||f||te?.loading||g?.isLoggedIn&&ee,children:g?.isLoggedIn?a[0]?.modules[0]?.cta?.label:a[0]?.modules[1]?.label}),x&&(0,r.jsx)(B,{$isSuccess:"success"===x?.type,type:x?.type,children:(0,r.jsx)(h.Ho,{linkTarget:"_blank",data:x?.message})})]})),[a,te,x,u,f,g?.isLoggedIn,ee,le]);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(q.Z,{preview:o,hideLowerNav:!0,children:[(0,r.jsx)(h.$0,{background:n.d.color.primary,children:(0,r.jsxs)(P,{variant:"light",small:!0,asset:a[10]?.modules[0]?.asset,gap:w?"3rem":null,alignImageMobile:"bottom",contentWrapperPadding:"1rem",children:[(0,r.jsx)($,{linkTarget:"_blank",data:a[10]?.modules[1]?.richText}),(0,r.jsx)(H,{linkTarget:"_blank",data:a[10]?.modules[0]?.body})]})}),!a[0]?.hide&&(0,r.jsx)(h.$0,{constrained:!0,constrainedMaxWidth:"93rem",children:(0,r.jsxs)(z,{children:[(0,r.jsx)(S,{variant:"h2",children:a[0]?.modules[0]?.heading}),(0,r.jsxs)(E,{children:[(0,r.jsx)(M,{assetPath:a[0]?.modules[0]?.asset.primary.assetPath,alt:""}),(0,r.jsxs)(O,{children:[(0,r.jsx)(_,{variant:"h2",children:a[0]?.modules[0]?.heading}),(0,r.jsx)(h.Ho,{linkTarget:"_blank",data:a[0]?.modules[0]?.body}),de]})]})]})}),!a[1]?.hide&&(0,r.jsxs)(b,{children:[(0,r.jsx)(h.$0,{constrained:!0,children:(0,r.jsx)(X,{module:a[1]?.modules[0],linkTarget:"_blank"})}),(0,r.jsx)(j,{showFancyBorder:!1,icon:l})]}),!a[2]?.hide&&(0,r.jsxs)(b,{children:[(0,r.jsx)(h.$0,{constrained:!0,children:(0,r.jsx)(X,{module:a[2]?.modules[0],ctaOnClickHandler:ce,linkTarget:"_blank"})}),(0,r.jsx)(j,{showFancyBorder:!1,icon:c.Z})]}),!a[3]?.hide&&(0,r.jsxs)(b,{children:[(0,r.jsx)(h.$0,{constrained:!0,children:(0,r.jsx)(X,{module:a[3]?.modules[0],linkTarget:"_blank",ctaTarget:"_blank"})}),(0,r.jsx)(j,{showFancyBorder:!1,icon:d.Z})]}),!a[4]?.hide&&(0,r.jsxs)(b,{children:[(0,r.jsx)(h.$0,{constrained:!0,children:(0,r.jsx)(X,{module:a[4]?.modules[0],linkTarget:"_blank"})}),(0,r.jsx)(j,{showFancyBorder:!1,icon:d.Z})]}),!a[5]?.hide&&(0,r.jsx)(b,{children:(0,r.jsxs)(h.$0,{constrained:!0,children:[(0,r.jsxs)(k,{children:[(0,r.jsxs)(I,{children:[(0,r.jsx)(L,{assetPath:a[5]?.modules[0]?.asset.primary.assetPath,alt:""}),(0,r.jsxs)(N,{children:[(0,r.jsx)(T,{variant:"h2",children:a[5]?.modules[0]?.heading}),(0,r.jsx)(h.Ho,{linkTarget:"_blank",data:a[5]?.modules[0]?.body})]}),!y&&(0,r.jsx)(Q,{isLoading:u?.loading||f||ae?.loading||g?.isLoggedIn&&se,onClick:re,children:g?.isLoggedIn?a[5]?.modules[0]?.cta?.label:a[5]?.modules[1]?.label})]}),y&&(0,r.jsx)(m.N,{type:y?.type,children:(0,r.jsx)(h.Ho,{linkTarget:"_blank",data:y?.message})})]}),(0,r.jsx)(Z,{id:"family-membership-legal-disclaimer",children:(0,r.jsx)(h.Ho,{linkTarget:"_blank",data:a[9]?.richText,textVariant:"legal"})})]})})]})})}},72848:function(e,i,t){"use strict";t(2784);var n=t(16250),s=t(67868),o=t(32899),a=t(93065),r=t(25873),l=t(52322);i.Z=e=>{let{children:i,preview:t,legalFooterData:c,heading:d,hideLowerNav:m=!1}=e;const{text:h}=(0,o.i1)(),p=[{title:h("Overview"),url:"/switch/online",icon:(0,l.jsx)(n.Z,{size:16})},{title:h("Nintendo Switch Online"),url:"/switch/online/nintendo-switch-online"},{title:h("Nintendo Switch Online + Expansion Pack"),url:"/switch/online/nintendo-switch-online/expansion-pack"},{title:h("Special Offers"),url:"/switch/online/nintendo-switch-online/special-offers"},{title:h("Classic Games"),url:"/switch/online/nintendo-switch-online/classic-games"}];return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(a.Xe,{preview:t}),d&&(0,l.jsx)(r.S,{as:"h1",children:d}),(0,l.jsx)(a.ES,{navItems:p}),d?(0,l.jsx)(s.H.NewLevel,{children:i}):i,!m&&(0,l.jsx)(a.ES,{navItems:p}),c&&(0,l.jsx)(a.$0,{small:!0,constrained:!0,children:(0,l.jsx)(a.Ho,{data:c})})]})}},97412:function(e,i,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/switch/online/nintendo-switch-online/family-membership",function(){return t(59615)}])},28108:function(e,i,t){"use strict";t.d(i,{Z:function(){return a}});t(2784);var n=t(13980),s=t.n(n),o=t(52322);const a=e=>(0,o.jsxs)("svg",{"data-name":"Layer 2",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"CheckmarkCircleIcon",...e,children:[(0,o.jsx)("polygon",{points:"22.918 8.348 13.35 18.909 10.825 16.648 10.827 16.646 8.618 14.668 6.618 17.109 13.595 23.563 15.298 21.683 15.299 21.684 25.382 10.552 22.918 8.348",fill:e.color}),(0,o.jsx)("path",{d:"M15.95555,2A13.95555,13.95555,0,1,1,2,15.95555,13.97134,13.97134,0,0,1,15.95555,2m0-2A15.95555,15.95555,0,1,0,31.91109,15.95555,15.95556,15.95556,0,0,0,15.95555,0Z",fill:e.color})]});a.propTypes={className:s().string,color:s().string,size:s().oneOfType([s().number,s().string])},a.defaultProps={color:"currentColor",size:24}},11059:function(e,i,t){"use strict";t.d(i,{Z:function(){return a}});t(2784);var n=t(13980),s=t.n(n),o=t(52322);const a=e=>(0,o.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",xmlSpace:"preserve",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"MegaphoneIcon",...e,children:(0,o.jsx)("path",{fill:e.color,d:"M31.6 13.8h-3.4c-.2 0-.4.2-.4.4s.2.4.4.4h3.4c.2 0 .4-.2.4-.4s-.2-.4-.4-.4zm-8.6-3h-.2V4.9c0-.7-.6-1.4-1.4-1.4L13.8 9H2.5C1.1 9 0 10.2 0 11.7v5.4c0 1.5 1.1 2.7 2.5 2.7h2l.8 6.3c0 1.3 1.1 2.3 2.4 2.3h1.2c1.3 0 2.4-1 2.4-2.3l-.8-6.3h3.3l7.7 5.4c.8 0 1.4-.6 1.4-1.4v-5.9h.1c1.9 0 3.5-1.6 3.5-3.6v-.1c.1-1.8-1.5-3.4-3.5-3.4zM8.9 26.7H7.7c-.4 0-.7-.3-.7-.5V26l-.8-6h2.5l.8 6.3c0 .1-.3.4-.6.4zm5.4-8.5c-.1 0-.2-.1-.4-.1H2.5c-.4 0-.7-.4-.7-.9v-5.4c0-.5.3-.9.7-.9h11.4c.1 0 .2 0 .4-.1v7.4zm6.8 4.7l-6-4.2v-8.5l6-4.2v16.9zm3.7-8.4c0 1-.8 1.8-1.8 1.8h-.2v-3.7h.2c1 0 1.8.8 1.8 1.8v.1zm3.3 4.2c-.2-.2-.4-.2-.6 0-.2.2-.2.4 0 .6l3 3.4c.1.1.2.1.3.1.1 0 .2 0 .3-.1.2-.2.2-.4 0-.6l-3-3.4zm-.4-8.8c.1 0 .2 0 .3-.1l3-3.4c.2-.2.1-.5 0-.6-.2-.2-.5-.2-.6 0l-3 3.4c-.2.2-.1.5 0 .6.1 0 .2.1.3.1z"})});a.propTypes={className:s().string,color:s().string,size:s().oneOfType([s().number,s().string])},a.defaultProps={color:"currentColor",size:24}},3946:function(e,i,t){"use strict";t.d(i,{N:function(){return b}});var n=t(2784),s=t(13980),o=t.n(s),a=t(7307),r=t(52322);const l=e=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"AlertErrorOutlineIcon",...e,children:[(0,r.jsx)("path",{d:"M7.33959 23.88C7.13696 23.88 6.94934 23.7974 6.80675 23.6623L0.217636 17.0732C0.0750469 16.9306 0 16.743 0 16.5404V7.21956C0 7.01693 0.0825516 6.82932 0.217636 6.68673L6.81426 0.0976104C6.95685 -0.0449787 7.14446 -0.120026 7.34709 -0.120026H16.6679C16.8705 -0.120026 17.0582 -0.0374741 17.2008 0.0976104L23.7899 6.68673C23.9325 6.82932 24.0075 7.01693 24.0075 7.21956V16.5404C24.0075 16.743 23.925 16.9306 23.7899 17.0732L17.2008 23.6623C17.0582 23.8049 16.8705 23.88 16.6679 23.88H7.33959ZM7.65478 22.379H16.3527L22.5066 16.2252V7.52725L16.3527 1.38091H7.65478L1.50094 7.53476V16.2327L7.65478 22.3865V22.379Z",fill:e.color}),(0,r.jsx)("path",{d:"M17.5719 7.90247L15.98 6.31048L6.42805 15.8624L8.02004 17.4544L17.5719 7.90247Z",fill:e.color}),(0,r.jsx)("path",{d:"M8.02249 6.30803L6.43051 7.90001L15.9824 17.4519L17.5744 15.8599L8.02249 6.30803Z",fill:e.color})]});l.propTypes={className:o().string,color:o().string,size:o().oneOfType([o().number,o().string])},l.defaultProps={color:"currentColor",size:24};var c=t(11059),d=t(28108);const m=e=>(0,r.jsxs)("svg",{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"WarningOutlineIcon",...e,children:[(0,r.jsx)("path",{d:"M12.729 0.65625C13.0408 0.803937 13.2963 1.04866 13.4573 1.35375L23.859 21.252C23.9539 21.4362 24.0103 21.6378 24.0248 21.8445C24.0394 22.0512 24.0117 22.2587 23.9435 22.4544C23.8753 22.65 23.768 22.8298 23.6282 22.9827C23.4883 23.1356 23.3188 23.2584 23.13 23.3438C22.9024 23.4525 22.6533 23.5088 22.401 23.5088H1.59826C1.38881 23.5133 1.18052 23.4766 0.985268 23.4007C0.790016 23.3248 0.611629 23.2111 0.460293 23.0663C0.308956 22.9214 0.187634 22.7482 0.103253 22.5564C0.018872 22.3647 -0.0269151 22.1582 -0.0314941 21.9488C-0.0310798 21.706 0.0281062 21.4669 0.141006 21.252L10.542 1.3545C10.7474 0.97982 11.089 0.69845 11.4961 0.568618C11.9032 0.438785 12.3446 0.469679 12.729 0.65625ZM12.0518 2.07225C12.0347 2.06457 12.0161 2.0606 11.9974 2.0606C11.9786 2.0606 11.9601 2.06457 11.943 2.07225L11.9325 2.0805L1.55251 21.9375L1.59826 21.9398H22.401L22.4288 21.9368L22.443 21.9323L12.066 2.0805L12.0518 2.07225Z",fill:e.color}),(0,r.jsx)("path",{d:"M10.9928 15.6008L11.0303 15.8648H12.906L12.9435 15.6C13.0185 15.074 13.0803 14.5763 13.1288 14.1068C13.1785 13.6223 13.2033 13.1357 13.203 12.6488V7.7715H10.7348V12.6488C10.7342 13.1357 10.7584 13.6223 10.8075 14.1068C10.856 14.5768 10.9178 15.0748 10.9928 15.6008ZM13.3695 17.9528C13.2933 17.7717 13.1819 17.6075 13.0418 17.4698C12.9023 17.3353 12.7393 17.2275 12.561 17.1518C12.3721 17.0724 12.1692 17.0315 11.9643 17.0316C11.7594 17.0318 11.5566 17.0729 11.3678 17.1525C11.1893 17.2281 11.0264 17.3359 10.887 17.4705C10.7464 17.6091 10.6356 17.775 10.5615 17.958C10.4854 18.1444 10.4464 18.3439 10.4468 18.5453C10.4454 18.749 10.4846 18.9509 10.5623 19.1393C10.6368 19.3196 10.7473 19.483 10.887 19.6193C11.0272 19.7555 11.1925 19.8632 11.3738 19.9365C11.7532 20.0893 12.1771 20.0893 12.5565 19.9365C12.7371 19.8635 12.9019 19.7563 13.0418 19.6208C13.2573 19.4076 13.4038 19.1346 13.4622 18.8372C13.5207 18.5397 13.4884 18.2316 13.3695 17.9528Z",fill:e.color})]});m.propTypes={className:o().string,color:o().string,size:o().oneOfType([o().number,o().string])},m.defaultProps={color:"currentColor",size:24};var h=t(96051);const p={error:"#fde6e7",info:"#dfe3fb",success:"#d4f2c4",warning:"#fffbb1",maintenance:"#efefef"},g={error:"#e60012",info:"#3946a0",success:"#2d8513",warning:"#bea000",maintenance:"#484848"},u=a.default.div.withConfig({componentId:"sc-oo0sbi-0"})(["display:flex;align-items:center;width:100%;min-height:",";"," "," ",""],(({theme:e})=>e.spacing[48]),(({theme:e})=>(0,a.css)(["padding:"," ",";font-size:",";border-radius:",";"],e.spacing[12],e.spacing[14],e.font.size.p,e.borderRadius)),(({$type:e,theme:i})=>(0,a.css)(["color:",";background-color:",";svg{color:",";}"],i.color.darkGray2,p[e],g[e])),(({theme:e})=>(0,a.css)(["","{padding:"," ",";}"],e.mediaQuery.tabletSmall,e.spacing[12],e.spacing[16]))),f=a.default.div.withConfig({componentId:"sc-oo0sbi-1"})(["margin-right:",";height:1.5rem;width:1.5rem;svg{height:auto;width:auto;}","{margin-right:",";}"],(({theme:e})=>e.spacing[12]),(({theme:e})=>e.mediaQuery.tabletSmall),(({theme:e})=>e.spacing[16])),w={ERROR:"error",INFO:"info",SUCCESS:"success",WARNING:"warning",MAINTENANCE:"maintenance"},x={[w.ERROR]:l,[w.INFO]:c.Z,[w.SUCCESS]:d.Z,[w.WARNING]:m,[w.MAINTENANCE]:h.Z},v=n.forwardRef((function(e,i){const{children:t,className:n,role:s,type:o}=e,a=e.Icon??x[o];return(0,r.jsxs)(u,{ref:i,$type:o,role:s,className:n,children:[a?(0,r.jsx)(f,{children:(0,r.jsx)(a,{})}):"",(0,r.jsx)("div",{children:t})]})}));v.propTypes={className:o().string,children:o().node,role:o().oneOf(["alert"]),type:o().oneOf(Object.values(w)).isRequired,Icon:o().oneOfType([o().element,o().elementType])};var b=v},16250:function(e,i,t){"use strict";t.d(i,{Z:function(){return a}});t(2784);var n=t(13980),s=t.n(n),o=t(52322);const a=e=>(0,o.jsx)("svg",{id:"My_Nintendo_home","data-name":"My Nintendo home",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",className:e.className,width:e.size,role:"presentation",alt:"","data-testid":"SwitchHomeIcon",...e,children:(0,o.jsx)("path",{d:"M31.50141,14.1246Q24.0795,7.81012,16.64612,1.49566a.83861.83861,0,0,0-1.28857,0Q7.93564,7.81014.49079,14.1246c-.885.76122-.51588,1.746.64888,1.746h1.926c.69358,0,.99624.29119.99624,1.0077V29.79844c0,.71651.27972,1.0077.99623,1.0077H26.94555c.705,0,.99623-.29119.99623-1.0077V16.8783c0-.71651.29119-1.0077.98478-1.0077h1.926C32.02762,15.8706,32.39791,14.88582,31.50141,14.1246Zm-10.523,9.70673c0,.70505-.29119.99624-1.0077.99624H12.02147c-.705,0-.99624-.29119-.99624-.99624V17.86422c0-.705.29119-.99624.99624-.99624h7.94927c.68326,0,.963.27973,1.0077.95153Z",fill:e.color})});a.propTypes={className:s().string,color:s().string,size:s().oneOfType([s().number,s().string])},a.defaultProps={color:"currentColor",size:24}}},function(e){e.O(0,[5106,8993,3065,9774,2888,179],(function(){return i=97412,e(e.s=i);var i}));var i=e.O();_N_E=i}]);