==t?void 0:t.openSideBar)&&void 0!==o?o:"Play games"}}"
        role="button"
        appearance="stealth"
        class="float-button"
    >
        ${(0,f.g)((e=>e.iconHovered),h.d`${m.Z}`)}
        ${(0,f.g)((e=>!e.iconHovered),h.d`${'<svg viewBox="0 0 2048 2048"><path d="m903 146 879 878-879 878 121 121 999-999-999-999-121 121zm-853 0 878 878-878 878 121 121 999-999L171 25 50 146z"/></svg>'}`)}
    </fluent-button>
</div>

`,q=h.d`
    <fluent-button
        aria-label="${e=>{var t,o;return null!==(o=null===(t=e.strings)||void 0===t?void 0:t.closeSideBar)&&void 0!==o?o:"Close"}}"
        role="button"
        appearance="stealth"
        @click=${e=>e.togglePanel()}
        title="${e=>{var t,o;return null!==(o=null===(t=e.strings)||void 0===t?void 0:t.closeSideBar)&&void 0!==o?o:"Close"}}"
    >
        ${'<svg width="12" height="12" viewBox="0 0 12 12"><path d="M6.85 6 12 11.15l-.85.85L6 6.85.85 12 0 11.15 5.15 6 0 .85.85 0 6 5.15 11.15 0l.85.85L6.85 6Z"/></svg>'}
    </fluent-button>
`,z=h.d`
    <fluent-button
        aria-label="${e=>{var t,o;return null!==(o=null===(t=e.strings)||void 0===t?void 0:t.more)&&void 0!==o?o:"More"}}"
        role="button"
        appearance="stealth" 
        class="overflow-menu-button"
        @click=${e=>e.toggleOverflowMenu()}
        title=${e=>{var t,o;return null!==(o=null===(t=e.strings)||void 0===t?void 0:t.more)&&void 0!==o?o:"More"}}
        ${(0,b.i)("expandOverflowMenuButton")}
    >
        ${h.d`${$.Z}`}
    </fluent-button>
`,k=h.d`
    <fluent-anchored-region
        :anchorElement=${e=>e.expandOverflowMenuButton||document.body}
        fixed-placement=${!1}
        horizontal-positioning-mode="dynamic"
        horizontal-default-position="end"
        horizontal-inset="true"
        vertical-positioning-mode="dynamic"
        vertical-default-position="top"
    >
        <fluent-menu class="overflow-menu-wrapper">
            <fluent-anchor
            appearance="stealth"
            class="overflow-menu-item"
            @click=${e=>e.hideSideBar()}
            >
                <div class="icon">
                    ${h.d`${w.Z}`}
                </div>
                <div class="text">
                    ${e=>{var t,o;return null!==(o=null===(t=e.strings)||void 0===t?void 0:t.hideSideBar)&&void 0!==o?o:"Hide sidebar"}}
                </div>
            </fluent-anchor>
        </fluent-menu>
    </fluent-anchored-region>
`,S=h.d`
    <div class="tab-list">
        ${(0,x.rx)((e=>e.config.tabs),h.d`
                <fluent-button
                    aria-label="${(e,t)=>{var o;return null===(o=t.parent.strings)||void 0===o?void 0:o[e.id]}}"
                    appearance="stealth"
                    title="${(e,t)=>{var o;return null===(o=t.parent.strings)||void 0===o?void 0:o[e.id]}}"
                    role="tab"
                    tabindex="0"
                    aria-selected="true"
                    aria-controls="${e=>e.id}-panel"
                    id="${e=>e.id}-tab"
                >
                    ${(0,f.g)((e=>"games"===e.id),h.d`${m.Z}`)}
                </fluent-button>
            `)}
    </div>
`,L=h.d`
    <div
        id="${e=>e.foucsedTab.id}-panel"
        role="tabpanel"
        tabindex="${e=>e.foucsedTab.index}"
    >
        ${(0,x.rx)((e=>e.foucsedTab.childRefs),h.d` <div
                class="child-experience"
            >
                ${e=>(0,B.O)(e)}
            </div>`)}
    </div>
