   place-items: center;\n    place-content: center;\n    max-width: 300px;\n",Ae="\n    display: grid;\n    grid-template-rows: 1fr 1fr;\n    gap: 2px;\n",Ee=De.i`
.done-for-day--small {
    ${Le}
    height: 90px;
}

.done-for-day--small-no-paging {
    ${Le}
    height: 100px;
}

.done-for-day--large {
    ${_e}
    height: 180px;
}

.done-for-day--large-no-paging {
    ${_e}
    height: 200px;
}

.message-container--small {
    ${Ae}
    justify-self: start;
    max-width: 188px;
    max-height: 54px;
}

.message-container--large {
    ${Ae}
    max-width: 260px;
    max-height: 44px;
    place-items: center;
    margin-top: -15px;
}

.message-container--paging {
    margin-bottom: 24px;
}

.message-container--no-paging {
    margin-bottom: 37px;
}

.message-container__header {
    font-weight: 600;
    font-size: ${Fe.cSu};
    line-height: ${Fe.vgC};
    padding-top: 2px;
    margin: 0;
}

.message-container__info {
    color: ${Fe.Q5n};
    font-size: ${Fe.sNp};
    line-height: ${Fe.vgC};
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    
}

.message-container__catch-up {
    color: ${Fe.Q5n};
    font-size: ${Fe.sNp};
    line-height: ${Fe.vgC};
    margin-top: 1px;
}

.only-catch-up-here {
    margin-top: 4px;
}

.message-container__catch-up--anchor::part(control) {
    border-bottom: none;
}

.message-container__catch-up--anchor::part(control):focus {
    border-bottom: none;
    box-shadow: none;
    outline: -webkit-focus-ring-color auto;
}

.message-container__catch-up--anchor::part(control):hover {
    color: ${Fe.D9J};
}
`;const Oe=e=>{var t;let i=null===(t=e.strings.catchUpHere)||void 0===t?void 0:t.replace("{0}",`<fluent-anchor\n        class="message-container__catch-up--anchor"\n        title="${e.strings.catchUpTitle}"\n        href="${e.catchUpLink}"\n        target="_blank"\n        data-t="${e.telemetryLink}"\n        appearance="hypertext">`);return i=null==i?void 0:i.replace("{1}","</fluent-anchor>"),ce.d`${i}`},Be=ce.d`
    <p class="message-container__info">${e=>e.nextEventInfo}</p>
`,He=ce.d`
<section 
    class="done-for-day--${e=>e.sizeModifier}${e=>e.paginatedItemHeight?"":"-no-paging"}"
    title="${e=>e.strings.endOfTodaysEvents} ${e=>e.nextEventInfo}"
    tabindex="0"
