th)return 0;const e=this.contents.findIndex((e=>!e.isOfferCompleted));return-1!=e?e:0}}(0,l.gn)([u.LO],E.prototype,"currentPageIndex",void 0),(0,l.gn)([u.LO],E.prototype,"contents",void 0),(0,l.gn)([u.LO],E.prototype,"telemetryContext",void 0),(0,l.gn)([u.LO],E.prototype,"isActionMenuOpen",void 0);var H=n(39181),U=n(13988),R=n(75430),j=n(4236),$=n(53271),z=n(33763),W=n(64893);z.S;const Z=H.d`
<msn-actions-menu
    :referrerButton=${e=>e.actionsMenuButtonElement} 
    :menuItems=${e=>e.actionMenuItems}
    defaultHorizontalPosition="start">
</msn-actions-menu>
`,G=(e,t)=>{const n=e?t.strings.ariaLabelNextArrow:t.strings.ariaLabelPreviousArrow,i=t.telemetryContext&&e?t.telemetryContext.nextSlideArrow:t.telemetryContext.previousSlideArrow,r=(0,W.cN)(_.jG.CurrentMarket),o=e!==r;return H.d`
        <fluent-button 
            appearance="neutral"
            class="arrow-circle"
            aria-label=${n}
            title=${n}
            @click="${()=>t.onArrowClick(e)}"
            tabIndex="0"
            data-t=${i||""}
        >
            ${o?j.Z:R.Z}
        </fluent-button>
    `},V=H.d`
    ${(0,U.g)((e=>e.footer),H.d`
        <div class="footer-attribution">
            <span class="footer-icon">
                ${e=>H.d`${e.footer.icon}`}
            </span>    
            <div class="footer-text">${e=>e.footer.name}</div>    
        </div>
    `)}
`,q=H.d`
    <div class="footer">
        <div class="footer-pagination">
            ${(0,U.g)((e=>e.contents.length>1),H.d`
                ${e=>G(!1,e)}
                <span class="indicators">${e=>e.currentPageIndex+1}/${e=>e.contents.length} </span>
                ${e=>G(!0,e)}
            `)}
        </div>
        ${V}
    </div>
`,K=H.d`
${(0,U.g)((e=>e.model&&e.model.provider),H.d`
    <div class="attribution">
        <img
            class="provider-logo"
            src=${e=>e.model.provider&&e.model.provider.image&&e.model.provider.image.src}
            alt=${e=>e.model.provider&&e.model.provider.image&&e.model.provider.image.alt}
        />
        <span class="provider-tittle">
            ${e=>e.model.provider.name}
        </span>
        ${(0,U.g)((e=>e.model.publishedDateTime),H.d`
            <span>
                ${"&middot"}
            </span>
            <span class="published-time" alt-text=${e=>e.model.publishedDateTime}>
                    ${e=>e.model.publishedDateTime}
            </span>
        `)}
    </div>
`)}
`,Y=H.d`
${(0,U.g)((e=>e.model),H.d`
    <a class="content" id="article-link" href="${e=>e.model.url}" target="_blank" data-t="${e=>{var t;return null===(t=e.model.contentTelemetry)||void 0===t?void 0:t.getMetadataTag()}}" @click="${e=>e.onArticleClick()}">
        ${(0,U.g)((e=>e.rewardsDataConnector&&!e.model.isOfferCompleted&&e.model.pointsOffered),H.d`
            <div class="points-container">
                <div class="plus-sign">+</div>
                <div class="point-text">${e=>e.model.pointsOffered}</div>
            </div>
        `)}
        ${(0,U.g)((e=>e.rewardsDataConnector&&e.model.isOfferCompleted&&e.model.pointsOffered),H.d`
            <div class="completion">
                ${'<svg width="26" height="20" viewBox="0 0 26 20" fill="none"><path d="M0 10A10 10 0 0 1 10 0h16v20H10A10 10 0 0 1 0 10Z" fill="url(#paint0_linear_1257_115153)"/><g clip-path="url(#clip0_1257_115153)"><path fill-rule="evenodd" clip-rule="evenodd" d="M17.59 7.7a1 1 0 0 0-1.42 0l-3.63 3.64-2.15-2.14a1 1 0 0 0-1.41 1.41l2.85 2.85.12.11a1 1 0 0 0 1.3-.1l4.34-4.35a1 1 0 0 0 0-1.41Z" fill="#fff"/></g><defs><linearGradient id="paint0_linear_1257_115153" x1="0" y1="0" x2="29.06" y2="6.65" gradientUnits="userSpaceOnUse"><stop stop-color="#079E82"/><stop offset="1" stop-color="#0264BC"/></linearGradient><clipPath id="clip0_1257_115153"><path fill="#fff" transform="translate(8 5)" d="M0 0h10v10H0z"/></clipPath></defs></svg>'}
            </div>
        `)}
        ${(0,U.g)((e=>e.model.image),H.d`
            <img class="image" src=${e=>e.model.image&&e.model.image.src}
            alt=${e=>e.model.image&&e.model.image.alt}
            />
        `)}
        ${(0,U.g)((e=>e.model.provider),H.d`${K}`)}
        <span class="title">
            ${e=>e.model.title}
        </span>
    </a>
