     class="done bottom-end-button"
    >
        ${e=>e.strings.moreInterestsBtnText}
    </fluent-button>
`,o=i.d`
    <div class="see-more"
        @click="${e=>e.errorPageClickHandler()}"
        @keypress="${(e,t)=>e.errorPageClickHandler(t&&t.event)}"
        tabindex="0"
        title="${e=>e.strings.moreInterestsBtnAriaLabel}"
        aria-label="${e=>e.strings.moreInterestsBtnAriaLabel}"
        role="button"
        data-t="${e=>{var t;return null===(t=e.RecommendedInterestsVM.telemetry)||void 0===t?void 0:t.seeMorePageButton}}"
    >
        <div class="header">
            <img src="${e=>e.RecommendedInterestsVM.errorImage}" />
        </div>
        <div class="stage-content">
            <div class="heading-container" role="heading" aria-level="1">
                <h1 class="heading">${e=>e.strings.moreInterestsHeader}</h1>
                <h2 class="sub-heading">${e=>e.strings.moreInterestsSubHeader}</h2>
            </div>
        </div>
        <div class="footer">
            ${r}
        </div>
    </div>
`,s=i.d`
    <fluent-button
        tabindex="0"
        appearance="accent"
        class="done bottom-end-button"
        @click="${(e,t)=>e.doneClickHandler()}"
        title="${e=>e.strings.updateBtnText}"
        aria-label="${e=>e.strings.updateBtnText}"
        role="button"
        ?disabled="${e=>e.RecommendedInterestsVM.disableDoneButton||null}"
        data-t="${e=>{var t,a;return null===(a=null===(t=e.RecommendedInterestsVM)||void 0===t?void 0:t.telemetry)||void 0===a?void 0:a.updateFeed}}"
    >
        ${e=>e.strings.updateBtnText}
    </fluent-button>
`;var d=a(10446);const l=i.d`
    <button
        tabindex="0"
        class="dismiss"
        @click="${e=>e.dismissClickHandler()}"
        @keypress="${e=>e.dismissClickHandler()}"
        title="${e=>e.strings.hideThisText}"
        aria-label="${e=>e.strings.hideThisText}"
        data-t="${e=>{var t,a;return null===(a=null===(t=e.RecommendedInterestsVM)||void 0===t?void 0:t.telemetry)||void 0===a?void 0:a.dismissBtn}}"
    >
        ${d.Z}
    </button>
`;var c=a(18864),u=a(33940),p=a(89346),g=a(65620);class h extends p.H{toggleSelected(){this.selected=!this.selected,this.$emit("selected-state-changed",{selected:this.selected})}handleKeyPress(e){e&&"Enter"===e.key&&this.toggleSelected()}}(0,u.gn)([(0,g.Lj)({attribute:"img-src"})],h.prototype,"imgSrc",void 0),(0,u.gn)([g.Lj],h.prototype,"heading",void 0),(0,u.gn)([(0,g.Lj)({attribute:"follow-aria-label"})],h.prototype,"followAriaLabel",void 0),(0,u.gn)([(0,g.Lj)({attribute:"unfollow-aria-label"})],h.prototype,"unfollowAriaLabel",void 0),(0,u.gn)([(0,g.Lj)({mode:"boolean"})],h.prototype,"selected",void 0),(0,u.gn)([(0,g.Lj)({attribute:"select-telemetry-tag"})],h.prototype,"selectTelemetryTag",void 0),(0,u.gn)([(0,g.Lj)({attribute:"unselect-telemetry-tag"})],h.prototype,"unselectTelemetryTag",void 0);var m=a(62734),f=a(32804),v=a(56201),b=a(67020),C=a(16859),y=a(53046);const x=y.i`
    :host {
        background: rgba(255, 255, 255, 0.65);
    }

    :host,
    :host * {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    :host(:hover),
    :host(:${v.b}) {
        --elevation: 4;
        ${m.XC};
    }

    :host(:hover),
    :host(:${v.b}),
    :host([selected]) {
        background: white;
    }

    .heading {
        color: ${f.Q5n}
    }
`,w=y.i`
    :host {
        background: rgba(255, 255, 255, 0.2);
    }

    :host(:hover) {
        border-color: #F0F0EF;
    }

    :host(:hover),
    :host([selected]),
    :host(:${v.b}) {
        background: rgba(255, 255, 255, 0.5);
    }

    .heading {
        color: ${f.CHi}
    }
`,S=y.i`
    ${(0,b.j)("inline-flex")} :host {
        height: 32px;
        padding-top: 4px;
        padding-bottom: 4px;
        padding-inline: 4px 12px;
        border-radius: calc(${f.rSr} * 5px);
        outline: none;
        cursor: pointer;
        align-items: center;
        border: 1px solid transparent;
        box-sizing: border-box;
    }

    :host([selected]),
    :host(:${v.b}),
    :host(:hover) {
        padding-inline-start: 6px;
    }

    :host(:${v.b}) {
        border-color: ${f.Avx}
    }

    .heading {
        max-width: 82px;
        font-weight: 600;
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: inline-block;
    }

    .image {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        margin-inline-end: 8px;
    }

    :host(:hover) .image,
    :host(:${v.b}) .image {
        display: none;
    }

    .icon {
        width: 20px;
        height: 20px;
        margin-inline-end: 10px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        border: 1px solid transparent;
        box-sizing: border-box;
    }

    .check-icon {
        background: ${f.Avx};
        border-color: ${f.Avx};
        fill: white;
    }

    .add-icon {
        background: #FFFFFF;
        border-color: rgba(0, 0, 0, 0.25);
        fill: #212121;
        display: none;
    }

    :host(:hover) .add-icon,
    :host(:${v.b}) .add-icon {
        display: flex;
    }
`.withBehaviors(new C.Y(x,w));var T=a(99478),k=a(68402),$='<svg width="12" height="12" viewBox="0 0 12 12"><path d="M9.76 3.2c.3.29.32.76.04 1.06l-4.25 4.5a.75.75 0 0 1-1.08.02L2.22 6.53a.75.75 0 0 1 1.06-1.06l1.7 1.7L8.7 3.24a.75.75 0 0 1 1.06-.04Z"/></svg>';const A=i.d`
    <template
        tabindex="0"
        role="button"
        title="${e=>e.selected?(0,T.WU)(e.unfollowAriaLabel,e.heading):(0,T.WU)(e.followAriaLabel,e.heading)}"
        aria-label="${e=>e.selected?(0,T.WU)(e.unfollowAriaLabel,e.heading):(0,T.WU)(e.followAriaLabel,e.heading)}"
        aria-pressed="${e=>!!e.selected}"
        @click="${e=>e.toggleSelected&&e.toggleSelected()}"
        @keypress="${(e,t)=>e.handleKeyPress&&e.handleKeyPress(t.event)}"
        data-t="${e=>e.selected?e.unselectTelemetryTag:e.selectTelemetryTag}"
    >
        ${(0,n.g)((e=>e.selected),i.d`
            <span class="icon check-icon">${$}</span>
        `)}
        ${(0,n.g)((e=>!e.selected),i.d`
            <img class="image" src="${e=>e.imgSrc}"/>
            <span class="icon add-icon">${k.Z}</span>
        `)}
        <span class="heading">${e=>e.heading}</span>
    </template>
`;let I=class extends h{};I=(0,u.gn)([(0,p.M)({name:"msn-follow-pill-button",template:A,styles:S})],I);const D=i.d`
    <msn-follow-pill-button
        class="focusable-artifact pill"
        img-src=${e=>e.imgSrc}
        follow-aria-label=${e=>e.selectAriaLabel}
        unfollow-aria-label=${e=>e.unselectAriaLabel}
        heading=${e=>e.name}
        selected=${e=>e.selected}
        select-telemetry-tag=${e=>e.selectTelemetryTag}
        unselect-telemetry-tag=${e=>e.unselectTelemetryTag}
        @selected-state-changed="${(e,t)=>e.updateItemSelection&&e.updateItemSelection(t.event)}"
    >
        ${e=>e.name}
    </msn-follow-pill-button>
`,M=i.d`
    <div class="pill-row">
        ${(0,c.rx)((e=>e),D,{positioning:!0})}
    </div>
`,O=i.d`
    <div class="pill-rows">
        ${(0,c.rx)((e=>e.RecommendedInterestsVM.pillTemplateContent.content),M,{positioning:!0})}
    </div>
`;class L extends p.H{toggleSelected(){this.selected=!this.selected,this.$emit("selected-state-changed",{selected:this.selected})}handleKeyPress(e){e&&"Enter"===e.key&&this.toggleSelected()}}(0,u.gn)([(0,g.Lj)({attribute:"img-src"})],L.prototype,"imgSrc",void 0),(0,u.gn)([g.Lj],L.prototype,"heading",void 0),(0,u.gn)([(0,g.Lj)({attribute:"follow-aria-label"})],L.prototype,"followAriaLabel",void 0),(0,u.gn)([(0,g.Lj)({attribute:"unfollow-aria-label"})],L.prototype,"unfollowAriaLabel",void 0),(0,u.gn)([(0,g.Lj)({mode:"boolean"})],L.prototype,"selected",void 0),(0,u.gn)([(0,g.Lj)({attribute:"select-telemetry-tag"})],L.prototype,"selectTelemetryTag",void 0),(0,u.gn)([(0,g.Lj)({attribute:"unselect-telemetry-tag"})],L.prototype,"unselectTelemetryTag",void 0);var F=a(40082),P=a(15933);const R=y.i`
    :host(:hover) {
        outline: 1px solid transparent;
        box-shadow: 0 0 0 1px ${f.QOc};
    }
`,_=y.i`
    ${(0,b.j)("flex")} :host {
        --elevation: 4;
        cursor: pointer;
        overflow: hidden;
        ${m.XC};
        width: var(--width, 84px);
        height: var(--height, 84px);
        border-radius: calc(var(--layer-corner-radius) * 1.5px);
        outline: none;
        align-items: center;
        position: relative;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;   
    }

    .check-icon {
        background: ${f.Avx};
        border: 1px solid ${f.Avx};
        fill: white;
    }

    .icon-container {
        width: 100%;
        position: absolute;
        top: 0px;
        display: flex;
        justify-content: flex-end;
    }

    .icon {
        margin: 6px;
        width: 20px;
        height: 20px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
    }

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

    :host(:hover) .mask,
    :host(:${v.b}) .mask {
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(29, 29, 29, 0.65) 71.52%);
    }

    :host(:${v.b}) {
        outline: 1px solid transparent;
        box-shadow: 0 0 0 1px ${f.Avx};
    }

    .follow-icon {
        background: #FFFFFF;
        border: 1px solid rgba(0, 0, 0, 0.25);
        fill: #212121;
    }

    .heading {
        width: 85%;
        margin: 8px 6px;
        color: white;
        text-align: start;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 600;
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
        max-height: calc(var(--type-ramp-minus-1-line-height) * 2);
        position: absolute;
        bottom: 0;
    }

    .image {
        width: 100%;
    }

    .mask {
        position: absolute;
        top: 30%;
        left: 0;
        width: 100%;
        height: 70%;
        background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(29, 29, 29, 0.65) 71.52%);
    }