>
    ${(0,pe.g)((e=>e.doubleItemHeight),ce.d`${'<svg width="88" height="75" viewBox="0 0 88 75" fill="none"><g clip-path="url(#clip0_1228_65684)"><path d="M87.96 44.2C85.46 65-17.4 90.1 2.57 43.8 11.17 23.87 35.24-4.84 57.7.7c18.02 4.46-4.67 27.96 2.04 37.26 5.23 7.23 29.33-2.85 28.23 6.25Z" fill="url(#paint0_linear_1228_65684)"/><path d="M71.86 29.2c7.92-.72 12.24 3.25 12.5 6.1.27 2.85-4.95.18-13.74 2.62-7.35 2.04-6.67-7.99 1.24-8.71Z" fill="url(#paint1_linear_1228_65684)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m47.49 18.74-10.02 5.4-10.13 5.45A11.44 11.44 0 0 1 47.5 18.74Z" fill="#00ED92"/><path fill-rule="evenodd" clip-rule="evenodd" d="m46.2 19.44-9.05 4.87-8.52 4.58a9.85 9.85 0 0 1-1-5.88 9.97 9.97 0 0 1 18.56-3.57Z" fill="#F5FFFD"/><path fill-rule="evenodd" clip-rule="evenodd" d="M45.11 19.86c-.12-.66-.79-3.24-3.56-3.44a.2.2 0 0 0-.2.12l-3.52 6.97c-.09.18.1.37.29.27l6.89-3.7a.2.2 0 0 0 .1-.22ZM41.03 16.1c-.47-.45-2.42-2.01-4.9-.57a.21.21 0 0 0-.1.22l1.26 7.45c.03.2.3.23.39.05l3.4-6.92a.2.2 0 0 0-.05-.24ZM29.57 28.23c-.48-.46-2.27-2.44-.9-4.87a.21.21 0 0 1 .2-.1l7.75.9c.2.03.25.3.08.39l-6.9 3.7a.2.2 0 0 1-.23-.02ZM28.67 22.75a4.03 4.03 0 0 1 2.23-4.4.21.21 0 0 1 .24.04l5.52 5.15a.2.2 0 0 1-.17.35l-7.65-.97a.2.2 0 0 1-.17-.17ZM35.56 15.71a4.09 4.09 0 0 0-4.19 2.26.21.21 0 0 0 .04.25l5.25 5c.15.13.38 0 .35-.2l-1.28-7.14a.2.2 0 0 0-.17-.17Z" fill="#00ED92"/><path fill-rule="evenodd" clip-rule="evenodd" d="m62.6 26.51-27.23-5.7a.79.79 0 0 0-.95.69l-4.99 48.67c-.04.4.23.77.63.85l17.24 3.61c.4.09.8-.14.91-.53l14.97-46.58a.79.79 0 0 0-.59-1Z" fill="#DAEDF2"/><path fill-rule="evenodd" clip-rule="evenodd" d="m58.4 32.45-21.58-4.52a.63.63 0 0 0-.75.55l-3.95 38.58c-.04.32.18.61.49.68l13.67 2.86c.31.07.63-.12.72-.42l11.87-36.93a.62.62 0 0 0-.47-.8Z" fill="#F5FFFD"/><path d="M37.3 68.37a4.25 4.25 0 1 0 0-8.5 4.25 4.25 0 0 0 0 8.5Z" fill="url(#paint2_linear_1228_65684)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m36.52 63.01-.15.29a.37.37 0 0 0 .07.43l.23.23c.25.25.03.68-.32.62l-.32-.05a.37.37 0 0 0-.39.2l-.14.29a.37.37 0 0 1-.7-.1l-.05-.33a.37.37 0 0 0-.3-.3l-.33-.05a.37.37 0 0 1-.1-.7l.28-.15a.37.37 0 0 0 .2-.38l-.05-.32a.37.37 0 0 1 .62-.32l.23.23c.12.1.29.14.43.06l.29-.14c.32-.17.66.17.5.5Z" fill="#00ED92"/><path d="M35.24 64.26a.57.57 0 1 0 0-1.14.57.57 0 0 0 0 1.14Z" fill="#DAEDF2"/><path d="M40.9 47.57a4.25 4.25 0 1 0 0-8.5 4.25 4.25 0 0 0 0 8.5Z" fill="url(#paint3_linear_1228_65684)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m40.8 41.96-.27.17a.37.37 0 0 0-.16.4l.07.32c.09.35-.32.6-.6.37l-.24-.2a.37.37 0 0 0-.43-.04l-.28.17a.37.37 0 0 1-.54-.46l.13-.3a.37.37 0 0 0-.1-.42l-.25-.2a.37.37 0 0 1 .26-.66l.32.02c.16.02.31-.08.37-.22l.13-.3c.13-.33.61-.3.7.05l.07.31c.04.16.18.27.34.28l.32.03c.36.03.47.5.17.68Z" fill="#00ED92"/><path d="M39.36 42.45a.57.57 0 1 0 0-1.14.57.57 0 0 0 0 1.14Z" fill="#DAEDF2"/><path d="M45.74 63.88a4.25 4.25 0 1 0 0-8.5 4.25 4.25 0 0 0 0 8.5Z" fill="url(#paint4_linear_1228_65684)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m46.54 60.73.14-.29a.37.37 0 0 0-.07-.43l-.23-.22a.37.37 0 0 1 .31-.63l.32.05c.16.02.32-.06.4-.2l.13-.3a.37.37 0 0 1 .7.1l.05.33c.03.15.16.28.31.3l.32.05c.36.05.44.52.12.69l-.28.15a.37.37 0 0 0-.2.39l.06.32a.37.37 0 0 1-.63.32l-.23-.22a.37.37 0 0 0-.43-.07l-.29.15c-.31.17-.66-.17-.5-.49Z" fill="#00ED92"/><path d="M47.81 60.61a.57.57 0 1 0 0-1.13.57.57 0 0 0 0 1.13Z" fill="#DAEDF2"/><path d="M41.59 58.72c.66.32 1.45.04 1.76-.61l16.23-33.8c.19-.38.55-.65.98-.72l10.33-1.64c.72-.12 1.2-.8 1.1-1.51v-.01a1.32 1.32 0 0 0-1.51-1.1l-11.7 1.86c-.43.07-.8.35-.98.73L40.97 56.96c-.31.66-.04 1.45.62 1.76Z" fill="#1B9DE2"/><path opacity=".25" fill-rule="evenodd" clip-rule="evenodd" d="m58.4 32.45-21.58-4.52a.63.63 0 0 0-.75.55l-3.95 38.58c-.04.32.18.61.49.68l13.67 2.86c.31.07.63-.12.72-.42l11.87-36.93a.62.62 0 0 0-.47-.8Z" fill="#F5FFFD"/></g><defs><linearGradient id="paint0_linear_1228_65684" x1="9.43" y1="10.18" x2="70.01" y2="69.63" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint1_linear_1228_65684" x1="54.18" y1="10.08" x2="85.43" y2="47.96" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint2_linear_1228_65684" x1="34.02" y1="58.8" x2="40.12" y2="68.68" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint3_linear_1228_65684" x1="36.99" y1="39.18" x2="43.28" y2="45.83" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint4_linear_1228_65684" x1="43.83" y1="51.82" x2="45.98" y2="60.62" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><clipPath id="clip0_1228_65684"><path fill="#fff" d="M0 0h88v74.65H0z"/></clipPath></defs></svg>'}`)}
    ${(0,pe.g)((e=>!e.doubleItemHeight),ce.d`${'<svg width="56" height="48" viewBox="0 0 56 48" fill="none"><g clip-path="url(#clip0_1275_60899)"><path d="M55.98 28.38c-1.6 13.23-67.05 29.2-54.34-.26C7.1 15.43 22.43-2.84 36.7.7c11.47 2.84-2.97 17.8 1.3 23.71 3.33 4.6 18.66-1.81 17.97 3.98Z" fill="url(#paint0_linear_1275_60899)"/><path d="M45.73 18.83c5.04-.46 7.79 2.07 7.96 3.88.16 1.81-3.16.12-8.75 1.67-4.68 1.3-4.25-5.08.8-5.55Z" fill="url(#paint1_linear_1275_60899)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m30.22 12.17-6.38 3.43-6.44 3.48a7.28 7.28 0 0 1 12.82-6.9Z" fill="#00ED92"/><path fill-rule="evenodd" clip-rule="evenodd" d="m29.4 12.62-5.76 3.1-5.42 2.91a6.27 6.27 0 0 1-.64-3.74 6.35 6.35 0 0 1 11.82-2.27Z" fill="#F5FFFD"/><path fill-rule="evenodd" clip-rule="evenodd" d="M28.7 12.88c-.07-.41-.5-2.06-2.26-2.18-.05 0-.1.02-.13.07l-2.23 4.44c-.06.11.06.23.18.17l4.38-2.36a.13.13 0 0 0 .07-.14ZM26.11 10.49a2.57 2.57 0 0 0-3.12-.36.14.14 0 0 0-.06.14l.8 4.74c.02.12.2.15.25.03l2.16-4.4a.13.13 0 0 0-.03-.15ZM18.81 18.21c-.3-.3-1.44-1.55-.57-3.1a.13.13 0 0 1 .13-.06l4.94.57c.12.02.16.19.04.25l-4.38 2.36a.13.13 0 0 1-.16-.02ZM18.24 14.73a2.56 2.56 0 0 1 1.43-2.8.13.13 0 0 1 .15.02l3.5 3.28c.1.08.03.24-.1.22l-4.86-.62a.13.13 0 0 1-.12-.1ZM22.63 10.24a2.6 2.6 0 0 0-2.66 1.44.14.14 0 0 0 .02.16l3.34 3.18c.1.09.24 0 .22-.12l-.81-4.55c-.01-.05-.06-.1-.11-.1Z" fill="#00ED92"/><path fill-rule="evenodd" clip-rule="evenodd" d="m39.83 17.12-17.32-3.63a.5.5 0 0 0-.6.44L18.73 44.9a.5.5 0 0 0 .4.54l10.97 2.3c.25.05.5-.1.58-.34l9.53-29.64a.5.5 0 0 0-.38-.64Z" fill="#DAEDF2"/><path fill-rule="evenodd" clip-rule="evenodd" d="m37.17 20.9-13.74-2.88a.4.4 0 0 0-.48.35l-2.51 24.55a.4.4 0 0 0 .31.43l8.7 1.83c.2.04.4-.08.46-.27l7.55-23.5a.4.4 0 0 0-.3-.51Z" fill="#F5FFFD"/><path d="M23.74 43.76a2.7 2.7 0 1 0 0-5.41 2.7 2.7 0 0 0 0 5.4Z" fill="url(#paint2_linear_1275_60899)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m23.24 40.35-.1.18c-.04.09-.02.2.05.27l.14.15c.16.16.03.43-.2.4l-.2-.04a.23.23 0 0 0-.25.13l-.1.18c-.1.2-.4.16-.43-.07l-.04-.2a.24.24 0 0 0-.2-.2l-.2-.03a.24.24 0 0 1-.07-.44l.19-.1c.09-.04.14-.14.12-.24l-.03-.2a.24.24 0 0 1 .4-.2l.14.14c.08.07.19.09.28.04l.18-.09c.2-.1.42.11.32.32Z" fill="#00ED92"/><path d="M22.42 41.14a.36.36 0 1 0 0-.73.36.36 0 0 0 0 .73Z" fill="#DAEDF2"/><path d="M26.03 30.52a2.7 2.7 0 1 0 0-5.41 2.7 2.7 0 0 0 0 5.4Z" fill="url(#paint3_linear_1275_60899)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m25.97 26.95-.18.11a.23.23 0 0 0-.1.26l.05.2c.05.22-.2.38-.38.23l-.16-.13a.24.24 0 0 0-.28-.02l-.17.1a.24.24 0 0 1-.34-.28l.07-.2c.04-.09.02-.2-.06-.26l-.16-.14a.24.24 0 0 1 .17-.41l.2.01c.1.01.2-.05.24-.14l.08-.2c.09-.2.4-.18.45.04l.04.2c.03.1.11.17.22.18l.2.02c.23.01.3.31.1.43Z" fill="#00ED92"/><path d="M25.05 27.26a.36.36 0 1 0 0-.73.36.36 0 0 0 0 .73Z" fill="#DAEDF2"/><path d="M29.1 40.9a2.7 2.7 0 1 0 0-5.4 2.7 2.7 0 0 0 0 5.4Z" fill="url(#paint4_linear_1275_60899)"/><path fill-rule="evenodd" clip-rule="evenodd" d="m29.62 38.9.09-.19c.04-.09.02-.2-.05-.27l-.14-.15a.24.24 0 0 1 .2-.4l.2.03c.1.02.2-.03.24-.12l.1-.19c.1-.2.4-.16.44.07l.03.2c.02.1.1.18.2.2l.2.02c.23.04.28.34.08.44l-.18.1a.23.23 0 0 0-.13.25l.04.2a.24.24 0 0 1-.4.2l-.15-.14a.24.24 0 0 0-.27-.04l-.18.1c-.2.1-.43-.11-.32-.31Z" fill="#00ED92"/><path d="M30.43 38.82a.36.36 0 1 0 0-.72.36.36 0 0 0 0 .72Z" fill="#DAEDF2"/><path d="M26.46 37.61h.01c.42.2.92.03 1.12-.38l10.33-21.5a.84.84 0 0 1 .62-.47l6.57-1.05a.84.84 0 1 0-.26-1.66l-7.45 1.18a.84.84 0 0 0-.62.47l-10.7 22.3c-.2.41-.03.91.38 1.11Z" fill="#1B9DE2"/><path opacity=".25" fill-rule="evenodd" clip-rule="evenodd" d="m37.17 20.9-13.74-2.88a.4.4 0 0 0-.48.35l-2.51 24.55a.4.4 0 0 0 .31.43l8.7 1.83c.2.04.4-.08.46-.27l7.55-23.5a.4.4 0 0 0-.3-.51Z" fill="#F5FFFD"/></g><defs><linearGradient id="paint0_linear_1275_60899" x1="6" y1="6.73" x2="44.55" y2="44.55" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint1_linear_1275_60899" x1="34.48" y1="6.66" x2="54.36" y2="30.77" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint2_linear_1275_60899" x1="21.65" y1="37.67" x2="25.53" y2="43.95" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint3_linear_1275_60899" x1="23.54" y1="25.18" x2="27.54" y2="29.41" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint4_linear_1275_60899" x1="27.89" y1="33.22" x2="29.26" y2="38.82" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><clipPath id="clip0_1275_60899"><path fill="#fff" transform="translate(0 .25)" d="M0 0h56v47.51H0z"/></clipPath></defs></svg>'}`)}
    <div class="message-container--${e=>e.sizeModifier} ${e=>e.doubleItemHeight?e.pagingModifier:""}">
        <header class="message-container__header">${e=>e.strings.endOfTodaysEvents}</header>
            ${(0,pe.g)((e=>!e.catchUpOnlyEnabled&&!e.catchUpWithNextEventInfoEnabled),Be)}
            ${(0,pe.g)((e=>null==e?void 0:e.catchUpWithNextEventInfoEnabled),ce.d`
                ${Be}
                <p class="message-container__catch-up">
                    ${e=>Oe(e)}
                </p>`)}
            ${(0,pe.g)((e=>null==e?void 0:e.catchUpOnlyEnabled),ce.d`
                <p class="message-container__catch-up only-catch-up-here">
                    ${e=>Oe(e)}
                </p>`)}
    </div>
