p: 4px;
        width: 344px;
    }

    ::part(heading span) {
        margin: 24px;
    }

    .feedback-actions {
        display: grid;
        grid-template-columns: var(--button-min-width) var(--button-min-width);
        justify-content: center;
        grid-gap: var(--space-between-buttons);
        margin-top: 4px;
    }

    .option-container {
        display: flex;
        flex-direction: column;
        margin: 18px 0px 4px;
        width: 328px;
    }

    textarea::placeholder {
        color: #fff;
    }

    .report-option {
        margin-bottom: 14px;
    }

    .report-disclaimer {
        display: block;
        margin-top: 5px;
        font-size: 10px;
    }

    .feedback-footer fluent-anchor {
        font-size: 10px;
        line-height: 16px;
    }

    .popup-action-button {
        border-radius: 6px;
    }

    .popup-close-button {
        position: absolute;
        top: 12px;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        min-width: 32px;
        height: 32px;
        line-height: 1;
        padding: 0 10px;
        box-sizing: border-box;
        border-radius: 2px;
        color: ${n.CHi},
        font-family: inherit;
        background: inherit;
        cursor: pointer;
        transition: all 0.1s ease-in-out;
    }

    .popup-close-button:hover {
        background: ${n.Gy2};
    }

    .popup-close-button svg {
        width: 8px;
        height: 8px;
        fill: ${n.CHi}
    }

    :host([colormode="dark"]) .report-option-container .report-inputbox::part(control)::placeholder {
        color: rgba(255, 255, 255, 0.54);
        fill: #4A4A4A;
    }

`.withBehaviors(new a.O(d,c),(0,p.vF)(s.i`
                :host {
                    forced-color-adjust: auto;
                }

                @media screen and (-ms-high-contrast: active) {
                    .popup-close-button:hover {
                        background: ${l.H.Highlight};
                        color: ${l.H.HighlightText};
                    }
                
                    .popup-close-bitton:focus-visible {
                        border-color: 1px solid transparent;
                        box-shadow: 0 0 0 1px inset ${l.H.ButtonText};
                    }

                    .popup-close-button svg path {
                        fill: ${l.H.ButtonText};
                    }
                }
            `));var u=o(39181),b=o(18864),h=o(90282),k=o(2314),v=o(545);h.q;const x=u.d`
    <fluent-checkbox
        id=${e=>e.key}
        class="report-option ${(e,t)=>t.parent.reportOptions&&t.parent.reportOptions[e.key]?"checked":""}"
        @click=${(e,t)=>t.parent.reportOptionHandler(e.key,t.event)}
        @keypress=${(e,t)=>t.parent.reportOptionHandler(e.key,t.event)}
        aria-checked="${(e,t)=>t.parent.reportOptions&&t.parent.reportOptions[e.key]}"
    >
        ${e=>e.text}
    </fluent-checkbox>
`,m=u.d`
    <div class="option-container">
        ${(0,b.rx)((e=>e.sportsIssues),x)}
        <fluent-text-area
            class="report-inputbox"
            :value=${e=>e.reportOptions&&e.reportOptions.reportFeedbackInput}
            @input=${(e,t)=>e.setReportFeedbackInputText(t.event.target.value)}
            placeholder=${e=>e.strings.reportFeedbackPlaceholder}
            aria-required="false"
        >
        </fluent-text-area>
        <div class="report-footer">
            <div class="report-disclaimer">
                ${e=>e.strings.reportFeedbackDisclaimerText}
            </div>
            <fluent-anchor
                appearance="lightweight"
                href=${k.Xk}
                target="_blank"
                id="reportDialogPrivacyStatementLink"
            >
                ${e=>e.strings.reportPrivacyStatementLinkText}
            </fluent-anchor>
        </div>
    </div>
