import{M as e,P as t,Q as n,V as r,W as i,Y as a,_ as o,b as s,d as c,et as l,ft as u,it as d,j as f,n as p,ot as m,q as h,st as g,t as _,v,y}from"../../client.js";import{n as b}from"../../sidebar-state.svelte.js";var x=t(`<header><img class="mc-sidebar__header-logo svelte-1h67ayb" alt="logo"/> <p class="mc-sidebar__header-title svelte-1h67ayb"> </p></header>`),S={hash:`svelte-1h67ayb`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}
@media screen and (min-width: 680px) {
}.mc-sidebar__header.svelte-1h67ayb {display:flex;align-items:center;justify-content:center;gap:0.5rem;}.mc-sidebar__header-logo.svelte-1h67ayb {width:2.5rem;height:2.5rem;}.mc-sidebar__header-title.svelte-1h67ayb {font-size:var(--font-size-200, 1.125rem);font-weight:var(--font-weight-bold, 700);color:var(--sidebar-color-product-name, #000000);margin:0;flex-grow:1;display:none;}.mc-sidebar__header--expanded.svelte-1h67ayb .mc-sidebar__header-title:where(.svelte-1h67ayb) {display:block;}.mc-sidebar__header--collapsed.svelte-1h67ayb .mc-sidebar__header-title:where(.svelte-1h67ayb) {display:none;}`};function C(t,_){g(_,!0),s(t,S);let C=p(_,`title`,7),w=p(_,`logo`,7),T=l(!1);var E={get title(){return C()},set title(e){C(e),d()},get logo(){return w()},set logo(e){w(e),d()}},D=x(),O=h(D),k=a(O,2),A=h(k,!0);return u(k),u(D),y(D,()=>b({setExpanded:e=>n(T,e,!0)})),i(()=>{o(D,1,v({"mc-sidebar__header":!0,"mc-sidebar__header--expanded":r(T),"mc-sidebar__header--collapsed":!r(T)}),`svelte-1h67ayb`),c(O,`src`,w()),f(A,C())}),e(t,D),m(E)}customElements.define(`m-sidebar-header`,_(C,{title:{},logo:{}},[],[],{mode:`open`}));
//# sourceMappingURL=SidebarHeader.js.map