</section>
`;let Ie=class extends $e{};Ie=(0,g.gn)([(0,Te.M)({name:"done-for-day",template:He,styles:Ee})],Ie);class Ue extends Te.H{}(0,g.gn)([E.LO],Ue.prototype,"strings",void 0),(0,g.gn)([E.LO],Ue.prototype,"url",void 0),(0,g.gn)([E.LO],Ue.prototype,"telemetry",void 0);const Ze=De.i`
    :host {
        display: grid;
        contain: paint;
    }
    
    .empty-calendar {
        display: grid;
        grid-template-rows: repeat(3, auto);
        grid-template-areas:
            "icon"
            "title"
            "content";
        place-content: center;
    }
    
    .empty-calendar__icon {
        grid-area: icon;
        display: flex;
        justify-content: center;
        margin-top: -19px;
        height: 100px;
    }

    .empty-calendar__title {
        grid-area: title;
        margin: 0px 0px;
        text-align: center;
        font-size: ${Fe.sNp};
        font-weight: 600;
        margin: 0px 0px 4px;
    }

    .empty-calendar__content {
        grid-area: content;
        text-align: center;
        font-size: ${Fe.sNp};
        line-height: ${Fe.MwG};
        border-bottom: none;
        text-decoration: none;
        color: ${Fe.D9J};
    }
