import{ao as e,ba as r,bN as m,L as d,t as u,c1 as p,aq as h}from"./app-k0jcl5PQ.js";import{u as g}from"./ApI7cEru.chunk.js";import"./DXxHdeNz.chunk.js";import"./CpGXOT1_.chunk.js";import"./DkDkjje4.chunk.js";import"./hKqzfsO4.chunk.js";import"./fstW5ZQE.chunk.js";import"./9ls1F1Ve.chunk.js";import"./DRKUY7jf.chunk.js";const x="_myAccount_1fl6w_1",j="_group_1fl6w_4",c={myAccount:x,group:j};function N(s){var i;const t=(i=s.modules)==null?void 0:i.filter(n=>!n.hide),a=!!(t!=null&&t.length);function o(){switch(s.id){case"my-account":return`img-fluid ${c.myAccount}`;default:return"img-fluid"}}return e.jsx(r,{appLink:s.appLink,children:e.jsxs("div",{className:`row p-3 border border-dark m-0 w-100 h-100 ${c.group}`,children:[e.jsx("div",{className:"col-3",children:e.jsx("div",{className:"d-flex justify-content-center align-items-center h-100",children:e.jsx("img",{src:s.imageUrl,alt:"",role:"presentation",className:o()})})}),e.jsxs("div",{className:`col-9 h-100 ${a?"":"d-flex align-items-center"}`,children:[e.jsx("h2",{className:"h4",children:s.name}),a&&e.jsx("ul",{className:"list-unstyled mb-0",children:t.map(n=>e.jsx("li",{className:"mb-1",children:"appLink"in n?e.jsx(r,{className:"btn btn-link p-0",appLink:n.appLink,children:n.name}):e.jsx("button",{className:"btn btn-link p-0 text-start",onClick:n.onClick,children:n.name})},n.name))})]})]})})}const f="_groupContainer_fw505_4",b={groupContainer:f},l="settings.settings";function $(){m({title:d.getPhrase(l,"pageTitle")});const s=g();if(!s.length){u.throw(new p);return}return e.jsxs("div",{className:"px-3",children:[e.jsx("h1",{className:"h2",children:e.jsx(h,{namespace:l,phrase:"heading"})}),e.jsx("main",{className:"row",children:s.map(t=>e.jsx("div",{className:"col-md-6 p-0",children:e.jsx("div",{className:`h-100 ${b.groupContainer}`,children:e.jsx(N,{...t})})},t.id))})]})}export{$ as SettingsView};
//# sourceMappingURL=C1iavEXh.chunk.js.map
