 }
    .context-menu--show {
        z-index: ${J.toString()};
        position: absolute;
        inset-block-start: var(--topPosition);
        left: var(--leftPosition);
        right: var(--rightPosition);
    }
    .context-menu-item {
        grid-template-columns: minmax(42px, auto) 1fr minmax(20px, auto);
    }
`;var z=n(58952);const Z=F.d`
<template ${(0,z.i)("menu")}>
<fluent-menu style="--topPosition:${e=>e.getTopPosition};--leftPosition:${e=>e.getLeftPosition};--rightPosition:${e=>e.getRightPosition}"
class="${e=>{var t;return(null===(t=e.menuProps)||void 0===t?void 0:t.open)?"context-menu--show":"context-menu--hide"}}"
${(0,z.i)("fluentMenu")}>
    <fluent-menu-item class="context-menu-item"
        data-t="${()=>(()=>{var e;const t={name:"Like",content:{headline:"Shared Links - This is useful",type:B.uH.StructuredData},behavior:B.wu.Like};return null===(e=new W.D(t))||void 0===e?void 0:e.getMetadataTag()})()}"
        @click=${e=>e.thumbsUpClickHandler()}>                        
        <span slot="start" class="context-menu-icon">
            ${'<svg viewBox="0 0 20 20" fill="currentColor"><path d="M10.03 3.92c.21-.52.8-1.08 1.55-.87.6.17.97.52 1.2 1 .2.44.25.96.26 1.46a7.5 7.5 0 0 1-.24 1.74c-.06.26-.12.51-.19.74h1.38a2 2 0 0 1 1.92 2.56l-1.36 4.65a2.5 2.5 0 0 1-3.15 1.68L6.05 15.2A2 2 0 0 1 4.77 14l-.52-1.4a2 2 0 0 1 .86-2.42l1.87-1.1.02-.01.1-.09c.1-.07.23-.2.4-.4.35-.39.82-1.03 1.3-2.04.2-.44.37-.78.53-1.1.25-.5.46-.92.7-1.52Zm-2.51 6-.02.01-1.88 1.11a1 1 0 0 0-.43 1.22l.52 1.38a1 1 0 0 0 .64.6l5.35 1.68c.8.26 1.65-.2 1.89-1l1.36-4.65A1 1 0 0 0 14 8.99h-2.06a.5.5 0 0 1-.48-.67c.1-.28.26-.77.38-1.3.13-.54.22-1.08.2-1.49 0-.47-.05-.82-.16-1.06a.78.78 0 0 0-.56-.45c-.04-.02-.1-.01-.16.03a.54.54 0 0 0-.19.25c-.25.63-.5 1.11-.76 1.65-.16.3-.32.63-.5 1.01a9.52 9.52 0 0 1-1.45 2.29 5.05 5.05 0 0 1-.7.65l-.02.01-.01.01Zm-.54-.84Z"/></svg>'}
        </span>
        ${e=>{var t;return null===(t=e.strings)||void 0===t?void 0:t.thumbsUpOption}}
    </fluent-menu-item>
    <fluent-menu-item class="context-menu-item"
        data-t="${()=>(()=>{var e;const t={name:"Dislike",content:{headline:"Shared Links - Help us Improve",type:B.uH.StructuredData},behavior:B.wu.Dislike};return null===(e=new W.D(t))||void 0===e?void 0:e.getMetadataTag()})()}"
        @click=${e=>e.thumbsDownClickHandler()}>                       
        <span slot="start" class="context-menu-icon">
            ${'<svg viewBox="0 0 20 20" fill="currentColor"><path d="m12.58 12 .05.45c.07.74.13 1.8-.02 2.68-.07.44-.2.88-.44 1.23-.25.38-.64.64-1.17.64-.52 0-.83-.37-1.02-.7-.2-.31-.37-.75-.54-1.2l-.01-.03c-.55-1.4-1.3-3.31-3.3-4.65-.31-.2-.6-.36-.86-.46-.7-.29-1.32-1.06-1.16-1.94l.23-1.2a2 2 0 0 1 1.43-1.55l4.95-1.38a3.5 3.5 0 0 1 4.37 2.73l.46 2.42A2.5 2.5 0 0 1 13.09 12h-.51Zm1.53-5.2a2.5 2.5 0 0 0-3.13-1.94L6.03 6.23a1 1 0 0 0-.71.78l-.23 1.2c-.05.28.17.66.56.82.31.13.66.31 1.03.55 2.28 1.53 3.13 3.7 3.67 5.11l.01.02c.2.5.33.85.47 1.08A.73.73 0 0 0 11 16c.14 0 .25-.05.35-.2.12-.18.22-.46.28-.83a10.06 10.06 0 0 0-.08-3.12 12.6 12.6 0 0 0-.03-.2l-.01-.05v-.01A.5.5 0 0 1 12 11h1.09a1.5 1.5 0 0 0 1.47-1.78l-.45-2.42Z"/></svg>'}
        </span>
        ${e=>{var t;return null===(t=e.strings)||void 0===t?void 0:t.thumbsDownOption}}
    </fluent-menu-item>
