 mitigations.
2020-11-28 12:12:53, Info                         Execute: Processing mitigation [0]...
2020-11-28 12:12:53, Info                         ProcessMitigation: Checking applicability for [Setup360]...
2020-11-28 12:12:53, Info                         CheckApplicability: scenario=[desktopUpgrade], minVersion=[*], maxVersion=[*]
2020-11-28 12:12:53, Info                         CheckApplicability: Scenario does not match.
2020-11-28 12:12:53, Info                         ProcessMitigation: Mitigation [Setup360] not applicable.
2020-11-28 12:12:53, Info                         ProcessMitigation: Elapsed time=[0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Result         = [0x0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Scenario       = [5]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Name           = [Setup360]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Index          = [0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Applicable     = [no]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: FileCount      = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: RegistryCount  = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CommandCount   = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CustomCount    = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationName  = []
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationIndex = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: TimeDiff       = [0]
2020-11-28 12:12:53, Info                         Execute: [Setup360] Result=[0x0], Applicable=[no]
2020-11-28 12:12:53, Info                         Execute: Processing mitigation [1]...
2020-11-28 12:12:53, Info                         ProcessMitigation: Checking applicability for [ArbiterEditionId]...
2020-11-28 12:12:53, Info                         CheckApplicability: scenario=[unknown], minVersion=[10.0.15063.*], maxVersion=[10.0.15063.*]
2020-11-28 12:12:53, Info                         CheckApplicability: Scenario does not match.
2020-11-28 12:12:53, Info                         ProcessMitigation: Mitigation [ArbiterEditionId] not applicable.
2020-11-28 12:12:53, Info                         ProcessMitigation: Elapsed time=[0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Result         = [0x0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Scenario       = [5]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Name           = [ArbiterEditionId]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Index          = [1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Applicable     = [no]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: FileCount      = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: RegistryCount  = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CommandCount   = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CustomCount    = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationName  = []
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationIndex = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: TimeDiff       = [0]
2020-11-28 12:12:53, Info                         Execute: [ArbiterEditionId] Result=[0x0], Applicable=[no]
2020-11-28 12:12:53, Info                         Execute: Processing mitigation [2]...
2020-11-28 12:12:53, Info                         ProcessMitigation: Checking applicability for [DeleteWUCommitRequiredRegValues20H1]...
2020-11-28 12:12:53, Info                         CheckApplicability: scenario=[unknown], minVersion=[10.0.19041.265], maxVersion=[10.0.19041.409]
2020-11-28 12:12:53, Info                         CheckApplicability: Scenario does not match.
2020-11-28 12:12:53, Info                         ProcessMitigation: Mitigation [DeleteWUCommitRequiredRegValues20H1] not applicable.
2020-11-28 12:12:53, Info                         ProcessMitigation: Elapsed time=[0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Result         = [0x0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Scenario       = [5]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Name           = [DeleteWUCommitRequiredRegValues20H1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Index          = [2]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Applicable     = [no]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: FileCount      = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: RegistryCount  = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CommandCount   = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CustomCount    = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationName  = []
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationIndex = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: TimeDiff       = [0]
2020-11-28 12:12:53, Info                         Execute: [DeleteWUCommitRequiredRegValues20H1] Result=[0x0], Applicable=[no]
2020-11-28 12:12:53, Info                         Execute: Processing mitigation [3]...
2020-11-28 12:12:53, Info                         ProcessMitigation: Checking applicability for [DeleteWUCommitRequiredRegValues20H2]...
2020-11-28 12:12:53, Info                         CheckApplicability: scenario=[unknown], minVersion=[10.0.19042.265], maxVersion=[10.0.19042.409]
2020-11-28 12:12:53, Info                         CheckApplicability: Scenario does not match.
2020-11-28 12:12:53, Info                         ProcessMitigation: Mitigation [DeleteWUCommitRequiredRegValues20H2] not applicable.
2020-11-28 12:12:53, Info                         ProcessMitigation: Elapsed time=[0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Result         = [0x0]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Scenario       = [5]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Name           = [DeleteWUCommitRequiredRegValues20H2]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Index          = [3]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: Applicable     = [no]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: FileCount      = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: RegistryCount  = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CommandCount   = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: CustomCount    = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationName  = []
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: OperationIndex = [-1]
2020-11-28 12:12:53, Info                         ReportEventMitigationResult: TimeDiff       = [0]
2020-11-28 12:12:53, Info                         Execute: [DeleteWUCommitRequiredRegValues20H2] Result=[0x0], Applicable=[no]
2020-11-28 12:12:53, Info                         Execute: Processing mitigation [4]...
,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(null!=i?i:(0,d.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,l);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={},i){return(0,a.mG)(this,void 0,void 0,(function*(){const o=yield this.getRequestInit({method:"GET"},t),r=(0,h.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth(i||(0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth(i||(0,d.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,a.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,a.mG)(this,void 0,void 0,(function*(){const t={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:e}})},i=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(i.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,a.mG)(this,void 0,void 0,(function*(){if(!e&&!e.length)return!0;const i=[];if(t){let e;for(e in t)null!=t[e]&&i.push('"'+e+'": '+JSON.stringify(t[e]))}const a=e.map((e=>e.cardType!=p.f.TopStoriesCard?`\\"${e.cardType}\\":${e.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),n=i.length>0?'{"segmentCardSettings":"{'+a+'}","userSettings":{'+i.join(", ")+"}}":'{"segmentCardSettings":"{'+a+'}"}';return this.updateUserPreference(n)}))}updateProductivityCardsEnableStatus(e){return(0,a.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,a.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,a.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 i={communitySettings:t};return this.updateUserPreference(JSON.stringify(i))}))}updateWidgetSettings(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const a=e.map((e=>({actionType:"Follow",targetId:e.cardType,targetType:g.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(a),appError:i})}))}muteWidget(e,t={},i){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e||!e.length)return!1;const a=e.map((e=>({actionType:"Mute",targetId:e,targetType:g.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(a),appError:i})}))}disableSpotlightCard(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const i={actionType:"Disabled",definitionName:e,targetType:g.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:t})}))}enableSpotlightCard(e,t){return(0,a.mG)(this,void 0,void 0,(function*(){return!!e&&(yield this.deleteFromPdp(g.L.TopicFeed,"definitionName",[e],{},void 0,"Disabled",t))}))}sendGenericActionRequest(e){return(0,a.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:t,additionalParams:i,endpoint:n,method:o,payload:r,appError:l}=e;if(!n||!o)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),l),!1;const g=(0,h.PH)(n);let p;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)})),i&&i.forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));try{JSON.parse(r),p=r}catch(e){p=JSON.stringify(r)}const m={method:o,body:p,headers:yield this.getOneserviceHeaders(t),credentials:"include"},v="GET"==o;try{return yield(0,u.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,m);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for payload: ${r}`;throw new Error(t)}return!v||(yield e.json())}))),"sendActions")}catch(e){return this.logError(e,l),!1}}))}getUserActions(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=[{key:"actionType",value:e}],i=yield this.sendGenericActionRequest({additionalParams:t,endpoint:this.userActionServiceEndPoint,method:"GET"});return i&&i.value}))}setUserAction(e,t){return(0,a.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,a.mG)(this,void 0,void 0,(function*(){const i=[{key:"actionType",value:e},{key:"targetId",value:t.targetId},{key:"definitionName",value:t.definitionName}];return!!(yield this.sendGenericActionRequest({additionalParams:i,endpoint:this.userActionServiceEndPoint,method:"DELETE"}))}))}updateUserPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"POST"});t.body=e;const i=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const a=yield this.fetchImpl(i.href,t);if(a.status>=400){const t=`OneService returned error response while updating user preference. Status: ${a.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,i,n={},r=!0,s=[]){return(0,a.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,i,n,s)));const a=this.bulkGraphActionResultCache.get(e);if(a)return{value:a}}else v.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 a=(yield this.fetchPdpWithTargetTypes([e],t,i,n,s)).get(e);if(a)return{value:a}}))}deleteFromPdp(e,t,i,n={},o,r="Follow",l,g=[]){return(0,a.mG)(this,void 0,void 0,(function*(){const p={method:"DELETE",headers:yield this.getOneserviceHeaders(n),credentials:"include"},m=(0,h.PH)(this.pdpServiceEndpoint),f=(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),b=`targetType eq '${e}'`,x=i.map((e=>`${t} eq '${e}'`)).join(" or ");let C=`actionType eq '${r}' and (${x}) and (${b})`;o&&(C+=` and (degree eq '${o}')`),m.searchParams.set("$filter",C),[...f,...g].forEach((e=>{e.value&&m.searchParams.set(e.key,e.value)}));try{yield(0,u.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(m.href,p);if(t.status>=400){const i=`OneService returned error response. Status: ${t.status} for actionType: ${r}, targetType: ${e}`;throw new Error(i)}return t}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(e)}catch(e){return l&&v.M0.sendAppErrorEvent(Object.assign(Object.assign({},l),{pb:Object.assign(Object.assign({},l.pb),{actionType:r,error:e.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(e){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(e)}fetchPdpWithTargetTypes(e,t=!1,i,n={},o=[]){return(0,a.mG)(this,void 0,void 0,(function*(){if(!e.length)return new Map;const r=e.map((e=>`targetType eq '${e}'`)).join(" or "),l=[{key:"$top",value:`${i=i||10*e.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${r})`}],g=yield this.getRequestInit({method:"GET"},n);!0===t&&(g.cache="no-store");const p=(0,h.PH)(this.pdpServiceEndpoint);[...l,...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride),...o].forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)}));const m=yield(0,u.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,g);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 v=new Map,f=yield m.json();if(!f)return v;if(f.value)for(const e of f.value){let t=v.get(e.targetType);t||v.set(e.targetType,t=[]),t.push(e)}for(const t of e)v.get(t)||v.set(t,[]);return v}))}updateMarketPreference(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:e}})},i=(0,h.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(i.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,a.mG)(this,void 0,void 0,(function*(){let t=null;if(l.yb){const i=this.maptoWebWorkerId(e);if(i&&i.trim()){const i=yield(0,l.ot)({id:this.maptoWebWorkerId(e)});i.fetched&&(t=i.payload)}}return t}))}maptoWebWorkerId(e){switch(e){case g.L.Location:return"weatherpdp";case g.L.League:return"sportsleaguepdp";case g.L.Player:return"sportsplayerpdp";case g.L.Team:return"sportsteampdp";case g.L.Finance:return"moneypdp";default:return""}}getRequestInit(e={method:"GET"},t={}){return(0,a.mG)(this,void 0,void 0,(function*(){const i=yield c.$.getOneServiceHeaders();return e.headers=Object.assign(Object.assign({},i),t),e.credentials="include",e}))}getOneserviceHeaders(e={}){return(0,a.mG)(this,void 0,void 0,(function*(){const t=yield c.$.getOneServiceHeaders();return Object.assign(Object.assign({},t),e)}))}getFollowedLists(){return(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"GET"}),t=(0,h.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&t.searchParams.set(e.key,e.value)}));try{const i=yield(0,u.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const i=yield this.fetchImpl(t.href,e);if(!i.ok){if(i.status>=400&&i.status<500&&408!=i.status)return i;(0,r.OO)(null,o.G9t,"Error get followed list")}return i}))),"getFollowedLists");return i.ok||(0,r.OO)(null,o.G9t,"Error get followed list"),yield i.json()}catch(e){return n.k.logError(e.message),null}}))}addToFollowedLists(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=g.L.Finance,i={method:"POST",body:JSON.stringify({financeListIds:e}),headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,h.PH)(this.userUpdateEndpoint);let o;((yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{o=yield(0,u.w)((()=>(0,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,i);if(e.status>=400){const i=`OneService returned error response. Status: ${e.status} for actionType: FollowList, targetType: ${t}`;throw new Error(i)}return e.json()}))),"addToFollowedLists")}catch(e){return!1}return!0}))}deleteFromFollowedLists(e){return(0,a.mG)(this,void 0,void 0,(function*(){const t=g.L.Finance,i={method:"DELETE",body:null,headers:yield c.$.getOneServiceHeaders(),credentials:"include"},n=(0,h.PH)(this.userUpdateEndpoint);let o;[...(yield(0,y.XJ)())===s.Hy.SignedIn?c.$.getOneServiceParamsWithAuth((0,d.Yq)().UserId,this.ocid,!this.ocidOverride):c.$.getOneServiceParamsWithoutAuth((0,d.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,a.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(n.href,i);if(e.status>=400){const i=`OneService returned error response. Status: ${e.status} for actionType: UnFollowList, targetType: ${t}`;throw new Error(i)}return e.json()}))),"deleteFromFollowedLists")}catch(e){return!1}return!0}))}logError(e,t){t?v.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,f.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===d.jG.AppType||"newsAndInterests"===d.jG.AppType||"winWidgets"===d.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===d.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===d.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===d.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===d.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},27422:function(e,t,i){"use strict";i.d(t,{M:function(){return g}});var a=i(33940),n=i(44833),o=i(53813),r=i(44979),s=i(47224),d=i(26415),l=i(65135),c=i(68651),h=i(87697),u=i(791);class g{constructor(e,t,i,n,o,r,s){this.menuItems=[],this.isActionMenuOpen=!1,this.actionsMenuButtonElement=null,this.onOutsideClick=e=>{var t;const i=e.composedPath()&&e.composedPath()[0];e.target instanceof this.currentSDClass||(null===(t=this.actionsMenuButtonElement)||void 0===t?void 0:t.contains(i))||this.toggleActionMenu(!1,null)},this.onKeydown=e=>{"Escape"===e.code&&this.toggleActionMenu(!1,null)},this.moreSettingAction=()=>(0,a.mG)(this,void 0,void 0,(function*(){this.toggleActionMenu(!1,null),this.goToPersonalizeSettingsCallback&&this.goToPersonalizeSettingsCallback()})),this.hideSettingAction=()=>(0,a.mG)(this,void 0,void 0,(function*(){if(!this.segmentSdCardType)return!1;try{const e=yield u.N.updateSegmentCardsEnableStatus([{cardType:this.segmentSdCardType,enabled:!1}]);return e&&this.refreshSDCardSection&&this.refreshSDCardSection(),this.toggleActionMenu(!1,null),e}catch(e){return l.M0.sendAppErrorEvent(Object.assign(Object.assign({},d.M2Y.SuperSDHideCardError),{message:`Fail to hide ${this.segmentSdCardType} Card .`,pb:Object.assign(Object.assign({},d.M2Y.SuperSDHideCardError.pb),{customMessage:`Failed with exception : ${e}`})})),!1}})),this.currentSDClass=e,this.isDynamicFeed=t,this.sdCardDynamicFeedConfig=n,this.settingMenuConfig=o,this.goToPersonalizeSettingsCallback=r,this.refreshSDCardSection=s,this.menuItems=this.getBaseActionMenuItems(),this.segmentSdCardType=i}updateMenuItems(e,t){this.menuItems=t?this.menuItems.concat(e):e.concat(this.menuItems)}toggleActionMenu(e,t){this.isDynamicFeed&&this.sdCardDynamicFeedConfig?this.toggleCardActionsForDynamicFeed(t):(this.isActionMenuOpen=e,e?(this.actionsMenuButtonElement=t&&t.currentTarget,this.setAriaExpanded(e),document.addEventListener("click",this.onOutsideClick),document.addEventListener("keydown",this.onKeydown)):(this.setAriaExpanded(e),this.actionsMenuButtonElement=null,document.removeEventListener("click",this.onOutsideClick),document.removeEventListener("keydown",this.onKeydown)))}setAriaExpanded(e){this.actionsMenuButtonElement&&(this.actionsMenuButtonElement.ariaExpanded=String(e))}toggleCardActionsForDynamicFeed(e){const t=this.sdCardDynamicFeedConfig;if(e&&t){const i={menuItems:(0,c.aS)(t.supportedSdCardActionMenuItems,t.poweredName,void 0,t.feedLayoutCardType,t.cardSize,t.settingsHandler),referrerButton:e.currentTarget,requestContext:new r.fH};t.sdCardActionClickHandler(i,t.feedLayoutCardType)}}getBaseActionMenuItems(){var e,t;if(!this.settingMenuConfig)return[];const i=[];if(null===(e=this.settingMenuConfig.interestSetting)||void 0===e?void 0:e.onClick){const e=this.settingMenuConfig.interestSetting;i.push({glyph:o.Z,title:e.title,id:"dislike",onClick:e.onClick,telemetryTag:e.telemetryTag})}if(null===(t=this.settingMenuConfig.dataProviderSetting)||void 0===t?void 0:t.onClick){const e=this.settingMenuConfig.dataProviderSetting;i.push({glyph:n.Z,title:e.title,id:"dataProvider",onClick:e.onClick,telemetryTag:e.telemetryTag})}if(this.settingMenuConfig.hideSetting){const e=this.settingMenuConfig.hideSetting;i.push({glyph:o.Z,title:e.title,id:"hide",onClick:e.onClick?e.onClick:()=>this.hideSettingAction(),telemetryTag:e.telemetryTag})}if(this.settingMenuConfig.moreSetting){const e=this.settingMenuConfig.moreSetting;i.push({glyph:s.Z,ariaLabel:e.ariaLabel,title:e.title,id:"more",onClick:e.onClick?e.onClick:()=>this.moreSettingAction(),telemetryTag:e.telemetryTag})}return i}}(0,a.gn)([h.LO],g.prototype,"menuItems",void 0),(0,a.gn)([h.LO],g.prototype,"isActionMenuOpen",void 0)},6551:function(e,t,i){"use strict";i.d(t,{D:function(){return r},J:function(){return s}});var a=i(53271),n=i(33763),o=i(39181);n.S;const r=(e,t,i,n,r="more-actions",s=!1)=>o.d`
        <fluent-button
            slot="${r}"
            appearance="neutral"
            class=${null!=n?n:""}
            @click=${e}
            data-t=${e=>t}
            title="${i}"
            aria-label="${i}"
            aria-expanded="${s}"
            role="button"
        >
            ${a.Z}
        </fluent-button>
    `,s=(e,t,i,a="end")=>o.d`
        <msn-actions-menu 
            :referrerButton=${t=>e}
            :menuItems=${e=>t}
            :useFastAnchoredRegion=${e=>!0!==i}
            defaultHorizontalPosition=${a}
        />
    `},53909:function(e,t,i){"use strict";i.d(t,{D3:function(){return r},KL:function(){return c},mL:function(){return g},pG:function(){return d},q3:function(){return l},vc:function(){return s},zz:function(){return h}});var a=i(12697),n=i(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 d=90,l="www.bing.com/th",c=new RegExp(/bing\.(com|net)\/th/);function h(e,t){return g(((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 g(e,t){if(e&&c.test(e))return function(e,t){try{return p(new URL(e),t).href}catch(i){const a=p(new URL(`https://${e}`),t);return`//${a.host}${a.pathname}${a.search}`}}(e,t);const{focalRegion:i,backgroundColor:n}=t;let{width:s=0,height:d=0,format:l=r.JPG}=t,h="";if(i){const e=v(i.x1,i.x2),t=v(i.y1,i.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,a.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),d=Math.round(d*e))}return`${e}?w=${s}&h=${d}&q=${t.quality||60}&m=${u}&f=${l}${h}`}function p(e,t){(0,n.P)()&&(e.hostname=`ts${u}.cn.mm.bing.net`);const{width:i=0,height:a=0}=t,o=t.quality||d,r=t.crop||1;return e.searchParams.set("w",`${i}`),e.searchParams.set("h",`${a}`),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 v(e,t){if(null!=e&&null!=t)return Math.floor((e+t)/2)}},16339:function(e,t,i){"use strict";i.d(t,{Iq:function(){return d},MD:function(){return r},gL:function(){return s}});var a=i(59049),n=i(14675);const o=new a.v("WidgetLoadTracker");function r(e){o.has(e)||("hidden"!==document.visibilityState?(0,n.c)((()=>o.set(e,!0))):o.set(e,!0))}const s=new a.v("WidgetAppState");var d;!function(e){e[e.IsDarkMode=1]="IsDarkMode",e[e.IsDashboardVisible=2]="IsDashboardVisible",e[e.ActionMenuStrings=3]="ActionMenuStrings",e[e.IsDynamicFeed=4]="IsDynamicFeed",e[e.SessionId=5]="SessionId",e[e.NonPeregrineWidgetTelemetryObject=6]="NonPeregrineWidgetTelemetryObject",e[e.FeedRegionWidgets=7]="FeedRegionWidgets",e[e.DefaultPreviewType=8]="DefaultPreviewType",e[e.IsReauthRequired=9]="IsReauthRequired"}(d||(d={}))},68651:function(e,t,i){"use strict";i.d(t,{B$:function(){return m},f3:function(){return y},US:function(){return f},aS:function(){return p},gK:function(){return b}});var a=i(38156),n=i(16339),o='<svg width="4" height="4" viewBox="0 0 4 4"><rect width="4" height="4" rx="2" fill-opacity=".9"/></svg>',r=i(19456),s=i(53813),d=i(94522),l=i(60483),c=i(64434);let h,u,g;function p(e,t,i,l,c,p){const f=[];let y=0,b=!1;if(!e||!e.length)return;const x=n.gL.get(n.Iq.ActionMenuStrings),C=e.includes(m.Unpin);return g=C?"pinned":"feed",h=i||{},u=l,e.forEach((e=>{switch(e){case m.Small:y++,h.height=146,f.push({id:"small",glyph:c===e?o:void 0,title:x.small||"Small",ariaLabel:x.small||"Small",telemetryTag:v(`size_${m.Small}`,x.small,a.wu.Customize)});break;case m.Medium:y++,h.height=304,f.push({id:"medium",glyph:c===e?o:void 0,title:x.medium||"Medium",ariaLabel:x.medium||"Medium",telemetryTag:v(`size_${m.Medium}`,x.medium,a.wu.Customize)});break;case m.Large:y++,h.height=462,f.push({id:"large",glyph:c===e?o:void 0,title:x.large||"Large",ariaLabel:x.large||"Large",telemetryTag:v(`size_${m.Large}`,x.large,a.wu.Customize)});break;case m.Pin:f.push({id:"pinCard",glyph:d.Z,title:x.pinCard||"Pin widget",ariaLabel:x.pinCard||"Pin widget",telemetryTag:v("pinwidget",x.pinCard,a.wu.Pin)});break;case m.Customize:b=!0,y>1&&f.push({isDivider:!0}),f.push({id:"customize",glyph:r.Z,title:x.customize||"Customize widget",ariaLabel:x.customize||"Customize widget",onClick:()=>p("onShowSettingsEnd"),telemetryTag:v("editwidget",x.customize,a.wu.Customize)});break;case m.Unpin:!b&&y>1&&f.push({isDivider:!0}),f.push({id:"unpinCard",glyph:'<svg width="16" height="20" viewBox="0 0 17 16" fill="none"><path d="M16 15.5c0 .14-.04.25-.14.35-.1.1-.22.15-.35.15a.49.49 0 0 1-.36-.15l-5.03-5.02-1.14 3.81a.5.5 0 0 1-.18.26.46.46 0 0 1-.3.1.48.48 0 0 1-.35-.15L5 11.7.7 16H0v-.71L4.3 11 1.15 7.85A.49.49 0 0 1 1 7.5c0-.1.03-.2.09-.27a.55.55 0 0 1 .22-.18L4.9 5.6.15.85A.48.48 0 0 1 0 .5C0 .36.05.24.15.15A.5.5 0 0 1 .5 0c.13 0 .25.05.35.15l15 15c.1.1.15.21.15.35ZM7.24 5.1l-.75-.75 1.47-3.24A1.48 1.48 0 0 1 9.89.34c.18.08.34.18.48.32L15.3 5.6c.14.14.24.3.32.5a1.49 1.49 0 0 1-.8 1.95L11.52 9.4l-.76-.77 3.66-1.53a.5.5 0 0 0 .3-.46.48.48 0 0 0-.14-.35L9.66 1.38a.46.46 0 0 0-.16-.1.45.45 0 0 0-.19-.05c-.1 0-.19.03-.27.08a.5.5 0 0 0-.18.21L7.23 5.1ZM2.39 7.68l5.87 5.87 1.06-3.53-3.66-3.65L2.4 7.68Z"/></svg>',title:x.unpinCard||"Unpin widget",ariaLabel:x.unpinCard||"Unpin widget",telemetryTag:v("unpinwidget",x.unpinCard,a.wu.Unpin)});break;case m.PoweredBy:f.push({isDivider:!0}),f.push({id:"poweredBy",isText:!0,title:t||"Powered by Microsoft",ariaLabel:t||"Powered by Microsoft"});break;case m.RemoveWidget:f.push({id:m.RemoveWidget,glyph:s.Z,title:x.hideWidget,ariaLabel:x.hideWidget,telemetryTag:v("removewidget",x.hideWidget,a.wu.Hide)})}})),f}var m;function v(e,t,i){return new l.D({name:`${u}>customization_${e}`,type:a.c9.ActionButton,action:a.Aw.Click,behavior:i,zone:g,content:{headline:t,type:a.uH.StructuredData,vertical:u,category:u},destinationUrl:location.href,ext:h}).getMetadataTag()}function f(e){switch(e){case"_1x_1y":case"half":return"small";case"_1x_3y":case"tall":return"large";default:return"medium"}}function y(e,t,i){e&&i&&t&&(t(new CustomEvent("CardResized",{detail:{cardType:i,size:"medium"}})),e.style.zIndex=c.K.Above.toString(),e.style.height="304px")}function b(e,t,i,a){e&&i&&t&&(t(new CustomEvent("CardResized",{detail:{cardType:i,size:"small"}})),!1,e.style.zIndex="",e.style.height="")}!function(e){e.Small="small",e.Medium="medium",e.Large="large",e.Customize="customize",e.Pin="pin",e.Unpin="unpin",e.PoweredBy="poweredBy",e.RemoveWidget="removeWidget"}(m||(m={}))},34491:function(e,t,i){"use strict";i.d(t,{r:function(){return r}});var a=i(6218),n=i(33390),o=i(9739);function r(e,t,i,r,s,d){return l=>{const c=(0,a.DO)(e,l),h=(0,o.Yc)(l)?-1:1,u=(0,o.Ce)(n.Cz)(c)(o.Tq)((()=>h))((0,o.iC)((0,a.DO)(t,l)))(l),g=(0,o.Ik)(e,u)(l),p=(0,a.DO)(i,l),m=(0,a.DO)(r,l),v=(0,a.DO)(s,l),f=(0,a.DO)(d,l);return function(e,t,i,a,n,r,s){const d=e+i*Math.abs(a-n),l=1===i?a<n:i*a>i*n,c=l?e:d,h=l?d:e,u=c+i*r,g=c+i*s;return{rest:(0,o.qZ)(c,t),hover:(0,o.qZ)(h,t),active:(0,o.qZ)(u,t),focus:(0,o.qZ)(g,t)}}(g,c,h,p,m,v,f)}}},17533:function(e,t,i){"use strict";i.d(t,{Qp:function(){return l},jq:function(){return d},sG:function(){return c}});var a=i(33390),n=i(8340),o=i(9739);const r=(0,n.K2)(a.MY,a.jW,a.hD,a.VQ,a.qD,a.fq,a.gs,a.IU);function s(e){return t=>{const i=(0,o.BD)(t),n=i>=r(t)?-1:1;return(0,o.qZ)(i+n*e(t),(0,a.yv)(t))}}const d=(0,n.vm)(s(a.qD)),l=(0,n.vm)(s(a.fq)),c=(0,n.vm)(s(a.gs)),h=(0,n.vm)(s(a.IU)),u=(0,n.vm)(s(a.Uy));(0,n.vm)((e=>({rest:d(e),hover:l(e),active:c(e),focus:h(e),selected:u(e)})))},89967:function(e,t,i){"use strict";i.d(t,{Gy:function(){return c},Xi:function(){return l},wF:function(){return d}});var a=i(33390),n=i(8340),o=i(9739);const r=(0,n.K2)(a.MY,a.jW,a.hD,a.VQ);function s(e){return t=>{const i=(0,o.BD)(t),n=i>=r(t)?-1:1;return(0,o.qZ)(i+n*e(t),(0,a.yv)(t))}}const d=(0,n.vm)(s(a.MY)),l=(0,n.vm)(s(a.jW)),c=(0,n.vm)(s(a.hD)),h=(0,n.vm)(s(a.VQ)),u=(0,n.vm)(s(a.y$));(0,n.vm)((e=>({rest:d(e),hover:l(e),active:c(e),focus:h(e),selected:u(e)})))},34339:function(e,t,i){"use strict";i.d(t,{Q:function(){return s}});var a=i(33390),n=i(8340),o=i(34491);function r(e){return(0,o.r)(a.yv,e,0,0,0,0)}const s=(0,n.mq)(n.lB.rest,(0,n.vm)(r(4.5)));(0,n.mq)(n.lB.rest,(0,n.vm)(r(3)))},16859:function(e,t,i){"use strict";i.d(t,{Y:function(){return d}});var a=i(32804),n=i(78125),o=i(97186),r=i(60279);const s=(0,i(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 d{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&&a.IfY.unsubscribe(t)}attach(e){const t=this.cache.get(e)||new l(this.light,this.dark,e),i=a.IfY.getValueFor(e);a.IfY.subscribe(t,e),t.attach(i),this.cache.set(e,t)}}class l{constructor(e,t,i){this.light=e,this.dark=t,this.source=i,this.attached=null}handleChange({target:e,token:t}){this.attach(t.getValueFor(e))}attach(e){const t=(i=e.toColorString(),(0,r.hM)(s(i))<=n.h.DarkMode?"dark":"light");var i;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))}}},74553:function(e,t,i){"use strict";i.d(t,{N:function(){return R}});var a=i(33940),n=i(63070),o=i(7511),r=i(65033),s=i(38247),d=i(12249),l=i(57905),c=i(89346),h=i(65620),u=i(87697);class g extends c.H{constructor(){super(...arguments),this.actionAlignment="horizontal"}actionsSlottedNodesChanged(){var e;null===(e=this.actionsSlottedNodes[0])||void 0===e||e.focus()}}(0,a.gn)([(0,h.Lj)({attribute:"align-actions"})],g.prototype,"actionAlignment",void 0),(0,a.gn)([h.Lj],g.prototype,"hideStoryTitle",void 0),(0,a.gn)([h.Lj],g.prototype,"hideStorySubtitle",void 0),(0,a.gn)([u.LO],g.prototype,"actionsSlottedNodes",void 0);var p=i(67020),m=i(40082),v=i(32804),f=i(22674),y=i(16859),b=i(18544),x=i(33442),C=i(6218),$=i(89967),w=i(17533),T=i(34339),k=i(53046),S=i(16517),_=i(64893),I=i(15933);const P=k.i`
    :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item#Undo) {
        right: 0;
    }
`,L=k.i`
    :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item#Undo) {
        left: 0;
    }
`,z=k.i`
    :host {
        --hide-story-background: ${(0,x.A4)((()=>b.dw))(C.ZP)};
        --button-color: ${(0,$.wF)((0,x.A4)((()=>b.dw)))(C.ZP)};
        --button-hover-color: ${(0,$.Xi)((0,x.A4)((()=>b.dw)))(C.ZP)};
        --stealth-button-color: ${(0,w.jq)((0,x.A4)((()=>b.dw)))(C.ZP)};
        --stealth-button-text-color: ${(0,T.Q)((0,x.A4)((()=>b.dw)))(C.ZP)};
    }

    :host(.hide-feedback.instant-hide) {
        ${(0,_.cN)(S.jG.CurrentMarket)?"--hide-story-background: linear-gradient(-90deg, #F6FAFF 2%, #F7FCFF 31.46%, #EAF6FF 97.33%);":"--hide-story-background: linear-gradient(90deg, #F6FAFF 2%, #F7FCFF 31.46%, #EAF6FF 97.33%);"}
    }
`,A=k.i`
    :host {
        --hide-story-background: ${(0,x.l$)((()=>b.m0))(C.ZP)};
        --button-color: ${(0,$.wF)((0,x.l$)((()=>b.m0)))(C.ZP)};
        --button-hover-color: ${(0,$.Xi)((0,x.l$)((()=>b.m0)))(C.ZP)};
        --stealth-button-color: ${(0,w.jq)((0,x.l$)((()=>b.m0)))(C.ZP)};
        --stealth-button-text-color: ${(0,T.Q)((0,x.l$)((()=>b.m0)))(C.ZP)};
    }
`,O=k.i`
    :host {
        forced-color-adjust: auto;
    }

    :host(.hide-feedback) ::slotted(fluent-menu-item) {
        border-color: ${I.H.ButtonText};
    }

    :host(.hide-feedback) ::slotted(fluent-menu-item:hover),
    :host(.hide-feedback) ::slotted(fluent-menu-item:focus) {
        background-color: ${I.H.Highlight};
        color: ${I.H.HighlightText};
    }

    :host(.hide-feedback) ::slotted(fluent-menu-item:focus),
    :host(.hide-feedback) ::slotted(fluent-button:focus) {
        border-color: ${I.H.ButtonText};
        box-shadow: 0 0 0 calc((var(--focus-stroke-width) - var(--stroke-width)) * 1px) ${I.H.ButtonText};
    }

    :host(.hide-feedback) ::slotted(.stealth-button:hover),
    :host(.hide-feedback) ::slotted(.stealth-button:focus) {
        color: var(--stealth-button-text-color);
    }
`,H=k.i`
        ${(0,p.j)("flex")} :host {
            --action-region-padding-top: 0;
            --content-region-padding-top: 16px;
            --content-region-width: 236px;
            box-sizing: border-box;
            flex-direction: column;
            height: 100%;
            position: relative;
            width: 100%;
        }

        :host(.hide-confirm[card-size="_1x_1y"]) .content-region {
            margin-inline: 28px;
        }

        :host(.hide-confirm[card-size="_1x_1y"]) ::slotted(fluent-button:hover),
        :host(.hide-feedback.hide-confirm[card-size="_1x_1y"]) ::slotted(fluent-button.stealth-button:hover){
            background: var(--button-hover-color);
        }

        :host(.hide-confirm[card-size="_1x_1y"]) ::slotted(fluent-button),
        :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item),
        :host(.hide-feedback.instant-hide[card-size="_1x_1y"]) ::slotted(fluent-button.stealth-button) {
            height: 24px;
            font-size: var(--type-ramp-minus-1-font-size, 12px);
            color: var(--neutral-foreground-rest);
            background: var(--button-color);
        }

        :host(.hide-feedback[card-size="_1x_1y"]) ::slotted(fluent-menu-item#Undo) {
            position: absolute;
            height: 18px;
            width: 18px;
            top: 0;
            margin-inline-end: 8px;
            margin-top: 8px;
            min-width: 18px;
        }

        :host([card-size="_1x_1y"]) .content-region {
            padding-top: 20px;
            height: 40px;
            width: 232px;
        }

        :host([card-size="_1x_1y"]) ::slotted(fluent-menu-item) {  
            height: 24px;
        }

        :host([card-size="_1x_1y"]) .action-region {
            padding-top: 10px;
            padding-bottom: 14px;
        }

        .action-region {
            display: flex;
            position: absolute;
            padding: 0 16px 16px;
            padding-top: var(--action-region-padding-top);
            justify-content: space-around;
            bottom: 0;
            width: 100%;
            box-sizing: border-box;
            align-items: center;
        }

        :host([align-actions="vertical"]) .action-region {
            display: block;
            margin: auto;
            position: static;
        }

        .content-region {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            padding: 16px 16px 0 16px;
            padding-top: var(--content-region-padding-top);
            cursor: default;
        }

        :host([align-actions="vertical"]) .content-region {
            display: block;
            margin: auto;
            text-align: center;
            width: var(--content-region-width);
        }

        .heading,
        ::slotted(.heading) {
            text-decoration: none;
            color: ${v.CHi};
            font-size: var(--heading-font-size, ${v.PwC});
            line-height: var(--heading-line-height, ${v.b3W});
            font-weight: 600;
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: var(--heading-max-lines, 2);
        }

        .subheading {
            font-size: var(--subheading-font-size, ${v.cSu});
            line-height: var(--subheading-line-height, ${v.RUt});
            color: var(--stealth-button-text-color);
            display: -webkit-box;
            overflow: hidden;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: var(--heading-max-lines, 2);
        }

        ::slotted(fluent-button) {
            margin-bottom: 8px;
            width: 48%;
        }

        :host(.hide-feedback) {
            background: var(--hide-story-background);
        }

        :host(.hide-feedback) ::slotted(fluent-menu-item),
        :host(.hide-confirm) ::slotted(fluent-button) {
            background: var(--button-color);
            border: calc(var(--stroke-width) * 1px) solid transparent;
        }

        :host(.hide-feedback) ::slotted(.stealth-button) {
            background: var(--stealth-button-color);
            color: var(--stealth-button-text-color);
        }

        :host(.hide-feedback.instant-hide) ::slotted(.stealth-button) {
            background: transparent;
        }

        :host(.hide-feedback) ::slotted(fluent-menu-item:hover),
        :host(.hide-confirm) ::slotted(fluent-button:hover),
        :host(.hide-feedback.hide-confirm) ::slotted(.stealth-button:hover) {
            background: var(--button-hover-color);
        }

        :host(.hide-feedback) ::slotted(fluent-menu-item:focus),
        :host(.hide-feedback) ::slotted(fluent-button:focus) {
            border: calc(var(--stroke-width) * 1px) solid var(--focus-stroke-outer);
            box-shadow: 0 0 0 calc((var(--focus-stroke-width) - var(--stroke-width)) * 1px) var(--focus-stroke-outer);
        }

        :host(.hide-feedback) ::slotted(.stealth-button:hover),
        :host(.hide-feedback) ::slotted(.stealth-button:focus) {
            background: var(--stealth-button-color);
        }
    `.withBehaviors(new f.O(P,L),(0,m.vF)(O),new y.Y(z,A));var E=i(39181),F=i(13988),M=i(90960),D=i(74009);const B=E.d`
    <div class="content-region" part="content-region">
        <slot name="heading">
            <span class="heading" part="heading">${e=>e.hideStoryTitle}</span>
        </slot>
        ${(0,F.g)((e=>e.hideStorySubtitle),E.d`
            <span class="subheading" part="subheading">${e=>e.hideStorySubtitle}</span>
        `)}
    </div>
    <div class="action-region" part="action-region">
        <slot name="actions" ${(0,M.Q)({property:"actionsSlottedNodes",filter:(0,D.R)("fluent-radio, fluent-button, fluent-anchor, fluent-menu-item")})}></slot>
    </div>
`;let R=class extends g{};R=(0,a.gn)([(0,c.M)({name:"msn-hide-story-card",template:B,styles:H,shadowOptions:{delegatesFocus:!0}})],R),(0,n.z)().withShadowRootMode("closed").withElementDisambiguation((()=>l.h.ignoreDuplicate)).register((0,o.hb)(),(0,r.d$)(),(0,s.QT)(),(0,d.H5)())},53212:function(e,t,i){"use strict";i.d(t,{lq:function(){return x}});var a=i(33940),n=i(67479),o=i(12968),r=i(36159),s=i(18769),d=i(18536),l=i(21616),c=i(16517),h=i(91254),u=i(33294),g=i(81183);const p="ClickedBeaconAttached",m="ViewedBeaconAttached",v="UserActionBeaconAttached",f=new WeakSet;class y extends n.m0{constructor(e,t=!0,i=!0,a=!1){super(),this.binding=e,this.shouldCallClickBeacon=t,this.shouldCallVisibilityBeacon=i,this.shouldWatchCustomEvent=a}createBehavior(e){return new b(e,this.binding,this.shouldCallClickBeacon,this.shouldCallVisibilityBeacon,this.shouldWatchCustomEvent)}createPlaceholder(e){return o.SO.createCustomAttributePlaceholder("ad-beacon",e)}}class b{constructor(e,t,i=!0,a=!0,n=!1,o=!1){var s,h;this.target=e,this.binding=t,this.shouldCallClickBeacon=i,this.shouldCallVisibilityBeacon=a,this.shouldWatchCustomEvent=n,this.isClarityEnabled=o,this.beaconService=null,this.nativeAdBeaconsSetAttribute="nab",this.adsFlights="",this.onClick=(e,t)=>i=>{var a,n;if(i.target===i.currentTarget)return this.fireClickedBeacon(),void this.handleClickUserAction(i);if(!this.isTelemetryWc(i.currentTarget))return;const o=this.getImmediateChildFromTelemetryWc(i.currentTarget);i.target===o&&(i.currentTarget.clickedBeacon&&(this.fireTelemetryWcClickedBeacon(i),null===(n=(a=this.userActionLog).fireClickLog)||void 0===n||n.call(a,e,t,i)),i.currentTarget.clickedUserAction&&this.handleClickUserAction(i),i.currentTarget.clickedTelemetry&&this.handleClickTelemetry(i))},this.fireTelemetryWcClickedBeacon=e=>{const t=e.composedPath();let i=!1;for(let a=t.length-1;a>=0;a--)if(e.currentTarget!==t[a]){if(i&&this.isTelemetryWc(t[a]))return}else i=!0;this.fireClickedBeacon()},this.fireClickedBeacon=()=>{this.beaconService.fireClickTrackingCall(this.clickBeacons,this.beaconsJson),this.isClarityEnabled&&g.V.writeCustomTag("NativeAdHasBeenClicked",!0)},this.getImmediateChildFromTelemetryWc=e=>{if(this.isTelemetryWc(e)&&e.children.length>0)return e.children[0]},this.getUserActionBeacons=e=>{const t=JSON.parse(e),i=t&&t.trb;if(this.userActionBeacons=new Array,i)for(let e=0;e<i.length;e++)if(i[e].includes("srtb.msn.com")){const t=new URL(i[e]);t.pathname=t.pathname.replace("served","useraction"),this.userActionBeacons.push(t)}},this.onUserActionEvt=e=>{e.stopPropagation();const{eventType:t,dur:i,message:a,element:n}=e.detail;this.onUserActionCore(t,i,a,n)},this.onUserActionCore=(e,t,i,a)=>{if(this.userActionBeacons)for(let n=0;n<this.userActionBeacons.length;n++){for(const e of Object.values(r.Cw))this.userActionBeacons[n].searchParams.delete(e);if(e){this.userActionBeacons[n].searchParams.set(r.Cw.EventType,e),this.userActionBeacons[n].searchParams.set(r.Cw.Timestamp,(this.start?(new Date).getTime()-this.start:0).toString()),this.userActionBeacons[n].searchParams.set(r.Cw.Duration,t||0);const o={m:i,f:this.adsFlights};this.userActionBeacons[n].searchParams.set(r.Cw.Message,JSON.stringify(o)),this.userActionBeacons[n].searchParams.set(r.Cw.Element,a||"")}this.beaconService.fireUserActionBeacon(this.userActionBeacons[n].href)}},this.isTelemetryWc=e=>e.tagName&&"msn-native-ad-telemetry"===e.tagName.toLowerCase(),this.handleClickUserAction=e=>{var t,i,a;const n=this.getClickTarget(e),o=[];(null===(t=null==n?void 0:n.tagName)||void 0===t?void 0:t.toLowerCase)&&o.push(null==n?void 0:n.tagName.toLowerCase()),(null===(i=null==n?void 0:n.className)||void 0===i?void 0:i.toLowerCase)&&o.push(null==n?void 0:n.className.toLowerCase()),(null===(a=null==n?void 0:n.id)||void 0===a?void 0:a.toLowerCase)&&o.push(null==n?void 0:n.id.toLowerCase())},this.handleClickTelemetry=e=>{const t=this.getClickTarget(e);e.currentTarget.dataset.t&&(t.dataset.t=e.currentTarget.dataset.t,delete e.currentTarget.dataset.t,d.u.addElement(t))},this.getBindingSource=e=>{var t;return e instanceof HTMLElement?["native-ad-wc","msn-native-ad-title-mask"].includes(null===(t=null==e?void 0:e.tagName)||void 0===t?void 0:t.toLocaleLowerCase())?e.adData:e.data:e},Array.isArray(null===(s=null===c.jG||void 0===c.jG?void 0:c.jG.CurrentRequestTargetScope)||void 0===s?void 0:s.pageExperiments)&&(this.adsFlights=(0,u.Z)(l.N,null===(h=null===c.jG||void 0===c.jG?void 0:c.jG.CurrentRequestTargetScope)||void 0===h?void 0:h.pageExperiments).join(";"))}bind(e,t){const i=this.getBindingSource(e),{beaconsJson:a,adBeaconServiceConfig:n,clickBeacons:o,geminiViewabilityDataJson:r,bingTrackerUrls:d,items:l,videoViewabilityData:c,isClarityEnabled:h}=this.binding?this.binding(i,t):i;if(a&&o&&(this.start=(new Date).getTime(),this.isClarityEnabled=h,this.beaconsJson=a,this.clickBeacons=o,this.geminiViewabilityDataJson=r,this.beaconService=new s.A(n),this.shouldCallClickBeacon&&(this.target.addEventListener("click",this.onClick(e,t)),this.target[p]=!0),this.shouldWatchCustomEvent&&(this.getUserActionBeacons(a),this.target.addEventListener("NativeAdUserAction",this.onUserActionEvt),this.target[v]=!0),this.shouldCallVisibilityBeacon)){if(c){if(f.has(this.target))return;f.add(this.target)}this.beaconService.elementVisibilityObserver(this.target,a,r,l&&l[0]?l[0].uniqueId:void 0,d,c,e,t),this.target[m]=!0}}unbind(){}getClickTarget(e){if("adChoice"===e.currentTarget.telemetryMetadata&&e.composedPath&&"function"==typeof e.composedPath){const t=e.composedPath();for(let e=0;e<t.length;++e){const i=t[e];if(i.tagName&&"a"===i.tagName.toLowerCase()&&"native-ad-ad-choice"===i.className.toLowerCase())return i}}if(!e.composedPath||"function"!=typeof e.composedPath)return e.target;{const t=e.composedPath();if(t.length>0)return t[0]}}}function x(e=!0,t=!0,i=!1,a){return new y(a,e,t,i)}(0,a.gn)([(0,h.f3)(r.Km)],b.prototype,"userActionLog",void 0)},81183:function(e,t,i){"use strict";i.d(t,{V:function(){return n}});const a={adCarousel:"NativeAdCarouselEnabled",allowedAssets:"NativeAdAllowedAssets",animatedImage:"NativeAdAnimatedImageType",landscapeOverlay:"NativeAdLandscapeOverlayEnabled",progressiveDisplay:"NativeAdProgressiveDisplayEnabled",templateType:"NativeAdTemplateType"},n=new class{constructor(){this.loggedTags={}}writeCustomTag(e,t){if(window.clarity&&null!=t){const i=t.toString();this.loggedTags[e]&&this.loggedTags[e][i]||(window.clarity("set",e,i),this.loggedTags[e]=this.loggedTags[e]||{},this.loggedTags[e][i]=!0)}}logAdTemplateConfig(e){e&&Object.keys(a).forEach((t=>{this.writeCustomTag(a[t],e[t])}))}}},6932:function(e,t,i){"use strict";i.d(t,{K:function(){return a}});const a=i(53046).i`
`},12576:function(e,t,i){"use strict";i.d(t,{g:function(){return o}});var a=i(39181),n=i(13988);const o=a.d` ${(0,n.g)((e=>e.attribution),a.d`<cs-attribution slot="attribution"><span class="ad-attribution" style="unicode-bidi: embed;">${e=>e.attribution}</span></cs-attribution>`)}`},6359:function(e,t,i){"use strict";i.d(t,{i:function(){return n}});var a=i(32804);const n=i(53046).i` .ad-choice{margin-inline-start:10px}.ad-footer{align-items:center;display:flex;flex-direction:row}.disclaimer{cursor:pointer;margin-inline-end:2px}.disclaimer .container{display:none}.disclaimer .popup-arrow{bottom:36px;position:absolute}.disclaimer .popup-offset{background:${a.IfY};
        border-radius: 2px;
        bottom: 48px;
        color: ${a.CHi};
        font-size: ${a.sNp};margin-inline:-120px;max-width:152px;max-height:48px;padding:8px;position:absolute;width:152px;z-index:1}.disclaimer .popup-text{display:-webkit-box;overflow:hidden;white-space:normal;text-align:center;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical}.disclaimer path{fill:${a.CHi}}.disclaimer rect{fill:${a.IfY}}.disclaimer:hover .container{display:block}`},51701:function(e,t,i){"use strict";i.d(t,{z:function(){return c}});var a=i(39181),n=i(13988),o=i(62449),r=i(53212);const s=a.d`<svg width="15" height="15" viewBox="0 0 15 15" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.5 15C6.80729 15 6.14323 14.9115 5.50781 14.7344C4.8724 14.5573 4.27344 14.3073 3.71094 13.9844C3.14844 13.6615 2.64323 13.2708 2.19531 12.8125C1.7474 12.3542 1.35677 11.8464 1.02344 11.2891C0.690104 10.7318 0.4375 10.1354 0.265625 9.5C0.09375 8.86458 0.00520833 8.19792 0 7.5C0 6.80729 0.0885417 6.14323 0.265625 5.50781C0.442708 4.8724 0.692708 4.27344 1.01562 3.71094C1.33854 3.14844 1.72917 2.64323 2.1875 2.19531C2.64583 1.7474 3.15365 1.35677 3.71094 1.02344C4.26823 0.690104 4.86458 0.4375 5.5 0.265625C6.13542 0.09375 6.80208 0.00520833 7.5 0C8.19271 0 8.85677 0.0885417 9.49219 0.265625C10.1276 0.442708 10.7266 0.692708 11.2891 1.01562C11.8516 1.33854 12.3568 1.72917 12.8047 2.1875C13.2526 2.64583 13.6432 3.15365 13.9766 3.71094C14.3099 4.26823 14.5625 4.86458 14.7344 5.5C14.9062 6.13542 14.9948 6.80208 15 7.5C15 8.19271 14.9115 8.85677 14.7344 9.49219C14.5573 10.1276 14.3073 10.7266 13.9844 11.2891C13.6615 11.8516 13.2708 12.3568 12.8125 12.8047C12.3542 13.2526 11.8464 13.6432 11.2891 13.9766C10.7318 14.3099 10.1354 14.5625 9.5 14.7344C8.86458 14.9062 8.19792 14.9948 7.5 15ZM7.5 1C6.90104 1 6.32552 1.07812 5.77344 1.23438C5.22135 1.39062 4.70573 1.60938 4.22656 1.89062C3.7474 2.17188 3.30729 2.51042 2.90625 2.90625C2.50521 3.30208 2.16667 3.73958 1.89062 4.21875C1.61458 4.69792 1.39583 5.21615 1.23438 5.77344C1.07292 6.33073 0.994792 6.90625 1 7.5C1 8.09375 1.07812 8.66667 1.23438 9.21875C1.39062 9.77083 1.60938 10.2891 1.89062 10.7734C2.17188 11.2578 2.51042 11.6979 2.90625 12.0938C3.30208 12.4896 3.73958 12.8281 4.21875 13.1094C4.69792 13.3906 5.21615 13.6094 5.77344 13.7656C6.33073 13.9219 6.90625 14 7.5 14C8.09375 14 8.66667 13.9219 9.21875 13.7656C9.77083 13.6094 10.2891 13.3906 10.7734 13.1094C11.2578 12.8281 11.6979 12.4896 12.0938 12.0938C12.4896 11.6979 12.8281 11.2604 13.1094 10.7812C13.3906 10.3021 13.6094 9.78385 13.7656 9.22656C13.9219 8.66927 14 8.09375 14 7.5C14 6.90625 13.9219 6.33333 13.7656 5.78125C13.6094 5.22917 13.3906 4.71094 13.1094 4.22656C12.8281 3.74219 12.4896 3.30208 12.0938 2.90625C11.6979 2.51042 11.2604 2.17188 10.7812 1.89062C10.3021 1.60938 9.78385 1.39062 9.22656 1.23438C8.66927 1.07812 8.09375 1 7.5 1ZM7 6H8V11H7V6ZM7 4H8V5H7V4Z"/></svg>`,d=a.d`<svg width="15" height="15" viewBox="0 0 23 24" fill="none" xmlns="http://www.w3.org/2000/svg"><rect y="12" width="16" height="16" transform="rotate(-45 0 12)"/></svg>`,l=a.d`<div class="container"><div class="popup"><div class="popup-offset"><span class="popup-text">${e=>e.assets&&e.assets.disclaimer}</span></div><div class="popup-arrow">${d}</div></div></div>`,c=a.d`<div class="ad-footer" slot="footer-end">${(0,n.g)((e=>e.assets&&e.assets.disclaimer),a.d`<a class="disclaimer" href="${e=>e.destinationUrl}" target="${o.P._blank}" title="${e=>e.localizedStrings&&e.localizedStrings.nativeAdDisclaimerText}" ${(0,r.lq)(!0,!1)} data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.destination)||void 0===i?void 0:i.getMetadataTag()}}">${s} ${l}</a>`)} ${(0,n.g)((e=>{var t;return!(null===(t=e.template)||void 0===t?void 0:t.enableNewAdChoice)}),a.d`<a class="ad-choice" href="${e=>e.privacyUrl}" target="${o.P._blank}" title="${e=>e.localizedStrings&&e.localizedStrings.nativeAdAdChoiceText}" data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.adChoice)||void 0===i?void 0:i.getMetadataTag()}}"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.3845 -1.21037e-07C2.22828 -1.94803e-07 2.819 0.40029 3.40971 0.719747C3.91584 0.959663 4.42266 1.27977 5.01337 1.51968C7.71388 2.87964 10.4144 4.31978 13.1142 5.75992C13.958 6.16021 15.0548 6.55986 15.6455 7.28025C15.814 7.52017 16.0678 7.84027 15.9832 8.24056C15.7301 9.12068 14.5487 9.44079 13.7895 9.84043C11.9328 10.8007 9.99215 11.8406 8.13543 12.8003C7.46013 13.2005 6.44787 13.9203 5.60409 13.3603C5.26644 13.2005 5.09795 13.0402 5.01337 12.8003C4.92879 12.4802 5.01337 12.0805 5.01337 11.7604L5.01337 9.20023C5.01337 8.48048 4.92879 7.92046 5.4356 7.60035C5.60409 7.52017 5.94173 7.44063 6.1948 7.52017C7.03858 7.84027 6.78552 9.28041 6.78552 10.4005L6.78552 11.2799C8.22001 10.5602 9.6545 9.83979 11.089 9.20022C11.5951 8.96031 12.4389 8.72039 12.6081 8.08019C12.7766 7.36044 11.1736 6.80042 10.6675 6.55986L4.84489 3.43966C4.42266 3.19974 3.32581 2.3998 2.6512 2.63972C2.39813 2.71991 2.22897 2.95982 2.22897 3.11955C2.14438 3.43966 2.14438 3.91949 2.14438 4.31978L2.14438 6.87996L2.14438 11.1997C2.14438 11.8399 2.0598 12.6399 2.31287 13.0395C2.90358 13.8395 4.25349 12.3993 4.67572 13.6797C4.76031 13.9998 4.59114 14.3199 4.42266 14.4797C4.08501 14.9601 2.56593 15.6799 1.97522 15.8403C1.80674 15.9198 1.3845 16 1.13144 16C-0.303057 15.7601 0.0345918 13.6002 0.0345916 11.9997L0.0345909 4.07986C0.0345908 2.87964 -0.133892 1.27977 0.372239 0.560019C0.625305 0.159727 0.878371 0.159728 1.3845 -1.21037e-07ZM5.77257 5.1999C7.03858 5.1999 7.12248 6.72023 5.94105 6.96015C5.26576 7.04034 4.75962 6.40013 4.92811 5.84011C5.09727 5.43982 5.35034 5.35963 5.77257 5.1999Z" fill="#00AECD"></path></svg></a>`)}<div>`},84548:function(e,t,i){"use strict";i.d(t,{s:function(){return o}});var a=i(64799),n=i(32804);const o=i(53046).i` .ad-slug{align-items:center;color:${n.CHi};
        display: flex;
        flex-direction: row;
        line-height: ${n.vgC};
        max-width: calc(${a.$f} * 1px - 100px);opacity:0.8;overflow:hidden}.ad-slug .ad-label{align-items:center;border:0.5px solid rgba(26,26,26,.3);border-radius:4px;box-sizing:border-box;font-size:11px;height:16px;margin-inline-end:6px;min-width:22px;padding:0px 4px 1px}.ad-slug .ad-label-text{color:inherit;outline:none;pointer-events:auto;position:relative;text-decoration:none;top:-1px}.ad-slug .ad-provider{flex:4;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.ad-slug .ad-provider-text{color:inherit;font-size:${n.sNp};text-decoration:none;text-overflow:ellipsis;vertical-align:bottom}[size="_2x_2y"] .ad-slug{max-width:calc(${a.$f} * 2px - 100px)}@media (prefers-color-scheme:dark){.ad-slug .ad-label{border:0.5px solid rgba(255,255,255,.3);opacity:0.9}}`},47497:function(e,t,i){"use strict";i.d(t,{K:function(){return s}});var a=i(39181),n=i(13988),o=i(62449),r=i(53212);const s=a.d`<div class="ad-slug" slot="footer-start">${(0,n.g)((e=>e.showAdLabel),a.d`<div class="ad-label"><a class="ad-label-text" href="${e=>e.privacyUrl}" target="${o.P._blank}" title="${e=>e.localizedStrings&&e.localizedStrings.nativeAdAdLabelText}" data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.adLabel)||void 0===i?void 0:i.getMetadataTag()}}">${e=>e.adLabelText}</a></div>`)}<div class="ad-provider"><a class="ad-provider-text" href="${e=>e.destinationUrl}" target="${o.P._blank}" title="${e=>e.providerName}" ${(0,r.lq)(!0,!1)} data-t="${e=>{var t,i;return null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.destination)||void 0===i?void 0:i.getMetadataTag()}}">${e=>e.providerName}</a></div></div>`},90768:function(e,t,i){"use strict";i.d(t,{b:function(){return a}});const a=i(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,i){"use strict";i.d(t,{Q:function(){return d}});var a=i(39181),n=i(13988),o=i(76859),r=i(16517),s=i(82128);const d=a.d`<div class="card-action" slot="footer-start">${(0,n.g)((e=>!e.optedOutOfReactions&&e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.instanceId),a.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,i){"use strict";i.d(t,{T:function(){return n}});var a=i(32804);const n=i(53046).i`
[size="_2x_2y"] [media-type="image"] cs-attribution{color:#FFFFFF}cs-attribution svg{fill:${a.CHi};margin:0px 2px;vertical-align:bottom}cs-attribution img.svgLogo{margin-inline-end:calc(${a._5n} * 1px);
}
`},77691:function(e,t,i){"use strict";i.d(t,{Q:function(){return c}});var a=i(76859),n=i(37429),o=i(39181),r=i(13988),s=i(16446),d=i.n(s);function l(e,t){return e.providerData?t.size==a.Nv._2x_2y?e.providerData.immersiveCardSvgLogo:e.providerData.svgLogo:void 0}const c=o.d`<cs-attribution slot="attribution">${(0,r.g)(((e,t)=>l(e,t.parent)),o.d`<img slot="image" class="${e=>e.isWebContent?"":"svgLogo"}" width="${(e,t)=>l(e,t.parent).width}" height="${(e,t)=>l(e,t.parent).height}" src="${(e,t)=>l(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)=>!l(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`${d()}`)} ${(0,r.g)(((e,t)=>{return i=e,a=t.parent,(l(i,a)||i.providerData&&i.providerData.name)&&i.publishedDateTime;var i,a}),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,i){"use strict";i.d(t,{j:function(){return n}});var a=i(32804);const n=i(53046).i` .content-badge{align-items:center;background:${a._Bj};
        border-radius: 6px;
        color: ${a.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:${a.CHi};
        stroke: ${a.CHi}}.label-container{font-family:${a.SVJ};
        font-size: ${a.sNp};
        height: 16px;
        line-height: ${a.vgC};overflow:hidden;white-space:nowrap}.icon-container{display:flex}`},77864:function(e,t,i){"use strict";i.d(t,{j:function(){return u}});var a=i(39181),n=i(13988),o=i(39725),r=i(79844),s=i(36764),d=i.n(s),l=i(80709),c=i(27035),h=i(90652);const u=a.d` ${(0,n.g)((e=>e.badge),a.d`<div class="content-badge" slot="footer-end"><span class="icon-container" aria-hidden="true">${e=>function(e){switch(e.toLowerCase()){case"trending":return a.d`<slot name="icon">${c.Z}</slot>`;case"hot":return a.d`<slot name="icon">${o.Z}</slot>`;case"views":return a.d`<slot name="icon">${h.Z}</slot>`;case"local":return a.d`<slot name="icon">${r.Z}</slot>`;case"explicitlike":return a.d`<slot name="icon">${l.Z}</slot>`;case"followed":case"followedtopic":case"followedpublisher":return a.d`<slot name="icon">${d()}</slot>`;default:return""}}(e.badge.type)||""}</span><span class="label-container">${e=>e.badge.localizedLabel||e.badge.value||""}</span></div>`)}`},58474:function(e,t,i){"use strict";i.d(t,{_:function(){return a}});const a=i(53046).i` .card-hide{height:32px;margin-top:-8px;width:32px}`},31464:function(e,t,i){"use strict";i.d(t,{T:function(){return n}});var a=i(74045);const n=i(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^a.O7.hide,"Hide",!0,null,null,null,t.event)} @keypress=${e=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus^a.O7.hide,"Hide",!0)} data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.hide)||void 0===i?void 0:i.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>`},1057:function(e,t,i){"use strict";i.d(t,{W:function(){return n}});var a=i(9339);const n=i(53046).i`
    ${a.V}
`},9339:function(e,t,i){"use strict";i.d(t,{V:function(){return a}});const a=i(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,i){"use strict";i.d(t,{j:function(){return n}});var a=i(82479);const n=i(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,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.seeMore)||void 0===i?void 0:i.getMetadataTag()}}">${a.Z}</button>`},61521:function(e,t,i){"use strict";i.d(t,{D:function(){return a}});const a=i(53046).i`
`},31540:function(e,t,i){"use strict";i.d(t,{o:function(){return a}});const a=i(39181).d`<span class="card-title">${e=>e.title}</span>`},48501:function(e,t,i){"use strict";i.d(t,{$l:function(){return $}});var a=i(32804),n=i(95201),o=i(53046),r=i(40082);const s=o.i`
.articleContent:hover{background:rgba(255,255,255,0.06)}`,d=o.i`
.articleContent{border-radius:8px;color:${a.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:${a.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 l=i(39181),c=i(13988),h=i(18864),u=i(62449),g=i(77691);const p=l.d`<div class="articleImageContainer"><img class="articleImage" src=${(e,t)=>e.imageData?t.parent.getScaledListItemImage(e.imageData.source):""}></div>`,m=l.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,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.destination)||void 0===i?void 0:i.getMetadataTag()}}"><div class=${e=>e.imageData?"articleHeadingInfo":"articleHeadingInfo articleHeading-noImage"}>${e=>g.Q}<span class="articleTitle">${e=>e.title}</span></div>${(0,c.g)((e=>e.imageData),p)}</a>`,v=l.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),l.d` ${(0,h.rx)((e=>e.contentList),m,{positioning:!0})} `)}</div>`;var f=i(33940),y=i(65620),b=i(48839),x=i(53909);class C extends b.I{getScaledListItemImage(e){return(0,x.mL)(e,{width:100,height:100,enableDpiScaling:!1})}}(0,f.gn)([y.Lj],C.prototype,"contentList",void 0),(0,f.gn)([y.Lj],C.prototype,"listContainerTelemetry",void 0);const $=C.compose({baseName:"sd-super-list",styles:d,template:v})},57719:function(e,t,i){"use strict";i.d(t,{m:function(){return d}});var a=i(37429),n=i(39181),o=i(13988),r=i(18864),s=i(62449);const d=(e,t)=>{var i,a,d,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,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.contentCard)||void 0===i?void 0:i.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=>l(e)}" @error="${e=>l(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!==(i=t.title)&&void 0!==i?i:""} ${t.attribution instanceof Function?t.attribution(e,t):null!==(a=t.attribution)&&void 0!==a?a:""} ${(0,o.g)((e=>!e.hideActionTray),n.d`${t.footerStart instanceof Function?t.footerStart(e,t):null!==(d=t.footerStart)&&void 0!==d?d:""}`)} ${(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 l(e){e&&e.visualReadinessCallback?e.visualReadinessCallback(a.u.ALL,a.w.image):e&&e.imageData&&e.imageData.visualReadinessCallback&&e.imageData.visualReadinessCallback(a.u.ALL,a.w.image)}},70492:function(e,t,i){"use strict";i.d(t,{P:function(){return v}});var a=i(77691),n=i(65468),o=i(77864),r=i(31464),s=i(85078),d=i(31540),l=i(43552),c=i(39181),h=i(99393),u=i(53046),g=i(32804);const p=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:${g.PwC};
        line-height: ${g.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=i(57719);const v=l.T.compose({baseName:"article-card-digest",styles:(e,t)=>u.i`
    ${(0,h.e)(e,t)}
    ${p}
`,template:m.m,attribution:c.d`${a.Q}`,footerStart:c.d`${n.Q}`,footerEnd:c.d`${o.j}`,hideStory:c.d`${r.T}${s.j}`,title:c.d`${d.o}`})},41384:function(e,t,i){"use strict";i.d(t,{E:function(){return x}});var a=i(57905),n=i(77691),o=i(65468),r=i(77864),s=i(85078),d=i(31540),l=i(43552),c=i(39181),h=i(99393),u=i(53046),g=i(1057);var p=i(57719);const m=l.T.compose({baseName:"article-card-no-hide-story",styles:(e,t)=>u.i`
    ${(0,h.e)(e,t)}
    ${g.W}
`,template:p.m,attribution:c.d`${n.Q}`,footerStart:c.d`${o.Q}`,footerEnd:c.d`${r.j}`,hideStory:c.d`${s.j}`,title:c.d`${d.o}`});var v=i(42208),f=i(38880),y=i(68714),b=i(77615);const x=()=>{(0,b.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,v.Gp)(),(0,f.u0)(),(0,y.$j)(),m())}},43552:function(e,t,i){"use strict";i.d(t,{T:function(){return s}});var a=i(33940),n=i(87697),o=i(39432);class r extends o.u{}(0,a.gn)([n.LO],r.prototype,"data",void 0);class s extends r{dataChanged(){return(0,a.mG)(this,void 0,void 0,(function*(){if(!this.data.optedOutOfReactions||this.optOutReactionTemplate)return;const e=yield i.e("web-components_super-cards_dist_cards_sub-components_card-action-tray_OptedOutReactionTemplate_js").then(i.bind(i,50687));this.optOutReactionTemplate=e&&e.OptedOutReactionTemplate}))}}(0,a.gn)([n.LO],s.prototype,"optOutReactionTemplate",void 0)},99393:function(e,t,i){"use strict";i.d(t,{Z:function(){return u},e:function(){return g}});var a=i(90768),n=i(38956),o=i(74983),r=i(58474),s=i(9339),d=i(61521),l=i(53046),c=i(64799),h=i(32804);const u=l.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}`,g=(e,t)=>l.i`
    ${a.b}
    ${n.T}
    ${o.j}
    ${r._}
    ${s.V}
    ${d.D}
    ${u}
`},16206:function(e,t,i){"use strict";i.d(t,{V:function(){return b}});var a=i(57905),n=i(77691),o=i(65468),r=i(77864),s=i(31464),d=i(85078),l=i(31540),c=i(43552),h=i(39181),u=i(99393),g=i(57719);const p=c.T.compose({baseName:"article-card",styles:u.e,template:g.m,attribution:h.d`${n.Q}`,footerStart:h.d`${o.Q}`,footerEnd:h.d`${r.j}`,hideStory:h.d`${s.T}${d.j}`,title:h.d`${l.o}`});var m=i(42208),v=i(38880),f=i(68714),y=i(77615);const b=()=>{(0,y.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,m.Gp)(),(0,v.u0)(),(0,f.$j)(),p())}},21406:function(e,t,i){"use strict";i.d(t,{y:function(){return W}});var a,n=i(57905),o=i(33940),r=i(49176),s=i(53046);!function(e){e[e.alt=18]="alt",e[e.arrowDown=40]="arrowDown",e[e.arrowLeft=37]="arrowLeft",e[e.arrowRight=39]="arrowRight",e[e.arrowUp=38]="arrowUp",e[e.back=8]="back",e[e.backSlash=220]="backSlash",e[e.break=19]="break",e[e.capsLock=20]="capsLock",e[e.closeBracket=221]="closeBracket",e[e.colon=186]="colon",e[e.colon2=59]="colon2",e[e.comma=188]="comma",e[e.ctrl=17]="ctrl",e[e.delete=46]="delete",e[e.end=35]="end",e[e.enter=13]="enter",e[e.equals=187]="equals",e[e.equals2=61]="equals2",e[e.equals3=107]="equals3",e[e.escape=27]="escape",e[e.forwardSlash=191]="forwardSlash",e[e.function1=112]="function1",e[e.function10=121]="function10",e[e.function11=122]="function11",e[e.function12=123]="function12",e[e.function2=113]="function2",e[e.function3=114]="function3",e[e.function4=115]="function4",e[e.function5=116]="function5",e[e.function6=117]="function6",e[e.function7=118]="function7",e[e.function8=119]="function8",e[e.function9=120]="function9",e[e.home=36]="home",e[e.insert=45]="insert",e[e.menu=93]="menu",e[e.minus=189]="minus",e[e.minus2=109]="minus2",e[e.numLock=144]="numLock",e[e.numPad0=96]="numPad0",e[e.numPad1=97]="numPad1",e[e.numPad2=98]="numPad2",e[e.numPad3=99]="numPad3",e[e.numPad4=100]="numPad4",e[e.numPad5=101]="numPad5",e[e.numPad6=102]="numPad6",e[e.numPad7=103]="numPad7",e[e.numPad8=104]="numPad8",e[e.numPad9=105]="numPad9",e[e.numPadDivide=111]="numPadDivide",e[e.numPadDot=110]="numPadDot",e[e.numPadMinus=109]="numPadMinus",e[e.numPadMultiply=106]="numPadMultiply",e[e.numPadPlus=107]="numPadPlus",e[e.openBracket=219]="openBracket",e[e.pageDown=34]="pageDown",e[e.pageUp=33]="pageUp",e[e.period=190]="period",e[e.print=44]="print",e[e.quote=222]="quote",e[e.scrollLock=145]="scrollLock",e[e.shift=16]="shift",e[e.space=32]="space",e[e.tab=9]="tab",e[e.tilde=192]="tilde",e[e.windowsLeft=91]="windowsLeft",e[e.windowsOpera=219]="windowsOpera",e[e.windowsRight=92]="windowsRight"}(a||(a={}));const d="ArrowLeft",l="ArrowRight";var c=i(65620),h=i(87697);class u extends r.m{constructor(){super(...arguments),this.duration=3,this.hasSlideShow=!0,this.hasMediaControls=this.hasSlideShow,this.tabCount=5,this.disableHoverPause=!1,this.tabs=[],this.tabpanels=[],this.activeindicator=!1,this.hasNavigation=!1,this.navigationPosition="top",this.hoverSuspended=!1,this.play=!0}durationChanged(e,t){this.$fastController.addStyles(s.i`
                .playing div.tab[aria-selected="true"] div {
                    animation: loading ${t}s linear;
                }
            `),this.playChanged(!this.play,this.play)}tabCountChanged(){this.activeid&&this.activeidChanged("0",this.activeid)}hasSlideShowChanged(){this.playChanged(!this.play,this.play)}diabledHoverPauseChanged(){this.hoverSuspended=this.disableHoverPause}activeIndexChanged(e,t){this.tabs&&this.activeid&&null!==this.activeIndex&&void 0!==this.activeIndex&&(this.activeid=this.tabs[Math.min(Math.max(0,this.activeIndex),this.tabs.length-1)].id)}tabsChanged(){super.tabsChanged(),this.tabs.length>0&&(this.tabs.forEach((e=>e._focus=e.focus)),this.setTabClasses(-1,0),this.activeid=this.activeid??this.tabs[0]?.id,this.activeIndexChanged(-1,this.activeIndex))}tabpanelsChanged(e,t=[]){t&&t.length&&!t.every((t=>e?.includes(t)))&&(this.tabpanels=t.reduce(((e,t)=>e.concat(t instanceof HTMLSlotElement?Array.from(t.assignedNodes()):t)),[])),this.hasNavigation=this.tabpanels.length>1,this.hasNavigation||(this.tabs=[]),super.tabpanelsChanged()}activeidChanged(e,t){super.activeidChanged(e,t);const i=e=>this.tabs.findIndex((t=>t.id===e)),a=e?i(e):0,n=i(t),o=n>=a?"left":"right";e&&(this.activeIndex=n),this.tabpanels.forEach(((e,t)=>{e.classList.remove("unload-left","unload-right"),t===n?(e.classList.add(`load-${o}`),e.classList.remove("load-left","load-right")):t===a?e.classList.add(`unload-${o}`):t<n?e.classList.add("load-right"):e.classList.remove("load-right")})),this.setTabClasses(a,n)}setTabClasses(e,t){const{tabs:i}=this,{length:a}=i,n=void 0===e||e===a-1&&0===t||e<t&&(t!==a-1||0!==e);if(a>this.tabCount){const e=Math.floor(this.tabCount/2),o=n?2+Math.min(t,e):this.tabCount-Math.min(a-t,3),r=this.tabCount-o+1;i.forEach(((e,i)=>{const a=t-o,n=t+r;e.classList.remove("hide","small","smaller"),i<a||i>n?e.classList.add("hide"):i===a||i===n?e.classList.add("smaller"):i!==a+1&&i!==n-1||e.classList.add("small")}))}}playChanged(e,t){clearInterval(this.slideshowHandler),this.play&&this.hasSlideShow&&(this.adjustWithoutFocus(),this.animationTiming=Date.now(),this.slideshowHandler=setInterval(this.adjustWithoutFocus.bind(this),1e3*(this.duration||1))),this.$emit(this.play?"play":"pause")}adjust(e){const t=this.tabs.findIndex((e=>e.id===this.activeid)),i=(a=0,n=this.tabs.length-1,(o=t+e)<a?n:o>n?a:o);var a,n,o;const r=this.tabs[i];r&&(this.activeid=r.id,this.activeid=this.tabs[i].id,r.focus(),this.$emit("change",r))}adjustWithoutFocus(e=1){this.tabs&&this.tabs.length>0&&(this.animationTiming=Date.now(),this.tabs.forEach((e=>{e.focus=()=>!1})),this.adjust(e),this.activetab.children[0].style.animationPlayState="running",this.tabs.forEach((e=>e.focus=e._focus)))}togglePlay(){this.hoverSuspended=!0,this.play=!this.play}resume(){const{duration:e,animationTiming:t=0}=this;this.activetab.children[0].style.animationPlayState="running",this.slideshowHandler=setTimeout(this.playChanged.bind(this,!1,!0),1e3*(e-t)),this.animationTiming=Date.now()-1e3*(this.animationTiming||0)}handleKeydown(e){return e.key!==d&&e.key!==l||!this.tabs.find((t=>t===e.composedPath()[0]))?(" "===e.key&&this.togglePlay(),!0):(e.preventDefault(),this.play=!1,!1)}handleClick(e){return e.composedPath().find((e=>e.classList?.contains("media-control")))||(this.play=!1,clearInterval(this.slideshowHandler)),this.activetab.focus(),!0}handleContentClick(e){return this.$emit("link-invoked",e),!0}handleMouseEnter(){this.hoverSuspended||(clearInterval(this.slideshowHandler),this.animationTiming=this.animationTiming?(Date.now()-this.animationTiming)/1e3:0,this.activetab.children[0].style.animationPlayState="paused")}handleMouseLeave(){this.hoverSuspended||void 0===this.slideshowHandler||this.resume(),this.hoverSuspended=this.disableHoverPause}disconnectedCallback(){super.disconnectedCallback(),this.slideshowHandler&&clearInterval(this.slideshowHandler)}}(0,o.gn)([c.Lj,(0,o.w6)("design:type",Number)],u.prototype,"duration",void 0),(0,o.gn)([(0,c.Lj)({attribute:"slide-show",converter:c.bw}),(0,o.w6)("design:type",Boolean)],u.prototype,"hasSlideShow",void 0),(0,o.gn)([(0,c.Lj)({attribute:"media-controls",converter:c.bw}),(0,o.w6)("design:type",Boolean)],u.prototype,"hasMediaControls",void 0),(0,o.gn)([(0,c.Lj)({attribute:"tab-count"}),(0,o.w6)("design:type",Number)],u.prototype,"tabCount",void 0),(0,o.gn)([(0,c.Lj)({attribute:"play-telemetry"}),(0,o.w6)("design:type",String)],u.prototype,"playTelemetry",void 0),(0,o.gn)([(0,c.Lj)({attribute:"pause-telemetry"}),(0,o.w6)("design:type",String)],u.prototype,"pauseTelemetry",void 0),(0,o.gn)([(0,c.Lj)({attribute:"tab-telemetry"}),(0,o.w6)("design:type",String)],u.prototype,"tabTelemetry",void 0),(0,o.gn)([c.Lj,(0,o.w6)("design:type",String)],u.prototype,"href",void 0),(0,o.gn)([c.Lj,(0,o.w6)("design:type",String)],u.prototype,"target",void 0),(0,o.gn)([c.Lj,(0,o.w6)("design:type",String)],u.prototype,"telemetry",void 0),(0,o.gn)([(0,c.Lj)({attribute:"disable-hover-pause",converter:c.bw}),(0,o.w6)("design:type",Boolean)],u.prototype,"disableHoverPause",void 0),(0,o.gn)([h.LO,(0,o.w6)("design:type",Array)],u.prototype,"tabs",void 0),(0,o.gn)([h.LO,(0,o.w6)("design:type",Array)],u.prototype,"tabpanels",void 0),(0,o.gn)([(0,c.Lj)({attribute:"active-index"}),(0,o.w6)("design:type",Number)],u.prototype,"activeIndex",void 0),(0,o.gn)([h.LO,(0,o.w6)("design:type",Boolean)],u.prototype,"hasNavigation",void 0),(0,o.gn)([(0,c.Lj)({attribute:"navigation-position"}),(0,o.w6)("design:type",String)],u.prototype,"navigationPosition",void 0),(0,o.gn)([(0,c.Lj)({converter:c.bw}),(0,o.w6)("design:type",Boolean)],u.prototype,"play",void 0);var g=i(39181),p=i(90960),m=i(74009),v=i(13988),f=i(81422),y=i(18864);const b=g.d`
    <slot
        class="panels"
        part="panels"
        ${(0,p.Q)({property:"tabpanels",filter:(0,m.R)()})}
    ></slot>
`;var x=i(32804),C=i(22674);const $=u.compose({baseName:"info-pane",styles:(e,t)=>s.i`
        :host {
            align-items: center;
            display: inline-block;
            overflow: hidden;
            position: relative;
            width: 100%;
            height: 100%;
            --dot-active-hover-size: 3px;
            --dot-hover-size: 5px;
            --dot-selected-height: 6px;
            --dot-selected-width: 16px;
            --dot-size: 4px;
            --dot-small-size: 3px;
            --dot-smaller-size: 2px;
        }

        .navigation {
            align-items: center;
            display: inline-flex;
            gap: calc(${x.Han} * 1px);
            left: 50%;
            position: absolute;
            top: calc(${x._5n} * 2px);
            transform: translateX(-50%);
            z-index: calc(var(--sloppy-click-z-index, 2) + 1);
        }

        .navigation.bottom {
            bottom: calc(${x._5n} * 3px);
            top: auto;
        }

        .tablist {
            background: rgba(0, 0, 0, 0.72);
            border-radius: 9px;
            min-height: 14px;
            padding: 0 6px;
            font-size: 0;
            min-width: 52px;
        }

        .with-controls .tablist {
            border-radius: 0;
            border-end-start-radius: 9px;
            border-start-start-radius: 9px;
        }

        .tab,
        .trail-start + .tab ~ .tab {
            cursor: pointer;
            display: inline-block;
            height: 14px;
            position: relative;
            transition: width 0.3s ease-in-out;
            width: 8px;
        }

        .tab:focus-visible {
            outline: none;
        }

        .dot {
            background: rgba(255, 255, 255, 0.42);
            border-radius: 3px;
            display: inline-block;
            height: var(--dot-size);
            left: 50%;
            position: absolute;
            top: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.3s ease-in-out, height 0.3s ease-in-out;
            width: var(--dot-size);
        }

        .tab:hover .dot,
        .tab[aria-selected="true"] .dot {
            background: rgba(255, 255, 255, 0.786);
        }

        .small .dot {
            height: var(--dot-small-size);
            width: var(--dot-small-size);
        }

        .smaller .dot {
            height: var(--dot-smaller-size);
            width: var(--dot-smaller-size);
        }

        .tab[aria-selected="false"]:hover .dot {
            height: var(--dot-hover-size);
            width: var(--dot-hover-size);
        }

        .tab[aria-selected="false"]:active:hover .dot {
            height: var(--dot-active-hover-size);
            width: var(--dot-active-hover-size);
        }

        .hide,
        .hide .dot {
            height: 0;
            width: 0;
            transition: none;
        }

        .tab[aria-selected="true"] {
            width: 20px;
        }

        .tab[aria-selected="true"] .dot {
            height: var(--dot-selected-height);
            width: var(--dot-selected-width);
        }

        .link {
            display: inline-block;
        }

        .playing .tab[aria-selected="true"] .dot {
            animation: loading 3s linear;
            background: linear-gradient(90deg, #fff 50%, rgba(255, 255, 255, 0.42) 50%);
            background-size: 200% 100%;
        }

        .media-control {
            background: rgba(0, 0, 0, 0.72);
            border-end-end-radius: 9px;
            border-start-end-radius: 9px;
            color: #fff;
            cursor: pointer;
            display: inline-block;
            fill: #fff;
            font-family: "Segoe UI Symbol", monospace;
            font-size: ${x.G8g};
            height: 14px;
            line-height: 13px;
            text-align: center;
            user-select: none;
            width: 14px;
        }

        .media-control:hover {
            background: rgba(0, 0, 0, 0.92);
        }

        :host slot.panels::slotted([id^="panel"]) {
            left: 0;
            position: relative;
            transition: left 0.3s ease-out;
        }

        :host slot.panels::slotted([hidden]) {
            display: inline-block;
            position: absolute;
            top: 0;
        }

        .previous-flipper,
        .next-flipper {
            display: block;
            opacity: 0;
            position: absolute;
            right: 2px;
            text-align: center;
            top: 50%;
            transform: translateY(-50%);
            transition: opacity linear 0.3s;
            width: 16px;
            z-index: calc(var(--sloppy-click-z-index, 2) + 1);
        }

        .previous-flipper::before,
        .next-flipper::before {
            border-radius: calc(${x.UWU} * 1px);
        }

        :host(:hover) .previous-flipper,
        :host(:hover) .next-flipper {
            opacity: 1;
        }
    `.withBehaviors(new C.O(s.i`
                .previous-flipper {
                    left: 2px;
                    right: auto;
                }

                :host slot.panels::slotted([hidden]) {
                    left: 100%;
                }

                :host slot.panels::slotted(.unload-left),
                :host slot.panels::slotted(.load-right) {
                    left: -100%;
                }

                :host slot.panels::slotted(.unload-right) {
                    left: 100%;
                }

                @keyframes loading {
                    0% {
                        background-position: 100% 0;
                    }
                    100% {
                        background-position: 0 0;
                    }
                }
            `,s.i`
                .next-flipper {
                    left: 1px;
                    right: auto;
                }

                :host slot.panels::slotted([hidden]) {
                    left: -100%;
                }

                :host slot.panels::slotted(.unload-left),
                :host slot.panels::slotted(.load-right) {
                    left: 100%;
                }

                :host slot.panels::slotted(.unload-right) {
                    left: -100%;
                }

                @keyframes loading {
                    0% {
                        background-position: -100% 0;
                    }
                    100% {
                        background-position: 0 0;
                    }
                }
            `)),template:(e,t)=>g.d`
    <template
        @keydown="${(e,t)=>e.handleKeydown(t.event)}"
        @click="${(e,t)=>e.handleClick(t.event)}"
        @mouseenter="${e=>e.handleMouseEnter()}"
        @mouseleave="${e=>e.handleMouseLeave()}"
    >
        ${(0,v.g)((e=>e.href),g.d`
                <a
                    class="link"
                    part="link"
                    href="${e=>e.href}"
                    target="${e=>e.target}"
                    @click="${(e,t)=>e.handleContentClick(t.event)}"
                    data-t="${e=>e.telemetry}"
                >
                    ${b}
                </a>
            `)}
        ${(0,v.g)((e=>!e.href),b)}
        ${(0,v.g)((e=>e.hasNavigation),g.d`
                <div
                    class="navigation ${e=>e.hasSlideShow&&e.hasMediaControls?"with-controls":""} ${e=>e.play&&e.hasSlideShow?"playing":""}
                        ${e=>e.navigationPosition}"
                    part="navigation"
                >
                    <div
                        class="tablist"
                        part="tablist"
                        role="tablist"
                        ${(0,f.p)({property:"tabs",filter:(0,m.R)()})}
                    >
                        ${(0,y.rx)((e=>e.tabpanels),g.d`
                                <div
                                    class="tab"
                                    part="tab"
                                    slot="tab"
                                    role="tab"
                                    data-t="${e=>e.tabTelemetry}"
                                >
                                    <div class="dot" part="dot"></div>
                                </div>
                            `,{positioning:!0})}
                    </div>
                    ${(0,v.g)((e=>!!e.hasSlideShow&&!!e.hasMediaControls),g.d`
                            <div
                                class="media-control"
                                part="media-control"
                                @click="${e=>e.togglePlay()}"
                            >
                                ${(0,v.g)((e=>!!e.play),g.d`
                                        <slot
                                            name="pause-icon"
                                            data-t="${e=>e.pauseTelemetry}"
                                        >
                                            ⏸&#xFE0E;
                                        </slot>
                                    `)}
                                ${(0,v.g)((e=>!e.play),g.d`
                                        <slot
                                            name="play-icon"
                                            data-t="${e=>e.playTelemetry}"
                                        >
                                            ⏵&#xFE0E;
                                        </slot>
                                    `)}
                            </div>
                        `)}
                </div>
                <slot
                    name="previous-flipper"
                    class="previous-flipper"
                    part="previous-flipper"
                    @click="${e=>e.adjust(-1)}"
                ></slot>
                <slot
                    name="next-flipper"
                    class="next-flipper"
                    part="next-flipper"
                    direction="next"
                    @click="${e=>e.adjust(1)}"
                ></slot>
            `)}
    </template>
`});var w=i(64062);class T extends u{}(0,o.gn)([h.LO],T.prototype,"data",void 0);var k=i(16370),S=i.n(k);const _=g.d`<cs-flipper class="previousFlipper" slot="previous-flipper" direction="previous" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.previousSlideArrow)||void 0===i?void 0:i.getMetadataTag()}}"><span slot="previous">${S()}</span></cs-flipper>`;var I=i(91578),P=i.n(I);const L=g.d`<cs-flipper class="nextFlipper" slot="next-flipper" direction="next" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.nextSlideArrow)||void 0===i?void 0:i.getMetadataTag()}}"><span slot="next">${P()}</span></cs-flipper>`;var z=i(24277),A=i(9431),O=i(70345),H=i(64302),E=i(74045);const F=(e,t,i,a)=>{const n=0!=(e.cardActionStatus&E.O7.hide)||!!e.enableHideStoryFeedback&&(0!=(e.cardActionStatus&E.O7.showFewer)||0!=(e.cardActionStatus&E.O7.hidden));return"dense-card"==e.card_template_type?M("cs-dense-card"):e.isNativeAd?g.d` ${(0,y.rx)((e=>e.nativeAds&&e.nativeAds.slice(0,3)),g.d`${(e,t)=>M(t.parentContext.parent.nativeAdTag)}`)} `:e.showAdFeedback?D(e):n?B(e):M(i)},M=e=>g.d`<${e} :data= ${e=>e}></${e}>`,D=e=>e.cardActionStatus&E.O7.adFeedbackSubmitted?g.d`<div class="infopane-report-ad">${z.X}</div>`:g.d`<div class="infopane-report-ad">${A.H}</div>`,B=e=>e.cardActionStatus&E.O7.hidden?g.d`<div class="infopane-hide-story">${O.c}<div>`:g.d`<div class="infopane-hide-story">${H.V}</div>`;var R=i(64799);const N=s.i` cs-info-pane::part(next-flipper){right:10px}`,j=s.i` cs-info-pane::part(next-flipper){right:-8px}`,G=T.compose({baseName:"infopane-card",template:(e,t)=>g.d`${(0,v.g)((e=>e.data),g.d`${(0,y.rx)((e=>[e.data]),g.d`<cs-card class="infopaneCardWrapper" size="${e=>e.cardSize}" card-fill-color="${e=>e.cardFillColor}" gradient-angle="${e=>e.gradientAngle}"><cs-info-pane class="infopane ${e=>e.enableSlideShow?"":"slide-show-disabled"}" play="${e=>e.autoRotate}" duration="${e=>e.rotationDuration}" media-controls="${e=>e.enablePlayPauseButton}" navigation-position="${e=>e.navPosition}" slide-show="${e=>e.enableSlideShow}" size="${e=>e.cardSize}" tab-count=${e=>e.tabCount} data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.infopane)||void 0===i?void 0:i.getMetadataTag()}}" play-telemetry="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.playTransitionButton)||void 0===i?void 0:i.getMetadataTag()}}" pause-telemetry="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.pauseTransitionButton)||void 0===i?void 0:i.getMetadataTag()}}">${(0,y.rx)((e=>e.slideContentData),g.d`${(e,t)=>F(e,t,t.parent.articleTag,t.parent.nativeAdTag)}`)} ${_} ${L}</cs-info-pane></cs-card>`)} `)}`,styles:(e,t)=>s.i` :host([size="_2x_2y"]){width:calc(((${R.$f} * 2px) + (${R.RR} * 1px)) + 2px)}.infopane{position:static}.nextFlipper,.previousFlipper{height:48px;width:24px}.infopaneCardWrapper{border:none}:host .navigation{left:0}.hide{height:14px;width:8px}.hide::before,.small::before,.smaller::before{height:4px;width:4px}:host .infopane-hide-story,:host .infopane-report-ad{height:calc(((${R.di} * 2px) + (${R.RR} * 1px)) + 2px);
    }