`,f=u.d`
    <msn-action-dialog
        class="send-feedback"
        headline=${e=>e.strings.sendFeedbackHeader}
        ariaLabel=${e=>e.strings.sendFeedbackHeader}
        @action-dialog-dismiss=${e=>e.gobackToSportsCard&&e.gobackToSportsCard()}
        data-t="${e=>{var t,o;return null===(o=null===(t=e.feedbackTelemetryContext)||void 0===t?void 0:t.feedbackView)||void 0===o?void 0:o.getMetadataTag()}}"
    >
        <div
            slot="close-button"
            class="popup-close-button"
            tabindex="0"
            aria-label=${e=>e.strings.closeButton}
            role="button"
            title=${e=>e.strings.closeButton}
            @click=${(e,t)=>e.cancelClickHandler(t.event)}
            @keypress="${(e,t)=>t.event&&"Enter"==t.event.key&&e.cancelClickHandler(t.event)}"
            data-t="${e=>{var t,o;return null===(o=null===(t=e.feedbackTelemetryContext)||void 0===t?void 0:t.closeFeedback)||void 0===o?void 0:o.getMetadataTag()}}"
        >
            ${v.Z}
        </div>
        ${m}
        <div class="feedback-actions">
            <fluent-button
                class="popup-action-button"
                appearance="accent"
                tabindex="0"
                aria-label=${e=>e.strings.feedbackSend}
                role="button"
                title=${e=>e.strings.feedbackSend}
                ?disabled="${e=>{var t;return e.reportOptions&&0===e.reportOptions.reportCheckedOptionsCount&&0===(null===(t=e.reportOptions.reportFeedbackInput)||void 0===t?void 0:t.trim().length)}}"
                @click=${(e,t)=>e.sendFeedbackClickHandler(t.event)}
                @keypress="${(e,t)=>t.event&&"Enter"==t.event.key&&e.sendFeedbackClickHandler(t.event)}"
                data-t="${e=>e.getReportFeedbackTelemetryTag&&e.getReportFeedbackTelemetryTag()}"
            >
                ${e=>e.strings.feedbackSend}
            </fluent-button>
            <fluent-button
                class="popup-action-button"
                tabindex="0"
                aria-label=${e=>e.strings.cancel}
                role="button"
                title=${e=>e.strings.cancel}
                @click=${(e,t)=>e.cancelClickHandler(t.event)}
                @keypress="${(e,t)=>t.event&&"Enter"==t.event.key&&e.cancelClickHandler(t.event)}"
                data-t="${e=>{var t,o;return null===(o=null===(t=e.feedbackTelemetryContext)||void 0===t?void 0:t.cancelFeedback)||void 0===o?void 0:o.getMetadataTag()}}"
            >
                ${e=>e.strings.cancel}
            </fluent-button>
        </div>
    </msn-action-dialog>
`,y=u.d`
    ${f}
`;var $=o(65620),O=o(87697),C=o(65135),T=o(38156);class w extends r.H{constructor(){super(...arguments),this.sendFeedbackClickHandler=e=>{e&&(e.stopPropagation(),e.preventDefault(),C.M0.sendActionEvent(e.target,T.Aw.Click)),this.gobackToSportsCard&&this.gobackToSportsCard()},this.cancelClickHandler=e=>{e&&(e.stopPropagation(),e.preventDefault(),C.M0.sendActionEvent(e.target,T.Aw.Click)),this.gobackToSportsCard&&this.gobackToSportsCard()},this.resetDialog=()=>{this.reportOptions={reportIncorrectSportsData:!1,reportDislikeLeagueTeam:!1,reportDislikeBackground:!1,reportDislikeSports:!1,reportCheckedOptionsCount:0,reportFeedbackInput:""}},this.setReportFeedbackInputText=e=>{this.reportOptions=Object.assign(Object.assign({},this.reportOptions),{reportFeedbackInput:e})},this.reportOptionHandler=(e,t)=>{if(t instanceof MouseEvent&&"click"===t.type||t instanceof KeyboardEvent&&("Enter"===t.key||"Space"===t.key)){const t=this.reportOptions;this.reportOptions=Object.assign(Object.assign({},this.reportOptions),{[e]:!t[e],reportCheckedOptionsCount:t.reportCheckedOptionsCount+(t[e]?-1:1)})}},this.getReportFeedbackTelemetryTag=()=>{if(!this.reportOptions||!this.feedbackTelemetryContext)return null;const e={IncorrectData:this.reportOptions.reportIncorrectSportsData,DisLikeLeague:this.reportOptions.reportDislikeLeagueTeam,DisLikeBackground:this.reportOptions.reportDislikeBackground,DislikeSports:this.reportOptions.reportDislikeSports};Object.keys(e).filter((t=>!e[t])).map((t=>{delete e[t]}));const t=this.reportOptions.reportFeedbackInput;return this.sendTelemetryObject=this.feedbackTelemetryContext&&this.feedbackTelemetryContext.sendFeedback,this.sendTelemetryObject.updateContract(Object.assign(Object.assign({},this.sendTelemetryObject.contract),{ext:{fields:{feedbackTags:e,feedbackText:t}}})),this.sendTelemetryObject.getMetadataTag()}}connectedCallback(){super.connectedCallback(),this.resetDialog(),this.sportsIssues=[{key:"reportIncorrectSportsData",text:this.strings.reportIncorrectSportsData},{key:"reportDislikeLeagueTeam",text:this.strings.reportDislikeLeagueTeam},{key:"reportDislikeBackground",text:this.strings.reportDislikeBackground},{key:"reportDislikeSports",text:this.strings.reportDislikeSports}],this.telemetryContext&&(this.feedbackTelemetryContext=(0,k.uj)(this.telemetryContext.componentRoot,this.sportsMatchData,this.telemetryContext.sportsCard.contract.ext,{zone:this.telemetryContext.sportsCard.contract.zone}))}}(0,i.gn)([$.Lj],w.prototype,"colormode",void 0),(0,i.gn)([O.LO],w.prototype,"telemetryContext",void 0),(0,i.gn)([O.LO],w.prototype,"reportOptions",void 0),(0,i.gn)([O.LO],w.prototype,"feedbackTelemetryContext",void 0),(0,i.gn)([O.LO],w.prototype,"sendTelemetryObject",void 0),(0,i.gn)([O.LO],w.prototype,"sportsIssues",void 0);let D=class extends w{};D=(0,i.gn)([(0,r.M)({name:"sports-feedback",template:y,styles:g})],D)},90282:function(e,t,o){o.d(t,{q:function(){return x}});var i=o(33940),r=o(89346),n=o(44541),a=o(65620);class s extends n.V{constructor(){super(...arguments),this.headinglevel=2,this.dismiss=()=>{this.$emit("action-dialog-dismiss")}}}(0,i.gn)([(0,a.Lj)({attribute:"headline"})],s.prototype,"headline",void 0);var p=o(32804),l=o(53046),d=o(67020);const c=l.i`
    ${(0,d.j)("flex")} :host {
        --dialog-height: var(--action-dialog-height, auto);
        --dialog-width: var(--action-dialog-width, auto);
        --button-border-radius: 20px;
        --button-min-width: 160px;
        --control-corner-radius: 2px;
        --dialog-padding: 24px;
        --space-above-title: 20px;
        --space-between-buttons: 8px;
        z-index: var(--action-dialog-z-index, 0);
    }

    .body {
        margin: 0 var(--dialog-padding) var(--dialog-padding) var(--dialog-padding);
    }

    .content {
        display: flex;
        flex-direction: column;
    }

    .controls {
        display: grid;
        grid-template-columns: auto auto;
        grid-gap: var(--space-between-buttons);
        justify-content: center;
    }

    .heading {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: 1;
        position: relative;
        width: 100%;
    }

    .heading span {
        font-size: ${p.mWK};
        font-weight: 600;
        line-height: ${p.ipv};
        margin-inline-start: var(--dialog-padding);
        margin-top: var(--space-above-title);
    }
