386 9 7 8.77614 7 8.5V8Z" fill="black"/>
</svg>
`,Re=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="background-settings">
        <p class="background-title" id="background-settings__background-title">
            ${e=>e.strings.background||null}
            ${(0,$e.g)((e=>e.isBackgroundTypeManagedByPolicy),Ve)}
        </p>
        <fluent-radio-group
                class="radio-settings"
                value="${e=>e.backgroundMode}"
                @click="${(e,t)=>e.onCustomBackgroundRadioClick(t.event)}"
                required = "true"
                orientation="vertical">
            <fluent-radio
                value=${e=>e.backgroundImageOff.value}
                id=${e=>e.backgroundImageOff.value}
                aria-label=${e=>e.backgroundImageOff.text}
                aria-labelledby="background-settings__background-title"
                title=${e=>e.backgroundImageOff.text}
                class="radio-button"
                data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.imageOffRadioButtonMetaTag}}">
                ${e=>e.backgroundImageOff.text}
                </fluent-radio>
            <fluent-radio
                value=${e=>e.backgroundImageBing.value}
                id=${e=>e.backgroundImageBing.value}
                aria-label=${e=>e.backgroundImageBing.text}
                aria-labelledby="background-settings__background-title"
                title=${e=>e.backgroundImageBing.text}
                ?disabled=${e=>e.isImageOfTheDayDisabledByPolicy}
                class="radio-button"
                data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.bingImageRadioButtonMetaTag}}">
                ${e=>e.backgroundImageBing.text}
            </fluent-radio>
            <fluent-radio
                value=${e=>e.backgroundImageAndVideo.value}
                id=${e=>e.backgroundImageAndVideo.value}
                aria-label=${e=>e.backgroundImageAndVideo.text}
                aria-labelledby="background-settings__background-title"
                title=${e=>e.backgroundImageAndVideo.text}
                ?disabled=${e=>e.isImageOfTheDayDisabledByPolicy}
                class="radio-button"
                data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.imageAndVideoRadioButtonMetaTag}}"
            >
                ${e=>e.backgroundImageAndVideo.text}
            </fluent-radio>
            <fluent-radio
                value=${e=>e.backgroundImageCustom.value}
                id=${e=>e.backgroundImageCustom.value}
                aria-label=${e=>e.backgroundImageCustom.text}
                aria-labelledby="background-settings__background-title"
                title=${e=>e.backgroundImageCustom.text}
                ?disabled=${e=>e.isCustomBackgroundImageDisabledByPolicy}
                class="radio-button"
                data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.customImageRadioButtonMetaTag}}">
                ${e=>e.backgroundImageCustom.text}
            </fluent-radio>
            ${(0,$e.g)((e=>e.backgroundMode==j.HX.custom),Ae)}
            <fluent-radio
                value=${e=>e.backgroundImageTheme.value}
                id=${e=>e.backgroundImageTheme.value}
                aria-label=${e=>e.backgroundImageTheme.text}
                aria-labelledby="background-settings__background-title"
                title=${e=>e.backgroundImageTheme.text}
                ?disabled=${e=>e.isCustomBackgroundImageDisabledByPolicy}
                class="radio-button"
                data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.themeRadioButtonMetaTag}}">
                ${e=>e.backgroundImageTheme.text}
            </fluent-radio>
            ${(0,$e.g)((e=>e.backgroundMode==j.HX.theme),He)}
        </fluent-radio-group>
    </div>
`;var qe=i(18864);const ze=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="toggle-custom">
        <fluent-switch
            checked=${e=>e.greetingEnabled}
            aria-checked="${e=>e.greetingEnabled}"
            @change=${(e,t)=>e.updateToggle(t.event,me.greeting)}
             class="${e=>e.greetingEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.greetingToggleMetaTag}}"
            >
            <label class="toggle-custom-title">
            ${e=>e.strings.greeting||null}
            </label>
            <span class="toggle-custom-label">${e=>e.greetingEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
            </fluent-switch>
    </div>
`,Ne=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="toggle-custom">
        <fluent-switch
            checked=${e=>e.quickLinksEnabled}
            ?disabled=${e=>e.isQuickLinksDisabledByPolicy}
            aria-checked="${e=>e.quickLinksEnabled}"
            @change=${(e,t)=>e.updateToggle(t.event,me.quickLinks)}
            class="${e=>e.quickLinksEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.quickLinkToggleMetaTag}}"
            >
            <label class="toggle-custom-title">
                ${e=>e.strings.quickLinks||null}
                ${(0,$e.g)((e=>e.isQuickLinksDisabledByPolicy),Ve)}
            </label>
            <span class="toggle-custom-label">${e=>e.quickLinksEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>      
        </fluent-switch>
</div>
`,je=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="toggle-custom">
        <fluent-switch
            id="hideDefaultTS"
            checked=${e=>!e.hideDefaultTopSites}
            aria-checked="${e=>!e.hideDefaultTopSites}"
            @change=${(e,t)=>e.updateHideDefaultToggle(t.event,me.hideDefaultTopSites)}
            class="${e=>e.hideDefaultTopSites?"toggle-fluent-switch":"toggle-fluent-switch toggle-fluent-switch-check"}"
            data-t="${e=>e.telemetryContext.hideDefaultLinkToggleMetaTag}"
            >
            <label class="toggle-custom-title">
                ${e=>e.isOnTopsiteAdDisclaimerReverseFlight?e.strings.promotedLinks:e.strings.sponsoredLinks}
            </label>
            <span class="toggle-custom-label">${e=>e.hideDefaultTopSites?e.strings.toggleOff:e.strings.toggleOn}</span>
        </fluent-switch>
</div>
`,Ge=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="toggle-custom">
        <fluent-switch
            checked=${e=>e.searchHistoryEnabled}
            aria-checked="${e=>e.searchHistoryEnabled}"
            @change=${(e,t)=>e.updateToggle(t.event,me.searchHistory)}
            class="${e=>e.searchHistoryEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.searchHistoryToggleMetaTag}}"
        >
        <label class="toggle-custom-title">
            ${e=>e.strings.searchHistory||null}
        </label>
        <span class="toggle-custom-label">${e=>e.searchHistoryEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
        </fluent-switch>
    </div>
`,Ue=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="toggle-custom">
        <fluent-switch
            checked=${e=>e.leftRailEnabled}
            aria-checked="${e=>e.leftRailEnabled}"
            @change=${(e,t)=>e.updateToggle(t.event,me.leftRail)}
            class="${e=>e.leftRailEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.leftRailToggleMetaTag}}"
        >
        <label class="toggle-custom-title">
            ${e=>e.strings.leftRail||null}
        </label>
        <span class="toggle-custom-label">${e=>e.leftRailEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
        </fluent-switch>
    </div>
`,_e=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="toggle-custom">
        <fluent-switch
            checked=${e=>e.sideBarEnabled}
            aria-checked="${e=>e.sideBarEnabled}"
            @change=${(e,t)=>e.updateToggle(t.event,me.sideBar)}
            class="${e=>e.sideBarEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.sideBarToggleMetaTag}}"
        >
        <label class="toggle-custom-title">
            ${e=>e.strings.sideBar||null}
        </label>
        <span class="toggle-custom-label">${e=>e.sideBarEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
        </fluent-switch>
    </div>
`,Ze=ve.d`
<fluent-option 
    value="${e=>e.title}"
    id="${e=>e.id}"
    class=${(e,t)=>t.parent.currentSetting===e.id?"selected":"unselected"}
    ?selected=${(e,t)=>t.parent.currentSetting===e.id}>
        ${e=>e.title}
</fluent-option>
`,Qe=ve.d`
<fluent-option 
    value="${e=>e.title}"
    id="${e=>e.id}"
    class=${(e,t)=>t.parent.quickLinksDropDownValue===e.id?"selected":"unselected"}
    ?selected=${(e,t)=>t.parent.quickLinksDropDownValue===e.id}>
        ${e=>e.title}
</fluent-option>
`,Je=ve.d`
<fluent-option 
    value="${e=>e.title}"
    id="${e=>e.id}"
    class=${(e,t)=>t.parent.recommendSitesDropDownValue===e.id?"selected":"unselected"}
    ?selected=${(e,t)=>t.parent.recommendSitesDropDownValue===e.id}>
        ${e=>e.title}
</fluent-option>
`,We=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="background-settings">
        <p class="background-title">
            ${e=>e.strings.feeds||null}
            ${(0,$e.g)((e=>e.isContentFeedDisabledByPolicy),Ve)}
        </p>
        <div class="feed-selector">
            <fluent-select 
                appearance="filled" 
                class="select"
                ?disabled=${e=>e.isContentFeedDisabledByPolicy}
                id="feeds"
                data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.feedSelectorOptionMetaTag}}"
                @click=${(e,t)=>e.onClickDropDownOptions(t.event,"ContentOptions")}
                @change=${(e,t)=>e.updateFeedVisibility(t.event)}
                current-value=${e=>e.currentSetting&&e.feedMenuItemsMap[e.currentSetting]&&e.feedMenuItemsMap[e.currentSetting].title}
                data-customhandled="true">
                <span slot="selected-value">${e=>e.currentSetting&&e.feedMenuItemsMap[e.currentSetting]&&e.feedMenuItemsMap[e.currentSetting].title}</span>
                ${(0,qe.rx)((e=>e.feedMenuItems),Ze)}
            </fluent-select>
        </div>
    </div>