`.withBehaviors(new C.O(N,j))});var U=i(77615);const W=()=>{(0,U.D)().withShadowRootMode("open").withElementDisambiguation((()=>n.h.ignoreDuplicate)).withPrefix("cs").register($(),(0,w.f)(),G())}},15825:function(e,t,i){"use strict";i.d(t,{e:function(){return r}});var a=i(33940),n=i(48839),o=i(87697);class r extends n.I{}(0,a.gn)([o.LO],r.prototype,"data",void 0)},24867:function(e,t,i){"use strict";i.d(t,{$:function(){return l}});var a=i(37429),n=i(39181),o=i(13988),r=i(18864),s=i(62449),d=i(53212);const l=(e,t)=>{var i,a,l,h,u;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}" id="native_ad_${e=>e.id}" size="${e=>e.cardSize}"><cs-content-card class="card-content" id="${e=>e.id}" href="${e=>e.destinationUrl}" media-type="${e=>e.mediaType}" size="${e=>e.cardSize}" title="${e=>e.disableCardTitleTooltip?"":e.title}" target="${s.P._blank}" ?immersive-card="${e=>e.immersiveCard}" :anchorTelemetryTag="${e=>e.adTelemetryContext&&e.adTelemetryContext.destination&&e.adTelemetryContext.destination.getMetadataTag()}" data-t="${e=>{var t,i;return e.id?null===(i=null===(t=e.adTelemetryContext)||void 0===t?void 0:t.nativeAdCard)||void 0===i?void 0:i.getMetadataTag():""}}" ${(0,d.lq)()} @mouseenter="${(e,t)=>e.setDisplacementAndTitleOnHover&&e.setDisplacementAndTitleOnHover(t,e.dir,e.title,e.disableCardTitleTooltip,e.enableTitleForTruncate)}">${(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=>c(e)}" @error="${e=>function(e){c(e)}(e)}" />`)} ${e=>{!e.imageData&&e.visualReadinessCallback&&e.visualReadinessCallback()}} ${t.attribution instanceof Function?t.attribution(e,t):null!==(i=t.attribution)&&void 0!==i?i:""} ${t.title instanceof Function?t.title(e,t):null!==(a=t.title)&&void 0!==a?a:""} ${(0,o.g)((e=>e.title),n.d`${t.footerStart instanceof Function?t.footerStart(e,t):null!==(l=t.footerStart)&&void 0!==l?l:""}`)} ${(0,o.g)((e=>e.title),n.d`${t.footerEnd instanceof Function?t.footerEnd(e,t):null!==(h=t.footerEnd)&&void 0!==h?h:""}`)} ${t.hideStory instanceof Function?t.hideStory(e,t):null!==(u=t.hideStory)&&void 0!==u?u:""}</cs-content-card></cs-card>`)}
`)}`};function c(e){e&&e.visualReadinessCallback&&e.visualReadinessCallback(a.u.ALL,a.w.image)}},90394:function(e,t,i){"use strict";i.d(t,{j:function(){return p}});var a=i(84548),n=i(6359),o=i(6932),r=i(90768),s=i(38956),d=i(74983),l=i(58474),c=i(9339),h=i(61521),u=i(53046),g=i(99393);const p=(e,t)=>u.i`
    ${a.s}
    ${n.i}
    ${o.K}
    ${r.b}
    ${s.T}
    ${d.j}
    ${l._}
    ${c.V}
    ${h.D}
    ${g.Z}
