import{b as o,j as e,K as s,a4 as r,g as c,h as l,i as d,at as m,b4 as h}from"./app-BgLa5dit.js";import{C as x}from"./DDfKZ_ng.chunk.js";const u="_header_1gs4x_1",p="_icon_1gs4x_5",i={header:u,icon:p};function C(n){const{hasPermissions:t,isLoading:a}=o();return e.jsxs("header",{className:`${i.header} d-flex align-items-center justify-content-between px-4 text-white`,children:[e.jsxs("div",{className:"d-flex align-items-center",children:[e.jsx("div",{className:`pe-2 ${i.icon}`,children:e.jsx(x,{})}),e.jsx("h1",{className:"mb-0 h4 pe-4 text-nowrap",children:"Curation Studio"})]}),n.children,e.jsxs("div",{className:"d-flex align-items-center",children:[e.jsxs(s,{children:[e.jsxs(s.Toggle,{id:"sign-out",className:"text-white text-decoration-none",variant:"link",children:["Hello, ",ClickView.User.name]}),e.jsxs(s.Menu,{children:[!a&&t(r.CrmStudioDomains)&&e.jsx(s.Item,{href:c.getHref({application:d.CRM_STUDIO,action:l.CrmStudio.DOMAINS}),children:"Domains Management"}),e.jsx(s.Item,{href:"/signout",children:"Logout"})]})]}),n.closeAppLink&&e.jsx(m,{className:"btn btn-link text-white",appLink:n.closeAppLink,svg:h})]})]})}export{C};
//# sourceMappingURL=CCcwLDvu.chunk.js.map
