exports.id=6886,exports.ids=[6886],exports.modules={16886:(a,t,e)=>{"use strict";e.d(t,{Z:()=>MyAccountLayout_MyAccountLayout});var s=e(56890),n=e(42210),c=e(40727),o=e(83339),i=e(33339),u=e(48720),l=e.n(u),r=e(60679),d=e(20997);let Nav=({items:a})=>{let t=(0,i.useRouter)(),e=t.pathname;return d.jsx("ul",{className:l().nav,children:a.map(({route:a,title:t})=>d.jsx("li",{className:l().navItem,"data-is-selected":e.includes(a),children:d.jsx(c.Z,{href:a,tabIndex:0,children:t})},a))})},MyAccountMenu_MyAccountMenu=({avatarImageUrl:a,accountName:t,items:e})=>{let{isDesktop:s}=(0,r.Z)();return(0,d.jsxs)("div",{className:l().menu,children:[s?(0,d.jsxs)("div",{className:l().account,children:[(0,d.jsxs)("div",{className:l().avatarContainer,children:[a?d.jsx("img",{className:l().avatar,src:a}):d.jsx("span",{className:l().avatar,children:t?.[0]}),d.jsx("h2",{children:t})]}),d.jsx(o.Z,{className:l().switchButton,variant:"secondary",size:"small",children:"Switch"})]}):null,d.jsx(Nav,{items:e})]})},_=[n.d3],MyAccountLayout_MyAccountLayout=({children:a,accountName:t,isRepresentative:e=!0})=>{let n=e?s.Z:s.Z.filter(({route:a})=>!_.includes(a));return(0,d.jsxs)("section",{className:l().layout,children:[d.jsx(MyAccountMenu_MyAccountMenu,{accountName:t,items:n}),d.jsx("div",{"data-fs-account-layout-content":!0,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"}}};