`},30097:function(e,t,i){"use strict";i.d(t,{s:function(){return g},x:function(){return u}});var a=i(51701),n=i(47497),o=i(85078),r=i(31540),s=i(12576),d=i(15825),l=i(39181),c=i(90394),h=i(24867);class u extends d.e{}const g=u.compose({baseName:"native-ad-card",styles:c.j,template:h.$,footerEnd:l.d`${a.z}`,footerStart:l.d`${n.K}`,hideStory:l.d`${o.j}`,title:l.d`${r.o}`,attribution:l.d`${s.g}`})},5627:function(e,t,i){"use strict";i.d(t,{T:function(){return l}});var a=i(57905),n=i(42208),o=i(38880),r=i(68714),s=i(30097),d=i(77615);const l=()=>(0,d.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,n.Gp)(),(0,o.u0)(),(0,r.$j)(),(0,s.s)())},9418:function(e,t,i){"use strict";i.d(t,{n:function(){return N}});var a=i(57905),n=i(33940),o=i(48839),r=i(65620),s=i(87697);const d="C4";class l extends o.I{constructor(){super(...arguments),this.layout=d,this.childrenLayout=[]}layoutChanged(){this.updateLayout()}childTemplateMapChanged(){this.updateLayout()}dataChanged(){this.updateLayout()}layoutStylesChanged(e,t){e&&this.$fastController.removeStyles(e),this.$fastController.addStyles(t)}selectTemplate(e){if(e.childTemplateType)return this.childTemplateMap?.[e.childTemplateType]}updateLayout(){if(void 0===this.data)return;const e=this.data[this.layout];this.childrenLayout=this.data.defaultLayout.map((t=>({...t,...e?.find((e=>e.id===t.id))}))).sort(((e,t)=>e.childDOMOrder&&t.childDOMOrder?e.childDOMOrder-t.childDOMOrder:0))}handleKeyDown(e){const t=!!["ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageUp","PageDown"].find((t=>t===e.key));if(e.defaultPrevented||!t)return!0;const i=Array.from(this.getRootNode().querySelectorAll(this.tagName)).reduce(((e,t)=>e.concat(Array.from(t.shadowRoot?.children||[]))),[]).filter((e=>e.offsetWidth>0&&e.offsetHeight>0)),a=i.reduce(((e,t,i)=>{const{offsetLeft:a,offsetHeight:n,offsetTop:o,offsetWidth:r}=t;return e.push({x:a,y:o,x2:a+r,y2:o+n,index:i}),e}),[]),n=i.findIndex((t=>e.composedPath().find((e=>e===t))))??0,o=e=>{const t=e.currentTarget;t&&(t.removeAttribute("tabindex"),t.removeEventListener("blur",o))},r=a.reduce(((e,t,i)=>{const o=a[n||0],r={x:["ArrowLeft","ArrowRight"],y:["ArrowUp","ArrowDown"]},s=e=>Math.min(t[`${e}2`],o[`${e}2`])-Math.max(t[e],o[e]),d=e=>Math.abs(t[e]>=o[`${e}2`]?t[e]-o[`${e}2`]:o[e]-t[`${e}2`]);for(const a in r){const l=a,c=s("x"===l?"y":"x"),h=d(l);if(c>0){const a=t[l]>=o[`${l}2`]?1:0,s=r[l][a];i!==n&&(void 0===e[s]||(e[s]?.distance||0)>h)&&(e[s]=Object.assign({},t,{overlap:c,distance:h})),"y"===l&&("ArrowUp"===s?(!e.PageUp||e.PageUp.y>t.y)&&(e.PageUp=t):(!e.PageDown||e.PageDown.y2<t.y2)&&(e.PageDown=t))}}return(!e.Home||e.Home.x>t.x||e.Home.y>t.y)&&(e.Home=t),(!e.End||e.End.x<t.x||e.End.y<t.y)&&(e.End=t),e}),{})[e.key];var s;return void 0!==r&&(s=r.index,i&&i.length>s&&(i[s].setAttribute("tabindex","0"),i[s].addEventListener("blur",o),i[s].focus())),!0}}(0,n.gn)([r.Lj,(0,n.w6)("design:type",String)],l.prototype,"layout",void 0),(0,n.gn)([s.LO,(0,n.w6)("design:type",Array)],l.prototype,"childrenLayout",void 0),(0,n.gn)([s.LO,(0,n.w6)("design:type",Object)],l.prototype,"childTemplateMap",void 0),(0,n.gn)([s.LO,(0,n.w6)("design:type",Object)],l.prototype,"data",void 0),(0,n.gn)([s.LO,(0,n.w6)("design:type",Object)],l.prototype,"layoutStyles",void 0);var c=i(64799),h=i(32804),u=i(53046),g=i(67020);var p=i(18864),m=i(39181);const v=l.compose({baseName:"feed-layout",styles:(e,t)=>u.i`
    ${(0,g.j)("grid")}

    :host {
        font-family: ${h.SVJ};
        width: auto;
        grid-auto-columns: calc(${c.$f} * 1px);
        grid-auto-row: calc(${c.di} * 1px);
        grid-gap: calc(${c.RR} * 1px);
    }
