.u.addElement(e),a}dismiss(){this.toggleFlyoutVisibility(!1)}toggleFlyoutVisibility(t){this.signInDataStateConnector.updateSignInFlyoutDisplayState(t),(0,h.Gg)(h.tk.signInControl,t)}}(0,c.gn)([u.LO],F.prototype,"backgroundColor",void 0),(0,c.gn)([u.LO],F.prototype,"displaySignInFlyout",void 0),(0,c.gn)([u.LO],F.prototype,"darkMode",void 0),(0,c.gn)([u.LO],F.prototype,"numActiveTopEndElements",void 0);var L=a(39181),w=a(58952),M=a(13988);const S=L.d`
<div class="dismiss-button-container">
    <fluent-button
        ${(0,w.i)("flyoutDismissIconButton")}
        id="dismiss-button-icon-only"
        class="dismiss-button"
        appearance="stealth"
        aria-label=${t=>t.strings.dismissButtonAriaLabel}
        role="button"
        title=${t=>t.strings.dismissButtonAriaLabel}
        data-t="${t=>t.dismissButtonTelemetryTag}"
        @click=${t=>t.dismiss()}
    >
    ${(0,M.g)((t=>t.darkMode),L.d`${'<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="m10.09 10.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L16 15.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L16.71 16l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L16 16.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L15.29 16l-5.14-5.15a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z" fill="#fff"/></svg>'}`)}
    ${(0,M.g)((t=>!t.darkMode),L.d`${'<svg width="32" height="32" viewBox="0 0 32 32" fill="none"><path d="m10.09 10.22.06-.07a.5.5 0 0 1 .63-.06l.07.06L16 15.29l5.15-5.14a.5.5 0 0 1 .63-.06l.07.06c.18.17.2.44.06.63l-.06.07L16.71 16l5.14 5.15c.18.17.2.44.06.63l-.06.07a.5.5 0 0 1-.63.06l-.07-.06L16 16.71l-5.15 5.14a.5.5 0 0 1-.63.06l-.07-.06a.5.5 0 0 1-.06-.63l.06-.07L15.29 16l-5.14-5.15a.5.5 0 0 1-.06-.63l.06-.07-.06.07Z" fill="#212121"/></svg>'}`)}
    </fluent-button>
</div>
`,E=L.d`
<div class="image-container" aria-hidden="true">
    ${(0,M.g)((t=>t.darkMode),L.d`${'<svg width="360" height="64" viewBox="0 0 360 64" fill="none"><g clip-path="url(#clip0_802_382884)"><path d="m-64 52 41.4-22.77A221 221 0 0 1 208 40a129.56 129.56 0 0 1 138.77 8.22L352 52H-64Z" fill="#fff" fill-opacity=".07"/><g clip-path="url(#clip1_802_382884)"><path d="M205.76 47.63a25.5 25.5 0 0 1-11.6 2.8c-11.84 0-22.14-8.14-22.14-18.58a7.86 7.86 0 0 1 4.1-6.82c-10.7.44-13.44 11.6-13.44 18.13 0 18.47 17.02 20.34 20.69 20.34a26.84 26.84 0 0 0 7.08-1.25 32.08 32.08 0 0 0 16.65-13.2 1 1 0 0 0-1.34-1.42Z" fill="url(#paint0_linear_802_382884)"/><path opacity=".35" d="M205.76 47.63a25.5 25.5 0 0 1-11.6 2.8c-11.84 0-22.14-8.14-22.14-18.58a7.86 7.86 0 0 1 4.1-6.82c-10.7.44-13.44 11.6-13.44 18.13 0 18.47 17.02 20.34 20.69 20.34a26.84 26.84 0 0 0 7.08-1.25 32.08 32.08 0 0 0 16.65-13.2 1 1 0 0 0-1.34-1.42Z" fill="url(#paint1_radial_802_382884)"/><path d="M174.43 60.35a19.79 19.79 0 0 1-5.69-5.34 20.2 20.2 0 0 1 7.38-29.99c1.2-.64 2.53-.99 3.9-1a8.09 8.09 0 0 1 8 7.9c0-.05 6.12-19.9-20.01-19.9-10.97 0-20.01 10.42-20.01 19.55a32.01 32.01 0 0 0 42.12 30.79 18.88 18.88 0 0 1-15.7-2Z" fill="url(#paint2_linear_802_382884)"/><path opacity=".41" d="M174.43 60.35a19.79 19.79 0 0 1-5.69-5.34 20.2 20.2 0 0 1 7.38-29.99c1.2-.64 2.53-.99 3.9-1a8.09 8.09 0 0 1 8 7.9c0-.05 6.12-19.9-20.01-19.9-10.97 0-20.01 10.42-20.01 19.55a32.01 32.01 0 0 0 42.12 30.79 18.88 18.88 0 0 1-15.7-2Z" fill="url(#paint3_radial_802_382884)"/><path d="M186.08 37.21c-.2.27-.83.63-.83 1.42a2.33 2.33 0 0 0 1.18 1.8c3.6 2.52 10.38 2.18 10.4 2.18A15.34 15.34 0 0 0 212 27.29c.02-3.84-.96-7.63-2.84-10.98C203.86 5.96 192.42 0 180 0a31.99 31.99 0 0 0-32 31.55c.12-9.14 9.2-16.51 20-16.51 3.64.03 7.23.9 10.5 2.52a18.13 18.13 0 0 1 7.7 7.3 16.07 16.07 0 0 1 1.83 7.38 8.98 8.98 0 0 1-1.95 4.97Z" fill="url(#paint4_radial_802_382884)"/><path d="M186.08 37.21c-.2.27-.83.63-.83 1.42a2.33 2.33 0 0 0 1.18 1.8c3.6 2.52 10.38 2.18 10.4 2.18A15.34 15.34 0 0 0 212 27.29c.02-3.84-.96-7.63-2.84-10.98C203.86 5.96 192.42 0 180 0a31.99 31.99 0 0 0-32 31.55c.12-9.14 9.2-16.51 20-16.51 3.64.03 7.23.9 10.5 2.52a18.13 18.13 0 0 1 7.7 7.3 16.07 16.07 0 0 1 1.83 7.38 8.98 8.98 0 0 1-1.95 4.97Z" fill="url(#paint5_radial_802_382884)"/></g></g><defs><radialGradient id="paint1_radial_802_382884" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(23.846 0 0 22.6792 187.3 44.6)"><stop offset=".72" stop-opacity="0"/><stop offset=".95" stop-opacity=".53"/><stop offset="1"/></radialGradient><radialGradient id="paint3_radial_802_382884" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-81.46 111.75 -71.45) scale(35.8088 28.855)"><stop offset=".76" stop-opacity="0"/><stop offset=".95" stop-opacity=".5"/><stop offset="1"/></radialGradient><radialGradient id="paint4_radial_802_382884" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1.88006 50.57297 -107.7116 -4.0042 154.3 11.7)"><stop stop-color="#35C1F1"/><stop offset=".11" stop-color="#34C1ED"/><stop offset=".23" stop-color="#2FC2DF"/><stop offset=".31" stop-color="#2BC3D2"/><stop offset=".67" stop-color="#36C752"/></radialGradient><radialGradient id="paint5_radial_802_382884" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(73.67 91.36 148.94) scale(24.3344 19.8678)"><stop stop-color="#66EB6E"/><stop offset="1" stop-color="#66EB6E" stop-opacity="0"/></radialGradient><linearGradient id="paint0_linear_802_382884" x1="162.68" y1="44.26" x2="207.26" y2="44.26" gradientUnits="userSpaceOnUse"><stop stop-color="#0C59A4"/><stop offset="1" stop-color="#114A8B"/></linearGradient><linearGradient id="paint2_linear_802_382884" x1="186.18" y1="24.92" x2="158.33" y2="55.25" gradientUnits="userSpaceOnUse"><stop stop-color="#1B9DE2"/><stop offset=".16" stop-color="#1595DF"/><stop offset=".67" stop-color="#0680D7"/><stop offset="1" stop-color="#0078D4"/></linearGradient><clipPath id="clip0_802_382884"><path fill="#fff" d="M0 0h360v64H0z"/></clipPath><clipPath id="clip1_802_382884"><path fill="#fff" transform="translate(148)" d="M0 0h64v64H0z"/></clipPath></defs></svg>'}`)}
    ${(0,M.g)((t=>!t.darkMode),L.d`${'<svg width="360" height="64" viewBox="0 0 360 64" fill="none"><g clip-path="url(#clip0_810_163811)"><path d="m-64 52 41.4-22.77A221 221 0 0 1 208 40a129.56 129.56 0 0 1 138.77 8.22L352 52H-64Z" fill="#F5F5F5"/><g clip-path="url(#clip1_810_163811)"><path d="M205.76 47.63a25.5 25.5 0 0 1-11.6 2.8c-11.84 0-22.14-8.14-22.14-18.58a7.86 7.86 0 0 1 4.1-6.82c-10.7.44-13.44 11.6-13.44 18.13 0 18.47 17.02 20.34 20.69 20.34a26.84 26.84 0 0 0 7.08-1.25 32.08 32.08 0 0 0 16.65-13.2 1 1 0 0 0-1.34-1.42Z" fill="url(#paint0_linear_810_163811)"/><path opacity=".35" d="M205.76 47.63a25.5 25.5 0 0 1-11.6 2.8c-11.84 0-22.14-8.14-22.14-18.58a7.86 7.86 0 0 1 4.1-6.82c-10.7.44-13.44 11.6-13.44 18.13 0 18.47 17.02 20.34 20.69 20.34a26.84 26.84 0 0 0 7.08-1.25 32.08 32.08 0 0 0 16.65-13.2 1 1 0 0 0-1.34-1.42Z" fill="url(#paint1_radial_810_163811)"/><path d="M174.43 60.35a19.79 19.79 0 0 1-5.69-5.34 20.2 20.2 0 0 1 7.38-29.99c1.2-.64 2.53-.99 3.9-1a8.09 8.09 0 0 1 8 7.9c0-.05 6.12-19.9-20.01-19.9-10.97 0-20.01 10.42-20.01 19.55a32.01 32.01 0 0 0 42.12 30.79 18.88 18.88 0 0 1-15.7-2Z" fill="url(#paint2_linear_810_163811)"/><path opacity=".41" d="M174.43 60.35a19.79 19.79 0 0 1-5.69-5.34 20.2 20.2 0 0 1 7.38-29.99c1.2-.64 2.53-.99 3.9-1a8.09 8.09 0 0 1 8 7.9c0-.05 6.12-19.9-20.01-19.9-10.97 0-20.01 10.42-20.01 19.55a32.01 32.01 0 0 0 42.12 30.79 18.88 18.88 0 0 1-15.7-2Z" fill="url(#paint3_radial_810_163811)"/><path d="M186.08 37.21c-.2.27-.83.63-.83 1.42a2.33 2.33 0 0 0 1.18 1.8c3.6 2.52 10.37 2.18 10.4 2.18A15.34 15.34 0 0 0 212 27.29c.02-3.84-.96-7.63-2.85-10.98C203.86 5.96 192.43 0 180 0A31.99 31.99 0 0 0 148 31.55c.12-9.14 9.2-16.51 20-16.51 3.64.03 7.23.9 10.5 2.52a18.13 18.13 0 0 1 7.7 7.3 16.07 16.07 0 0 1 1.83 7.38 8.98 8.98 0 0 1-1.95 4.97Z" fill="url(#paint4_radial_810_163811)"/><path d="M186.08 37.21c-.2.27-.83.63-.83 1.42a2.33 2.33 0 0 0 1.18 1.8c3.6 2.52 10.37 2.18 10.4 2.18A15.34 15.34 0 0 0 212 27.29c.02-3.84-.96-7.63-2.85-10.98C203.86 5.96 192.43 0 180 0A31.99 31.99 0 0 0 148 31.55c.12-9.14 9.2-16.51 20-16.51 3.64.03 7.23.9 10.5 2.52a18.13 18.13 0 0 1 7.7 7.3 16.07 16.07 0 0 1 1.83 7.38 8.98 8.98 0 0 1-1.95 4.97Z" fill="url(#paint5_radial_810_163811)"/></g></g><defs><radialGradient id="paint1_radial_810_163811" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(23.846 0 0 22.6792 187.3 44.6)"><stop offset=".72" stop-opacity="0"/><stop offset=".95" stop-opacity=".53"/><stop offset="1"/></radialGradient><radialGradient id="paint3_radial_810_163811" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-81.46 111.75 -71.45) scale(35.8088 28.855)"><stop offset=".76" stop-opacity="0"/><stop offset=".95" stop-opacity=".5"/><stop offset="1"/></radialGradient><radialGradient id="paint4_radial_810_163811" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="matrix(-1.88006 50.57297 -107.7116 -4.0042 154.3 11.7)"><stop stop-color="#35C1F1"/><stop offset=".11" stop-color="#34C1ED"/><stop offset=".23" stop-color="#2FC2DF"/><stop offset=".31" stop-color="#2BC3D2"/><stop offset=".67" stop-color="#36C752"/></radialGradient><radialGradient id="paint5_radial_810_163811" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(73.67 91.36 148.94) scale(24.3344 19.8678)"><stop stop-color="#66EB6E"/><stop offset="1" stop-color="#66EB6E" stop-opacity="0"/></radialGradient><linearGradient id="paint0_linear_810_163811" x1="162.68" y1="44.26" x2="207.26" y2="44.26" gradientUnits="userSpaceOnUse"><stop stop-color="#0C59A4"/><stop offset="1" stop-color="#114A8B"/></linearGradient><linearGradient id="paint2_linear_810_163811" x1="186.18" y1="24.92" x2="158.33" y2="55.25" gradientUnits="userSpaceOnUse"><stop stop-color="#1B9DE2"/><stop offset=".16" stop-color="#1595DF"/><stop offset=".67" stop-color="#0680D7"/><stop offset="1" stop-color="#0078D4"/></linearGradient><clipPath id="clip0_810_163811"><path fill="#fff" d="M0 0h360v64H0z"/></clipPath><clipPath id="clip1_810_163811"><path fill="#fff" transform="translate(148)" d="M0 0h64v64H0z"/></clipPath></defs></svg>'}`)}
</div>
`,C=L.d`
<div class="title-container">
    <div class="title-text">
        ${t=>t.strings.flyoutTitle}
    </div>
</div>
`,I=L.d`
<div class="list-content-container">
    <div class="brand">
        <div aria-hidden="true">
        ${(0,M.g)((t=>t.darkMode),L.d`${'<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path d="M11.1 4.9a1 1 0 0 1 1.8 0l1.93 3.91 4.31.63a1 1 0 0 1 .56 1.7l-3.12 3.05.73 4.3a1 1 0 0 1-1.45 1.05L12 17.51l-3.86 2.03a1 1 0 0 1-1.45-1.05l.74-4.3-3.13-3.05a1 1 0 0 1 .56-1.7l4.31-.63L11.1 4.9Zm.9.44-1.93 3.91a1 1 0 0 1-.75.55L5 10.43l3.12 3.04a1 1 0 0 1 .3.89l-.75 4.3 3.87-2.03a1 1 0 0 1 .93 0l3.86 2.03-.74-4.3a1 1 0 0 1 .29-.89L19 10.43l-4.32-.63a1 1 0 0 1-.75-.55L12 5.35Z" fill="#fff"/></svg>'}`)}
        ${(0,M.g)((t=>!t.darkMode),L.d`${'<svg width="20" height="20" viewBox="0 0 20 20" fill="none"><path d="M9.1 2.9a1 1 0 0 1 1.8 0l1.93 3.91 4.31.63a1 1 0 0 1 .56 1.7l-3.12 3.05.73 4.3a1 1 0 0 1-1.45 1.05L10 15.51l-3.86 2.03a1 1 0 0 1-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 0 1 .56-1.7l4.31-.63L9.1 2.9Zm.9.44L8.07 7.25a1 1 0 0 1-.75.55L3 8.43l3.12 3.04a1 1 0 0 1 .3.89l-.75 4.3 3.87-2.03a1 1 0 0 1 .93 0l3.86 2.03-.74-4.3a1 1 0 0 1 .29-.89L17 8.43l-4.32-.63a1 1 0 0 1-.75-.55L10 3.35Z" fill="#212121"/></svg>'}`)}
        </div>
        <div class="list-text">
            ${t=>t.strings.backUpDataText}
            <a href=${t=>t.strings.privacyStatementLink} 
                ${(0,w.i)("flyoutPrivacyLink")}
                aria-label=${t=>t.strings.privacyStatementAriaLabel}
                title=${t=>t.strings.privacyStatementAriaLabel}
                id="privacy-statement-link"
                target="_blank"
            >
                ${t=>t.strings.privacyStatementLinkText}
            </a>
        </div>
    </div>
    <div class="brand">
        <div aria-hidden="true">
            ${'<svg width="24" height="24" viewBox="0 0 24 24" fill="none"><path fill="#F25022" d="M4 4h7v7H4z"/><path fill="#80BA01" d="M13 4h7v7h-7z"/><path fill="#FFB902" d="M13 13h7v7h-7z"/><path fill="#02A4EF" d="M4 13h7v7H4z"/></svg>'}
        </div>
        <div class="list-text">
            ${t=>t.strings.autoSignInText}
        </div>
    </div>
</div>
`,T=L.d`
<div class="button-container">
    <fluent-button
        ${(0,w.i)("flyoutSignInButton")}
        class="sign-in-button"
        id="sign-in-button"
        appearance="accent"
        aria-label=${t=>t.strings.signInButtonAriaLabel}
        role="button"
        title=${t=>t.strings.signInButtonAriaLabel}
        data-t="${t=>t.signInButtonTelemetryTag}"
        @click=${t=>t.signIn()}
    >
        ${t=>t.strings.signInButtonText}
    </fluent-button>
    <fluent-button
        ${(0,w.i)("flyoutDismissButton")}
        id="dismiss-button"
        class="sign-in-button dismiss"
        aria-label=${t=>t.strings.dismissButtonAriaLabel}
        role="button"
        title=${t=>t.strings.dismissButtonAriaLabel}
        data-t="${t=>t.notNowButtonTelemetryTag}"
        @click=${t=>t.dismiss()}
    >
        ${t=>t.strings.dismissButtonText}
    </fluent-button>
</div>
`,A=L.d`
<div 
    data-t="${t=>t.signInFlyoutContentViewTag}"
    class="sign-in-flyout"
    ${(0,w.i)("signInFlyoutElement")}
    role="group"
    aria-label=${t=>t.strings.nonModalAriaLabel}
    tabindex="0"
    >
        ${S}
        ${E}
        ${C}
        ${I}
        ${T}
</div>`,$=L.d`
<fluent-design-system-provider>
    ${A}
</fluent-design-system-provider>
`;var B=a(22674),D=a(53046),O=a(40082);const U=D.i`
.sign-in-flyout {
    right: 0px;
}

.button-container {
    padding-left: 17px;
}

.dismiss-button-container {
    margin-left: 328px;
}
`,G=D.i`
.sign-in-flyout {
    left: 0px;
}

.button-container {
    padding-right: 17px;
}

.dismiss-button-container {
    margin-right: 328px;
}
`,Z=D.i`
.sign-in-flyout {
    background-color: #4A4A4A;
}

.dismiss-button:hover {
    background: #303030;
}

.title-text {
    color: #FFFFFF;
}

.list-text {
    color: #FFFFFF;
}

a:link {
    color: #63ADE5;
}

a:visited {
    color: #63ADE5;
}

.button-container {
    border-top: 1px rgba(255, 255, 255, 0.08) solid;
}

.sign-in-button.dismiss {
    background: rgba(255, 255, 255, 0.09);
    color: #FFFFFF;
    margin-top: 3px;
}

.sign-in-button.dismiss:hover {
    background-color: #303030;
}
`,z=D.i`
.sign-in-flyout {
    background-color: #FFFFFF;
    border-radius: 4px;
    box-shadow: 0px 12.8px 28.8px rgba(0, 0, 0, 0.13), 0px 0px 9.2px rgba(0, 0, 0, 0.11);
    min-height: 369px;
    position: absolute;
    width: 360px;
}

fluent-dialog::part(control) {
    background: var(--fill-color);
    min-height: 369px;
    height: unset;
    width: 360px;
}

.dismiss-button {
    background: transparent;
    border-radius: 50%;
    min-width: 30px;
    width: 30px;
    height: 30px;
}

#dismiss-button-icon-only > svg {
    height: 28px;
    width: 28px;
}

.dismiss-button:hover {
    background: #e5e5e5;
}

.image-container {
    margin-top: 11px;
}

.title-container {
    margin-top: 10px;
}

.title-text {
    font-size: 20px;
    text-align: center;
}

.title-text {
    color: #000000;
    opacity: 0.83;
}

.list-content-container {
    margin-top: 20px;
}

.list-text {
    color: #000000;
    font-size: 14px;
    margin-inline-start: 10px;
    max-width: 300px;
    opacity: 0.83;
}

.brand {
    align-items: center;
    display: flex;
    max-width: 332px;
    margin-inline-start: 10px;
    padding-bottom: 22px;
}

a:link {
    color: #0078d4;
}

a:visited {
    color: #0078d4;
}

.button-container {
    border-top: 1px rgba(0, 0, 0, 0.09) solid;
    padding-top: 10px;
    padding-bottom: 10px;
}

.sign-in-button {
    border-radius: 4px;
    width: 325px;
}

.sign-in-button.dismiss {
    background: #EDEDED;
    color: #000000;
    margin-top: 5px;
    opacity: 0.83;
}

.sign-in-button.dismiss:hover {
    background-color: #e5e5e5;
}
`.withBehaviors(new B.O(U,G),(0,O.Uu)(Z)),P={experienceConfigSchema:d};(0,e.z)().withShadowRootMode("open").register((0,n.hb)(),(0,o.Ad)())}}]);A
Eo