type,"cardLayout",void 0),(0,L.gn)([O.LO],te.prototype,"digestData",void 0),(0,L.gn)([O.LO],te.prototype,"cardHeadingText",void 0),(0,L.gn)([O.LO],te.prototype,"cardSeeMoreLink",void 0),(0,L.gn)([O.LO],te.prototype,"currentIndex",void 0),(0,L.gn)([O.LO],te.prototype,"superCardData",void 0),(0,L.gn)([O.LO],te.prototype,"telemetryContext",void 0);var ae=a(39181);const ie=ae.d`
 <cs-sd-super-list
     slot="content"
     :contentList=${e=>e.getListArticleContent(e.currentIndex)}
     :listContainerTelemetry=${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.cardContentTelemetryObject}}
 >
 </cs-sd-super-list>
`,ne=ae.d`
    <div 
        slot="content"
        class="wide-container"
    >
        <cs-article-card-digest
            class="column1"
            :data=${e=>e.getSingleArticleContent(e.currentIndex)}
        >
        </cs-article-card-digest>
        <cs-sd-super-list
            class="column2"
            :contentList=${e=>e.getListArticleContent(e.currentIndex)}
            :listContainerTelemetry=${e=>{var t;return null===(t=e.telemetryContext)||void 0===t?void 0:t.cardContentTelemetryObject}}
        >
        </cs-sd-super-list>
    </div>
`,oe=ae.d`
<cs-core-sd-card 
    :data="${e=>e.superCardData}" size="${e=>e.cardLayout}" 
>
    ${e=>e.cardLayout===X.Nv._2x_2y?ne:ie}
</cs-core-sd-card>
`;const re=a(53046).i`
:host {
    --sd-card-content-padding-inline: 4px;
}

.wide-container {
    display: grid;
    grid-auto-columns: 50%;
}

.columnl1 {
    grid-column: 1;
}

.column2 {
    grid-column: 2;
}

cs-core-sd-card::part(cs-sd-card) {
    contain: unset;
    content-visibility: visible;
}
`,se={experienceConfigSchema:$};(0,h.z)().withShadowRootMode("closed").withElementDisambiguation((()=>i.h.ignoreDuplicate)).register((0,u.QT)(),(0,p.hb)(),(0,g.q$)(),(0,m.H5)(),(0,f.WE)()),(0,l.D)().withShadowRootMode("open").withElementDisambiguation((()=>i.h.ignoreDuplicate)).withPrefix("cs").register((0,D.$l)(),(0,A.l7)(),(0,M.QZ)(),(0,I.RM)(),(0,o.Gp)(),(0,d.J)(),(0,c.G)()),i.K.getOrCreate().withShadowRootMode("open").withElementDisambiguation((()=>i.h.ignoreDuplicate)).withPrefix("msft").register((0,y.iI)(),(0,w.B4)(),(0,v.tO)()),(0,l.D)().withShadowRootMode("open").withElementDisambiguation((()=>i.h.ignoreDuplicate)).withPrefix("cs").register((0,o.Gp)(),(0,r.u0)(),(0,s.$j)(),(0,n.P)())},74045:function(e,t,a){"use strict";var i,n;a.d(t,{KE:function(){return r},O7:function(){return i},Qp:function(){return s},Us:function(){return n},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"}(n||(n={}));const o=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},r="/service/feedback/api/reportanissue",s="https://assets.msn.cn/service/feedback/api/reportanissue"},21858:function(e,t,a){"use strict";a.d(t,{Go:function(){return r},TR:function(){return l},Y6:function(){return d},Yw:function(){return c}});var i=a(94516);const n=new RegExp("\\:([\\d]{2})");function o(){return new Date}function r(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 a=parseInt(t),i=parseInt(n.exec(t)[1]),o=a<0?-1:1,r=new Date(e.getTime()+60*(60*a+o*i)*1e3),s=`0${Math.abs(a)}`.substr(-2)+":"+`0${Math.abs(i)}`.substr(-2);return r.toISOString().replace("Z",(o<0?"-":"+")+s)}function c(e){const t=r(e),a=function(){const e=o();return e.setHours(0,0,0,0),e}(),n=s(a,-1),l=s(a,-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>=a?i.i.Today:e>=n?i.i.Yesterday:e>=l?i.i.ThisWeek:e>=d?i.i.ThisYear:i.i.FullDate}},79703:function(e,t,a){"use strict";a.d(t,{$:function(){return o}});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 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?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 h}});var i=a(79703),n=a(94516),o=a(21858);class r{constructor(e,t,a){this.timeLocStrings=e,this.locale=t,this.locUtility=a}transform(e,t,a){const i=3600,r=86400;if(!e)return"";if(!this.locUtility.supportsLocaleSpecifiers)return t;const s=(0,o.Go)(e);switch((0,o.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<r?this.timespanString(s,s<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,i):this.timespanString(s,s<172800?this.timeLocStrings.NumberDayAgo:this.timeLocStrings.NumberDaysAgo,r);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,r);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}"},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,a,n,o,c){const h=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=u.MsPerMinute,o=u.MsPerHour,r=u.MsPerDay,s=u.MsPerWeek,c=u.MsPerMonth,h=u.MsPerYear,p=t.getTime()-e.getTime();if(p<n)return a.JustNow||"";let g=h,m="Year";p<o?(g=n,m="Minute"):p<r?(g=o,m="Hour"):p<s?(g=r,m="Day"):p<c?(g=s,m="Week"):p<h&&(g=c,m="Month");const f=/^[Aa][Rr]-/.test(i),y=/^[Hh][Ee]-/.test(i),w=Math.floor(p/g);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}(w,m):y?function(e,t,a){if("Minute"==a||"Hour"==a||"Day"==a)return e[`Number${a}${t>1?"s":""}Ago`];if(t<2)return d[a].one;if(t<3)return d[a].two;return d[a].three}(a,w,m):a[`Number${m}${w>1?"s":""}Ago`];return v?v.replace("{0}",w):""}(e,new Date,a,h);if(!a&&"zh-cn"===h)return"";a||(a=s);const p=(o=o||new i.$).localizedDateString(e,h);n||(n=0);return new r(a,h,o).transform(e,p,n)}function h(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}},37429:function(e,t,a){"use strict";var i,n;a.d(t,{u:function(){return i},w:function(){return n}}),function(e){e[e.ALL=3]="ALL",e[e.VP=1]="VP",e[e.TTVR=2]="TTVR"}(i||(i={})),function(e){e.image="image",e.provider="provider",e.socialBar="socialBar"}(n||(n={}))},76859:function(e,t,a){"use strict";a.d(t,{C7:function(){return r},Nv:function(){return i},OO:function(){return s},X9:function(){return l},sn:function(){return o}});var i,n=a(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,r=300,s=12,l=(0,n.Z)((e=>Array(e).fill(o)))},30113:function(e,t,a){"use strict";var i;a.d(t,{m:function(){return i}}),function(e){e.small="OneByOne",e.medium="OneByTwo",e.large="OneByThree"}(i||(i={}))},11708:function(e,t,a){"use strict";var i;a.d(t,{f:function(){return i}}),function(e){e.AiCharacter="aicharacterCardEnabled",e.AutosMarketplaceCard="autosmarketplaceCardEnabled",e.HoroscopeCard="horoscopeCardEnabled",e.WeatherCard="weatherCardEnabled",e.SportsCard="sportsCardEnabled",e.MoneyCard="moneyCardEnabled",e.FinanceCard="financeCardEnabled",e.OnThisDayCard="onthisdayCardEnabled",e.ShoppingCard="shoppingCardEnabled",e.ShoppingEventCard="eventSDCardShoppingEnabled",e.TrafficCard="trafficCardEnabled",e.EsportsCard="esportsCardEnabled",e.EsportsStreamsCard="esportsStreamsCardEnabled",e.ElectionsCard="genericelectionCardEnabled",e.LotteryCard="lotteryCardEnabled",e.QnaCard="qnaCardEnabled",e.RecipesCard="recipeCardEnabled",e.InspirationCard="inspirationCardEnabled",e.TravelCard="travelCardEnabled",e.HealthCard="healthCardEnabled",e.TopStoriesCard="topstoriesCardEnabled",e.TrendingTopics="TrendingTopicsUpsellEnabled",e.LocalGuideCard="localGuideCardEnabled",e.GroceryCard="groceryCardEnabled",e.RewardsCard="rewardsCardEnabled",e.RecommendedSearchesCard="recommendedSearchesCardEnabled",e.PersonalizedOffersCard="personalizedoffersCardEnabled",e.PollsCard="pollsCardEnabled",e.MarketPlaceCard="marketplaceCardEnabled",e.QuizCard="quizCardEnabled",e.CasualGamesCard="esportsCardEnabled",e.CommuteCard="commuteCardEnabled",e.Crypto="CryptoCard",e.MarketBrief="MarketBriefCard"}(i||(i={}))},83152:function(e,t,a){"use strict";var i;a.d(t,{L:function(){return i}}),function(e){e.Location="Location",e.Weather="Weather",e.Finance="Finance",e.Team="Team",e.League="League",e.Player="Player",e.Traffic="Traffic",e.Widget="Widget",e.TopicFeed="TopicFeed"}(i||(i={}))},791:function(e,t,a){"use strict";a.d(t,{N:function(){return v}});var i=a(33940),n=a(33954),o=a(26415),r=a(68364),s=a(33799),l=a(16517),d=a(94788),c=a(67267),h=a(63535),u=a(87298),p=a(83152),g=a(11708),m=a(30113),f=a(65135),y=a(33379),w=a(51671);const v=new class extends class{constructor(e){this.fetchImpl=e,this.userUpdateEndpoint="msn/user",this.pdpServiceEndpoint="graph/actions",this.locationsServiceEndPoint="v1/news/users/me/locations",this.userActionServiceEndPoint="news/users/me/actions",this.ocid="Peregrine",this.ocidOverride=!1}getUserDefaultLocation(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t={method:"GET",headers:yield c.$.getOneServiceHeaders(),credentials:"include"},a=(0,h.PH)(this.locationsServiceEndPoint);let n;[...c.$.getCommonParams2(this.ocid,!this.ocidOverride),{key:"autodetect",value:e&&`${e}`}].forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{n=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(a.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: getUserDefaultLocation}`;throw new Error(t)}return e}))),"getUserDefaultLocation")}catch(e){return n}return n}))}addToFavoriteLocation(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){const a="Location",n="Follow",o={method:"POST",body:JSON.stringify({actionType:n,targetType:a,definitionName:t,degree:"FavoriteLocation",metaData:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},r=(0,h.PH)(this.pdpServiceEndpoint);let d;((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)}));try{d=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,o);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: Location`;throw new Error(t)}return e.json()}))),"addToFavoriteLocation")}catch(e){return!1}return!0}))}removeFavoriteLocation(e){return(0,i.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}removeLocation(e){return(0,i.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}updatePdpHomeLocation(e,t,a={},n){return(0,i.mG)(this,void 0,void 0,(function*(){const o=p.L.Location,r="Follow",d=yield this.getRequestInit({method:"POST"},a);d.body=JSON.stringify({actionType:r,targetType:o,definitionName:t,degree:"DefaultLocation",metaData:e});const g=(0,h.PH)(this.pdpServiceEndpoint);return((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)})),yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e}))),"setPdpHomeLocation"),this.tryInvalidateBulkFetchedPdpTargetType(o),!0}))}updateTrafficMyRoutes(e,t,a,o,r,s){return(0,i.mG)(this,void 0,void 0,(function*(){const l=a.replace(/[^a-zA-Z0-9\-.,_]/g,""),d=p.L.Traffic,h="Follow",g={method:"POST",body:JSON.stringify({actionType:h,targetType:d,targetId:l,degree:e,definitionName:t,metadata:o,createdDateTime:s}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},m=yield this.getTrafficPdpUrl(null,null,r);try{yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(m.href,g);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${d}`;throw new Error(t)}return e.json()}))),"updateTrafficMyRoutes");this.tryInvalidateBulkFetchedPdpTargetType(d)}catch(e){return n.k.logError(e.message),!1}return!0}))}deleteTrafficMyRoutes(e,t,a){return(0,i.mG)(this,void 0,void 0,(function*(){const n={method:"DELETE",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,t,a);try{yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,n);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"deleteTrafficFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Traffic)}catch(e){return!1}return!0}))}getTrafficMyRoutes(e,t){var a;return(0,i.mG)(this,void 0,void 0,(function*(){const n={method:"GET",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,null,t);try{const e=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,n);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"getTrafficFromPdp");return null===(a=yield e.json())||void 0===a?void 0:a.value}catch(e){return null}}))}getTrafficPdpUrl(e,t,a){return(0,i.mG)(this,void 0,void 0,(function*(){const i=(0,h.PH)(this.pdpServiceEndpoint),n=(yield(0,w.XJ)())===s.Hy.SignedIn,o=(0,l.Yq)().UserId,r=n?c.$.getOneServiceParamsWithAuth(o,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(o,this.ocid,!this.ocidOverride);if(e||t){const a=`targetType eq '${p.L.Traffic}'`,n=e?`degree eq '${e}'`:"",o=t?`definitionName eq '${t}'`:"";i.searchParams.set("$filter",`actionType eq 'Follow' and (${a})${n?` and (${n})`:""}${o?` and (${o})`:""}`)}return[...r,...a||[]].forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)})),i}))}addToWatchList(e,t=0,a={},n={}){return(0,i.mG)(this,void 0,void 0,(function*(){const o=p.L.Finance,r="Follow",d={method:"POST",body:JSON.stringify({actionType:r,targetType:o,targetId:e,metadata:Object.assign({securityType:t,tickerId:this.generateUUID()},n)}),headers:yield this.getOneserviceHeaders(a),credentials:"include"},g=(0,h.PH)(this.pdpServiceEndpoint),m="zh-cn"!==(0,l.Yq)().CurrentMarket;let f;((yield(0,w.XJ)())===s.Hy.SignedIn&&m?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));try{f=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(o)}catch(e){return!1}return!0}))}addListToWatchList(e,t={},a={}){return(0,i.mG)(this,void 0,void 0,(function*(){const n=p.L.Finance,o="Follow",r={method:"POST",body:JSON.stringify(e.map((e=>({actionType:o,targetType:n,targetId:e.key,metadata:Object.assign({securityType:e.value,tickerId:this.generateUUID()},a)})))),headers:yield this.getOneserviceHeaders(t),credentials:"include"},d=(0,h.PH)(this.pdpServiceEndpoint),g="zh-cn"!==(0,l.Yq)().CurrentMarket;let m;((yield(0,w.XJ)())===s.Hy.SignedIn&&g?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&d.searchParams.set(e.key,e.value)}));try{m=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(d.href,r);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${n}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(n)}catch(e){return!1}return!0}))}generateUUID(){let e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const a=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?a:3&a|8).toString(16)}))}sortWatchList(e,t={}){var a;return(0,i.mG)(this,void 0,void 0,(function*(){const n=p.L.Finance,o="Follow",r=yield v.readPdpWithTargetType(p.L.Finance,!0,200,t),d=r&&(null===(a=r.value)||void 0===a?void 0:a.filter((e=>e.actionType===o&&e.targetId)));if(!d||d.length<e.length)return!1;const g={};let m=e.length;d.forEach((t=>{let a=e.findIndex((e=>e===t.targetId));a<0&&(a=m,m++),g[t.targetId]=JSON.stringify({actionType:o,targetId:t.targetId,targetType:n,rank:a,metadata:t.metadata})}));const f={method:"PUT",body:JSON.stringify(g),headers:yield this.getOneserviceHeaders(t),credentials:"include"},y=(0,h.PH)(this.pdpServiceEndpoint);((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&y.searchParams.set(e.key,e.value)}));try{yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(y.href,f);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${n}`;throw new Error(t)}return e.json()}))),"sortWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Finance)}catch(e){return!1}return!0}))}updateWeatherInterests(e,t,a,o={},r){return(0,i.mG)(this,void 0,void 0,(function*(){const t=p.L.Weather,i={method:"POST",body:JSON.stringify({actionType:"Follow",targetType:t,targetId:e,metadata:{UserAction:{0:{UpdateTime:new Date,Location:a}}}}),headers:yield this.getOneserviceHeaders(o),credentials:"include"},d=(0,h.PH)(this.pdpServiceEndpoint);((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=r?r:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&d.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(d.href,i);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather interests call`;throw new Error(t)}}catch(e){return n.k.logError(e.message),!1}return!0}))}updateWeatherSettings(e,t,a={},n){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e&&!t)return!0;let i="";i=e&&!t?'{"weatherDisplayUnit":"'+e+'"}':!e&&t?'{"userSettings":{"weatherLocationSettingMode":"'+t+'"}}':'{"weatherDisplayUnit":"'+e+'","userSettings":{"weatherLocationSettingMode":"'+t+'"}}';const o=yield this.getRequestInit({method:"POST"},a);o.body=i;const r=(0,h.PH)(this.userUpdateEndpoint);((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)}));const d=yield this.fetchImpl(r.href,o);if(d.status>=400){const e=`OneService returned error response. Status: ${d.status} for update weather setting call`;throw new Error(e)}return!0}))}updateFinanceInterests(e){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const t={financeInterests:e},a=JSON.stringify(t),i=yield this.getRequestInit({method:"POST"});i.body=a;const n=(0,h.PH)(this.userUpdateEndpoint),o="zh-cn"!==(0,l.Yq)().CurrentMarket;((yield(0,w.XJ)())===s.Hy.SignedIn&&o?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));const r=yield this.fetchImpl(n.href,i);if(r.status>=400){const e=`OneService returned error response. Status: ${r.status} for update finance interests call`;throw new Error(e)}return!0}))}updateUserSettings(e,t={},a){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e)return!0;const i=[];let o;for(o in e)null!=e[o]&&i.push('"'+o+'": '+JSON.stringify(e[o]));const r='{"userSettings":{'+i.join(", ")+"}}",d=yield this.getRequestInit({method:"POST"},t);d.body=r;const u=(0,h.PH)(this.userUpdateEndpoint);((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(null!=a?a:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=a?a:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&u.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(u.href,d);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather setting call`;throw new Error(t)}}catch(e){return n.k.logError(e.message),!1}return!0}))}getPdpUserPreference(e,t={},a){return(0,i.mG)(this,void 0,void 0,(function*(){const o=yield this.getRequestInit({method:"GET"},t),r=(0,h.PH)(this.userUpdateEndpoint);[...(yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(a||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(a||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)}));try{const e=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(r.href,o);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!e.ok&&404!=e.status)throw Error(`code=${e.status}, ${e.statusText}`);return Object.assign(Object.assign({},yield e.json()),{is404:404==e.status})}catch(t){if(n.k.logError(t.message),e)throw Error(t.message);return null}}))}updatePdpLayoutPreference(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:e}})},a=(0,h.PH)(this.userUpdateEndpoint);((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(a.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update layout preference setting call`;throw new Error(t)}}catch(e){return n.k.logError(e.message),!1}return!0}))}updateSegmentCardsEnableStatus(e,t=null){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const a=[];if(t){let e;for(e in t)null!=t[e]&&a.push('"'+e+'": '+JSON.stringify(t[e]))}const i=e.map((e=>e.cardType!=g.f.TopStoriesCard?`\\"${e.cardType}\\":${e.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),n=a.length>0?'{"segmentCardSettings":"{'+i+'}","userSettings":{'+a.join(", ")+"}}":'{"segmentCardSettings":"{'+i+'}"}';return this.updateUserPreference(n)}))}updateProductivityCardsEnableStatus(e){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{enterpriseCardsEnabled:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateGamingCardsEnableStatus(e){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t=`{userSettings:{gamingCards:"{${e.map((e=>`\\"is${e.cardType}Enabled\\":${e.enabled?"true":"false"}`)).join(",")}}"}}`;return this.updateUserPreference(t)}))}updateCommunitySettingsOptOutStatus(e){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const t={};e.forEach((e=>{t[e.settingType]=e.optedOut?"1":"0"}));const a={communitySettings:t};return this.updateUserPreference(JSON.stringify(a))}))}updateWidgetSettings(e,t={},a){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const i=e.map((e=>({actionType:"Follow",targetId:e.cardType,targetType:p.L.Widget,metadata:{prongsv2:{region:e.region,size:m.m[e.size],position:e.position}}})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:a})}))}muteWidget(e,t={},a){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e||!e.length)return!1;const i=e.map((e=>({actionType:"Mute",targetId:e,targetType:p.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:a})}))}disableSpotlightCard(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const a={actionType:"Disabled",definitionName:e,targetType:p.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:t})}))}enableSpotlightCard(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return!!e&&(yield this.deleteFromPdp(p.L.TopicFeed,"definitionName",[e],{},void 0,"Disabled",t))}))}sendGenericActionRequest(e){return(0,i.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:t,additionalParams:a,endpoint:n,method:o,payload:r,appError:d}=e;if(!n||!o)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),d),!1;const p=(0,h.PH)(n);let g;((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)})),a&&a.forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)}));try{JSON.parse(r),g=r}catch(e){g=JSON.stringify(r)}const m={method:o,body:g,headers:yield this.getOneserviceHeaders(t),credentials:"include"},f="GET"==o;try{return yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,m);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for payload: ${r}`;throw new Error(t)}return!f||(yield e.json())}))),"sendActions")}catch(e){return this.logError(e,d),!1}}))}getUserActions(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=[{key:"actionType",value:e}],a=yield this.sendGenericActionRequest({additionalParams:t,endpoint:this.userActionServiceEndPoint,method:"GET"});return a&&a.value}))}setUserAction(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){return!!(yield this.sendGenericActionRequest({endpoint:this.userActionServiceEndPoint,method:"POST",payload:Object.assign({actionType:e},t)}))}))}deleteUserAction(e,t){return(0,i.mG)(this,void 0,void 0,(function*(){const a=[{key:"actionType",value:e},{key:"targetId",value:t.targetId},{key:"definitionName",value:t.definitionName}];return!!(yield this.sendGenericActionRequest({additionalParams:a,endpoint:this.userActionServiceEndPoint,method:"DELETE"}))}))}updateUserPreference(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"POST"});t.body=e;const a=(0,h.PH)(this.userUpdateEndpoint);((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{const i=yield this.fetchImpl(a.href,t);if(i.status>=400){const t=`OneService returned error response while updating user preference. Status: ${i.status}, payload: ${e}`;throw new Error(t)}}catch(e){return!1}return!0}))}setPdpTargetTypesForBulkLoad(e){e&&e.length&&!this.bulkGraphActionTargetTypes&&(this.bulkGraphActionTargetTypes=e)}readPdpWithTargetType(e,t=!1,a,n={},r=!0,s=[]){return(0,i.mG)(this,void 0,void 0,(function*(){if(r){const t=yield this.getFromWebWorker(e);if(t)return t}if(this.bulkGraphActionTargetTypes&&this.bulkGraphActionTargetTypes.length)if(this.bulkGraphActionTargetTypes.indexOf(e)>=0){this.bulkGraphActionResultCache=this.bulkGraphActionResultCache||(yield this.bulkGraphActionPromise||(this.bulkGraphActionPromise=this.fetchPdpWithTargetTypes(this.bulkGraphActionTargetTypes,t,a,n,s)));const i=this.bulkGraphActionResultCache.get(e);if(i)return{value:i}}else f.M0.sendAppErrorEvent(Object.assign(Object.assign({},o.srQ),{message:`Received an unknown target type "${e}" that was not in the bulk graph action target types list "${this.bulkGraphActionTargetTypes}". Falling back to new network call. Please update the EntryPoint config's "graphActionsToBulkLoad" property to include this type.`}));const i=(yield this.fetchPdpWithTargetTypes([e],t,a,n,s)).get(e);if(i)return{value:i}}))}deleteFromPdp(e,t,a,n={},o,r="Follow",d,p=[]){return(0,i.mG)(this,void 0,void 0,(function*(){const g={method:"DELETE",headers:yield this.getOneserviceHeaders(n),credentials:"include"},m=(0,h.PH)(this.pdpServiceEndpoint),y=(yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),v=`targetType eq '${e}'`,b=a.map((e=>`${t} eq '${e}'`)).join(" or ");let x=`actionType eq '${r}' and (${b}) and (${v})`;o&&(x+=` and (degree eq '${o}')`),m.searchParams.set("$filter",x),[...y,...p].forEach((e=>{e.value&&m.searchParams.set(e.key,e.value)}));try{yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(m.href,g);if(t.status>=400){const a=`OneService returned error response. Status: ${t.status} for actionType: ${r}, targetType: ${e}`;throw new Error(a)}return t}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(e)}catch(e){return d&&f.M0.sendAppErrorEvent(Object.assign(Object.assign({},d),{pb:Object.assign(Object.assign({},d.pb),{actionType:r,error:e.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(e){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(e)}fetchPdpWithTargetTypes(e,t=!1,a,n={},o=[]){return(0,i.mG)(this,void 0,void 0,(function*(){if(!e.length)return new Map;const r=e.map((e=>`targetType eq '${e}'`)).join(" or "),d=[{key:"$top",value:`${a=a||10*e.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${r})`}],p=yield this.getRequestInit({method:"GET"},n);!0===t&&(p.cache="no-store");const g=(0,h.PH)(this.pdpServiceEndpoint);[...d,...(yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...o].forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));const m=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,p);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!m.ok)throw Error(`code=${m.status}, ${m.statusText}`);const f=new Map,y=yield m.json();if(!y)return f;if(y.value)for(const e of y.value){let t=f.get(e.targetType);t||f.set(e.targetType,t=[]),t.push(e)}for(const t of e)f.get(t)||f.set(t,[]);return f}))}updateMarketPreference(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:e}})},a=(0,h.PH)(this.userUpdateEndpoint);((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(a.href,t);if(!e.ok)throw new Error(`Failed to update market preference: Status: ${e.status}`);return!0}catch(e){return n.k.logError(e.message),!1}}))}getFromWebWorker(e){return(0,i.mG)(this,void 0,void 0,(function*(){let t=null;if(d.yb){const a=this.maptoWebWorkerId(e);if(a&&a.trim()){const a=yield(0,d.ot)({id:this.maptoWebWorkerId(e)});a.fetched&&(t=a.payload)}}return t}))}maptoWebWorkerId(e){switch(e){case p.L.Location:return"weatherpdp";case p.L.League:return"sportsleaguepdp";case p.L.Player:return"sportsplayerpdp";case p.L.Team:return"sportsteampdp";case p.L.Finance:return"moneypdp";default:return""}}getRequestInit(e={method:"GET"},t={}){return(0,i.mG)(this,void 0,void 0,(function*(){const a=yield c.$.getOneServiceHeaders();return e.headers=Object.assign(Object.assign({},a),t),e.credentials="include",e}))}getOneserviceHeaders(e={}){return(0,i.mG)(this,void 0,void 0,(function*(){const t=yield c.$.getOneServiceHeaders();return Object.assign(Object.assign({},t),e)}))}getFollowedLists(){return(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"GET"}),t=(0,h.PH)(this.userUpdateEndpoint);[...(yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&t.searchParams.set(e.key,e.value)}));try{const a=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const a=yield this.fetchImpl(t.href,e);if(!a.ok){if(a.status>=400&&a.status<500&&408!=a.status)return a;(0,r.OO)(null,o.G9t,"Error get followed list")}return a}))),"getFollowedLists");return a.ok||(0,r.OO)(null,o.G9t,"Error get followed list"),yield a.json()}catch(e){return n.k.logError(e.message),null}}))}addToFollowedLists(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,a={method:"POST",body:JSON.stringify({financeListIds:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,h.PH)(this.userUpdateEndpoint);let o;((yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{o=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,a);if(e.status>=400){const a=`OneService returned error response. Status: ${e.status} for actionType: FollowList, targetType: ${t}`;throw new Error(a)}return e.json()}))),"addToFollowedLists")}catch(e){return!1}return!0}))}deleteFromFollowedLists(e){return(0,i.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,a={method:"DELETE",body:null,headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,h.PH)(this.userUpdateEndpoint);let o;[...(yield(0,w.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...[{key:"financeListIds",value:e.toString()}]].forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{o=yield(0,u.w)((()=>(0,i.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,a);if(e.status>=400){const a=`OneService returned error response. Status: ${e.status} for actionType: UnFollowList, targetType: ${t}`;throw new Error(a)}return e.json()}))),"deleteFromFollowedLists")}catch(e){return!1}return!0}))}logError(e,t){t?f.M0.sendAppErrorEvent(Object.assign(Object.assign({},t),{pb:Object.assign(Object.assign({},t.pb),{error:e.message})})):n.k.logError(e.message)}}{constructor(){super((0,y.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===l.jG.AppType||"newsAndInterests"===l.jG.AppType||"winWidgets"===l.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===l.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===l.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===l.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===l.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},53909:function(e,t,a){"use strict";a.d(t,{D3:function(){return r},KL:function(){return c},mL:function(){return p},pG:function(){return l},q3:function(){return d},vc:function(){return s},zz:function(){return h}});var i=a(12697),n=a(80983);let o;var r,s;!function(e){e.JPG="jpg",e.PNG="png"}(r||(r={})),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 h(e,t){return p(((0,n.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 p(e,t){if(e&&c.test(e))return function(e,t){try{return g(new URL(e),t).href}catch(a){const i=g(new URL(`https://${e}`),t);return`//${i.host}${i.pathname}${i.search}`}}(e,t);const{focalRegion:a,backgroundColor:n}=t;let{width:s=0,height:l=0,format:d=r.JPG}=t,h="";if(a){const e=f(a.x1,a.x2),t=f(a.y1,a.y2);null!=e&&null!=t&&(h+=`&x=${e}&y=${t}`)}n&&(h+=`&b=${n}`);const u=null==t.mode?6:t.mode;if(6===u&&(h+="&u=t"),t.enableDpiScaling){if(!t.devicePixelRatio)throw new Error("A valid devicePixelRatio value must be provided when DPI scaling is enabled");const e=function(e){if(m()&&o)return o;if(e<1)return null;let t=e;(0,i.Z)(4*t)||(t=Math.ceil(10*t)/10);t>3&&(t=3);m()&&(o=t);return t}(t.devicePixelRatio);e&&(s=Math.round(s*e),l=Math.round(l*e))}return`${e}?w=${s}&h=${l}&q=${t.quality||60}&m=${u}&f=${d}${h}`}function g(e,t){(0,n.P)()&&(e.hostname=`ts${u}.cn.mm.bing.net`);const{width:a=0,height:i=0}=t,o=t.quality||l,r=t.crop||1;return e.searchParams.set("w",`${a}`),e.searchParams.set("h",`${i}`),e.searchParams.set("qlt",`${o}`),e.searchParams.set("c",`${r}`),e.searchParams.set("rs","1"),t.enableDpiScaling&&(e.searchParams.set("dpr",`${t.devicePixelRatio}`),e.searchParams.set("p","0")),e}function m(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function f(e,t){if(null!=e&&null!=t)return Math.floor((e+t)/2)}},19628:function(e,t){"use strict";var a=function(){function e(){}return e.IsNullOrWhiteSpace=function(e){try{return null==e||"undefined"==e||e.toString().replace(/\s/g,"").length<1}catch(e){return console.log(e),!1}},e.Join=function(t){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];try{var n=a[0];if(Array.isArray(n)||n instanceof Array){for(var o=e.Empty,r=0;r<n.length;r++){var s=n[r];r<n.length-1?o+=s+t:o+=s}return o}if("object"==typeof n){var l=e.Empty,d=n;return Object.keys(n).forEach((function(e){l+=d[e]+t})),l=l.slice(0,l.length-t.length)}var c=a;return e.join.apply(e,[t].concat(c))}catch(t){return console.log(t),e.Empty}},e.Format=function(t){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];try{return t.match(e.regexNumber)?e.format(e.regexNumber,t,a):t.match(e.regexObject)?e.format(e.regexObject,t,a,!0):e.Empty}catch(t){return console.log(t),e.Empty}},e.format=function(t,a,i,n){return void 0===n&&(n=!1),a.replace(t,(function(t,a){var o,r=t.split(":");return r.length>1&&(a=r[0].replace("{",""),t=r[1].replace("}","")),null==(o=n?i[0][a]:i[a])||null==o||t.match(/{\d+}/)||void 0!==(o=e.parsePattern(t,o))&&null!=o?o:e.Empty}))},e.parsePattern=function(t,a){switch(t){case"L":return a.toLowerCase();case"U":return a.toUpperCase();case"d":if("string"==typeof a)return e.getDisplayDateFromString(a);if(a instanceof Date)return e.Format("{0:00}.{1:00}.{2:0000}",a.getDate(),a.getMonth(),a.getFullYear());break;case"s":if("string"==typeof a)return e.getSortableDateFromString(a);if(a instanceof Date)return e.Format("{0:0000}-{1:00}-{2:00}",a.getFullYear(),a.getMonth(),a.getDate());break;case"n":"string"!=typeof a&&(a=a.toString());var i=a.replace(/,/g,".");if(isNaN(parseFloat(i))||i.length<=3)break;var n=i.split(/[^0-9]+/g),o=n;n.length>1&&(o=[e.join.apply(e,[""].concat(n.splice(0,n.length-1))),n[n.length-1]]);var r=o[0],s=r.length%3,l=s>0?r.substring(0,s):e.Empty,d=r.substring(s).match(/.{3}/g);return(l=l+"."+e.Join(".",d))+(o.length>1?","+o[1]:"")}return"number"!=typeof a&&isNaN(a)||isNaN(+t)||e.IsNullOrWhiteSpace(a)?a:e.formatNumber(a,t)},e.getDisplayDateFromString=function(e){var t;if((t=e.split("-")).length<=1)return e;var a=t[t.length-1],i=t[t.length-2],n=t[t.length-3];return(a=(a=a.split("T")[0]).split(" ")[0])+"."+i+"."+n},e.getSortableDateFromString=function(t){var a=t.replace(",","").split(".");if(a.length<=1)return t;var i=a[a.length-1].split(" "),n=e.Empty;i.length>1&&(n=i[i.length-1]);var o=a[a.length-1].split(" ")[0]+"-"+a[a.length-2]+"-"+a[a.length-3];return!e.IsNullOrWhiteSpace(n)&&n.length>1?o+="T"+n:o+="T00:00:00",o},e.formatNumber=function(e,t){var a=t.length,i=e.toString();if(a<=i.length)return i;var n=a-i.length;return new Array(n+=1).join("0")+i},e.join=function(t){for(var a=[],i=1;i<arguments.length;i++)a[i-1]=arguments[i];for(var n=e.Empty,o=0;o<a.length;o++)if(!("string"==typeof a[o]&&e.IsNullOrWhiteSpace(a[o])||"number"!=typeof a[o]&&"string"!=typeof a[o])){n+=""+a[o];for(var r=o+1;r<a.length;r++)if(!e.IsNullOrWhiteSpace(a[r])){n+=t,o=r-1;break}}return n},e.regexNumber=/{(\d+(:\w*)?)}/g,e.regexObject=/{(\w+(:\w*)?)}/g,e.Empty="",e}();t.Ld=a;var i=function(){function e(e){void 0===e&&(e=a.Empty),this.Values=[],this.Values=new Array(e)}return e.prototype.ToString=function(){return this.Values.join("")},e.prototype.Append=function(e){this.Values.push(e)},e.prototype.AppendFormat=function(e){for(var t=[],i=1;i<arguments.length;i++)t[i-1]=arguments[i];this.Values.push(a.Format.apply(a,[e].concat(t)))},e.prototype.Clear=function(){this.Values=[]},e}()},28195:function(e,t,a){"use strict";a.d(t,{x:function(){return n}});var i=a(48839);class n extends i.I{handleImageContentChange(){this.imageContainer.classList.toggle("image",this.image.assignedNodes().length>0)}}},76445:function(e,t,a){"use strict";a.d(t,{B4:function(){return h}});var i=a(28195),n=a(39181),o=a(58952);var r=a(53046),s=a(67020),l=a(40082),d=a(32804),c=a(15933);const h=i.x.compose({baseName:"attribution",template:(e,t)=>n.d`
    <span part="image" ${(0,o.i)("imageContainer")}>
        <slot
            name="image"
            ${(0,o.i)("image")}
            @slotchange=${e=>e.handleImageContentChange()}
        ></slot>
    </span>
    <span part="content" class="content">
        <slot></slot>
    </span>
`,styles:(e,t)=>r.i`
        ${(0,s.j)("inline-flex")} :host {
            box-sizing: border-box;
            font-family: ${d.SVJ};
            font-size: ${d.sNp};
            font-weight: 400;
            line-height: ${d.vgC};
            align-items: center;
            color: ${d.Q5n};
            min-height: 16px;
        }

        .content {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .image {
            display: flex;
            margin-inline-end: calc(${d._5n} * 2px);
        }
    `.withBehaviors((0,l.vF)(r.i`
                :host,
                .content {
                    color: ${c.H.CanvasText};
                    fill: currentcolor;
                }
            `))})},6540:function(e,t,a){"use strict";a.d(t,{K:function(){return s}});var i=a(33940),n=a(65620),o=a(87697),r=a(48839);class s extends r.I{constructor(){super(...arguments),this.expanded=!1}defaultItemsChanged(){this.$fastController.isConnected&&(this.shouldanimate=this.defaultItems.length>0)}}(0,i.gn)([(0,n.Lj)({mode:"boolean"})],s.prototype,"expanded",void 0),(0,i.gn)([o.LO],s.prototype,"defaultItems",void 0),(0,i.gn)([(0,n.Lj)({mode:"boolean",attribute:"animate"})],s.prototype,"shouldanimate",void 0)},99348:function(e,t,a){"use strict";a.d(t,{tO:function(){return y}});var i=a(6540),n=a(39181),o=a(90960);var r=a(32804),s=a(22674),l=a(67020),d=a(40082),c=a(53046),h=a(16859),u=a(15933);const p=c.i`
    :host::after {
        transform: translateX(-100%) translateX(20px);
    }
    :host([animate]) .label {
        transform: translateX(-100%);
    }
`,g=c.i`
    :host::after {
        transform: translateX(100%) translateX(-20px);
    }
    :host([animate]) .label {
        transform: translateX(100%);
    }
`,m=c.i`
    :host {
        color: #000;
    }
    :host::after {
        background: rgba(255, 255, 255, 0.46);
    }
`,f=c.i`
    :host {
        color: #fff;
    }
    :host::after {
        background: rgba(0, 0, 0, 0.54);
    }
`,y=i.K.compose({baseName:"content-indicator",template:(e,t)=>n.d`
    <span class="icon-container" part="icon-container" aria-hidden="true">
        <slot name="icon"></slot>
    </span>
    <span class="label-container" part="label-container">
        <span class="label" part="label">
            <slot
                ${(0,o.Q)({property:"defaultItems",filter:e=>{var t;return e instanceof HTMLElement&&null!==e.offsetParent||e instanceof Text&&!!(null===(t=e.textContent)||void 0===t?void 0:t.trim().length)}})}
            ></slot>
        </span>
    </span>
`,styles:(e,t)=>c.i`
        ${(0,l.j)("inline-flex")} :host {
            align-items: center;
            box-sizing: border-box;
            contain: content;
            overflow: hidden;
        }

        .label-container {
            overflow: hidden;
        }

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

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

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

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

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

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

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

        ::slotted([slot="icon"]) {
            display: block;
            fill: currentcolor;
        }
    `.withBehaviors(new s.O(p,g),new h.Y(m,f),(0,d.vF)(c.i`
                :host {
                    forced-color-adjust: auto;
                }
                ::slotted([slot="icon"]) {
                    color: ${u.H.ButtonText};
                    fill: currentcolor;
                }
                .icon-container,
                :host([expanded][animate]) .label,
                :host::after {
                    background: ${u.H.ButtonFace};
                    color: ${u.H.ButtonText};
                    fill: currentcolor;
                    border-radius: calc(${r.UWU} * 1px);
                }
                .label {
                    background: transparent;
                }
            `))})},44878:function(e,t,a){"use strict";a.d(t,{iI:function(){return L}});var i=a(33940),n=a(87697),o=a(48839);class r extends o.I{constructor(){super(...arguments),this.recommendedList=[],this.trendingList=[]}get enableMaxTenRecStyle(){const e=this.recommendedList?this.recommendedList.length:0;return e>8&&e<11}}(0,i.gn)([n.LO],r.prototype,"cardTelemetryTag",void 0),(0,i.gn)([n.LO],r.prototype,"recommendedList",void 0),(0,i.gn)([n.LO],r.prototype,"recommendedTitle",void 0),(0,i.gn)([n.LO],r.prototype,"recommendedSectionTelemetry",void 0),(0,i.gn)([n.LO],r.prototype,"trendingHref",void 0),(0,i.gn)([n.LO],r.prototype,"trendingList",void 0),(0,i.gn)([n.LO],r.prototype,"trendingTitle",void 0),(0,i.gn)([n.lk],r.prototype,"enableMaxTenRecStyle",null),(0,i.gn)([n.LO],r.prototype,"trendingSectionTelemetry",void 0),(0,i.gn)([n.LO],r.prototype,"trendingTitleTelemetry",void 0),(0,i.gn)([n.LO],r.prototype,"hideRecommendedSearch",void 0),(0,i.gn)([n.LO],r.prototype,"hideTrendingNow",void 0),(0,i.gn)([n.LO],r.prototype,"isTrendingNowBubble",void 0);var s=a(56201),l=a(40082),d=a(53046),c=a(15933),h=a(32804),u=a(22674),p=a(95263);const g=d.i`
    .trending-title svg {
        transform: rotate(0deg);
    }
`,m=d.i`
    .trending-title svg {
        transform: rotate(180deg);
    }
`;var f=a(39181),y=a(13988),w=a(18864),v=a(39704);const b=(e,t)=>f.d`
    <a
        data-t="${e=>e.telemetry}"
        href="${e=>e.href}"
        target="_blank"
        title="${e=>e.title}"
    >
        ${e=>e.title}
    </a>
`,x=f.d` <svg
    width="20"
    height="20"
    viewBox="0 0 20 20"
    xmlns="http://www.w3.org/2000/svg"
>
    <path
        d="M17.94 5.46a.75.75 0 00-.7-.46h-5.49a.75.75 0 000 1.5h3.69l-4.94 4.94-1.97-1.97a.75.75 0 00-1.06 0l-5.25 5.25a.75.75 0 101.06 1.06L8 11.06l1.97 1.97c.3.3.77.3 1.06 0l5.47-5.47v3.69a.75.75 0 001.5 0v-5.5c0-.1-.02-.2-.06-.29z"
    />
</svg>`,C=(e,t)=>f.d`
    <div class="trending-now-bubble-item" part="trending-now-bubble-item">
        ${(0,y.g)((e=>e.imgUrl),f.d`<img
                src="${e=>e.imgUrl}"
                alt="${e=>e.imgTitle}"
                class="trending-now-item-img"
            />`)}
        ${(0,y.g)((e=>!e.imgUrl),f.d`<div
                class="trending-now-bubble-svg-container"
                part="trending-now-bubble-svg-container"
            >
                <div
                    class="trending-now-bubble-default-svg"
                    part="trending-now-bubble-default-svg"
                >
                    <slot name="default-img-svg">
                        ${x}
                    </slot>
                </div>
            </div>`)}
        <a
            data-t="${e=>e.telemetry}"
            href="${e=>e.href}"
            target="_blank"
            title="${e=>e.title}"
            class="trending-now-link"
        >
            ${e=>e.title}
        </a>
    </div>
`,k=(e,t)=>f.d`
    <div class="trending-title" part="trending-title">
        <a
            part="trending-title-a"
            data-t="${e=>e.trendingTitleTelemetry}"
            href="${e=>e.trendingHref}"
            target="_blank"
            title="${e=>e.trendingTitle}"
        >
            ${e=>e.trendingTitle}
            <slot name="chevron-svg">
                ${v.li}
            </slot>
        </a>
    </div>
`,T=(e,t)=>f.d`
    <div class="trending-bubble-title" part="trending-bubble-title">
        <a
            part="trending-title-a"
            data-t="${e=>e.trendingTitleTelemetry}"
            href="${e=>e.trendingHref}"
            target="_blank"
            title="${e=>e.trendingTitle}"
        >
            ${e=>e.trendingTitle}
        </a>
        <div id="serendipity-button-div" class="serendipity-button-div">
            <slot name="serendipity-button-slot"></slot>
        </div>
    </div>
`,S=(e,t)=>f.d`
    <ul class="trending-list-item" part="trending-list-item">
        ${(0,w.rx)((e=>e.trendingList),f.d`<li
                class="${(e,t)=>t.parent.hideRecommendedSearch?"trending-li-1u":""}"
            >
                ${b}
            </li>`)}
    </ul>
`,$=(e,t)=>f.d`
    <ul class="bubble-list" part="bubble-list">
        ${(0,w.rx)((e=>e.trendingList),f.d`<li class="trending-bubble">${C}</li>`)}
    </ul>
`,A=(e,t)=>f.d`
    <div
        class="recommended-title ${e=>e.enableMaxTenRecStyle?"recommended-title-ten":"recommended-title-eight"}"
        part="recommended-title ${e=>e.enableMaxTenRecStyle?"recommended-title-ten":"recommended-title-eight"}"
    >
        ${e=>e.recommendedTitle}
    </div>
`,M=(e,t)=>f.d`
    <div class="recommended-items-container" part="recommend-items-containers">
        ${(0,w.rx)((e=>e.recommendedList),f.d`<div class="recommended-item">
                ${b}
            </div>`)}
    </div>
`,I=(e,t)=>f.d`
    <div
        class="${e=>e.enableMaxTenRecStyle?"serendipity-container-ten":"serendipity-container"}"
        part="${e=>e.enableMaxTenRecStyle?"serendipity-container-ten":"serendipity-container"}"
    >
        ${(0,y.g)((e=>!e.hideTrendingNow),f.d`<section data-t="${e=>e.trendingSectionTelemetry}">
                ${k}
                ${(0,y.g)((e=>e.trendingList&&e.trendingList.length>0),f.d`${S}`)}
            </section>`)}
        ${(0,y.g)((e=>!e.hideRecommendedSearch),f.d`<section data-t="${e=>e.recommendedSectionTelemetry}">
                ${A}
                ${(0,y.g)((e=>e.recommendedList&&e.recommendedList.length>0),f.d`${M}`)}
            </section>`)}
    </div>
`,D=(e,t)=>f.d`
    <div class="serendipity-container-bubble" part="serendipity-container-bubble">
        <section data-t="${e=>e.trendingSectionTelemetry}">
            ${T}
            ${(0,y.g)((e=>e.trendingList&&e.trendingList.length>0),f.d`${$}`)}
        </section>
    </div>
`,L=r.compose({baseName:"serendipity",template:(e,t)=>f.d`
    ${(0,y.g)((e=>e.isTrendingNowBubble),D)}
    ${(0,y.g)((e=>!e.isTrendingNowBubble),I)}
`,styles:(e,t)=>d.i`
    :host {
        box-sizing: border-box;
        display: block;
        height: 100%;
        position: relative;
        width: 100%;
    }

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

    a {
        border-bottom: none;
        color: ${h.goi};
        display: inline-block;
        font-size: ${h.sNp};
        overflow: hidden;
        text-decoration: none;
        text-overflow: ellipsis;
        width: 100%;
    }

    a:hover {
        text-decoration: underline;
    }

    a:${s.b} {
        outline: none;
        text-decoration: underline;
    }

    a:visited {
        color: ${h.goi};
    }

    li {
        display: flex;
        padding: 4px 0;
        text-align: -webkit-match-parent;
        white-space: nowrap;
    }

    section {
        overflow: hidden;
    }

    ul {
        margin: 0;
        overflow: hidden;
        padding-inline-start: 0;
        position: inherit;
    }

    .link-divider {
        margin: 0 8px;
        opacity: 0.2;
        width: 1px;
        background: ${h.dtw};
    }

    .serendipity-container,
    .serendipity-container-ten {
        padding: 0 16px;
        height: inherit;
    }

    .serendipity-container-bubble {
        padding: 0 16px;
        height: inherit;
    }

    .recommended-title-eight {
        padding: 12px 0;
        padding-block-end: 4px;
    }

    .recommended-title-ten {
        padding: 12px 0;
        padding-block-end: 4px;
    }

    .trending-title {
        flex-direction: row;
        padding-block-end: 4px;
        padding-top: 12px;
    }

    .trending-bubble-title {
        align-items: center;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        padding-block-end: 4px;
        padding-top: 12px;
    }

    .trending-bubble-title a {
        height: 16px;
        font-weight: bold;
        font-size: ${h.sNp};
        line-height: ${h.RUt};
        display: flex;
        align-items: center;
        color: ${h.Q5n};
    }

    .trending-title a,
    .recommended-title {
        color: ${h.CHi};
        font-size: ${h.cSu};
        font-weight: bold;
        line-height: ${h.RUt};
        text-transform: uppercase;
    }

    .trending-title svg {
        display: inline;
        height: 10px;
        margin-inline-start: 4px;
    }

    .serendipity-button-div {
        height: 24px;
        width: 32px;
        display: inline-flex;
        align-content: center;
        justify-content: center;
    }

    ::slotted([slot="serendipity-button-slot"]) {
        align-items: center;
        color: ${h.CHi};
        border-radius: 999px;
        display: inline-flex;
        height: 24px;
        justify-content: center;
        margin: 0 4px;
        min-width: 24px;
        padding: 0;
        position: static;
        width: 24px;
    }

    ::slotted([slot="serendipity-button-slot"]:hover) {
        background: ${h.XiB};
    }

    .trending-li-1u {
        padding: 3px 0;
    }

    .recommdended-list {
        border-collapse: collapse;
        table-layout: fixed;
        width: 100%;
        overflow: hidden;
    }

    .recommended-item:nth-child(even) {
        border-inline-start: 1px solid ${h.dtw};
        padding-inline-start: 6px;
    }

    .recommended-items-container {
        display: grid;
        grid-template-columns: 50% 50%;
    }

    .recommended-item {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .trending-bubble {
        align-self: stretch;
        margin: 8px 0 0;
        padding: 0;
        position: static;
    }

    div.trending-now-bubble-item {
        align-content: center;
        background: ${h.wFS};
        border-radius: 999px;
        display: inline-flex;
        flex-direction: row;
        justify-content: center;
        height: 32px;
        max-width: 268px;
    }

    div.trending-now-bubble-svg-container {
        align-items: center;
        border-radius: 50%;
        display: inline-flex;
        flex-direction: row;
        height: 32px;
        justify-content: center;
    }

    div.trending-now-bubble-default-svg {
        align-items: center;
        background: ${p.UT};
        border-radius: 50%;
        display: flex;
        fill: ${p.IY};
        height: 28px;
        justify-content: center;
        margin: 2px;
        position: static;
        width: 28px;
    }
    
    .trending-now-item-img {
        background: ${h.yGg};
        border-radius: 50%;
        height: 28px;
        margin: 2px;
        object-fit: cover;
        position: static;
        width: 28px;
    }

    a.trending-now-link {
        color: ${h.CHi};
        font-size: ${h.cSu};
        height: 20px;
        line-height: ${h.RUt};
        margin-inline: 4px 12px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
`.withBehaviors(new u.O(g,m),(0,l.vF)(d.i`
                :host {
                    forced-color-adjust: auto;
                }
                .recommended-title,
                .trending-now-bubble-link,
                .trending-title svg {
                    color: ${c.H.ButtonText};
                }
            `))})},95263:function(e,t,a){"use strict";a.d(t,{Sf:function(){return d},w_:function(){return l},UT:function(){return c},IY:function(){return h},A4:function(){return g}});var i=a(98648),n=a(42355),o=a(32804),r=a(65390);const{create:s}=i.L,l=s("gradient-white-fill").withDefault((e=>(0,r.Y)(.8,1,n.w.create(1,1,1),o.wFS.getValueFor(e)))),d=s("gradient-background-fill").withDefault((e=>(0,r.Y)(0,1,null,o.wFS.getValueFor(e)))),c=s("neutral-fill-bubble-on-rest").withDefault((e=>function(e,t){const a=e.closestIndexOf(t);return e.get(a-5)}(o.yvm.getValueFor(e),o.wFS.getValueFor(e)))),h=s("neutral-foreground-hint-on-bubble-on-rest").withDefault((e=>o.axZ.getValueFor(e).evaluate(e,c.getValueFor(e))));function u(e,t,a){return e.get(e.closestIndexOf((i=t,n.w.create(i,i,i)))-a);var i}const p=s({name:"neutral-layer-card-recipe",cssCustomPropertyName:null}).withDefault({evaluate:e=>u(o.yvm.getValueFor(e),o.q2d.getValueFor(e),o.YL4.getValueFor(e))}),g=s("neutral-layer-card").withDefault((e=>p.getValueFor(e).evaluate(e)))},39704:function(e,t,a){"use strict";a.d(t,{K7:function(){return i},P4:function(){return s},Rq:function(){return n},cA:function(){return r},cU:function(){return o},li:function(){return l}});const i='<svg class="button-glyph" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="16" height="16"><path d="M2048 640H0V512h2048v128zm0 1024H0v-128h2048v128zm0-513H0v-127h2048v127z" /></svg>',n='<svg class="button-glyph" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048" width="16" height="16"><path d="M1169 1024l879 879-145 145-879-879-879 879L0 1903l879-879L0 145 145 0l879 879L1903 0l145 145-879 879z" /></svg>',o='<svg width="10" height="10" viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg"><path d="M5.70801 5L10 9.29199L9.29199 10L5 5.70801L0.708008 10L0 9.29199L4.29199 5L0 0.708008L0.708008 0L5 4.29199L9.29199 0L10 0.708008L5.70801 5Z"/></svg>',r='<svg width="106" height="22" viewBox="0 0 106 22" xmlns="http://www.w3.org/2000/svg"><path d="M45.2018 4.40014V17.6001H42.921V7.24181H42.8906L38.8156 17.6001H37.295L33.1288 7.24181H33.0983V17.6001H31V4.40014H34.2844L38.0553 14.1779H38.1161L42.0999 4.40014H45.2018ZM47.0873 5.40847C47.0873 5.04181 47.2089 4.73625 47.4826 4.49181C47.7563 4.24736 48.0604 4.12514 48.4254 4.12514C48.8207 4.12514 49.1552 4.24736 49.3985 4.52236C49.6418 4.76681 49.7938 5.07236 49.7938 5.43903C49.7938 5.8057 49.6722 6.11125 49.3985 6.3557C49.1248 6.60014 48.8207 6.72236 48.4254 6.72236C48.03 6.72236 47.7259 6.60014 47.4826 6.3557C47.2393 6.05014 47.0873 5.74459 47.0873 5.40847ZM49.5505 8.12792V17.6001H47.3306V8.12792H49.5505ZM56.2713 15.9807C56.6058 15.9807 56.9708 15.889 57.3661 15.7363C57.7614 15.5835 58.1264 15.3696 58.4609 15.1251V17.2029C58.096 17.4168 57.7006 17.5696 57.2445 17.6613C56.7883 17.7529 56.3017 17.814 55.7543 17.814C54.3554 17.814 53.2302 17.3863 52.3787 16.5001C51.4968 15.614 51.0711 14.4835 51.0711 13.139C51.0711 11.6113 51.5273 10.3585 52.4092 9.3807C53.2911 8.40292 54.5379 7.91403 56.1801 7.91403C56.6058 7.91403 57.0012 7.97514 57.4269 8.06681C57.8527 8.18903 58.1872 8.31125 58.4305 8.43348V10.5724C58.096 10.3279 57.731 10.114 57.3965 9.99181C57.0316 9.83903 56.6667 9.77792 56.3017 9.77792C55.4198 9.77792 54.7204 10.0529 54.173 10.6335C53.6256 11.214 53.3519 11.9779 53.3519 12.9557C53.3519 13.9029 53.5952 14.6668 54.1122 15.1863C54.69 15.7057 55.3894 15.9807 56.2713 15.9807ZM64.7559 7.97514C64.9384 7.97514 65.0904 7.97514 65.2425 8.0057C65.3945 8.03625 65.5162 8.06681 65.6074 8.09736V10.3585C65.4858 10.2668 65.3337 10.2057 65.0904 10.114C64.8776 10.0224 64.6039 9.99181 64.2693 9.99181C63.722 9.99181 63.2658 10.2363 62.9009 10.6946C62.5359 11.1529 62.3231 11.8557 62.3231 12.8335V17.6001H60.1031V8.12792H62.3231V9.62514H62.3535C62.5663 9.1057 62.8705 8.70847 63.2658 8.40292C63.6915 8.12792 64.1781 7.97514 64.7559 7.97514ZM65.7291 13.0168C65.7291 11.4585 66.1548 10.2057 67.0367 9.28903C67.9186 8.37236 69.1351 7.91403 70.7164 7.91403C72.1761 7.91403 73.3317 8.34181 74.1528 9.22792C74.9739 10.114 75.3997 11.3057 75.3997 12.8029C75.3997 14.3307 74.9739 15.5529 74.092 16.4696C73.2101 17.3863 72.0241 17.8446 70.5036 17.8446C69.0438 17.8446 67.8882 17.4168 67.0367 16.5613C66.1548 15.6751 65.7291 14.4835 65.7291 13.0168ZM68.0403 12.9251C68.0403 13.9029 68.2532 14.6668 68.7093 15.1863C69.1655 15.7057 69.8041 15.9807 70.6252 15.9807C71.4463 15.9807 72.0545 15.7057 72.4802 15.1863C72.906 14.6668 73.1189 13.9029 73.1189 12.864C73.1189 11.8557 72.906 11.0918 72.4498 10.5724C72.0241 10.0529 71.4159 9.80847 70.6252 9.80847C69.8041 9.80847 69.1959 10.0835 68.7397 10.6335C68.2532 11.1529 68.0403 11.9168 68.0403 12.9251ZM78.684 10.6335C78.684 10.939 78.7753 11.214 78.9881 11.3974C79.201 11.5807 79.6268 11.7946 80.3262 12.0696C81.2081 12.4363 81.8468 12.8335 82.1813 13.2613C82.5462 13.7196 82.7287 14.239 82.7287 14.8807C82.7287 15.7668 82.3941 16.5001 81.6947 17.0196C81.0257 17.5696 80.0829 17.8446 78.9273 17.8446C78.532 17.8446 78.1062 17.7835 77.6197 17.6918C77.1331 17.6001 76.7377 17.4779 76.4032 17.3251V15.1251C76.7986 15.4001 77.2547 15.6446 77.7109 15.7974C78.1671 15.9501 78.5928 16.0418 78.9881 16.0418C79.4747 16.0418 79.8701 15.9807 80.0829 15.8279C80.3262 15.6751 80.4479 15.4613 80.4479 15.1251C80.4479 14.8196 80.3262 14.5446 80.0829 14.3613C79.8396 14.1474 79.3531 13.9029 78.684 13.6279C77.8629 13.2918 77.2851 12.8946 76.9506 12.4668C76.6161 12.039 76.4336 11.489 76.4336 10.8168C76.4336 9.96125 76.7682 9.25847 77.4372 8.70847C78.1062 8.15847 78.9881 7.88347 80.0525 7.88347C80.387 7.88347 80.752 7.91403 81.1473 8.0057C81.5426 8.06681 81.9076 8.18903 82.1813 8.2807V10.389C81.8772 10.2057 81.5426 10.0224 81.1473 9.86959C80.752 9.71681 80.3566 9.6557 79.9917 9.6557C79.5659 9.6557 79.2314 9.74736 79.0186 9.90014C78.8057 10.114 78.684 10.3279 78.684 10.6335ZM83.6714 13.0168C83.6714 11.4585 84.0972 10.2057 84.9791 9.28903C85.861 8.37236 87.0774 7.91403 88.6588 7.91403C90.1185 7.91403 91.2741 8.34181 92.0952 9.22792C92.9163 10.114 93.342 11.3057 93.342 12.8029C93.342 14.3307 92.9163 15.5529 92.0343 16.4696C91.1524 17.3863 89.9664 17.8446 88.4459 17.8446C86.9862 17.8446 85.8306 17.4168 84.9791 16.5613C84.1276 15.6751 83.6714 14.4835 83.6714 13.0168ZM85.9826 12.9251C85.9826 13.9029 86.1955 14.6668 86.6517 15.1863C87.1078 15.7057 87.7464 15.9807 88.5675 15.9807C89.3886 15.9807 89.9968 15.7057 90.4226 15.1863C90.8483 14.6668 91.0612 13.9029 91.0612 12.864C91.0612 11.8557 90.8483 11.0918 90.3922 10.5724C89.9664 10.0529 89.3582 9.80847 88.5675 9.80847C87.7464 9.80847 87.1382 10.0835 86.6821 10.6335C86.2259 11.1529 85.9826 11.9168 85.9826 12.9251ZM100.701 9.96125H97.3866V17.6001H95.1362V9.96125H93.5549V8.12792H95.1362V6.81403C95.1362 5.8057 95.4708 5.01125 96.1094 4.36959C96.748 3.72792 97.5691 3.42236 98.5727 3.42236C98.8464 3.42236 99.0896 3.42236 99.3025 3.45292C99.5154 3.48347 99.6979 3.51403 99.8499 3.57514V5.50014C99.7891 5.46959 99.637 5.40847 99.4546 5.34736C99.2721 5.28625 99.0592 5.2557 98.8159 5.2557C98.3598 5.2557 97.9949 5.40847 97.7516 5.68347C97.5083 5.98903 97.3866 6.41681 97.3866 6.96681V8.09736H100.701V5.95847L102.921 5.28625V8.09736H105.172V9.9307H102.921V14.3613C102.921 14.9418 103.013 15.3696 103.226 15.5835C103.438 15.8279 103.773 15.9501 104.229 15.9501C104.351 15.9501 104.503 15.9196 104.685 15.8585C104.868 15.7974 105.02 15.7363 105.172 15.6446V17.4779C105.02 17.5696 104.807 17.6307 104.472 17.6918C104.138 17.7529 103.834 17.7835 103.499 17.7835C102.556 17.7835 101.857 17.539 101.401 17.0196C100.945 16.5307 100.701 15.7668 100.701 14.7585V9.96125Z" /><path d="M10.4005 0H0V10.45H10.4005V0Z" fill="#F25022" /><path d="M21.8958 0H11.4954V10.45H21.8958V0Z" fill="#7FBA00" /><path d="M10.4005 11.55H0V22.0001H10.4005V11.55Z" fill="#00A4EF"/><path d="M21.8958 11.55H11.4954V22.0001H21.8958V11.55Z" fill="#FFB900"/></svg>',s='<svg width="16" height="10" viewBox="0 0 16 10" xmlns="http://www.w3.org/2000/svg"><path d="M12 3V4C12.3958 4 12.7734 4.04688 13.1328 4.14062C13.4974 4.22917 13.8177 4.375 14.0938 4.57812C14.3698 4.77604 14.5885 5.03385 14.75 5.35156C14.9167 5.66406 15 6.04688 15 6.5C15 6.84375 14.9323 7.16667 14.7969 7.46875C14.6667 7.77083 14.487 8.03646 14.2578 8.26562C14.0339 8.48958 13.7708 8.66927 13.4688 8.80469C13.1667 8.9349 12.8438 9 12.5 9H8.5C8.15625 9 7.83333 8.9349 7.53125 8.80469C7.22917 8.66927 6.96354 8.48958 6.73438 8.26562C6.51042 8.03646 6.33073 7.77083 6.19531 7.46875C6.0651 7.16667 6 6.84375 6 6.5C6 6.04688 6.08073 5.66406 6.24219 5.35156C6.40885 5.03385 6.63021 4.77604 6.90625 4.57812C7.18229 4.375 7.5 4.22917 7.85938 4.14062C8.22396 4.04688 8.60417 4 9 4V3H8.5C8.01562 3 7.5599 3.09375 7.13281 3.28125C6.71094 3.46354 6.34115 3.71354 6.02344 4.03125C5.71094 4.34375 5.46094 4.71354 5.27344 5.14062C5.09115 5.5625 5 6.01562 5 6.5C5 6.98438 5.09115 7.4401 5.27344 7.86719C5.46094 8.28906 5.71094 8.65885 6.02344 8.97656C6.34115 9.28906 6.71094 9.53906 7.13281 9.72656C7.5599 9.90885 8.01562 10 8.5 10H12.5C12.9844 10 13.4375 9.90885 13.8594 9.72656C14.2865 9.53906 14.6562 9.28906 14.9688 8.97656C15.2865 8.65885 15.5365 8.28906 15.7188 7.86719C15.9062 7.4401 16 6.98438 16 6.5C16 6.01562 15.9062 5.5625 15.7188 5.14062C15.5365 4.71354 15.2865 4.34375 14.9688 4.03125C14.6562 3.71354 14.2865 3.46354 13.8594 3.28125C13.4375 3.09375 12.9844 3 12.5 3H12ZM7 7V6C7.39583 6 7.77344 5.95573 8.13281 5.86719C8.4974 5.77344 8.81771 5.6276 9.09375 5.42969C9.36979 5.22656 9.58854 4.96875 9.75 4.65625C9.91667 4.33854 10 3.95312 10 3.5C10 3.15625 9.93229 2.83333 9.79688 2.53125C9.66667 2.22917 9.48698 1.96615 9.25781 1.74219C9.03385 1.51302 8.77083 1.33333 8.46875 1.20312C8.16667 1.06771 7.84375 1 7.5 1H3.5C3.15625 1 2.83333 1.06771 2.53125 1.20312C2.22917 1.33333 1.96354 1.51302 1.73438 1.74219C1.51042 1.96615 1.33073 2.22917 1.19531 2.53125C1.0651 2.83333 1 3.15625 1 3.5C1 3.95312 1.08073 4.33854 1.24219 4.65625C1.40885 4.96875 1.63021 5.22656 1.90625 5.42969C2.18229 5.6276 2.5 5.77344 2.85938 5.86719C3.22396 5.95573 3.60417 6 4 6V7H3.5C3.01562 7 2.5599 6.90885 2.13281 6.72656C1.71094 6.53906 1.34115 6.28906 1.02344 5.97656C0.710938 5.65885 0.460938 5.28906 0.273438 4.86719C0.0911458 4.4401 0 3.98438 0 3.5C0 3.01562 0.0911458 2.5625 0.273438 2.14062C0.460938 1.71354 0.710938 1.34375 1.02344 1.03125C1.34115 0.713542 1.71094 0.463542 2.13281 0.28125C2.5599 0.09375 3.01562 0 3.5 0H7.5C7.98438 0 8.4375 0.09375 8.85938 0.28125C9.28646 0.463542 9.65625 0.713542 9.96875 1.03125C10.2865 1.34375 10.5365 1.71354 10.7188 2.14062C10.9062 2.5625 11 3.01562 11 3.5C11 3.98438 10.9062 4.4401 10.7188 4.86719C10.5365 5.28906 10.2865 5.65885 9.96875 5.97656C9.65625 6.28906 9.28646 6.53906 8.85938 6.72656C8.4375 6.90885 7.98438 7 7.5 7H7Z" fill-opacity="0.83"/></svg>',l='<svg height="20" width="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path fill="currentcolor" d="M5.0293 19.0918L14.1113 10L5.0293 0.908203L5.9082 0.0292969L15.8887 10L5.9082 19.9707L5.0293 19.0918Z"></path></svg>'},65390:function(e,t,a){"use strict";a.d(t,{Y:function(){return o}});var i=a(97186),n=a(2696);function o(e=0,t=1,a,o){const r=o.toColorString(),{r:s,g:l,b:d}=(0,i.in)(r),c=`linear-gradient(160deg, ${new n.h(s,l,d,e).toStringWebRGBA()}, ${new n.h(s,l,d,t).toStringWebRGBA()})`;if(a){return[c,null==a?void 0:a.toColorString()].join()}return c}},16859:function(e,t,a){"use strict";a.d(t,{Y:function(){return l}});var i=a(32804),n=a(78125),o=a(97186),r=a(60279);const s=(0,a(9791).Z)((e=>{let t=(0,o.in)(e);if(null!==t)return t;if(t=(0,o.hg)(e),null!==t)return t;throw new Error(`${e} cannot be converted to a ColorRGBA64. Color strings must be one of the following formats: "#RGB", "#RRGGBB", or "rgb(r, g, b)"`)}));class l{constructor(e,t){this.cache=new WeakMap,this.light=e,this.dark=t}bind(e){this.attach(e)}unbind(e){const t=this.cache.get(e);t&&i.IfY.unsubscribe(t)}attach(e){const t=this.cache.get(e)||new d(this.light,this.dark,e),a=i.IfY.getValueFor(e);i.IfY.subscribe(t,e),t.attach(a),this.cache.set(e,t)}}class d{constructor(e,t,a){this.light=e,this.dark=t,this.source=a,this.attached=null}handleChange({target:e,token:t}){this.attach(t.getValueFor(e))}attach(e){const t=(a=e.toColorString(),(0,r.hM)(s(a))<=n.h.DarkMode?"dark":"light");var a;this.attached!==this[t]&&(null!==this.attached&&this.source.$fastController.removeStyles(this.attached),this.attached=this[t],null!==this.attached&&this.source.$fastController.addStyles(this.attached))}}},90768:function(e,t,a){"use strict";a.d(t,{b:function(){return i}});const i=a(53046).i` .card-action{height:25px;padding-inline-start:2px}[size="_2x_2y"] .card-action{margin-bottom:1px;margin-top:-7px}`},65468:function(e,t,a){"use strict";a.d(t,{Q:function(){return l}});var i=a(39181),n=a(13988),o=a(76859),r=a(16517),s=a(82128);const l=i.d`<div class="card-action" slot="footer-start">${(0,n.g)((e=>!e.optedOutOfReactions&&e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.instanceId),i.d`<social-bar-wc config-instance-src=${e=>e.socialBarWCConfigInfo&&(0,s.g)(e.socialBarWCConfigInfo)} instance-id=${e=>e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.instanceId} config-shared-ns=${e=>e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.configRef&&e.socialBarWCConfigInfo.configRef.sharedNs} :contentId=${e=>e.id} :canShowOneLineComments=${e=>!e.isInfopane&&e.cardSize===o.Nv._2x_2y} :destinationUrl=${e=>e.destinationUrl} :locale=${e=>r.jG.CurrentMarket||e.locale} :rootTelemetryObject=${e=>e.telemetryContext&&(e.telemetryContext.contentCardTelemetryObject||e.telemetryContext.contentCard)} :getReplacementCardsInlineCallback=${e=>e.getReplacementCardsInlineCallback} :socialMetadata=${e=>Object.assign(Object.assign({},e.metadata),{imageData:e.imageData,providerData:e.providerData,title:e.title})} />`)} ${(0,n.g)((e=>e.optedOutOfReactions),((e,t)=>t.parent&&e.optedOutOfReactions&&t.parent.optOutReactionTemplate))}</div>`},38956:function(e,t,a){"use strict";a.d(t,{T:function(){return n}});var i=a(32804);const n=a(53046).i`
[size="_2x_2y"] [media-type="image"] cs-attribution{color:#FFFFFF}cs-attribution svg{fill:${i.CHi};margin:0px 2px;vertical-align:bottom}cs-attribution img.svgLogo{margin-inline-end:calc(${i._5n} * 1px);
}
`},77691:function(e,t,a){"use strict";a.d(t,{Q:function(){return c}});var i=a(76859),n=a(37429),o=a(39181),r=a(13988),s=a(16446),l=a.n(s);function d(e,t){return e.providerData?t.size==i.Nv._2x_2y?e.providerData.immersiveCardSvgLogo:e.providerData.svgLogo:void 0}const c=o.d`<cs-attribution slot="attribution">${(0,r.g)(((e,t)=>d(e,t.parent)),o.d`<img slot="image" class="${e=>e.isWebContent?"":"svgLogo"}" width="${(e,t)=>d(e,t.parent).width}" height="${(e,t)=>d(e,t.parent).height}" src="${(e,t)=>d(e,t.parent).url}" alt="${e=>e.providerData.name}" @load=${e=>e.visualReadinessCallback&&e.visualReadinessCallback(n.u.VP,n.w.provider)}/>`)} ${(0,r.g)(((e,t)=>!d(e,t.parent)),o.d` ${(0,r.g)((e=>e.providerData&&e.providerData.logoImage),o.d`<img slot="image" src="${e=>e.providerData.logoImage}" alt="${e=>e.providerData.name}" @load=${e=>e.visualReadinessCallback&&e.visualReadinessCallback(n.u.VP,n.w.provider)}/>`)} ${(0,r.g)((e=>e.providerData&&e.providerData.name),o.d`<span style="unicode-bidi: embed;">${e=>e.providerData.name}</span>`)} `)} ${(0,r.g)((e=>e.isWebContent),o.d`${l()}`)} ${(0,r.g)(((e,t)=>{return a=e,i=t.parent,(d(a,i)||a.providerData&&a.providerData.name)&&a.publishedDateTime;var a,i}),o.d` · `)} ${(0,r.g)((e=>e.publishedDateTime),o.d`<span style="unicode-bidi: embed;">${e=>e.publishedDateTime}</span>`)}</cs-attribution>`},74983:function(e,t,a){"use strict";a.d(t,{j:function(){return n}});var i=a(32804);const n=a(53046).i` .content-badge{align-items:center;background:${i._Bj};
        border-radius: 6px;
        color: ${i.CHi};display:inline-flex;height:20px;padding:0 6px;pointer-events:none;position:absolute;right:16px;top:calc(50% - 20px/2)}.icon-container svg{margin-inline-end:3.5px;height:10.5px;width:10.5px}.icon-container svg path{fill:${i.CHi};
        stroke: ${i.CHi}}.label-container{font-family:${i.SVJ};
        font-size: ${i.sNp};
        height: 16px;
        line-height: ${i.vgC};overflow:hidden;white-space:nowrap}.icon-container{display:flex}`},77864:function(e,t,a){"use strict";a.d(t,{j:function(){return u}});var i=a(39181),n=a(13988),o=a(39725),r=a(79844),s=a(36764),l=a.n(s),d=a(80709),c=a(27035),h=a(90652);const u=i.d` ${(0,n.g)((e=>e.badge),i.d`<div class="content-badge" slot="footer-end"><span class="icon-container" aria-hidden="true">${e=>function(e){switch(e.toLowerCase()){case"trending":return i.d`<slot name="icon">${c.Z}</slot>`;case"hot":return i.d`<slot name="icon">${o.Z}</slot>`;case"views":return i.d`<slot name="icon">${h.Z}</slot>`;case"local":return i.d`<slot name="icon">${r.Z}</slot>`;case"explicitlike":return i.d`<slot name="icon">${d.Z}</slot>`;case"followed":case"followedtopic":case"followedpublisher":return i.d`<slot name="icon">${l()}</slot>`;default:return""}}(e.badge.type)||""}</span><span class="label-container">${e=>e.badge.localizedLabel||e.badge.value||""}</span></div>`)}`},58474:function(e,t,a){"use strict";a.d(t,{_:function(){return i}});const i=a(53046).i` .card-hide{height:32px;margin-top:-8px;width:32px}`},31464:function(e,t,a){"use strict";a.d(t,{T:function(){return n}});var i=a(74045);const n=a(39181).d`<button slot="hide-story" class="card-hide" aria-label="${e=>e.cardActionsTooltips&&e.cardActionsTooltips.hide}" title="${e=>e.cardActionsTooltips&&e.cardActionsTooltips.hide}" @click=${(e,t)=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus^i.O7.hide,"Hide",!0,null,null,null,t.event)} @keypress=${e=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus^i.O7.hide,"Hide",!0)} data-t="${e=>{var t,a;return null===(a=null===(t=e.telemetryContext)||void 0===t?void 0:t.hide)||void 0===a?void 0:a.getMetadataTag()}}">${'<svg width="16" height="16"><path d="m10.12 10.83 4.03 4.02a.5.5 0 0 0 .7-.7l-13-13a.5.5 0 1 0-.7.7l3.23 3.23a6.7 6.7 0 0 0-2.3 3.08l-.05.15-.01.06s-.08.5.35.61a.5.5 0 0 0 .61-.35L3 8.6a3.02 3.02 0 0 1 .2-.52c.16-.34.4-.8.78-1.26.3-.36.66-.72 1.13-1.02l1.57 1.58a2.5 2.5 0 1 0 3.45 3.45Zm-.74-.74a1.5 1.5 0 1 1-1.97-1.97l1.97 1.97Zm-3.06-5.9.85.86C7.43 5.02 7.71 5 8 5c2.04 0 3.29.91 4.03 1.82A5.7 5.7 0 0 1 13 8.6v.02a.5.5 0 0 0 .97-.25v-.02a2.3 2.3 0 0 0-.06-.18 6.7 6.7 0 0 0-1.12-1.98A5.95 5.95 0 0 0 8 4a6.9 6.9 0 0 0-1.68.2Z"/></svg>'}</button>`},9339:function(e,t,a){"use strict";a.d(t,{V:function(){return i}});const i=a(53046).i` .card-see-more{height:32px;margin-top:-8px;margin-inline:4px -8px;width:32px}.card-see-more svg{fill:inherit}`},85078:function(e,t,a){"use strict";a.d(t,{j:function(){return n}});var i=a(82479);const n=a(39181).d`<button slot="hide-story" class="card-see-more" title=${e=>e.cardActionsTooltips&&e.cardActionsTooltips.seeMore} @click=${(e,t)=>e.toggleCardActionMenu&&e.toggleCardActionMenu(e,t.event)} data-t="${e=>{var t,a;return null===(a=null===(t=e.telemetryContext)||void 0===t?void 0:t.seeMore)||void 0===a?void 0:a.getMetadataTag()}}">${i.Z}</button>`},61521:function(e,t,a){"use strict";a.d(t,{D:function(){return i}});const i=a(53046).i`
`},31540:function(e,t,a){"use strict";a.d(t,{o:function(){return i}});const i=a(39181).d`<span class="card-title">${e=>e.title}</span>`},30980:function(e,t,a){"use strict";a.d(t,{g:function(){return m}});var i=a(33940),n=a(38156),o=a(26785),r=a.n(o),s=a(81707),l=a(55096),d=a.n(l),c=a(87055),h=a.n(c),u=a(72653),p=a.n(u),g=a(87697);class m extends s.m{constructor(){super(...arguments),this.isActionMenuOpen=!1,this.isShowingEntityList=!1,this.showNavList=!1,this.actionMenuItems=[],this.keyDownHandler=e=>("Escape"===e.code?(this.interestMenuButtonElement&&this.interestMenuButtonElement.focus(),this.showNavList=!1):"Tab"===e.code&&this.customTabEventHandler&&this.customTabEventHandler(this,e),!0),this.showInfoButtonTemplate=()=>{},this.handleInterestMenuMouseEnter=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!0,this.isActionMenuOpen=!1,this.headerData=Object.assign(Object.assign({},this.headerData),{isShowingEntityList:!0})},this.handleInterestMenuMouseLeave=e=>{e&&(e.preventDefault(),e.stopPropagation()),this.isShowingEntityList=!1,this.showNavList=!1},this.handleNavigationMouseEnter=e=>{this.showNavList=!0,this.isActionMenuOpen&&this.toggleActionMenu(null)},this.handleNavigationMouseLeave=e=>{setTimeout((()=>{this.isShowingEntityList||(this.showNavList=!1)}),100)},this.interestMenuItemClick=(e,t)=>{this.showNavList=!1,t.onClick(e,t)},this.followInterestsButtonClick=e=>{this.showNavList=!1,this.headerData&&this.headerData.interestMenuData&&this.headerData.interestMenuData.footerMenuItem.onClick(e)},this.getInterestMenuItemTelemetryTag=e=>{var t;return null===(t=this.interestMenuTelemetryTag)||void 0===t?void 0:t.addOrUpdateChild({name:"interest",action:n.Aw.Click,behavior:n.wu.Refresh,type:n.c9.Entity,content:{headline:e.title}}).getMetadataTag()},this.handleClickForActionMenu=e=>{var t;e&&(e.target instanceof m||this.actionsMenuButtonElement&&this.actionsMenuButtonElement.contains((e.path||(null===(t=e.composedPath)||void 0===t?void 0:t.call(e)))[0]))||this.toggleActionMenu(null)},this.handleKeyDownForActionMenu=e=>{"Escape"!==e.code||this.toggleActionMenu(!1,null)},this.actionMenuItemClick=e=>{if(this.headerData.actionMenuData)switch(this.toggleActionMenu(!1,null),e){case 0:return this.headerData.actionMenuData.followInterestsCallback&&this.headerData.actionMenuData.followInterestsCallback();case 1:return this.headerData.actionMenuData.manageInterestsCallback&&this.headerData.actionMenuData.manageInterestsCallback();case 2:return this.headerData.actionMenuData.hideCardCallback&&this.headerData.actionMenuData.hideCardCallback();case 3:return this.headerData.actionMenuData.moreSettingsPersonalizeCallback&&this.headerData.actionMenuData.moreSettingsPersonalizeCallback()}},this.initTelemetry=()=>{var e,t,a,i,o,r,s,l,d,c,h,u;if(!this.headerData)return;const p=this.headerData.telemetryContext;this.headerTelemetryContext=null!==(e=null==p?void 0:p.headerTelemetryObject)&&void 0!==e?e:null===(t=this.parentTelemetryObject)||void 0===t?void 0:t.addOrUpdateChild({name:"header",action:n.Aw.Click,behavior:n.wu.Navigate,content:{headline:this.headerData.title}}),this.actionMenuTelemetryTag=null!==(a=null==p?void 0:p.actionMenuTelemetryTag)&&void 0!==a?a:null===(i=this.headerTelemetryContext)||void 0===i?void 0:i.addOrUpdateChild({name:"cardactionellipsis",action:n.Aw.Click,behavior:n.wu.Open,type:n.c9.ActionButton}),this.interestMenuTelemetryTag=null!==(o=null==p?void 0:p.interestMenuTelemetryTag)&&void 0!==o?o:null===(r=this.parentTelemetryObject)||void 0===r?void 0:r.addOrUpdateChild({name:"interestmenu"}),this.interestMenuButtonTelemetryTag=null!==(l=null===(s=null==p?void 0:p.interestMenuButtonTelemetryTag)||void 0===s?void 0:s.getMetadataTag())&&void 0!==l?l:null===(d=this.parentTelemetryObject)||void 0===d?void 0:d.addOrUpdateChild({name:"interestmenu",action:n.Aw.Hover,behavior:n.wu.Open,type:n.c9.Entity}).getMetadataTag(),this.interestMenuFollowTelemetryTag=null!==(h=null===(c=null==p?void 0:p.interestMenuFollowButtonTelemetryTag)||void 0===c?void 0:c.getMetadataTag())&&void 0!==h?h:null===(u=this.parentTelemetryObject)||void 0===u?void 0:u.addOrUpdateChild({name:"followinterests",action:n.Aw.Click,behavior:n.wu.Refresh,type:n.c9.Entity}).getMetadataTag()}}connectedCallback(){var e,t;if(super.connectedCallback(),this.initTelemetry(),null===(t=null===(e=this.interestMenu)||void 0===e?void 0:e.children)||void 0===t?void 0:t.length){const e=this.interestMenu.children[0].children[1],t=null==e?void 0:e.children[0];setTimeout((()=>{t.focus()}),100)}this.actionMenuItems=this.getBaseActionMenuItems()}toggleActionMenu(e,t=!1){this.isActionMenuOpen=t,t&&e?(this.actionsMenuButtonElement=e&&e.currentTarget,document.addEventListener("click",this.handleClickForActionMenu),document.addEventListener("keydown",this.handleKeyDownForActionMenu)):(this.actionsMenuButtonElement=null,document.removeEventListener("click",this.handleClickForActionMenu),document.removeEventListener("keydown",this.handleKeyDownForActionMenu))}getBaseActionMenuItems(){var e,t,a,o,s,l,c,u,g,m,f,y,w,v,b,x,C,k,T,S,$,A,M,I,D,L;if(!this.headerData)return;let _=[];const O=this.headerData.telemetryContext;if(this.headerData.interestMenuData){const r=null!==(t=null===(e=null==O?void 0:O.followInterests)||void 0===e?void 0:e.getMetadataTag())&&void 0!==t?t:null===(a=this.parentTelemetryObject)||void 0===a?void 0:a.addOrUpdateChild({name:"followinterests",action:n.Aw.Click,behavior:n.wu.Follow,type:n.c9.ActionButton}).getMetadataTag(),d=null!==(s=null===(o=null==O?void 0:O.manageInterests)||void 0===o?void 0:o.getMetadataTag())&&void 0!==s?s:null===(l=this.parentTelemetryObject)||void 0===l?void 0:l.addOrUpdateChild({name:"manageinterests",action:n.Aw.Click,behavior:n.wu.Navigate,type:n.c9.ActionButton}).getMetadataTag();_.push({id:"follow",glyph:h(),title:null!==(g=null===(u=null===(c=this.headerData.actionMenuData)||void 0===c?void 0:c.strings)||void 0===u?void 0:u.followInterestsTitle)&&void 0!==g?g:"Follow interests",ariaLabel:"follow interests",onClick:()=>(0,i.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(0)})),telemetryTag:r},{id:"manage",glyph:p(),title:null!==(y=null===(f=null===(m=this.headerData.actionMenuData)||void 0===m?void 0:m.strings)||void 0===f?void 0:f.manageInterestsTitle)&&void 0!==y?y:"Manage interests",onClick:()=>(0,i.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(1)})),telemetryTag:d})}(null===(v=null===(w=this.headerData.actionMenuData)||void 0===w?void 0:w.items)||void 0===v?void 0:v.length)>0&&(_=[..._,...this.headerData.actionMenuData.items],_.length>0&&_.push({isDivider:!0}));const z=null!==(x=null===(b=null==O?void 0:O.hideCard)||void 0===b?void 0:b.getMetadataTag())&&void 0!==x?x:null===(C=this.parentTelemetryObject)||void 0===C?void 0:C.addOrUpdateChild({name:"hidecard",action:n.Aw.Click,behavior:n.wu.Hide,type:n.c9.ActionButton}).getMetadataTag(),P=null!==(T=null===(k=null==O?void 0:O.moreSettings)||void 0===k?void 0:k.getMetadataTag())&&void 0!==T?T:null===(S=this.parentTelemetryObject)||void 0===S?void 0:S.addOrUpdateChild({name:"moresettings",action:n.Aw.Click,behavior:n.wu.Navigate,type:n.c9.ActionButton}).getMetadataTag();return _.push({id:"hide",glyph:r(),title:null!==(M=null===(A=null===($=this.headerData.actionMenuData)||void 0===$?void 0:$.strings)||void 0===A?void 0:A.hideCardTitle)&&void 0!==M?M:"Hide card",ariaLabel:"hide-card",onClick:()=>(0,i.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(2)})),telemetryTag:z},{id:"more",glyph:d(),title:null!==(L=null===(D=null===(I=this.headerData.actionMenuData)||void 0===I?void 0:I.strings)||void 0===D?void 0:D.moreSettingsTitle)&&void 0!==L?L:"More settings",onClick:()=>(0,i.mG)(this,void 0,void 0,(function*(){this.actionMenuItemClick(3)})),telemetryTag:P}),_}}(0,i.gn)([g.LO],m.prototype,"headerData",void 0),(0,i.gn)([g.LO],m.prototype,"isActionMenuOpen",void 0),(0,i.gn)([g.LO],m.prototype,"isShowingEntityList",void 0),(0,i.gn)([g.LO],m.prototype,"showNavList",void 0),(0,i.gn)([g.LO],m.prototype,"actionMenuItems",void 0),(0,i.gn)([g.LO],m.prototype,"actionMenuTelemetryTag",void 0),(0,i.gn)([g.LO],m.prototype,"headerTelemetryContext",void 0),(0,i.gn)([g.LO],m.prototype,"infoButtonTelemetryTag",void 0),(0,i.gn)([g.LO],m.prototype,"interestMenuButtonTelemetryTag",void 0),(0,i.gn)([g.LO],m.prototype,"interestMenuFollowTelemetryTag",void 0),(0,i.gn)([g.LO],m.prototype,"interestMenuItemTelemetryTag",void 0),(0,i.gn)([g.LO],m.prototype,"interestMenuTelemetryTag",void 0),(0,i.gn)([g.LO],m.prototype,"parentTelemetryObject",void 0),(0,i.gn)([g.LO],m.prototype,"titleTelemetryTag",void 0),(0,i.gn)([g.LO],m.prototype,"interestMenu",void 0)},61671:function(e,t,a){"use strict";a.d(t,{x:function(){return o}});var i=a(32804),n=a(22144);const o=a(53046).i`
    ${n.e} cs-sd-card-header{font-size:var(--sd-card-title-font-size,${i.sNp});
        line-height: var(--sd-card-title-line-height, ${i.vgC});font-weight:var(--sd-card-title-font-weight,normal)}fluent-button:hover{background:rgba(0,0,0,0.04)}.header-icon,.header-icon img{width:var(--sd-header-icon-width,16px);height:var(--sd-header-icon-height,16px)}.interest-menu-button svg{width:12px;height:12px}.nav-list-scroll{overflow-y:scroll}.nav-list-scroll::-webkit-scrollbar{width:6px}.nav-list-scroll::-webkit-scrollbar-thumb{height:82px;background:rgba(0,0,0,0.58);border:1px solid #767676;border-radius:20px}.title-link{color:${i.CHi};text-decoration:none}.topic-menu-nav-content{box-sizing:border-box;display:flex;position:absolute;top:36px;left:20px;padding-top:6px;min-height:40px;max-height:245px;width:276px;border-radius:4px;border:1px solid ${i.akT};
        box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.14);
        background-color: ${i.s55};
        z-index: 3;
        
        overflow-y: auto;
        overflow-x: hidden;
    }
`},8567:function(e,t,a){"use strict";a.d(t,{J:function(){return b}});var i=a(30980),n=a(61671),o=a(39181),r=a(58952),s=a(13988),l=a(11310),d=a.n(l),c=a(9555),h=a.n(c),u=a(50367),p=a.n(u);a(33763).S;const g=o.d`<fluent-button appearance="stealth" slot="more-actions" class="stealth" @click=${(e,t)=>e.toggleActionMenu(t.event,!e.isActionMenuOpen)} title="${e=>{var t,a;return null===(a=null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.strings)||void 0===a?void 0:a.actionMenuToolTip}}" aria-label="${e=>{var t,a;return null===(a=null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.strings)||void 0===a?void 0:a.actionMenuToolTip}}" data-t="${e=>{var t;return null===(t=e.actionMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}">${d()}</fluent-button>`,m=o.d`<div data-t="${e=>{var t;return null===(t=e.actionMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}"><msn-actions-menu :referrerButton=${e=>e.actionsMenuButtonElement} :menuItems=${e=>e.actionMenuItems} defaultHorizontalPosition=${e=>{var t;return(null===(t=e.headerData.actionMenuData)||void 0===t?void 0:t.horizontalPosition)||"end"}} /></div>`,f=o.d`<fluent-button ${(0,r.i)("interestMenuButtonElement")} appearance="stealth" slot="menu-button" class="stealth interest-menu-button" title="${e=>{var t;return null===(t=e.headerData.strings)||void 0===t?void 0:t.interestMenuToolTip}}" aria-label="${e=>{var t;return null===(t=e.headerData.strings)||void 0===t?void 0:t.interestMenuToolTip}}" data-t="${e=>e.interestMenuButtonTelemetryTag}" @mouseenter="${(e,t)=>e.handleNavigationMouseEnter(t.event)}" @mouseleave="${(e,t)=>e.handleNavigationMouseLeave(t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.handleNavigationMouseEnter(t.event):null}">${h()}</fluent-button>`,y=o.d`<div class="topic-menu-nav-content" @mouseenter="${(e,t)=>e.handleInterestMenuMouseEnter(t.event)}" @mouseleave="${(e,t)=>e.handleInterestMenuMouseLeave(t.event)}" data-t="${e=>{var t;return null===(t=e.interestMenuTelemetryTag)||void 0===t?void 0:t.getMetadataTag()}}"><div class="nav-list-scroll"><cs-interest-menu :data=${e=>e.headerData.interestMenuData} :headerData=${e=>e.headerData}></cs-interest-menu></div></div>`,w=o.d`<fluent-button slot="more-actions" appearance="neutral" @click=${(e,t)=>e.showInfoButtonTemplate()} data-t="${e=>e.infoButtonTelemetryTag}">${p()}</fluent-button>`,v=o.d` ${(0,s.g)((e=>e.headerData),o.d`<cs-sd-card-header slot="header" data-t="${e=>{var t;return null===(t=e.headerTelemetryContext)||void 0===t?void 0:t.getMetadataTag()}}" href="${e=>e.headerData.titleNavigationLink}" target="_blank">${(0,s.g)((e=>e.headerData.headerLogo),o.d`<div slot="icon" class="header-icon">${e=>e.headerData.isEventCard?o.d`<img src="${e.headerData.headerLogo}">`:o.d`${e.headerData.headerLogo}`}</div>`)} ${e=>e.headerData.title} ${(0,s.g)((e=>e.headerData.interestMenuData),f)} ${(0,s.g)((e=>e.showNavList&&!1!==e.headerData.isShowingEntityList),y)} ${(0,s.g)((e=>e.headerData.infoButtonText),w)} ${g} ${(0,s.g)((e=>e.isActionMenuOpen),m)}</cs-sd-card-header>`)}
`,b=i.g.compose({baseName:"sd-header",styles:n.x,template:v})},22144:function(e,t,a){"use strict";a.d(t,{e:function(){return n}});var i=a(32804);const n=a(53046).i` fluent-divider{border-top:1px solid ${i.akT}}fluent-menu{padding-bottom:0px;padding-top:0px;box-shadow:none}fluent-menu-item::part(checkbox-indicator){width:10px;height:10px}.footer-menu{padding-top:0px}.footer-menu-item{grid-template-columns:20px 20px 0 auto;padding-inline-start:12px;margin:0px 2px;color:${i.Avx};
        fill: ${i.Avx}}.footer-menu-item:hover svg{fill:currentColor}.interest-menu{min-width:262px}.interest-menu fluent-menu-item{grid-template-columns:20px 20px 1fr 0 auto;padding-inline-start:12px;margin:0 2px}.interest-menu .menu-item-badge{margin-inline-start:0;font-size:10px;margin-inline-end:0}.menu-item-icon{display:flex}.nav-list-title{height:20px;display:flex;align-items:center;color:#7A7A7A;margin-inline-start:16px;flex:none;flex-grow:0}.recommended-interest-menu{padding-top:6px}@media (prefers-color-scheme:dark){.nav-list-title{color:rgba(255,255,255,0.7)}}`},48501:function(e,t,a){"use strict";a.d(t,{$l:function(){return C}});var i=a(32804),n=a(95201),o=a(53046),r=a(40082);const s=o.i`
.articleContent:hover{background:rgba(255,255,255,0.06)}`,l=o.i`
.articleContent{border-radius:8px;color:${i.CHi};display:grid;grid-template-columns:auto 56px;overflow:hidden;padding:7px 12px;text-decoration:none}a{${n.U}}.articleContent:hover{background:rgba(0,0,0,0.04)}.articleContent.halfU{padding:4px 12px}.articleHeadingInfo{margin-inline-end:12px;margin-top:-3px}.articleHeading-noImage{margin-inline-end:0px}cs-attribution{margin-bottom:3px}cs-attribution::part(content){color:${i.Q5n}}.articleTitle{display:-webkit-box;font-size:14px;font-weight:600;height:40px;line-height:20px;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical}.articleImageContainer{display:flex}.articleImage{border-radius:8px;width:58px;height:58px}`.withBehaviors((0,r.Uu)(s));var d=a(39181),c=a(13988),h=a(18864),u=a(62449),p=a(77691);const g=d.d`<div class="articleImageContainer"><img class="articleImage" src=${(e,t)=>e.imageData?t.parent.getScaledListItemImage(e.imageData.source):""}></div>`,m=d.d`<a part="listContent" class=${(e,t)=>"articleContent"+(t.parent.contentList&&1===t.parent.contentList.length?" halfU":"")} href=${e=>e.destinationUrl} target="${e=>e.openLinksInNewTab?u.P._blank:e.defaultAnchorTarget||u.P._self}" title=${e=>e.title} data-t="${e=>{var t,a;return null===(a=null===(t=e.telemetryContext)||void 0===t?void 0:t.destination)||void 0===a?void 0:a.getMetadataTag()}}"><div class=${e=>e.imageData?"articleHeadingInfo":"articleHeadingInfo articleHeading-noImage"}>${e=>p.Q}<span class="articleTitle">${e=>e.title}</span></div>${(0,c.g)((e=>e.imageData),g)}</a>`,f=d.d`<div data-t="${e=>{var t;return null===(t=e.listContainerTelemetry)||void 0===t?void 0:t.getMetadataTag()}}">${(0,c.g)((e=>e.contentList),d.d` ${(0,h.rx)((e=>e.contentList),m,{positioning:!0})} `)}</div>`;var y=a(33940),w=a(65620),v=a(48839),b=a(53909);class x extends v.I{getScaledListItemImage(e){return(0,b.mL)(e,{width:100,height:100,enableDpiScaling:!1})}}(0,y.gn)([w.Lj],x.prototype,"contentList",void 0),(0,y.gn)([w.Lj],x.prototype,"listContainerTelemetry",void 0);const C=x.compose({baseName:"sd-super-list",styles:l,template:f})},57719:function(e,t,a){"use strict";a.d(t,{m:function(){return l}});var i=a(37429),n=a(39181),o=a(13988),r=a(18864),s=a(62449);const l=(e,t)=>{var a,i,l,c,h;return n.d`${(0,o.g)((e=>e.data),n.d`${(0,r.rx)((e=>[e.data]),n.d`<cs-card class="card-outer" card-fill-color="${e=>e.cardFillColor}" card-secondary-color="${e=>e.cardSecondaryColor}" gradient-angle="${e=>e.gradientAngle}" size="${e=>e.cardSize}" card-title-size="${e=>e.doubleWideArticleCardTitleSize}"><cs-content-card class="card-content" id="contentcard_${e=>e.id}" href="${e=>e.destinationUrl}" media-type="${e=>e.mediaType}" size="${e=>e.cardSize}" title="${e=>e.disableCardTitleTooltip?"":e.title}" target="${e=>e.openLinksInNewTab?s.P._blank:e.defaultAnchorTarget||s.P._self}" ?immersive-card="${e=>e.immersiveCard}" :anchorTelemetryTag="${e=>e.telemetryContext&&e.telemetryContext.destination&&e.telemetryContext.destination.getMetadataTag()}" data-t="${e=>{var t,a;return null===(a=null===(t=e.telemetryContext)||void 0===t?void 0:t.contentCard)||void 0===a?void 0:a.getMetadataTag()}}" @mouseenter="${(e,t)=>e.setDisplacementAndTitleOnHover&&e.setDisplacementAndTitleOnHover(t,e.dir,e.title,e.disableCardTitleTooltip,e.enableTitleForTruncate)}" t-image-ratio="${e=>e.imageRatio?e.imageRatio:""}">${(0,o.g)((e=>e.mediaType),n.d`<img altText="${e=>e.imageData&&e.imageData.altText}" class="card-image ${e=>e.useLightShadow?"lightShadow":""}" slot="media" src="${e=>e.imageData&&e.imageData.source}" @load="${e=>d(e)}" @error="${e=>d(e)}" />`)} ${e=>{!e.imageData&&e.visualReadinessCallback&&e.visualReadinessCallback()}} ${(0,o.g)((e=>e.abstract),n.d`<div slot="abstract">${e=>e.abstract}</div>`)} ${t.title instanceof Function?t.title(e,t):null!==(a=t.title)&&void 0!==a?a:""} ${t.attribution instanceof Function?t.attribution(e,t):null!==(i=t.attribution)&&void 0!==i?i:""} ${(0,o.g)((e=>!e.hideActionTray),n.d`${t.footerStart instanceof Function?t.footerStart(e,t):null!==(l=t.footerStart)&&void 0!==l?l:""}`)} ${(0,o.g)((e=>!e.hideActionTray),n.d`${t.footerEnd instanceof Function?t.footerEnd(e,t):null!==(c=t.footerEnd)&&void 0!==c?c:""}`)} ${(0,o.g)((e=>e.cardActionsTooltips&&e.cardActionClickHandler),n.d`${t.hideStory instanceof Function?t.hideStory(e,t):null!==(h=t.hideStory)&&void 0!==h?h:""}`)}</cs-content-card></cs-card>`)} `)}`};function d(e){e&&e.visualReadinessCallback?e.visualReadinessCallback(i.u.ALL,i.w.image):e&&e.imageData&&e.imageData.visualReadinessCallback&&e.imageData.visualReadinessCallback(i.u.ALL,i.w.image)}},70492:function(e,t,a){"use strict";a.d(t,{P:function(){return f}});var i=a(77691),n=a(65468),o=a(77864),r=a(31464),s=a(85078),l=a(31540),d=a(43552),c=a(39181),h=a(99393),u=a(53046),p=a(32804);const g=u.i` :host{--heading-max-lines:2}:host,.card-outer{height:var(--digest-container-height,224px);width:282px;background:none;border-radius:8px;margin:auto}.card-image{height:126px}::part(heading),[size="_1x_1y"] .card-title,[size="_1x_2y"] .card-title{font-size:${p.PwC};
        line-height: ${p.b3W}}[immersive-card] .card-image{height:var(--digest-container-height,224px);width:282px}@media (prefers-color-scheme:dark){.card-content,.card-outer{background:none}}`;var m=a(57719);const f=d.T.compose({baseName:"article-card-digest",styles:(e,t)=>u.i`
    ${(0,h.e)(e,t)}
    ${g}
`,template:m.m,attribution:c.d`${i.Q}`,footerStart:c.d`${n.Q}`,footerEnd:c.d`${o.j}`,hideStory:c.d`${r.T}${s.j}`,title:c.d`${l.o}`})},43552:function(e,t,a){"use strict";a.d(t,{T:function(){return s}});var i=a(33940),n=a(87697),o=a(39432);class r extends o.u{}(0,i.gn)([n.LO],r.prototype,"data",void 0);class s extends r{dataChanged(){return(0,i.mG)(this,void 0,void 0,(function*(){if(!this.data.optedOutOfReactions||this.optOutReactionTemplate)return;const e=yield a.e("web-components_super-cards_dist_cards_sub-components_card-action-tray_OptedOutReactionTemplate_js").then(a.bind(a,50687));this.optOutReactionTemplate=e&&e.OptedOutReactionTemplate}))}}(0,i.gn)([n.LO],s.prototype,"optOutReactionTemplate",void 0)},99393:function(e,t,a){"use strict";a.d(t,{Z:function(){return u},e:function(){return p}});var i=a(90768),n=a(38956),o=a(74983),r=a(58474),s=a(9339),l=a(61521),d=a(53046),c=a(64799),h=a(32804);const u=d.i` :host{border-radius:8px;width:calc((${c.$f} * 1px) + 2px)}:host([size="_1x_2y"]) .card-image{border-radius:8px 0 0}:host([size="_2x_2y"]){width:calc(((${c.$f} * 2px) + (${c.RR} * 1px)) + 2px)}:host(:hover){box-shadow:0px 4px 24px rgba(0,0,0,0.14)}:host(:hover) .card-image{filter:brightness(0.6)}:host(:hover) .card-image.lightShadow{filter:brightness(0.8)}cs-card{border-radius:8px}.card-image{border-radius:8px}[size="_2x_2y"].card-outer{background:var(--card-stroke-color);border-radius:8px}[size="_1x_1y"] .card-title,[size="_1x_2y"] .card-title{font-size:${h.mWK};line-height:22px}[size="_2x_2y"] .card-title{font-size:22px;line-height:26px}[size="_2x_2y"][card-title-size="24"] .card-title{font-size:24px;line-height:28px}[size="_2x_2y"][card-title-size="26"] .card-title{font-size:26px;line-height:30px}@media (prefers-color-scheme:dark){:host(:hover){box-shadow:0px 4px 24px rgba(0,0,0,0.26)}}:host([size="_2x_1y"]) cs-card cs-content-card div[slot="abstract"]{display:-webkit-box;--abstract-max-lines:1}:host([size="_2x_1y"]) cs-card cs-content-card{--content-card-heading-font-size:20px;--content-card-heading-line-height:22px}`,p=(e,t)=>d.i`
    ${i.b}
    ${n.T}
    ${o.j}
    ${r._}
    ${s.V}
    ${l.D}
    ${u}
`},18573:function(e,t,a){"use strict";a.d(t,{G:function(){return I}});var i=a(38156);var n=a(39181),o=a(13988),r=a(3181),s=a.n(r),l=a(24201),d=a.n(l);const c=n.d`<fluent-button class="flipper previous" title="${e=>e.footerData.paginationData.previousFlipperTitle}" @click="${(e,t)=>e.footerData.paginationData.onFlipperClick(!1,t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.footerData.paginationData.onFlipperClick(!1,t.event):null}" data-t="${e=>{return t=e.parentTelemetryObject,a=e.footerData,null!==(r=null===(o=null===(n=null==a?void 0:a.telemetryContext)||void 0===n?void 0:n.previousFlipper)||void 0===o?void 0:o.getMetadataTag())&&void 0!==r?r:null==t?void 0:t.addOrUpdateChild({name:"previousslidearrow",action:i.Aw.Click,behavior:i.wu.Paginate,type:i.c9.ActionButton}).getMetadataTag();var t,a,n,o,r}}">${s()}</fluent-button>`,h=n.d`<fluent-button class="flipper next" title="${e=>e.footerData.paginationData.nextFlipperTitle}" @click="${(e,t)=>e.footerData.paginationData.onFlipperClick(!0,t.event)}" @keyup="${(e,t)=>t.event&&"Enter"===t.event.key?e.footerData.paginationData.onFlipperClick(!0,t.event):null}" data-t="${e=>{return t=e.parentTelemetryObject,a=e.footerData,null!==(r=null===(o=null===(n=null==a?void 0:a.telemetryContext)||void 0===n?void 0:n.previousFlipper)||void 0===o?void 0:o.getMetadataTag())&&void 0!==r?r:null==t?void 0:t.addOrUpdateChild({name:"nextslidearrow",action:i.Aw.Click,behavior:i.wu.Paginate,type:i.c9.ActionButton}).getMetadataTag();var t,a,n,o,r}}">${d()}</fluent-button>`,u=n.d`<div class="flipper-content" tabindex="-1">${e=>e.footerData.paginationData.pageCount>1?e.footerData.paginationData.currentPageIndex+"/"+e.footerData.paginationData.pageCount:""}</div>`,p=n.d`<fluent-anchor class="footer-link" appearance=${e=>e.cardFillColor?"stealth":"lightweight"} aria-label=${e=>e.footerData.footerLink.text} href=${e=>e.footerData.footerLink.navigationUrl} target="_blank" title=${e=>e.footerData.footerLink.text} data-t="${e=>{return t=e.parentTelemetryObject,a=e.footerData,null!==(r=null===(o=null===(n=null==a?void 0:a.telemetryContext)||void 0===n?void 0:n.footerLink)||void 0===o?void 0:o.getMetadataTag())&&void 0!==r?r:null==t?void 0:t.addOrUpdateChild({name:"seemorelink",action:i.Aw.Click,behavior:i.wu.Navigate,type:i.c9.Footer}).getMetadataTag();var t,a,n,o,r}}">${e=>e.footerData.footerLink.text}</fluent-anchor>`,g=n.d`<fluent-button part="footer-button" class="footer" appearance="neutral" aria-label=${e=>e.footerData.footerButton.text} @click=${e=>e.footerData.footerButton.ctaClick&&e.footerData.footerButton.ctaClick()} title=${e=>e.footerData.footerButton.text} data-t="${e=>{return t=e.parentTelemetryObject,a=e.footerData,null!==(r=null===(o=null===(n=null==a?void 0:a.telemetryContext)||void 0===n?void 0:n.footerButton)||void 0===o?void 0:o.getMetadataTag())&&void 0!==r?r:null==t?void 0:t.addOrUpdateChild({name:"actionbutton",action:i.Aw.Click,behavior:i.wu.Click,type:i.c9.ActionButton}).getMetadataTag();var t,a,n,o,r}}">${e=>e.footerData.footerButton.text}</fluent-button>`,m=n.d` ${(0,o.g)((e=>e.footerData),n.d`<cs-sd-card-footer slot="footer" data-t="${e=>{return null==(t=e.parentTelemetryObject)?void 0:t.addOrUpdateChild({name:"footer"}).getMetadataTag();var t}}">${(0,o.g)((e=>e.footerData.paginationData),n.d`<div slot="pagination" class="pagination-container" part="pagination-container">${c} ${u} ${h}</div>`)} ${(0,o.g)((e=>e.footerData.footerLink),p)} ${(0,o.g)((e=>e.footerData.footerButton),g)}</cs-sd-card-footer>`)}`;var f=a(33940),y=a(80598),w=a(87697);class v extends y.E{connectedCallback(){super.connectedCallback(),this.setPartAttributes()}setPartAttributes(){this.sdCard=this.shadowRoot.querySelector("cs-sd-card"),this.sdCard&&(this.sdCardHeader=this.sdCard.querySelector("cs-sd-header").shadowRoot.querySelector("cs-sd-card-header"),this.sdCard.addEventListener("mouseover",(()=>{this.sdCardHeader.showMenuButton=!0})),this.sdCard.addEventListener("focus",(()=>{this.sdCardHeader.showMenuButton=!0})),this.sdCard.addEventListener("mouseout",(()=>{this.sdCardHeader.showMenuButton=!1})))}}(0,f.gn)([w.LO],v.prototype,"cardClickTelemetryTag",void 0),(0,f.gn)([w.LO],v.prototype,"contentCardTelemetryTag",void 0),(0,f.gn)([w.LO],v.prototype,"sdCardTelemetryContext",void 0),(0,f.gn)([w.LO],v.prototype,"data",void 0);var b=a(61671),x=a(22674),C=a(53046);const k=C.i``,T=C.i` .flipper{transform:rotateY(180deg)}`,S=C.i` .flipper{background:transparent;min-width:auto;height:24px;border-radius:100%}.flipper:hover{background:rgba(0,0,0,0.04)}.flipper-content{padding-left:4px;padding-right:4px}.flipper svg{height:12px;width:12px}.footer-link{background:transparent}.footer-link::part(control){padding:0}.pagination-container{display:grid;grid-template-columns:24px auto 24px;align-items:center}`.withBehaviors(new x.O(k,T));var $=a(32804);const A=C.i` :host{--layer-corner-radius:8}${b.x}
    ${S} .card-link{text-decoration:none}:host{position:relative;display:grid;width:calc((var(--card-base-width) * 1px) + 2px);height:calc(((var(--card-base-height) * 2px) + (var(--card-base-gap) * 1px)) + 2px)}cs-interest-manager{position:absolute;top:0;z-index:3}cs-sd-card{border-radius:var(--sd-card-border-radius,calc(${$.rSr} * 1px))}cs-sd-card::part(content){z-index:2}cs-sd-card[size="_1x_3y"]{height:calc(((var(--card-base-height) * 3px) + (var(--card-base-gap) * 1px)) + 2px)}::slotted([slot="content"]){height:100%}`;var M=a(18864);const I=v.compose({baseName:"core-sd-card",styles:A,template:(e,t)=>{var a,r;return n.d`${(0,o.g)((e=>e.data),n.d`${(0,M.rx)((e=>[e.data]),n.d`<div data-t="${e=>((e,t)=>{var a,n;return null!==(n=null===(a=null==t?void 0:t.contentCard)||void 0===a?void 0:a.getMetadataTag())&&void 0!==n?n:null==e?void 0:e.addOrUpdateChild({name:"SuperSDCard",type:i.c9.ContentCard}).getMetadataTag()})(e.parentTelemetryObject,e.telemetryContext)}"><cs-sd-card size="${e=>e.cardSize}" card-fill-color="${e=>e.cardFillColor}" ?immersive-card="${e=>e.immersiveCard}" target=${e=>{var t,a;return null!==(t=e.target)&&void 0!==t?t:null===(a=e.headerData)||void 0===a?void 0:a.titleNavigationLink}} tabindex="0" part="cs-sd-card">${(0,o.g)((e=>e.immersiveCard&&e.imageData),n.d`<img slot="image" alt=${e=>e.imageData.altText} src=${e=>e.imageData.source}/>`)} ${t.header instanceof Function?t.header(e,t):null!==(a=t.header)&&void 0!==a?a:""}<slot name="content"></slot>${t.footer instanceof Function?t.footer(e,t):null!==(r=t.footer)&&void 0!==r?r:""}</cs-sd-card>${(0,o.g)((e=>e.interestManagerData),n.d`<cs-interest-manager :interestManagerData="${e=>e.interestManagerData}" :parentTelemetryObject=${e=>e.parentTelemetryObject}></cs-interest-manager>`)}</div>`)}
`)}`},header:n.d`<cs-sd-header
                    slot="header"                 
                    :headerData="${e=>e.headerData}"
                    :parentTelemetryObject="${e=>e.parentTelemetryObject}"
                ></cs-sd-header>`,footer:n.d`${m}`})},9555:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M2.15 4.65c.2-.2.5-.2.7 0L6 7.79l3.15-3.14a.5.5 0 11.7.7l-3.5 3.5a.5.5 0 01-.7 0l-3.5-3.5a.5.5 0 010-.7z"></path></svg>'},3181:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M7.35 2.15c.2.2.2.5 0 .7L4.21 6l3.14 3.15a.5.5 0 11-.7.7l-3.5-3.5a.5.5 0 010-.7l3.5-3.5c.2-.2.5-.2.7 0z"></path></svg>'},24201:function(e){e.exports='<svg width="12" height="12" viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg"><path d="M4.65 2.15a.5.5 0 000 .7L7.79 6 4.65 9.15a.5.5 0 10.7.7l3.5-3.5a.5.5 0 000-.7l-3.5-3.5a.5.5 0 00-.7 0z"></path></svg>'},26785:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M2.85 2.15a.5.5 0 10-.7.7l3.5 3.5a8.1 8.1 0 00-3.37 5.05.5.5 0 10.98.2 7.09 7.09 0 013.1-4.53l1.6 1.59a3.5 3.5 0 104.88 4.89l4.3 4.3a.5.5 0 00.71-.7l-15-15zm9.27 10.68a2.5 2.5 0 11-3.45-3.45l3.45 3.45zm-2-4.83l3.38 3.38A3.5 3.5 0 0010.12 8zM10 6c-.57 0-1.13.07-1.67.21l-.8-.8A7.65 7.65 0 0110 5c3.7 0 6.94 2.67 7.72 6.4a.5.5 0 01-.98.2A6.97 6.97 0 0010 6z"></path></svg>'},16446:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 14A6 6 0 108 2a6 6 0 000 12zM8 3c.37 0 .88.36 1.31 1.32.1.2.18.43.26.68H6.43c.08-.25.16-.47.26-.68C7.12 3.36 7.63 3 8 3zm-2.22.9c-.15.34-.29.7-.4 1.1H4a5.02 5.02 0 012.04-1.6c-.1.16-.18.33-.26.5zM5.16 6a12.06 12.06 0 000 4H3.42a4.98 4.98 0 010-4h1.74zm.22 5a7.53 7.53 0 00.66 1.6A5.02 5.02 0 014 11h1.38zm1.05 0h3.14a6.2 6.2 0 01-.26.68C8.88 12.64 8.37 13 8 13c-.37 0-.88-.36-1.31-1.32a6.2 6.2 0 01-.26-.68zm3.4-1H6.17a10.94 10.94 0 010-4h3.64a10.94 10.94 0 010 4zm.79 1H12a5.02 5.02 0 01-2.04 1.6c.1-.16.18-.33.26-.5.15-.34.29-.7.4-1.1zm1.96-1h-1.74a12.05 12.05 0 000-4h1.74a4.98 4.98 0 010 4zM9.96 3.4c.81.35 1.52.9 2.04 1.6h-1.38a7.53 7.53 0 00-.66-1.6z"></path></svg>'},50367:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 7c.28 0 .5.22.5.5v3a.5.5 0 01-1 0v-3c0-.28.22-.5.5-.5zm0-.75a.75.75 0 100-1.5.75.75 0 000 1.5zM2 8a6 6 0 1112 0A6 6 0 012 8zm6-5a5 5 0 100 10A5 5 0 008 3z"></path></svg>'},55096:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M1.91 7.38A8.5 8.5 0 013.69 4.3a.5.5 0 01.54-.13l1.92.68a1 1 0 001.32-.76l.36-2a.5.5 0 01.4-.4 8.53 8.53 0 013.55 0c.2.04.35.2.38.4l.37 2a1 1 0 001.32.76l1.92-.68a.5.5 0 01.54.13 8.5 8.5 0 011.78 3.08c.06.2 0 .4-.15.54l-1.56 1.32a1 1 0 000 1.52l1.56 1.32a.5.5 0 01.15.54 8.5 8.5 0 01-1.78 3.08.5.5 0 01-.54.13l-1.92-.68a1 1 0 00-1.32.76l-.37 2a.5.5 0 01-.38.4 8.53 8.53 0 01-3.56 0 .5.5 0 01-.39-.4l-.36-2a1 1 0 00-1.32-.76l-1.92.68a.5.5 0 01-.54-.13 8.5 8.5 0 01-1.78-3.08.5.5 0 01.15-.54l1.56-1.32a1 1 0 000-1.52L2.06 7.92a.5.5 0 01-.15-.54zm1.06 0l1.3 1.1a2 2 0 010 3.04l-1.3 1.1c.3.79.71 1.51 1.25 2.16l1.6-.58a2 2 0 012.63 1.53l.3 1.67a7.56 7.56 0 002.5 0l.3-1.67a2 2 0 012.64-1.53l1.6.58a7.5 7.5 0 001.24-2.16l-1.3-1.1a2 2 0 010-3.04l1.3-1.1a7.5 7.5 0 00-1.25-2.16l-1.6.58a2 2 0 01-2.63-1.53l-.3-1.67a7.55 7.55 0 00-2.5 0l-.3 1.67A2 2 0 015.81 5.8l-1.6-.58a7.5 7.5 0 00-1.24 2.16zM7.5 10a2.5 2.5 0 115 0 2.5 2.5 0 01-5 0zm1 0a1.5 1.5 0 103 0 1.5 1.5 0 00-3 0z"></path></svg>'},36764:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M7.2 2.1a.9.9 0 011.6 0l1.53 3.08 3.4.5a.9.9 0 01.5 1.53l-2.46 2.4.58 3.39a.9.9 0 01-1.3.95L8 12.35l-3.04 1.6a.9.9 0 01-1.3-.95l.57-3.39-2.46-2.4a.9.9 0 01.5-1.53l3.4-.5L7.2 2.1z"></path></svg>'},87055:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M9.1 2.9a1 1 0 011.8 0l1.93 3.91 4.31.63a1 1 0 01.56 1.7l-.55.54a5.46 5.46 0 00-1-.43l.85-.82-4.32-.63a1 1 0 01-.75-.55L10 3.35l-1.93 3.9a1 1 0 01-.75.55L3 8.43l3.12 3.04a1 1 0 01.3.89l-.75 4.3 3.35-1.76c.02.36.08.7.17 1.04l-3.05 1.6a1 1 0 01-1.45-1.05l.74-4.3L2.3 9.14a1 1 0 01.56-1.7l4.31-.63L9.1 2.9zM19 14.5a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm-4-2a.5.5 0 00-1 0V14h-1.5a.5.5 0 100 1H14v1.5a.5.5 0 101 0V15h1.5a.5.5 0 100-1H15v-1.5z"></path></svg>'},72653:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M10.9 2.9a1 1 0 00-1.8 0L7.17 6.8l-4.31.63a1 1 0 00-.56 1.7l3.13 3.05-.74 4.3a1 1 0 001.45 1.05l3.05-1.6a5.49 5.49 0 01-.18-1.04l-3.34 1.76.74-4.3a1 1 0 00-.29-.89L3 8.43l4.32-.63a1 1 0 00.75-.55L10 3.35l1.93 3.9c.15.3.43.5.75.55l4.32.63-.85.82c.35.11.69.26 1 .43l.55-.54a1 1 0 00-.56-1.7l-4.31-.63L10.9 2.9zm-.27 11.02a2 2 0 001.44-2.48l-.16-.55c.25-.2.53-.37.82-.5l.34.36a2 2 0 002.9 0l.33-.35c.3.14.58.32.84.52l-.13.42a2 2 0 001.46 2.52l.35.09a4.7 4.7 0 010 1.01l-.45.12a2 2 0 00-1.43 2.48l.15.55c-.25.2-.53.37-.82.5l-.34-.36a2 2 0 00-2.9 0l-.33.35c-.3-.14-.58-.32-.84-.52l.13-.42a2 2 0 00-1.46-2.52l-.35-.09a4.71 4.71 0 010-1.01l.45-.12zm4.87.58a1 1 0 10-2 0 1 1 0 002 0z"></path></svg>'},42208:function(e,t,a){"use strict";a.d(t,{Gp:function(){return h}});var i=a(48839);class n extends i.I{}var o=a(32804),r=a(53046),s=a(67020),l=a(40082),d=a(87839);var c=a(39181);const h=n.compose({baseName:"attribution",template:(e,t)=>c.d`
    <slot name="image"></slot>
    <span part="content" class="content">
        <slot></slot>
    </span>
`,styles:(e,t)=>r.i`
        ${(0,s.j)("inline-flex")} :host {
            box-sizing: border-box;
            font-family: ${o.SVJ};
            font-size: ${o.sNp};
            font-weight: 400;
            line-height: ${o.vgC};
            align-items: center;
            color: ${o.CHi};
            min-height: 16px;
        }

        .content {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            align-self: baseline;
        }

        ::slotted([slot="image"]) {
            display: flex;
            margin-inline-end: calc(${o._5n} * 2px);
        }
    `.withBehaviors((0,l.vF)(r.i`
                :host,
                .content {
                    color: ${d.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},68231:function(e,t,a){"use strict";a.d(t,{N:function(){return p}});var i=a(33940),n=a(32804),o=a(42355),r=a(42255),s=a(97186),l=a(53046),d=a(87697),c=a(22680),h=a(65620),u=a(27447);class p extends u.Z{constructor(){super(...arguments),this.gradientAngle="112.05deg",this.gradientColor=this.cardFillColor,this.gradientVariables=null}cardFillColorChanged(e,t){if(!t)return;if(super.cardFillColorChanged(e,t),!(0,s.pJ)(t))return this.gradientVariables&&this.$fastController.removeStyles(this.gradientVariables),n.IfY.deleteValueFor(this),void n.yvm.deleteValueFor(this);const a=(0,s.in)(t);a&&(this.neutralPaletteSource=t,n.IfY.setValueFor(this,o.w.create(a.r,a.g,a.b)))}neutralPaletteSourceChanged(e,t){if(t){const e=(0,s.in)(t);if(!e)return;const a=o.w.create(e.r,e.g,e.b);n.yvm.setValueFor(this,r.v.create(a))}}cardSecondaryColorChanged(){this.handleChange()}gradientAngleChanged(){this.handleChange()}generateGradientVariables(e,t,a){return l.i`
            :host {
                --gradient-angle: ${e};
                --gradient-start-color: ${t};
                --gradient-end-color: ${a};
            }
        `}connectedCallback(){super.connectedCallback(),d.y$.getNotifier(this).subscribe(this,"cardFillColor"),this.handleChange()}handleChange(){const e=(0,c.T)(this);this.cardSecondaryColor&&(!this.cardFillColor&&e?this.gradientColor=n.IfY.getValueFor(e).toColorString():this.gradientColor=this.cardFillColor,this.gradientVariables&&this.$fastController.removeStyles(this.gradientVariables),this.gradientVariables=this.generateGradientVariables(this.gradientAngle,this.gradientColor??"",this.cardSecondaryColor),this.$fastController.addStyles(this.gradientVariables))}}(0,i.gn)([(0,h.Lj)({attribute:"neutral-palette-source",mode:"fromView"}),(0,i.w6)("design:type",String)],p.prototype,"neutralPaletteSource",void 0),(0,i.gn)([(0,h.Lj)({attribute:"card-secondary-color",mode:"fromView"}),(0,i.w6)("design:type",Object)],p.prototype,"cardSecondaryColor",void 0),(0,i.gn)([(0,h.Lj)({attribute:"gradient-angle",mode:"fromView"}),(0,i.w6)("design:type",String)],p.prototype,"gradientAngle",void 0)},27447:function(e,t,a){"use strict";a.d(t,{Z:function(){return c}});var i=a(33940),n=a(32804),o=a(78125),r=a(33978),s=a(65130),l=a(65620),d=a(68250);class c extends s.Z{constructor(){super(...arguments),this.size=d.Id._1x_2y}cardFillColorChanged(e,t){this.isDarkCardGradient()?n.q2d.setValueFor(this,o.h.DarkMode):this.isLightCardGradient()?n.q2d.setValueFor(this,o.h.LightMode):n.q2d.deleteValueFor(this)}isDarkCardGradient(){return Object.values(d.Gi).includes(this.cardFillColor)}isLightCardGradient(){return Object.values(d.iV).includes(this.cardFillColor)}isNamedGradientFillColor(){return this.isLightCardGradient()||this.isDarkCardGradient()}connectedCallback(){super.connectedCallback(),n.Ats.setValueFor(this,{evaluate:(e,t)=>(0,r.P)(n.yvm.getValueFor(e),t||n.IfY.getValueFor(e),-1,1,0,0,void 0,2,3,1,2,void 0)})}}(0,i.gn)([(0,l.Lj)({attribute:"card-fill-color"}),(0,i.w6)("design:type",Object)],c.prototype,"cardFillColor",void 0),(0,i.gn)([l.Lj,(0,i.w6)("design:type",String)],c.prototype,"size",void 0)},68250:function(e,t,a){"use strict";a.d(t,{Gi:function(){return n},Id:function(){return i},iV:function(){return o}});const i={_1x_1y:"_1x_1y",_1x_2y:"_1x_2y",_2x_2y:"_2x_2y",_2x_1y:"_2x_1y"},n={DarkPlum:"dark-plum",DarkDesert:"dark-desert",DarkDawn:"dark-dawn",DarkSea:"dark-sea",DarkOrange:"dark-orange",DarkTropic:"dark-tropic",DarkMerlot:"dark-merlot",DarkPurple:"dark-purple",DarkGreen:"dark-green"},o={LightBlue:"light-blue",LightPurple:"light-purple",LightSky:"light-sky",LightPink:"light-pink",LightYellow:"light-yellow",LightBluebird:"light-bluebird",LightOrange:"light-orange",LightAqua:"light-aqua",LightGreen:"light-green"}},64799:function(e,t,a){"use strict";a.d(t,{$f:function(){return h},F:function(){return y},RR:function(){return u},di:function(){return c},hl:function(){return f},sQ:function(){return m},yp:function(){return g}});var i=a(32804),n=a(78125),o=a(98648),r=a(53046),s=a(67020),l=a(40082),d=a(87839);const c=o.L.create("card-base-height").withDefault(146),h=o.L.create("card-base-width").withDefault(300),u=o.L.create("card-base-gap").withDefault(12),p=o.L.create("card-stroke-color");p.withDefault((e=>i.q2d.getValueFor(e)===n.h.DarkMode?"rgba(0,0,0,0.1)":"rgba(0,0,0,0.0578)"));const g=r.i`
    :host([size][card-fill-color="light-blue"]) {
        background: linear-gradient(140.53deg, #f0e1f7 9.32%, #cddfff 58.45%);
    }

    :host([size][card-fill-color="light-purple"]) {
        background: linear-gradient(139.03deg, #ffe9e1 5.05%, #f0e1f7 51.71%);
    }

    :host([size][card-fill-color="light-sky"]) {
        background: linear-gradient(140.53deg, #f5f7e1 9.32%, #cdf0ff 58.45%);
    }

    :host([size][card-fill-color="light-pink"]) {
        background: linear-gradient(139.03deg, #fff1cd 5.05%, #ffe8ed 51.71%);
    }

    :host([size][card-fill-color="light-yellow"]) {
        background: linear-gradient(140.53deg, #fffedc 9.32%, #fff4d7 58.45%);
    }

    :host([size][card-fill-color="light-bluebird"]) {
        background: linear-gradient(139.03deg, #e1e6f8 5.05%, #ebfefb 51.71%);
    }

    :host([size][card-fill-color="light-orange"]) {
        background: linear-gradient(140.56deg, #f0e1f7 5.42%, #ffe9e1 51.68%);
    }

    :host([size][card-fill-color="light-aqua"]) {
        background: linear-gradient(140.56deg, #cef9ff 5.42%, #e3f9f3 51.68%);
    }

    :host([size][card-fill-color="light-green"]) {
        background: linear-gradient(140.56deg, #fffee9 5.42%, #d0f0e1 51.68%);
    }

    :host([size][card-fill-color="dark-plum"]) {
        background: linear-gradient(138.52deg, #512c2c -1.32%, #252c4e 85.77%);
    }

    :host([size][card-fill-color="dark-desert"]) {
        background: linear-gradient(138.25deg, #553f2b -1.2%, #372d54 84.27%);
    }

    :host([size][card-fill-color="dark-dawn"]) {
        background: linear-gradient(140.02deg, #58314f -2.33%, #29203c 84.75%);
    }

    :host([size][card-fill-color="dark-sea"]) {
        background: linear-gradient(138.52deg, #264b50 0.44%, #292448 85.15%);
    }

    :host([size][card-fill-color="dark-orange"]) {
        background: linear-gradient(140.69deg, #514c28 -7.13%, #482b24 87.33%);
    }

    :host([size][card-fill-color="dark-tropic"]) {
        background: linear-gradient(140.08deg, #0b4b4f 1.27%, #39371e 85.21%);
    }

    :host([size][card-fill-color="dark-merlot"]) {
        background: linear-gradient(140.02deg, #5c452f -2.33%, #3a1b26 84.75%);
    }

    :host([size][card-fill-color="dark-purple"]) {
        background: linear-gradient(140.02deg, #283266 -2.33%, #351740 84.75%);
    }

    :host([size][card-fill-color="dark-green"]) {
        background: linear-gradient(138.44deg, #57511f 0.35%, #17352f 83.81%);
    }
`,m=r.i`
    ${(0,s.j)("flex")} :host {
        background: ${i.IfY};
        border: calc(${i.Han} * 1px) solid ${p};
        background-clip: padding-box;
        border-radius: calc(${i.rSr} * 1px);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        color: ${i.CHi};
        contain: content;
        content-visibility: auto;
        outline-offset: 1px;
    }

    :host(:hover) {
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.14);
    }

    @media (prefers-color-scheme: dark) {
        :host(:hover) {
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.26);
        }
    }

    :host([size="_1x_1y"]) {
        width: calc((${h} * 1px) + 2px);
        height: calc((${c} * 1px) + 2px);
    }

    :host([size="_1x_2y"]) {
        width: calc((${h} * 1px) + 2px);
        height: calc(((${c} * 2px) + (${u} * 1px)) + 2px);
    }

    :host([size="_2x_2y"]) {
        width: calc(((${h} * 2px) + (${u} * 1px)) + 2px);
        height: calc(((${c} * 2px) + (${u} * 1px)) + 2px);
    }

    :host([size="_2x_1y"]) {
        width: calc(((${h} * 2px) + (${u} * 1px)) + 2px);
        height: calc((${c} * 1px) + 2px);
    }

    ::slotted(*) {
        color: inherit;
    }
`,f=(0,l.vF)(r.i`
            :host {
                background: ${d.H.Canvas};
                color: ${d.H.CanvasText};
            }
        `),y=(e,t)=>r.i`
        ${m}
        ${g}

        :host([card-secondary-color]) {
            background: linear-gradient(
                var(--gradient-angle),
                var(--gradient-start-color) 35.59%,
                var(--gradient-end-color) 100%
            );
            background-clip: padding-box;
        }
    `.withBehaviors(f)},38880:function(e,t,a){"use strict";a.d(t,{u0:function(){return r}});var i=a(68231),n=a(64799),o=a(39181);const r=i.N.compose({baseName:"card",styles:n.F,template:(e,t)=>o.d`
    <slot></slot>
`})},39432:function(e,t,a){"use strict";a.d(t,{u:function(){return m}});var i=a(33940),n=a(68231),o=a(68250),r=a(32804),s=a(48839),l=a(2696),d=a(53046),c=a(22680),h=a(87697),u=a(97186),p=a(65620),g=a(62449);class m extends s.I{constructor(){super(...arguments),this.headingLevel=2,this.immersiveCard=!1,this.animateVideo=!1,this.subscribed=!1,this.target=g.P._blank,this.mediaSlot=[],this.loaded=!1,this.gradientVariables=null,this.cardSize=()=>this.size?this.size:this.parent&&this.parent instanceof n.N?this.parent.size:o.Id._1x_2y,this.colorSwatch=()=>{if(this.parent&&this.parent instanceof n.N)return this.parent.cardFillColor??r.IfY.getValueFor(this.parent).toColorString()}}animateVideoChanged(){this.loaded=!0}isColorSampled(){return!!(this.parent&&this.parent instanceof n.N)&&!!this.parent.cardSecondaryColor}generateGradientVariables(e){let t,a;return this.isColorSampled()?(t=new l.h(e.r,e.g,e.b,0).toStringWebRGBA(),a=new l.h(e.r,e.g,e.b,.8).toStringWebRGBA()):(t=new l.h(0,0,0,0).toStringWebRGBA(),a=new l.h(0,0,0,.54).toStringWebRGBA()),d.i`
            :host {
                --image-gradient-overlay-start-color: ${t};
                --image-gradient-overlay-end-color: ${a};
            }
        `}handleContentCardLinkClick(e){return this.$emit("link-invoked",e),!0}connectedCallback(){super.connectedCallback(),this.parent=(0,c.T)(this),!this.parent||this.parent instanceof n.N||(this.parent=(0,c.T)(this.parent)),this.parent&&(this.handleChange(),h.y$.getNotifier(this.parent).subscribe(this,"cardFillColor"),h.y$.getNotifier(this.parent).subscribe(this,"cardSecondaryColor"),h.y$.getNotifier(this.parent).subscribe(this,"size"))}handleChange(){if(this.size=this.cardSize(),this.cardColor=this.colorSwatch(),this.cardColor){const e=(0,u.in)(this.cardColor);this.gradientVariables&&this.$fastController.removeStyles(this.gradientVariables),e&&(this.gradientVariables=this.generateGradientVariables(e),this.$fastController.addStyles(this.gradientVariables))}}}(0,i.gn)([(0,p.Lj)({attribute:"heading-level",mode:"fromView",converter:p.Id}),(0,i.w6)("design:type",Number)],m.prototype,"headingLevel",void 0),(0,i.gn)([p.Lj,(0,i.w6)("design:type",String)],m.prototype,"size",void 0),(0,i.gn)([(0,p.Lj)({attribute:"immersive-card",mode:"boolean"}),(0,i.w6)("design:type",Boolean)],m.prototype,"immersiveCard",void 0),(0,i.gn)([(0,p.Lj)({attribute:"media-type"}),(0,i.w6)("design:type",Object)],m.prototype,"mediaType",void 0),(0,i.gn)([(0,p.Lj)({attribute:"animate-video",mode:"boolean"}),(0,i.w6)("design:type",Boolean)],m.prototype,"animateVideo",void 0),(0,i.gn)([(0,p.Lj)({attribute:"subscribed",mode:"boolean"}),(0,i.w6)("design:type",Boolean)],m.prototype,"subscribed",void 0),(0,i.gn)([p.Lj,(0,i.w6)("design:type",Object)],m.prototype,"href",void 0),(0,i.gn)([p.Lj,(0,i.w6)("design:type",String)],m.prototype,"target",void 0),(0,i.gn)([h.LO,(0,i.w6)("design:type",Array)],m.prototype,"childElements",void 0),(0,i.gn)([h.LO,(0,i.w6)("design:type",Array)],m.prototype,"mediaSlot",void 0),(0,i.gn)([h.LO,(0,i.w6)("design:type",Object)],m.prototype,"parent",void 0),(0,i.gn)([h.LO,(0,i.w6)("design:type",Boolean)],m.prototype,"loaded",void 0),(0,i.gn)([h.LO,(0,i.w6)("design:type",String)],m.prototype,"anchorTelemetryTag",void 0)},62449:function(e,t,a){"use strict";a.d(t,{D:function(){return n},P:function(){return i}});const i={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"},n={image:"image",video:"video"}},68714:function(e,t,a){"use strict";a.d(t,{$j:function(){return b}});var i=a(39432),n=a(32804),o=a(22674),r=a(53046),s=a(56201),l=a(81493),d=a(40082),c=a(87839);var h=a(90960),u=a(39181),p=a(81422),g=a(74009),m=a(13988);function f(e,t){return t?.some((t=>t.slot===e))}const y=(e,t)=>{const a=t.slotName??"";return u.d`
        <div id="${a}" class="${a}" part="${a}">
            <slot
                name="${a}"
                ${t.slottedRef?(0,h.Q)(t.slottedRef):""}
            >
                ${t.slottedDefault instanceof Function?t.slottedDefault(e,t):t.slottedDefault??""}
            </slot>
        </div>
    `},w=(v=(e,t)=>u.d`
    <slot name="media" ${(0,h.Q)("mediaSlot")}></slot>
`,(e,t)=>u.d`
            <template
                role="article"
                ${(0,p.p)({property:"childElements",filter:(0,g.R)()})}
            >
                <div
                    class="content${e=>e.mediaType?"":" no-image"}"
                    part="content"
                >
                    ${v(e,t)}
                    ${(0,m.g)((e=>f("media-info",e.childElements)&&!(e.immersiveCard||"_2x_2y"===e.size)),y(e,{slotName:"media-info"}))}
                    <div class="gradient"></div>
                    ${y(e,{slotName:"media-overlay",slottedDefault:t.mediaOverlay})}
                    <div class="text">
                        ${(0,m.g)((e=>f("media-info",e.childElements)&&(e.immersiveCard||"_2x_2y"===e.size)),y(e,{slotName:"media-info"}))}
                        <slot name="attribution"></slot>
                        <a
                            id="heading"
                            class="heading"
                            part="heading"
                            href="${e=>e.href?e.href:void 0}"
                            target="${e=>e.target?e.target:void 0}"
                            @click=${(e,t)=>e.handleContentCardLinkClick(t.event)}
                            data-t="${e=>e.anchorTelemetryTag}"
                        >
                            <span role="heading" aria-level="${e=>e.headingLevel}">
                                <slot></slot>
                            </span>
                        </a>
                        ${(0,m.g)((e=>f("abstract",e.childElements)),y(e,{slotName:"abstract"}))}
                    </div>
                    <div class="action-tray ${e=>e.loaded?"":"preload"}">
                        ${y(e,{slotName:"footer-start",slottedDefault:t.footerStart})}
                        ${y(e,{slotName:"footer-end",slottedDefault:t.footerEnd})}
                    </div>
                    <div class="hide-story-wrapper" part="hide-story-wrapper">
                        ${y(e,{slotName:"hide-story",slottedDefault:t.hideStory})}
                    </div>
                </div>
            </template>
        `);var v;const b=i.u.compose({baseName:"content-card",styles:(e,t)=>r.i`
        .preload {
            transition: none !important;
        }

        :host {
            --content-padding: 16px;
            --no-image-action-tray-padding: 20px;
            --action-tray-padding: 10px;
            width: 100%;
            height: 100%;
            font-family: ${n.SVJ};
            --video-transition-delay: 1s;
            --video-transition-start-duration: 1s;
            --video-transition-end-duration: 1s;
        }

        :host([subscibed])::after {
            position: absolute;
            content: "";
            bottom: 0;
            left: 0;
            right: 0;
            height: 4px;
            width: 100%;
            background: linear-gradient(90deg, #ffa03d 0%, #ffdb00 100%);
        }

        :host([size="_1x_2y"]),
        :host([size="_2x_2y"]) {
            --content-card-heading-font-size: 18px;
            --content-card-heading-line-height: 24px;
        }

        :host .content {
            display: grid;
            grid-template-columns: 1fr minmax(auto, 84px);
            grid-template-rows: 1fr auto;
            row-gap: 14px var(--content-padding) var(--content-padding)
                var(--content-padding);
            column-gap: 12px;
            width: 100%;
            height: 100%;
            box-sizing: border-box;
            color: ${n.CHi};
            position: relative;
        }

        :host([size="_1x_1y"]) .content {
            row-gap: 0px;
            padding: 14px var(--content-padding) 10px var(--content-padding);
        }

        :host([size="_2x_1y"]) .content {
            row-gap: 0px;
            padding: var(--content-padding) var(--content-padding) 14px
                var(--content-padding);
        }

        :host([size="_1x_2y"]) .content,
        :host([size="_2x_2y"]) .content,
        :host([immersive-card]) .content {
            grid-template-columns: 1fr;
            column-gap: 0;
        }

        :host([size="_1x_2y"]) .content {
            grid-template-rows: auto 1fr auto;
        }

        :host([size="_1x_2y"]) .content.no-image {
            grid-template-rows: auto 1fr auto;
        }

        :host([size="_1x_2y"]:not([immersive-card])) .content:not(.no-image) .text {
            padding-top: 12px;
        }

        :host([immersive-card]) .text,
        :host([size="_2x_2y"]) .content:not(.no-image) .text {
            padding-top: 0;
        }

        :host([size="_2x_2y"]) .content,
        :host([immersive-card]) .content {
            align-items: end;
            grid-template-rows: 1fr auto auto;
        }

        :host([size="_2x_2y"]) .no-image {
            align-items: unset;
        }

        :host([size="_1x_2y"]) .content,
        :host([size="_2x_2y"]) .content {
            padding: 0;
            row-gap: 0;
        }

        :host([size="_1x_1y"]) .content.no-image,
        :host([size="_2x_1y"]) .content.no-image,
        :host([size="_1x_2y"]) .content.no-image,
        :host([size="_2x_2y"]) .content.no-image {
            grid-template-rows: 1fr auto;
        }

        ::slotted([slot="abstract"]) {
            display: none;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: var(--abstract-max-lines, 7);
            margin-top: var(--abstract-margin-top, 5px);
        }

        .no-image ::slotted([slot="abstract"]) {
            display: -webkit-box;
            -webkit-line-clamp: var(--abstract-max-lines, 3);
        }

        :host([size="_1x_1y"]) .no-image ::slotted([slot="abstract"]),
        :host([size="_2x_1y"]) .no-image ::slotted([slot="abstract"]) {
            --abstract-max-lines: 1;
        }

        .text {
            grid-area: 1 / 1;
            padding: var(--content-padding) var(--content-padding) 0
                var(--content-padding);
            overflow: hidden;
            font-size: ${n.cSu};
            line-height: ${n.RUt};
        }

        :host([size="_1x_1y"]) .text,
        :host([size="_2x_1y"]) .text {
            padding: 0;
        }

        :host([size="_1x_1y"]) .no-image .text,
        :host([size="_2x_1y"]) .no-image .text {
            grid-column: 1 / span 2;
        }

        :host([size="_1x_2y"]) .no-image .text,
        :host([size="_2x_2y"]) .no-image .text {
            padding: 14px var(--content-padding) 0 var(--content-padding);
            grid-row: 1;
        }

        :host([size="_2x_2y"]) .text,
        :host([size="_1x_2y"]) .text {
            grid-row: 2;
        }

        :host([immersive-card]) .text,
        :host([size="_2x_2y"]) .text {
            background-color: var(--image-gradient-overlay-end-color);
        }

        :host([size="_1x_1y"]) .action-tray,
        :host([size="_2x_1y"]) .action-tray,
        :host([size="_1x_2y"]:not([immersive-card])) .action-tray,
        :host .no-image .action-tray {
            background-color: transparent;
        }

        :host([immersive-card]) .no-image .text,
        :host([size="_2x_2y"]) .no-image .text {
            background: unset;
        }

        :host([size="_1x_2y"]) .action-tray,
        :host([size="_2x_2y"]) .action-tray {
            grid-row: 3;
            padding: 4px var(--content-padding) var(--action-tray-padding)
                var(--content-padding);
        }

        :host([immersive-card]) .action-tray,
        :host([size="_2x_2y"]) .content:not(.no-image) .action-tray {
            padding: var(--action-tray-padding) var(--content-padding)
                var(--action-tray-padding) var(--content-padding);
        }

        .action-tray {
            grid-row: 2;
            grid-column: span 2;
            display: flex;
            position: relative;
            background-color: var(--image-gradient-overlay-end-color);
            padding: var(--action-tray-padding) var(--content-padding)
                var(--content-padding) var(--content-padding);
        }

        :host([size="_1x_1y"]) .action-tray,
        :host([size="_2x_1y"]) .action-tray {
            padding: 0;
        }

        :host([size="_2x_1y"]) .content:not(.no-image) .action-tray {
            grid-area: 2 / 1 / auto / auto;
        }

        :host([size="_1x_1y"]) .no-image .action-tray {
            padding: 4px 0 0 0;
        }

        :host([size="_1x_2y"]) .no-image .action-tray,
        :host([size="_2x_2y"]) .no-image .action-tray {
            padding: var(--no-image-action-tray-padding) var(--content-padding)
                var(--action-tray-padding) var(--content-padding);
            background: none;
            grid-row: 2;
            grid-column: 1;
        }

        .media-info {
            display: grid;
            grid-auto-flow: column;
            width: fit-content;
            grid-gap: 4px;
            fill: white;
            color: white;
            margin-bottom: 8px;
        }

        :host([size="_1x_2y"]:not([immersive-card])) .media-info {
            grid-row: 1;
            grid-column: 1;
            align-self: flex-end;
            margin-bottom: 6px;
            margin-inline-start: 6px;
        }

        :host([size="_2x_1y"]:not([immersive-card])) .media-info {
            grid-area: 1 / 2 / span2 / auto;
            align-self: flex-end;
            margin-bottom: 8px;
            margin-inline-start: 6px;
        }

        ::slotted([slot="media-info"]) {
            display: grid;
            align-items: center;
            grid-auto-flow: column;
            grid-gap: 3px;
            background-color: var(--image-gradient-overlay-end-color);
            border-radius: calc(${n.UWU} * 1px);
            padding: 2px 6px;
            font-size: ${n.G8g};
            line-height: ${n.MwG};
        }

        ::slotted([slot="hide-story"]) {
            box-sizing: border-box;
            align-items: center;
            background-color: #ffffff;
            border-radius: 100%;
            border: 1px solid #e5e5e5;
            color: rgba(0, 0, 0 1);
            cursor: pointer;
            display: flex;
            fill: currentcolor;
            font-family: ${n.SVJ};
            font-size: ${n.cSu};
            height: 28px;
            justify-content: center;
            line-height: ${n.RUt};
            margin-inline-start: 4px;
            min-width: 28px;
            outline: none;
            padding: 0;
            position: relative;
        }

        :host .hide-story-wrapper {
            position: absolute;
            display: flex;
            flex-direction: row;
            top: var(--content-padding);
        }

        :host .hide-story {
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.1s linear;
        }

        :host(:hover) .hide-story,
        :host(:focus-within) .hide-story {
            opacity: 1;
        }

        :host ::slotted([slot="hide-story"]:${s.b}) {
            border-color: ${n.yGg};
        }

        ::slotted([slot="media"]) {
            grid-column: 1;
            object-fit: cover;
        }

        :host([size="_1x_1y"]) ::slotted([slot="media"]) {
            height: 84px;
            width: 84px;
            grid-row: 1;
            grid-column: 2;
            border-radius: var(--half-card-image-corner-radius, 8px);
            overflow: hidden;
        }

        :host([size="_2x_1y"]) ::slotted([slot="media"]) {
            height: 114px;
            width: 216px;
            grid-area: 1 / 2 / span2 / 2;
            border-radius: var(--half-card-image-corner-radius, 8px);
            overflow: hidden;
        }

        :host([size="_1x_2y"]) ::slotted([slot="media"]) {
            grid-row: 1;
            grid-column: 1;
            height: 157px;
            width: 100%;
            display: flex;
        }

        :host([size="_2x_2y"]) ::slotted([slot="media"]),
        :host([immersive-card]) ::slotted([slot="media"]) {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        ::slotted([slot="attribution"]) {
            display: flex;
            grid-column: 1;
            grid-row: 1;
            margin-bottom: 8px;
        }

        :host([size="_1x_1y"]) .content:not(.no-image) ::slotted([slot="attribution"]),
        :host([size="_2x_1y"]) .content:not(.no-image) ::slotted([slot="attribution"]) {
            grid-column-end: 1;
        }

        .heading {
            color: ${n.CHi};
            fill: currentcolor;
            display: -webkit-box;
            outline: 0;
            overflow: hidden;
            text-decoration: none;
            -webkit-line-clamp: var(--heading-max-lines, 3);
            -webkit-box-orient: vertical;
            font-weight: 600;
            font-size: var(--content-card-heading-font-size, ${n.PwC});
            line-height: var(
                --content-card-heading-line-height,
                ${n.b3W}
            );
        }

        .heading:focus-visible {
            text-decoration: underline;
        }

        .heading:after {
            bottom: 0;
            content: "";
            height: 100%;
            left: 0;
            position: absolute;
            right: 0;
            width: 100%;
            z-index: ${n.lr};
        }

        :host([size="_2x_2y"][immersive-card]) .heading {
            --heading-max-lines: 2;
        }

        .media-overlay {
            position: absolute;
            display: flex;
            align-items: center;
            justify-content: center;
            top: 0;
            bottom: 0;
            left: 0;
            right: 0;
            pointer-events: none;
        }

        :host([size="_1x_1y"]) .media-overlay {
            grid-column: 2;
            grid-row: 1;
            height: 84px;
            width: 84px;
        }

        :host([size="_1x_2y"]) .media-overlay {
            grid-row-start: 1;
            grid-row-end: 1;
        }

        :host([size="_2x_2y"]) .media-overlay,
        :host([immersive-card]) .media-overlay {
            top: 80px;
            align-items: unset;
        }

        :host([size="_1x_2y"]) .no-image .heading,
        :host([size="_2x_2y"]) .no-image .heading {
            --heading-max-lines: 9;
        }

        :host([size="_2x_1y"]) .media-overlay {
            grid-area: 1 / 2 / span2 / 2;
            height: 114px;
            width: 216px;
        }

        ::slotted(p) {
            font-weight: 400;
            font-size: var(--abstract-font-size, 14px);
            line-height: var(--abstract-line-height, 20px);
            font-kerning: auto;
            margin: 8px 0px 0px;
        }

        ::slotted([slot="footer-start"]),
        ::slotted([slot="footer-end"]),
        ::slotted([slot="hide-story"]) {
            z-index: ${n.kcg};
        }

        .footer-end,
        .footer-start {
            display: flex;
            align-items: center;
        }

        .footer-end {
            margin-inline-start: auto;
        }

        .gradient {
            background: linear-gradient(
                180deg,
                var(--image-gradient-overlay-start-color) 0%,
                var(--image-gradient-overlay-end-color) 100%
            );
            grid-row: 1;
            height: 100%;
            display: none;
        }

        :host([size="_2x_2y"]) .gradient,
        :host([immersive-card]) .gradient {
            display: block;
            height: 80px;
        }

        :host([size="_2x_2y"]) .no-image .gradient,
        .no-image .gradient {
            display: none;
        }

        :host([size="_2x_1y"]) .content {
            column-gap: 24px;
        }
    `.withBehaviors(new l.w("mediaType","video",r.i`
        .text,
        .media-info,
        .gradient {
            transition-duration: var(--video-transition-end-duration);
            transition-property: opacity;
            opacity: 1;
        }

        .action-tray {
            transition-duration: var(--video-transition-end-duration);
            transition-property: background-color;
        }

        ::slotted([slot="media-overlay"]) {
            color: #ffffff;
            fill: #ffffff;
            height: 38px;
            min-width: 38px;
            display: grid;
            padding: 0px 10px;
            grid-auto-flow: column;
            grid-gap: 8px;
            box-sizing: border-box;
            align-items: center;
            justify-content: center;
            border-radius: 20px;
            border: 1px solid transparent;
            transition-duration: var(--video-transition-end-duration);
            transition-property: opacity;
            opacity: 1;
            background: linear-gradient(
                        135deg,
                        rgba(0, 0, 0, 0.5) 0%,
                        rgba(0, 0, 0, 0.7) 100%
                    )
                    padding-box,
                linear-gradient(
                        180deg,
                        rgba(255, 255, 255, 0.4) 0%,
                        rgba(255, 255, 255, 0.2) 100%
                    )
                    border-box;
        }

        :host([size="_1x_1y"]) ::slotted([slot="media-overlay"]) {
            height: 22px;
            min-width: 22px;
            padding: 0 6px;
        }

        :host([size="_2x_1y"]) ::slotted([slot="media-overlay"]) {
            height: 38px;
            min-width: 38px;
            padding: 0 6px;
        }

        :host([size="_1x_1y"]) ::slotted([slot="media-overlay"]) > svg {
            height: 7px;
            width: 8px;
        }

        :host([size="_2x_1y"]) ::slotted([slot="media-overlay"]) > svg {
            height: 7px;
            width: 8px;
        }

        .action-tray::before {
            position: absolute;
            content: "";
            background: linear-gradient(
                var(--image-gradient-overlay-start-color) 0%,
                var(--image-gradient-overlay-end-color) 50%
            );
            top: -40px;
            bottom: 0;
            left: 0;
            right: 0;
            opacity: 0;
            transition-duration: var(--video-transition-end-duration);
            transition-property: opacity;
        }

        :host([size="_1x_2y"][animate-video]:not([immersive-card])) .media-info,
        :host([size="_2x_2y"][animate-video]) .text,
        :host([immersive-card][animate-video]) .text,
        :host([size="_2x_2y"][animate-video]) .gradient,
        :host([immersive-card][animate-video]) .gradient,
        :host([immersive-card][animate-video]) ::slotted([slot="media-overlay"]),
        :host([size="_1x_2y"][animate-video]) ::slotted([slot="media-overlay"]),
        :host([size="_2x_2y"][animate-video]) ::slotted([slot="media-overlay"]) {
            transition-delay: var(--video-transition-delay);
            transition-duration: var(--video-transition-start-duration);
            opacity: 0;
        }

        :host([size="_2x_2y"][animate-video]) .action-tray::before,
        :host([immersive-card][animate-video]) .action-tray::before {
            transition-delay: var(--video-transition-delay);
            transition-duration: var(--video-transition-start-duration);
            opacity: 1;
        }

        :host([size="_2x_2y"][animate-video]) .action-tray,
        :host([immersive-card][animate-video]) .action-tray {
            transition-delay: var(--video-transition-delay);
            transition-duration: var(--video-transition-start-duration);
            background-color: transparent;
        }
    `),new o.O(r.i`
                :host .hide-story-wrapper {
                    right: var(--content-padding);
                }
            `,r.i`
                :host .hide-story-wrapper {
                    left: var(--content-padding);
                }
            `),(0,d.vF)(r.i`
                :host {
                    forced-color-adjust: auto;
                }
                .gradient {
                    display: none;
                }
                :host([size="_1x_2y"]) .content,
                :host([size="_1x_1y"]) .content,
                :host([size="_2x_1y"]) .content {
                    background: ${c.H.ButtonFace};
                }
                :host([size="_1x_2y"]) .text,
                :host([size="_1x_2y"]) .action-tray,
                :host([size="_2x_2y"]) .text,
                :host([size="_2x_2y"]) .action-tray,
                :host([size="_2x_2y"]) .content,
                :host([immersive-card]) .content {
                    background: transparent;
                }
                ::slotted([slot="hide-story"]) {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
            `)),template:w})},38247:function(e,t,a){"use strict";a.d(t,{QT:function(){return h}});var i=a(33940),n=a(28090),o=a(65620),r=a(45169),s=a(53046),l=a(45597),d=a(82636);class c extends n.e{appearanceChanged(e,t){e!==t&&(this.classList.add(t),this.classList.remove(e))}connectedCallback(){super.connectedCallback(),this.appearance||(this.appearance="neutral")}defaultSlottedContentChanged(){const e=this.defaultSlottedContent.filter((e=>e.nodeType===Node.ELEMENT_NODE));1===e.length&&e[0]instanceof SVGElement?this.control.classList.add("icon-only"):this.control.classList.remove("icon-only")}}(0,i.gn)([o.Lj,(0,i.w6)("design:type",String)],c.prototype,"appearance",void 0);const h=c.compose({baseName:"anchor",baseClass:n.e,template:r.g,styles:(e,t)=>s.i`
        ${(0,l.vN)(e,t)}
    `.withBehaviors((0,d.H)("accent",l.jQ),(0,d.H)("hypertext",l.Xu),(0,d.H)("lightweight",l.vt),(0,d.H)("outline",l.O8),(0,d.H)("stealth",l.cg)),shadowOptions:{delegatesFocus:!0}})},77193:function(e,t,a){"use strict";a.d(t,{G8:function(){return g},WE:function(){return p}});var i=a(33940),n=a(84742),o=a(12968),r=a(65620),s=a(20104),l=a(53046),d=a(67020),c=a(32804);const h=(e,t)=>l.i`
        ${(0,d.j)("inline-block")} :host {
            box-sizing: border-box;
            font-family: ${c.SVJ};
            font-size: ${c.sNp};
            line-height: ${c.vgC};
        }

        .control {
            border-radius: calc(${c.UWU} * 1px);
            padding: calc(((${c._5n} * 0.5) - ${c.Han}) * 1px)
                calc((${c._5n} - ${c.Han}) * 1px);
            border: calc(${c.Han} * 1px) solid transparent;
        }

        :host(.lightweight) .control {
            background: transparent;
            color: ${c.CHi};
            font-weight: 600;
        }

        :host(.accent) .control {
            background: ${c.Avx};
            color: ${c.w41};
        }

        :host(.neutral) .control {
            background: ${c.wFS};
            color: ${c.CHi};
        }
    `;class u extends n.C{constructor(){super(...arguments),this.appearance="lightweight"}appearanceChanged(e,t){e!==t&&o.SO.queueUpdate((()=>{this.classList.add(t),this.classList.remove(e)}))}}(0,i.gn)([(0,r.Lj)({mode:"fromView"}),(0,i.w6)("design:type",String)],u.prototype,"appearance",void 0);const p=u.compose({baseName:"badge",baseClass:n.C,template:s.Z,styles:h}),g=h},77615:function(e,t,a){"use strict";a.d(t,{D:function(){return n}});var i=a(57905);function n(e){return i.K.getOrCreate(e).withPrefix("cs")}},46631:function(e,t,a){"use strict";a.d(t,{QZ:function(){return u}});var i=a(48839);class n extends i.I{}var o=a(39181);var r=a(32804),s=a(2658),l=a(53046),d=a(67020),c=a(40082),h=a(87839);const u=n.compose({baseName:"sd-card-footer",template:(e,t)=>o.d`
    <slot name="pagination">
        ${t.pagination instanceof Function?t.pagination(e,t):t.pagination??""}
    </slot>
    <slot></slot>
`,styles:(e,t)=>l.i`
        ${(0,d.j)("flex")} :host {
            padding: 0 16px;
            justify-content: center;
            align-items: center;
            box-sizing: border-box;
            font-family: ${r.SVJ};
            font-size: ${r.sNp};
            line-height: ${r.vgC};
            color: ${r.CHi};
            height: calc(${s.i} * 1px);
        }

        ::slotted(fluent-anchor),
        ::slotted(fluent-button) {
            font-size: ${r.sNp};
            line-height: ${r.vgC};
            height: calc((${s.i} - 8) * 1px);
            min-height: calc((${s.i} - 8) * 1px);
            --control-corner-radius: 14;
        }

        /* Ensure neutral buttons have a stroke per the design */
        ::slotted(fluent-button[appearance="neutral"]),
        ::slotted(fluent-anchor[appearance="neutral"]) {
            border: 1px solid ${r.akT};
        }

        ::slotted(fluent-button[appearance="neutral"]:hover),
        ::slotted(fluent-anchor[appearance="neutral"]:hover) {
            border-color: ${r.QPc};
        }

        ::slotted(fluent-button[appearance="neutral"]:active),
        ::slotted(fluent-anchor[appearance="neutral"]:active) {
            border-color: ${r.c1L};
        }

        ::slotted(fluent-anchor),
        ::slotted(fluent-button),
        ::slotted([slot="pagination"]) {
            z-index: ${r.kcg};
        }

        ::slotted([slot="pagination"]) {
            margin-inline-end: auto;
        }
    `.withBehaviors((0,c.vF)(l.i`
                :host {
                    color: ${h.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},10326:function(e,t,a){"use strict";a.d(t,{RM:function(){return h}});var i=a(81707),n=a(39181);var o=a(32804),r=a(2658),s=a(53046),l=a(67020),d=a(40082),c=a(87839);const h=i.m.compose({baseName:"sd-card-header",template:(e,t)=>n.d`
    <slot name="icon">
        ${t.icon instanceof Function?t.icon(e,t):t.icon??""}
    </slot>
    <a
        id="title"
        class="title"
        part="title"
        href="${e=>e.href?e.href:void 0}"
        target="${e=>e.target?e.target:void 0}"
        data-t="${e=>e.anchorTelemetryTag}"
        @click=${(e,t)=>e.handleSDCardLinkClick(t.event)}
    >
        <slot></slot>
    </a>
    <slot name="menu-button">
        ${t.menuButton instanceof Function?t.menuButton(e,t):t.menuButton??""}
    </slot>
    <div part="more-actions" class="more-actions">
        <slot name="more-actions">
            ${t.moreActions instanceof Function?t.moreActions(e,t):t.moreActions??""}
        </slot>
    </div>
`,styles:(e,t)=>s.i`
        ${(0,l.j)("grid")} :host {
            align-items: center;
            box-sizing: border-box;
            font-family: ${o.SVJ};
            font-size: ${o.sNp};
            line-height: ${o.vgC};
            color: ${o.CHi};
            height: calc((${r.i} + 16) * 1px);
            padding: 0 var(--sd-card-header-padding-inline, 16px);
            grid-template-columns: auto auto 1fr auto;
        }

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

        .title {
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            color: ${o.CHi};
            outline: 0;
            fill: currentcolor;
            text-decoration: none;
        }

        .title:after {
            bottom: 0;
            content: "";
            height: 100%;
            left: 0;
            position: absolute;
            right: 0;
            width: 100%;
            z-index: ${o.lr};
        }

        ::slotted([slot="menu-button"]) {
            height: calc((${r.i} - 8) * 1px);
            min-height: calc((${r.i} - 8) * 1px);
            min-width: var(--sd-card-header-menu-button-width, 20px);
            width: var(--sd-card-header-menu-button-width, 20px);
            opacity: 0;
            display: none;
            margin-inline-start: 4px;
            ${""}
            --control-corner-radius: 4;
            background-color: transparent;
        }

        :host([show-menu-button]) ::slotted([slot="menu-button"]) {
            opacity: 1;
            display: flex;
        }

        .more-actions {
            margin-inline-start: auto;
            display: grid;
            grid-gap: 4px;
            grid-auto-flow: column;
            padding-inline-start: 12px;
        }

        ::slotted([slot="menu-button"]),
        ::slotted([slot="more-actions"]) {
            z-index: ${o.kcg};
        }

        ::slotted([slot="more-actions"]) {
            font-size: ${o.sNp};
            line-height: ${o.vgC};
            height: calc((${r.i} - 4) * 1px);
            min-height: calc((${r.i} - 4) * 1px);
            min-width: calc((${r.i} - 4) * 1px);
            --control-corner-radius: 999;
            background: transparent;
        }

        ::slotted([slot="more-actions"]:hover),
        ::slotted([slot="menu-button"]:hover) {
            background-color: ${o.QpD};
        }

        ::slotted([slot="more-actions"]:active),
        ::slotted([slot="menu-button"]:active) {
            background-color: ${o.sG3};
        }
    `.withBehaviors((0,d.vF)(s.i`
                :host {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},81707:function(e,t,a){"use strict";a.d(t,{m:function(){return s}});var i=a(33940),n=a(48839),o=a(65620),r=a(87697);class s extends n.I{constructor(){super(...arguments),this.showMenuButton=!1,this.target="_blank"}handleSDCardLinkClick(e){return this.$emit("link-invoked",e),!0}}(0,i.gn)([(0,o.Lj)({attribute:"show-menu-button",mode:"boolean"}),(0,i.w6)("design:type",Boolean)],s.prototype,"showMenuButton",void 0),(0,i.gn)([o.Lj,(0,i.w6)("design:type",Object)],s.prototype,"href",void 0),(0,i.gn)([o.Lj,(0,i.w6)("design:type",String)],s.prototype,"target",void 0),(0,i.gn)([r.LO,(0,i.w6)("design:type",String)],s.prototype,"anchorTelemetryTag",void 0)},73323:function(e,t,a){"use strict";a.d(t,{l7:function(){return r}});var i=a(80598),n=a(39181);var o=a(95201);const r=i.E.compose({baseName:"sd-card",template:(e,t)=>n.d`
    <slot name="image"></slot>
    <div part="header-overlay" class="header-overlay"></div>
    <slot name="header">
        ${t.header instanceof Function?t.header(e,t):t.header??""}
    </slot>
    <div part="gradient" class="gradient"></div>
    <div part="content" class="content">
        <slot></slot>
    </div>
    <div part="footer-overlay" class="footer-overlay"></div>
    <slot name="footer">
        ${t.footer instanceof Function?t.footer(e,t):t.footer??""}
    </slot>
`,styles:o.Q})},80598:function(e,t,a){"use strict";a.d(t,{E:function(){return r}});var i=a(33940),n=a(27447),o=a(65620);class r extends n.Z{constructor(){super(...arguments),this.immersiveCard=!1}}(0,i.gn)([(0,o.Lj)({attribute:"immersive-card",mode:"boolean"}),(0,i.w6)("design:type",Boolean)],r.prototype,"immersiveCard",void 0)},95201:function(e,t,a){"use strict";a.d(t,{Q:function(){return l},U:function(){return s}});var i=a(53046),n=a(67020),o=a(64799),r=a(32804);const s=i.j`position: relative; z-index: ${r.kcg};`,l=(e,t)=>i.i`
        ${o.sQ}
        ${o.yp}

        ${(0,n.j)("grid")} :host {
            grid-template-rows: auto 1fr minMax(16px, auto);
            ${s}
        }

        .content {
            padding: 0 var(--sd-card-content-padding-inline, 16px);
        }

        ::slotted([slot="header"]) {
            grid-row: 1;
        }
        ::slotted([slot="footer"]) {
            grid-row: 3;
        }

        ::slotted([slot="image"]) {
            position: absolute;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -1;
        }

        /* Ensure neutral buttons have a stroke per the design */
        ::slotted(fluent-button[appearance="neutral"]),
        ::slotted(fluent-anchor[appearance="neutral"]) {
            border: 1px solid ${r.akT};
        }

        ::slotted(fluent-button[appearance="neutral"]:hover),
        ::slotted(fluent-anchor[appearance="neutral"]:hover) {
            border-color: ${r.QPc};
        }

        ::slotted(fluent-button[appearance="neutral"]:active),
        ::slotted(fluent-anchor[appearance="neutral"]:active) {
            border-color: ${r.c1L};
        }

        .header-overlay,
        .footer-overlay {
            position: absolute;
            background: rgba(255, 255, 255, 0.46);
            height: 100%;
            width: 100%;
            opacity: 0;
        }

        .header-overlay {
            grid-row: 1 / span 1;
        }

        .footer-overlay {
            grid-row: 3 / span 1;
        }

        .gradient {
            position: absolute;
            grid-row: 2 / span 1;
            height: 100%;
            width: 100%;
            opacity: 0;
            background: linear-gradient(
                180deg,
                rgba(255, 255, 255, 0.46) 0%,
                rgba(255, 255, 255, 0) 22%,
                rgba(255, 255, 255, 0) 86%,
                rgba(255, 255, 255, 0.46) 100%
            );
        }

        @media (prefers-color-scheme: dark) {
            .header-overlay,
            .footer-overlay {
                background: rgba(0, 0, 0, 0.54);
            }

            .gradient {
                background: linear-gradient(
                    180deg,
                    rgba(0, 0, 0, 0.54) 0%,
                    rgba(0, 0, 0, 0) 22%,
                    rgba(0, 0, 0, 0) 86%,
                    rgba(0, 0, 0, 0.54) 100%
                );
            }
        }

        :host([immersive-card]) .header-overlay,
        :host([immersive-card]) .footer-overlay,
        :host([immersive-card]) .gradient {
            opacity: 1;
        }
    `.withBehaviors(o.hl)},28090:function(e,t,a){"use strict";a.d(t,{e:function(){return c},m:function(){return h}});var i=a(20005),n=a(65620),o=a(87697),r=a(48839),s=a(7775),l=a(51208),d=a(86076);class c extends r.I{constructor(){super(...arguments),this.handleUnsupportedDelegatesFocus=()=>{var e;window.ShadowRoot&&!window.ShadowRoot.prototype.hasOwnProperty("delegatesFocus")&&(null===(e=this.$fastController.definition.shadowOptions)||void 0===e?void 0:e.delegatesFocus)&&(this.focus=()=>{this.control.focus()})}}connectedCallback(){super.connectedCallback(),this.handleUnsupportedDelegatesFocus()}}(0,i.gn)([n.Lj],c.prototype,"download",void 0),(0,i.gn)([n.Lj],c.prototype,"href",void 0),(0,i.gn)([n.Lj],c.prototype,"hreflang",void 0),(0,i.gn)([n.Lj],c.prototype,"ping",void 0),(0,i.gn)([n.Lj],c.prototype,"referrerpolicy",void 0),(0,i.gn)([n.Lj],c.prototype,"rel",void 0),(0,i.gn)([n.Lj],c.prototype,"target",void 0),(0,i.gn)([n.Lj],c.prototype,"type",void 0),(0,i.gn)([o.LO],c.prototype,"defaultSlottedContent",void 0);class h{}(0,i.gn)([(0,n.Lj)({attribute:"aria-expanded"})],h.prototype,"ariaExpanded",void 0),(0,d.e)(h,s.v),(0,d.e)(c,l.hW,h)},45169:function(e,t,a){"use strict";a.d(t,{g:function(){return s}});var i=a(39181),n=a(58952),o=a(90960),r=a(51208);const s=(e,t)=>i.d`
    <a
        class="control"
        part="control"
        download="${e=>e.download}"
        href="${e=>e.href}"
        hreflang="${e=>e.hreflang}"
        ping="${e=>e.ping}"
        referrerpolicy="${e=>e.referrerpolicy}"
        rel="${e=>e.rel}"
        target="${e=>e.target}"
        type="${e=>e.type}"
        aria-atomic="${e=>e.ariaAtomic}"
        aria-busy="${e=>e.ariaBusy}"
        aria-controls="${e=>e.ariaControls}"
        aria-current="${e=>e.ariaCurrent}"
        aria-describedby="${e=>e.ariaDescribedby}"
        aria-details="${e=>e.ariaDetails}"
        aria-disabled="${e=>e.ariaDisabled}"
        aria-errormessage="${e=>e.ariaErrormessage}"
        aria-expanded="${e=>e.ariaExpanded}"
        aria-flowto="${e=>e.ariaFlowto}"
        aria-haspopup="${e=>e.ariaHaspopup}"
        aria-hidden="${e=>e.ariaHidden}"
        aria-invalid="${e=>e.ariaInvalid}"
        aria-keyshortcuts="${e=>e.ariaKeyshortcuts}"
        aria-label="${e=>e.ariaLabel}"
        aria-labelledby="${e=>e.ariaLabelledby}"
        aria-live="${e=>e.ariaLive}"
        aria-owns="${e=>e.ariaOwns}"
        aria-relevant="${e=>e.ariaRelevant}"
        aria-roledescription="${e=>e.ariaRoledescription}"
        ${(0,n.i)("control")}
    >
        ${(0,r.m9)(e,t)}
        <span class="content" part="content">
            <slot ${(0,o.Q)("defaultSlottedContent")}></slot>
        </span>
        ${(0,r.LC)(e,t)}
    </a>
`},84742:function(e,t,a){"use strict";a.d(t,{C:function(){return r}});var i=a(20005),n=a(65620),o=a(48839);class r extends o.I{constructor(){super(...arguments),this.generateBadgeStyle=()=>{if(!this.fill&&!this.color)return;const e=`background-color: var(--badge-fill-${this.fill});`,t=`color: var(--badge-color-${this.color});`;return this.fill&&!this.color?e:this.color&&!this.fill?t:`${t} ${e}`}}}(0,i.gn)([(0,n.Lj)({attribute:"fill"})],r.prototype,"fill",void 0),(0,i.gn)([(0,n.Lj)({attribute:"color"})],r.prototype,"color",void 0),(0,i.gn)([(0,n.Lj)({mode:"boolean"})],r.prototype,"circular",void 0)},20104:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});var i=a(39181);const n=(e,t)=>i.d`
    <template class="${e=>e.circular?"circular":""}">
        <div class="control" part="control" style="${e=>e.generateBadgeStyle()}">
            <slot></slot>
        </div>
    </template>
`},65130:function(e,t,a){"use strict";a.d(t,{Z:function(){return n}});var i=a(48839);class n extends i.I{}},12697:function(e,t,a){"use strict";var i=a(84708);t.Z=function(e){return"number"==typeof e&&e==(0,i.Z)(e)}}}]);A
Eo