("c",`${a}`),e.searchParams.set("rs","1"),t.enableDpiScaling&&(e.searchParams.set("dpr",`${t.devicePixelRatio}`),e.searchParams.set("p","0")),e}function g(){return!("undefined"==typeof window||!window.document||!window.document.createElement)}function v(e,t){if(null!=e&&null!=t)return Math.floor((e+t)/2)}},56651:function(e,t,r){"use strict";r.d(t,{U:function(){return b}});var i=r(33940),n=r(89346),o=r(65620),a=r(87697),s=r(32804),d=r(53046),c=r(40082);const l=d.i`
    :host {
        display: grid;
        line-height: ${s.b3W};
        font-family: ${s.SVJ};
    }

    .header {
        display: grid;
        align-items: center;
        grid-template-areas: 'icon title . more';
        grid-template-columns: auto auto 1fr auto;
        grid-gap: 8px;
        padding: 12px 16px;
    }

    .header-with-logo {
        grid-template-areas: 'logo title icon . more';
        grid-template-columns: auto auto auto 1fr auto;
        align-items: start;
    }

    .header--title {
        color: ${s.Q5n};
        font-size: ${s.sNp};
        font-weight: 600;
        grid-area: title;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-transform: uppercase;
    }

    .header--icon.with-tooltip {
        cursor: pointer;
    }

    .header--icon-container {
        grid-area: icon;
        place-self: center;
    }

    .header--icon::part(svg) {
        width: 14px;
        height: 13px;
        color: ${s.CHi};
    }

    .header--icon-tooltip {
        visibility: hidden;
        position: absolute;
        max-width: 250px;
        min-width: 190px;
        left: 15px;
        top: 46px;
        z-index: 1;
        background: ${s.s55};
        padding: 4px 10px;
        font-size: 14px;
        line-height: 24px;
        box-shadow: 0px 6.4px 14.4px rgba(0, 0, 0, 0.13), 0px 0px 5.6px rgba(0, 0, 0, 0.11);
        border-radius: 4px;
    }
    
    .header--icon-container:hover .header--icon-tooltip {
        visibility: visible;
    }

    .header--more-options {
        grid-area: more;
        --control-corner-radius: 16;
        --base-height-multiplier: 6;
    }
`.withBehaviors((0,c.Uu)(d.i`
        .header--title {
            color: #E0E0E0;
        }
    `));var u=r(39181),h=r(13988),p=r(5065);const m=u.d`
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
    <path d="M3.5 0H8.5C8.77614 0 9 0.223858 9 0.5V3H10C11.1046 3 12 3.89543 12 5V10C12 11.1046 11.1046 12 10 12H2C0.89543 12 0 11.1046 0 10V5C0 3.89543 0.895431 3 2 3H3V0.5C3 0.223858 3.22386 0 3.5 0ZM8 3V1H4V3H8Z" fill="#767676"/>
</svg>
`;let g=class extends p.A{};g=(0,i.gn)([(0,n.M)({name:"briefcase-icon-filled",template:m})],g);var v=r(33763),f=r(53271);v.S;const y=u.d`
    <fluent-button
        class="header--more-options"
        appearance="neutral"
        @click=${(e,t)=>e.toggleActionMenu(t.event,!e.isActionMenuOpen)}
        title="${e=>e.moreOptionsToolTip}"
        aria-label="${e=>e.moreOptionsToolTip}"
        role="button"
        aria-expand="${e=>e.isActionMenuOpen}"
        data-t="${e=>e.moreOptionsButtonTelemetryTag}"
    >
        ${f.Z}
    </fluent-button>
`,w=u.d`
    <msn-actions-menu 
        :referrerButton=${e=>e.moreOptionsButtonControl}
        :menuItems=${e=>e.moreOptionsMenuItems}
        defaulthorizontalposition="start"
    />
`,S=u.d`
    <header class="header ${e=>e.headerLogo?" header-with-logo":""}">
        ${(0,h.g)((e=>e.headerLogo),u.d`
            <div class="header--logo">
                ${e=>e.headerLogo}
            </div>
        `)}
        <span class="header--title">
            ${e=>e.heading}
        </span>
        <div class="header--icon-container">
            ${(0,h.g)((e=>e.hasBriefcaseIcon),u.d`
                <briefcase-icon-filled
                    class="header--icon ${e=>e.tooltip?"with-tooltip":""}"
                    data-t="${e=>e.iconTelemetryTag}">
                </briefcase-icon-filled>
                ${(0,h.g)((e=>e.tooltip),u.d`<span class="header--icon-tooltip">${e=>e.tooltip}</span>`)}
            `)}
        </div>
        ${(0,h.g)((e=>e.moreOptionsMenuItems),y)}
        ${(0,h.g)((e=>e.isActionMenuOpen),w)}
    </header>
`;var T;let b=T=class extends n.H{constructor(){super(...arguments),this.isActionMenuOpen=!1,this.handleClickForActionMenu=e=>{e&&(e.target instanceof T||this.moreOptionsButtonControl&&this.moreOptionsButtonControl.contains(e.path[0]))||this.toggleActionMenu(null)},this.handleKeyDownForActionMenu=e=>{"Escape"!==e.code?this.handleClickForActionMenu(e):this.toggleActionMenu(e)}}toggleActionMenu(e,t=!1){this.isActionMenuOpen=t,t&&e?(this.moreOptionsButtonControl=e&&e.currentTarget,document.addEventListener("click",this.handleClickForActionMenu),document.addEventListener("keydown",this.handleKeyDownForActionMenu)):(this.moreOptionsButtonControl=null,document.removeEventListener("click",this.handleClickForActionMenu),document.removeEventListener("keydown",this.handleKeyDownForActionMenu))}};(0,i.gn)([o.Lj],b.prototype,"headerLogo",void 0),(0,i.gn)([(0,o.Lj)({mode:"boolean"})],b.prototype,"hasBriefcaseIcon",void 0),(0,i.gn)([o.Lj],b.prototype,"heading",void 0),(0,i.gn)([o.Lj],b.prototype,"tooltip",void 0),(0,i.gn)([o.Lj],b.prototype,"iconTelemetryTag",void 0),(0,i.gn)([a.LO],b.prototype,"moreOptionsMenuItems",void 0),(0,i.gn)([a.LO],b.prototype,"isActionMenuOpen",void 0),(0,i.gn)([o.Lj],b.prototype,"moreOptionsButtonTelemetryTag",void 0),(0,i.gn)([o.Lj],b.prototype,"moreOptionsToolTip",void 0),b=T=(0,i.gn)([(0,n.M)({name:"enterprise-card-header",template:S,styles:l})],b)},95263:function(e,t,r){"use strict";r.d(t,{Sf:function(){return c},w_:function(){return d},UT:function(){return l},IY:function(){return u},A4:function(){return m}});var i=r(98648),n=r(42355),o=r(32804),a=r(65390);const{create:s}=i.L,d=s("gradient-white-fill").withDefault((e=>(0,a.Y)(.8,1,n.w.create(1,1,1),o.wFS.getValueFor(e)))),c=s("gradient-background-fill").withDefault((e=>(0,a.Y)(0,1,null,o.wFS.getValueFor(e)))),l=s("neutral-fill-bubble-on-rest").withDefault((e=>function(e,t){const r=e.closestIndexOf(t);return e.get(r-5)}(o.yvm.getValueFor(e),o.wFS.getValueFor(e)))),u=s("neutral-foreground-hint-on-bubble-on-rest").withDefault((e=>o.axZ.getValueFor(e).evaluate(e,l.getValueFor(e))));function h(e,t,r){return e.get(e.closestIndexOf((i=t,n.w.create(i,i,i)))-r);var i}const p=s({name:"neutral-layer-card-recipe",cssCustomPropertyName:null}).withDefault({evaluate:e=>h(o.yvm.getValueFor(e),o.q2d.getValueFor(e),o.YL4.getValueFor(e))}),m=s("neutral-layer-card").withDefault((e=>p.getValueFor(e).evaluate(e)))},65390:function(e,t,r){"use strict";r.d(t,{Y:function(){return o}});var i=r(97186),n=r(2696);function o(e=0,t=1,r,o){const a=o.toColorString(),{r:s,g:d,b:c}=(0,i.in)(a),l=`linear-gradient(160deg, ${new n.h(s,d,c,e).toStringWebRGBA()}, ${new n.h(s,d,c,t).toStringWebRGBA()})`;if(r){return[l,null==r?void 0:r.toColorString()].join()}return l}},5065:function(e,t,r){"use strict";r.d(t,{A:function(){return n}});var i=r(89346);class n extends i.H{connectedCallback(){super.connectedCallback(),this.setPartAttributes()}setPartAttributes(){const e=this.shadowRoot.querySelector("svg");e&&e.setAttribute("part","svg")}}},16446:function(e){e.exports='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 14A6 6 0 108 2a6 6 0 000 12zM8 3c.37 0 .88.36 1.31 1.32.1.2.18.43.26.68H6.43c.08-.25.16-.47.26-.68C7.12 3.36 7.63 3 8 3zm-2.22.9c-.15.34-.29.7-.4 1.1H4a5.02 5.02 0 012.04-1.6c-.1.16-.18.33-.26.5zM5.16 6a12.06 12.06 0 000 4H3.42a4.98 4.98 0 010-4h1.74zm.22 5a7.53 7.53 0 00.66 1.6A5.02 5.02 0 014 11h1.38zm1.05 0h3.14a6.2 6.2 0 01-.26.68C8.88 12.64 8.37 13 8 13c-.37 0-.88-.36-1.31-1.32a6.2 6.2 0 01-.26-.68zm3.4-1H6.17a10.94 10.94 0 010-4h3.64a10.94 10.94 0 010 4zm.79 1H12a5.02 5.02 0 01-2.04 1.6c.1-.16.18-.33.26-.5.15-.34.29-.7.4-1.1zm1.96-1h-1.74a12.05 12.05 0 000-4h1.74a4.98 4.98 0 010 4zM9.96 3.4c.81.35 1.52.9 2.04 1.6h-1.38a7.53 7.53 0 00-.66-1.6z"></path></svg>'},12697:function(e,t,r){"use strict";var i=r(84708);t.Z=function(e){return"number"==typeof e&&e==(0,i.Z)(e)}}}]);A
Eo