edString",void 0),(0,b.gn)([W.LO],X.prototype,"trendingNowTelemetry",void 0),(0,b.gn)([W.LO],X.prototype,"trendingTitleTelemetry",void 0),(0,b.gn)([W.LO],X.prototype,"trendingSeeMoreTelemetry",void 0);var Q=n(32804),ee=n(22674),te=n(40082),ne=n(53046);const ie=ne.i`
.image {
    padding-left: 8px;
}

msft-content-indicator {
    left: 11px;
}
`,re=ne.i`
.image {
    padding-right: 8px;
}

msft-content-indicator {
    left: 3px;
}

.head-title {
    padding: 16px 16px 8px 150px;
}

.news-list {
    margin-left: 6px;
    margin-right: 10px;
}

.bottom .see-more-wrapper {
    margin-left: 0px;
    margin-right: -10px;
}
`,oe=ne.i`
    .container {
        background: linear-gradient(323.98deg, #341F23 10.67%, #2F1C20 100%);
    }

    .news:hover {
        background: rgba(255, 255, 255, 0.07);
        border-radius: 4px;
    }

    .see-more-container {
        background: linear-gradient(323.98deg, #341F23 10.67%, #2F1C20 100%);
    }

    .sd-action {
        background-color: rgba(255,255,255,0.09);
    }
    .sd-action:hover, .sd-action:active, .sd-action:focus-visible {
        background: rgba(255,255,255,0.15);
    }
    .sd-action .control {
        color: #FFFFFF;
    }
`,ae=ne.i`
:host {
    --msft-article-padding: 16;
    --msft-card-font-color: ${Q.CHi};
    width: 100%;
    height: 100%;
    outline: none;
}

a {
    text-decoration: none;
}

.container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    overflow: visible;
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 6px;
    background: linear-gradient(323.98deg, #FFE7EB 10.67%, #FFF6F8 100%);
    box-shadow: 0px 1.6px 3.6px rgba(0, 0, 0, 0.13), 0px 0px 2.9px rgba(0, 0, 0, 0.11);
}

.head {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}

.head-title {
    text-transform: uppercase;
    line-height: 16px;
    font-size: 12px;
    font-weight: 600;
    color: ${Q.CHi};
    padding: 16px 150px 8px 16px;
}

.head-title-cover::after {
    content: '';
    position: absolute;
    inset: 0px;
    width: 100%;
    height: 100%
}

.title-chevron path {
    fill: ${Q.CHi};
}

.title-chevron {
    vertical-align: middle;
    background-color: transparent;
}

a.head-title:hover {
    text-decoration: underline;
}

a.heading:hover {
    text-decoration: underline;
}

a:hover > div > span.news-heading {
    text-decoration: underline;
}

msft-attribution.new-hover-attr {
    width: 172px;
}

msft-attribution.new-hover-attr-no-image {
    width: 244px;
}

.news-list {
    overflow-y: scroll;
    height: 240px;
    margin-right: 6px;
    margin-left: 10px;
    z-index: 0;
}

.news-list::-webkit-scrollbar {
    width: 4px;
}

.news-list::-webkit-scrollbar-thumb {
    border-radius: 20px;
    height: 160px;
    -webkit-box-shadow: inset 0 0 5px #eee;
    background: ${Q.Q5n};
}

.news-list2 {
    overflow-y: scroll;
    height: 240px;
    margin-right: 6px;
    margin-left: 10px;
    z-index: 0;
}

.news-list2::-webkit-scrollbar {
    width: 4px;
}

.news-list2::-webkit-scrollbar-thumb {
    border-radius: 20px;
    height: 80px;
    -webkit-box-shadow: inset 0 0 5px #eee;
    background: ${Q.Q5n};
}

.news-list-more {
    height: calc(100% - 44px);
}

.news {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 24px auto auto;
    padding: 8px 6px;
}

.news:hover {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

msft-attribution::part(content) {
    font-size: 12px;
}

.news-index {
    color: ${Q.CHi};
    font-size: 16px;
    line-height: 20px;
    font-weight: 600;
    width: 24px;
}

.news-index-1 {
    color: #fe2d46;
}

.news-index-2 {
    color: #f60;
}

.news-index-3 {
    color: #faa90e;
}

.news-index-more {
    color: ${Q.Q5n};
}

.text-with-index {
    min-width: 172px;
    height: 64px;
    display: grid;
}

.news-heading {
    width: 172px;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    font-weight: 600;
    text-decoration: none;
    color: ${Q.CHi};
    font-size: 14px;
    line-height: 20px;
    -webkit-line-clamp: 2;
    margin: 0;
    outline: 0;
}

.news-heading-no-image {
    width: 244px;
}

.image {
    width: 64px;
    height: 64px;
    position: relative;
}

.image img {
    border-radius: 6px;
}

msft-content-indicator {
    position: absolute;
    z-index: 1;
    top: 3px;
}

.content_video msft-content-indicator {
    left: 28px;
    top: 20px;
}

.content_video msft-content-indicator {
    color: transparent;
}

.content_video msft-content-indicator::after {
    background: transparent;
}

.see-more-container {
    position: relative;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    padding: 5px 0;
    background: linear-gradient(323.98deg, rgb(254 230 235) 10.67%, rgb(255 237 240) 100%);
}
.sd-action {
    height: 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.65);
    fill: currentcolor;
    cursor: pointer;
}
.sd-action:hover, .sd-action:active, .sd-action:focus-visible {
    background: rgba(255,255,255,0.8);
}
.sd-action .control {
    display: inline-block;
    background: transparent;
    padding: 0px 24px;
    height: inherit;
    line-height: 32px;
    color: #000000;
    font-size: 14px;
    font-family: inherit;
    white-space: nowrap;
    outline: none;
    text-decoration: none;
    border-radius: inherit;
    fill: inherit;
    cursor: inherit;
}
.news-arrow-glyph {
    height: 12px;
    width: auto;
    position: relative;
    top: 1px;
    fill: var(--textStyle);
}
`.withBehaviors((0,te.Uu)(oe),new ee.O(ie,re));var se=n(18864),le=n(56912),de=n(50640),ce=n(92011),ge=n(12710),ue=n(11363),he=n(54804);const me=Y.d`
    <a class="news"
        href="${e=>e.href}"
        target=${(e,t)=>{var n;return(null===(n=t.parent.treatmentsConfig)||void 0===n?void 0:n.shouldOpenInOverlay)?"_self":"_blank"}}
        @click="${(e,t)=>t.parent.handleTrendingNewsCardClick&&t.parent.handleTrendingNewsCardClick(t.event)}"
        data-t="${e=>e.telemetry}"
        title=${(e,t)=>{var n,i;return(null===(n=t.parent.treatmentsConfig)||void 0===n?void 0:n.disableCardTitleTooltip)&&!(null===(i=t.parent.treatmentsConfig)||void 0===i?void 0:i.disableTitleOnArticleCardOnly)?"":e.title}}
        @mouseenter="${(e,t)=>{var n,i,r;return t.parent.setTitleAttributeOnHover&&t.parent.setTitleAttributeOnHover(t.event,e.title,(null===(n=t.parent.treatmentsConfig)||void 0===n?void 0:n.disableCardTitleTooltip)&&!(null===(i=t.parent.treatmentsConfig)||void 0===i?void 0:i.disableTitleOnArticleCardOnly),null===(r=t.parent.treatmentsConfig)||void 0===r?void 0:r.enableTitleForTruncate)}}"
    >
        ${Y.d`
        ${(0,J.g)(((e,t)=>0===t.index),Y.d`
            <span class="news-index news-index-1">${(e,t)=>t.index+1}.</span>
        `)}
        ${(0,J.g)(((e,t)=>1===t.index),Y.d`
            <span class="news-index news-index-2">${(e,t)=>t.index+1}.</span>
        `)}
        ${(0,J.g)(((e,t)=>2===t.index),Y.d`
            <span class="news-index news-index-3">${(e,t)=>t.index+1}.</span>
        `)}
        ${(0,J.g)(((e,t)=>t.index>2),Y.d`
            <span class="news-index news-index-more">${(e,t)=>t.index+1}.</span>
        `)}
    `}
        <div class="text-with-index">
            <span id="${e=>e.id}" class="${e=>e.imgUrl?"news-heading":"news-heading news-heading-no-image"}">
                ${e=>e.title}
            </span>
            ${Y.d`
    <msft-attribution slot="attribution" class="${e=>e.imgUrl?"new-hover-attr":"new-hover-attr new-hover-attr-no-image"}">
        <span>
            ${(0,J.g)((e=>e.provider&&e.provider.name),Y.d`<span style="unicode-bidi:embed">${e=>e.provider.name}</span>`)}
            ${(0,J.g)((e=>e.provider&&e.provider.name&&e.provider.publishedDateTime),Y.d` · `)}
            ${(0,J.g)((e=>e.provider&&e.provider.publishedDateTime),Y.d`${(e,t)=>((e,t)=>{const n=(0,ue.fh)(e,he.Al.Locale||"en-us",{JustNow:t.JustNow,NumberDayAgo:t.NumberDayAgo,NumberDaysAgo:t.NumberDaysAgo,NumberHourAgo:t.NumberHourAgo,NumberHoursAgo:t.NumberHoursAgo,NumberMinuteAgo:t.NumberMinuteAgo,NumberMinutesAgo:t.NumberMinutesAgo},1);return null!=n?n:""})(new Date(e.provider.publishedDateTime),t.parent.localizedString)}`)}
        </span>
    </msft-attribution>
    `}
        </div>
        ${(0,J.g)((e=>e.imgUrl),Y.d`
            <div class="image content_${e=>e.type}">
                ${e=>function(e){let t;switch(e){case y.PL.Slideshow:t=de.Z;break;case y.PL.Video:t=ge.Z;break;case y.PL.WebContent:t=ce.Z}return t?Y.d`
        <msft-content-indicator slot="content-indicator" style="--control-corner-radius: 4">
            ${t}
            ${""}
        </msft-content-indicator>
    `:""}(e.type)}
                <img src="${e=>e.imgUrl}" width="64px" height="64px"></img>
            </div>
        `)}
    </div>
`,pe=Y.d`
    <div class="see-more-container" part="see-more-container">
        <div
            class="sd-action"
            part="sd-action"
        >   
            <a  class="control" part="control"
                href="${e=>e.headHref}"
                target="_blank"
                data-t="${e=>e.trendingSeeMoreTelemetry}"
                title=${e=>e.seeMoreNews}>
            ${e=>e.seeMoreNews}
            <span class="title-chevron">${le.Z}</span>
            </a>
        </div>
    </div>
`,fe=e=>(null==e?void 0:e.enableNewScrollbarthumb)?"news-list2":"news-list",we=Y.d`
    <div class="container" data-t="${e=>e.trendingNowTelemetry}">
        <div class="head">
            <a
                class="head-title head-title-cover"
                href="${e=>e.headHref}"
                target="_blank"
                data-t="${e=>e.trendingTitleTelemetry}"
                title=${e=>{var t,n;return(null===(t=e.treatmentsConfig)||void 0===t?void 0:t.disableCardTitleTooltip)&&(null===(n=e.treatmentsConfig)||void 0===n?void 0:n.disableTitleOnArticleCardOnly)?"":e.headName}}
            >
                ${e=>e.headName}
                <span class="title-chevron">${le.Z}</span>
            </a>
        </div>
        <div class=${e=>e.trendingNewsData&&e.trendingNewsData.length>0?fe(e.treatmentsConfig)+" news-list-more":fe(e.treatmentsConfig)}>
            ${(0,J.g)((e=>e.trendingNewsData),Y.d`
                ${(0,se.rx)((e=>e.trendingNewsData),me,{positioning:!0})}
            `)}
            ${(0,J.g)((e=>e.trendingNewsData),pe)}
        </div>
    </div>
`;let be=class extends X{};be=(0,b.gn)([(0,q.M)({name:"trending-news",styles:ae,template:we,shadowOptions:{delegatesFocus:!0}})],be);var ve=n(82891),ye=n(81563);K.a;const Ce=Y.d`
    ${e=>(0,ye.O)(e.config.childExperienceReferences.sdCardMaskWC,{properties:{cardType:"Trend",isHalfCard:"_1x_1y"===e.feedLayoutCardSize,feedbackTexts:[e.strings.feedbackOption1,e.strings.feedbackOption2,e.strings.feedbackOption3]}})}
`,xe=Y.d`
    <msft-serendipity
        class="${e=>e.config.wrapperClass||""} ${e=>e.config.isCustomStyle?"trending-now-custom":""}"
        id="trendingNowAndRecommendedSearch"
        :recommendedList="${e=>e.recommendedSearchData}"
        :recommendedSectionTelemetry=${e=>e.recommendedSearchSectionTelemtry}
        :recommendedTitle="${e=>e.strings.recommendedTitle}"
        :trendingHref="${e=>(0,ve.Z3)()}"
        :trendingList="${e=>e.trendingNowListTermsData}"
        :trendingTitle="${e=>e.strings.trendingNowHeadingTitle}"
        :trendingSectionTelemetry=${e=>e.trendingNowSectionTelemetry}
        :trendingTitleTelemetry=${e=>e.trendingNowTitleTelemetry}
        :trendingSeeMoreTelemetry=${e=>e.trendingNewsSeeMoreTelemetry}
    >
        <span slot="trending-title">${e=>e.strings.trendingNowHeadingTitle}</span>
        <span slot="recommended-title">${e=>e.strings.recommendedTitle}</span>
    </msft-serendipity>
`,Te=Y.d`
    <trending-news
        id="trendingNews"
        :trendingNewsData="${e=>e.trendingNowListTermsData}"
        :headName="${e=>{var t;return null===(t=e.strings)||void 0===t?void 0:t.trendingNewsHeadingTitle}}"
        :headHref="${e=>(0,ve.Z3)()}/topic/trending stories"
        :seeMoreNews="${e=>{var t;return null===(t=e.strings)||void 0===t?void 0:t.trendingNewsSeeMoreText}}"
        :treatmentsConfig="${e=>{var t;return null===(t=e.config)||void 0===t?void 0:t.trendingNewsTreatments}}"
        :localizedString="${e=>e.strings}"
        :trendingNowTelemetry="${e=>e.trendingNowSectionTelemetry}"
        :trendingTitleTelemetry="${e=>e.trendingNowTitleTelemetry}"
        :trendingSeeMoreTelemetry=${e=>e.trendingNewsSeeMoreTelemetry}
    >
    </trending-news>
`,Se=Y.d`
    ${(0,J.g)((e=>{var t;return null===(t=e.config)||void 0===t?void 0:t.trendingNewsTreatments}),Te)}
    ${(0,J.g)((e=>{var t,n,i;return!(null===(t=e.config)||void 0===t?void 0:t.trendingNewsTreatments)&&(null===(n=e.config)||void 0===n?void 0:n.enableRecommendedSearch)&&(null===(i=e.config)||void 0===i?void 0:i.recommendedSearchConfig)}),xe)}
    ${(0,J.g)((e=>{var t;return e.isGA&&(null===(t=e.config.childExperienceReferences)||void 0===t?void 0:t.sdCardMaskWC)}),Ce)}
`,Ne=ne.i`
:host {
    border-radius: 6px;
}

msft-serendipity:not(.trending-now-custom)::part(trending-title) {
    padding-block-end: unset;
}

msft-serendipity:not(.trending-now-custom)::part(recommended-title) {
    padding: 8px 0 4px 0;
}

msft-serendipity:not(.trending-now-custom)::part(trending-title-a) {
    text-transform: uppercase;
    line-height: 16px;
}

/** Homepage styles */
msft-serendipity.trending-now-hp::part(serendipity-container-ten) {
    padding: 0 12px;
    font-weight: normal;
    font-family: "Segoe UI Semibold","Segoe WP Semibold","Segoe WP","Segoe UI",Arial,sans-serif;
}

msft-serendipity.trending-now-hp::part(trending-title),
msft-serendipity.trending-now-hp::part(recommended-title) {
    font-size: 13px;
    padding-top: 7px;
    white-space: nowrap;
    width: 283px;
    height: 30px;
    display: flex;
    align-items: center;
    color: #333;
}

msft-serendipity.trending-now-hp::part(trending-title-a),
msft-serendipity.trending-now-hp::part(recommended-title) {
    line-height: unset;
    font-size: 13px;
    font-weight: normal;
    color: inherit;
}

msft-serendipity.trending-now-hp::part(trending-title-a) {
    display: inline-block;
    line-height: normal;
    overflow: hidden;
    vertical-align: middle;
}

msft-serendipity.trending-now-hp::part(trending-list-item),
msft-serendipity.trending-now-hp::part(recommend-items-containers) {
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
    padding-top: 3px;
    white-space: nowrap;
}
`,ke={experienceConfigSchema:w};(0,a.z)().withShadowRootMode("closed").withElementDisambiguation((()=>d.h.ignoreDuplicate)).register((0,s.hb)(),(0,l.ay)()),d.K.getOrCreate().withShadowRootMode("open").withElementDisambiguation((()=>d.h.ignoreDuplicate)).withPrefix("msft").register((0,i.iI)(),(0,r.B4)(),(0,o.tO)())},21858:function(e,t,n){n.d(t,{Go:function(){return a},TR:function(){return l},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 s(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function l(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),s=`0${Math.abs(n)}`.substr(-2)+":"+`0${Math.abs(i)}`.substr(-2);return a.toISOString().replace("Z",(o<0?"-":"+")+s)}function c(e){const t=a(e),n=function(){const e=o();return e.setHours(0,0,0,0),e}(),r=s(n,-1),l=s(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>=l?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 g}});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 s=(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(s,s<120?this.timeLocStrings.NumberMinuteAgo:this.timeLocStrings.NumberMinutesAgo,60);case r.i.Today:return this.timespanString(s,s<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 s<a?this.timespanString(s,s<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,i):this.timespanString(s,s<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(s,s<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 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}"},l={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 g=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=u.MsPerMinute,o=u.MsPerHour,a=u.MsPerDay,s=u.MsPerWeek,c=u.MsPerMonth,g=u.MsPerYear,h=t.getTime()-e.getTime();if(h<r)return n.JustNow||"";let m=g,p="Year";h<o?(m=r,p="Minute"):h<a?(m=o,p="Hour"):h<s?(m=a,p="Day"):h<c?(m=s,p="Week"):h<g&&(m=c,p="Month");const f=/^[Aa][Rr]-/.test(i),w=/^[Hh][Ee]-/.test(i),b=Math.floor(h/m);let v=null;v=f?function(e,t){if(e<2)return l[t].one;if(e<3)return l[t].two;if(e<11)return l[t].threeToTen;return l[t].elevenPlus}(b,p):w?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,b,p):n[`Number${p}${b>1?"s":""}Ago`];return v?v.replace("{0}",b):""}(e,new Date,n,g);if(!n&&"zh-cn"===g)return"";n||(n=s);const h=(o=o||new i.$).localizedDateString(e,g);r||(r=0);return new a(n,g,o).transform(e,h,r)}function g(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 u={MsPerMinute:6e4,MsPerHour:36e5,MsPerDay:864e5,MsPerWeek:6048e5,MsPerMonth:2592e6,MsPerYear:31104e6}},80368:function(e,t,n){function i(e){let t;if(e instanceof URL)t=e.searchParams;else if(e instanceof URLSearchParams)t=e;else if("string"==typeof e)try{t=new URL(e).searchParams}catch(e){t=void 0}return r(t,"ocid")}function r(e,t,n){if(e&&t){const i={value:e.get(t)||void 0};if(!i.value&&n&&n.length>0)for(let t=0;t<n.length&&(i.value=e.get(n[t])||void 0,!i.value);++t);if(!i.value){const n=t.toLowerCase();e.forEach((function(e,t){!i.value&&t.toLowerCase()===n&&e&&(i.value=e)}))}return i.value}}function o(e,t){if(!e)return null;let n;try{n=new URL(e instanceof URL?e.href:e)}catch(e){return null}return n&&t&&t.length&&t.forEach((e=>{n.searchParams.delete(e)})),n.href}function a(e){const t=new RegExp("^.*/([Aa][Rr]||[Ss]{2}||[Vv][Ii]||[Vv][Pp])-(?<contentId>[a-zA-Z0-9]{6,8})(([?].*)||#.*)?$");return null!==e.match(t)}n.d(t,{ku:function(){return i},Ol:function(){return r},jI:function(){return a},Pv:function(){return l},jC:function(){return o}});const s=new Set(["msedgdhphdr","msedgntphdr","msedgntp","msedgdhp","entnewsntp"]);function l(e){return!!function(e){if("string"==typeof e)try{e=new URL(e)}catch(t){e=null}const t={};if(e){let n="";e.searchParams.forEach((function(e,t){!n&&"ocid"===t.toLowerCase()&&e&&(n=e.toLowerCase())})),n&&(("win"===n.substr(0,3)||s.has(n))&&(t.isWindows=!0),"weather-app-win"===n&&(t.isWinApp=!0))}return t}(e).isWindows}n(76148)},53909:function(e,t,n){n.d(t,{D3:function(){return a},KL:function(){return c},mL:function(){return h},pG:function(){return l},q3:function(){return d},vc:function(){return s},zz:function(){return g}});var i=n(12697),r=n(80983);let o;var a,s;!function(e){e.JPG="jpg",e.PNG="png"}(a||(a={})),function(e){e[e.None=0]="None",e[e.Letterbox=1]="Letterbox",e[e.Scale=2]="Scale",e[e.Stretch=3]="Stretch",e[e.Crop=4]="Crop",e[e.FocalCrop=5]="FocalCrop",e[e.FacialCrop=6]="FacialCrop"}(s||(s={}));const l=90,d="www.bing.com/th",c=new RegExp(/bing\.(com|net)\/th/);function g(e,t){return h(((0,r.P)()?"//img-s.msn.cn/tenant/amp/entityid/":"//img-s-msn-com.akamaized.net/tenant/amp/entityid/")+e,t)}const u=Math.ceil(4*Math.random())||4;function h(e,t){if(e&&c.test(e))return function(e,t){try{return m(new URL(e),t).href}catch(n){const i=m(new URL(`https://${e}`),t);return`//${i.host}${i.pathname}${i.search}`}}(e,t);const{focalRegion:n,backgroundColor:r}=t;let{w