`;const Pe=ce.d`
    <article class="empty-calendar" title=${e=>e.strings.emptyTitleText}>
        <div class="empty-calendar__icon">${'<svg viewBox="0 0 100 100"><g clip-path="url(#clip0)"><path d="M94 53.22c0 21.66-91.77 60.15-78.54 10.15 5.7-21.53 24.64-53.99 45.9-51.07 17.05 2.35-1.2 29.28 6 38C72.96 57.08 94 43.74 94 53.22Z" fill="url(#paint0_linear)"/><path d="M9.44 71.5c-1.8-.54-4.59-6.15-2.94-11.53 1.65-5.39 5.2-7.22 6.98-6.67 1.8.54-.9 4.73-2.04 9.69-1.13 4.95-.21 9.06-2 8.52Z" fill="#1B9DE2"/><path d="M75.44 38.76c1.86-.14 6.35 1.95 6.57 4.93.23 2.99-2.5 4.68-4.37 4.82-1.87.14-.7-2.5-1.27-5.16-.57-2.66-2.8-4.45-.93-4.59Z" fill="#1B5DE2"/><path d="M77.92 39.46v33.87c0 1.7-1.38 3.08-3.08 3.08H26a3.08 3.08 0 0 1-3.08-3.08V36.4h51.92c1.7 0 3.08 1.37 3.08 3.07Z" fill="#F5FFFD"/><path d="M70.95 72.62c0 1.2-.42 2.47-1.17 3.79H26a3.08 3.08 0 0 1-3.08-3.08v-7.72c6.02-11.58 15.5-22.29 25.77-20.88 11.63 1.6-.81 19.96 4.1 25.9 3.82 4.62 18.16-4.47 18.16 1.99Z" fill="url(#paint1_linear)"/><path d="M77.92 47.5h-55v-8.04c0-1.7 1.37-3.07 3.08-3.07h48.84c1.7 0 3.08 1.37 3.08 3.07v8.04Z" fill="#00ED92"/><path d="M30.51 39.66a1.3 1.3 0 0 1-1.3-1.31v-6.28a1.3 1.3 0 0 1 2.61 0v6.28c0 .72-.58 1.3-1.3 1.3ZM43.7 39.66a1.3 1.3 0 0 1-1.31-1.31v-6.28a1.3 1.3 0 0 1 2.61 0v6.28c0 .72-.58 1.3-1.3 1.3ZM56.88 39.66a1.3 1.3 0 0 1-1.31-1.31v-6.28a1.3 1.3 0 0 1 2.62 0v6.28c0 .72-.59 1.3-1.31 1.3ZM70.06 39.66a1.3 1.3 0 0 1-1.31-1.31v-6.28a1.3 1.3 0 0 1 2.62 0v6.28c0 .72-.59 1.3-1.31 1.3Z" fill="#DAEDF2"/></g><defs><linearGradient id="paint0_linear" x1="14.15" y1="50" x2="94" y2="50" gradientUnits="userSpaceOnUse"><stop offset=".2" stop-color="#1B9DE2"/><stop offset="1" stop-color="#1B5DE2"/></linearGradient><linearGradient id="paint1_linear" x1="31.22" y1="44.95" x2="48.04" y2="75.02" gradientUnits="userSpaceOnUse"><stop stop-color="#F4FEFC"/><stop offset="1" stop-color="#DAEDF2"/></linearGradient><clipPath id="clip0"><path fill="#fff" transform="translate(6 12.12)" d="M0 0h88v75.76H0z"/></clipPath></defs></svg>'}</div>
        <h4 class="empty-calendar__title">${e=>e.strings.emptyTitleText}</h4>
        <a 
            class="empty-calendar__content" 
            part="content" 
            target="_blank" 
            rel="noopener noreferrer"
            title=${e=>e.strings.emptyLinkTitle} 
            data-t="${e=>e.telemetry}" 
            href=${e=>e.url}
        >
            ${e=>e.strings.emptyLinkText}
        </a>
    </article>