</fluent-menu>
</template>`;let Q=class extends K{};Q=(0,p.gn)([(0,V.M)({name:"sharedlinks-context-menu",template:Z,styles:q})],Q);var X=n(29881);class ee extends V.H{constructor(){super(...arguments),this.moreOptionsActive=!1}connectedCallback(){const e=Object.create(null,{connectedCallback:{get:()=>super.connectedCallback}});return(0,p.mG)(this,void 0,void 0,(function*(){e.connectedCallback.call(this)}))}menuButtonClickHandler(e){var t,n;if(!e.target||this.moreOptionsActive)return;const i={open:!0,linkId:null!==(n=null===(t=this.sharedLink)||void 0===t?void 0:t.referenceId)&&void 0!==n?n:"",menuButon:e.target};this.$emit("link-menu-button-click",i)}}(0,p.gn)([S.LO],ee.prototype,"sharedLink",void 0),(0,p.gn)([(0,b.Lj)({attribute:"more-options-active",mode:"boolean"})],ee.prototype,"moreOptionsActive",void 0),(0,p.gn)([S.LO],ee.prototype,"strings",void 0);var te=n(32804);const ne="\n    overflow: hidden;\n    text-overflow: ellipsis;\n    white-space: nowrap;\n",ie=G.i`
    :host {
        display: grid;
    }

    .link-item {        
        color: ${te.CHi};
        padding: 0;

        display: grid;
        grid-column-gap: 12px;
        grid-template-areas: 
        "icon title"
        "icon description";
        grid-template-columns: auto 258px;
        grid-template-rows: auto;
        padding-top: 8px;
        padding-bottom: 8px;
        padding-left: 2px;
        padding-right: 12px;
        text-decoration: none;
    }

    .link-item:hover, .link-item--opened-menu  {        
        grid-template-areas: 
        "icon title feedback"
        "icon description feedback";
        grid-template-columns: auto 221px 1fr;
    }

    .link-item__icon {
        grid-area: icon;
        width: 16px;
        height: 16px;
        padding-top: 10px;
    }

    .link-item__title {   
        grid-area: title;
        align-self: center;

        font-size: ${te.sNp};
        font-weight: 600;
        line-height: ${te.RUt};
        margin: 0;
        ${ne}
    }

    .link-item__description {   
        grid-area: description;
        align-self: center;
        color: ${te.Q5n};
        font-size: ${te.sNp};
        line-height: ${te.RUt};
        margin: 0;
        ${ne}
    }

    .link-item__more-options-button {
        display: none;
        align-self: center;
        min-width: 24px;
        width: 24px;
        height: 24px;
    }

    .link-item:hover .link-item__more-options-button:hover {
        background: ${te.XiB};
    }
    
    .link-item:hover .link-item__more-options-button, .link-item--opened-menu .link-item__more-options-button {
        display: block;
        grid-area: feedback;
        background: inherit;
    }

    .elipsis-icon {
        width: 10px;
        height: 2px;
    }

    .link-item__more-options-button::part(control){
        display: block;
        padding-inline-start: 6px;
        padding-block-start: 10px;
    }