`,template:(e,t)=>m.d`
    <template @keydown="${(e,t)=>e.handleKeyDown(t.event)}">
        ${(0,p.rx)((e=>e.childrenLayout),m.d`
                ${(e,t)=>t.parent.selectTemplate(e)}
            `)}
    </template>
`});var f=i(94192);class y extends o.I{}(0,n.gn)([f.G],y.prototype,"configProvider",void 0),(0,n.gn)([s.LO],y.prototype,"feedLayouts",void 0),(0,n.gn)([s.LO],y.prototype,"layout",void 0);var b=i(68250),x=i(62449),C=i(58958);function $(e,t){const i=e;return function(e,t){e.imageData&&e.imageData.source&&(e.mediaType="video"===e.contentType?x.D.video:x.D.image)}(i),function(e,t){e.immersiveCard=e.cardSize===b.Id._2x_2y}(i),i}function w(e,t){var i;if(e.immersiveCard&&e.mediaType)return void(e.cardFillColor="#333");const a=null===(i=e.colorSamples)||void 0===i?void 0:i.find((e=>e.isDarkMode===(0,C.Y)()));if(!a||!a.hexColor&&!a.secHexColor&&!a.gradientAngle)return e.cardFillColor=(0,C.Y)()?"#565656":"#FFFFFF",e.cardSecondaryColor=(0,C.Y)()?"#272727":"#E1E1E1",void(e.gradientAngle="112.05deg");e.cardFillColor=null==a?void 0:a.hexColor,e.cardSecondaryColor=null==a?void 0:a.secHexColor,e.gradientAngle=null==a?void 0:a.gradientAngle}function T(e,t){t&&t.config&&t.config.enableFeedSuperCardsSolidColor&&(e.immersiveCard||"#000000"===e.cardFillColor||(e.cardFillColor=(0,C.Y)()?"#333":"#FFF",e.cardSecondaryColor=void 0,e.gradientAngle=void 0))}function k(e,t){const i=$(e);return w(i),i.openLinksInNewTab=i.openLinksInNewTab||i.openArticleInNewTab,T(i,t),i}function S(e,t){const i=$(e);return w(i),T(i,t),i}class _{static getViewTemplate(e,t){const i=t&&t.getSuperCardsTemplatesMap(),a=i&&i[e.childTemplateType];return a?m.d`
                    <${a}
                        class="card-container"
                        :data=${e=>class{static createViewModel(e,t){switch(e&&e.childTemplateType){case"article-card":case"content-card":case"web-content-card":case"video-card":return k(e,t);case"native-ad-card":return S(e,t);case"super-sd-card":case"super-list-card":return $(e);case"infopane-card":return function(e,t){const i=$(e);i.cardData=e,i.cardFillColor=(0,C.Y)()?"#333":"#FFFFFF",e.slideContentData.forEach(((e,i)=>{e.isNativeAd&&e.nativeAds.length>0?e.nativeAds.forEach((e=>{S(e,t)})):k(e,t)})),i.cardData.autoRotate=!0,i.enableSlideShow=!0;const a=t.config;return i.enablePlayPauseButton=!a.disableInfopanePlayPauseButton,i.rotationDuration=i.cardData.autoRotateIntervalMs?i.cardData.autoRotateIntervalMs/1e3:3,a.enableInfopaneFontSize24?(i.articleTag="cs-article-card-24",i.nativeAdTag="cs-native-ad-card-24"):(i.articleTag="cs-article-card",i.nativeAdTag="cs-native-ad-card"),a.enableBottomNav&&(i.navPosition="bottom"),i.tabCount=a.enableMaxInfopaneSlider?99:5,i}(e,t);case"carousel":return function(e,t){return $(e)}(e);default:return null}}}.createViewModel(e,t)}
                        style="grid-area:${e=>e.gridArea}"
                        size="${e=>e.cardSize}"
                        config-instance-src="default"
                    >
                    </${a}>
                `:null}}const I=u.i``,P=u.i`
    ${I}

    :host {
        display: grid;
        flex-flow: row wrap;
        gap: 12px;
        justify-content: center;
        --layer-corner-radius: 6;
    }

    cs-feed-layout {
        grid-auto-rows: 146px;
    }