`.withBehaviors((0,F.vF)(y.i`
                .icon > svg {
                    fill: ${P.H.ButtonFace};
                }
                
                .icon {
                    background: ${P.H.ButtonText};
                }
                
                :host(:hover) .icon,
                :host(:${v.b}) .icon {
                    background: ${P.H.HighlightText};
                }
                
                :host(:hover) .icon > svg,
                :host(:${v.b}) .icon > svg {
                    fill: ${P.H.Highlight};
                }
            `),new C.Y(y.i``,R)),E=i.d`
    <template
        tabindex="0"
        role="button"
        title="${e=>e.selected?e.unfollowAriaLabel&&(0,T.WU)(e.unfollowAriaLabel,e.heading):e.followAriaLabel&&(0,T.WU)(e.followAriaLabel,e.heading)}"
        aria-label="${e=>e.selected?e.unfollowAriaLabel&&(0,T.WU)(e.unfollowAriaLabel,e.heading):e.followAriaLabel&&(0,T.WU)(e.followAriaLabel,e.heading)}"
        @click="${e=>e.toggleSelected&&e.toggleSelected()}"
        @keypress="${(e,t)=>e.handleKeyPress&&e.handleKeyPress(t.event)}"
        data-t="${e=>e.selected?e.unselectTelemetryTag:e.selectTelemetryTag}"
    >
        <img role="none" class="image" src="${e=>e.imgSrc}"/>
        <div class="mask"></div>
        <span role="presentation" class="heading" part="heading">
            ${e=>e.heading}
        </span>
        <div role="none" class="icon-container">
            <span class="icon${e=>e.selected?" check-icon":" follow-icon"}">
                ${e=>e.selected?i.d`${$}`:i.d`${k.Z}`}
            </span>
        </div>
    </template>
`;let H=class extends L{};H=(0,u.gn)([(0,p.M)({name:"msn-follow-square-card",template:E,styles:_})],H);const N=i.d`
    <msn-follow-square-card
        class="focusable-artifact"
        img-src=${e=>e.imgSrc}
        follow-aria-label=${e=>e.selectAriaLabel}
        unfollow-aria-label=${e=>e.unselectAriaLabel}
        heading=${e=>e.name}
        selected=${e=>e.selected}
        select-telemetry-tag=${e=>e.selectTelemetryTag}
        unselect-telemetry-tag=${e=>e.unselectTelemetryTag}
        @selected-state-changed="${(e,t)=>e.updateItemSelection&&e.updateItemSelection(t.event)}"
    >
    </msn-follow-square-card>
`,z=i.d`
    ${(0,c.rx)((e=>e.RecommendedInterestsVM.squareTemplateContent.content),N)}
`;const U=i.d`
    <fluent-button
        slot="bottom-start"
        tabindex="0"
        class="see-more-button bottom-end-button"
        title="${e=>e.strings.seeMoreBtnAriaLabel}"
        aria-label="${e=>e.strings.seeMoreBtnAriaLabel}"
        role="button"
        ?disabled="${e=>e.RecommendedInterestsVM.disableSeeMoreButton||null}"
        data-t="${e=>{var t,a;return null===(a=null===(t=e.RecommendedInterestsVM)||void 0===t?void 0:t.telemetry)||void 0===a?void 0:a.refresh}}"
        @click="${(e,t)=>e.seeMoreBtnClickHandler(t)}"
    >
        <span slot="start">${'<svg width="8" height="12" viewBox="0 0 8 12"><path d="M5.35 2.85a.5.5 0 0 0 0-.7L4.1.9a.5.5 0 0 0-.7.7l.4.4A4 4 0 0 0 .9 8.54a.5.5 0 0 0 .78-.63A3 3 0 0 1 3.79 3l-.4.39a.5.5 0 1 0 .71.7l1.25-1.25Zm.84.38a.5.5 0 0 0-.01.7A3 3 0 0 1 4.22 9l.38-.39a.5.5 0 1 0-.7-.7L2.65 9.15a.5.5 0 0 0 0 .7L3.9 11.1a.5.5 0 0 0 .7-.7l-.4-.4a4 4 0 0 0 2.7-6.75.5.5 0 0 0-.7-.02Z"/></svg>'}</span>
        ${e=>e.strings.seeMoreBtnText}
    </fluent-button>
`,j=i.d`
    ${(0,n.g)((e=>e.RecommendedInterestsVM.squareTemplateContent),z)}
    ${(0,n.g)((e=>e.RecommendedInterestsVM.pillTemplateContent),O)}
`,B=i.d`
    <div class="heading-container" tabindex="0" role="heading" aria-level="1">
        <h1 class="heading">${e=>e.strings.header}</h1>
        <h2 class="sub-heading">${e=>e.strings.subHeader}</h2>
    </div>
`,W=i.d`
    <div class="inline-toast">
        <span>${e=>e.showInlineErrorToast?e.strings.inlineToastErrorText:e.strings.inlineToastInterestText}</span>
    <div>
