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,_ as c,b as l,d as u,et as d,ft as f,it as p,j as m,n as h,ot as g,q as _,st as v,t as y,v 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 role="menuitem"><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.
 */
@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__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.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-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,y){let O=e(y);v(y,!0),l(r,D);let k=h(y,`label`,7),A=h(y,`href`,7),j=d(!1),M=d(!1);var N={get label(){return k()},set label(e){k(e),p()},get href(){return A()},set href(e){A(e),p()}},P=E(),F=_(P),I=_(F),L=e=>{var t=T();x(_(t),y,`icon`,{},null),f(t),n(e,t)};t(I,e=>{O.icon&&e(L)});var R=s(I,2),z=_(R,!0);return f(R),f(F),f(P),S(P,()=>C({setExpanded:e=>i(j,e,!0)})),S(P,()=>w({setState:e=>i(M,e,!0)})),o(()=>{c(P,1,b([`mc-sidebar__shortcut-item`,!a(M)&&a(j)?`mc-sidebar__shortcut-item--grid`:`mc-sidebar__shortcut-item--stacked`]),`svelte-146rv3`),u(F,`href`,A()),m(z,k())}),n(r,P),g(N)}customElements.define(`m-sidebar-shortcut-item`,y(O,{label:{},href:{}},[`icon`],[],{mode:`open`}));
//# sourceMappingURL=SidebarShortcutItem.js.map