`;const se=F.d`
<a class="link-item ${e=>e.moreOptionsActive?"link-item--opened-menu":""}" href="${e=>{var t;return null===(t=e.sharedLink)||void 0===t?void 0:t.link}}">
    <img class="link-item__icon"
        src=${e=>{var t;return null===(t=e.sharedLink)||void 0===t?void 0:t.iconUrl}}       
    />
    <span class="link-item__title" title="${e=>{var t;return null===(t=e.sharedLink)||void 0===t?void 0:t.title}}">${e=>{var t;return null===(t=e.sharedLink)||void 0===t?void 0:t.title}}</span>
    <span class="link-item__description" title="${e=>{var t;return null===(t=e.sharedLink)||void 0===t?void 0:t.description}}">${e=>{var t;return null===(t=e.sharedLink)||void 0===t?void 0:t.description}}</span>
    <fluent-button class="link-item__more-options-button" 
        appearance="stealth"
        title="${e=>{var t;return null===(t=e.strings)||void 0===t?void 0:t.menuTooltip}}" 
        @click=${(e,t)=>e.menuButtonClickHandler(t.event)}>
        <span class="elipsis-icon">
            ${'<svg fill="currentColor"><path d="M2 1a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm4 0a1 1 0 1 1-2 0 1 1 0 0 1 2 0Zm3 1a1 1 0 1 0 0-2 1 1 0 0 0 0 2Z"/></svg>'}
        </span>
    </fluent-button>
</a>`;let oe=class extends ee{};oe=(0,p.gn)([(0,V.M)({name:"link-item",template:se,styles:ie})],oe);var re=n(65302),ae=n(73201);X.m,ae.m,re.Z;const le=F.d`
<productivity-hub-skeleton maskRepeat="repeat" class="shared-links-skeleton">
    <svg viewBox="0 0 312 52" xmlns="http://www.w3.org/2000/svg">
        <rect x="20" y="8.5" width="16" height="16" rx="2" />
        <rect x="60" y="8.5" width="200" height="11" rx="2" />
        <rect x="60" y="24.5" width="100" height="8" rx="2" />
    </svg>
</productivity-hub-skeleton>
`,de=F.d`
<div class="shared-links-container" data-t="${()=>(()=>{var e;const t={name:"sharedlinks_topsite_empty",content:{type:B.uH.TopSites}};return null===(e=new W.D(t))||void 0===e?void 0:e.getMetadataTag()})()}">
    <p class="shared-links-container-text">${e=>e.strings.emptyStateMessage}</p>
<div>
`,ce=F.d`
<div class="shared-links-container" data-t="${()=>(()=>{var e;const t={name:"sharedlinks_topsite_error",content:{type:B.uH.TopSites}};return null===(e=new W.D(t))||void 0===e?void 0:e.getMetadataTag()})()}">
    <p class="shared-links-container-text">${e=>e.strings.errorStateMessage}</p>
<div>
`,ue=F.d`
${(0,U.rx)((e=>e.sharedLinks),F.d`
<fluent-menu-item
@click=${(e,t)=>t.parent.onClickLink(t.event,e)}
data-customhandled
data-t="${()=>(()=>{var e;const t={name:"sharedlinks_topsite_url",content:{headline:"SharedLinks",type:B.uH.TopSites},overrideDestinationUrl:"tsu",behavior:B.wu.Navigate};return null===(e=new W.D(t))||void 0===e?void 0:e.getMetadataTag()})()}"
class="shared-link-item ${(e,t)=>t.parent.isMoreOptionsButtonActive(e.referenceId)?"shared-link-item--active":""}">
    <link-item 
    :sharedLink=${e=>e}
    :strings=${(e,t)=>t.parent.strings}
    ?more-options-active="${(e,t)=>t.parent.isMoreOptionsButtonActive(e.referenceId)}">
    </link-item>
</fluent-menu-item>
`)}
`,he=F.d`
<header class="shared-links-header">
    <h3 class="shared-links-title">${e=>e.strings.title}</h3>
    <fluent-button class="shared-links-see-all" appearance="stealth">
        ${e=>e.strings.seeAllButton}
    </fluent-button>
</header>
`,pe=F.d`
<sharedlinks-context-menu 
:menuProps=${e=>e.menuProps}
:strings=${e=>e.strings}>
</sharedlinks-context-menu>`,me=F.d`
<msn-toast class="feedback-confirmation-toast">
    ${e=>e.strings.feedbackConfirmation}
