e,"userLocation",void 0),(0,w.gn)([V.LO],at.prototype,"translucentFeedModeEnabled",void 0);var st=i(25921),lt=i(55978),ct=i(39181),dt=i(13988),ut=i(58952),ht=i(18864),pt=i(40565),gt=i(20048),ft=i(82128);gt.R;const vt=e=>ct.d`
    ${(0,dt.g)((e=>{var t;return null===(t=e.provider)||void 0===t?void 0:t.logo}),ct.d`
        <img
            slot="image"
            src="${e=>{var t;return null===(t=e.provider)||void 0===t?void 0:t.logo}}"
            alt="${e=>{var t;return null===(t=e.provider)||void 0===t?void 0:t.name}}"
        />
    `)}
    ${(0,dt.g)((t=>e),ct.d`<span>${e=>{var t;return null===(t=e.provider)||void 0===t?void 0:t.name}}</span>`)}
    ${(0,dt.g)((t=>!e),ct.d`<span>${e=>{var t;return wt(null===(t=e.provider)||void 0===t?void 0:t.name,e.publishedDate)}}</span>`)}
`,mt=(e,t="media")=>ct.d`
    ${(0,dt.g)((e=>{var t;return null===(t=e.imageInfo)||void 0===t?void 0:t.sourceImageUrl}),ct.d`
        <img
            slot="${t}"
            height="${e.height}"
            width="${e.width}"
            src="${e=>{var t;return null===(t=e.imageInfo)||void 0===t?void 0:t.sourceImageUrl}}"
            alt="${e=>{var t;return null===(t=e.imageInfo)||void 0===t?void 0:t.altText}}"
            part="img"
        />
    `)}
`,yt=ct.d`
    <style>
        .select-carousel-card-title {
            color: inherit;
            text-decoration: none;
        }
        a.select-carousel-card-title:hover {
            text-decoration: underline;
        }
    </style>
    ${(0,dt.g)((e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.clickUrl}),ct.d`
        <a 
            role="heading" 
            aria-level="2" 
            class="select-carousel-card-title" 
            target="_blank" 
            href="${e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.clickUrl}}" 
            style="${e=>{var t,i;return"moneyTopicStripeCarouselTitle"===(null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.id)?"display: inline-block; width: 100%;":""}}"
            data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarouselTitle)||void 0===i?void 0:i.getMetadataTag()}}"
        >
            ${e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.text}}
        </a>
    `)}
    ${(0,dt.g)((e=>{var t,i;return!(null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.clickUrl)}),ct.d`
        <span class="select-carousel-card-title" role="heading" aria-level="2">
            ${e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.text}}
        </span>
    `)}
`,bt=ct.d`
    <span class="about-slug-glyph" title="${e=>{var t;return function(e){if(!e)return"";const t=38;let i=0;return e.split(" ").map((e=>(i+=e.length+1,i>t?(i=0,e+"\n"):e))).join(" ")}(null===(t=e.selectEntitiesData)||void 0===t?void 0:t.titleTooltip)}}">
        <svg
            width="16"
            height="16"
            viewBox="0 0 16 16"
            xmlns="http://www.w3.org/2000/svg"
        >
            <path
                d="M8.49206 6.91012C8.44972 6.67687 8.24557 6.49999 8.00011 6.49999C7.72397 6.49999 7.50011 6.72385 7.50011 6.99999V11.5021L7.50817 11.592C7.55051 11.8253 7.75465 12.0021 8.00011 12.0021C8.27626 12.0021 8.50011 11.7783 8.50011 11.5021V6.99999L8.49206 6.91012ZM8.79883 4.74999C8.79883 4.33578 8.46304 3.99999 8.04883 3.99999C7.63461 3.99999 7.29883 4.33578 7.29883 4.74999C7.29883 5.16421 7.63461 5.49999 8.04883 5.49999C8.46304 5.49999 8.79883 5.16421 8.79883 4.74999ZM16 8C16 3.58172 12.4183 0 8 0C3.58172 0 0 3.58172 0 8C0 12.4183 3.58172 16 8 16C12.4183 16 16 12.4183 16 8ZM1 8C1 4.13401 4.13401 1 8 1C11.866 1 15 4.13401 15 8C15 11.866 11.866 15 8 15C4.13401 15 1 11.866 1 8Z"
            />
        </svg>
    </span>
`,Ct=ct.d`
    ${(0,dt.g)((e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.clickUrl}),ct.d`
        <a target="_blank" tabindex="-1" aria-label="${e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.text}}" href="${e=>{var t;return null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title.clickUrl}}" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarouselTitle)||void 0===i?void 0:i.getMetadataTag()}}">
            <svg width="7" height="12" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="chevron-icon">
                <path d="M0.645817 0.147077C0.840731 -0.0485327 1.15731 -0.0490966 1.35292 0.145817L6.83741 5.6108C7.05312 5.82574 7.05312 6.17505 6.83741 6.39L1.35292 11.855C1.15731 12.0499 0.840731 12.0493 0.645817 11.8537C0.450903 11.6581 0.451467 11.3415 0.647077 11.1466L5.81166 6.0004L0.647077 0.854183C0.451467 0.659268 0.450903 0.342687 0.645817 0.147077Z" fill-opacity="0.83"/>
            </svg> 
        </a>
    `)}
    ${(0,dt.g)((e=>{var t,i;return!(null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.title)||void 0===i?void 0:i.clickUrl)}),ct.d`
        <svg width="7" height="12" viewBox="0 0 7 12" fill="none" xmlns="http://www.w3.org/2000/svg" class="chevron-icon">
            <path d="M0.645817 0.147077C0.840731 -0.0485327 1.15731 -0.0490966 1.35292 0.145817L6.83741 5.6108C7.05312 5.82574 7.05312 6.17505 6.83741 6.39L1.35292 11.855C1.15731 12.0499 0.840731 12.0493 0.645817 11.8537C0.450903 11.6581 0.451467 11.3415 0.647077 11.1466L5.81166 6.0004L0.647077 0.854183C0.451467 0.659268 0.450903 0.342687 0.645817 0.147077Z" fill-opacity="0.83"/>
        </svg> 
    `)}   
`,xt=ct.d`
    <fluent-anchor class="heading-seeall ${e=>{return(null===(i=(t=e).selectEntitiesData)||void 0===i?void 0:i.subtitle)||(null===(r=t.selectEntitiesData)||void 0===r?void 0:r.subtitleDesc)?"action":"";var t,i,r}}" appearance="lightweight" slot="action" target="_blank" href="${e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.seeAll)||void 0===i?void 0:i.clickUrl}}" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarouselSeeAll)||void 0===i?void 0:i.getMetadataTag()}}">
        <span class="seeAllFontColor">
            ${e=>{var t,i;return null===(i=null===(t=e.selectEntitiesData)||void 0===t?void 0:t.seeAll)||void 0===i?void 0:i.text}}
        </span>
    </fluent-anchor>
`;function wt(e,t,i){let r="";return e&&t?r=`${e} · ${t}`:e&&!t?r=`${e}`:!e&&t&&(r=`${t}`),i?`${r}${i}`:`${r}`}const $t=ct.d`
    <msn-card-button
        class="card-button"
        style="display: inline-flex;"
        select-title=${e=>e.cardActionTooltips&&e.cardActionTooltips.seeMore}
        unselect-icon=${e=>pt.Z}
        filled-icon-path=${e=>"M6.75 10C6.75 10.9665 5.9665 11.75 5 11.75C4.0335 11.75 3.25 10.9665 3.25 10C3.25 9.0335 4.0335 8.25 5 8.25C5.9665 8.25 6.75 9.0335 6.75 10ZM11.75 10C11.75 10.9665 10.9665 11.75 10 11.75C9.0335 11.75 8.25 10.9665 8.25 10C8.25 9.0335 9.0335 8.25 10 8.25C10.9665 8.25 11.75 9.0335 11.75 10ZM15 11.75C15.9665 11.75 16.75 10.9665 16.75 10C16.75 9.0335 15.9665 8.25 15 8.25C14.0335 8.25 13.25 9.0335 13.25 10C13.25 10.9665 14.0335 11.75 15 11.75Z"}
        layout="nobackplate"
        @selected-state-changed=${(e,t)=>e.toggleCardActionMenu&&e.toggleCardActionMenu(e,t.event)}
        select-telemetry-tag=${e=>e.telemetry&&e.telemetry.seeMore&&e.telemetry.seeMore.getMetadataTag()}
    >
    </msn-card-button>
`,St=ct.d`
    <fluent-card class="select-carousel-card${(e,t)=>{var i;return(null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)?"-slim":""}} bing-video-carousel-card" style="${e=>e.toggleCardActionMenu?`height: ${(_.height+134).toString()}px`:""}"
        part="fluent-card">
        <msft-content-card
            href="${e=>e.clickUrl}"
            target="${e=>e.target||"_blank"}"
            title="${e=>e.title}"
            data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}"
            :anchorTelemetryTag=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.destination}}
            :handleContentCardLinkClick=${e=>e.handleContentCardClickOverride}
        >
            <div class="play-icon" slot="media">
                ${'<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg" slot="icon">\n    <g filter="url(#filter0_b_30_15226)">\n        <circle cx="20" cy="20" r="19" fill="url(#paint0_linear_30_15226)" />\n        <circle cx="20" cy="20" r="19.5" stroke="url(#paint1_linear_30_15226)" />\n    </g>\n    <path d="M27.2221 18.6846C28.2586 19.2544 28.2586 20.7437 27.2221 21.3135L17.2226 26.8105C16.2229 27.36 15 26.6367 15 25.496L15 14.5021C15 13.3614 16.2229 12.6381 17.2226 13.1877L27.2221 18.6846Z" fill="white" />\n    <defs>\n        <filter id="filter0_b_30_15226" x="-10" y="-10" width="60" height="60" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">\n            <feFlood flood-opacity="0" result="BackgroundImageFix" />\n            <feGaussianBlur in="BackgroundImage" stdDeviation="5" />\n            <feComposite in2="SourceAlpha" operator="in" result="effect1_backgroundBlur_30_15226" />\n            <feBlend mode="normal" in="SourceGraphic" in2="effect1_backgroundBlur_30_15226" result="shape" />\n        </filter>\n        <linearGradient id="paint0_linear_30_15226" x1="1" y1="1" x2="39" y2="39" gradientUnits="userSpaceOnUse">\n            <stop stop-opacity="0.5" />\n            <stop offset="1" stop-opacity="0.7" />\n        </linearGradient>\n        <linearGradient id="paint1_linear_30_15226" x1="20" y1="1" x2="20" y2="39" gradientUnits="userSpaceOnUse">\n            <stop stop-color="white" stop-opacity="0.4" />\n            <stop offset="1" stop-color="white" stop-opacity="0.2" />\n        </linearGradient>\n    </defs>\n</svg>'}
            </div>
            <div class="video-length" slot="media">
                <div aria-hidden="true">${e=>e.bingVideoDuration}</div>
                <div class="video-sr-only">${e=>function(e){if(!e)return e;const[t,i,r]=e.split(":").reverse().map((e=>parseInt(e)));return"Video duration "+(r?`${r} hour${1!=r?"s":""} `:"")+(r||i?`${i} minute${1!=i?"s":""} `:"")+`${t} second${1!=t?"s":""}`}(e.bingVideoDuration)}</div>
            </div>
            ${(0,dt.g)(((e,t)=>{var i;return!(null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)}),ct.d`
                <msft-attribution slot="attribution" class="attribution-size-restraint">
                    ${(0,dt.g)((e=>e.provider),vt(!1))}
                </msft-attribution>
            `)}
            ${(e,t)=>{var i;return mt((null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)?H:_)}}
            ${e=>{var t;return null!==(t=e.title)&&void 0!==t?t:"Recommended videos"}}
            ${(0,dt.g)(((e,t)=>{var i;return!(null===(i=e.imageInfo)||void 0===i?void 0:i.sourceImageUrl)&&e.abstract&&!t.parent.isSlimSize}),ct.d`
                <p slot="abstract" class="select-carousel-card-abstract">
                    ${e=>e.abstract}
                </p>
            `)}
            ${(0,dt.g)((e=>e.toggleCardActionMenu),ct.d`
                <div slot="end-actions" style="gap:0">
                    ${$t}
                </div>
            `)}
        </msft-content-card>
    </fluent-card>
`,Tt=e=>ct.d`
        <fluent-card class="comics-carousel-card ${t=>e&&t.publishedDate?"comics-carousel-card-timestamped":""}">
            <msft-content-card
                href="${e=>e.clickUrl}"
                target="_blank"
                data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}"
                :anchorTelemetryTag=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.destination}}
            >
                ${()=>mt(T)}
                <msft-attribution slot="attribution" class="attribution-size-restraint">
                    ${(0,dt.g)((e=>e.provider),vt(!0))}
                </msft-attribution>
                <div class="select-carousel-item-body">
                    <div>${e=>e.title}</div>
                    ${(0,dt.g)((t=>e&&t.publishedDate),(e=>ct.d`<div class="select-carousel-item-body-date">${e.publishedDate||""}</div>`))}
                </div>
            </msft-content-card>
        </fluent-card>
    `,kt=ct.d`
    <fluent-card class="editors-pick-card">
        <msft-content-card
            href="${e=>e.clickUrl}"
            target="_blank"
            title="${e=>e.title}"
            data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}"
            :anchorTelemetryTag=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.destination}}
        >
            <msft-attribution slot="attribution" class="attribution-size-restraint">
                ${(0,dt.g)((e=>e.provider),vt(!1))}
            </msft-attribution>
            ${()=>mt(L)}
            ${e=>e.title}
            ${(0,dt.g)((e=>{var t;return!(null===(t=e.imageInfo)||void 0===t?void 0:t.sourceImageUrl)&&e.abstract}),ct.d`
                <p slot="abstract" class="select-carousel-card-abstract">
                    ${e=>e.abstract}
                </p>
            `)}
        </msft-content-card>
    </fluent-card>
`,Ot=ct.d`
    <fluent-card class="manga-carousel-card${(e,t)=>{var i;return(null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)?"-slim":""}}"
        style="${(e,t)=>{var i,r,n,o;return`width: ${o=null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.uiImageSize,o||(o=ae),o.width.toString()+"px"}; height: ${((e,t)=>(e||(e=ae),("number"!=typeof t||t<0)&&(t=108),(e.height+t).toString()+"px"))(null===(r=null==t?void 0:t.parent)||void 0===r?void 0:r.uiImageSize,null===(n=null==t?void 0:t.parent)||void 0===n?void 0:n.uiTitleAreaHeight)};`}}">
        <msft-content-card
            href="${e=>e.clickUrl}"
            target="${e=>e.target||"_blank"}"
            title="${e=>e.title}"
            data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}"
            :anchorTelemetryTag=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.destination}}
            :handleContentCardLinkClick=${e=>e.handleContentCardClickOverride}
        >
            ${(0,dt.g)((e=>e.contentIndicator),ct.d`
                ${(e,t)=>{var i,r;return null===(r=(i=t.parent).getContentIndicator)||void 0===r?void 0:r.call(i,e.contentIndicator,e.contentIndicatorLabel)}}
            `)}
            ${(0,dt.g)(((e,t)=>{var i;return!(null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)}),ct.d`
                <msft-attribution slot="attribution" class="attribution-size-restraint">
                    ${(0,dt.g)((e=>e.provider),vt(!1))}
                </msft-attribution>
            `)}
            ${(e,t)=>{var i,r;return mt(null!==(r=null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.uiImageSize)&&void 0!==r?r:ae)}}
            ${e=>e.title}
            ${(0,dt.g)(((e,t)=>{var i;return!(null===(i=e.imageInfo)||void 0===i?void 0:i.sourceImageUrl)&&e.abstract&&!t.parent.isSlimSize}),ct.d`
                <p slot="abstract" class="select-carousel-card-abstract">
                    ${e=>e.abstract}
                </p>
            `)}
            ${(0,dt.g)((e=>e.toggleCardActionMenu),ct.d`
                <div slot="end-actions" style="gap:0">
                    ${$t}
                </div>
            `)}
        </msft-content-card>
    </fluent-card>
`,It=ct.d`
    <div class="hidden-quotes">
        +${e=>{var t;return Qe((null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.quoteNum)||0)}} ${(e,t)=>{var i,r;return null===(r=null===(i=t.parent)||void 0===i?void 0:i.selectEntitiesData)||void 0===r?void 0:r.symbols}}
    </div>
`,At=ct.d`
    <div class="percent-${(e,t)=>{var i;return Be((null===(i=e.moneyTopicStripeData)||void 0===i?void 0:i.changePercent)||0,t.parent)}}-${Je()}"> 
        ${e=>{var t;return Ze((null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.changePercent)||0)}} 
    </div>
    <div class="symbols"> ${e=>{var t,i;return((i=(null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.symbols)||[])[0]||"")+"/"+(i[1]||"")+"/"+(i[2]||"")}}</div>
    <div class="year-return"> ${(e,t)=>{var i,r;return null===(r=null===(i=t.parent)||void 0===i?void 0:i.selectEntitiesData)||void 0===r?void 0:r.yearReturn}} </div>
    ${(0,dt.g)((e=>{var t;return Qe((null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.quoteNum)||0)>0}),It)}
`,Pt=ct.d`
    <div class="total-value"> ${e=>{var t,i;return(null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.investorTotalValue)?function(e){try{if(e>=1e12)return`$${(e/1e12).toFixed(2)}T`;if(e>=1e9&&e<1e12)return`$${(e/1e9).toFixed(2)}B`;if(e>=1e6&&e<1e9)return`$${(e/1e6).toFixed(2)}M`;if(e>=1e3&&e<1e6)return`$${(e/1e3).toFixed(2)}K`;if(e<1e3)return`$${e}`}catch(t){return(0,B.H)(q.t5z,`exception while formating total value: ${t?t.message:""}`),e.toString()}}(Number(null===(i=e.moneyTopicStripeData)||void 0===i?void 0:i.investorTotalValue)):""}}</div>
    <div class="investor-percent percent-${(e,t)=>{var i;return Be((null===(i=e.moneyTopicStripeData)||void 0===i?void 0:i.changePercent)||0,t.parent)}}-${Je()}"> 
        ${e=>{var t;return Ze(Number(null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.changePercent)||0)}} 
    </div>
    <div class="value-subtitle"> ${(e,t)=>t.parent.strings.portfolioValue} </div>
    <div class="growth-subtitle"> ${(e,t)=>t.parent.strings.avgAUMGrowth} </div>
`,Lt=ct.d`
    ${(0,dt.g)((e=>{var t,i;return!!((i=(null===(t=e.imageInfo)||void 0===t?void 0:t.sourceImageUrl)||"")&&i.length&&i.includes("https"))}),ct.d`
        <fluent-card class="money-topic-card">
            <msft-content-card
                title="${e=>e.title}"
                href="${e=>e.clickUrl}"
                target="_blank"
                data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}"
                :anchorTelemetryTag=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.destination}}
            >
                ${()=>mt(N)}
                <div class="select-carousel-item-body ${e=>{var t;return(null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.type)||""}}">
                    <div class="title-wrapper">
                        <div class="title">${e=>e.title}</div>
                        ${(0,dt.g)((e=>e.subTitle),ct.d`<div class="subTitle">${e=>e.subTitle}</div>`)}
                    </div>
                    <div class="grid-${Je()}">
                        ${(0,dt.g)((e=>{var t;return(null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.type)===je.Portfolio}),At)}
                        ${(0,dt.g)((e=>{var t;return(null===(t=e.moneyTopicStripeData)||void 0===t?void 0:t.type)===je.Investors}),Pt)}
                    </div>
                </div>
            </msft-content-card>
        </fluent-card>
    `)}
    
`,Mt=ct.d`
<fluent-card class="select-carousel-card article-carousel-card" part="fluent-card">
    <msft-article-card card-fill-color="${e=>{var t,i;return null===(i=null===(t=e.colorSamples)||void 0===t?void 0:t.find((e=>e.isDarkMode===(0,Ie.Y)())))||void 0===i?void 0:i.hexColor}}">
        <msft-article
            href="${e=>e.clickUrl}"
            target="${e=>e.target||"_blank"}"
            title="${e=>e.title}"
            data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}"
            :anchorTelemetryTag=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.destination}}
            :handleContentCardLinkClick=${e=>e.handleContentCardClickOverride}
            @mouseover="${(e,t)=>e.setDisplacementHandler&&e.setDisplacementHandler(t.event)}"
            @mouseleave="${(e,t)=>e.removeDisplacementHandler&&e.removeDisplacementHandler(t.event)}"
            >
                <msft-attribution slot="attribution" class="attribution-size-restraint">
                    ${(0,dt.g)((e=>!e.enableNewWebCarousel&&e.provider),vt(!1))}
                    ${(0,dt.g)((e=>e.enableNewWebCarousel&&e.provider),ct.d`
    ${(0,dt.g)((e=>{var t;return null===(t=e.provider)||void 0===t?void 0:t.logo}),ct.d`
        <img
            slot="image"
            src="${e=>{var t;return null===(t=e.provider)||void 0===t?void 0:t.logo}}"
            alt="${(e,t)=>{var i,r;return null===(r=null===(i=t.parent)||void 0===i?void 0:i.selectEntitiesData)||void 0===r?void 0:r.providerAlt}}"
        />
    `)}
    ${(0,dt.g)((e=>e.provider),ct.d`
        <div class="attribution_article_container" id="attribution_article_container">
            <div class="attribution_article_content" style="left:0;">
                <span>${e=>{var t;return wt(null===(t=e.provider)||void 0===t?void 0:t.name,e.publishedDate,` · ${e.SelectArticleCarouselCardWebcontentLabel}`)}}</span>
            </div>
        </div>
    `)}
`)}
                </msft-attribution>
                ${(e,t)=>mt(R,"image")}
                <span class="title">${e=>e.title}</span>
                ${(0,dt.g)(((e,t)=>{var i;return!(null===(i=e.imageInfo)||void 0===i?void 0:i.sourceImageUrl)&&e.abstract}),ct.d`
                    <p slot="abstract" class="select-carousel-card-abstract">
                        ${e=>e.abstract}
                    </p>
                `)}
                <div slot="start-action">
                ${(e,t)=>{var i,r,n,o;return o=null===(n=null===(r=null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.config)||void 0===r?void 0:r.childExperienceReferencesWC)||void 0===n?void 0:n.socialBarWC,ct.d`
    <social-bar-wc
        config-instance-src=${o&&(0,ft.g)(o)}
        instance-id=${o&&o.instanceId}
        config-shared-ns=${e=>{var t;return null===(t=null==o?void 0:o.configRef)||void 0===t?void 0:t.sharedNs}}
        :contentId=${e=>e.id}
        :destinationUrl=${e=>e.clickUrl}
        :locale=${e=>de.jG.CurrentMarket||e.locale}
        :rootTelemetryObject=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}
        :socialMetadata=${e=>e}
        :theme=${e=>"default"}
    />
