import{M as e,P as t,Y as n,a as r,b as i,ft as a,it as o,l as s,n as c,ot as l,q as u,st as d,t as f,w as p}from"../../client.js";import{j as m}from"../../components.js";import h from"../divider/Divider.js";import g from"../sidebarnavitem/SidebarNavItem.js";var _=t(`<div><div class="mc-sidebar__footer-menu svelte-191d4yd"><ul class="mc-sidebar__list svelte-191d4yd"><!></ul> <span class="mc-sidebar__footer-menu-divider svelte-191d4yd"><!></span> <div class="mc-sidebar__item mc-sidebar__item--sub svelte-191d4yd"><!></div></div></div>`),v={hash:`svelte-191d4yd`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-sidebar.svelte-191d4yd {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-191d4yd {display:inline-flex;padding-right:0;}
}.mc-sidebar__wrapper.svelte-191d4yd {display:flex;flex-direction:column;gap:0.75rem;min-height:100vh;width:100%;padding:0.75rem;background-color:var(--sidebar-color-background-primary, #ffffff);}
@media screen and (min-width: 680px) {.mc-sidebar__wrapper.svelte-191d4yd {width:17.25rem;}
}.mc-sidebar__close-button.svelte-191d4yd {position:absolute;top:0.5rem;right:0.5rem;}
@media screen and (min-width: 680px) {.mc-sidebar__close-button.svelte-191d4yd {display:none;}
}.mc-sidebar__container.svelte-191d4yd {flex-grow:1;}.mc-sidebar__floating-item.svelte-191d4yd {position:absolute;padding-left:1.25rem;left:3rem;}.mc-sidebar__floating-item--tooltip.svelte-191d4yd {top:0.25rem;}.mc-sidebar__floating-item--expanded.svelte-191d4yd {left:0;padding:0;}
@media screen and (min-width: 680px) {.mc-sidebar__floating-item--expanded.svelte-191d4yd {left:18.5rem;}
}.mc-sidebar__floating-item--hidden.svelte-191d4yd {visibility:hidden;overflow:hidden;opacity:0;height:0;pointer-events:none;}.mc-sidebar--collapsed.svelte-191d4yd {width:4rem;}.mc-sidebar__footer-container.svelte-191d4yd {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-191d4yd {width:2rem;height:2rem;border-radius:var(--border-radius-full, 100%);}.mc-sidebar__footer-profile.svelte-191d4yd {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-191d4yd:hover {background:var(--sidebar-color-section-item-background-hover, rgba(0, 0, 0, 0.05));}.mc-sidebar__footer-content.svelte-191d4yd {display:none;}.mc-sidebar__footer-title.svelte-191d4yd {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-191d4yd {margin:0;font-size:var(--font-caption, 0.75rem);color:var(--sidebar-color-job-title, #666666);}.mc-sidebar__footer-expand.svelte-191d4yd {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-191d4yd {display:inline-flex;}
}.mc-sidebar__footer-expand--mobile.svelte-191d4yd {position:relative;}
@media screen and (min-width: 680px) {.mc-sidebar__footer-expand--mobile.svelte-191d4yd {display:none;}
}.mc-sidebar__footer-menu.svelte-191d4yd {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-191d4yd {width:18.75rem;}
}.mc-sidebar__footer-menu.svelte-191d4yd .mc-sidebar__footer-menu-divider:where(.svelte-191d4yd) {margin:0.5rem 0.75rem;}.mc-sidebar__header.svelte-191d4yd {display:flex;align-items:center;justify-content:center;gap:0.5rem;}.mc-sidebar__header-logo.svelte-191d4yd {width:2.5rem;height:2.5rem;}.mc-sidebar__header-title.svelte-191d4yd {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__listbox.svelte-191d4yd {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-191d4yd {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-191d4yd {list-style-type:none;margin:0;padding:0;}.mc-sidebar__link.svelte-191d4yd {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-191d4yd {color:var(--sidebar-color-section-item-text-selected, #006902);background:var(--sidebar-color-section-item-background-selected, #ebf5de);}.mc-sidebar__link--locked.svelte-191d4yd {pointer-events:none;}.mc-sidebar__link.svelte-191d4yd:not(.mc-sidebar__link--selected):hover {background:var(--sidebar-color-section-item-background-hover, rgba(0, 0, 0, 0.05));}.mc-sidebar__link.svelte-191d4yd: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-191d4yd {fill:currentcolor;width:1.5rem;height:1.5rem;}.mc-sidebar__indicator.svelte-191d4yd {fill:currentcolor;width:1.25rem;height:1.25rem;}.mc-sidebar__text.svelte-191d4yd {display:block;}.mc-sidebar__sub.svelte-191d4yd {width:1.25rem;height:1.25rem;}.mc-sidebar__sublist.svelte-191d4yd {list-style-type:none;margin:0;padding:0 0 0 2rem;display:flex;flex-direction:column;gap:0.25rem;}.mc-sidebar__item.svelte-191d4yd {position:relative;}.mc-sidebar__shortcut-wrapper.svelte-191d4yd {width:100%;display:grid;justify-content:center;position:relative;}.mc-sidebar__shortcut-list.svelte-191d4yd {display:flex;margin:0;}.mc-sidebar__shortcut-list--grid.svelte-191d4yd {padding:0;gap:0.5rem;align-items:center;}.mc-sidebar__shortcut-list--stacked.svelte-191d4yd {gap:0.25rem;flex-direction:column;padding:0;}.mc-sidebar__shortcut-list--stacked.svelte-191d4yd: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-191d4yd {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-191d4yd:hover {background-color:var(--sidebar-color-shortcut-item-background-hover, rgba(70, 78, 99, 0.2));}.mc-sidebar__shortcut-item.svelte-191d4yd:nth-child(n+5) {display:none;}.mc-sidebar__shortcut-item--grid.svelte-191d4yd {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-191d4yd {padding:0.125rem 0.25rem;width:12.5rem;height:2.5rem;}.mc-sidebar__shortcut-item--stacked.mc-sidebar__shortcut-item--floating.svelte-191d4yd {width:100%;padding:0.125rem 0 0.125rem 0.25rem;}.mc-sidebar__shortcut-item--selected.mc-sidebar__shortcut-item.svelte-191d4yd {background-color:var(--sidebar-color-shortcut-item-background-selected, #ebf5de);}.mc-sidebar__shortcut-item.svelte-191d4yd:is(.mc-sidebar__trigger:where(.svelte-191d4yd)) {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-191d4yd:is(.mc-sidebar__trigger:where(.svelte-191d4yd)):hover {background-color:var(--sidebar-color-shortcut-item-background-default, rgba(70, 78, 99, 0.1));}.mc-sidebar__shortcut-link.svelte-191d4yd: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-191d4yd {text-decoration:none;display:flex;align-items:center;justify-content:center;}.mc-sidebar__shortcut-label.svelte-191d4yd {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-191d4yd {fill:var(--sidebar-color-shortcut-item-text-default, #404040);width:1.5rem;height:1.5rem;}`};function y(t,f){d(f,!0),i(t,v);let y=c(f,`logOutLabel`,7),b=c(f,`expanded`,7),x=c(f,`onListboxKeydown`,7),S=c(f,`hideFloatingItem`,7),C=c(f,`listbox`,15),w=c(f,`onlogout`,7);var T={get logOutLabel(){return y()},set logOutLabel(e){y(e),o()},get expanded(){return b()},set expanded(e){b(e),o()},get onListboxKeydown(){return x()},set onListboxKeydown(e){x(e),o()},get hideFloatingItem(){return S()},set hideFloatingItem(e){S(e),o()},get listbox(){return C()},set listbox(e){C(e),o()},get onlogout(){return w()},set onlogout(e){w(e),o()}},E=_();s(E,()=>({id:`listbox-footer`,tabindex:`0`,role:`menu`,class:{"mc-sidebar__floating-item mc-sidebar__floating-item--hidden":!0,"mc-sidebar__floating-item--expanded":b()},...b()?{}:{onkeydown:x(),onmouseleave:S(),onblur:S()}}),void 0,void 0,void 0,`svelte-191d4yd`);var D=u(E),O=u(D);p(u(O),f,`default`,{},null),a(O);var k=n(O,2);h(u(k),{}),a(k);var A=n(k,2);return g(u(A),{tag:`div`,get label(){return y()},sub:!0,get onclick(){return w()},$$slots:{icon:(e,t)=>{m(e,{slot:`icon`})}}}),a(A),a(D),a(E),r(E,e=>C(e),()=>C()),e(t,E),l(T)}f(y,{logOutLabel:{},expanded:{},onListboxKeydown:{},hideFloatingItem:{},listbox:{},onlogout:{}},[`default`],[],{mode:`open`});export{y as default};
//# sourceMappingURL=_SidebarFooterMenu.js.map