exports.id=6886,exports.ids=[6886],exports.modules={16886:(a,t,e)=>{"use strict";e.d(t,{Z:()=>MyAccountLayout_MyAccountLayout});var s=e(77306),n=e(40727),c=e(83339),i=e(33339),o=e(48720),u=e.n(o),l=e(60679),r=e(20997);let Nav=({items:a})=>{let t=(0,i.useRouter)(),e=t.pathname;return r.jsx("ul",{className:u().nav,children:a.map(({route:a,title:t})=>r.jsx("li",{className:u().navItem,"data-is-selected":e.includes(a),children:r.jsx(n.Z,{href:a,tabIndex:0,children:t})},a))})},MyAccountMenu_MyAccountMenu=({avatarImageUrl:a,accountName:t,items:e})=>{let{isDesktop:s}=(0,l.Z)();return(0,r.jsxs)("div",{className:u().menu,children:[s?(0,r.jsxs)("div",{className:u().account,children:[(0,r.jsxs)("div",{className:u().avatarContainer,children:[a?r.jsx("img",{className:u().avatar,src:a}):r.jsx("span",{className:u().avatar,children:t?.[0]}),r.jsx("h2",{children:t})]}),r.jsx(c.Z,{className:u().switchButton,variant:"secondary",size:"small",children:"Switch"})]}):null,r.jsx(Nav,{items:e})]})},MyAccountLayout_MyAccountLayout=({children:a,accountName:t})=>(0,r.jsxs)("div",{className:u().layout,children:[r.jsx(MyAccountMenu_MyAccountMenu,{accountName:t,items:s.Z}),r.jsx("section",{children:a})]})},48720:a=>{a.exports={layout:"section_layout__QJ4xs",menu:"section_menu__WKZdl",account:"section_account__YjCAC",avatarContainer:"section_avatarContainer__1RMsJ",switchButton:"section_switchButton__ul06M",nav:"section_nav__Jjee8",navItem:"section_navItem__yr27R",avatar:"section_avatar__IQLo8"}}};