`;const G=i.d`
    <div class="grid ${e=>function(e){return e.RecommendedInterestsVM.squareTemplateContent?"square-tmpl":"pill-tmpl"}(e)}">
        ${B}
        <div class="stage-content" aria-live="polite">
            ${j}
        </div>
        <div class="footer">
            ${U}
            ${s}
        </div>
    </div>
    ${(0,n.g)((e=>e.showInlineInterestToast),i.d`${W}`)}
    ${(0,n.g)((e=>e.showInlineErrorToast),i.d`${W}`)}
    ${l}
`,V=i.d`
    <template
        data-t="${e=>{var t,a;return null===(a=null===(t=e.RecommendedInterestsVM)||void 0===t?void 0:t.telemetry)||void 0===a?void 0:a.modules.RecommendedInterests}}"
    >
        <div class="background">
            ${(0,n.g)((e=>!e.RecommendedInterestsVM.errorPage),G)}
            ${(0,n.g)((e=>e.RecommendedInterestsVM.errorPage),o)}
        </div>
    </template>
`},21616:function(e,t,a){"use strict";a.d(t,{N:function(){return i}});const i=["prg-wpo-ss","prg-dr-infopanec","prg-title-2","prg-trending","prg-trendingc","prg-ad-ctav2","prg-ad-sh-v1","prg-ad-sh-v1-c","prg-ad-sh-v3","prg-ad-sh-v4","prg-ad-sh-v3v4-c","prg-ad-hover","prg-ad-hover-c","prg-ad-combo","prg-ad-combo2","prg-ad-combo-c","prg-ad-shortg","prg-ad-shortgc"]},35772:function(e,t,a){"use strict";a.d(t,{Q:function(){return r}});const i={Tenorite:"https://assets.msn.com/staticsb/statics/latest/fonts/tenorite/tenorite.woff2",Lora:"https://assets.msn.com/staticsb/statics/latest/fonts/lora/lora-regular.woff2"},n=new Set,r=e=>{const t=i[e];if(!t||n.has(e))return;const a=document.createElement("style");a.setAttribute("type","text/css"),a.appendChild(document.createTextNode(`@font-face {font-family:${e};src:url("${t}") format('woff2');}`)),document.head.appendChild(a),n.add(e)}},74045:function(e,t,a){"use strict";var i,n;a.d(t,{KE:function(){return o},O7:function(){return i},Qp:function(){return s},Us:function(){return n},XQ:function(){return r}}),function(e){e[e.none=0]="none",e[e.enabled=1]="enabled",e[e.saved=2]="saved",e[e.hide=4]="hide",e[e.showMore=8]="showMore",e[e.showFewer=16]="showFewer",e[e.mute=32]="mute",e[e.hidden=64]="hidden",e[e.report=128]="report",e[e.adFeedbackSubmitted=256]="adFeedbackSubmitted",e[e.hideTopic=512]="hideTopic",e[e.dismiss=1024]="dismiss",e[e.adPrivacy=2048]="adPrivacy"}(i||(i={})),function(e){e.Hide="Hide",e.Like="Like",e.Disabled="Disabled",e.Dislike="Dislike",e.Mute="Mute",e.Save="Save",e.Share="Share",e.ShowMore="ShowMore",e.ShowFewer="ShowFewer",e.Divider="Divider",e.Report="Report",e.ManageInterests="ManageInterests",e.ReportAd="ReportAd",e.AdPrivacy="AdPrivacy",e.HideTopic="HideTopic"}(n||(n={}));const r=e=>{const t=[],a={AdultImage:"AdultImage",RacyImage:"RacyImage",TextProfanity:"TextProfanity",SubstanceAbuse:"SubstanceAbuse",Violence:"Violence",Misinformation:"Misinformation",Other:"Other"};return e&&Object.keys(e).forEach((i=>{e[i]&&t.push(a[i])})),t},o="/service/feedback/api/reportanissue",s="https://assets.msn.cn/service/feedback/api/reportanissue"},39935:function(e,t,a){"use strict";a.d(t,{I:function(){return M}});var i,n=a(33940),r=a(83097),o=a(33799),s=a(74045),d=a(26415),l=a(68364),c=a(16517),u=a(54804),p=a(38156),g=a(65135),h=a(63535),m=a(67267),f=a(87298),v=a(56698),b=a(94546),C=a(66925),y=a(85334);!function(e){e[e.feedbackDefault=2224]="feedbackDefault",e[e.windowsFeed=2475]="windowsFeed"}(i||(i={}));class x{constructor(){this.manifestType="Sas",this.appId=i.feedbackDefault,this.source="Client",this.type="Idea"}}var w=a(33379),S=a(98429),T=a(90351),k=a(9344),$=a(51671),A=a(51125);class I extends class{constructor(e,t){this.fetchImpl=e,this.additionalHeaders=t,this.isWindowsDashboard="newsAndInterests"===c.jG.AppType||"windowsNewsPlus"===c.jG.AppType||"winWidgets"===c.jG.AppType,this.isWindowsNewsbar="windowsNewsbar"===c.jG.AppType,this.isStartGG="gaming"===c.jG.AppType,this.providersServiceEndpointURL=(0,h.PH)("./Msn/Providers"),this.cardActionsServiceEndpointURL=(0,h.PH)("./Graph/Actions"),this.userFeedbackEventhubUrl="/labs/api/feedbackSignal",this.ocid="feeds",this.isWindowsDashboard?this.ocid="winp2":this.isWindowsNewsbar?this.ocid="winp0dash":u.Al.IsBlendedEnterprise?this.ocid="entnewsntp":this.isStartGG&&(this.ocid="startgg-feeds")}ShowFewer(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.PostCardActionRequest(e,s.Us.Dislike,null)}))}UnshowFewer(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.DeleteCardActionRequest(e,s.Us.Dislike)}))}ShowMore(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){return this.PostCardActionRequest(e,s.Us.Like,null,t)}))}UnshowMore(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.DeleteCardActionRequest(e,s.Us.Like)}))}Save(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.PostCardActionRequest(e,s.Us.Save)}))}Unsave(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.DeleteCardActionRequest(e,s.Us.Save)}))}Hide(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){return this.PostCardActionRequest(e,s.Us.Dislike,null,t)}))}Unhide(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.DeleteCardActionRequest(e,s.Us.Dislike)}))}Mute(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.PostCardActionRequest(e,s.Us.Mute,"SourceProvider")}))}Unmute(e){return(0,n.mG)(this,void 0,void 0,(function*(){return this.DeleteCardActionRequest(e,s.Us.Mute)}))}Disable(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){return this.PostCardActionRequest(e,s.Us.Disabled,t)}))}Report(e,t,a,i,r,o,d,l,f){return(0,n.mG)(this,void 0,void 0,(function*(){const n=u.Al.ClientSettings?u.Al.ClientSettings.aid:"",v=c.jG&&c.jG.HostPage.topDomain,b=r===p.uH.WebContent?"web":"msn",C=(0,s.XQ)(f),y=(0,S.pW)();let x="";const w={serviceType:"oneservice",oneServiceTraceId:"",oneServiceActivityId:n};"windows"===c.jG.AppType&&(x=g.M0.getPageMetadata().JoinIdProps.IDXId,w.oneServiceTraceId="",w.oneServiceActivityId=n),g.M0.sendTraceInfoEvent(w);const T=JSON.stringify({article:{id:e},canvas:{name:c.jG.AppType,version:navigator.userAgent,pageType:u.Al.ClientSettings.pagetype},data:{activityId:n,feedbackTags:t,feedbackText:a},appEnvironment:c.jG,clientSettings:u.Al.ClientSettings,extSchema:w}),k=JSON.stringify({activityId:y,market:c.jG&&c.jG.CurrentMarket||"",contentId:e,source:b,headlineImage:d&&d.src,headlineText:i,abstract:o,offensive:C,url:l}),$=(0,h.qQ)().origin+this.userFeedbackEventhubUrl,A="msn.cn"===v?s.Qp:(0,h.qQ)().origin+s.KE,I=Object.assign(Object.assign({},yield m.$.getOneServiceHeaders()),this.additionalHeaders),D=Object.assign(Object.assign({},I),{"Content-Type":"application/json"});this.reportFeedbackService(T,$,I),0!=C.length&&this.reportFeedbackService(k,A,D)}))}reportFeedbackService(e,t,a){return(0,n.mG)(this,void 0,void 0,(function*(){const i={method:"POST",headers:a,body:e,credentials:"include"};let n;try{if(n=yield fetch(t,i),n.status>=400)throw new Error(n.statusText)}catch(e){g.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.Ceo.CardActionPostActionError),{message:"Error while posting action for card action",pb:Object.assign(Object.assign({},d.Ceo.CardActionPostActionError.pb),{customMessage:`url: ${t}, error: ${e}`})}))}return n}))}reportNonCMS(e,t,a,i){return(0,n.mG)(this,void 0,void 0,(function*(){this.ReportOCV(e,t,a,i)}))}ReportOCV(e,t,a,i){return(0,n.mG)(this,void 0,void 0,(function*(){let n=!1;const r="https://petrol.office.microsoft.com/v1/feedback",o=this.createOcvFeedbackData(e,t,a,i),s={method:"POST",mode:"cors",cache:"no-cache",headers:{"Content-Type":"application/json"},body:JSON.stringify(o)};try{const e=yield this.fetchImpl(r,s);if(e.ok)n=!0;else{const t=`Error code: ${e.status} Error message: ${e.statusText} Request params: ${s} Service url: ${r}`;(0,l.H)(d.Ceo.CardActionBadRequestReportingToOcv,"Request is not valid, it has no content, or the manifest is not formatted correctly",t)}}catch(e){const t=`Error code: ${e?e.code:"undefined"} Error message: ${e?e.message:"undefined"} Request params: ${s} Service url: ${r}`;(0,l.OO)(e,d.Ceo.CardActionExceptionReportingToOcv,"Exception reporting feedback to OCV",t)}}))}createOcvFeedbackData(e,t,a,i){var n,r,o,s;const d=new x,l=null===u.Al||void 0===u.Al?void 0:u.Al.ClientSettings,p=null===c.jG||void 0===c.jG?void 0:c.jG.HostPage,h=(null==l?void 0:l.aid)||"";let m="";const f=(null===(r=null===(n=null===c.jG||void 0===c.jG?void 0:c.jG.CurrentRequestTargetScope)||void 0===n?void 0:n.pageExperiments)||void 0===r?void 0:r.join(","))||"",v=null===(o=null===c.jG||void 0===c.jG?void 0:c.jG.CurrentRequestTargetScope)||void 0===o?void 0:o.browser;return m=g.M0.getPageMetadata().JoinIdProps.IDXId,d.submitTime=(new Date).toISOString(),d.clientFeedbackId=(0,S.pW)(),d.comment=a,d.rating=4,d.application={appData:JSON.stringify({ScreenResolution:window&&window.screen?[screen.width,screen.height].join("x"):"",DDDActivityId:m,articleId:e,vertical:p&&p.verticalKey||"Prod"})},d.telemetry={audience:(null===c.jG||void 0===c.jG?void 0:c.jG.CurrentMarket)||"",audienceGroup:"Production",channel:(null==p?void 0:p.categoryKey)||"",deviceType:(null==l?void 0:l.deviceFormFactor)||"",errorClassification:JSON.stringify({NotRelevant:t.NotRelevant,ImageQuality:t.BlurryImage,MisleadingTitle:t.Misleading,OutdatedArticle:t.Outdated,DuplicateArticle:t.Duplicate,OffensiveContent:t.Offensive,Vertical:i}),featureArea:(null==l?void 0:l.pagetype)||"",flights:f,isUserSubscriber:(0,$.hC)(),platform:null===(s=c.jG.CurrentRequestTargetScope)||void 0===s?void 0:s.os,processSessionId:h,sourceContext:c.jG.AppType},d.web={browser:(null==v?void 0:v.browserType)||"",browserVersion:(null==v?void 0:v.version)||"",sourcePageName:(null==p?void 0:p.subcategoryKey)||"",sourcePageURI:""},d}ReportAd(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){const a=e.concat(`&f=${t}`);let i=new Image(1,1);i.src=a,i=null}))}GetProviderIcon(e){return(0,n.mG)(this,void 0,void 0,(function*(){const t=yield this.GetPublisherDetails(e);return(0,T.Z)(t,"value[0].logos[0].imageLink.href",void 0)}))}PostCardActionEvent(e,t,a,i=(()=>null),r,o,d=!0,l,c=5e3,u=!1,p,g){return(0,n.mG)(this,void 0,void 0,(function*(){let n;switch(t){case s.Us.ShowMore:e&s.O7.showMore?(d&&C.h.renderToast({id:y.p.ShowMore+`-${a}`,toastType:y.p.ShowMore,expirationInMs:c,onClick:()=>{r?r(a,e^s.O7.showMore,t,!0):this.PostCardActionEvent(e^s.O7.showMore,t,a,i)},referrerButton:l}),n=yield this.ShowMore(a,g)):(C.h.expireToast(y.p.ShowMore+`-${a}`),n=yield this.UnshowMore(a)),i(a,e);break;case s.Us.ShowFewer:e&s.O7.showFewer?(d&&C.h.renderToast({id:y.p.ShowFewer+`-${a}`,toastType:y.p.ShowFewer,expirationInMs:c,onClick:()=>{r?r(a,e^s.O7.showFewer,t,!0):this.PostCardActionEvent(e^s.O7.showFewer,t,a,i)},referrerButton:l}),n=yield this.ShowFewer(a)):(C.h.expireToast(y.p.ShowFewer+`-${a}`),n=yield this.UnshowFewer(a)),i(a,e);break;case s.Us.Save:e&s.O7.saved?(d&&!u&&C.h.renderToast({id:y.p.Save+`-${a}`,toastType:y.p.Save,expirationInMs:c,referrerButton:l}),n=yield this.Save(a),d&&u&&n&&C.h.renderToast({id:y.p.Save+`-${a}`,toastType:y.p.Save,expirationInMs:c,onClick:()=>this.PostCardActionEvent(e^s.O7.saved,t,a,i),referrerButton:l})):(C.h.expireToast(y.p.Save+`-${a}`),n=yield this.Unsave(a),d&&u&&n&&C.h.renderToast({id:y.p.Unsave+`-${a}`,toastType:y.p.Unsave,onClick:()=>this.PostCardActionEvent(e^s.O7.saved,t,a,i),expirationInMs:c,referrerButton:l})),i(a,e);break;case s.Us.Hide:n=e&s.O7.hide?yield this.Hide(a,g):yield this.Unhide(a),i(a,e);break;case s.Us.HideTopic:n=e&s.O7.hideTopic?yield this.PostCardActionRequest(o,s.Us.Mute,"TagBase"):yield this.DeleteCardActionRequest(o,s.Us.Mute);break;case s.Us.Mute:e&s.O7.mute?(n=yield this.Mute(o),i(a,e,s.Us.Mute,void 0,void 0,o)):n=yield this.Unmute(o);break;case s.Us.ReportAd:i(a,e);break;default:return}if(u&&!n){const{saveStoryErrorText:i,personalizationErrorText:n}=p||{},r=t===s.Us.Save&&e&s.O7.saved?i:n;C.h.renderToast({id:`${y.p.ConnectionError}-${t}-${a}`,toastType:y.p.ConnectionError,inputText:r,expirationInMs:c,referrerButton:l})}}))}GetPublisherDetails(e){return(0,n.mG)(this,void 0,void 0,(function*(){const t=this.providersServiceEndpointURL,a={method:"GET",headers:Object.assign(Object.assign({},yield m.$.getOneServiceHeaders()),this.additionalHeaders)};[{key:"ids",value:e},...yield this.getOneServiceCommonParam()].forEach((e=>e.value&&t.searchParams.set(e.key,e.value)));try{const i=yield(0,f.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){return yield this.fetchImpl(t.href,a)}))),"getProviderDetails");if(!i.ok){const t=`OneService returned error response. Status: ${i.status} for providerId: ${e}`;throw new Error(t)}return i.json()}catch(e){g.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.Ceo.CardActionGetActionError),{message:"Error while calling getPublisherDetails action for card action",pb:Object.assign(Object.assign({},d.Ceo.CardActionDeleteActionError.pb),{customMessage:`url: ${t.href}, error: ${e}`})}))}}))}DeleteCardActionRequest(e,t){return(0,n.mG)(this,void 0,void 0,(function*(){const a=this.cardActionsServiceEndpointURL,i={method:"DELETE",credentials:"include",headers:Object.assign(Object.assign({},yield m.$.getOneServiceHeaders()),this.additionalHeaders)};[{key:"$filter",value:`actionType eq '${t}' and targetId eq '${e}'`},...yield this.getOneServiceCommonParam()].forEach((e=>e.value&&a.searchParams.set(e.key,e.value)));try{const r=yield(0,f.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){return yield this.fetchImpl(a.href,i)}))),`deleteCardAction${t}`);if(r.status>=400){const a=`OneService returned error response. Status: ${r.status} for actionType: ${t} and targetId: ${e}`;throw new Error(a)}return(0,v.bY)(this.getPreloadReloadReason(t)),(0,A.j9)(),r}catch(e){g.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.Ceo.CardActionDeleteActionError),{message:"Error while calling delete action for card action",pb:Object.assign(Object.assign({},d.Ceo.CardActionDeleteActionError.pb),{customMessage:`url: ${a.href}, error: ${e}`})}))}}))}PostCardActionRequest(e,t,a,i){return(0,n.mG)(this,void 0,void 0,(function*(){const r=this.cardActionsServiceEndpointURL,o={method:"POST",body:JSON.stringify({actionType:t,targetId:e,targetType:a,metadata:i}),headers:Object.assign(Object.assign({},yield m.$.getOneServiceHeaders()),this.additionalHeaders),credentials:"include"};(yield this.getOneServiceCommonParam()).forEach((e=>e.value&&r.searchParams.set(e.key,e.value)));try{const i=yield(0,f.w)((()=>(0,n.mG)(this,void 0,void 0,(function*(){return yield this.fetchImpl(r.href,o)}))),`getCardAction${t}`);if(i.status>=400){const n=`OneService returned error response. Status: ${i.status} for actionType: ${t}, targetId: ${e} and targetType: ${a}`;throw new Error(n)}return(0,v.bY)(this.getPreloadReloadReason(t)),(0,A.j9)(),i.json()}catch(e){g.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.Ceo.CardActionPostActionError),{message:"Error while posting action for card action",pb:Object.assign(Object.assign({},d.Ceo.CardActionPostActionError.pb),{customMessage:`url: ${r.href}, error: ${e}`})}))}}))}getOneServiceCommonParam(){return(0,n.mG)(this,void 0,void 0,(function*(){return this.isWindowsDashboard||this.isWindowsNewsbar||this.isStartGG?m.$.getOneServiceParamsWithoutAuth(c.jG.UserId,this.ocid,!1):(yield this.isUserSignedIn())?m.$.getOneServiceParamsWithAuth(c.jG.UserId,this.ocid,!u.Al.IsBlendedEnterprise):"edgeChromium"===c.jG.AppType&&(0,k.ej)("lt")&&(0,k.ej)(r.IR.AppAnonCookieExists)?(g.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.MCu.LtCookieFoundUserNotAuthenticated),{message:"CardActionServiceClient: lt cookie present. "+r.IR.AppAnonCookieExists+" cookie present.",pb:Object.assign({},d.MCu.LtCookieFoundUserNotAuthenticated.pb)})),m.$.getOneServiceParamsWithAuth(c.jG.UserId,this.ocid,!u.Al.IsBlendedEnterprise)):m.$.getOneServiceParamsWithoutAuth(c.jG.UserId,this.ocid,!u.Al.IsBlendedEnterprise)}))}isUserSignedIn(){return(0,n.mG)(this,void 0,void 0,(function*(){if(u.Al.UserIsSignedIn)return!0;return(yield(0,$.XJ)())===o.Hy.SignedIn}))}getPreloadReloadReason(e){switch(e){case s.Us.Mute:return b.T.MutePublisher;case s.Us.Save:return b.T.Save;case s.Us.Like:return b.T.Like;case s.Us.Dislike:return b.T.Dislike;case s.Us.Disabled:return b.T.Disabled;default:return b.T.SettingsChange}}}{constructor(e,t){let a;a=e||((0,w.N)()?window.fetch.bind(window):fetch),super(a,t)}}let D;const M=(e,t)=>D||(D=new I(e,t),D)},4680:function(e,t,a){"use strict";a.d(t,{ph:function(){return c}});var i,n=a(16517),r=a(58155),o=a(54804),s=a(65135),d=a(26415);!function(e){e[e.linksPointToPartner=2]="linksPointToPartner"}(i||(i={}));a(89526);const l={ArticlePreview:"ar",SlideshowPreview:"ss",VideoPreview:"vi"};function c(e,t,a,c){if(e.renderingRestriction===i.linksPointToPartner){if(e.sourceHref)return e.sourceHref;s.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.BO7.MissingPartnerLink),{message:"Content with rendering restriction 'link to partner' is missing source HREF",pb:Object.assign(Object.assign({},d.BO7.MissingPartnerLink.pb),{customMessage:`Content Id: ${e.id}`})}))}if(e.destinationUrl)return e.destinationUrl;const u=(0,n.Yq)().NavTargetHostName,p=l[e.type]||"xx";a=r.c.encodeURIComponentForPrime(a||""),c=r.c.encodeURIComponentForPrime(c||"");const g=encodeURIComponent(e.uriTitle||"");let h="";return o.Al&&o.Al.ClientSettings&&o.Al.ClientSettings.forwardablequeryparams&&(h=`?${o.Al.ClientSettings.forwardablequeryparams}`),`https://${u}/${t}/${a}/${c}/${g}/${p}-${e.id}${h}`}},21858:function(e,t,a){"use strict";a.d(t,{Go:function(){return o},TR:function(){return d},Y6:function(){return l},Yw:function(){return c}});var i=a(94516);const n=new RegExp("\\:([\\d]{2})");function r(){return new Date}function o(e){return(r().getTime()-e.getTime())/1e3}function s(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function d(e,t){return new Date(e.valueOf()+60*t*60*1e3)}function l(e,t){const a=parseInt(t),i=parseInt(n.exec(t)[1]),r=a<0?-1:1,o=new Date(e.getTime()+60*(60*a+r*i)*1e3),s=`0${Math.abs(a)}`.substr(-2)+":"+`0${Math.abs(i)}`.substr(-2);return o.toISOString().replace("Z",(r<0?"-":"+")+s)}function c(e){const t=o(e),a=function(){const e=r();return e.setHours(0,0,0,0),e}(),n=s(a,-1),d=s(a,-6),l=function(){const e=r();return new Date(e.getFullYear(),0,0,0,0,0,0)}();return t>=-3300&&t<-60?i.i.InMinutes:t<0?i.i.None:t<120?i.i.JustNow:t<3600?i.i.LessThanOneHour:e>=a?i.i.Today:e>=n?i.i.Yesterday:e>=d?i.i.ThisWeek:e>=l?i.i.ThisYear:i.i.FullDate}},36569:function(e,t,a){"use strict";var i;a.d(t,{Q:function(){return l}}),function(e){e.Hour="Hour",e.HourMin="HourMin",e.HourTimezone="HourTimezone",e.HourMinTimezone="HourMinTimezone",e.HourTimezoneLong="HourTimezoneLong",e.HourMinTimezoneLong="HourMinTimezoneLong",e.DayWeek="DayWeek",e.MonthDayYear="MonthDayYear",e.LongMonthDayYear="LongMonthDayYear",e.MonthDay="MonthDay",e.Year="Year",e.Month="Month",e.MonthShort="MonthShort",e.Day="Day",e.Week="Week",e.MonthDayWeek="MonthDayWeek",e.MonthDayWeekLong="MonthDayWeekLong"}(i||(i={}));const n=new Map([[i.DayWeek,{weekday:"short",day:"numeric"}],[i.LongMonthDayYear,{month:"long",day:"numeric",year:"numeric"}],[i.MonthDayYear,{month:"short",day:"numeric",year:"numeric"}],[i.MonthDay,{month:"short",day:"numeric"}],[i.Year,{year:"numeric"}],[i.Month,{month:"numeric"}],[i.MonthShort,{month:"short"}],[i.Day,{day:"numeric"}],[i.Hour,{hour:"numeric"}],[i.HourMin,{hour:"numeric",minute:"numeric"}],[i.HourTimezone,{hour:"numeric",timeZoneName:"short"}],[i.HourMinTimezone,{hour:"numeric",minute:"numeric",timeZoneName:"short"}],[i.HourTimezoneLong,{hour:"numeric",timeZoneName:"long"}],[i.HourMinTimezoneLong,{hour:"numeric",minute:"numeric",timeZoneName:"long"}],[i.Week,{weekday:"short"}],[i.MonthDayWeek,{weekday:"short",month:"short",day:"numeric"}],[i.MonthDayWeekLong,{weekday:"long",month:"long",day:"numeric"}]]),r=["en-us","en-gb","el-gr"],o=[i.DayWeek,i.HourTimezoneLong,i.HourMinTimezoneLong,i.MonthDay,i.MonthShort,i.Week,i.MonthDayWeek],s=new Map([["default",{longPm:"pm",shortPm:"p",longAm:"am",shortAm:"a"}],["el-gr",{longPm:"μ.μ.",shortPm:"μ",longAm:"π.μ.",shortAm:"π"}]]),d=new Map([["default",{hour:"numeric"}],["zh-cn",{hour:"numeric",hour12:!1}],["zh-tw",{hour:"numeric",hour12:!1}],["zh-hk",{hour:"numeric",hour12:!1}]]);class l{constructor(e,t){this.locale=e||"en-us",this.timeZone=t||void 0,this.hour12=Intl.DateTimeFormat(this.locale,d.get(this.locale)||d.get("default")).resolvedOptions().hour12,this.localeOption=s.get(this.locale)||s.get("default"),this.timeFormats=new Map,this.timeFormatsEnGb=new Map,this.timeFormatsEnUs=new Map}formatHour(e,t){return this.formatDateTimeFormatText(e,i.Hour,Object.assign({},t))}formatYear(e,t){return this.formatDateTimeFormatText(e,i.Year,Object.assign({},t))}formatMonth(e,t){return this.formatDateTimeFormatText(e,i.Month,Object.assign({},t))}formatMonthShort(e,t){return this.formatDateTimeFormatText(e,i.MonthShort,Object.assign({},t))}formatDay(e,t){return this.formatDateTimeFormatText(e,i.Day,Object.assign({},t))}formatHourLabel(e){return this.formatHour(e,{excludeSpace:!1})}formatHourMinute(e,t){return this.formatDateTimeFormatText(e,i.HourMin,Object.assign({},t))}formatHourTimezone(e,t,a=!1){let n=i.HourTimezone;return a&&(n=i.HourTimezoneLong),this.formatDateTimeFormatText(e,n,Object.assign({},t))}formatHourMinuteTimezone(e,t,a=!1){let n=i.HourMinTimezone;return a&&(n=i.HourMinTimezoneLong),this.formatDateTimeFormatText(e,n,Object.assign({},t))}formatDayWithWeek(e,t){let a=this.formatDateTimeFormatText(e,i.DayWeek,Object.assign({},t));if(t&&a.indexOf(",")<0&&a.indexOf(" ")>0){const e=a.split(" ");2!=e.length||isNaN(parseInt(e[0]))||(t.removeWeek?a=e[0]:t.forceWeekdayAhead&&(a=`${e[1]} ${e[0]}`))}return a}formatWeek(e,t){let a=this.formatDateTimeFormatText(e,i.DayWeek,Object.assign({},t));if(a.indexOf(",")<0&&a.indexOf(" ")>0){const e=a.split(" ");2!=e.length||isNaN(parseInt(e[0]))||(a=e[1])}return a}formatLongMonthDayYear(e,t){let a=this.formatDateTimeFormatText(e,i.LongMonthDayYear,Object.assign({},t));if(t&&t.useComma){const n=this.formatDateTimeFormatText(e,i.LongMonthDayYear,Object.assign({},t));a=a.replace(`${n} `,`${n}, `)}return a}formatMonthDayYear(e,t){let a=this.formatDateTimeFormatText(e,i.MonthDayYear,Object.assign({},t));if(t&&t.useComma){const n=this.formatDateTimeFormatText(e,i.MonthDay,Object.assign({},t));a=a.replace(`${n} `,`${n}, `)}return a}formatMonthDay(e,t){return this.formatDateTimeFormatText(e,i.MonthDay,Object.assign({},t))}formatWeekShort(e,t){let a=this.formatDateTimeFormatText(e,i.Week,Object.assign({},t));if(a.indexOf(",")<0&&a.indexOf(" ")>0){const e=a.split(" ");2!=e.length||isNaN(parseInt(e[0]))||(a=e[1])}return a}formatMonthDayWithWeek(e,t){let a=this.formatDateTimeFormatText(e,i.MonthDayWeek,Object.assign({},t));if(t&&t.forceWeekdayAhead&&a.indexOf(",")<0&&a.indexOf(" ")>0){const e=a.split(" ");2!=e.length||isNaN(parseInt(e[0]))||(a=`${e[1]} ${e[0]}`)}return a}formatMonthDayWithWeekLong(e,t){let a=this.formatDateTimeFormatText(e,i.MonthDayWeekLong,Object.assign({},t));if(t&&!t.forceWeekdayAhead&&a.indexOf(",")<a.indexOf(" ")){const e=a.split(",");2==e.length&&(a=`${e[1]}, ${e[0]}`)}return a}getFormatObj(e){let t=e;return this.hour12||(e===i.Hour&&(t=i.HourMin),e===i.HourTimezone&&(t=i.HourMinTimezone),e===i.HourTimezoneLong&&(t=i.HourMinTimezoneLong)),r.indexOf(this.locale)<0&&o.indexOf(t)<0?this.hour12?(this.timeFormatsEnUs.has(t)||this.timeFormatsEnUs.set(t,new Intl.DateTimeFormat("en-us",Object.assign({timeZone:this.timeZone},n.get(t)))),this.timeFormatsEnUs.get(t)):(this.timeFormatsEnGb.has(t)||this.timeFormatsEnGb.set(t,new Intl.DateTimeFormat("en-gb",Object.assign({timeZone:this.timeZone},n.get(t)))),this.timeFormatsEnGb.get(t)):(this.timeFormats.has(t)||this.timeFormats.set(t,new Intl.DateTimeFormat(this.locale,Object.assign({timeZone:this.timeZone},n.get(t)))),this.timeFormats.get(t))}formatDateTimeFormatText(e,t,a){const i=this.getFormatObj(t).format(e);return this.postProcess(i,a)}postProcess(e,t){let a=e;return t&&t.excludeComma&&(a=a.replace(/,/g,"")),t&&t.excludeSpace&&(a=a.replace(/\s/g,"")),a}}},79703:function(e,t,a){"use strict";a.d(t,{$:function(){return r}});var i,n=a(19628);!function(e){e[e.Default=0]="Default",e[e.Medium=1]="Medium",e[e.MonthDate=2]="MonthDate",e[e.Weekday=3]="Weekday",e[e.Time=4]="Time"}(i||(i={}));class r{constructor(){this.dateFormatOptionsMap=new Map,this.setSupportsLocaleSpecifiers(),this.dateFormatOptionsMap.set(i.Medium,{year:"numeric",month:"short",day:"numeric"}),this.dateFormatOptionsMap.set(i.MonthDate,{month:"short",day:"numeric"}),this.dateFormatOptionsMap.set(i.Weekday,{weekday:"short"}),this.dateFormatOptionsMap.set(i.Time,{hour:"numeric",minute:"numeric"})}overrideDateFormat(e,t){e&&t&&this.dateFormatOptionsMap.set(e,t)}localizedDateString(e,t){return this.formatDate(e,i.Default,t)}localizedDateStringMedium(e,t){return this.formatDate(e,i.Medium,t)}localizedMonthDate(e,t){return this.formatDate(e,i.MonthDate,t)}localizedWeekday(e,t){return this.formatDate(e,i.Weekday,t)}formatTimeFromDate(e,t){return this.supportsLocaleSpecifiers&&this.dateFormatOptionsMap?e.toLocaleTimeString(t,this.dateFormatOptionsMap.get(i.Time)):e.toTimeString()}format(e,...t){return e?n.Ld.Format(e,...t):""}localizedNumberString(e,t){return this.supportsLocaleSpecifiers?e.toLocaleString(t):e.toString()}formatDate(e,t,a){let n=null;if(this.supportsLocaleSpecifiers)if(t===i.Default)n=e.toLocaleDateString(a);else if(this.dateFormatOptionsMap){const i=this.dateFormatOptionsMap.get(t);n=e.toLocaleDateString(a,i)}return null===n&&(n=e.toDateString()),null!==n?n.replace(/\u200E/g,"").replace(/\u200F/g,""):n}setSupportsLocaleSpecifiers(){this.supportsLocaleSpecifiers=(()=>{try{(0).toLocaleString("i")}catch(e){return"RangeError"===e.name}return!1})()}}},94516:function(e,t,a){"use strict";var i;a.d(t,{i:function(){return i}}),function(e){e[e.None=0]="None",e[e.JustNow=1]="JustNow",e[e.LessThanOneHour=2]="LessThanOneHour",e[e.Today=3]="Today",e[e.Yesterday=4]="Yesterday",e[e.ThisWeek=5]="ThisWeek",e[e.ThisYear=6]="ThisYear",e[e.FullDate=7]="FullDate",e[e.InMinutes=8]="InMinutes"}(i||(i={}))},11363:function(e,t,a){"use strict";a.d(t,{fh:function(){return c},Xk:function(){return u}});var i=a(79703),n=a(94516),r=a(21858);class o{constructor(e,t,a){this.timeLocStrings=e,this.locale=t,this.locUtility=a}transform(e,t,a){const i=3600,o=86400;if(!e)return"";if(!this.locUtility.supportsLocaleSpecifiers)return t;const s=(0,r.Go)(e);switch((0,r.Yw)(e)){case n.i.None:return"";case n.i.JustNow:return this.timeLocStrings.JustNow;case n.i.LessThanOneHour:return this.timespanString(s,s<120?this.timeLocStrings.NumberMinuteAgo:this.timeLocStrings.NumberMinutesAgo,60);case n.i.Today:return this.timespanString(s,s<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,i);case n.i.Yesterday:if(0===a){const t=this.timeLocStrings.TimeYesterday;return this.locUtility.format(t,this.locUtility.formatTimeFromDate(e,this.locale))}return s<o?this.timespanString(s,s<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,i):this.timespanString(s,s<172800?this.timeLocStrings.NumberDayAgo:this.timeLocStrings.NumberDaysAgo,o);case n.i.ThisWeek:return 0===a?this.locUtility.format(this.timeLocStrings.TimeDayOfWeek,this.locUtility.localizedWeekday(e,this.locale),this.locUtility.formatTimeFromDate(e,this.locale)):this.timespanString(s,s<172800?this.timeLocStrings.NumberDayAgo:this.timeLocStrings.NumberDaysAgo,o);case n.i.ThisYear:return this.locUtility.localizedMonthDate(e,this.locale);default:return this.locUtility.localizedDateStringMedium(e,this.locale)}}timespanString(e,t,a){const i=Math.floor(e/a);return this.locUtility.format(t,this.locUtility.localizedNumberString(i,this.locale))}}const s={JustNow:"Just Now",NumberMinuteAgo:"{0} minute ago",NumberMinutesAgo:"{0} minutes ago",NumberHourAgo:"{0} hour ago",NumberHoursAgo:"{0} hours ago",NumberDayAgo:"{0} day ago",NumberDaysAgo:"{0} days ago",NumberWeekAgo:"{0} week",NumberWeeksAgo:"{0} weeks",NumberMonthAgo:"{0} month",NumberMonthsAgo:"{0} months",NumberYearAgo:"{0} year",NumberYearsAgo:"{0} years",TimeYesterday:"Yesterday at {0}",TimeDayOfWeek:"{0} at {1}"},d={Minute:{one:"{0} دقيقة",two:"دقيقتان",threeToTen:"{0} دقائق",elevenPlus:"{0} دقيقة"},Hour:{one:"{0} ساعة",two:"ساعتان",threeToTen:"{0} ساعات",elevenPlus:"{0} ساعة"},Day:{one:"{0} يوم",two:"يومان",threeToTen:"{0} أيام",elevenPlus:"{0} يوما"},Week:{one:"{0} أسبوع",two:"{0} أسبوع",threeToTen:"{0} أسابيع",elevenPlus:"{0} أسبوعا"},Month:{one:"{0} شهر",two:"{0} شهر",threeToTen:"{0} أشهر",elevenPlus:"{0} شهرا"},Year:{one:"{0} عام",two:"{0} عام",threeToTen:"{0} أعوام",elevenPlus:"{0} عاما"}},l={Week:{one:"{0} שבוע",two:"{0} שבועיים",three:"{0} שבועות"},Month:{one:"{0} חודש",two:"{0} חודשיים",three:"{0} חודשים"},Year:{one:"{0} שנה",two:"{0} שנתיים",three:"{0} שנים"}};function c(e,t,a,n,r,c){const u=t&&t.toLowerCase();if(!(e instanceof Date)||isNaN(e.valueOf()))return"";if(c&&a)return function(e,t,a,i){if(!(e instanceof Date)||isNaN(e.valueOf()))return"";const n=p.MsPerMinute,r=p.MsPerHour,o=p.MsPerDay,s=p.MsPerWeek,c=p.MsPerMonth,u=p.MsPerYear,g=t.getTime()-e.getTime();if(g<n)return a.JustNow||"";let h=u,m="Year";g<r?(h=n,m="Minute"):g<o?(h=r,m="Hour"):g<s?(h=o,m="Day"):g<c?(h=s,m="Week"):g<u&&(h=c,m="Month");const f=/^[Aa][Rr]-/.test(i),v=/^[Hh][Ee]-/.test(i),b=Math.floor(g/h);let C=null;C=f?function(e,t){if(e<2)return d[t].one;if(e<3)return d[t].two;if(e<11)return d[t].threeToTen;return d[t].elevenPlus}(b,m):v?function(e,t,a){if("Minute"==a||"Hour"==a||"Day"==a)return e[`Number${a}${t>1?"s":""}Ago`];if(t<2)return l[a].one;if(t<3)return l[a].two;return l[a].three}(a,b,m):a[`Number${m}${b>1?"s":""}Ago`];return C?C.replace("{0}",b):""}(e,new Date,a,u);if(!a&&"zh-cn"===u)return"";a||(a=s);const g=(r=r||new i.$).localizedDateString(e,u);n||(n=0);return new o(a,u,r).transform(e,g,n)}function u(e){return e.toLocaleString("ja-JP",{hour12:!1,hour:"2-digit",minute:"2-digit",day:"2-digit",month:"2-digit",timeZone:"Asia/Tokyo"}).replace("午後","").replace("午前","")}const p={MsPerMinute:6e4,MsPerHour:36e5,MsPerDay:864e5,MsPerWeek:6048e5,MsPerMonth:2592e6,MsPerYear:31104e6}},59450:function(e,t,a){"use strict";var i,n;a.d(t,{$:function(){return n},p:function(){return i}}),function(e){e.Aicharacter="aicharacter",e.BingHomepage="bingHomepage",e.Channel="channel",e.Community="community",e.ContentTools="contentTools",e.Edge="edge",e.EdgeChromium="edgeChromium",e.Finance="finance",e.FirstParty="firstParty",e.Gaming="gaming",e.HomePage="homePage",e.Hub="hub",e.Health="health",e.MediaSvc="mediasvc",e.Hybrid="hybrid",e.MicrosoftNews="microsoftNews",e.MMX="mmx",e.NewsAndInterests="newsAndInterests",e.Office="office",e.Personalize="personalize",e.Prism="prism",e.qna="qna",e.Recipes="recipes",e.SharedWidgets="sharedWidgets",e.SuperApp="superApp",e.Shopping="shopping",e.Sports="sports",e.Distribution="distribution",e.Traffic="traffic",e.Travel="travel",e.UGC="ugc",e.Views="views",e.Weather="weather",e.WeatherWidgets="weatherWidgets",e.Windows="windows",e.WindowsNewsPlus="windowsNewsPlus",e.WindowsNewsWidgets="winWidgets",e.WindowsShell="windowsShell",e.WindowsShellV2="windowsShellV2",e.WindowsNewsBar="windowsNewsbar"}(i||(i={})),function(e){e.Default="Default",e.WinDashboard="WinDashboard",e.Edge="Edge"}(n||(n={}))},64893:function(e,t,a){"use strict";a.d(t,{$n:function(){return i},bT:function(){return n},cN:function(){return r}});const i=[{id:"ar-ae",value:"ar-ae",displayString:"الإمارات العربية المتحدة (العربية)",direction:"rtl"},{id:"ar-eg",value:"ar-eg",displayString:"مصر (العربية)",direction:"rtl"},{id:"ar-sa",value:"ar-sa",displayString:"المملكة العربية السعودية (العربية)",direction:"rtl"},{id:"bn-in",value:"bn-in",displayString:"India (বাংলা)",direction:"ltr"},{id:"cs-cz",value:"cs-cz",displayString:"Česká republika (čeština)",direction:"ltr"},{id:"da-dk",value:"da-dk",displayString:"Danmark (Dansk)",direction:"ltr"},{id:"de-at",value:"de-at",displayString:"Österreich (Deutsch)",direction:"ltr"},{id:"de-ch",value:"de-ch",displayString:"Schweiz (Deutsch)",direction:"ltr"},{id:"de-de",value:"de-de",displayString:"Deutschland (Deutsch)",direction:"ltr"},{id:"el-gr",value:"el-gr",displayString:"Ελλάδα (ελληνικά)",direction:"ltr"},{id:"en-ae",value:"en-ae",displayString:"United Arab Emirates (English)",direction:"ltr"},{id:"en-au",value:"en-au",displayString:"Australia (English)",direction:"ltr"},{id:"en-ca",value:"en-ca",displayString:"Canada (English)",direction:"ltr"},{id:"en-gb",value:"en-gb",displayString:"United Kingdom (English)",direction:"ltr"},{id:"en-ie",value:"en-ie",displayString:"Ireland (English)",direction:"ltr"},{id:"en-in",value:"en-in",displayString:"India (English)",direction:"ltr"},{id:"en-my",value:"en-my",displayString:"Malaysia (English)",direction:"ltr"},{id:"en-nz",value:"en-nz",displayString:"New Zealand (English)",direction:"ltr"},{id:"en-ph",value:"en-ph",displayString:"Philippines (English)",direction:"ltr"},{id:"en-sg",value:"en-sg",displayString:"Singapore (English)",direction:"ltr"},{id:"en-us",value:"en-us",displayString:"United States (English)",direction:"ltr"},{id:"en-xl",value:"en-xl",displayString:"International Edition (English)",direction:"ltr"},{id:"en-za",value:"en-za",displayString:"South Africa (English)",direction:"ltr"},{id:"es-ar",value:"es-ar",displayString:"Argentina (español)",direction:"ltr"},{id:"es-cl",value:"es-cl",displayString:"Chile (español)",direction:"ltr"},{id:"es-co",value:"es-co",displayString:"Colombia (español)",direction:"ltr"},{id:"es-es",value:"es-es",displayString:"España (español)",direction:"ltr"},{id:"es-mx",value:"es-mx",displayString:"México (español)",direction:"ltr"},{id:"es-pe",value:"es-pe",displayString:"Perú (español)",direction:"ltr"},{id:"es-us",value:"es-us",displayString:"United States (español)",direction:"ltr"},{id:"es-ve",value:"es-ve",displayString:"Venezuela (español)",direction:"ltr"},{id:"es-xl",value:"es-xl",displayString:"América Latina (español)",direction:"ltr"},{id:"fi-fi",value:"fi-fi",displayString:"Suomi (suomi)",direction:"ltr"},{id:"fr-be",value:"fr-be",displayString:"Belgique (français)",direction:"ltr"},{id:"fr-ca",value:"fr-ca",displayString:"Canada (français)",direction:"ltr"},{id:"fr-ch",value:"fr-ch",displayString:"Suisse (français)",direction:"ltr"},{id:"fr-fr",value:"fr-fr",displayString:"France (français)",direction:"ltr"},{id:"fr-xl",value:"fr-xl",displayString:"Afrique francophone (français)",direction:"ltr"},{id:"he-il",value:"he-il",displayString:"ישראל (עברית)",direction:"rtl"},{id:"hi-in",value:"hi-in",displayString:"India (हिंदी)",direction:"ltr"},{id:"hu-hu",value:"hu-hu",displayString:"Magyarország (magyar)",direction:"ltr"},{id:"id-id",value:"id-id",displayString:"Indonesia (Bahasa Indonesia)",direction:"ltr"},{id:"it-it",value:"it-it",displayString:"Italia (italiano)",direction:"ltr"},{id:"ja-jp",value:"ja-jp",displayString:"日本 (日本語)",direction:"ltr"},{id:"ko-kr",value:"ko-kr",displayString:"한국 (한국어)",direction:"ltr"},{id:"mr-in",value:"mr-in",displayString:"India (मराठी)",direction:"ltr"},{id:"nb-no",value:"nb-no",displayString:"Norge (norsk, bokmål)",direction:"ltr"},{id:"nl-be",value:"nl-be",displayString:"België (Nederlands)",direction:"ltr"},{id:"nl-nl",value:"nl-nl",displayString:"Nederland (Nederlands)",direction:"ltr"},{id:"pl-pl",value:"pl-pl",displayString:"Polska (polski)",direction:"ltr"},{id:"pt-br",value:"pt-br",displayString:"Brasil (português)",direction:"ltr"},{id:"pt-pt",value:"pt-pt",displayString:"Portugal (Português)",direction:"ltr"},{id:"ru-xl",value:"ru-xl",displayString:"Международное издание (Pусский)",direction:"ltr"},{id:"ru-ru",value:"ru-ru",displayString:"Россия (Pусский)",direction:"ltr"},{id:"sv-se",value:"sv-se",displayString:"Sverige (svenska)",direction:"ltr"},{id:"te-in",value:"te-in",displayString:"India (తెలుగు)",direction:"ltr"},{id:"th-th",value:"th-th",displayString:"ไทย (ไทย)",direction:"ltr"},{id:"tr-tr",value:"tr-tr",displayString:"Türkiye (Türkçe)",direction:"ltr"},{id:"vi-vn",value:"vi-vn",displayString:"Việt Nam (Tiếng Việt)",direction:"ltr"},{id:"zh-cn",value:"zh-cn",displayString:"中华人民共和国 (简体中文)",direction:"ltr"},{id:"zh-hk",value:"zh-hk",displayString:"香港特别行政區 (繁體中文)",direction:"ltr"},{id:"zh-tw",value:"zh-tw",displayString:"台灣 (繁體中文)",direction:"ltr"}];function n(e,t){return e.displayString<t.displayString?-1:e.displayString>t.displayString?1:0}function r(e){if(""!==document.dir)return"rtl"===document.dir;const t=i.find((t=>t.id===e));return t&&"rtl"===t.direction}},84551:function(e,t,a){"use strict";function i(e,t,a,i,n,r,o,s,d,l,c,u){const p=i&&i.length?i[0]-1:0,g=e&&parseInt(e.substr(4,1)),h=r&&r.slice(p,p+g),m=e&&parseInt(e.substr(1,1)),f=i&&i.length?(i[0]+1)/2:1;return{width:m&&o&&m*o+(m-1)*s,height:h&&h.reduce(((e,t)=>e+t))+(g-1)*s,slot:d||a&&a.substr(4)&&parseInt(a.substr(4)),template:t,row:n||0===n?n+f:void 0,col:l>0?l:i&&i[1],badgeType:c,traceIdIndex:u}}a.d(t,{s:function(){return i}})},41069:function(e,t,a){"use strict";a.d(t,{cI:function(){return N},Fo:function(){return H},Ze:function(){return R},A$:function(){return P},oo:function(){return F},ZO:function(){return k},Yj:function(){return T},FS:function(){return L},dq:function(){return O},gS:function(){return z},Q6:function(){return D},X5:function(){return M},EU:function(){return I},tD:function(){return A},Xr:function(){return E},AV:function(){return _},jr:function(){return $}});var