`;var g=o(39181),u=o(13988),b=o(58952);const h=g.d`
    <div class="positioning-region" part="positioning-region">
        ${(0,u.g)((e=>e.modal),g.d`
                <div
                    class="overlay"
                    part="overlay"
                    role="presentation"
                    tabindex="-1"
                    @click="${e=>e.dismiss()}"
                ></div>
            `)}
        <div
            role="dialog"
            class="control"
            part="control"
            aria-modal="${e=>e.modal}"
            aria-describedby="${e=>e.ariaDescribedby}"
            aria-labelledby="${e=>e.ariaLabelledby}"
            aria-label="${e=>e.ariaLabel}"
            ${(0,b.i)("dialog")}
        >
            <div class="heading" part="heading">
                <span role="heading" aria-level=${e=>e.headinglevel}>${e=>e.headline}</span>
                <slot name="close-button" aria-hidden="true"></slot>
            </div>
            <div class="body" part="body">
                <div class="content" part="content">
                    <slot></slot>
                </div>
                <div class="controls" part="controls">
                    <slot name="action-button"></slot>
                    <slot name="cancel-button"></slot>
                </div>
            </div>
        </div>
    </div>
`;var k=o(62734);const v=l.i`
  :host([hidden]) {
    display: none;
  }

  :host {
    --elevation: 14;
    --dialog-height: 480px;
    --dialog-width: 640px;
    display: block;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    touch-action: none;
  }

  .positioning-region {
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: auto;
  }

  .control {
    ${k.XC}
    margin-top: auto;
    margin-bottom: auto;
    border-radius: calc(${p.rSr} * 1px);
    width: var(--dialog-width);
    height: var(--dialog-height);
    background: ${p.IfY};
    z-index: 1;
    border: calc(${p.Han} * 1px) solid transparent;
  }
`;let x=class extends s{};x=(0,i.gn)([(0,r.M)({name:"msn-action-dialog",template:h,styles:[v,c],shadowOptions:{delegatesFocus:!0}})],x)}}]);A
Eo