`;var L=i(13988);const z=m.d`
    <cs-feed-layout
        layout="${(e,t)=>t.parent.layout}"
        :data="${e=>e.feedData}"
        :childTemplateMap="${(e,t)=>t.parent.configProvider.getCardTemplatesMap()}"
        :layoutStyles="${(e,t)=>t.parent.configProvider.getLayoutTemplatesMap()[e.templateId].styles}"
    >
    </cs-feed-layout>
`,A=m.d` ${(0,L.g)((e=>e.feedLayouts&&e.feedLayouts.length),m.d`
        ${(0,p.rx)((e=>e.feedLayouts),z)}
    `)}`,O=class extends y{constructor(){super(...arguments),this.lastFeedLayoutPosition=-1}feedLayoutsChanged(){var e;if(!(null===(e=this.feedLayouts)||void 0===e?void 0:e.length))return;const t=this.configProvider.getCardTemplatesMap(),i=this.configProvider.getSuperCardsTemplatesMap();for(let e=this.lastFeedLayoutPosition+1;e<this.feedLayouts.length;e++){this.feedLayouts[e].feedData.defaultLayout.forEach((e=>{if(i[e.childTemplateType]){const i=_.getViewTemplate(e,this.configProvider);i&&(t[e.childTemplateType]=i)}}))}this.lastFeedLayoutPosition=this.feedLayouts.length-1}}.compose({baseName:"personalized-feed",styles:P,template:A});var H=i(52965);class E extends o.I{feedLayoutsChanged(){var e;(null===(e=this.feedLayouts)||void 0===e?void 0:e.length)&&this.feedLayouts.forEach((e=>{const t=this.configProvider.getCardTemplatesMap();t["native-ad-card-video"]||(t["native-ad-card-video"]=(0,H.Z)(t["native-ad-card"]));const i=e.feedData;i.defaultLayout=e.feedData.cards,i.defaultLayout.forEach(((e,a)=>{const n=i[this.layout]&&i[this.layout].find((t=>t.id===e.id));n&&"video-card"===n.card_template_type?e.childTemplateType="video-card":e.childTemplateType=e.card_template_type,this.updateTemplateForNotSupportedScenario(e,t),e.gridArea=e.grid_area}))}))}updateTemplateForNotSupportedScenario(e,t){if(!(e&&"native-ad-card"===e.card_template_type&&e.videoProps))return;const i=e.card_template_type+"-v1";t[i]||(t[i]=t["native-ad-card-video"]),e.childTemplateType=i}}(0,n.gn)([f.G],E.prototype,"configProvider",void 0),(0,n.gn)([s.LO],E.prototype,"feedLayouts",void 0),(0,n.gn)([s.LO],E.prototype,"layout",void 0);const F=u.i``,M=m.d`
    <cs-personalized-feed 
        :feedLayouts=${e=>e.feedLayouts} 
        :layout="${e=>e.layout}">
    </cs-personalized-feed>`,D=m.d`
    ${(0,L.g)((e=>{var t;return null===(t=e.feedLayouts)||void 0===t?void 0:t.length}),M)}