`;let Ge=class extends Ue{};Ge=(0,g.gn)([(0,Te.M)({name:"empty-calendar",template:Pe,styles:Ze})],Ge);class Re extends Te.H{constructor(){super(...arguments),this.isBackgroundGradientEnabled=!1}connectedCallback(){super.connectedCallback(),this.strings&&this.initializeStrings(),this.event&&(this.timeUntilEvent=this.getMinsUntilEvent())}disconnectedCallback(){super.disconnectedCallback()}getEventLocalStartTimeString(){return this.event&&this.event.StartTime?new Date(this.event.StartTime).toLocaleTimeString(navigator.language,{hour:"numeric",minute:"numeric"}):"00:00:00"}getEventLocalStartTimeTooltip(){return this.event&&this.event.StartTime?new Date(this.event.StartTime).toISOString():"00:00:00"}getEventSubject(){return this.event&&this.event.Subject?this.event.Subject:this.defaultEventSubject}getEventItemDateString(){var e;return(null===(e=this.event)||void 0===e?void 0:e.StartTime)?new Date(this.event.StartTime).toLocaleDateString(navigator.language,{month:"long",day:"numeric"}):""}updateTimeAndStrings(){this.timeUntilEvent=this.getMinsUntilEvent(),this.eventLocationDurationText=ke(this.event.Location,xe(this.event.StartTime,this.event.EndTime,this.strings),this.strings),this.eventLocationDurationAriaLabel=ke(this.event.Location,be(this.event.StartTime,this.event.EndTime,this.strings),this.strings),this.eventConflictText=Se(this.event.NumberOfConflicts,this.strings),this.eventItemDateString=this.getEventItemDateString()}getMinsUntilEvent(){const e=(new Date).toString();return this.event.StartTime?function(e,t){const i=new Date(e),a=new Date(t);if(!(0,Z.Z)(i)||!(0,Z.Z)(a))throw new Error("The DateTimes are not valid");return j(a,i)}(e,this.event.StartTime):0}initializeStrings(){this.eventTimeUntilLabel=this.strings.eventTimeUntil,this.eventMinutesUntilStartUnit=this.strings.eventItemMinutesUntil,this.eventMinuteUntilStartUnit=this.strings.eventItemMinuteUntil,this.eventItemStartsNowUnit=this.strings.eventItemStartsNow,this.eventTimeSingleUnitPattern=this.strings.eventTimeSingleUnitPattern,this.eventLocationDurationText=ke(this.event.Location,xe(this.event.StartTime,this.event.EndTime,this.strings),this.strings),this.eventHeaderAriaLabelPattern=this.strings.eventHeaderLabelPattern,this.eventLocationDurationAriaLabel=ke(this.event.Location,be(this.event.StartTime,this.event.EndTime,this.strings),this.strings),this.eventConflictText=Se(this.event.NumberOfConflicts,this.strings),this.defaultEventSubject=this.strings.defaultEventSubject,this.eventActionJoinButton=this.strings.eventActionJoinButton,this.eventActionEmailButton=this.strings.eventActionEmailButton}}(0,g.gn)([E.LO],Re.prototype,"strings",void 0),(0,g.gn)([E.LO],Re.prototype,"event",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventConflictText",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventHeaderAriaLabelPattern",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventItemStartsNowUnit",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventLocationDurationAriaLabel",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventLocationDurationText",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventMinuteUntilStartUnit",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventMinutesUntilStartUnit",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventTimeUntilLabel",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventTimeSingleUnitPattern",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventItemDateString",void 0),(0,g.gn)([O.Lj],Re.prototype,"defaultEventSubject",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventActionJoinButton",void 0),(0,g.gn)([O.Lj],Re.prototype,"eventActionEmailButton",void 0),(0,g.gn)([(0,O.Lj)({mode:"boolean"})],Re.prototype,"isBackgroundGradientEnabled",void 0),(0,g.gn)([E.LO],Re.prototype,"timeUntilEvent",void 0),(0,g.gn)([E.LO],Re.prototype,"needsPaging",void 0),(0,g.gn)([E.LO],Re.prototype,"isOnFeed",void 0);var Ne=i(15933),Ve=i(78125),je=i(98648);const ze=je.L.create("calendar-card-background-gradient").withDefault((e=>Fe.q2d.getValueFor(e)===Ve.h.DarkMode?"linear-gradient(180deg, rgba(57, 65, 70, 0.35) 0%, rgba(54, 80, 99, 0.5) 100%), #242424":"linear-gradient(148.07deg, #F5FBFF 0%, #EBF6FF 100%)")),We=je.L.create("event-item-background-gradient-hover").withDefault((e=>Fe.q2d.getValueFor(e)===Ve.h.DarkMode?"rgba(255, 255, 255, 0.05)":"rgba(0, 0, 0, 0.05)"));var qe=i(40082);const Ye="\n    overflow: hidden;\n    white-space: nowrap;\n    text-overflow: ellipsis;\n",Je=De.i`
    :host {
        display: block;
    }

    .event-item {
        max-width: 300px;
        max-height: 100px;
    }

    .event-item--pagination {
        max-height: 90px;
    }

    .event-item--gradient:hover {
        background-color: ${We};
    }

    .event-item::part(list-item) {
        gap: 0;
    }
    
    .event-item__body {
        display: grid;
        column-gap: 12px;
        grid-template-columns: auto 1fr auto;
        
        ${Ye}
    }

    .event-item__subject {
        margin: 2px 0 0 0;
        
        color: ${Fe.CHi};
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        font-size: ${Fe.sNp};
        line-height: ${Fe.vgC};
        font-weight: 600;
    }

    .event-item__start-time {
        font-size: ${Fe.PwC};
        line-height: ${Fe.vgC};
        font-weight: 600;
        ${Ye}
    }

    .event-item__start-date {
        font-size: ${Fe.G8g};
        font-weight: 600;
        margin-inline-start: 2px;
        color: ${Fe.goi};
        ${Ye}
    }
    
    .event-item__time-information {
        display: grid;
        grid-template-columns: auto auto 1fr;
        grid-gap: 2px;
        align-items: baseline;
        max-height: 16px;
        
        margin: 1px 0 9px 0;
    }

    .event-item__response-indicator {
        height: 42px;
        min-width: 4px;

        border-radius: 2px;
        background-color: ${Fe.goi};
    }
    
    .event-item__details {
        height: 42px; 

        ${Ye}
    }

    .event-item__response-indicator--not-responded {
        background-color: transparent;
        background-image: linear-gradient(-45deg, ${Fe.goi} 19%, transparent 0, transparent 50%, ${Fe.goi} 0, ${Fe.goi} 69%, transparent 0, transparent);
        background-size: 6px 6px;
    }

    .event-item__subject-and-chat-container {
        display: flex;

        height: 22px;
        width: 100%;
    }

    .event-item__conflict-icon {
        display: inline-block;
    }

    .event-item__conflict-icon svg {
        width: 10px;
        height: 10px;
        margin: 0 2px -1px;

        fill: ${Fe.Q5n};
    }

    .event-item__location-duration {
        margin: 0;

        color: ${Fe.Q5n};
        font-size: ${Fe.sNp};
        line-height: ${Fe.vgC};
        ${Ye}
    }

    .event-item__action-button{
        background-color: transparent;
        border: 1px solid ${Fe.goi}; 
        border-radius: 2px;
        color: ${Fe.goi};
        cursor: pointer;
        font-size: ${Fe.sNp};
        text-decoration: none;
        height: 28px;
    }

    .event-item__action-button::part(control) {
        padding: 6px 12px;
    }

    .event-item__action-button:hover {
        color: ${Fe.D9J};
        background: ${Fe.XiB};
    }

    .event-item__action-button:active {
        color: ${Fe.D9J};
    }

    .event-item__action-button:focus-within {
        color: ${Fe.D9J};
    }

    .event-item__action-button:focus-visible {
        margin: 1px;
        outline: -webkit-focus-ring-color auto;
        background: ${Fe.QpD};
    }

    .event-item__action-button::part(control):focus-visible {
       border: none;
       box-shadow: none;
       outline: -webkit-focus-ring-color auto;
    }

    .event-item__time-until-event {
        color: ${Fe.goi};
        font-size: ${Fe.G8g};
        line-height: ${Fe.MwG};
        margin-left: 2px;
        ${Ye}
    }

    .event-item__time-until-event--emphasis {
        font-style: normal;
        font-weight: 600;
    }

    .event-item__conflict-info {
        color: ${Fe.Q5n};
        font-size: ${Fe.G8g};
        line-height: ${Fe.MwG};
        font-weight: 600;
        ${Ye} 
    }