`,O=h.d`
    <div class="container">
        <div class="button-list">
            ${S}
            ${z}
            ${(0,f.g)((e=>e.showOverflowMenu),k)}
        </div>
        <div class="panel">
            <div class="header">
                <div class="title">${e=>e.foucsedTab.title}</div>
                <div class="close-button">${q}</div>
            </div>
            <div class="content">${L}</div>
        </div>
    </div>
`,T=h.d`
    ${(0,f.g)((e=>!e.hidden&&!e.expanded),y)}
    ${(0,f.g)((e=>e.expanded),O)}
`;var M=o(53046),H=o(62734);const Z=M.i`
    :host {
        --background: rgba(255, 255, 255, 0.6);
        --elevation: 11;
    }

    @media (prefers-color-scheme: dark) {
        :host {
            --background: rgba(36, 36, 36, 0.6);
        }
    }

    fluent-button.stealth {
        background: transparent;
        transition: 0.3s;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    fluent-button.stealth:hover {
        background: var(--neutral-fill-stealth-hover);
    }

    .float-button.stealth {
        height: 32px;
        width: 32px;
        background: var(--icon-background-color);
        border-radius: 50%;
        transition: 0.8s;
        fill: var(--icon-fill-color);
        transform: var(--icon-size);
        ${H.XC}
    }

    .float-button.stealth:hover {
        background: var(--icon-background-color);
    }

    .float-button-wrapper {
        transition: 0.8s;
        cursor: pointer;
        position: fixed;
        left: 0;
        top: calc(50% - 16px);
        --icon-background-color: rgba(17, 17, 17, 0.2);
        --icon-fill-color: #fff;
        --elevation: 0;
    }

    .float-button-wrapper:hover {
        padding-left: 16px;
        --icon-background-color: rgba(255, 255, 255, 0.8);
        --icon-fill-color: #106ebe;
        --elevation: 11;
        --icon-size: scale(1.2);
    }

    .container {
        position: fixed;
        left: 0;
        height: 80%;
        top: 10%;
        box-sizing: border-box;
        background: var(--background);
        display: flex;
        border-radius: 0 8px 8px 0;
        border: 1px solid var(--neutral-outline-rest);
        border-left: none;
        backdrop-filter: blur(6px);
        z-index: 999;
        overflow: hidden;
        ${H.XC}
    }

    @media (max-height: 1200px) {
        .container {
            top: 0;
            height: 100%;
        }
    }

    .panel {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: 100%;
        overflow: hidden;
    }

    .panel > .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 4px 6px;
    }

    .header > .title {
        font-size: 1.4rem;
        font-weight: 600;
        text-align: center;
        width: 100%;
    }

    .panel > .content {
        height: 100%;
        width: 100%;
        overflow: hidden;
        box-sizing: border-box;
    }

    [role="tabpanel"] {
        box-sizing: border-box;
        height: 100%;
        width: 364px;
        padding: 8px 12px;
        overflow: auto;
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.3);
        border-radius: 6px 6px 0 0;
    }

    .button-list {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .button-list svg {
        height: 24px;
        width: 24px;
    }

    .button-list .stealth {
        padding: 2px 2px;
        box-sizing: border-box;
        margin: 4px 2px;
    }

    game-card {
        --scrollbar-bg-color: rgba(61, 108, 220, 0.6);
    }

    .child-experience {
        border-radius: 6px;
        overflow: hidden;
    }

    #games-panel {
        padding-top: 0px;
        padding-left: 0px;
        background: transparent;
    }

    .overflow-menu-wrapper {
        background-color: var(--neutral-fill-stealth-rest);
        ${H.XC}
    }

    .overflow-menu-button.stealth {
        margin-bottom: 8px;
    }

    .overflow-menu-item.stealth {
        margin: 0;
        padding: 0;
    }

    .overflow-menu-item .icon {
        height: 16px;
    }

    .overflow-menu-item .icon svg {
        height: 16px;
        width: 16px;
    }

    .overflow-menu-item .text {
        margin-left: 6px;
        font-size: 16px;
    }

    .overflow-menu-item::part(content) {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    fast-anchored-region {
        bottom: 42px;
        position: absolute;
        z-index: 700;
        left: 2px;
    }
`,A={experienceConfigSchema:r}}}]);A
Eo