import{M as e,P as t,Q as n,V as r,W as i,Y as a,b as o,d as s,et as c,ft as l,it as u,j as d,l as f,n as p,ot as m,q as h,r as g,st as _,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.
 */.mc-sidebar.svelte-1h67ayb {width:100%;display:flex;align-items:start;font-size:var(--font-size-100, 0.875rem);color:var(--sidebar-color-text-default, #404040);box-sizing:border-box;background-color:var(--overlay-color-background, rgba(0, 0, 0, 0.5));padding-right:4rem;position:relative;}
@media screen and (min-width: 680px) {.mc-sidebar.svelte-1h67ayb {display:inline-flex;padding-right:0;width:18.75rem;}
}.mc-sidebar__wrapper.svelte-1h67ayb {box-sizing:border-box;display:flex;flex-direction:column;gap:0.75rem;min-height:100vh;width:100%;padding:0.75rem;background-color:var(--sidebar-color-background-primary, #ffffff);}.mc-sidebar__wrapper--divider.svelte-1h67ayb {border-right:1px solid var(--divider-color-secondary, #999999);}.mc-sidebar__close-button.svelte-1h67ayb {position:absolute;top:0.5rem;right:0.5rem;}
@media screen and (min-width: 680px) {.mc-sidebar__close-button.svelte-1h67ayb {display:none;}
}.mc-sidebar__container.svelte-1h67ayb {flex-grow:1;}.mc-sidebar__floating-item.svelte-1h67ayb {position:absolute;z-index:var(--sidebar-floating-item-index, 4);padding-left:1.25rem;left:calc(2.5rem - 1px);}.mc-sidebar__floating-item--tooltip.svelte-1h67ayb {top:0.25rem;}.mc-sidebar__floating-item--expanded.svelte-1h67ayb {left:0;padding:0;}
@media screen and (min-width: 680px) {.mc-sidebar__floating-item--expanded.svelte-1h67ayb {left:18.5rem;}
}.mc-sidebar__floating-item--hidden.svelte-1h67ayb {visibility:hidden;overflow:hidden;opacity:0;height:0;pointer-events:none;}.mc-sidebar--collapsed.svelte-1h67ayb {width:4rem;}.mc-sidebar__footer.svelte-1h67ayb {width:100%;}.mc-sidebar__footer-container.svelte-1h67ayb {position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0.5rem;margin-top:0.5rem;}.mc-sidebar__footer-avatar.svelte-1h67ayb {width:2rem;height:2rem;border-radius:var(--border-radius-full, 100%);}.mc-sidebar__footer-profile.svelte-1h67ayb {width:100%;display:flex;align-items:center;gap:0.5rem;height:2.5rem;flex-grow:1;border-radius:var(--border-radius-s, 0.25rem);background-color:var(--sidebar-color-extra-feature-background-default, rgba(255, 255, 255, 0.01));cursor:pointer;border:none;}.mc-sidebar__footer-profile.svelte-1h67ayb:hover {background:var(--sidebar-color-section-item-background-hover, rgba(0, 0, 0, 0.05));}.mc-sidebar__footer-content.svelte-1h67ayb {display:none;}.mc-sidebar__footer-title.svelte-1h67ayb {margin:0;text-align:left;color:var(--sidebar-color-section-item-text-default, #404040);font-weight:var(--font-weight-bold, 700);}.mc-sidebar__footer-subtitle.svelte-1h67ayb {margin:0;font-size:var(--font-caption, 0.75rem);color:var(--sidebar-color-job-title, #666666);}.mc-sidebar__footer-expand.svelte-1h67ayb {display:none;min-width:2.5rem;min-height:2.5rem;width:2.5rem;height:2.5rem;transform:none;}
@media screen and (min-width: 680px) {.mc-sidebar__footer-expand.svelte-1h67ayb {display:inline-flex;}
}.mc-sidebar__footer-expand--mobile.svelte-1h67ayb {position:relative;}
@media screen and (min-width: 680px) {.mc-sidebar__footer-expand--mobile.svelte-1h67ayb {display:none;}
}.mc-sidebar__footer-menu.svelte-1h67ayb {width:19.75rem;box-sizing:border-box;padding:0.5rem 0.75rem;background-color:var(--listbox-color-background, #ffffff);border:1px solid var(--listbox-color-border, #cccccc);border-radius:var(--border-radius-m, 0.5rem);box-shadow:var(--shadow-bottom-s-x, 0px) var(--shadow-bottom-s-y, 5px) var(--shadow-bottom-s-blur, 10px) var(--shadow-bottom-s-spread, -2px) rgba(0, 0, 0, var(--shadow-bottom-s-opacity, 20%));}
@media screen and (min-width: 680px) {.mc-sidebar__footer-menu.svelte-1h67ayb {width:18.75rem;}
}.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;}.mc-sidebar__listbox.svelte-1h67ayb {min-width:18.75rem;border-radius:var(--border-radius-m, 0.5rem);background-color:var(--listbox-color-background, #ffffff);padding:1rem;display:flex;flex-direction:column;gap:0.25rem;box-shadow:var(--shadow-bottom-s-x, 0px) var(--shadow-bottom-s-y, 5px) var(--shadow-bottom-s-blur, 10px) var(--shadow-bottom-s-spread, -2px) rgba(0, 0, 0, var(--shadow-bottom-s-opacity, 20%));}.mc-sidebar__listbox-title.svelte-1h67ayb {font-size:var(--font-size-150, 1rem);font-weight:var(--font-weight-semi-bold, 600);padding-bottom:0.75rem;margin:0;border-bottom:1px solid var(--divider-color-primary, #cccccc);color:var(--sidebar-color-shortcut-item-text-default, #404040);}.mc-sidebar__list.svelte-1h67ayb {list-style-type:none;margin:0;padding:0;}.mc-sidebar__link.svelte-1h67ayb {display:flex;align-items:center;gap:0.25rem;height:2.5rem;width:100%;padding-left:0.25rem;text-align:left;text-decoration:none;font-size:var(--font-size-150, 1rem);font-weight:var(--font-weight-semi-bold, 600);color:var(--sidebar-color-section-item-text-default, #404040);border-radius:var(--border-radius-m, 0.5rem);background:transparent;border:none;cursor:pointer;}.mc-sidebar__link--selected.svelte-1h67ayb {color:var(--sidebar-color-section-item-text-selected, #006902);background:var(--sidebar-color-section-item-background-selected, #ebf5de);}.mc-sidebar__link--locked.svelte-1h67ayb {pointer-events:none;}.mc-sidebar__link.svelte-1h67ayb:not(.mc-sidebar__link--selected):hover {background:var(--sidebar-color-section-item-background-hover, rgba(0, 0, 0, 0.05));}.mc-sidebar__link.svelte-1h67ayb:focus-visible {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-sidebar__icon.svelte-1h67ayb {fill:currentcolor;width:1.5rem;height:1.5rem;}.mc-sidebar__indicator.svelte-1h67ayb {fill:currentcolor;width:1.25rem;height:1.25rem;}.mc-sidebar__text.svelte-1h67ayb {display:block;}.mc-sidebar__sub.svelte-1h67ayb {width:1.25rem;height:1.25rem;}.mc-sidebar__sublist.svelte-1h67ayb {list-style-type:none;margin:0;padding:0 0 0 2rem;display:flex;flex-direction:column;gap:0.25rem;}.mc-sidebar__item.svelte-1h67ayb {position:relative;width:100%;}.mc-sidebar__shortcut-wrapper.svelte-1h67ayb {width:100%;display:grid;justify-content:center;position:relative;}.mc-sidebar__shortcut-list.svelte-1h67ayb {display:flex;margin:0;}.mc-sidebar__shortcut-list--grid.svelte-1h67ayb {padding:0;gap:0.5rem;align-items:center;}.mc-sidebar__shortcut-list--stacked.svelte-1h67ayb {gap:0.25rem;flex-direction:column;padding:0;}.mc-sidebar__shortcut-list--stacked.svelte-1h67ayb:not(.mc-sidebar__shortcut-list--floating) {padding:0 0 0.5rem 1rem;margin-bottom:0.5rem;border-bottom:1px solid var(--divider-color-primary, #cccccc);}.mc-sidebar__shortcut-item.svelte-1h67ayb {cursor:pointer;display:flex;align-items:center;list-style:none;border-radius:var(--border-radius-m, 0.5rem);overflow:hidden;}.mc-sidebar__shortcut-item.svelte-1h67ayb:hover {background-color:var(--sidebar-color-shortcut-item-background-hover, rgba(70, 78, 99, 0.2));}.mc-sidebar__shortcut-item.svelte-1h67ayb:nth-child(n+5) {display:none;}.mc-sidebar__shortcut-item--grid.svelte-1h67ayb {justify-content:center;padding:0 0.125rem;height:3rem;width:3.9375rem;background-color:var(--sidebar-color-shortcut-item-background-default, rgba(70, 78, 99, 0.1));}.mc-sidebar__shortcut-item--stacked.svelte-1h67ayb {padding:0.125rem 0.25rem;width:12.5rem;height:2.5rem;}.mc-sidebar__shortcut-item--stacked.mc-sidebar__shortcut-item--floating.svelte-1h67ayb {width:100%;padding:0.125rem 0 0.125rem 0.25rem;}.mc-sidebar__shortcut-item--selected.mc-sidebar__shortcut-item.svelte-1h67ayb {background-color:var(--sidebar-color-shortcut-item-background-selected, #ebf5de);}.mc-sidebar__shortcut-item.svelte-1h67ayb:is(.mc-sidebar__trigger:where(.svelte-1h67ayb)) {width:3rem;height:3rem;justify-content:center;border:none;background-color:var(--sidebar-color-shortcut-item-background-default, rgba(70, 78, 99, 0.1));}.mc-sidebar__shortcut-item.svelte-1h67ayb:is(.mc-sidebar__trigger:where(.svelte-1h67ayb)):hover {background-color:var(--sidebar-color-shortcut-item-background-default, rgba(70, 78, 99, 0.1));}.mc-sidebar__shortcut-link.svelte-1h67ayb:focus-visible {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-sidebar__shortcut-link.svelte-1h67ayb {text-decoration:none;display:flex;align-items:center;justify-content:center;}.mc-sidebar__shortcut-label.svelte-1h67ayb {font-size:var(--font-size-25, 0.625rem);font-weight:var(--font-weight-regular, 400);line-height:var(--line-height-s, 1.3);color:var(--sidebar-color-shortcut-item-text-default, #404040);white-space:nowrap;overflow:hidden;}.mc-sidebar__shortcut-icon.svelte-1h67ayb {fill:var(--sidebar-color-shortcut-item-text-default, #404040);width:1.5rem;height:1.5rem;}`};function C(t,v){_(v,!0),o(t,S);let C=p(v,`title`,7),w=p(v,`logo`,7),T=p(v,`class`,7),E=g(v,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`title`,`logo`,`class`]),D=c(!1);var O={get title(){return C()},set title(e){C(e),u()},get logo(){return w()},set logo(e){w(e),u()},get class(){return T()},set class(e){T(e),u()}},k=x();f(k,()=>({class:[`mc-sidebar__header`,r(D)?`mc-sidebar__header--expanded`:`mc-sidebar__header--collapsed`,T()],...E}),void 0,void 0,void 0,`svelte-1h67ayb`);var A=h(k),j=a(A,2),M=h(j,!0);return l(j),l(k),y(k,()=>b({setExpanded:e=>n(D,e,!0)})),i(()=>{s(A,`src`,w()),d(M,C())}),e(t,k),m(O)}customElements.define(`m-sidebar-header`,v(C,{title:{},logo:{},class:{}},[],[],{mode:`open`}));
//# sourceMappingURL=SidebarHeader.js.map