`.withBehaviors((0,qe.vF)(De.i`
                .event-item__action-button {
                    forced-color-adjust: none;
                    background: ${Ne.H.ButtonFace};                    
                    border-color: ${Ne.H.Highlight};
                }
                .event-item__action-button::part(control) {
                    border: none;
                    box-shadow:none;
                    color: ${Ne.H.ButtonText};
                }
                .event-item__action-button:hover {
                    border-color: ${Ne.H.HighlightText};
                    color: ${Ne.H.HighlightText};
                }
                .event-item__action-button::part(control):hover {
                    background: ${Ne.H.Highlight};
                    border-color: ${Ne.H.HighlightText};
                    color: ${Ne.H.HighlightText};
                    box-shadow: 0 0 0 calc((${Fe.vxp} - ${Fe.Han}) * 1px) ${Ne.H.HighlightText};
                }
                :host(:hover) .event-item__time-until-event {
                    color: ${Ne.H.HighlightText};
                }
                .event-item__time-until-event {
                    color: ${Ne.H.ButtonText};
                }
                :host(:hover) .event-item__subject {
                    color: ${Ne.H.HighlightText};
                }
                .event-item__subject {
                    color: ${Ne.H.ButtonText};
                }
                :host(:hover) .event-item__location-duration {
                    color: ${Ne.H.HighlightText};
                }
                .event-item__location-duration {
                    color: ${Ne.H.ButtonText};
                }
                :host(:hover) .event-item__response-indicator {
                    background-color: ${Ne.H.HighlightText};
                }
                :host(:hover) .event-item__response-indicator--not-responded {
                    background-color: transparent;
                    background-image: linear-gradient(-45deg, ${Ne.H.HighlightText} 19%, transparent 0, transparent 50%, ${Ne.H.HighlightText} 0, ${Ne.H.HighlightText} 69%, transparent 0, transparent);
                }
                .event-item__response-indicator {
                    background-color: ${Ne.H.ButtonText};
                }
                .event-item__response-indicator--not-responded {
                    background-color: transparent;
                    background-image: linear-gradient(-45deg, ${Ne.H.ButtonText} 19%, transparent 0, transparent 50%, ${Ne.H.ButtonText} 0, ${Ne.H.ButtonText} 69%, transparent 0, transparent);
                }
                :host(:hover) .event-item__conflict-info {
                    color: ${Ne.H.HighlightText};
                }
                :host(:hover) .event-item__conflict-icon svg {
                    fill: ${Ne.H.HighlightText};
                }
                .event-item__conflict-info {
                    color: ${Ne.H.ButtonText};
                }
                .event-item__conflict-icon svg {
                    fill: ${Ne.H.ButtonText};
                }
            `));i(24538).j;const Qe=e=>{const t=e.getEventLocalStartTimeString();if(t)return ce.d`