</msn-toast>
`,ge=F.d`
${pe}
${(0,_.g)((e=>e.showFeedbackToast),me)}
<hover-flyout
:targetRect="${e=>e.targetTopsSitesRect}"
:flyoutWidth="${()=>320}"
:requestOpen="${e=>e.hoverFlyoutOpen}"
:cancelHide="${e=>e.moreOptionsButtonActive}"
:onClosed="${(e,t)=>e.onClosed.bind(e)}">
    <fluent-menu class="shared-links-menu">
        ${he}
        <fluent-divider></fluent-divider>
        ${e=>(e=>{switch(e){case"loading":return le;case"empty":return de;case"error":default:return ce;case"loaded":return ue}})(e.state)}
    </fluent-menu>
</hover-flyout>
`,ve=G.i`
.shared-links-header {
    display: grid;
    grid-template-areas: "title see-all";
    padding: 8px 8px 6px 16px;
    grid-template-columns: 1fr auto;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.shared-links-title {
    grid-area: title;
    font-size: ${te.cSu};
    font-weight: 600;
    line-height: ${te.RUt};
    margin-top: 6.5px;
    margin-bottom: 6.5px;
    color: ${te.CHi}
}
.shared-links-see-all {
    grid-area: see-all;
    color: ${te.goi};
    justify-self: end;
    display: none;
}
.shared-links-menu {
    width: 318px;
    height: 315px;
}
.shared-link-item {
    height: 52px;
    grid-template-columns: auto 1fr auto;
}
.shared-link-item--active {
    background: ${te.QpD};
}
.shared-links-container {
    background: ${te.$Bw};
    top: -4px;
    position: relative;
    height: 268px;
    width: 318px;
    border-bottom-left-radius: calc(${te.UWU} * 1px);
    border-bottom-right-radius: calc(${te.UWU} * 1px);
}
.shared-links-container-text {
    color: ${te.CHi};
    position: absolute;
    margin-top: 114px;
    margin-left: 40px;
    margin-right: 40px;
    font-size: ${te.sNp};
    line-height: ${te.sNp};
    text-align: center;
}
.shared-links-skeleton {
    height: 260px;
}
.feedback-confirmation-toast {
    position: absolute;
    inset-inline-start: 50%;
    inset-block-end: 10%;
    transform: translate(-50%, 0);
    --toast-max-width: 608px;
    z-index: 701;
}
.feedback-confirmation-toast::part(toast-root) {
    min-height: 20px;
}
`,fe={experienceConfigSchema:h};(0,i.z)().withElementDisambiguation((()=>d.h.ignoreDuplicate)).register((0,s.k)(),(0,o.hb)(),(0,r.q$)(),(0,a.H5)(),(0,l.ue)())},64488:function(e,t,n){n.d(t,{T:function(){return s}});var i=n(33379);let s=!1;(0,i.N)()&&(window.addEventListener("keydown",(()=>{s=!0})),window.addEventListener("mousedown",(()=>{s=!1})))},3783:function(e,t,n){n.d(t,{a:function(){return c}});var i=n(33940),s=n(75270),o=n(16517),r=n(90846),a=n(26415),l=n(91660),d=n(65135);function c(e,t,n,c,u,h=l.J.json,p=!0,m=!0){var g;return(0,i.mG)(this,void 0,void 0,(function*(){const i=performance.now(),p=yield null===(g=(0,s.Kf)())||void 0===g?void 0:g.getAuthData(n),v=performance.now(),f=Math.round(v-i),{authToken:k,error:y}=p||{},S=!m&&(yield(0,o.Yq)().isGccModUser),b={earlyReturnForGccMod:S,requestResource:n,authLatency:f};if(!k||S)return Object.assign(Object.assign({},b),{authEventError:y});const L=new URL(e);if(u&&u.queryParams){const e=u.queryParams;for(const t of Object.keys(e))L.searchParams.append(t,e[t])}const w=(null==u?void 0:u.headers)?Object.assign({},u.headers):{};Object.assign(w,(0,r.me)(k));const T={method:t,body:u&&u.body,headers:w},x=new Request(L.toString(),T),C=u&&u.friendlyName||"Unnamed",O=u&&u.additionalLoggingData||{};let E,I,$=Object.assign({affectedService:C},O);try{if(I=yield fetch(x),(null==I?void 0:I.status)&&(b.httpStatus=I.status),(null==I?void 0:I.headers)&&(b.headers=I.headers),!I||!I.ok){const e=JSON.stringify(null==I?void 0:I.headers);return $=Object.assign(Object.assign({},$),{status:I.statusText,statusCode:I.status,responseHeader:e,utcTime:(new Date).toUTCString(),scopeName:n.friendlyName}),d.M0.sendAppErrorEvent(Object.assign(Object.assign({},a.odm.ErrorCodeReceived),{message:"Authenticated fetch failed",pb:Object.assign(Object.assign({},a.odm.ErrorCodeReceived.pb),{customMessage:JSON.stringify($)})})),h===l.J.json&&(yield I.json().then((e=>b.error=e))),b}switch(h){case l.J.json:E=204===I.status?null:yield I.json();break;case l.J.statusCode:E=I.status;break;case l.J.blob:E=yield I.blob();break;default:E=204===I.status?null:yield I.json()}}catch(e){const t=JSON.stringify(null==I?void 0:I.headers);return $=Object.assign(Object.assign({},$),{errorMessage:e.message,errorStack:e.stack,responseHeader:t,utcTime:(new Date).toUTCString(),scopeName:n.friendlyName}),d.M0.sendAppErrorEvent(Object.assign(Object.assign({},a.odm.CallFailed),{message:"Error with fetch call",pb:Object.assign(Object.assign({},a.odm.CallFailed.pb),{customMessage:JSON.stringify($)})})),b}if(I&&204!==I.status&&!E){const e=JSON.stringify(null==I?void 0:I.headers);return $=Object.assign(Object.assign({},$),{responseHeader:e,utcTime:(new Date).toUTCString(),scopeName:n.friendlyName}),d.M0.sendAppErrorEvent(Object.assign(Object.assign({},a.odm.EmptyJsonResponse),{message:"Empty json response",pb:Object.assign(Object.assign({},a.odm.EmptyJsonResponse.pb),{customMessage:JSON.stringify($)})})),b}return b.data=c(E),b}))}},91660:function(e,t,n){var i;n.d(t,{J:function(){return i}}),function(e){e[e.json=0]="json",e[e.statusCode=1]="statusCode",e[e.blob=2]="blob"}(i||(i={}))},99805:function(e,t,n){n.d(t,{$N:function(){return v},$S:function(){return u},AD:function(){return h},De:function(){return T},EB:function(){return d},Gl:function(){return f},H2:function(){return I},IC:function(){return L},JS:function(){return s},Kf:function(){return a},SO:function(){return m},X:function(){return p},Zh:function(){return b},iL:function(){return l},ic:function(){return k},iu:function(){return r},jf:function(){return $},mL:function(){return w},no:function(){return o},o2:function(){return E},r8:function(){return y},sx:function(){return g},uB:function(){return O},v4:function(){return S},wv:function(){return i},xY:function(){return c},yL:function(){return x},ye:function(){return C}});const i={rel:"noopener",target:"_blank"};var s,o;!function(e){e.Excel="Excel",e.Forms="Forms",e.OneNote="OneNote",e.Pdf="PdfViewer",e.Portfolio="Portfolio",e.PowerPoint="PowerPoint",e.Project="Project",e.PowerBI="PowerBI",e.Sway="Sway",e.Visio="Visio",e.Word="Word",e.Video="Video",e.NewsArticle="NewsArticle"}(s||(s={})),function(e){e.DocumentsTableMenu="documents-table-menu",e.DocumentsTableHover="documents-table-hover",e.DocumentCardMenu="document-card-menu"}(o||(o={}));const r="edgeEnterpriseNtp",a="ContextMenuItem",l="ContextMenu",d="Copy file",c="-CopyFile",u="DocumentListItem",h="Download file",p="-Download",m="FileLocation",g="Open file location",v="-OpenFileLocation",f="Open file",k="Open in browser",y="-OpenInBrowser",S="Open in desktop",b="-OpenInDesktop",L="Remove file",w="-RemoveFromList",T="More options",x="ShareButton",C="Share file",O="-Share";var E,I,$;!function(e){e.Graph="https://graph.microsoft.com",e.Loki="394866fc-eedb-4f01-8536-3ff84b16be2a",e.MRU="https://api.office.net",e.Sharepoint="https://microsoft.sharepoint.com",e.Substrate="https://substrate.office.com",e.Yammer="https://www.yammer.com"}(E||(E={})),function(e){e.Activity="Activity",e.EnterpriseOneService="EnterpriseOneService",e.EnterpriseWaffle="EnterpriseWaffle",e.Graph="Graph",e.Loki="Loki",e.MRU="MRU",e.Share="Share",e.Sharepoint="Sharepoint",e.SharepointSites="SharepointSites",e.Substrate="Substrate",e.Yammer="Yammer"}(I||(I={})),function(e){e.Activities="Activities",e.AdminPortal="AdminPortal",e.Calendar="Calendar",e.CompanyNewsCard="CompanyNewsCard",e.Discover="Discover",e.DiscoverSharepoint="DiscoverSharepoint",e.EnterpriseWaffle="EnterpriseWaffle",e.EdgeWorth="EdgeWorth",e.EdgeWorthHide="EdgeWorthHide",e.Feeds="Feeds",e.Images="Images",e.IndustryNewsCard="IndustryNewsCard",e.MRU="MRU",e.MRUUpdate="MRUUpdate",e.OneDriveLink="OneDriveLink",e.Pinned="Pinned",e.Recommended="Recommended",e.RemoveRecommended="RemoveRecommended",e.SharedLink="SharedLink",e.SharedWithMe="SharedWithMe",e.SharepointNewsCard="SharepointNewsCard",e.SharepointNewsCardImages="SharepointNewsCardImages",e.SharePointSites="SharePointSites",e.Shell="Shell",e.StreamPreviewImages="StreamPreviewImages",e.TaskCreate="TaskCreate",e.TaskDelete="TaskDelete",e.Tasks="Tasks",e.TaskUpdate="TaskUpdate",e.Topics="Topics"}($||($={}))},31714:function(e,t,n){n.d(t,{Y:function(){return o}});var i=n(22704),s=n(33954);function o(e){try{(0,i.Ou)()[e]=Math.round(performance.now())}catch(e){s.k.logError(e)}}},29881:function(e,t,n){n.d(t,{m:function(){return p}});var i=n(33940),s=n(89346),o=n(87697),r=n(33832),a=n(64488);const l=16;class d extends s.H{constructor(){super(...arguments),this.isTransparent=!1,this.handleResize=()=>{this.onClosed(!0)},this.handleScroll=()=>{this.onClosed(!0)}}get styles(){if(!this.targetRect)return;const e=this.targetRect.top+this.targetRect.bottom<window.innerHeight;let t,n,i,s=Math.round((this.targetRect.left+this.targetRect.right-this.flyoutWidth)/2);s<l?s=l:s>innerWidth-l-this.flyoutWidth&&(s=innerWidth-l-this.flyoutWidth);const o=s+"px",r=this.flyoutWidth+"px";if(e){const e=this.targetRect.bottom+0;i=e+"px",n=window.innerHeight-e-l+"px"}else{t=window.innerHeight-this.targetRect.top+0+"px",n=this.targetRect.top-0-l+"px"}return`bottom: ${t}; left: ${o}; max-height: ${n};  top: ${i}; width: ${r};`}requestOpenChanged(e,t){t?(this.cancelCloseIfNeeded(),this.cancelStrayMouseTimerIfNeeded()):this.startStrayMouseTimerIfNeeded()}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",this.handleResize),window.addEventListener("scroll",this.handleScroll),this.isTransparent=!0}disconnectedCallback(){window.removeEventListener("resize",this.handleResize),window.removeEventListener("scroll",this.handleScroll),this.cancelStrayMouseTimerIfNeeded(),this.cancelCloseIfNeeded()}handleBlur(e){this.cancelHide||(this.focusInFlyout=!1,this.startStrayMouseTimerIfNeeded())}handleFocus(e){a.T&&(this.focusInFlyout=!0,this.cancelCloseIfNeeded(),this.cancelStrayMouseTimerIfNeeded())}handleKeyDown(e){e.key===r.CX&&this.onClosed(!0)}handleMouseEnter(e){this.mouseOverFlyout=!0,this.cancelCloseIfNeeded(),this.cancelStrayMouseTimerIfNeeded()}handleMouseLeave(e){this.cancelHide||(this.mouseOverFlyout=!1,this.startStrayMouseTimerIfNeeded())}cancelCloseIfNeeded(){this.closeAnimationTimerHandle&&clearTimeout(this.closeAnimationTimerHandle),this.isTransparent||(this.isTransparent=!0)}cancelStrayMouseTimerIfNeeded(){this.strayMouseTimerHandle&&clearTimeout(this.strayMouseTimerHandle)}startStrayMouseTimerIfNeeded(){this.strayMouseTimerHandle=setTimeout((()=>{this.mouseOverFlyout||this.focusInFlyout||(this.startClosing(),this.strayMouseTimerHandle=null)}),200)}startClosing(){this.closeAnimationTimerHandle=setTimeout((()=>{this.onClosed(!1)}),200),this.isTransparent=!1}}(0,i.gn)([o.LO],d.prototype,"flyoutWidth",void 0),(0,i.gn)([o.LO],d.prototype,"isTransparent",void 0),(0,i.gn)([o.LO],d.prototype,"onClosed",void 0),(0,i.gn)([o.LO],d.prototype,"requestOpen",void 0),(0,i.gn)([o.LO],d.prototype,"targetRect",void 0),(0,i.gn)([o.LO],d.prototype,"cancelHide",void 0),(0,i.gn)([o.lk],d.prototype,"styles",null);var c=n(64434);const u=n(53046).i`
    .hoverFlyout {
        box-shadow: 2px 5px 20px 0px rgba(0,0,0,0.22), 0px 13px 13px rgba(0,0,0,0.18);
        border-radius: 4px;
        opacity: 1;
        overflow: auto;
        position: fixed;
        transition: opacity .2s ease-in;
        opacity:1;
        z-index: ${c.K.Flyout.toString()}
    }
    .hoverFlyout.hide{
        opacity: 0;
    }
`;const h=n(39181).d`
    <div
        @blur=${(e,t)=>e.handleBlur(t.event)}
        @focusin=${(e,t)=>e.handleFocus(t.event)}
        @focusout=${(e,t)=>e.handleBlur(t.event)}
        @keydown=${(e,t)=>e.handleKeyDown(t.event)}
        @mouseenter=${(e,t)=>e.handleMouseEnter(t.event)}
        @mouseleave=${(e,t)=>e.handleMouseLeave(t.event)}
        class="${e=>e.isTransparent?"hoverFlyout":"hoverFlyout hide"}"
        part="contentWrapper"
        style="${e=>e.styles}"
    >
        <slot></slot>
    </div>
`;let p=class extends d{};p=(0,i.gn)([(0,s.M)({name:"hover-flyout",template:h,styles:u})],p)},73201:function(e,t,n){n.d(t,{m:function(){return u}});var i=n(33940),s=n(89346),o=n(65620);class r extends s.H{}(0,i.gn)([o.Lj],r.prototype,"ariaLabel",void 0),(0,i.gn)([o.Lj],r.prototype,"maskRepeat",void 0);var a=n(32804);const l=n(53046).i`
    :host {
        display: grid;

        contain: paint;
    }

    ::slotted(*) {
        display: none;
    }

    .productivity-hub-skeleton {
        height: inherit;
        
        background: ${a.QpD};
        cursor: progress;
        overflow: hidden;
        position: relative;
    }

    @media (prefers-reduced-motion: no-preference) {
        .productivity-hub-skeleton {
            animation: skeleton-animation 2s infinite linear;
            background: linear-gradient(to right, 
                ${a.jql} 0%, 
                ${a.QpD} 30%, 
                ${a.QpD} 70%, 
                ${a.jql} 100%) 0 0 / 200% 100% ${a.QpD};
        }
    }

    @keyframes skeleton-animation {
        100% {
            background-position: -200% 0
        }
    }    
`;var d=n(39181);const c=d.d`
    <div class="productivity-hub-skeleton"
        aria-busy="true"
        aria-label=${e=>e.ariaLabel}
        part="control"
        style=${e=>(e=>{const t=btoa(e.innerHTML);return`-webkit-mask-repeat: ${e.maskRepeat||"no-repeat"}; -webkit-mask-image: url('data:image/svg+xml;base64,${t}')`})(e)}>
        <slot></slot>
    </div>
`;let u=class extends r{};u=(0,i.gn)([(0,s.M)({name:"productivity-hub-skeleton",template:c,styles:l})],u)}}]);A
Eo