 ${(0,o.i)("endActionsContainer")}>
            <slot
                name="end-actions"
                ${(0,o.i)("endActions")}
                @slotchange=${e=>e.handleEndActionsContentChange()}
            ></slot>
        </span>
    </div>
`;var d=n(67020),p=n(56201),f=n(40082),h=n(53046),m=n(15933),g=n(32804),v=n(22674);const y=h.i`
    .hover-actions {
        right: 8px;
    }

    .icon {
        left: 0;
    }

    :host([layout="default"]) .media-wrapper {
        float: right;
    }

    :host([layout="infoPane1x3y"]) ::slotted([slot="content-indicator"]),
    :host([layout="infoPane"]) ::slotted([slot="content-indicator"]),
    .media-wrapper ::slotted([slot="content-indicator"]) {
        left: 8px;
    }
`,b=h.i`
    .hover-actions {
        left: 8px;
    }

    .icon {
        right: 0;
    }

    :host([layout="default"]) .media-wrapper {
        float: left;
    }

    :host([layout="infoPane1x3y"]) ::slotted([slot="content-indicator"]),
    :host([layout="infoPane"]) ::slotted([slot="content-indicator"]),
    .media-wrapper ::slotted([slot="content-indicator"]) {
        right: 8px;
    }
`,w=r.u.compose({baseName:"content-card",template:(e,t)=>i.d`
    <template
        ${(0,a.p)({property:"mediaNodes",filter:(0,s.R)("[slot='media'], [slot='icon']")})}
    >
        <span part="background-image" ${(0,o.i)("backgroundImageContainer")}>
            <slot
                name="background-image"
                ${(0,o.i)("backgroundImage")}
                @slotchange=${e=>e.handleBackgroundImageContentChange()}
            ></slot>
        </span>
        <div class="mask" part="mask"></div>
        <div class="body ${e=>e.hasAbstract?"has-abstract":""}" part="body">
            ${(0,l.g)((e=>{var t;return(null===(t=e.mediaNodes)||void 0===t?void 0:t.length)>0}),i.d` <div class="media-wrapper" part="media-wrapper">
                    <div part="media" ${(0,o.i)("mediaContainer")}>
                        <slot
                            name="media"
                            ${(0,o.i)("media")}
                            @slotchange=${e=>e.handleMediaContentChange()}
                        ></slot>
                        <slot
                            name="content-indicator"
                            ${(0,u.Q)("contentIndicatorNodes")}
                        ></slot>
                        <span
                            part="icon"
                            ${(0,o.i)("iconContainer")}
                            class="${e=>e.iconSlottedNodes&&e.iconSlottedNodes.length?"icon":"icon__hidden"}"
                        >
                            <slot
                                name="icon"
                                ${(0,o.i)("icon")}
                                ${(0,u.Q)("iconSlottedNodes")}
                            ></slot>
                        </span>
                    </div>
                </div>`)}
            <div class="heading-container" part="heading-container">
                ${(0,l.g)((e=>{var t;return 0===(null===(t=e.mediaNodes)||void 0===t?void 0:t.length)}),i.d`
                        <slot
                            name="content-indicator"
                            ${(0,u.Q)("contentIndicatorNodes")}
                        ></slot>
                    `)}
                <slot name="attribution"></slot>
                <span
                    class="heading-wrapper"
                    part="heading-wrapper"
                    role="heading"
                    aria-level=${e=>e.headinglevel}
                >
                    <a
                        class="heading"
                        part="heading"
                        href=${e=>e.href?e.href:void 0}
                        target=${e=>e.target?e.target:void 0}
                        @click=${(e,t)=>e.handleContentCardLinkClick(t.event)}
                        data-t="${e=>e.anchorTelemetryTag}"
                        ><slot></slot
                    ></a>
                </span>
            </div>
            <div class="abstract" part="abstract">
                <slot name="abstract" ${(0,u.Q)("abstract")}></slot>
            </div>
            <slot name="call-to-action"></slot>
            ${(0,l.g)((e=>e.layout!==r.$.default),c)}
        </div>
        ${(0,l.g)((e=>e.layout===r.$.default),c)}
        <span
            part="hover-actions"
            class="${e=>e.hoverActionsSlottedNodes&&e.hoverActionsSlottedNodes.length?"hover-actions":"hover-actions__hidden"}"
        >
            <slot name="hover-actions" ${(0,u.Q)("hoverActionsSlottedNodes")}></slot>
        </span>
    </template>