<p class="event-item__time-information">
    <time
        class="event-item__start-time"
    >
        ${t} 
    </time>
    ${e=>e.event.IsFutureEvent?(e=>{const t=e.getEventItemDateString();return ce.d`
<span class="event-item__start-date">
    ${t}
</span>
`})(e):Ke(e)}
    ${e=>Xe(e)}
</p>
`},Ke=e=>{try{e.updateTimeAndStrings();const{eventMinutesUntilStartUnit:t,eventMinuteUntilStartUnit:i,eventItemStartsNowUnit:a,eventTimeSingleUnitPattern:o}=e,n=(new Date).toString(),r=e.timeUntilEvent;return r<15&&r>0?ce.d`
<span class="event-item__time-until-event">
        ${e.eventTimeUntilLabel} 
    <em class="event-item__time-until-event--emphasis">
        ${we(n,e.event.Start.dateTime,i,t,a,o)}
    </em>
</span>
`:ce.d`
<span class="event-item__time-until-event">
    <em class="event-item__time-until-event--emphasis">
        ${we(n,e.event.Start.dateTime,i,t,a,o)}
    </em>
</span>
`}catch(e){return void(0,_.OO)(e,A.odB,"Failed to render time until event")}},Xe=e=>{if((e.event&&e.event.NumberOfConflicts)>0&&e.eventConflictText)return ce.d`
<span class="event-item__conflict-info">
    <div slot="icon" class="event-item__conflict-icon">${'<svg viewBox="0 0 12 12"><path d="M6 0a6 6 0 1 1 0 12A6 6 0 0 1 6 0Zm0 1a5 5 0 1 0 0 10A5 5 0 0 0 6 1Zm0 7a.75.75 0 1 1 0 1.5A.75.75 0 0 1 6 8Zm0-5.5a.5.5 0 0 1 .5.41V6.5a.5.5 0 0 1-1 .09V3c0-.28.22-.5.5-.5Z"/></svg>'}</div>
    ${e.eventConflictText}
