import{C as e,D as t,M as n,P as r,Q as i,V as a,W as o,Y as s,b as c,d as l,et as u,ft as d,it as f,j as p,l as m,n as h,ot as g,q as _,r as v,st as y,t as b,w as x,y as S}from"../../client.js";import{n as C,t as w}from"../../sidebar-state.svelte.js";var T=r(`<span class="mc-sidebar__shortcut-icon svelte-146rv3"><!></span>`),E=r(`<li><a class="mc-sidebar__shortcut-link svelte-146rv3"><!> <span class="mc-sidebar__shortcut-label svelte-146rv3"> </span></a></li>`),D={hash:`svelte-146rv3`,code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-sidebar.svelte-146rv3 {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-146rv3 {display:inline-flex;padding-right:0;width:18.75rem;}
}.mc-sidebar__wrapper.svelte-146rv3 {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-146rv3 {border-right:1px solid var(--divider-color-secondary, #999999);}.mc-sidebar__close-button.svelte-146rv3 {position:absolute;top:0.5rem;right:0.5rem;}
@media screen and (min-width: 680px) {.mc-sidebar__close-button.svelte-146rv3 {display:none;}
}.mc-sidebar__container.svelte-146rv3 {flex-grow:1;}.mc-sidebar__floating-item.svelte-146rv3 {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-146rv3 {top:0.25rem;}.mc-sidebar__floating-item--expanded.svelte-146rv3 {left:0;padding:0;}
@media screen and (min-width: 680px) {.mc-sidebar__floating-item--expanded.svelte-146rv3 {left:18.5rem;}
}.mc-sidebar__floating-item--hidden.svelte-146rv3 {visibility:hidden;overflow:hidden;opacity:0;height:0;pointer-events:none;}.mc-sidebar--collapsed.svelte-146rv3 {width:4rem;}.mc-sidebar__footer.svelte-146rv3 {width:100%;}.mc-sidebar__footer-container.svelte-146rv3 {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-146rv3 {width:2rem;height:2rem;border-radius:var(--border-radius-full, 100%);}.mc-sidebar__footer-profile.svelte-146rv3 {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-146rv3:hover {background:var(--sidebar-color-section-item-background-hover, rgba(0, 0, 0, 0.05));}.mc-sidebar__footer-content.svelte-146rv3 {display:none;}.mc-sidebar__footer-title.svelte-146rv3 {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-146rv3 {margin:0;font-size:var(--font-caption, 0.75rem);color:var(--sidebar-color-job-title, #666666);}.mc-sidebar__footer-expand.svelte-146rv3 {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-146rv3 {display:inline-flex;}
}.mc-sidebar__footer-expand--mobile.svelte-146rv3 {position:relative;}
@media screen and (min-width: 680px) {.mc-sidebar__footer-expand--mobile.svelte-146rv3 {display:none;}
}.mc-sidebar__footer-menu.svelte-146rv3 {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-146rv3 {width:18.75rem;}
}.mc-sidebar__header.svelte-146rv3 {display:flex;align-items:center;justify-content:center;gap:0.5rem;}.mc-sidebar__header-logo.svelte-146rv3 {width:2.5rem;height:2.5rem;}.mc-sidebar__header-title.svelte-146rv3 {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-146rv3 {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-146rv3 {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-146rv3 {list-style-type:none;margin:0;padding:0;}.mc-sidebar__link.svelte-146rv3 {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-146rv3 {color:var(--sidebar-color-section-item-text-selected, #006902);background:var(--sidebar-color-section-item-background-selected, #ebf5de);}.mc-sidebar__link--locked.svelte-146rv3 {pointer-events:none;}.mc-sidebar__link.svelte-146rv3:not(.mc-sidebar__link--selected):hover {background:var(--sidebar-color-section-item-background-hover, rgba(0, 0, 0, 0.05));}.mc-sidebar__link.svelte-146rv3: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-146rv3 {fill:currentcolor;width:1.5rem;height:1.5rem;}.mc-sidebar__indicator.svelte-146rv3 {fill:currentcolor;width:1.25rem;height:1.25rem;}.mc-sidebar__text.svelte-146rv3 {display:block;}.mc-sidebar__sub.svelte-146rv3 {width:1.25rem;height:1.25rem;}.mc-sidebar__sublist.svelte-146rv3 {list-style-type:none;margin:0;padding:0 0 0 2rem;display:flex;flex-direction:column;gap:0.25rem;}.mc-sidebar__item.svelte-146rv3 {position:relative;width:100%;}.mc-sidebar__shortcut-wrapper.svelte-146rv3 {width:100%;display:grid;justify-content:center;position:relative;}.mc-sidebar__shortcut-list.svelte-146rv3 {display:flex;margin:0;}.mc-sidebar__shortcut-list--grid.svelte-146rv3 {padding:0;gap:0.5rem;align-items:center;}.mc-sidebar__shortcut-list--stacked.svelte-146rv3 {gap:0.25rem;flex-direction:column;padding:0;}.mc-sidebar__shortcut-list--stacked.svelte-146rv3: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-146rv3 {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-146rv3:hover {background-color:var(--sidebar-color-shortcut-item-background-hover, rgba(70, 78, 99, 0.2));}.mc-sidebar__shortcut-item.svelte-146rv3:nth-child(n+5) {display:none;}.mc-sidebar__shortcut-item--grid.svelte-146rv3 {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--grid.svelte-146rv3 .mc-sidebar__shortcut-link:where(.svelte-146rv3) {flex-direction:column;gap:0.125rem;}.mc-sidebar__shortcut-item--stacked.svelte-146rv3 {padding:0.125rem 0.25rem;width:12.5rem;height:2.5rem;}.mc-sidebar__shortcut-item--stacked.mc-sidebar__shortcut-item--floating.svelte-146rv3 {width:100%;padding:0.125rem 0 0.125rem 0.25rem;}.mc-sidebar__shortcut-item--stacked.svelte-146rv3 .mc-sidebar__shortcut-label:where(.svelte-146rv3) {font-weight:var(--font-weight-semi-bold, 600);font-size:var(--font-body-m, 1rem);}.mc-sidebar__shortcut-item--stacked.svelte-146rv3 .mc-sidebar__shortcut-link:where(.svelte-146rv3) {gap:0.25rem;}.mc-sidebar__shortcut-item--selected.mc-sidebar__shortcut-item.svelte-146rv3 {background-color:var(--sidebar-color-shortcut-item-background-selected, #ebf5de);}.mc-sidebar__shortcut-item--selected.mc-sidebar__shortcut-item.svelte-146rv3 .mc-sidebar__shortcut-label:where(.svelte-146rv3) {color:var(--sidebar-color-shortcut-item-text-selected, #006902);}.mc-sidebar__shortcut-item--selected.mc-sidebar__shortcut-item.svelte-146rv3 .mc-sidebar__shortcut-icon:where(.svelte-146rv3) {fill:var(--sidebar-color-shortcut-item-text-selected, #006902);}.mc-sidebar__shortcut-item.svelte-146rv3:is(.mc-sidebar__trigger:where(.svelte-146rv3)) {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-146rv3:is(.mc-sidebar__trigger:where(.svelte-146rv3)):hover {background-color:var(--sidebar-color-shortcut-item-background-default, rgba(70, 78, 99, 0.1));}.mc-sidebar__shortcut-link.svelte-146rv3: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-146rv3 {text-decoration:none;display:flex;align-items:center;justify-content:center;}.mc-sidebar__shortcut-label.svelte-146rv3 {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-146rv3 {fill:var(--sidebar-color-shortcut-item-text-default, #404040);width:1.5rem;height:1.5rem;}`};function O(r,b){let O=e(b);y(b,!0),c(r,D);let k=h(b,`label`,7),A=h(b,`href`,7),j=h(b,`class`,7),M=v(b,[`$$slots`,`$$events`,`$$legacy`,`$$host`,`label`,`href`,`class`]),N=u(!1),P=u(!1);var F={get label(){return k()},set label(e){k(e),f()},get href(){return A()},set href(e){A(e),f()},get class(){return j()},set class(e){j(e),f()}},I=E();m(I,()=>({class:[`mc-sidebar__shortcut-item`,!a(P)&&a(N)?`mc-sidebar__shortcut-item--grid`:`mc-sidebar__shortcut-item--stacked`,j()],role:`menuitem`,...M}),void 0,void 0,void 0,`svelte-146rv3`);var L=_(I),R=_(L),z=e=>{var t=T();x(_(t),b,`icon`,{},null),d(t),n(e,t)};t(R,e=>{O.icon&&e(z)});var B=s(R,2),V=_(B,!0);return d(B),d(L),d(I),S(I,()=>C({setExpanded:e=>i(N,e,!0)})),S(I,()=>w({setState:e=>i(P,e,!0)})),o(()=>{l(L,`href`,A()),p(V,k())}),n(r,I),g(F)}customElements.define(`m-sidebar-shortcut-item`,b(O,{label:{},href:{},class:{}},[`icon`],[],{mode:`open`}));
//# sourceMappingURL=SidebarShortcutItem.js.map