`)}
`,J=H.d`
<div class="_1x_2y">
    <fluent-card>
        <div class="daily-set-card-container">
            <div class="card-content-container">
                <div class="header-container">
                    <div class="header">
                        <div class="reward-icon">${'<svg width="12" height="12" viewBox="0 0 12 12"><path d="M1.5 0C.67 0 0 .67 0 1.5v1.2c0 .51.27 1 .71 1.27l3.87 2.39a3 3 0 1 0 2.84 0l3.87-2.4c.44-.26.71-.75.71-1.27V1.5c0-.83-.67-1.5-1.5-1.5h-9ZM4 4.83V1h4v3.83L6.26 5.9a.5.5 0 0 1-.52 0L4 4.83ZM6 7a2 2 0 1 1 0 4 2 2 0 0 1 0-4Z"/></svg>'}</div>
                        <div>
                            ${e=>e.strings.cardTitle}
                        </div>
                    </div>
                    <div class="more-actions">
                        <fluent-button
                            class= "toggle-button"
                            slot="more-actions"
                            @click=${(e,t)=>e.toggleActionMenu&&e.toggleActionMenu(!e.isActionMenuOpen,t.event)}>
                            ${$.Z}
                        </fluent-button>
                    </div>
                </div>
                <div class="daily-set-card" data-t="${e=>{var t,n;return null===(n=null===(t=e.telemetryContext)||void 0===t?void 0:t.rewardsDailySetItemTelemetryObject)||void 0===n?void 0:n.getMetadataTag()}}">
                    ${(0,U.g)((e=>e.model),H.d`${Y}`)}
                    ${q}
                </div>
            </div>
        <div>
        ${(0,U.g)((e=>e.isActionMenuOpen),Z)}
    </fluent-card>
</div>
`;var Q=n(32804),X=n(53046),ee=n(40082);const te=X.i`
._1x_2y {
    height: 304px;
    max-height: 304px;
    width: 300px;
}

.daily-set-card-container {
    border-radius: calc(var(--elevated-corner-radius) * 1px);
    box-shadow: 0px 1.6px 3.6px rgba(0, 0, 0, 0.13), 0px 0px 2.9px rgba(0, 0, 0, 0.11);
    overflow: hidden;
    color: ${Q.CHi};
    background: radial-gradient(182.77% 177.99% at 100% 100%, rgba(0, 69, 172, 0.2) 0%, rgba(0, 69, 172, 0) 100%);
    height: 100%;
}

.daily-set-card {
    padding-top: 12px;
    position: relative;
}

.card-content-container {
    padding: 12px;
}

.header-container {
    display: flex;
    opacity: 80%;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    justify-content: space-between;
    align-items: center;
}

.header {
    align-items: center;
    display: flex;
    height: 16px;
    text-decoration: none;
}

.reward-icon {
    margin-right: 8px;
    fill: ${Q.CHi};
}

.more-actions {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 24px;
    height: 24px;
    opacity: 0.6;
    z-index: 2;
}

.toggle-button {
    border-radius: 16px;
    height: 24px;
    min-width: 24px;
    width: 24px;
}

.toggle-button:hover {
    background-color: rgba(0, 0, 0, 0.18);
}

.option-button {
    border-radius: 50%;
    display: none;
    height: 24px;
    max-width: 24px;
}

.content {
    text-decoration: none;
}

.points-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 2px;
    gap: 2px;

    position: absolute;
    width: 42px;
    height: 20px;
    top: 30px;
    right: 0px;

    background: linear-gradient(100.25deg, #079E82 0%, #0264BC 100%);
    border-radius: 10px 0px 0px 10px;
    z-index:3;

    font-weight: 900;
    font-size: 14px;
    line-height: 14px;

    color: #FFFFFF;
}

.plus-sign {
    font-size: 20px;
    margin-bottom: 4px;
}

.point-text {
    font-family: 'Segoe UI';
    font-style: italic;
}

.completion {
    position: absolute;
    top: 30px;
    right: 0px;
}


.image {
    border-radius: 4px;
    height: 146px;
    width: 100%;
}

.attribution {
    font-weight: 400;
    line-height: 16px;
    color: #717171;
    display: flex;
    font-size: 12px;
    max-width: 272px;
    padding-bottom: 4px;
    padding-top: 9px;
    padding-left: 4px;
    color: ${Q.Q5n};
}

.provider-logo {
    height: 16px;
    width: 16px;
}

.provider-tittle {
    padding-left: 4px;
    padding-right: 4px;
}

.provider-tittle:hover {
    text-decoration: underline;
}

.published-time {
    padding-left: 4px;
}

.content .title {
    color: ${Q.CHi};
    font-weight: 600;
    overflow: hidden;
    display: -webkit-box;
    line-height: 20px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: 40px;
    padding-left: 4px;
    font-size: 14px;
}

.content .title:hover {
    text-decoration: underline;
}

.footer {
    padding-top: 8px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.footer-pagination {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100px;
    user-select: none;
}

.indicators {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.footer-attribution {
    display: flex;
    align-items: center;
}

.footer-text {
    font-family: 'Segoe UI';
    font-size: 11px;
    display: flex;
    align-items: center;
    color: ${Q.Q5n};
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.footer-icon {
    padding-right: 4px;
    display: flex;
}

.arrow-circle {
    background: rgba(0, 0, 0, .07);
    border-radius: 50%;
    fill: ${Q.Q5n};
    height: 24px;
    min-width: 24px;
    width: 24px;
}

.arrow-circle svg {
    transform: scale(0.8);
    padding-top: 2px;
    padding-left: 2px;
}
.arrow-circle:hover {
    background: rgba(255, 255, 255, .5);
}
`.withBehaviors((0,ee.Uu)(X.i`
        .daily-set-card-container {
            color:  rgba(255, 255, 255, 0.54);
            background: linear-gradient(44.24deg, #2B3C59 0%, rgba(43, 60, 89, 0.6) 100%);
        }
        .reward-icon {
            fill: rgba(255, 255, 255, 0.54);
        }
        .attribution {
            color: rgba(255, 255, 255, 0.54);
        }
    `)),ne={experienceConfigSchema:a}},74045:function(e,t,n){var i,r;n.d(t,{KE:function(){return a},O7:function(){return i},Qp:function(){return l},Us:function(){return r},XQ:function(){return o}}),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"}(r||(r={}));const o=e=>{const t=[],n={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(n[i])})),t},a="/service/feedback/api/reportanissue",l="https://assets.msn.cn/service/feedback/api/reportanissue"},4680:function(e,t,n){n.d(t,{ph:function(){return c}});var i,r=n(16517),o=n(58155),a=n(54804),l=n(65135),s=n(26415);!function(e){e[e.linksPointToPartner=2]="linksPointToPartner"}(i||(i={}));n(89526);const d={ArticlePreview:"ar",SlideshowPreview:"ss",VideoPreview:"vi"};function c(e,t,n,c){if(e.renderingRestriction===i.linksPointToPartner){if(e.sourceHref)return e.sourceHref;l.M0.sendAppErrorEvent(Object.assign(Object.assign({},s.BO7.MissingPartnerLink),{message:"Content with rendering restriction 'link to partner' is missing source HREF",pb:Object.assign(Object.assign({},s.BO7.MissingPartnerLink.pb),{customMessage:`Content Id: ${e.id}`})}))}if(e.destinationUrl)return e.destinationUrl;const u=(0,r.Yq)().NavTargetHostName,h=d[e.type]||"xx";n=o.c.encodeURIComponentForPrime(n||""),c=o.c.encodeURIComponentForPrime(c||"");const p=encodeURIComponent(e.uriTitle||"");let f="";return a.Al&&a.Al.ClientSettings&&a.Al.ClientSettings.forwardablequeryparams&&(f=`?${a.Al.ClientSettings.forwardablequeryparams}`),`https://${u}/${t}/${n}/${c}/${p}/${h}-${e.id}${f}`}},21858:function(e,t,n){n.d(t,{Go:function(){return a},TR:function(){return s},Y6:function(){return d},Yw:function(){return c}});var i=n(94516);const r=new RegExp("\\:([\\d]{2})");function o(){return new Date}function a(e){return(o().getTime()-e.getTime())/1e3}function l(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function s(e,t){return new Date(e.valueOf()+60*t*60*1e3)}function d(e,t){const n=parseInt(t),i=parseInt(r.exec(t)[1]),o=n<0?-1:1,a=new Date(e.getTime()+60*(60*n+o*i)*1e3),l=`0${Math.abs(n)}`.substr(-2)+":"+`0${Math.abs(i)}`.substr(-2);return a.toISOString().replace("Z",(o<0?"-":"+")+l)}function c(e){const t=a(e),n=function(){const e=o();return e.setHours(0,0,0,0),e}(),r=l(n,-1),s=l(n,-6),d=function(){const e=o();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>=n?i.i.Today:e>=r?i.i.Yesterday:e>=s?i.i.ThisWeek:e>=d?i.i.ThisYear:i.i.FullDate}},79703:function(e,t,n){n.d(t,{$:function(){return o}});var i,r=n(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 o{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?r.Ld.Format(e,...t):""}localizedNumberString(e,t){return this.supportsLocaleSpecifiers?e.toLocaleString(t):e.toString()}formatDate(e,t,n){let r=null;if(this.supportsLocaleSpecifiers)if(t===i.Default)r=e.toLocaleDateString(n);else if(this.dateFormatOptionsMap){const i=this.dateFormatOptionsMap.get(t);r=e.toLocaleDateString(n,i)}return null===r&&(r=e.toDateString()),null!==r?r.replace(/\u200E/g,"").replace(/\u200F/g,""):r}setSupportsLocaleSpecifiers(){this.supportsLocaleSpecifiers=(()=>{try{(0).toLocaleString("i")}catch(e){return"RangeError"===e.name}return!1})()}}},94516:function(e,t,n){var i;n.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,n){n.d(t,{fh:function(){return c},Xk:function(){return u}});var i=n(79703),r=n(94516),o=n(21858);class a{constructor(e,t,n){this.timeLocStrings=e,this.locale=t,this.locUtility=n}transform(e,t,n){const i=3600,a=86400;if(!e)return"";if(!this.locUtility.supportsLocaleSpecifiers)return t;const l=(0,o.Go)(e);switch((0,o.Yw)(e)){case r.i.None:return"";case r.i.JustNow:return this.timeLocStrings.JustNow;case r.i.LessThanOneHour:return this.timespanString(l,l<120?this.timeLocStrings.NumberMinuteAgo:this.timeLocStrings.NumberMinutesAgo,60);case r.i.Today:return this.timespanString(l,l<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,i);case r.i.Yesterday:if(0===n){const t=this.timeLocStrings.TimeYesterday;return this.locUtility.format(t,this.locUtility.formatTimeFromDate(e,this.locale))}return l<a?this.timespanString(l,l<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,i):this.timespanString(l,l<172800?this.timeLocStrings.NumberDayAgo:this.timeLocStrings.NumberDaysAgo,a);case r.i.ThisWeek:return 0===n?this.locUtility.format(this.timeLocStrings.TimeDayOfWeek,this.locUtility.localizedWeekday(e,this.locale),this.locUtility.formatTimeFromDate(e,this.locale)):this.timespanString(l,l<172800?this.timeLocStrings.NumberDayAgo:this.timeLocStrings.NumberDaysAgo,a);case r.i.ThisYear:return this.locUtility.localizedMonthDate(e,this.locale);default:return this.locUtility.localizedDateStringMedium(e,this.locale)}}timespanString(e,t,n){const i=Math.floor(e/n);return this.locUtility.format(t,this.locUtility.localizedNumberString(i,this.locale))}}const l={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}"},s={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} عاما"}},d={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,n,r,o,c){const u=t&&t.toLowerCase();if(!(e instanceof Date)||isNaN(e.valueOf()))return"";if(c&&n)return function(e,t,n,i){if(!(e instanceof Date)||isNaN(e.valueOf()))return"";const r=h.MsPerMinute,o=h.MsPerHour,a=h.MsPerDay,l=h.MsPerWeek,c=h.MsPerMonth,u=h.MsPerYear,p=t.getTime()-e.getTime();if(p<r)return n.JustNow||"";let f=u,g="Year";p<o?(f=r,g="Minute"):p<a?(f=o,g="Hour"):p<l?(f=a,g="Day"):p<c?(f=l,g="Week"):p<u&&(f=c,g="Month");const m=/^[Aa][Rr]-/.test(i),y=/^[Hh][Ee]-/.test(i),v=Math.floor(p/f);let b=null;b=m?function(e,t){if(e<2)return s[t].one;if(e<3)return s[t].two;if(e<11)return s[t].threeToTen;return s[t].elevenPlus}(v,g):y?function(e,t,n){if("Minute"==n||"Hour"==n||"Day"==n)return e[`Number${n}${t>1?"s":""}Ago`];if(t<2)return d[n].one;if(t<3)return d[n].two;return d[n].three}(n,v,g):n[`Number${g}${v>1?"s":""}Ago`];return b?b.replace("{0}",v):""}(e,new Date,n,u);if(!n&&"zh-cn"===u)return"";n||(n=l);const p=(o=o||new i.$).localizedDateString(e,u);r||(r=0);return new a(n,u,o).transform(e,p,r)}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 h={MsPerMinute:6e4,MsPerHour:36e5,MsPerDay:864e5,MsPerWeek:6048e5,MsPerMonth:2592e6,MsPerYear:31104e6}},64893:function(e,t,n){n.d(t,{$n:function(){return i},bT:function(){return r},cN:function(){return o}});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 r(e,t){return e.displayString<t.displayString?-1:e.displayString>t.displayString?1:0}function o(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,n){function i(e,t,n,i,r,o,a,l,s,d,c,u){const h=i&&i.length?i[0]-1:0,p=e&&parseInt(e.substr(4,1)),f=o&&o.slice(h,h+p),g=e&&parseInt(e.substr(1,1)),m=i&&i.length?(i[0]+1)/2:1;return{width:g&&a&&g*a+(g-1)*l,height:f&&f.reduce(((e,t)=>e+t))+(p-1)*l,slot:s||n&&n.substr(4)&&parseInt(n.substr(4)),template:t,row:r||0===r?r+m:void 0,col:d>0?d:i&&i[1],badgeType:c,traceIdIndex:u}}n.d(t,{s:function(){return i}})},51873:function(e,t,n){n.d(t,{$Y:function(){return r},Q8:function(){return l},jz:function(){return s},pj:function(){return a}});var i=n(16517);var r,o;function a(e){return e?[{isDarkMode:!0,hexColor:o.imgDark},{isDarkMode:!1,hexColor:o.imgLight}]:[{isDarkMode:!0,hexColor:o.noImgDark},{isDarkMode:!1,hexColor:o.noImgLight}]}function l(e){return e.enableAnimatedShowMoreBtn?"animated":e.enableFilledIconOnHover?"fillediconhover":e.noBackPlateOnRest?"nobackplate":"default"}function s(e){return`https://www.msn.com/${i.jG.CurrentMarket}/community/channel/${e}`}!function(e){e.default="default",e.condensed="condensed",e.infoPane="infoPane",e.infoPane1x3y="infoPane1x3y",e.infoPaneSplitVertical="infoPaneSplitVertical",e.infoPaneSplitHorizontal="infoPaneSplitHorizontal"}(r||(r={})),function(e){e.imgLight="#F5F5F5",e.imgDark="#2E2E2E",e.noImgLight="#DEDEDE",e.noImgDark="#222"}(o||(o={}))},25295:function(e,t,n){n.d(t,{B:function(){return i}});const i={_60x60:{width:60,height:60},_82x82:{width:82,height:82},_104x84:{width:104,height:84},_141x250:{width:141,height:250},_180x88:{width:180,height:88},_203x114:{width:203,height:114},_216x114:{width:216,height:114},_220x124:{width:220,height:124},_220x178:{width:220,height:178},_238x120:{width:238,height:120},_240x129:{width:240,height:129},_240x253:{width:240,height:253},_242x144:{width:242,height:144},_242x176:{width:242,height:176},_300x156:{width:300,height:156},_300x169:{width:300,height:169},_300x174:{width:300,height:174},_300x200:{width:300,height:200},_300x225:{width:300,height:225},_300x282:{width:300,height:282},_300x304:{width:300,height:304},_300x326:{width:300,height:326},_300x462:{width:300,height:462},_306x197:{width:306,height:197},_385x225:{width:385,height:225},_406x304:{width:406,height:304},_486x304:{width:486,height:304},_468x304:{width:468,height:304},_604x296:{width:604,height:296},_612x304:{width:612,height:304},_612x326:{width:612,height:326},_612x462:{width:612,height:462},_628x372:{width:628,height:372}}},75351:function(e,t,n){n.d(t,{MW:function(){return l},Z1:function(){return c},nj:function(){return s}});var i=n(38156),r=n(65135),o=n(12611),a=n(44772);const l={contentCardName:"ContentCard",destination:"destination",flexCard:"FlexCard",hideName:"Hide",relatedStories:"RelatedStories",showRelatedStories:"ShowRelatedStories",saveName:"Save",seeMoreName:"Card Action Ellipsis",showFewerName:"Fewer stories like this",showMoreName:"More stories like this",undoShowFewer:"Undo fewer stories like this",undoShowMore:"Undo more stories like this",undoSaveName:"UndoSave",webCardName:"WebCard",webContentName:"WebContent",clickableProviderIcon:"Provider Icon"},s=(e,t,n,r,o,a=l,s)=>{if(!e)return;const c=d(t,n);let u,h;o?(u=e.addOrUpdateChild({name:a.webCardName,content:c}),h=u.addOrUpdateChild({name:a.webContentName,type:i.c9.Headline,behavior:i.wu.Navigate,content:c,ext:r})):(u=e.addOrUpdateChild({name:a.contentCardName,type:i.c9.ContentCard,content:c}),h=u.addOrUpdateChild({name:a.destination,type:i.c9.Headline,behavior:i.wu.Navigate,content:c,ext:r}));const p=u.addOrUpdateChild({name:a.seeMoreName,type:i.c9.ActionButton,behavior:i.wu.More,content:c}),f=u.addOrUpdateChild({name:a.saveName,type:i.c9.ActionButton,behavior:i.wu.Save,content:c}),g=u.addOrUpdateChild({name:a.hideName,type:i.c9.ActionButton,behavior:i.wu.Hide,content:c}),m=u.addOrUpdateChild({name:a.showMoreName,type:i.c9.ActionButton,behavior:i.wu.Like,content:c}),y=u.addOrUpdateChild({name:a.showFewerName,type:i.c9.ActionButton,behavior:i.wu.Dislike,content:c}),v=u.addOrUpdateChild({name:a.undoShowMore,type:i.c9.ActionButton,behavior:i.wu.Unlike,content:c}),b=u.addOrUpdateChild({name:a.undoShowFewer,type:i.c9.ActionButton,behavior:i.wu.Undislike,content:c}),w=e.addOrUpdateChild({name:l.relatedStories,type:i.c9.ContentCard,content:c}),C=e.addOrUpdateChild({name:l.showRelatedStories,type:i.c9.ActionButton,behavior:i.wu.Show,content:c}),S=e.addOrUpdateChild({name:l.flexCard,type:i.c9.ContentCard,content:c}),x=e.addOrUpdateChild({name:a.clickableProviderIcon,type:i.c9.ActionButton,behavior:i.wu.Navigate,content:c}),{zone:_}=e.contract||{};_&&(u.contract.zone=_,h.contract.zone=_);let T={componentRoot:e,contentCard:u,destination:h,seeMore:p,save:f,showMore:m,showFewer:y,undoShowMore:v,undoShowFewer:b,hide:g,relatedStories:w,showRelatedStories:C,clickableProviderIcon:x};return s&&(T=Object.assign(Object.assign({},T),{flexcard:S})),T},d=(e,t)=>{const n=e||{},i=t||{},r=n.provider&&n.provider.name,l=i&&i.subCategory||n&&n.category&&n.category.label||n&&n.category,s=n.title,d=n.id,c=i&&i.category||n&&n.category&&n.category.product||n&&n.category,u=(0,o.cx)(n.type),h=(0,a.ne)(u||n.type);return{brand:r,category:l,headline:s,id:d,isLocal:n.isLocalContent||i.isLocalContent,type:h,vertical:c}};function c(e){if(!e)return;const t=new URL(e),n=r.M0.getRequestId();return n&&t.searchParams.set("cvid",n),t.toString()}},76859:function(e,t,n){n.d(t,{C7:function(){return a},Nv:function(){return i},OO:function(){return l},X9:function(){return s},sn:function(){return o}});var i,r=n(9791);!function(e){e._1x_1y="_1x_1y",e._1x_2y="_1x_2y",e._1x_3y="_1x_3y",e._1x_4y="_1x_4y",e._1x_5y="_1x_5y",e._2x_1y="_2x_1y",e._2x_2y="_2x_2y",e._2x_3y="_2x_3y",e._2x_4y="_2x_4y",e._2x_6y="_2x_6y",e._3x_1y="_3x_1y",e._3x_2y="_3x_2y",e._4x_1y="_4x_1y",e._4x_2y="_4x_2y",e._5x_1y="_5x_1y",e._5x_2y="_5x_2y"}(i||(i={}));const o=146,a=300,l=12,s=(0,r.Z)((e=>Array(e).fill(o)))},27326:function(e,t,n){n.d(t,{AO:function(){return E},Ae:function(){return D},CI:function(){return k},Jl:function(){return $},LP:function(){return q},PZ:function(){return H},Tb:function(){return R},UN:function(){return N},Xe:function(){return F},Xq:function(){return K},_g:function(){return P},d0:function(){return G},e_:function(){return j},i2:function(){return L},nA:function(){return V},ny:function(){return I},sA:function(){return z},so:function(){return U},vp:function(){return W}});var i=n(74045),r=n(64893),o=n(59115),a=n(11684),l=n(75351),s=n(76859),d=n(84551),c=n(25295),u=n(51873),h=n(73543),p=n(5020),f=n(53909),g=n(11363),m=n(44772),y=n(65135),v=n(38156),b=n(91483),w=n(50640),C=n(4253),S=n(12710),x=n(16517),_=n(52965),T=n(99478),O=n(58958),A=n(80368),M=n(4680);function k(e){var t,n;const{additionalHeaders:r,cardActionBitMask:o,cardActionClickHandler:a,cardMetadata:u,cardSlot:f,colWidthPx:g,configOptions:b={},enableRichSocialReaction:w,getReplacementCardsInlineCallback:C,gutterPx:T,initCardAction:O,isAnaheimDesign:A,isBlurred:k,isHubDesign:N,isNarrowTitleFooterGap:B,isProviderInFooter:U,isPublisherPage:Y,hideCardCallback:ee,layoutGap:ne,layoutTemplateName:re,localizedStrings:ae,mouseenterHandler:le,mouseleaveHandler:se,openLinksInNewTab:de,parentTelemetryObject:ce,refreshFeedCallback:ue,rowCount:he,rowHeightPx:pe,sdCardActionClickHandler:fe,stockImageData:ge,userSubscriptionData:me,visualReadinessCallback:ye,displaySettings:ve}=e,be=F(u),we={cards:[],C6:[],C5:[],C4:[],C3:[],C2:[],C1:[]},{cardContent:Ce,metadata:Se,type:xe}=be,{grid_area:_e,layouts:Te,cardDomOrder:Oe,telemetryRowCol:Ae}=f,{abstract:Me,colorSamples:ke,id:Pe,destinationUrl:De,locale:Ne,title:Ie,publishedDateTime:Le,provider:Fe,badges:Be,defaultAnchorTarget:Ee,videoFiles:He}=Ce,Ue=D(be),Re=H(u,o),je=function(e,t){if(!e)return;if(!t)return e.cardActionsTooltips;const{cardActionsTooltips:n,showMoreV2:i,showFewerV2:r,undoShowMoreV2:o}=e,a=n&&(t.enableSaveButton||!i);return Object.assign(Object.assign({},n),{showMore:a?n.showMore:i,showFewer:a?n.showFewer:r,undoShowMore:a?n.undoShowMore:o})}(ae,b),$e=xe===m.PL.WebContent,{alignFooters:ze,availableActions:We,childExperienceReferences:Ze={},childExperienceReferencesWC:Ge={},disableCardTitleTooltip:Ve,disableHideOnHover:qe,disableSeeMoreButton:Ke,enableAnimatedShowMoreBtn:Ye,enableArticleCardHoverContrast:Je,enableArticleTimestamps:Qe,enabledBadgeTypes:Xe,enableEverGreenWebContent:et=!1,enableFeedSuperCards:tt,enableFilledIconOnHover:nt,enableFlexCard:it,enableHideStoryFeedback:rt,enableImageHoverZoom:ot,enableInfopaneLike2cCard:at,enableLinearFeed2cVerticalGradientCard:lt,enableNeutralFilledShowMoreIcon:st,enableNewTimestampFormatForJAJP:dt,enableSaveButton:ct,enableSuperVideoCard:ut,enableTitleClickableOnly:ht,enableTitleForTruncate:pt,enableVerticalGradientCard:ft,enableVideo2uVerticalGradient:gt=!1,enableWCCardAction:mt,enableWCSaveButton:yt,enableWebContentSocialReactions:vt,feedFontSize:bt,fixedCardHeight:wt,flexCardExpandedByDefault:Ct,fontFamilyOnCardContent:St,gradientType:xt,headingLineHeight:_t,hideNewsAbstract:Tt,isDynamicFeed:Ot,isImage32:At,isImage43:Mt,isMsnHpExternalLinkCard:kt,isProviderIconClickable:Pt,largeFeedFontSize:Dt,miniMediaIndicatorsIcons:Nt,noBackPlateOnRest:It,noImageFeedFontSize:Lt,openArticleInNewTab:Ft,openPersonalizeWithoutRouter:Bt,preconsumptionCardConfig:Et,previewModeEnableLayouts:Ht,shouldOpenArticlesInOverlay:Ut,showCardInfoWhenHover:Rt=!1,showColorfulHalfUContentCard:jt,showRelatedStoriesOnHover:$t=!1,telemetryConstants:zt={},twoColumnFeedFontSize:Wt,twoColumnHeadingLineHeight:Zt,useArticleCardTemplate:Gt,useGamingMediaTemplateInRiver:Vt,useHighQualityImage:qt,useHomepageTelemetry:Kt=!1,useInfopaneSlideTemplate:Yt=!1,useLargeFontSize:Jt,useMobile:Qt,usePerspectiveCardTemplate:Xt=!1,usePreviewCardTemplate:en=!1,useSmallFontSize:tn,useTitleFontSize:nn,useVideoPreviewTemplate:rn=!1,zoomRatio:on,isMsnMobile:an,disableColorSampling:ln,enableAbstractFor2x1yCardWithImage:sn,enableFeedSuperCardsSolidColor:dn,disableSaveButton:cn,useArrowIcons:un,useLightShadow:hn,doubleWideArticleCardTitleSize:pn}=b,fn=(0,l.nj)(ce,Ce,Se||be,void 0,$e,Object.assign(Object.assign({},l.MW),zt),it),gn=Ge.socialBarWC||Ze.socialBarWC,mn=Ge.overlayWC,yn=Ge.videoCardWC||Ze.videoCard,vn=Ge.gamingStreamCard,bn=Ge.preconsumptionArticleCardWC,wn=Ge.articleTopComment,Cn=Ge.articleRelatedStories;R(Re,fn);const Sn=0!=(Re&i.O7.hide)||rt&&(0!=(Re&i.O7.showFewer)||0!=(Re&i.O7.hidden));let xn;Gt&&(xn=W(null==Ue?void 0:Ue.colorSamples,ke,null==Ue?void 0:Ue.url));const _n=xe===m.PL.Video,Tn=_n&&rn,On=Se?!Se.reactionSummary:u&&!u.reactionSummary,An=!Ht||Ht.includes(s.Nv._1x_2y),Mn=!Ht||Ht.includes(s.Nv._2x_2y),kn=$e&&u&&u.subType===m.PL.GamingVideo,Pn=K(ae,Be,Xe);let Dn=De;"winWidgets"!==x.jG.AppType&&"windowsNewsPlus"!==x.jG.AppType||(Dn=(0,l.Z1)(Dn));let Nn,In,Ln=!1,Fn=!1,Bn="";Se&&Se.relatedCards&&Se.relatedCards.length>=3&&(Fn=!0,Nn=function(e,t,n,i,r,o,a,s,d={},c,u,h){if(!e)return[];return e.map((e=>{const{locale:p,provider:f,publishedDateTime:g,title:y,url:v,id:b,abstract:w,type:C,category:S,relatedContentSource:x}=e;if(!y||!f)return{id:b,relatedContentSource:x,grid_area:null,card_template_type:null};let _;if(o){const t=(0,l.nj)(o,e,null);t&&(_={contentCard:t.contentCard,contentCardTelemetryObject:t.contentCard,button:t.seeMore&&t.seeMore.getMetadataTag(),destination:t.destination,buttonTelemetryObject:t.seeMore,seeMore:t.seeMore})}const T=H(e,n),{cardActionsTooltips:O,crawledContentLabel:A}=t,k=C===m.PL.WebContent,P=v||(0,M.ph)(e,p,S.product,S.label),{enableArticleTimestamps:D,enableNewTimestampFormatForJAJP:N,openPersonalizeWithoutRouter:I,openArticleInNewTab:F,isProviderIconClickable:B,useArrowIcons:U,fontFamilyOnCardContent:R,enableFilledIconOnHover:z,disableCardTitleTooltip:W,enableTitleForTruncate:Z,disableColorSampling:G,enableAbstractFor2x1yCardWithImage:q,enableFeedSuperCardsSolidColor:K}=d;return{id:b,abstract:w,grid_area:null,card_template_type:null,cardActionStatus:!k&&T,cardActionClickHandler:i,cardActionsTooltips:O,crawledContentLabel:A,isWebContent:k,destinationUrl:j(P),enableRichSocialReaction:!k&&a,isProviderIconClickable:B,useArrowIcons:U,locale:p,title:y,providerData:L(f,k,d.publisherSVGLogosHeight),publishedDateTime:D&&`${V(N,new Date(g),p,t)}`,toggleCardActionMenu:(e,t)=>E(e,t,i,r,!0,!0,c,I),telemetryContext:_,openLinksInNewTab:s,openArticleInNewTab:F,ariaLabel:$(y,f,t),actionsArrayOverride:u,socialBarWCConfigInfo:h,metadata:e,fontFamilyOnCardContent:R,enableFilledIconOnHover:z,relatedContentSource:x,disableCardTitleTooltip:W,enableTitleForTruncate:Z,disableColorSampling:G,enableAbstractFor2x1yCardWithImage:q,enableFeedSuperCardsSolidColor:K}}))}(Se.relatedCards,ae,o,a,O,fn&&fn.relatedStories,w,de,b,ue,void 0,gn),Ln=Xt,Bn=Nn[0].relatedContentSource),ie()&&!te().includes("pspux:")&&y.M0.addOrUpdateTmplProperty("pspux","0"),Se&&Se.topComments&&Se.topComments.length>0&&(In=null===(t=Se.topComments[0])||void 0===t?void 0:t.id);let En=Qe&&`${V(dt,new Date(Le),Ne,ae)}`;En=$e&&et&&function(e){try{const t=new Date(e),n=(new Date).getTime()-t.getTime();return Math.ceil(n/864e5)>3}catch(e){return!0}}(Le)?null:En;const Hn=document.getElementsByTagName("html")[0].dir,Un=Sn?(0,h.to)(e,Re,Pe,ce):{id:Pe,grid_area:_e,telemetryContext:fn,defaultAnchorTarget:Ee,card_template_type:oe(b,$e,kn),abstract:Me,cardActionStatus:(!$e||mt||yt)&&Re,cardActionClickHandler:a,cardActionsTooltips:je,colorSamples:Z(ke,null==Ue?void 0:Ue.url),externalVideoFiles:_n?He:void 0,destinationUrl:Dn,dir:Hn,title:Ie,contentType:xe,hideCardCallback:ee,sdCardActionClickHandler:fe,imagePriority:!1,isWebContent:$e,contentTypeLabel:null===(n=z(ae,xe))||void 0===n?void 0:n.toLocaleUpperCase(),contentIndicator:Ue||_n?G(xe,A&&Nt):void 0,metadata:Se||u,openLinksInNewTab:de,openArticleInNewTab:Ft,crawledContentLabel:null==ae?void 0:ae.crawledContentLabel,setDisplacementHandler:J,removeDisplacementHandler:X,providerData:L(Fe,$e,b.publisherSVGLogosHeight),handleContentCardClickOverride:e=>P(Ut,Dn,e),toggleCardActionMenu:(e,t)=>E(e,t,a,O,null,!rt,ue,Bt,On),disableSeeMoreButton:Ke,enableAnimatedShowMoreBtn:Ye,enableRichSocialReaction:(!$e||vt||mt||yt)&&w,isProviderIconClickable:Pt,optedOutOfReactions:On,isAnaheimDesign:!!A,isHubDesign:!!N,userSubscriptionData:me,isPublisherPage:Y,usePreviewCardTemplate:en,useVideoPreviewTemplate:rn,enableVideo2uVerticalGradient:gt,showCardInfoWhenHover:Rt,useInfopaneSlideTemplate:Yt,useHomepageTelemetry:Kt,locale:Ne,articleCardBackgroundColor:xn,shouldOpenInOverlay:Ut,disableHideOnHover:qe,publishedDateTime:En,useSmallFontSize:tn,useLargeFontSize:Jt,feedFontSize:bt,noImageFeedFontSize:Lt,largeFeedFontSize:Dt,twoColumnFeedFontSize:Wt,twoColumnHeadingLineHeight:Zt,enableVerticalGradientCard:ft,gradientType:xt,gradientDeg:A||Mt?q():void 0,ariaLabel:$(Ie,Fe,ae,xe),isProviderInFooter:U,isNarrowTitleFooterGap:B,mouseenterHandler:le,mouseleaveHandler:se,layoutGap:ne,socialBarWCConfigInfo:gn,overlayConfigInfo:mn,preconsumptionArticleCardConfigInfo:bn,fixedCardHeight:wt,preconsumptionCardConfig:Et,enableImageHoverZoom:ot,enableTitleClickableOnly:ht,noBackPlateOnRest:It,alignFooters:ze,showColorfulHalfUContentCard:jt,isImage32:At,isImage43:Mt,headingLineHeight:_t,useTitleFontSize:nn,fontFamilyOnCardContent:St,zoomRatio:on,enableFilledIconOnHover:nt,enableNeutralFilledShowMoreIcon:st,enableInfopaneLike2cCard:at,enableLinearFeed2cVerticalGradientCard:lt,enableArticleCardHoverContrast:Je,isDynamicFeed:Ot,hideNewsAbstract:Tt,flexCardExpandedByDefault:Ct,disableCardTitleTooltip:Ve,enableTitleForTruncate:pt,videoCardConfigInfo:yn,gamingStreamCardConfigInfo:vn,enableSaveButton:!1!==ct||$e&&yt,showMoreAnimationTitle:ae&&ae.showMoreAnimationTitle,isBlurred:k,useArrowIcons:un,relatedStoriesHeadingLabel:ae&&("cf"===Bn?ae.relatedStoriesCfHeading:ae.relatedStoriesHeading),showRelatedStoriesOnHover:$t,enabledBadgeTypes:Xe,subCardDataMappers:Ln||it?{mapAriaLabel:(e,t)=>$(e,t,ae),mapCardActionStatus:e=>H(e,o),mapPublishedDateTime:e=>Qe&&`${V(dt,e,Ne,ae)}`}:void 0,badge:Pn,articleTopCommentConfigInfo:wn,articleTopCommentId:In,articleRelatedStoriesConfigInfo:Cn,relatedCardData:Nn&&Nn,enableWCSaveButton:!$e||yt,enableWCCardAction:an?mt:!$e||mt,additionalHeaders:r,actionsArrayOverride:$e&&We||void 0,setDisplacementAndTitleOnHover:Q,visualReadinessCallback:ye,displaySettings:ve,actionMenuLocalizedStrings:ae&&ae.actionMenuLocalizedStrings,useMobile:Qt,refreshFeedCallback:ue,disableColorSampling:ln,enableAbstractFor2x1yCardWithImage:sn,enableFeedSuperCardsSolidColor:dn,disableSaveButton:!$e&&cn,useLightShadow:hn,doubleWideArticleCardTitleSize:pn,getReplacementCardsInlineCallback:C};we.cards.push(Un);let Rn=!1;const jn=u.traceIdIndex;return Object.keys(Te).forEach((e=>{const t=Te[e],n=Oe&&Oe[e],i=(0,d.s)(t,re,_e,Ae&&Ae[e],he&&he[e],pe&&pe[e],g,T,n,void 0,Pn&&Pn.type,jn);if(Sn){const r=(0,p.df)(Un&&Un.telemetryContext,i);return void we[e].push({cardSize:t,id:Pe,grid_area:_e,card_dom_order:n,telemetryContext:r})}const r=Object.assign({},fn);let o;r&&r.contentCard&&r.destination&&(r.destination=r.contentCard.addOrUpdateChild(Object.assign(Object.assign({},r.destination.contract),{type:v.c9.Headline,ext:i}))),Nn&&r&&r.relatedStories&&(o=Nn.map((e=>Object.assign(Object.assign({},e),{telemetryContext:Object.assign(Object.assign({},r),{relatedStories:Object.assign(Object.assign({},r.relatedStories),{ext:i})})})))),Kt&&(r.contentCard=null,r.destination.contract.name="HeadlineItemViewModel");const a={cardSize:t,id:Pe,grid_area:_e,card_dom_order:n,isProviderInFooter:U,isNarrowTitleFooterGap:B,telemetryContext:r};if(t===s.Nv._1x_1y&&(Yt?(Ue&&(a.imageData=I(be,c.B._300x225,ye,A,qt)),a.abstract=void 0,a.card_template_type="infopane-slide-card"):en?(Ue&&(a.imageData=I(be,c.B._104x84,ye,A,qt)),a.abstract=void 0,a.card_template_type="content-card-preview-1x"):(Ue&&(a.imageData=I(be,c.B._82x82,ye,A,qt,k)),_n&&(a.contentIndicator=S.Z),a.abstract=$e&&!b.hideHalfUAbstract?Me:void 0,a.ariaLabel=$e&&!b.hideHalfUAbstract&&$(Ie,Fe,ae))),t===s.Nv._1x_2y)if(Yt)Ue&&(a.imageData=I(be,c.B._300x225,ye,A,qt)),a.abstract=void 0,a.card_template_type="infopane-slide-card";else if(Ue)if(Tn&&An){a.abstract=void 0,a.articleCardBackgroundColor=W(null==Ue?void 0:Ue.colorSamples,ke,!1),a.card_template_type="video-card";let e=c.B._300x225;tt&&ve?e={width:ve.cardWidth,height:225}:tt&&ut&&!ve&&(e=c.B._300x156),a.imageData=I(be,e,ye,A)}else if(Gt){let e=c.B._300x225;At?e=c.B._300x200:tt&&!ve?e=c.B._300x156:tt&&ve&&(e={width:ve.cardWidth,height:Math.round(ve.cardWidth/1.33)}),Ue.width>=e.width&&Ue.height>=e.height?(a.abstract=void 0,a.imageData=I(be,e,ye,A,qt,k)):a.articleCardBackgroundColor=W(null==Ue?void 0:Ue.colorSamples,ke,!1),$t&&(Fn&&ie()&&te().includes("pspux:0")&&y.M0.addOrUpdateTmplProperty("pspux","1"),Ln&&(a.relatedCardData=o,a.card_template_type="perspective-card"))}else if(en){const e=c.B._306x197;a.imageData=I(be,e,ye,A),a.abstract=void 0,a.card_template_type="content-card",a.imagePriority=!0}else{a.card_template_type="content-card";let e=c.B._300x156;At&&(e=c.B._300x200),Ue.width>=e.width&&Ue.height>=e.height?(a.abstract=void 0,a.imagePriority=!0,a.imageData=I(be,e,ye,A,qt)):a.imageData=null}if(t===s.Nv._1x_3y&&en){if(Ue){let e=c.B._300x174;At&&(e=c.B._306x197),a.imageData=I(be,e,ye,A,qt),kt?a.isMsnHpExternalLinkCard=kt:a.abstract=void 0,a.imagePriority=!0}else a.isProviderInFooter=!1;a.card_template_type="content-card"}if(t===s.Nv._2x_2y){let e=c.B._82x82,t=oe(b,$e,kn),n=be;Ue&&(Tn&&Mn?(e=c.B._612x304,Ht&&Ht.includes(s.Nv._2x_2y)&&(e=c.B._468x304),a.articleCardBackgroundColor=W(null==Ue?void 0:Ue.colorSamples,ke,!1),t="video-card",a.abstract=void 0):Gt?lt?(e=c.B._612x304,a.abstract=void 0):A&&(ft||Mt)?ft?Ue.width>=c.B._612x304.width&&Ue.height>=c.B._612x304.height&&(e=c.B._612x304,a.abstract=void 0):Mt&&(e=c.B._406x304):Mt?e=c.B._406x304:Ue.width>=c.B._468x304.width&&Ue.height>=c.B._468x304.height&&(e=c.B._468x304):Ue.width>=c.B._612x304.width&&Ue.height>=c.B._612x304.height&&(e=c.B._612x304,t="infopane-slide-card",a.abstract=void 0));const i=!(Ue&&Ue.url)||e===c.B._82x82;i&&!Gt&&ge&&(e=c.B._612x304,t="infopane-slide-card",n=(0,_.Z)(be),n.cardContent.images=[ge],a.abstract=void 0),i&&Gt&&(n=(0,_.Z)(be),n.cardContent.images=void 0,a.articleCardBackgroundColor=W(null==Ue?void 0:Ue.colorSamples,ke,!1)),Fn&&ie()&&te().includes("pspux:0")&&y.M0.addOrUpdateTmplProperty("pspux","1"),Ln&&(a.relatedCardData=o,t="perspective-card"),(In||(null==Nn?void 0:Nn.length)>0)&&(Rn||(y.M0.addOrUpdateTmplProperty("LinearFeedFlexCardViewed","1"),Rn=!0),it&&(t="flex-article-card")),a.card_template_type=t,a.imageData=I(n,e,ye,A,qt,k),a.imagePriority=!1}if(t===s.Nv._2x_1y){if(Ue){const e=c.B._216x114;a.imageData=I(be,e,ye,A,qt),sn||(a.abstract=void 0)}ln?(a.articleCardBackgroundColor=void 0,a.colorSamples=void 0):a.articleCardBackgroundColor=W(null==Ue?void 0:Ue.colorSamples,ke,null==Ue?void 0:Ue.url)}kn&&Vt&&(a.card_template_type="gaming-stream-card"),we[e].push(a)})),we}function P(e,t,n){const i=e&&(0,A.jI)(t);if(window.dispatchEvent(new CustomEvent("article-link-invoked",{bubbles:!1,cancelable:!0,composed:!i,detail:{destinationUrl:t,shouldOpenOverlay:i}})),!i)return!0;n.preventDefault()}function D(e){return e&&e.cardContent&&e.cardContent.images&&e.cardContent.images.length&&e.cardContent.images[0].url?e.cardContent.images[0]:null}function N(e){return e&&e.images&&e.images.length&&e.images[0].url?e.images[0]:null}function I(e,t,n,i,r,o){const a=D(e);if(!a)return null;const{attribution:l,title:s=e.cardContent.title,url:d,focalRegion:c}=a||{};if(!d)return null;const u=[];let h;s&&u.push(s),l&&u.push(l),u.length&&(h=u.join(" - "));const p=(0,f.mL)(d,{width:t.width,height:t.height,focalRegion:c,enableDpiScaling:i,quality:i&&re()?60:90,devicePixelRatio});let g;return o&&(g=(0,f.mL)(d,{width:t.width,height:t.height,focalRegion:c,enableDpiScaling:!1,quality:1})),{imageWidth:t.width.toString(),imageHeight:t.height.toString(),source:p,blurredSource:g,altText:h,visualReadinessCallback:n}}function L(e,t,n){if(!e)return{logoImage:"",name:void 0};let i="";const r={width:16,height:16,enableDpiScaling:!1,quality:100,format:f.D3.PNG};!t&&e.logo&&e.logo.id?i=(0,f.zz)(e.logo.id,r):(e.logoUrl||e.logo&&e.logo.url)&&(i=(0,f.mL)(e.logoUrl||e.logo.url,r));const o={logoImage:i,id:e.id,name:e.name,profileId:e.profileId};return n&&(o.immersiveCardSvgLogo=Y(n,e.darkThemeSVGLogo),o.svgLogo=(0,O.Y)()?o.immersiveCardSvgLogo:Y(n,e.lightThemeSVGLogo)),o}function F(e){if(e&&e.cardContent){const t=e.cardContent.destinationUrl;return t&&(e.cardContent.destinationUrl=j(t)),e}const t=e;let n;n=t.type===m.PL.Slideshow?"SlideshowPreview":t.type===m.PL.Video?"VideoPreview":t.type===m.PL.WebContent?"WebContentPreview":"ArticlePreview",t.cardContent={id:t.id,destinationUrl:j(t.url),type:n,title:t.title,abstract:t.abstract,provider:t.provider,locale:t.locale,images:t.images,publishedDateTime:t.publishedDateTime,colorSamples:t.colorSamples,badges:t.badges,topics:t.topics,videoFiles:t.externalVideoFiles||{},isLocalContent:t.isLocalContent};const i=t.type;return t.metadata||i===m.PL.AmplifyAd||i===m.PL.NativeAd||i===m.PL.CmsAd||(t.metadata=function(e){var t,n,i,r,o,a,l,s;if(e&&e.metadata)return e.metadata;const d=e,c=null===(n=null===(t=d.cardContent)||void 0===t?void 0:t.destinationUrl)||void 0===n?void 0:n.split("/");return{abstract:d.abstract,abstractLength:null===(i=d.abstract)||void 0===i?void 0:i.length,titleLength:null===(r=d.title)||void 0===r?void 0:r.length,category:d.category||(null==c?void 0:c.length)>=5&&c[4],subCategory:(null==c?void 0:c.length)>=6&&c[5],primaryImage:{height:d.images&&(null===(o=d.images[0])||void 0===o?void 0:o.height),width:d.images&&(null===(a=d.images[0])||void 0===a?void 0:a.width)},locale:d.locale,feed:{id:null===(l=d.feed)||void 0===l?void 0:l.id},kicker:[d.feed],actions:null===(s=d.actions)||void 0===s?void 0:s.map((e=>B[e]||e)),reactionSummary:d.reactionSummary,commentSummary:d.commentSummary,topComments:d.topComments,relatedCards:d.relatedCards,topics:d.topics}}(t)),t}const B={liked:"like",unliked:"unlike",saved:"save"};function E(e,t,n,i,r=!1,o=!1,a,l,s){let d=t,c=e;t.detail&&t.detail.event&&t.detail.data&&(d=t.detail.event,c=this.getListCardMetadata(t.detail.data),r=!0);const{cardSize:u,id:h,title:p,destinationUrl:f,imageData:g,providerData:m,cardActionStatus:y,telemetryContext:{seeMore:v},actionsArrayOverride:b,metadata:w}=c;i({cardSize:u,enabled:!0,buttonElement:d.currentTarget,article:{id:h,headlineTitle:p,href:f,image:{alt:g&&g.altText,src:g&&g.source},provider:{id:m.id,name:m.name,image:{alt:m.name,src:m.logoImage}},abstract:w.abstract},parentTelemetryObject:v,onStatusChange:n,cardStatus:y,updateFeedOnHide:r,showToast:o,refreshFeedCallback:a,openPersonalizeWithoutRouter:l,actionsArrayOverride:b,isReactionsOptedOut:s})}function H(e,t){if(e&&e.placement&&(e.placement.region&&["rightRail","rightrail"].includes(e.placement.region)||e.placement.isAdFeedbackEnabled)&&(t|=i.O7.enabled),!(t&&t&i.O7.enabled))return i.O7.none;const{actions:n=[]}=e.metadata||e;let r=i.O7.enabled;return n.forEach((e=>{"save"===e&&(e="saved"),"liked"!==e&&"like"!==e||(e="showMore");const n=i.O7[e];n&t&&(r|=n)})),r}function U(e){const t=[];return Object.keys(i.O7).forEach((n=>{i.O7[n]&e&&t.push(n)})),t}function R(e,t){t&&t.contentCard&&0!=(e&i.O7.enabled)&&0!=(e&i.O7.saved)&&t.contentCard.addOrUpdateChild({name:l.MW.undoSaveName,type:v.c9.ActionButton,behavior:v.wu.UndoSave,content:t.save.contract.content},t.save)}function j(e){if(!e)return;const t=new URLSearchParams(window.location.search).getAll("item");if(!t||!t.length)return e;const n=new URL(e);return t.forEach((e=>{const t=n.search?"&":"?";-1===n.search.indexOf(e)&&(n.search+=`${t}item=${e}`)})),n.toString()}function $(e,t,n,i){if(!e||!(null==t?void 0:t.name)||!(null==n?void 0:n.contentProviderAttributionLabel)||i&&!(null==n?void 0:n.contentTypeFormattingAriaLabel))return null;const r=z(n,i);return r?(0,T.WU)(null==n?void 0:n.contentTypeFormattingAriaLabel,r,e,t.name):(0,T.WU)(n.contentProviderAttributionLabel,e,t.name)}function z(e,t){return t===m.PL.Slideshow?null==e?void 0:e.galleryAriaLabel:t===m.PL.Video?null==e?void 0:e.videoAriaLabel:t===m.PL.WebContent?null==e?void 0:e.crawledContentLabel:void 0}function W(e,t,n){var i,r,o,a;return(null===(i=null==e?void 0:e.find((e=>e.isDarkMode)))||void 0===i?void 0:i.hexColor)&&(null===(r=null==e?void 0:e.find((e=>!e.isDarkMode)))||void 0===r?void 0:r.hexColor)?e:(null===(o=null==t?void 0:t.find((e=>e.isDarkMode)))||void 0===o?void 0:o.hexColor)&&(null===(a=null==t?void 0:t.find((e=>!e.isDarkMode)))||void 0===a?void 0:a.hexColor)?t:(0,u.pj)(n)}function Z(e,t){var n,i;return(null===(n=null==e?void 0:e.find((e=>e.isDarkMode)))||void 0===n?void 0:n.hexColor)&&(null===(i=null==e?void 0:e.find((e=>!e.isDarkMode)))||void 0===i?void 0:i.hexColor)?e:(0,u.pj)(t)}function G(e,t){return e===m.PL.Slideshow?t?w.Z:b.Z:e===m.PL.Video?t?S.Z:C.Z:void 0}function V(e,t,n,i){return e?(0,g.Xk)(t):(0,g.fh)(t,n,i,null,null,!0)}function q(){return(0,r.cN)(x.jG.CurrentMarket)?90:270}function K(e,t,n){if(!e||!t||!n)return;const i=(0,o.wc)(t,n);if(i)switch(i.type){case a.gZ.LOCAL:i.value?i.localizedLabel=i.value:i.localizedLabel=e[i.type+"BadgeLabel"];break;case a.gZ.VIEWS:case a.gZ.TRENDING:case a.gZ.HOT:case a.gZ.OPINION:case a.gZ.EXPLICITLIKE:case a.gZ.FOLLOWEDTREATMENT:case a.gZ.FOLLOWEDTREATMENTTOPIC:case a.gZ.FOLLOWEDTREATMENTPUBLISHER:default:i.localizedLabel=e[i.type+"BadgeLabel"]}return i}function Y(e,t){if(!t)return t;const n=t.width&&t.height?e*t.width/t.height:void 0;return{url:t.url,height:e,width:n}}function J(e,t){if(ee(e.event.target,"MSFT-ATTRIBUTION"))for(const n of ee(e.event.target,"MSFT-ATTRIBUTION").children)if("attribution_container"===n.id){const e=null==n?void 0:n.clientWidth,i=null==n?void 0:n.children[0].clientWidth,r=null==n?void 0:n.children[0],o=e-i<0?e-i:0;"ltr"===t?r.style.left=o+"px":r.style.right=o+"px"}}function Q(e,t,n,i,r){if(J(e,t),i&&r&&e.event&&e.event.target){const t=e.event.target,i=t.shadowRoot.querySelector(".heading");i&&i.scrollHeight>i.offsetHeight+2?t.setAttribute("title",n):t.setAttribute("title","")}}function X(e,t){if(ee(e.event.target,"MSFT-ATTRIBUTION"))for(const n of ee(e.event.target,"MSFT-ATTRIBUTION").children)if("attribution_container"===n.id){const e=n.children[0];"ltr"===t?e.style.left="0px":e.style.right="0px"}}function ee(e,t){if(!e.children||0===e.children.length)return null;let n=null;const i=function(e,t){if(e.children&&0!==e.children.length)for(const r of e.children)r.nodeName===t&&(n=r),i(r,t)};return i(e,t),n}function te(){const e=y.M0.getPageMetadata();return e&&e.combinedContract&&e.combinedContract.flight&&e.combinedContract.flight.tmpl||""}function ne(e){const t=x.jG.CurrentRequestTargetScope&&x.jG.CurrentRequestTargetScope.pageExperiments;return t&&t.includes(e)}function ie(){return ne("prg-persp2u")||ne("prg-persp2u-c")||ne("prg-persph")||ne("prg-persph-c")}function re(){const e=window&&window.navigator;if(!e)return!1;const t=e.deviceMemory,n=e.hardwareConcurrency;return t<=2&&n<=2}function oe(e,t,n){return e.useGamingMediaTemplateInRiver&&n?"gaming-stream-card":e.enableFeedSuperCards&&t?"web-content-card":e