`,Xe=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div  class="toggle-settings">
        <label class="toggle-title">
            ${e=>e.strings.quickLinksDropDown||null}
            ${(0,$e.g)((e=>e.isQuickLinksDisabledByPolicy),Ve)}
        </label>
        <fluent-select 
            class="quick-links-options" 
            ?disabled=${e=>e.isQuickLinksDisabledByPolicy}
            id="quickLinkSelector"
            appearance="filled"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.quickLinkDropDownMetaTag}}"
            @click=${(e,t)=>e.onClickDropDownOptions(t.event,"Quicklinks")}
            @change=${(e,t)=>e.updateQuickLinks(t.event)}
            current-value=${e=>e.quickLinksDropDownValue&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue]&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue].title}
            data-customhandled="true">
            <span slot="selected-value">${e=>e.quickLinksDropDownValue&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue]&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue].title}</span>
                ${(0,qe.rx)((e=>e.quickLinksMenuItems),Qe)}
        </fluent-select>        
    </div>
`,Ke=ve.d`
<fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div  class="toggle-settings">
        <label class="toggle-title">
            ${e=>e.strings.recommendedSites||"网址导航"}
        </label>
        <fluent-select 
            class="recommended-sites-options" 
            id="recommendedSitesSelector"
            appearance="filled"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.recommendedSitesDropDownMetaTag}}"
            @click=${(e,t)=>e.onClickDropDownOptions(t.event,"RecommendedSites")}
            @change=${(e,t)=>e.updateRecommendedSites(t.event)}
            current-value=${e=>e.recommendedSitesDropDownValue&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue]&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue].title}
            data-customhandled="true">
            <span slot="selected-value">${e=>e.recommendedSitesDropDownValue&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue]&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue].title}</span>
                ${(0,qe.rx)((e=>e.recommendedSitesMenuItems),Je)}
        </fluent-select>        
    </div>
`,Ye=ve.d`
<div class="${e=>"custom"===e.displayedSection&&e.isSettingsDialogVisible?"settings-dialog":"hidden"}" id="settingDialogCustom" role="dialog">
    <fluent-button
        class="settings-close-button"
        title="${e=>e.strings.accessibility.closeButton||null}"
        aria-label="${e=>e.strings.accessibility.closeButton||null}"
        role="button"
        @click=${e=>e.toggleSettingsDialog(!1)}
        tabindex="0"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.settingsCloseButtonMetaTag}}"
        ${(0,ye.i)("closeButton")}>
            <span class="close-button-glyph"> ${Te}</span>
    </fluent-button>
    <div class="heading-container-custom">
        <fluent-button
            class="custom-arrow-back"
            appearance="stealth"
            @click=${e=>e.toggleSection("main")}
            title="${e=>e.strings.accessibility.backButton||null}"
            aria-label="${e=>e.strings.accessibility.backButton||null}"
            role="button"
            tabindex="0"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.backButtonMetaTag}}"
            ${(0,ye.i)("svgBackButton")}>
                <svg class="chevronIcon-floating-custom" width="12" height="12" viewBox="0 0 32 32"  xmlns="http://www.w3.org/2000/svg"><g><rect width="32" height="32" rx="16" fill-opacity="0"></rect><path fill-opacity="1" d="M16 19.709L10.1465 13.8555L10.8555 13.1465L16 18.291L21.1445 13.1465L21.8535 13.8555L16 19.709Z"></path></g></svg>
        </fluent-button>
        <h1 class="custom-title">
            ${e=>e.strings.customSettings||null}
        </h1>
    </div>
        ${(0,$e.g)((e=>e.displayQuickLinksDropdown),Xe)}
        ${(0,$e.g)((e=>e.displayRecommendedSitesDropdown),Ke)}
        ${(0,$e.g)((e=>e.displayQuickLinks),Ne)}
        ${(0,$e.g)((e=>e.displayPromotedLinks),je)}
        ${(0,$e.g)((e=>e.displaySearchHistory),Ge)}
        ${(0,$e.g)((e=>!e.isContentFeedDisabledByPolicy&&e.displayGreeting),ze)}
        ${(0,$e.g)((e=>e.displayLeftRail),Ue)}
        ${(0,$e.g)((e=>e.displaySideBar&&e.selectedLayoutMode!==j.nP.focused&&"off"!==e.currentSetting),_e)}

        ${(0,$e.g)((e=>e.settingDialogEnabled),Re)}
        ${(0,$e.g)((e=>e.settingDialogEnabled),We)}
</div>
`,et=ve.d`
<div class="layout-settings-buttons-container" role="tablist">
    <fluent-button
        class="layout-mode-button ${e=>e.selectedLayoutMode===j.nP.focused?"layout-mode-button-selected":null}"
        appearance="neutral"
        @click=${e=>e.onLayoutModeClick(j.nP.focused)}
        ?disabled=${e=>e.isLayoutModeDisabledByPolicy}
        title="${e=>e.strings.focusedMode||null}"
         id=${j.nP.focused}
        role="tab"
        tabIndex= ${e=>e.selectedLayoutMode===j.nP.focused?0:-1}
        aria-label="${e=>e.strings.focusedMode||null}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.focusedButtonMetaTag}}"
         ${(0,ye.i)("focusedLayoutButton")}>
            ${e=>e.selectedLayoutMode!==j.nP.focused?Se("layout-button-icon-inactive"):Se("layout-button-icon-active")}
            ${e=>e.strings.focusedMode}
        </fluent-button>
    <fluent-button
        class="layout-mode-button ${e=>e.selectedLayoutMode===j.nP.inspirational?"layout-mode-button-selected":null}"
        appearance="neutral"
        @click=${e=>e.onLayoutModeClick(j.nP.inspirational)}
        ?disabled=${e=>e.isLayoutModeDisabledByPolicy}
        title="${e=>e.strings.inspirationalMode||null}"
        aria-label="${e=>e.strings.inspirationalMode||null}"
         id=${j.nP.inspirational}
        role="tab"
        tabIndex=${e=>e.selectedLayoutMode===j.nP.inspirational?0:-1}
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.inspirationalButtonMetaTag}}">
            ${e=>e.selectedLayoutMode!==j.nP.inspirational?Ie("layout-button-icon-inactive"):Ie("layout-button-icon-active")}
            ${e=>e.strings.inspirationalMode}
        </fluent-button>
    <fluent-button
        class="layout-mode-button ${e=>e.selectedLayoutMode===j.nP.informational?"layout-mode-button-selected":null}"
        @click=${e=>e.onLayoutModeClick(j.nP.informational)}
          appearance="neutral"
        ?disabled=${e=>e.isLayoutModeDisabledByPolicy}
        title="${e=>e.strings.informationalMode||null}"
        aria-label="${e=>e.strings.informationalMode||null}"
         id=${j.nP.informational}
       role="tab"
       tabIndex= ${e=>e.selectedLayoutMode===j.nP.informational?0:-1}
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.informationalButtonMetaTag}}">
            ${e=>e.selectedLayoutMode!==j.nP.informational?Ce("layout-button-icon-inactive"):Ce("layout-button-icon-active")}
            ${e=>e.strings.informationalMode}
        </fluent-button>
    <fluent-button
        class="layout-mode-button reduce-padding ${e=>e.selectedLayoutMode===j.nP.custom?"layout-mode-button-selected":null}"
        @click=${e=>e.onLayoutModeClick(j.nP.custom)}
        appearance="neutral"
        id=${j.nP.custom}
        title="${e=>e.strings.customSettings||null}"
        aria-label="${e=>e.strings.customSettings||null}"
        role="tab"
        aria-expanded="false"
        tabIndex="0"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.customButtonMetaTag}}"
        ${(0,ye.i)("lastLayoutButton")}>
            ${e=>e.selectedLayoutMode!==j.nP.custom?Le("layout-button-icon-inactive"):Le("layout-button-icon-active")}
            ${e=>e.strings.customSettings}
            <svg class="chevronIcon-floating" height="12" width="12" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.02344 15.2734L11.2891 8L4.02344 0.726562L4.72656 0.0234375L12.7109 8L4.72656 15.9766L4.02344 15.2734Z"></path></svg>
        </fluent-button>
</div>
`,tt=ve.d`
<div class="settings-enterprise-header">
    <h1 class="settings-dialog-enterprise-title">
        ${e=>e.strings.enterpriseSettings||null}
    </h1>      
    <div class="page-content-radio">
        <fluent-radio-group
            @change="${(e,t)=>e.onContentSourceChange(t.event)}"
            value="${e=>e.enterpriseFeedSwitcherMode}"
            class="reduced-margin"
            orientation="vertical">
                ${(0,qe.rx)((e=>e.enterpriseFeedSwitcher),ve.d`
                    <fluent-radio
                        value=${e=>e.value}
                        id=${e=>e.value}
                        aria-label=${e=>e.text}
                        title=${e=>e.text}
                        tabindex=${0}
                        class="radio-enterprise-button"
                        data-t="${e=>e.telemetryMetatag}">
                        ${e=>e.text}
                    </fluent-radio>
                `)}
            </fluent-radio-group>
    </div>
</div>
`,it=ve.d`
    <fluent-divider class="divider-margin" slot="divider"></fluent-divider>
    <div class="linksContainer">
        ${(0,qe.rx)((e=>e.settingLinks),ve.d`
            <a class="appLink  ${(e,t)=>t.parent.darkMode?"footer-dark":"footer-light-link"}" id=${e=>e.id} href=${e=>e.url} role="link"
                data-t="${e=>e.name}"
            ><span>${e=>e.title}</span></a>
            ${(0,$e.g)((e=>e.separator),ve.d`
            <label class="footer">${"·"}</label>
            `)}
        `)}
        ${(0,$e.g)((e=>e.enableFeedback),ve.d`
            <label class="footer">${"·"}</label>
            <a class="appLink  ${(e,t)=>e.darkMode?"footer-dark":"footer-light-link"}" data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.feedbacklinkMetaTag}}" @click=${e=>e.showFeedbackTool()} id="feedback" href="#">
            <span>${e=>e.strings.feedback}</span></a>`)}
    </div>
    <div class="${e=>e.darkMode?"affiliateDisclaimer footer-dark":"affiliateDisclaimer footer-light"}">
        <span>${e=>e.strings.affiliateDisclaimer}</span>
    </div>
`,nt=ve.d`
    <fluent-button
        class="settings-close-button"
        title="${e=>e.strings.accessibility.closeButton||null}"
        aria-label="${e=>e.strings.accessibility.closeButton||null}"
        role="button"
        @click=${e=>e.toggleSettingsDialog(!1)}
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.settingsCloseButtonMetaTag}}"
        ${(0,ye.i)("closeButton")}>
        <span class="close-button-glyph"> ${Te}</span>
    </fluent-button>
`,ot=ve.d`
<div class="${e=>e.isSettingsDialogVisible?"settings-dialog":"hidden"}" id="settingDialogMain" role="dialog" >
    ${(0,$e.g)((e=>e.displayEnterpriseFeedSwitcher),nt)}
    ${(0,$e.g)((e=>e.displayEnterpriseFeedSwitcher),tt)}
        <div class="${e=>e.displayEnterpriseFeedSwitcher?"settings-dialog-main-header-no-padding":"settings-dialog-main-header"}">
            ${(0,$e.g)((e=>!e.displayEnterpriseFeedSwitcher),nt)}
            <div class="main-header-container">
                <h1 class="settings-dialog-main-title">
                    ${e=>e.strings.mainSettings||null}
                </h1>
                ${(0,$e.g)((e=>e.isLayoutModeDisabledByPolicy),Ve)}
            </div>
            ${(0,$e.g)((e=>e.settingDialogEnabled),et)}
            <hr class="divider-margin" slot="divider"></hr>
                <fluent-button
                    class="layout-mode-button add-padding"
                    @click=${e=>e.toggleSection("advanced")}
                    title="${e=>e.strings.advancedSettings||null}"
                    aria-label="${e=>e.strings.accessibility.advancedSettings||null}"
                    role="button"
                    appearance="stealth"
                    id="advanced"
                    tabindex="0"
                    aria-expanded="false"
                    data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.advancedButtonMetaTag}}">
                    ${e=>e.strings.advancedSettings}
                   <svg class="chevronIcon-floating" height="12" width="12" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.02344 15.2734L11.2891 8L4.02344 0.726562L4.72656 0.0234375L12.7109 8L4.72656 15.9766L4.02344 15.2734Z"></path></svg>
                </fluent-button>
        </div>
    ${(0,$e.g)((e=>e.settingDialogEnabled),it)}
</div>
`,st=ve.d`
<fluent-select 
    class="layout-options" 
    id="layoutSelector"
    appearance="filled" 
    data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.layoutDropDownMetaTag}}"
    @change="${(e,t)=>e.updateLayout(t.event)}"
    @click="${(e,t)=>e.onLayoutSelectionClick(t.event)}"
    current-value="${e=>e.layoutMenuItemsMap[e.selectedLayoutMode].title}"
    data-customhandled="true">
    <span slot="selected-value">${e=>e.layoutMenuItemsMap[e.selectedLayoutMode].title}</span>
        ${(0,qe.rx)((e=>e.layoutMenuItems),Qe)}
</fluent-select>
`,at=ve.d`
<div class="settings-block" id=${ie.layout}>
    <div class="settings-block-header">
        <h2 class="settings-block-title">${e=>e.strings.layout||"Layout"}</h2>
        <fluent-button
            class="settings-expand-button ${e=>e.config.enableHideBlocks?"":"hidden"}"
            title="${e=>e.expandedBlocks.has(ie.layout)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            aria-label="${e=>e.expandedBlocks.has(ie.layout)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            role="button"
            @click="${(e,t)=>e.toggleBlockExpand(t.event,ie.layout)}"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.layoutExpandButtonMetaTag}}"
        >
            ${(0,$e.g)((e=>e.expandedBlocks.has(ie.layout)),ve.d`${Me}`)}
            ${(0,$e.g)((e=>!e.expandedBlocks.has(ie.layout)),ve.d`${Be}`)}
        </fluent-button>
    </div>
    <div class="settings-block-container ${e=>e.expandedBlocks.has(ie.layout)?"":"close"}">
        ${(0,$e.g)((e=>e.settingDialogEnabled),st)}
    </div>
</div>
`,lt=ve.d`
<div class="market-selector-settings">
    <div class="language-dropdown">
        <msn-market-selector
            :id="${e=>e.marketSelectorProps.id}"
            :onValueChange="${e=>e.marketSelectorProps.onValueChange}"
            :defaultMarketId="${e=>e.marketSelectorProps.defaultMarketId}"
            :selectedMarketId="${e=>e.selectedMarketId}"
            :marketList="${e=>e.marketSelectorProps.marketList}"
            :label="${e=>e.marketSelectorProps.label}"
            :marketSelectorMetaTag="${e=>e.marketSelectorProps.marketSelectorMetaTag}"
            @change=${e=>e.toggleSettingsDialog(!1)}
        ></msn-market-selector>
    </div>
</div>
`,dt=ve.d`
<div class="settings-block" id=${ie.market}>
    <div class="settings-block-header">
        <h2 class="settings-block-title">${e=>e.strings.region||"Region & language"}</h2>
        <fluent-button
            class="settings-expand-button ${e=>e.config.enableHideBlocks?"":"hidden"}"
            title="${e=>e.strings.accessibility.closeButton||null}"
            aria-label="${e=>e.strings.accessibility.closeButton||null}"
            role="button"
            @click=${(e,t)=>e.toggleBlockExpand(t.event,ie.market)}
            tabindex="0"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.marketExpandButtonMetaTag}}"
        >
            ${(0,$e.g)((e=>e.expandedBlocks.has(ie.market)),ve.d`${Me}`)}
            ${(0,$e.g)((e=>!e.expandedBlocks.has(ie.market)),ve.d`${Be}`)}
        </fluent-button>
    </div>
    <div class="settings-block-container ${e=>e.expandedBlocks.has(ie.market)?"":"close"}">
        <div class="market-selector-root">
            ${lt}
        </div>
    </div>
</div>
`,rt=ve.d`
<div class="quick-links-selection">
    <label class="toggle-title">
        ${(0,$e.g)((e=>e.isQuickLinksDisabledByPolicy),Ve)}
    </label>
    <fluent-select 
        class="quick-links-options" 
        ?disabled=${e=>e.isQuickLinksDisabledByPolicy}
        id="quickLinkSelector"
        appearance="filled"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.quickLinkDropDownMetaTag}}"
        @click=${(e,t)=>e.onClickDropDownOptions(t.event,"Quicklinks")}
        @change=${(e,t)=>e.updateQuickLinks(t.event)}
        current-value=${e=>e.quickLinksDropDownValue&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue]&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue].title}
        data-customhandled="true">
        <span slot="selected-value">${e=>e.quickLinksDropDownValue&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue]&&e.quickLinksMenuItemsMap[e.quickLinksDropDownValue].title}</span>
            ${(0,qe.rx)((e=>e.quickLinksMenuItems),Qe)}
    </fluent-select>        
</div>
`,ct=ve.d`
<div class="toggle-custom">
    <fluent-switch
        checked=${e=>e.quickLinksEnabled}
        ?disabled=${e=>e.isQuickLinksDisabledByPolicy}
        aria-checked="${e=>e.quickLinksEnabled}"
        @change=${(e,t)=>e.updateToggle(t.event,Y.quickLinks)}
        class="${e=>e.quickLinksEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.quickLinkToggleMetaTag}}"
        >
        <label class="toggle-custom-title">
            ${e=>e.strings.quickLinks||null}
            ${(0,$e.g)((e=>e.isQuickLinksDisabledByPolicy),Ve)}
        </label>
        <span class="toggle-custom-label">${e=>e.quickLinksEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>      
    </fluent-switch>
</div>
`,gt=ve.d`
<div class="toggle-custom">
    <fluent-switch
        id="hideDefaultTS"
        checked=${e=>!e.hideDefaultTopSites}
        aria-checked="${e=>!e.hideDefaultTopSites}"
        ?disabled=${e=>e.quickLinksDropDownValue===j.Z3.off}
        @change=${(e,t)=>e.updateHideDefaultToggle(t.event,Y.hideDefaultTopSites)}
        class="${e=>e.hideDefaultTopSites?"toggle-fluent-switch":"toggle-fluent-switch toggle-fluent-switch-check"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.hideDefaultLinkToggleMetaTag}}"
        >
        <label class="toggle-custom-title">
            ${e=>e.isOnTopsiteAdDisclaimerReverseFlight?e.strings.promotedLinks:e.strings.sponsoredLinks}
        </label>
        <span class="toggle-custom-label">${e=>e.hideDefaultTopSites?e.strings.toggleOff:e.strings.toggleOn}</span>
    </fluent-switch>
</div>
`,ut=ve.d`
<div class="settings-block" id=${ie.quickLinks}>
    <div class="settings-block-header">
        <h2 class="settings-block-title">${e=>e.strings.quickLinksDropDown||"Quick links"}</h2>
        <fluent-button
            class="settings-expand-button ${e=>e.config.enableHideBlocks?"":"hidden"}"
            title="${e=>e.expandedBlocks.has(ie.quickLinks)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            aria-label="${e=>e.expandedBlocks.has(ie.quickLinks)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            role="button"
            @click=${(e,t)=>e.toggleBlockExpand(t.event,ie.quickLinks)}
            tabindex="0"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.quickLinksExpandButtonMetaTag}}"
        >
            ${(0,$e.g)((e=>e.expandedBlocks.has(ie.quickLinks)),ve.d`${Me}`)}
            ${(0,$e.g)((e=>!e.expandedBlocks.has(ie.quickLinks)),ve.d`${Be}`)}
        </fluent-button>
    </div>
    <div class="settings-block-container ${e=>e.expandedBlocks.has(ie.quickLinks)?"":"close"}">
        ${(0,$e.g)((e=>e.displayQuickLinksDropdown),rt)}
        ${(0,$e.g)((e=>e.displayQuickLinks),ct)}
        ${(0,$e.g)((e=>e.displayPromotedLinks),gt)}
    </div>
</div>
`,ht=ve.d`
<div class="recommended-sites-selection">
    <fluent-select 
        class="recommended-sites-options" 
        id="recommendedSitesSelector"
        appearance="filled" 
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.recommendedSitesDropDownMetaTag}}"            
        @click=${(e,t)=>e.onClickDropDownOptions(t.event,"RecommendedSites")}
        @change=${(e,t)=>e.updateRecommendedSites(t.event)}
        current-value=${e=>e.recommendedSitesDropDownValue&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue]&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue].title}
        data-customhandled="true"
    >
        <span slot="selected-value">${e=>e.recommendedSitesDropDownValue&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue]&&e.recommendedSitesMenuItemsMap[e.recommendedSitesDropDownValue].title}</span>
        ${(0,qe.rx)((e=>e.recommendedSitesMenuItems),Je)}
    </fluent-select>             
</div>
`,pt=ve.d`
<div class="settings-block" id=${ie.recommendedSites}>
    <div class="settings-block-header">
        <h2 class="settings-block-title">${e=>e.strings.recommendedSites||"网址导航"}</h2>
        <fluent-button
            class="settings-expand-button ${e=>e.config.enableHideBlocks?"":"hidden"}"
            title="${e=>e.expandedBlocks.has(ie.recommendedSites)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            aria-label="${e=>e.expandedBlocks.has(ie.recommendedSites)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            role="button"
            @click=${(e,t)=>e.toggleBlockExpand(t.event,ie.recommendedSites)}
            tabindex="0"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.recommendedSitesExpandButtonMetaTag}}"
        >
            ${(0,$e.g)((e=>e.expandedBlocks.has(ie.recommendedSites)),ve.d`${Me}`)}
            ${(0,$e.g)((e=>!e.expandedBlocks.has(ie.recommendedSites)),ve.d`${Be}`)}
        </fluent-button>
    </div>
    <div class="settings-block-container ${e=>e.expandedBlocks.has(ie.recommendedSites)?"":"close"}">
        ${ht}
    </div>
</div>`,mt=ve.d`
<div aria-live="polite" aria-relevant="all" aria-atomic="true">
    <div class="customImageContainer">
        <fluent-button
            class="${e=>e.backgroundGalleryEligibility?"":"backgroundImageButton"}"
            appearance="outline"
            @click=${e=>e.onManageTheme()}
            title="${e=>e.strings.manageThemeButton||null}"
            aria-label="${e=>e.strings.accessibility.manageThemeButton||null}"
            role="button"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.manageThemeButtonMetaTag}}">
            ${e=>e.strings.manageThemeButton}
        </fluent-button>
    </div>
</div>
`,bt=ve.d`
<div class="customImageContainer">
    <fluent-button
        class="customImagePreviewOverlayButton"
        appearance="stealth"
        title="Replace"
        aria-label="${e=>e.strings.accessibility.replaceImageButton||null}"
        role="button"
        style="background-image: url(${e=>e.customBackgroundImage.resourceUrl});"
        @click="${e=>e.onUploadLocalBackgroundImage&&e.onUploadLocalBackgroundImage()}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.replaceCustomImageButtonMetaTag}}">
    </fluent-button>
    <fluent-button
    class="customImageRemoveButton"
        appearance="outline"
        @click=${e=>e.onDeleteLocalBackgroundImage()}
        title="${e=>e.strings.removeBackgroundImageButton||null}"
        aria-label="${e=>e.strings.accessibility.removeImageButton||null}"
        role="button"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.removeCustomImageButtonMetaTag}}">
        ${e=>e.strings.removeBackgroundImageButton}
    </fluent-button>
</div>
`,ft=ve.d`
<div class="customImageContainer">
    <fluent-button
        class="backgroundImageButton"
        appearance="outline"
        id="uploadCustomImage"
        @click=${e=>e.onUploadLocalBackgroundImage()}
        title="${e=>e.strings.uploadBackgroundImageButton||null}"
        aria-label="${e=>e.strings.accessibility.uploadANewImageButton||null}"
        role="button"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.uploadNewImageButtonMetaTag}}">
        ${e=>e.strings.uploadBackgroundImageButton}
    </fluent-button>
</div>
`,kt=ve.d`
<div style={{ fontSize: 0, lineHeight: 0 }} aria-live="polite" aria-relevant="all" aria-atomic="true">
    ${(0,$e.g)((e=>e.hasLocalBackground),bt)}
    ${(0,$e.g)((e=>!e.hasLocalBackground),ft)}
</div>
`,vt=ve.d`
<svg class="policyIcon ${e=>e.backgroundGalleryEligibility?"backgroundGallery":""}" width="16" height="13" viewBox="0 0 16 13" fill="none" xmlns="http://www.w3.org/2000/svg">
    <title>
        ${e=>e.strings.accessibility.adminHoverMessage}
    </title>
    <path fill-rule="evenodd" clip-rule="evenodd" d="M5 1V2H1.5C0.671573 2 0 2.67157 0 3.5V11.5C0 12.3284 0.671573 13 1.5 13H14.5C15.3284 13 16 12.3284 16 11.5V3.5C16 2.67157 15.3284 2 14.5 2H11V1C11 0.44772 10.5523 0 10 0H6C5.44772 0 5 0.44772 5 1ZM10 1H6V2H10V1ZM14.5 3C14.7761 3 15 3.22386 15 3.5V5.5C15 6.32843 14.3284 7 13.5 7H9V6.5C9 6.22386 8.77614 6 8.5 6H7.5C7.22386 6 7 6.22386 7 6.5V7H2.5C1.67157 7 1 6.32843 1 5.5V3.5C1 3.22386 1.22386 3 1.5 3H14.5ZM7 8H2.5C1.9372 8 1.41783 7.81403 1 7.50018V11.5C1 11.7761 1.22386 12 1.5 12H14.5C14.7761 12 15 11.7761 15 11.5V7.50018C14.5822 7.81403 14.0628 8 13.5 8H9V8.5C9 8.77614 8.77614 9 8.5 9H7.5C7.22386 9 7 8.77614 7 8.5V8Z" fill="black"/>
</svg>
`,yt=ve.d`
<svg class="policyIcon ${e=>e.backgroundGalleryEligibility?"backgroundGallery":""}" width="16" height="13" viewBox="0 0 16 13" fill="none" xmlns="http://www.w3.org/2000/svg">
    <title>
        ${e=>e.strings.accessibility.adminHoverMessage}
    </title>
    <path fill-rule="evenodd" clip-rule="evenodd" d="M5 1V2H1.5C0.671573 2 0 2.67157 0 3.5V11.5C0 12.3284 0.671573 13 1.5 13H14.5C15.3284 13 16 12.3284 16 11.5V3.5C16 2.67157 15.3284 2 14.5 2H11V1C11 0.44772 10.5523 0 10 0H6C5.44772 0 5 0.44772 5 1ZM10 1H6V2H10V1ZM14.5 3C14.7761 3 15 3.22386 15 3.5V5.5C15 6.32843 14.3284 7 13.5 7H9V6.5C9 6.22386 8.77614 6 8.5 6H7.5C7.22386 6 7 6.22386 7 6.5V7H2.5C1.67157 7 1 6.32843 1 5.5V3.5C1 3.22386 1.22386 3 1.5 3H14.5ZM7 8H2.5C1.9372 8 1.41783 7.81403 1 7.50018V11.5C1 11.7761 1.22386 12 1.5 12H14.5C14.7761 12 15 11.7761 15 11.5V7.50018C14.5822 7.81403 14.0628 8 13.5 8H9V8.5C9 8.77614 8.77614 9 8.5 9H7.5C7.22386 9 7 8.77614 7 8.5V8Z" fill="white"/>
</svg>
`,$t=ve.d`
${(0,$e.g)((e=>!e.darkMode),vt)}
${(0,$e.g)((e=>e.darkMode),yt)}
`,xt=ve.d`
<div class="background-settings">
    <p class="background-title" id="background-settings__background-title">
        ${e=>e.strings.background||null}
        ${(0,$e.g)((e=>e.isBackgroundTypeManagedByPolicy),vt)}
    </p>
    <fluent-radio-group
            class="radio-settings"
            value="${e=>e.backgroundMode}"
            @click="${(e,t)=>e.onCustomBackgroundRadioClick(t.event)}"
            required = "true"
            orientation="vertical">
        <fluent-radio
            value=${e=>e.backgroundImageOff.value}
            id=${e=>e.backgroundImageOff.value}
            aria-label=${e=>e.backgroundImageOff.text}
            aria-labelledby="background-settings__background-title"
            title=${e=>e.backgroundImageOff.text}
            class="radio-button"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.imageOffRadioButtonMetaTag}}">
            ${e=>e.backgroundImageOff.text}
            </fluent-radio>
        <fluent-radio
            value=${e=>e.backgroundImageBing.value}
            id=${e=>e.backgroundImageBing.value}
            aria-label=${e=>e.backgroundImageBing.text}
            aria-labelledby="background-settings__background-title"
            title=${e=>e.backgroundImageBing.text}
            ?disabled=${e=>e.isImageOfTheDayDisabledByPolicy}
            class="radio-button"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.bingImageRadioButtonMetaTag}}">
            ${e=>e.backgroundImageBing.text}
        </fluent-radio>
        <fluent-radio
            value=${e=>e.backgroundImageAndVideo.value}
            id=${e=>e.backgroundImageAndVideo.value}
            aria-label=${e=>e.backgroundImageAndVideo.text}
            aria-labelledby="background-settings__background-title"
            title=${e=>e.backgroundImageAndVideo.text}
            ?disabled=${e=>e.isImageOfTheDayDisabledByPolicy}
            class="radio-button"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.imageAndVideoRadioButtonMetaTag}}">
            ${e=>e.backgroundImageAndVideo.text}
        </fluent-radio>
        <fluent-radio
            value=${e=>e.backgroundImageCustom.value}
            id=${e=>e.backgroundImageCustom.value}
            aria-label=${e=>e.backgroundImageCustom.text}
            aria-labelledby="background-settings__background-title"
            title=${e=>e.backgroundImageCustom.text}
            ?disabled=${e=>e.isCustomBackgroundImageDisabledByPolicy}
            class="radio-button"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.customImageRadioButtonMetaTag}}">
            ${e=>e.backgroundImageCustom.text}
        </fluent-radio>
        ${(0,$e.g)((e=>e.backgroundMode==j.HX.custom),kt)}
        <fluent-radio
            value=${e=>e.backgroundImageTheme.value}
            id=${e=>e.backgroundImageTheme.value}
            aria-label=${e=>e.backgroundImageTheme.text}
            aria-labelledby="background-settings__background-title"
            title=${e=>e.backgroundImageTheme.text}
            ?disabled=${e=>e.isCustomBackgroundImageDisabledByPolicy}
            class="radio-button"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.themeRadioButtonMetaTag}}">
            ${e=>e.backgroundImageTheme.text}
        </fluent-radio>
        ${(0,$e.g)((e=>e.backgroundMode==j.HX.theme),mt)}
    </fluent-radio-group>
</div>
`,wt=ve.d`
<fluent-button
    class="backgroundGalleryButton"
    appearance="outline"
    @click=${e=>e.onClickBackgroundImageGallery()}
    title="${e=>e.backgroundGalleryButtonDisabled?e.strings.backgroundGalleryBelowMinimumWidthTooltip:e.strings.backgroundGalleryButtonText}"
    aria-label="${e=>e.strings.accessibility.backgroundGalleryButton||null}"
    role="button"
    ?disabled=${e=>e.backgroundGalleryButtonDisabled||e.isImageOfTheDayDisabledByPolicy&&e.isCustomBackgroundImageDisabledByPolicy}
    data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.backgroundGalleryButton}}"
>
    ${e=>e.strings.backgroundGalleryButtonText}
</fluent-button>
`,St=ve.d`
<div class="settings-block-container" 
    @click="${(e,t)=>e.onCustomBackgroundRadioClick(t.event)}"
>
    <fluent-divider class="divider-margin gallery" slot="divider"></fluent-divider>
    <div class="settings-block-header gallery-control"
        id=${e=>e.backgroundImageTheme.value}
    >
        <h2 class="settings-block-title"
            id=${e=>e.backgroundImageTheme.value}
        >${e=>e.backgroundImageTheme.text}</h2>
        ${mt}
    </div>
</div>
`,It=ve.d`
<div class="settings-block" id=${ie.background}>
    <div class="settings-block-header">
        <h2 class="settings-block-title">${e=>e.strings.background||"Background"}</h2>
        <fluent-button
            class="settings-expand-button ${e=>e.config.enableHideBlocks&&!e.backgroundGalleryEligibility?"":"hidden"}"
            title="${e=>e.expandedBlocks.has(ie.background)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            aria-label="${e=>e.expandedBlocks.has(ie.background)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            role="button"
            @click=${(e,t)=>e.toggleBlockExpand(t.event,ie.background)}
            tabindex="0"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.backgroundExpandButtonMetaTag}}"
        >
            ${(0,$e.g)((e=>e.expandedBlocks.has(ie.background)),ve.d`${Me}`)}
            ${(0,$e.g)((e=>!e.expandedBlocks.has(ie.background)),ve.d`${Be}`)}
        </fluent-button>
        ${(0,$e.g)((e=>e.backgroundGalleryEligibility&&e.isBackgroundTypeManagedByPolicy),$t)}
        ${(0,$e.g)((e=>e.backgroundGalleryEligibility),wt)}
    </div>
    ${(0,$e.g)((e=>e.backgroundGalleryEligibility&&!e.isCustomBackgroundImageDisabledByPolicy),ve.d`
        ${St}
    `)}
    </div>
    <div class="settings-block-container ${e=>e.expandedBlocks.has(ie.background)?"":"close"}">
        ${(0,$e.g)((e=>e.settingDialogEnabled&&!e.backgroundGalleryEligibility),xt)}
    </div>
</div>
`,Ct=ve.d`
<div class="toggle-custom">
    <fluent-switch
        checked=${e=>e.searchHistoryEnabled}
        aria-checked="${e=>e.searchHistoryEnabled}"
        @change=${(e,t)=>e.updateToggle(t.event,Y.searchHistory)}
        class="${e=>e.searchHistoryEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.searchHistoryToggleMetaTag}}"
    >
    <label class="toggle-custom-title">
        ${e=>e.strings.searchHistory||null}
    </label>
    <span class="toggle-custom-label">${e=>e.searchHistoryEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
    </fluent-switch>
</div>
`,Lt=ve.d`
<div class="toggle-custom">
    <fluent-switch
        checked=${e=>e.newsHeadlineEnabled}
        aria-checked="${e=>e.newsHeadlineEnabled}"
        @change=${(e,t)=>e.updateToggle(t.event,Y.newsHeadline)}
        class="${e=>e.newsHeadlineEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.newsHeadlineToggleMetaTag}}"
    >
    <label class="toggle-custom-title">
        ${e=>e.strings.newsHeadline||null}
    </label>
    <span class="toggle-custom-label">${e=>e.newsHeadlineEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
    </fluent-switch>
</div>
`,Tt=ve.d`
<div class="toggle-custom">
    <fluent-switch
        checked=${e=>e.greetingEnabled}
        aria-checked="${e=>e.greetingEnabled}"
        @change=${(e,t)=>e.updateToggle(t.event,Y.greeting)}
        class="${e=>e.greetingEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.greetingToggleMetaTag}}"
        current-checked="${e=>e.greetingEnabled}"
        data-customhandled="true"
    >
        <label class="toggle-custom-title">
            ${e=>e.strings.greeting||"Show greeting"}
        </label>
        <span class="toggle-custom-label">${e=>e.greetingEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
    </fluent-switch>
</div>
`,Bt=ve.d`
<div class="toggle-custom">
    <fluent-switch
        checked=${e=>e.leftRailEnabled}
        aria-checked="${e=>e.leftRailEnabled}"
        @change=${(e,t)=>e.updateToggle(t.event,Y.leftRail)}
        class="${e=>e.leftRailEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.leftRailToggleMetaTag}}"
    >
    <label class="toggle-custom-title">
        ${e=>e.strings.leftRail||null}
    </label>
    <span class="toggle-custom-label">${e=>e.leftRailEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
    </fluent-switch>
</div>
`,Mt=ve.d`
<div class="toggle-custom">
    <fluent-switch
        checked=${e=>e.sideBarEnabled}
        aria-checked="${e=>e.sideBarEnabled}"
        @change=${(e,t)=>e.updateToggle(t.event,Y.sideBar)}
        class="${e=>e.sideBarEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.sideBarToggleMetaTag}}"
    >
    <label class="toggle-custom-title">
        ${e=>e.strings.sideBar||null}
    </label>
    <span class="toggle-custom-label">${e=>e.sideBarEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
    </fluent-switch>
</div>
`,Dt=ve.d`
<div class="toggle-custom">
    <fluent-switch
        checked=${e=>e.ntpTipsEnabled}
        aria-checked="${e=>e.ntpTipsEnabled}"
        id="ntpTips"
        @change=${(e,t)=>e.updateToggle(t.event,Y.ntpTips)}
        class="${e=>e.ntpTipsEnabled?"toggle-fluent-switch toggle-fluent-switch-check":"toggle-fluent-switch"}"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.ntpToggleMetaTag}}"
        >
        <label class="toggle-custom-title">
            ${e=>e.strings.ntpTips||null}
        </label>
        <span class="toggle-custom-label">${e=>e.ntpTipsEnabled?e.strings.toggleOn:e.strings.toggleOff}</span>
    </fluent-switch>
</div>
<div class="affiliateDisclaimer">
    <span>${e=>e.strings.ntpTipsDescription}</span>
</div>
`,Ot=ve.d`
<div class="settings-block" id=${ie.show}>
    <div class="settings-block-header ${e=>e.config.enableHideBlocks?"":"hidden"}">
        <fluent-button
            class="settings-expand-button ${e=>e.config.enableHideBlocks?"":"hidden"}"
            title="${e=>e.expandedBlocks.has(ie.show)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            aria-label="${e=>e.expandedBlocks.has(ie.show)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            role="button"
            @click=${(e,t)=>e.toggleBlockExpand(t.event,ie.show)}
            tabindex="0"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.showExpandButtonMetaTag}}"
        >
            ${(0,$e.g)((e=>e.expandedBlocks.has(ie.show)),ve.d`${Me}`)}
            ${(0,$e.g)((e=>!e.expandedBlocks.has(ie.show)),ve.d`${Be}`)}
        </fluent-button>
    </div>
    <div class="settings-block-container ${e=>e.expandedBlocks.has(ie.show)?"":"close"}">
        ${(0,$e.g)((e=>e.displaySearchHistory),Ct)}
        ${(0,$e.g)((e=>e.displayNewsHeadline),Lt)}
        ${(0,$e.g)((e=>!e.isContentFeedDisabledByPolicy&&e.displayGreeting),Tt)}
        ${(0,$e.g)((e=>e.displayLeftRail),Bt)}
        ${(0,$e.g)((e=>e.displaySideBar&&e.selectedLayoutMode!==j.nP.focused&&"off"!==e.currentSetting),Mt)}    
        ${(0,$e.g)((e=>e.displayNtpTips),Dt)}
    </div>
</div>
`,Et=ve.d`
<div class="feed-layout-container">
    <div class="feed-layout-title">${e=>e.strings.feedLayoutSelectionLabel||"Feed view"}</div>
    <div class="feed-layout-selector">
        <fluent-select 
            appearance="filled" 
            class="select"
            id="feedLayout"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.feedViewSelectorOptionMetaTag}}"
            @click=${(e,t)=>e.onClickDropDownOptions(t.event,"FeedLayout")}
            @change=${(e,t)=>e.updateFeedLayout(t.event)}
            current-value=${e=>e.currentFeedLayout&&e.feedLayoutSelectionItemsMap[e.currentFeedLayout]&&e.feedLayoutSelectionItemsMap[e.currentFeedLayout].title}
            data-customhandled="true">
            <span slot="selected-value">${e=>e.currentFeedLayout&&e.feedLayoutSelectionItemsMap[e.currentFeedLayout]&&e.feedLayoutSelectionItemsMap[e.currentFeedLayout].title}</span>
            ${(0,qe.rx)((e=>e.feedLayoutSelectionItems),Ze)}
        </fluent-select>
    </div>
</div>`,Ht=ve.d`
<div class="content-settings setting-item">
    <div class="feed-selector">
        <fluent-select 
            appearance="filled" 
            class="select"
            ?disabled=${e=>e.isContentFeedDisabledByPolicy}
            id="feeds"
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.feedSelectorOptionMetaTag}}"
            @click=${(e,t)=>e.onClickDropDownOptions(t.event,"ContentOptions")}
            @change=${(e,t)=>e.updateFeedVisibility(t.event)}
            current-value=${e=>e.currentSetting&&e.feedMenuItemsMap[e.currentSetting]&&e.feedMenuItemsMap[e.currentSetting].title}
            data-customhandled="true">
            <span slot="selected-value">${e=>e.currentSetting&&e.feedMenuItemsMap[e.currentSetting]&&e.feedMenuItemsMap[e.currentSetting].title}</span>
            ${(0,qe.rx)((e=>e.feedMenuItems),Ze)}
        </fluent-select>
    </div>
</div>
`,Pt=ve.d`
<div class="settings-enterprise-header">
    <h1 class="settings-dialog-enterprise-title">
        ${e=>e.strings.enterpriseSettings||null}
    </h1>      
    <div class="page-content-radio">
        <fluent-radio-group
            @change="${(e,t)=>e.onContentSourceChange(t.event)}"
            value="${e=>e.enterpriseFeedSwitcherMode}"
            class="reduced-margin"
            orientation="vertical">
                ${(0,qe.rx)((e=>e.enterpriseFeedSwitcher),ve.d`
                    <fluent-radio
                        value=${e=>e.value}
                        id=${e=>e.value}
                        aria-label=${e=>e.text}
                        title=${e=>e.text}
                        tabindex=${0}
                        class="radio-enterprise-button"
                        data-t="${e=>e.telemetryMetatag}">
                        ${e=>e.text}
                    </fluent-radio>
                `)}
            </fluent-radio-group>
    </div>
</div>
`,Ft=ve.d`
<div class="settings-block" id=${ie.content}>
    <div class="settings-block-header">
        <h2 class="settings-block-title">${e=>e.strings.feeds||"Content"}</h2>
        <fluent-button
            class="settings-expand-button ${e=>e.config.enableHideBlocks?"":"hidden"}"
            title="${e=>e.expandedBlocks.has(ie.content)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            aria-label="${e=>e.expandedBlocks.has(ie.content)?e.strings.accessibility.hideBlockButton:e.strings.accessibility.expandBlockButton}"
            role="button"
            @click=${(e,t)=>e.toggleBlockExpand(t.event,ie.content)}
            data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.layoutExpandButtonMetaTag}}"
        >
            ${(0,$e.g)((e=>e.expandedBlocks.has(ie.content)),ve.d`${Me}`)}
            ${(0,$e.g)((e=>!e.expandedBlocks.has(ie.content)),ve.d`${Be}`)}
        </fluent-button>
    </div>
    <div class="settings-block-container ${e=>e.expandedBlocks.has(ie.content)?"":"close"}">
        ${(0,$e.g)((e=>e.settingDialogEnabled),Ht)}
        ${(0,$e.g)((e=>e.displayFeedLayoutToggle),Et)}
        ${(0,$e.g)((e=>e.displayEnterpriseFeedSwitcher),Pt)}
    </div>
</div>
`,At=ve.d`
<div class="linksContainer">
    ${(0,qe.rx)((e=>e.settingLinks),ve.d`
        <a class="appLink  ${(e,t)=>t.parent.darkMode?"footer-dark":"footer-light-link"}" id=${e=>e.id} href=${e=>e.url} role="link"
            data-t="${e=>e.name}"
        ><span>${e=>e.title}</span></a>
        ${(0,$e.g)((e=>e.separator),ve.d`
        <label class="footer">${"·"}</label>
        `)}
    `)}
    ${(0,$e.g)((e=>e.enableFeedback),ve.d`
        <label class="footer">${"·"}</label>
        <a class="appLink  ${(e,t)=>e.darkMode?"footer-dark":"footer-light-link"}" data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.feedbacklinkMetaTag}}" @click=${e=>e.showFeedbackTool()} id="feedback" href="#">
        <span>${e=>e.strings.feedback}</span></a>`)}
</div>
<div class="${e=>e.darkMode?"affiliateDisclaimer footer-dark":"affiliateDisclaimer footer-light"}">
    <span>${e=>e.strings.affiliateDisclaimer}</span>
</div>
`,Vt=ve.d`
<div class="${e=>"full"===e.displayedSection&&e.isSettingsDialogVisible?"settings-dialog":"hidden"}" id="settingDialogFull" role="dialog">
    <fluent-button
        class="settings-close-button"
        title="${e=>e.strings.accessibility.closeButton||null}"
        aria-label="${e=>e.strings.accessibility.closeButton||null}"
        role="button"
        @click=${e=>e.toggleSettingsDialog(!1)}
        tabindex="0"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.settingsCloseButtonMetaTag}}"
        ${(0,ye.i)("closeButton")}>
            <span class="close-button-glyph"> ${Te}</span>
    </fluent-button>
    <div class="heading-container-full">
        <h1 class="title">
            ${e=>e.strings.pageSettings||"Page settings"}
        </h1>
    </div>
    <div class="full-settings-panel" ${(0,ye.i)("fullSettingsPanel")}>
        ${at}
        
        ${(0,$e.g)((e=>e.displayMarketSelector),ve.d`
            <fluent-divider class="divider-margin" slot="divider"></fluent-divider>
            ${dt}
        `)}

        <fluent-divider class="divider-margin" slot="divider"></fluent-divider>

        ${ut}

        ${(0,$e.g)((e=>e.displayRecommendedSitesDropdown),ve.d`
            <fluent-divider class="divider-margin" slot="divider"></fluent-divider>
            ${pt}
        `)}

        <fluent-divider class="divider-margin" slot="divider"></fluent-divider>

        ${It}

        <fluent-divider class="divider-margin" slot="divider"></fluent-divider>

        ${Ot}

        <fluent-divider class="divider-margin" slot="divider"></fluent-divider>
        
        ${Ft}

        <fluent-divider class="divider-margin" slot="divider"></fluent-divider>

        ${(0,$e.g)((e=>e.settingDialogEnabled),At)}
    </div>
</div>
`,Rt=ve.d`
<div
    @mouseover=${(e,t)=>e.handleMouseOverIcon(t.event)}
    @mouseleave=${e=>e.handleMouseLeaveIcon()}
    @click=${e=>e.handleMouseClickIcon()}
    @keypress=${(e,t)=>e.handleKeyPressIcon(t.event)}
    ${(0,ye.i)("SettingDialogRef")}
>
    <fluent-button
        class="settings-button ${e=>e.imageEnabledClass}"
        appearance="stealth"
        id="SettingsDialog"
        @click=${(e,t)=>e.config.enableHoverToOpen?"":e.onGearClick(t.event)}
        title="${e=>e.strings.accessibility&&e.strings.accessibility.dialogButton||null}"
        aria-label="${e=>e.strings.accessibility&&e.strings.accessibility.dialogButton||null}"
        role="button"
        data-t="${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.settingsMetaTag}}"
        aria-expanded="${e=>e.isSettingsDialogVisible?"true":"false"}"
        ${(0,ye.i)("settingGearButton")}>
        <span class="${e=>e.settingsSvgClass}">
            ${we()}
        </span>
    </fluent-button>
        <fluent-design-system-provider
                tabindex="0"
                fill-color=${e=>e.backgroundColor}
    >
    ${(0,$e.g)((e=>"main"===e.displayedSection),ot)}
    ${(0,$e.g)((e=>"custom"===e.displayedSection),Ye)}
    ${(0,$e.g)((e=>"advanced"===e.displayedSection),Ee)}
    ${(0,$e.g)((e=>"full"===e.displayedSection),Vt)}
    </fluent-design-system-provider>
</div>
`,qt=ve.d`
${(0,$e.g)((e=>e.settingDialogEnabled),Rt)}
`;var zt=i(32804),Nt=i(2658),jt=i(62734),Gt=i(22674),Ut=i(53046),_t=i(64434),Zt=i(14989);_t.K.Dialog;const Qt=Ut.i`
    .settings-dialog {
        transform: translateX(-90%)
    }

    :host .settings-close-button {
        min-width: 24px;
        left: auto;
        right: 4px;
    }

    .background-settings {
        padding-left: 16px;
        padding-right: unset;
    }

    .backgroundGalleryButton {
        margin-left: auto;
    }

    .backgroundImageButton {
        margin-left: 48px;
    }

    .chevronIcon-floating {
        left: auto;
        right: 14px;
    }

    .chevronIcon-floating-custom{
        right: auto;
        transform: rotate(90deg);
    }

    .customImagePreviewOverlayButton {
     margin-left: 48px;
     margin-right: auto;
    }

    .customImageRemoveButton {
          margin-left: 88px;
          margin-right: auto;
    }

    .custom-title {
        margin-left:40px;
    }

    .feed-selector {
        padding-right: 16px;
    }

    .policyIcon.backgroundGallery {
        padding-left: 8px
    }
`,Jt=Ut.i`
    .settings-dialog {
        transform: translateX(90%)
    }

    .backgroundGalleryButton {
        margin-right: auto;
    }

    .backgroundImageButton {
        margin-right: 48px;
    }

    .customImageRemoveButton {
          margin-right: 88px;
          margin-left: auto;
    }

    .customImagePreviewOverlayButton {
     margin-right: 48px;
     margin-left: auto;
    }

    :host .settings-close-button {
        min-width: auto;
        left: 4px;
        right: auto;
    }

    .chevronIcon-floating {
        left: 14px;
        right: auto;
        transform: rotate(180deg);
    }

    .chevronIcon-floating-custom {
        left: auto;
        transform: rotate(270deg);
    }

    .custom-title { 
        margin-right:40px;
    }

    .background-settings {
        padding-left: unset;
        padding-right: 16px;
    }

    .feed-selector {
        padding-left: 16px;
    }

    .full-settings-panel .toggle-fluent-switch {
        grid-template-columns: 8px auto max-content max-content 16px;
    }

    .policyIcon.backgroundGallery {
        padding-right: 8px
    }
`,Wt=Ut.i`
    #settingDialogFull, #settingDialogSimple {
        max-height: calc(90vh - 80px);
        border: 0;
    }

    .heading-container-full {
        border-radius: 2px 2px 0 0;
        padding: 12px 0;
    }

    .heading-container-full .title {
        margin-inline-start: 16px;
        font-size: ${zt.PwC};
        line-height: ${zt.b3W};
        margin-top: 0;
        margin-bottom: 0;
        transition: all 0.2s ease-in-out;
        display: inline-block;
        user-select: none;
        font-weight: 600;
    }

    .full-settings-panel {
        overflow: hidden overlay;
    }

    .full-settings-panel .feed-selector {
        padding: 0;
        padding-inline-end: 16px;
        flex: 1;
    }
    
    .full-settings-panel .content-settings {
        height: 32px;
        padding-bottom: 16px;
    }

    .full-settings-panel .feed-selector fluent-select {
        min-width: unset;
    }

    .full-settings-panel .quick-links-selection {
        padding: 0 16px;
        margin-bottom: 2px;
    }

    .full-settings-panel .recommended-sites-selection {
        padding: 0 16px;
        margin-bottom: 16px;
    }

    .settings-block .divider-margin {
        display: none;
    }

    .settings-block .divider-margin.gallery {
        display: block;
    }

    .full-settings-panel .background-title {
        display: none;
    }

    .full-settings-panel::-webkit-scrollbar-track {
        background-color: transparent;
    }

    .full-settings-panel::-webkit-scrollbar-thumb {
        border-radius: 3px;
        background-color: ${zt.c1L};
        border: 1px dashed transparent;
        background-clip: padding-box;
        transition: all 0.3s ease 0s;
    }

    .full-settings-panel::-webkit-scrollbar {
        width: 8px;
    }

    .full-settings-panel {
        display: flex;
        flex-direction: column;
    }

    .full-settings-panel .layout-settings-buttons-container {
        display: flex;
        justify-content: space-evenly;
        flex: 1;
        padding: 4px;
        background: ${zt.wFS};
        border-radius: 4px;
    }

    .full-settings-panel #layout .settings-block-container {
        padding: 0 16px 16px 16px;
    }

    .full-settings-panel .layout-mode-button {
        flex: 1;
        display: flex;
        border-radius: 2px;
        margin-bottom: 0px;
        background: ${zt.wFS};
        flex-direction: column;
        height: 50px;
    }

    .full-settings-panel .layout-mode-button .label {
        display: block;
        font-size: 10px;
        line-height: 14px;
        font-weight: 400;
    }

    .full-settings-panel .layout-mode-button::part(control) {
        justify-content: center;
    }

    .full-settings-panel .layout-mode-button:hover{
        background-color: var(--neutral-fill-input-hover) !important;
    }

    .full-settings-panel .layout-mode-button-selected {
        box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.08);
        background-color: ${zt.s55} !important;
    }

    .full-settings-panel .inline-title {
        color: ${zt.CHi};
        font-size: ${zt.cSu};
        min-width: 60px;
    }

    .full-settings-panel .feed-selection-buttons {
        display: flex;
        max-width: 120px;
        justify-content: space-around;
        flex: 1;
    }

    .full-settings-panel .feed-selection-buttons svg {
        fill: inherit;
    }

    .full-settings-panel .feed-selection-buttons .selected {
        border-color: var(--accent-foreground-rest);
        fill: var(--accent-foreground-rest);
    }

    .full-settings-panel .setting-item {
        display: flex;
        align-items: center;
        padding-inline-start: 16px;
    }

    @media (prefers-color-scheme: light) {
        .full-settings-panel msn-market-selector {
            --neutral-fill-input-rest: #fff;
        }
    }

    .full-settings-panel .toggle-custom-title {
        padding-inline-start: 6px;
    }

    .settings-block-title {
        margin-top: 0px;
        margin-bottom: 0px;
        transition: all 0.2s ease-in-out 0s;
        font-size: 14px;
        line-height: 20px;
        font-weight: 600;
        position: relative;
        user-select: none;
    }

    .settings-block:first-child .settings-block-header {
        padding-top: 1px;
    }

    .settings-block {
        display: flex;
        flex-direction: column;
        transition: height 0.3s ease-in-out 0s;
    }

    .settings-block-container {
        transition: height 0.3s ease-in-out 0s;
    }

    .settings-block-container.transition {
        overflow: hidden;
    }

    .settings-block-container.close {
        height: 0;
        overflow: hidden;
    }

    .full-settings-panel .market-selector-settings {
        heigth: unset;
        padding-top: 0;
        padding-inline-start: 16px;
    }

    .full-settings-panel .language-dropdown {
        margin-right: 0px;
        margin-bottom: 0px;
    }

    .full-settings-panel fluent-select {
        border: calc(${zt.Han} * 1px) solid ${zt.akT};
        border-radius: 4px;
    }

    .full-settings-panel .layout-mode-button-selected:focus,
    .full-settings-panel #custom:focus {
        outline-offset: -2px;
    }

    .full-settings-panel .toggle-settings {
        grid-template-columns: 16px max-content auto 16px;
    }

    .settings-block-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 16px 12px;
    }

    .settings-block-header.gallery-control {
        cursor: pointer;
        padding-top: 0px;
        padding-bottom: 0px;
    }

    .settings-expand-button {
        background: transparent;
    }

    .settings-expand-button svg {
        fill: inherit;
    }

    .full-settings-panel .market-selector-settings {
        height: unset;
    }

    .settings-block-header.hidden {
        display: none;
    }

    #market .settings-block-header {
        padding-bottom: 2px;
    }

    .full-settings-panel .appLink {
        text-decoration: none;
        color: ${zt.Q5n};
        line-height: 16px;
        font-size: 12px;
    }

    .full-settings-panel .appLink:hover {
        text-decoration: underline;
    }
    
    .full-settings-panel #show {
        padding: 6px 0;
    }

    #quickLinks {
        padding-bottom: 6px;
    }

    .full-settings-panel .affiliateDisclaimer {
        padding-bottom: 16px;
    }

    .full-settings-panel .linksContainer {
        padding: 16px 16px 8px 16px;
    }

    .full-settings-panel .feed-layout-container {
        padding: 0 16px 16px 16px;
    }

    ${(0,Zt.vW)(null,Zt.K$.c1)} {
        .feed-layout-container {
            display: none;
        }
    }

    .full-settings-panel .feed-layout-title {
        padding-bottom: 12px;
        font-size: 14px;
        line-height: 20px;
        font-weight: 600;
        user-select: none;
    }
`,Xt=Ut.i`
    .hidden {
        display: none;
    }

    .settings-button {
        align-items: center;
        display: flex;
        height: calc(${Nt.i} * 1px);
        justify-content: center;
        width: calc(${Nt.i} * 1px);
    }

    :host .settings-button{
     background-color: transparent;
    }

    .settings-button:hover{
        background-color: ${zt.wFS};
    }
    .settings-button.dark-mode:hover{
        background-color: ${zt.akT};
    }
    .settings-button.setting-button-image-enable:hover{
        background-color: rgba(17,17,17,0.8);
    }

    .settings-button::part(control) {
        height: calc(${Nt.i} * 1px);
        width: calc(${Nt.i} * 1px);
    }

    .settings-close-button {
        height: 32px;
        width: 32px;
        top: 4px;
        background: transparent;
    }

    .settings-close-button:hover {
        background-color: ${zt.XiB};
    }
    .settings-close-button:active {
        background-color: ${zt.Gy2};
    }

    .customImageRemoveButton {
        position: absolute;
    }

    .customImageContainer {
        height: 32px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .customImagePreviewOverlayButton {
        background: rgba(0, 0, 0, 0.07);
        border-radius: 2px;
        box-shadow: none;
        height: 32px;
        padding: 0px;
        position: absolute;
        overflow: hidden;
        width: 32px;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .backgroundImageButton {
        position: absolute;
        text-overflow: "ellipsis";
    }

    .chevronIcon-floating svg {
        height:12;
        width:12;
    }

    :host .settings-close-button {
        position: absolute;
    }

    .layout-mode-button-selected {
        font-weight: 600;
    }

    .layout-mode-button-selected:focus {
        outline: 2px solid;
    }

    #custom:focus {
        outline: 2px solid;
    }

    #advanced:focus {
        outline: 2px solid;
    }

    #advanced::part(control) {
        border: none;
        box-shadow: none;
    }

    :host .quick-links-options {
        min-width: 180px;
    }

    :host .recommended-sites-options {
        min-width: 180px;
    }

    .divider-margin {
        margin:0px;
        height:0;
        box-sizing:content-box;
        border: none;
        transition: all 0.2s ease-in-out;
        border-top: 2px solid;
        border-top-color: ${zt.dtw};
    }

    .close-button-glyph svg {
        height: 10px;
        width: 10px;
        fill: inherit;
    }

    .layout-button-icon-inactive {
        fill:#949494;
        padding: 0 12px;
        pointer-events: none;
        vertical-align: middle;
    }

    .layout-button-icon-active {
        fill: ${zt.Avx};
        padding: 0 12px;
        pointer-events: none;
        vertical-align: middle;
    }

    .action-button svg {
        height: 32px;
        width: 32px;
        fill: ${zt.jql};
    }

    .collapsed-svg {
        transform: rotate(90deg);
    }

    .expanded-svg {
        transform: rotate(270deg);
    }

    .chevronIcon-floating {
        position: absolute;
        top: 14px;
        height: 12px !important;
        width: 12px !important;
    }

    .toggle-title {
        margin-top: 0;
        margin-bottom: 0;
        font-size: ${zt.cSu};
        line-height: ${zt.RUt};
        grid-column:2;
        padding: 0;
        color: ${zt.CHi};
    }

    .toggle-switch {
        grid-column:4;
    }

    .toggle-custom-title {
        margin-top: 0;
        margin-bottom: 0;
        font-size: ${zt.cSu};
        line-height: ${zt.RUt};
        color: ${zt.CHi};
        cursor: pointer !important;
    }

    .toggle-fluent-switch {
        width: 100%;
        display: grid;
        grid-template-columns: 0px auto max-content max-content 16px;
    }

    .toggle-custom {
        padding-top: 6px;
        padding-bottom: 6px;
    }

    fluent-switch::part(label) {
        grid-column-start: 2;
        grid-column-end: 3;
    }

    fluent-switch::part(switch) {
       grid-column : 4;
    }

    .toggle-fluent-switch-check::part(switch){
       border: none;
    }

    .toggle-custom-label {
        font-size: 14px;
        line-height: 20px;
        user-select: none;
        margin-top: 0px;
        float: right;
    }

    .toggle-label {
        grid-column: 3;
        grid-row: 1;
        padding: 0 8px 0 8px;
        font-size: 14px;
        line-height: 20px;
        float: left;
        user-select: none;
        margin-top: 0;
    }

    .toggle-settings {
        align-items: center;
        background-color: inherit;
        cursor: default;
        display: grid;
        outline: none;
        user-select: none;
        height: 44px;
        grid-template-columns: 16px auto max-content max-content 16px;;
        grid-template-rows: auto;
    }

    .chevronIcon-floating-custom{
        position: relative;
    }

    .settings-dialog {
        --elevation: 11;
        width: 320px;
        background-color: ${zt.s55};
        border: calc(${zt.Han} * 1px) solid transparent;
        border-radius: ${zt.rSr};
        display: flex;
        border-radius: 4px;
        flex-direction: column;
        position: absolute;
        ${jt.XC};
    }

    @media screen and (max-height: 560px) {

      #settingDialogMain, #settingDialogCustom, #settingDialogFull {
        max-height: calc(100vh - 80px);
        overflow: auto;
      }

      #settingDialogCustom .feed-selector fluent-select.select::part(listbox) {
        border-bottom: 0px;
        border-top: unset;
        bottom: calc((var(--base-height-multiplier) + var(--density)) * var(--design-unit) * 1px);
        top: unset;
      }

      msn-market-selector::part(listbox) {
        --max-height: min(336px, calc(100vh - 174px));
      }
    }

    .select::part(listbox) {
        background-color: ${zt.s55};
    }

     msn-market-selector.select fluent-select::part(listbox) {
        background-color: ${zt.s55};
     }

    fluent-select {
        background-color: ${zt.s55};
        width: 100%;
          font-size: ${zt.cSu};
    }
    fluent-radio::part(control) {
        background-color: ${zt.s55};
    }

     fluent-radio::part(control):focus {
        outline: dotted;
    }
    
    fluent-divider {
        box-sizing: content-box;
        margin: 0px;
        transition: all 0.2s ease-in-out 0s;
        display: block;
        unicode-bidi: isolate;
        margin-inline: auto;
        overflow: hidden;
        border-top: 1px solid ${zt.yDr};
        border-right: none;
        border-bottom: none;
        border-left: none;
        border-image: initial;
    }

    .without-market-selector {
        height: 106px;
    }

    .settings-dialog-main-header {
        display: block;
        border-radius: 4px;
        padding: 12px 0 0 0;
        position: relative;
    }

    .settings-dialog-main-header-no-padding {
        display: block;
        border-radius: 4px;
        position: relative;
    }

    .settings-dialog-title {
        margin: 12px auto 8px;
        margin-inline-start: 16px;
        font-size: ${zt.PwC};
        line-height: ${zt.b3W};
        font-weight: 600;
        user-select: none;
    }
    .layout-settings-buttons-container {
        padding: 8px 4px 4px 4px;
    }
    .settings-dialog-enterprise-title {
        margin-top: 0px;
        margin-bottom: 0px;
        margin-inline-start: 16px;
        font-size: ${zt.PwC};
        line-height: ${zt.b3W};
        font-weight: 600;
    }
    .main-header-container {
        align-items: baseline;
        display: grid;
        grid-template-columns: max-content max-content;
    }

    .settings-dialog-main-title {
        margin-top: 0;
        margin-bottom: 0;
        transition: all 0.2s ease-in-out;
        font-size: ${zt.PwC};
        line-height: ${zt.b3W};
        font-weight: 600;
        grid-column: 1;
        padding: 0 16px 0 16px;
        position: relative;
         user-select: none;
    }

    .language-dropdown {
        margin: 0px 8px 16px 0px;
        margin-top:0px;
        font-size: ${zt.cSu};
        line-height: ${zt.RUt};
        width:100%;
    }

    msn-market-selector::part(select) {
        background: ${zt.s55};
    }

    .background-settings {
        padding-bottom: 10px;
        position: relative
    }

    .feed-settings{
        padding-bottom: 13px;
        padding-top: 11px;
        padding-left: 16px;
        padding-right: unset;
    }

    .appLink:hover{
        text-decoration: underline;
    }

    .add-padding {
        margin: 4px !important;
        width: 97.5% !important;
        padding: 6px 6px 6px 12px !important;
        font-size: ${zt.PwC} !important;
    }

    .reduced-height {
        height:inherit;
        padding: 10px 0px;
    }

    .market-selector-settings {
        bottom: 5px;
        display: block;
        height: 70px;
        padding: 12px 16px 8px 16px;
        right: 0;
        user-select: none;
        width: 90%;
    }

    .affiliateDisclaimer {
        font-size: ${zt.sNp};
        padding: 0 16px 10px;
        margin: 0px;
        user-select: none;
    }

    .appLink {
        display: inline;
        vertical-align: super;
        text-decoration: underline;
    }

    .footer-dark {    
        color: rgba(255, 255, 255, 0.8);
    }
    
    .footer-light {
        color: rgba(0, 0, 0, 0.6);
    }

    .footer-light-link {
        color: rgba(0, 0, 0, 0.8);
    }

    .linksContainer {
        padding: 7px 16px 6px 16px;
        font-size: ${zt.sNp};
        line-height: ${zt.MwG};
        margin: 0px;
    }

    label {
        color: ${zt.Q5n};
        line-height: "inherit";
        padding: 0 4px 0 4px;
    }

    .background-title {
        margin-top: 0;
        margin-bottom: 0;
        font-size: ${zt.cSu};
        line-height: ${zt.RUt};
        padding-bottom: 13px;
        padding-top: 11px;
    }

    .custom-title {
        font-size: ${zt.PwC};
        line-height: ${zt.b3W};
        margin-top: 0;
        margin-bottom: 0;
        transition: all 0.2s ease-in-out;
        display: inline-block;
        user-select: none;
    }

    .heading-container-custom {
        align-items: center;
        border-radius: 2px;
        cursor: auto;
        display: block;
        height: 24px;
        top: 0px;
        width: 80%;
        left: 0px;
        padding: 13px 10px 11px 0;
        right: 40px;
    }

    .feed-selector {
        padding-bottom: 6px;
    }

    .radio-settings {
        margin:0px;
    }

    .radio-button {
        height: 32px;
        margin:0px;
    }

    .reduced-margin {
        margin:0px;
    }

     .reduced-padding {
        padding:0px;
    }

    .radio-enterprise-button {
        align-items: center;
        display: grid;
        grid-template-columns: auto max-content;
        height: 32px;
        margin:0px;
    }

    .page-content-radio {
        padding: 10px 16px;
    }

    .settings-enterprise-header {
        display: block;
        border-radius: 4px 4px 0 0;
        padding-top: 12px;
        background: ${zt.jql}
    }

    .layout-mode-button {
        height: 40px;
        justify-content: start;
        padding: 6px 0px 6px 0px;
        position: relative;
        width: 100%;
        line-height: 1;
        cursor: pointer;
        font-family: inherit;
        box-sizing: border-box;
        max-width: 374px;
        display: inline-flex;
        align-items: center;
        overflow: hidden;
        text-decoration: none;
        white-space: nowrap;
        transition: all 0.1s ease-in-out;
        font-size: ${zt.cSu};
        border-radius: 2px;
        min-width: 32px;
        margin-bottom: 4px;
    }

    :host .layout-mode-button {
        background-color: ${zt.s55};
    }

    .layout-mode-button:hover{
        background-color: ${zt.XiB} !important;
    }

    .layout-mode-button-selected{
        background-color: ${zt.wFS} !important;
    }
    
    .layout-mode-button:active{
    background-color: ${zt.Gy2} !important;
    }

    .custom-arrow-back {
        height: 24px;
        width: 24px;
        min-width: 24px;
        position: absolute;
        margin-left:10px;
    }

    .personalize-settings-button {
        border: 1px solid ${zt.akT};
        border-radius: 2px;
        padding: 0;
        margin: 0 0 0 15px;
        font-size: ${zt.cSu};
        line-height: ${zt.RUt};
        box-sizing: border-box; 
        cursor: pointer;
        color: ${zt.CHi};
        fill: ${zt.CHi};
        height: fit-content;
    }

    .layout-mode-button::part(control) {
       justify-content: start;
    }

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

    .reduce-padding::part(control) {
        padding: 0px;
    }

    .heading-container-custom svg {
        height: 24px;
       width: 24px;
    }

    .settings-gear-icon {
        display: flex;
    }

    .settings-gear-icon svg{
        height: 24px;
        width: 24px;
        fill: ${zt.CHi};
    }

    .settings-gear-icon-image {
        display: flex;
    }

    .settings-gear-icon-image svg{
        height: 24px;
        width: 24px;
        fill: #FFFFFF;
    }

    @media screen and (-ms-high-contrast: active) {
        .settings-gear-icon-image svg{
            fill: currentColor;
        }
    }

    .footer {
        line-height: inherit;
        font-size: 25px;
        padding: 0px;
    }

    .personalize-settings-button::part(control) {
        width: 100%;
        white-space: normal;
        padding: 6px 12px;
    }

    ${Wt}
`.withBehaviors(new Gt.O(Qt,Jt)),Kt={experienceConfigSchema:m};(0,n.z)().withShadowRootMode("closed").withElementDisambiguation((()=>r.h.ignoreDuplicate)).register((0,o.ue)(),(0,s.hb)(),(0,a.xg)(),(0,l.$M)(),(0,d.P)())},3813:function(e,t,i){"use strict";i.d(t,{If:function(){return r},Li:function(){return d},Mc:function(){return g},qi:function(){return c}});var n=i(33940),o=i(11765),s=i(53076),a=i(65337),l=i(82423);function d(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){let i=!1;e&&null===(0,a.$o)().getObject(e,null)&&(i=!0);if((yield g())&&t){let e=!1;return null===o.L.getPreferenceSetting(t)&&(e=!0),e}return i}))}function r(e,t,i){return(0,n.mG)(this,void 0,void 0,(function*(){if(i){try{if(e&&null===(0,a.$o)().getObject(e,null)){(0,l.K0)(s.z.ChromiumPageSettings).updatePageSetting(e,!0)}}catch(e){console.log("Error in checking local storage.")}try{let e;(yield g())&&t&&(e=o.L.getPreferenceSetting(t),null===e&&c(t,"visible"))}catch(e){console.log("Error in checking persistent storage availability.")}}}))}function c(e,t){const i={setting:e,source:"ntp",timestamp:(new Date).getTime(),value:t};o.L.savePreferenceSetting(e,i)}function g(){return(0,n.mG)(this,void 0,void 0,(function*(){return yield o.L.isApiAvailableToUse()}))}},67131:function(e,t,i){"use strict";i.d(t,{S:function(){return S}});var n=i(33940),o=i(89346),s=i(87697),a=i(51565),l=i(9533),d=i(81555);class r extends o.H{constructor(){super(...arguments),this.marketList=[],this.disabled=!1,this.selectPosition=a.S.below,this.onChange=e=>{const t=this.select&&this.select.value;(this.select&&this.select.selectedIndex)!==this.selectedIndex&&(t&&this.onValueChange&&this.onValueChange(t),this.selectedMarketId=t,this.$emit("change",{market:t}))},this.onClick=e=>{e.target&&"FLUENT-OPTION"===e.target.tagName||(e.composedPath=()=>[this.select])}}connectedCallback(){super.connectedCallback(),this.select&&(this.select.focusAndScrollOptionIntoView=()=>{window.requestAnimationFrame((()=>{this.select.firstSelectedOption&&(this.select.firstSelectedOption.focus(),this.select.firstSelectedOption.scrollIntoView({block:"center"}))}))},this.select.focusoutHandler=e=>{if(!this.select.open)return!0;const t=e.relatedTarget||e.target;this.select.options&&this.select.options.includes(t)||(this.select.open=!1)});const e=this.shadowRoot.getElementById("marketSelector");e&&(0,l.FY)(d._.marketSelector,e)}defaultMarketIdChanged(e,t){e!==t&&t&&(this.selectedMarketId?this.setSelectedMarket(this.selectedMarketId):this.setSelectedMarket(t))}selectedMarketIdChanged(e,t){e!==t&&t&&this.setSelectedMarket(t)}marketListChanged(e,t){t&&t.length&&this.setSelectedMarket(this.selectedMarketId||this.defaultMarketId)}setSelectedMarket(e){if(!e)return;const t=this.marketList&&this.marketList.findIndex((t=>t.id===e));t<0||window.requestAnimationFrame((()=>{this.selectedIndex=t}))}}(0,n.gn)([s.LO],r.prototype,"id",void 0),(0,n.gn)([s.LO],r.prototype,"onValueChange",void 0),(0,n.gn)([s.LO],r.prototype,"defaultMarketId",void 0),(0,n.gn)([s.LO],r.prototype,"selectedMarketId",void 0),(0,n.gn)([s.LO],r.prototype,"marketList",void 0),(0,n.gn)([s.LO],r.prototype,"disabled",void 0),(0,n.gn)([s.LO],r.prototype,"selectPosition",void 0),(0,n.gn)([s.LO],r.prototype,"label",void 0),(0,n.gn)([s.LO],r.prototype,"ariaLabel",void 0),(0,n.gn)([s.LO],r.prototype,"marketSelectorMetaTag",void 0),(0,n.gn)([s.LO],r.prototype,"selectedIndex",void 0);var c=i(53046),g=i(32804);const u=c.i`
:host {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    font-size: ${g.cSu};
    line-height: ${g.RUt};
}

.select {
    height: 32px;
    margin-top: 10px;
    margin-bottom: 8px;
    max-width: 374px;
}

.select::part(listbox) {
    --max-height: 336px;
    height: 336px;
}

.selector-icon {
    height: 16px;
    width: 16px;
}

:host fluent-select::part(start) {
    display: contents;
}

:host fluent-select > img[slot="start"] {
    margin-inline-end: 1ch;
}

:host fluent-select img {
    width: 22px;
    height: 22px;
}

:host fluent-select[current-value="fr-xl"] > img,
:host fluent-select[current-value="es-xl"] > img,
:host fluent-select[current-value="en-xl"] > img,
:host fluent-select[current-value="ru-xl"] > img,
:host fluent-select[current-value="zh-tw"] > img {
    width: 22px;
    height: 14px;
}

:host fluent-option[id="fr-xl"] img,
:host fluent-option[id="es-xl"] img,
:host fluent-option[id="en-xl"] img,
:host fluent-option[id="ru-xl"] img,
:host fluent-option[id="zh-tw"] img {
    width: 22px;
    height: 14px;
}
`;var h=i(39181),p=i(13988),m=i(58952),b=i(18864),f=i(86572);const k=h.d`
<fluent-option
    id=${e=>e.id}
    value=${e=>e.value}
    dir=${e=>e.direction}
    data-t="${e=>e.marketSelectorOptionMetaTag}"
>
    ${(0,p.g)((e=>e.flagUrl),h.d`
        <img src=${e=>e.flagUrl} slot="start" alt="${e=>e.id}"/>
    `)}
    ${e=>e.displayString}
</fluent-option>
`,v=h.d`
${(0,p.g)((e=>e.label),h.d`<span id="market-selector-label">${e=>e.label}</span>`)}
<fluent-select
    id=${e=>e.id}
    class="select"
    part="select"
    exportparts="listbox"
    position=${e=>e.selectPosition}
    aria-labelledby="market-selector-label"
    aria-label=${e=>e.ariaLabel}
    ?disabled=${e=>e.disabled}
    :selectedIndex="${e=>e.selectedIndex}"
    @change=${(e,t)=>e.onChange(t.event)}
    @click=${(e,t)=>e.onClick(t.event)}
    ${(0,m.i)("select")}
    data-t="${e=>e.marketSelectorMetaTag}"
>
    ${(0,p.g)((e=>{var t;return null===(t=e.marketList[e.select.selectedIndex])||void 0===t?void 0:t.flagUrl}),h.d`
        <img src="${e=>e.marketList[e.select.selectedIndex].flagUrl}" slot="start" alt="${e=>e.marketList[e.select.selectedIndex].id}"/>
    `)}
    ${(0,b.rx)((e=>e.marketList),k)}
    <div class="selector-icon" slot="indicator">
        <slot name="selector-icon">
            ${f.Z}
        </slot>
    </div>
</fluent-select>
`;var y=i(63070),$=i(8417),x=i(31074),w=i(57905);let S=class extends r{};S=(0,n.gn)([(0,o.M)({name:"msn-market-selector",template:v,styles:u})],S),(0,y.z)().withShadowRootMode("closed").withElementDisambiguation((()=>w.h.ignoreDuplicate)).register((0,$.$M)(),(0,x.P)())},77669:function(e){e.exports='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12.01 2.25c.74 0 1.47.1 2.18.25.32.07.55.33.59.65l.17 1.53a1.38 1.38 0 001.92 1.11l1.4-.61c.3-.13.64-.06.85.17a9.8 9.8 0 012.2 3.8c.1.3 0 .63-.26.82l-1.24.92a1.38 1.38 0 000 2.22l1.24.92c.26.19.36.52.27.82a9.8 9.8 0 01-2.2 3.8.75.75 0 01-.85.17l-1.4-.62a1.38 1.38 0 00-1.93 1.12l-.17 1.52a.75.75 0 01-.58.65 9.52 9.52 0 01-4.4 0 .75.75 0 01-.57-.65l-.17-1.52a1.38 1.38 0 00-1.93-1.11l-1.4.62a.75.75 0 01-.85-.18 9.8 9.8 0 01-2.2-3.8c-.1-.3 0-.63.27-.82l1.24-.92a1.38 1.38 0 000-2.22l-1.24-.92a.75.75 0 01-.28-.82 9.8 9.8 0 012.2-3.8c.23-.23.57-.3.86-.17l1.4.62c.4.17.86.15 1.25-.08.38-.22.63-.6.68-1.04l.17-1.53a.75.75 0 01.58-.65c.72-.16 1.45-.24 2.2-.25zm0 1.5c-.45 0-.9.04-1.35.12l-.11.97a2.89 2.89 0 01-4.02 2.33l-.9-.4A8.3 8.3 0 004.28 9.1l.8.59a2.88 2.88 0 010 4.64l-.8.59a8.3 8.3 0 001.35 2.32l.9-.4a2.88 2.88 0 014.02 2.32l.1.99c.9.15 1.8.15 2.7 0l.1-.99a2.88 2.88 0 014.02-2.32l.9.4a8.3 8.3 0 001.36-2.32l-.8-.59a2.88 2.88 0 010-4.64l.8-.59a8.3 8.3 0 00-1.35-2.32l-.9.4a2.88 2.88 0 01-4.02-2.32l-.11-.98c-.45-.08-.9-.11-1.34-.12zM12 8.25a3.75 3.75 0 110 7.5 3.75 3.75 0 010-7.5zm0 1.5a2.25 2.25 0 100 4.5 2.25 2.25 0 000-4.5z"></path></svg>'},31074:function(e,t,i){"use strict";i.d(t,{s:function(){return m},P:function(){return p}});var n=i(67491),o=i(34015),s=i(53046),a=i(67020),l=i(56201),d=i(37139),r=i(40082),c=i(87839),g=i(2658),u=i(32804);const h=(e,t)=>s.i`
        ${(0,a.j)("inline-flex")} :host {
            font-family: ${u.SVJ};
            border-radius: calc(${u.UWU} * 1px);
            border: calc(${u.vxp} * 1px) solid transparent;
            box-sizing: border-box;
            color: ${u.CHi};
            cursor: pointer;
            fill: currentcolor;
            font-size: ${u.cSu};
            height: calc(${g.i} * 1px);
            line-height: ${u.RUt};
            margin: 0 calc(${u._5n} * 1px);
            outline: none;
            overflow: hidden;
            align-items: center;
            padding: 0 calc(${u._5n} * 2.25px);
            user-select: none;
            white-space: nowrap;
        }

        :host(:${l.b}) {
            box-shadow: 0 0 0 calc(${u.vxp} * 1px) inset ${u.a2F};
            border-color: ${u.yGg};
            background: ${u.D8M};
            color: ${u.$uW};
        }

        :host([aria-selected="true"]) {
            background: ${u.Avx};
            color: ${u.w41};
        }

        :host(:hover) {
            background: ${u.OCG};
            color: ${u.lJV};
        }

        :host(:active) {
            background: ${u.UEO};
            color: ${u.PpH};
        }

        :host(:not([aria-selected="true"]):hover) {
            background: ${u.XiB};
            color: ${u.CHi};
        }

        :host(:not([aria-selected="true"]):active) {
            background: ${u.Gy2};
            color: ${u.CHi};
        }

        :host([disabled]) {
            cursor: ${d.H};
            opacity: ${u.VFZ};
        }

        :host([disabled]:hover) {
            background-color: inherit;
        }

        .content {
            grid-column-start: 2;
            justify-self: start;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .start,
        .end,
        ::slotted(svg) {
            display: flex;
        }

        ::slotted(svg) {
            ${""}
            height: calc(${u._5n} * 4px);
            width: calc(${u._5n} * 4px);
        }

        ::slotted([slot="end"]) {
            margin-inline-start: 1ch;
        }

        ::slotted([slot="start"]) {
            margin-inline-end: 1ch;
        }
    `.withBehaviors((0,r.vF)(s.i`
                :host {
                    border-color: transparent;
                    color: ${c.H.ButtonText};
                    forced-color-adjust: none;
                }

                :host(:not([aria-selected="true"]):hover),
                :host([aria-selected="true"]) {
                    background: ${c.H.Highlight};
                    color: ${c.H.HighlightText};
                }

                :host([disabled]),
                :host([disabled]:not([aria-selected="true"]):hover) {
                    background: ${c.H.Canvas};
                    color: ${c.H.GrayText};
                    fill: currentcolor;
                    opacity: 1;
                }
            `)),p=n.wt.compose({baseName:"option",template:o.T,styles:h}),m=h},8417:function(e,t,i){"use strict";i.d(t,{Ph:function(){return x},$M:function(){return w},XO:function(){return S}});var n=i(33940),o=i(65620),s=i(20005),a=i(12968),l=i(87697),d=i(11673),r=i(36153),c=i(65898),g=i(51208),u=i(86076),h=i(17453),p=i(82500);class m extends h.k{}class b extends((0,p.Um)(m)){constructor(){super(...arguments),this.proxy=document.createElement("select")}}var f=i(51565);class k extends b{constructor(){super(...arguments),this.open=!1,this.forcedPosition=!1,this.listboxId=(0,d.EL)("listbox-"),this.maxHeight=0}openChanged(e,t){if(this.collapsible){if(this.open)return this.ariaControls=this.listboxId,this.ariaExpanded="true",this.setPositioning(),this.focusAndScrollOptionIntoView(),this.indexWhenOpened=this.selectedIndex,void a.SO.queueUpdate((()=>this.focus()));this.ariaControls="",this.ariaExpanded="false"}}get collapsible(){return!(this.multiple||"number"==typeof this.size)}get value(){return l.y$.track(this,"value"),this._value}set value(e){var t,i,n,o,s,a,d;const r=`${this._value}`;if(null===(t=this._options)||void 0===t?void 0:t.length){const t=this._options.findIndex((t=>t.value===e)),l=null!==(n=null===(i=this._options[this.selectedIndex])||void 0===i?void 0:i.value)&&void 0!==n?n:null,r=null!==(s=null===(o=this._options[t])||void 0===o?void 0:o.value)&&void 0!==s?s:null;-1!==t&&l===r||(e="",this.selectedIndex=t),e=null!==(d=null===(a=this.firstSelectedOption)||void 0===a?void 0:a.value)&&void 0!==d?d:e}r!==e&&(this._value=e,super.valueChanged(r,e),l.y$.notify(this,"value"),this.updateDisplayValue())}updateValue(e){var t,i;this.$fastController.isConnected&&(this.value=null!==(i=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.value)&&void 0!==i?i:""),e&&(this.$emit("input"),this.$emit("change",this,{bubbles:!0,composed:void 0}))}selectedIndexChanged(e,t){super.selectedIndexChanged(e,t),this.updateValue()}positionChanged(e,t){this.positionAttribute=t,this.setPositioning()}setPositioning(){const e=this.getBoundingClientRect(),t=window.innerHeight-e.bottom;this.position=this.forcedPosition?this.positionAttribute:e.top>t?f.S.above:f.S.below,this.positionAttribute=this.forcedPosition?this.positionAttribute:this.position,this.maxHeight=this.position===f.S.above?~~e.top:~~t}get displayValue(){var e,t;return l.y$.track(this,"displayValue"),null!==(t=null===(e=this.firstSelectedOption)||void 0===e?void 0:e.text)&&void 0!==t?t:""}disabledChanged(e,t){super.disabledChanged&&super.disabledChanged(e,t),this.ariaDisabled=this.disabled?"true":"false"}formResetCallback(){this.setProxyOptions(),super.setDefaultSelectedOption(),-1===this.selectedIndex&&(this.selectedIndex=0)}clickHandler(e){if(!this.disabled){if(this.open){const t=e.target.closest("option,[role=option]");if(t&&t.disabled)return}return super.clickHandler(e),this.open=this.collapsible&&!this.open,this.open||this.indexWhenOpened===this.selectedIndex||this.updateValue(!0),!0}}focusoutHandler(e){var t;if(super.focusoutHandler(e),!this.open)return!0;const i=e.relatedTarget;this.isSameNode(i)?this.focus():(null===(t=this.options)||void 0===t?void 0:t.includes(i))||(this.open=!1,this.indexWhenOpened!==this.selectedIndex&&this.updateValue(!0))}handleChange(e,t){super.handleChange(e,t),"value"===t&&this.updateValue()}slottedOptionsChanged(e,t){this.options.forEach((e=>{l.y$.getNotifier(e).unsubscribe(this,"value")})),super.slottedOptionsChanged(e,t),this.options.forEach((e=>{l.y$.getNotifier(e).subscribe(this,"value")})),this.setProxyOptions(),this.updateValue()}mousedownHandler(e){var t;return e.offsetX>=0&&e.offsetX<=(null===(t=this.listbox)||void 0===t?void 0:t.scrollWidth)?super.mousedownHandler(e):this.collapsible}multipleChanged(e,t){super.multipleChanged(e,t),this.proxy&&(this.proxy.multiple=t)}selectedOptionsChanged(e,t){var i;super.selectedOptionsChanged(e,t),null===(i=this.options)||void 0===i||i.forEach(((e,t)=>{var i;const n=null===(i=this.proxy)||void 0===i?void 0:i.options.item(t);n&&(n.selected=e.selected)}))}setDefaultSelectedOption(){var e;const t=null!==(e=this.options)&&void 0!==e?e:Array.from(this.children).filter(c.R.slottedOptionFilter),i=null==t?void 0:t.findIndex((e=>e.hasAttribute("selected")||e.selected||e.value===this.value));this.selectedIndex=-1===i?0:i}setProxyOptions(){this.proxy instanceof HTMLSelectElement&&this.options&&(this.proxy.options.length=0,this.options.forEach((e=>{const t=e.proxy||(e instanceof HTMLOptionElement?e.cloneNode():null);t&&this.proxy.options.add(t)})))}keydownHandler(e){super.keydownHandler(e);const t=e.key||e.key.charCodeAt(0);switch(t){case r.BI:e.preventDefault(),this.collapsible&&this.typeAheadExpired&&(this.open=!this.open);break;case r.tU:case r.Kh:e.preventDefault();break;case r.kL:e.preventDefault(),this.open=!this.open;break;case r.CX:this.collapsible&&this.open&&(e.preventDefault(),this.open=!1);break;case r.oM:return this.collapsible&&this.open&&(e.preventDefault(),this.open=!1),!0}return this.open||this.indexWhenOpened===this.selectedIndex||(this.updateValue(!0),this.indexWhenOpened=this.selectedIndex),!(t===r.iF||t===r.SB)}connectedCallback(){super.connectedCallback(),this.forcedPosition=!!this.positionAttribute,this.addEventListener("contentchange",this.updateDisplayValue)}disconnectedCallback(){this.removeEventListener("contentchange",this.updateDisplayValue),super.disconnectedCallback()}sizeChanged(e,t){super.sizeChanged(e,t),this.proxy&&(this.proxy.size=t)}updateDisplayValue(){this.collapsible&&l.y$.notify(this,"displayValue")}}(0,s.gn)([(0,o.Lj)({attribute:"open",mode:"boolean"})],k.prototype,"open",void 0),(0,s.gn)([l.lk],k.prototype,"collapsible",null),(0,s.gn)([l.LO],k.prototype,"control",void 0),(0,s.gn)([(0,o.Lj)({attribute:"position"})],k.prototype,"positionAttribute",void 0),(0,s.gn)([l.LO],k.prototype,"position",void 0),(0,s.gn)([l.LO],k.prototype,"maxHeight",void 0);class v{}(0,s.gn)([l.LO],v.prototype,"ariaControls",void 0),(0,u.e)(v,c.x),(0,u.e)(k,g.hW,v);var y=i(9530),$=i(27663);class x extends k{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="outline")}}(0,n.gn)([(0,o.Lj)({mode:"fromView"}),(0,n.w6)("design:type",String)],x.prototype,"appearance",void 0);const w=x.compose({baseName:"select",baseClass:k,template:y.U,styles:$.X,indicator:'\n    <svg\n        class="select-indicator"\n        part="select-indicator"\n        viewBox="0 0 12 7"\n        xmlns="http://www.w3.org/2000/svg"\n    >\n        <path\n            d="M11.85.65c.2.2.2.5 0 .7L6.4 6.84a.55.55 0 01-.78 0L.14 1.35a.5.5 0 11.71-.7L6 5.8 11.15.65c.2-.2.5-.2.7 0z"\n        />\n    </svg>\n  '}),S=$.X},27663:function(e,t,i){"use strict";i.d(t,{A:function(){return h},X:function(){return p}});var n=i(53046),o=i(56201),s=i(67020),a=i(37139),l=i(40082),d=i(87839),r=i(2658),c=i(62734),g=i(82636),u=i(32804);const h=(e,t)=>n.i`
    :host([appearance="filled"]) {
        background: ${u.wFS};
        border-color: transparent;
    }

    :host([appearance="filled"]:hover:not([disabled])) {
        background: ${u.XiB};
        border-color: transparent;
    }

    :host([appearance="filled"]:${o.b}) {
        border-color: ${u.yGg};
    }
`,p=(e,t)=>n.i`
        ${(0,s.j)("inline-flex")} :host {
            --elevation: 14;
            background: ${u._Bj};
            border-radius: calc(${u.UWU} * 1px);
            border: calc(${u.Han} * 1px) solid ${u.akT};
            box-sizing: border-box;
            color: ${u.CHi};
            font-family: ${u.SVJ};
            height: calc(${r.i} * 1px);
            position: relative;
            user-select: none;
            min-width: 250px;
            vertical-align: top;
        }

        .listbox {
            ${c.XC}
            background: ${u.s55};
            border-radius: calc(${u.UWU} * 1px);
            box-sizing: border-box;
            display: inline-flex;
            flex-direction: column;
            left: 0;
            max-height: calc(var(--max-height) - (${r.i} * 1px));
            padding: calc(${u._5n} * 1px) 0;
            overflow-y: auto;
            position: absolute;
            width: 100%;
            z-index: 1;
            margin: 1px 0;
        }

        .listbox[hidden] {
            display: none;
        }

        .control {
            align-items: center;
            box-sizing: border-box;
            cursor: pointer;
            display: flex;
            font-size: ${u.cSu};
            font-family: inherit;
            min-height: 100%;
            line-height: ${u.RUt};
            padding: 0 calc(${u._5n} * 2.25px);
            width: 100%;
        }

        :host(:not([disabled]):hover) {
            background: ${u.Tm7};
            border-color: ${u.QPc};
        }

        :host(:focus) {
            outline: none;
        }

        :host(:${o.b}) {
            border-color: ${u.yGg};
            outline: none;
            box-shadow: 0 0 0 1px inset ${u.yGg};
        }

        :host([open]:${o.b}) {
            border-color: ${u.akT};
            outline: none;
            box-shadow: none;
        }

        :host(:${o.b}) ::slotted([aria-selected="true"][role="option"]:not([disabled])) {
            box-shadow: 0 0 0 calc(${u.vxp} * 1px) inset ${u.a2F};
            border-color: ${u.yGg};
            background: ${u.D8M};
            color: ${u.$uW};
        }

        :host([disabled]) {
            cursor: ${a.H};
            opacity: ${u.VFZ};
        }

        :host([disabled]) .control {
            cursor: ${a.H};
            user-select: none;
        }

        :host([disabled]:hover) {
            background: ${u.jql};
            color: ${u.CHi};
            fill: currentcolor;
        }

        :host(:not([disabled])) .control:active {
            background: ${u.Ium};
            border-color: ${u.c1L};
            border-radius: calc(${u.UWU} * 1px);
        }

        :host([open][position="above"]) .listbox {
            border-bottom-left-radius: 0;
            border-bottom-right-radius: 0;
        }

        :host([open][position="below"]) .listbox {
            border-top-left-radius: 0;
            border-top-right-radius: 0;
        }

        :host([open][position="above"]) .listbox {
            border-bottom: 0;
            bottom: calc(${r.i} * 1px);
        }

        :host([open][position="below"]) .listbox {
            border-top: 0;
            top: calc(${r.i} * 1px);
        }

        .selected-value {
            font-family: inherit;
            flex: 1 1 auto;
            text-align: start;
        }

        .indicator {
            flex: 0 0 auto;
            margin-inline-start: 1em;
        }

        ::slotted([name="listbox"]) {
            display: none;
            width: 100%;
        }

        :host([open]) ::slotted([name="listbox"]) {
            display: flex;
            position: absolute;
            ${c.XC}
        }

        .end {
            margin-inline-start: auto;
        }

        .start,
        .end,
        .indicator,
        .select-indicator,
        ::slotted(svg) {
            ${""}
            fill: currentcolor;
            height: 1em;
            min-height: calc(${u._5n} * 4px);
            min-width: calc(${u._5n} * 4px);
            width: 1em;
        }

        ::slotted([role="option"]) {
            flex: 0 0 auto;
        }
    `.withBehaviors((0,g.H)("filled",h(e,t)),(0,l.vF)(n.i`
                :host([disabled]) {
                    border-color: ${d.H.GrayText};
                    background-color: ${d.H.ButtonFace};
                    color: ${d.H.GrayText};
                    opacity: 1;
                    forced-color-adjust: none;
                }

                :host([disabled]:hover) {
                    background: ${d.H.ButtonFace};
                }

                :host([disabled]) .control {
                    color: ${d.H.GrayText};
                    border-color: ${d.H.GrayText};
                }

                :host(:not([disabled]):hover) {
                    background: ${d.H.ButtonFace};
                    border-color: ${d.H.Highlight};
                }

                :host(:${o.b}) {
                    forced-color-adjust: none;
                    background: ${d.H.ButtonFace};
                    border-color: ${d.H.Highlight};
                    box-shadow: 0 0 0 1px inset ${d.H.Highlight};
                    color: ${d.H.ButtonText};
                    fill: currentcolor;
                }

                :host([open]) .listbox {
                    background: ${d.H.ButtonFace};
                    border: 1px solid ${d.H.ButtonText};
                }

                :host(:${o.b}) ::slotted([aria-selected="true"][role="option"]:not([disabled])) {
                    background: ${d.H.Highlight};
                    border-color: ${d.H.ButtonText};
                    box-shadow: 0 0 0 calc(${u.vxp} * 1px) inset
                        ${d.H.HighlightText};
                    color: ${d.H.HighlightText};
                    fill: currentcolor;
                }

                ::slotted([role="option"]:not([aria-selected="true"]):not([disabled]):hover) {
                    forced-color-adjust: none;
                    color: ${d.H.ButtonText};
                    background: ${d.H.ButtonFace};
                    border-color: ${d.H.Highlight};
                    box-shadow: none;
                }
            `))},39391:function(e,t,i){"use strict";i.d(t,{xg:function(){return w}});var n=i(20005),o=i(65620),s=i(87697),a=i(36153),l=i(82500),d=i(48839);class r extends d.I{}class c extends((0,l.V2)(r)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class g extends c{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{switch(e.key){case a.kL:case a.BI:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}(0,n.gn)([(0,o.Lj)({attribute:"readonly",mode:"boolean"})],g.prototype,"readOnly",void 0),(0,n.gn)([s.LO],g.prototype,"defaultSlottedNodes",void 0);var u=i(39181),h=i(90960);var p=i(53046),m=i(67020),b=i(37139),f=i(56201),k=i(40082),v=i(87839),y=i(2658),$=i(22674),x=i(32804);const w=g.compose({baseName:"switch",template:(e,t)=>u.d`
    <template
        role="switch"
        aria-checked="${e=>e.checked}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        tabindex="${e=>e.disabled?null:0}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        class="${e=>e.checked?"checked":""}"
    >
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,h.Q)("defaultSlottedNodes")}></slot>
        </label>
        <div part="switch" class="switch">
            <slot name="switch">${t.switch||""}</slot>
        </div>
        <span class="status-message" part="status-message">
            <span class="checked-message" part="checked-message">
                <slot name="checked-message"></slot>
            </span>
            <span class="unchecked-message" part="unchecked-message">
                <slot name="unchecked-message"></slot>
            </span>
        </span>
    </template>
`,styles:(e,t)=>p.i`
        :host([hidden]) {
            display: none;
        }

        ${(0,m.j)("inline-flex")} :host {
            align-items: center;
            outline: none;
            font-family: ${x.SVJ};
            margin: calc(${x._5n} * 1px) 0;
            ${""} user-select: none;
        }

        :host(.disabled) {
            opacity: ${x.VFZ};
        }

        :host(.disabled) .label,
        :host(.readonly) .label,
        :host(.readonly) .switch,
        :host(.disabled) .switch {
            cursor: ${b.H};
        }

        .switch {
            position: relative;
            outline: none;
            box-sizing: border-box;
            width: calc(((${y.i} / 2) + ${x._5n}) * 2px);
            height: calc(((${y.i} / 2) + ${x._5n}) * 1px);
            background: ${x._Bj};
            border-radius: calc(${y.i} * 1px);
            border: calc(${x.Han} * 1px) solid ${x.rU8};
        }

        :host(:enabled) .switch:hover {
            background: ${x.Tm7};
            border-color: ${x.gKw};
            cursor: pointer;
        }

        :host(:enabled) .switch:active {
            background: ${x.Ium};
            border-color: ${x.ekh};
        }

        :host(:${f.b}) .switch {
            box-shadow: 0 0 0 2px ${x.IfY}, 0 0 0 4px ${x.yGg};
            border-color: ${x.yGg};
        }

        .checked-indicator {
            position: absolute;
            height: calc((${y.i} - (${x._5n} * 5.5)) * 1px);
            width: calc((${y.i} - (${x._5n} * 5.5)) * 1px);
            top: calc(${x._5n} * 1px);
            background: ${x.CHi};
            border-radius: 50%;
            transition: all 0.2s ease-in-out;
        }

        .status-message {
            color: ${x.CHi};
            cursor: pointer;
            font-size: ${x.cSu};
            line-height: ${x.RUt};
        }

        .label__hidden {
            display: none;
            visibility: hidden;
        }

        .label {
            color: ${x.CHi};
            font-size: ${x.cSu};
            line-height: ${x.RUt};
            margin-inline-end: calc(${x._5n} * 2px + 2px);
            cursor: pointer;
        }

        ::slotted(*) {
            ${""} margin-inline-start: calc(${x._5n} * 2px + 2px);
        }

        :host([aria-checked="true"]) .checked-indicator {
            background: ${x.w41};
        }

        :host([aria-checked="true"]) .switch {
            background: ${x.Avx};
        }

        :host([aria-checked="true"]:enabled) .switch:hover {
            background: ${x.OCG};
        }

        :host([aria-checked="true"]:enabled) .switch:hover .checked-indicator {
            background: ${x.lJV};
        }

        :host([aria-checked="true"]:enabled) .switch:active {
            background: ${x.UEO};
        }

        :host([aria-checked="true"]:enabled) .switch:active .checked-indicator {
            background: ${x.PpH};
        }

        :host([aria-checked="true"]:${f.b}:enabled) .switch {
            box-shadow: 0 0 0 2px ${x.IfY}, 0 0 0 4px ${x.yGg};
            border-color: transparent;
        }

        .unchecked-message {
            display: block;
        }

        .checked-message {
            display: none;
        }

        :host([aria-checked="true"]) .unchecked-message {
            display: none;
        }

        :host([aria-checked="true"]) .checked-message {
            display: block;
        }
    `.withBehaviors(new $.O(p.i`
                .checked-indicator {
                    left: calc(${x._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    left: calc(
                        (((${y.i} / 2) + ${x._5n}) + ${x._5n}) * 1px
                    );
                }
            `,p.i`
                .checked-indicator {
                    right: calc(${x._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    right: calc(
                        (((${y.i} / 2) + ${x._5n}) + ${x._5n}) * 1px
                    );
                }
            `),(0,k.vF)(p.i`
                .checked-indicator,
                :host(:enabled) .switch:active .checked-indicator {
                    forced-color-adjust: none;
                    background: ${v.H.FieldText};
                }
                .switch {
                    forced-color-adjust: none;
                    background: ${v.H.Field};
                    border-color: ${v.H.FieldText};
                }
                :host(:enabled) .switch:hover {
                    background: ${v.H.HighlightText};
                    border-color: ${v.H.Highlight};
                }
                :host(.checked) .switch {
                    background: ${v.H.Highlight};
                    border-color: ${v.H.Highlight};
                }
                :host(.checked:enabled) .switch:hover,
                :host(:enabled) .switch:active {
                    background: ${v.H.HighlightText};
                    border-color: ${v.H.Highlight};
                }
                :host(.checked) .checked-indicator {
                    background: ${v.H.HighlightText};
                }
                :host(.checked:enabled) .switch:hover .checked-indicator {
                    background: ${v.H.Highlight};
                }
                :host(:${f.b}) .switch {
                    border-color: ${v.H.Highlight};
                    box-shadow: 0 0 0 2px ${v.H.Field},
                        0 0 0 4px ${v.H.FieldText};
                }
                :host(.checked:${f.b}:enabled) .switch {
                    box-shadow: 0 0 0 2px ${v.H.Field},
                        0 0 0 4px ${v.H.FieldText};
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled) .checked-indicator {
                    background: ${v.H.GrayText};
                }
                :host(.disabled) .switch {
                    background: ${v.H.Field};
                    border-color: ${v.H.GrayText};
                }
                .status-message,
                .label {
                    color: ${v.H.FieldText};
                }
            `)),switch:'\n    <span class="checked-indicator" part="checked-indicator"></span>\n  '})},67491:function(e,t,i){"use strict";i.d(t,{v2:function(){return g},wt:function(){return u}});var n=i(20005),o=i(87697),s=i(65620),a=i(67846),l=i(48839),d=i(7775),r=i(51208),c=i(86076);function g(e){return(0,a.Re)(e)&&("option"===e.getAttribute("role")||e instanceof HTMLOptionElement)}class u extends l.I{constructor(e,t,i,n){super(),this.defaultSelected=!1,this.dirtySelected=!1,this.selected=this.defaultSelected,this.dirtyValue=!1,e&&(this.textContent=e),t&&(this.initialValue=t),i&&(this.defaultSelected=i),n&&(this.selected=n),this.proxy=new Option(`${this.textContent}`,this.initialValue,this.defaultSelected,this.selected),this.proxy.disabled=this.disabled}checkedChanged(e,t){this.ariaChecked="boolean"!=typeof t?null:t?"true":"false"}contentChanged(e,t){this.proxy instanceof HTMLOptionElement&&(this.proxy.textContent=this.textContent),this.$emit("contentchange",null,{bubbles:!0})}defaultSelectedChanged(){this.dirtySelected||(this.selected=this.defaultSelected,this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.defaultSelected))}disabledChanged(e,t){this.ariaDisabled=this.disabled?"true":"false",this.proxy instanceof HTMLOptionElement&&(this.proxy.disabled=this.disabled)}selectedAttributeChanged(){this.defaultSelected=this.selectedAttribute,this.proxy instanceof HTMLOptionElement&&(this.proxy.defaultSelected=this.defaultSelected)}selectedChanged(){this.ariaSelected=this.selected?"true":"false",this.dirtySelected||(this.dirtySelected=!0),this.proxy instanceof HTMLOptionElement&&(this.proxy.selected=this.selected)}initialValueChanged(e,t){this.dirtyValue||(this.value=this.initialValue,this.dirtyValue=!1)}get label(){var e;return null!==(e=this.value)&&void 0!==e?e:this.text}get text(){var e,t;return null!==(t=null===(e=this.textContent)||void 0===e?void 0:e.replace(/\s+/g," ").trim())&&void 0!==t?t:""}set value(e){const t=`${null!=e?e:""}`;this._value=t,this.dirtyValue=!0,this.proxy instanceof HTMLOptionElement&&(this.proxy.value=t),o.y$.notify(this,"value")}get value(){var e;return o.y$.track(this,"value"),null!==(e=this._value)&&void 0!==e?e:this.text}get form(){return this.proxy?this.proxy.form:null}}(0,n.gn)([o.LO],u.prototype,"checked",void 0),(0,n.gn)([o.LO],u.prototype,"content",void 0),(0,n.gn)([o.LO],u.prototype,"defaultSelected",void 0),(0,n.gn)([(0,s.Lj)({mode:"boolean"})],u.prototype,"disabled",void 0),(0,n.gn)([(0,s.Lj)({attribute:"selected",mode:"boolean"})],u.prototype,"selectedAttribute",void 0),(0,n.gn)([o.LO],u.prototype,"selected",void 0),(0,n.gn)([(0,s.Lj)({attribute:"value",mode:"fromView"})],u.prototype,"initialValue",void 0);class h{}(0,n.gn)([o.LO],h.prototype,"ariaChecked",void 0),(0,n.gn)([o.LO],h.prototype,"ariaPosInSet",void 0),(0,n.gn)([o.LO],h.prototype,"ariaSelected",void 0),(0,n.gn)([o.LO],h.prototype,"ariaSetSize",void 0),(0,c.e)(h,d.v),(0,c.e)(u,r.hW,h)},34015:function(e,t,i){"use strict";i.d(t,{T:function(){return a}});var n=i(39181),o=i(90960),s=i(51208);const a=(e,t)=>n.d`
    <template
        aria-checked="${e=>e.ariaChecked}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-posinset="${e=>e.ariaPosInSet}"
        aria-selected="${e=>e.ariaSelected}"
        aria-setsize="${e=>e.ariaSetSize}"
        class="${e=>[e.checked&&"checked",e.selected&&"selected",e.disabled&&"disabled"].filter(Boolean).join(" ")}"
        role="option"
    >
        ${(0,s.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,o.Q)("content")}></slot>
        </span>
        ${(0,s.LC)(e,t)}
    </template>
`},17453:function(e,t,i){"use strict";i.d(t,{k:function(){return c}});var n=i(20005),o=i(12968),s=i(87697),a=i(65620),l=i(78945),d=i(36153),r=i(65898);class c extends r.R{constructor(){super(...arguments),this.activeIndex=-1,this.rangeStartIndex=-1}get activeOption(){return this.options[this.activeIndex]}get checkedOptions(){var e;return null===(e=this.options)||void 0===e?void 0:e.filter((e=>e.checked))}get firstSelectedOptionIndex(){return this.options.indexOf(this.firstSelectedOption)}activeIndexChanged(e,t){var i,n;this.ariaActiveDescendant=null!==(n=null===(i=this.options[t])||void 0===i?void 0:i.id)&&void 0!==n?n:"",this.focusAndScrollOptionIntoView()}checkActiveIndex(){if(!this.multiple)return;const e=this.activeOption;e&&(e.checked=!0)}checkFirstOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex+1),this.options.forEach(((e,t)=>{e.checked=(0,l.Z2)(t,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex=0,this.checkActiveIndex()}checkLastOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((e,t)=>{e.checked=(0,l.Z2)(t,this.rangeStartIndex,this.options.length)}))):this.uncheckAllOptions(),this.activeIndex=this.options.length-1,this.checkActiveIndex()}connectedCallback(){super.connectedCallback(),this.addEventListener("focusout",this.focusoutHandler)}disconnectedCallback(){this.removeEventListener("focusout",this.focusoutHandler),super.disconnectedCallback()}checkNextOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),this.options.forEach(((e,t)=>{e.checked=(0,l.Z2)(t,this.rangeStartIndex,this.activeIndex+1)}))):this.uncheckAllOptions(),this.activeIndex+=this.activeIndex<this.options.length-1?1:0,this.checkActiveIndex()}checkPreviousOption(e=!1){e?(-1===this.rangeStartIndex&&(this.rangeStartIndex=this.activeIndex),1===this.checkedOptions.length&&(this.rangeStartIndex+=1),this.options.forEach(((e,t)=>{e.checked=(0,l.Z2)(t,this.activeIndex,this.rangeStartIndex)}))):this.uncheckAllOptions(),this.activeIndex-=this.activeIndex>0?1:0,this.checkActiveIndex()}clickHandler(e){var t;if(!this.multiple)return super.clickHandler(e);const i=null===(t=e.target)||void 0===t?void 0:t.closest("[role=option]");return i&&!i.disabled?(this.uncheckAllOptions(),this.activeIndex=this.options.indexOf(i),this.checkActiveIndex(),this.toggleSelectedForAllCheckedOptions(),!0):void 0}focusAndScrollOptionIntoView(){super.focusAndScrollOptionIntoView(this.activeOption)}focusinHandler(e){if(!this.multiple)return super.focusinHandler(e);this.shouldSkipFocus||e.target!==e.currentTarget||(this.uncheckAllOptions(),-1===this.activeIndex&&(this.activeIndex=-1!==this.firstSelectedOptionIndex?this.firstSelectedOptionIndex:0),this.checkActiveIndex(),this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}focusoutHandler(e){this.multiple&&this.uncheckAllOptions()}keydownHandler(e){if(!this.multiple)return super.keydownHandler(e);if(this.disabled)return!0;const{key:t,shiftKey:i}=e;switch(this.shouldSkipFocus=!1,t){case d.tU:return void this.checkFirstOption(i);case d.iF:return void this.checkNextOption(i);case d.SB:return void this.checkPreviousOption(i);case d.Kh:return void this.checkLastOption(i);case d.oM:return this.focusAndScrollOptionIntoView(),!0;case d.CX:return this.uncheckAllOptions(),this.checkActiveIndex(),!0;case d.BI:if(e.preventDefault(),this.typeAheadExpired)return void this.toggleSelectedForAllCheckedOptions();default:return 1===t.length&&this.handleTypeAhead(`${t}`),!0}}mousedownHandler(e){if(e.offsetX>=0&&e.offsetX<=this.scrollWidth)return super.mousedownHandler(e)}multipleChanged(e,t){var i;this.ariaMultiSelectable=t?"true":null,null===(i=this.options)||void 0===i||i.forEach((e=>{e.checked=!t&&void 0})),this.setSelectedOptions()}setSelectedOptions(){this.multiple?this.$fastController.isConnected&&this.options&&(this.selectedOptions=this.options.filter((e=>e.selected)),this.focusAndScrollOptionIntoView()):super.setSelectedOptions()}sizeChanged(e,t){var i;const n=Math.max(0,parseInt(null!==(i=null==t?void 0:t.toFixed())&&void 0!==i?i:"",10));n!==t&&o.SO.queueUpdate((()=>{this.size=n}))}toggleSelectedForAllCheckedOptions(){const e=this.checkedOptions.filter((e=>!e.disabled)),t=!e.every((e=>e.selected));e.forEach((e=>e.selected=t)),this.selectedIndex=this.options.indexOf(e[e.length-1]),this.setSelectedOptions()}typeaheadBufferChanged(e,t){if(this.multiple){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches(),t=this.options.indexOf(e[0]);t>-1&&(this.activeIndex=t,this.uncheckAllOptions(),this.checkActiveIndex()),this.typeAheadExpired=!1}}else super.typeaheadBufferChanged(e,t)}uncheckAllOptions(e=!1){this.options.forEach((e=>e.checked=!this.multiple&&void 0)),e||(this.rangeStartIndex=-1)}}(0,n.gn)([s.LO],c.prototype,"activeIndex",void 0),(0,n.gn)([(0,a.Lj)({mode:"boolean"})],c.prototype,"multiple",void 0),(0,n.gn)([(0,a.Lj)({converter:a.Id})],c.prototype,"size",void 0)},65898:function(e,t,i){"use strict";i.d(t,{x:function(){return h},R:function(){return u}});var n=i(20005),o=i(87697),s=i(65620);var a=i(36153),l=i(11673),d=i(48839),r=i(67491),c=i(7775),g=i(86076);class u extends d.I{constructor(){super(...arguments),this._options=[],this.selectedIndex=-1,this.selectedOptions=[],this.shouldSkipFocus=!1,this.typeaheadBuffer="",this.typeaheadExpired=!0,this.typeaheadTimeout=-1}get firstSelectedOption(){var e;return null!==(e=this.selectedOptions[0])&&void 0!==e?e:null}get hasSelectableOptions(){return this.options.length>0&&!this.options.every((e=>e.disabled))}get length(){var e,t;return null!==(t=null===(e=this.options)||void 0===e?void 0:e.length)&&void 0!==t?t:0}get options(){return o.y$.track(this,"options"),this._options}set options(e){this._options=e,o.y$.notify(this,"options")}get typeAheadExpired(){return this.typeaheadExpired}set typeAheadExpired(e){this.typeaheadExpired=e}clickHandler(e){const t=e.target.closest("option,[role=option]");if(t&&!t.disabled)return this.selectedIndex=this.options.indexOf(t),!0}focusAndScrollOptionIntoView(e=this.firstSelectedOption){this.contains(document.activeElement)&&null!==e&&(e.focus(),requestAnimationFrame((()=>{e.scrollIntoView({block:"nearest"})})))}focusinHandler(e){this.shouldSkipFocus||e.target!==e.currentTarget||(this.setSelectedOptions(),this.focusAndScrollOptionIntoView()),this.shouldSkipFocus=!1}getTypeaheadMatches(){const e=this.typeaheadBuffer.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),t=new RegExp(`^${e}`,"gi");return this.options.filter((e=>e.text.trim().match(t)))}getSelectableIndex(e=this.selectedIndex,t){const i=e>t?-1:e<t?1:0,n=e+i;let o=null;switch(i){case-1:o=this.options.reduceRight(((e,t,i)=>!e&&!t.disabled&&i<n?t:e),o);break;case 1:o=this.options.reduce(((e,t,i)=>!e&&!t.disabled&&i>n?t:e),o)}return this.options.indexOf(o)}handleChange(e,t){if("selected"===t)u.slottedOptionFilter(e)&&(this.selectedIndex=this.options.indexOf(e)),this.setSelectedOptions()}handleTypeAhead(e){this.typeaheadTimeout&&window.clearTimeout(this.typeaheadTimeout),this.typeaheadTimeout=window.setTimeout((()=>this.typeaheadExpired=!0),u.TYPE_AHEAD_TIMEOUT_MS),e.length>1||(this.typeaheadBuffer=`${this.typeaheadExpired?"":this.typeaheadBuffer}${e}`)}keydownHandler(e){if(this.disabled)return!0;this.shouldSkipFocus=!1;const t=e.key;switch(t){case a.tU:e.shiftKey||(e.preventDefault(),this.selectFirstOption());break;case a.iF:e.shiftKey||(e.preventDefault(),this.selectNextOption());break;case a.SB:e.shiftKey||(e.preventDefault(),this.selectPreviousOption());break;case a.Kh:e.preventDefault(),this.selectLastOption();break;case a.oM:return this.focusAndScrollOptionIntoView(),!0;case a.kL:case a.CX:return!0;case a.BI:if(this.typeaheadExpired)return!0;default:return 1===t.length&&this.handleTypeAhead(`${t}`),!0}}mousedownHandler(e){return this.shouldSkipFocus=!this.contains(document.activeElement),!0}multipleChanged(e,t){this.ariaMultiSelectable=t?"true":null}selectedIndexChanged(e,t){var i;if(this.hasSelectableOptions){if((null===(i=this.options[this.selectedIndex])||void 0===i?void 0:i.disabled)&&"number"==typeof e){const i=this.getSelectableIndex(e,t),n=i>-1?i:e;return this.selectedIndex=n,void(t===n&&this.selectedIndexChanged(t,n))}this.setSelectedOptions()}else this.selectedIndex=-1}selectedOptionsChanged(e,t){var i;const n=t.filter(u.slottedOptionFilter);null===(i=this.options)||void 0===i||i.forEach((e=>{const t=o.y$.getNotifier(e);t.unsubscribe(this,"selected"),e.selected=n.includes(e),t.subscribe(this,"selected")}))}selectFirstOption(){var e,t;this.disabled||(this.selectedIndex=null!==(t=null===(e=this.options)||void 0===e?void 0:e.findIndex((e=>!e.disabled)))&&void 0!==t?t:-1)}selectLastOption(){this.disabled||(this.selectedIndex=function(e,t){let i=e.length;for(;i--;)if(t(e[i],i,e))return i;return-1}(this.options,(e=>!e.disabled)))}selectNextOption(){!this.disabled&&this.selectedIndex<this.options.length-1&&(this.selectedIndex+=1)}selectPreviousOption(){!this.disabled&&this.selectedIndex>0&&(this.selectedIndex=this.selectedIndex-1)}setDefaultSelectedOption(){var e,t;this.selectedIndex=null!==(t=null===(e=this.options)||void 0===e?void 0:e.findIndex((e=>e.defaultSelected)))&&void 0!==t?t:-1}setSelectedOptions(){var e,t,i;(null===(e=this.options)||void 0===e?void 0:e.length)&&(this.selectedOptions=[this.options[this.selectedIndex]],this.ariaActiveDescendant=null!==(i=null===(t=this.firstSelectedOption)||void 0===t?void 0:t.id)&&void 0!==i?i:"",this.focusAndScrollOptionIntoView())}slottedOptionsChanged(e,t){this.options=t.reduce(((e,t)=>((0,r.v2)(t)&&e.push(t),e)),[]);const i=`${this.options.length}`;this.options.forEach(((e,t)=>{e.id||(e.id=(0,l.EL)("option-")),e.ariaPosInSet=`${t+1}`,e.ariaSetSize=i})),this.$fastController.isConnected&&(this.setSelectedOptions(),this.setDefaultSelectedOption())}typeaheadBufferChanged(e,t){if(this.$fastController.isConnected){const e=this.getTypeaheadMatches();if(e.length){const t=this.options.indexOf(e[0]);t>-1&&(this.selectedIndex=t)}this.typeaheadExpired=!1}}}u.slottedOptionFilter=e=>(0,r.v2)(e)&&!e.hidden,u.TYPE_AHEAD_TIMEOUT_MS=1e3,(0,n.gn)([(0,s.Lj)({mode:"boolean"})],u.prototype,"disabled",void 0),(0,n.gn)([o.LO],u.prototype,"selectedIndex",void 0),(0,n.gn)([o.LO],u.prototype,"selectedOptions",void 0),(0,n.gn)([o.LO],u.prototype,"slottedOptions",void 0),(0,n.gn)([o.LO],u.prototype,"typeaheadBuffer",void 0);class h{}(0,n.gn)([o.LO],h.prototype,"ariaActiveDescendant",void 0),(0,n.gn)([o.LO],h.prototype,"ariaDisabled",void 0),(0,n.gn)([o.LO],h.prototype,"ariaExpanded",void 0),(0,n.gn)([o.LO],h.prototype,"ariaMultiSelectable",void 0),(0,g.e)(h,c.v),(0,g.e)(u,h)},51565:function(e,t,i){"use strict";i.d(t,{S:function(){return n}});const n={above:"above",below:"below"}},9530:function(e,t,i){"use strict";i.d(t,{U:function(){return r}});var n=i(39181),o=i(13988),s=i(58952),a=i(90960),l=i(65898),d=i(51208);const r=(e,t)=>n.d`
    <template
        class="${e=>[e.collapsible&&"collapsible",e.collapsible&&e.open&&"open",e.disabled&&"disabled",e.collapsible&&e.position].filter(Boolean).join(" ")}"
        aria-activedescendant="${e=>e.ariaActiveDescendant}"
        aria-controls="${e=>e.ariaControls}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-haspopup="${e=>e.collapsible?"listbox":null}"
        aria-multiselectable="${e=>e.ariaMultiSelectable}"
        ?open="${e=>e.open}"
        role="combobox"
        tabindex="${e=>e.disabled?null:"0"}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        @focusin="${(e,t)=>e.focusinHandler(t.event)}"
        @focusout="${(e,t)=>e.focusoutHandler(t.event)}"
        @keydown="${(e,t)=>e.keydownHandler(t.event)}"
        @mousedown="${(e,t)=>e.mousedownHandler(t.event)}"
    >
        ${(0,o.g)((e=>e.collapsible),n.d`
                <div
                    class="control"
                    part="control"
                    ?disabled="${e=>e.disabled}"
                    ${(0,s.i)("control")}
                >
                    ${(0,d.m9)(e,t)}
                    <slot name="button-container">
                        <div class="selected-value" part="selected-value">
                            <slot name="selected-value">${e=>e.displayValue}</slot>
                        </div>
                        <div aria-hidden="true" class="indicator" part="indicator">
                            <slot name="indicator">
                                ${t.indicator||""}
                            </slot>
                        </div>
                    </slot>
                    ${(0,d.LC)(e,t)}
                </div>
            `)}
        <div
            class="listbox"
            id="${e=>e.listboxId}"
            part="listbox"
            role="listbox"
            ?disabled="${e=>e.disabled}"
            ?hidden="${e=>!!e.collapsible&&!e.open}"
            ${(0,s.i)("listbox")}
        >
            <slot
                ${(0,a.Q)({filter:l.R.slottedOptionFilter,flatten:!0,property:"slottedOptions"})}
            ></slot>
        </div>
    </template>
`},78945:function(e,t,i){"use strict";function n(e,t,i){return i<e?t:i>t?e:i}function o(e,t,i){return Math.min(Math.max(i,e),t)}function s(e,t,i=0){return[t,i]=[t,i].sort(((e,t)=>e-t)),t<=e&&e<i}i.d(t,{Z2:function(){return s},b9:function(){return o},wt:function(){return n}})},11673:function(e,t,i){"use strict";i.d(t,{EL:function(){return o}});let n=0;function o(e=""){return`${e}${n++}`}}}]);A
Eo