`,B=E.compose({baseName:"super-container",styles:F,template:D});var R=i(77615);const N=()=>(0,R.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register(v(),O(),B())},94192:function(e,t,i){"use strict";i.d(t,{G:function(){return a}});const a=i(91254).DI.createInterface()},44399:function(e,t,i){"use strict";var a=i(57905),n=i(70492),o=i(48501),r=i(10326),s=i(33940),d=i(39432),l=i(87697),c=i(27422),h=i(38156);class u extends d.u{connectedCallback(){super.connectedCallback(),this.initSuperSDSetting()}initSuperSDSetting(){var e,t,i;if(!this.settingMenuConfig){const a=null===(e=this.data.telemetryObject)||void 0===e?void 0:e.addOrUpdateChild({name:"MoreSettings",type:h.c9.ActionButton});this.settingMenuConfig=null!==(t=this.data.settingMenuConfig)&&void 0!==t?t:{moreSetting:{title:(null===(i=this.data.localizedStrings)||void 0===i?void 0:i.moreSettingOptStr)||"More settings",telemetryTag:null==a?void 0:a.getMetadataTag()}}}this.superSDSetting=new c.M(u,!1,void 0,void 0,this.settingMenuConfig)}}(0,s.gn)([l.LO],u.prototype,"data",void 0),(0,s.gn)([l.LO],u.prototype,"settingMenuConfig",void 0),(0,s.gn)([l.LO],u.prototype,"superSDSetting",void 0);var g=i(53046),p=i(32804),m=i(95201);const v=g.i` .card-outer{display:flex;flex-direction:column}.card-header{display:flex;align-items:center;color:${p.CHi};font-size:12px;gap:10px;margin-bottom:16px}.header-icon{display:inline-flex}cs-sd-card-header::part(title){display:inline-block;text-transform:lowercase}cs-sd-card-header::part(title)::first-letter{text-transform:uppercase}.card-body{display:flex;gap:8px}:host([size="_2x_2y"]) .card-body{padding-inline-start:16px;padding-inline-end:8px}cs-article-card-digest.hero-card{${m.U} --digest-container-height:100%}cs-sd-super-list::part(listContent){padding:10px 16px}`;var f=i(68250),y=i(39181),b=i(13988),x=i(18864),C=i(58958),$=i(95557),w=i(6551);const T=y.d` ${(e,t)=>{var i,a;return(0,w.J)(null===(i=t.parent.superSDSetting)||void 0===i?void 0:i.actionsMenuButtonElement,null===(a=t.parent.superSDSetting)||void 0===a?void 0:a.menuItems,void 0,"start")}}
`,k=y.d` ${(e,t)=>{var i,a;return(0,w.D)((()=>{var e;return null===(e=t.parent.superSDSetting)||void 0===e?void 0:e.toggleActionMenu(!t.parent.superSDSetting.isActionMenuOpen,t.event)}),null===(i=(e=>{var t;return null===(t=null==e?void 0:e.addOrUpdateChild)||void 0===t?void 0:t.call(e,{name:"MoreOptions",type:h.c9.ActionButton})})(e.telemetryObject))||void 0===i?void 0:i.getMetadataTag(),(null===(a=e.localizedStrings)||void 0===a?void 0:a.moreOptionsTooltip)||"More options","toggle-button")}}
`,S=y.d`<cs-sd-card-header><div slot="icon" class="header-icon">${$.Z}</div>${e=>{var t;return(null===(t=e.localizedStrings)||void 0===t?void 0:t.topStoriesHeadingText)||"Top stories"}} ${k} ${(0,b.g)(((e,t)=>{var i;return null===(i=t.parent.superSDSetting)||void 0===i?void 0:i.isActionMenuOpen}),T)}</cs-sd-card-header>`,_=y.d`<cs-article-card-digest class="hero-card" :data="${e=>Object.assign(Object.assign({},e.denseData.heroNews),{cardSize:f.Id._1x_2y,immersiveCard:!0})}"></cs-article-card-digest>`,I=y.d`<cs-sd-super-list :contentList=${e=>e.denseData.newsList.slice(0,3)}></cs-sd-super-list>`,P=y.d`<div class="card-body" data-t="${(e,t)=>{var i;return null===(i=(e=>{var t;return null===(t=null==e?void 0:e.addOrUpdateChild)||void 0===t?void 0:t.call(e,{name:"TopStories",type:h.c9.Section})})(e.telemetryObject))||void 0===i?void 0:i.getMetadataTag()}}">${(0,b.g)(((e,t)=>"_2x_2y"===t.parent.cardSize()),_)} ${I}</div>`,L=u.compose({baseName:"dense-card",styles:v,template:(e,t)=>y.d`${(0,b.g)((e=>e.data),y.d`${(0,x.rx)((e=>[e.data]),y.d`<cs-card class="card-outer" card-fill-color="${e=>(0,C.Y)()?f.Gi.DarkPlum:f.iV.LightBlue}" size="${(e,t)=>t.parent.cardSize()}" data-t="${e=>{var t;return null===(t=e.telemetryObject)||void 0===t?void 0:t.getMetadataTag()}}">${S} ${P}</cs-card>`)}`)}`});var z=i(77615);var A=i(21406),O=i(16206),H=i(5627),E=i(41384),F=i(9418);(0,A.y)(),(0,z.D)().withShadowRootMode("open").withElementDisambiguation((()=>a.h.ignoreDuplicate)).withPrefix("cs").register((0,r.RM)(),(0,n.P)(),(0,o.$l)(),L()),(0,O.V)(),(0,H.T)(),(0,E.E)(),(0,F.n)()},16370:function(e){e.exports='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M15 17.9a1.25 1.25 0 01-2.07.94l-6.31-5.52c-.8-.7-.8-1.94 0-2.64l6.3-5.52c.82-.7 2.08-.13 2.08.94v11.8z"></path></svg>'},91578:function(e){e.exports='<svg width="24" height="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M9 17.9a1.25 1.25 0 002.07.94l6.31-5.52c.8-.7.8-1.94 0-2.64l-6.3-5.52C10.25 4.46 9 5.03 9 6.1v11.8z"></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>'},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>'},42208:function(e,t,i){"use strict";i.d(t,{Gp:function(){return h}});var a=i(48839);class n extends a.I{}var o=i(32804),r=i(53046),s=i(67020),d=i(40082),l=i(87839);var c=i(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,d.vF)(r.i`
                :host,
                .content {
                    color: ${l.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},68231:function(e,t,i){"use strict";i.d(t,{N:function(){return g}});var a=i(33940),n=i(32804),o=i(42355),r=i(42255),s=i(97186),d=i(53046),l=i(87697),c=i(22680),h=i(65620),u=i(27447);class g 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 i=(0,s.in)(t);i&&(this.neutralPaletteSource=t,n.IfY.setValueFor(this,o.w.create(i.r,i.g,i.b)))}neutralPaletteSourceChanged(e,t){if(t){const e=(0,s.in)(t);if(!e)return;const i=o.w.create(e.r,e.g,e.b);n.yvm.setValueFor(this,r.v.create(i))}}cardSecondaryColorChanged(){this.handleChange()}gradientAngleChanged(){this.handleChange()}generateGradientVariables(e,t,i){return d.i`
            :host {
                --gradient-angle: ${e};
                --gradient-start-color: ${t};
                --gradient-end-color: ${i};
            }
        `}connectedCallback(){super.connectedCallback(),l.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,a.gn)([(0,h.Lj)({attribute:"neutral-palette-source",mode:"fromView"}),(0,a.w6)("design:type",String)],g.prototype,"neutralPaletteSource",void 0),(0,a.gn)([(0,h.Lj)({attribute:"card-secondary-color",mode:"fromView"}),(0,a.w6)("design:type",Object)],g.prototype,"cardSecondaryColor",void 0),(0,a.gn)([(0,h.Lj)({attribute:"gradient-angle",mode:"fromView"}),(0,a.w6)("design:type",String)],g.prototype,"gradientAngle",void 0)},27447:function(e,t,i){"use strict";i.d(t,{Z:function(){return c}});var a=i(33940),n=i(32804),o=i(78125),r=i(33978),s=i(65130),d=i(65620),l=i(68250);class c extends s.Z{constructor(){super(...arguments),this.size=l.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(l.Gi).includes(this.cardFillColor)}isLightCardGradient(){return Object.values(l.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,a.gn)([(0,d.Lj)({attribute:"card-fill-color"}),(0,a.w6)("design:type",Object)],c.prototype,"cardFillColor",void 0),(0,a.gn)([d.Lj,(0,a.w6)("design:type",String)],c.prototype,"size",void 0)},68250:function(e,t,i){"use strict";i.d(t,{Gi:function(){return n},Id:function(){return a},iV:function(){return o}});const a={_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,i){"use strict";i.d(t,{$f:function(){return h},F:function(){return f},RR:function(){return u},di:function(){return c},hl:function(){return v},sQ:function(){return m},yp:function(){return p}});var a=i(32804),n=i(78125),o=i(98648),r=i(53046),s=i(67020),d=i(40082),l=i(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),g=o.L.create("card-stroke-color");g.withDefault((e=>a.q2d.getValueFor(e)===n.h.DarkMode?"rgba(0,0,0,0.1)":"rgba(0,0,0,0.0578)"));const p=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: ${a.IfY};
        border: calc(${a.Han} * 1px) solid ${g};
        background-clip: padding-box;
        border-radius: calc(${a.rSr} * 1px);
        box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.04);
        box-sizing: border-box;
        color: ${a.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;
    }
`,v=(0,d.vF)(r.i`
            :host {
                background: ${l.H.Canvas};
                color: ${l.H.CanvasText};
            }
        `),f=(e,t)=>r.i`
        ${m}
        ${p}

        :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(v)},38880:function(e,t,i){"use strict";i.d(t,{u0:function(){return r}});var a=i(68231),n=i(64799),o=i(39181);const r=a.N.compose({baseName:"card",styles:n.F,template:(e,t)=>o.d`
    <slot></slot>
`})},39432:function(e,t,i){"use strict";i.d(t,{u:function(){return m}});var a=i(33940),n=i(68231),o=i(68250),r=i(32804),s=i(48839),d=i(2696),l=i(53046),c=i(22680),h=i(87697),u=i(97186),g=i(65620),p=i(62449);class m extends s.I{constructor(){super(...arguments),this.headingLevel=2,this.immersiveCard=!1,this.animateVideo=!1,this.subscribed=!1,this.target=p.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,i;return this.isColorSampled()?(t=new d.h(e.r,e.g,e.b,0).toStringWebRGBA(),i=new d.h(e.r,e.g,e.b,.8).toStringWebRGBA()):(t=new d.h(0,0,0,0).toStringWebRGBA(),i=new d.h(0,0,0,.54).toStringWebRGBA()),l.i`
            :host {
                --image-gradient-overlay-start-color: ${t};
                --image-gradient-overlay-end-color: ${i};
            }
        `}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,a.gn)([(0,g.Lj)({attribute:"heading-level",mode:"fromView",converter:g.Id}),(0,a.w6)("design:type",Number)],m.prototype,"headingLevel",void 0),(0,a.gn)([g.Lj,(0,a.w6)("design:type",String)],m.prototype,"size",void 0),(0,a.gn)([(0,g.Lj)({attribute:"immersive-card",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],m.prototype,"immersiveCard",void 0),(0,a.gn)([(0,g.Lj)({attribute:"media-type"}),(0,a.w6)("design:type",Object)],m.prototype,"mediaType",void 0),(0,a.gn)([(0,g.Lj)({attribute:"animate-video",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],m.prototype,"animateVideo",void 0),(0,a.gn)([(0,g.Lj)({attribute:"subscribed",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],m.prototype,"subscribed",void 0),(0,a.gn)([g.Lj,(0,a.w6)("design:type",Object)],m.prototype,"href",void 0),(0,a.gn)([g.Lj,(0,a.w6)("design:type",String)],m.prototype,"target",void 0),(0,a.gn)([h.LO,(0,a.w6)("design:type",Array)],m.prototype,"childElements",void 0),(0,a.gn)([h.LO,(0,a.w6)("design:type",Array)],m.prototype,"mediaSlot",void 0),(0,a.gn)([h.LO,(0,a.w6)("design:type",Object)],m.prototype,"parent",void 0),(0,a.gn)([h.LO,(0,a.w6)("design:type",Boolean)],m.prototype,"loaded",void 0),(0,a.gn)([h.LO,(0,a.w6)("design:type",String)],m.prototype,"anchorTelemetryTag",void 0)},62449:function(e,t,i){"use strict";i.d(t,{D:function(){return n},P:function(){return a}});const a={_self:"_self",_blank:"_blank",_parent:"_parent",_top:"_top"},n={image:"image",video:"video"}},68714:function(e,t,i){"use strict";i.d(t,{$j:function(){return x}});var a=i(39432),n=i(32804),o=i(22674),r=i(53046),s=i(56201),d=i(81493),l=i(40082),c=i(87839);var h=i(90960),u=i(39181),g=i(81422),p=i(74009),m=i(13988);function v(e,t){return t?.some((t=>t.slot===e))}const f=(e,t)=>{const i=t.slotName??"";return u.d`
        <div id="${i}" class="${i}" part="${i}">
            <slot
                name="${i}"
                ${t.slottedRef?(0,h.Q)(t.slottedRef):""}
            >
                ${t.slottedDefault instanceof Function?t.slottedDefault(e,t):t.slottedDefault??""}
            </slot>
        </div>
    `},y=(b=(e,t)=>u.d`
    <slot name="media" ${(0,h.Q)("mediaSlot")}></slot>
`,(e,t)=>u.d`
            <template
                role="article"
                ${(0,g.p)({property:"childElements",filter:(0,p.R)()})}
            >
                <div
                    class="content${e=>e.mediaType?"":" no-image"}"
                    part="content"
                >
                    ${b(e,t)}
                    ${(0,m.g)((e=>v("media-info",e.childElements)&&!(e.immersiveCard||"_2x_2y"===e.size)),f(e,{slotName:"media-info"}))}
                    <div class="gradient"></div>
                    ${f(e,{slotName:"media-overlay",slottedDefault:t.mediaOverlay})}
                    <div class="text">
                        ${(0,m.g)((e=>v("media-info",e.childElements)&&(e.immersiveCard||"_2x_2y"===e.size)),f(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=>v("abstract",e.childElements)),f(e,{slotName:"abstract"}))}
                    </div>
                    <div class="action-tray ${e=>e.loaded?"":"preload"}">
                        ${f(e,{slotName:"footer-start",slottedDefault:t.footerStart})}
                        ${f(e,{slotName:"footer-end",slottedDefault:t.footerEnd})}
                    </div>
                    <div class="hide-story-wrapper" part="hide-story-wrapper">
                        ${f(e,{slotName:"hide-story",slottedDefault:t.hideStory})}
                    </div>
                </div>
            </template>
        `);var b;const x=a.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 d.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,l.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:y})},38247:function(e,t,i){"use strict";i.d(t,{QT:function(){return h}});var a=i(33940),n=i(28090),o=i(65620),r=i(45169),s=i(53046),d=i(45597),l=i(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,a.gn)([o.Lj,(0,a.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,d.vN)(e,t)}
    `.withBehaviors((0,l.H)("accent",d.jQ),(0,l.H)("hypertext",d.Xu),(0,l.H)("lightweight",d.vt),(0,l.H)("outline",d.O8),(0,l.H)("stealth",d.cg)),shadowOptions:{delegatesFocus:!0}})},65033:function(e,t,i){"use strict";i.d(t,{d$:function(){return $}});var a=i(20005),n=i(65620),o=i(87697),r=i(36153),s=i(82500),d=i(48839);class l extends d.I{}class c extends((0,s.V2)(l)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class h extends c{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{if(e.key!==r.BI)return!0;this.checked||this.readOnly||(this.checked=!0)},this.proxy.setAttribute("type","radio")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly)}defaultCheckedChanged(){var e;this.$fastController.isConnected&&!this.dirtyChecked&&(this.isInsideRadioGroup()||(this.checked=null!==(e=this.defaultChecked)&&void 0!==e&&e,this.dirtyChecked=!1))}connectedCallback(){var e,t;super.connectedCallback(),this.validate(),"radiogroup"!==(null===(e=this.parentElement)||void 0===e?void 0:e.getAttribute("role"))&&null===this.getAttribute("tabindex")&&(this.disabled||this.setAttribute("tabindex","0")),this.checkedAttribute&&(this.dirtyChecked||this.isInsideRadioGroup()||(this.checked=null!==(t=this.defaultChecked)&&void 0!==t&&t,this.dirtyChecked=!1))}isInsideRadioGroup(){return null!==this.closest("[role=radiogroup]")}clickHandler(e){this.disabled||this.readOnly||this.checked||(this.checked=!0)}}(0,a.gn)([(0,n.Lj)({attribute:"readonly",mode:"boolean"})],h.prototype,"readOnly",void 0),(0,a.gn)([o.LO],h.prototype,"name",void 0),(0,a.gn)([o.LO],h.prototype,"defaultSlottedNodes",void 0);var u=i(39181),g=i(90960);var p=i(53046),m=i(67020),v=i(56201),f=i(37139),y=i(40082),b=i(87839),x=i(2658),C=i(32804);const $=h.compose({baseName:"radio",template:(e,t)=>u.d`
    <template
        role="radio"
        class="${e=>e.checked?"checked":""} ${e=>e.readOnly?"readonly":""}"
        aria-checked="${e=>e.checked}"
        aria-required="${e=>e.required}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
    >
        <div part="control" class="control">
            <slot name="checked-indicator">
                ${t.checkedIndicator||""}
            </slot>
        </div>
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,g.Q)("defaultSlottedNodes")}></slot>
        </label>
    </template>
`,styles:(e,t)=>p.i`
        ${(0,m.j)("inline-flex")} :host {
            --input-size: calc((${x.i} / 2) + ${C._5n});
            align-items: center;
            outline: none;
            margin: calc(${C._5n} * 1px) 0;
            ${""} user-select: none;
            position: relative;
            flex-direction: row;
            transition: all 0.2s ease-in-out;
        }

        .control {
            position: relative;
            width: calc(var(--input-size) * 1px);
            height: calc(var(--input-size) * 1px);
            box-sizing: border-box;
            border-radius: 50%;
            border: calc(${C.Han} * 1px) solid ${C.rU8};
            background: ${C._Bj};
            outline: none;
            cursor: pointer;
        }

        .label__hidden {
            display: none;
            visibility: hidden;
        }

        .label {
            font-family: ${C.SVJ};
            color: ${C.CHi};
            ${""} padding-inline-start: calc(${C._5n} * 2px + 2px);
            margin-inline-end: calc(${C._5n} * 2px + 2px);
            cursor: pointer;
            font-size: ${C.cSu};
            line-height: ${C.RUt};
        }

        .control,
        .checked-indicator {
            flex-shrink: 0;
        }

        .checked-indicator {
            position: absolute;
            top: 5px;
            left: 5px;
            right: 5px;
            bottom: 5px;
            border-radius: 50%;
            display: inline-block;
            background: ${C.CHi};
            fill: ${C.CHi};
            opacity: 0;
            pointer-events: none;
        }

        :host(:enabled) .control:hover {
            background: ${C.Tm7};
            border-color: ${C.gKw};
        }

        :host(:enabled) .control:active {
            background: ${C.Ium};
            border-color: ${C.ekh};
        }

        :host(:${v.b}) .control {
            box-shadow: 0 0 0 2px ${C.IfY}, 0 0 0 4px ${C.yGg};
            border-color: ${C.yGg};
        }

        :host(.disabled) .label,
        :host(.readonly) .label,
        :host(.readonly) .control,
        :host(.disabled) .control {
            cursor: ${f.H};
        }

        :host(.checked) .checked-indicator {
            opacity: 1;
        }

        :host(.disabled) {
            opacity: ${C.VFZ};
        }
    `.withBehaviors((0,y.vF)(p.i`
                .control {
                    forced-color-adjust: none;
                    border-color: ${b.H.FieldText};
                    background: ${b.H.Field};
                }
                :host(:enabled) .control:hover,
                .control:active {
                    border-color: ${b.H.Highlight};
                    background: ${b.H.Field};
                }
                :host(:${v.b}) .control {
                    border-color: ${b.H.Highlight};
                    box-shadow: 0 0 0 2px ${b.H.Field},
                        0 0 0 4px ${b.H.FieldText};
                }
                :host(.checked:${v.b}:enabled) .control {
                    border-color: ${b.H.Highlight};
                    box-shadow: 0 0 0 2px ${b.H.Field},
                        0 0 0 4px ${b.H.FieldText};
                }
                :host(.checked:enabled) .control:hover,
                .control:active {
                    border-color: ${b.H.Highlight};
                    background: ${b.H.Highlight};
                }
                :host(.checked) .checked-indicator {
                    background: ${b.H.Highlight};
                    fill: ${b.H.Highlight};
                }
                :host(.checked) .control:hover .checked-indicator {
                    background: ${b.H.HighlightText};
                    fill: ${b.H.HighlightText};
                }
                :host(.disabled) {
                    forced-color-adjust: none;
                    opacity: 1;
                }
                :host(.disabled) .label {
                    color: ${b.H.GrayText};
                }
                :host(.disabled) .control,
                :host(.checked.disabled) .control:hover,
                .control:active {
                    background: ${b.H.Field};
                    border-color: ${b.H.GrayText};
                }
                :host(.disabled) .checked-indicator,
                :host(.checked.disabled) .control:hover .checked-indicator {
                    fill: ${b.H.GrayText};
                    background: ${b.H.GrayText};
                }
            `)),checkedIndicator:'\n    <div part="checked-indicator" class="checked-indicator"></div>\n  '})},39391:function(e,t,i){"use strict";i.d(t,{xg:function(){return w}});var a=i(20005),n=i(65620),o=i(87697),r=i(36153),s=i(82500),d=i(48839);class l extends d.I{}class c extends((0,s.V2)(l)){constructor(){super(...arguments),this.proxy=document.createElement("input")}}class h extends c{constructor(){super(),this.initialValue="on",this.keypressHandler=e=>{switch(e.key){case r.kL:case r.BI:this.checked=!this.checked}},this.clickHandler=e=>{this.disabled||this.readOnly||(this.checked=!this.checked)},this.proxy.setAttribute("type","checkbox")}readOnlyChanged(){this.proxy instanceof HTMLInputElement&&(this.proxy.readOnly=this.readOnly),this.readOnly?this.classList.add("readonly"):this.classList.remove("readonly")}checkedChanged(e,t){super.checkedChanged(e,t),this.checked?this.classList.add("checked"):this.classList.remove("checked")}}(0,a.gn)([(0,n.Lj)({attribute:"readonly",mode:"boolean"})],h.prototype,"readOnly",void 0),(0,a.gn)([o.LO],h.prototype,"defaultSlottedNodes",void 0);var u=i(39181),g=i(90960);var p=i(53046),m=i(67020),v=i(37139),f=i(56201),y=i(40082),b=i(87839),x=i(2658),C=i(22674),$=i(32804);const w=h.compose({baseName:"switch",template:(e,t)=>u.d`
    <template
        role="switch"
        aria-checked="${e=>e.checked}"
        aria-disabled="${e=>e.disabled}"
        aria-readonly="${e=>e.readOnly}"
        tabindex="${e=>e.disabled?null:0}"
        @keypress="${(e,t)=>e.keypressHandler(t.event)}"
        @click="${(e,t)=>e.clickHandler(t.event)}"
        class="${e=>e.checked?"checked":""}"
    >
        <label
            part="label"
            class="${e=>e.defaultSlottedNodes&&e.defaultSlottedNodes.length?"label":"label label__hidden"}"
        >
            <slot ${(0,g.Q)("defaultSlottedNodes")}></slot>
        </label>
        <div part="switch" class="switch">
            <slot name="switch">${t.switch||""}</slot>
        </div>
        <span class="status-message" part="status-message">
            <span class="checked-message" part="checked-message">
                <slot name="checked-message"></slot>
            </span>
            <span class="unchecked-message" part="unchecked-message">
                <slot name="unchecked-message"></slot>
            </span>
        </span>
    </template>
`,styles:(e,t)=>p.i`
        :host([hidden]) {
            display: none;
        }

        ${(0,m.j)("inline-flex")} :host {
            align-items: center;
            outline: none;
            font-family: ${$.SVJ};
            margin: calc(${$._5n} * 1px) 0;
            ${""} user-select: none;
        }

        :host(.disabled) {
            opacity: ${$.VFZ};
        }

        :host(.disabled) .label,
        :host(.readonly) .label,
        :host(.readonly) .switch,
        :host(.disabled) .switch {
            cursor: ${v.H};
        }

        .switch {
            position: relative;
            outline: none;
            box-sizing: border-box;
            width: calc(((${x.i} / 2) + ${$._5n}) * 2px);
            height: calc(((${x.i} / 2) + ${$._5n}) * 1px);
            background: ${$._Bj};
            border-radius: calc(${x.i} * 1px);
            border: calc(${$.Han} * 1px) solid ${$.rU8};
        }

        :host(:enabled) .switch:hover {
            background: ${$.Tm7};
            border-color: ${$.gKw};
            cursor: pointer;
        }

        :host(:enabled) .switch:active {
            background: ${$.Ium};
            border-color: ${$.ekh};
        }

        :host(:${f.b}) .switch {
            box-shadow: 0 0 0 2px ${$.IfY}, 0 0 0 4px ${$.yGg};
            border-color: ${$.yGg};
        }

        .checked-indicator {
            position: absolute;
            height: calc((${x.i} - (${$._5n} * 5.5)) * 1px);
            width: calc((${x.i} - (${$._5n} * 5.5)) * 1px);
            top: calc(${$._5n} * 1px);
            background: ${$.CHi};
            border-radius: 50%;
            transition: all 0.2s ease-in-out;
        }

        .status-message {
            color: ${$.CHi};
            cursor: pointer;
            font-size: ${$.cSu};
            line-height: ${$.RUt};
        }

        .label__hidden {
            display: none;
            visibility: hidden;
        }

        .label {
            color: ${$.CHi};
            font-size: ${$.cSu};
            line-height: ${$.RUt};
            margin-inline-end: calc(${$._5n} * 2px + 2px);
            cursor: pointer;
        }

        ::slotted(*) {
            ${""} margin-inline-start: calc(${$._5n} * 2px + 2px);
        }

        :host([aria-checked="true"]) .checked-indicator {
            background: ${$.w41};
        }

        :host([aria-checked="true"]) .switch {
            background: ${$.Avx};
        }

        :host([aria-checked="true"]:enabled) .switch:hover {
            background: ${$.OCG};
        }

        :host([aria-checked="true"]:enabled) .switch:hover .checked-indicator {
            background: ${$.lJV};
        }

        :host([aria-checked="true"]:enabled) .switch:active {
            background: ${$.UEO};
        }

        :host([aria-checked="true"]:enabled) .switch:active .checked-indicator {
            background: ${$.PpH};
        }

        :host([aria-checked="true"]:${f.b}:enabled) .switch {
            box-shadow: 0 0 0 2px ${$.IfY}, 0 0 0 4px ${$.yGg};
            border-color: transparent;
        }

        .unchecked-message {
            display: block;
        }

        .checked-message {
            display: none;
        }

        :host([aria-checked="true"]) .unchecked-message {
            display: none;
        }

        :host([aria-checked="true"]) .checked-message {
            display: block;
        }
    `.withBehaviors(new C.O(p.i`
                .checked-indicator {
                    left: calc(${$._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    left: calc(
                        (((${x.i} / 2) + ${$._5n}) + ${$._5n}) * 1px
                    );
                }
            `,p.i`
                .checked-indicator {
                    right: calc(${$._5n} * 1px);
                }

                :host([aria-checked="true"]) .checked-indicator {
                    right: calc(
                        (((${x.i} / 2) + ${$._5n}) + ${$._5n}) * 1px
                    );
                }
            `),(0,y.vF)(p.i`
                .checked-indicator,
                :host(:enabled) .switch:active .checked-indicator {
                    forced-color-adjust: none;
                    background: ${b.H.FieldText};
                }
                .switch {
                    forced-color-adjust: none;
                    background: ${b.H.Field};
                    border-color: ${b.H.FieldText};
                }
                :host(:enabled) .switch:hover {
                    background: ${b.H.HighlightText};
                    border-color: ${b.H.Highlight};
                }
                :host(.checked) .switch {
                    background: ${b.H.Highlight};
                    border-color: ${b.H.Highlight};
                }
                :host(.checked:enabled) .switch:hover,
                :host(:enabled) .switch:active {
                    background: ${b.H.HighlightText};
                    border-color: ${b.H.Highlight};
                }
                :host(.checked) .checked-indicator {
                    background: ${b.H.HighlightText};
                }
                :host(.checked:enabled) .switch:hover .checked-indicator {
                    background: ${b.H.Highlight};
                }
                :host(:${f.b}) .switch {
                    border-color: ${b.H.Highlight};
                    box-shadow: 0 0 0 2px ${b.H.Field},
                        0 0 0 4px ${b.H.FieldText};
                }
                :host(.checked:${f.b}:enabled) .switch {
                    box-shadow: 0 0 0 2px ${b.H.Field},
                        0 0 0 4px ${b.H.FieldText};
                }
                :host(.disabled) {
                    opacity: 1;
                }
                :host(.disabled) .checked-indicator {
                    background: ${b.H.GrayText};
                }
                :host(.disabled) .switch {
                    background: ${b.H.Field};
                    border-color: ${b.H.GrayText};
                }
                .status-message,
                .label {
                    color: ${b.H.FieldText};
                }
            `)),switch:'\n    <span class="checked-indicator" part="checked-indicator"></span>\n  '})},77615:function(e,t,i){"use strict";i.d(t,{D:function(){return n}});var a=i(57905);function n(e){return a.K.getOrCreate(e).withPrefix("cs")}},64062:function(e,t,i){"use strict";i.d(t,{f:function(){return p}});var a=i(91281),n=i(30569),o=i(32804),r=i(2658),s=i(22674),d=i(37139),l=i(56201),c=i(40082),h=i(87839),u=i(53046),g=i(67020);const p=a.U.compose({baseName:"flipper",styles:(e,t)=>u.i`
        ${(0,g.j)("inline-flex")} :host {
            align-items: center;
            background: ${o._jX};
            border-radius: calc(${o.UWU} * 1px);
            color: ${o.CHi};
            fill: currentcolor;
            height: calc(${r.i} * 1px);
            justify-content: center;
            outline: none;
            width: calc(${o._5n} * 4px);
        }

        :host([disabled]) {
            cursor: ${d.H};
            opacity: ${o.VFZ};
            pointer-events: none;
        }

        .next,
        .previous {
            display: flex;
        }

        :host(:not([disabled]):hover) {
            cursor: pointer;
            background: ${o.d$x};
        }

        :host(:not([disabled]):active) {
            background: ${o._ii};
        }

        :host(:${l.b}) {
            border-color: ${o.yGg};
        }

        :host::-moz-focus-inner {
            border: 0;
        }
    `.withBehaviors((0,c.vF)(u.i`
                :host {
                    background: ${h.H.ButtonFace};
                    border-color: ${h.H.ButtonText};
                }
                :host .next,
                :host .previous {
                    color: ${h.H.ButtonText};
                    fill: currentcolor;
                }
                :host(:not([disabled]):hover) {
                    background: ${h.H.Highlight};
                }
                :host(:not([disabled]):hover) .next,
                :host(:not([disabled]):hover) .previous {
                    color: ${h.H.HighlightText};
                    fill: currentcolor;
                }
                :host([disabled]) {
                    opacity: 1;
                }
                :host([disabled]),
                :host([disabled]) .next,
                :host([disabled]) .previous {
                    border-color: ${h.H.GrayText};
                    color: ${h.H.GrayText};
                    fill: currentcolor;
                }
                :host(:${l.b}) {
                    forced-color-adjust: none;
                    border-color: ${h.H.Highlight};
                    box-shadow: 0 0 0 2px ${h.H.ButtonFace},
                        0 0 0 4px ${h.H.ButtonText};
                }
            `),new s.O(u.i``,u.i`
                :host {
                    transform: scaleX(-1);
                }
            `)),template:n._})},10326:function(e,t,i){"use strict";i.d(t,{RM:function(){return h}});var a=i(81707),n=i(39181);var o=i(32804),r=i(2658),s=i(53046),d=i(67020),l=i(40082),c=i(87839);const h=a.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,d.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,l.vF)(s.i`
                :host {
                    color: ${c.H.ButtonText};
                    fill: currentcolor;
                }
            `))})},81707:function(e,t,i){"use strict";i.d(t,{m:function(){return s}});var a=i(33940),n=i(48839),o=i(65620),r=i(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,a.gn)([(0,o.Lj)({attribute:"show-menu-button",mode:"boolean"}),(0,a.w6)("design:type",Boolean)],s.prototype,"showMenuButton",void 0),(0,a.gn)([o.Lj,(0,a.w6)("design:type",Object)],s.prototype,"href",void 0),(0,a.gn)([o.Lj,(0,a.w6)("design:type",String)],s.prototype,"target",void 0),(0,a.gn)([r.LO,(0,a.w6)("design:type",String)],s.prototype,"anchorTelemetryTag",void 0)},95201:function(e,t,i){"use strict";i.d(t,{Q:function(){return d},U:function(){return s}});var a=i(53046),n=i(67020),o=i(64799),r=i(32804);const s=a.j`position: relative; z-index: ${r.kcg};`,d=(e,t)=>a.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,i){"use strict";i.d(t,{e:function(){return c},m:function(){return h}});var a=i(20005),n=i(65620),o=i(87697),r=i(48839),s=i(7775),d=i(51208),l=i(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,a.gn)([n.Lj],c.prototype,"download",void 0),(0,a.gn)([n.Lj],c.prototype,"href",void 0),(0,a.gn)([n.Lj],c.prototype,"hreflang",void 0),(0,a.gn)([n.Lj],c.prototype,"ping",void 0),(0,a.gn)([n.Lj],c.prototype,"referrerpolicy",void 0),(0,a.gn)([n.Lj],c.prototype,"rel",void 0),(0,a.gn)([n.Lj],c.prototype,"target",void 0),(0,a.gn)([n.Lj],c.prototype,"type",void 0),(0,a.gn)([o.LO],c.prototype,"defaultSlottedContent",void 0);class h{}(0,a.gn)([(0,n.Lj)({attribute:"aria-expanded"})],h.prototype,"ariaExpanded",void 0),(0,l.e)(h,s.v),(0,l.e)(c,d.hW,h)},45169:function(e,t,i){"use strict";i.d(t,{g:function(){return s}});var a=i(39181),n=i(58952),o=i(90960),r=i(51208);const s=(e,t)=>a.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>
`},65130:function(e,t,i){"use strict";i.d(t,{Z:function(){return n}});var a=i(48839);class n extends a.I{}},91281:function(e,t,i){"use strict";i.d(t,{U:function(){return s}});var a=i(20005),n=i(65620),o=i(48839),r=i(16882);class s extends o.I{constructor(){super(...arguments),this.hiddenFromAT=!0,this.direction=r.L.next}keyupHandler(e){if(!this.hiddenFromAT){const t=e.key;"Enter"!==t&&"Space"!==t||this.$emit("click",e),"Escape"===t&&this.blur()}}}(0,a.gn)([(0,n.Lj)({mode:"boolean"})],s.prototype,"disabled",void 0),(0,a.gn)([(0,n.Lj)({attribute:"aria-hidden",converter:n.bw})],s.prototype,"hiddenFromAT",void 0),(0,a.gn)([n.Lj],s.prototype,"direction",void 0)},16882:function(e,t,i){"use strict";i.d(t,{L:function(){return a}});const a={next:"next",previous:"previous"}},30569:function(e,t,i){"use strict";i.d(t,{_:function(){return r}});var a=i(39181),n=i(13988),o=i(16882);const r=(e,t)=>a.d`
    <template
        role="button"
        aria-disabled="${e=>!!e.disabled||void 0}"
        tabindex="${e=>e.hiddenFromAT?-1:0}"
        class="${e=>e.direction} ${e=>e.disabled?"disabled":""}"
        @keyup="${(e,t)=>e.keyupHandler(t.event)}"
    >
        ${(0,n.g)((e=>e.direction===o.L.next),a.d`
                <span part="next" class="next">
                    <slot name="next">
                        ${t.next||""}
                    </slot>
                </span>
            `)}
        ${(0,n.g)((e=>e.direction===o.L.previous),a.d`
                <span part="previous" class="previous">
                    <slot name="previous">
                        ${t.previous||""}
                    </slot>
                </span>
            `)}
    </template>
`},49176:function(e,t,i){"use strict";i.d(t,{G:function(){return u},m:function(){return g}});var a=i(20005),n=i(65620),o=i(87697),r=i(36153),s=i(11673),d=i(78945),l=i(51208),c=i(86076),h=i(48839);const u={vertical:"vertical",horizontal:"horizontal"};class g extends h.I{constructor(){super(...arguments),this.orientation=u.horizontal,this.activeindicator=!0,this.showActiveIndicator=!0,this.prevActiveTabIndex=0,this.activeTabIndex=0,this.ticking=!1,this.change=()=>{this.$emit("change",this.activetab)},this.isDisabledElement=e=>"true"===e.getAttribute("aria-disabled"),this.isFocusableElement=e=>!this.isDisabledElement(e),this.setTabs=()=>{const e="gridColumn",t="gridRow",i=this.isHorizontal()?e:t;this.activeTabIndex=this.getActiveIndex(),this.showActiveIndicator=!1,this.tabs.forEach(((e,t)=>{if("tab"===e.slot){const i=this.activeTabIndex===t&&this.isFocusableElement(e);this.activeindicator&&this.isFocusableElement(e)&&(this.showActiveIndicator=!0);const a=this.tabIds[t],n=this.tabpanelIds[t];e.setAttribute("id",a),e.setAttribute("aria-selected",i?"true":"false"),e.setAttribute("aria-controls",n),e.addEventListener("click",this.handleTabClick),e.addEventListener("keydown",this.handleTabKeyDown),e.setAttribute("tabindex",i?"0":"-1"),i&&(this.activetab=e)}e.style.gridColumn="",e.style.gridRow="",e.style[i]=`${t+1}`,this.isHorizontal()?e.classList.remove("vertical"):e.classList.add("vertical")}))},this.setTabPanels=()=>{this.tabpanels.forEach(((e,t)=>{const i=this.tabIds[t],a=this.tabpanelIds[t];e.setAttribute("id",a),e.setAttribute("aria-labelledby",i),this.activeTabIndex!==t?e.setAttribute("hidden",""):e.removeAttribute("hidden")}))},this.handleTabClick=e=>{const t=e.currentTarget;1===t.nodeType&&this.isFocusableElement(t)&&(this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=this.tabs.indexOf(t),this.setComponent())},this.handleTabKeyDown=e=>{if(this.isHorizontal())switch(e.key){case r.BE:e.preventDefault(),this.adjustBackward(e);break;case r.mr:e.preventDefault(),this.adjustForward(e)}else switch(e.key){case r.SB:e.preventDefault(),this.adjustBackward(e);break;case r.iF:e.preventDefault(),this.adjustForward(e)}switch(e.key){case r.tU:e.preventDefault(),this.adjust(-this.activeTabIndex);break;case r.Kh:e.preventDefault(),this.adjust(this.tabs.length-this.activeTabIndex-1)}},this.adjustForward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)+1:1,i===t.length&&(i=0);i<t.length&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}if(this.activetab&&i===t.indexOf(this.activetab))break;i+1>=t.length?i=0:i+=1}},this.adjustBackward=e=>{const t=this.tabs;let i=0;for(i=this.activetab?t.indexOf(this.activetab)-1:0,i=i<0?t.length-1:i;i>=0&&t.length>1;){if(this.isFocusableElement(t[i])){this.moveToTabByIndex(t,i);break}i-1<0?i=t.length-1:i-=1}},this.moveToTabByIndex=(e,t)=>{const i=e[t];this.activetab=i,this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=t,i.focus(),this.setComponent()}}orientationChanged(){this.$fastController.isConnected&&(this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}activeidChanged(e,t){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.prevActiveTabIndex=this.tabs.findIndex((t=>t.id===e)),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabsChanged(){this.$fastController.isConnected&&this.tabs.length<=this.tabpanels.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}tabpanelsChanged(){this.$fastController.isConnected&&this.tabpanels.length<=this.tabs.length&&(this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.setTabs(),this.setTabPanels(),this.handleActiveIndicatorPosition())}getActiveIndex(){return void 0!==this.activeid?-1===this.tabIds.indexOf(this.activeid)?0:this.tabIds.indexOf(this.activeid):0}getTabIds(){return this.tabs.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`tab-${(0,s.EL)()}`}))}getTabPanelIds(){return this.tabpanels.map((e=>{var t;return null!==(t=e.getAttribute("id"))&&void 0!==t?t:`panel-${(0,s.EL)()}`}))}setComponent(){this.activeTabIndex!==this.prevActiveTabIndex&&(this.activeid=this.tabIds[this.activeTabIndex],this.focusTab(),this.change())}isHorizontal(){return this.orientation===u.horizontal}handleActiveIndicatorPosition(){this.showActiveIndicator&&this.activeindicator&&this.activeTabIndex!==this.prevActiveTabIndex&&(this.ticking?this.ticking=!1:(this.ticking=!0,this.animateActiveIndicator()))}animateActiveIndicator(){this.ticking=!0;const e=this.isHorizontal()?"gridColumn":"gridRow",t=this.isHorizontal()?"translateX":"translateY",i=this.isHorizontal()?"offsetLeft":"offsetTop",a=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`;const n=this.activeIndicatorRef[i];this.activeIndicatorRef.style[e]=`${this.prevActiveTabIndex+1}`;const o=n-a;this.activeIndicatorRef.style.transform=`${t}(${o}px)`,this.activeIndicatorRef.classList.add("activeIndicatorTransition"),this.activeIndicatorRef.addEventListener("transitionend",(()=>{this.ticking=!1,this.activeIndicatorRef.style[e]=`${this.activeTabIndex+1}`,this.activeIndicatorRef.style.transform=`${t}(0px)`,this.activeIndicatorRef.classList.remove("activeIndicatorTransition")}))}adjust(e){this.prevActiveTabIndex=this.activeTabIndex,this.activeTabIndex=(0,d.wt)(0,this.tabs.length-1,this.activeTabIndex+e),this.setComponent()}focusTab(){this.tabs[this.activeTabIndex].focus()}connectedCallback(){super.connectedCallback(),this.tabIds=this.getTabIds(),this.tabpanelIds=this.getTabPanelIds(),this.activeTabIndex=this.getActiveIndex()}}(0,a.gn)([n.Lj],g.prototype,"orientation",void 0),(0,a.gn)([n.Lj],g.prototype,"activeid",void 0),(0,a.gn)([o.LO],g.prototype,"tabs",void 0),(0,a.gn)([o.LO],g.prototype,"tabpanels",void 0),(0,a.gn)([(0,n.Lj)({mode:"boolean"})],g.prototype,"activeindicator",void 0),(0,a.gn)([o.LO],g.prototype,"activeIndicatorRef",void 0),(0,a.gn)([o.LO],g.prototype,"showActiveIndicator",void 0),(0,c.e)(g,l.hW)},78945:function(e,t,i){"use strict";function a(e,t,i){return i<e?t:i>t?e:i}function n(e,t,i){return Math.min(Math.max(i,e),t)}function o(e,t,i=0){return[t,i]=[t,i].sort(((e,t)=>e-t)),t<=e&&e<i}i.d(t,{Z2:function(){return o},b9:function(){return n},wt:function(){return a}})},11673:function(e,t,i){"use strict";i.d(t,{EL:function(){return n}});let a=0;function n(e=""){return`${e}${a++}`}},50539:function(e,t,i){"use strict";var a=i(35066),n=i(23857),o=i(68025),r=i(72160),s=i(86176),d=i(71155),l=Math.min;t.Z=function(e,t,i){for(var c=i?o.Z:n.Z,h=e[0].length,u=e.length,g=u,p=Array(u),m=1/0,v=[];g--;){var f=e[g];g&&t&&(f=(0,r.Z)(f,(0,s.Z)(t))),m=l(f.length,m),p[g]=!i&&(t||h>=120&&f.length>=120)?new a.Z(g&&f):void 0}f=e[0];var y=-1,b=p[0];e:for(;++y<h&&v.length<m;){var x=f[y],C=t?t(x):x;if(x=i||0!==x?x:0,!(b?(0,d.Z)(b,C):c(v,C,i))){for(g=u;--g;){var $=p[g];if(!($?(0,d.Z)($,C):c(e[g],C,i)))continue e}b&&b.push(C),v.push(x)}}return v}},35988:function(e,t,i){"use strict";var a=i(59472);t.Z=function(e){return(0,a.Z)(e)?e:[]}},33294:function(e,t,i){"use strict";var a=i(72160),n=i(50539),o=i(35651),r=i(35988),s=(0,o.Z)((function(e){var t=(0,a.Z)(e,r.Z);return t.length&&t[0]===e[0]?(0,n.Z)(t):[]}));t.Z=s},12697:function(e,t,i){"use strict";var a=i(84708);t.Z=function(e){return"number"==typeof e&&e==(0,a.Z)(e)}}}]);A
Eo