`}}
                </div>
                ${(0,dt.g)((e=>e.toggleCardActionMenu),ct.d`
                    <div slot="end-action" style="gap:0">
                        ${$t}
                    </div>
                `)}
        </msft-article>
    </msft-article-card>
</fluent-card>
`,Et=ct.d`
    <fluent-card class="select-carousel-card${(e,t)=>{var i;return(null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)?"-slim":""}}" style="${e=>e.toggleCardActionMenu?`height: ${(_.height+134).toString()}px`:""}"
        part="fluent-card">
        <msft-content-card
            href="${e=>e.clickUrl}"
            target="${e=>e.target||"_blank"}"
            title="${e=>e.title}"
            data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.item}}"
            :anchorTelemetryTag=${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.destination}}
            :handleContentCardLinkClick=${e=>e.handleContentCardClickOverride}
        >
            ${(0,dt.g)((e=>e.contentIndicator),ct.d`
                ${(e,t)=>{var i,r;return null===(r=(i=t.parent).getContentIndicator)||void 0===r?void 0:r.call(i,e.contentIndicator,e.contentIndicatorLabel)}}
            `)}
            ${(0,dt.g)(((e,t)=>{var i;return!(null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)}),ct.d`
                <msft-attribution slot="attribution" class="attribution-size-restraint">
                    ${(0,dt.g)((e=>e.provider),vt(!1))}
                </msft-attribution>
            `)}
            ${(e,t)=>{var i;return mt((null===(i=null==t?void 0:t.parent)||void 0===i?void 0:i.isSlimSize)?H:_)}}
            ${e=>e.title}
            ${(0,dt.g)(((e,t)=>{var i;return!(null===(i=e.imageInfo)||void 0===i?void 0:i.sourceImageUrl)&&e.abstract&&!t.parent.isSlimSize}),ct.d`
                <p slot="abstract" class="select-carousel-card-abstract">
                    ${e=>e.abstract}
                </p>
            `)}
            ${(0,dt.g)((e=>e.toggleCardActionMenu),ct.d`
                <div slot="end-actions" style="gap:0">
                    ${$t}
                </div>
            `)}
        </msft-content-card>
    </fluent-card>
`;st.J,lt.u;const Dt={BingVideo:St,Comics:Tt(!0),Editors:kt,Select:Et,SelectArticle:Mt,Manga:Ot,MoneyTopicStripe:Lt,EventCarousel:Mt},Ft=ct.d`
${(0,dt.g)((e=>e.config.sdCard),ct.d`
    <span direction="previous" class="previous-flipper" role="button" aria-label="Previous"
        data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarouselPreviousSlide)||void 0===i?void 0:i.getMetadataTag()}}">
        <svg slot="previous" width="7" height="9" viewBox="0 0 7 9" xmlns="http://www.w3.org/2000/svg">
            <path
                d="M0.5 4.5C0.5 4.25781 0.557292 4.02865 0.671875 3.8125C0.786458 3.59635 0.94401 3.41927 1.14453 3.28125L4.92969 0.679687C5.09896 0.559896 5.28906 0.5 5.5 0.5C5.66406 0.5 5.82031 0.539062 5.96875 0.617187C6.13281 0.703125 6.26172 0.824219 6.35547 0.980469C6.45182 1.13672 6.5 1.30729 6.5 1.49219L6.5 7.51172C6.5 7.69401 6.45182 7.86328 6.35547 8.01953C6.26172 8.17578 6.13281 8.29818 5.96875 8.38672C5.81771 8.46224 5.66276 8.5 5.50391 8.5C5.29036 8.5 5.09896 8.4401 4.92969 8.32031L1.14453 5.71875C0.94401 5.58073 0.786458 5.40365 0.671875 5.1875C0.557291 4.97135 0.5 4.74219 0.5 4.5Z"
            />
        </svg>
    </span>`)}
${(0,dt.g)((e=>!e.config.sdCard),ct.d`
<fluent-flipper direction="previous" data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarouselPreviousSlide)||void 0===i?void 0:i.getMetadataTag()}}"></fluent-flipper>
`)}
`,Nt=ct.d`
${(0,dt.g)((e=>e.config.sdCard),ct.d`
    <span class="next-flipper" role="button" direction="next" aria-label="Next"
        data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarouselNextSlide)||void 0===i?void 0:i.getMetadataTag()}}">
        <svg slot="next" width="7" height="9" viewBox="0 0 7 9" xmlns="http://www.w3.org/2000/svg">
            <path
                d="M0.5 1.49219C0.5 1.30729 0.546875 1.13672 0.640625 0.980468C0.736979 0.824218 0.86849 0.703125 1.03516 0.617187C1.18099 0.539062 1.33594 0.5 1.5 0.5C1.71094 0.5 1.90104 0.559896 2.07031 0.679687L5.85547 3.28125C6.05078 3.41667 6.20052 3.59245 6.30469 3.80859C6.40885 4.02474 6.46094 4.25521 6.46094 4.5C6.46094 4.74219 6.40885 4.97135 6.30469 5.1875C6.20052 5.40625 6.05078 5.58333 5.85547 5.71875L2.07031 8.32031C1.90104 8.4401 1.71094 8.5 1.5 8.5C1.34115 8.5 1.1862 8.46224 1.03516 8.38672C0.868489 8.29818 0.736979 8.17578 0.640625 8.01953C0.546875 7.86328 0.5 7.69401 0.5 7.51172L0.5 1.49219Z"
            />
        </svg>
    </span>`)}
${(0,dt.g)((e=>!e.config.sdCard),ct.d`
<fluent-flipper data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarouselNextSlide)||void 0===i?void 0:i.getMetadataTag()}}"></fluent-flipper>
`)}
`,jt=ct.d`
    ${(0,dt.g)((e=>e.selectEntitiesData),ct.d`
        <div class="${e=>e.config.sdCard?"selcar-sdc-container":""}">
            <msft-stripe
                ${(0,ut.i)("selectStripe")}
                speed="4000"
                data-t="${e=>{var t,i;return null===(i=null===(t=e.telemetryContext)||void 0===t?void 0:t.selectCarousel)||void 0===i?void 0:i.getMetadataTag()}}"
                style=${e=>e.isSlimSize&&"margin: 3px 0"}
                part="msft-stripe"
                class="${e=>e.config.sdCard?"selcar-sdc ":""} ${e=>e.translucentFeedModeEnabled?"translucent":""}"
            >
                <div slot="heading" class="heading ${e=>e.translucentFeedModeEnabled?"translucent":""}">
                    ${(0,dt.g)((e=>e.selectEntitiesData.title),yt)}
                    ${(0,dt.g)((e=>e.selectEntitiesData.enableAboutSlug),bt)}
                    ${(0,dt.g)((e=>e.selectEntitiesData.enableChevronIcon),Ct)}
                </div>
                ${(0,dt.g)((e=>e.selectEntitiesData.subtitle||e.selectEntitiesData.subtitleDesc),ct.d`
                    <div slot="description" class="description">
                        <span>${e=>e.selectEntitiesData.subtitle}</span>
                        <span class="select-carousel-description">${e=>e.selectEntitiesData.subtitleDesc}</span>
                    </div>
                `)}
                <div slot="previous-flipper">
                    ${Ft}
                </div>
                <div slot="next-flipper">
                    ${Nt}
                </div>
                ${(0,dt.g)((e=>e.selectEntitiesData.seeAll),xt)}
                ${(0,ht.rx)((e=>e.selectEntitiesData.selectEntities||[]),(e=>(e=>{var t,i;if(null===(t=e.currentCarouselConfig)||void 0===t?void 0:t.carouselTemplate){const t=Dt[e.currentCarouselConfig.carouselTemplate];if(t)return t}switch(e.carouselType){case"DailyFixGamesCarousel":return Tt(!1);case"ComicsCarousel":return Dt.Comics;case"EditorsPickCarousel":return Dt.Editors;case"MangaCarousel":return Dt.Manga;case"BingVideoCarousel":return Dt.BingVideo;case"WebNewsCarousel":return(null===(i=e.currentCarouselConfig)||void 0===i?void 0:i.enableNewWebCarousel)?Dt.SelectArticle:Dt.Select;case"MoneyTopicStripe":return Dt.MoneyTopicStripe;default:return Dt.Select}})(e)))}
            </msft-stripe>
        </div>
    `)}
`,Ut=ct.d`
    ${(0,dt.g)((e=>e.superData),ct.d`
        <cs-carousel :data="${e=>e.superData}"></cs-carousel>
    `)}
`,zt=ct.d`
    ${e=>e.isSuperCarousel?Ut:jt}
`;var _t=i(32804),Ht=i(22674),Rt=i(53046),Gt=i(40082);const Wt={width:220,height:178},Bt={width:220,height:124},qt={width:220,height:124},Vt={width:136,height:76},Yt=Rt.i`
    .selcar-sdc-container {
        background: ${"linear-gradient(134.62deg, #512C2C 1.14%, #252C4E 86.08%);"};
    }

    .money-topic-card {
        background: #142033;
    }
`,Jt=Rt.i`
msft-stripe.selcar-sdc > div[slot="next-flipper"] {
    right: -9px;
    position: relative;
}
msft-stripe.selcar-sdc > div[slot="previous-flipper"] {
    left: -9px;
    position: relative;
}
msft-stripe.translucent {
    padding-left: 16px;
}
msft-stripe.translucent fluent-anchor.heading-seeall {
    padding-right: 16px;
}
`,Zt=Rt.i`
msft-stripe.selcar-sdc > div[slot="next-flipper"] {
    left: -9px;
    position: relative;
}
msft-stripe.selcar-sdc > div[slot="previous-flipper"] {
    right: -9px;
    position: relative;
}
msft-stripe > div[slot="next-flipper"], 
msft-stripe > div[slot="previous-flipper"] {
    transform: scale(-1, 1);
}

msft-stripe.translucent {
    padding-right: 16px;
}
msft-stripe.translucent fluent-anchor.heading-seeall {
    padding-left: 16px;
}
`,Qt=Rt.i`
    :host {
        background-color: ${_t.IfY};
        color: ${_t.CHi};
    }
    msft-stripe {
        display: block;
        --fill-color: transparent;
        --scroll-item-spacing: 12px;
        margin: 20px 0;
    }
    msft-stripe.translucent fluent-anchor.heading-seeall {
        color: var(--neutral-foreground-rest);
    }
    msft-stripe.translucent fluent-anchor.heading-seeall:hover {
        color: var(--neutral-foreground-rest);
    }
    msft-stripe.translucent {
        background: rgba(0, 0, 0, 0.52);
        border-radius: 4px;
    }
    msft-stripe .about-slug-glyph {
        position: relative;
        top: 1px;
        left: 5px;
        fill: ${_t.CHi};
    }
    msft-stripe .chevron-icon {
        margin-left: 20px;
        fill: var(--neutral-foreground-rest);
    }
    msft-stripe.translucent .chevron-icon {
        fill: #FFFFFF;
    }
    msft-stripe.translucent .about-slug-glyph {
        fill: #FFFFFF;
    }
    msft-stripe > .action {
        margin-top: 17px;
    }
    msft-stripe .select-carousel-description {
        font-weight: 400;
    }
    msft-stripe::part(scroll-next), msft-stripe::part(scroll-prev) {
        z-index: 1;
    }
    msft-content-card::part(media-wrapper) {
        margin: 0;
    }
    msft-content-card .select-carousel-item-body > .select-carousel-item-body-date {
        font-weight: 400;
    }
    msft-content-card .select-carousel-item-body {
        width: 100%;
        padding-bottom: 5px;
    }
    msft-content-card .select-carousel-card-abstract {
        max-height: 138px;
        margin-top: 8px;
        overflow: hidden;
    }

    .attribution-size-restraint {
        max-height: 16px;
    }
    
    /*
    Necessary for the right arrow to disappear
     */
    msft-stripe > fluent-card:last-child {
        margin-right: 3px;
    }

    msft-stripe > fluent-card:first-of-type {
        margin-left: 3px;
    }

    msft-stripe.translucent > fluent-card:first-of-type {
        margin-left: unset;
    }
    /****************************
    Styles for specific cards
    ****************************/

    /*
    Bing Video
     */
    msft-stripe > fluent-card.bing-video-carousel-card msft-attribution::part(image){
        height: 16px;
        width: 16px;
    }

    msft-stripe > fluent-card.bing-video-carousel-card msft-content-card div.play-icon {
        width: 46px;
        height: 46px;
        position: absolute;
        top: calc(50% - 23px);
        left: calc(50% - 23px);
        animation: 1200ms linear 0s infinite normal none running spin;
    }

    msft-stripe > fluent-card.bing-video-carousel-card msft-content-card div.video-length {
        right: 8px;
        border-radius: 4px;
        color: rgb(255, 255, 255);
        background: rgba(0, 0, 0, 0.54);
        position: absolute;
        bottom: 8px;
        padding: 2px 8px;
        font-size: var(--type-ramp-minus-1-font-size);
        line-height: var(--type-ramp-minus-1-line-height);
    }
    msft-stripe > fluent-card.bing-video-carousel-card msft-content-card .video-sr-only{
        width:0;
        height:0;
        overflow:hidden
    }

    /*
    Comics
     */
    msft-stripe > fluent-card.comics-carousel-card {
        width: ${Wt.width.toString()}px;
    }
    msft-stripe > fluent-card.comics-carousel-card:not(.comics-carousel-card-timestamped) {
        height: ${(Wt.height+98).toString()}px;
        --heading-max-lines: 2;
    }
    msft-stripe > fluent-card.comics-carousel-card.comics-carousel-card-timestamped .select-carousel-item-body > div {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-bottom: 5px;
    }
    msft-stripe > fluent-card.comics-carousel-card msft-attribution {
        color: ${_t.CHi};
    }

    /*
    Editor's Pick
     */
    msft-stripe > fluent-card.editors-pick-card {
        height: ${(Bt.height+126).toString()}px;
        width: ${Bt.width.toString()}px;
    }

    /*
    Manga
     */
    msft-stripe > fluent-card.manga-carousel-card {
        margin-top: 3px;
    }

    /*
    Manga Slim
     */
    msft-stripe > fluent-card.manga-carousel-card-slim {
        margin-top: 3px;
    }

    /*
    Money Toppic Stripe
     */
    msft-stripe > fluent-card.money-topic-card {
        height: 274px;
        width: 240px;
        padding-bottom: 10px;
    }

    msft-stripe > fluent-card.money-topic-card img {
        border-radius: 0;
        object-fit: cover;
    }

    msft-stripe > fluent-card.money-topic-card > msft-content-card::part(heading):hover {
        text-decoration: none;
    }

    msft-stripe > fluent-card.money-topic-card div.title-wrapper {
        height: 58px;
    }

    msft-stripe > fluent-card.money-topic-card div.title, 
    msft-stripe > fluent-card.money-topic-card div.percent-red-light, 
    msft-stripe > fluent-card.money-topic-card div.percent-green-light, 
    msft-stripe > fluent-card.money-topic-card div.percent-grey-light,
    msft-stripe > fluent-card.money-topic-card div.percent-red-dark, 
    msft-stripe > fluent-card.money-topic-card div.percent-green-dark, 
    msft-stripe > fluent-card.money-topic-card div.percent-grey-dark, {
        font-size: 16px;
    }

    msft-stripe > fluent-card.money-topic-card div.title,
    msft-stripe > fluent-card.money-topic-card div.growth-subtitle,
    msft-stripe > fluent-card.money-topic-card div.total-value, 
    msft-stripe > fluent-card.money-topic-card div.symbols {
        color: ${_t.CHi};
    }

    msft-stripe > fluent-card.money-topic-card div.title {
        height: 45px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    msft-stripe > fluent-card.money-topic-card div.grid-light, 
    msft-stripe > fluent-card.money-topic-card div.grid-dark {
        display: grid;
        grid-template-columns: 1fr 1fr;
        border-top: 1px solid;
        padding-top: 10px;
    }

    msft-stripe > fluent-card.money-topic-card div.grid-light {
        border-top-color: ${_t.dtw};
    }

    msft-stripe > fluent-card.money-topic-card div.grid-dark {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    msft-stripe > fluent-card.money-topic-card div.percent-red-light {
        color: ${qe(!1)};
    }

    msft-stripe > fluent-card.money-topic-card div.percent-green-light {
        color: ${Ve(!1)};
    }

    msft-stripe > fluent-card.money-topic-card div.percent-grey-light {
        color: ${Ye(!1)};
    }

    msft-stripe > fluent-card.money-topic-card div.percent-red-dark {
        color: ${qe(!0)};
    }

    msft-stripe > fluent-card.money-topic-card div.percent-green-dark {
        color: ${Ve(!0)};
    }

    msft-stripe > fluent-card.money-topic-card div.percent-grey-dark {
        color: ${Ye(!0)};
    }

    msft-stripe > fluent-card.money-topic-card div.value-subtitle,
    msft-stripe > fluent-card.money-topic-card div.growth-subtitle,
    msft-stripe > fluent-card.money-topic-card div.symbols,
    msft-stripe > fluent-card.money-topic-card div.year-return,
    msft-stripe > fluent-card.money-topic-card div.hidden-quotes {
        font-size: 12px;
        font-weight: 400;
    }

    msft-stripe > fluent-card.money-topic-card div.total-value {
        font-size: 16px;
        line-height: 22px;
        font-weight: 600;
    }

    msft-stripe > fluent-card.money-topic-card div.investor-percent,
    msft-stripe > fluent-card.money-topic-card div.growth-subtitle,
    msft-stripe > fluent-card.money-topic-card div.symbols,
    msft-stripe > fluent-card.money-topic-card div.hidden-quotes {
        margin-left: auto;
        margin-right: 0;
    }

    msft-stripe > fluent-card.money-topic-card div.value-subtitle,
    msft-stripe > fluent-card.money-topic-card div.growth-subtitle,
    msft-stripe > fluent-card.money-topic-card div.year-return,
    msft-stripe > fluent-card.money-topic-card div.hidden-quotes {
        color: ${_t.Q5n};
        margin-top: -4px;
    }

    msft-stripe > fluent-card.money-topic-card .investors div.title {
        font-size: 16px;
        line-height: 22px;
        font-weight: 600;
        height: 24px;
        padding-bottom: 2px;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
        white-space: initial;
    }

    msft-stripe > fluent-card.money-topic-card .investors div.subTitle {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        padding-bottom: 12px;
        height: 20px;
    }

    /*
    Select
     */
    msft-stripe > fluent-card.select-carousel-card {
        height: ${(qt.height+108).toString()}px;
        width: ${qt.width.toString()}px;
        margin-top: 3px;
    }

    /*
    Select Slim
     */
    msft-stripe > fluent-card.select-carousel-card-slim {
        height: ${(Vt.height+44).toString()}px;
        width: ${Vt.width.toString()}px;
        margin-top: 3px;
    }

    msft-stripe > fluent-card.select-carousel-card > msft-content-card::part(heading-container) {
        padding-inline-start: 12px;
        padding-inline-end: 12px;
        padding-top: 12px;
    }

    msft-stripe > fluent-card.select-carousel-card-slim > msft-content-card::part(heading-container) {
        padding-inline-start: 12px;
        padding-inline-end: 12px;
        padding: 8px;
    }

    msft-stripe > fluent-card.select-carousel-card > msft-content-card::part(heading) {
        line-height: 22px;
        -webkit-line-clamp: var(--heading-max-lines, 3);
    }

    msft-stripe > fluent-card.select-carousel-card-slim > msft-content-card::part(heading) {
        font-size: 12px;
        line-height: 14px;
        -webkit-line-clamp: var(--heading-max-lines, 2);
    }

    msft-stripe > fluent-card.select-carousel-card > msft-content-card::part(footer) {
       padding-inline-end: 12px;
    }

    .heading.translucent {
        color: #FFFFFF;
        padding-top: 5px;
    }

    .description.translucent {
        color: #FFFFFF
    }

    /* SD card format */
    .selcar-sdc-container{
        background: ${"linear-gradient(299.76deg, rgba(144, 102, 204, 0.3) 0%, rgba(153, 102, 77, 0.05) 77.18%);"};
        padding: 16px;
        border-radius: 8px;
    }
    .selcar-sdc {
        margin: 0px;
    }
    msft-stripe.selcar-sdc > div[slot="heading"] {
        font-size: var(--type-ramp-base-font-size);
        line-height: var(--type-ramp-base-line-height);
        font-weight: 600;
        color: var(--neutral-foreground-rest);
        margin: 0px;
    }
    msft-stripe.selcar-sdc > fluent-anchor[slot="action"] {
        align-items: flex-start;
        height: 100%;
    }
    msft-stripe.selcar-sdc > fluent-anchor[slot="action"] .seeAllFontColor {
        color: var(--neutral-foreground-rest);
    }
    msft-stripe.selcar-sdc > fluent-anchor[slot="action"] a::part(control) {
        text-decoration: underline;
        color: var(--neutral-foreground-rest);
    }
    msft-stripe.selcar-sdc > div[slot="previous-flipper"], 
    msft-stripe.selcar-sdc > div[slot="next-flipper"] {
        margin: 0;
        height: 38px;
        width: 12px;
        border-radius: 3px;
        border: calc(${_t.Han} * 1px) solid transparent;
        background: ${_t.jql};
        display: inline-flex;
        justify-content: center;
        align-items: center;
        fill: var(--neutral-foreground-rest);;
    }
    msft-stripe.selcar-sdc > div[slot="previous-flipper"]:hover,
    msft-stripe.selcar-sdc > div[slot="next-flipper"]:hover {
        background: ${_t.QpD};
    }

    /* SelectArticleCarouselCardTemplate style */
    msft-stripe > fluent-card.article-carousel-card {
        height: ${(R.height+93).toString()}px
    }

    msft-stripe > fluent-card.article-carousel-card > msft-article-card {
        width:100%;
        height:100%;
    }
    msft-stripe > fluent-card.article-carousel-card, msft-stripe > fluent-card.article-carousel-card > msft-article-card {
        contain: none;
        content-visibility: visible;
    }
    msft-stripe > fluent-card.article-carousel-card> msft-article-card > msft-article::part(heading)::after {
        height: ${(R.height+93).toString()}px;
        width: ${R.width.toString()}px;
    }
    msft-stripe > fluent-card.article-carousel-card > msft-article-card msft-attribution,
    msft-stripe > fluent-card.article-carousel-card > msft-article-card msft-attribution::part(content){
        width: 100%;
    }
    msft-stripe > fluent-card.article-carousel-card > msft-article-card .attribution_article_container {
        width: 100%;
        min-height: var(--type-ramp-minus-1-line-height);
        position: relative;
        overflow: hidden;
        white-space: nowrap;
    }
    msft-stripe > fluent-card.article-carousel-card .attribution_article_content {
        position:absolute;
        transition: all 0.5s ease-out;
    }
    msft-stripe > fluent-card.article-carousel-card msft-article {
        border-radius: calc(var(--layer-corner-radius) * 1px);
    }
    msft-stripe > fluent-card.article-carousel-card msft-article img {
        border-top-left-radius: calc(var(--layer-corner-radius) * 1px);
        border-top-right-radius: calc(var(--layer-corner-radius) * 1px);
    }
    msft-stripe > fluent-card.article-carousel-card msft-article::part(text) {
        z-index: auto;
        padding-bottom: 8px;
    }
    msft-stripe > fluent-card.article-carousel-card msft-article::part(gradient) {
        z-index: 1;
        right: 0;
        bottom: 93px;
    }
    msft-stripe > fluent-card.article-carousel-card msft-article::part(attribution) {
        position: relative;
        z-index: 1;
    }
    msft-stripe > fluent-card.article-carousel-card msft-article > span.title {
        position: relative;
        z-index: 1;
    }
`.withBehaviors(new Ht.O(Jt,Zt),(0,Gt.Uu)(Yt)),Kt={experienceConfigSchema:b};(0,n.z)().withShadowRootMode("closed").withElementDisambiguation((()=>r.h.ignoreDuplicate)).register((0,o.EK)(),(0,a.ay)()),r.K.getOrCreate().withShadowRootMode("open").withElementDisambiguation((()=>r.h.ignoreDuplicate)).withPrefix("msft").register((0,s.PY)(),(0,l.tH)(),(0,c.On)(),(0,d.B4)()),(0,x.Y)()},74045:function(e,t,i){"use strict";var r,n;i.d(t,{KE:function(){return a},O7:function(){return r},Qp:function(){return s},Us:function(){return n},XQ:function(){return o}}),function(e){e[e.none=0]="none",e[e.enabled=1]="enabled",e[e.saved=2]="saved",e[e.hide=4]="hide",e[e.showMore=8]="showMore",e[e.showFewer=16]="showFewer",e[e.mute=32]="mute",e[e.hidden=64]="hidden",e[e.report=128]="report",e[e.adFeedbackSubmitted=256]="adFeedbackSubmitted",e[e.hideTopic=512]="hideTopic",e[e.dismiss=1024]="dismiss",e[e.adPrivacy=2048]="adPrivacy"}(r||(r={})),function(e){e.Hide="Hide",e.Like="Like",e.Disabled="Disabled",e.Dislike="Dislike",e.Mute="Mute",e.Save="Save",e.Share="Share",e.ShowMore="ShowMore",e.ShowFewer="ShowFewer",e.Divider="Divider",e.Report="Report",e.ManageInterests="ManageInterests",e.ReportAd="ReportAd",e.AdPrivacy="AdPrivacy",e.HideTopic="HideTopic"}(n||(n={}));const o=e=>{const t=[],i={AdultImage:"AdultImage",RacyImage:"RacyImage",TextProfanity:"TextProfanity",SubstanceAbuse:"SubstanceAbuse",Violence:"Violence",Misinformation:"Misinformation",Other:"Other"};return e&&Object.keys(e).forEach((r=>{e[r]&&t.push(i[r])})),t},a="/service/feedback/api/reportanissue",s="https://assets.msn.cn/service/feedback/api/reportanissue"},44421:function(e,t,i){"use strict";i.d(t,{G:function(){return a},Q:function(){return o}});var r=i(84289),n=i(99502);const o=(e,t,i,o,a,s,l,c)=>{const d=(0,r.NU)(e,t,l,c);s&&Object.assign(d,{[n.a.propertyNames]:{enum:s}});const u=Object.assign(Object.assign({},a),{[n.a.title]:o});return Object.assign(d,{[n.a.additionalProperties]:u})},a=(e,t,i,r,n,a,s,l,c)=>({[e]:Object.assign({},o(t,i,r,n,a,s,l,c))})},4680:function(e,t,i){"use strict";i.d(t,{ph:function(){return d}});var r,n=i(16517),o=i(58155),a=i(54804),s=i(65135),l=i(26415);!function(e){e[e.linksPointToPartner=2]="linksPointToPartner"}(r||(r={}));i(89526);const c={ArticlePreview:"ar",SlideshowPreview:"ss",VideoPreview:"vi"};function d(e,t,i,d){if(e.renderingRestriction===r.linksPointToPartner){if(e.sourceHref)return e.sourceHref;s.M0.sendAppErrorEvent(Object.assign(Object.assign({},l.BO7.MissingPartnerLink),{message:"Content with rendering restriction 'link to partner' is missing source HREF",pb:Object.assign(Object.assign({},l.BO7.MissingPartnerLink.pb),{customMessage:`Content Id: ${e.id}`})}))}if(e.destinationUrl)return e.destinationUrl;const u=(0,n.Yq)().NavTargetHostName,h=c[e.type]||"xx";i=o.c.encodeURIComponentForPrime(i||""),d=o.c.encodeURIComponentForPrime(d||"");const p=encodeURIComponent(e.uriTitle||"");let g="";return a.Al&&a.Al.ClientSettings&&a.Al.ClientSettings.forwardablequeryparams&&(g=`?${a.Al.ClientSettings.forwardablequeryparams}`),`https://${u}/${t}/${i}/${d}/${p}/${h}-${e.id}${g}`}},21858:function(e,t,i){"use strict";i.d(t,{Go:function(){return a},TR:function(){return l},Y6:function(){return c},Yw:function(){return d}});var r=i(94516);const n=new RegExp("\\:([\\d]{2})");function o(){return new Date}function a(e){return(o().getTime()-e.getTime())/1e3}function s(e,t){return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function l(e,t){return new Date(e.valueOf()+60*t*60*1e3)}function c(e,t){const i=parseInt(t),r=parseInt(n.exec(t)[1]),o=i<0?-1:1,a=new Date(e.getTime()+60*(60*i+o*r)*1e3),s=`0${Math.abs(i)}`.substr(-2)+":"+`0${Math.abs(r)}`.substr(-2);return a.toISOString().replace("Z",(o<0?"-":"+")+s)}function d(e){const t=a(e),i=function(){const e=o();return e.setHours(0,0,0,0),e}(),n=s(i,-1),l=s(i,-6),c=function(){const e=o();return new Date(e.getFullYear(),0,0,0,0,0,0)}();return t>=-3300&&t<-60?r.i.InMinutes:t<0?r.i.None:t<120?r.i.JustNow:t<3600?r.i.LessThanOneHour:e>=i?r.i.Today:e>=n?r.i.Yesterday:e>=l?r.i.ThisWeek:e>=c?r.i.ThisYear:r.i.FullDate}},79703:function(e,t,i){"use strict";i.d(t,{$:function(){return o}});var r,n=i(19628);!function(e){e[e.Default=0]="Default",e[e.Medium=1]="Medium",e[e.MonthDate=2]="MonthDate",e[e.Weekday=3]="Weekday",e[e.Time=4]="Time"}(r||(r={}));class o{constructor(){this.dateFormatOptionsMap=new Map,this.setSupportsLocaleSpecifiers(),this.dateFormatOptionsMap.set(r.Medium,{year:"numeric",month:"short",day:"numeric"}),this.dateFormatOptionsMap.set(r.MonthDate,{month:"short",day:"numeric"}),this.dateFormatOptionsMap.set(r.Weekday,{weekday:"short"}),this.dateFormatOptionsMap.set(r.Time,{hour:"numeric",minute:"numeric"})}overrideDateFormat(e,t){e&&t&&this.dateFormatOptionsMap.set(e,t)}localizedDateString(e,t){return this.formatDate(e,r.Default,t)}localizedDateStringMedium(e,t){return this.formatDate(e,r.Medium,t)}localizedMonthDate(e,t){return this.formatDate(e,r.MonthDate,t)}localizedWeekday(e,t){return this.formatDate(e,r.Weekday,t)}formatTimeFromDate(e,t){return this.supportsLocaleSpecifiers&&this.dateFormatOptionsMap?e.toLocaleTimeString(t,this.dateFormatOptionsMap.get(r.Time)):e.toTimeString()}format(e,...t){return e?n.Ld.Format(e,...t):""}localizedNumberString(e,t){return this.supportsLocaleSpecifiers?e.toLocaleString(t):e.toString()}formatDate(e,t,i){let n=null;if(this.supportsLocaleSpecifiers)if(t===r.Default)n=e.toLocaleDateString(i);else if(this.dateFormatOptionsMap){const r=this.dateFormatOptionsMap.get(t);n=e.toLocaleDateString(i,r)}return null===n&&(n=e.toDateString()),null!==n?n.replace(/\u200E/g,"").replace(/\u200F/g,""):n}setSupportsLocaleSpecifiers(){this.supportsLocaleSpecifiers=(()=>{try{(0).toLocaleString("i")}catch(e){return"RangeError"===e.name}return!1})()}}},94516:function(e,t,i){"use strict";var r;i.d(t,{i:function(){return r}}),function(e){e[e.None=0]="None",e[e.JustNow=1]="JustNow",e[e.LessThanOneHour=2]="LessThanOneHour",e[e.Today=3]="Today",e[e.Yesterday=4]="Yesterday",e[e.ThisWeek=5]="ThisWeek",e[e.ThisYear=6]="ThisYear",e[e.FullDate=7]="FullDate",e[e.InMinutes=8]="InMinutes"}(r||(r={}))},11363:function(e,t,i){"use strict";i.d(t,{fh:function(){return d},Xk:function(){return u}});var r=i(79703),n=i(94516),o=i(21858);class a{constructor(e,t,i){this.timeLocStrings=e,this.locale=t,this.locUtility=i}transform(e,t,i){const r=3600,a=86400;if(!e)return"";if(!this.locUtility.supportsLocaleSpecifiers)return t;const s=(0,o.Go)(e);switch((0,o.Yw)(e)){case n.i.None:return"";case n.i.JustNow:return this.timeLocStrings.JustNow;case n.i.LessThanOneHour:return this.timespanString(s,s<120?this.timeLocStrings.NumberMinuteAgo:this.timeLocStrings.NumberMinutesAgo,60);case n.i.Today:return this.timespanString(s,s<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,r);case n.i.Yesterday:if(0===i){const t=this.timeLocStrings.TimeYesterday;return this.locUtility.format(t,this.locUtility.formatTimeFromDate(e,this.locale))}return s<a?this.timespanString(s,s<7200?this.timeLocStrings.NumberHourAgo:this.timeLocStrings.NumberHoursAgo,r):this.timespanString(s,s<172800?this.timeLocStrings.NumberDayAgo:this.timeLocStrings.NumberDaysAgo,a);case n.i.ThisWeek:return 0===i?this.locUtility.format(this.timeLocStrings.TimeDayOfWeek,this.locUtility.localizedWeekday(e,this.locale),this.locUtility.formatTimeFromDate(e,this.locale)):this.timespanString(s,s<172800?this.timeLocStrings.NumberDayAgo:this.timeLocStrings.NumberDaysAgo,a);case n.i.ThisYear:return this.locUtility.localizedMonthDate(e,this.locale);default:return this.locUtility.localizedDateStringMedium(e,this.locale)}}timespanString(e,t,i){const r=Math.floor(e/i);return this.locUtility.format(t,this.locUtility.localizedNumberString(r,this.locale))}}const s={JustNow:"Just Now",NumberMinuteAgo:"{0} minute ago",NumberMinutesAgo:"{0} minutes ago",NumberHourAgo:"{0} hour ago",NumberHoursAgo:"{0} hours ago",NumberDayAgo:"{0} day ago",NumberDaysAgo:"{0} days ago",NumberWeekAgo:"{0} week",NumberWeeksAgo:"{0} weeks",NumberMonthAgo:"{0} month",NumberMonthsAgo:"{0} months",NumberYearAgo:"{0} year",NumberYearsAgo:"{0} years",TimeYesterday:"Yesterday at {0}",TimeDayOfWeek:"{0} at {1}"},l={Minute:{one:"{0} دقيقة",two:"دقيقتان",threeToTen:"{0} دقائق",elevenPlus:"{0} دقيقة"},Hour:{one:"{0} ساعة",two:"ساعتان",threeToTen:"{0} ساعات",elevenPlus:"{0} ساعة"},Day:{one:"{0} يوم",two:"يومان",threeToTen:"{0} أيام",elevenPlus:"{0} يوما"},Week:{one:"{0} أسبوع",two:"{0} أسبوع",threeToTen:"{0} أسابيع",elevenPlus:"{0} أسبوعا"},Month:{one:"{0} شهر",two:"{0} شهر",threeToTen:"{0} أشهر",elevenPlus:"{0} شهرا"},Year:{one:"{0} عام",two:"{0} عام",threeToTen:"{0} أعوام",elevenPlus:"{0} عاما"}},c={Week:{one:"{0} שבוע",two:"{0} שבועיים",three:"{0} שבועות"},Month:{one:"{0} חודש",two:"{0} חודשיים",three:"{0} חודשים"},Year:{one:"{0} שנה",two:"{0} שנתיים",three:"{0} שנים"}};function d(e,t,i,n,o,d){const u=t&&t.toLowerCase();if(!(e instanceof Date)||isNaN(e.valueOf()))return"";if(d&&i)return function(e,t,i,r){if(!(e instanceof Date)||isNaN(e.valueOf()))return"";const n=h.MsPerMinute,o=h.MsPerHour,a=h.MsPerDay,s=h.MsPerWeek,d=h.MsPerMonth,u=h.MsPerYear,p=t.getTime()-e.getTime();if(p<n)return i.JustNow||"";let g=u,f="Year";p<o?(g=n,f="Minute"):p<a?(g=o,f="Hour"):p<s?(g=a,f="Day"):p<d?(g=s,f="Week"):p<u&&(g=d,f="Month");const v=/^[Aa][Rr]-/.test(r),m=/^[Hh][Ee]-/.test(r),y=Math.floor(p/g);let b=null;b=v?function(e,t){if(e<2)return l[t].one;if(e<3)return l[t].two;if(e<11)return l[t].threeToTen;return l[t].elevenPlus}(y,f):m?function(e,t,i){if("Minute"==i||"Hour"==i||"Day"==i)return e[`Number${i}${t>1?"s":""}Ago`];if(t<2)return c[i].one;if(t<3)return c[i].two;return c[i].three}(i,y,f):i[`Number${f}${y>1?"s":""}Ago`];return b?b.replace("{0}",y):""}(e,new Date,i,u);if(!i&&"zh-cn"===u)return"";i||(i=s);const p=(o=o||new r.$).localizedDateString(e,u);n||(n=0);return new a(i,u,o).transform(e,p,n)}function u(e){return e.toLocaleString("ja-JP",{hour12:!1,hour:"2-digit",minute:"2-digit",day:"2-digit",month:"2-digit",timeZone:"Asia/Tokyo"}).replace("午後","").replace("午前","")}const h={MsPerMinute:6e4,MsPerHour:36e5,MsPerDay:864e5,MsPerWeek:6048e5,MsPerMonth:2592e6,MsPerYear:31104e6}},75351:function(e,t,i){"use strict";i.d(t,{MW:function(){return s},Z1:function(){return d},nj:function(){return l}});var r=i(38156),n=i(65135),o=i(12611),a=i(44772);const s={contentCardName:"ContentCard",destination:"destination",flexCard:"FlexCard",hideName:"Hide",relatedStories:"RelatedStories",showRelatedStories:"ShowRelatedStories",saveName:"Save",seeMoreName:"Card Action Ellipsis",showFewerName:"Fewer stories like this",showMoreName:"More stories like this",undoShowFewer:"Undo fewer stories like this",undoShowMore:"Undo more stories like this",undoSaveName:"UndoSave",webCardName:"WebCard",webContentName:"WebContent",clickableProviderIcon:"Provider Icon"},l=(e,t,i,n,o,a=s,l)=>{if(!e)return;const d=c(t,i);let u,h;o?(u=e.addOrUpdateChild({name:a.webCardName,content:d}),h=u.addOrUpdateChild({name:a.webContentName,type:r.c9.Headline,behavior:r.wu.Navigate,content:d,ext:n})):(u=e.addOrUpdateChild({name:a.contentCardName,type:r.c9.ContentCard,content:d}),h=u.addOrUpdateChild({name:a.destination,type:r.c9.Headline,behavior:r.wu.Navigate,content:d,ext:n}));const p=u.addOrUpdateChild({name:a.seeMoreName,type:r.c9.ActionButton,behavior:r.wu.More,content:d}),g=u.addOrUpdateChild({name:a.saveName,type:r.c9.ActionButton,behavior:r.wu.Save,content:d}),f=u.addOrUpdateChild({name:a.hideName,type:r.c9.ActionButton,behavior:r.wu.Hide,content:d}),v=u.addOrUpdateChild({name:a.showMoreName,type:r.c9.ActionButton,behavior:r.wu.Like,content:d}),m=u.addOrUpdateChild({name:a.showFewerName,type:r.c9.ActionButton,behavior:r.wu.Dislike,content:d}),y=u.addOrUpdateChild({name:a.undoShowMore,type:r.c9.ActionButton,behavior:r.wu.Unlike,content:d}),b=u.addOrUpdateChild({name:a.undoShowFewer,type:r.c9.ActionButton,behavior:r.wu.Undislike,content:d}),C=e.addOrUpdateChild({name:s.relatedStories,type:r.c9.ContentCard,content:d}),x=e.addOrUpdateChild({name:s.showRelatedStories,type:r.c9.ActionButton,behavior:r.wu.Show,content:d}),w=e.addOrUpdateChild({name:s.flexCard,type:r.c9.ContentCard,content:d}),$=e.addOrUpdateChild({name:a.clickableProviderIcon,type:r.c9.ActionButton,behavior:r.wu.Navigate,content:d}),{zone:S}=e.contract||{};S&&(u.contract.zone=S,h.contract.zone=S);let T={componentRoot:e,contentCard:u,destination:h,seeMore:p,save:g,showMore:v,showFewer:m,undoShowMore:y,undoShowFewer:b,hide:f,relatedStories:C,showRelatedStories:x,clickableProviderIcon:$};return l&&(T=Object.assign(Object.assign({},T),{flexcard:w})),T},c=(e,t)=>{const i=e||{},r=t||{},n=i.provider&&i.provider.name,s=r&&r.subCategory||i&&i.category&&i.category.label||i&&i.category,l=i.title,c=i.id,d=r&&r.category||i&&i.category&&i.category.product||i&&i.category,u=(0,o.cx)(i.type),h=(0,a.ne)(u||i.type);return{brand:n,category:s,headline:l,id:c,isLocal:i.isLocalContent||r.isLocalContent,type:h,vertical:d}};function d(e){if(!e)return;const t=new URL(e),i=n.M0.getRequestId();return i&&t.searchParams.set("cvid",i),t.toString()}},37429:function(e,t,i){"use strict";var r,n;i.d(t,{u:function(){return r},w:function(){return n}}),function(e){e[e.ALL=3]="ALL",e[e.VP=1]="VP",e[e.TTVR=2]="TTVR"}(r||(r={})),function(e){e.image="image",e.provider="provider",e.socialBar="socialBar"}(n||(n={}))},76859:function(e,t,i){"use strict";i.d(t,{C7:function(){return a},Nv:function(){return r},OO:function(){return s},X9:function(){return l},sn:function(){return o}});var r,n=i(9791);!function(e){e._1x_1y="_1x_1y",e._1x_2y="_1x_2y",e._1x_3y="_1x_3y",e._1x_4y="_1x_4y",e._1x_5y="_1x_5y",e._2x_1y="_2x_1y",e._2x_2y="_2x_2y",e._2x_3y="_2x_3y",e._2x_4y="_2x_4y",e._2x_6y="_2x_6y",e._3x_1y="_3x_1y",e._3x_2y="_3x_2y",e._4x_1y="_4x_1y",e._4x_2y="_4x_2y",e._5x_1y="_5x_1y",e._5x_2y="_5x_2y"}(r||(r={}));const o=146,a=300,s=12,l=(0,n.Z)((e=>Array(e).fill(o)))},9601:function(e,t,i){"use strict";i.d(t,{ye:function(){return n}});const r=[];function n(e){for(const t of r)t(e)}},93637:function(e,t,i){"use strict";i.d(t,{L:function(){return g}});var r=i(33940),n=i(791),o=i(68364),a=i(26415),s=i(54804),l=i(16517),c=i(46336),d=i(4596),u=i(29422),h=i(9601);var p;!function(e){e[e.AutoDetectLoc=1]="AutoDetectLoc",e[e.SpecifyLoc=2]="SpecifyLoc"}(p||(p={}));class g{constructor(){this.instance=n.N}getUserDefaultLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){let t,i;try{const i=yield this.instance.getUserDefaultLocation(e);if(null==i)throw"Location response returned null or undefined";t=yield i.json()}catch(i){(0,o.OO)(i,a.WiH,`User's default location fetch request failed. Autodetect forced: ${!0===e}`),t=null}return t&&t.length&&t[0]&&(i={latitude:`${t[0].latitude}`,longitude:`${t[0].longitude}`,isDetected:e,locality:t[0].city,region:d.abbreviateUSState(t[0].state,s.Al.Locale,t[0].countryCode),country:t[0].country,isoCode:t[0].countryCode,language:l.jG.CurrentMarket},i.displayName=u.getDisplayName(i)),i}))}getGeoLocation(){const e=u.headLocation();return u.isValid(e)?e:((0,o.H)(a.Hx8,"Failed to get valid user geo location from PCS head data"),null)}updateUserSettings(e,t,i={},n){return(0,r.mG)(this,void 0,void 0,(function*(){let r=!1;try{r=yield this.instance.updateWeatherSettings(e,t,i,n)}catch(e){(0,o.OO)(e,a.DyR,"error in library [location-service],Weather or location user settings update failed"),r=!1}return r}))}setHomeLocation(e,t={},i){return(0,r.mG)(this,void 0,void 0,(function*(){let r=!1;try{r=yield this.instance.updatePdpHomeLocation(g.buildMetaData(e),`${e.latitude},${e.longitude}`,t,i)}catch(e){(0,o.OO)(e,a.G1Z,"error in library [location-service],Home Location Update Failed"),r=!1}return r&&(0,h.ye)(e),r}))}setSpecifyLocationMode(){return(0,r.mG)(this,void 0,void 0,(function*(){let e=!1;try{e=yield this.instance.updateWeatherSettings(null,`${p.SpecifyLoc}`)}catch(t){(0,o.OO)(t,a.DyR,"error in library [location-service],Weather user settings update failed"),e=!1}return e}))}addFavoriteLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=`${e.latitude},${e.longitude}`;return yield this.instance.addToFavoriteLocation(g.buildMetaData(e),t)}))}removeFavoriteLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=e.definitionName||`${e.latitude},${e.longitude}`,i=yield this.instance.removeFavoriteLocation(t);return i&&(e.definitionName=null),i}))}removeLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=e.definitionName||`${e.latitude},${e.longitude}`,i=yield this.instance.removeLocation(t);return i&&(e.definitionName=null),i}))}static buildMetaData(e){const t=e.language||s.Al.Locale||"";return JSON.parse(JSON.stringify({geoCoordinates:{latitude:parseFloat(e.latitude),longitude:parseFloat(e.longitude)},addressLine:e.addressLine,subRegion:e.subRegion,readLink:e.readLink,city:e.locality,state:e.region,countryRegion:e.country,postalCode:e.postalCode,isoCode:e.isoCode,locationType:"number"==typeof e.locationType?e.locationType||1:(0,c.hh)(""+e.locationType,1),locationTypeId:[e.locality,e.region,e.country].filter((e=>!!e)).join(","),language:t||void 0}))}}},63725:function(e,t,i){"use strict";i.d(t,{d:function(){return k}});var r=i(33940),n=i(26415),o=i(33954);var a=i(2040),s=i(47903),l=i(16517),c=i(17318),d=i(94788),u=i(54804),h=i(62938),p=i(67267),g=i(63535),f=i(87298),v=i(65135),m=i(75559),y=i(51125),b=i(4875),C=i(51671);class x{constructor(){this.cachedMetadata={}}get(e){const t=w(e);if(t)return this.cachedMetadata[t]}set(e,t){const i=w(e);i&&(this.cachedMetadata[i]=t)}}function w(e){if(e)return JSON.stringify(e)}var $=i(33799),S=i(33379),T=i(12611);class k{constructor(e){this.config=e,this.responseCache=new x,this.requestPathWithoutFeedId="MSN/Feed/me",this.requestPathWithFeedId="MSN/Feed",this.requestPathForFeedLayout="MSN/FeedLayout",this.requestPathForArticleFRE="news/Feed",this.requestPathForNewsFeed="news/Feed"}fetch(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){let i=this.config.initialRequest;if(e&&(e.feedId||!i.feedId||e.nextPageUrl||(e.feedId=i.feedId),i=Object.assign(Object.assign({},i),e)),!i)return void v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.pIg),{message:"default OneService fetch configuration was invalid"}));const d=(null==e?void 0:e.forceEnterpriseCompliance)||(0,b.VQ)(),u=yield p.$.getOneServiceFeedCallHeaders(d);if(d&&!(null==u?void 0:u[a.Yu.authorization])&&!(null==e?void 0:e.forceNoAuthorization))return;const m={credentials:"include",headers:u,method:"GET"},x=i.useNextPageUrl&&i.nextPageUrl,w=i.feedLayoutRequestType;let k;k=!x&&w?this.requestPathForFeedLayout:"feed"===i.query&&i.feedId?this.requestPathForNewsFeed:i.feedId||i.entityId?this.requestPathWithFeedId:"frefeedback"===i.query||"frefeedbackneg"===i.query||"UserFre"===i.query?this.requestPathForArticleFRE:this.requestPathWithoutFeedId;const O=this.responseCache.get(i);if(this.isRequestCacheable(k)&&O)return O;const I=(0,g.fU)(k,null==e?void 0:e.overwriteBaseApiURL),A=(0,y.Ee)();if(x)this.requestQueryParams=new s.h(new URL(x).search),A>0&&this.requestQueryParams.set(y.i$,A.toString()),l.jG.SendFeedCallActivityIdInHeader||this.requestQueryParams.set("activityId",l.jG.ActivityId);else{const{ocid:e,flightData:t,overwriteFlightData:r,muidFallback:n}=i,o=(yield(0,C.XJ)())===$.Hy.SignedIn?p.$.getOneServiceParamsWithAuth(l.jG.UserId,e,!1,t,r):p.$.getOneServiceParamsWithoutAuth(l.jG.UserId||n&&`m-${l.jG.ActivityId}`,e,!1,t,r,d);this.requestQueryParams=new s.h;for(let e=0;e<o.length;e++)this.requestQueryParams.set(o[e].key,o[e].value);if(w&&!i.start)this.requestQueryParams.set("t",w);else if(!i.disableQueryType){const e=i.queryType||"myfeed";this.requestQueryParams.set("queryType",e)}if(this.requestQueryParams.set("wrapodata","false").set("DisableTypeSerialization","true").set("timeOut",`${this.getRequestTimeout(i)}`).set("contentType",i.contentType).set("$select",i.select).set("responseSchema",i.disableFlatViewResponse?h.c.CardView:h.c.FlatView),i.apiKey&&this.requestQueryParams.set("apikey",i.apiKey),i.count&&this.requestQueryParams.set("$top",`${i.count}`),i.contentId&&this.requestQueryParams.set("contentId",i.contentId),this.tryAddQueryInterestParams(i)||this.requestQueryParams.set("ids",i.feedId).set("query",i.query).set("entityids",i.entityId),!w&&!i.disableLocation){const e=p.$.getLocationParams(i.latitude,i.longitude);e&&this.requestQueryParams.set(e.key,e.value)}i.start&&this.requestQueryParams.set("$skip",`${i.start}`),i.infopaneItemCount&&(this.requestQueryParams.set("infopaneCount",`${i.infopaneItemCount}`),!1===i.complexInfopaneEnabled&&this.requestQueryParams.set("cipenabled","false")),A>0&&this.requestQueryParams.set(y.i$,A.toString()),(i.useDelta||i.sessionId)&&(!1!==i.useDelta&&this.requestQueryParams.set("delta","true"),i.sessionId&&this.requestQueryParams.set("session",i.sessionId)),i.channel&&this.requestQueryParams.set("channel",i.channel)}let P,L,M,E;"UserFre"===i.query&&this.requestQueryParams.set("entityIds",i.userFreCandidatesSetId),l.jG.SendFeedCallActivityIdInHeader&&this.requestQueryParams.delete("activityId"),I.search=this.requestQueryParams.toString();try{const e=(0,S.N)()?1e4:800,t=yield(0,f.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){return this.config.useFetchPromise?yield(0,f.O)(decodeURIComponent(I.href),m,e):yield(0,c.Sm)(decodeURIComponent(I.href),e,m)}))),"OneServiceCardProvider.fetch");if(!t||!t.ok&&404!==t.status){M=t?t.status:null,E=t?t.statusText:null;const e=401===M?n.THd:n.p3y;return void v.M0.sendAppErrorEvent(Object.assign(Object.assign({},e),{message:t?"OneService returned error response":"OneService response was null",pb:Object.assign(Object.assign({},e.pb),{fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:I.href,statusCode:M,statusText:E}})}))}if(204===t.status||404===t.status)P={feedItems:[]},M=t.status,E=t.statusText,v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.n82),{message:204===t.status?"Empty non first-page response":"Empty first-page response",pb:Object.assign(Object.assign({},n.n82.pb),{fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:I.href,statusCode:M,statusText:E}})}));else{if(i.rawView)return t.json();P=yield t.json()}if(t.headers){t.headers.get("X-Statics-Fallback")&&v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.ovB),{pb:Object.assign(Object.assign({},n.ovB.pb),{customMessage:`Request URL: ${decodeURIComponent(I.href)}`}),message:"Fell back to static content on the feeds call"}));const e=t.headers.get("ddd-tmpl");v.M0.addOrUpdateTmplString(e),L=t.headers.get("ddd-session-id");const i=t.headers.get(a.rD.traceId);this.addOrUpdateIdxId(i);const r=t.headers.get(a.rD.debugId);this.addOrUpdateDebugId(r,!1)}}catch(e){return void v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.u45),{message:"Error while fetching OneService response",pb:Object.assign(Object.assign({},n.u45.pb),{customMessage:`Error: ${e}`,fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:I.href}})}))}if(!P)return void v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.XFR),{message:"Didn't get valid JSON from response.",pb:Object.assign(Object.assign({},n.XFR.pb),{fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:I.href}})}));const D=(this.requestQueryParams.get("t")||"").toLowerCase(),F="tabriver"===D||"tabs"===D,N=this.requestQueryParams.get("responseSchema"),{nextPageUrl:j,feedItems:U}=N===h.c.CardView?(0,T.ni)(P,F):P;if(!U)return void v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.yWd),{message:"Didn't get valid feed items list from response.",pb:Object.assign(Object.assign({},n.yWd.pb),{fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:I.href,responseJson:JSON.stringify(P)}})}));if(!U.length&&!i.start)if(i.isSearchRequest)this.trackEmptyResponseForInterestSearch(i.feedId,i.query,I.href);else if(i.feedId){const{emptyResponseFeedIds:e}=this.config.initialRequest;t||i.feedId.startsWith("Q_")||e&&e.length&&-1!==e.indexOf(i.feedId)||this.trackEmptyResponseForXFeed(i.feedId,I.href)}else i.query?this.trackEmptyResponseForQueryFeed(i.query,I.href):this.trackAppErrorHelper(n.BlE,"OneService returned an empty feed for a myfeed request.",I.href,null,null,"",M,E);if(F)if("tabriver"===D){const e=U.find((e=>"tabbedInfopane"===e.type));e&&e.subItems&&e.subItems.length||v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.$Ej),{pb:Object.assign(Object.assign({},n.$Ej.pb),{feedData:JSON.stringify(P),fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:I.href,responseJson:JSON.stringify(P)}}),message:"TabRiver request returned empty content for tabbed infopane card."}))}else if("tabs"===D){let e=!1;e=!U.length||-1!==U.findIndex((e=>"tabbedInfopane"!==e.type||!e.subItems||!e.subItems.length)),e&&v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.a3w),{pb:Object.assign(Object.assign({},n.a3w.pb),{fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:I.href,responseJson:JSON.stringify(P)}}),message:"Tabs request returned empty content for one or more tabbed infopane cards."}))}let z;if(U.length>=0?z=Object.assign(Object.assign({},i),{nextPageUrl:j,start:(i.start||0)+i.count}):o.k.log(`River has reached end of content stream. requested: ${i.count}, received: ${U.length}`),i.postRequestGrouping){const{start:e,count:t,type:r}=i.postRequestGrouping,n={type:r,subItems:U.splice(e,t)};U.splice(e,0,n)}const _={cardMetadata:U,nextPageRequest:z,sessionId:L,feedContext:P.feed};return this.responseCache.set(i,_),_}))}fetchFromWebWorker(e,t=1e3,i){return(0,S.N)()?(0,d.ot)({id:e},t).then((e=>{const t=e.payload;if(!e.fetched||!t||!t.feedData)return null;t.responseSchema===h.c.CardView&&(t.feedData=(0,T.ni)(t.feedData,t.isTabbedInfopaneResponse));const{nextPageUrl:r,feedItems:n=[]}=t.feedData;let o,a=this.config.initialRequest;if(i&&(a=Object.assign(Object.assign({},a),i)),r&&n.length&&(o=Object.assign(Object.assign({},a),{start:(a.start||0)+a.count,nextPageUrl:r})),a.postRequestGrouping){const{start:e,count:t,type:i}=a.postRequestGrouping,r={type:i,subItems:n.splice(e,t)};n.splice(e,0,r)}const s=t.traceId;this.addOrUpdateIdxId(s);const l=t.debugId;return this.addOrUpdateDebugId(l,!1),{cardMetadata:n,nextPageRequest:o,sessionId:t.sessionId}})):Promise.resolve(null)}clearCache(){this.responseCache=new x}getRequestTimeout(e){const{timeoutMs:t,isSearchRequest:i,query:r,customFeedTimeoutMs:n}=e;return i&&r&&n?n:t}tryAddQueryInterestParams(e){if(!e.useVerticalAsInterest&&!e.useCategoryAsInterest)return!1;const t=(e.useVerticalAsInterest?u.Al.ClientSettings.verticalKey:u.Al.ClientSettings.categoryKey)||"",i=e.verticalCategoryKeyToInterestMapping[t.toLowerCase()],r=i||"news";return this.requestQueryParams.set("query",encodeURIComponent(r)).set("source",e.contentSource),i||e.useCategoryAsInterest&&!t||v.M0.sendAppErrorEvent(Object.assign(Object.assign({},n.US9),{message:"Failed to get content",pb:Object.assign(Object.assign({},n.US9.pb),{customMessage:`Failed to get content for VerticalKey:${l.jG.HostPage.verticalKey} | CategoryKey:${l.jG.HostPage.categoryKey}. Loading fallback views river with ${r} content.`})})),!0}trackAppErrorHelper(e,t,i,r,n,o,a,s){let c="";r&&(c+=`Feed id: ${r}. `),n&&(c+=`Feed query: ${n}. `),v.M0.sendAppErrorEvent(Object.assign(Object.assign({},e),{message:t,pb:Object.assign(Object.assign({},e.pb),{customMessage:c,fetchNetworkResponse:{activityId:l.jG.ActivityId,requestUrl:i,responseJson:o,statusCode:a,statusText:s}})}))}trackEmptyResponseForQueryFeed(e,t){this.trackAppErrorHelper(n.huq,"OneService returned an empty feed for a query-powered feed. See property bag for the query.",t,null,e)}trackEmptyResponseForXFeed(e,t){this.trackAppErrorHelper(n.MD5,"OneService returned an empty feed for an x-feed page.",t,e,null)}trackEmptyResponseForInterestSearch(e,t,i){e?this.trackAppErrorHelper(n.L90,"OneService returned an empty feed for a user searched xfeed.",i,e,null):this.trackAppErrorHelper(n.V3_,"OneService returned an empty feed for a user query.",i,null,t)}addOrUpdateIdxId(e){e&&v.M0.addOrUpdateIdxId(e,!1)}addOrUpdateDebugId(e,t){if(t)return delete v.M0.getPageMetadata().joinIdProps[m.ug],void v.M0.addOrUpdateJoinIdProperty(m.ug,e);if(!e)return;const i=v.M0.getPageMetadata().getJoinId(m.ug),r=i?`${i},${e}`:e;v.M0.addOrUpdateJoinIdProperty(m.ug,r)}isRequestCacheable(e){return!this.config.cacheDisabledRequestPaths||!this.config.cacheDisabledRequestPaths.includes(e)}}k.providerName="OneService"},62938:function(e,t,i){"use strict";var r,n;i.d(t,{c:function(){return r}}),function(e){e.CardView="cardview",e.FlatView="flatview"}(r||(r={})),function(e){e.t3="T3",e.t6="T6"}(n||(n={}))},30113:function(e,t,i){"use strict";var r;i.d(t,{m:function(){return r}}),function(e){e.small="OneByOne",e.medium="OneByTwo",e.large="OneByThree"}(r||(r={}))},11708:function(e,t,i){"use strict";var r;i.d(t,{f:function(){return r}}),function(e){e.AiCharacter="aicharacterCardEnabled",e.AutosMarketplaceCard="autosmarketplaceCardEnabled",e.HoroscopeCard="horoscopeCardEnabled",e.WeatherCard="weatherCardEnabled",e.SportsCard="sportsCardEnabled",e.MoneyCard="moneyCardEnabled",e.FinanceCard="financeCardEnabled",e.OnThisDayCard="onthisdayCardEnabled",e.ShoppingCard="shoppingCardEnabled",e.ShoppingEventCard="eventSDCardShoppingEnabled",e.TrafficCard="trafficCardEnabled",e.EsportsCard="esportsCardEnabled",e.EsportsStreamsCard="esportsStreamsCardEnabled",e.ElectionsCard="genericelectionCardEnabled",e.LotteryCard="lotteryCardEnabled",e.QnaCard="qnaCardEnabled",e.RecipesCard="recipeCardEnabled",e.InspirationCard="inspirationCardEnabled",e.TravelCard="travelCardEnabled",e.HealthCard="healthCardEnabled",e.TopStoriesCard="topstoriesCardEnabled",e.TrendingTopics="TrendingTopicsUpsellEnabled",e.LocalGuideCard="localGuideCardEnabled",e.GroceryCard="groceryCardEnabled",e.RewardsCard="rewardsCardEnabled",e.RecommendedSearchesCard="recommendedSearchesCardEnabled",e.PersonalizedOffersCard="personalizedoffersCardEnabled",e.PollsCard="pollsCardEnabled",e.MarketPlaceCard="marketplaceCardEnabled",e.QuizCard="quizCardEnabled",e.CasualGamesCard="esportsCardEnabled",e.CommuteCard="commuteCardEnabled",e.Crypto="CryptoCard",e.MarketBrief="MarketBriefCard"}(r||(r={}))},83152:function(e,t,i){"use strict";var r;i.d(t,{L:function(){return r}}),function(e){e.Location="Location",e.Weather="Weather",e.Finance="Finance",e.Team="Team",e.League="League",e.Player="Player",e.Traffic="Traffic",e.Widget="Widget",e.TopicFeed="TopicFeed"}(r||(r={}))},791:function(e,t,i){"use strict";i.d(t,{N:function(){return b}});var r=i(33940),n=i(33954),o=i(26415),a=i(68364),s=i(33799),l=i(16517),c=i(94788),d=i(67267),u=i(63535),h=i(87298),p=i(83152),g=i(11708),f=i(30113),v=i(65135),m=i(33379),y=i(51671);const b=new class extends class{constructor(e){this.fetchImpl=e,this.userUpdateEndpoint="msn/user",this.pdpServiceEndpoint="graph/actions",this.locationsServiceEndPoint="v1/news/users/me/locations",this.userActionServiceEndPoint="news/users/me/actions",this.ocid="Peregrine",this.ocidOverride=!1}getUserDefaultLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t={method:"GET",headers:yield d.$.getOneServiceHeaders(),credentials:"include"},i=(0,u.PH)(this.locationsServiceEndPoint);let n;[...d.$.getCommonParams2(this.ocid,!this.ocidOverride),{key:"autodetect",value:e&&`${e}`}].forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{n=yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(i.href,t);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: getUserDefaultLocation}`;throw new Error(t)}return e}))),"getUserDefaultLocation")}catch(e){return n}return n}))}addToFavoriteLocation(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){const i="Location",n="Follow",o={method:"POST",body:JSON.stringify({actionType:n,targetType:i,definitionName:t,degree:"FavoriteLocation",metaData:e}),headers:yield d.$.getOneServiceHeaders(),credentials:"include"},a=(0,u.PH)(this.pdpServiceEndpoint);let c;((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{c=yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(a.href,o);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: Location`;throw new Error(t)}return e.json()}))),"addToFavoriteLocation")}catch(e){return!1}return!0}))}removeFavoriteLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}removeLocation(e){return(0,r.mG)(this,void 0,void 0,(function*(){return yield this.deleteFromPdp(p.L.Location,"definitionName",[e])}))}updatePdpHomeLocation(e,t,i={},n){return(0,r.mG)(this,void 0,void 0,(function*(){const o=p.L.Location,a="Follow",c=yield this.getRequestInit({method:"POST"},i);c.body=JSON.stringify({actionType:a,targetType:o,definitionName:t,degree:"DefaultLocation",metaData:e});const g=(0,u.PH)(this.pdpServiceEndpoint);return((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)})),yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,c);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e}))),"setPdpHomeLocation"),this.tryInvalidateBulkFetchedPdpTargetType(o),!0}))}updateTrafficMyRoutes(e,t,i,o,a,s){return(0,r.mG)(this,void 0,void 0,(function*(){const l=i.replace(/[^a-zA-Z0-9\-.,_]/g,""),c=p.L.Traffic,u="Follow",g={method:"POST",body:JSON.stringify({actionType:u,targetType:c,targetId:l,degree:e,definitionName:t,metadata:o,createdDateTime:s}),headers:yield d.$.getOneServiceHeaders(),credentials:"include"},f=yield this.getTrafficPdpUrl(null,null,a);try{yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(f.href,g);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${c}`;throw new Error(t)}return e.json()}))),"updateTrafficMyRoutes");this.tryInvalidateBulkFetchedPdpTargetType(c)}catch(e){return n.k.logError(e.message),!1}return!0}))}deleteTrafficMyRoutes(e,t,i){return(0,r.mG)(this,void 0,void 0,(function*(){const n={method:"DELETE",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,t,i);try{yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,n);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"deleteTrafficFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Traffic)}catch(e){return!1}return!0}))}getTrafficMyRoutes(e,t){var i;return(0,r.mG)(this,void 0,void 0,(function*(){const n={method:"GET",headers:yield this.getOneserviceHeaders(),credentials:"include"},o=yield this.getTrafficPdpUrl(e,null,t);try{const e=yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(o.href,n);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${p.L.Traffic}`;throw new Error(t)}return e}))),"getTrafficFromPdp");return null===(i=yield e.json())||void 0===i?void 0:i.value}catch(e){return null}}))}getTrafficPdpUrl(e,t,i){return(0,r.mG)(this,void 0,void 0,(function*(){const r=(0,u.PH)(this.pdpServiceEndpoint),n=(yield(0,y.XJ)())===s.Hy.SignedIn,o=(0,l.Yq)().UserId,a=n?d.$.getOneServiceParamsWithAuth(o,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth(o,this.ocid,!this.ocidOverride);if(e||t){const i=`targetType eq '${p.L.Traffic}'`,n=e?`degree eq '${e}'`:"",o=t?`definitionName eq '${t}'`:"";r.searchParams.set("$filter",`actionType eq 'Follow' and (${i})${n?` and (${n})`:""}${o?` and (${o})`:""}`)}return[...a,...i||[]].forEach((e=>{e.value&&r.searchParams.set(e.key,e.value)})),r}))}addToWatchList(e,t=0,i={},n={}){return(0,r.mG)(this,void 0,void 0,(function*(){const o=p.L.Finance,a="Follow",c={method:"POST",body:JSON.stringify({actionType:a,targetType:o,targetId:e,metadata:Object.assign({securityType:t,tickerId:this.generateUUID()},n)}),headers:yield this.getOneserviceHeaders(i),credentials:"include"},g=(0,u.PH)(this.pdpServiceEndpoint),f="zh-cn"!==(0,l.Yq)().CurrentMarket;let v;((yield(0,y.XJ)())===s.Hy.SignedIn&&f?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));try{v=yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,c);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${o}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(o)}catch(e){return!1}return!0}))}addListToWatchList(e,t={},i={}){return(0,r.mG)(this,void 0,void 0,(function*(){const n=p.L.Finance,o="Follow",a={method:"POST",body:JSON.stringify(e.map((e=>({actionType:o,targetType:n,targetId:e.key,metadata:Object.assign({securityType:e.value,tickerId:this.generateUUID()},i)})))),headers:yield this.getOneserviceHeaders(t),credentials:"include"},c=(0,u.PH)(this.pdpServiceEndpoint),g="zh-cn"!==(0,l.Yq)().CurrentMarket;let f;((yield(0,y.XJ)())===s.Hy.SignedIn&&g?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&c.searchParams.set(e.key,e.value)}));try{f=yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(c.href,a);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${n}`;throw new Error(t)}return e.json()}))),"addToWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(n)}catch(e){return!1}return!0}))}generateUUID(){let e=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(t){const i=(e+16*Math.random())%16|0;return e=Math.floor(e/16),("x"==t?i:3&i|8).toString(16)}))}sortWatchList(e,t={}){var i;return(0,r.mG)(this,void 0,void 0,(function*(){const n=p.L.Finance,o="Follow",a=yield b.readPdpWithTargetType(p.L.Finance,!0,200,t),c=a&&(null===(i=a.value)||void 0===i?void 0:i.filter((e=>e.actionType===o&&e.targetId)));if(!c||c.length<e.length)return!1;const g={};let f=e.length;c.forEach((t=>{let i=e.findIndex((e=>e===t.targetId));i<0&&(i=f,f++),g[t.targetId]=JSON.stringify({actionType:o,targetId:t.targetId,targetType:n,rank:i,metadata:t.metadata})}));const v={method:"PUT",body:JSON.stringify(g),headers:yield this.getOneserviceHeaders(t),credentials:"include"},m=(0,u.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&m.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(m.href,v);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for actionType: Follow, targetType: ${n}`;throw new Error(t)}return e.json()}))),"sortWatchList"),this.tryInvalidateBulkFetchedPdpTargetType(p.L.Finance)}catch(e){return!1}return!0}))}updateWeatherInterests(e,t,i,o={},a){return(0,r.mG)(this,void 0,void 0,(function*(){const t=p.L.Weather,r={method:"POST",body:JSON.stringify({actionType:"Follow",targetType:t,targetId:e,metadata:{UserAction:{0:{UpdateTime:new Date,Location:i}}}}),headers:yield this.getOneserviceHeaders(o),credentials:"include"},c=(0,u.PH)(this.pdpServiceEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth(null!=a?a:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth(null!=a?a:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&c.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(c.href,r);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for update weather interests call`;throw new Error(t)}}catch(e){return n.k.logError(e.message),!1}return!0}))}updateWeatherSettings(e,t,i={},n){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e&&!t)return!0;let r="";r=e&&!t?'{"weatherDisplayUnit":"'+e+'"}':!e&&t?'{"userSettings":{"weatherLocationSettingMode":"'+t+'"}}':'{"weatherDisplayUnit":"'+e+'","userSettings":{"weatherLocationSettingMode":"'+t+'"}}';const o=yield this.getRequestInit({method:"POST"},i);o.body=r;const a=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth(null!=n?n:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));const c=yield this.fetchImpl(a.href,o);if(c.status>=400){const e=`OneService returned error response. Status: ${c.status} for update weather setting call`;throw new Error(e)}return!0}))}updateFinanceInterests(e){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const t={financeInterests:e},i=JSON.stringify(t),r=yield this.getRequestInit({method:"POST"});r.body=i;const n=(0,u.PH)(this.userUpdateEndpoint),o="zh-cn"!==(0,l.Yq)().CurrentMarket;((yield(0,y.XJ)())===s.Hy.SignedIn&&o?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));const a=yield this.fetchImpl(n.href,r);if(a.status>=400){const e=`OneService returned error response. Status: ${a.status} for update finance interests call`;throw new Error(e)}return!0}))}updateUserSettings(e,t={},i){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return!0;const r=[];let o;for(o in e)null!=e[o]&&r.push('"'+o+'": '+JSON.stringify(e[o]));const a='{"userSettings":{'+r.join(", ")+"}}",c=yield this.getRequestInit({method:"POST"},t);c.body=a;const h=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth(null!=i?i:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth(null!=i?i:(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&h.searchParams.set(e.key,e.value)}));try{const e=yield this.fetchImpl(h.href,c);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,r.mG)(this,void 0,void 0,(function*(){const o=yield this.getRequestInit({method:"GET"},t),a=(0,u.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth(i||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth(i||(0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&a.searchParams.set(e.key,e.value)}));try{const e=yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(a.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,r.mG)(this,void 0,void 0,(function*(){const t={method:"PUT",credentials:"include",body:JSON.stringify({dummyid:{userLayoutPreference:e}})},i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.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,r.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 r=e.map((e=>e.cardType!=g.f.TopStoriesCard?`\\"${e.cardType}\\":${e.enabled?'\\"1\\"':'\\"0\\"'}`:"")).join(","),n=i.length>0?'{"segmentCardSettings":"{'+r+'}","userSettings":{'+i.join(", ")+"}}":'{"segmentCardSettings":"{'+r+'}"}';return this.updateUserPreference(n)}))}updateProductivityCardsEnableStatus(e){return(0,r.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,r.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,r.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,r.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const r=e.map((e=>({actionType:"Follow",targetId:e.cardType,targetType:p.L.Widget,metadata:{prongsv2:{region:e.region,size:f.m[e.size],position:e.position}}})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(r),appError:i})}))}muteWidget(e,t={},i){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e||!e.length)return!1;const r=e.map((e=>({actionType:"Mute",targetId:e,targetType:p.L.Widget})));return this.sendGenericActionRequest({additionalHeaders:t,endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(r),appError:i})}))}disableSpotlightCard(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e)return!1;const i={actionType:"Disabled",definitionName:e,targetType:p.L.TopicFeed};return this.sendGenericActionRequest({endpoint:this.pdpServiceEndpoint,method:"POST",payload:JSON.stringify(i),appError:t})}))}enableSpotlightCard(e,t){return(0,r.mG)(this,void 0,void 0,(function*(){return!!e&&(yield this.deleteFromPdp(p.L.TopicFeed,"definitionName",[e],{},void 0,"Disabled",t))}))}sendGenericActionRequest(e){return(0,r.mG)(this,void 0,void 0,(function*(){const{additionalHeaders:t,additionalParams:i,endpoint:n,method:o,payload:a,appError:c}=e;if(!n||!o)return this.logError(new Error("Missing arguments: 'endpoint' and 'method' should be provided and valid"),c),!1;const p=(0,u.PH)(n);let g;((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)})),i&&i.forEach((e=>{e.value&&p.searchParams.set(e.key,e.value)}));try{JSON.parse(a),g=a}catch(e){g=JSON.stringify(a)}const f={method:o,body:g,headers:yield this.getOneserviceHeaders(t),credentials:"include"},v="GET"==o;try{return yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(p.href,f);if(e.status>=400){const t=`OneService returned error response. Status: ${e.status} for payload: ${a}`;throw new Error(t)}return!v||(yield e.json())}))),"sendActions")}catch(e){return this.logError(e,c),!1}}))}getUserActions(e){return(0,r.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,r.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,r.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,r.mG)(this,void 0,void 0,(function*(){const t=yield this.getRequestInit({method:"POST"});t.body=e;const i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&i.searchParams.set(e.key,e.value)}));try{const r=yield this.fetchImpl(i.href,t);if(r.status>=400){const t=`OneService returned error response while updating user preference. Status: ${r.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={},a=!0,s=[]){return(0,r.mG)(this,void 0,void 0,(function*(){if(a){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 r=this.bulkGraphActionResultCache.get(e);if(r)return{value:r}}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 r=(yield this.fetchPdpWithTargetTypes([e],t,i,n,s)).get(e);if(r)return{value:r}}))}deleteFromPdp(e,t,i,n={},o,a="Follow",c,p=[]){return(0,r.mG)(this,void 0,void 0,(function*(){const g={method:"DELETE",headers:yield this.getOneserviceHeaders(n),credentials:"include"},f=(0,u.PH)(this.pdpServiceEndpoint),m=(yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),b=`targetType eq '${e}'`,C=i.map((e=>`${t} eq '${e}'`)).join(" or ");let x=`actionType eq '${a}' and (${C}) and (${b})`;o&&(x+=` and (degree eq '${o}')`),f.searchParams.set("$filter",x),[...m,...p].forEach((e=>{e.value&&f.searchParams.set(e.key,e.value)}));try{yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const t=yield this.fetchImpl(f.href,g);if(t.status>=400){const i=`OneService returned error response. Status: ${t.status} for actionType: ${a}, targetType: ${e}`;throw new Error(i)}return t}))),"deleteFromPdp"),this.tryInvalidateBulkFetchedPdpTargetType(e)}catch(e){return c&&v.M0.sendAppErrorEvent(Object.assign(Object.assign({},c),{pb:Object.assign(Object.assign({},c.pb),{actionType:a,error:e.message})})),!1}return!0}))}tryInvalidateBulkFetchedPdpTargetType(e){this.bulkGraphActionResultCache&&this.bulkGraphActionResultCache.delete(e)}fetchPdpWithTargetTypes(e,t=!1,i,n={},o=[]){return(0,r.mG)(this,void 0,void 0,(function*(){if(!e.length)return new Map;const a=e.map((e=>`targetType eq '${e}'`)).join(" or "),c=[{key:"$top",value:`${i=i||10*e.length*2}`},{key:"$filter",value:`actionType eq 'Follow' and (${a})`}],p=yield this.getRequestInit({method:"GET"},n);!0===t&&(p.cache="no-store");const g=(0,u.PH)(this.pdpServiceEndpoint);[...c,...(yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...o].forEach((e=>{e.value&&g.searchParams.set(e.key,e.value)}));const f=yield(0,h.w)((()=>(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.fetchImpl(g.href,p);if(!e.ok){if(e.status>=400&&e.status<500&&408!=e.status)return e;throw Error(e.statusText)}return e}))),"readPDPData");if(!f.ok)throw Error(`code=${f.status}, ${f.statusText}`);const v=new Map,m=yield f.json();if(!m)return v;if(m.value)for(const e of m.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,r.mG)(this,void 0,void 0,(function*(){const t={method:"POST",credentials:"include",body:JSON.stringify({userSettings:{preferredMarket:e}})},i=(0,u.PH)(this.userUpdateEndpoint);((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.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,r.mG)(this,void 0,void 0,(function*(){let t=null;if(c.yb){const i=this.maptoWebWorkerId(e);if(i&&i.trim()){const i=yield(0,c.ot)({id:this.maptoWebWorkerId(e)});i.fetched&&(t=i.payload)}}return t}))}maptoWebWorkerId(e){switch(e){case p.L.Location:return"weatherpdp";case p.L.League:return"sportsleaguepdp";case p.L.Player:return"sportsplayerpdp";case p.L.Team:return"sportsteampdp";case p.L.Finance:return"moneypdp";default:return""}}getRequestInit(e={method:"GET"},t={}){return(0,r.mG)(this,void 0,void 0,(function*(){const i=yield d.$.getOneServiceHeaders();return e.headers=Object.assign(Object.assign({},i),t),e.credentials="include",e}))}getOneserviceHeaders(e={}){return(0,r.mG)(this,void 0,void 0,(function*(){const t=yield d.$.getOneServiceHeaders();return Object.assign(Object.assign({},t),e)}))}getFollowedLists(){return(0,r.mG)(this,void 0,void 0,(function*(){const e=yield this.getRequestInit({method:"GET"}),t=(0,u.PH)(this.userUpdateEndpoint);[...(yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)].forEach((e=>{e.value&&t.searchParams.set(e.key,e.value)}));try{const i=yield(0,h.w)((()=>(0,r.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,a.OO)(null,o.G9t,"Error get followed list")}return i}))),"getFollowedLists");return i.ok||(0,a.OO)(null,o.G9t,"Error get followed list"),yield i.json()}catch(e){return n.k.logError(e.message),null}}))}addToFollowedLists(e){return(0,r.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,i={method:"POST",body:JSON.stringify({financeListIds:e}),headers:yield d.$.getOneServiceHeaders(),credentials:"include"},n=(0,u.PH)(this.userUpdateEndpoint);let o;((yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride)).forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{o=yield(0,h.w)((()=>(0,r.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,r.mG)(this,void 0,void 0,(function*(){const t=p.L.Finance,i={method:"DELETE",body:null,headers:yield d.$.getOneServiceHeaders(),credentials:"include"},n=(0,u.PH)(this.userUpdateEndpoint);let o;[...(yield(0,y.XJ)())===s.Hy.SignedIn?d.$.getOneServiceParamsWithAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride):d.$.getOneServiceParamsWithoutAuth((0,l.Yq)().UserId,this.ocid,!this.ocidOverride),...[{key:"financeListIds",value:e.toString()}]].forEach((e=>{e.value&&n.searchParams.set(e.key,e.value)}));try{o=yield(0,h.w)((()=>(0,r.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,m.N)()?window.fetch.bind(window):fetch),"windowsNewsPlus"===l.jG.AppType||"newsAndInterests"===l.jG.AppType||"winWidgets"===l.jG.AppType?(this.ocid="winp2",this.ocidOverride=!0):"sharedWidgets"===l.jG.AppType?(this.ocid="hpwidget",this.ocidOverride=!0):"windowsNewsbar"===l.jG.AppType?(this.ocid="winp0dash",this.ocidOverride=!0):"travel"===l.jG.AppType?(this.ocid="travel-verthp-feeds",this.ocidOverride=!0):"gaming"===l.jG.AppType&&(this.ocid="startgg-feeds",this.ocidOverride=!0)}}},17157:function(e,t,i){"use strict";i.d(t,{dw:function(){return s},wq:function(){return n}});i(83648);const r={};function n(){var e,t,i,r;const n=null===(e=window.sapphireWebViewBridge)||void 0===e?void 0:e.send,o=null===(r=null===(i=null===(t=window.webkit)||void 0===t?void 0:t.messageHandlers)||void 0===i?void 0:i.send)||void 0===r?void 0:r.postMessage;return n||o}let o;function a(e,t){var i,r,n,a,s,l,c;console.log(e,t);const d="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(e=>{const t=16*Math.random()|0;return("x"==e?t:3&t|8).toString(16)})),u={scenario:e,data:{data:t},id:d};o&&!u.data.data.appId&&(u.data.data.appId=o);const h=JSON.stringify(u);return(null===(n=null===(r=null===(i=window.webkit)||void 0===i?void 0:i.messageHandlers)||void 0===r?void 0:r.send)||void 0===n?void 0:n.postMessage)&&(null===(l=null===(s=null===(a=window.webkit)||void 0===a?void 0:a.messageHandlers)||void 0===s?void 0:s.send)||void 0===l||l.postMessage(h)),(null===(c=window.sapphireWebViewBridge)||void 0===c?void 0:c.send)&&window.sapphireWebViewBridge.send(h),d}function s(e,t,i){const n=a(e,t);i&&function(e,t){r[e]?r[e].push(t):r[e]=[t]}(n,i)}},84438:function(e,t,i){"use strict";i.d(t,{Xp:function(){return s},Zy:function(){return n},er:function(){return o},ez:function(){return a}});var r=i(16517);const n=66,o=12,a=(r.jG.NavTargetUrlWithLocale,"om"),s="testOverlayMode";var l;!function(e){e.articlePageBodySection="articlePageBodySection",e.consumptionFeedContent="consumption-feed-content",e.viewsHeaderWrapper="viewsHeaderWrapper",e.viewsHeaderWrapperGradientMasthead="viewsHeaderWrapperGradientMasthead",e.webContentContentRegion="webContentContentRegionc",e.gridAreaGallery="galleryPage_gridarea_gallery"}(l||(l={}))},44766:function(e,t,i){"use strict";i.d(t,{Te:function(){return f},sn:function(){return v},oR:function(){return h}});i(33940);var r=i(16517),n=(i(58155),i(44979),i(18335),i(82891),i(9375));i(38156);i(99478),i(19628);var o=i(84438),a=i(58958),s=i(17157);let l;function c(){return l}new RegExp("<[^>]*>","gim");const d=function(){let e=null;return function(t=!1){if(null===e||t)try{e=window.self!==window.top}catch(t){e=!0}return e}}();var u;!function(e){e[e.NO_OVERLAY=0]="NO_OVERLAY",e[e.IFRAME_OVERLAY=1]="IFRAME_OVERLAY",e[e.TEST_OVERLAY=2]="TEST_OVERLAY"}(u||(u={}));!function(){let e=null}();function h(){if((0,s.wq)()){const e=c();return e&&e.isDarkMode}return(0,a.Y)()}function p(e){const t=new URL(e),i=(0,n.ku)();return i&&t.searchParams.set("ocid",i),t.href}function g(e){return encodeURI(e.trim().toLowerCase().slice(0,600).replace(/[\][!"#$%&'()*+,./:;<=>?@\\^_{|}~]/g,"").replace(/\s+/g,"-").replace(/-+$/,""))||"title"}function f(e,t){return p(`${r.jG.NavTargetUrlWithLocale}/video/${r.jG.HostPage.verticalKey}/${g(t)}/vi-${e}`)}function v(e,t,i="web-content",n="webcontent"){try{const o=new URL(t),a=new URL(`${r.jG.NavTargetUrlWithLocale}/video/${n}/${g(i)}/vi-${e}`);if("www.youtube.com"==o.hostname)return a.searchParams.set("vid",o.searchParams.get("v")||""),a.searchParams.set("provider","yt"),p(a.href);if("www.facebook.com"==o.hostname){const e=t.match(/^http(?:s?):\/\/(?:www\.|web\.|m\.)?facebook\.com\/([A-z0-9.]+)\/videos(?:\/[0-9A-z].+)?\/(\d+)(?:.+)?$/);return a.searchParams.set("vid",e&&e[2]||""),a.searchParams.set("provider","fb"),p(a.href)}return p(t)}catch(e){return t}}},29422:function(e,t,i){"use strict";i.r(t),i.d(t,{AUTOSUGGEST_SUBTYPE:function(){return d},AUTOSUGGEST_TYPE:function(){return c},addLocation:function(){return F},addLocationForMobileWC:function(){return D},contains:function(){return B},dedup:function(){return q},distance:function(){return y},extractLanguageTag:function(){return U},formatLocation:function(){return E},getAutoSuggestLocationFirstLine:function(){return L},getAutoSuggestLocationSecondLine:function(){return M},getAutoSuggestionName:function(){return I},getDisplayName:function(){return W},getHyperlocalType:function(){return p},headLocation:function(){return z},hyperlocalLabeled:function(){return h},isAbnormalLatLon:function(){return S},isCurrentLocaleName:function(){return j},isHyperlocal:function(){return u},isSameLocationName:function(){return f},isSameLocationPoint:function(){return g},isValid:function(){return w},isValidLatLon:function(){return $},isValidLocationNameStructure:function(){return A},isValidLocationToSuggest:function(){return T},normalizeLatLong:function(){return O},parseDetailShortInfo:function(){return C},removeLocation:function(){return N},reset:function(){return x},resolveNameFromLocalityRegionCountry:function(){return R},shouldIgnoreSubRegion:function(){return m},showReverseName:function(){return G},toDebugString:function(){return k},toDetailShortInfo:function(){return b},toLatLong:function(){return _},transformToClientLocation:function(){return H},truncateFloatTo3Decimal:function(){return v}});var r=i(16517),n=i(54804),o=i(4596),a=i(38573);new Set(["CN","JP","TW"]);const s=new Set(["河北省","山西省","辽宁省","吉林省","黑龙江省","江苏省","浙江省","安徽省","福建省","江西省","山东省","河南省","湖北省","湖南省","广东省","海南省","四川省","贵州省","云南省","陕西省","甘肃省","青海省","台湾省","内蒙古自治区","广西壮族自治区","西藏自治区","宁夏回族自治区","新疆维吾尔自治区"]);var l;!function(e){e[e.HYPERLOCAL=101]="HYPERLOCAL",e[e.NONHYPERLOCAL=102]="NONHYPERLOCAL",e[e.UNKNOWN=103]="UNKNOWN"}(l||(l={}));const c={PLACE:"Place",LOCAL_BUSINESS:"LocalBusiness",ADDRESS:"PostalAddress"},d={ADDRESS:"Address",ROAD:"Road"};function u(e){return e.locationType===l.HYPERLOCAL||e.locationType===l.UNKNOWN}function h(e){return!!(null==e?void 0:e.locationType)&&(e.locationType===l.HYPERLOCAL||e.locationType===l.NONHYPERLOCAL||e.locationType===l.UNKNOWN)}function p(e,t){switch(e){case c.PLACE:return l.NONHYPERLOCAL;case c.LOCAL_BUSINESS:return l.HYPERLOCAL;case c.ADDRESS:return t===d.ADDRESS?l.HYPERLOCAL:t===d.ROAD?l.NONHYPERLOCAL:l.UNKNOWN;default:return l.UNKNOWN}}function g(e,t,i=!1){if(e&&t){let r=""+(e[0]||e.latitude),n=""+(t[0]||t.latitude),o=""+(e[1]||e.longitude),a=""+(t[1]||t.longitude);return i&&(r=v(r).toString(),o=v(o).toString(),n=v(n).toString(),a=v(a).toString()),r===n&&o==a}return!1}function f(e,t){return!(!e||!t)&&W(e)===W(t)}function v(e){const t="number"==typeof e?e:parseFloat(e);return Math.trunc(1e3*t)/1e3}function m(e){return(0,a.vt)(e)}function y(e,t){function i(e){const t=Math.sin(e/2);return t*t}function r(e){return e*Math.PI/180}t=t||{};const n=[r(+(e=e||{}).latitude),r(+e.longitude)],o=[r(+t.latitude),r(+t.longitude)],a=i(Math.abs(n[0]-o[0]))+Math.cos(n[0])*Math.cos(o[0])*i(Math.abs(n[1]-o[1]));return 12742*Math.asin(Math.sqrt(a))}function b(e,t=!1){return(0,a.gl)(e,t)}function C(e,t=!1){return(0,a.$i)(e,t)}function x(e){const t=e||{};Object.keys(t).forEach((e=>{t[e]=null}))}function w(e){return(0,a.JY)(e)}function $(e){return(0,a.JY)(e)}function S(e){return(void 0!==e.latitude||void 0!==e.longitude)&&(!$(e)||""+e.latitude=="-1"&&""+e.longitude=="-1")}function T(e){var t;if("zh-cn"===(null===(t=null==e?void 0:e.language)||void 0===t?void 0:t.toLowerCase())){if(!(null==e?void 0:e.country))return!1;if(null==e?void 0:e.addressLine){if(!(null==e?void 0:e.locality)&&!(null==e?void 0:e.subRegion)&&!(null==e?void 0:e.region)&&s.has(e.addressLine))return!1}else if(!(null==e?void 0:e.subRegion)&&!(null==e?void 0:e.region)&&s.has(null==e?void 0:e.locality))return!1}return!(!e||!e.addressLine&&!e.locality)}function k(e){if(e)return e.el?`el=[${e.el}]`:`lat=${e.latitude},long=${e.longitude}`}function O(e,t){return(0,a.br)(e,t)}function I(e){if(e){if(e.autoSuggestionName)return e.autoSuggestionName;return R(e,{enforceSmallLocaleFirst:!0})}}function A(e){const t=r.jG.AppType;return["windowsShell","windows","newsAndInterests","windowsNewsPlus","winWidgets"].indexOf(t)>=0?!(!e||!(e.addressLine||e.locality||e.region)):"zh-cn"===e.language||"CN"===e.isoCode?!(!e||!(e.addressLine||e.locality||e.subRegion||e.addressLine)):!(!e||!e.locality&&!e.addressLine)}function P(e,t){var i;const n=null===(i=null===r.jG||void 0===r.jG?void 0:r.jG.LocaleContentMarket)||void 0===i?void 0:i.market,o=(e.isoCode||"").toUpperCase(),a=o&&n&&n.substr(-o.length).toUpperCase()===o,s=[e.addressLine,e.locality,!m(e.isoCode)&&e.subRegion,!(null==t?void 0:t.skipRegionAndCountry)&&e.region,!(null==t?void 0:t.skipRegionAndCountry)&&!a&&e.country].filter((e=>!!e));return s.filter(((e,t)=>e!==s[t+1]))}function L(e){return P(e)[0]}function M(e){return P(e).slice(1).join(", ")}function E(e,t){const i=P(e,t);return G(e.language)&&i.reverse(),i.join(", ")}function D(e,t){if(!t)return e;if(!e||!e.length)return[t];e=e||[];const i=t.isDetected?[t,...e]:[e[0],t,...e.slice(1)],r={},n=[];for(let e=0;e<i.length;++e){const t=W(i[e]),o=`${i[e].latitude},${i[e].longitude}`;r[t]||r[o]||(0!=e&&(i[e].isDetected=!1),n.push(i[e]),r[t]=e+1,r[o]=e+1)}return n}function F(e,t){if(!t)return e;e=e||[];const i=[Object.assign({},t),...e],r={},n=[];for(let e=0;e<i.length;++e){const t=W(i[e]),o=`${i[e].latitude},${i[e].longitude}`;r[t]||r[o]||(n.push(i[e]),r[t]=e+1,r[o]=e+1)}return n}function N(e,t){if(!e||!t)return e;for(let i=0;i<e.length;++i)if(W(e[i])===W(t)||e[i].latitude===t.latitude&&e[i].longitude===t.longitude){e.splice(i,1);break}return e}function j(e){const t=n.Al.Locale;return e&&e.language&&(e.language===t||/en-/i.test(e.language)&&/en-/i.test(t))}function U(e){return(/,g=([a-z]+-[a-z]+)$/i.exec(e)||[])[1]}function z(){if(n.Al.ClientSettings&&n.Al.ClientSettings.geo_lat&&n.Al.ClientSettings.geo_long&&""!==n.Al.ClientSettings.geo_lat&&""!==n.Al.ClientSettings.geo_long){const e={latitude:n.Al.ClientSettings.geo_lat,longitude:n.Al.ClientSettings.geo_long,locality:n.Al.ClientSettings.geo_city,region:n.Al.ClientSettings.geo_subdivision,country:n.Al.ClientSettings.geo_countryname,isoCode:n.Al.ClientSettings.geo_country,isDetected:!0,language:"en-us"};return e.region=(0,o.abbreviateUSState)(e.region,e.language,e.isoCode),e.displayName=W(e),e}return null}function _(e){return`${e.latitude},${e.longitude}`}function H(e){return e?{country:e.Country,region:e.State,addressLine:e.AddressLine,locality:e.City,subRegion:e.SubRegion,postalCode:e.PostalCode,isoCode:e.CountryCode,latitude:e.Latitude,longitude:e.Longitude,displayName:void 0,language:e.Language||n.Al.Locale}:{}}function R(e,t){return(0,a.zl)(e,t)}function G(e){return(0,a.EC)(e)}function W(e,t){return(0,a.Gf)(e,t)}function B(e,t){if(!e)return!1;for(const i of e)if(g(i,t))return!0;return!1}function q(e){if(!e)return[];const t=new Set,i=[];for(const r of e){const e=W(r);t.has(e)||(t.add(e),i.push(r))}return i}},4596:function(e,t,i){"use strict";i.r(t),i.d(t,{abbreviateUSState:function(){return n},toCamelCase:function(){return o}});const r={Alabama:"AL",Alaska:"AK",Arizona:"AZ",Arkansas:"AR",California:"CA",Colorado:"CO",Connecticut:"CT",Delaware:"DE",Florida:"FL",Georgia:"GA",Hawaii:"HI",Idaho:"ID",Illinois:"IL",Indiana:"IN",Iowa:"IA",Kansas:"KS",Kentucky:"KY",Louisiana:"LA",Maine:"ME",Maryland:"MD",Massachusetts:"MA",Michigan:"MI",Minnesota:"MN",Mississippi:"MS",Missouri:"MO",Montana:"MT",Nebraska:"NE",Nevada:"NV","New Hampshire":"NH","New Jersey":"NJ","New Mexico":"NM","New York":"NY","North Carolina":"NC","North Dakota":"ND",Ohio:"OH",Oklahoma:"OK",Oregon:"OR",Pennsylvania:"PA","Rhode Island":"RI","South Carolina":"SC","South Dakota":"SD",Tennessee:"TN",Texas:"TX",Utah:"UT",Vermont:"VT",Virginia:"VA",Washington:"WA","West Virginia":"WV",Wisconsin:"WI",Wyoming:"WY","American Samoa":"AS","District of Columbia":"DC",Guam:"GU","Marshall Islands":"MH","Northern Mariana Island":"MP","Puerto Rico":"PR","Virgin Islands":"VI"};function n(e,t,i){return"US"!==i&&"us"!==i||"en-us"!==t?e:r[e]||e}function o(e,t){return e&&JSON.parse(JSON.stringify(e,(function(e,i){if(i&&"object"==typeof i&&!Array.isArray(i)){const e={};for(const r in i)if(Object.hasOwnProperty.call(i,r)){e[t&&t[r]||r&&r.charAt(0).toLowerCase()+r.substring(1)]=i[r]}return e}return i})))}},38573:function(e,t,i){"use strict";i.d(t,{$i:function(){return b},DF:function(){return d},EC:function(){return u},Gf:function(){return a},JY:function(){return v},XA:function(){return C},aQ:function(){return l},br:function(){return y},gl:function(){return p},mH:function(){return s},vt:function(){return f},zl:function(){return c}});var r=i(16517),n=i(65135),o=i(26415);function a(e,t){if(e)return e.displayName?e.displayName:c(e,t)}function s(e,t){const i=e&&e.displayName,r=d(e,{enforceOnlySmallLocal:!0}),a=r.length>0?r[0]:i;return a||n.M0.sendAppErrorEvent(Object.assign(Object.assign({},o.s$v),{message:`ShortlocationNameArr: ${r}.\n             CurrentLocation: ${JSON.stringify(e)}. \n             Error: Short location name in ${t} is empty.`})),a}function l(e){return`${e.latitude},${e.longitude}`}function c(e,t){return d(e,t).join(", ")}function d(e,t){const i=!t||!t.skipLocale,n=!(null==t?void 0:t.skipAddressLine),o=r.jG&&r.jG.LocaleContentMarket&&r.jG.LocaleContentMarket.market,a=(e.isoCode||"").toUpperCase(),s=a&&o&&o.substr(-a.length).toUpperCase()===a,l=f(e.isoCode)?null:e.subRegion,c=[n&&e.addressLine,i?e.locality:"",l,e.region,e.country].filter((e=>!!e));let d=0;for(;c[d+1];)c[d+1]===c[d]?c.splice(d+1,1):d++;const h="CN"==(null==o?void 0:o.toUpperCase())?1:2;if(e.country&&s&&c.length>h&&c.splice(-1,1),t&&t.enforceOnlySmallLocal&&c.length>0){return[/,/.test(c[0])?c[0].split(",")[0]:c[0]]}return t&&t.enforceSmallLocaleFirst||u(e.language)&&c.reverse(),c}function u(e){return e&&h.has(e.toUpperCase())}const h=new Set(["ZH-CN","KO-KR","JA-JP"]);function p(e,t=!1){const i={a:e.addressLine,l:e.locality,r:e.region,r2:e.subRegion,c:e.country,i:e.isoCode,t:e.locationType,g:e.language,x:t?e.longitude:void 0,y:t?e.latitude:void 0,n:r.jG.isMiniProgram?e.displayName:void 0},n=JSON.stringify(i,((e,t)=>null!=t&&""!==t?t:void 0));return"{}"!==n?n:void 0}const g=new Set(["CN","JP","TW"]);function f(e){return!g.has((e||"").toUpperCase())}function v(e){const t=parseFloat(null==e?void 0:e.latitude),i=parseFloat(null==e?void 0:e.longitude);return m(t,-85,85)&&m(i,-180,180)&&(0!==t||0!==i)}function m(e,t,i){return!isNaN(e)&&e>=t&&e<=i}function y(e,t){return{latitude:""+parseFloat(e),longitude:""+parseFloat(t)}}function b(e,t=!1){if(e)try{const i=JSON.parse(e),n={};return n.addressLine=i.a,n.locality=i.l,n.region=i.r,n.subRegion=i.r2,n.country=i.c,n.isoCode=i.i,n.locationType=i.t,n.language=i.g,t&&(n.latitude=i.y,n.longitude=i.x),r.jG.isMiniProgram&&(n.displayName=i.n),n}catch(e){return}}function C(e,t){return x(null==e?void 0:e.longitude,null==t?void 0:t.longitude)&&x(null==e?void 0:e.latitude,null==t?void 0:t.latitude)}function x(e,t){return!(!e||!t)&&w(e)===w(t)}function w(e){const t=parseFloat(e),i=Math.pow(10,6);return Math.round(t*i)/i}},53909:function(e,t,i){"use strict";i.d(t,{D3:function(){return a},KL:function(){return d},mL:function(){return p},pG:function(){return l},q3:function(){return c},vc:function(){return s},zz:function(){return u}});var r=i(12697),n=i(80983);let o;var a,s;!function(e){e.JPG="jpg",e.PNG="png"}(a||(a={})),function(e){e[e.None=0]="None",e[e.Letterbox=1]="Letterbox",e[e.Scale=2]="Scale",e[e.Stretch=3]="Stretch",e[e.Crop=4]="Crop",e[e.FocalCrop=5]="FocalCrop",e[e.FacialCrop=6]="FacialCrop"}(s||(s={}));const l=90,c="www.bing.com/th",d=new RegExp(/bing\.(com|net)\/th/);function u(e,t){return p(((0,n.P)()?"//img-s.msn.cn/tenant/amp/entityid/":"//img-s-msn-com.akamaized.net/tenant/amp/entityid/")+e,t)}const h=Math.ceil(4*Math.random())||4;function p(e,t){if(e&&d.test(e))return function(e,t){try{return g(new URL(e),t).href}catch(i){const r=g(new URL(`https://${e}`),t);return`//${r.host}${r.pathname}${r.search}`}}(e,t);const{focalRegion:i,backgroundColor:n}=t;let{width:s=0,height:l=0,format:c=a.JPG}=t,u="";if(i){const e=v(i.x1,i.x2),t=v(i.y1,i.y2);null!=e&&null!=t&&(u+=`&x=${e}&y=${t}`)}n&&(u+=`&b=${n}`);const h=null==t.mode?6:t.mode;if(6===h&&(u+="&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(f()&&o)return o;if(e<1)return null;let t=e;(0,r.Z)(4*t)||(t=Math.ceil(10*t)/10);t>3&&(t=3);f()&&(o=t);return t}(t.devicePixelRatio);e&&(s=Math.round(s*e),l=Math.round(l*e))}return`${e}?w=${s}&h=${l}&q=${t.quality||60}&m=${h}&f=${c}${u}`}function g(e,t){(0,n.P)()&&(e.hostname=`ts${h}.cn.mm.bing.net`);const{width:i=0,height:r=0}=t,o=t.quality||l,a=t.crop||1;return e.searchParams.set("w",`${i}`),e.searchParams.set("h",`${r}`),e.searchParams.set("qlt",`${o}`),e.searchParams.set("c",`${a}`),e.searchParams.set("rs","1"),t.enableDpiScaling&&(e.searchParams.set("dpr",`${t.devicePixelRatio}`),e.searchParams.set("p","0")),e}function f(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function v(e,t){if(null!=e&&null!=t)return Math.floor((e+t)/2)}},99478:function(e,t,i){"use strict";function r(e,...t){return e.replace(/{(\d+)}/g,(function(e,i){if(i>=t.length)return e;const r=t[i];return"number"==typeof r||r?r:""}))}function n(e){return!e||!e.trim()}i.d(t,{TF:function(){return n},WU:function(){return r}})},83648:function(e,t,i){var r,n;n="undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==i.g?i.g:this,e.exports=function(i){"use strict";var n,o=(i=i||{}).Base64,a="2.6.4",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=function(e){for(var t={},i=0,r=e.length;i<r;i++)t[e.charAt(i)]=i;return t}(s),c=String.fromCharCode,d=function(e){if(e.length<2)return(t=e.charCodeAt(0))<128?e:t<2048?c(192|t>>>6)+c(128|63&t):c(224|t>>>12&15)+c(128|t>>>6&63)+c(128|63&t);var t=65536+1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320);return c(240|t>>>18&7)+c(128|t>>>12&63)+c(128|t>>>6&63)+c(128|63&t)},u=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,h=function(e){return e.replace(u,d)},p=function(e){var t=[0,2,1][e.length%3],i=e.charCodeAt(0)<<16|(e.length>1?e.charCodeAt(1):0)<<8|(e.length>2?e.charCodeAt(2):0);return[s.charAt(i>>>18),s.charAt(i>>>12&63),t>=2?"=":s.charAt(i>>>6&63),t>=1?"=":s.charAt(63&i)].join("")},g=i.btoa&&"function"==typeof i.btoa?function(e){return i.btoa(e)}:function(e){if(e.match(/[^\x00-\xFF]/))throw new RangeError("The string contains invalid characters.");return e.replace(/[\s\S]{1,3}/g,p)},f=function(e){return g(h(String(e)))},v=function(e){return e.replace(/[+\/]/g,(function(e){return"+"==e?"-":"_"})).replace(/=/g,"")},m=function(e,t){return t?v(f(e)):f(e)},y=function(e){return m(e,!0)};i.Uint8Array&&(n=function(e,t){for(var i="",r=0,n=e.length;r<n;r+=3){var o=e[r],a=e[r+1],l=e[r+2],c=o<<16|a<<8|l;i+=s.charAt(c>>>18)+s.charAt(c>>>12&63)+(void 0!==a?s.charAt(c>>>6&63):"=")+(void 0!==l?s.charAt(63&c):"=")}return t?v(i):i});var b,C=/[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g,x=function(e){switch(e.length){case 4:var t=((7&e.charCodeAt(0))<<18|(63&e.charCodeAt(1))<<12|(63&e.charCodeAt(2))<<6|63&e.charCodeAt(3))-65536;return c(55296+(t>>>10))+c(56320+(1023&t));case 3:return c((15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2));default:return c((31&e.charCodeAt(0))<<6|63&e.charCodeAt(1))}},w=function(e){return e.replace(C,x)},$=function(e){var t=e.length,i=t%4,r=(t>0?l[e.charAt(0)]<<18:0)|(t>1?l[e.charAt(1)]<<12:0)|(t>2?l[e.charAt(2)]<<6:0)|(t>3?l[e.charAt(3)]:0),n=[c(r>>>16),c(r>>>8&255),c(255&r)];return n.length-=[0,0,2,1][i],n.join("")},S=i.atob&&"function"==typeof i.atob?function(e){return i.atob(e)}:function(e){return e.replace(/\S{1,4}/g,$)},T=function(e){return S(String(e).replace(/[^A-Za-z0-9\+\/]/g,""))},k=function(e){return w(S(e))},O=function(e){return String(e).replace(/[-_]/g,(function(e){return"-"==e?"+":"/"})).replace(/[^A-Za-z0-9\+\/]/g,"")},I=function(e){return k(O(e))};i.Uint8Array&&(b=function(e){return Uint8Array.from(T(O(e)),(function(e){return e.charCodeAt(0)}))});var A=function(){var e=i.Base64;return i.Base64=o,e};if(i.Base64={VERSION:a,atob:T,btoa:g,fromBase64:I,toBase64:m,utob:h,encode:m,encodeURI:y,btou:w,decode:I,noConflict:A,fromUint8Array:n,toUint8Array:b},"function"==typeof Object.defineProperty){var P=function(e){return{value:e,enumerable:!1,writable:!0,configurable:!0}};i.Base64.extendString=function(){Object.defineProperty(String.prototype,"fromBase64",P((function(){return I(this)}))),Object.defineProperty(String.prototype,"toBase64",P((function(e){return m(this,e)}))),Object.defineProperty(String.prototype,"toBase64URI",P((function(){return m(this,!0)})))}}return i.Meteor&&(Base64=i.Base64),e.exports?e.exports.Base64=i.Base64:void 0===(r=function(){return i.Base64}.apply(t,[]))||(e.exports=r),{Base64:i.Base64}}(n)},99813:function(e){"use strict";var t=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},i=0;i<10;i++)t["_"+String.fromCharCode(i)]=i;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var r={};return"abcdefghijklmnopqrst".split("").forEach((function(e){r[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},r)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,l=n(e),c=1;c<arguments.length;c++){for(var d in a=Object(arguments[c]))i.call(a,d)&&(l[d]=a[d]);if(t){s=t(a);for(var u=0;u<s.length;u++)r.call(a,s[u])&&(l[s[u]]=a[s[u]])}}return l}},13218:function(e,t,i){"use strict";var r=i(99813),n="function"==typeof Symbol&&Symbol.for,o=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,s=n?Symbol.for("react.fragment"):60107,l=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,h=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,g=n?Symbol.for("react.memo"):60115,f=n?Symbol.for("react.lazy"):60116,v="function"==typeof Symbol&&Symbol.iterator;function m(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,i=1;i<arguments.length;i++)t+="&args[]="+encodeURIComponent(arguments[i]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var y={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b={};function C(e,t,i){this.props=e,this.context=t,this.refs=b,this.updater=i||y}function x(){}function w(e,t,i){this.props=e,this.context=t,this.refs=b,this.updater=i||y}C.prototype.isReactComponent={},C.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(m(85));this.updater.enqueueSetState(this,e,t,"setState")},C.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},x.prototype=C.prototype;var $=w.prototype=new x;$.constructor=w,r($,C.prototype),$.isPureReactComponent=!0;var S={current:null},T=Object.prototype.hasOwnProperty,k={key:!0,ref:!0,__self:!0,__source:!0};function O(e,t,i){var r,n={},a=null,s=null;if(null!=t)for(r in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)T.call(t,r)&&!k.hasOwnProperty(r)&&(n[r]=t[r]);var l=arguments.length-2;if(1===l)n.children=i;else if(1<l){for(var c=Array(l),d=0;d<l;d++)c[d]=arguments[d+2];n.children=c}if(e&&e.defaultProps)for(r in l=e.defaultProps)void 0===n[r]&&(n[r]=l[r]);return{$$typeof:o,type:e,key:a,ref:s,props:n,_owner:S.current}}function I(e){return"object"==typeof e&&null!==e&&e.$$typeof===o}var A=/\/+/g,P=[];function L(e,t,i,r){if(P.length){var n=P.pop();return n.result=e,n.keyPrefix=t,n.func=i,n.context=r,n.count=0,n}return{result:e,keyPrefix:t,func:i,context:r,count:0}}function M(e){e.result=null,e.keyPrefix=null,e.func=null,e.context=null,e.count=0,10>P.length&&P.push(e)}function E(e,t,i,r){var n=typeof e;"undefined"!==n&&"boolean"!==n||(e=null);var s=!1;if(null===e)s=!0;else switch(n){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case o:case a:s=!0}}if(s)return i(r,e,""===t?"."+F(e,0):t),1;if(s=0,t=""===t?".":t+":",Array.isArray(e))for(var l=0;l<e.length;l++){var c=t+F(n=e[l],l);s+=E(n,c,i,r)}else if(null===e||"object"!=typeof e?c=null:c="function"==typeof(c=v&&e[v]||e["@@iterator"])?c:null,"function"==typeof c)for(e=c.call(e),l=0;!(n=e.next()).done;)s+=E(n=n.value,c=t+F(n,l++),i,r);else if("object"===n)throw i=""+e,Error(m(31,"[object Object]"===i?"object with keys {"+Object.keys(e).join(", ")+"}":i,""));return s}function D(e,t,i){return null==e?0:E(e,"",t,i)}function F(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+(""+e).replace(/[=:]/g,(function(e){return t[e]}))}(e.key):t.toString(36)}function N(e,t){e.func.call(e.context,t,e.count++)}function j(e,t,i){var r=e.result,n=e.keyPrefix;e=e.func.call(e.context,t,e.count++),Array.isArray(e)?U(e,r,i,(function(e){return e})):null!=e&&(I(e)&&(e=function(e,t){return{$$typeof:o,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(e,n+(!e.key||t&&t.key===e.key?"":(""+e.key).replace(A,"$&/")+"/")+i)),r.push(e))}function U(e,t,i,r,n){var o="";null!=i&&(o=(""+i).replace(A,"$&/")+"/"),D(e,j,t=L(t,o,r,n)),M(t)}var z={current:null};function _(){var e=z.current;if(null===e)throw Error(m(321));return e}var H={ReactCurrentDispatcher:z,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:S,IsSomeRendererActing:{current:!1},assign:r};t.Children={map:function(e,t,i){if(null==e)return e;var r=[];return U(e,r,null,t,i),r},forEach:function(e,t,i){if(null==e)return e;D(e,N,t=L(null,null,t,i)),M(t)},count:function(e){return D(e,(function(){return null}),null)},toArray:function(e){var t=[];return U(e,t,null,(function(e){return e})),t},only:function(e){if(!I(e))throw Error(m(143));return e}},t.Component=C,t.Fragment=s,t.Profiler=c,t.PureComponent=w,t.StrictMode=l,t.Suspense=p,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=H,t.cloneElement=function(e,t,i){if(null==e)throw Error(m(267,e));var n=r({},e.props),a=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(d in t)T.call(t,d)&&!k.hasOwnProperty(d)&&(n[d]=void 0===t[d]&&void 0!==c?c[d]:t[d])}var d=arguments.length-2;if(1===d)n.children=i;else if(1<d){c=Array(d);for(var u=0;u<d;u++)c[u]=arguments[u+2];n.children=c}return{$$typeof:o,type:e.type,key:a,ref:s,props:n,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:u,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:d,_context:e},e.Consumer=e},t.createElement=O,t.createFactory=function(e){var t=O.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:h,render:e}},t.isValidElement=I,t.lazy=function(e){return{$$typeof:f,_ctor:e,_status:-1,_result:null}},t.memo=function(e,t){return{$$typeof:g,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return _().useCallback(e,t)},t.useContext=function(e,t){return _().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return _().useEffect(e,t)},t.useImperativeHandle=function(e,t,i){return _().useImperativeHandle(e,t,i)},t.useLayoutEffect=function(e,t){return _().useLayoutEffect(e,t)},t.useMemo=function(e,t){return _().useMemo(e,t)},t.useReducer=function(e,t,i){return _().useReducer(e,t,i)},t.useRef=function(e){return _().useRef(e)},t.useState=function(e){return _().useState(e)},t.version="16.14.0"},89526:function(e,t,i){"use strict";e.exports=i(13218)},19628:function(e,t){"use strict";var i=function(){function e(){}return e.IsNullOrWhiteSpace=function(e){try{return null==e||"undefined"==e||e.toString().replace(/\s/g,"").length<1}catch(e){return console.log(e),!1}},e.Join=function(t){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];try{var n=i[0];if(Array.isArray(n)||n instanceof Array){for(var o=e.Empty,a=0;a<n.length;a++){var s=n[a];a<n.length-1?o+=s+t:o+=s}return o}if("object"==typeof n){var l=e.Empty,c=n;return Object.keys(n).forEach((function(e){l+=c[e]+t})),l=l.slice(0,l.length-t.length)}var d=i;return e.join.apply(e,[t].concat(d))}catch(t){return console.log(t),e.Empty}},e.Format=function(t){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];try{return t.match(e.regexNumber)?e.format(e.regexNumber,t,i):t.match(e.regexObject)?e.format(e.regexObject,t,i,!0):e.Empty}catch(t){return console.log(t),e.Empty}},e.format=function(t,i,r,n){return void 0===n&&(n=!1),i.replace(t,(function(t,i){var o,a=t.split(":");return a.length>1&&(i=a[0].replace("{",""),t=a[1].replace("}","")),null==(o=n?r[0][i]:r[i])||null==o||t.match(/{\d+}/)||void 0!==(o=e.parsePattern(t,o))&&null!=o?o:e.Empty}))},e.parsePattern=function(t,i){switch(t){case"L":return i.toLowerCase();case"U":return i.toUpperCase();case"d":if("string"==typeof i)return e.getDisplayDateFromString(i);if(i instanceof Date)return e.Format("{0:00}.{1:00}.{2:0000}",i.getDate(),i.getMonth(),i.getFullYear());break;case"s":if("string"==typeof i)return e.getSortableDateFromString(i);if(i instanceof Date)return e.Format("{0:0000}-{1:00}-{2:00}",i.getFullYear(),i.getMonth(),i.getDate());break;case"n":"string"!=typeof i&&(i=i.toString());var r=i.replace(/,/g,".");if(isNaN(parseFloat(r))||r.length<=3)break;var n=r.split(/[^0-9]+/g),o=n;n.length>1&&(o=[e.join.apply(e,[""].concat(n.splice(0,n.length-1))),n[n.length-1]]);var a=o[0],s=a.length%3,l=s>0?a.substring(0,s):e.Empty,c=a.substring(s).match(/.{3}/g);return(l=l+"."+e.Join(".",c))+(o.length>1?","+o[1]:"")}return"number"!=typeof i&&isNaN(i)||isNaN(+t)||e.IsNullOrWhiteSpace(i)?i:e.formatNumber(i,t)},e.getDisplayDateFromString=function(e){var t;if((t=e.split("-")).length<=1)return e;var i=t[t.length-1],r=t[t.length-2],n=t[t.length-3];return(i=(i=i.split("T")[0]).split(" ")[0])+"."+r+"."+n},e.getSortableDateFromString=function(t){var i=t.replace(",","").split(".");if(i.length<=1)return t;var r=i[i.length-1].split(" "),n=e.Empty;r.length>1&&(n=r[r.length-1]);var o=i[i.length-1].split(" ")[0]+"-"+i[i.length-2]+"-"+i[i.length-3];return!e.IsNullOrWhiteSpace(n)&&n.length>1?o+="T"+n:o+="T00:00:00",o},e.formatNumber=function(e,t){var i=t.length,r=e.toString();if(i<=r.length)return r;var n=i-r.length;return new Array(n+=1).join("0")+r},e.join=function(t){for(var i=[],r=1;r<arguments.length;r++)i[r-1]=arguments[r];for(var n=e.Empty,o=0;o<i.length;o++)if(!("string"==typeof i[o]&&e.IsNullOrWhiteSpace(i[o])||"number"!=typeof i[o]&&"string"!=typeof i[o])){n+=""+i[o];for(var a=o+1;a<i.length;a++)if(!e.IsNullOrWhiteSpace(i[a])){n+=t,o=a-1;break}}return n},e.regexNumber=/{(\d+(:\w*)?)}/g,e.regexObject=/{(\w+(:\w*)?)}/g,e.Empty="",e}();t.Ld=i;var r=function(){function e(e){void 0===e&&(e=i.Empty),this.Values=[],this.Values=new Array(e)}return e.prototype.ToString=function(){return this.Values.join("")},e.prototype.Append=function(e){this.Values.push(e)},e.prototype.AppendFormat=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];this.Values.push(i.Format.apply(i,[e].concat(t)))},e.prototype.Clear=function(){this.Values=[]},e}()},20048:function(e,t,i){"use strict";i.d(t,{R:function(){return u}});var r=i(33940),n=i(89346),o=i(65620);class a extends n.H{toggleSelected(){this.internalToggle&&(this.selected=!this.selected),this.$emit("selected-state-changed")}}(0,r.gn)([(0,o.Lj)({attribute:"data-icon"})],a.prototype,"dataIcon",void 0),(0,r.gn)([(0,o.Lj)({attribute:"layout"})],a.prototype,"layout",void 0),(0,r.gn)([(0,o.Lj)({attribute:"fill-color-selected"})],a.prototype,"fillColorSelected",void 0),(0,r.gn)([(0,o.Lj)({attribute:"filled-icon-path"})],a.prototype,"filledIconPath",void 0),(0,r.gn)([(0,o.Lj)({attribute:"select-icon"})],a.prototype,"selectIcon",void 0),(0,r.gn)([(0,o.Lj)({attribute:"unselect-icon"})],a.prototype,"unselectIcon",void 0),(0,r.gn)([(0,o.Lj)({attribute:"select-title"})],a.prototype,"selectTitle",void 0),(0,r.gn)([(0,o.Lj)({attribute:"unselect-title"})],a.prototype,"unselectTitle",void 0),(0,r.gn)([(0,o.Lj)({attribute:"animation-text"})],a.prototype,"animationText",void 0),(0,r.gn)([(0,o.Lj)({mode:"boolean"})],a.prototype,"selected",void 0),(0,r.gn)([(0,o.Lj)({attribute:"select-telemetry-tag"})],a.prototype,"selectTelemetryTag",void 0),(0,r.gn)([(0,o.Lj)({attribute:"unselect-telemetry-tag"})],a.prototype,"unselectTelemetryTag",void 0),(0,r.gn)([(0,o.Lj)({mode:"boolean"})],a.prototype,"internalToggle",void 0);const s=i(53046).i`
    fluent-button {
        border-radius: 100px;
    }

    fluent-button.fill-color-selected svg {
        fill: var(--fill-color-selected);
    }

    fluent-button.filled-icon-hover {
        background: transparent;
        min-width: 20px;
        height: 20px;
    }

    fluent-button.filled-icon-hover::part(control) {
        width: 20px;
    }

    fluent-button.filled-icon-hover svg {
        width: 20px;
        height: 20px;
    }

    fluent-button.filled-icon-hover:hover > svg > path {
        transition: all 0.5s;
        d: path(var(--filled-path));
    }

    fluent-button.filled-icon-hover,
    fluent-button.no-backplate:not(:hover) {
        background: transparent;
    }

    fluent-button.expand::part(control) {
        padding: 0;
    }

    .button-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        padding-inline-start: 8px;
        animation: padding-icon 0.3s linear 2s 1 forwards;
    }

    .button-content > span {
        font-size: var(--type-ramp-minus-1-font-size);
        padding-inline-start: 6px;
        padding-inline-end: 10px;
        display: inline-block;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

    .button-content > svg {
        max-height: 16px;
    }

    .disappear {
        animation: disappear 0.3s ease-out 2s forwards;
        max-width: 165px;
    }

    .expand {
        border-radius: 100px;
        max-width: 210px;
    }

    @keyframes disappear {
        to { width: 0; padding-inline: 0; overflow: hidden; opacity: 0; display: none; }
    }

    @keyframes padding-icon {
        to { padding-inline-start: 0; }
    }
`.withBehaviors();var l=i(39181),c=i(13988);const d=l.d`
<fluent-button 
    class=${e=>`${"fillediconhover"===e.layout?"filled-icon-hover":""}\n        ${"nobackplate"===e.layout?"no-backplate":""}\n        ${e.fillColorSelected&&e.selected?" fill-color-selected":""}`}
    data-icon=${e=>e.dataIcon}
    appearance="neutral"
    style="--filled-path: '${e=>e.filledIconPath}'; --fill-color-selected: ${e=>e.fillColorSelected};"
    aria-label=${e=>e.selectTitle}
    aria-pressed=${e=>e.selected}
    title=${e=>e.selected?e.unselectTitle:e.selectTitle}
    @click=${e=>e.toggleSelected&&e.toggleSelected()}
    data-t="${e=>e.selected?e.unselectTelemetryTag:e.selectTelemetryTag}"
    >
    ${(0,c.g)((e=>e.selected),l.d`
        ${(0,c.g)((e=>"animated"!==e.layout),l.d`
            ${e=>l.d`${e.selectIcon}`}
        `)}
        ${(0,c.g)((e=>"animated"===e.layout),l.d`
            <span class="button-content">
                ${e=>l.d`${e.selectIcon}`}
                <span class="disappear">${e=>e.animationText}</span>
            </span>
        `)}
    `)}
    ${(0,c.g)((e=>!e.selected),l.d`${e=>l.d`${e.unselectIcon}`}`)}
</fluent-button>
`;let u=class extends a{};u=(0,r.gn)([(0,n.M)({name:"msn-card-button",template:d,styles:s,shadowOptions:{delegatesFocus:!0}})],u)},28195:function(e,t,i){"use strict";i.d(t,{x:function(){return n}});var r=i(48839);class n extends r.I{handleImageContentChange(){this.imageContainer.classList.toggle("image",this.image.assignedNodes().length>0)}}},76445:function(e,t,i){"use strict";i.d(t,{B4:function(){return u}});var r=i(28195),n=i(39181),o=i(58952);var a=i(53046),s=i(67020),l=i(40082),c=i(32804),d=i(15933);const u=r.x.compose({baseName:"attribution",template:(e,t)=>n.d`
    <span part="image" ${(0,o.i)("imageContainer")}>
        <slot
            name="image"
            ${(0,o.i)("image")}
            @slotchange=${e=>e.handleImageContentChange()}
        ></slot>
    </span>
    <span part="content" class="content">
        <slot></slot>
    </span>
`,styles:(e,t)=>a.i`
        ${(0,s.j)("inline-flex")} :host {
            box-sizing: border-box;
            font-family: ${c.SVJ};
            font-size: ${c.sNp};
            font-weight: 400;
            line-height: ${c.vgC};
            align-items: center;
            color: ${c.Q5n};
            min-height: 16px;
        }

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

        .image {
            display: flex;
            margin-inline-end: calc(${c._5n} * 2px);
        }
    `.withBehaviors((0,l.vF)(a.i`
                :host,
                .content {
                    color: ${d.H.CanvasText};
                    fill: currentcolor;
                }
            `))})},55978:function(e,t,i){"use strict";i.d(t,{$:function(){return r},u:function(){return c}});var r,n=i(33940),o=i(65620),a=i(87697),s=i(48839),l=i(6540);!function(e){e.default="default",e.condensed="condensed",e.infoPane="infoPane",e.infoPane1x3y="infoPane1x3y",e.infoPaneSplitVertical="infoPaneSplitVertical",e.infoPaneSplitHorizontal="infoPaneSplitHorizontal"}(r||(r={}));class c extends s.I{constructor(){super(...arguments),this.layout=r.default,this.headinglevel=3}handleStartActionsContentChange(){this.startActionsContainer.classList.toggle("start-actions",this.startActions.assignedNodes().length>0),this.hasFooter=this.endActions.assignedNodes().length>0}handleEndActionsContentChange(){this.endActionsContainer.classList.toggle("end-actions",this.endActions.assignedNodes().length>0),this.hasFooter=this.endActions.assignedNodes().length>0}abstractChanged(){this.$fastController.isConnected&&(this.hasAbstract=this.abstract.length>0)}handleMediaContentChange(){this.mediaContainer.classList.toggle("media",this.media.assignedNodes().length>0)}handleBackgroundImageContentChange(){this.backgroundImageContainer.classList.toggle("background-image",this.backgroundImage.assignedNodes().length>0)}handleContentCardLinkClick(e){return this.$emit("link-invoked",e),!0}connectedCallback(){super.connectedCallback(),this.addEventListener("mouseover",this.mouseOver),this.addEventListener("mouseout",this.mouseOut),this.addEventListener("focusin",this.focusIn),this.addEventListener("focusout",this.focusOut)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("mouseover",this.mouseOver),this.removeEventListener("mouseout",this.mouseOut),this.removeEventListener("focusin",this.focusIn),this.removeEventListener("focusout",this.focusOut)}mouseOver(){this.setExpanded(!0),this.hasHover=!0}mouseOut(){this.hasFocus||this.setExpanded(!1),this.hasHover=!1}focusIn(){this.setExpanded(!0),this.hasFocus=!0}focusOut(){this.hasHover||this.setExpanded(!1),this.hasFocus=!1}filteredContentIndicator(){return this.contentIndicatorNodes.filter((e=>e instanceof l.K))}setExpanded(e){this.filteredContentIndicator().forEach((t=>t.expanded=e))}}(0,n.gn)([o.Lj],c.prototype,"layout",void 0),(0,n.gn)([(0,o.Lj)({attribute:"heading-level",mode:"fromView",converter:o.Id})],c.prototype,"headinglevel",void 0),(0,n.gn)([(0,o.Lj)({mode:"fromView"})],c.prototype,"href",void 0),(0,n.gn)([a.LO],c.prototype,"anchorTelemetryTag",void 0),(0,n.gn)([a.LO],c.prototype,"mediaNodes",void 0),(0,n.gn)([a.LO],c.prototype,"hasAbstract",void 0),(0,n.gn)([a.LO],c.prototype,"hasFooter",void 0),(0,n.gn)([a.LO],c.prototype,"abstract",void 0),(0,n.gn)([a.LO],c.prototype,"iconSlottedNodes",void 0),(0,n.gn)([(0,o.Lj)({attribute:"image-priority",mode:"boolean"})],c.prototype,"imagePriority",void 0),(0,n.gn)([o.Lj],c.prototype,"target",void 0),(0,n.gn)([a.LO],c.prototype,"hoverActionsSlottedNodes",void 0),(0,n.gn)([a.LO],c.prototype,"contentIndicatorNodes",void 0)},71095:function(e,t,i){"use strict";i.d(t,{On:function(){return C}});var r=i(55978),n=i(39181),o=i(58952),a=i(81422),s=i(74009),l=i(13988),c=i(90960);const d=n.d`
    <div
        class="footer ${e=>e.hasAbstract?"has-abstract-footer":""} ${e=>e.hasFooter?"":"footer__hidden"}"
        part="footer"
    >
        <span part="start-actions" ${(0,o.i)("startActionsContainer")}>
            <slot
                name="start-actions"
                ${(0,o.i)("startActions")}
                @slotchange=${e=>e.handleStartActionsContentChange()}
            ></slot>
        </span>
        <span part="end-actions" ${(0,o.i)("endActionsContainer")}>
            <slot
                name="end-actions"
                ${(0,o.i)("endActions")}
                @slotchange=${e=>e.handleEndActionsContentChange()}
            ></slot>
        </span>
    </div>
`;var u=i(67020),h=i(56201),p=i(40082),g=i(53046),f=i(15933),v=i(32804),m=i(22674);const y=g.i`
    .hover-actions {
        right: 8px;
    }

    .icon {
        left: 0;
    }

    :host([layout="default"]) .media-wrapper {
        float: right;
    }

    :host([layout="infoPane1x3y"]) ::slotted([slot="content-indicator"]),
    :host([layout="infoPane"]) ::slotted([slot="content-indicator"]),
    .media-wrapper ::slotted([slot="content-indicator"]) {
        left: 8px;
    }
`,b=g.i`
    .hover-actions {
        left: 8px;
    }

    .icon {
        right: 0;
    }

    :host([layout="default"]) .media-wrapper {
        float: left;
    }

    :host([layout="infoPane1x3y"]) ::slotted([slot="content-indicator"]),
    :host([layout="infoPane"]) ::slotted([slot="content-indicator"]),
    .media-wrapper ::slotted([slot="content-indicator"]) {
        right: 8px;
    }
`,C=r.u.compose({baseName:"content-card",template:(e,t)=>n.d`
    <template
        ${(0,a.p)({property:"mediaNodes",filter:(0,s.R)("[slot='media'], [slot='icon']")})}
    >
        <span part="background-image" ${(0,o.i)("backgroundImageContainer")}>
            <slot
                name="background-image"
                ${(0,o.i)("backgroundImage")}
                @slotchange=${e=>e.handleBackgroundImageContentChange()}
            ></slot>
        </span>
        <div class="mask" part="mask"></div>
        <div class="body ${e=>e.hasAbstract?"has-abstract":""}" part="body">
            ${(0,l.g)((e=>{var t;return(null===(t=e.mediaNodes)||void 0===t?void 0:t.length)>0}),n.d` <div class="media-wrapper" part="media-wrapper">
                    <div part="media" ${(0,o.i)("mediaContainer")}>
                        <slot
                            name="media"
                            ${(0,o.i)("media")}
                            @slotchange=${e=>e.handleMediaContentChange()}
                        ></slot>
                        <slot
                            name="content-indicator"
                            ${(0,c.Q)("contentIndicatorNodes")}
                        ></slot>
                        <span
                            part="icon"
                            ${(0,o.i)("iconContainer")}
                            class="${e=>e.iconSlottedNodes&&e.iconSlottedNodes.length?"icon":"icon__hidden"}"
                        >
                            <slot
                                name="icon"
                                ${(0,o.i)("icon")}
                                ${(0,c.Q)("iconSlottedNodes")}
                            ></slot>
                        </span>
                    </div>
                </div>`)}
            <div class="heading-container" part="heading-container">
                ${(0,l.g)((e=>{var t;return 0===(null===(t=e.mediaNodes)||void 0===t?void 0:t.length)}),n.d`
                        <slot
                            name="content-indicator"
                            ${(0,c.Q)("contentIndicatorNodes")}
                        ></slot>
                    `)}
                <slot name="attribution"></slot>
                <span
                    class="heading-wrapper"
                    part="heading-wrapper"
                    role="heading"
                    aria-level=${e=>e.headinglevel}
                >
                    <a
                        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}"
                        ><slot></slot
                    ></a>
                </span>
            </div>
            <div class="abstract" part="abstract">
                <slot name="abstract" ${(0,c.Q)("abstract")}></slot>
            </div>
            <slot name="call-to-action"></slot>
            ${(0,l.g)((e=>e.layout!==r.$.default),d)}
        </div>
        ${(0,l.g)((e=>e.layout===r.$.default),d)}
        <span
            part="hover-actions"
            class="${e=>e.hoverActionsSlottedNodes&&e.hoverActionsSlottedNodes.length?"hover-actions":"hover-actions__hidden"}"
        >
            <slot name="hover-actions" ${(0,c.Q)("hoverActionsSlottedNodes")}></slot>
        </span>
    </template>
`,styles:(e,t)=>g.i`
    ${(0,u.j)("flex")} :host {
        --icon-size: 24px;
        position: relative;
        width: auto;
        box-sizing: border-box;
        font-family: ${v.SVJ};
        flex-direction: column;
        outline: none;
        height: 100%;
        overflow: hidden;
    }

    :host(:hover) .hover-actions {
        opacity: 1;
        transition: opacity 0.2s ease-in-out;
    }

    :host(:hover) .background-image,
    :host(:hover) .media {
        filter: brightness(0.9);
    }

    .body {
        display: grid;
        justify-content: center;
        row-gap: 8px;
        column-gap: 10px;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
    }

    :host([layout="default"]) .body .abstract {
        display: none;
    }

    :host([layout="default"]) .body {
        display: block;
    }

    :host([layout="default"]) .has-abstract .heading {
        -webkit-line-clamp: var(--heading-max-lines, 2);
    }

    :host([layout="default"]) .has-abstract .media-wrapper {
        margin-inline-start: 16px;
    }

    :host([image-priority]) .has-abstract .media-wrapper {
        margin-inline-start: 0;
    }

    .footer {
        padding-inline-start: var(--footer-start-padding, 16px);
        padding-inline-end: var(--footer-start-padding, 16px);
        padding-top: var(--footer-padding-top, 0);
        padding-bottom: var(--footer-padding-bottom, 4px);
        margin-top: auto;
        font-size: var(--footer-font-size, ${v.sNp});
        line-height: var(--footer-line-height, ${v.vgC});
    }

    .footer,
    .start-actions,
    .end-actions {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        color: ${v.Q5n};
        fill: ${v.Q5n};
    }

    .footer__hidden {
        display: none;
    }

    .hover-actions {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 8px;
        z-index: 2;
        opacity: 0;
    }

    .hover-actions__hidden {
        display: none;
    }

    .hover-actions:focus-within {
        opacity: 1;
    }

    .heading-container {
        grid-row: 1;
        display: flex;
        flex-direction: column;
        padding-inline-start: var(--heading-start-padding, 16px);
        padding-inline-end: var(--heading-end-padding, 16px);
        padding-bottom: 0;
        padding-top: 16px;
    }

    .heading-wrapper a:after {
        bottom: 0;
        content: "";
        height: 100%;
        left: 0;
        position: absolute;
        right: 0;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    :host([layout="condensed"]) .body {
        gap: 0;
    }

    :host([layout="condensed"]) .footer {
        grid-row: 2;
        grid-column-start: 1;
        grid-column-end: var(--footer-grid-column-end, auto);
        padding-inline-start: 16px;
    }

    :host([layout="condensed"]) .media-wrapper {
        position: relative;
        grid-row: 1 / span 2;
        margin-top: 5px;
    }

    :host([layout="condensed"]) .heading-container {
        padding-top: 0px;
        --heading-end-padding: 12px;
    }

    :host([layout="condensed"]) ::slotted([slot="attribution"]) {
        margin-bottom: 0px
    }

    .icon {
        position: absolute;
        display: inline-flex;
        top: auto;
        bottom: 0;
        justify-content: center;
        align-items: center;
        margin: 0 0 4px 0;
        margin-inline-start: 4px;
    }

    .icon__hidden {
        display: none;
    }

    ::slotted([slot="icon"]) {
        width: var(--icon-size);
        height: var(--icon-size);
        fill: #FFF;
    }

    ::slotted([slot="attribution"]) {
        margin-bottom: 6px
    }

    ::slotted([slot="abstract"]) {
        margin: 2px 0;
    }

    .media-wrapper {
        grid-row: 1;
        grid-column: 2;
        margin-inline-end: var(--media-inline-padding, 16px);
        margin-top: 16px;
    }

    .media {
        display: flex;
        position: relative;
    }

    :host([image-priority]) .heading {
        -webkit-line-clamp: var(--heading-max-lines, 2);
    }

    :host([image-priority]) .body {
        grid-template-columns: 1;
    }

    :host([image-priority]) .media-wrapper {
        grid-row: 1;
        grid-column: span 2;
        margin: 0;
    }

    :host([image-priority]) .heading-container {
        grid-row: 2;
        grid-column: span 2;
        padding-top: 10px;
        padding-inline-start: var(--heading-start-padding, 16px);
    }

    :host([image-priority]) ::slotted([slot="media"]),
    :host([layout="infoPaneSplitHorizontal"]) ::slotted([slot="media"]) {
        border-radius: 0px;
    }

    :host([layout="infoPane"]) .media-wrapper, :host([layout="infoPane1x3y"]) .media-wrapper {
        grid-row: 1;
        grid-column: 1;
        margin-top: 0;
        width: fit-content;
        height: fit-content;
    }

    :host([layout="infoPane"]) .icon, :host([layout="infoPaneSplitVertical"]) .icon, :host([layout="infoPane1x3y"]) .icon {
        display: inline;
        left: 0;
        top: 0;
        margin: 4px 0 0;
        margin-inline-start: 4px;
    }

    :host([layout="infoPaneSplitVertical"]) .icon {
        display: block;
    }

    :host([layout="infoPaneSplitHorizontal"]) .icon {
        bottom: 0px;
    }
    
    :host([layout="infoPaneSplitHorizontal"]) .heading-container,
    :host([layout="infoPane"]) .heading-container, :host([layout="infoPane1x3y"]) .heading-container {
        align-self: end;
    }

    :host([layout="infoPaneSplitHorizontal"]) .body,
    :host([layout="infoPane"]) .body, :host([layout="infoPane1x3y"]) .body {
        height: 100%;
        grid-template-rows: 1fr auto;
    }

    ::slotted([slot="call-to-action"]) {
        width: calc(100% - 32px);
        grid-row: 3;
        z-index: 1;
        grid-column: 1 / span 2;
        margin: 0 16px;
    }

    ::slotted([slot="media"]) {
        border-radius: calc(var(--content-card-corner-radius, 2) * 2px)
    }

    :host([layout="default"]) .has-abstract .abstract {
        display: block;
        padding: 0 16px 16px 16px;
    }

    .abstract {
        position: relative;
        margin: 0;
        font-size: var(--abstract-font-size, ${v.cSu});
        line-height: var(--abstract-line-height, ${v.RUt});
        font-weight: 400;
        grid-column: span 2;
        box-sizing: content-box;
        color: ${v.Q5n};
        padding: 0 16px;
    }

    ::slotted([slot="start-actions"]),
    ::slotted([slot="end-actions"]) {
        z-index: 2;
        display: grid;
        gap: 5px;
        align-items: center;
        grid-auto-flow: column;
    }

    ::slotted([slot="call-to-action"]) {
        z-index: 2;
    }

    ::slotted(fluent-button[slot="start-actions"]),
    ::slotted(fluent-button[slot="end-actions"]) {
        color: ${v.Q5n};
        fill: ${v.Q5n};
    }
    
    ::slotted(fluent-button[appearance="stealth"]:not(:hover)), :slotted([slot="hover-actions"]:not(:hover)) {
        background: transparent;
    }

    .heading {
        text-decoration: none;
        outline: 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, 3);
        white-space: initial;
    }

    .mask {
        display: none;
    }

    .heading:hover,
    .heading:${h.b} {
        text-decoration: underline;
    }

    .heading::after {
        position: absolute;
        content: "";
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    :host([layout="infoPane"]), :host([layout="infoPane1x3y"]) {
        justify-content: flex-end;
        border: none;
    }

    :host(:not([layout="infoPane"])) .has-abstract-footer, :host(:not([layout="infoPane1x3y"])) .has-abstract-footer {
        position: absolute;
        bottom: 0;
        right: 0;
        left: 0;
        background: ${v.IfY};
        box-shadow: 0px -25px 15px ${v.IfY};
    }

    :host([layout="infoPane"]) .heading-container, :host([layout="infoPane1x3y"]) .heading-container {
        grid-column: 1 / 3;
        z-index: 1;
    }

    :host([layout="infoPane"]) .has-abstract .heading-container, :host([layout="infoPane1x3y"]) .has-abstract .heading-container  {
        grid-area: 2/ 1 / span 2 / auto;
        --heading-start-padding: 16px;
        --heading-end-padding: 0;
        padding-bottom: 12px;
        padding-top: 8px;
        align-self: flex-start;
    }

    :host([layout="infoPane"]) .abstract, :host([layout="infoPane1x3y"]) .abstract, :host([layout="infoPaneSplitHorizontal"]) .abstract  {
        grid-row: 2;
        grid-column: 2;
        color: ${v.CHi};
        padding: 8px 16px 0 16px;
        align-self: end;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4;
    }

    :host([layout="infoPane"]) .abstract, :host([layout="infoPane1x3y"]) .abstract  {
        display: none;
    }

    :host([layout="infoPane"]) .has-abstract, :host([layout="infoPane1x3y"]) .has-abstract {
        grid-template-columns: 1fr 1fr;
        gap: 0 10px;
    }

    :host([layout="infoPane"]) .has-abstract .footer, :host([layout="infoPane1x3y"]) .has-abstract .footer {
        min-height: calc(40px - 4px);
    }

    :host([layout="infoPane"]) .has-abstract .abstract, :host([layout="infoPane1x3y"]) .has-abstract .abstract {
        display: -webkit-box;
        align-self: flex-end;
    }

    :host([layout="infoPane"]) .mask, :host([layout="infoPane1x3y"]) .mask {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: var(--mask-gradient, linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0,0,0,0) 176px));
    }
    
    :host([layout="infoPane1x3y"]) .mask {
        background-image: var(--mask-gradient, linear-gradient(rgba(0, 0, 0, 0), rgba(0,0,0,1) 69px, rgba(0,0,0,1)));
        top: 257px;
    }

    :host([layout="infoPane"]) .has-abstract .has-abstract-footer, :host([layout="infoPane1x3y"]) .has-abstract .has-abstract-footer {
        grid-row: 3;
        grid-column: 2;
        position: inherit;
        align-self: flex-end;
        max-height: 40px;
    }

    :host([layout="infoPane"]) .footer, :host([layout="infoPane1x3y"]) .footer  {
        margin-top: unset;
        grid-row: 2;
        grid-column: 1 / span 2;
        padding-inline-start: 16px;
        padding-inline-end: 16px;
    }


    :host([layout="infoPane"]) ::slotted(msft-attribution[slot="attribution"]), :host([layout="infoPane1x3y"]) ::slotted(msft-attribution[slot="attribution"]) {
        color: ${v.CHi};
        text-shadow: 0px 0.4px 0.9px rgba(0, 0, 0, 0.13), 0px 0px 2.22px rgba(0, 0, 0, 0.11);
    }


    :host([layout="infoPaneSplitVertical"]) {
        grid-template-columns: 304px 1fr;
        grid-template-rows: auto;
        background: ${v.IfY};
    }

    :host([layout="infoPaneSplitVertical"]) ::slotted([slot="media"]) {
        border-radius: 0px;
    }

    :host([layout="infoPaneSplitVertical"]) .media-wrapper {
        grid-row: 1 / span 2;
        grid-column: 1;
        margin: 0;
    }

    :host([layout="infoPaneSplitVertical"]) .heading-container {
        grid-row: 1;
        grid-column: 2;
        --heading-start-padding: 4px;
        --heading-end-padding: 16px;
        padding-bottom: 0;
        padding-top: 16px;
    }

    :host([layout="infoPaneSplitVertical"]) .footer {
        grid-row: 2;
        grid-column: 2;
        padding-inline-start: 0;
        padding-inline-end: 16px;
        padding-top: 0;
    }

    :host([layout="infoPaneSplitHorizontal"]) .body {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 326px auto auto;
        row-gap: 4px;
        background: ${v.IfY};
    }

    :host([layout="infoPaneSplitHorizontal"]) .media-wrapper {
        grid-column: 1 / span 2;
        margin: 0;
    }

    :host([layout="infoPaneSplitHorizontal"]) .heading-container {
        grid-column: 1;
        grid-row: 2 / span 2;
        --heading-start-padding: 16px;
        --heading-end-padding: 0;
        padding-bottom: 12px;
        padding-top: 12px;
    }

    :host([layout="infoPaneSplitHorizontal"]) .footer {
        grid-column: 2;
        grid-row: 3;
        box-shadow: none;
    }

    :host([layout="infoPaneSplitHorizontal"]) .abstract {
        color: inherit;
        align-self: inherit;
        padding: 12px 16px 0 16px;
    }

    .background-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
    }

    :host([layout="infoPane1x3y"]) .background-image {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 136px;
    }

    .background-image ::slotted(img) {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    :host([layout="infoPane1x3y"]) ::slotted([slot="content-indicator"]),
    :host([layout="infoPane"]) ::slotted([slot="content-indicator"]),
    .media-wrapper ::slotted([slot="content-indicator"]) {
        position: absolute;
        top: 8px;
        z-index: 1;
    }

    ::slotted([slot="content-indicator"]) {
        margin-bottom: 26px;
        align-self: flex-start;
    }

`.withBehaviors(new m.O(y,b),(0,p.vF)(g.i`
                .heading {
                    color: ${f.H.LinkText};
                    background: ${f.H.ButtonFace};
                }
                .abstract {
                    color: ${f.H.ButtonText};
                }
                .icon {
                    background-color: #000;
                    height: fit-content;
                }
                :host([layout="infoPane"]) .abstract,
                :host([layout="infoPane1x3y"]) .abstract,
                :host([layout="infoPaneSplitHorizontal"]) .abstract {
                    color: ${f.H.ButtonText};
                    background: ${f.H.ButtonFace};
                }
                .footer,
                .start-actions,
                .end-actions,
                ::slotted([slot="start-actions"]),
                ::slotted([slot="end-actions"]) {
                    background: ${f.H.ButtonFace};
                    color: ${f.H.ButtonText};
                    fill: currentcolor;
                }
                :host([layout="infoPane"]) .mask,
                :host([layout="infoPane1x3y"]) .mask {
                    background-image: none;
                }
                :host([layout="infoPane"]) .has-abstract .footer,
                :host([layout="infoPane1x3y"]) .has-abstract .footer,
                :host([layout="infoPane"]) .footer,
                :host([layout="infoPane1x3y"]) .footer,
                :host(:not([layout="infoPane"])) .has-abstract-footer,
                :host(:not([layout="infoPane1x3y"])) .has-abstract-footer {
                    background: ${f.H.ButtonFace};
                    box-shadow: none;
                }
                ::slotted(fluent-button[appearance="stealth"]:not(:hover)) {
                    background: ${f.H.ButtonFace};
                }
            `)),shadowOptions:{delegatesFocus:!0}})},6540:function(e,t,i){"use strict";i.d(t,{K:function(){return s}});var r=i(33940),n=i(65620),o=i(87697),a=i(48839);class s extends a.I{constructor(){super(...arguments),this.expanded=!1}defaultItemsChanged(){this.$fastController.isConnected&&(this.shouldanimate=this.defaultItems.length>0)}}(0,r.gn)([(0,n.Lj)({mode:"boolean"})],s.prototype,"expanded",void 0),(0,r.gn)([o.LO],s.prototype,"defaultItems",void 0),(0,r.gn)([(0,n.Lj)({mode:"boolean",attribute:"animate"})],s.prototype,"shouldanimate",void 0)},25921:function(e,t,i){"use strict";i.d(t,{J:function(){return l},K:function(){return r}});var r,n=i(33940),o=i(65620),a=i(87697),s=i(48839);!function(e){e.C1="C1",e.C2="C2",e.C3="C3",e.C4="C4",e.C5="C5",e.C6="C6"}(r||(r={}));class l extends s.I{constructor(){super(...arguments),this.layout=r.C4,this.enableNavigation=!1,this.ready=!1}layoutChanged(){this.updateLayout()}cardTemplateMapChanged(){this.updateLayout()}dataChanged(){this.updateLayout()}layoutStylesChanged(e,t){e&&this.$fastController.removeStyles(e),this.$fastController.addStyles(t)}selectTemplate(e){return this.cardTemplateMap[e.card_template_type]}updateLayout(){if(void 0!==this.data){const e=this.data[this.layout];this.cards=this.data.cards.map((t=>{const i=void 0===e?null:e.find((e=>e.id===t.id));return i?Object.assign({},t,i):t})).sort(((e,t)=>e.card_dom_order&&t.card_dom_order?e.card_dom_order<t.card_dom_order?-1:e.card_dom_order>t.card_dom_order?1:0:0))}}handleKeyDown(e){var t,i;if(!this.enableNavigation)return!0;const r=Array.from(this.getRootNode().querySelectorAll(this.tagName)||[]).reduce(((e,t)=>{var i;return Array.from((null===(i=t.shadowRoot)||void 0===i?void 0:i.children)||[]).forEach((t=>{t.offsetHeight>0&&t.offsetWidth>0&&e.push(t)})),e}),[]),n=r.reduce(((e,t,i)=>{const{offsetLeft:r,offsetHeight:n,offsetTop:o,offsetWidth:a}=t;return"style"!==t.tagName.toLowerCase()&&e.push({x:r,y:o,x2:r+a,y2:o+n,index:i}),e}),[]),o=null!==(i=null!==(t=r.findIndex((t=>e.composedPath().find((e=>e===t)))))&&void 0!==t?t:r.findIndex((e=>"style"!==e.tagName.toLowerCase())))&&void 0!==i?i:0,a=e=>{const t=e.currentTarget;t&&(t.removeAttribute("tabindex"),t.removeEventListener("blur",a))},s=n.reduce(((e,t,i)=>{var r;const a=n[o||0],s={x:["ArrowLeft","ArrowRight"],y:["ArrowUp","ArrowDown"]},l=e=>Math.min(t[`${e}2`],a[`${e}2`])-Math.max(t[e],a[e]),c=e=>Math.abs(t[e]>=a[`${e}2`]?t[e]-a[`${e}2`]:a[e]-t[`${e}2`]);for(const n in s){const d=n,u=l("x"===d?"y":"x"),h=c(d);if(u>0){const n=t[d]>=a[`${d}2`]?1:0,l=s[d][n];i!==o&&(void 0===e[l]||((null===(r=e[l])||void 0===r?void 0:r.distance)||0)>h)&&(e[l]=Object.assign({},t,{overlap:u,distance:h})),"y"===d&&("ArrowUp"===l?e[l]&&(!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}),{}),l=s[e.key];var c;return void 0!==l&&(c=l.index,r&&r.length>c&&(r[c].setAttribute("tabindex","0"),r[c].addEventListener("blur",a),r[c].focus())),!0}}(0,n.gn)([o.Lj],l.prototype,"layout",void 0),(0,n.gn)([(0,o.Lj)({attribute:"enable-navigation",mode:"boolean"})],l.prototype,"enableNavigation",void 0),(0,n.gn)([a.LO],l.prototype,"cards",void 0),(0,n.gn)([a.LO],l.prototype,"cardTemplateMap",void 0),(0,n.gn)([a.LO],l.prototype,"data",void 0),(0,n.gn)([a.LO],l.prototype,"layoutStyles",void 0),(0,n.gn)([a.LO],l.prototype,"ready",void 0)},56003:function(e,t,i){"use strict";i.d(t,{PY:function(){return d}});var r=i(25921),n=i(32804),o=i(53046),a=i(67020);var s=i(39181),l=i(18864);const c=s.d`${(e,t)=>t.parent.selectTemplate(e)}`,d=r.J.compose({baseName:"feed-layout",template:(e,t)=>s.d`
    <template @keydown="${(e,t)=>e.handleKeyDown(t.event)}">
        ${(0,l.rx)((e=>e.cards),c)}
    </template>
`,styles:(e,t)=>o.i`
    ${(0,a.j)("grid")}

    :host {
        font-family: ${n.SVJ};
        width: auto;
        grid-auto-rows: 146px;
        grid-auto-columns: 300px;
        grid-gap: 12px;
    }
}
`})},48837:function(e,t,i){"use strict";i.d(t,{tH:function(){return f}});var r=i(33940),n=i(65620),o=i(52704);class a extends o.Z6{constructor(){super(...arguments),this.speed=1200,this.headingLevel=3}}(0,r.gn)([n.Lj],a.prototype,"speed",void 0),(0,r.gn)([(0,n.Lj)({attribute:"heading-level",mode:"fromView",converter:n.Id})],a.prototype,"headingLevel",void 0),(0,r.gn)([n.Lj],a.prototype,"heading",void 0);var s=i(39181),l=i(58952),c=i(90960),d=i(74009),u=i(13988),h=i(51208);var p=i(53046),g=i(32804);const f=a.compose({baseName:"stripe",template:(e,t)=>s.d`
    <template>
        ${h.hX}
        <div class="heading-container" part="heading-container">
            <span class="header">
                <slot name="icon"></slot>
                <slot name="heading">
                    <span class="heading" role="heading" aria-level=${e=>e.headingLevel}
                        >${e=>e.heading}</span
                    >
                    <slot name="details"></slot>
                </slot>
                <slot name="description"></slot>
            </span>
            <slot name="action"></slot>
        </div>
        <div class="scroll-area">
            <div
                class="scroll-view"
                @scroll="${e=>e.scrolled()}"
                ${(0,l.i)("scrollContainer")}
            >
                <div class="content-container" part="content-container" ${(0,l.i)("content")}>
                    <slot
                        ${(0,c.Q)({property:"scrollItems",filter:(0,d.R)()})}
                    ></slot>
                </div>
            </div>
            ${(0,u.g)((e=>"mobile"!==e.view),s.d`
                    <div
                        class="scroll scroll-prev"
                        part="scroll-prev"
                        ${(0,l.i)("previousFlipperContainer")}
                    >
                        <div class="scroll-action" @click="${e=>e.scrollToPrevious()}">
                            <slot name="previous-flipper">
                                <fluent-flipper direction="previous"></fluent-flipper>
                            </slot>
                        </div>
                    </div>
                    <div
                        class="scroll scroll-next"
                        part="scroll-next"
                        ${(0,l.i)("nextFlipperContainer")}
                    >
                        <div class="scroll-action" @click="${e=>e.scrollToNext()}">
                            <slot name="next-flipper">
                                <fluent-flipper></fluent-flipper>
                            </slot>
                        </div>
                    </div>
                `)}
        </div>
        ${h.zq}
    </template>
`,styles:(e,t)=>p.i`
    ${(0,o.SD)(e,t)} :host {
        --scroll-fade-next: ${g.IfY};
    }

    .heading-container {
        display: grid;
        grid-template-columns: 1fr auto;
        margin: 0 0 12px;
    }

    ::slotted([slot="action"]) {
        display: flex;
        align-items: flex-end;
    }

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

    .header,
    .header ::slotted(h1),
    .header ::slotted(h2),
    .header ::slotted(h3),
    .header ::slotted(h4),
    .header ::slotted(h5),
    .header ::slotted(h6) {
        font-size: var(--stripe-heading-font-size, ${g.mWK});
        line-height: var(--stripe-heading-line-height, ${g.I7_});
        font-weight: 600;
        margin: 0;
    }

    ::slotted([slot="description"]) {
        font-size: ${g.sNp};
        line-height: ${g.vgC};
        margin: 8px 0 0;
    }
`})},90768:function(e,t,i){"use strict";i.d(t,{b:function(){return r}});const r=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 l}});var r=i(39181),n=i(13988),o=i(76859),a=i(16517),s=i(82128);const l=r.d`<div class="card-action" slot="footer-start">${(0,n.g)((e=>!e.optedOutOfReactions&&e.socialBarWCConfigInfo&&e.socialBarWCConfigInfo.instanceId),r.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=>a.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 r=i(32804);const n=i(53046).i`
[size="_2x_2y"] [media-type="image"] cs-attribution{color:#FFFFFF}cs-attribution svg{fill:${r.CHi};margin:0px 2px;vertical-align:bottom}cs-attribution img.svgLogo{margin-inline-end:calc(${r._5n} * 1px);
}
`},77691:function(e,t,i){"use strict";i.d(t,{Q:function(){return d}});var r=i(76859),n=i(37429),o=i(39181),a=i(13988),s=i(16446),l=i.n(s);function c(e,t){return e.providerData?t.size==r.Nv._2x_2y?e.providerData.immersiveCardSvgLogo:e.providerData.svgLogo:void 0}const d=o.d`<cs-attribution slot="attribution">${(0,a.g)(((e,t)=>c(e,t.parent)),o.d`<img slot="image" class="${e=>e.isWebContent?"":"svgLogo"}" width="${(e,t)=>c(e,t.parent).width}" height="${(e,t)=>c(e,t.parent).height}" src="${(e,t)=>c(e,t.parent).url}" alt="${e=>e.providerData.name}" @load=${e=>e.visualReadinessCallback&&e.visualReadinessCallback(n.u.VP,n.w.provider)}/>`)} ${(0,a.g)(((e,t)=>!c(e,t.parent)),o.d` ${(0,a.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,a.g)((e=>e.providerData&&e.providerData.name),o.d`<span style="unicode-bidi: embed;">${e=>e.providerData.name}</span>`)} `)} ${(0,a.g)((e=>e.isWebContent),o.d`${l()}`)} ${(0,a.g)(((e,t)=>{return i=e,r=t.parent,(c(i,r)||i.providerData&&i.providerData.name)&&i.publishedDateTime;var i,r}),o.d` · `)} ${(0,a.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 r=i(32804);const n=i(53046).i` .content-badge{align-items:center;background:${r._Bj};
        border-radius: 6px;
        color: ${r.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:${r.CHi};
        stroke: ${r.CHi}}.label-container{font-family:${r.SVJ};
        font-size: ${r.sNp};
        height: 16px;
        line-height: ${r.vgC};overflow:hidden;white-space:nowrap}.icon-container{display:flex}`},77864:function(e,t,i){"use strict";i.d(t,{j:function(){return h}});var r=i(39181),n=i(13988),o=i(39725),a=i(79844),s=i(36764),l=i.n(s),c=i(80709),d=i(27035),u=i(90652);const h=r.d` ${(0,n.g)((e=>e.badge),r.d`<div class="content-badge" slot="footer-end"><span class="icon-container" aria-hidden="true">${e=>function(e){switch(e.toLowerCase()){case"trending":return r.d`<slot name="icon">${d.Z}</slot>`;case"hot":return r.d`<slot name="icon">${o.Z}</slot>`;case"views":return r.d`<slot name="icon">${u.Z}</slot>`;case"local":return r.d`<slot name="icon">${a.Z}</slot>`;case"explicitlike":return r.d`<slot name="icon">${c.Z}</slot>`;case"followed":case"followedtopic":case"followedpublisher":return r.d`<slot name="icon">${l()}</slot>`;default:return""}}(e.badge.type)||""}</span><span class="label-container">${e=>e.badge.localizedLabel||e.badge.value||""}</span></div>`)}`},58474:function(e,t,i){"use strict";i.d(t,{_:function(){return r}});const r=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 r=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^r.O7.hide,"Hide",!0,null,null,null,t.event)} @keypress=${e=>e.cardActionClickHandler&&e.cardActionClickHandler(e.id,e.cardActionStatus^r.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>`},9339:function(e,t,i){"use strict";i.d(t,{V:function(){return r}});const r=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 r=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()}}">${r.Z}</button>`},61521:function(e,t,i){"use strict";i.d(t,{D:function(){return r}});const r=i(53046).i`
`},31540:function(e,t,i){"use strict";i.d(t,{o:function(){return r}});const r=i(39181).d`<span class="card-title">${e=>e.title}</span>`},57719:function(e,t,i){"use strict";i.d(t,{m:function(){return l}});var r=i(37429),n=i(39181),o=i(13988),a=i(18864),s=i(62449);const l=(e,t)=>{var i,r,l,d,u;return n.d`${(0,o.g)((e=>e.data),n.d`${(0,a.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=>c(e)}" @error="${e=>c(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!==(r=t.attribution)&&void 0!==r?r:""} ${(0,o.g)((e=>!e.hideActionTray),n.d`${t.footerStart instanceof Function?t.footerStart(e,t):null!==(l=t.footerStart)&&void 0!==l?l:""}`)} ${(0,o.g)((e=>!e.hideActionTray),n.d`${t.footerEnd instanceof Function?t.footerEnd(e,t):null!==(d=t.footerEnd)&&void 0!==d?d:""}`)} ${(0,o.g)((e=>e.cardActionsTooltips&&e.cardActionClickHandler),n.d`${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(r.u.ALL,r.w.image):e&&e.imageData&&e.imageData.visualReadinessCallback&&e.imageData.visualReadinessCallback(r.u.ALL,r.w.image)}},43552:function(e,t,i){"use strict";i.d(t,{T:function(){return s}});var r=i(33940),n=i(87697),o=i(39432);class a extends o.u{}(0,r.gn)([n.LO],a.prototype,"data",void 0);class s extends a{dataChanged(){return(0,r.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,r.gn)([n.LO],s.prototype,"optOutReactionTemplate",void 0)},99393:function(e,t,i){"use strict";i.d(t,{Z:function(){return h},e:function(){return p}});var r=i(90768),n=i(38956),o=i(74983),a=i(58474),s=i(9339),l=i(61521),c=i(53046),d=i(64799),u=i(32804);const h=c.i` :host{border-radius:8px;width:calc((${d.$f} * 1px) + 2px)}:host([size="_1x_2y"]) .card-image{border-radius:8px 0 0}:host([size="_2x_2y"]){width:calc(((${d.$f} * 2px) + (${d.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:${u.mWK};line-height:22px}[size="_2x_2y"] .card-title{font-size:22px;line-height:26px}[size="_2x_2y"][card-title-size="24"] .card-title{font-size:24px;line-height:28px}[size="_2x_2y"][card-title-size="26"] .card-title{font-size:26px;line-height:30px}@media (prefers-color-scheme:dark){:host(:hover){box-shadow:0px 4px 24px rgba(0,0,0,0.26)}}:host([size="_2x_1y"]) cs-card cs-content-card div[slot="abstract"]{display:-webkit-box;--abstract-max-lines:1}:host([size="_2x_1y"]) cs-card cs-content-card{--content-card-heading-font-size:20px;--content-card-heading-line-height:22px}`,p=(e,t)=>c.i`
    ${r.b}
    ${n.T}
    ${o.j}
    ${a._}
    ${s.V}
    ${l.D}
    ${h}
`},37371:function(e,t,i){"use strict";i.d(t,{Y:function(){return we}});var r=i(57905),n=i(77691),o=i(65468),a=i(77864),s=i(31464),l=i(85078),c=i(31540),d=i(43552),u=i(39181),h=i(99393),p=i(53046),g=i(32804);const f=p.i`:host,.card-outer{background:rgba(255,255,255,0.7);border-radius:8px;height:inherit;width:inherit}.card-content{background:rgba(255,255,255,0.7)}.card-image{height:126px}[t-image-ratio="1:1"] .card-image{height:238px}::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:240px;width:320px}@media (prefers-color-scheme:dark){.card-content,.card-outer{background:rgba(41,41,41,0.7)}}[immersive-card]{background:none}`;var v=i(57719);const m=d.T.compose({baseName:"article-card-carousel",styles:(e,t)=>p.i`
    ${(0,h.e)(e,t)}
    ${f}
`,template:v.m,attribution:u.d`${n.Q}`,footerStart:u.d`${o.Q}`,footerEnd:u.d`${a.j}`,hideStory:u.d`${s.T}${l.j}`,title:u.d`${c.o}`});var y=i(33940),b=i(87697),C=i(49176),x=i(65620);class w extends C.m{constructor(){super(...arguments),this.tabs=[],this.tabpanels=[],this.showTabs=!0}connectedCallback(){super.connectedCallback(),this.activeindicator=!1,this.horizontalScroll&&(this.horizontalScroll.keyupHandler=this.horizontalScrollKeyUp)}tabpanelsChanged(){this.tabpanels&&(1!==this.tabpanels.length?this.showTabs=!0:(this.showTabs=!1,this.tabs=[])),super.tabpanelsChanged()}horizontalScrollKeyUp(e){return!1}activeidChanged(e,t){super.activeidChanged(e,t),this.horizontalScroll.scrollInView(this.activetab)}}(0,y.gn)([b.LO,(0,y.w6)("design:type",Array)],w.prototype,"tabs",void 0),(0,y.gn)([b.LO,(0,y.w6)("design:type",Array)],w.prototype,"tabpanels",void 0),(0,y.gn)([b.LO,(0,y.w6)("design:type",Boolean)],w.prototype,"showTabs",void 0),(0,y.gn)([(0,x.Lj)({attribute:"next-tab-telemetry"}),(0,y.w6)("design:type",String)],w.prototype,"nextTabTelemetry",void 0),(0,y.gn)([(0,x.Lj)({attribute:"previous-tab-telemetry"}),(0,y.w6)("design:type",String)],w.prototype,"previousTabTelemetry",void 0);class $ extends w{constructor(){super(...arguments),this.isActionMenuOpen=!1,this.handleClickForActionMenu=e=>{var t;e&&this.actionsMenuButtonElement&&this.actionsMenuButtonElement.contains((e.path||(null===(t=e.composedPath)||void 0===t?void 0:t.call(e)))[0])||this.toggleActionMenu(null)},this.handleKeyDownForActionMenu=e=>{"Escape"!==e.code||this.toggleActionMenu(!1,null)}}toggleActionMenu(e,t=!1){this.isActionMenuOpen=t,t&&e?(this.actionsMenuButtonElement=e&&e.currentTarget,document.addEventListener("click",this.handleClickForActionMenu),document.addEventListener("keydown",this.handleKeyDownForActionMenu)):(this.actionsMenuButtonElement=null,document.removeEventListener("click",this.handleClickForActionMenu),document.removeEventListener("keydown",this.handleKeyDownForActionMenu))}}(0,y.gn)([b.LO],$.prototype,"data",void 0),(0,y.gn)([b.LO],$.prototype,"isActionMenuOpen",void 0);const S=p.i` [size="_1x_2y"],[size="_2x_2y"]{height:100%;width:100%}::part(title){font-size:${g.ipv};
        height: 32px;
        line-height: ${g.yGZ};margin-inline-start:12px}.title-link{color:${g.CHi};text-decoration:none}.seemore-link{color:${g.CHi};
        font-size: ${g.cSu};
        line-height: ${g.RUt};text-decoration:none}.seemore-link:hover,cs-card.seeMoreCard:hover{text-decoration:underline}.headerIcon{fill:currentColor;height:28px;width:28px}.headerIcon > svg{height:28px;width:28px}cs-card.seeMoreCard{flex-direction:column;justify-content:center}cs-card.seeMoreCard:hover{box-shadow:0px 4px 24px rgba(0,0,0,0.14)}a.seeMoreCardLink{align-items:center;display:flex;fill:currentColor;flex-direction:column;font-size:${g.cSu};
        gap: 14px;
        line-height: ${g.RUt};text-decoration:none}.carouselCard{background:rgba(255,255,255,0.7);border-radius:8px;margin-inline-end:12px}.articleContent{width:240px}.articleContentImmersive{border-radius:8px;height:240px;margin-inline-end:12px;width:320px}@media (prefers-color-scheme:dark){.carouselCard{background:rgba(41,41,41,0.7)}}.carouselCard:last-child,.articleContentImmersive:last-child{margin-inline-end:0px}fluent-button[slot="more-actions"]{background:none;cursor:pointer;height:32px;width:32px;margin-inline-start:8px}fluent-button[slot="more-actions"] > svg{height:20px;width:20px}fluent-button[slot="more-actions"]:hover{background:var(--neutral-fill-stealth-hover)}`;var T=i(18864),k=i(13988),O=i(62449),I=i(3893),A=i.n(I),P=i(33763),L=i(45147),M=i.n(L),E=i(85130),D=i.n(E),F=i(41517),N=i.n(F);P.S;const j=u.d`<fluent-button slot="more-actions" appearance="stealth" id="${e=>e.id}ActionMenu" @click=${(e,t)=>t.parent.toggleActionMenu(t.event,!t.parent.isActionMenuOpen)} title="${e=>e.headerData.actionMenuData.tooltip}" aria-label="${e=>e.headerData.actionMenuData.tooltip}" data-t="${e=>e.headerData.actionMenuData.telemetryTag}">${A()}</fluent-button>`,U=u.d`<div data-t="${e=>e.headerData.actionMenuData.telemetryTag}"><msn-actions-menu :referrerButton=${(e,t)=>t.parent.actionsMenuButtonElement} :menuItems=${e=>e.headerData.actionMenuData.items} /></div>`,z=u.d`<cs-stripe-tab-panel><cs-horizontal-scroll speed="4000" next-telemetry="${(e,t)=>t.parent&&t.parent.telemetry&&t.parent.telemetry.previousArrow}" previous-telemetry="${(e,t)=>t.parent&&t.parent.telemetry&&t.parent.telemetry.nextArrow}" view="${(e,t)=>t.parent&&t.parent.isMobile?"mobile":"default"}"><slot name="previous-tab-glyph" slot="previous">${N()}</slot><slot name="next-tab-glyph" slot="next">${D()}</slot>${(0,T.rx)((e=>e.items),u.d`${(e,t)=>((e,t)=>"general"===t?u.d`<cs-general-carousel-card class="carouselCard" :data=${e=>e}></cs-general-carousel-card>`:u.d`<cs-article-card-carousel class="carouselCard ${e=>e.immersiveCard?"articleContentImmersive":"articleContent"}" :data=${e=>e}></cs-article-card-carousel>`)(0,t.parent.contentCardTag)}`)} ${(0,k.g)(((e,t)=>t.parent.seeMore&&t.parent.seeMore.showCard),u.d`${(e,t)=>{return i=t.parent.seeMore.content,u.d`<cs-card class="seeMoreCard ${(e,t)=>t.parent&&t.parent.immersiveCard?"articleContentImmersive":"articleContent"}"><a class="seeMoreCardLink" href=${i.url} target="${O.P._blank}" data-t="${(e,t)=>{var i,r;return null===(r=null===(i=t.parent)||void 0===i?void 0:i.telemetry)||void 0===r?void 0:r.seeMoreCard}}">${M()} ${i.displayText}</a></cs-card>`;var i}}`)}</cs-horizontal-scroll></cs-stripe-tab-panel>`,_=u.d` ${(0,k.g)(((e,t)=>t.parent.content.length>=2&&e.tabName),u.d`<cs-stripe-tab data-t="${e=>e.tabTelemetry}">${e=>e.tabName}</cs-stripe-tab>`)} ${z}
`,H=u.d`<cs-stripe class="horizontal" orientation="horizontal" data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.carousel}}" next-tab-telemetry="${e=>e.telemetry&&e.telemetry.tabNext}" previous-tab-telemetry="${e=>e.telemetry&&e.telemetry.tabPrev}"><slot slot="previous-tab-glyph" name="flipper-previous">${N()}</slot><slot slot="next-tab-glyph" name="flipper-next">${D()}</slot><div slot="icon" class="headerIcon">${e=>u.d`${e.headerData.headerLogo}`}</div>${e=>e.headerData&&e.headerData.title&&e.headerData.title.url?u.d`<a class="title-link" id="${e=>e.id}Title" href=${e=>e.headerData.title.url} target="${O.P._blank}" data-t="${e=>e.telemetry&&e.telemetry.title}">${e=>e.headerData.title.displayText}</a>`:u.d`<span class="title-link" id="${e=>e.id}Title">${e=>e.headerData.title.displayText}</span `} ${(0,T.rx)((e=>e.content),u.d`${e=>_}`)} ${(0,k.g)((e=>e.seeMore&&e.seeMore.showHeader),u.d`<a slot="more-actions" class="seemore-link" id="${e=>e.id}SeeMoreHeader" href=${e=>e.seeMore.content&&e.seeMore.content.url} target="${O.P._blank}" data-t="${e=>{var t;return null===(t=e.telemetry)||void 0===t?void 0:t.seeMore}}">${e=>e.seeMore.content&&e.seeMore.content.displayText}</a>`)} ${(0,k.g)((e=>e.headerData.actionMenuData),j)} ${(0,k.g)(((e,t)=>t.parent.isActionMenuOpen),U)}</cs-stripe>`,R=$.compose({baseName:"carousel",styles:S,template:(e,t)=>u.d`${(0,k.g)((e=>e.data),u.d`${(0,T.rx)((e=>[e.data]),u.d` ${e=>e.immersiveCard?H:u.d`<cs-card id="${e=>e.id}OuterCard" size="${e=>e.cardSize}" card-fill-color="${e=>e.cardFillColor}" gradient-angle="${e=>e.gradientAngle}">${H}</cs-card>`} `)}`)}`});var G=i(48839);const W="1.91:1";class B extends G.I{constructor(){super(...arguments),this.headingLevel=2,this.imageAspectRatio=W,this.target="_blank"}handleContentCardLinkClick(e){return this.$emit("link-invoked",e),!0}}(0,y.gn)([(0,x.Lj)({attribute:"heading-level",mode:"fromView",converter:x.Id}),(0,y.w6)("design:type",Number)],B.prototype,"headingLevel",void 0),(0,y.gn)([(0,x.Lj)({attribute:"image-aspect-ratio"}),(0,y.w6)("design:type",String)],B.prototype,"imageAspectRatio",void 0),(0,y.gn)([x.Lj,(0,y.w6)("design:type",Object)],B.prototype,"href",void 0),(0,y.gn)([x.Lj,(0,y.w6)("design:type",String)],B.prototype,"target",void 0),(0,y.gn)([b.LO,(0,y.w6)("design:type",String)],B.prototype,"anchorTelemetryTag",void 0);var q=i(64799),V=i(67020),Y=i(40082);const J=B.compose({baseName:"carousel-card",styles:(e,t)=>p.i`
        ${q.sQ}

        ${(0,V.j)("grid")} :host {
            grid-template-rows: auto 1fr;
            font-family: ${g.SVJ};
            width: 240px;
            height: 100%;
        }

        .content {
            grid-row: 2;
            display: grid;
            grid-template-rows: 1fr auto;
            padding: 10px 16px 12px 16px;
            align-self: end;
            height: 100%;
            box-sizing: border-box;
        }

        ::slotted([slot="metadata"]) {
            color: ${g.Q5n};
            font-size: ${g.cSu};
            line-height: ${g.RUt};
            max-height: 20px;
            overflow: hidden;
            display: -webkit-box;
            text-decoration: none;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            margin-top: 2px;
        }

        ::slotted([slot="image"]) {
            grid-row: 1;
            object-fit: cover;
            width: 100%;
        }

        :host([image-aspect-ratio="1.91:1"]) ::slotted([slot="image"]) {
            height: 126px;
        }

        :host([image-aspect-ratio="1:1"]) ::slotted([slot="image"]) {
            height: 240px;
        }

        :host([image-aspect-ratio="3:4"]) ::slotted([slot="image"]) {
            height: 320px;
        }

        .heading {
            color: ${g.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(--carousel-card-heading-font-size, ${g.PwC});
            line-height: var(
                --carousel-card-heading-line-height,
                ${g.b3W}
            );
        }

        .heading:after {
            bottom: 0;
            content: "";
            height: 100%;
            left: 0;
            position: absolute;
            right: 0;
            width: 100%;
            z-index: var(--sloppy-click-z-index, 2);
        }
    `.withBehaviors((0,Y.vF)(p.i`
                :host {
                    forced-color-adjust: auto;
                }
            `)),template:(e,t)=>u.d`
    <template role="article">
        <div class="image" part="image">
            <slot name="image">
                ${t.image instanceof Function?t.image(e,t):t.image??""}
            </slot>
        </div>
        <div class="content" part="content">
            <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>
            <slot name="metadata">
                ${t.metadata instanceof Function?t.metadata(e,t):t.metadata??""}
            </slot>
        </div>
    </template>
`});var Z=i(64062);class Q extends B{}(0,y.gn)([b.LO],Q.prototype,"data",void 0);const K=p.i` :host,cs-carousel-card{border-radius:8px}`,X=u.d` ${(0,k.g)((e=>e.data),u.d`${(0,T.rx)((e=>[e.data]),u.d`<cs-carousel-card href=${e=>e.clickUrl} target="${e=>e.target?e.target:O.P._blank}" image-aspect-ratio="${e=>e.imageRatio}" t-data="${e=>e.telemetryTag}"><img slot="image" src=${e=>e.imageData&&e.imageData.source} />${e=>e.title} ${(0,k.g)((e=>e.metadata1),u.d`<span slot="metadata">${e=>e.metadata1}</span>`)} ${(0,k.g)((e=>e.metadata2),u.d`<span slot="metadata">${e=>e.metadata2}</span>`)}</cs-carousel-card>`)}`)}
`,ee=Q.compose({baseName:"general-carousel-card",styles:K,template:X});var te=i(88127),ie=i(16009),re=i(22674);const ne=p.i`
    .scroll-prev {
        right: auto;
        left: 0;
    }

    .scroll.scroll-next::before,
    .scroll-next .scroll-action {
        left: auto;
        right: 0;
    }

    .scroll.scroll-next::before {
        background: linear-gradient(to right, transparent, var(--scroll-fade-next));
    }

    .scroll-next .scroll-action {
        transform: translate(50%, -50%);
    }
`,oe=p.i`
    .scroll.scroll-next {
        right: auto;
        left: 0;
    }

    .scroll.scroll-next::before {
        background: linear-gradient(to right, var(--scroll-fade-next), transparent);
        left: auto;
        right: 0;
    }

    .scroll.scroll-prev::before {
        background: linear-gradient(to right, transparent, var(--scroll-fade-previous));
    }

    .scroll-prev .scroll-action {
        left: auto;
        right: 0;
        transform: translate(50%, -50%);
    }
`,ae=p.i`
    div.scroll-view {
        overflow-x: hidden;
    }

    .scroll {
        bottom: 0;
        pointer-events: none;
        position: absolute;
        right: 0;
        top: 0;
        user-select: none;
        width: 100px;
    }

    .scroll.disabled {
        display: none;
    }

    .scroll::before,
    .scroll-action {
        left: 0;
        position: absolute;
    }

    .scroll::before {
        background: linear-gradient(to right, var(--scroll-fade-previous), transparent);
        content: "";
        display: block;
        height: 100%;
        width: 100%;
    }

    .scroll-action {
        pointer-events: auto;
        right: auto;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 0;
        transition: opacity 0.2s ease-in-out;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.14);
    }

    .scroll-area:hover .scroll-action {
        opacity: 1;
    }

    cs-flipper {
        height: 48px;
        width: 24px;
    }
`.withBehaviors(new re.O(ne,oe));class se extends te.Z{connectedCallback(){super.connectedCallback(),"mobile"!==this.view&&this.$fastController.addStyles(ae)}}(0,y.gn)([(0,x.Lj)({attribute:"next-telemetry"}),(0,y.w6)("design:type",String)],se.prototype,"nextTelemetry",void 0),(0,y.gn)([(0,x.Lj)({attribute:"previous-telemetry"}),(0,y.w6)("design:type",String)],se.prototype,"previousTelemetry",void 0);const le=se.compose({baseName:"horizontal-scroll",baseClass:te.Z,styles:(e,t)=>p.i`
    ${(0,V.j)("block")} :host {
        --scroll-align: center;
        --scroll-item-spacing: 4px;
        contain: layout;
        position: relative;
    }

    .scroll-area {
        position: relative;
        display: flex;
    }

    .scroll-view {
        overflow-x: auto;
        scrollbar-width: none;
        padding: var(--scroll-view-padding, 10px);
        overflow-y: clip;
    }

    ::-webkit-scrollbar {
        display: none;
    }

    .content-container {
        align-items: var(--scroll-align);
        display: inline-flex;
        flex-wrap: nowrap;
        position: relative;
        height: 100%;
    }

    .content-container ::slotted(*) {
        margin-right: var(--scroll-item-spacing);
    }

    .content-container ::slotted(*:last-child) {
        margin-right: 0;
    }
`,template:ie.S,nextFlipper:u.d`
        <cs-flipper
            @click="${e=>e.scrollToNext()}"
            aria-hidden="${e=>e.flippersHiddenFromAT}"
            data-t="${e=>e.nextTelemetry}"
            part="next-flipper"
        >
            <slot name="next" slot="next"></slot>
        </cs-flipper>
    `,previousFlipper:u.d`
        <cs-flipper
            @click="${e=>e.scrollToPrevious()}"
            direction="previous"
            aria-hidden="${e=>e.flippersHiddenFromAT}"
            data-t="${e=>e.previousTelemetry}"
            part="previous-flipper"
        >
            <slot name="previous" slot="previous"></slot>
        </cs-flipper>
    `});var ce=i(58952),de=i(90960);const ue=w.compose({baseName:"stripe",template:(e,t)=>u.d`
    <template class="${e=>e.orientation}">
        <div class="tab-stripe ${e=>e.showTabs?"":"no-tabs"}" part="tab-stripe">
            <div part="title-container" class="title-container">
                <slot name="icon">
                    ${t.icon instanceof Function?t.icon(e,t):t.icon??""}
                </slot>
                <span part="title" class="title">
                    <slot></slot>
                </span>
            </div>
            ${(0,k.g)((e=>!!e.showTabs),u.d`
                <${e.tagFor(se)}
                    ${(0,ce.i)("horizontalScroll")}
                    class="tablist"
                    part="tablist"
                    role="tablist"
                    next-telemetry="${e=>e.nextTabTelemetry}"
                    previous-telemetry="${e=>e.previousTabTelemetry}"
                >
                    <slot name="previous-tab-glyph" slot="previous"></slot>
                    <slot name="next-tab-glyph" slot="next"></slot>
                    <slot class="tab" name="tab" part="tab" ${(0,de.Q)("tabs")}></slot>
                </${e.tagFor(se)}>
            `)}
            <div part="more-actions" class="more-actions">
                <slot name="more-actions">
                    ${t.moreActions instanceof Function?t.moreActions(e,t):t.moreActions??""}
                </slot>
            </div>
        </div>
        <div class="tabpanel" part="tabpanel">
            <slot name="tabpanel" ${(0,de.Q)("tabpanels")}></slot>
        </div>
    </template>
`,styles:(e,t)=>p.i`
        ${(0,V.j)("grid")} :host {
            box-sizing: border-box;
            font-family: ${g.SVJ};
            font-size: ${g.cSu};
            line-height: ${g.RUt};
            font-weight: initial;
            color: ${g.CHi};
            grid-template-rows: 72px 1fr;
            grid-template-columns: 1fr;
            width: 100%;
            --tab-stripe-column-max-width: 50%;
            --title-column-max-width: 25%;
        }

        .tab-stripe {
            display: grid;
            grid-template-columns:
                var(--title-column-max-width) minmax(
                    auto,
                    var(--tab-stripe-column-max-width)
                )
                var(--title-column-max-width);
            justify-content: center;
            align-items: center;
            column-gap: 12px;
        }

        .tab-stripe.no-tabs {
            grid-template-columns: 1fr 1fr;
        }

        .more-actions {
            justify-self: end;
            margin-inline-end: 16px;
            display: grid;
            grid-auto-flow: column;
            column-gap: 8px;
            justify-content: center;
        }

        ::slotted([slot="more-actions"]) {
            font-size: ${g.sNp};
            line-height: ${g.vgC};
        }

        ::slotted(fluent-button[appearance="stealth"]),
        ::slotted(fluent-anchor[appearance="stealth"]) {
            background: transparent;
            --control-corner-radius: 999;
        }

        ::slotted(fluent-button[appearance="stealth"]:hover),
        ::slotted(fluent-anchor[appearance="stealth"]:hover) {
            background-color: ${g.QpD};
        }

        ::slotted(fluent-button[appearance="stealth"]:active),
        ::slotted(fluent-anchor[appearance="stealth"]:active) {
            background-color: ${g.sG3};
        }

        .title-container {
            margin-inline-start: 16px;
            display: flex;
            align-items: center;
        }

        .title {
            margin-inline-start: 8px;
            font-weight: 600;
            font-size: ${g.mWK};
            line-height: ${g.I7_};
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .tablist {
            min-width: 0px;
            --scroll-view-padding: 0;
        }

        .tablist::part(scroll-area) {
            justify-content: center;
        }

        .tablist::part(scroll-view) {
            margin: 0 37px;
        }

        .tablist::part(scroll-action-previous),
        .tablist::part(scroll-action-next) {
            transform: translate(0%, -50%);
            box-shadow: none;
        }

        .tablist::part(scroll-action-previous) {
            border-inline-end: 1px solid rgba(0, 0, 0, 0.08);
            padding-inline-end: 8px;
        }

        .tablist::part(scroll-action-next) {
            border-inline-start: 1px solid rgba(0, 0, 0, 0.08);
            padding-inline-start: 8px;
        }

        .tablist::part(next-flipper),
        .tablist::part(previous-flipper) {
            width: 28px;
            height: 28px;
        }

        .tabpanel {
            grid-row: 2;
            grid-column-start: 1;
            grid-column-end: 4;
            position: relative;
            width: inherit;
        }

        cs-flipper {
            visibility: hidden;
        }

        .previous-flipper,
        .next-flipper {
            width: 28px;
            height: 28px;
        }

        :host(:hover) cs-flipper,
        :host(:focus-within) cs-flipper {
            visibility: visible;
        }
    `});var he=i(26899),pe=i(13626),ge=i(2658),fe=i(56201),ve=i(87839);const me=he.O.compose({baseName:"stripe-tab",template:pe.O,styles:(e,t)=>p.i`
        ${(0,V.j)("inline-flex")} :host {
            box-sizing: border-box;
            white-space: nowrap;
            font-family: ${g.SVJ};
            font-size: ${g.cSu};
            line-height: ${g.RUt};
            font-weight: initial;
            height: calc((${ge.i} + (${g._5n} * 2)) * 1px);
            padding: 0 9px;
            color: ${g.Q5n};
            border-radius: calc(${g.UWU} * 1px);
            border: calc(${g.Han} * 1px) solid transparent;
            align-items: center;
            justify-content: center;
            grid-row: 1 / 3;
            cursor: pointer;
            outline: none;
        }
        :host([aria-selected="true"]) {
            z-index: 2;
            color: ${g.CHi};
            font-weight: 600;
        }
        :host(:hover),
        :host(:active) {
            color: ${g.CHi};
        }
        :host(:${fe.b}) {
            border-color: ${g.yGg};
            box-shadow: 0 0 0 calc((${g.vxp} - ${g.Han}) * 1px)
                ${g.yGg} inset;
        }
        :host(.vertical) {
            justify-content: start;
            grid-column: 1 / 3;
        }
        :host(.vertical[aria-selected="true"]) {
            z-index: 2;
        }
        :host(.vertical:hover),
        :host(.vertical:active) {
            color: ${g.CHi};
        }
        :host(.vertical:hover[aria-selected="true"]) {
        }
    `.withBehaviors((0,Y.vF)(p.i`
                :host {
                    forced-color-adjust: none;
                    border-color: transparent;
                    color: ${ve.H.ButtonText};
                    fill: currentcolor;
                }
                :host(:hover),
                :host(.vertical:hover),
                :host([aria-selected="true"]:hover) {
                    background: transparent;
                    color: ${ve.H.Highlight};
                    fill: currentcolor;
                }
                :host([aria-selected="true"]) {
                    background: transparent;
                    color: ${ve.H.Highlight};
                    fill: currentcolor;
                }
                :host(:${fe.b}) {
                    background: transparent;
                    border-color: ${ve.H.ButtonText};
                    box-shadow: none;
                }
            `))});var ye=i(43504),be=i(49944);const Ce=ye.x.compose({baseName:"stripe-tab-panel",template:be.o,styles:(e,t)=>p.i`
    ${(0,V.j)("block")} :host {
        margin: 0 5px;
        box-sizing: border-box;
        font-family: ${g.SVJ};
        font-size: ${g.cSu};
        line-height: ${g.RUt};
        font-weight: initial;
        padding: 0 16px 6px 16px;
    }

    ::slotted(cs-horizontal-scroll) {
        --scroll-view-padding: 0 0 10px 0;
    }
`});var xe=i(77615);const we=()=>(0,xe.D)().withShadowRootMode("open").withElementDisambiguation((()=>r.h.ignoreDuplicate)).withPrefix("cs").register(le(),me(),Ce(),ue(),J(),(0,Z.f)(),m(),ee(),R())},70347:function(e,t,i){"use strict";i.d(t,{K:function(){return r},Q:function(){return n}});const r=240,n=126},45147:function(e){e.exports='<svg width="48" height="48" viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M4 24a20 20 0 1140 0 20 20 0 01-40 0zm19.87-8.63a1.25 1.25 0 000 1.76l5.61 5.62H15.25a1.25 1.25 0 100 2.5h14.23l-5.61 5.62a1.25 1.25 0 001.76 1.76l7.75-7.75c.5-.48.5-1.28 0-1.76l-7.75-7.75a1.25 1.25 0 00-1.76 0z"></path></svg>'},41517:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M13 14.2a1 1 0 01-1.63.78l-4.72-3.81a1.5 1.5 0 010-2.34l4.72-3.81A1 1 0 0113 5.8v8.4z"></path></svg>'},85130:function(e){e.exports='<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><path d="M7 14.2a1 1 0 001.63.78l4.72-3.81a1.5 1.5 0 000-2.34L8.63 5.02A1 1 0 007 5.8v8.4z"></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-