</span>
`},et=e=>{try{const i=e.event.IsTeamsMeeting,a=i?e.eventActionJoinButton:e.eventActionEmailButton,o=i?e.strings.eventJoinActionButtonTooltip:e.strings.eventEmailOrganizerTooltip,n=(t=e.event).IsTeamsMeeting?t.JoinMeetingLink:t.IsOrganizer?t.EmailParticipantsLink:t.EmailOrganizerLink;return e.timeUntilEvent<=15&&!e.event.IsAppointment?ce.d`
<fl/****************************************************************************
**
** Copyright (C) 2017 The Qt Company Ltd.
** Contact: http://www.qt.io/licensing/
**
** This file is part of the Qt Quick Controls 2 module of the Qt Toolkit.
**
** $QT_BEGIN_LICENSE:LGPL3$
** Commercial License Usage
** Licensees holding valid commercial Qt licenses may use this file in
** accordance with the commercial license agreement provided with the
** Software or, alternatively, in accordance with the terms contained in
** a written agreement between you and The Qt Company. For licensing terms
** and conditions see http://www.qt.io/terms-conditions. For further
** information use the contact form at http://www.qt.io/contact-us.
**
** GNU Lesser General Public License Usage
** Alternatively, this file may be used under the terms of the GNU Lesser
** General Public License version 3 as published by the Free Software
** Foundation and appearing in the file LICENSE.LGPLv3 included in the
** packaging of this file. Please review the following information to
** ensure the GNU Lesser General Public License version 3 requirements
** will be met: https://www.gnu.org/licenses/lgpl.html.
**
** GNU General Public License Usage
** Alternatively, this file may be used under the terms of the GNU
** General Public License version 2.0 or later as published by the Free
** Software Foundation and appearing in the file LICENSE.GPL included in
** the packaging of this file. Please review the following information to
** ensure the GNU General Public License version 2.0 requirements will be
** met: http://www.gnu.org/licenses/gpl-2.0.html.
**
** $QT_END_LICENSE$
**
****************************************************************************/

import QtQuick 2.12
import QtQuick.Controls 2.12
import QtQuick.Controls.impl 2.12
import QtQuick.Templates 2.12 as T

T.Button {
    id: control

    implicitWidth: Math.max(implicitBackgroundWidth + leftInset + rightInset,
                            implicitContentWidth + leftPadding + rightPadding)
    implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
                             implicitContentHeight + topPadding + bottomPadding)

    padding: 6
    horizontalPadding: padding + 2
    spacing: 6

    icon.width: 24
    icon.height: 24
    icon.color: control.checked || control.highlighted ? control.palette.brightText :
                control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText

    contentItem: IconLabel {
        spacing: control.spacing
        mirrored: control.mirrored
        display: control.display

        icon: control.icon
        text: control.text
        font: control.font
        color: control.checked || control.highlighted ? control.palette.brightText :
               control.flat && !control.down ? (control.visualFocus ? control.palette.highlight : control.palette.windowText) : control.palette.buttonText
    }

    background: Rectangle {
        implicitWidth: 100
        implicitHeight: 40
        visible: !control.flat || control.down || control.checked || control.highlighted
        color: Color.blend(control.checked || control.highlighted ? control.palette.dark : control.palette.button,
                                                                    control.palette.mid, control.down ? 0.5 : 0.0)
        border.color: control.palette.highlight
        border.width: control.visualFocus ? 2 : 0
    }
}