`,styles:(e,t)=>h.i`
    ${(0,d.j)("flex")} :host {
        --icon-size: 24px;
        position: relative;
        width: auto;
        box-sizing: border-box;
        font-family: ${g.SVJ};
        flex-direction: column;
        outline: none;
        height: 100%;
        overflow: hidden;
    }

    :host(:hover) .hover-actions {
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
    }

    :host(:hover) .background-image,
    :host(:hover) .media {
        filter: brightness(0.9);
    }

    .body {
        display: grid;
        justify-content: center;
        row-gap: 8px;
        column-gap: 10px;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
    }

    :host([layout="default"]) .body .abstract {
        display: none;
    }

    :host([layout="default"]) .body {
        display: block;
    }

    :host([layout="default"]) .has-abstract .heading {
        -webkit-line-clamp: var(--heading-max-lines, 2);
    }

    :host([layout="default"]) .has-abstract .media-wrapper {
        margin-inline-start: 16px;
    }

    :host([image-priority]) .has-abstract .media-wrapper {
        margin-inline-start: 0;
    }

    .footer {
        padding-inline-start: var(--footer-start-padding, 16px);
        padding-inline-end: var(--footer-start-padding, 16px);
        padding-top: var(--footer-padding-top, 0);
        padding-bottom: var(--footer-padding-bottom, 4px);
        margin-top: auto;
        font-size: var(--footer-font-size, ${g.sNp});
        line-height: var(--footer-line-height, ${g.vgC});
    }

    .footer,
    .start-actions,
    .end-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        color: ${g.Q5n};
        fill: ${g.Q5n};
    }

    .footer__hidden {
        display: none;
    }

    .hover-actions {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 8px;
        z-index: 2;
        opacity: 0;
    }

    .hover-actions__hidden {
        display: none;
    }

    .hover-actions:focus-within {
        opacity: 1;
    }

    .heading-container {
        grid-row: 1;
        display: flex;
        flex-direction: column;
        padding-inline-start: var(--heading-start-padding, 16px);
        padding-inline-end: var(--heading-end-padding, 16px);
        padding-bottom: 0;
        padding-top: 16px;
    }

    .heading-wrapper a:after {
        bottom: 0;
        content: "";
        height: 100%;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    :host([layout="condensed"]) .body {
        gap: 0;
    }

    :host([layout="condensed"]) .footer {
        grid-row: 2;
        grid-column-start: 1;
        grid-column-end: var(--footer-grid-column-end, auto);
        padding-inline-start: 16px;
    }

    :host([layout="condensed"]) .media-wrapper {
        position: relative;
        grid-row: 1 / span 2;
        margin-top: 5px;
    }

    :host([layout="condensed"]) .heading-container {
        padding-top: 0px;
        --heading-end-padding: 12px;
    }

    :host([layout="condensed"]) ::slotted([slot="attribution"]) {
        margin-bottom: 0px
    }

    .icon {
        position: absolute;
        display: inline-flex;
        top: auto;
        bottom: 0;
        justify-content: center;
        align-items: center;
        margin: 0 0 4px 0;
        margin-inline-start: 4px;
    }

    .icon__hidden {
        display: none;
    }

    ::slotted([slot="icon"]) {
        width: var(--icon-size);
        height: var(--icon-size);
        fill: #FFF;
    }

    ::slotted([slot="attribution"]) {
        margin-bottom: 6px
    }

    ::slotted([slot="abstract"]) {
        margin: 2px 0;
    }

    .media-wrapper {
        grid-row: 1;
        grid-column: 2;
        margin-inline-end: var(--media-inline-padding, 16px);
        margin-top: 16px;
    }

    .media {
        display: flex;
        position: relative;
    }

    :host([image-priority]) .heading {
        -webkit-line-clamp: var(--heading-max-lines, 2);
    }

    :host([image-priority]) .body {
        grid-template-columns: 1;
    }

    :host([image-priority]) .media-wrapper {
        grid-row: 1;
        grid-column: span 2;
        margin: 0;
    }

    :host([image-priority]) .heading-container {
        grid-row: 2;
        grid-column: span 2;
        padding-top: 10px;
        padding-inline-start: var(--heading-start-padding, 16px);
    }

    :host([image-priority]) ::slotted([slot="media"]),
    :host([layout="infoPaneSplitHorizontal"]) ::slotted([slot="media"]) {
        border-radius: 0px;
    }

    :host([layout="infoPane"]) .media-wrapper, :host([layout="infoPane1x3y"]) .media-wrapper {
        grid-row: 1;
        grid-column: 1;
        margin-top: 0;
        width: fit-content;
        height: fit-content;
    }

    :host([layout="infoPane"]) .icon, :host([layout="infoPaneSplitVertical"]) .icon, :host([layout="infoPane1x3y"]) .icon {
        display: inline;
        left: 0;
        top: 0;
        margin: 4px 0 0;
        margin-inline-start: 4px;
    }

    :host([layout="infoPaneSplitVertical"]) .icon {
        display: block;
    }

    :host([layout="infoPaneSplitHorizontal"]) .icon {
        bottom: 0px;
    }
    
    :host([layout="infoPaneSplitHorizontal"]) .heading-container,
    :host([layout="infoPane"]) .heading-container, :host([layout="infoPane1x3y"]) .heading-container {
        align-self: end;
    }

    :host([layout="infoPaneSplitHorizontal"]) .body,
    :host([layout="infoPane"]) .body, :host([layout="infoPane1x3y"]) .body {
        height: 100%;
        grid-template-rows: 1fr auto;
    }

    ::slotted([slot="call-to-action"]) {
        width: calc(100% - 32px);
        grid-row: 3;
        z-index: 1;
        grid-column: 1 / span 2;
        margin: 0 16px;
    }

    ::slotted([slot="media"]) {
        border-radius: calc(var(--content-card-corner-radius, 2) * 2px)
    }

    :host([layout="default"]) .has-abstract .abstract {
        display: block;
        padding: 0 16px 16px 16px;
    }

    .abstract {
        position: relative;
        margin: 0;
        font-size: var(--abstract-font-size, ${g.cSu});
        line-height: var(--abstract-line-height, ${g.RUt});
        font-weight: 400;
        grid-column: span 2;
        box-sizing: content-box;
        color: ${g.Q5n};
        padding: 0 16px;
    }

    ::slotted([slot="start-actions"]),
    ::slotted([slot="end-actions"]) {
        z-index: 2;
        display: grid;
        gap: 5px;
        align-items: center;
        grid-auto-flow: column;
    }

    ::slotted([slot="call-to-action"]) {
        z-index: 2;
    }

    ::slotted(fluent-button[slot="start-actions"]),
    ::slotted(fluent-button[slot="end-actions"]) {
        color: ${g.Q5n};
        fill: ${g.Q5n};
    }
    
    ::slotted(fluent-button[appearance="stealth"]:not(:hover)), :slotted([slot="hover-actions"]:not(:hover)) {
        background: transparent;
    }

    .heading {
        text-decoration: none;
        outline: none;
        color: ${g.CHi};
        font-size: var(--heading-font-size, ${g.PwC});
        line-height: var(--heading-line-height, ${g.b3W});
        font-weight: 600;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: var(--heading-max-lines, 3);
        white-space: initial;
    }

    .mask {
        display: none;
    }

    .heading:hover,
    .heading:${p.b} {
        text-decoration: underline;
    }

    .heading::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    :host([layout="infoPane"]), :host([layout="infoPane1x3y"]) {
        justify-content: flex-end;
        border: none;
    }

    :host(:not([layout="infoPane"])) .has-abstract-footer, :host(:not([layout="infoPane1x3y"])) .has-abstract-footer {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        background: ${g.IfY};
        box-shadow: 0px -25px 15px ${g.IfY};
    }

    :host([layout="infoPane"]) .heading-container, :host([layout="infoPane1x3y"]) .heading-container {
        grid-column: 1 / 3;
        z-index: 1;
    }

    :host([layout="infoPane"]) .has-abstract .heading-container, :host([layout="infoPane1x3y"]) .has-abstract .heading-container  {
        grid-area: 2/ 1 / span 2 / auto;
        --heading-start-padding: 16px;
        --heading-end-padding: 0;
        padding-bottom: 12px;
        padding-top: 8px;
        align-self: flex-start;
    }

    :host([layout="infoPane"]) .abstract, :host([layout="infoPane1x3y"]) .abstract, :host([layout="infoPaneSplitHorizontal"]) .abstract  {
        grid-row: 2;
        grid-column: 2;
        color: ${g.CHi};
        padding: 8px 16px 0 16px;
        align-self: end;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    :host([layout="infoPane"]) .abstract, :host([layout="infoPane1x3y"]) .abstract  {
        display: none;
    }

    :host([layout="infoPane"]) .has-abstract, :host([layout="infoPane1x3y"]) .has-abstract {
        grid-template-columns: 1fr 1fr;
        gap: 0 10px;
    }

    :host([layout="infoPane"]) .has-abstract .footer, :host([layout="infoPane1x3y"]) .has-abstract .footer {
        min-height: calc(40px - 4px);
    }

    :host([layout="infoPane"]) .has-abstract .abstract, :host([layout="infoPane1x3y"]) .has-abstract .abstract {
        display: -webkit-box;
        align-self: flex-end;
    }

    :host([layout="infoPane"]) .mask, :host([layout="infoPane1x3y"]) .mask {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: var(--mask-gradient, linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0,0,0,0) 176px));
    }
    
    :host([layout="infoPane1x3y"]) .mask {
        background-image: var(--mask-gradient, linear-gradient(rgba(0, 0, 0, 0), rgba(0,0,0,1) 69px, rgba(0,0,0,1)));
        top: 257px;
    }

    :host([layout="infoPane"]) .has-abstract .has-abstract-footer, :host([layout="infoPane1x3y"]) .has-abstract .has-abstract-footer {
        grid-row: 3;
        grid-column: 2;
        position: inherit;
        align-self: flex-end;
        max-height: 40px;
    }

    :host([layout="infoPane"]) .footer, :host([layout="infoPane1x3y"]) .footer  {
        margin-top: unset;
        grid-row: 2;
        grid-column: 1 / span 2;
        padding-inline-start: 16px;
        padding-inline-end: 16px;
    }


    :host([layout="infoPane"]) ::slotted(msft-attribution[slot="attribution"]), :host([layout="infoPane1x3y"]) ::slotted(msft-attribution[slot="attribution"]) {
        color: ${g.CHi};
        text-shadow: 0px 0.4px 0.9px rgba(0, 0, 0, 0.13), 0px 0px 2.22px rgba(0, 0, 0, 0.11);
    }


    :host([layout="infoPaneSplitVertical"]) {
        grid-template-columns: 304px 1fr;
        grid-template-rows: auto;
        background: ${g.IfY};
    }

    :host([layout="infoPaneSplitVertical"]) ::slotted([slot="media"]) {
        border-radius: 0px;
    }

    :host([layout="infoPaneSplitVertical"]) .media-wrapper {
        grid-row: 1 / span 2;
        grid-column: 1;
        margin: 0;
    }

    :host([layout="infoPaneSplitVertical"]) .heading-container {
        grid-row: 1;
        grid-column: 2;
        --heading-start-padding: 4px;
        --heading-end-padding: 16px;
        padding-bottom: 0;
        padding-top: 16px;
    }

    :host([layout="infoPaneSplitVertical"]) .footer {
        grid-row: 2;
        grid-column: 2;
        padding-inline-start: 0;
        padding-inline-end: 16px;
        padding-top: 0;
    }

    :host([layout="infoPaneSplitHorizontal"]) .body {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 326px auto auto;
        row-gap: 4px;
        background: ${g.IfY};
    }

    :host([layout="infoPaneSplitHorizontal"]) .media-wrapper {
        grid-column: 1 / span 2;
        margin: 0;
    }

    :host([layout="infoPaneSplitHorizontal"]) .heading-container {
        grid-column: 1;
        grid-row: 2 / span 2;
        --heading-start-padding: 16px;
        --heading-end-padding: 0;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    :host([layout="infoPaneSplitHorizontal"]) .footer {
        grid-column: 2;
        grid-row: 3;
        box-shadow: none;
    }

    :host([layout="infoPaneSplitHorizontal"]) .abstract {
        color: inherit;
        align-self: inherit;
        padding: 12px 16px 0 16px;
    }

    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    :host([layout="infoPane1x3y"]) .background-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 136px;
    }

    .background-image ::slotted(img) {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    :host([layout="infoPane1x3y"]) ::slotted([slot="content-indicator"]),
    :host([layout="infoPane"]) ::slotted([slot="content-indicator"]),
    .media-wrapper ::slotted([slot="content-indicator"]) {
        position: absolute;
        top: 8px;
        z-index: 1;
    }

    ::slotted([slot="content-indicator"]) {
        margin-bottom: 26px;
        align-self: flex-start;
    }

`.withBehaviors(new v.O(y,b),(0,f.vF)(h.i`
                .heading {
                    color: ${m.H.LinkText};
                    background: ${m.H.ButtonFace};
                }
                .abstract {
                    color: ${m.H.ButtonText};
                }
                .icon {
                    background-color: #000;
                    height: fit-content;
                }
                :host([layout="infoPane"]) .abstract,
                :host([layout="infoPane1x3y"]) .abstract,
                :host([layout="infoPaneSplitHorizontal"]) .abstract {
                    color: ${m.H.ButtonText};
                    background: ${m.H.ButtonFace};
                }
                .footer,
                .start-actions,
                .end-actions,
                ::slotted([slot="start-actions"]),
                ::slotted([slot="end-actions"]) {
                    background: ${m.H.ButtonFace};
                    color: ${m.H.ButtonText};
                    fill: currentcolor;
                }
                :host([layout="infoPane"]) .mask,
                :host([layout="infoPane1x3y"]) .mask {
                    background-image: none;
                }
                :host([layout="infoPane"]) .has-abstract .footer,
                :host([layout="infoPane1x3y"]) .has-abstract .footer,
                :host([layout="infoPane"]) .footer,
                :host([layout="infoPane1x3y"]) .footer,
                :host(:not([layout="infoPane"])) .has-abstract-footer,
                :host(:not([layout="infoPane1x3y"])) .has-abstract-footer {
                    background: ${m.H.ButtonFace};
                    box-shadow: none;
                }
                ::slotted(fluent-button[appearance="stealth"]:not(:hover)) {
                    background: ${m.H.ButtonFace};
                }
            `)),shadowOptions:{delegatesFocus:!0}})},6540:function(e,t,n){"use strict";n.d(t,{K:function(){return s}});var r=n(33940),i=n(65620),o=n(87697),a=n(48839);class s extends a.I{constructor(){super(...arguments),this.expanded=!1}defaultItemsChanged(){this.$fastController.isConnected&&(this.shouldanimate=this.defaultItems.length>0)}}(0,r.gn)([(0,i.Lj)({mode:"boolean"})],s.prototype,"expanded",void 0),(0,r.gn)([o.LO],s.prototype,"defaultItems",void 0),(0,r.gn)([(0,i.Lj)({mode:"boolean",attribute:"animate"})],s.prototype,"shouldanimate",void 0)},99348:function(e,t,n){"use strict";n.d(t,{tO:function(){return v}});var r=n(6540),i=n(39181),o=n(90960);var a=n(32804),s=n(22674),l=n(67020),u=n(40082),c=n(53046),d=n(16859),p=n(15933);const f=c.i`
    :host::after {
        transform: translateX(-100%) translateX(20px);
    }
    :host([animate]) .label {
        transform: translateX(-100%);
    }
`,h=c.i`
    :host::after {
        transform: translateX(100%) translateX(-20px);
    }
    :host([animate]) .label {
        transform: translateX(100%);
    }
`,m=c.i`
    :host {
        color: #000;
    }
    :host::after {
        background: rgba(255, 255, 255, 0.46);
    }
`,g=c.i`
    :host {
        color: #fff;
    }
    :host::after {
        background: rgba(0, 0, 0, 0.54);
    }
`,v=r.K.compose({baseName:"content-indicator",template:(e,t)=>i.d`
    <span class="icon-container" part="icon-container" aria-hidden="true">
        <slot name="icon"></slot>
    </span>
    <span class="label-container" part="label-container">
        <span class="label" part="label">
            <slot
                ${(0,o.Q)({property:"defaultItems",filter:e=>{var t;return e instanceof HTMLElement&&null!==e.offsetParent||e instanceof Text&&!!(null===(t=e.textContent)||void 0===t?void 0:t.trim().length)}})}
            ></slot>
        </span>
    </span>
`,styles:(e,t)=>c.i`
        ${(0,l.j)("inline-flex")} :host {
            align-items: center;
            box-sizing: border-box;
            contain: content;
            overflow: hidden;
        }

        .label-container {
            overflow: hidden;
        }

        :host,
        :host::after {
            ${""}
            border-radius: 4px;
        }

        :host::after {
            content: "";
            height: 100%;
            position: absolute;
            width: 100%;
            z-index: -1;
        }

        .icon-container,
        .label {
            min-height: 20px;
            min-width: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            fill: currentcolor;
        }

        :host([animate])::after,
        .label {
            transition: transform 250ms cubic-bezier(0.17, 0.17, 0, 1);
        }

        .label {
            font-family: ${a.SVJ};
            font-size: ${a.sNp};
            font-weight: 600;
            line-height: ${a.vgC};
            text-overflow: ellipsis;
            padding: 0 4px;
        }

        :host([expanded][animate])::after,
        :host([expanded][animate]) .label {
            transform: translateX(0%);
        }

        .label {
            transform: translateX(-100%);
        }

        ::slotted([slot="icon"]) {
            display: block;
            fill: currentcolor;
        }
    `.withBehaviors(new s.O(f,h),new d.Y(m,g),(0,u.vF)(c.i`
                :host {
                    forced-color-adjust: auto;
                }
                ::slotted([slot="icon"]) {
                    color: ${p.H.ButtonText};
                    fill: currentcolor;
                }
                .icon-container,
                :host([expanded][animate]) .label,
                :host::after {
                    background: ${p.H.ButtonFace};
                    color: ${p.H.ButtonText};
                    fill: currentcolor;
                    border-radius: calc(${a.UWU} * 1px);
                }
                .label {
                    background: transparent;
                }
            `))})},48837:function(e,t,n){"use strict";n.d(t,{tH:function(){return m}});var r=n(33940),i=n(65620),o=n(52704);class a extends o.Z6{constructor(){super(...arguments),this.speed=1200,this.headingLevel=3}}(0,r.gn)([i.Lj],a.prototype,"speed",void 0),(0,r.gn)([(0,i.Lj)({attribute:"heading-level",mode:"fromView",converter:i.Id})],a.prototype,"headingLevel",void 0),(0,r.gn)([i.Lj],a.prototype,"heading",void 0);var s=n(39181),l=n(58952),u=n(90960),c=n(74009),d=n(13988),p=n(51208);var f=n(53046),h=n(32804);const m=a.compose({baseName:"stripe",template:(e,t)=>s.d`
    <template>
        ${p.hX}
        <div class="heading-container" part="heading-container">
            <span class="header">
                <slot name="icon"></slot>
                <slot name="heading">
                    <span class="heading" role="heading" aria-level=${e=>e.headingLevel}
                        >${e=>e.heading}</span
                    >
                    <slot name="details"></slot>
                </slot>
                <slot name="description"></slot>
            </span>
            <slot name="action"></slot>
        </div>
        <div class="scroll-area">
            <div
                class="scroll-view"
                @scroll="${e=>e.scrolled()}"
                ${(0,l.i)("scrollContainer")}
            >
                <div class="content-container" part="content-container" ${(0,l.i)("content")}>
                    <slot
                        ${(0,u.Q)({property:"scrollItems",filter:(0,c.R)()})}
                    ></slot>
                </div>
            </div>
            ${(0,d.g)((e=>"mobile"!==e.view),s.d`
                    <div
                        class="scroll scroll-prev"
                        part="scroll-prev"
                        ${(0,l.i)("previousFlipperContainer")}
                    >
                        <div class="scroll-action" @click="${e=>e.scrollToPrevious()}">
                            <slot name="previous-flipper">
                                <fluent-flipper direction="previous"></fluent-flipper>
                            </slot>
                        </div>
                    </div>
                    <div
                        class="scroll scroll-next"
                        part="scroll-next"
                        ${(0,l.i)("nextFlipperContainer")}
                    >
                        <div class="scroll-action" @click="${e=>e.scrollToNext()}">
                            <slot name="next-flipper">
                                <fluent-flipper></fluent-flipper>
                            </slot>
                        </div>
                    </div>
                `)}
        </div>
        ${p.zq}
    </template>
`,styles:(e,t)=>f.i`
    ${(0,o.SD)(e,t)} :host {
        --scroll-fade-next: ${h.IfY};
    }

    .heading-container {
        display: grid;
        grid-template-columns: 1fr auto;
        margin: 0 0 12px;
    }

    ::slotted([slot="action"]) {
        display: flex;
        align-items: flex-end;
    }

    ::slotted([slot="icon"]) {
        margin-inline-end: 8px;
    }

    .header,
    .header ::slotted(h1),
    .header ::slotted(h2),
    .header ::slotted(h3),
    .header ::slotted(h4),
    .header ::slotted(h5),
    .header ::slotted(h6) {
        font-size: var(--stripe-heading-font-size, ${h.mWK});
        line-height: var(--stripe-heading-line-height, ${h.I7_});
        font-weight: 600;
        margin: 0;
    }

    ::slotted([slot="description"]) {
        font-size: ${h.sNp};
        line-height: ${h.vgC};
        margin: 8px 0 0;
    }
`})},16859:function(e,t,n){"use strict";n.d(t,{Y:function(){return l}});var r=n(32804),i=n(78125),o=n(97186),a=n(60279);const s=(0,n(9791).Z)((e=>{let t=(0,o.in)(e);if(null!==t)return t;if(t=(0,o.hg)(e),null!==t)return t;throw new Error(`${e} cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"`)}));class l{constructor(e,t){this.cache=new WeakMap,this.light=e,this.dark=t}bind(e){this.attach(e)}unbind(e){const t=this.cache.get(e);t&&r.IfY.unsubscribe(t)}attach(e){const t=this.cache.get(e)||new u(this.light,this.dark,e),n=r.IfY.getValueFor(e);r.IfY.subscribe(t,e),t.attach(n),this.cache.set(e,t)}}class u{constructor(e,t,n){this.light=e,this.dark=t,this.source=n,this.attached=null}handleChange({target:e,token:t}){this.attach(t.getValueFor(e))}attach(e){const t=(n=e.toColorString(),(0,a.hM)(s(n))<=i.h.DarkMode?"dark":"light");var n;this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}},5863:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M4.5 3C3.67 3 3 3.67 3 4.5v7c0 .83.67 1.5 1.5 1.5h7c.83 0 1.5-.67 1.5-1.5V9.27a.5.5 0 011 0v2.23a2.5 2.5 0 01-2.5 2.5h-7A2.5 2.5 0 012 11.5v-7A2.5 2.5 0 014.5 2h2.23a.5.5 0 010 1H4.5zm4.27-.5c0-.28.22-.5.5-.5h4.23c.28 0 .5.22.5.5v4.23a.5.5 0 01-1 0V3.71L9.62 7.08a.5.5 0 11-.7-.7L12.29 3H9.27a.5.5 0 01-.5-.5z"></path></svg>'},38247:function(e,t,n){"use strict";n.d(t,{QT:function(){return d}});var r=n(33940),i=n(28090),o=n(65620),a=n(45169),s=n(53046),l=n(45597),u=n(82636);class c extends i.e{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const e=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===e.length&&e[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}(0,r.gn)([o.Lj,(0,r.w6)("design:type",String)],c.prototype,"appearance",void 0);const d=c.compose({baseName:"anchor",baseClass:i.e,template:a.g,styles:(e,t)=>s.i`
        ${(0,l.vN)(e,t)}
    `.withBehaviors((0,u.H)("accent",l.jQ),(0,u.H)("hypertext",l.Xu),(0,u.H)("lightweight",l.vt),(0,u.H)("outline",l.O8),(0,u.H)("stealth",l.cg)),shadowOptions:{delegatesFocus:!0}})},69298:function(e,t,n){"use strict";n.d(t,{Zb:function(){return b},F:function(){return k},ay:function(){return w}});var r=n(33940),i=n(65130),o=n(97186),a=n(22680),s=n(87697),l=n(65620),u=n(48657),c=n(32804),d=n(42355),p=n(42255),f=n(53046),h=n(67020),m=n(40082),g=n(87839),v=n(62734);const y=(e,t)=>f.i`
        ${(0,h.j)("block")} :host {
            --elevation: 4;
            display: block;
            contain: content;
            height: var(--card-height, 100%);
            width: var(--card-width, 100%);
            box-sizing: border-box;
            background: ${c.IfY};
            color: ${c.CHi};
            border-radius: calc(${c.rSr} * 1px);
            ${v.XC}
        }

        :host(:hover) {
            --elevation: 8;
        }

        :host(:focus-within) {
            --elevation: 8;
        }

        :host {
            content-visibility: auto;
        }
    `.withBehaviors((0,m.vF)(f.i`
                :host {
                    forced-color-adjust: none;
                    background: ${g.H.Canvas};
                    box-shadow: 0 0 0 1px ${g.H.CanvasText};
                }
            `));class b extends i.Z{cardFillColorChanged(e,t){if(t){const e=(0,o.in)(t);null!==e&&(this.neutralPaletteSource=t,c.IfY.setValueFor(this,d.w.create(e.r,e.g,e.b)))}}neutralPaletteSourceChanged(e,t){if(t){const e=(0,o.in)(t),n=d.w.create(e.r,e.g,e.b);c.yvm.setValueFor(this,p.v.create(n))}}handleChange(e,t){this.cardFillColor||c.IfY.setValueFor(this,(t=>c.abR.getValueFor(t).evaluate(t,c.IfY.getValueFor(e))))}connectedCallback(){super.connectedCallback();const e=(0,a.T)(this);if(e){const t=s.y$.getNotifier(e);t.subscribe(this,"fillColor"),t.subscribe(this,"neutralPalette"),this.handleChange(e,"fillColor")}}}(0,r.gn)([(0,l.Lj)({attribute:"card-fill-color",mode:"fromView"}),(0,r.w6)("design:type",String)],b.prototype,"cardFillColor",void 0),(0,r.gn)([(0,l.Lj)({attribute:"neutral-palette-source",mode:"fromView"}),(0,r.w6)("design:type",String)],b.prototype,"neutralPaletteSource",void 0);const w=b.compose({baseName:"card",baseClass:i.Z,template:u.O,styles:y}),k=y},1393:function(e,t,n){"use strict";n.d(t,{EK:function(){return f}});var r=n(91281),i=n(30569),o=n(53046),a=n(67020),s=n(37139),l=n(56201),u=n(40082),c=n(87839),d=n(2658),p=n(32804);const f=r.U.compose({baseName:"flipper",template:i._,styles:(e,t)=>o.i`
        ${(0,a.j)("inline-flex")} :host {
            width: calc(${d.i} * 1px);
            height: calc(${d.i} * 1px);
            justify-content: center;
            align-items: center;
            margin: 0;
            position: relative;
            fill: currentcolor;
            color: ${p.CHi};
            background: transparent;
            border: none;
            outline: none;
            padding: 0;
        }

        :host::before {
            content: "";
            opacity: 0.8;
            background: ${p.jql};
            border: calc(${p.Han} * 1px) solid ${p.akT};
            border-radius: 50%;
            position: absolute;
            top: 0;
            right: 0;
            left: 0;
            bottom: 0;
            transition: all 0.1s ease-in-out;
        }

        .next,
        .previous {
            position: relative;
            ${""} width: 16px;
            height: 16px;
        }

        :host(.disabled) {
            opacity: ${p.VFZ};
            cursor: ${s.H};
        }

        :host(:hover) {
            cursor: pointer;
        }

        :host(:hover)::before {
            background: ${p.QpD};
            border-color: ${p.QPc};
        }

        :host(:${l.b}) {
            outline: none;
        }

        :host(:${l.b})::before {
            box-shadow: 0 0 0 1px ${p.yGg} inset;
            border-color: ${p.yGg};
        }

        :host(:active)::before {
            background: ${p.sG3};
            border-color: ${p.c1L};
        }

        :host::-moz-focus-inner {
            border: 0;
        }
    `.withBehaviors((0,u.vF)(o.i`
                :host {
                    background: ${c.H.Canvas};
                }
                :host .next,
                :host .previous {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
                :host::before {
                    background: ${c.H.Canvas};
                    border-color: ${c.H.ButtonText};
                }
                :host(:hover)::before {
                    forced-color-adjust: none;
                    background: ${c.H.Highlight};
                    border-color: ${c.H.ButtonText};
                    opacity: 1;
                }
                :host(:hover) .next,
                :host(:hover) .previous {
                    forced-color-adjust: none;
                    color: ${c.H.HighlightText};
                    fill: currentcolor;
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled)::before,
                :host(.disabled:hover)::before,
                :host(.disabled) .next,
                :host(.disabled) .previous,
                :host(.disabled:hover) .next,
                :host(.disabled:hover) .previous {
                    forced-color-adjust: none;
                    background: ${c.H.Canvas};
                    border-color: ${c.H.GrayText};
                    color: ${c.H.GrayText};
                    fill: ${c.H.GrayText};
                }
                :host(:${l.b})::before {
                    forced-color-adjust: none;
                    border-color: ${c.H.Highlight};
                    box-shadow: 0 0 0 2px ${c.H.Field},
                        0 0 0 4px ${c.H.FieldText};
                }
            `)),next:'\n    <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n        <path\n            d="M4.023 15.273L11.29 8 4.023.727l.704-.704L12.71 8l-7.984 7.977-.704-.704z"\n        />\n    </svg>\n  ',previous:'\n    <svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg">\n        <path\n            d="M11.273 15.977L3.29 8 11.273.023l.704.704L4.71 8l7.266 7.273-.704.704z"\n        />\n    </svg>\n  '})},52704:function(e,t,n){"use strict";n.d(t,{Z6:function(){return f},xI:function(){return h},SD:function(){return m}});var r=n(88127),i=n(16009),o=n(39181),a=n(53046),s=n(67020),l=n(22674);const u=a.i`
    .scroll-prev {
        right: auto;
        left: 0;
    }

    .scroll.scroll-next::before,
    .scroll-next .scroll-action {
        left: auto;
        right: 0;
    }

    .scroll.scroll-next::before {
        background: linear-gradient(to right, transparent, var(--scroll-fade-next));
    }

    .scroll-next .scroll-action {
        transform: translate(50%, -50%);
    }
`,c=a.i`
    .scroll.scroll-next {
        right: auto;
        left: 0;
    }

    .scroll.scroll-next::before {
        background: linear-gradient(to right, var(--scroll-fade-next), transparent);
        left: auto;
        right: 0;
    }

    .scroll.scroll-prev::before {
        background: linear-gradient(to right, transparent, var(--scroll-fade-previous));
    }

    .scroll-prev .scroll-action {
        left: auto;
        right: 0;
        transform: translate(50%, -50%);
    }
`,d=a.i`
    .scroll-area {
        position: relative;
    }

    div.scroll-view {
        overflow-x: hidden;
    }

    .scroll {
        bottom: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0;
        user-select: none;
        width: 100px;
    }

    .scroll.disabled {
        display: none;
    }

    .scroll::before,
    .scroll-action {
        left: 0;
        position: absolute;
    }

    .scroll::before {
        background: linear-gradient(to right, var(--scroll-fade-previous), transparent);
        content: "";
        display: block;
        height: 100%;
        width: 100%;
    }

    .scroll-action {
        pointer-events: auto;
        right: auto;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    ::slotted(fluent-flipper) {
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
    }

    .scroll-area:hover ::slotted(fluent-flipper) {
        opacity: 1;
    }
`.withBehaviors(new l.O(u,c)),p=(e,t)=>a.i`
    ${(0,s.j)("block")} :host {
        --scroll-align: center;
        --scroll-item-spacing: 4px;
        contain: layout;
        position: relative;
    }

    .scroll-view {
        overflow-x: auto;
        scrollbar-width: none;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    .content-container {
        align-items: var(--scroll-align);
        display: inline-flex;
        flex-wrap: nowrap;
        position: relative;
    }

    .content-container ::slotted(*) {
        margin-right: var(--scroll-item-spacing);
    }

    .content-container ::slotted(*:last-child) {
        margin-right: 0;
    }
`;class f extends r.Z{connectedCallback(){super.connectedCallback(),"mobile"!==this.view&&this.$fastController.addStyles(d)}}const h=f.compose({baseName:"horizontal-scroll",baseClass:r.Z,template:i.S,styles:p,nextFlipper:o.d`
        <fluent-flipper
            @click="${e=>e.scrollToNext()}"
            aria-hidden="${e=>e.flippersHiddenFromAT}"
        ></fluent-flipper>
    `,previousFlipper:o.d`
        <fluent-flipper
            @click="${e=>e.scrollToPrevious()}"
            direction="previous"
            aria-hidden="${e=>e.flippersHiddenFromAT}"
        ></fluent-flipper>
    `}),m=p},28090:function(e,t,n){"use strict";n.d(t,{e:function(){return c},m:function(){return d}});var r=n(20005),i=n(65620),o=n(87697),a=n(48839),s=n(7775),l=n(51208),u=n(86076);class c extends a.I{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}(0,r.gn)([i.Lj],c.prototype,"download",void 0),(0,r.gn)([i.Lj],c.prototype,"href",void 0),(0,r.gn)([i.Lj],c.prototype,"hreflang",void 0),(0,r.gn)([i.Lj],c.prototype,"ping",void 0),(0,r.gn)([i.Lj],c.prototype,"referrerpolicy",void 0),(0,r.gn)([i.Lj],c.prototype,"rel",void 0),(0,r.gn)([i.Lj],c.prototype,"target",void 0),(0,r.gn)([i.Lj],c.prototype,"type",void 0),(0,r.gn)([o.LO],c.prototype,"defaultSlottedContent",void 0);class d{}(0,r.gn)([(0,i.Lj)({attribute:"aria-expanded"})],d.prototype,"ariaExpanded",void 0),(0,u.e)(d,s.v),(0,u.e)(c,l.hW,d)},45169:function(e,t,n){"use strict";n.d(t,{g:function(){return s}});var r=n(39181),i=n(58952),o=n(90960),a=n(51208);const s=(e,t)=>r.d`
    <a
        class="control"
        part="control"
        download="${e=>e.download}"
        href="${e=>e.href}"
        hreflang="${e=>e.hreflang}"
        ping="${e=>e.ping}"
        referrerpolicy="${e=>e.referrerpolicy}"
        rel="${e=>e.rel}"
        target="${e=>e.target}"
        type="${e=>e.type}"
        aria-atomic="${e=>e.ariaAtomic}"
        aria-busy="${e=>e.ariaBusy}"
        aria-controls="${e=>e.ariaControls}"
        aria-current="${e=>e.ariaCurrent}"
        aria-describedby="${e=>e.ariaDescribedby}"
        aria-details="${e=>e.ariaDetails}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-errormessage="${e=>e.ariaErrormessage}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-flowto="${e=>e.ariaFlowto}"
        aria-haspopup="${e=>e.ariaHaspopup}"
        aria-hidden="${e=>e.ariaHidden}"
        aria-invalid="${e=>e.ariaInvalid}"
        aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
        aria-label="${e=>e.ariaLabel}"
        aria-labelledby="${e=>e.ariaLabelledby}"
        aria-live="${e=>e.ariaLive}"
        aria-owns="${e=>e.ariaOwns}"
        aria-relevant="${e=>e.ariaRelevant}"
        aria-roledescription="${e=>e.ariaRoledescription}"
        ${(0,i.i)("control")}
    >
        ${(0,a.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,o.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,a.LC)(e,t)}
    </a>
`},65130:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(48839);class i extends r.I{}},48657:function(e,t,n){"use strict";n.d(t,{O:function(){return i}});var r=n(39181);const i=(e,t)=>r.d`
    <slot></slot>
`},91281:function(e,t,n){"use strict";n.d(t,{U:function(){return s}});var r=n(20005),i=n(65620),o=n(48839),a=n(16882);class s extends o.I{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=a.L.next}keyupHandler(e){if(!this.hiddenFromAT){const t=e.key;"Enter"!==t&&"Space"!==t||this.$emit("click",e),"Escape"===t&&this.blur()}}}(0,r.gn)([(0,i.Lj)({mode:"boolean"})],s.prototype,"disabled",void 0),(0,r.gn)([(0,i.Lj)({attribute:"aria-hidden",converter:i.bw})],s.prototype,"hiddenFromAT",void 0),(0,r.gn)([i.Lj],s.prototype,"direction",void 0)},16882:function(e,t,n){"use strict";n.d(t,{L:function(){return r}});const r={next:"next",previous:"previous"}},30569:function(e,t,n){"use strict";n.d(t,{_:function(){return a}});var r=n(39181),i=n(13988),o=n(16882);const a=(e,t)=>r.d`
    <template
        role="button"
        aria-disabled="${e=>!!e.disabled||void 0}"
        tabindex="${e=>e.hiddenFromAT?-1:0}"
        class="${e=>e.direction} ${e=>e.disabled?"disabled":""}"
        @keyup="${(e,t)=>e.keyupHandler(t.event)}"
    >
        ${(0,i.g)((e=>e.direction===o.L.next),r.d`
                <span part="next" class="next">
                    <slot name="next">
                        ${t.next||""}
                    </slot>
                </span>
            `)}
        ${(0,i.g)((e=>e.direction===o.L.previous),r.d`
                <span part="previous" class="previous">
                    <slot name="previous">
                        ${t.previous||""}
                    </slot>
                </span>
            `)}
    </template>
`},88127:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(20005),i=n(12968),o=n(65620),a=n(87697),s=n(48839);class l extends s.I{constructor(){super(...arguments),this.framesPerSecond=60,this.updatingItems=!1,this.speed=600,this.easing="ease-in-out",this.flippersHiddenFromAT=!1,this.scrolling=!1,this.resizeDetector=null}get frameTime(){return 1e3/this.framesPerSecond}scrollingChanged(e,t){if(this.scrollContainer){const e=1==this.scrolling?"scrollstart":"scrollend";this.$emit(e,this.scrollContainer.scrollLeft)}}get isRtl(){return this.scrollItems.length>1&&this.scrollItems[0].offsetLeft>this.scrollItems[1].offsetLeft}connectedCallback(){super.connectedCallback(),this.initializeResizeDetector()}disconnectedCallback(){this.disconnectResizeDetector(),super.disconnectedCallback()}scrollItemsChanged(e,t){t&&!this.updatingItems&&i.SO.queueUpdate((()=>this.setStops()))}disconnectResizeDetector(){this.resizeDetector&&(this.resizeDetector.disconnect(),this.resizeDetector=null)}initializeResizeDetector(){this.disconnectResizeDetector(),this.resizeDetector=new window.ResizeObserver(this.resized.bind(this)),this.resizeDetector.observe(this)}updateScrollStops(){this.updatingItems=!0;const e=this.scrollItems.reduce(((e,t)=>t instanceof HTMLSlotElement?e.concat(t.assignedElements()):(e.push(t),e)),[]);this.scrollItems=e,this.updatingItems=!1}setStops(){this.updateScrollStops();const{scrollContainer:e}=this,{scrollLeft:t}=e,{width:n,left:r}=e.getBoundingClientRect();this.width=n;let i=0,o=this.scrollItems.map(((e,n)=>{const{left:o,width:a}=e.getBoundingClientRect(),s=Math.round(o+t-r),l=Math.round(s+a);return this.isRtl?-l:(i=l,0===n?0:s)})).concat(i);o=this.fixScrollMisalign(o),o.sort(((e,t)=>Math.abs(e)-Math.abs(t))),this.scrollStops=o,this.setFlippers()}fixScrollMisalign(e){if(this.isRtl&&e.some((e=>e>0))){e.sort(((e,t)=>t-e));const t=e[0];e=e.map((e=>e-t))}return e}setFlippers(){var e,t;const n=this.scrollContainer.scrollLeft;if(null===(e=this.previousFlipperContainer)||void 0===e||e.classList.toggle("disabled",0===n),this.scrollStops){const e=Math.abs(this.scrollStops[this.scrollStops.length-1]);null===(t=this.nextFlipperContainer)||void 0===t||t.classList.toggle("disabled",Math.abs(n)+this.width>=e)}}scrollInView(e,t=0,n){var r;if("number"!=typeof e&&e&&(e=this.scrollItems.findIndex((t=>t===e||t.contains(e)))),void 0!==e){n=null!=n?n:t;const{scrollContainer:i,scrollStops:o,scrollItems:a}=this,{scrollLeft:s}=this.scrollContainer,{width:l}=i.getBoundingClientRect(),u=o[e],{width:c}=a[e].getBoundingClientRect(),d=u+c,p=s+t>u;if(p||s+l-n<d){const e=null!==(r=[...o].sort(((e,t)=>p?t-e:e-t)).find((e=>p?e+t<u:e+l-(null!=n?n:0)>d)))&&void 0!==r?r:0;this.scrollToPosition(e)}}}keyupHandler(e){switch(e.key){case"ArrowLeft":this.scrollToPrevious();break;case"ArrowRight":this.scrollToNext()}}scrollToPrevious(){const e=this.scrollContainer.scrollLeft,t=this.scrollStops.findIndex(((t,n)=>t>=e&&(this.isRtl||n===this.scrollStops.length-1||this.scrollStops[n+1]>e))),n=Math.abs(this.scrollStops[t+1]);let r=this.scrollStops.findIndex((e=>Math.abs(e)+this.width>n));(r>=t||-1===r)&&(r=t>0?t-1:0),this.scrollToPosition(this.scrollStops[r],e)}scrollToNext(){const e=this.scrollContainer.scrollLeft,t=this.scrollStops.findIndex((t=>Math.abs(t)>=Math.abs(e))),n=this.scrollStops.findIndex((t=>Math.abs(e)+this.width<=Math.abs(t)));let r=t;n>t+2?r=n-2:t<this.scrollStops.length-2&&(r=t+1),this.scrollToPosition(this.scrollStops[r],e)}scrollToPosition(e,t=this.scrollContainer.scrollLeft){var n;if(this.scrolling)return;this.scrolling=!0;const r=null!==(n=this.duration)&&void 0!==n?n:Math.abs(e-t)/this.speed+"s";this.content.style.setProperty("transition-duration",r);const i=parseFloat(getComputedStyle(this.content).getPropertyValue("transition-duration")),o=t=>{t&&t.target!==t.currentTarget||(this.content.style.setProperty("transition-duration","0s"),this.content.style.removeProperty("transform"),this.scrollContainer.style.setProperty("scroll-behavior","auto"),this.scrollContainer.scrollLeft=e,this.setFlippers(),this.content.removeEventListener("transitionend",o),this.scrolling=!1)};if(0===i)return void o();this.content.addEventListener("transitionend",o);const a=this.scrollContainer.scrollWidth-this.scrollContainer.clientWidth;let s=this.scrollContainer.scrollLeft-Math.min(e,a);this.isRtl&&(s=this.scrollContainer.scrollLeft+Math.min(Math.abs(e),a)),this.content.style.setProperty("transition-property","transform"),this.content.style.setProperty("transition-timing-function",this.easing),this.content.style.setProperty("transform",`translateX(${s}px)`)}resized(){this.resizeTimeout&&(this.resizeTimeout=clearTimeout(this.resizeTimeout)),this.resizeTimeout=setTimeout((()=>{this.width=this.scrollContainer.offsetWidth,this.setFlippers()}),this.frameTime)}scrolled(){this.scrollTimeout&&(this.scrollTimeout=clearTimeout(this.scrollTimeout)),this.scrollTimeout=setTimeout((()=>{this.setFlippers()}),this.frameTime)}}(0,r.gn)([(0,o.Lj)({converter:o.Id})],l.prototype,"speed",void 0),(0,r.gn)([o.Lj],l.prototype,"duration",void 0),(0,r.gn)([o.Lj],l.prototype,"easing",void 0),(0,r.gn)([(0,o.Lj)({attribute:"flippers-hidden-from-at",converter:o.bw})],l.prototype,"flippersHiddenFromAT",void 0),(0,r.gn)([a.LO],l.prototype,"scrolling",void 0),(0,r.gn)([a.LO],l.prototype,"scrollItems",void 0),(0,r.gn)([(0,o.Lj)({attribute:"view"})],l.prototype,"view",void 0)},16009:function(e,t,n){"use strict";n.d(t,{S:function(){return u}});var r=n(39181),i=n(58952),o=n(90960),a=n(74009),s=n(13988),l=n(51208);const u=(e,t)=>{var n,u;return r.d`
    <template
        class="horizontal-scroll"
        @keyup="${(e,t)=>e.keyupHandler(t.event)}"
    >
        ${(0,l.m9)(e,t)}
        <div class="scroll-area" part="scroll-area">
            <div
                class="scroll-view"
                part="scroll-view"
                @scroll="${e=>e.scrolled()}"
                ${(0,i.i)("scrollContainer")}
            >
                <div class="content-container" part="content-container" ${(0,i.i)("content")}>
                    <slot
                        ${(0,o.Q)({property:"scrollItems",filter:(0,a.R)()})}
                    ></slot>
                </div>
            </div>
            ${(0,s.g)((e=>"mobile"!==e.view),r.d`
                    <div
                        class="scroll scroll-prev"
                        part="scroll-prev"
                        ${(0,i.i)("previousFlipperContainer")}
                    >
                        <div class="scroll-action" part="scroll-action-previous">
                            <slot name="previous-flipper">
                                ${t.previousFlipper instanceof Function?t.previousFlipper(e,t):null!==(n=t.previousFlipper)&&void 0!==n?n:""}
                            </slot>
                        </div>
                    </div>
                    <div
                        class="scroll scroll-next"
                        part="scroll-next"
                        ${(0,i.i)("nextFlipperContainer")}
                    >
                        <div class="scroll-action" part="scroll-action-next">
                            <slot name="next-flipper">
                                ${t.nextFlipper instanceof Function?t.nextFlipper(e,t):null!==(u=t.nextFlipper)&&void 0!==u?u:""}
                            </slot>
                        </div>
                    </div>
                `)}
        </div>
        ${(0,l.LC)(e,t)}
    </template>
`}},12697:function(e,t,n){"use strict";var r=n(84708);t.Z=function(e){return"number"==typeof e&&e==(0,r.Z)(e)}}}]);A
Eo